CentOS 5 Server :: Pid File Exists Ang Logged Caught SIGTERM, Shutting Down?

Apr 11, 2011

status is httpd dead but pid file exists ang logged caught SIGTERM, shutting down.

View 1 Replies


Server :: Apache Error Log - Caught SIGTERM Shutting Down

Apr 19, 2011

I have this error log in apache it doesn't seems to affect the system but in 4 o 5 days. I have to restart the server cause its work really slow almost impossible to navigate the web pages hosted on it. This is the last 50 lines apache log

[Sun Apr 17 04:02:28 2011] [notice] Digest: done
[Sun Apr 17 04:02:28 2011] [notice] Apache/2.2.17 (Unix) DAV/2 PHP/5.2.16 configured -- resuming normal operations
[Sun Apr 17 04:02:28 2011] [notice] Graceful restart requested, doing restart
[Sun Apr 17 04:02:28 2011] [notice] Digest: generating secret for digest authentication ...
[Sun Apr 17 04:02:28 2011] [notice] Digest: done
[Sun Apr 17 04:02:28 2011] [notice] Apache/2.2.17 (Unix) DAV/2 PHP/5.2.16 configured -- resuming normal operations .....

I have a dedicated Linux 2.6.18-238.9.1.el5 on i686 CentOS Linux 5.6
Apache version 2.2.17
PHP 5.2.16 (cli) (built: Dec 17 2010 14:09:03)

View 2 Replies View Related

CentOS 5 Server :: Need To Restart Apache If File Doesn't Exists

Jun 6, 2009

I'm running CentOS 5.3 64bit and from the get go I've had problems with the Apache server.More specifically, on what seems to be a random occurance, the apache server stops to respond.The process is still running, but nothing happens with it, and it is not responding.The /var/logs/httpd/error_log is blank for the occurance and only shows an entry after I give it a restart.So I'm a bit confused about what is going on.With that said, I need to make sure the httpd is working one way or another.I don't want to force a restart service every 10 minutes as this seems a bit too much.However, I do want to have the following:

run a crond every minute to do:If it fails, then do service httpd restart (and log the failure and restart to a file and email me a message).Any pointers on how to do that?It ain't the pretty solution, but it will save me from a very angry user until I'll figure what is the real cause for this failure.

View 5 Replies View Related

CentOS 5 :: Error Inserting /lib/raid456.ko: -1 File Exists

May 22, 2009

I've upgraded my raid array, and to make it boot I had to regenerate the initrd image (the root was on the raid drive)using

mkinitrd <img file> <kernel version>

after that at boot i always receive this error:

error inserting /lib/raid456.ko: -1 file exists

View 1 Replies View Related

CentOS 5 :: VNC Server - Works When Logged In Only

Sep 6, 2010

Been using CentOS for a couple of weeks and have a few quirks I need help with.
This is a fresh install of CentOS 5.5. I'd love for VNC Server to start up as soon as the computer reboots. It seems my VNC Server only works when I log in using the GUI at the computer itself. After a reboot I can remotely SSH into it successfully, but cannot VNC to it. I then have to physically get to the computer and log into the GUI, and wa-la I can VNC to it. I have not edited any conf files - seeing as my last attempt at getting this working got me nowhere. I have only enabled Remote Desktop through the GUI.

View 8 Replies View Related

Server :: Service HTTPD Status Dead But PID File Exists

Apr 14, 2011

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.

View 1 Replies View Related

CentOS 5 :: Burned Netinstall CD Caught In Endless Loop

Jan 5, 2010

I have burned the centos 5.4 i386 netinstall CD. It boots fine, but when I specify what mirror I want to use to install from, it gets caught in an endless loop. i have tried multiple mirrors and even tried both HTTP and FTP.
When I CTRL+F3 this is what I see:
"INFO: transferring [URL] to a fd"
ERROR: cannot determine address family of dist1.800hosting.com"
And then it just repeats over and over. I have looked at several mirros and I don't see that updates.img present at any of them.

View 3 Replies View Related

OpenSUSE Hardware :: 11.1 Nvidia Quadro FX-5000 (190.53) - Fatal Server Error: Caught Signal 11. Server Aborting

Mar 3, 2010

I am having a strange problem with the Opensuse 11.2 Xorg server. Graphics hardware is Nvidia Quadro FX-5000, driver is ver 190.53. 90% of the time, I am getting a seg violation from the Xserver on trying to login via kdm:


...is the error that is present in the "kdm.log" file. So far, it doesn't seem to be user dependent (happens either as root or joe random user,) Again, so far, it only seems to happen with "driver nvidia" enabled in the config file, not with "driver nv" The failure occurs shortly after hitting return on the login screen. After it fails, it starts up a new Xserver, and presents a new login screen. Repeated attempts seem to *eventually* succeed, but 90% of the time, it fails I strongly suspect the Nvidia driver, but I have not been able to find anything documenting any similar problems.

View 1 Replies View Related

CentOS 5 :: Remove A User From The System Using The Domain Userdel Guest Error "mailbox File Already Exists"

Jan 6, 2010

