CentOS 5 :: Distinguish Between What Caused A Shutdown?

May 8, 2010

I am running a server at home, and on rare occasion my server will shut down. Is there a logfile I can check to determine whether the server was shutdown due to a script on the computer, a power loss, or someone hitting the power button? I am not by any means a linux guru, but I know enough to get around.

View 9 Replies


ADVERTISEMENT

CentOS 5 :: Upgrade Caused Reboot Failure?

Apr 1, 2009

At 4:00 pm on 4/1/2009 I accepted the offer to dowload and install a number of small improvements. This has always worked in the past. This time there were a few problems with the install, but I went ahead and rebooted. It stopped at grub, stage2.

I am now trying the rescue feature of my install CD. I will report on this later.

As for the always possible hardware failure, I have a raid setup, so I was not expecting this.

View 4 Replies View Related

CentOS 5 Server :: HTTPD Apache2 - (103) Software Caused Connection Abort

Feb 10, 2010

I am running centos 5.4, kernel 2.6.18. Also running httpd (apache2) as a reverse proxy with the following modules
mod_ssl
mod_cache
mod_proxy_*

Recently after updating these modules:
mod_ssl x86_64 1:2.2.3-31.el5.centos.2
httpd x86_64 2.2.3-31.el5.centos.2
distcache x86_64 1.4.5-14.1

I am getting wierd errors in the error logs:
[Wed Feb 10 15:44:18 2010] [error] (103)Software caused connection abort: cache: error returned while trying to return disk cached data
[Wed Feb 10 15:44:45 2010] [error] (103)Software caused connection abort: cache: error returned while trying to return disk cached data
[Wed Feb 10 15:44:48 2010] [error] (103)Software caused connection abort: cache: error returned while trying to return disk cached data .....

View 1 Replies View Related

General :: Distinguish Between SATA And ESATA?

Jul 20, 2011

In Linux is there a way to distinguish between two connected hard drives and tell which one is eSATA through shell or anyother way?

View 2 Replies View Related

Ubuntu :: Distinguish Between Tabs On Taskbar?

Oct 2, 2010

Currently the way tabs on the taskbar look (the bar at the bottom) make it a bit hard to distinguish between them. sometimes they all look like one big clump of text. its quite messy. when you look at something like the windows xp taskbar [URL] its much easier to see between them. I guess its also because the buttons look 3D in that they stick out a bit. Plus the choice of colours used for when you are on a tab helps.

How do I change/find a theme for this?

View 1 Replies View Related

General :: Distinguish Different Processes Of The Same Program?

May 22, 2010

First I create a named pipe at /tmp/.pipe by

Code:
mkfifo /tmp/.pipe
which is then used in a shell script called A.sh like this

[code]....

View 1 Replies View Related

General :: Distinguish Between Tab And Space In A File?

Mar 22, 2011

suppose in tab separated file with n columns and if in a column i put a value which is space separated .how can i able to find out a specific column..ie

NAME<TAB>ADDRESS<TAB>AGE
akhand jyoti<TAB>banglore<TAB>21
vijay<TAB>new delhi<TAB>22
ram kumar verma<TAB>ram nagar<TAB>43
..
..

now i want to print NAME column(or any column). how can i do that?

View 3 Replies View Related

Software :: Application Doesn't Distinguish Between Different Input Ports

Feb 26, 2010

I working on a project, where a central unit (we call it System Controller ) should talk to several peripheral units on different input ports. The system controller have 4 RS485 ports, 1 RS232, 1 USB A, 1 USB B and a switch with 2 TCP/IP ports. The problem is that when the peripheral unit that is supposed to be connected to one of the two TCP/IP inputs isn't connected (which the system should be able to handle), the software thinks that data from the unit connected to the RS232 port is from the unit that should be connected to the TCP/IP.

The input peripherals are defined as:
#define CR_DEVICE "/dev/ttyS1" // ttyS1
#define SL_PORT "/dev/ttyUSB0"
#define BO_PORT ""

It is the last one which are supposed to receive from the TCP/IP port, and of course the first one which should receive data from the RS232 port.

View 6 Replies View Related

Slackware :: Make A Browser Distinguish Between Files And Folders?

Oct 22, 2010

