I tried today to connect to an old Samba server (ver. 2.2!!!) running on a developement Solaris box with a new account. I thought it would be a 2-minute job, however it made me through more than 2 hours into the waste bin as the connection failed with the very useful error message:
“System error 86 has occurred.”
Archive for the ‘Linux’ category
Samba Authentication Issues
February 18th, 2010Fighting with Exim Queues
February 3rd, 2010Although I am fond of Sendmail, I have to admin that there are lot of other respectable MTAs that do a great job, are very very powerful and are far easier to install, configure and administer. Due to my numerous CPanel servers I usually have to work with Exim MTA and perform various operations on my mail queues. Here are some very useful commands for Exim MTA. » Read more: Fighting with Exim Queues
Exim Mass Mail Delete from Queue
November 26th, 2009If your server suffers from a spamming attack through an exploited web site or any other means it is probable that you want to delete all offending mails. Below we provide a very useful script which does exactly this. It scans through your mail queues and deletes all mail that match the sended or the recipient address you specify. In order to use it login to your server using SSH and execute the command: » Read more: Exim Mass Mail Delete from Queue
Addon Domain Error: Domain Owned from other user
November 3rd, 2009” Error from domain wrapper: howto.gr is owned from another user “
This can happens due to various reasons and it can be very tricky to resolve. The solution is to completely remove every entry regarding the howto.gr and creating it again. Thus you should edit the following files: » Read more: Addon Domain Error: Domain Owned from other user
CPanel transfer account fails with “Timeout during ssh session”
October 24th, 2009When you try to move an account from one CPanel server to another through SSH you may get an error like:
“Packaging the account… … Timeout during ssh session … Retrying….”
besides the fact that SSH seems to be working on the remote host. In such cases you should login through SSH on the target server and try to SSH back to the source server and troubleshoot the connection problems. Two of the most common issues are: » Read more: CPanel transfer account fails with “Timeout during ssh session”
Upgrade ClamAV on CPanel Servers
October 11th, 2009It is a common question for CPanel administrators why Cpanel does not keep ClamAV up to date. I don’t have the answer but i can demonstrate a simple workaround to upgrade clamav yourself with as little work as possible. You can identify if you use an old ClamAV version if you execute the command “freshclam” and the output is something like: » Read more: Upgrade ClamAV on CPanel Servers
Linux on VMware Time Sync
October 8th, 2009It is a common problem on virtual machines to loose time synchronization with the hardware clock. This can lead to serious problems regarding services operations as well as log consolidation. VMware’ s knowledge base has lot of information regarding the issue. We choose to implement NTP time synchronization on our Datacenter, thus the only option for our virtual machines is to configure NTP to work with VMware Virtual Machines. Below we are going to demonstrate the required configuration on a CentOS 5 server running on VMware VSphere 4.0 infrastructure. » Read more: Linux on VMware Time Sync
Roundcube WebMail on CPanel Servers
October 7th, 2009Roundcube webmail is a very promising Open Source webmail client. With CPanel 11 installing RoundCube is quite easy and with no file editing of CPanel files. To install roundcube you should first download RoundCube Webmail from http://roundcube.net/ . Unzip the software somewhere and upload all files and folders (maybe with WinSCP) to your server in the folder “/usr/local/cpanel/base/3rdparty/roundcube”. » Read more: Roundcube WebMail on CPanel Servers
Exim Ignore MX Record
October 5th, 2009There are some cases where you want to ignore the configured MX record in order to deliver e-mails for a domain and instead deliver them to a preconfigured server. A very common situation where you want to do this is when you provide advanced anti virus and anti spam solutions to your clients. In those cases you want any mail delivered for a domain to be forwarded to you advanced anti virus/anti spam server. Below we will show you how to do this and forward any mail for cphelp.gr and all it’s sub domains to the server superantispam.cphelp.gr instead of the MX record that shows mail.cphelp.gr. » Read more: Exim Ignore MX Record
Samba PDC and Kolab
October 1st, 2009Our project is to replace in our corporate all MS Windows servers. The new environment should be compatible with simple users habits and the transition from Microsoft servers to Linux servers must be completely transparent to the end user. The first step towards this is to provide a Windows Domain functionality with Samba Server v3. As long as we also want to replace MS Exchange Server, we choose Kolab 2 as a replacement. Both Samba and Kolab should share the same ldap user database and a common administration GUI. The following procedure requires knowledge of Linux Administration. » Read more: Samba PDC and Kolab