Sponsored Content
Full Discussion: httpd and mysq after rsync
Top Forums UNIX for Advanced & Expert Users httpd and mysq after rsync Post 302208051 by kumarrana on Sunday 22nd of June 2008 11:38:33 PM
Old 06-23-2008
Tools 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 05:01 AM..
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

httpd error

I installed FreeBSD6.x and apache2.x using gzip the tar files.i then gave ./configure command.It is know that by default apache2 will be created in /usr/local/apache2 but when i give ./configure command apache2 is not created and iam not able to execute apachectl start it says command not... (2 Replies)
Discussion started by: kumarangopi
2 Replies

2. Web Development

httpd problem or something else

Hi, I have a bit problem with my server.. The httpd server seems to be running and all but the websites which are hosted on it are not opening .. any hints what else it might be, here is what I get when /etc/init.d/httpd status Thank you for your replies (6 Replies)
Discussion started by: c0mrade
6 Replies

3. UNIX for Dummies Questions & Answers

php/mysq programmer moving to linux?

Hi, I am a php/mysq programmer & I'd like to completely get rid of windows and switch to linux. I am mainly using these: - zend dev environment/php editor - browsers: ie, ff, safari - a web localhost - apache, php, mysql - sometimes adobe photoshop - screenshots, basic image... (1 Reply)
Discussion started by: sbogde
1 Replies

4. Red Hat

HTTPD and telnet

Hi there I have installed httpd and telnet-server on RHEL5 standalone machine. Normally when i install these services they work once i edit /etc/xinetd.d/telnet disable = no start httpd and xinetd services .. #chkconfig --level 345 httpd on #chkconfig --level 345 xinetd on ... (4 Replies)
Discussion started by: dplinux
4 Replies

5. UNIX for Advanced & Expert Users

Building Apache httpd 2.2.15

Hi, What options should I use with ./configure to include mod_dav into the build? I use --enable-dav and I didn't see mod_dav.so anywhere in the build directory. I need to load mod_dav.so as a module during httpd startup. Thanks. (1 Reply)
Discussion started by: Parker_
1 Replies

6. UNIX for Dummies Questions & Answers

Respawn httpd using init

How to auto restart httpd(apache) with inittab respawn? (4 Replies)
Discussion started by: proactiveaditya
4 Replies

7. Web Development

Httpd not starting

I compiled apache 2.2.15 from source and installed it. When I try to start it, its not coming up. # ./httpd -k start # echo $? 1 # ps -ef | grep httpd | grep -v grep # # ./httpd -v Server version: Apache/2.2.15 (Unix) Server built: Dec 13 2013 04:31:41When I run it in gdb I am... (4 Replies)
Discussion started by: chacko193
4 Replies

8. Shell Programming and Scripting

Rsync Error: rsync: link_stat failed: No such file or directory (2)

I wish to copy all the files & folder under /web/Transfer_Files/data/ on mymac1 (Linux) to remote server mybank.intra.com (Solaris 10) /tmp/ location I am using Ansible tool synchronize module which triggers the unix rsync command as below:rsync --delay-updates -F --compress --archive --rsh=ssh... (2 Replies)
Discussion started by: mohtashims
2 Replies
SAVE_BINARY_LOGS(1p)					User Contributed Perl Documentation				      SAVE_BINARY_LOGS(1p)

NAME
save_binary_logs - Concatenating binary or relay logs from the specified file/position to the end of the log. This command is automatically executed from MHA Manager on failover, and manual execution should not be needed normally. SYNOPSIS
# Test $ save_binary_logs --command=test --binlog_dir=/var/lib/mysql --start_file=mysqld-bin.000002 # Saving binary logs $ save_binary_logs --command=save --binlog_dir=/var/lib/mysql --start_file=mysqld-bin.000002 --start_pos=312 --output_file=/var/tmp/aggregate.binlog # Saving relay logs $ save_binary_logs --command=save --start_file=mysqld-relay-bin.000002 --start_pos=312 --relay_log_info=/var/lib/mysql/relay-log.info --output_file=/var/tmp/aggregate.binlog save_binary_logs concatenates binary or relay logs from the specified log file/position to the end of the log. This tool is intended to be invoked from the master failover script(MHA Manager), and manual execution is normally not needed. DESCRIPTION
Suppose that master is crashed and the latest slave server has received binary logs up to mysqld-bin.000002:312. It is likely that master has more binary logs. If it is not sent to the slave, slaves will lose all binlogs from mysqld-bin.000002:312. The purpose of the save_binary_logs is to save binary logs that are not replicated to slaves. If master is reachable through SSH and binary logs are readable, saving binary logs is possible. Here is an example: $ save_binary_logs --command=save --start_file=mysqld-bin.000002 --start_pos=312 --output_file=/var/tmp/aggregate.binlog Then all binary logs starting from mysqld-bin.000002:312 are concatenated and stored into /var/tmp/aggregate.binlog. If you have binary logs up to mysqld-bin.000004, the following mysqlbinlog outputs are written. mysqld-bin.000002:Format Description Event(FDE), plus from 312 to the tail mysqld-bin.000003:from 0 to the tail, excluding FDE mysqld-bin.000004:from 0 to the tail, excluding FDE perl v5.14.2 2012-01-08 SAVE_BINARY_LOGS(1p)
All times are GMT -4. The time now is 03:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy