TomTomGo Posted December 1, 2010 Posted December 1, 2010 Hi all, Bare with me as i have limited Linux knowledge We have an Ubuntu 9.0.3 CLI Server installation running our school Moodle. As of Monday the server stops hosting the VLE roughly 10 minutes after boot up and we are unable to ping/putty onto the server after this time. I can still login to the CLI via our KVM and ping out to other servers. I've ran a Memtest and hard disk tests with no failures. There is 25gb of storage space free. What commands do i need to run to ascertain if the webserver/apache is running? Could this be a firewall issue? Your help is appreciated.
carvjo Posted December 1, 2010 Posted December 1, 2010 sudo /etc/init.d/apache2 stop sudo /etc/init.d/apache2 start sudo /etc/init.d/apache2 restart 1
carvjo Posted December 1, 2010 Posted December 1, 2010 I've installed webmin on the ubuntu server that hosts our moodle - managing the server via a web browser is great..
TomTomGo Posted December 1, 2010 Author Posted December 1, 2010 sudo /etc/init.d/apache2 stop sudo /etc/init.d/apache2 start sudo /etc/init.d/apache2 restart Thanks for the prompt reply. Ok apache2 was already running, ive restarted it anyway, but our VLE is still down. What other checks can i do through the CLI?
powdarrmonkey Posted December 1, 2010 Posted December 1, 2010 Run this after startup and watch what happens when it stops responding: sudo tail -f /var/log/syslog Hit Ctrl-C to exit it.
TomTomGo Posted December 1, 2010 Author Posted December 1, 2010 (edited) Run this after startup and watch what happens when it stops responding: sudo tail -f /var/log/syslog Hit Ctrl-C to exit it. Right it stops responding on the following, which i've typed out(!): Date/Time servername /USR/SBIN/CRON[3584]: (root) CMD ([ -x /usr/sbin/update-motd ] && /usr/sbin/update-motd 2>/dev/null) Edited December 1, 2010 by TomTomGo typo
powdarrmonkey Posted December 1, 2010 Posted December 1, 2010 Reboot and stop cron, to rule that out: sudo invoke-rc.d cron stop and do the same to see if it still stops responding - if so, it was a red herring. carvjo: Calling init scripts directly is deprecated, this is the way to do them safely.
TomTomGo Posted December 1, 2010 Author Posted December 1, 2010 Thanks for your help. This time i get: Date/Time servername console-kit-daemon[3329]: WARNING: cannot initialize libpolkit, some functionality will not be available
powdarrmonkey Posted December 1, 2010 Posted December 1, 2010 Mmm, it was a red herring then - you really need someone to take a proper look, you can play this game all day... 1
TomTomGo Posted December 1, 2010 Author Posted December 1, 2010 Mmm, it was a red herring then - you really need someone to take a proper look, you can play this game all day... Thanks for trying. Anyone aware of a Linux support specialist?
carvjo Posted December 1, 2010 Posted December 1, 2010 you could always try to install the policykit sudo apt-get install policykit but I'm with powdarrmonkey on this - find a local Linux guru to take a looksee..
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now