when a remove a user from the system using the domain userdel guest the user gets removed but the /home/guest doesn't get removed so i remove it by command rm -rf /home/guest then i recreate the user by giving in the command useradd guest now it gives the error mailbox file already exists what does it mean when it says so though this command creates the user.

View 3 Replies View Related

Server :: When Executed Last Command Its Showing System Ip Logged In Time And Logged Out Time The Output?

Feb 27, 2011

logging in a server through putty in the same network when i executed last command its showing system ip logged in time and logged out time the output as followsthis is my system
oot pts1 xx.xx.xx day month date time in time out timeand similarly am geeting other than this likeroot :0day month date time still logged in this is from more than 3 days its logged in

View 2 Replies View Related

Server :: File "named.stats" Exists In Bind9 Under Solaris 5.8?

Sep 17, 2010

I want to know if the file "named.stats" exists in bind9 under solaris 5.8?

View 1 Replies View Related

CentOS 5 :: Postfix Keeps Shutting Down?

Jul 13, 2010

I installed postfix and configured it but for some reason it keeps shutting down right after startup. Here is what happens,

[root@server /]# /etc/init.d/postfix restart
Shutting down postfix: [FAILED]
Starting postfix: [ OK ]


View 8 Replies View Related

CentOS 5 :: /dev/sda No Longer Exists After Reboot?

Aug 6, 2009

After rebooting my centos server I no longer have a /dev/sda entry, nor any /dev/sd* entries. What could have gone wrong?

View 1 Replies View Related

CentOS 5 :: Shared Library Exists But No Program Can See It?

Jan 12, 2010

I am trying to add some functions to a Postgresql database. The functions use a shared library which they think is: /usr/lib/pgsql/postgis-1.4.so They say: "ERROR: could not load library "/usr/lib/pgsql/postgis-1.4.so": libgeos_c.so.1: cannot open shared object file: No such file or directory"

