Entries Tagged as '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:
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: include·php
Are you often waiting over 1 minute to get a ssh prompt? This can be caused by several things however more often then not is a missing PTR record for server address and enabled GSSAPIAuthentication in ssh_config. GSSAPIAuthentiction is Kerberos 5 centralized authentication/authorization mechanism that relies on resolving a hostname for proper operation, when it [...]
[Read more →]
Tags: delay·kerberos·lag·login·ssh
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: pidstat·script
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: apt·Debian·key
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: Amazon·api·aws·ec2
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: Centos·redhat·rhel·rpm·yum
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: umask
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: postfix
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: datacenter·google