HTTPD doesn’t start After Atmail Installation in Plesk

After installation of Atmail Webmail Client, while restarting Apache it throws following Syntax Error:

[root@server ~]# service httpd start
Starting httpd: httpd: Syntax error on line 210 of /etc/httpd/conf/httpd.conf: Syntax error on line 6 of /etc/httpd/conf.d/zzz_atmail_vhost.conf: Include directory ‘/etc/psa/webmail/atmail/conf.d’ not found [FAILED]

First we will have to check where atmail is installed. We can do that by querying the RPM files using option “rpm -ql

[root@server ~]# rpm -ql psa-atmail-1.02-cos5.build92091210.17 | grep etc
[root@server ~]#

The above output shows that the files are created in “/etc/psa-webmail/” directory instead of “/etc/psa/webmail/

[root@server ~]# ls -al /etc/psa-webmail/atmail
total 28
drwxr-xr-x 3 root root 4096 Dec 28 10:37 .
drwxr-xr-x 5 root root 4096 Dec 28 10:37 ..
-rw-r–r– 1 root root 122 Dec 10 11:54 atmail.conf
-rw-r—– 1 root apache 14 Aug 19 2009 .atmail.shadow
-rw-r–r– 1 root root 2932 Dec 10 11:54 atmail_vhost.conf
drwxr-xr-x 2 root root 4096 Dec 10 11:54 conf.d
-rw-r–r– 1 root root 200 Dec 10 11:54
[root@server etc]#

So, copy the file to relevant directory as in the conf file of httpd service

[root@server ~]# cp -a /etc/psa-webmail/atmail /etc/psa/webmail/

After that we were able to start the httpd service successfully.

[root@server etc]# /etc/init.d/httpd restart
Stopping httpd: [FAILED]
Starting httpd: [ OK ]

About: Mike

Milind Koyande loves to work on new technologies specially virtualization and troubleshoot server problems. I’m an avid photographer and love to spend my free time close to nature, trying to capture its glory on my camera.

One thought on “HTTPD doesn’t start After Atmail Installation in Plesk”

  1. Wonderful goods from you, man. I have be mindful your stuff previous to and you are simply extremely fantastic. I actually like what you’ve obtained right here, certainly like what you are stating and the way by which you say it. You’re making it entertaining and you continue to care for to keep it wise. I can’t wait to learn much more from you. This is actually a terrific website.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.