Can’t Receive but can send emails (DirectAdmin)

If you can’t receive emails, but you can send emails, try rebuilding dovecot.

 

cd /usr/local/directadmin/custombuild
./build todovecot

I ran into this issue after rebuilding all in DirectAdmin.

How To Install RPMForge Repo and Nagios

To install RPMForge do the following:

 

wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm

rpm –import http://apt.sw.be/RPM-GPG-KEY.dag.txt

rpm -i rpmforge-release-0.5.2-2.el5.rf.*.rpm

And RPMForge is now installed as a repo.

 

Now to install Nagios and Nagios NRPE do:

yum install nagios nagios-plugins

 

How to Delete Data From Splunk Indexer

This will NOT remove the data from the disk drive, however, it will remove it from the indexer and you won’t be able to search it.

Find the host you want to delete from indexing:

host=”hostname”

Now, pipe it, |

add delete

You should end up with:

host=”hostname” | delete

Now, let it run and it’ll finish!

More >

Setup Splunk Forwarder in a few easy steps

I had issues configuring the Splunk forwarder and figured I’d share my step by step process.  This is for a 64 bit, download the 32bit RPM if you have a 32bit system.

 

wget -O /tmp/splunkforwarder-4.2.3-105575-linux-2.6-x86_64.rpm 'http://www.splunk.com/index.php/download_track?file=4.2.3/universalforwarder/linux/splunkforwarder-4.2.3-105575-linux-2.6-x86_64.rpm&ac=ga0508_s_splunk&wget=true&name=wget&typed=releases'

rpm -ivh /tmp/splunkforwarder-4.2.3-105575-linux-2.6-x86_64.rpm

$SPLUNKHOME/splunk start --accept-license
$SPLUNKHOME/splunk enable boot-start
$SPLUNKHOME/splunk add forward-server Splunk-Master-Server:Port-Receiving-Is-Configured-On (9997 default) More >

How to Install Zend and Ioncube in cPanel

Login as root (in SSH), and run the following:

/scripts/phpextensionmgr install IonCubeLoader
/scripts/phpextensionmgr install Zendopt