ispCP - Board - Support
resolved: upgraded from etch to lenny now have a suexec error - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Update/Upgrade (/forum-44.html)
+--- Thread: resolved: upgraded from etch to lenny now have a suexec error (/thread-6354.html)



resolved: upgraded from etch to lenny now have a suexec error - jemmrich - 04-10-2009 03:36 AM

Hi everyone, I upgraded my system from etch to lenny and now apache2 wont start. Im getting this message:

server:~# /etc/init.d/apache2 restart
Restarting web server: apache2Syntax error on line 21 of /etc/apache2/mods-enabled/fastcgi_ispcp.conf:
FastCgiWrapper: "/usr/lib/apache2/suexec" execute access for server (uid 33, gid 33) failed: stat(/usr/lib/apache2/suexec) failed: No such file or directory
failed!

If i apt-get install apache2-suexec, it wants to remove: apache-common, libapache-mod-php4, php4

What should I go to get apache back up and running? Im still using the previous version of ispcp.
Just to update, I went along with removing, and then installed apache2-suexec.

Restarting apache told me:
server:/var/lib/apache2/fastcgi# /etc/init.d/apache2 restart
Restarting web server: apache2Syntax error on line 22 of /etc/apache2/mods-enabled/fastcgi_ispcp.conf:
FastCgiIpcDir /var/lib/apache2/fastcgi2: already defined as "/var/lib/apache2/fastcgi"
failed!

so I commented out the FastCgiIpcDir line in /etc/apache2/mods-enabled/fastcgi_ispcp.conf and was able to get the apache server up.

Is something wrong with my install? I would like to upgrade to the latest ispcp next week but want to make sure that my lenny upgrade is working perfectly before i attempt that.

For now, the apache server is running and up for clients, but i want to make sure what I did above is ok

thanks


RE: upgraded from etch to lenny now have a suexec error - joximu - 04-10-2009 08:04 AM

is this package ok?
http://packages.debian.org/lenny/libapache2-mod-fastcgi

/J


RE: upgraded from etch to lenny now have a suexec error - jemmrich - 04-10-2009 08:36 AM

(04-10-2009 08:04 AM)joximu Wrote:  is this package ok?
http://packages.debian.org/lenny/libapache2-mod-fastcgi

/J

Yes, says its up to date


RE: upgraded from etch to lenny now have a suexec error - joximu - 04-11-2009 02:23 AM

In /etc/apache2/mods-available you only shoud have links to fastcgi_ispcp.conf (and .load) but not the fastcgi.conf and .load

