Archive for the ‘Sysadmin’ Category

Sharepoint slow when accessing with Windows Explorer (WebDAV)

Wednesday, November 9th, 2011

When accessing Sharepoint with Windows Explorer (or WebDAV in general) it can react very slow. It can usually be fixed by changing a setting in Internet Explorer. Open Internet Explorer, Alt > Tools > Internet Options > Connections > LAN settings > uncheck Automatically detect settings.

Horde/IMP: The folder “sent-mail” was not created.

Tuesday, October 11th, 2011

When trying to send an e-mail via Horde (Plesk webmail), you'll get following message: The folder "sent-mail" was not created. This is what the server said: Invalid mailbox name. Another problem you can have is that when logging in to the webmail, the redirect to your inbox doesn't work. Cause: If you face ...

Generate .pem file

Friday, May 13th, 2011

To secure a imap/pop3 mailserver with an SSL certificate you'll need to configure an SSL certificate. If you have a certificate request and a certificate file, you can covert them to a .pem file. cat domain.key domain.crt > domain.pem openssl gendh >> domain.pem You can use the generated domain.pem to secure your mailserver.

Expand XFS LVM logical volume

Wednesday, May 11th, 2011

Expand XFS LVM logical volume with 1TB, assuming you have enough free unassigned space on physical partitions. Check the available space: pvscan PV /dev/sdb1 VG vg1 lvm2 [1.06 TB / 0 free] PV /dev/sdb2 ...

PleskFatalException (Plesk 9.x for Windows)

Wednesday, March 9th, 2011

When you try to logon to plesk you'll get an error: ERROR: PleskFatalException wrong id 0: UserClient.php:24 UserClient->__construct(NULL null) 1: class.Session.php:221 Session->getUser() 2: index.php:58 Even when you restart the services / server the error stays. Solution: Open the psa database and clear the sessions table: "delete from sessions"

Monitoring remote system with Nagios and NRPE

Monday, August 9th, 2010

This is a quick tutorial on how to prepare a remote system for monitoring using Nagios NRPE. I'm using 64 bit CentOS in this example (could probably be any RHEL based system) Install NRPE and Nagios Plugins on remote host [root@remotehost ~]# yum install nagios-nrpe nagios-plugins  (these packages are on rpmforge, prepare your system first ...

32-bit ODBC on Windows Server 2008

Monday, April 12th, 2010

If you have to use 32-bit ODBC drivers, you won’t find then when you start the Microsoft ODBC Administrator because it is 64-bit. The 32-bit ODBC Administrator is found here: C:\Windows\SysWOW64\odbcad32.exe or just type in the start menu odbcad32.exe. Coldfusion Error: You can use this workaround when you receive this message: ...

Expand LVM guest filesystem VMware

Wednesday, December 30th, 2009

First, increase the size of the virtual disk (VMDK) by 10GB for example vmware-vdiskmanager -x 10GB /path/machineName.vmdk (vCenter users can increase disk sizes easier via the Settings dialog of the VM) # fdisk /dev/sda n Command action e extended p primary ...

cu – Call up another system

Tuesday, December 29th, 2009

The cu command is used to call up another system and act as a dial in terminal. It can also do simple file transfers with no error checking. The cu command can be installed by installing the uucp package. yum install uucp Connect using the cu-command cu -l /dev/ttyS0  -s 9600 More information can ...

Reset APC PDU password

Friday, December 11th, 2009

Method 1: Serial console, reset, login as apc/apc within 30 secs Method 2: press the reset button in for like 10 seconds then release it then imediately press it in again for literally 1 seccond one of the lights will go orange give it a min and then apc/apc will work for the first login ...