Disable ETags

To alleviate security risks arising from disclosure of information about files and their properties by Apache Web server, disable FileETag directive. For PCI Compliance it is required to disable ETags Create a file at /etc/httpd/conf.d/no-etags.conf with the following: Header unset ETag FileETag None Then of course restart Apache. http://httpd.apache.org/docs/2.2/mod/core.html#FileETag

Plesk 10.X fails to start after upgrade !

Service of the sw-cp-server cannot be started after the Parallels Plesk Panel upgrade. The sw-cp-server fails to start with the following error: /etc/init.d/sw-cp-server start Starting SWsoft control panels server…Duplicate config variable in conditional 0 global: var.sso_username 2011-04-14 05:48:16: (configfile.c.838) source: /usr/share/sw-cp-server/applications-conf.sh line: 72 pos: 11 parser failed somehow near here: (EOL) 2011-04-14 05:48:16: (configfile.c.838) source: […]

Restarting Mail Enable through Plesk (Windows)

In order to restart the Mail server [Mail Enable], please use these steps.  1) Login To Remote Desktop >> “Plesk Services Monitor” [ Right side in the task bar] >> Check the box “Mail Server” >> Click on Restart. OR 2) Login To Remote Desktop >> Start >> Run >> type ” services.msc ” From here, you have […]

Installing qmHandle

qmHandle is a simple program which allows you to view and manage the qmail queue. Installation: wget http://jaist.dl.sourceforge.net/sourceforge/qmhandle/qmhandle-1.3.2.tar.gz tar xvzf qmhandle-1.2.0.tar.gz chmod 777 qmHandle ./qmHandle –h That will show you how to use ./qmHandle Now, i am writing few tips how to use it. /root/qmHandle/ -s Messages in local queue: 0 Messages in remote queue: […]

Creating domain on a freshly added IP address fails in Parallels Panel for Windows

Symptoms Creating domain with hosting on the IP address that has just been added fails and the following error is returned: dnsmng::update() failed: dnsmng failed: Unknown error 0x80131501 (COM Error 80131501, Description: Generic failure ) at resetSecondaries ZoneName = ” transfer={ “” } notify={ “” } at (dnsmng::msdns::MsDnsManager::resetSecondaries line 385) at createPrimaryZone ZoneName = ”(dnsmng::msdns::MsDnsManager::createPrimaryZone […]

Plesk : ProFTPD Remote Code Execution Vulnerability and Exploit

A flaw in the popular ProFTPD FTP server potentially allows unauthenticated attackers to compromise a server. The problem is caused by a buffer overflow in the pr_netio_telnet_gets() function for evaluating TELNET IAC sequences. ProFTPD bug report: http://bugs.proftpd.org/show_bug.cgi?id=3521 Parallels Plesk Panel 9.x, 9.5x and 10 include this vulnerability. Parallels will issue Micro Updates (hotfixes) for 9.5.2 […]

Zone file and corresponding record in named.conf are missed for particular domain

Symptoms Bind DNS server is used. There is no entry in named.conf for some domain, there also no zone file for it in %plesk_bin%dns\var folder. If records are created manually they will be removed the next time Plesk updates named.conf. Cause There is wrong status in dns_zone table for this domain (it is configured to […]

Domain cannot be open in Parallels Plesk Panel: SysUser: unable to select: no such row in the table

The following error is shown when try to open domain in Parallels Plesk Panel 8.x through Domains -> domain.tld: Unable to create SysUser object: SysUser: unable to select: no such row in the table 0: /usr/local/psa/admin/plib/class.DomainControlForm.php:168 DomainControlForm->assign(object of type BsDomain) 1: /usr/local/psa/admin/htdocs/domains/dom_ctrl.php3:149 In Parallels Plesk Panel 9.x through Domains -> domain.tld: Unable to create PHostingManager […]

How do I repair/rebuild all mail configuration files and restore settings for all mailboxes?

Resolution This can be done with Plesk mchk utility: # /usr/local/psa/admin/sbin/mchk –help Synopsis: mchk [OPTION] –without-spam – restore all settings except for SpamAssassin configuration –with-spam – restore all settings –spam-only – restore only SpamAssassin settings This utility rebuilds in line with Plesk database Qmail control files in the /var/qmail/control, /var/qmail/users directories and mail users’ settings. […]