Re: [qmailtoaster] Re: /tmp/clamd.socket is in use by another process was Re: supervise: fatal: unable to start log/run: file does not exist

2014-07-03 Thread Diana Calder
Hello Eric,

Wednesday, July 2, 2014, 1:09:03 PM, you wrote:

 Sorry about the clamd/clamav confusion. The package name is clamav.

 You have the latest version from .qt., but I'm curious as to how you got
 the testing version, if that repo is disabled (as it should be now in 
 most setups).

I double-checked and it was disabled BUT I don't remember whether I
ran a yum clean all after I changed it (nor do I remember exactly when
I changed it), so I did a yum clean all and ran another yum update
(there weren't any).

 That's where the the problem lies though. The testing version is the 
 first version to include the init.d file for clamd instead of the 
 supervise setup. I thought that rpm would remove the old supervise run
 file since it's not part of the package any more, but it appears I'll 
 need to put some code in the rpm spec file to do that 'manually'.

Ah. Okay, that makes sense.

 I think the best fix for you at this point will be to simply get rid of
 the /var/qmail/supervise/clamd/ directory. You might move it to /root/
 as a backup rather than simply deleting it. It'd be safest to do this 
 with qmail/supervise stopped, so that supervise doesn't get confused. 
 You might then need to service clamd start to get clamd running before
 starting qmail back up.

I did a reboot after moving the directory yesterday afternoon, just to
make sure that everything works cleanly.

 That should fix it for you.

Yes, the toaster ran happily overnight and was still fine this
morning, so it looks like all is well.

 Thanks for testing this out, even though it was apparently inadvertent.
 We all appreciate your help.

Well, at least we found the problem and resolved it relatively
quickly. Thanks for the assistance! When you're a one-gal IT
department, outside help is greatly appreciated when running into
these sorts of situations. There's too many things on the server side
of things that only come up once in a blue moon and I just don't
remember exactly how to resolve them without a little assistance.
Sometimes my Google-fu suffices but, for the times when it doesn't,
lists like this one are essential!


-- 
Best regards,
 Diana Calder mailto:dcal...@essexcountylibrary.ca
Automation Technician(519) 776-5241 x.131
Essex County Library
Essex, ON


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] Re: /tmp/clamd.socket is in use by another process was Re: supervise: fatal: unable to start log/run: file does not exist

2014-07-02 Thread Diana Calder

Monday, June 30, 2014, 6:03:11 PM, Eric wrote:

 Yeah, it's trying to run from both supervise and init.d.

That's what I thought - the question is, how do I fix this without
accidentally making things worse? (Well, the *other* question is, what
caused the problem in the first place, but at the moment I'm more
interested in solving it.)

 Which clamd version is installed?

[root@qmail ~]# yum list clamd
Loaded plugins: fastestmirror, priorities, refresh-packagekit
Loading mirror speeds from cached hostfile
 * base: less.cogeco.net
 * extras: less.cogeco.net
 * qmailtoaster-current: mirror2.qmailtoaster.com
 * qmailtoaster-current-nodist: mirror2.qmailtoaster.com
 * remi: rpms.famillecollet.com
 * rpmforge: ftp.heanet.ie
 * updates: mirror.science.uottawa.ca
162 packages excluded due to repository priority protections
Available Packages
clamd.x86_64  0.98.4-1.el6.rf   rpmforge

Okay, that was odd. One clamd package available but none installed. So, try a 
slight variation...

[root@qmail ~]# yum list clam*
Loaded plugins: fastestmirror, priorities, refresh-packagekit
Loading mirror speeds from cached hostfile
 * base: less.cogeco.net
 * extras: less.cogeco.net
 * qmailtoaster-current: mirror2.qmailtoaster.com
 * qmailtoaster-current-nodist: mirror2.qmailtoaster.com
 * remi: rpms.famillecollet.com
 * rpmforge: ftp.heanet.ie
 * updates: mirror.science.uottawa.ca
162 packages excluded due to repository priority protections
Installed Packages
clamav.x86_64   0.98.4-0.qt.el6@qmailtoaster-testing
Available Packages
clamav-db.x86_640.98.4-1.el6.rfrpmforge 
clamav-devel.x86_64 0.98.4-1.el6.rfrpmforge 
clamav-milter.x86_640.98.4-1.el6.rfrpmforge 
clamd.x86_640.98.4-1.el6.rfrpmforge 
clamtk.noarch   4.25-1.el6.rf  rpmforge

