1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

autoupdate fails on qmail

Discussion in 'Plesk for Linux - 8.x and Older' started by frankw, Mar 29, 2006.

  1. frankw

    frankw Guest

    0
     
    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 *****
    
     
  2. rvdmeer

    rvdmeer Guest

    0
     
    What is the output of:

    cat /etc/passwd | grep 110
     
  3. frankw

    frankw Guest

    0
     
    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.
     
  4. rvdmeer

    rvdmeer Guest

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

    I would suggest changing the UID for mailman.
     
  5. frankw

    frankw Guest

    0
     
    Thank you rvdmeer, I'll give that a try and report back.
     
  6. rvdmeer

    rvdmeer Guest

    0
     
    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
     
  7. frankw

    frankw Guest

    0
     
    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.
     
  8. rvdmeer

    rvdmeer Guest

    0
     
    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.
     
  9. frankw

    frankw Guest

    0
     
    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
     
  10. rvdmeer

    rvdmeer Guest

    0
     
    I'm a lill out of option currently. It says there is another user with the same id... someone else with a suggestion?
     
  11. frankw

    frankw Guest

    0
     
    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
    
     
  12. rvdmeer

    rvdmeer Guest

    0
     
    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)
     
Loading...