Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: HTTPD doesn’t start After Atmail Installation in Plesk  (Read 1907 times)

0 Members and 1 Guest are viewing this topic.

vinayakk

  • Guest
HTTPD doesn’t start After Atmail Installation in Plesk
« on: December 29, 2013, 11:43:45 pm »
After installation o f 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.

 :)