View Single Post
  #3  
Old 4th January 2007, 23:28
steve1084 steve1084 is offline
Member
 
Join Date: Dec 2006
Posts: 70
Thanks: 8
Thanked 2 Times in 1 Post
Exclamation suphp disaster

Thanks for Your comments and sorry its taken me so long to get back to this thread with Xmas and all so hope you all had a merry time.

Suphp looks like the best option so I went ahead and tried installing it and itís a disaster, nothing works and all my websites have error 500 internal server error.

I have been back over and done everything a dozen times and checked and rechecked all the settings and it all looks correct but the php is not functioning for any of the websites and I cant seem to find any answers from the other forum threads I have looked at. It may be a compiling error but I donít know how to determine this.

Itís a ubuntu server http://www.howtoforge.com/perfect_setup_ubuntu_6.10 with ispconfig running several Joomla sites. I followed the http://www.howtoforge.com/apache2_suphp_php4_php5 to setup the suphp but I think the problem lies in that it is specific for Debian and not Ubuntu and therefore some of the settings need to be changed but I donít know what setting as I am doing all of this for the first time and really donít know much about Linux as yet, but I am learning heaps.

Ok here is what I hope is all the info you are likely to ask me for and hopefully somebody can point me in the right direction.


root@host1:/home/administrator# vi /var/log/apache2/error.log
[Sun Dec 31 06:25:08 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec2)
[Sun Dec 31 06:25:09 2006] [notice] Apache/2.0.55 (Ubuntu) PHP/5.1.6 mod_ssl/2.0.55 OpenSSL/0.9.8b configured -- resuming normal operations
[Sun Dec 31 06:25:54 2006] [error] an unknown filter was not added: PHP
[Sun Dec 31 06:25:54 2006] [error] an unknown filter was not added: PHP
[Sun Dec 31 06:44:30 2006] [error] an unknown filter was not added: PHP
[Sun Dec 31 06:44:30 2006] [error] an unknown filter was not added: PHP
[Sun Dec 31 06:44:37 2006] [error] an unknown filter was not added: PHP
[Sun Dec 31 06:44:37 2006] [error] an unknown filter was not added: PHP
[Sun Dec 31 06:44:38 2006] [error] an unknown filter was not added: PHP
[Sun Dec 31 06:44:38 2006] [error] an unknown filter was not added: PHP
[Sun Dec 31 06:50:12 2006] [error] an unknown filter was not added: PHP
[Sun Dec 31 06:50:12 2006] [error] an unknown filter was not added: PHP
[Sun Dec 31 06:51:50 2006] [error] an unknown filter was not added: PHP
[Sun Dec 31 06:51:50 2006] [error] an unknown filter was not added: PHP
[Sun Dec 31 06:56:27 2006] [error] an unknown filter was not added: PHP
[Sun Dec 31 06:56:27 2006] [error] an unknown filter was not added: PHP
[Sun Dec 31 06:57:06 2006] [error] an unknown filter was not added: PHP
[Sun Dec 31 06:57:06 2006] [error] an unknown filter was not added: PHP
[Sun Dec 31 07:02:31 2006] [error] an unknown filter was not added: PHP
[Sun Dec 31 07:02:31 2006] [error] an unknown filter was not added: PHP
[Sun Dec 31 07:03:30 2006] [error] an unknown filter was not added: PHP
[Sun Dec 31 07:03:30 2006] [error] an unknown filter was not added: PHP
[Sun Dec 31 07:08:47 2006] [error] an unknown filter was not added: PHP
[Sun Dec 31 07:08:47 2006] [error] an unknown filter was not added: PHP
[Sun Dec 31 07:13:22 2006] [error] an unknown filter was not added: PHP
[Sun Dec 31 07:13:22 2006] [error] an unknown filter was not added: PHP
[Sun Dec 31 07:13:22 2006] [error] an unknown filter was not added: PHP
[Sun Dec 31 07:13:22 2006] [error] an unknown filter was not added: PHP
[Sun Dec 31 07:13:38 2006] [error] an unknown filter was not added: PHP
[Sun Dec 31 07:13:38 2006] [error] an unknown filter was not added: PHP
[Sun Dec 31 07:13:38 2006] [error] an unknown filter was not added: PHP
"/var/log/apache2/error.log" 2968 lines, 214869 characters


