please help: alias 500 error: /webmail /phpmyadmin

I just tried your link and got not a Not Found error, but an Internal Server Error; you'll need to check your server logs.

Jeff
 
Make sure, you've got no /usr/local/directadmin/custombuild/custom/ap2/ directory. In case you do, you should remove it, and then run again:

Code:
./build rewrite_confs

when ap2 removed:

Code:
./build rewrite_confs

cp: cannot stat `/usr/local/directadmin/custombuild/configure/ap2/conf': No such file or directory
cp: cannot stat `/usr/local/directadmin/custombuild/configure/ap2/conf/httpd.conf': No such file or directory
cp: cannot stat `/usr/local/directadmin/custombuild/configure/ap2/conf/extra/httpd-mpm.conf': No such file or directory
 
Dear Friends;

Please note that:

1- I used Custom Build 2.0
2- PHP as FastCGI
3- Apache 2.4.4
4- mpm worker
 
It looks like you are missing the "configure" directory. Try:
Code:
cd /usr/local/directadmin/custombuild
./build update
 
What exactly did you remove:

custom/ap2/

or

configure/ap2/

?

Anyway, follow please suggestion of Martynas and then

Code:
./build rewrite_confs

there is no custom folder! So I removed ap2 from Configure folder for test and I did :

Code:
./build rewrite_confs

So I got errors I wrote above!
 
when I try to access one of these like this: http://www.shivahost.net/phpmyadmin/

this will append to " /var/log/httpd/error_log " :

Code:
suexec policy violation: see suexec log for more details

and in " /var/log/httpd/suexec_log" :

Code:
target uid/gid (514/516) mismatch with directory (500/501) or program (500/501)
 
Same problem. DA 1.43, OpenVZ, Debian 6 64bit, Apache, php 5.4 fastcgi after
http://xxx.xxx.xxx.xxx/roundcube/ <- works ok (xxx.xxx.xxx.xxx -> my server ip)

BUT

http://myonedomain.com/roundcube/

give me

500 Internal Server Error

Code:
in /var/log/httpd/domains/myonedomain.com.error.log

[Fri Apr 26 19:26:32.806228 2013] [fcgid:warn] [pid 30439:tid 140578535442176] (104)Connection reset by peer: [client 84.10.215.221:53486] mod_fcgid: error reading data from FastCGI server
[Fri Apr 26 19:26:32.806262 2013] [core:error] [pid 30439:tid 140578535442176] [client 84.10.215.221:53486] End of script output before headers: index.php

Code:
/var/log/httpd/error_log

suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details


Code:
/var/log/httpd/suexec_log

[2013-04-26 19:26:32]: uid: (1003/dragon) gid: (1005/dragon) cmd: fcgid54.sh
[2013-04-26 19:26:32]: cannot get safe directory information (/usr/local/safe-bin)

chown -R webapps:webapps /var/www/html/ & ./build rewrite_configs doesn't help
 
Last edited:
Back
Top