[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Apache won't start..



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 20 Jan 2003 20:21:05 -0500 (EST), Keith Mastin wrote:

> >I have a strange problem that just seemed to happen out of nowhere..
> >I have attempted to delete the *.pid file and also deleted the httpd
> >from the subsys and then tried to restart apache.  Nothing seems to
> >help.  Below is what the status sais and also what the error log from
> >apache sais..  Does anyone have any further suggestions/thoughts?
> >
> >RedHat v7.3
> >Apache version 1.3.27 
> >mysql  Ver 11.18 Distrib 3.23.54
> >php 4.1.2
> >
> >[root localhost /]# /etc/rc.d/init.d/httpd restart
> >Stopping httpd:                                            [FAILED]
> >Starting httpd:                                            [  OK  ]
> >[root localhost /]# /etc/rc.d/init.d/httpd status
> >httpd dead but pid file exists
> >
> >Error log..
> >[Sat Jan 18 13:20:58 2003] [alert] (2)No such file or directory:
> >getpwuid: couldn't determine user name from uid 4294967295, you
> >probably need to modify the User directive
> 
> There's a line in the httpd.conf file that specs the user. Make it
> like so:
> 	user apache
> 
> That's a long uid... run a whack of checks to see if your system has
> been compromised.

FWIW, 4294967295 = 2^32-1 = -1 and hence could be the return value
of some function which failed. Whatever may be necessary to
reproduce above failure, I didn't try. However, since clean
re-installation of the Apache package helped, it looks like it must
be related to either a bad config file or installed files being
damaged. Next time it happens, be sure to verify integrity of your
apache package (rpm -V apache) before re-installing it.

- -- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+LRpp0iMVcrivHFQRAs/tAJ9trGBYgGMZMxZHvbbxa+svP23K+ACcCt8S
RyPHPr0PZ2qdUw82XlQNkN0=
=9Gx8
-----END PGP SIGNATURE-----





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]