On Wed, 15 Jul 1998, Philip Hazel wrote:
= On Tue, 14 Jul 1998, Sherwood Botsford wrote:
=
= > LOG: 0 PANIC
= > Cannot open main log file "/var/spool/exim/log/main": Permission denied
=
= > [root@rondo exim]# ls -lR /var/spool/exim
= > drwxrwxrwx 2 root root 1024 Jul 14 14:18 log
=
= What are the permissions on /var/spool/exim itself? And on /var/spool?
Red Hat Linux release 4.2 (Biltmore)
Kernel 2.0.30 on an i586
System is a lib5c.
Docs say that exim will create spool directories as needed.
[root@rondo ~]# ls -ld /var /var/spool
drwxr-xr-x 12 root root 1024 Jul 13 05:13 /var
drwxr-xr-x 8 root root 1024 Jul 15 10:48 /var/spool
First run:
Leaves a new directory
[root@rondo ~]# ls -ld /var/spool/exim
drwxr-x--- 2 root root 1024 Jul 15 10:48 /var/spool/exim
****
However:
The following steps solve the problem.
1. chown mail /opt/exim/bin/exim
2. chmod u+s /opt/exim/bin/exim
(On this system chown clears the setuid flag)
3. rm -rf /var/spool/exim
4. mkdir /var/spool/exim
5. chown mail /var/spool/exim
Is this likely to get me into other trouble?
Sherwood Botsford | email avatar@???
Sorcerers Apprentice | Office CAB 642B
System Administrator | Tel: 403 492 5728
Trouble shooter | Fax: 403 492 6826
--
*** Exim information can be found at
http://www.exim.org/ ***