CentOS 5 :: Automatic Reboot On Ping Result?

Feb 15, 2011

Is there any way to reboot my centos 5.2 server automatically once the ping result to my default gateway is continuously greater or equlls to 10 ms.

View 3 Replies


ADVERTISEMENT

Fedora :: Right-click The Result Is The Automatic Selection Of The Option In The Context Menu?

Feb 23, 2011

I'm a Fedora user, and recently I switched from KDE to Gnome. Since then I'm experiencing a nerve-wracking problem when I use the right-click. Almost every time when I right-click the result is the automatic selection of the option in the context menu which is at the same level as the cursor. This happens more than 50% of the cases. Is that normal in Gnome or am I the only one that experiences this kind of problem?

View 6 Replies View Related

Ubuntu Networking :: Ping From A Specific Interface, Not The Expected Result

Mar 28, 2011

im trying to ping from a specific interface, I have a wired and a wireless connection both going into my laptop.

My wired adaptor eth0 is on the ip 172.16.109.75 my wifi adaptor wlan0 is on the ip 192.168.1.69

when I ping google with my eth0 unplugged with the following command

Code:
conneco@mcr-pc-29334:~$ ping -I wlan0 www.google.co.uk
PING www.l.google.com (74.125.230.115) from 192.168.1.69 wlan0: 56(84) bytes of data.
64 bytes from 74.125.230.115: icmp_seq=1 ttl=51 time=32.7 ms

[Code].....

View 1 Replies View Related

CentOS 5 Server :: Ipt_Sysrqd To Reboot A Server By Ping

Apr 26, 2009

I see this site: [url]

That explain how to reboot a freeze system by remote with only make a ping in other machine.

Well I want to know if that module is compatible with my centos 5 because it appear that run in kernel 2.6.X. is compatible ?

View 2 Replies View Related

Debian :: Automatic FTP Upon Reboot?

Apr 20, 2015

I was wondering if there is a way to automatically transfer files between one machine to another upon Debian starting (or when a script is executed). Would it be also possible to check a database for a value and if the value exists then files can be transferred automatically (just like reboot).

View 3 Replies View Related

Ubuntu Servers :: Automatic Unmount On Reboot?

Apr 1, 2010

I have a problem while rebooting my 9.10 server when I have SAN partition mounted. The message is something about the swap that can not be cleaned during the process. All works if I unmount the partitions before shutting down or rebooting.So I though to create a bash script that unmounts the parts during runlevel 0 and 6.I've created a simple script like this in /etc/init.d:

#!/bin/bash
umount /mnt/xxx
and the I've done:

[code]....

View 7 Replies View Related

Debian :: Program For Automatic Or Remote Reboot Process?

May 21, 2010

I looking for a program for automatic or remote reboot process...

Soon I order a VPS and needs a Call of Duty (or other games too) server restarter, if its crash...

View 3 Replies View Related

Ubuntu Installation :: Automatic Grub2 Choice On Remote Reboot?

Jan 10, 2010

I'm trying to figure out if I can do a remote reboot (eg over ssh) and specify a new grub2 os choice for the next boot only (once), in order to boot windows remotely once, but then back to linux on the next reboot.I found this related post for grub, but won't work for grub2 ( I never tried it with grub for a remote reboot)[URL]which suggests changing the default menu option with the once flag:

[root@localhost ~]# echo "savedefault --default=2 --once" | grub --batch
[root@localhost ~]# reboot

I'm just starting to work with grub2 and am not at all clear whether I can do anything similar

View 4 Replies View Related

General :: Can't Open Terminal And Other Apps - After Automatic Update And Reboot?

Sep 24, 2010

I did an automatic update and rebooted this morning and I now have a bit of a nightmare situation where I can't open the majority of applications, including the terminal. When I rebooted, my desktop loaded as normal, but then when I try to open the terminal (from Applications -> Accessories or from my quick launch panel), nothing happens other than the quick launch panel disappears for a second then reappears. This is the case for most other apps, but not for Chrome (obviously).

Used Alt+F2 to open the terminal, ran safe upgrade and then rebooted, but still having the same issue. As Ubuntu was booting, there was a "Broken pipe" message, which didn't stop the boot process but is still a bit worrying. I've run a file system check but this hasn't resolved the problem either.

View 1 Replies View Related

