Page 1 of 1

Videos5 - Internal server error

Posted: Sat Oct 23, 2010 12:51 pm
by oldcyberdude
Install of videos5 app returns an Internal Sever Error

Reinstalling videos5 and/or restarting httpd service made no impact

The videos5 error_log shows the following
[Sat Oct 23 15:38:24 2010] [error] [client 192.168.1.108] (8)Exec format error: exec of '/var/hda/web-apps/videos5/html/index.php' failed, referer: http://hda/setup?sub=available&tab=app
[Sat Oct 23 15:38:24 2010] [error] [client 192.168.1.108] Premature end of script headers: index.php, referer: http://hda/setup?sub=available&tab=app
[Sat Oct 23 15:44:43 2010] [error] [client 192.168.1.108] (8)Exec format error: exec of '/var/hda/web-apps/videos5/html/index.php' failed
[Sat Oct 23 15:44:43 2010] [error] [client 192.168.1.108] Premature end of script headers: index.php

Any thoughts on the problem?

Re: Videos5 - Internal server error

Posted: Mon Oct 25, 2010 1:01 pm
by cpg
can you take a look at the end of this file immediately after the error happens?

/var/hda/web-apps/videos5/logs/error_log

you can paste the end to the web with:

Code: Select all

tail -150 /var/hda/web-apps/videos5/logs/error_log | fpaste

Re: Videos5 - Internal server error

Posted: Mon Oct 25, 2010 2:15 pm
by oldcyberdude
My post contained the entire error log from Saturday

today I try a http://videos5 or http://videos5.mydomain

I get the same internal server error and the error_log is empty i.e. both cat shows nothing

After restarting httpd (both stop and start ok)
the entire error log is

[Mon Oct 25 17:13:50 2010] [error] [client 192.168.1.108] (8)Exec format error: exec of '/var/hda/web-apps/videos5/html/index.php' failed
[Mon Oct 25 17:13:50 2010] [error] [client 192.168.1.108] Premature end of script headers: index.php

Re: Videos5 - Internal server error

Posted: Mon Oct 25, 2010 10:28 pm
by cpg
how about taking a look at what's inside?

Code: Select all

file /var/hda/web-apps/videos5/html/index.php
or even showing the file here

Code: Select all

fpaste /var/hda/web-apps/videos5/html/index.php

Re: Videos5 - Internal server error

Posted: Tue Oct 26, 2010 5:35 am
by oldcyberdude
uploaded with fpaste

problem seems to be in the mysql db I tried phpMyAdmin and I get the same internal server error
same kind of error log from phpMyAdmin
[Tue Oct 26 08:04:52 2010] [error] [client 192.168.1.108] (13)Permission denied: exec of '/var/hda/web-apps/phpmyadmin/html/index.php' failed
[Tue Oct 26 08:04:52 2010] [error] [client 192.168.1.108] Premature end of script headers: index.php

also webchess i.e. any app that uses mysql db

I also check a that the mysql server is running
Also with webmin the videos5 db (annd other dbs) exist and I could look at the 4 tables of the db, permissions etc.

restarting mysql server didn't help.

getting closer<grin> maybe

Re: Videos5 - Internal server error

Posted: Tue Oct 26, 2010 12:35 pm
by cpg
you have to post the url you get here. we cannot guess it or otherwise find it.

are you sure you are not running out of disk space?

some times when that happens the first the fall out of grace is mysql.

Re: Videos5 - Internal server error

Posted: Tue Oct 26, 2010 2:08 pm
by oldcyberdude
sorry, haven't used fpaste before
http://fpaste.org/NOUM/

disk space - plenty available

Code: Select all

Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/vg_tigger-lv_root 611180792 233101888 347032660 41% / tmpfs 995560 188 995372 1% /dev/shm /dev/dm-1 198337 23851 164246 13% /boot
I used 2@ 640GB in a raid 1 configuration

Re: Videos5 - Internal server error

Posted: Sun Oct 31, 2010 5:47 pm
by oldcyberdude
Nobody has any ideas on internal server error for mysql apps!!!!!