Our VPS unfortunately suffered a hard restart this morning.
I did however learn two things that I was wondering how to fix or automate with litespeed.
1. cpanel started apache instead of litespeed, uncertain as to why as we followed the instructions to do
cd /etc/init.d
chkconfig httpd off
weeks ago... is it possible that cpanel 11 upgrade modified that again - or maybe it's running it's own script to force apache to run?
2. litespeed refused to respond until I deleted /tmp/lshttpd/ and restarted it which is a trick I learned awhile back
How can I automated this delete on a server restart (sorry I am a linux command line newbie but learn quickly!)
where do put "rm -rf /tmp/lshttpd/" to automate it on restart ??
I did however learn two things that I was wondering how to fix or automate with litespeed.
1. cpanel started apache instead of litespeed, uncertain as to why as we followed the instructions to do
cd /etc/init.d
chkconfig httpd off
weeks ago... is it possible that cpanel 11 upgrade modified that again - or maybe it's running it's own script to force apache to run?
2. litespeed refused to respond until I deleted /tmp/lshttpd/ and restarted it which is a trick I learned awhile back
How can I automated this delete on a server restart (sorry I am a linux command line newbie but learn quickly!)
where do put "rm -rf /tmp/lshttpd/" to automate it on restart ??
Last edited: