General :: Whenever Start Httpd Service 8 Apache Processes Get Triggered?
Apr 29, 2010
I m using apache http server for hosting a website.
Whenever i start httpd service 8 apache processes get triggered . Is it normal? Is apache is default application server like IIS in windows?
Quote:
top - 15:49:15 up 8 days, 22:53, 3 users, load average: 0.73, 0.77, 0.91
Tasks: 125 total, 1 running, 124 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.8% us, 8.0% sy, 0.0% ni, 91.2% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 2064720k total, 2017072k used, 47648k free, 204452k buffers
[Code]....
View 3 Replies
ADVERTISEMENT
Dec 25, 2009
will the command service httpd restart the apache service if i enable httpsd service in graphical mode
View 12 Replies
View Related
Sep 19, 2010
I have installed fedora 13 in my system. httpd server is also installed. when I tried to start the service of httpd, following error message displayed: Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80
View 1 Replies
View Related
Jun 7, 2011
I configured httpd.conf. With ip, port 80 and specified the document path correctly. But service httpd restart shows httpd stop fail, httpd start fail.
View 1 Replies
View Related
Jul 22, 2011
I have centos 5.3 installed, while restarting httpd service I get error starting http:/bin/bash line 1 9941 segmentation fault /usr/sbin/httpd. If I stop httpd service and start it will start but if make service httpd restart it give above error.
View 1 Replies
View Related
Dec 5, 2010
I have written this script to monitor Apache2:
Code:
#!/bin/bash
#count lines that show apache2 but not the fgrep itself
let i=`ps aux | fgrep apache2 | fgrep -v grep | wc -l`
if [ "$i" -gt 0 ]
then
#log something
[Code]...
It has all been working fine until recently when Apache is becoming unresponsive. I manually ran ps to check and there were 3 processes. However when I ran apache2ctl graceful I got the message 'httpd not running, trying to start' Is there a better way to check if a daemon is up?
View 4 Replies
View Related
Aug 25, 2010
I configure my apache and can run http://localhost. There "I see it works!" but if I try to stop apache I get message that httpd is not started. I run
apachectl start - ok
but when I run apachectl stop it says "httpd (no pid file) not running"
I need to stop apache, because this is my dev machine and I want to start apache only when I make changes to my site. I am with slackware13.
View 4 Replies
View Related
May 9, 2011
I am using fedora9 server I installed & configured httpd ,mysqld & heartbeat service its well and running but every 10 to 15 days httpd service is stoped when I tried to start the service
I am getting this below error:
#sudo /sbin/service httpd start
Starting httpd: [Mon May 09 09:03:07 2011] [crit] (17)File exists: Failed to create shared memory segment for backend 'XXGLOBAL'
I checked httpd pid
#ps -ef |grep httpd
526 7553 7194 0 09:06 pts/0 00:00:00 grep httpd
I googled and run below the commands:
#ipcs -s | grep apache
I didn't get any out put:
#ipcs -s | grep apacheipcs -s | grep apache | perl -e 'while () { @a=split(/s+/); print `ipcrm sem $a[1]`}'
deprecated usage: ipcrm {shm | msg | sem} id ...
usage: ipcrm [ [-q msqid] [-m shmid] [-s semid]
[-Q msgkey] [-M shmkey] [-S semkey] ... ]
deprecated usage: ipcrm {shm | msg | sem} id ...
usage: ipcrm [ [-q msqid] [-m shmid] [-s semid] .....
I got the out put below like I wait 5 to 10 min but the proses will going on I killed the process I tried to start the service but I got same error. When I restarted my O/S the problem is rectified but every 10 to 15 days same problem I am getting.
I checked http error_log file:
# tail -f /var/log/httpd/error_log
[Mon May 09 09:46:01 2011] [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock
Configuration Failed
[Mon May 09 09:48:01 2011] [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock
Configuration Failed
[Mon May 09 09:50:01 2011] [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock
Configuration Failed
[Mon May 09 09:52:01 2011] [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock
Configuration Failed
[Mon May 09 09:54:01 2011] [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock
Configuration Failed
View 6 Replies
View Related
Nov 17, 2010
I have one problem regarding my web server. When I am try to restart my httpd service it shows...
[root@localhost ~]# service httpd restart
Stopping httpd: [FAILED]
Starting httpd: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs [FAILED]
[root@localhost ~]#
View 2 Replies
View Related
Oct 11, 2010
whats the difference between restarting/stopping apache using 'service httpd restart/stop' and apachectl restart/stop. I know that using 'service httpd restart' is actually a script in /etc/init.d/httpd but what about apachectl?
View 1 Replies
View Related
Jun 29, 2011
I am running Debian Squeeze with icewm as desktop environment. I am trying to start feh automatically when the desktop finishes loading. I have tried crontab -e with @reboot /usr/bin/feh /home/user/photos/ & I think that the best way to do this would be to monitor for the x-session-manag process. The reason I think this would be a good solution is that I killed x-session-manag and it killed my x-session and straight to command line interface.
View 2 Replies
View Related
Sep 3, 2009
I have just installed Fedora 11 on a "fresh machine" and everything works ok, except for Apache httpd
the message seen in the error_log is the following: Name or service not known: mod_unique_id: unable to find IPv4 address of "myserver"
View 14 Replies
View Related
Nov 25, 2009
When creating sub-domains, and creating log files for each domain, do I need to ensure that apache owns the log files, so that it can write to it? As I notice they are owned by root, obviously whom I used to make the file...
View 2 Replies
View Related
Oct 11, 2009
I have been reading [URL] to setup the same. But I am facing an issue here. Whenever I am editing the file:
Code:
Alias /webdav /var/www/webdav
Dav on
in wedav.conf under /etc/httpd/conf.d folder.
It says:
Code:
[root@chat conf.d]# service httpd restart
Stopping httpd: [FAILED]
[code]...
View 2 Replies
View Related
Feb 18, 2011
I have one previously compiled apache server from source. I would like to know is there any option to get previous configuration file from /etc/httpd/.
View 9 Replies
View Related
Jul 16, 2011
I have a dedicated server which I run on him only one website which has about 11k-15k unique visitors per day.
The httpd processes stuck it almost everyday and I can't understand why... I fix it via "killall -9 httpd" and then "service httpd start". code...
View 2 Replies
View Related
Aug 4, 2010
what is the role of /etc/sysconfig/httpd configuration file in apache server .
View 2 Replies
View Related
Sep 22, 2010
I have a big database, which should "build up" before receiving requests, so i need httpd to start about 3 minutes after mysql start, so it prevents the visitors to start querys to the database, and making server load high. How can i do this.
View 10 Replies
View Related
Feb 26, 2011
Im having problems getting the httpd service to start. Instead of clearing my log files in var/log i accidently did a force remove command on all the log files within the log directory. I'm not unable to start my httpd service and of course unable to check my log files to see whats what.
View 9 Replies
View Related
Oct 27, 2010
I have recently ported from Windows to Linux (xubuntu) I am a developer, i installed everything i need, LAMP. Now in Windows i used to turn off all unnecessary Services, i don't need the Apache or MySQL service running all the time. I used: net start mysql
Whenever i needed it. How do i do the same in Linux:
1. Disabling not-needed daemons from auto-starting?
2. Starting them only when i need them?
View 2 Replies
View Related
Mar 26, 2010
I have opened up the Service Configuration window that shows all the services and their status. My httpd says that it is enabled, but also that "this service is dead" and there is a orangish triangle. I can run phpMyAdmin on my server, but I can't run it from any other PC on my network.
View 13 Replies
View Related
Jan 16, 2010
I neded to make some changes to the httpd.conf file. Afterwards I tried restarting,but it won't restart.It's saying port 80 is already in use. after checking via lsof -i :80 I get this result:
[Code]...
View 1 Replies
View Related
May 2, 2011
My mail server is getting problem since 3 days. It automatically get hang and httpd service get dead any time. How I can check what is effecting server, load, network traffic etc...
View 13 Replies
View Related
Sep 21, 2010
I have task to do configure a two httpd service in a same linux machine using iptables.
For example: Run primary httpd instance on 80 and 443 port if primary instance is down switch to second instance running on 8080 and 4443 this can be achieved using iptables.
View 5 Replies
View Related
Mar 11, 2009
Well, i can not install httpd service, when i execute yum -y install httpd i get this message
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5&arch=i386&repo=os error was
[Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
View 4 Replies
View Related
Mar 12, 2010
I have reviewed the HowTo wiki on Setting up an SSL secured Webserver with CentOS [URL], and have successfully set up my server.
We are using the conditional <IfDefine SSL> tags around the <VirtualHost _default_:443> section. I wanted to do this because we are deploying a standard <VirtualHost> section that is appended to the httpd.conf file for several Apache versions on several OS's, and this makes maintenance much easier. Sometimes the server will be configured with SSL support, and sometimes not, depending on certain functions of our application that the end user will require and determine. Our application then determines which mode the server should be run in depending on these functions, what OS is being run, what version of Apache is being run, etc, and starts the httpd server in the appropriate mode. For CentOS 5 with Apache 2.2, if the application indicates SSL is required (and we expect the server to be configured appropriately), then we do the following:
/usr/sbin/apachectl -D SSL -k start
View 1 Replies
View Related
Jul 5, 2009
Has anyone noticed that when using NameVirtualHost's in apache that the service httpd restart command is broken?Also it seems system-config-bind has glitches too.
View 10 Replies
View Related
Jun 1, 2011
F15 x86_64
I can start this from the command line and it shows no errors.
httpd -t --- syntax ok.
no entry in the httpd error logs.
chkconfig reports it as on.
service --status-all shows this --
httpd.service - LSB: start and stop Apache HTTP Server
Loaded: loaded (/etc/rc.d/init.d/httpd)
Active: failed since Wed, 01 Jun 2011 07:06:18 +0100; 58min ago
Process: 1152 ExecStart=/etc/rc.d/init.d/httpd start (code=exited, status=1/FAILURE)
CGroup: name=systemd:/system/httpd.service
After a reinstall I finally caught this in /var/log/messages
systemd[1]: Unit httpd.service entered failed state
The httpd.service file does not exist on the system. Where can I get a copy?
View 14 Replies
View Related
Feb 9, 2010
For the first time in installed and configured centos-ds from this HowTos and from the manuals.It is running nicely but disabled my httpd.Is it not possible to run directory service and httpd in the same machine
View 3 Replies
View Related
Apr 22, 2011
I installed centos 5.5 and httpd service was working well for the last 2 weeks till yesterday. I restarted server and noted my hosting service were not working. I have tried service httpd restart on the terminal and it dispalys [FAILED]. I updated my machine and and have tried restarting it but it doesn't work. I am new to centos and I dont know how to solve this.
View 2 Replies
View Related