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)
I fixed mysql issue myself. I still have the same problem on httpd.
Isn't the error message from the httpd server the problem?
apachectl: ...............httpd: bad user name apache
Double check if there is a user called "apache" in your /etc/passwd file.
Nop I can't find any user name "apache" on passwd. Any other idea?
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.
/sbin/service httpd graceful" it gives "apachectl: ...............httpd: bad user name apache
Thanks a lot, You made my lifer beautiful. I worked.