View Single Post
Old 23rd April 2006, 21:30
edge edge is offline
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,044
Thanks: 269
Thanked 154 Times in 133 Posts

Originally Posted by falko
Looks ok. I saw some output of SELinux. Is SELinux disabled?
Hmm it should be disabled, but I do also see
SELinux: Initializing.
SELinux: Starting in permissive mode
selinux_register_security: Registering secondary module capability
I guess that this is saying that SELinux is running. I have NO CLUE how it got installed!

The install I did was the "perfect_setup_fedora_core_4", and I'm 100% sure that I disabled the SELinux option!

Is there an easy way to 'kill' it again?

Anyway... I've now made a small bash script that I run every hr to ping the gateway.. If no ping.. restart the network :/


pingAddress=""	# IP of gateway
emailAddress="root@host"	# address to send restart message
timeNow=$(date)			# set the date and time

if [ -n "$(ping -c 1 $pingAddress|grep 100%)" ]
# no ping reply.. Lets email root and restart the network :-(
    mail -s "No ping. Server network restart" $emailAddress <<-END
    This is to inform you that the server network was restarted at $timeNow
/etc/init.d/network restart

Last edited by edge; 24th April 2006 at 14:57.
Reply With Quote