root@host1:/home/administrator# vi /var/log/suphp.log
[Thu Jan 04 13:13:20 2007] [warn] File "/var/www/web10/web/index.php" is writeable by group
[Thu Jan 04 13:13:37 2007] [warn] File "/var/www/web20/web/index.php" is writeable by group
[Thu Jan 04 13:17:20 2007] [warn] File "/var/www/web20/web/index.php" is writeable by group
[Thu Jan 04 13:19:49 2007] [warn] File "/var/www/web21/web/index.php" is writeable by group
[Thu Jan 04 13:33:13 2007] [warn] File "/var/www/web21/web/index.php" is writeable by group
[Thu Jan 04 13:36:48 2007] [warn] File "/var/www/web21/web/index2.php" is writeable by group
[Thu Jan 04 13:42:59 2007] [warn] File "/var/www/web21/web/index.php" is writeable by group
[Thu Jan 04 13:42:59 2007] [warn] File "/var/www/web20/web/index.php" is writeable by group
[Thu Jan 04 13:53:01 2007] [warn] File "/var/www/web21/web/index2.php" is writeable by group
[Thu Jan 04 14:03:28 2007] [warn] File "/var/www/web21/web/index.php" is writeable by group
[Thu Jan 04 14:11:50 2007] [warn] File "/var/www/web21/web/index2.php" is writeable by group
[Thu Jan 04 14:13:21 2007] [warn] File "/var/www/web21/web/index2.php" is writeable by group
[Thu Jan 04 14:37:40 2007] [warn] File "/var/www/web21/web/index.php" is writeable by group
[Thu Jan 04 14:42:11 2007] [warn] File "/var/www/web21/web/index2.php" is writeable by group
[Thu Jan 04 14:43:40 2007] [warn] File "/var/www/web20/web/index.php" is writeable by group
[Thu Jan 04 14:57:09 2007] [warn] File "/var/www/web21/web/index2.php" is writeable by group
[Thu Jan 04 15:05:27 2007] [warn] File "/var/www/web21/web/index.php" is writeable by group
[Thu Jan 04 15:14:26 2007] [warn] File "/var/www/web21/web/index2.php" is writeable by group
[Thu Jan 04 15:15:19 2007] [warn] File "/var/www/web21/web/index2.php" is writeable by group
[Thu Jan 04 15:31:13 2007] [warn] File "/var/www/web21/web/index.php" is writeable by group
[Thu Jan 04 15:37:12 2007] [warn] File "/var/www/web21/web/index2.php" is writeable by group
[Thu Jan 04 15:58:47 2007] [warn] File "/var/www/web21/web/index2.php" is writeable by group
[Thu Jan 04 16:17:33 2007] [warn] File "/var/www/web21/web/index.php" is writeable by group
[Thu Jan 04 16:28:07 2007] [warn] File "/var/www/web21/web/index2.php" is writeable by group
[Thu Jan 04 16:31:34 2007] [warn] File "/var/www/web21/web/index.php" is writeable by group
[Thu Jan 04 16:48:23 2007] [warn] File "/var/www/web21/web/index2.php" is writeable by group
[Thu Jan 04 17:19:50 2007] [warn] File "/var/www/web21/web/index.php" is writeable by group
[Thu Jan 04 17:31:23 2007] [warn] File "/var/www/web21/web/index.php" is writeable by group
[Thu Jan 04 17:35:39 2007] [warn] File "/var/www/web21/web/index2.php" is writeable by group
[Thu Jan 04 17:51:06 2007] [warn] File "/var/www/web21/web/index2.php" is writeable by group
[Thu Jan 04 17:53:18 2007] [warn] File "/var/www/web21/web/index.php" is writeable by group
[Thu Jan 04 18:01:17 2007] [warn] File "/var/www/web21/web/index.php" is writeable by group
"/var/log/suphp.log" 103 lines, 9480 characters




