Koozali.org: home of the SME Server

Internal Server Error

pauld

Internal Server Error
« on: October 16, 2003, 10:15:47 PM »
Hi

I am desperate for a bit of help & have no idea where to start. Whilst on the internet last night I suddenly lost my connection to the internet going via my e-smith server. The internet connection is fine but when I go into the server manager all is ok until I click on a link to do something at this point I get a message saying Internal error or misconfiguration.

I have re-configured the server just in case and re-booted a couple of times. I have installed e-smith and it has worked ever since. Can anyone shed some light on this for me. Unfortunately my linux knowledge is as good as useless and have no idea how to or what logs if any I need to check.

hope you can help me

Paul

Paul Nesbit

Re: Internal Server Error
« Reply #1 on: October 17, 2003, 02:20:41 AM »
> I am desperate for a bit of help & have no idea where to start.

The /var/log/ directory is a good place to start.  (The 'View log files' panel can be used to view the log files in that directory if you're not comfortable getting around on the command line.)  The logs most likely to contain evidence of the problem is "messages" (the system log) and httpd/admin_error_log (the server-manager's web server error log).  Note that if you re-installed and are no longer encountering the error, the logs containing evidence of the problem are no longer intact; they were lost when the disks were formatted during re-install.  

> Whilst on the internet last night I suddenly lost my connection to
> the internet going via my e-smith server. The internet connection
> is fine

Which is it, "lost", or "fine"?  Define what you mean in both cases.

> but when I go into the server manager all is ok until I click on a
> link to do something at this point I get a message saying Internal
> error or misconfiguration.

Providing the exact text of the error message, and the server-manager actions that proceeded the error message (what link did you click on?) would be very useful to anyone willing to assist you determine what the problem is (was).

> I have re-configured the server just in case and re-booted a
> couple of times.  I have installed e-smith and it has worked ever
> since. Can anyone shed some light on this for me. Unfortunately my
> linux knowledge is as good as useless and have no idea how to or
> what logs if any I need to check.

If you're no longer able to replicate the problem after having re-installed, you're not easily going to determine what the problem
was.

Cheers,

  Paul

pauld

Re: Internal Server Error
« Reply #2 on: October 17, 2003, 03:13:32 PM »
OK to clear things up  a little
I cannot currently access the internet via a pc connected to the server I have checked the internet connection to the server and this is fine.

I cannot use the server manager because as soon as I click on anything in the left hand panel I get the following error
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

I have looked in the messages log and found the following message that is probably the cause of my problem
Logfilewrite: /var/log/squid/store.log: (28) No space left on drive
It looks like I have to create more space I currently have 2 drives on my server the 1st has the main operating system & 1 ibay it is a small disk about 2 gig the 2nd drive has other ibays on it and is about 80 gig I definately have space on the 80 gig drive. Is there anyway I can correct this problem

Many Thanks
Paul

Paul Nesbit

Re: Internal Server Error
« Reply #3 on: October 17, 2003, 09:14:08 PM »
> [...]
> I have looked in the messages log and found the following message
> that is probably the cause of my problem
> Logfilewrite: /var/log/squid/store.log: (28) No space left on drive

It sounds like you've discovered the cause of the server's failure to proxy/serve your http requests.

> It looks like I have to create more space

You can verify how much space remains with the command 'df'.  Try 'df -h' for more friendly (human-readable) output.

> I currently have 2 drives on my server the 1st has the main
> operating system & 1 ibay it is a small disk about 2 gig the 2nd
> drive has other ibays on it and is about 80 gig I definately have
> space on the 80 gig drive.  Is there anyway I can correct this
> problem

I suggest clearing up a little space on the 2 Gig drive as a temporary measure, then replace the old 2 Gig disk with a bigger one (it'll fill up again).  To clear up more space, you may want to remove older system log files - be careful not to remove active log  files.  'ls -l /var/log/' will show you timestamps, dates, and presence of symbolic links - those can be used to determine which files are active.

Harder to do, and not worth the effort considering the cost of disk, is to tweak the amount of log file archiving to protect against log files using up all of the disk space.  

  Paul

pauld

Re: Internal Server Error
« Reply #4 on: October 17, 2003, 10:01:13 PM »
thanks for your advice & help I have done as you suggest & /dev/hda3 is 100% full I have deleted all September log files & re-booted however the disc is still showing as 100% full can you suggest anything else I may be able to do.

Thanks again

Paul

Paul Nesbit

Re: Internal Server Error
« Reply #5 on: October 17, 2003, 10:10:00 PM »
> thanks for your advice & help I have done as you suggest &
> /dev/hda3 is 100% full I have deleted all September log files &
> re-booted however the disc is still showing as 100% full can you
> suggest anything else I may be able to do.
 
I suggest re-installing on another disk with more capacity.
 
[If you're storing i-bay data on some other disk, maybe moving the one i-bay on from your primary disk to that other disk will give you
some breathing room.]
 
  Paul

Michiel

Re: Internal Server Error
« Reply #6 on: October 17, 2003, 10:28:13 PM »
An other option would be to move the content from /home/e-smith/files to your 80G disk and mount that disk on /home/e-smith/files. That probably gives you enough space to run e-smith on the 2G disk.

Michiel

pauld

Re: Internal Server Error
« Reply #7 on: October 17, 2003, 10:38:40 PM »
Thanks yet again for your help I have deleted one of my ibays which has given me enough space to get things running again.

Will it be possible for me to make a backup of my current setup remove the small hard drive re-install to the larger 80 gig disc & then load the backup back on

Paul