Search found 27 matches

by chris ben
Sat Jun 16, 2018 4:11 pm
Forum: Hosting Control Panels
Topic: Change Direct admin’s default port number?
Replies: 0
Views: 5779

Change Direct admin’s default port number?

Hi,

Can anyone help me to change Direct admin’s default port number?
by chris ben
Sat Jun 16, 2018 3:24 pm
Forum: Hosting Control Panels
Topic: Command to find current PHP handler on the cpanel server
Replies: 3
Views: 3377

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

Hi Stark,

I tried the same, but shows No such file or directory

root@king [~]# usr/local/cpanel/bin/rebuild_phpconf --current
-bash: usr/local/cpanel/bin/rebuild_phpconf: No such file or directory
by chris ben
Sat Jun 16, 2018 3:14 pm
Forum: Hosting Control Panels
Topic: Can we change default cpanel port 2083/2082 to some other port ?
Replies: 3
Views: 3856

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

Hi,

You can change the cPanel port by editing this line in /var/cpanel/cpanel.config:
by chris ben
Thu Jun 07, 2018 9:49 am
Forum: Hosting Control Panels
Topic: Command to find current PHP handler on the cpanel server
Replies: 3
Views: 3377

Command to find current PHP handler on the cpanel server

Hi,

My cPanel license is expired and don't want to renew as my work is completed. The problem now I am facing is that is there any way to know the current PHP handler on the server by command line?
by chris ben
Wed May 16, 2018 7:16 pm
Forum: Hosting Control Panels
Topic: Is it possible to access the WHM panel with root password?
Replies: 3
Views: 2718

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

Hi,

can anyone provide Whmapi command to create a WHM root session from command line ?
by chris ben
Wed May 16, 2018 7:05 pm
Forum: Hosting Control Panels
Topic: Block account from Sending Mails on Cpanel Server
Replies: 2
Views: 2090

Re: Block account from Sending Mails on Cpanel Server

Hi,

1. SSH to server as root.
2. Check the file “/etc/blockeddomains” is existing on the server. If it’s not there create one.
3. Add domains in “/etc/blockeddomains” to cut the email sending privilege.

You can use the following commands:

# echo "thedomain.com" > /etc/blockeddomains
by chris ben
Fri May 11, 2018 12:24 pm
Forum: Hosting Control Panels
Topic: Possible root compromise detected, failed to create /dev/null:
Replies: 4
Views: 3097

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

Hi,

Actually the issue occur when inode or disk usage is full on /tmp directory, you can check it using following link.

Check disk usage

#df -h /tmp

Check inode usage

#df -i /tmp

If you found directory full you should clear some unnecessary files from /tmp to fix this problem.
by chris ben
Tue Apr 17, 2018 8:14 am
Forum: Hosting Control Panels
Topic: Enable Mbstring
Replies: 5
Views: 3850

Re: Enable Mbstring

This is much difficult than I thought, can you provide me the URL to purchase hourly support plan, so that I can open a support ticket for enabling Mbstring for my server.
by chris ben
Fri Apr 06, 2018 5:26 pm
Forum: Hosting Control Panels
Topic: Enable Mbstring
Replies: 5
Views: 3850

Enable Mbstring

Hi,

How to enable MBstring option on my WHM/CPanel for PHP version 7
by chris ben
Sat Jan 21, 2017 4:16 am
Forum: Hosting Control Panels
Topic: How to Check whether directory exists using shell script
Replies: 1
Views: 2769

How to Check whether directory exists using shell script

How to Check whether directory exists using shell script