![]() |
Internal server error 500 with php files - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: Usage (/forum-34.html) +--- Thread: Internal server error 500 with php files (/thread-10002.html) Pages: 1 2 |
RE: Internal server error 500 with php files - rethus - 07-07-2010 01:11 AM I have found the solution on my own... in my 02_ssl.conf file in /etc/apache2/sites-available i have now add the following to this file - and it worked: Code: <IfModule mod_fcgid.c> RE: Internal server error 500 with php files - bederko - 05-08-2011 12:06 AM I have the same problem with run php files, can someone help me ? This is my suexec.log [2011-05-05 14:27:31]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter [2011-05-05 14:29:19]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter [2011-05-05 20:43:11]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter [2011-05-05 21:15:35]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter [2011-05-05 21:15:37]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter [2011-05-05 21:18:33]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter [2011-05-05 21:26:20]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter [2011-05-05 21:52:25]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter [2011-05-05 22:18:59]: uid: (2002/vu2002) gid: (2002/vu2002) cmd: php5-fcgi-starter [2011-05-05 22:18:59]: target uid/gid (2002/2002) mismatch with directory (2001/2001) or program (2001/2001) [2011-05-05 22:21:06]: uid: (2002/vu2002) gid: (2002/vu2002) cmd: php5-fcgi-starter [2011-05-05 22:21:06]: target uid/gid (2002/2002) mismatch with directory (2001/2001) or program (2001/2001) [2011-05-05 22:29:11]: uid: (2002/vu2002) gid: (2002/vu2002) cmd: php5-fcgi-starter [2011-05-05 22:29:11]: target uid/gid (2002/2002) mismatch with directory (2001/2001) or program (2001/2001) [2011-05-05 22:31:02]: uid: (2002/vu2002) gid: (2002/vu2002) cmd: php5-fcgi-starter [2011-05-05 22:31:02]: target uid/gid (2002/2002) mismatch with directory (2001/2001) or program (2001/2001) [2011-05-07 09:43:29]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter [2011-05-07 14:38:15]: uid: (2002/vu2002) gid: (2002/vu2002) cmd: php5-fcgi-starter [2011-05-07 14:38:15]: target uid/gid (2002/2002) mismatch with directory (2001/2001) or program (2001/2001) [2011-05-07 14:38:24]: uid: (2002/vu2002) gid: (2002/vu2002) cmd: php5-fcgi-starter [2011-05-07 14:38:24]: target uid/gid (2002/2002) mismatch with directory (2001/2001) or program (2001/2001) [2011-05-07 14:38:38]: uid: (2002/vu2002) gid: (2002/vu2002) cmd: php5-fcgi-starter [2011-05-07 14:38:38]: target uid/gid (2002/2002) mismatch with directory (2001/2001) or program (2001/2001) [2011-05-07 14:39:25]: uid: (2002/vu2002) gid: (2002/vu2002) cmd: php5-fcgi-starter [2011-05-07 14:39:25]: target uid/gid (2002/2002) mismatch with directory (2001/2001) or program (2001/2001) [2011-05-07 14:55:05]: uid: (2002/vu2002) gid: (2002/vu2002) cmd: php5-fcgi-starter [2011-05-07 14:55:05]: target uid/gid (2002/2002) mismatch with directory (2001/2001) or program (2001/2001) [2011-05-07 15:02:51]: uid: (2002/vu2002) gid: (2002/vu2002) cmd: php5-fcgi-starter [2011-05-07 15:02:51]: target uid/gid (2002/2002) mismatch with directory (2001/2001) or program (2001/2001) [2011-05-07 15:11:28]: uid: (2002/vu2002) gid: (2002/vu2002) cmd: php5-fcgi-starter [2011-05-07 15:11:28]: target uid/gid (2002/2002) mismatch with directory (2001/2001) or program (2001/2001) [2011-05-07 15:17:11]: uid: (2002/vu2002) gid: (2002/vu2002) cmd: php5-fcgi-starter [2011-05-07 15:17:11]: target uid/gid (2002/2002) mismatch with directory (2001/2001) or program (2001/2001) [2011-05-07 15:30:35]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter Thx, Lukas RE: Internal server error 500 with php files - kess - 05-08-2011 12:12 AM It seems that the ownership of your directories is not correctly set. UserID that tries to run the script is 2001 but owner of scripts is 2002. Fix it and it will work... RE: Internal server error 500 with php files - bederko - 05-08-2011 01:10 AM (05-08-2011 12:12 AM)kess Wrote: It seems that the ownership of your directories is not correctly set. Thx for your answer, can you write how fix it, please ? RE: Internal server error 500 with php files - kess - 05-08-2011 01:57 AM I assume that the interested domain name is "mydomain.com". As root type what follows using SSH or directly on the server console: cd /var/www/virtual chown vu2002:www-data mydomain.com chmod 770 mydomain.com cd mydomain.com chown vu2002:vu2002 htdocs -R chmod 755 htdocs -R Try again to browse your pages... This type mismatch happens generally when you move web pages from one domain to anotherone using SSH... In order to be sure that this won't happen again, use FTP instead. Hope this helps. Bye Kess. RE: Internal server error 500 with php files - bederko - 05-08-2011 02:19 AM (05-08-2011 01:57 AM)kess Wrote: I assume that the interested domain name is "mydomain.com". Not work. This is the new suexec.log Please help me ![]() [2011-05-05 14:27:31]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter [2011-05-05 14:29:19]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter [2011-05-05 20:43:11]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter [2011-05-05 21:15:35]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter [2011-05-05 21:15:37]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter [2011-05-05 21:18:33]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter [2011-05-05 21:26:20]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter [2011-05-05 21:52:25]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter [2011-05-05 22:18:59]: uid: (2002/vu2002) gid: (2002/vu2002) cmd: php5-fcgi-starter [2011-05-05 22:18:59]: target uid/gid (2002/2002) mismatch with directory (2001/2001) or program (2001/2001) [2011-05-05 22:21:06]: uid: (2002/vu2002) gid: (2002/vu2002) cmd: php5-fcgi-starter [2011-05-05 22:21:06]: target uid/gid (2002/2002) mismatch with directory (2001/2001) or program (2001/2001) [2011-05-05 22:29:11]: uid: (2002/vu2002) gid: (2002/vu2002) cmd: php5-fcgi-starter [2011-05-05 22:29:11]: target uid/gid (2002/2002) mismatch with directory (2001/2001) or program (2001/2001) [2011-05-05 22:31:02]: uid: (2002/vu2002) gid: (2002/vu2002) cmd: php5-fcgi-starter [2011-05-05 22:31:02]: target uid/gid (2002/2002) mismatch with directory (2001/2001) or program (2001/2001) [2011-05-07 09:43:29]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter [2011-05-07 14:38:15]: uid: (2002/vu2002) gid: (2002/vu2002) cmd: php5-fcgi-starter [2011-05-07 14:38:15]: target uid/gid (2002/2002) mismatch with directory (2001/2001) or program (2001/2001) [2011-05-07 14:38:24]: uid: (2002/vu2002) gid: (2002/vu2002) cmd: php5-fcgi-starter [2011-05-07 14:38:24]: target uid/gid (2002/2002) mismatch with directory (2001/2001) or program (2001/2001) [2011-05-07 14:38:38]: uid: (2002/vu2002) gid: (2002/vu2002) cmd: php5-fcgi-starter [2011-05-07 14:38:38]: target uid/gid (2002/2002) mismatch with directory (2001/2001) or program (2001/2001) [2011-05-07 14:39:25]: uid: (2002/vu2002) gid: (2002/vu2002) cmd: php5-fcgi-starter [2011-05-07 14:39:25]: target uid/gid (2002/2002) mismatch with directory (2001/2001) or program (2001/2001) [2011-05-07 14:55:05]: uid: (2002/vu2002) gid: (2002/vu2002) cmd: php5-fcgi-starter [2011-05-07 14:55:05]: target uid/gid (2002/2002) mismatch with directory (2001/2001) or program (2001/2001) [2011-05-07 15:02:51]: uid: (2002/vu2002) gid: (2002/vu2002) cmd: php5-fcgi-starter [2011-05-07 15:02:51]: target uid/gid (2002/2002) mismatch with directory (2001/2001) or program (2001/2001) [2011-05-07 15:11:28]: uid: (2002/vu2002) gid: (2002/vu2002) cmd: php5-fcgi-starter [2011-05-07 15:11:28]: target uid/gid (2002/2002) mismatch with directory (2001/2001) or program (2001/2001) [2011-05-07 15:17:11]: uid: (2002/vu2002) gid: (2002/vu2002) cmd: php5-fcgi-starter [2011-05-07 15:17:11]: target uid/gid (2002/2002) mismatch with directory (2001/2001) or program (2001/2001) [2011-05-07 15:30:35]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter [2011-05-07 18:07:18]: uid: (2002/vu2002) gid: (2002/vu2002) cmd: php5-fcgi-starter [2011-05-07 18:07:18]: target uid/gid (2002/2002) mismatch with directory (2001/2001) or program (2001/2001) [2011-05-07 18:07:24]: uid: (2002/vu2002) gid: (2002/vu2002) cmd: php5-fcgi-starter [2011-05-07 18:07:24]: target uid/gid (2002/2002) mismatch with directory (2001/2001) or program (2001/2001) [2011-05-07 18:16:48]: uid: (2002/vu2002) gid: (2002/vu2002) cmd: php5-fcgi-starter [2011-05-07 18:16:48]: target uid/gid (2002/2002) mismatch with directory (2001/2001) or program (2001/2001) RE: Internal server error 500 with php files - kess - 05-08-2011 02:36 AM Please type the output of the following command there: cat /etc/passwd | grep mydomain.com RE: Internal server error 500 with php files - bederko - 05-08-2011 03:03 AM (05-08-2011 02:36 AM)kess Wrote: Please type the output of the following command there: vu2001:x:2001:2001:virtual-user:/var/www/virtual/nadherniludia.sk:/bin/false vu2002:x:2002:2002:virtual-user:/var/www/virtual/nadherniludia.sk:/bin/false RE: Internal server error 500 with php files - kess - 05-08-2011 03:16 AM There's the error. You can't have dual UserIDs and GroupIDs for the same domain. Try to change vu2001 as follows: vu2001:x:2001:2001:virtual-user:/var/www/virtual/old-nadherniludia.sk:/bin/false and let me know if it works. As I can understand, you only have 1 domain there, right ? |