HTTPD doesn’t start After Atmail Installation in Plesk

By: Published: Apr 23rd, 2012 Category: Linux Tips, Linux Virtuozzo, Plesk, Plesk For Linux

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
/etc/psa-webmail/atmail
/etc/psa-webmail/atmail/atmail.conf
/etc/psa-webmail/atmail/atmail_vhost.conf
/etc/psa-webmail/atmail/conf.d
/etc/psa-webmail/atmail/create_db.sql.in
/etc/psa-webmail/atmailcom
/etc/psa-webmail/atmailcom/atmailcom_vhost.conf
/etc/psa-webmail/atmailcom/conf.d
[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 create_db.sql.in
[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 ]
 HTTPD doesnt start After Atmail Installation in Plesk

About

Milind Koyande is the Senior Research Engineer and his job is to work with new technologies, specially Cloud Computing / Virtualization Technology. His past projects include Government Sector initiatives, Backup and Disaster Recovery Solutions.

Tags: , , ,

One Response to “HTTPD doesn’t start After Atmail Installation in Plesk”


  1. cna classes
    on Apr 30th, 2012
    @ 4:08 pm

    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

Subscribe to eITWebguru

© 2012 eITWebguru. All Rights Reserved.