Quote:~/etc/apache2/mods-enabled# ls -la
insgesamt 8.0K
drwxr-xr-x 2 root root 4.0K 8. Apr 15:30 .
drwxr-xr-x 8 root root 4.0K 30. Mär 15:34 ..
lrwxrwxrwx 1 root root 30 2. Mär 18:00 actions.conf -> ../mods-available/actions.conf
lrwxrwxrwx 1 root root 30 2. Mär 18:00 actions.load -> ../mods-available/actions.load
lrwxrwxrwx 1 root root 28 2. Mär 11:30 alias.conf -> ../mods-available/alias.conf
lrwxrwxrwx 1 root root 28 27. Apr 2008 alias.load -> ../mods-available/alias.load
lrwxrwxrwx 1 root root 33 27. Apr 2008 auth_basic.load -> ../mods-available/auth_basic.load
lrwxrwxrwx 1 root root 33 27. Apr 2008 authn_file.load -> ../mods-available/authn_file.load
lrwxrwxrwx 1 root root 36 27. Apr 2008 authz_default.load -> ../mods-available/authz_default.load
lrwxrwxrwx 1 root root 38 27. Apr 2008 authz_groupfile.load -> ../mods-available/authz_groupfile.load
lrwxrwxrwx 1 root root 33 27. Apr 2008 authz_host.load -> ../mods-available/authz_host.load
lrwxrwxrwx 1 root root 33 27. Apr 2008 authz_user.load -> ../mods-available/authz_user.load
lrwxrwxrwx 1 root root 32 2. Mär 11:30 autoindex.conf -> ../mods-available/autoindex.conf
lrwxrwxrwx 1 root root 32 27. Apr 2008 autoindex.load -> ../mods-available/autoindex.load
lrwxrwxrwx 1 root root 27 27. Apr 2008 cgid.conf -> ../mods-available/cgid.conf
lrwxrwxrwx 1 root root 27 27. Apr 2008 cgid.load -> ../mods-available/cgid.load
lrwxrwxrwx 1 root root 26 27. Apr 2008 dir.conf -> ../mods-available/dir.conf
lrwxrwxrwx 1 root root 26 27. Apr 2008 dir.load -> ../mods-available/dir.load
lrwxrwxrwx 1 root root 26 27. Apr 2008 env.load -> ../mods-available/env.load
lrwxrwxrwx 1 root root 36 2. Mär 18:00 fastcgi_ispcp.conf -> ../mods-available/fastcgi_ispcp.conf
lrwxrwxrwx 1 root root 36 2. Mär 18:00 fastcgi_ispcp.load -> ../mods-available/fastcgi_ispcp.load
lrwxrwxrwx 1 root root 27 2. Mär 11:30 mime.conf -> ../mods-available/mime.conf
lrwxrwxrwx 1 root root 27 27. Apr 2008 mime.load -> ../mods-available/mime.load
lrwxrwxrwx 1 root root 34 2. Mär 11:30 negotiation.conf -> ../mods-available/negotiation.conf
lrwxrwxrwx 1 root root 34 27. Apr 2008 negotiation.load -> ../mods-available/negotiation.load
lrwxrwxrwx 1 root root 28 8. Apr 15:29 proxy.conf -> ../mods-available/proxy.conf
lrwxrwxrwx 1 root root 33 8. Apr 15:30 proxy_http.load -> ../mods-available/proxy_http.load
lrwxrwxrwx 1 root root 28 8. Apr 15:29 proxy.load -> ../mods-available/proxy.load
lrwxrwxrwx 1 root root 30 2. Mär 18:00 rewrite.load -> ../mods-available/rewrite.load
lrwxrwxrwx 1 root root 31 2. Mär 11:30 setenvif.conf -> ../mods-available/setenvif.conf
lrwxrwxrwx 1 root root 31 27. Apr 2008 setenvif.load -> ../mods-available/setenvif.load
lrwxrwxrwx 1 root root 29 2. Mär 11:30 status.conf -> ../mods-available/status.conf
lrwxrwxrwx 1 root root 29 27. Apr 2008 status.load -> ../mods-available/status.load
lrwxrwxrwx 1 root root 29 2. Mär 18:00 suexec.load -> ../mods-available/suexec.load

/J


RE: upgraded from etch to lenny now have a suexec error - jemmrich - 04-15-2009 11:55 AM

Ahh i see, I do have those two in there... do I delete them or move them somewhere?

