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...
I am using CentOS 5.6 with Apache 2.2.17. The Apache was compiled from source using RPM build to comply with PCI requirements. Also Plesk 9.3 is used as a control panel, but other than the config files the Apache is pretty standard. When the httpd is started, there are no errors reported in /var/log/messages or in the error_log, and the httpd starts, shows up in ps and the pid file exists in /var/run/httpd.pid.
However when you check the status 'service httpd status' you get 'httpd dead but subsys locked'. You can add websites normally, and the proper config files are generated so I am pretty sure this isn't a control panel issue as I have other servers running the same control panel and Apache 2.2.16 compiled and installed the same way as the 2.2.17 and there are no problems.
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.
I've got a box with a fresh installation of CentOS 5.6, but had several configs copied from an old 4.8 box that I've now got to finish. Most everything seems fine, but I can't get apache running. It reports that it starts up fine, but immediately stops and reports "httpd dead but subsys locked"Most of the advice I've found while searching suggests to just delete the http.pid file and restart, which doesn't help in my case. I did find a few problems where SELinux was restricting httpd from creating or touching certain files (I found reports in /var/log/messages) but I've worked through that.
So the big question here is: /var/log/messages and /var/log/httpd/error_log are now empty, and don't show any more errors when I restart httpd. Does anyone know where else I can look for reporting/logging on what's happening to httpd to cause it to die?
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
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:
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
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.
Since I started using Fedora 10 I can't login as root. Even though the system recognizes the root password when it requires it for certain administrative tasks it refuses to let me login as root.
When I try to edit httpd.conf I get the message "could not save file..." it doesn't even prompt me for the root password. My httpd service is dead and I can't resurrect it, what should I do?
I have installed fedora 13 recently and installed IDPS(snort) on it. But now I am not able to start service httpd. When I write service httpd start, it says OK, but I know it is a false message bcoz when I write service httpd stop it gives me Failed.
On writing service httpd status it gives a message: httpd dead but subsys locked I have tried "rm -f /var/lock/subsys/httpd" - no solution yum update hasn't solved my problem as well.
I have to show my project running at my college. And I can not understand properly the technical instructions as I am new to linux.
I have centos 5.5 64bit installed. When I start the httpd service I get the above message. The message is bogus because the server is running and web pages work. Is there a fix out there to resolve this?
I have installed httpd on Fedora 13 with yum, but it is not working when I type in a browser : localhost
Code: [comp42 html]$ sudo /etc/init.d/httpd start Starting httpd: [ OK ] [comp42 html]$ sudo /etc/init.d/httpd restart Stopping httpd: [FAILED] Starting httpd: [ OK ] [comp42 html]$ sudo /etc/init.d/httpd stop Stopping httpd: [FAILED] [comp42 html]$ sudo /etc/init.d/httpd status httpd is stopped [comp42 html]$ sudo /etc/init.d/httpd start Starting httpd: [ OK ] [comp42 html]$ sudo /etc/init.d/httpd status httpd dead but subsys locked [comp42 html]$ sudo /etc/init.d/httpd help [comp42 html]$ sudo /etc/init.d/httpd fullstatus Connection refused [comp42 html]$
Tried to reinstall several times, but nothing works. My firewall is disabled, does not work either while enabled. My httpd conf is the default one. What is going wrong?
[root@itsupport ~]# service httpd restart Stopping httpd: [FAILED] Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80 (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] Iam facing the above error when i restart the service httpd
When I look the Services panel, nxserver is listed but shows as "Service is Dead". Does this mean anything specifically? Could it be related to firewall or security issues? Right above it a related program to nxserver, nxsensor, is listed and it's shown as operational.
Same thing here in my Services panel. Just getting into using NX...the display seems near Win RDP quality over the home lan. I'm now trying to get the sound to work. What is this 'dummy output' in my Sound preferences and where did my sound cards go? I have one onboard sc and a PCI card, neither recognized via the NX client session. Looking to get ESD going which might be the issue.
Is there a way to limit the time an instance of a service can run? For example, I want to limit all telnet sessions to 30 mins. Users will be automatically logged out after 30 mins.
i just installed Fedora 12, clean without anything change in it. I opened services dialog, and the openvpn service have status:dead, however it shows that it is enabled.when i try to run it as:/sbin/service openvpn start.It write OK. However if check it:/sbin/service openvpn status it write that service not running. What is a point of a problem? I have opened openvpn in FireWall,however without success, may be some additionsl services for openvpn are not running?
I have cloned linux installation from USB drive to another. The system is Fedora core and it is used as a software for encoding live stream (it's using PCI encoding cards). The system works well on original hardware configuration, however when I use this cloned flash drive on another hardware configuration one service will not start. It is a "calld" service and it is a service which has a protection which limits its execution to original hardware platform only (mac authentication probably). I need to get this service up, so when I type command "service calld starts/tatus" or "etc/init.d/calld start" I get response "service is dead and subsystems are locked". I tried matching mac address to original hardware configuration but still the same. This is a config file of service /etc/init.d/calld
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.
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
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
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:
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.
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?
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.
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.
Alright, so I upgraded my old fedora 10 server to Fedora 11 with a netinstall CD, but now service httpd restart is broken. I already had to delete the old config file and reinstall apache, but now I can't restart it. I can kill it and then start it manually, but it never stops the running instance and fails to bind the port. I know it's because /var/run/httpd/htpd.pid is in the wrong place, which would be /var/run/httpd.pid, but do I have to make a symlink every time I want to restart it? I edited all the config files to point to the right place, but the system does not honor them. What do I do?