General :: Automatic Reboot And Revert Grub Config On Boot Failure?

Dec 3, 2010

I have a working RHEL in /dev/sda1 and a newly constructed Ubuntu Lucid in /dev/sda2. I'm going to edit the grub config and reboot the server into the new Ubuntu. However, I'm not 100% sure that the new distro can boot. And since my only way to access the server is via SSH, I need the network to be up too.

How can I configure Grub and Ubuntu so that if the server fails to boot, it will automatically reboot into the old RHEL? Currently using GRUB 0.93, but I can upgrade it if needed.

Update: In the end, no boot failure occured. But without the insurance from this, I wouldn't have attempted [URL]..

View 2 Replies View Related

Networking :: Cannot Ping With Command - Ping IP - Address But Can Ping With - Ping IP -I Eth0

Jul 15, 2011

I am using an virtual machine. where I need to ping from one machine to another. earlier I was able to ping. But after going to google.com once, I cannot ping back to this machine.

But if I gave ping -I eth1 <IP> then I can ping.

I cannot install any package, so tell me solution which includes not installing any package.

View 2 Replies View Related

Server :: CentOS 5.5 - Fuser Not Giving Any Result

Oct 29, 2010

When I check socket on my box (Centos 5.5) I notice a strange behavior:
fuser 80/tcp
fuser -4 80/tcp
fuser -6 80/tcp
don't give me any result. But apache is running!
tcp 0 0 :::80 :::* LISTEN 25960/httpd

View 2 Replies View Related

Security :: Centos 5.5 / Rkhunter Result In Logwatch Mail

Apr 20, 2011

I have a server, running Centos 5.5. It runs daily rkhunter and logwatch. From both I get a daily mail.

I have a desktop computer, running Fedora 13 (almost 14...). It runs also a daily rkhunter and logwatch. But I get ONE mail from logwatch, which contains the result of rkhunter.

On the server, I want also only mail from logwatch, containing the rkhunter results. But so far, no luck.

How can I get the rkhunter results in the logwatch mail on my Centos server?

View 2 Replies View Related

General :: Automatic Login On CentOS 5.5?

Sep 6, 2010

I have installed CentOS 5.5 successfully and I have VNC working. This server will be a headless box that will reside in a server rack. I intend to perform any necessary maintenance on the machine remotely though my desktop computer. My problem is that when CentOS is on the login screen, I cannot connect with VNC. Once I have logged into a user account, then I can connect.

I would like the server to automatically login to one of my users each time it boots so that the VNC connection will be opened. Currently I have two users, root and Zachary. I would like the server to automatically login to the user Zachary.

In the CentOS Gnome GUI, when I go into System > Administration > Login Screen, and then click on the Security tab there is an option to "Enable Automatic Login." If you check this box a select form field becomes active; however, there are no user accounts showing in that select field. I tried typing in the user name that I wanted to automatically login, but after closing the screen it clears that username. What am I missing?

View 6 Replies View Related

CentOS 5 :: Prevent Automatic Upgrade From 5.2 To 5.3

Jul 2, 2009

I installed CentOS 5.2 because I want to install the latest VMWare Server (2.0.1).The release notes of vmware server say: "Support for CentOS 5.2".But after installing CentOS 5.2 and updating the packages marked for update,the Version of the system is 5.3. I know from Debian that if you do not explicitly want to do a system version upgrade,only bug fixes and security fixes are installed. That seems to be different with CentOS/RHEL?

Is there any way (or what ist the right way) to prevent automatic upgrade from one release to another? I don't want VMWare Server to stop working because of some upgrade from 5.x to 5.y.

View 3 Replies View Related

CentOS 5 :: Can't Get Automatic Logon To Work In KDE?

May 11, 2010

I've just built a fresh Centos 5.4 install on a 533 MHz P3. This machine is going to be used as a thick client on a LAN. I'm trying to implement automatic logons to the KDE desktop but the automatic logon implementation isn't working as expected. I'm hoping that someone can tell me what I've done wrong. Here's what I've done so far:

1. Created a non-root user account named "bob". "bob" has generic low-level privileges on the machine.

2. I've tried to enable automatic logons using the following GUI menu selections:

Control Center > System Administration > Login Manager > Administrator Mode > Convenience Tab

View 5 Replies View Related

CentOS 5 :: TACACS Log - Automatic Backup?

Jun 20, 2011

