Home | News | Articles | Fedora Project | Fedora mirrors | Links | Fedora-Legacy |

Securing a Redhat, Fedora or Linux server howto

As a sysadmin I've learnt a lot through trail and error, with that I've put up an article which gives some nice pointers to safely connect your system to the internet.

Go to the article...


lm_sensors and SNMP howto online

I created a howto on using SNMP to read out lm_sensors data, the lm_sensors is a software application that reads out data like CPU voltage, fan speeds and tempratures inside your casing..

Go to article



Fedora Core 3 Available!

Fedora Core 3 is now available from Red Hat and at distinguished mirror sites near you, and is also available in the torrent. Fedora Core has expanded in this release to four binary ISO images and four source ISO images, and is available for both x86-64 and i386. Please file bugs via Bugzilla, Product Fedora Core, Version 3, so that they are noticed and appropriately classified. Discuss this release on fedora-list.















Unofficial FAQ Updated for Fedora Core 3
Fedora Core 1 for AMD64 Available!
Fedora C1 lm_sensors + SNMP HowTo
Securing a Redhat/Fedora install
Howto up: Help, my server got hacked !!!

 




Fix for when Apache won't start: semget: No space left on device   PDF  Print  E-mail 
Written by wunk  
Sunday, 29 April 2007

Some daemons can pop up with the following error (apache is one of them)

 semget: No space left on device


This doesn' have anything to do with a full disk, but the system cannot allocate any more semaphores. This error tends to pop up if apache is stopped with kill -9 too much, it won't free the semaphores then. To free them up become root and issue the following command:

 $ su -
# for ID in `ipcs -s | grep '<user>' | awk '{print $2}'`; do ipcrm -s $ID; done

<user> must be replaced by the user under which apache runs, when it runs as httpd for example:

 $ su -
# for ID in `ipcs -s | grep 'httpd' | awk '{print $2}'`; do ipcrm -s $ID; done


What happens:

ipcs -s  : lists all allocated semaphores
grep '<user>'  : only shows that user
awk '{print $2}' : Cuts the list and only leaves the semaphore ID
ipcrm -s $ID  : Deletes the semaphore ID


 
EasyHosting.nl