Current time: 05-01-2024, 05:10 PM Hello There, Guest! (LoginRegister)


Post Reply 
resolved: upgraded from etch to lenny now have a suexec error
Author Message
jemmrich Offline
Junior Member
*

Posts: 24
Joined: Nov 2008
Reputation: 0
Post: #1
resolved: upgraded from etch to lenny now have a suexec error
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
(This post was last modified: 04-16-2009 10:57 AM by jemmrich.)
04-10-2009 03:36 AM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: upgraded from etch to lenny now have a suexec error
is this package ok?
http://packages.debian.org/lenny/libapache2-mod-fastcgi

/J
04-10-2009 08:04 AM
Visit this user's website Find all posts by this user Quote this message in a reply
jemmrich Offline
Junior Member
*

Posts: 24
Joined: Nov 2008
Reputation: 0
Post: #3
RE: upgraded from etch to lenny now have a suexec error
(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
04-10-2009 08:36 AM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: upgraded from etch to lenny now have a suexec error
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
04-11-2009 02:23 AM
Visit this user's website Find all posts by this user Quote this message in a reply
jemmrich Offline
Junior Member
*

Posts: 24
Joined: Nov 2008
Reputation: 0
Post: #5
RE: upgraded from etch to lenny now have a suexec error
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
04-15-2009 11:55 AM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #6
RE: upgraded from etch to lenny now have a suexec error
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
04-15-2009 03:46 PM
Visit this user's website Find all posts by this user Quote this message in a reply
jemmrich Offline
Junior Member
*

Posts: 24
Joined: Nov 2008
Reputation: 0
Post: #7
RE: upgraded from etch to lenny now have a suexec error
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
04-16-2009 04:17 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)