Feb 08
2012HTTPD doesn’t start After Atmail Installation in Plesk
Filed Under (Linux Tips, Linux Virtuozzo, Plesk, Plesk For Linux) by Milind on 08-02-2012
After installation of Atmail Webmail Client, while restarting Apache it throws following Syntax Error:
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“
/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/“
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
After that we were able to start the httpd service successfully.
Stopping httpd: [FAILED]
Starting httpd: [ OK ]


