Snmpd filling up /var/log/messages

At work we have a central monitoring system for servers called Cacti, this uses standard snmp connections to servers to get their status, disk usage, CPU performance. On my CentOS linux servers the standard snmpd daemon works well with Solarwinds but the monitoring server seems to make a lot of connections to the system and each one gets logged via the syslog daemon to /var/log/messages giving...
Continue reading Snmpd filling up /var/log/messages

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

Hey Guys, If you facing issue " shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory " for restarting service whaterver mysql,httpd,etc, just do "cd or cd / " on console it will resolved. [root@domU-taging]# /etc/init.d/mysqld restart shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such...
Continue reading shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

Using Mutt to send email

Mutt is a popular email client (MUA) which is common on Linux systems. Given below are some how-tos on basic uses of mutt. For all UNIX utilities, the "man pages" are your best bet to learn them. I’ve just documented some popular uses of mutt. Refer the "man pages" for a more comprehensive understanding of mutt. The commands below have been tested on Red Hat Enterprise Linux 4.0 AS Update 7...
Continue reading Using Mutt to send email
,

MySQL Table is marked as crashed and last (automatic?) repair failed

If you have a table in mysql that has crashed and your attempts to repair it using mysqlcheck have failed, then you may have to resort to the lower level myisamchk command. To use this, you will need to stop the server process (usually service mysqld stop or /etc/init.d/mysqld stop) and then find the data files (usually in /var/lib/mysql/databasename). You can then run the following command against...
Continue reading MySQL Table is marked as crashed and last (automatic?) repair failed

CentOS: Install Yum

1. Login to your container/VPS via ssh as the root user. 2. Determine which version of CentOS you are running. cat /etc/redhat-release The output will be either: CentOS release 6.2 (Final) or: CentOS release 5.7 (Final) or: CentOS release 5.6 (Final) or: CentOS release 5.5 (Final) 3. Paste the commands for your CentOS version to your command line. CentOS 6.2: rpm -Uvh --nodeps...
Continue reading CentOS: Install Yum

VOS3000 Installation Manual

How to install VOS3000 soft switch. 1- Install CentOS 5.5 or latest. 2- Choose minimum installation 3- Choose Server mode only don’t install KDE or GNOME. 4- Run the following command    #yum update       (to update the CentOS) 5- Better to install webmin to manage CentOS remotely.      # cd  /var   # wget http://prdownloads.sourceforge.net/webadmin/webmin-1.530-1.noarch.rpm   #...
Continue reading VOS3000 Installation Manual