The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Environment not sane

Discussion in 'General Discussion' started by NoAgendas, Aug 15, 2006.

  1. NoAgendas

    NoAgendas Guest

    When attempting to update cpanel through upcp --force

    I get massive amount of lines simliar to the below

    Environment not sane: phparabi is duplicated in /etc/passwd at /scripts/updateuserdomains line 116, <PASSWD> line 1404.
    Environment not sane: bbdotcom is duplicated in /etc/passwd at /scripts/updateuserdomains line 116, <PASSWD> line 1405.
    Environment not sane: platinum is duplicated in /etc/passwd at /scripts/updateuserdomains line 116, <PASSWD> line 1406.
    Environment not sane: marconid is duplicated in /etc/passwd at /scripts/updateuserdomains line 116, <PASSWD> line 1407.
    Environment not sane: movar is duplicated in /etc/passwd at /scripts/updateuserdomains line 116, <PASSWD> line 1408.
    Environment not sane: fstar is duplicated in /etc/passwd at /scripts/updateuserdomains line 116, <PASSWD> line 1409.
    Environment not sane: guestwe2 is duplicated in /etc/passwd at /scripts/updateuserdomains line 116, <PASSWD> line 1411.
    Environment not sane: wine1705 is duplicated in /etc/passwd at /scripts/updateuserdomains line 116, <PASSWD> line 1412.
    Environment not sane: gold is duplicated in /etc/passwd at /scripts/updateuserdomains line 116, <PASSWD> line 1413.


    How do I fix such a thing?
     
  2. NoAgendas

    NoAgendas Guest

    sort /etc/passwd | uniq -c
    sort /etc/shadow | uniq -c

    I ran both, every line shows 1

    Services affected (apache, mysql, ftp, etc) due to this problem
     
  3. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    How about just actually opening /etc/passwd and looking to see if duplicates are there?
     
  4. s2software

    s2software Registered

    Joined:
    Feb 25, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Same problem here, is there a way to solve this without removing all the duplicate entries manually?
     
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    No, that's exactly what you'll have to do.
     
Loading...

Share This Page