April 24th, 2009 by vicky
The file to rebuild is located in /usr/lib/opcenter/sendmail/install/sendmail.mc
Make sure you do backups first:
cp /usr/lib/opcenter/sendmail/install/sendmail.mc /usr/lib/opcenter/sendmail/install/sendmail.mc.bak
After editing the file /usr/lib/opcenter/sendmail/install/sendmail.mc you need to rebuild it to macro format which will be located in /etc/mail/sendmail.cf
m4 /usr/lib/opcenter/sendmail/install/sendmail.mc > /etc/mail/sendmail.cf
voila! it is done, now restart sendmail by “service sendmail restart” and your changes are applied.
Posted in Ensim | No Comments »
March 8th, 2009 by vicky
Not seeing hidden linux files ( dot beginning files) in your ftp you can enable this option in your ftp client. (show linux hidden files). It it does not work you can force your linux ftp server to show them via this command in /etc/proftpd.conf
ListOptions -a
Put it into the conf file and restart proftpd service.
Posted in General linux admin | No Comments »
March 1st, 2009 by vicky
I recently got to administer a few linux boxes and wondered why vi does not show colors when I edit files. Some servers did it, some did not. It was differently set up by datacenter images and I really did not have time to investigate.
Now it just annoyed me because I could not find few syntax errors on one server and here is the solution.
Open up some file in vi or vim and hit ESC, then type “:syntax on” and the magic happens… let there be color
If you do like it without color, type “:syntax off”
Posted in General linux admin | No Comments »
November 5th, 2008 by vicky
Here is how I speed up apache by compressing pages with mod_deflate module and setting higher cache expiration times in mod_expires module. Here is how… Read the rest of this entry »
Posted in General linux admin | No Comments »
October 22nd, 2008 by vicky
Ever wondered how to find out your mysql root password? Well, on Ensim server it is easy to find out.
ensim-python -c “import sys;sys.path.append(\”/usr/lib/opcenter/mysql\”);import mysqlbe;print mysqlbe.read_mysqlpass()”
It it one line command. Execute it from shell logged in as root. Works well
Posted in Ensim, Mysql | No Comments »
October 14th, 2008 by vicky
Ever wondered how to disable the email alert sent when cron is executed? Easy help, there are various ways to achieve this, so feel free to use the one you like the best.
They all work, though. Read the rest of this entry »
Posted in General linux admin | No Comments »
April 29th, 2008 by vicky
I always want to know when root logs in to my server. It is a security measure I cope with in my mailbox deleting mails after I logged in as well. Here is a little help for you all to receive mail when root logs in via ssh.
Read the rest of this entry »
Posted in Security | No Comments »
April 26th, 2008 by vicky
In case your Python is giving your problems on EnsimX server and you get “500 Internal error” errors then thig guide can help you. I found it on ensim forums and it helped me so I saved it for future reference. Read the rest of this entry »
Posted in Ensim | No Comments »
November 4th, 2007 by vicky
After upgrading to EnsimX 10.3.0 or in clean EnsimX 10.3.0 installation there is issue having high MailScanner load.
Take a look at this knowledge base article for a solution.
You just download files that belong to your OS and then run
rpm -Uvh *.rpm
sh upgrade.sh
Posted in Ensim | No Comments »
September 3rd, 2007 by vicky
Despite all efforts EnsimX Pro was still using old www.snakeoil.com certificate instead the one I generated/bought for use for apache ssl. I tried various ways how to fix this but epld service was refusing to start or the snakeoil certificate returned back after a few days.
Here is solution that fixes it :
Read the rest of this entry »
Posted in Ensim | No Comments »