I cd to /usr/lib/pgsql/ and do an ls. postgis-1.4.so is there. libgeos_c.so.1 is as well (and it's in /usr/lib/ )

Both the files seem to exist. I cannot copy either of them (cp says "cannot stat '[file]': No such file or directory".

View 6 Replies View Related

CentOS 5 Networking :: Shutting Down Interface On Link Down State?

May 17, 2011

I have a problem. I want interface to shut down once there is a link down state detected. If you set up eth0, and then plug cable out, eth0 stays up, just loosing the RUNNING flag. I want it to go down completely.

I've stumbled upon netplugd, and I've tried using it. It is a daemon that detects states in (link up) and out (link down) from kernel netlink interface. If I have this daemon up, it detects that link is down (eg. cable removed from interface), and it runs correctly /etc/netplug.d/netplug eth0 out. That script then runs ifdown eth0. And that's ok.

But very next moment netplugd runs /etc/netplug.d/netplug eth0 probe, and probe section of that script runs "ip link set eth0 up", which then turns interface back on!I've tried commenting out that line, but then new problem occurs - after the link is up, netplug cannot figure that out and bring back interface. Has anyone have this kind of problem, and any viable solution with netplug?

View 3 Replies View Related

General :: Check File Exists

Feb 20, 2010

I have scenrio where i have to check first whether the files exists or not then count of records should not be equal to zero and file should be of current day not the previous day then only process my next task.There are three files totally.please let me know how to write script to achieve the same.

View 2 Replies View Related

General :: File Exists And Yet It Doesn't?

Jul 11, 2011

I have a rather strange issue I'm attempting to fix here. One of the servers I work with had a log file reach 2GB in size and stopped logging. The software which is logging to said file cannot be stopped or restarted and does not provide a way to rotate log files -- poor design, I know. So in my infinite wisdom (or stupidity, however you want to read that), I truncated the log file in place with:

When I realized the log file was not being appended to, I checked lsof output and it


View 7 Replies View Related

Programming :: Check If There Is Any Ejb File Exists In The Directory

May 1, 2011

I have a directory called /data In this directory I have some files like abcejb.jar,12_ab_ejb.jar, shejb.jar, test I need a shell script like... 1st I want to check if there is any ejb file exists in the directory using some condition If ejb files exists I want to redirect the ejb files list to a file called list. Now I want to copy all the files in the list file to some remote system.

View 1 Replies View Related

General :: Doesn't Show The File That Exists?

Sep 10, 2009

we have installed vignette software on the linux box and would like to uninstall it. To uninstall it we need to delete one file named vpd.properties. When we used locate vpd.properties, the file is found in 2 places. But when we used the ls -a in those locations the file is not seen. basically we want to remove that file. If we do rm vpd.properties, this also doesn't work. Also when we used find -H vpd.properties the file is not found. What is wrong here. I am sure the file vpd.properties will be added to file system as part of vignette. Can anyone suggest what could be wrong here.We logged in as root user to remove this file. Installation is done twice using root and vignette user ids. Thats why file is located in 2 places.

View 3 Replies View Related

General :: Script To Show If File Exists?

Dec 13, 2010

I have a script that runs each day at 6am and looks for files created within the last day and outputs the text to a file which it emailed to me. Im wanting to change it so that it would say something like "phone system backup complete" or "websense back complete" and say fail if its not there.

Dec 13 02:27 /mnt/ukwcs-net-config/IPT/Backup12-13-10#2-20.tar
Dec 13 01:00 /mnt/ukwcs-net-config/Websense/wsbackup_2010-12-13_010000.tar.gz
find /mnt/ukwcs-net-config -mtime -1 -ls | egrep '(.dmp|.tar.gz)' > log.txt
find /mnt/ukwcs-net-config -mtime -1 -ls | egrep '(/IPT/)' > logi.txt
find /mnt/ukwcs-net-config -mtime -1 -ls | egrep '(.agb)' > loga.txt


View 2 Replies View Related

Software :: Dovecot Dead But Pid File Exists?

Sep 30, 2010

My dovecot installation crashes after sometime, normally within one day. If I restart the process manually it works again for sometime but eventually it crashes again.


root# service dovecot status
dovecot dead but pid file exists


View 3 Replies View Related

Programming :: Unable To Catch The SIGTERM Signal?

Apr 25, 2011

But unable to catch the SIGTERM signal if I do shutdown, as man pages says shutdown genrates the SIGTERM and SIGKILL signals, but we cant handle the SIGKILL signal. My code is working fine if I genrate the SIGTERM signal by Kill command, and also for SIGINT signgal genrated from the CTRL+c key.

Here is my code:

/* Example of using sigaction() to setup a signal handler with 3 arguments
* including siginfo_t.
#include <stdio.h>
#include <unistd.h>
#include <signal.h>
#include <string.h>


View 5 Replies View Related

General :: Shutting Down X Server

Apr 10, 2011

ok well i installed Ubuntu 10.10 like 2 weeks ago on my computer and I have Spent like A week and a half trying to shut down the X Server. I am trying to install an nvidia driver to my computer... all of the option and ways to do it would be helpfull... any more information needed i will give to you (NVIDIA-Linux-x86-260.19.44.run)

View 3 Replies View Related

CentOS 5 :: Insmod: Error Inserting /lib/dm-region-hash.ko -1 Fikle Exists

Mar 11, 2010

I have some problems with CentOS 5.4 and standard kernel, which I need for realtime extensions.With the solution in this thread: [URL] I could boot the new standard kernel , There are still two error messages during the boot process:

"insmod: error inserting /lib/dm-region-hash.ko -1 fikle exists"

and a problem with ip-tables "could not restore ip-tables line 20" or so

View 6 Replies View Related

Fedora Servers :: Cannot Delete Directory 'foo': File Exists

Jan 17, 2009

I was transferring some files from my laptop (running FC6) to a server at my work (don't know what kind) with "scp -rpC" and it stalled, don't know why.
Now when I try to delete the files from the server so I can start again I get the following error message

rm -r Single_injections/
rm: cannot remove directory `Single_injections/195320/400mA/010': File exists
rm: cannot remove directory `Single_injections/195320/400mA': File exists
rm: cannot remove directory `Single_injections/195320': File exists
rm: cannot remove directory `Single_injections': File exists


View 6 Replies View Related

Fedora Servers :: Nmb Dead But Pid File Exists - At Shutdown?

Mar 11, 2009

After booting I noticed that sometimes nmb was not running. The command # service nmb status gives nmbd dead but pid file exists The timestamp of the pid file suggests that at the last shutdown the pid file was not removed, and I guess this prevented nmb to start properly during booting (Although during booting the messages is [OK]).

If I shut down nmb manually, everything is fine. I checked the log in /var/log/samba/log.nmbd and it doesn't show any error. As mentioned, this occurs only occasionally, and I have no idea what may be causing this.

View 1 Replies View Related

Ubuntu :: Checking If File In /root Directory Exists?

Jun 6, 2010

I want to create a file in the /root directory and then make sure it exists. The following code keeps telling me that the file doesn't exist even though it does.

echo -e "username=someusername
passwordsomepassword" | sudo tee /root/.credentials
if [ -e /root/.credentials ]; then
echo "File exists!"


[Edit] Added second double quotation mark at the end of "somepassword"

View 5 Replies View Related

Ubuntu :: Error : Module.h File Doesn't Exists

Jun 21, 2010

1)I had download one hello.c for start working for Device drivers , and compile it . . I am using linux kernel 2.6.xx getting this error :

Error : linux / module.h file donesnot exists .

2) ad build the kernel and still getting the same error .

View 1 Replies View Related

Software :: Postfix - Master Is Dead But Pid File Exists?

Dec 21, 2010

When I check the status of postfix I get this error..... what does it mean and how do I fix / troubleshoot it?

View 11 Replies View Related

Programming :: Bash - Statement To Check If A File Exists Or Not?

Oct 6, 2010

This script that I found online does the job it promises. it does convert the files to mp3 without an issue. What I need to include now is an if statement that says If $file.mp3 exists then delete $file.wav

# name of this script: wav2mp3.sh
# wav to mp3
# Credit to the script creator (Nikesh Jauhari):


After that I'm stumped as to how to do the if statement

View 14 Replies View Related

Copyrights 2005-15 www.BigResource.com, All rights reserved