Archive for the ‘Sysadmin’ Category

Install 32-bit Reporting Services on a 64-bit Windows 2003

Monday, November 3rd, 2008

I followed a MS how-to: http://msdn.microsoft.com/en-us/library/ms143293(SQL.90).aspx However, the last step (allowing 32-bit .NET) was not possible because the 32-bit Web Server Extension was not there. I ran the following to register it; C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis -i Refresh the Web Server Extensions and Allow “ASP.NET v2.0.50727 (32-bit)”. MS procedure; ...

Access Plesk databases

Wednesday, October 29th, 2008

When using mySQL;Username for admin mySQL user is the same as the admin cp passwor.mysql -P8306 -uadmin -p mysql> use psa; When using MSDE;osql -E >use psa; >go When using MDB;Edit database using Access:C:\Program Files\SWsoft\Plesk\admin\db\psa.mdb

Windows iSCSI dynamic disk does not reconnect after reboot

Thursday, October 16th, 2008

It's not possible; Dynamic disks (applies to Windows 2000 and Windows Server 2003): Configuring volumes on iSCSI disks as Dynamic disk volumes using the Microsoft software iSCSI initiator is not currently supported. It has been observed that timing issues may prevent dynamic disk volumes on iSCSI disks from being reactivated ...

Nagios sends e-mail from localhost.localdomain

Tuesday, October 7th, 2008

If you have a default linux/nagios installation, nagios will send e-mail from nagios@localhost.localdomein. Even if you change the contact in your nagios configuration, it will keep sending e-mails from localhost.localdomain. Why? Nagios uses the default sendmail configuration to send Alerts. How to resolve? Change the sendmial configuration: # yum install sendmail-cf # vi /etc/mail/sendmail.mc Change the following: dnl MASQUERADE_AS(`mydomain.com')dnl to MASQUERADE_AS(`yourdomain.com')dnl Then ...

Creating the show desktop icon in Windows

Tuesday, October 7th, 2008

Active Desktop includes a feature that allows one to minimize all active Windows, so one can easily access the icons on the desktop. The feature is called "Show Desktop" and is accessed through an icon on the Quicklaunch bar. If the icon "Show Desktop" is missing in your Quicklaunch bar, then ...

Install persistent VNC server on Ubuntu

Thursday, October 2nd, 2008

Installing a persistent VNC service can be tricky. The following worked for us on Ubuntu 8.04 (you probably need to enable root). Install x11vnc and xinetd sudo apt-get install x11vnc xinetdCreate VNC password file x11vnc -storepasswd Find gdm auth file ps wwaux | grep auth Returns something like this, you need the file ...

VMware guest clock runs ahead or behind

Wednesday, October 1st, 2008

In our case occured on VMware server running on a dual Xeon Windows 2003 server (x64) with an i386 CentOS 5 guest. Changes on guest; In /etc/grub.conf add "clock=pit nosmp noapic nolapic" to kernel line; kernel /vmlinuz.... clock=pit nosmp noapic nolapic Changes on host; Edit VMX file of guest and add (or ...

Disable the E-mail alert by the cronjob commands

Friday, September 26th, 2008

To prevent the sending of errors and output, add any one of the following at the end of the line for each cron job to redirect output to /dev/null. >/dev/null 2>&1. OR &> /dev/null

Sharepoint install: 32 bit emulation mode in IIS

Wednesday, September 24th, 2008

If you are running the Microsoft Sharepoint Services installer on a x64 machine with Microsoft Windows 64 bit installed and you get an error like this: IIS is running in 32-bit emulation mode, please fix this error to continue'. You must run the following script from the command line: CScript "%SystemDrive%\InetPub\AdminScripts\adsutil.vbs" set w3svc/AppPools/Enable32bitAppOnWin64 ...

How to access the embedded database used by sharepoint

Wednesday, September 24th, 2008

Sharepoint likes to use the Embedded version of SQL Server when you choose a stand-alone install of WSS.  Normally, this is not an issue but there are times when you need to get into that database.  Unfortunately, getting into that database is considerably more difficult than you might expect. ...