Search found 12 matches

by Brandon N
Sat Jun 16, 2018 3:26 pm
Forum: Hosting Control Panels
Topic: Command to find current PHP handler on the cpanel server
Replies: 3
Views: 25627

Re: Command to find current PHP handler on the cpanel server

Hi Chris. Use these command, you missed / when you tried the command. /usr/local/cpanel/bin/rebuild_phpconf --current root@server [~]# /usr/local/cpanel/bin/rebuild_phpconf --current Available handlers: suphp dso cgi none DEFAULT PHP: 5 PHP4 SAPI: none PHP5 SAPI: suphp SUEXEC: enabled RUID2: not ins...
by Brandon N
Sat Jun 16, 2018 3:18 pm
Forum: Hosting Control Panels
Topic: Can we change default cpanel port 2083/2082 to some other port ?
Replies: 3
Views: 26182

Re: Can we change default cpanel port 2083/2082 to some other port ?

Hi Stark, You can change cPanel port from command line by making some changes on /var/cpanel/cpanel.config Open configuration file using any editor vi /var/cpanel/cpanel.config & change port from 2082 port=2082 after making changes, make sure you to execute below commands in SSH. # /usr/local/cp...
by Brandon N
Sat Jun 16, 2018 3:09 pm
Forum: Hosting Control Panels
Topic: Forget Directadmin admin's password
Replies: 3
Views: 25553

Re: Forget Directadmin admin's password

Hi Jeni, You can execute below command on command line to get DA admin password grep adminpass /usr/local/directadmin/scripts/setup.txt Brandon N Linux Support Engineer. Nixtree Solutions Managed Full Server Backups https://www.nixtree.com/managed-backups.php Follow us on : https://twitter.com/nixtree
by Brandon N
Wed May 16, 2018 7:18 pm
Forum: Hosting Control Panels
Topic: Is it possible to access the WHM panel with root password?
Replies: 3
Views: 9705

Re: Is it possible to access the WHM panel with root password?

Hi Chris, You can create a temporary root WHM session by executing the following command: whmapi1 create_user_session user=root service=whostmgrd Just copy the WHM URL and paste it on browser. This link will bypass the need to enter a root password Brandon N Linux Support Engineer. Nixtree Solutions...
by Brandon N
Wed May 16, 2018 7:11 pm
Forum: Hosting Control Panels
Topic: Block account from Sending Mails on Cpanel Server
Replies: 2
Views: 7712

Re: Block account from Sending Mails on Cpanel Server

Hello, The steps are explained below: 1. SSH to server as root user. 2. Check the file “/etc/blockeddomains” is existing on the server. If it’s not there create one. # touch /etc/blockeddomains 3. Add domains in “/etc/blockeddomains” to cut the email sending privilege. echo “thedomain.com” > /etc/bl...
by Brandon N
Fri May 11, 2018 12:35 pm
Forum: Hosting Control Panels
Topic: Possible root compromise detected, failed to create /dev/null:
Replies: 4
Views: 10701

Re: Possible root compromise detected, failed to create /dev/null:

Hi, Yes, you try installing tmpwatch on server , it will help to clean /tmp directory Installing tmpwatch yum install tmpwatch -y Use this command to delete all files over 12 hours old tmpwatch -am 12 /tmp Do you need professional help with this? Please open a support ticket to support@nixtree.com w...
by Brandon N
Fri May 11, 2018 12:22 pm
Forum: Hosting Control Panels
Topic: Error: No space left on device: mod_rewrite: Parent could not create RewriteLock file
Replies: 3
Views: 8827

Re: Error: No space left on device: mod_rewrite: Parent could not create RewriteLock file

Hi, The above tweak will fix the issue temporarily as it will re-occur when Semaphores get full. To fix this permanently, you can increase the limit of Semaphore in the server. Add the following lines in the file /etc/sysctl.conf kernel.msgmni = 1024 kernel.sem = 250 256000 32 1024 Do you need profe...
by Brandon N
Tue Apr 17, 2018 8:56 am
Forum: Hosting Control Panels
Topic: Change the Location of MySQL on cPanel
Replies: 2
Views: 8631

Re: Change the Location of MySQL on cPanel

You can follow below steps to change location of MySQL on cPanel 1) First you need to backup the current folder of MySQL data, so that if anything goes worse we can restore it You can execute below command for creating backup tar -cvf mysqldata.tar /var/lib/mysql 2) Then we need to change the defaul...
by Brandon N
Tue Apr 17, 2018 8:21 am
Forum: Hosting Control Panels
Topic: Enable Mbstring
Replies: 5
Views: 13342

Re: Enable Mbstring

Hi, Here you go https://portal.nixtree.com/order/main/packages/OrderForm/?group_id=6 Brandon N Linux Support Engineer. Nixtree Solutions Managed Full Server Backups https://www.nixtree.com/managed-backups.php Follow us on : https://twitter.com/nixtree Do you need professional help with this? Please ...
by Brandon N
Thu Apr 12, 2018 10:07 am
Forum: Hosting Control Panels
Topic: enable php mail function cpanel
Replies: 4
Views: 16319

Re: enable php mail function cpanel

Hi Ashlin, You need to remove mail entry from disable_functions. disable_functions = mail ✖ disable_functions = ✔ Brandon N Linux Support Engineer. Nixtree Solutions Managed Full Server Backups https://www.nixtree.com/managed-backups.php Follow us on : https://twitter.com/nixtree