I'm playing with apache (and to be quite honest have no idea what I'm doing at this stage!) and currently have a large number of files and folders on the sad little site. One thing that is really bothering me is that files and folders both appear the same. I'm not looking for anything fancy. Something like this is more than adequate. Right now there is simply a dot next to each item.

View 2 Replies View Related

General :: Ubuntu - Automatically Distinguish Difference Between Multiple HDDs ?

Feb 14, 2010

I'm running Ubuntu Server 9.10. I have two external USB HDDs. I use them each for different backup reasons. So certain data gets stored on one HDD, and different information gets stored on the other HDD.

I want to make a script that can look at the external HDD can determine which HDD it is, so that it can copy the proper information to it. Is there a way for Linux to determine this? Like if I see one HDD as /dev/sdc1, then unplug it and plug in the other HDD, should Linux see it as /dev/sdd1 or will it be /dev/sdc1?

I don't quite understand how it determines the /dev/sdxx values that it assigns to drives.

View 3 Replies View Related

Ubuntu Servers :: Unable To Distinguish Which Service To Use By The Protocol Information?

Mar 30, 2011

Just wondering, what happens when you have multiple server softwares listening to the same port? will it be able to distinguish which service to use by the protocol information, or is it setting it up for failure?

IE: http and ssh both listening to port 80.

View 2 Replies View Related

CentOS 5 :: Gam Server Shutdown After Putty?

Aug 8, 2009

I use centro 5 to run a game server with the command ./srcds_run quit -game cstrike -nocrashdialog +map de_dust2 +maxplayers 36 +ip 95.154.192.34 +port 27015 -tickrate 67

which then starts a 36 slot CSS game server but as soon as i close putty it ends now i tried nohub ./srcds_run quit -game cstrike -nocrashdialog +map de_dust2 +maxplayers 36 +ip 95.154.192.34 +port 27015 -tickrate 67 and ./srcds_run quit -game cstrike -nocrashdialog +map de_dust2 +maxplayers 36 +ip 95.154.192.34 +port 27015 -tickrate 67 > srcds.log 2>&1 &

i'm woundering if it something to do with centro 5 why nohub isn't working becouse it works for others either

View 1 Replies View Related

CentOS 5 :: WOL After Front Button Shutdown (s5)

Sep 10, 2009

I am about to put a server in a data center for the first time.I have got Wake on Lan/Network working on the server, however I have noticed that if the server is shutdown from the front button, it is unabled to be awoken via WOL.Is there a centos solution to this, or is this a BIOS issue, or something else? The server is a Super Micro X7SBi

View 3 Replies View Related

CentOS 5 :: Unable Rc6.d Shutdown With Chkconfig

Feb 1, 2010

i am trying to add a script on rc6.d using chkconfig but it doesn't work. I am missing something but i dunno what. I try with a test script /etc/init.d/test cat test

#
# test test
#
# Author: Maurizio Marini
#
# chkconfig: 2345 98 02
# description: this is a test

[Code]...

View 8 Replies View Related

CentOS 5 :: Shutdown Doesn't Poweroff

Feb 23, 2010

I have a server Hp proliant DL160 G6 with CentOS 5.4 . When I do shutdown -h now it doesn't poweroff.

I try differents options for acpi in menu.lst file. acpi=force, acpi=noacpi,acpi=off,acpi=ht but there's the same problem.

This the stdout when I do shutdown:
Halting system...
md: stopping all md devices.
Completed flushing cache on controller 0
ACPI: PCI interrupt for device 0000:05:00.1 disabled
xenbr0: port 2(peth0) entering disabled state
ACPI: PCI interrupt for device 0000:05:00.1 disabled
Power down.
acpi_power_off called

I show you any specific information about my server:

Reboot works fine

View 3 Replies View Related

CentOS 5 :: Server Does Not Shutdown Properly Sometimes

Aug 17, 2010

I have noticed my server do not shutdown properly sometimes.It should do it with this command in a cron with root session /sbin/shutdown -h now

View 3 Replies View Related

CentOS 5 :: System Hang During Shutdown (halt)?

May 23, 2009

