The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Error when compile httpd 2.2.8 on AIX 5.2 aldowsary AIX 7 02-13-2008 06:21 PM
S-039: httpd Security Update iBot Security Advisories (RSS) 0 01-23-2008 02:50 PM
S-118: Apache httpd Vulnerabilities iBot Security Advisories (RSS) 0 01-15-2008 08:10 PM
httpd error kumarangopi UNIX for Dummies Questions & Answers 2 11-20-2006 07:58 AM
/var/log/httpd/access_log eddie Security 3 10-02-2001 12:52 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-22-2008
kumarrana kumarrana is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 28
Cool httpd and mysql after rsync

I have synced two linux machines; /home, /var/lib/mysql, and /var/www. As soon as I synced /etc/passwd and /etc/shadow I lost httpd and mysqld service. Anybody has any idea what caused httpd and mysqld down?

When I try "/sbin/service httpd fullstatus" it gives "Elinks: Connection refused".

When I try "/sbin/service httpd graceful" it gives "apachectl: ...............httpd: bad user name apache"

I even un-installed and re-installed apache and mysql but that did not fix the problem. (I am using Fedora 6)

Last edited by Yogesh Sawant; 06-23-2008 at 04:01 AM..
  #2 (permalink)  
Old 06-23-2008
kumarrana kumarrana is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 28
I fixed mysql issue myself. I still have the same problem on httpd.
  #3 (permalink)  
Old 06-23-2008
dejavu88 dejavu88 is offline
Registered User
  
 

Join Date: May 2008
Posts: 18
Isn't the error message from the httpd server the problem?

Code:
apachectl: ...............httpd: bad user name apache
Double check if there is a user called "apache" in your /etc/passwd file.
  #4 (permalink)  
Old 06-23-2008
kumarrana kumarrana is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 28
Nop I can't find any user name "apache" on passwd. Any other idea?
  #5 (permalink)  
Old 06-25-2008
dejavu88 dejavu88 is offline
Registered User
  
 

Join Date: May 2008
Posts: 18
well.. that's the problem. One thing you can do it re-adding the apache user manually. I'm not sure if this fixes your sync problem, but it should fix the error you mentioned.

Code:
/sbin/service httpd graceful" it gives "apachectl: ...............httpd: bad user name apache
  #6 (permalink)  
Old 06-26-2008
kumarrana kumarrana is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 28
Thanks a lot, You made my lifer beautiful. I worked.
Closed Thread

Bookmarks

Tags
linux, solaris

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:41 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0