hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : please help.. it's urgent.
Reply

Forum Jump

please help.. it's urgent.

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 08-08-2002, 11:52 PM
jasonX jasonX is offline
WHT Addict
 
Join Date: Apr 2002
Posts: 127

please help.. it's urgent.


Apache won't start for some reason. I ran /scripts/easyapache, and still nothing. I haven't changed anything that I know of, possibly suexec. But I've tried starting it with suexec enabled and disabled. This is what shows up in error_log
-------------------------------------------------------------------------
[Thu Aug 8 21:50:24 2002] [warn] pid file /usr/local/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Aug 8 21:50:24 2002] [alert] (2)No such file or directory: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Thu Aug 8 21:50:24 2002] [alert] (2)No such file or directory: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Thu Aug 8 21:50:24 2002] [notice] Apache/1.3.26 (Unix) FrontPage/5.0.2.2510 mod_ssl/2.8.9 OpenSSL/0.9.6b configured -- resuming normal operations
[Thu Aug 8 21:50:24 2002] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Thu Aug 8 21:50:24 2002] [alert] Child 14562 returned a Fatal error...
Apache is exiting!
[Thu Aug 8 21:50:24 2002] [alert] (2)No such file or directory: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Thu Aug 8 21:50:24 2002] [alert] (2)No such file or directory: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Thu Aug 8 21:50:24 2002] [alert] (2)No such file or directory: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Thu Aug 8 21:50:29 2002] [warn] pid file /usr/local/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Aug 8 21:50:30 2002] [alert] (2)No such file or directory: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Thu Aug 8 21:50:30 2002] [alert] (2)No such file or directory: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Thu Aug 8 21:50:30 2002] [notice] Apache/1.3.26 (Unix) FrontPage/5.0.2.2510 mod_ssl/2.8.9 OpenSSL/0.9.6b configured -- resuming normal operations
[Thu Aug 8 21:50:30 2002] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Thu Aug 8 21:50:30 2002] [alert] Child 14585 returned a Fatal error...
Apache is exiting!
[Thu Aug 8 21:50:30 2002] [alert] (2)No such file or directory: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Thu Aug 8 21:50:30 2002] [alert] (2)No such file or directory: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Thu Aug 8 21:50:30 2002] [alert] (2)No such file or directory: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
--------------------------------------------------------------------------

Can anyone please help me get this working. I don't know how to fix it.. I've already ran apachectl, and all it says is SYNTAX OK

Thanks.



Sponsored Links
  #2  
Old 08-09-2002, 12:17 AM
MotleyFool MotleyFool is offline
Fool about Town
 
Join Date: Sep 2001
Location: Madras
Posts: 737
Hi Jason,

apachectl is only to test the syntax of your httpd.conf file

to try and see if any httpd processes are running type

ps auxwww | grep httpd

and see the result.

If you are trying to upgrade apache through CPanel, you can try

/scripts/updatenow

followed by

/scripts/upcp

If you still cant start httpd, just download the 1.3.26 tarball into /tmp and do a default install to keep the show going

hope it helps

Balaji

__________________
Offering Managed Servers - for an exclusive clientèle who value uptime, caring support and superior technology.

  #3  
Old 08-09-2002, 12:41 AM
jasonX jasonX is offline
WHT Addict
 
Join Date: Apr 2002
Posts: 127
ok.. thanks.. ill try updating those.. but whats a default 1.3.26 tarball? Apache? will that work, or cause problems with cpanel/whm?

Sponsored Links
  #4  
Old 08-09-2002, 12:48 AM
Techark Techark is offline
Web Hosting Master
 
Join Date: Apr 2002
Location: Australia or US depends
Posts: 5,752
Jason run httpd configtest

__________________
Techark Web Hosting
Cloud Servers and Managed Dedicated Servers with Live Proactive Monitoring
My Blog of Random Thoughts

  #5  
Old 08-09-2002, 12:53 AM
jasonX jasonX is offline
WHT Addict
 
Join Date: Apr 2002
Posts: 127
I already have, i said in first post.. Just show this



[~]# /etc/rc.d/init.d/httpd configtest
Syntax OK

  #6  
Old 08-09-2002, 12:59 AM
MotleyFool MotleyFool is offline
Fool about Town
 
Join Date: Sep 2001
Location: Madras
Posts: 737
Jason,

By 1.3.26 tarball I mean apache_1.3.26.tar.gz from

http://www.apache.org/dist/httpd/

If you download the tar ball into /tmp or some other working directory and

tar -xzvf apache_1.3.26.tar.gz

it will explode everything into a folder

apache_1.3.26

then

cd apache_1.3.26

