Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2017-11-08, 00:05:48

Author Topic: Unable to start qmail after upgrade  (Read 1369 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Unable to start qmail after upgrade
« on: 2015-03-06, 08:20:23 »
Quote
Starting qmail-toaster: svscansvscan: warning: unable to stat clamd/log: access denied
svscan: warning: unable to stat send/log: access denied
svscan: warning: unable to stat imap4-ssl/log: access denied
svscan: warning: unable to stat pop3/log: access denied
svscan: warning: unable to stat pop3-ssl/log: access denied
svscan: warning: unable to stat smtp-ssl/log: access denied
svscan: warning: unable to stat authlib/log: access denied
svscan: warning: unable to stat submission/log: access denied
svscan: warning: unable to stat imap4/log: access denied
svscan: warning: unable to stat smtp/log: access denied

Quote
ls -l
razem 48
drwxr-sr-x.  2 alias  qmail 4096 03-03 12:30 alias
drwxr-xr-x.  2 root   qmail 4096 03-06 15:03 bin
drwxr-xr-x.  2 root   qmail 4096 03-06 15:03 boot
drwxr-xr-x.  4 root   qmail 4096 03-06 15:03 control
drwxr-xr-x.  2 root   qmail 4096 03-06 15:03 doc
drwxr-xr-x. 10 root   qmail 4096 03-03 12:30 man
drwxr-x---. 11 qmailq qmail 4096 03-03 12:30 queue
-rwxr-xr-x.  1 root   qmail  215 03-03 12:30 rc
drwxr-x---.  2 clamav root  4096 03-03 12:29 simscan
drwxr-xr-x.  3 qmaild qmail 4096 12-09 16:13 spamdyke
drwxr-xr-x. 12 qmaill qmail 4096 03-06 15:03 supervise
drwxr-xr-x.  2 root   qmail 4096 03-06 15:03 users

Tried /script/cleanup but does not help...

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Unable to start qmail after upgrade
« Reply #1 on: 2015-03-06, 08:31:55 »
Try reinstall simcan-toaster or create 'down' blank file in /var/qmail/supervise/clamd/ and /var/qmail/supervise/clamd/log.

..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: Unable to start qmail after upgrade
« Reply #2 on: 2015-03-06, 09:00:15 »
Tried reinstall *-toaster and reboot. "Down" files already existed with some content. Should I remove them ?

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Unable to start qmail after upgrade
« Reply #3 on: 2015-03-06, 09:13:00 »
Don't delete 'down' file. This file is the same as 'run' file but with rename to 'down', qmail not use clamd supersive (tend to high cpu usage) but use clamd init.

If you found lose run/down file in /var/qmail/supervise/<service>/log, try reinstall with 'yum reinstall *-toaster'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: Unable to start qmail after upgrade
« Reply #4 on: 2015-03-06, 09:29:33 »
Already tried this and still all qmail services are down with "access denied" error.

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Unable to start qmail after upgrade
« Reply #5 on: 2015-03-06, 09:40:01 »
Possible chown not match. Try 'chown -R qmaill:qmail /var/qmail/supervise'
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: Unable to start qmail after upgrade
« Reply #6 on: 2015-03-06, 09:41:36 »
Possible chown not match. Try 'chown -R qmaill:qmail /var/qmail/supervise'

Does not work. I've sent you my SSH details via PM.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: Unable to start qmail after upgrade
« Reply #7 on: 2015-03-06, 16:44:48 »
Good to have backups ;)

Quote
authlib: up (pid 2711) 227 seconds
clamd: down 227 seconds
imap4: up (pid 2725) 227 seconds
imap4-ssl: up (pid 2692) 227 seconds
pop3: up (pid 2708) 227 seconds
pop3-ssl: up (pid 2707) 227 seconds
send: up (pid 2697) 227 seconds
smtp: up (pid 2729) 227 seconds
smtp-ssl: up (pid 2702) 227 seconds
submission: up (pid 2722) 227 seconds
authlib/log: up (pid 2716) 227 seconds
clamd/log: down 227 seconds
imap4/log: up (pid 2730) 227 seconds
imap4-ssl/log: up (pid 2701) 227 seconds
pop3/log: up (pid 2713) 227 seconds
pop3-ssl/log: up (pid 2710) 227 seconds
send/log: up (pid 2703) 227 seconds
smtp/log: up (pid 2728) 227 seconds
smtp-ssl/log: up (pid 2712) 227 seconds
submission/log: up (pid 2727) 227 seconds

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Unable to start qmail after upgrade
« Reply #8 on: 2015-03-06, 22:04:20 »
Backup for whole system?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: Unable to start qmail after upgrade
« Reply #9 on: 2015-03-07, 14:28:11 »
Backup for whole system?.

Yes. I've restored /usr and /var folders.

Restoring just /var/qmail didn't helped.

When I set chmod 777 for /var/qmail then it was non-stop restarting. Very weird. Good it wasn't our production server.

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix

Page created in 0.039 seconds with 17 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM