How to access Plesk database

APPLIES TO: Plesk for Windows Answer Plesk Database can be accessed by following steps below depending on the database provider are configured in current Plesk installation. For MSSQL provider: Database can be accessed using the following CLI command: C:\Program Files\Microsoft SQL Server\80\Tools\Binn\osql –E Or Microsoft SQL Server Management Studio Express utility can be used. For… Continue reading How to access Plesk database

Named rndc.key error when starting

When trying to restart named process after making modifications may end up in a corrupt rndc.key key and the error will show like this: Sep 12 03:30:54 server named[23683]: /etc/rndc.key:1: configuring key ‘rndc-key’: bad base64 encoding Sep 12 03:30:54 server named[23683]: loading configuration: bad base64 encoding Sep 12 03:30:54 server named[23683]: exiting (due to fatal… Continue reading Named rndc.key error when starting

Windows integration notes

Make program default editor for a file type Shift-right-click on a file of a type; this forces the ‘open with’. Click ‘Choose program’, find it, and select the checkbox that tells windows to always open files of this type. Change IE ‘view source’ program Folder: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\View Source Editor\Editor Name has a default key that… Continue reading Windows integration notes

error: stat of /var/log/cron failed: No such file or directory

Hi guys… Today I faced a issue with a new VPS installed with EZ template Centos 5.2. I was preparing the VPS with logwatch, apf and other security and got cron error under roots mail. Cron errors shows log errors : /etc/cron.daily/logrotate: error: stat of /var/log/boot.log failed: No such file or directory error: stat of… Continue reading error: stat of /var/log/cron failed: No such file or directory

How to compile ‘QUOTA’ support for your FreeBSD server.

I need file system quota support for FreeBSD server. Quick and Dirty How to compile ‘QUOTA’ support for your FreeBSD server. Please see: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/quotas.html for more detailed instructions. To complete the following you will need to have to ssh access to your host server along with full root access. Login to the remote host via… Continue reading How to compile ‘QUOTA’ support for your FreeBSD server.

How to bind a range of IP’s in Redhat based linux

How to bind a range of IP’s in Linux This method is used by Redhat Linux based servers (Centos/RedhatEnterprise/FedoraCore). Create a file called /etc/sysconfig/network-scripts/ifcfg-eth0-range0 And in the file place these 3 lines but change the IP’s to match YOUR assigned range. ## Start IPADDR_START=67.18.xxx.xxx IPADDR_END=67.18.xxx.xxx CLONENUM_START=0 # Example | IPADDR_START=67.18.333.440 # Example | IPADDR_END=67.18.333.444 #… Continue reading How to bind a range of IP’s in Redhat based linux

How to bind a range of IP’s in Debian based linux

Problem: I would like to bind all 5 of my usable IP’s to the ‘eth0’ device Solution: Just define a new interface in /etc/network interfaces: ## Start auto eth0 auto eth0:0 auto eth0:1 auto eth0:2 auto eth0:3 iface eth0 inet static address 192.168.1.2 netmask 255.255.255.248 gateway 192.168.1.1 iface eth0:0 inet static address 192.168.1.3 netmask 255.255.255.248… Continue reading How to bind a range of IP’s in Debian based linux

How to bind a range of IP’s on BSD based hosts ( FreeBSD, OpenBSD )

First login to your FreeBSD host as a ‘non-root’ user. You should have an account in the ‘wheel’ group that you can do this with. Once you have logged in run the following commands to switch users to ‘root’ su – Password: server# The prompt should have a # in it now meaning you are… Continue reading How to bind a range of IP’s on BSD based hosts ( FreeBSD, OpenBSD )