Sometimes when we try to add a subdomain, parked, or add-on domain via cPanel it causes an error: [wpfmb type=’error’ theme=2]The Domain already exists in Apache Configuration[/wpfmb] To resolve this error we have to remove all instances of the domain name. 1. First verify Ownership of the Domain in question: grep mydomain.com /etc/userdomains 2. Verify if a DNS Zone […]
Posts by Farooq:
Enable cagefs for cPanel Users
You can enable CageFS by using following commands: To enable CageFS for a single user: /usr/sbin/cagefsctl –enable <username> To enable CageFS for all users: /usr/sbin/cagefsctl –enable-all To disable CageFS for a user: /usr/sbin/cagefs –disable <username> […]
Error: To add, edit, or remove IPs, please contact your server administrator.
When you add IP from WHM, you may get the following message: [wpfmb type=’warning’ theme=2]To add, edit, or remove IPs, please contact your server administrator.[/wpfmb] To fix this issue, Login to your server as root and try adding the IP Address + Netmask to /etc/ips. cat /etc/ips ip:netmask:broadcast 192.168.1.XX:255.255.255.255:192.168.1.255 After that restart the ipalias service /etc/init.d/ipaliases […]
How to Restart Ruby on Rails from shell for a particular account
Following are the steps to restart ROR for a particular domain: root@server[#] cd /home/username root@server[#] cd rails_apps root@server[#] cd demo (Application name) root@server[#] mongrel_rails mongrel::restart Thats it! […]
Plesk Error:disk quota is not supported due to configuration of server file system in plesk”
Some times we often come across this error of plesk: [wpfmb type=’error’ theme=2]disk quota is not supported due to configuration of server file system in plesk[/wpfmb] For this error just do the following steps: /etc/fstab At first it will look like: /dev/md0 / ext3 defaults 1 1 Just Add ‘usrquota’ to the options in fstab […]
ASP.NET 4.0 error – The relative virtual path ‘aspnet_client/WebForms.js’ is not allowed here
Sometimes when hen we try to convert ASP.NET application from .NET framework 2.0 to latest 4.0. It goes all good with .NET framework 4.0 but whenever we try to execute the application, we get the following error. […]
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, […]
Httpd wont start in direct admin and gives the error
While trying to start httpd in direct admin giving the following error: # /etc/init.d/httpd start [wpfmb type=’error’ theme=2]Starting httpd: Syntax error on line 30 of /usr/local/directadmin/data/users/clickalist/httpd.conf:Invalid command ‘php_admin_flag’, perhaps misspelled or defined by a module not included in the server configuration[/wpfmb] To resolve this error follow the steps below: ./build update Backup any file named […]
How to Set Website’s Timezone Using php.ini
If you notice the correct time is not showing in your PHP scripts, likely root cause is that the hosting server is in a different timezone. You can easily take care of this by including a line of rule to your php.ini file. The location you set in the rule will determine the time to […]