Page 1 of 1

Getting 500 internal server error

Posted: Fri Aug 14, 2009 9:11 am
by geekraver
Hi all

Installed Amahi two days ago. Things were looking good but this morning I get 500 internal server errors on all Amahi web pages. The log says there is an error 28 coming from mySql. Even weirder is that Firefox seems broken too - no POSTs work (so I am having to send this from a different machine).

The only explanation I can think of is that I added a vhost to Apache last night. The conf file is straightforward with nothing funny in it - just server aliases, directories and paths to credential files. The data is more mixed; its an old website created years back with Fog Creek's CityDesk software, but AFAIK that does not use SQL at all; it just creates static HTML. After adding that site it did not seem to work (this was late last night), but I can't think what else might have triggered this.

Is there a way to regenerate the Amahi Apache and SQL config without going through the browser? Anyone have any other ideas I can try?

Thanks.

Re: Getting 500 internal server error

Posted: Fri Aug 14, 2009 10:13 am
by cpg

Code: Select all

service httpd restart
also, check this file:

Code: Select all

/var/hda/platform/html/log/production.log

Re: Getting 500 internal server error

Posted: Fri Aug 14, 2009 7:50 pm
by geekraver
Did both of those before my first post - the log is where I saw the error 28 from mysql.

Re: Getting 500 internal server error

Posted: Fri Aug 14, 2009 7:54 pm
by geekraver
More info form the error:

mysql: got error 28 from storage engine: SHOW FIELDS FROM `settings`

Re: Getting 500 internal server error

Posted: Fri Aug 14, 2009 7:56 pm
by geekraver
Ah, I see mysql error 28 is no space left - will delete some files and try again.