Recently we had a strange problem on a cPanel installed server . Every time a new account was created on the server we have to restart named service or it would not resolve the domains at all. […]
Category: Cpanel
/etc/userdomains file is blank.
Sometimes on a cPanel server the /etc/userdomains (which contains list of all the domain added on the server) appears blank even if all the domains exist on the server. Run the following command to rebuild the file on the server: /scripts/updateuserdomains That’s it. You can now view the list of domains in this file. […]
Error: exim has been disabled by the sys admin
One of our Cpanel server can’t restart EXIM on WHM giving the error [wpfmb type=’error’ theme=2]Attempting to restart exim Waiting for exim to restart…. . . . . . . . . . . finished. Service: [exim] has been disabled by the sys admin[/wpfmb] This issue arises as the exim service is disabled in WHM>> […]
Drupal:The username admin has not been activated or is blocked
While login to Drupal you might deal with following error: [wpfmb type=’error’ theme=2]Error : The username admin has not been activated or is blocked.[/wpfmb] To solve this problem, you can follow below steps: […]
Warning: include(Mail.php) Error
If you are getting the error: [wpfmb type=’error’ theme=2]“Warning: include(Mail.php) [function.include]: failed to open stream: No such file or directory in /home/user/public_html/mailfiles/testmail.php on line 13 [/wpfmb] In that case open php.ini file and check if the below include functions are there. allow_url_fopen = On allow_url_include = On safe_mode = Off […]
Webmail Error Connection timed out110 Can’t open SMTP stream.
Sometimes while sending the e-mails via webmail we are getting error as follows: [wpfmb type=’error’ theme=2]ERROR: Message not sent. Server replied: Connection timed out110 Can’t open SMTP stream.[/wpfmb] […]
warning: date() [function.date]: It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function.
[wpfmb type=’error’ theme=2]warning: date() [function.date]: It is not safe to rely on the system’s time zone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function.[/wpfmb] […]
Warning: phpinfo() has been disabled for security reasons
When trying to view phpinfo we get the following error : [wpfmb type=’error’ theme=2]Warning: phpinfo() has been disabled for security reasons[/wpfmb] This is because you have disabled phpinfo in your php.ini file. Just remove that entry from disable_functions and this should be fixed. grep phpinfo /usr/local/lib/php.ini disable_functions = show_source, system, shell_exec, passthru, exec, phpinfo, popen, […]
pure-authd (/usr/sbin/pure-authd -s /var/run/ftpd.sock -r /usr/sbin/pureauth) running as root with PID
While trying to restart FTP via WHM we are getting the error : [wpfmb type=’error’ theme=2] pure-authd (/usr/sbin/pure-authd -s /var/run/ftpd.sock -r /usr/sbin/pureauth) running as root with PID[/wpfmb] Login to WHM >> Manage Service SSL Certificates >>Reset the FTP SSL certificate. Try restarting FTP, It should work. After that make sure to run: /scripts/upcp –force If […]
syslogd shows failed in WHM
When we check WHM >> Service status shows that ” syslogd ” is stopped. But While we login to server and check the status is up service rsyslog status ** Try restarting syslogd ** /scripts/restartsrv syslogd /etc/init.d/rsyslog restart ** Try restarting chkservd ** /scripts/restartsrv chkservd service chkservd restart Still if it don’t show its up, […]