I'm running V5.3 (newly installed) on an FJ E8020 laptop. The problem I have is when shutting down (*not* rebooting). NetworkManager fails to stop and after (during?) the postfix shutdown, the system seems to hang.I cannot access via another screen or remotely. I can't find any clues in the log files.

[Code]...

View 1 Replies View Related

CentOS 5 :: Why Would An Init.d Script Get Skipped On Shutdown

May 29, 2009

I have an init.d script (dahdi-redfone) that works perfectly if you call "service dahdi-redfone stop" but for some reason when I reboot or shutdown it never gets called.Below in the listing of my rc6.d directory

# ls /etc/rc.d/rc6.d
K01dnsmasq K05anacron K20nfs K65dahdi-redfone K85messagebus K88auditd K90bluetooth K99readahead_early

[code]....

View 8 Replies View Related

CentOS 5 :: Server Randomly Shutdown At Certain Time?

Jun 11, 2009

2 times now our server has randomly shut down. Completely powered off as if the power cable was pulled or something. Both around the same time. 7:30ish. Once was on Friday June 5th, then last night, Wednesday June 10th.

Here is the log from last nights crash/shutdown:
Quote:
Jun 10 19:23:18 mail avahi-daemon[2564]: Server startup complete. Host name is mail.local. Local service cookie is 1312323680.
Jun 10 19:23:18 mail avahi-daemon[2564]: Service "SFTP File Transfer on mail" (/services/sftp-ssh.service) successfully established.
Jun 10 19:23:21 mail smartd[2625]: smartd version 5.38 [i686-redhat-linux-gnu] Copyright (C) 2002-8 Bruce Allen .....

View 9 Replies View Related

CentOS 5 :: Shutdown/service - Command Not Found

Aug 13, 2009

With this issue:

$ sudo shutdown -r now

sudo: shutdown: command not found

View 2 Replies View Related

CentOS 5 Hardware :: Shutdown Will Not Power Off Computer?

Dec 15, 2009

This OS is has been cloned from the drive of another computer. The motherboard is now an SIS730. I assume the hardware is sufficiently different to prevent the OS from shutting down the computer.How do I fix this? ---without installing, if possible.

View 2 Replies View Related

CentOS 5 Hardware :: Shutdown -h Reboots The System

Jan 3, 2010

I have a newly installed CentOS 5.4 which is having shutdown problem, if I try "shutdown -h now", the machine will poweroff then reboot instead of poweroff completely. how to debug this problem?

Hardware: Gigabyte G31M-ES2L, 4G RAM, Sil 3112A PCI SATA card, 6 SATA disks and one IDE disk. I have disabled all power on options in BIOS.
Software: CentOS 5.4, software RAID, samba

"cat /var/log/messages | grep ACPI" shows:

Jan 3 11:20:43 filesvr1 kernel: BIOS-e820: 00000000bf5e0000 - 00000000bf5e3000 (ACPI NVS)
Jan 3 11:20:43 filesvr1 kernel: BIOS-e820: 00000000bf5e3000 - 00000000bf5f0000 (ACPI data)
Jan 3 11:20:43 filesvr1 kernel: ACPI: PM-Timer IO Port: 0x408

[Code].....

View 2 Replies View Related

CentOS 5 :: Where To Put Commands To Execute Just Before Shutdown / Logoff?

Mar 3, 2010

Where can I put commands which should be executed just before

- logoff

- shutdown

I think there must be somewhere an opposite script to

.initrc
or
.bashrc

View 5 Replies View Related

Server :: Shutdown The Nodes From The Master Terminal Using "shutdown -h Now" Get Shutdown?

Dec 10, 2010

I have installed a cluster computer with 10 nodes . The manufacturer is HP . All nodes and the master node have redhat enterprise linux installed in them . When I shutdown the nodes from the master terminal using "shutdown -h now" they get shutdown . But they dont get completely turned off . This issue bothers me when the power supply is given , all nodes boot up simultaneously generating a huge heat .

Thing to note : When we shutdown our PC they get completely turned off . When the power supply is given , a press on the Power On button is required to boot the system. But , why does it not happpen in the case of cluster? Is there any other way of completely turning off the nodes from the master terminal ?

View 1 Replies View Related

CentOS 5 :: Remote Shutdown Server Through Power Switch?