i am not familialized with Linux i installed recently a TACACS+ server under CentOS 5.5 and it is working well but my boss asked me to make a weekly backup of the tacacs.log file to check who was connected at any time the problem is that i don't know how tp make this backup and how to make it automatic and also he asked me to change the default port of tacacs from 49 to another port does someone knows how to make it?

View 1 Replies View Related

CentOS 5 :: CentOS Auto Update Kernel And Reboot System?

Mar 17, 2010

I am an old days RH release user(from 6.x) and just switching back from Debian/Ubuntu to CentOS on some servers, but I can not understand the kernel update strategy currently enabled in CentOS.There are two boxes, with almost identical installation, but recently there was an auto update of kernel on one box. This auto update also seems to issue an auto reboot on the machine, which is unacceptable on server machines.

View 2 Replies View Related

Fedora :: Make 'yum Update' On CentOS Recurring And Automatic?

Dec 10, 2010

I run a few dozen dedicated web servers all running CentOS 5.5. A long time ago when one server was apparently compromised, I was urgently advised to sign in to the server and run "yum update" at least once a week to ensure that everything which I had installed using "yum", would get updated with any recently available updates, including security fixes, and that one reason I might have been hacked before was because I hadn't been doing that.

So, I'm still not sure if that would have prevented the original break-in, or how much this has reduced my chances of being hacked, but I've been faithfully signing in to each server every week for the past few months and running "yum udpate". Most times, this results in a lot of patches being downloaded and applied, so it's clear the machines are not doing it automatically. I figure it's about time to learn how to make the machines do this on their own. Is there a standard way to make "yum update" run automatically, every day, or every week? Yes, I'm sure there are many ways to do it, but is there a single way used by the majority of webmasters of CentOS sites who have automatic updates set up? Googling a bit for "make yum updates automatic" turned up some threads like:

[code]...

in which people describe writing their own custom scripts to do yum update automatically. This seems odd. It seems like the kind of thing that there would be a standard way to turn on. Also, is there a reason that virtually every newly provisioned dedicated server does not have "yum update" set up to recur automatically? If it's true that people break into websites using exploits that have been found in older versions of webservers and other software, and that sometimes these breakins would have been prevented by the newest patches, wouldn't it reduce the number of websites being compromised if the OS had yum updates turned on automatically by default?

View 9 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 :: Way To Uninstall Ping

Apr 4, 2011

I'm looking for a way to uninstall ping.

View 8 Replies View Related

CentOS 5 Networking :: Ping -I On 5.2 Versus 4.7

Feb 12, 2009

I have two CentOS servers on the same LAN. One is CentOS 4.7 the other 5.2 They both also have a WAN interface to the same remote network. On CentOS 4.7 I can ping the remote network through the CentOS 5.2 server. i.e. ping -I eth0 remotehost On CentOS 5.2 I can NOT force the ping to go out the CentOS 4.7 server without over riding my routing tables to make eth0 a more direct route than the eth1 route.

On 5.2 If I do the ping -I eth0 remotehost, and a tcpdump on eth0, the outbound ping will not be going out eth0, he overrides it and sends it out eth1. In fact, on CentOS 4.7 if I do not have a route to the remote network through the other server (turn proxy arp off on the 5.2 machine), I will get "Destination Host Unreachable". I would ideally like to get the 5.2 machine to behave the way the 4.7 machine does.

My real life application for this is that I have a CentOS server in a location that controls access to the Internet. There is another router on the netowrk that handles traffic back to our corporate office. the CentOS server also has the ability to get to the corporate office. I ping the corporate office through eth0 to find out if the link through the other router is indeed up and active. I want to make this a CentOS 5.2 server but alas, I can not tell if the other route is up or not.

View 7 Replies View Related

CentOS 5 Networking :: Cannot Ping Server From Outside?

May 20, 2009

I have configured (bind) my server with multiple static IP. I can ping the main IP from outside but not the other IP . I can ping all the IP from localhost but not from the internet. I do not have any external firewall or blocking device. server is directly connected via modem. If anyone could advice me for why i cannot ping other Ip's

View 5 Replies View Related

CentOS 5 Networking :: Can't Even Ping To My Router

Oct 2, 2009

