• 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

qmail-inject: fatal: qq read error (#4.3.0)

D

dominion

Guest
When mailing tru sendmail or php i'll get the following error:

echo test | /var/qmail/bin/sendmail [email protected]

qmail-inject: fatal: qq read error (#4.3.0)

/usr/sbin/sendmail is a symbolic link to
/var/qmail/bin/sendmail

straight to /usr/sbin/sendmail does'nt work either.

Its a brand new installalion with upgraded php from yum

Please help !!!!
 
There are incorrect permissions on the queue or on the qmail binaries. Reinstall the qmail RPM package from the Plesk archive using --force and it will work.
 
Thanks hardweb !!
I did the command below and all works fine now :)

rpm -Uhv --force /root/psa/PSA_7.5.1/rpm_RedHat_9/base/psa-qmail-1.03-rh9.build75041216.14.i586.rpm
 
Originally posted by hardweb
There are incorrect permissions on the queue or on the qmail binaries. Reinstall the qmail RPM package from the Plesk archive using --force and it will work.

We are running Debian on our server, completely freshly installed with 'stable' and Plesk 7.5 Reloaded. Things were fine for a few days, then we got this error too:

qmail-inject: fatal: qq read error (#4.3.0)

How do we force the re-install the plesk software on a debian machine?
 
Just to let you know, since we still had the .deb on our server, it was fairly easy to do.

But I wonder what should we do if we don't have the archive lying around in the filesystem in future? Or if the version doesn't correspond with the latest dependencies?

# cd /var/cache/apt/archives
# dpkg -i dpkg -ipsa-qmail_1.03-debian3.1.build75050824.12_i386.deb

(Reading database ... 53641 files and directories currently installed.)
Preparing to replace psa-qmail 1.03-debian3.1.build75050824.12 (using psa-qmail_1.03-debian3.1.build75050824.12_i386.deb) ...
Checking for the system groups and users necessary for Qmail...
Checking for the group 'nofiles'...
Group 'nofiles' already exists

Checking for the user 'alias'...
User 'alias' already exists

Checking for the user 'qmaild'...
User 'qmaild' already exists

Checking for the user 'qmaill'...
User 'qmaill' already exists

Checking for the user 'qmailp'...
User 'qmailp' already exists

Checking for the group 'qmail'...
Group 'qmail' already exists

Checking for the user 'qmailq'...
User 'qmailq' already exists

Checking for the user 'qmailr'...
User 'qmailr' already exists

Checking for the user 'qmails'...
User 'qmails' already exists

Checking for the group 'popuser'...
Group 'popuser' already exists

Checking for the user 'popuser'...
User 'popuser' already exists

Unpacking replacement psa-qmail ...
Setting up psa-qmail (1.03-debian3.1.build75050824.12) ...
Trying to set up default qmail permissions... done

===> Installing Qmail server
Configuring Qmail...
Trying to generate SSL certificates for TLS sessions... done
Trying to register service qmail... using /usr/sbin/update-rc.d
System startup links for /etc/init.d/qmail already exist.
done
Trying to start Qmail services... done
Trying to register service qmail... using /usr/sbin/update-rc.d
System startup links for /etc/init.d/qmail already exist.
done

# echo "email message body" | Mail -s "subject" [email protected]
#
 
reinstall qmail gives me....

setuidgid: fatal: unable to run /var/qmail/bin/qmail-scanner-queue.pl: access denied
setuidgid: fatal: unable to run /var/qmail/bin/qmail-scanner-queue.pl: access denied


some one plz help!!
 
Back
Top