• 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

autoupdate fails on qmail

F

frankw

Guest
If anyone has any suggestions as the error below I would be extremely greatful. Cheers.

Code:
Installing /PSA_7.5.4/rpm_FedoraCore_3/base/psa-hotfix6-7.5.4-fc3.build75060321.20.i586.rpm
 Trying to replace files and set up right permissions...  Trying to fix mailman path in psa.conf... done
done
Installing /PSA_7.5.4/rpm_FedoraCore_3/base/Mambo-4.5.2.3-7504.noarch.rpm
Installing /PSA_7.5.4/rpm_FedoraCore_3/base/psa-qmail-1.03-fc3.build75060321.20.i586.rpm
 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'...

ERROR: It seems there is a user with UID=110
       in this system, but  needs the same UID
       for its operation.
       Sorry, but this situation has not been workarounded
       yet. Please, contact 

Exiting...

error: %pre(psa-qmail-1.03-fc3.build75060321.20.i586) scriptlet failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping psa-qmail-1.03-fc3.build75060321.20

----- end of output -----
===> Autoinstaller: stopped logging at Tue Mar 28 22:10:21 2006

***** end of log file *****
 
Output is:

Code:
-bash-3.00$ cat /etc/passwd | grep 110
mailman:x:110:110:GNU Mailing List 
popuser:x:110:110:POP3 service user:/:/bin/false

Thanks.
 
There is your problem.
Mailman has the same userid as popuser.

I would suggest changing the UID for mailman.
 
Goodluck, my advise is to change the UID with usermod.

[root@vite opt]# usermod --help
usage: usermod [-u uid [-o]] [-g group] [-G group,...]
[-d home [-m]] [-s shell] [-c comment] [-l new_name]
[-f inactive] [-e expire ] [-p passwd] [-L|-U] name
 
Okay rvdmeer I tried that, but it said no such user.

I then removed mailman with yum as we don't use it at all. I also tried to use userdel to remove the user, but it just said no such user again. The mailman line was still in /etc/passwd tho.

I then deleted the mailman line from /etc/passwd and tried the update process again.

Still getting the same error now, and the output is just the one line
Code:
[root@uk1 /]# cat /etc/passwd | grep 110
popuser:x:110:110:POP3 service user:/:/bin/false

Code:
 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'...

ERROR: It seems there is a user with UID=110
       in this system, but  needs the same UID
       for its operation.
       Sorry, but this situation has not been workarounded
       yet. Please, contact 

Exiting...

error: %pre(psa-qmail-1.03-fc3.build75060321.20.i586) scriptlet failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping psa-qmail-1.03-fc3.build75060321.20
Error while execute command rpm -U /home/psa/PSA_7.5.4/dist-rpm-FedoraCore-3-i386/base/psa-qmail-1.03-fc3.build75060321.20.i586.rpm
ERROR: error while executing RPM


---
Plesk autoinstaller.
 
most of the time there are 2 passwd files.

[root@vite ~]# cat /etc/passwd* | grep 110

also make sure that /etc/passwd- doesnt contain it anymore.
 
Ok it was indeed in the /etc/passwd- file, so deleted that line and ran the update again, but still gives the same error :confused:

Code:
 Checking for the user 'popuser'...

ERROR: It seems there is a user with UID=110
       in this system, but  needs the same UID
       for its operation.
       Sorry, but this situation has not been workarounded
       yet. Please, contact 

Exiting...

error: %pre(psa-qmail-1.03-fc3.build75060321.20.i586) scriptlet failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping psa-qmail-1.03-fc3.build75060321.20
Error while execute command rpm -U /home/psa/PSA_7.5.4/dist-rpm-FedoraCore-3-i386/base/psa-qmail-1.03-fc3.build75060321.20.i586.rpm
ERROR: error while executing RPM
 
I'm a lill out of option currently. It says there is another user with the same id... someone else with a suggestion?
 
Okay really need some help with this :(

There is no user with UID of 110

Code:
[root@uk1]# usermod -u 110   
usermod: user 110 does not exist
 
and if you recreate the user itself, so remove it and recreate it with the unix commands on the shell?

(dont forget the update user config files)
 
Back
Top