Linux Sysadmin Blog

Linux Sysadmin Blog header image 4

Entries Tagged as 'sysadmin'

System Admin Day – July 31st

July 30th, 2009 · 1 Comment · News, sysadmin

We will celebrate the Linux System Administrator Appriciation day tomorrow. Yes, there is such a thing, if its in wikipedia (wiki system administrator appreciation Day), than it must be true! See what its all about here: System Administrator Appreciation Day, also known as Sysadmin Day, SysAdminDay or SAAD, was created by system administrator Ted Kekatos. Kekatos was inspired to [...]

[Read more →]

Tags:

enabling allow_url_include locally in cPanel

July 22nd, 2009 · No Comments · cpanel, hosting, sysadmin

When using cPanel the way to enable allow_url_include directive locally (per user) is to create an Virtual Host include: First create an include file: /usr/local/apache/conf/userdata/std/2/username/domain.com/custom.conf Add directive to custom.conf: php_admin_flag allow_url_include On Then run to enable include: /scripts/ensure_vhost_includes –user=username –verbose Alternatively, enabling allow_url_include globally (server-wide) is done by editing /usr/local/lib/php.ini and adding “allow_url_include = On” [...]

[Read more →]

Tags: ·

Tracing memory leaks with pidstat

June 16th, 2009 · No Comments · Performance, sysadmin

Finding application memory leaks is important part of keeping systems stable and often very hard to track down. Monitoring application memory consumption can be performed in a few different ways, the easiest is a simple capture of ps and append to log file triggered via cron at desired interval. In this example we will track [...]

[Read more →]

Tags: ·

New Debian apt keys

June 11th, 2009 · 1 Comment · Debian, sysadmin

Running apt-get update gives an error message: W: GPG error: http://ftp.us.debian.org etch Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 9AA38DCD55BE302B W: There is no public key available for the following key IDs: 9AA38DCD55BE302B W: You may want to run apt-get update to correct these problems A check [...]

[Read more →]

Tags: ··

HowTo: Get started with Amazon EC2 api tools

June 2nd, 2009 · 15 Comments · CLI, cloud computing, HowTo, sysadmin

This article is meant to be a quick quide that will introduce the things needed to get you started with Amazon EC2. All this information can be found in the EC2 api docs, and this is not meant to be a replacement of the documentation, just trying to show the things needed in a clear [...]

[Read more →]

Tags: ···

rhel/centos x86_64 and i386 packages mess…

May 19th, 2009 · 3 Comments · Centos, CLI, sysadmin

Anyone running centos/rhel x86_64 systems has probably noticed that redhat has a strange way to install a mix of i386 and x86_64 rpms on such a systems. This is how redhat is using the 64bit architecture in a mixed way to be able to support also i386 applications. This is completely different from how for [...]

[Read more →]

Tags: ····

umask ‘ing apache under cPanel

May 14th, 2009 · No Comments · cpanel, hosting, Security, sysadmin

Ran into an issue today where a php created file was unreadable by other users or services that run under a different user. Since this is a software originated issue the sysadmin would love for the developer to change the code to include the chmod() php function to set permission to 644 after file creation. [...]

[Read more →]

Tags:

HowTo delete all emails from the postfix queue

May 13th, 2009 · 1 Comment · sysadmin

I must admit that postfix queue management is definitely not the simplest one. I often get asked how you can remove all the emails that are in the mail queue on a postfix server (probably to delete a spamming abuse or some error, or whatever). This should be something very simple to do right? And [...]

[Read more →]

Tags:

Videos of Google Data Centers and presentation video from the Google Efficent Data Center Summit

April 10th, 2009 · No Comments · Installation, MySQL, Security, sysadmin

On April 1st Google hosted a Efficient Data Center Summit .    The videos below are of the Google container based data centers, outlining the design of cooling systems, the containers themselves hosing hundreds of thousands of servers.  It shows their water cooling systems, and video shots of inside of the containers as well as what [...]

[Read more →]

Tags: ·