<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="home" title="HomePage" href="HomePage.html" />
<link rel="help" title="HowToUseWiki" href="HowToUseWiki.html" />
<link rel="copyright" title="GNU General Public License" href="http://www.gnu.org/copyleft/gpl.html#SEC1" />
<link rel="author" title="The PhpWiki Programming Team" href="http://phpwiki.org/ThePhpWikiProgrammingTeam" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Language" content="en" />
<meta name="robots" content="noindex,nofollow" />
<meta name="language" content="en" />
<meta name="document-type" content="Public" />
<meta name="document-rating" content="General" />
<meta name="generator" content="PhpWiki" />
<meta name="PHPWIKI_VERSION" content="1.3.14" />

<link rel="stylesheet" type="text/css" charset="iso-8859-1" href="phpwiki-printer.css" />
<title>PhpWiki - Troubleshooting FAQ</title>
</head>
<body>

<div id="header">
  
<!-- Page title -->
<h1>Troubleshooting FAQ</h1>
</div>
<div id="content">



<div class="wikitext"><p class="tightenable top bottom"><a href="AdministrationFAQ.html" class="wiki">AdministrationFAQ</a> |
<a href="InstallationFAQ.html" class="wiki">InstallationFAQ</a> |
<a href="SecurityFAQ.html" class="wiki">SecurityFAQ</a> |
<b>TroubleshootingFAQ</b> |
<a href="Tweaking%20FAQs.html" class="wiki">Tweaking FAQs</a>
<br /> <a name="top" id="top"></a></p>
<hr />
<p class="tightenable top"><i>back to</i> <a href="SME%20Server%20FAQs.html" class="wiki">SME Server FAQs</a></p>
<ul><li class="tightenable bottom"><big><a href="TroubleshootingFAQ.html#servicecmd" class="named-wiki" title="">Important: use of the &quot;service&quot; command.</a></big></li>
<li class="tightenable top bottom"><a href="TroubleshootingFAQ.html#servermanager1" class="named-wiki" title="">Why do I get &quot;access denied&quot; when I try to access the server-manager?</a></li>
<li class="tightenable top bottom"><a href="TroubleshootingFAQ.html#servermanager2" class="named-wiki" title="">Where are links on the left part of the server-manager?</a></li>
<li class="tightenable top bottom"><a href="TroubleshootingFAQ.html#servermanager3" class="named-wiki" title="">In the server-manager, the logo hides some links. Why?</a></li>
<li class="tightenable top bottom"><a href="TroubleshootingFAQ.html#kernel" class="named-wiki" title="">I tried to install SME, but I got a &quot;kernel image not found&quot; error</a></li>
<li class="tightenable top bottom"><a href="TroubleshootingFAQ.html#cgi" class="named-wiki" title="">Why don't my CGI scripts run?</a></li>
<li class="tightenable top bottom"><a href="TroubleshootingFAQ.html#scsi1" class="named-wiki" title="">During installation on my system with SCSI drives, I get an error: &quot;I can't find the device anywhere on your system&quot;</a></li>
<li class="tightenable top bottom"><a href="TroubleshootingFAQ.html#scsi2" class="named-wiki" title="">SCSI: the system did not recognize the hard disk as being bootable. What happened?</a></li>
<li class="tightenable top bottom"><a href="TroubleshootingFAQ.html#logrotate" class="named-wiki" title="">I received an e-mail concerning /var/lib/logrotate.status. What does this mean?</a></li>
<li class="tightenable top bottom"><a href="TroubleshootingFAQ.html#startmail" class="named-wiki" title="">I received an e-mail with the subject: &quot;/etc/startmail&quot;, with only dots in message body.</a></li>
<li class="tightenable top bottom"><a href="TroubleshootingFAQ.html#burnCD" class="named-wiki" title="">I burned my SME installation CD  with Nero software, but installation failed.</a></li>
<li class="tightenable top bottom"><a href="TroubleshootingFAQ.html#mailinglist" class="named-wiki" title="">e-mail of mailing lists redirected in the letter-box of the administrator?</a></li>
<li class="tightenable top bottom"><a href="TroubleshootingFAQ.html#ping" class="named-wiki" title="">Ping:&quot;Warning: No SO_TIMESTAMP support, falling back to SIOCGSTAMP &quot;. What does it mean?</a></li>
<li class="tightenable top bottom"><a href="TroubleshootingFAQ.html#raid1" class="named-wiki" title="">During shutdown, I get an entry concerning RAID software containing &quot;md1 not unmounted&quot;. Is this normal?</a></li>
<li class="tightenable top bottom"><a href="TroubleshootingFAQ.html#installFailed" class="named-wiki" title="">The update or the installation fails.</a></li>
<li class="tightenable top bottom"><a href="TroubleshootingFAQ.html#raid2" class="named-wiki" title="">Why is only half of the disk space available on my RAID 1 system?</a></li>
<li class="tightenable top bottom"><a href="TroubleshootingFAQ.html#boot" class="named-wiki" title="">After the installation, boot stop on LI...</a></li>
<li class="tightenable top bottom"><a href="TroubleshootingFAQ.html#defaultPassword" class="named-wiki" title="">Is there a default admin password for SME?</a></li>
<li class="tightenable top bottom"><a href="TroubleshootingFAQ.html#lostPassword" class="named-wiki" title="">I lost or forgot the root/admin password, what can I do?</a></li>
<li class="tightenable top bottom"><a href="TroubleshootingFAQ.html#VPN1404" class="named-wiki" title="">I VPN with an XP into SME and get: mppe_compress 0: osize too small! (have: 1400 need: 1404) in SME system.log</a></li>
<li class="tightenable top bottom"><a href="TroubleshootingFAQ.html#clamdx2e.sock" class="named-wiki" title="">ClamAV - amavis: cannot connect to, cannot delete clamd.sock</a></li>
<li class="tightenable top bottom"><a href="TroubleshootingFAQ.html#QmailConcurrency" class="named-wiki" title="">Out of memory, unresponsive machine, high load, hdd swapping due to virus/spam attacks</a></li>
<li class="tightenable top bottom"><a href="TroubleshootingFAQ.html#upload_size" class="named-wiki" title="">Cannot upload files larger than x MB via webmail, php, http, squid or in general</a></li>
<li class="tightenable top bottom"><a href="TroubleshootingFAQ.html#IMAP" class="named-wiki" title="">IMAP connection problems and timeouts for no apparent reason at about more than 30 IMAP boxes</a></li>
<li class="tightenable top bottom"><a href="TroubleshootingFAQ.html#procmail1" class="named-wiki" title="">Mail processing for certain users does not work after Spamassassin was installed</a></li>
<li class="tightenable top"><a href="TroubleshootingFAQ.html#php_basedir" class="named-wiki" title="">PHP  Warning: (...) open_basedir restriction ifinstalling anything PHP related in ibay</a></li>
</ul>
<h4><a href="TroubleshootingFAQ.html#top" class="named-wiki" title="">*</a> <big><a name="servicecmd" id="servicecmd">Important: use of the &quot;service&quot; command.</a></big></h4>
<p class="tightenable">The &quot;service&quot; command only sometimes works on SME (so you should never use it). It is not aware of the configuration database, nor is it aware of &quot;supervise&quot;.</p>
<p class="tightenable bottom">Don't:</p>
<blockquote class="mail-style-quote tightenable top"><p class="tightenable top bottom">service qmail stop <br /></p>
</blockquote>
<p class="tightenable bottom">Do instead:</p>
<blockquote class="mail-style-quote tightenable top"><p class="tightenable top bottom">/etc/rc7.d/S*qmail stop <br /></p>
</blockquote>
<p class="tightenable bottom"><small>Charlie Brady</small></p>
<hr />
<h4><a href="TroubleshootingFAQ.html#top" class="named-wiki" title="">*</a> <a name="servermanager1" id="servermanager1">Why do I get &quot;access denied&quot; when I try to access the server-manager?</a></h4>
<p class="tightenable top bottom">This error occurs when SME thinks that an access request for &quot;server-manager&quot; is coming from outside your local area network (this is forbidden for security reasons). If your system has only one Ethernet card, verify that your SME Server is in &quot;Server only&quot; mode.<br />
If you use two Ethernet cards, SME (in &quot;Server and Gateway&quot; mode) will automatically assign one card to your local area network and the other one to an external connection. Initially, you must know which card is assigned to which network, and if you get this error message, try switching your network cables.<br />
<br />
This error also occurs when a user name or a password is invalid. A common error trying to connect to &quot;server-manager&quot; as the 'root' user - only the 'admin' user is authorized.</p>
<hr />
<h4><a href="TroubleshootingFAQ.html#top" class="named-wiki" title="">*</a> <a name="servermanager2" id="servermanager2">Where are links on the left part of the server-manager?</a></h4>
<p class="tightenable top bottom">Some users have seen only an empty frame (on the left side in the server-manager window) after having connected to server-manager. This is because you are connected as user &quot;root&quot;, and not as &quot;admin&quot;.
<br /> <br />
You must be connected as &quot;admin&quot;, and not as &quot;root&quot;. The password is also accepted for the root user, however &quot;root&quot; does not have privileges necessary to use server-manager, and the result is an empty menu.</p>
<hr />
<h4><a href="TroubleshootingFAQ.html#top" class="named-wiki" title="">*</a> <a name="servermanager3" id="servermanager3">In the server-manager, the logo hides some links. Why?</a></h4>
<p class="tightenable top bottom">Some older browsers did not understand the HTML Meta-tag directive DIV, and displayed it incorrectly. Browsers known to have this problem are: <br />
KDE Konqueror <br />
Microsoft Internet Explorer 3 <br />
Netscape 4.x (the Linux and Windows versions) <br />
Generally, reloading the page will correct the problem with Netscape. I'm also not seeing this issue with Konqueror v3.2.1 .<br /></p>
<hr />
<h4><a href="TroubleshootingFAQ.html#top" class="named-wiki" title="">*</a> <a name="kernel" id="kernel">I tried to install SME, but I got a &quot;kernel image not found&quot; error</a></h4>
<p class="tightenable top bottom">Type &quot;accept&quot; to accept the license before pressing the enter key at the prompt.</p>
<hr />
<h4><a href="TroubleshootingFAQ.html#top" class="named-wiki" title="">*</a> <a name="cgi" id="cgi">Why don't my CGI scripts run?</a></h4>
<p class="tightenable top bottom">The execution of cgi scripts can be enabled/disabled for each i-bay, when the new i-bay is created.
For the Primary ibay, use the following instructions:
<br /> <br />
Please note that the use of scripts cgi can pose a security problem. The administrator should check each cgi script before authorizing their activation on a server.
<br /> <br />
Important notes about cgi:<br />
The root directory for the Web server is <tt>'/home/e-smith/files/ibays/primary/'</tt> .<br />
This directory has three sub-directories, cgi-bin, HTML, and files. Cgi scripts used by your primary Web pages (www.yourdomain.com) are placed in the &quot;cgi-bin&quot; directory, and your HTML files in the HTML directory. Cgi Scripts are referenced in your web page(s) by the relative path /cgi-bin/'yourscript'.<br />
For example: <br /> <br />
<tt>'FORM METHOD</tt>&quot;post&quot; ACTION=&quot;/cgi-bin/my_script&quot;'=
<br /> <br />
To use this script you will have to make it executable. Put your script in /home/e-smith/files/primary/cgi-bin directory. Open a session (SSH) on SME server as root user. Type this command:
<br /> <br />
<tt>'chmod a+x /home/e-smith/files/primary/cgi-bin/your_script'</tt>
<br /> <br />
(This will set the permissions to authorize everyone to execute this file). <br />
Close the terminal session on SME. This order will make script runnable, and usable.<br />
For security reasons, 'root' user must make this file runnable.<br />
Therefore any user wanting to use a cgi script must ask the system administrator (root) to activate it.
<br /> <br />
Cgi scripts used in i-bays are referenced by the path <tt>'/my_ibay_name/cgi-bin/my_script'</tt> .</p>
<hr />
<h4><a href="TroubleshootingFAQ.html#top" class="named-wiki" title="">*</a> <a name="scsi1" id="scsi1">During installation on my system with SCSI drives, I get an error: &quot;I can't find the device anywhere on your system&quot;</a></h4>
<p class="tightenable top bottom">I installed SME on my system with SCSI drives. The system asked me to select my SCSI driver, then I get the error message &quot;I can't find the device anywhere one your system&quot;. What has happened, and what must I do to fix it?
<br /> <br />
We have seen some situations in which our installation procedure detects and correctly initializes the SCSI adapter, but does not realize that was done. It therefore asks the user to choose a driver. If you select one of them, you get the message &quot;I can't find the device anywhere one your system&quot;. If you see this error, just select &quot;Back&quot; rather than to choose a driver, and the installation should continue normally.</p>
<hr />
<h4><a href="TroubleshootingFAQ.html#top" class="named-wiki" title="">*</a> <a name="scsi2" id="scsi2">SCSI: the system did not recognize the hard disk as being bootable. What happened?</a></h4>
<p class="tightenable top bottom">You should check that your SCSI adapter contains a SCSI BIOS. You can check for it by looking for a message coming from SCSI BIOS, at the initial stages of the startup process (Other messages will appear - you must look specifically for messages coming from the SCSI BIOS).
<br /> <br />
SCSI Adapters on our list of supported hardware are provided with a BIOS. However, some OEM versions of these adapters can have missing functionalities, such as the BIOS. There is no solution for this, except to buy a new SCSI adapter, that is provided with a BIOS.</p>
<hr />
<h4><a href="TroubleshootingFAQ.html#top" class="named-wiki" title="">*</a> <a name="logrotate" id="logrotate">I received an e-mail concerning /var/lib/logrotate.status. What does this mean?</a></h4>
<p class="tightenable top bottom">The heading of e-mail must look like:
<br /> <br />
<tt>'From: Cron Daemon '</tt> <br />
<tt>'To: root@foo.com '</tt> <br />
<tt>'Subject: Cron run-shares /etc/cron.daily '</tt> <br />
<tt>'Body: '</tt> <br />
<tt>'error: bad line N in state file /var/lib/logrotate.status '</tt> <br />
<br />
This problem appears when a Windows computer on the network has a computer name with a space. This e-mail can be ignored without problems. This issue was solved starting from version 4.0.1.</p>
<hr />
<h4><a href="TroubleshootingFAQ.html#top" class="named-wiki" title="">*</a> <a name="startmail" id="startmail">I received an e-mail with the subject: &quot;/etc/startmail&quot;, with only dots in message body.</a></h4>
<p class="tightenable top bottom">These inoffensive messages are progress indicators when fetchmail recovers messages.<br />
To stop 'admin' receiving  these messages posted by cron, you must set fetchmail verbose property with -- silent. You can do this by typing the following command (you must be logged in as root). Note that the latest versions of SME Server do not use fetchmail.
<br /> <br />
<tt>'/sbin/e-smith/db configuration setprop fetchmail Verbosity &quot;--silent&quot;'</tt> <br />
<tt>'/sbin/e-smith/signal-event email-update'</tt> <br /></p>
<hr />
<h4><a href="TroubleshootingFAQ.html#top" class="named-wiki" title="">*</a> <a name="burnCD" id="burnCD">I burned my SME installation CD  with Nero software, but installation failed.</a></h4>
<p class="tightenable top bottom">Several users reported problems using Nero to burn ISO images in mode 1. The reason is Nero software is harder to use than the majority of CD-burning software. This problem seems to be addressed in the recent Nero versions (5 or 6).</p>
<hr />
<h4><a href="TroubleshootingFAQ.html#top" class="named-wiki" title="">*</a> <a name="mailinglist" id="mailinglist">e-mail from mailing lists are redirected in the Inbox of the administrator?</a></h4>
<p class="tightenable top bottom">Please refer to the manual for more information about SME and multidrop mails.<br />
This problem can not be solved on SME, because the information is already lost by the time SME gets the email. This problem can be solved by one of these solutions:
<br /> <br />
Use SME smtp server as your email server (as opposed to your ISP's email server).<br />
Use ETRN mode to receive e-mail from your ISP.<br />
Ask your ISP to add a specific header detailing the &quot;envelope recipient&quot; of the message (this is not the field &quot;To:&quot;), and use SME server to distribute the email as multidrop.</p>
<hr />
<h4><a href="TroubleshootingFAQ.html#top" class="named-wiki" title="">*</a> <a name="ping" id="ping">Ping:&quot;Warning: No SO_TIMESTAMP support, falling back to SIOCGSTAMP &quot;. What does it mean?</a></h4>
<p class="tightenable top bottom">This is a visual problem which does not have any known effect on the system. This problem is inherited from <a href="RedHat.html" class="wiki">RedHat</a>.
For more details take a look <a href="http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=19952" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />here</span></a> .</p>
<hr />
<h4><a href="TroubleshootingFAQ.html#top" class="named-wiki" title="">*</a> <a name="raid1" id="raid1">During shutdown, I get an entry concerning RAID software containing &quot;md1 not unmounted&quot;. Is this normal?</a></h4>
<p class="tightenable top bottom">This is normal, and should occur at each system shutdown. There are tricks to control the RAID system update before shutdown, and sometimes the kernel keeps state informations making it possible to finish the RAID update at next start. <br />
You will probably see a message for this purpose with the next boot.</p>
<hr />
<h4><a href="TroubleshootingFAQ.html#top" class="named-wiki" title="">*</a> <a name="installFailed" id="installFailed">The update or the installation fails.</a></h4>
<p class="tightenable top bottom">If you start the system from a floppy disk: create another boot floppy disk by using a freshly-formatted floppy, preferably formatted on the target machine. A boot floppy needs to be 100% empty so that the installation/update can be done.
<br /> <br />
If you start the system from a CD-ROM: generally, this problem is the result of a corrupted ISO file. You will have also similar messages if the CDROM hardware cannot be detected. The image might have been corrupted during downloading, or when burning it to the CD. You can check integrity of the ISO file by using md5sum program included in the most current linux distributions, or available <a href="http://www.etree.org/md5com.html" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />here</span></a>.</p>
<hr />
<h4><a href="TroubleshootingFAQ.html#top" class="named-wiki" title="">*</a> <a name="raid2" id="raid2">Why is only half of the disk space available on my RAID 1 system?</a></h4>
<p class="tightenable top bottom">For the RAID functions to run correctly, the two hard disk's geometry must be identical. To correct this problem, backup your system. Then, check that the two discs use the BIOS &quot;NORMAL&quot; mode (&quot;NORMAL&quot; means &quot;Just say the truth about the disk&quot;).
<br /> <br />
If a partition table is found on the disc, this information will crush the geometry information specified by the BIOS. To delete the partition table, execute the following commands, as a root:<br /> <br />
The hda and hdc entries below are used with the assumption that the two identical drives are connected/configured as the Master drives on two separate IDE controllers (as they should be), and that any other drives in the system have not been given these designations. Red Hat typically does a good job with this, but of course you should still check. <br /> <br />
<code> 'dd if=/dev/zero of=/dev/hda bs=512 count=1' </code> <br />
<code> 'dd if=/dev/zero of=/dev/hdc bs=512 count=1' </code> <br />
<br />
Install SME again, and check that the disk space is reported correctly. Once this checked, restore your data.</p>
<hr />
<h4><a href="TroubleshootingFAQ.html#top" class="named-wiki" title="">*</a> <a name="boot" id="boot">After the installation, system boot stops on LI...</a></h4>
<p class="tightenable top bottom">There are many causes for this problem, which is a symptom of failure to load the second level of the LILO bootloader. The usual cause of this problem is a bad  disc geometry definition. Many solutions can be found in the Linux Guide for the beginners (Linux Newbie Guide), <a href="http://linux-newbie.sunsite.dk" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />here</span></a>.</p>
<hr />
<h4><a href="TroubleshootingFAQ.html#top" class="named-wiki" title="">*</a> <a name="defaultPassword" id="defaultPassword">Is there a default admin password for SME?</a></h4>
<p class="tightenable top bottom">There is no default password. If you install from a CD pressed by Mitel or a CD created from an offical SME ISO file, you will be asked to create a system password during the installation.</p>
<hr />
<h4><a href="TroubleshootingFAQ.html#top" class="named-wiki" title="">*</a> <a name="lostPassword" id="lostPassword">I lost or forgot the root/admin password, what can I do?</a></h4>
<p class="tightenable top">Follow these steps to reset the password for root/admin - <br /></p>
<p class="tightenable bottom">Reboot the server, <br />
when the SME graphic comes up at boot-time. <br />
Press: CTRL+X - This puts lilo into text input mode. <br />
Press: TAB - This provides a list of available kernels. <br />
Note the correct kernel name. <br />
Type in: 'kernel-name' single  <br />
Press: ENTER - This boots SME into single user mode and logs you on without a root password but with SU powers! <br /></p>
<blockquote class="tightenable top bottom"><p class="tightenable top bottom"><br /></p>
</blockquote>
<p class="tightenable top bottom">Type in: passwd root <br />
Press: ENTER <br />
Type in: 'the-new-root-password' <br />
Press: ENTER <br />
Type in: 'the-new-root-password' again to confirm <br />
Press: ENTER <br /></p>
<blockquote class="tightenable top bottom"><p class="tightenable top bottom"><br /></p>
</blockquote>
<p class="tightenable top bottom">Type: passwd admin <br />
Press: ENTER <br />
Type in: 'the-new-admin-password' (should be the same as root) <br />
Press: ENTER <br />
Type in: 'the-new-admin-password' again to confirm <br />
Press: ENTER <br /></p>
<blockquote class="tightenable top bottom"><p class="tightenable top bottom"><br /></p>
</blockquote>
<p class="tightenable top bottom">Type: init 7 <br />
Press: ENTER <br /></p>
<hr />
<h4><a href="TroubleshootingFAQ.html#top" class="named-wiki" title="">*</a> <a name="VPN1404" id="VPN1404">I VPN with Windows XP into SME and get: mppe_compress 0: osize too small! (have: 1400 need: 1404) in SME system.log</a></h4>
<p class="tightenable">Add to XP Registry:</p>
<p class="tightenable"><tt>REGEDIT4 <br />
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\netlogon\parameters]
&quot;requiresignorseal&quot;=dword:00000000 <br />
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Netlogon\Parameters]
&quot;requirestrongkey&quot;=dword:00000000
&quot;requiresignorseal&quot;=dword:00000000 <br />
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\Netlogon\Parameters]
&quot;requirestrongkey&quot;=dword:00000000
&quot;requiresignorseal&quot;=dword:00000000 <br />
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters]
&quot;requirestrongkey&quot;=dword:00000000
&quot;requiresignorseal&quot;=dword:00000000</tt></p>
<p class="tightenable bottom">On XP, right click on the VPN icon and select properties:</p>
<ul><li class="tightenable top bottom">Click on the Networking tab</li>
<li class="tightenable top bottom">Click on the Settings button</li>
<li class="tightenable top bottom">&quot;Enable LCP Extensions&quot; should be checked</li>
<li class="tightenable top bottom">&quot;Enable Software Compression&quot; should be checked</li>
<li class="tightenable top">&quot;Negotiate multi-link for single link connection should be checked</li>
</ul>
<p class="tightenable bottom">Explanation from Damian Curtian (without warranty): <br />
<i>&quot;It's something to do with the MTU size on SME (1400) matching the XP MTU size but then when you add the VPN encapsulation (extra 4 bytes) it creates packets larger than SME accepts (1400 bytes becomes 1404 IIRC). That means every full packet from XP is discarded by SME as being oversize but any fragment packets (less than 1396 bytes before VPN encap) are passed OK. TCP retries seem to mask any errors as none show up on the XP box. Setting multilink forces SME to go to 1600 bytes - thus removing the problem.&quot;</i></p>
<hr />
<h4><a href="TroubleshootingFAQ.html#top" class="named-wiki" title="">*</a> <a name="clamdx2e.sock" id="clamdx2e.sock">ClamAV - amavis: cannot connect to, cannot delete clamd.sock</a></h4>
<p class="tightenable">Stop ClamAV <br />
<tt>service clamd stop</tt></p>
<p class="tightenable">Remove or rename clamd.sock from /var/lib/clamav/ <br />
<tt>mv clamd.sock clamd.sock.old</tt></p>
<p class="tightenable">Start ClamAV <br />
<tt>service clamd start</tt></p>
<p class="tightenable bottom">If that does not work: uninstall/reinstall ClamAV</p>
<hr />
<h4><a href="TroubleshootingFAQ.html#top" class="named-wiki" title="">*</a> <a name="QmailConcurrency" id="QmailConcurrency">Out of memory, unresponsive machine, high load, hdd swapping due to virus/spam attacks</a></h4>
<p class="tightenable">This reduces the # of threads the server will use to process mail to reduce the point load but not the absolute load on the server:</p>
<p class="tightenable"><tt>/sbin/e-smith/db configuration setprop qmail ConcurrencyRemote 10 <br />
/sbin/e-smith/db configuration setprop qmail ConcurrencyLocal 10 <br />
/sbin/e-smith/signal-event email-update <br />
/etc/init.d/qmail restart</tt></p>
<p class="tightenable bottom"><small>smeghead</small></p>
<hr />
<h4><a href="TroubleshootingFAQ.html#top" class="named-wiki" title="">*</a> <a name="upload_size" id="upload_size">Cannot upload files larger than x MB via webmail, php, http, squid or in general</a></h4>
<p class="tightenable">Anything using php should have it's limit set high to 50Mbyte with these 4 lines of code.</p>
<blockquote class="mail-style-quote tightenable"><p class="tightenable top bottom"><code> /sbin/e-smith/config setprop php PostMaxSize 50000000 <br />
/sbin/e-smith/config setprop php UploadMaxFilesize 50000000 <br />
/etc/e-smith/events/actions/conf-php <br />
/etc/rc.d/init.d/httpd-e-smith graceful</code></p>
</blockquote>
<p class="tightenable">No harm will be done ... just adjust 50000000 if you want less or more. If the machine slows down, maybe even starts thrashing you may want to give also time&amp;space:</p>
<blockquote class="mail-style-quote tightenable"><p class="tightenable top bottom"><code> /sbin/e-smith/config setprop php MaxExecutionTime 1800 <br />
/sbin/e-smith/config setprop php MemoryLimit 100M <br />
/etc/e-smith/events/actions/conf-php <br />
/etc/rc.d/init.d/httpd-e-smith graceful</code></p>
</blockquote>
<h4>Raising the http upload size in squid</h4>
<blockquote class="mail-style-quote tightenable"><p class="tightenable top bottom"><code> mkdir -p /etc/e-smith/templates-custom/etc/squid/squid.conf</code></p>
</blockquote>
<p class="tightenable">Place template fragment into temlplate directory:</p>
<blockquote class="mail-style-quote tightenable"><p class="tightenable top bottom"><code> echo &quot;request_body_max_size 20 MB&quot; &gt; /etc/e-smith/templates-custom/etc/squid/squid.conf/85request_body_max_size</code></p>
</blockquote>
<p class="tightenable">Expand (activate) Template:</p>
<blockquote class="mail-style-quote tightenable"><p class="tightenable top bottom"><code> /sbin/e-smith/expand-template /etc/squid/squid.conf</code></p>
</blockquote>
<p class="tightenable">Restart squid to enable new settings:</p>
<blockquote class="mail-style-quote tightenable"><p class="tightenable top bottom"><code> /etc/init.d/squid restart</code></p>
</blockquote>
<h4>2nd way</h4>
<blockquote class="mail-style-quote tightenable"><p class="tightenable top bottom"><code> /sbin/e-smith/expand-template /etc/squid.conf <br />
touch /etc/e-smith/templates-custom/etc/squid/squid.conf/76UploadLimit</code></p>
</blockquote>
<p class="tightenable">Edit the file 76UploadLimit and fill in:</p>
<blockquote class="mail-style-quote tightenable"><p class="tightenable top bottom"><code>
{ <br />
# this sets the HTTP Upload Limit; 0 is unlimted <br />
} <br />
request_body_max_size 50 MB <br />
</code></p>
</blockquote>
<p class="tightenable">After request_max_body_size must be new/additional line!</p>
<p class="tightenable">Restart squid:</p>
<blockquote class="mail-style-quote tightenable"><p class="tightenable top bottom"><code>service squid restart</code></p>
</blockquote>
<p class="tightenable bottom"><small>smeghead, Red Beard, Darrel May</small></p>
<hr />
<h4><a href="TroubleshootingFAQ.html#top" class="named-wiki" title="">*</a> <a name="IMAP" id="IMAP">IMAP connection problems and timeouts for no apparent reasons at about more than 30 IMAP boxes</a></h4>
<p class="tightenable">This might help:</p>
<blockquote class="mail-style-quote tightenable"><p class="tightenable top bottom"><code>
/sbin/e-smith/config setprop imap ConcurrencyLimit 200 <br />
/etc/e-smith/events/actions/imap-conf <br />
svc -t /service/imap </code></p>
</blockquote>
<p class="tightenable bottom"><small>Charlie Brady</small></p>
<hr />
<h4><a href="TroubleshootingFAQ.html#top" class="named-wiki" title="">*</a> <a name="procmail1" id="procmail1">Mail processing for certain users does not work after Spamassassin was installed</a></h4>
<p class="tightenable">Explanation: This happens because the users are created BEFORE Spamassassin is installed.
For updatinng the old users created before Spamassasin was installed, execute this command:</p>
<p class="tightenable bottom">a)</p>
<blockquote class="mail-style-quote tightenable top"><p class="tightenable top bottom"><code>
/sbin/e-smith/signal-event user-modify</code></p>
</blockquote>
<p class="tightenable bottom">b) if you have lazy admin toolkit installed:</p>
<blockquote class="mail-style-quote tightenable top"><p class="tightenable top bottom"><code>
lat-procmail -c &quot;*| enable| no| none| normal</code></p>
</blockquote>
<p class="tightenable bottom"><small>PicsOne, hordeusr</small></p>
<hr />
<h4><a href="TroubleshootingFAQ.html#top" class="named-wiki" title="">*</a> <a name="php_basedir" id="php_basedir">PHP  Warning: (...) open_basedir restriction if installing anything PHP related in ibay</a></h4>
<p class="tightenable">Related to open_basedir setting in php.ini file. SME does not allow PHP in /tmp or /usr/share. This is a security measure. PHP values are set per ibay in the template:</p>
<p class="tightenable"><tt>/etc/httpd/conf/httpd.conf/95AddType00PHP2ibays</tt></p>
<p class="tightenable">There you can set the basedir (or the includedir) for all ibays by changing the template.</p>
<p class="tightenable">These commands solves it, tmp could be another location where PHP wants to write.</p>
<blockquote class="mail-style-quote tightenable"><p class="tightenable top bottom"><code>
/sbin/e-smith/db accounts setprop &lt;ibayname&gt; PHPBaseDir /home/e-smith/files/ibays/&lt;ibayname&gt;/:/tmp <br />
/sbin/e-smith/signal-event ibay-modify &lt;ibayname&gt;</code></p>
</blockquote>
<p class="tightenable bottom"><small>Medimo, eekb, deunan</small></p>
</div>

<div id="footer">  <hr class="printer" noshade="noshade" />
<p class="editdate">Owner: &quot;Maelvon&quot;  Last edited on January 30, 2006  5:09 pm by &quot;Maelvon&quot;</p>
</div>

</div>
<!-- Add your Disclaimer here -->
</body>
</html>
