Getting 500 internal server error

geekraver
Posts: 43
Joined: Fri Aug 14, 2009 9:06 am

Getting 500 internal server error

Postby geekraver » Fri Aug 14, 2009 9:11 am

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.

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Getting 500 internal server error

Postby cpg » Fri Aug 14, 2009 10:13 am

Code: Select all

service httpd restart
also, check this file:

Code: Select all

/var/hda/platform/html/log/production.log
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

geekraver
Posts: 43
Joined: Fri Aug 14, 2009 9:06 am

Re: Getting 500 internal server error

Postby geekraver » Fri Aug 14, 2009 7:50 pm

Did both of those before my first post - the log is where I saw the error 28 from mysql.

geekraver
Posts: 43
Joined: Fri Aug 14, 2009 9:06 am

Re: Getting 500 internal server error

Postby geekraver » Fri Aug 14, 2009 7:54 pm

More info form the error:

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

geekraver
Posts: 43
Joined: Fri Aug 14, 2009 9:06 am

Re: Getting 500 internal server error

Postby geekraver » Fri Aug 14, 2009 7:56 pm

Ah, I see mysql error 28 is no space left - will delete some files and try again.

Who is online

Users browsing this forum: No registered users and 20 guests