- Published:
- April 29, 2011 – 12:13 pm
- Author:
- By Dave
The hald – Hardware Access Layer Daemon – runs several processes in order to keep track of what hardware is installed on your system. This includes polling USB Drives and ‘hot-swap’ devices to check for changes along with a host of other tasks. You might see it running on your system as follows: 12342474 ? S 0:00 \_ hald-runner 2481 ? S 0:00 \_ hald-addon-acpi: listening on acpid socket /var/run/acpid.socket 2487 ? S 0:00 \_ hald-addon-keyboard: listening on /dev/input/event0 2495 ? S 41:47 \_ hald-addon-storage: polling /dev/hdc If your system is static and the devices do not change, you can actually disable this service using a policy entry. Create a file in your policy directory, for example /etc/hal/fdi/policy/99-custom.fdi. Add the text: 123456789<?xml version="1.0" encoding="UTF-8"?>….
Categories: Configurations,Linux,Shell,System Administration
Tagged: daemon, hald, hardware access layer
- Published:
- August 5, 2009 – 9:16 pm
- Author:
- By Dave
You’ve flashed your old WRT54G or other vanilla router with the Tomato firmware. This itself turns your router into a lean, mean routing machine with QOS, SSH and more, but let’s say we want to take it a bit further. What it we want to get some more stats out of it? In order to do this, we first need to set up a way to pull this information from the router. The best way to do this is to install an SNMP (Simple Network Management Protocol) daemon on the system. The main roadblock we face here is that the system mainly runs in volatile system memory, meaning that every time the system is rebooted the filesystem is reset. Fortunately Tomato provides a way to get around this using CIFS shares. Follow the steps below (as modified from here) to install an SNMP server on a Tomato router. Create a….
Categories: Code Samples,Configurations,Hardware,Linux,Other Code,Other Technology,Programs,Shell,Software,System Administration
Tagged: cacti, firmware, network, router, SNMP, sysadmin
- Published:
- May 5, 2009 – 6:51 am
- Author:
- By Dave
Came across this little maddening issue again today after fixing it a few months back. I created a directory that is password protected using a .htaccess file. However, when trying to access this folder or anything under this directory, a File Not Found 404 error from WordPress is displayed before it even prompts you for the password. The problem here lays within the main WordPress .htaccess file The default .htaccess file for WordPress is: 123456789# BEGIN wordpress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END wordpress This means that if a file is requested from the server, if it is not a file that exists in the server’s folder directory (!-f) and if it is not a directory that exists in the server’s folder directories (!-d) then pass the request onto index.php. This way, WordPress will handle both customized….
Categories: Code Samples,Configurations,Other Code,Software,System Administration
Tagged: 404, apache, htaccess, password, wordpress
- Published:
- May 3, 2009 – 11:12 pm
- Author:
- By Dave
Zabbix is an excellent system monitoring package. It does everything from basic availability checking to detailed system resource analysis. It is capable of graphing the variables pulled from the system, and alerting admins if there is a problem or something needed for attention. Once you have the Zabbix server set up, you need to install the client on any systems you want to monitor. Windows systems have a precompiled binary to install. On linux, unix or freebsd systems you’ll need to compile binaries. If you have a range of systems that are homogeneous, you can port the binary to those or also compile it with static dependencies. Below are steps to compile, configure and install the zabbix client: Steps to install a Zabbix Client Download zabbix source code from www.zabbix.com; decompress with ‘tar zxvf’ and cd to directory Configure the make program: ./configure –enable-agent Compile and install the program: make….
Categories: CentOS,Code Samples,Configurations,Linux,Programs,System Administration
Tagged: agent, alerts, monitoring, zabbix
- Published:
- April 30, 2009 – 10:04 am
- Author:
- By Dave
I could not find any way to see how you could add an IP address as a ‘white list’ for our Postini installation. Mails coming from our mailing list manager kept getting caught in the Postini spam interface (which is probably a whole other issue, which I will need to address later). To get Postini to white list an IP address, you need to go into the Batch editing mode and issue this command: addallowedip organization name,domain.com:10.0.0.0 Full Postini Batch Reference See page 30 for ‘addallowedip’ syntax and more information.
Categories: Configurations,Email
Tagged: ip address, postini, white list, whitelist
- Published:
- March 25, 2009 – 4:15 pm
- Author:
- By Dave
I just found a quick tip on the Installatron forums. By default Installatron disables all WordPress plugins when doing an upgrade. This is due to the WordPress best practices for upgrading the version of their system. When you have a lot of WordPress installs to go through this is a big pain because it usually breaks the site. According to this post, you disable the disabling of the plugins by creating a file named .dont_disable_plugins in the directory that wordpress is installed to. Via command line it is as simple as this: 1touch /path/to/wordpress/.dont_disable_plugins Execute that command on the command line (or upload an empty file via FTP/SCP) and the plugins will remain enabled. There is also an option in the installatron settings to enable this file creation upon install. Note that if you have a plugin that is not compatible with a new version of WordPress, it may break….
Categories: Configurations,Software,System Administration,Webdesign
Tagged: installatron, wordpress