[exim] Solaris 10 exim startup xml script failure

Page principale
Supprimer ce message
Répondre à ce message
Auteur: John Horne
Date:  
À: Exim users
Sujet: [exim] Solaris 10 exim startup xml script failure
Hello,

Has anyone used the Exim startup script for Solaris 10 as given in the
wiki: http://wiki.exim.org/Solaris10Smf

I have just installed Solaris 10 for the first time, so needless to say
it all seems a bit new! However, if I use the 'svcadm' commands as the
wiki suggests it (the scripts) work fine. If I reboot the system then I
get a load of messages in the file
'/etc/svc/volatile/site-exim:default.log' saying:

============================================================
[ Jul 23 17:36:21 Method "start" exited with status 0 ]
[ Jul 23 17:36:21 Stopping because all processes in service exited. ]
[ Jul 23 17:36:21 Executing stop method ("/usr/local/exim/smf-script
stop") ]
[ Jul 23 17:36:21 Method "stop" exited with status 0 ]
[ Jul 23 17:36:21 Executing start method ("/usr/local/exim/smf-script
start") ]
[ Jul 23 17:36:21 Method "start" exited with status 0 ]
[ Jul 23 17:36:21 Stopping because all processes in service exited. ]
[ Jul 23 17:36:21 Executing stop method ("/usr/local/exim/smf-script
stop") ]
[ Jul 23 17:36:21 Method "stop" exited with status 0 ]
[ Jul 23 17:36:21 Executing start method ("/usr/local/exim/smf-script
start") ]
[ Jul 23 17:36:21 Method "start" exited with status 0 ]
[ Jul 23 17:36:21 Stopping because all processes in service exited. ]
[ Jul 23 17:36:21 Executing stop method ("/usr/local/exim/smf-script
stop") ]
[ Jul 23 17:36:21 Method "stop" exited with status 0 ]
[ Jul 23 17:36:21 Restarting too quickly, changing state to
maintenance ]
============================================================

Nothing is actually written to the exim log file. However,
in /var/log/syslog I get:

============================================================
Jul 23 17:36:21 lib-srvr1 exim[172]: [ID 197553 mail.crit] 2007-07-23
17:36:21 exim 4.67 daemon started: pid=172, -q15m, listening for SMTP on
port 25 (IPv4)
Jul 23 17:36:21 lib-srvr1 exim[172]: [ID 197553 mail.crit] 2007-07-23
17:36:21 Cannot open main log file "/usr/local/exim/logs/main.log":
Read-only file system: euid=60003 egid=6
Jul 23 17:36:21 lib-srvr1 exim[172]: [ID 197553 mail.crit] exim: could
not open panic log - aborting: see message(s) above
Jul 23 17:36:21 lib-srvr1 exim[190]: [ID 197553 mail.crit] 2007-07-23
17:36:21 exim 4.67 daemon started: pid=190, -q15m, listening for SMTP on
port 25 (IPv4)
Jul 23 17:36:21 lib-srvr1 exim[190]: [ID 197553 mail.crit] 2007-07-23
17:36:21 Cannot open main log file "/usr/local/exim/logs/main.log":
Read-only file system: euid=60003 egid=6
Jul 23 17:36:21 lib-srvr1 exim[190]: [ID 197553 mail.crit] exim: could
not open panic log - aborting: see message(s) above
Jul 23 17:36:21 lib-srvr1 exim[206]: [ID 197553 mail.crit] 2007-07-23
17:36:21 exim 4.67 daemon started: pid=206, -q15m, listening for SMTP on
port 25 (IPv4)
Jul 23 17:36:21 lib-srvr1 exim[206]: [ID 197553 mail.crit] 2007-07-23
17:36:21 Cannot open main log file "/usr/local/exim/logs/main.log":
Read-only file system: euid=60003 egid=6
Jul 23 17:36:21 lib-srvr1 exim[206]: [ID 197553 mail.crit] exim: could
not open panic log - aborting: see message(s) above
============================================================

As can be seen it seems that at the time of starting exim the file
system is read-only, and so nothing can be written to any log files.
Hence exim stops.

Does anyone have a solution for this? I'm not quite sure why the system
is read-only, and from what I have googled so far, the startup scripts
seem fine. All the other services startup okay, and the system is
generally okay (no disk problems, etc to cause a read-only situation).
The '/usr' is not a separate file system, but is part of root (/).



Thanks for any advice,

John.

-- 
---------------------------------------------------------------
John Horne, University of Plymouth, UK  Tel: +44 (0)1752 233914
E-mail: John.Horne@???       Fax: +44 (0)1752 233839