Tag Archives: sysadmin

Dealing with “could not create shared memory segment” from postgres on Ubuntu

After installing postgresql-8.4 from the Ubuntu repos on an Ubuntu 9.10 machine, I received the following when the daemon tried to start up: 1234567 * The PostgreSQL server failed to start. Please check the log output: FATAL:  could not create shared … Continue reading

Posted in CLI | Tagged , , , | Leave a comment

Viewing all users on a Linux system

There are a number of widely-used and stable utilities on Linux systems that allow you to view information related to users. You can see who’s logged in with who, get info on a particular user with finger, see who you … Continue reading

Posted in CLI | Tagged , , , | 7 Comments

Watching a fork bomb explode

Fork bombs are simple pieces of programming logic that can bring down the mightiest of servers in seconds (in fact, the faster the server, the faster it goes down). They are quite easy to protect against, but some operating systems … Continue reading

Posted in Security | Tagged , , , | Leave a comment

Send events to Zenoss from scripts

Working at Zenoss the company, our IT group uses Zenoss the application to monitor our infrastructure. Initially, we setup the needed monitoring for various resources, added thresholds and received email alerts if there were problems. That was all well and … Continue reading

Posted in Programming | Tagged , , , | 5 Comments