just finished installing Centos5 and I had no problems installing it. But when I tried to connect to the internet, the trouble began.My network card is installed and the status is "OK". The network card is a "Realtek RTL 8168C(P)/8111C(P)".The status of the device said "Inactive" and when I tried to activate it, it came with an error: Failed; no link present. Check Cable?Now the cable is connected as it should be.So next step I did is put in a static IP. Now the activation works fine.However I still have no internet. I can't even ping to my router!I need some new drivers for my graphics card too, but first I need the network to work, than I can download other stuff..

View 6 Replies View Related

CentOS 5 :: Network Installer Automatic Settings (Script Or Command Line)

Nov 2, 2009

Next week we will get a new Server for rent with a preinstalled Debian. If we download the Networkinstaller and put it in Grub, it is possible to set some settings with a script or commandline? We need SSH and the Network haves to run. So we have to set up the Networkadress , Gateway and Netmasq. So if the Networkinstaller is booting that we get direcly access with SSH to install CentOS. It is possible?

View 1 Replies View Related

Networking :: CentOS 5 - Cannot Ping Win7 Addresses

Feb 10, 2010

I have a box at home that I've installed CentOS 5 on to. I'm new to Linux, so before connecting it up to the router I wanted to try and understand the network settings, so I connected it directly to my other PC with an RJ45 cable. From Windows 7 I can ping all known static IP addresses, but from Linux I can only ping the Linux addresses, not the Windows 7 one. Below are the TCP/IP IPv4 settings, all IPv6 settings are set to auto-assign.

Windows box (uses wireless connection for the router):
Local Ethernet Adapter
IP Address: 30.10.0.1
Subnet: 255.255.0.0
No gateway, primary/secondary DNS.

Linux box:
Three adapters:
Two onboard LAN, both configured to:
IP Address: 30.10.0.2 / 30.10.0.3
Subnet: 255.255.0.0
Gateway: 30.10.0.1
No primary/secondary DNS.

One LinkSys PCI card:
IP Address: 20.10.0.1
Subnet: 255.255.255.0
Gateway: 192.168.1.1 (my router)
Primary/Secondary DNS: my ISPs details.

The idea was to connect the box directly to the router (with RJ45) and to be able to remote login from my main PC to this one. This box is to be my home server, which I was going to put virtual machines on to for things like my development work and such.

View 1 Replies View Related

Networking :: Unable To Ping Between Centos And Windows XP

Dec 16, 2010

In my office i have a network of 172.16.31.0 and a squid proxy server running, all other systems have windows XP and one system has centos. On centos system i have three lan cards and i want to test some things on it. So i assigned another IP on it of range 192.168.7.0/24 and same range on another windows system. And all the systems connected through a same network switch.

Unable to ping between Centos and Windows system. If i ping from one centos to windows system with the series of 172.16.31.0 then it replies very well but same thing is not happening in other 192.168.7.0/24 IP series.

View 2 Replies View Related

CentOS 5 Networking :: Ping Localhost Not Working?

Mar 13, 2009

it was not working and ping is not reply me and I add ifconfig lo 127.0.0.1 it is working and getting ping but when reboot it is lost setting how can I set it for always ping working.

PING localhost (127.0.0.1) 56(84) bytes of data.
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
ifconfig lo 127.0.0.1 later

[Code]....

now working but IWant reboot later working about same. how can I setting it boot start this .

View 7 Replies View Related

CentOS 5 Networking :: Can't Ping Or Otherwise Access Internet

Mar 14, 2009

I just downloaded and installed the latest Cent OS 5. I disabled SE linux, turned off the firewall, and selected the Server package options when installing. I plan on using this as a router/firewall between my internal network and the internet, as well as web server, etc. The first thing I did was to configure the two NICs, internal one with 192.168.7.1 address and the other with an address from my ISP (I have a static address, but I also tried to let the DSL router assign an address via DHCP). Everything looked fine, I checked /etc/resolv.conf and my routes. I was able to ping the DSL router from the server, but I was not able to do a ping or lookup on anything outside my network. I tried host, dig, nslookup, etc, no luck. Obviously then, I was not able to browse the net with firefox.

View 4 Replies View Related

CentOS 5 Networking :: Internet Working But Can't Ping?

Sep 10, 2009

My server was working perfectly.

My other uses on on LAN can access Internet but Cant ping the server.

Though they were able to do that earlier.

No software installed. No change in any files.

View 1 Replies View Related







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