Jul 13, 2009

I have built a Centos 5.3 server for a friend of mine that is being used as a NAS server. The server has 4 1TB drives in a RAID 5 configuration and a dedicated non raid system drive for the OS. My friend isnt very Linux literate so I need this bow to be relatively simple. I have worked most of it out but have a question with regards to remote reboot.

I need to be able to shut this device down through the power switch without human intervention (at the moment when the power switch is pushed the server asks to confirm shutdown) the server wont have a Monitor connected so this isn't practical. Is it possible to use the power switch to do an clean, immediate shutdown?

The other option is shutdown through a web page is this something that has been done before? I know he can do it through terminal by issuing a shutdown now command but as I said this guy wants something simple. I don't really want to explain everytime he needs to shut the Server down how to do it if he can just do it via a website or even with the power button.

View 1 Replies View Related

CentOS 5 Hardware :: Compaq Nx6110 Does Not Shutdown / Resolve This?

Nov 28, 2009

I have a HP notebook Compaq NX6110 with Cent OS 5.4 as a test PC. All equipment works correct except strange fact that notebook does not want to shutdown. When I try to shutdown it via graphical interface or CLI it only reboots. In system log there are no errors about ACPI or something like that. Who can give advice - is this bug in Cent OS 5.4 or something wrong with notebook?

P.S. I updated the BIOS with the last available version from HP

View 1 Replies View Related

CentOS 5 :: Settings To Delete TMP Folder Automatically At Shutdown?

Jan 27, 2010

It seems to me that the /tmp folder is currently crowded with old stuff. How can I tell CentOS to always automatically delete all /tmp folder content just before shutdown?

View 4 Replies View Related

CentOS 5 :: Laptop Automatic Shutdown On Low Battery Not Working

Aug 28, 2010

I'm trying to make my system automatically shutdown once the battery level is low, but still without success. I've tried kpowersave, gnome-power-manager, kpower, klaptop but none of these worked for me. Well, I can't imagine I would be that stupid, but simply it doesn't work. In all cases mentioned above (kpower, klaptop, gnome-power-manager) I've tried to setup the laptop to shutdown once the defined level is reached, but the laptop never actually switched off unless all the battery was drained.

Btw. I think all the above mentioned apps only work once the user is logged in. But I'd like the solution to work also when the PC is on without anyone logged in. I thought I could write a bash script based on parsing of acpitools output and define it as a service, which would monitor the battery level, but I simply don't believe there isn't any functional solution to this.

View 3 Replies View Related

CentOS 5 :: Doesn't Shut Down Immidiately When Clicked On Shutdown In Gnome?

Sep 12, 2010

i have centos 5 system and when i select shut down from the the top taskbar there appears a small rectangle that has an option of shutdown, restart and 60 sec timer but in our case neither the timer is ticking and when we select to shut down the system, the button color for shutdown shows we have pressed it and then the system doesn't goes into shut down immidiately, and the little rectangle window stays there, you can continue to work on the desktop and then it shuts down after 30 seconds

View 1 Replies View Related

CentOS 5 Networking :: Rt61 PCI Wireless: Freeze Upon Shutdown With Static IP Configuration

Jun 24, 2009

I have one desktop PC I'd like to use as a jukebox. It's installed in the basement as a black box, with only SSH access, and it has got a minimal CentOS 5.3 install with MPD and NCMPC. It's connected to the hi-fi in the basement, so I can stream music to it when I'm downstairs. Since I didn't want to use cables everywhere, I bought a PCI wireless card, with a RT2561 chip.

Until recently this card worked OK with Linux. Recent kernel version even have out-of-the-box support for it, except of course you still have to download the firmware from the Ralinktech website.

I gave the thing a static IP configuration by editing /etc/sysconfig/network-scripts/ifcfg-wlan0, interface went up fine, I can ping the machine and SSH into it OK. Now the only problem is, when I do a shutdown -h now, the machine "hangs" while trying to bring wlan0 down. (In case you wonder: I temporarily attached a monitor to it, since wanting to know what goes on while shutting down in an SSH session is a chicken-and-egg situation :)). I actually have to hard-reboot it (by pressing RESET).

View 1 Replies View Related







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