• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Tearing my HAIR out with PLESK Issues

R

ROnnyF

Guest
I've been with PLESK since 2.5

I'm getting default language errors that prevent me from opening PLESK (even though the only locale in the PSA database is en-US, and it is set as the default already)

and now i'm getting qmail start errors, and guess what? PLESK doesn't provide ANY LOGGING or error information at all.
 
This is how moronic PLESK is. Get a load of this:


Trying to unregister service /var/qmail/bin/sendmail... using /sbin/chkconfig
error reading information on service /var/qmail/bin/sendmail: No such file or directory
error reading information on service /var/qmail/bin/sendmail: No such file or directory


WARNING!
During the Unable to unregister /var/qmail/bin/sendmail using /sbin/chkconfig found some problems(see log file: /tmp/psa-qmail_1.03_cos5.build93091230.06_installing.100125.18.52.log)

Continue...

Trying to generate SSL certificates for TLS sessions... done
Trying to register service qmail... using /sbin/chkconfig
done
Shutting down kernel logger: [ OK ]
Shutting down system logger: [ OK ]
Starting system logger: [ OK ]
Starting kernel logger: [ OK ]
[root@ursaminor maildrivers]# ll /var/qmail/bin | grep sendmail
-r-xr-xr-x 1 root qmail 14120 Dec 29 19:07 sendmail
-r-xr-xr-x 1 root qmail 14120 Dec 29 19:07 sendmail.2
-r-xr-xr-x 1 root qmail 14120 Dec 29 19:07 sendmail.4
-r-xr-xr-x 1 root qmail 9692 Jan 27 2009 sendmail-qmail
lrwxrwxrwx 1 root root 29 Jan 25 14:14 sendmail-qmail-working -> /var/qmail/bin/sendmail-qmail
-r-xr-xr-x 1 root qmail 108 Mar 26 2007 sendmail-wrapper
[root@ursaminor maildrivers]#
 
It is not error but just warning and you can ignore it. What is wrong with qmail? Did you checked /usr/local/psa/var/log/maillog ? What is wrong there?
Also you can completely reinstall qmail with something like:

rpm -e --justdb --noscripts --nodeps --notriggers psa-mail-qc-driver psa-qmail psa-qmail-rblsmtpd

And then install it back with

/usr/local/psa/admin/sbin/autoinstaller --select-release-current --install-component qmail
 
What I posted above was the same result of me removing and reinstalling PLESK many times.
 
What I posted above was the same result of me removing and reinstalling PLESK many times.

What result? Warning? Once again - IT CAN BE IGNORED. How it breaks mailserver operation? Could you please provide any errors from maillog if there is something wrong with qmail operation?
 
It can't just be ignored... qmail doesn't start

/etc/rc.d/init.d/qmail start comes back with a FAILED

Funny thing is, mail is working

[root@ursaminor ~]# ps waux | grep mail
qmails 3745 0.0 0.0 3848 580 ? S Jan26 0:01 qmail-send
qmaill 3747 0.0 0.0 3796 524 ? S Jan26 0:00 splogger qmail
root 3748 0.0 0.0 3836 432 ? S Jan26 0:00 qmail-lspawn | /usr/bin/deliverquota ./Maildir
qmailr 3749 0.0 0.0 3836 432 ? S Jan26 0:00 qmail-rspawn
qmailq 3750 0.0 0.0 3792 388 ? S Jan26 0:00 qmail-clean
root 4127 0.0 1.8 173504 58088 ? SNs Jan26 0:03 /usr/bin/spamd --username=popuser --daemonize --nouser-config --helper-home-dir=/var/qmail --max-children 5 --create-prefs --virtual-config-dir=/var/qmail/mailnames/%d/%l/.spamassassin --pidfile=/var/run/spamd/spamd_full.pid --socketpath=/tmp/spamd_full.sock
qmailr 8806 0.0 0.0 33652 1192 ? S 00:37 0:00 /var/qmail/bin/qmail-remote.moved outfuck.com [email protected] [email protected]
root 9727 0.0 0.0 3680 272 ? Ss 00:48 0:00 /usr/sbin/rblsmtpd -r bl.spamcop.net -r sbl-xbl.spamhaus.org /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true
root 9743 0.0 0.0 3680 268 ? Ss 00:48 0:00 /usr/sbin/rblsmtpd -r bl.spamcop.net -r sbl-xbl.spamhaus.org /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true
root 9744 0.0 0.0 3680 272 ? Ss 00:48 0:00 /usr/sbin/rblsmtpd -r bl.spamcop.net -r sbl-xbl.spamhaus.org /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true
popuser 9779 0.0 0.0 13744 784 ? S 00:49 0:00 bin/qmail-local -- popuser /var/qmail/mailnames/acornsteel.com/martha 155-martha acornsteel.com [email protected] | /usr/bin/deliverquota ./Maildir
root 9783 0.0 0.0 61208 756 pts/1 SN+ 00:49 0:00 grep mail



However

[root@ursaminor ~]# service qmail status
qmail-send is stopped
[root@ursaminor ~]#




Is this just a problem with the INIT script?
 
[root@ursaminor ~]# /usr/local/psa/admin/bin/mailmng -s
internal error
 
Strange. Never heard about this problem for many years of work with Plesk...
I can suggest you try to switch from Qmail to Postfix MTA and back. Also you can try to find a reason with strace utility with something like:

# strace -s132 -ostrace.log /etc/rc.d/init.d/qmail start

and then try to find something suspicious or some errors in strace.log file. Reinstalling with force psa-qmail package also can help.
 
Ive seen that mailmng error pop up when glibc was rootkitted. Did anything strange happen on the box in the days preceding the problems you're running in to?
 
Back
Top