Server crashing

I installed virtualmin pro yesterday. Everything seems to go well. Learning the software and such. Last night twice the sever completely locked up and nothing working until I reset it. Its on a VM and I have 20 others running just fine. It started from a fresh install of Ubuntu 10.04.

It said on the screen it fixed some error but I could not move the text around to see what the problem was.

Now when I reset it, I do not get any of my websites. I just get the default It works! screen. Its like I lost all the settings. I just has the virtualmin basic defaults so nothing important lost.

I am not even sure where to start on this one. I am going to leave the VM up in a large screen to see if I can get a screen shot of the error/what is printed out, if it does it again.

What log files should I look for?

Status: 
Active

Comments

Howdy -- yeah, being able to see any console messages would be a big help.

A common cause of lockups with VPS's is due to running out of memory though.

If that occurred, you may see messages to that effect in /var/log/kern.log.

I'd also suggest reviewing logs such as syslog.log and apache2.log to see if they contain any helpful information.

As far as your settings go -- no error that occurs should ever affect your existing settings and break your Apache setup. It's possible that some sort of problem had already existed in your Apache config, which showed up when Apache restarted during your bootup process. Do you see the various Apache config files in /etc/apache2/sites-enabled?

Next time it happens, if it does, I will try to get the messages.

I would find it unlikely I am running out of memory. 24 gb on main system and the total used so far is only about 10 gb. This VM has 5 gb allocated to it. And the others total about 3 gb at the moment, this is a new server so I don't have much on it yet. The other VMs are humming along just fine.

This was a fresh install, I let virtualmin install everything, I just had a empty basic 10.04 install. So I did not have an apache setup before I installed virtualmin.

The apache log had tons of this:

[Mon Dec 13 14:08:40 2010] [notice] child pid 11993 exit signal Segmentation fault (11)

Several for every second. I am guessing something is going on with that. At the end of the file I got

Wed Dec 15 02:33:10 2010] [error] [client 10.11.0.1] File does not exist: /var/www/wpad.dat [Wed Dec 15 02:42:15 2010] [error] [client 178.154.163.30] File does not exist: /var/www/robots.txt [Wed Dec 15 09:27:55 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec) [Wed Dec 15 09:27:55 2010] [notice] Digest: generating secret for digest authentication ... [Wed Dec 15 09:27:55 2010] [notice] Digest: done PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/imap.ini on line 1 in Unknown on line 0 [Wed Dec 15 09:27:55 2010] [notice] Apache/2.2.14 (Ubuntu) DAV/2 SVN/1.6.6 mod_fcgid/2.3.4 PHP/5.3.2-1ubuntu4.5 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-01-10) mod_ssl/2.2.1$ [Wed Dec 15 09:44:45 2010] [notice] caught SIGTERM, shutting down [Wed Dec 15 09:44:49 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec) [Wed Dec 15 09:44:49 2010] [notice] Digest: generating secret for digest authentication ... [Wed Dec 15 09:44:49 2010] [notice] Digest: done PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/imap.ini on line 1 in Unknown on line 0 [Wed Dec 15 09:44:49 2010] [notice] Apache/2.2.14 (Ubuntu) DAV/2 SVN/1.6.6 mod_fcgid/2.3.4 PHP/5.3.2-1ubuntu4.5 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-01-10) mod_ssl/2.2.1$ [Wed Dec 15 09:44:57 2010] [error] [client 10.11.0.1] File does not exist: /var/www/favicon.ico [Wed Dec 15 09:44:57 2010] [error] [client 10.11.0.1] File does not exist: /var/www/favicon.ico [Wed Dec 15 09:45:00 2010] [error] [client 10.11.0.1] File does not exist: /var/www/favicon.ico [Wed Dec 15 09:52:37 2010] [error] [client 10.11.0.1] File does not exist: /var/www/wpad.dat [Wed Dec 15 09:52:37 2010] [error] [client 10.11.0.1] File does not exist: /var/www/wpad.dat [Wed Dec 15 10:54:32 2010] [error] [client 10.11.0.1] File does not exist: /var/www/wpad.dat [Wed Dec 15 10:54:32 2010] [error] [client 10.11.0.1] File does not exist: /var/www/wpad.dat [Wed Dec 15 11:39:01 2010] [error] [client 66.249.68.211] File does not exist: /var/www/robots.txt

I think I will just start over. I just don't like getting something this big with out figuring out why. ya know.

Yeah, the Apache segfault errors are odd -- that's an unusual problem to have.

Even if Apache was crashing though, it shouldn't bring down the entire VPS with it.

You didn't see anything off in the kern.log file I take it? If the kernel had generated errors of some sort before the system hung, they likely would appear in there.

Sorry, no I did not see anything in the kern.log, just normal start up and stuff, I compared to other VMs.

I am hoping it was a once thing, I am starting over and we will see.