root@host1:/home/administrator# suphp -v
suPHP version 0.6.1
(c) 2002-2005 Sebastian Marsching

suPHP has to be called by mod_suphp to work.
*** glibc detected *** suphp: double free or corruption (fasttop): 0x080787a0 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb7dc38bd]
/lib/tls/i686/cmov/libc.so.6(__libc_free+0x84)[0xb7dc3a44]
/usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0xb7f73fc1]
suphp[0x80513ed]
suphp[0x8051473]
suphp[0x8051528]
suphp[0x805159b]
suphp[0x80515bb]
/lib/tls/i686/cmov/libc.so.6(exit+0xe9)[0xb7d89299]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe4)[0xb7d728d4]
suphp(__gxx_personality_v0+0xad)[0x804a431]
======= Memory map: ========
08048000-08077000 r-xp 00000000 03:01 1006375 /usr/sbin/suphp
08077000-08078000 rw-p 0002e000 03:01 1006375 /usr/sbin/suphp
08078000-08099000 rw-p 08078000 00:00 0 [heap]
b7c00000-b7c21000 rw-p b7c00000 00:00 0
b7c21000-b7d00000 ---p b7c21000 00:00 0
b7d5c000-b7d5d000 rw-p b7d5c000 00:00 0
b7d5d000-b7e8a000 r-xp 00000000 03:01 5783704 /lib/tls/i686/cmov/libc-2.4.so
b7e8a000-b7e8c000 r--p 0012c000 03:01 5783704 /lib/tls/i686/cmov/libc-2.4.so
b7e8c000-b7e8e000 rw-p 0012e000 03:01 5783704 /lib/tls/i686/cmov/libc-2.4.so
b7e8e000-b7e92000 rw-p b7e8e000 00:00 0
b7e92000-b7e9c000 r-xp 00000000 03:01 5783568 /lib/libgcc_s.so.1
b7e9c000-b7e9d000 rw-p 00009000 03:01 5783568 /lib/libgcc_s.so.1
b7e9d000-b7ec1000 r-xp 00000000 03:01 5783709 /lib/tls/i686/cmov/libm-2.4.so
b7ec1000-b7ec3000 rw-p 00023000 03:01 5783709 /lib/tls/i686/cmov/libm-2.4.so
b7ec3000-b7f97000 r-xp 00000000 03:01 1001836 /usr/lib/libstdc++.so.6.0.8
b7f97000-b7f9a000 r--p 000d4000 03:01 1001836 /usr/lib/libstdc++.so.6.0.8
b7f9a000-b7f9c000 rw-p 000d7000 03:01 1001836 /usr/lib/libstdc++.so.6.0.8
b7f9c000-b7fa2000 rw-p b7f9c000 00:00 0
b7fa7000-b7fa9000 rw-p b7fa7000 00:00 0
b7fa9000-b7fc2000 r-xp 00000000 03:01 5783569 /lib/ld-2.4.so
b7fc2000-b7fc4000 rw-p 00018000 03:01 5783569 /lib/ld-2.4.so
bfe7d000-bfe92000 rw-p bfe7d000 00:00 0 [stack]
ffffe000-fffff000 ---p 00000000 00:00 0 [vdso]
Aborted


root@host1:/home/administrator# a Vhost
bash: a: command not found


root@host1:/home/administrator# ls -la /home/times/web20/web/index.php
ls: /home/times/web20/web/index.php: No such file or directory


root@host1:/home/administrator# php4-cgi -v
PHP Warning: mime_magic: type regex BEGIN[[:space:]]*[{] application/x-awk invalid in Unknown on line 0
PHP 4.4.2-1.1 (cgi-fcgi) (built: Jun 20 2006 02:29:46)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies

root@host1:/home/administrator# php5-cgi -v
PHP 5.1.6 (cgi-fcgi) (built: Nov 2 2006 12:43:56)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies


root@host1:/# php5 -v
PHP 5.1.6 (cli) (built: Nov 2 2006 12:49:10)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies


root@host1:/# php4 -v
bash: php4: command not found


Thanks
Steve
Reply With Quote