Monthly Archives: September 2012

Install SNMP on CentOS

This works for me on CentOS 5.8 You will want to do the following as root: yum install net-snmp Then you will want to edit /etc/snmp/snmpd.conf to configure the service. So that the service will start on boot, you will … Continue reading

Posted in Uncategorized | Leave a comment

Powering on VMware virtual fails “a general system error occurred: unknown error”

Tried to power on a virtual in vsphere and received a generic error: a general system error occurred: unknown error. Turns out a log file had grown too large in the ‘/’ folder. Thanks to this post, I was able … Continue reading

Posted in Uncategorized | Leave a comment

Installing DBD

Trying to install DBD::mysql from CPAN and the install failed, here are the steps I follow: cpan> install DBI … Appending installation info to /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/perllocal.pod /usr/bin/make install — OK cpan> install DBD::mysql … Can’t exec “mysql_config”: No such file or … Continue reading

Posted in Uncategorized | 1 Comment

installing php errors

On CentOS 5.8 while installing php 5.4.6: configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing yum install libc-client-devel http://cpanelforums.net/php-recompilation-errors/ configure: error: mcrypt.h not found. Please reinstall libmcrypt. yum install libmcrypt-devel configure: error: Cannot find libtidy yum install libtidy … Continue reading

Posted in Uncategorized | Leave a comment

SOLVED: passwd: Authentication token manipulation error

I was migrating a server and rather than add all the users one by one, just copied over /etc/passwd and /etc/group. I totally forgot to get /etc/shadow and when I tried to change a user’s password, I got the error: … Continue reading

Posted in Uncategorized | Leave a comment

Trouble starting MySQL on CentOS: Can’t find file: ‘./mysql/plugin.frm’ (errno: 13)

While trying to set up a new MySQL slave on Centos 5, i copied over the /var/lib/mysql directory and made necessary updates but Mysql would not start, in /var/log/mysql.log there was this 120910 13:40:00 mysqld_safe mysqld from pid file /var/lib/mysql/omni1.omniweb.com.pid … Continue reading

Posted in Uncategorized | Leave a comment

Automated MegaRaid monitoring on ESXi 5

I have a couple of MegaRaid controllers (Intel RS2BL040 & LSI 9260-4i) I’m not thrilled with the monitoring software so I wrote this script to email me in the event of a raid problem: There are a couple other pieces … Continue reading

Posted in Uncategorized | 2 Comments

SOLVED: Trouble installing SGMLS on Centos 5

cpan> install SGMLS … Package comes with a Makefile and without a Makefile.PL. We’ll try to build it with that Makefile then. CPAN.pm: Going to build D/DM/DMEGG/SGMLSpm-1.03ii.tar.gz cd DOC; make all make[1]: Entering directory `/root/.cpan/build/SGMLSpm/DOC’ make[1]: Nothing to be done … Continue reading

Posted in Uncategorized | Leave a comment

phpMyAdmin Error #2000 Cannot log in to the MySQL Server

after some upgrades, phpMyAdmin will no longer log in; #2000 Cannot log in to the MySQL Server to fix this I had to update the passwords to the longer version UPDATE user set Password = PASSWORD(‘my_password’) where User=’root’ and Host=’127.0.0.1′; … Continue reading

Posted in Uncategorized | 2 Comments

configure: error: … Error, SSL/TLS libraries were missing or unusable

http://www.webmasterworld.com/apache/4434505.htm env LDFLAGS=”-ldl” ./configure –with-ssl=/usr/local/ssl –enable-ssl –enable-modules=”all” –enable-mods-shared=”most”

Posted in Uncategorized | Leave a comment