make
make install clean

will install the default

It is better than no webserver at all and is a temporary fix

__________________
Offering Managed Servers - for an exclusive clientèle who value uptime, caring support and superior technology.

  #7  
Old 08-09-2002, 01:17 AM
mahinder mahinder is offline
Web Hosting Master
 
Join Date: Aug 2001
Location: Matrix
Posts: 2,469
[Thu Aug 8 21:50:24 2002] [alert] (2)No such file or directory: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Thu Aug 8 21:50:24 2002] [alert] (2)No such file or directory: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive

-------------------------

as you posted above i guess there is some user permission problem. Check weather all apache files and directories have proper user names and permissions.

Also you can download buildapache.sea from layer1.cpanel.net and install it manually with this command

sh buildapache.sea

then select advanced option and select the modules

this may fix the problem ..

__________________
CPHosting - Web Hosting Experts Since 1998.
United States | Europe | Singapore | Australia
Visit Us! www.cphosting.com

  #8  
Old 08-09-2002, 01:25 AM
jasonX jasonX is offline
WHT Addict
 
Join Date: Apr 2002
Posts: 127
yea, ive reinstalled buildapache like 3 times like that.. still no luck.. I don't know why any permissions on apache files would have been changed.. But ill try to i guess look at permissions somehow.. I wouldn't even know what apache files need what permissions or whatever though..

  #9  
Old 08-09-2002, 01:36 AM
MotleyFool MotleyFool is offline
Fool about Town
 
Join Date: Sep 2001
Location: Madras
Posts: 737
Jason

have you tried the updatenow followed by upcp?

__________________
Offering Managed Servers - for an exclusive clientèle who value uptime, caring support and superior technology.

  #10  
Old 08-09-2002, 01:41 AM
jasonX jasonX is offline
WHT Addict
 
Join Date: Apr 2002
Posts: 127
Yea, no luck

  #11  
Old 08-09-2002, 01:43 AM
jasonX jasonX is offline
WHT Addict
 
Join Date: Apr 2002
Posts: 127
I'm scared to redo apache with the base apache config.. I think it might screw up the server even more.. I e-mailed site5, the people i buy my cpanel license through. Hopefully they can login and work some magic. I wonder how long it will take considering the time.. I also e-mailed cpanel using there online form.. Maybe that will help to..

  #12  
Old 08-09-2002, 01:43 AM
The Prohacker The Prohacker is offline
iNET Interactive
 
Join Date: May 2001
Location: Dayton, Ohio
Posts: 4,897
The syntax of your config is right, but I think there is something set wrong, check all the user directives...

__________________
-Mat

  #13  
Old 08-09-2002, 01:49 AM
DuncanMcLord DuncanMcLord is offline
Junior Guru Wannabe
 
Join Date: Nov 2001
Posts: 47
Hi,

i recently had a similar problem on a server.
I commented the additional apache modules and finally found out, that 1 module (can't remember which, though) was interfering with 2 other modules.
...might be worth a try.

  #14  
Old 08-09-2002, 01:52 AM
jasonX jasonX is offline
WHT Addict
 
Join Date: Apr 2002
Posts: 127
Thanks Duncan, I'll give it a shot.. Prohacker, I dont mean to sound like an idiot here, but how would I go about checking user directives? Where are they and what would I be looking for?

Thanks

  #15  
Old 08-09-2002, 02:02 AM
The Prohacker The Prohacker is offline
iNET Interactive
 
Join Date: May 2001
Location: Dayton, Ohio
Posts: 4,897
Quote:
Originally posted by jasonX
Thanks Duncan, I'll give it a shot.. Prohacker, I dont mean to sound like an idiot here, but how would I go about checking user directives? Where are they and what would I be looking for?

Thanks
Not a stupid question...

In the httpd.conf, there are lines like User username

If you have suExec, then they are in every vhost directive...

If not, its only in one part...

If you need some extra help, you can pm me for instant messaging details and I'll try to help more.. i'll be up for a couple more hours if you need it...

Reply

Related posts from TheWhir.com
Title Type Date Posted
Why Acquiring Email Marketing Platforms is the Wrong Move for Hosts Blog 2014-09-09 11:37:26
Hackers Gain Access to Namecheap Accounts Using Login Data Stolen from Third-Party Sites Web Hosting News 2014-09-02 11:36:37
TextDrive ‘Lifetime’ Customer Accounts to End This Week Web Hosting News 2014-03-10 13:54:34
China Could Pose Risks for US Cloud Computing Users, Service Providers: Report Web Hosting News 2013-12-17 15:15:34


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:
WHT Membership
WHT Membership



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?