Current setup on Ubuntu 9.10, installed via the alternate CD on x86_64.
Contrary to most posts online that say you can only boot from a partition on RAID1, not RAID10, after setting up both partitions on RAID10, I was able to boot just fine. There may be a difference between RAID10 in an n=2 (2 [...]
Migrating servers to new datacenters or IP addresses is never entirely problem free, usually due to many DNS servers on the internet not obeying TTL’s or caching old records for way too long.
These old cached DNS records (usually at different ISP’s, major mailservers like google, hotmail, yahoo, etc.) cause problems where they’ll route mail [...]
If you’re running VMWare Server 2.0.x on CentOS 5.4, you’ll have noticed that you (most likely) suffer random reboots and other instabilities on the guest operating systems – this is due to a glibc error in vmware’s libraries, and has yet to be fixed by vmware (thanks a lot). The real issue is CentOS/Redhat has [...]
Here’s a quick script that will check yum updates and email you when there are new updates available.
Split into two sections, one script is for all package updates, and the other script is for letting us know if we need to reboot when a new kernel package has been installed.
Script to check for [...]
logrotate, by default (at least on CentOS as of 3, 4, and 5.x), rotates logs by incrementing all numbers on previous logs by one, and moving the current log to log.0
This is all fine and good if you like your logs to all be rotated in order, and have a certain number backed up:
[...]
Script to update OpenVZ vz cache for any template.
Useful to upgrade to newest security releases.
#!/bin/bash
#
# updates cache of VZ
#
#
#
# Set These (or pass from command line as below)
#
#TEMPLATE=centos-5-i386-afull
VZID=5999
#
# use this from command [...]
Parallels, in their infinite wisdom, introduced new “overuse” policies into their Plesk control panel as of version 9.0. A great idea when just starting out, but a nightmare when upgrading from a previous version, since it changes the default behavior when clients and domain owners reach their pre-assigned limits. Now, instead of just warning that [...]
Easy Upgrading of MailScanner – RPM version
(For Redhat/Centos – updated from the MailScanner documentation)
1) Make a backup copy of your current MailScanner (Linux):
cp -a /etc/MailScanner /etc/MailScanner.$(date +%Y%m%d)
cp -a /usr/lib/MailScanner /usr/lib/MailScanner.$(date +%Y%m%d)
cp -a /usr/sbin/MailScanner /usr/sbin/MailScanner.$(date +%Y%m%d)
2) Download the latest version and extract
http://mailscanner.info/downloads.html
[...]
So I bought a Dell 1650 server on ebay for cheap. I loaded it up with three 36gb U160 10,000 RPM SCSI disks in a RAID 5 array, loaded up CentOS 5 and off I went.
Once it was at the data centre, I wanted to monitor the system a bit. This meant I wanted [...]
Really stupid issue with permissions on CentOS 5.1 and real easy fix, since there were improper permissions on the mqueue and clientmqueue directories.
The Error message:
Tried to send mail via command line using ‘mail’ command, and it returned this error:
can not chdir(/var/spool/clientmqueue/): Permission denied
Program mode [...]
Categories
- apache (4)
- freebsd (4)
- general (1)
- linux & freebsd (13)
- php (1)
- plesk (3)
- sendmail (2)
- system administration (1)
- uncategorized (1)
- vmware (1)
Topics
apache apache ddos spam apache referrer ddos apache referrer spam awk bash centos cli client_pref cron dell 1650 djpeg freebsd freebsd 6.x gocr grep httpd.conf image text recognition ipmi ipmitool linux linux & freebsd lm_sensors mailscanner mod_rewrite mod_rewrite blocking of spam ntpdate ocr OpenIPMI optical character recognition permission denied php php4 php5 plesk plesk 8.0.x rpm sendmail sort spam spamassassin suspend tesseract time yumLinks
Admin Links

