<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>Vicky's server guides</title>
	<atom:link href="http://www.vickysguide.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vickysguide.com</link>
	<description>Linux server administration tips and tricks</description>
	<pubDate>Thu, 17 Jul 2008 23:22:26 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Lynis - security and system auditing tool</title>
		<link>http://www.vickysguide.com/lynis-security-and-system-auditing-tool/</link>
		<comments>http://www.vickysguide.com/lynis-security-and-system-auditing-tool/#comments</comments>
		<pubDate>Wed, 16 Jul 2008 10:31:01 +0000</pubDate>
		<dc:creator>vicky</dc:creator>
		
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.vickysguide.com/lynis-security-and-system-auditing-tool/</guid>
		<description><![CDATA[Michael Boelen, the author of RKHUNTER rootkit checker has made another nice auditing tool - Lynis. It works on many Linux/Debian/MacOS/BSD systems and provides you the admin important information about system configuration and security issues.
Update: On 16th July 2008 there was version 1.1.8 released. I updated this how-to.

The installation is very simple.
cd /root/
wget http://www.rootkit.nl/files/lynis-1.1.8.tar.gz
tar xvfz lynis-1.1.8.tar.gz
rm [...]]]></description>
			<content:encoded><![CDATA[<p>Michael Boelen, the author of RKHUNTER rootkit checker has made another nice auditing tool - Lynis. It works on many Linux/Debian/MacOS/BSD systems and provides you the admin important information about system configuration and security issues.</p>
<p>Update: On 16th July 2008 there was version 1.1.8 released. I updated this how-to.</p>
<p><span id="more-16"></span></p>
<p>The installation is very simple.</p>
<p>cd /root/<br />
wget <a href="http://www.rootkit.nl/files/lynis-1.1.3.tar.gz">http://www.rootkit.nl/files/lynis-1.1.8.tar.gz</a><a href="http://www.rootkit.nl/files/lynis-1.0.8.tar.gz"><br />
</a>tar xvfz lynis-1.1.8.tar.gz<br />
rm -f lynis-1.1.8.tar.gz<br />
cd lynis-1.1.8</p>
<p>now run &#8220;./lynis&#8221; to see all available options.</p>
<p>I prefer running it &#8220;./lynis -c -Q&#8221; so it does complete scan and does not wait after every page for my keypress. There is summary at the end of the scan which gives you info about warnings. I advise you to check all the things it reports. It is very nice tool and I will definitely monitor its future development.</p>
<p>Here is the changelog for version 1.1.8:</p>
<div><span style="font-size: x-small;"></p>
<div><strong><span style="font-weight: bold;">* 1.1.8 (16.07.2008)</p>
<p></span></p>
<div style="margin-left: 40px;"><span style="font-weight: bold;"> New:</span><br />
 - Mac OS X support extended and new options added</p>
<p><span style="font-weight: bold;"> Changes:</span><br />
 - Extended default profile<br />
 - Improved several screen output lines<br />
 - User ID check improved, so it works better with older Solaris versions<br />
 - Hostname in output and reports will contain only host now, not FQDN<br />
 - Added extra php.ini locations to tests_php<br />
 - Replaced &#8216;ps&#8217; in tests with PSBINARY value for better support<br />
 - Added output to zones test [VIRT-1902]<br />
 - Updated description [AUTH-9218]<br />
 - Extended ntp daemon/ntpdate check [TIME-3104]<br />
 - Added suggestion to bootable scripts check [BOOT_5184]<br />
 - Bugfix and improvement for FreeBSD portsclean test [PKGS-7348]<br />
 - Added Mac OS support to MAC address gathering test [NETW-3006]<br />
 - Added MAC OS support to inet and inet6 addresses test [NETW-3008]<br />
 - Extended PHP expose_php test to support additional options [PHP-2372]<br />
 - Improved LDAP test so it skips correctly on Mac OS AUTH-9238]<br />
 - Bugfix: MySQL status check gave incorrect output [DBS-1804]
</div>
<p></strong></div>
<p></span></div>
]]></content:encoded>
			<wfw:commentRss>http://www.vickysguide.com/lynis-security-and-system-auditing-tool/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Root login notification</title>
		<link>http://www.vickysguide.com/root-login-notification/</link>
		<comments>http://www.vickysguide.com/root-login-notification/#comments</comments>
		<pubDate>Tue, 29 Apr 2008 20:43:07 +0000</pubDate>
		<dc:creator>vicky</dc:creator>
		
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.vickysguide.com/?p=19</guid>
		<description><![CDATA[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.

edit file .bash_profile  with command
vi .bash_profile
and then enter [...]]]></description>
			<content:encoded><![CDATA[<p>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.</p>
<p><span id="more-19"></span></p>
<p>edit file .bash_profile  with command</p>
<p>vi .bash_profile</p>
<p>and then enter this line in there:</p>
<p><strong>echo &#8216;ALERT - Root SSH access:&#8217; `date` `who` | mail -s &#8220;Root has logged into by `who | awk &#8216;{print $6}&#8217;`&#8221; <a href="mailto:email@yourdomain.com">email@yourdomain.com</a></strong></p>
<p>the command is pretty straightforward and can be altered any way you like.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vickysguide.com/root-login-notification/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Python problem in EnsimX</title>
		<link>http://www.vickysguide.com/python-problem-in-ensimx/</link>
		<comments>http://www.vickysguide.com/python-problem-in-ensimx/#comments</comments>
		<pubDate>Sat, 26 Apr 2008 08:51:50 +0000</pubDate>
		<dc:creator>vicky</dc:creator>
		
		<category><![CDATA[Ensim]]></category>

		<guid isPermaLink="false">http://www.vickysguide.com/?p=18</guid>
		<description><![CDATA[In case your Python is giving your problems on EnsimX server and you get  &#8220;500 Internal error&#8221; errors then thig guide can help you. I found it on ensim forums and it helped me so I saved it for future reference. 
Here is the error message:
500 Internal error
Internal Server Error
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;
Hints :-
Check logs files in /var/log/ensim/ [...]]]></description>
			<content:encoded><![CDATA[<p>In case your Python is giving your problems on EnsimX server and you get  &#8220;500 Internal error&#8221; errors then thig guide can help you. I found it on ensim forums and it helped me so I saved it for future reference. <span id="more-18"></span></p>
<p>Here is the error message:</p>
<p>500 Internal error<br />
Internal Server Error</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
Hints :-<br />
Check logs files in /var/log/ensim/ for debug information<br />
Ensure URL typed is correct</p>
<p> </p>
<p>And here is what will be in your log :</p>
<p>2007/05/19 15:12:20 HTTP INFO 127.0.0.1 - GET /static/images/subnav_links_bg.gif HTTP/1.1<br />
2007/05/19 15:12:20 HTTP INFO 127.0.0.1 - GET /static/images/sysoption_on.gif HTTP/1.1<br />
2007/05/19 15:12:20 HTTP INFO 127.0.0.1 - GET /isp/services/sendmail/index HTTP/1.1<br />
2007/05/19 15:12:20 INFO Traceback (most recent call last):<br />
File &#8220;/usr/lib/python2.4/site-packages/cherrypy/_cphttptools.py&#8221;, line 271, in run main()<br />
File &#8220;/usr/lib/python2.4/site-packages/cherrypy/_cphttptools.py&#8221;, line 502, in main body = page_handler(*args, **cherrypy.request.paramMap)<br />
File &#8220;/home/build/qa/saber/10.0.0/fc.4/13.fc.4/epl/pudasin13/build/build-boot/epl/frontend/rootapp/isp/services/sendmail/__init__.py&#8221;, line 30, in index<br />
File &#8220;/home/build/qa/saber/10.0.0/fc.4/13.fc.4/epl/pudasin13/build/build-root/epl/frontend/rootapp/pages.py&#8221;, line 78, in kidserialize<br />
File &#8220;/usr/lib/python2.4/site-packages/kid/__init__.py&#8221;, line 283, in serialize return serializer.serialize(self, encoding, fragment, format)<br />
File &#8220;/usr/lib/python2.4/site-packages/kid/serialization.py&#8221;, line 109, in serialize text = &#8221;.join(tuple(<br />
File &#8220;/usr/lib/python2.4/site-packages/kid/serialization.py&#8221;, line 345, in generate for ev, item in self.apply_filters(stream, format):<br />
File &#8220;/usr/lib/python2.4/site-packages/kid/serialization.py&#8221;, line 165, in format_stream for ev, item in stream:<br />
File &#8220;/usr/lib/python2.4/site-packages/kid/parser.py&#8221;, line 218, in _coalesce for ev, item in stream:<br />
File &#8220;/usr/lib/python2.4/site-packages/kid/parser.py&#8221;, line 174, in _track for p in stream:<br />
File &#8220;/usr/lib/python2.4/site-packages/kid/filter.py&#8221;, line 22, in apply_matches for ev, item in stream:<br />
File &#8220;/usr/lib/python2.4/site-packages/kid/parser.py&#8221;, line 174, in _track for p in stream:<br />
File &#8220;/usr/lib/python2.4/site-packages/kid/parser.py&#8221;, line 218, in _coalesce for ev, item in stream:<br />
File &#8220;/usr/lib/ensim/frontend/kidpages/isp/services/sendmail/configuration.py&#8221;, line 63, in _pull<br />
TypeError: generate_content() takes exactly 1 argument (2 given)</p>
<p>And the <strong>fix is</strong> to recompile templates, restart Ensim and reboot server:</p>
<p>cd /usr/lib/ensim/frontend/kidpages/<br />
/usr/bin/kidc -f *<br />
service epld restart<br />
reboot</p>
<p> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.vickysguide.com/python-problem-in-ensimx/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Rkhunter installation</title>
		<link>http://www.vickysguide.com/rkhunter-installation/</link>
		<comments>http://www.vickysguide.com/rkhunter-installation/#comments</comments>
		<pubDate>Sat, 08 Mar 2008 09:37:12 +0000</pubDate>
		<dc:creator>vicky</dc:creator>
		
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.vickysguide.com/rkhunter-installation/</guid>
		<description><![CDATA[Rkhunter is an intrustion detection program for Linux OS which has been widely used by many server administrators. Sometimes there is a false alarm but most of the time you need to check the problematic areas Rkhunter points out.
NEW: Rkhunter v.1.3.2. is available and this how-to is updated. 

Use these commands to install it:
wget http://kent.dl.sourceforge.net/sourceforge/rkhunter/rkhunter-1.3.2.tar.gz
tar [...]]]></description>
			<content:encoded><![CDATA[<p>Rkhunter is an intrustion detection program for Linux OS which has been widely used by many server administrators. Sometimes there is a false alarm but most of the time you need to check the problematic areas Rkhunter points out.</p>
<p><font color="#ff0000">NEW: Rkhunter v.1.3.2. is available and this how-to is updated. </font></p>
<p><span id="more-8"></span></p>
<p>Use these commands to install it:</p>
<p>wget <a href="http://kent.dl.sourceforge.net/sourceforge/rkhunter/rkhunter-1.3.0.tar.gz">http://kent.dl.sourceforge.net/sourceforge/rkhunter/rkhunter-1.3.2.tar.gz</a><a href="http://internap.dl.sourceforge.net/sourceforge/rkhunter/rkhunter-1.2.9.tar.gz"></a><br />
tar xvfz rkhunter*<br />
cd rkhunter-1.3.2<br />
./installer.sh &#8211;layout oldschool &#8211;install</p>
<p><font color="#ff0000"><strong>note the installation difference</strong></font> - my command uses old format for installing rkhunter. If you do not have rkhunter installed or want it to be installed elsewhere follow the install script instructions.</p>
<p>Also, you will need to edit the config file because it is different than previous version. Do so by using this command:</p>
<p> cp /etc/rkhunter.conf /usr/local/etc/rkhunter.conf</p>
<p>It worked for me. Inspect the config file before usage.</p>
<p>After successful installation you can remove this rkhunter-1.3.2 directory.</p>
<p>At this time it is a good idea to create a cron job task to run Rkhunter regularly with email to root mailbox.</p>
<p>crontab -e</p>
<p>and insert these lines in there:</p>
<p><code>10 0 * * * /usr/local/bin/rkhunter –-update &gt; /dev/null 2&gt;&amp;1 # updates Rkhunter’s database<br />
25 0 * * * /usr/local/bin/rkhunter -c –-nocolors –-cronjob –-report-mode –-createlogfile –-skip-keypress –-quiet # runs it in cronjob mode</code></p>
<p>That&#8217;s it! Enjoy this fine piece of software <img src='http://www.vickysguide.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p> Here is the changelog for version 1.3.2: (date is in European format)</p>
<p> * 1.3.2 (27/02/2008)</p>
<p> New:<br />
 - Added support for the socklog and rsyslog (syslog) daemons.<br />
 - Added support for IRIX/IRIX64 systems.<br />
 - If the user wishes to force RKH to use the &#8217;stat&#8217; or &#8216;readlink&#8217;<br />
   supplied scripts, then this can be set in the configuration file.<br />
   The options STAT_CMD and READLINK_CMD, respectively, can be given<br />
   the value of BUILTIN to achieve this. For the &#8217;stat&#8217; script, perl<br />
   must be present.</p>
<p> Changes:<br />
 - Improved the &#8216;unsupported language&#8217; error message so that the user is<br />
   told exactly what command to run in order to see the list of supported<br />
   languages. Added a similar comment in the configuration file.<br />
 - Errors from applications during the application version check are mostly<br />
   now ignored. Improved checking that a valid version has been found.<br />
 - The ALLOW_SSH_ROOT_USER and ALLOW_SSH_PROT_V1 options in the configuration<br />
   file can now be set to &#8216;unset&#8217; and &#8216;2&#8242; respectively. These values indicate<br />
   that the SSH configuration file have no specific value set for the<br />
   corresponding SSH option (&#8217;PermitRootLogin&#8217; and &#8216;Protocol&#8217;). RKH will show<br />
   the test result in green and as &#8216;Not set&#8217;.<br />
 - Application names, in the application check, can now be completely<br />
   whitelisted. Previously only specific versions were whitelisted, and<br />
   RKH had to run the application to find the version. By whitelisting<br />
   the application completely, RKH does not have to run it.<br />
 - The use of the &#8216;pflog&#8217; network interface is now checked for on all *BSD<br />
   systems (not just OpenBSD).<br />
 - Allow i18n language filenames to contain characters other than just letters.</p>
<p> Bugfixes:<br />
 - Scanning the /dev directory in LAZY mode corrupted the pathname being<br />
   tested. Also RKH now handles filenames (in /dev) with spaces correctly.<br />
 - During the test of files in /dev, MAKEDEV was not being automatically<br />
   whitelisted if it exists as an actual file (not a symlink).<br />
 - Ensure the suspscan test removes any files it creates.<br />
 - The MAIL-ON-WARNING configuration file option and the &#8211;no-verbose-logging<br />
   command-line option, are now only logged if the system is being checked.<br />
 - Root equivalent and passwordless account names are now shown correctly.<br />
   Previously, names which contained spaces, for example if the account had<br />
   been manually commented out, were only shown up to the first space character.<br />
 - Whitelisted passwordless account names are now logged.<br />
 - Suspscan warnings were being ignored by the rkhunter summary and return code.<br />
 - Corrected obtaining process names in Solaris for the network ports and<br />
   deleted files tests. Previously they did not report the name correctly, if<br />
   at all.<br />
 - Use of the &#8216;&#8211;debug&#8217; option with the Korn shell was not working correctly.<br />
 - Reset the SIGPIPE handler to its default to avoid pipe output errors.<br />
 - Language files may contain backticks. These are now escaped during<br />
   processing.<br />
 - Unset the MANPATH in the spec file to allow the RPM to be built on<br />
   OpenSuSE systems.<br />
 - The hidden files/directories test would try and run even if no &#8216;file&#8217;<br />
   command was present.<br />
 - Cater for *BSD systems using the fdesc/fdescfs filesystem on /dev/fd.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vickysguide.com/rkhunter-installation/feed/</wfw:commentRss>
		</item>
		<item>
		<title>High MailScanner load in EnsimX 10.3.0</title>
		<link>http://www.vickysguide.com/high-mailscanner-load-in-ensimx-1030/</link>
		<comments>http://www.vickysguide.com/high-mailscanner-load-in-ensimx-1030/#comments</comments>
		<pubDate>Sun, 04 Nov 2007 17:34:58 +0000</pubDate>
		<dc:creator>vicky</dc:creator>
		
		<category><![CDATA[Ensim]]></category>

		<guid isPermaLink="false">http://www.vickysguide.com/high-mailscanner-load-in-ensimx-1030/</guid>
		<description><![CDATA[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
]]></description>
			<content:encoded><![CDATA[<p>After upgrading to EnsimX 10.3.0 or in clean  EnsimX 10.3.0 installation there is issue having high MailScanner load.</p>
<p>Take a look at this <a href="http://onlinesupport.ensim.com/TWKB/ViewCase.asp?KnowledgeID=2505">knowledge base article</a>  for a solution.</p>
<p> You just download files that belong to your OS and then run</p>
<p>rpm -Uvh *.rpm</p>
<p>sh upgrade.sh</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vickysguide.com/high-mailscanner-load-in-ensimx-1030/feed/</wfw:commentRss>
		</item>
		<item>
		<title>EnsimX Pro does not load new ssl certificate.</title>
		<link>http://www.vickysguide.com/ensimx-pro-does-not-load-new-ssl-certificate/</link>
		<comments>http://www.vickysguide.com/ensimx-pro-does-not-load-new-ssl-certificate/#comments</comments>
		<pubDate>Mon, 03 Sep 2007 09:28:56 +0000</pubDate>
		<dc:creator>vicky</dc:creator>
		
		<category><![CDATA[Ensim]]></category>

		<guid isPermaLink="false">http://www.vickysguide.com/ensimx-pro-does-not-load-new-ssl-certificate/</guid>
		<description><![CDATA[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 :

First I generate self-signed [...]]]></description>
			<content:encoded><![CDATA[<p>Despite all efforts EnsimX Pro was still using old <a href="http://www.snakeoil.com/">www.snakeoil.com</a> 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.</p>
<p>Here is solution that fixes it :</p>
<p><span id="more-14"></span></p>
<p>First I generate self-signed certificate for apache ssl and consequently use it for connection with EnsimX Pro by issuing these commands:</p>
<p>on <strong>RHEL 4 /CentOS 4</strong> box:</p>
<p>cd /usr/lib/ensim/frontend/httpd/conf/<br />
mv server.crt server.crt-orig<br />
mv server.key server.key-orig<br />
ln -s /etc/httpd/conf/ssl.crt/server.crt server.crt<br />
ln -s /etc/httpd/conf/ssl.key/server.key server.key<br />
service epld restart</p>
<p> on <strong>RHEL5/CentOS5</strong> box:</p>
<p>cd /usr/lib/ensim/frontend/httpd/conf/<br />
mv server.crt server.crt-orig<br />
mv server.key server.key-orig<br />
cp -f /etc/pki/tls/certs/localhost.crt /etc/httpd/conf/ssl.crt/server.crt<br />
cp -f /etc/pki/tls/private/localhost.key /etc/httpd/conf/ssl.key/server.key<br />
ln -s /etc/httpd/conf/ssl.crt/server.crt server.crt<br />
ln -s /etc/httpd/conf/ssl.key/server.key server.key<br />
service epld restart</p>
<p>Tadaaaaa&#8230; and it works <img src='http://www.vickysguide.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.vickysguide.com/ensimx-pro-does-not-load-new-ssl-certificate/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Daily sendmail stats on Linux server</title>
		<link>http://www.vickysguide.com/daily-sendmail-stats-on-linux-server/</link>
		<comments>http://www.vickysguide.com/daily-sendmail-stats-on-linux-server/#comments</comments>
		<pubDate>Mon, 20 Aug 2007 12:29:27 +0000</pubDate>
		<dc:creator>vicky</dc:creator>
		
		<category><![CDATA[General linux admin]]></category>

		<guid isPermaLink="false">http://www.vickysguide.com/daily-sendmail-stats-on-linux-server/</guid>
		<description><![CDATA[I always wanted to see mail stats on my server, who receives and sends the most mails, what are the busiest hours, etc.. to better track mail problems, catch spammers and to satisfy my admin&#8217;s ego  . I found this little script that goes through senmail&#8217;s log and produces output. In my case I [...]]]></description>
			<content:encoded><![CDATA[<p>I always wanted to see mail stats on my server, who receives and sends the most mails, what are the busiest hours, etc.. to better track mail problems, catch spammers and to satisfy my admin&#8217;s ego <img src='http://www.vickysguide.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> . I found this little script that goes through senmail&#8217;s log and produces output. In my case I will send the output to root via email.</p>
<p>Here are the features that I receive from this little script:</p>
<p><strong>SendmailStats reports:</strong></p>
<ul>
<li>Time/date of log beginning and end</li>
<li>Total bytes transferred and total MB transferred</li>
<li>Total bytes in and total MB in (locally delivered)</li>
<li>Number of messages sent out</li>
<li>Number of messages coming in</li>
<li>Messages per hour graph</li>
<li>Top 20 remote sending hosts</li>
<li>Total number of sending hosts and number of their attempted messages</li>
<li>Top 20 destination hosts</li>
<li>Total number of destination hosts and number of messages sent to them</li>
<li>Top 20 local deliveries</li>
<li>Total number of local accounts that received mail</li>
<li>Total number of messages delivered locally</li>
<li>Top 20 senders</li>
<li>Total number of senders and total number of messages sent<span id="more-13"></span></li>
</ul>
<p><strong>These are the steps that need to be done to make it work:</strong></p>
<p><code><em>wget </em><a href="http://www.reedmedia.net/software/sendmail_stats/sendmail_stats-0.9.txt"><em>http://www.reedmedia.net/software/sendmail_stats/sendmail_stats-0.9.txt</em></a><a href="http://www.reedmedia.net/software/sendmail_stats/sendmail_stats.0.07.txt"></a><br />
<em>mv sendmail_stats-0.9.txt /root/sendmailstats<br />
chmod 755 /root/sendmailstats<br />
vi /root/sendmailstats   </em></code></p>
<p>edit dit the &#8220;$default_hostname = &#8216;EDIT-THIS-default-domain.net&#8217;;&#8221; line matching your hostname</p>
<p><em>vi /etc/cron.daily/smailstats</em></p>
<p>into the file paste this line:</p>
<p><em>/root/sendmailstats &lt; /var/log/maillog | less | mail -s &#8220;sendmail stats&#8221; root</em></p>
<p>Save the file &amp; close it.</p>
<p><em>chmod 755 /etc/cron.daily/smailstats</em></p>
<p>And you are finished. The script will run every day when is your daily cron set and you receive email with the stats.</p>
<p>Die spam! <img src='http://www.vickysguide.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<pre></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.vickysguide.com/daily-sendmail-stats-on-linux-server/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Remove FTP Login Delay With Proftpd</title>
		<link>http://www.vickysguide.com/remove-ftp-login-delay-with-proftpd/</link>
		<comments>http://www.vickysguide.com/remove-ftp-login-delay-with-proftpd/#comments</comments>
		<pubDate>Thu, 16 Aug 2007 13:33:25 +0000</pubDate>
		<dc:creator>vicky</dc:creator>
		
		<category><![CDATA[General linux admin]]></category>

		<guid isPermaLink="false">http://www.vickysguide.com/remove-ftp-login-delay-with-proftpd/</guid>
		<description><![CDATA[I have been noticing a very annoying delay when trying to log in via FTP on servers where I use proftpd. Everything works, but when I try to connect, 5 - 10 seconds pass by before I&#8217;m prompted for my login credentials. After long hour of searching on the internet I found a solution.
 All you need to [...]]]></description>
			<content:encoded><![CDATA[<p>I have been noticing a very annoying delay when trying to log in via FTP on servers where I use proftpd. Everything works, but when I try to connect, 5 - 10 seconds pass by before I&#8217;m prompted for my login credentials. After long hour of searching on the internet I found a solution.</p>
<p> All you need to do is edit the config file which should be <em>/etc/proftpd/proftpd.conf</em>  and place this line within &lt;global&gt; section:</p>
<p><em><strong> IdentLookups Off</strong></em></p>
<p> That should remove the delay and your ftp connection will be initialized very quickly.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vickysguide.com/remove-ftp-login-delay-with-proftpd/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to restart ensim from shell</title>
		<link>http://www.vickysguide.com/how-to-restart-ensim-from-shell/</link>
		<comments>http://www.vickysguide.com/how-to-restart-ensim-from-shell/#comments</comments>
		<pubDate>Wed, 08 Aug 2007 07:55:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Ensim]]></category>

		<guid isPermaLink="false">http://www.vickysguide.com/how-to-restart-ensim-from-shell/</guid>
		<description><![CDATA[During the time Ensim evolved it used to call its servrice either &#8216;webppliance&#8217; or &#8216;epld&#8217; (newer). So the command you need to run as root via shell to restart Ensim is:
If you use version older than 10.x.x
 # service webppliance restart  
If you use version EnsimX for Linux 10.x and higher
# service epld restart
I hope this helps [...]]]></description>
			<content:encoded><![CDATA[<p>During the time Ensim evolved it used to call its servrice either &#8216;webppliance&#8217; or &#8216;epld&#8217; (newer). So the command you need to run as root via shell to restart Ensim is:</p>
<p>If you use version older than 10.x.x</p>
<p> # service webppliance restart  </p>
<p>If you use version EnsimX for Linux 10.x and higher</p>
<p># service epld restart</p>
<p>I hope this helps <img src='http://www.vickysguide.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.vickysguide.com/how-to-restart-ensim-from-shell/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Import and Export MySQL database</title>
		<link>http://www.vickysguide.com/import-and-export-mysql-database/</link>
		<comments>http://www.vickysguide.com/import-and-export-mysql-database/#comments</comments>
		<pubDate>Mon, 06 Aug 2007 15:32:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Mysql]]></category>

		<guid isPermaLink="false">http://www.vickysguide.com/import-and-export-mysql-database/</guid>
		<description><![CDATA[This tutorial section deals with mysqldump which is a tool to import and export MySQL databases.
It can be used to back up a database or to move database information from one server to another.

1. Export A MySQL Database
This example shows you how to export a database. It is a good idea to export your data [...]]]></description>
			<content:encoded><![CDATA[<p><font face="verdana, Arial, Helvetica"><font face="verdana, Arial, Helvetica">This tutorial section deals with mysqldump which is a tool to import and export MySQL databases.</font></font></p>
<p><font face="verdana, Arial, Helvetica"><font face="verdana, Arial, Helvetica">It can be used to back up a database or to move database information from one server to another.</font></font></p>
<p><span id="more-9"></span></p>
<p><font face="verdana, Arial, Helvetica"><font face="verdana, Arial, Helvetica"><strong>1. Export A MySQL Database</strong></font></font></p>
<p><font face="verdana, Arial, Helvetica"><font face="verdana, Arial, Helvetica">This example shows you how to export a database. It is a good idea to export your data often as a backup.</font></font></p>
<p><font size="1"><font color="#008000"># mysqldump -u </font><font color="#ff0000">username</font><font color="#008000"> -p</font><font color="#ff0000">password</font><font color="#008000"> </font><font color="#ff0000">database_name</font><font color="#008000"> &gt; FILE.sql </font></font></p>
<p><font face="verdana, Arial, Helvetica"><font face="verdana, Arial, Helvetica">Replace <font color="#ff0000">username</font>, <font color="#ff0000">password</font> and <font color="#ff0000">database_name</font> with your MySQL username, password and database name.</font></font></p>
<p><font face="verdana, Arial, Helvetica"><font face="verdana, Arial, Helvetica">File FILE.sql now holds a backup of your database, download it to your computer.</font></font></p>
<p><font face="verdana, Arial, Helvetica"><font face="verdana, Arial, Helvetica"><strong>2. Import A MySQL Database</strong></font></font></p>
<p><font face="verdana, Arial, Helvetica"><font face="verdana, Arial, Helvetica">Here, we import a database. Use this to restore data from a backup or to import from another MySQL server.</font></font></p>
<p><font face="verdana, Arial, Helvetica"><font face="verdana, Arial, Helvetica">Start by uploading the FILE.sql file to the server where you will be running this command.</font></font></p>
<p><font face="verdana, Arial, Helvetica"><font face="verdana, Arial, Helvetica"><font size="1"><font color="#008000"># mysql -u </font><font color="#ff0000">username</font><font color="#008000"> -p</font><font color="#ff0000">password</font><font color="#008000"> </font><font color="#ff0000">database_name</font><font color="#008000"> &lt; FILE.sql </font></font> </font></font></p>
<p><font face="verdana, Arial, Helvetica"><font face="verdana, Arial, Helvetica">Replace the parts in red with your own information.</font></font></p>
<p><font face="verdana, Arial, Helvetica"><font face="verdana, Arial, Helvetica">This powerful, easy to use command has many uses. Let&#8217;s say you wanted to switch web hosting providers.</font></font></p>
<p><font face="verdana, Arial, Helvetica"><font face="verdana, Arial, Helvetica">Simply export your data on the old provider&#8217;s server and import it on your account with the new host. </font></font></p>
<p><font face="Verdana">This how-to was copied from clockwatchers.com, thanks!</font></p>
]]></content:encoded>
			<wfw:commentRss>http://www.vickysguide.com/import-and-export-mysql-database/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