Okay, looks like the package is actually clamav not clamd and I have
version 0.98.4-0 installed.

As for my qmailtoaster itself:

Installed Packages
qmailtoaster-release.noarch  2.0-1.qt.nodist   installed

Installed Packages
qmailtoaster-util.noarch  2.0-1.qt.nodist   @qmailtoaster-current-nodist

qmailtoaster-testing is disabled in my repos and qmailtoaster-current
is enabled (and set to a slightly higher priority than the testing
repo back when I changed over from testing to current, just in case
that made any difference).

-- 
Best regards,
 Diana Calder mailto:dcal...@essexcountylibrary.ca
Automation Technician(519) 776-5241 x.131
Essex County Library
Essex, ON


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



[qmailtoaster] Re: /tmp/clamd.socket is in use by another process was Re: supervise: fatal: unable to start log/run: file does not exist

2014-07-02 Thread Eric Shubert

Sorry about the clamd/clamav confusion. The package name is clamav.

You have the latest version from .qt., but I'm curious as to how you got 
the testing version, if that repo is disabled (as it should be now in 
most setups).


That's where the the problem lies though. The testing version is the 
first version to include the init.d file for clamd instead of the 
supervise setup. I thought that rpm would remove the old supervise run 
file since it's not part of the package any more, but it appears I'll 
need to put some code in the rpm spec file to do that 'manually'.


I think the best fix for you at this point will be to simply get rid of 
the /var/qmail/supervise/clamd/ directory. You might move it to /root/ 
as a backup rather than simply deleting it. It'd be safest to do this 
with qmail/supervise stopped, so that supervise doesn't get confused. 
You might then need to service clamd start to get clamd running before 
starting qmail back up.


That should fix it for you.

Thanks for testing this out, even though it was apparently inadvertent. 
We all appreciate your help.


--
-Eric 'shubes'

On 07/02/2014 07:09 AM, Diana Calder wrote:


Monday, June 30, 2014, 6:03:11 PM, Eric wrote:


Yeah, it's trying to run from both supervise and init.d.


That's what I thought - the question is, how do I fix this without
accidentally making things worse? (Well, the *other* question is, what
caused the problem in the first place, but at the moment I'm more
interested in solving it.)


Which clamd version is installed?


[root@qmail ~]# yum list clamd
Loaded plugins: fastestmirror, priorities, refresh-packagekit
Loading mirror speeds from cached hostfile
  * base: less.cogeco.net
  * extras: less.cogeco.net
  * qmailtoaster-current: mirror2.qmailtoaster.com
  * qmailtoaster-current-nodist: mirror2.qmailtoaster.com
  * remi: rpms.famillecollet.com
  * rpmforge: ftp.heanet.ie
  * updates: mirror.science.uottawa.ca
162 packages excluded due to repository priority protections
Available Packages
clamd.x86_64  0.98.4-1.el6.rf   rpmforge

Okay, that was odd. One clamd package available but none installed. So, try a 
slight variation...

[root@qmail ~]# yum list clam*
Loaded plugins: fastestmirror, priorities, refresh-packagekit
Loading mirror speeds from cached hostfile
  * base: less.cogeco.net
  * extras: less.cogeco.net
  * qmailtoaster-current: mirror2.qmailtoaster.com
  * qmailtoaster-current-nodist: mirror2.qmailtoaster.com
  * remi: rpms.famillecollet.com
  * rpmforge: ftp.heanet.ie
  * updates: mirror.science.uottawa.ca
162 packages excluded due to repository priority protections
Installed Packages
clamav.x86_64   0.98.4-0.qt.el6@qmailtoaster-testing
Available Packages
clamav-db.x86_640.98.4-1.el6.rfrpmforge
clamav-devel.x86_64 0.98.4-1.el6.rfrpmforge
clamav-milter.x86_640.98.4-1.el6.rfrpmforge
clamd.x86_640.98.4-1.el6.rfrpmforge
clamtk.noarch   4.25-1.el6.rf  rpmforge

Okay, looks like the package is actually clamav not clamd and I have
version 0.98.4-0 installed.

As for my qmailtoaster itself:

Installed Packages
qmailtoaster-release.noarch  2.0-1.qt.nodist   installed

Installed Packages
qmailtoaster-util.noarch  2.0-1.qt.nodist   @qmailtoaster-current-nodist

qmailtoaster-testing is disabled in my repos and qmailtoaster-current
is enabled (and set to a slightly higher priority than the testing
repo back when I changed over from testing to current, just in case
that made any difference).






-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com