Glad to hear it.
Just for posterity, it occurred to me that another way of fixing this
might have been to run rpm with the --replacefiles option and
courier-authlib-toaster binary rpm, which should be in your
/usr/src/qtp-upgrade/old-rpms folder if you used qtp-newmodel to
install/upgrade your present version.
--
-Eric 'shubes'
On 07/10/2013 12:30 PM, Tom Keyser wrote:
im good. problem solved. yay!
On Wed, Jul 10, 2013 at 11:32 AM, Tom Keyser <[email protected]
<mailto:[email protected]>> wrote:
Thanks Eric.
Could you send the content of the env files too. Thanks
authlib/env:
total 12
-rw-r--r-- 1 root root 10 May 23 17:44 authmodulelist
-rw-r--r-- 1 root root 2 May 23 17:44 daemons
-rw-r--r-- 1 root root 1 May 23 17:44 DEBUG_LOGIN
-rw-r--r-- 1 root root 0 May 23 17:44 DEFAULTOPTIONS
-rw-r--r-- 1 root root 0 May 23 17:44 LOGGEROPTS
On Wed, Jul 10, 2013 at 10:57 AM, Eric Shubert <[email protected]
<mailto:[email protected]>> wrote:
On 07/10/2013 10:06 AM, Tom Keyser wrote:
my /var/qmail/supervise/authlib got blown up somehow. and
authlib wont
start cause the run file is missing. can someone help me
with a default
copy of run and anything else that might be needed.
[root@mail1 authlib]# ls -la
total 12
drwx-----T 3 qmaill qmail 4096 Jul 10 05:17 .
drwxr-xr-x 12 qmaill qmail 4096 Jul 8 02:27 ..
drwx------ 2 root root 4096 Jul 10 10:01 supervise
[root@mail1 authlib]# ls -la supervise/
total 12
drwx------ 2 root root 4096 Jul 10 10:01 .
drwx-----T 3 qmaill qmail 4096 Jul 10 05:17 ..
prw------- 1 root root 0 Jul 10 10:01 control
-rw------- 1 root root 0 Jul 10 05:17 lock
prw------- 1 root root 0 Jul 10 05:17 ok
-rw-r--r-- 1 root root 18 Jul 10 10:01 status
Here is mine. You'll want to remove the 'down' files. I have
those so authlib is disabled, as I'm running dovecot.
[root@tacs-mail supervise]# ls -lR authlib
authlib:
total 16
-rw-r--r-- 1 root root 0 Jul 9 11:09 down
drwx------ 2 qmaill qmail 4096 May 23 17:44 env
drwx------ 3 qmaill qmail 4096 Jul 9 11:13 log
-rwxr-x--x 1 qmaill qmail 160 Aug 4 2012 run
drwx------ 2 qmaill qmail 4096 Jul 9 11:12 supervise
authlib/env:
total 12
-rw-r--r-- 1 root root 10 May 23 17:44 authmodulelist
-rw-r--r-- 1 root root 2 May 23 17:44 daemons
-rw-r--r-- 1 root root 1 May 23 17:44 DEBUG_LOGIN
-rw-r--r-- 1 root root 0 May 23 17:44 DEFAULTOPTIONS
-rw-r--r-- 1 root root 0 May 23 17:44 LOGGEROPTS
authlib/log:
total 8
-rw-r--r-- 1 root root 0 Jul 9 11:13 down
-rwxr-x--x 1 qmaill qmail 189 Aug 4 2012 run
drwx------ 2 root root 4096 Jul 9 11:12 supervise
authlib/log/supervise:
total 4
prw------- 1 root root 0 Jul 9 11:12 control
-rw------- 1 root root 0 Jan 8 2010 lock
prw------- 1 root root 0 Jan 8 2010 ok
-rw-r--r-- 1 root root 18 Jul 9 11:12 status
authlib/supervise:
total 4
prw------- 1 root root 0 Jul 9 11:12 control
-rw------- 1 root root 0 Jan 8 2010 lock
prw------- 1 root root 0 Jan 8 2010 ok
-rw-r--r-- 1 root root 18 Jul 9 11:12 status
[root@tacs-mail supervise]# cat authlib/run
#!/bin/sh
rm -rf ./env/*;
cat /etc/courier/authlib/__authdaemonrc | /usr/bin/envconv
exec /usr/bin/envdir ./env/ \
/usr/libexec/courier-authlib/__authdaemond 2>&1
[root@tacs-mail supervise]# cat authlib/log/run
#!/bin/sh
LOGSIZE=`cat /var/qmail/control/logsize`
LOGCOUNT=`cat /var/qmail/control/logcount`
exec /usr/bin/setuidgid qmaill /usr/bin/multilog t s$LOGSIZE
n$LOGCOUNT /var/log/qmail/authlib
[root@tacs-mail supervise]#
--
-Eric 'shubes'
------------------------------__------------------------------__---------
To unsubscribe, e-mail:
qmailtoaster-list-unsubscribe@__qmailtoaster.com
<mailto:[email protected]>
For additional commands, e-mail:
qmailtoaster-list-help@__qmailtoaster.com
<mailto:[email protected]>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]