Quote:/etc/apache2/mods-enabled# ls -la
total 2
drwxr-xr-x 2 root root 1024 Apr 8 20:43 .
drwxr-xr-x 8 root root 1024 Apr 8 20:29 ..
lrwxrwxrwx 1 root root 30 Apr 8 20:29 actions.conf -> ../mods-available/actions.conf
lrwxrwxrwx 1 root root 30 Nov 23 19:04 actions.load -> ../mods-available/actions.load
lrwxrwxrwx 1 root root 28 Apr 8 20:29 alias.conf -> ../mods-available/alias.conf
lrwxrwxrwx 1 root root 28 May 2 2007 alias.load -> ../mods-available/alias.load
lrwxrwxrwx 1 root root 33 May 2 2007 auth_basic.load -> ../mods-available/auth_basic.load
lrwxrwxrwx 1 root root 33 May 2 2007 authn_file.load -> ../mods-available/authn_file.load
lrwxrwxrwx 1 root root 36 May 2 2007 authz_default.load -> ../mods-available/authz_default.load
lrwxrwxrwx 1 root root 38 May 2 2007 authz_groupfile.load -> ../mods-available/authz_groupfile.load
lrwxrwxrwx 1 root root 33 May 2 2007 authz_host.load -> ../mods-available/authz_host.load
lrwxrwxrwx 1 root root 33 May 2 2007 authz_user.load -> ../mods-available/authz_user.load
lrwxrwxrwx 1 root root 32 Apr 8 20:29 autoindex.conf -> ../mods-available/autoindex.conf
lrwxrwxrwx 1 root root 32 May 2 2007 autoindex.load -> ../mods-available/autoindex.load
lrwxrwxrwx 1 root root 28 Nov 23 18:40 cband.conf -> ../mods-available/cband.conf
lrwxrwxrwx 1 root root 28 Nov 23 18:40 cband.load -> ../mods-available/cband.load
lrwxrwxrwx 1 root root 26 Nov 23 19:40 cgi.load -> ../mods-available/cgi.load
lrwxrwxrwx 1 root root 30 May 18 2007 deflate.conf -> ../mods-available/deflate.conf
lrwxrwxrwx 1 root root 30 May 18 2007 deflate.load -> ../mods-available/deflate.load
lrwxrwxrwx 1 root root 26 May 2 2007 dir.conf -> ../mods-available/dir.conf
lrwxrwxrwx 1 root root 26 May 2 2007 dir.load -> ../mods-available/dir.load
lrwxrwxrwx 1 root root 26 May 2 2007 env.load -> ../mods-available/env.load
lrwxrwxrwx 1 root root 30 Apr 8 20:43 fastcgi.conf -> ../mods-available/fastcgi.conf
lrwxrwxrwx 1 root root 30 Apr 8 20:43 fastcgi.load -> ../mods-available/fastcgi.load
lrwxrwxrwx 1 root root 36 Nov 23 19:04 fastcgi_ispcp.conf -> ../mods-available/fastcgi_ispcp.conf
lrwxrwxrwx 1 root root 36 Nov 23 19:04 fastcgi_ispcp.load -> ../mods-available/fastcgi_ispcp.load
lrwxrwxrwx 1 root root 27 Apr 8 20:29 mime.conf -> ../mods-available/mime.conf
lrwxrwxrwx 1 root root 27 May 2 2007 mime.load -> ../mods-available/mime.load
lrwxrwxrwx 1 root root 34 Apr 8 20:29 negotiation.conf -> ../mods-available/negotiation.conf
lrwxrwxrwx 1 root root 34 May 2 2007 negotiation.load -> ../mods-available/negotiation.load
lrwxrwxrwx 1 root root 37 Aug 18 2006 perl.load -> /etc/apache2/mods-available/perl.load
lrwxrwxrwx 1 root root 27 Nov 23 19:40 php5.conf -> ../mods-available/php5.conf
lrwxrwxrwx 1 root root 27 Nov 23 19:40 php5.load -> ../mods-available/php5.load
lrwxrwxrwx 1 root root 30 Nov 23 19:04 rewrite.load -> ../mods-available/rewrite.load
lrwxrwxrwx 1 root root 31 Apr 8 20:29 setenvif.conf -> ../mods-available/setenvif.conf
lrwxrwxrwx 1 root root 31 May 2 2007 setenvif.load -> ../mods-available/setenvif.load
lrwxrwxrwx 1 root root 29 Apr 8 20:29 status.conf -> ../mods-available/status.conf
lrwxrwxrwx 1 root root 29 May 2 2007 status.load -> ../mods-available/status.load
lrwxrwxrwx 1 root root 29 Nov 23 19:04 suexec.load -> ../mods-available/suexec.load
lrwxrwxrwx 1 root root 40 Mar 25 2006 userdir.conf -> /etc/apache2/mods-available/userdir.conf
lrwxrwxrwx 1 root root 40 Mar 25 2006 userdir.load -> /etc/apache2/mods-available/userdir.load



RE: upgraded from etch to lenny now have a suexec error - BeNe - 04-15-2009 03:46 PM

Quote:Ahh i see, I do have those two in there... do I delete them or move them somewhere?
If you use Debian:

a2enmod <modulname> to enable a Module
a2dismod <modulname> to disable a Module

Greez BeNe


RE: upgraded from etch to lenny now have a suexec error - jemmrich - 04-16-2009 04:17 AM

Thanks BeNe!

(04-15-2009 03:46 PM)BeNe Wrote:  
Quote:Ahh i see, I do have those two in there... do I delete them or move them somewhere?
If you use Debian:

a2enmod <modulname> to enable a Module
a2dismod <modulname> to disable a Module

Greez BeNe