httpd and exim are not working

cagatayh

Verified User
Joined
Sep 22, 2009
Messages
9
Hi,

Yesterday i started to take errors as "Got error 28 from storage engine" on my forum. I couldn't login in Direct Admin although my admin password is correct.. Anyway, i've deleted some of my files in server.

Today i'm able to login in direct admin succesfully but i realized that

exim Process is stopped
httpd Process is stopped

From ssh it's like that:
Code:
[root@vps4566 /]# /etc/init.d/httpd restart
Stopping httpd:                                            [FAILED]
Starting httpd:

[root@vps4566 /]# service exim start
Starting exim:

In Direct Admin /var/log/mainlog

Code:
Sep 30 18:32:26 vps4566 exim[13453]: exim: could not open panic log - aborting: see message(s) above
Sep 30 18:33:01 vps4566 exim[17461]: 2013-09-30 18:33:01 exim 4.80.1 daemon started: pid=17461, -q15m, listening for SMTP on port 25 (IPv6 and IPv4) port 587 (IPv6 and IPv4)

Sep 30 18:33:01 vps4566 exim[17461]: 2013-09-30 18:33:01 Cannot open main log file "/var/log/exim/mainlog": Permission denied: euid=8 egid=12

Sep 30 18:33:01 vps4566 exim[17461]: exim: could not open panic log - aborting: see message(s) above

I don't know what i gotta do. My website is closed.

Thanks
 
Must be a permission problem. Did you accidentally change permissions on /var/log or something? You better check all the permissions and ownerships of /var/log
 
There was no dir as /var/log/exim and there was only error_log file in /var/log/httpd.

I got some help and i run some queries as touch /var/log/exim/mainlog, chown -R mail.mail /var/log/exim...

Now everything is ok..
 
Back
Top