Archive by Author

How to remove Tomcat on cPanel

Posted on 24. Dec, 2010 by .

TweetWant to remove Tomcat from cPanel? Log-into your server as root using ssh: Execute the following command to stop the Tomcat process: # /usr/sbin/stoptomcat …and to remove the next files, enter: # rm -f /usr/sbin/starttomcat # rm -f /usr/sbin/startomcat # rm -f /usr/sbin/stoptomcat Finally, remove all mod_jk lines from httpd.conf, including addmodule, loadmodule, and include [...]

Continue Reading

Apache logs

Posted on 14. Nov, 2010 by .

TweetIssues with suhosin or mod_security , then best check your Apache error logs tail -f /usr/local/apache/logs/error_log

Continue Reading

Virtuozzo: Fixing Windows VPS Container Start Errors

Posted on 24. Mar, 2010 by .

TweetDue to the way the Virtuozzo virtualization platform works, all VPS containers are linked to the Host Node Operating System. For this reason, Windows updates are specifically disabled in Virtuozzo VPS Containers as any changes or updates to Windows System Files or Drivers, that differ from the host node can render the VPS Container unusable [...]

Continue Reading

Unsuspend Plesk Domain Accounts

Posted on 23. Feb, 2010 by .

TweetOccasionally Plesk can be a little temperamental and suspend accounts over expired validity errors. Attempting to “unsuspend” the account from your Plesk control panel will generally fail, and you will need to activate the domain by force using the command line. In Windows, goto Start -> Run and cd to your Plesk “bin” folder – [...]

Continue Reading

Rebuilding/Restarting Exim Mail Server

Posted on 17. Feb, 2010 by .

TweetWhen troubleshooting the Exim log file: tail -f /var/log/exim_mainlog If you need to restart or rebuild Exim, you can dump your databases * /etc/exim.conf * /var/spool/exim/db Which Exim just rebuilds automatically by issuing the following command via SSH: rm -fv /var/spool/exim/db/* Then to start Exim: /scripts/eximup –force

Continue Reading

cPanel Server : Restoring MySQL SimLink.

Posted on 16. Feb, 2010 by .

TweetIf you’re unable to restart mysqld and troubleshooting the cause: if u log into SSH and go to /tmp you may see that there is no simlink To create a simlink you can do the following: cd /var/lib/mysql/ touch mysql.sock chmod 1777 mysql.sock chown mysql.mysql mysql.sock Create a symlink for the sock file :- ln [...]

Continue Reading

Linux server tip: force reboot/shutdown

Posted on 23. Apr, 2009 by .

TweetForcing reboot A Linux Server is not Windows XP and if reboot fail you usually still connect by SSH and do something. This commands will show you how to remotely hard reboot machine. Hard reboot mean that shutdown scripts will not run and machine reboot immediately without syncing hard disk drives, shutdown applications etc, it’s [...]

Continue Reading

How To Set Up A Load-Balanced MySQL Cluster With MySQL 5.1

Posted on 18. Apr, 2009 by .

TweetThis tutorial is based on Falko Timme’s tutorial for MySQL Cluster 5.0. It shows how to configure a MySQL 5.1 cluster with five nodes: 1 x management, 2 x storage nodes and 2 x balancer nodes. This cluster is load-balanced by an Ultra Monkey package which provides heartbeat (for checking if the other node is [...]

Continue Reading

How to update Virtuozzo Node to the newest Kernel

Posted on 06. Apr, 2009 by .

TweetVirtuozzo includes a utility to update itself and the included templates. To run this, you will need to ssh into the hardware node and execute the command: vzup2date In order to update the templates, add a -t to the command thusly: vzup2date -t It should be noted that if Virtuozzo is installed on the server, [...]

Continue Reading

E-mail Alert on Root SSH Login

Posted on 27. Mar, 2009 by .

TweetWant to be notified instantly when someone logs into your server as root? No problem, check out this nice tutorial on email notification for root logins. Keeping track of who logs into your server and when is very important, especially when you’re dealing with the super user account. We recommend that you use an email [...]

Continue Reading