06-23-2008
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
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
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
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
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
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
How to auto restart httpd(apache) with inittab respawn? (4 Replies)
Discussion started by: proactiveaditya
4 Replies
7. Web Development
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
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
LEARN ABOUT DEBIAN
git-instaweb
GIT-INSTAWEB(1) Git Manual GIT-INSTAWEB(1)
NAME
git-instaweb - Instantly browse your working repository in gitweb
SYNOPSIS
git instaweb [--local] [--httpd=<httpd>] [--port=<port>]
[--browser=<browser>]
git instaweb [--start] [--stop] [--restart]
DESCRIPTION
A simple script to set up gitweb and a web server for browsing the local repository.
OPTIONS
-l, --local
Only bind the web server to the local IP (127.0.0.1).
-d, --httpd
The HTTP daemon command-line that will be executed. Command-line options may be specified here, and the configuration file will be
added at the end of the command-line. Currently apache2, lighttpd, mongoose, plackup and webrick are supported. (Default: lighttpd)
-m, --module-path
The module path (only needed if httpd is Apache). (Default: /usr/lib/apache2/modules)
-p, --port
The port number to bind the httpd to. (Default: 1234)
-b, --browser
The web browser that should be used to view the gitweb page. This will be passed to the git web--browse helper script along with the
URL of the gitweb instance. See git-web--browse(1) for more information about this. If the script fails, the URL will be printed to
stdout.
start, --start
Start the httpd instance and exit. Regenerate configuration files as necessary for spawning a new instance.
stop, --stop
Stop the httpd instance and exit. This does not generate any of the configuration files for spawning a new instance, nor does it close
the browser.
restart, --restart
Restart the httpd instance and exit. Regenerate configuration files as necessary for spawning a new instance.
CONFIGURATION
You may specify configuration in your .git/config
[instaweb]
local = true
httpd = apache2 -f
port = 4321
browser = konqueror
modulepath = /usr/lib/apache2/modules
If the configuration variable instaweb.browser is not set, web.browser will be used instead if it is defined. See git-web--browse(1) for
more information about this.
SEE ALSO
gitweb(1)
GIT
Part of the git(1) suite
Git 1.7.10.4 11/24/2012 GIT-INSTAWEB(1)