Jump to content

Recommended Posts

Posted

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.

Posted
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?

Posted (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 by TomTomGo
typo
Posted

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.

Posted

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

Posted
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?

Posted

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..

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...