help fresh install suphp internal server error 500

MR.Sparrow

New member
Joined
Feb 1, 2012
Messages
17
Hello

i installed DA fresh install with Suphp

i just create new website and upload any php script on it i got error 500

why ?
 
Why dont you look in the error logs and find out why.
 
tail -100 /var/log/httpd/error_log

Or in admin section in directadmin there is a log viewer
 
this is the error log


PHP:
[Thu Feb 02 17:38:05 2012] [error] [client 62.84.74.166] File does not exist: /var/www/html/favicon.ico
[Thu Feb 02 17:38:05 2012] [error] [client 62.84.74.166] File does not exist: /var/www/html/404.shtml
[Thu Feb 02 17:38:28 2012] [error] [client 62.84.74.166] File does not exist: /var/www/html/favicon.ico
[Thu Feb 02 17:38:28 2012] [error] [client 62.84.74.166] File does not exist: /var/www/html/404.shtml
[Thu Feb 02 17:38:29 2012] [error] [client 62.84.74.166] File does not exist: /var/www/html/favicon.ico
[Thu Feb 02 17:38:29 2012] [error] [client 62.84.74.166] File does not exist: /var/www/html/404.shtml
[Thu Feb 02 17:43:20 2012] [error] [client 62.84.74.166] File does not exist: /var/www/html/favicon.ico
[Thu Feb 02 17:43:20 2012] [error] [client 62.84.74.166] File does not exist: /var/www/html/404.shtml
[Thu Feb 02 17:43:23 2012] [error] [client 62.84.74.166] No user or group set - set suPHP_UserGroup
[Thu Feb 02 17:43:23 2012] [error] [client 62.84.74.166] File does not exist: /var/www/html/500.shtml
[Thu Feb 02 17:43:24 2012] [error] [client 62.84.74.166] File does not exist: /var/www/html/favicon.ico
[Thu Feb 02 17:43:24 2012] [error] [client 62.84.74.166] File does not exist: /var/www/html/404.shtml
[Thu Feb 02 17:43:25 2012] [error] [client 62.84.74.166] No user or group set - set suPHP_UserGroup
[Thu Feb 02 17:43:25 2012] [error] [client 62.84.74.166] File does not exist: /var/www/html/500.shtml
[Thu Feb 02 17:43:25 2012] [error] [client 62.84.74.166] File does not exist: /var/www/html/favicon.ico
[Thu Feb 02 17:43:25 2012] [error] [client 62.84.74.166] File does not exist: /var/www/html/404.shtml
[Thu Feb 02 17:44:31 2012] [error] [client 62.84.74.166] No user or group set - set suPHP_UserGroup
[Thu Feb 02 17:44:31 2012] [error] [client 62.84.74.166] File does not exist: /var/www/html/500.shtml
[Thu Feb 02 17:44:33 2012] [error] [client 62.84.74.166] No user or group set - set suPHP_UserGroup
[Thu Feb 02 17:44:33 2012] [error] [client 62.84.74.166] File does not exist: /var/www/html/500.shtml
[Thu Feb 02 17:44:34 2012] [error] [client 62.84.74.166] File does not exist: /var/www/html/favicon.ico
[Thu Feb 02 17:44:34 2012] [error] [client 62.84.74.166] File does not exist: /var/www/html/404.shtml
[Thu Feb 02 17:44:34 2012] [error] [client 62.84.74.166] File does not exist: /var/www/html/favicon.ico
[Thu Feb 02 17:44:34 2012] [error] [client 62.84.74.166] File does not exist: /var/www/html/404.shtml
[Thu Feb 02 17:45:39 2012] [error] [client 62.84.74.166] No user or group set - set suPHP_UserGroup
[Thu Feb 02 17:45:39 2012] [error] [client 62.84.74.166] File does not exist: /var/www/html/500.shtml
[Thu Feb 02 17:45:39 2012] [error] [client 62.84.74.166] File does not exist: /var/www/html/favicon.ico
[Thu Feb 02 17:45:39 2012] [error] [client 62.84.74.166] File does not exist: /var/www/html/404.shtml
[Thu Feb 02 17:46:07 2012] [error] [client 89.108.168.10] No user or group set - set suPHP_UserGroup
[Thu Feb 02 17:46:07 2012] [error] [client 89.108.168.10] File does not exist: /var/www/html/500.shtml
[Thu Feb 02 17:52:17 2012] [error] [client 89.108.168.10] No user or group set - set suPHP_UserGroup
[Thu Feb 02 17:52:17 2012] [error] [client 89.108.168.10] File does not exist: /var/www/html/500.shtml
 
The problem is "No user or group set - set suPHP_UserGroup"

Try:

Code:
cd /usr/local/directadmin/custombuild
./build update
./build clean
./build suphp d
./build rewrite_confs
 
The problem is "No user or group set - set suPHP_UserGroup"

Try:

Code:
cd /usr/local/directadmin/custombuild
./build update
./build clean
./build suphp d
./build rewrite_confs

same thing internal server error 500 :(
 
You might have some template files in /usr/local/directadmin/data/templates/custom/ that dont have the suphp tags then.

What do you get from this command in ssh?:

Code:
ls -lah /usr/local/directadmin/data/templates/custom/virtual_*
 
You might have some template files in /usr/local/directadmin/data/templates/custom/ that dont have the suphp tags then.

What do you get from this command in ssh?:

Code:
ls -lah /usr/local/directadmin/data/templates/custom/virtual_*

i just formated the VPS and reinstall Centos 32 this is the steps

# yum update -y
# yum install gcc-c++ gcc automake -y
# yum install make -y
# yum install flex -y
# yum install db4-devel cyrus-sasl-devel -y
# yum remove httpd* php* mysql* -y
# yum install nano -y
# yum install perl-libwww-perl -y
# yum install wget gcc gcc-c++ flex bison make bind bind-libs bind-utils openssl openssl-devel perl quota libaio libcom_err-devel libcurl-dev gd
# wget http://www.directadmin.com/setup.sh
# chmod 755 setup.sh
# ./setup.sh

after that ill select php5 cgi with no php4 , mysql 5.1 apache 2.2 with ioncube and zend


when its finshed il tell you the resultes of your ssh command , thanks allot for your help
 
You might have some template files in /usr/local/directadmin/data/templates/custom/ that dont have the suphp tags then.

What do you get from this command in ssh?:

Code:
ls -lah /usr/local/directadmin/data/templates/custom/virtual_*

this is what i got

PHP:
[root@uk public_html]# ls -lah /usr/local/directadmin/data/templates/custom/virtual_*
ls: /usr/local/directadmin/data/templates/custom/virtual_*: No such file or directory
[root@uk public_html]#

do i have to build suphp again ?

its fresh DA install with php5 CGI apache 2.2
 
If you want i should take a look on your box.

Let me know in case login data via PM.

Regards

ok i am rebuild apache from custombuild now when i finish ill pm u

but is their any way to fix this please post it here guys
 
Back
Top