5 Replies Latest reply on Apr 14, 2016 12:02 AM by fweiss@itpgroup.de

    Setup error: Failed to create jive user.

    lopar

      I'm new to Jive and tying to install it on virtual pc for testing purposes. I used CentOS 7 Minimal as server OS, installed all packages, mentioned in RPM Dependencies document and made all fixes, mentioned in Pre-Installation Requirements document. After starting installation on the first node, I've got an error, but the system seems to be installed correctly:

       

      [root@localhost ~]# rpm -Uvh jive_sbs_employee-8.0.2.0.RHEL-7.x86_64.rpm
      Подготовка... ################################# [100%]
      Preparing clean installation.
      Failed to create jive user 'jive' (exit code 12).
      Attempting to continue but expecting failure.
      Pre-install tasks complete.
      Обновление / установка...
        1:jive_sbs-8.0.2.0-8.0.2.0_433_7f31################################# [100%]
      Writing installation version.
      Wrote installation version.
      Removing unused files...
      ...done.
      Fixing permissions..
      ...done.
      Fixing symlinks...
      ...done.
      Installing init script and logrotate...
      ...done.
      ********************************************************************
      *** Post-install tasks complete! To configure the Jive platform,
      *** become the jive user and run 'jive setup'.
      ********************************************************************
      

       

      Can I just create this user manually and continue configuring it, or I forgot/need to change something and reinstall Jive?

      Is there any default options for Jive user, that must be set?

       

      p.s. Ryan Rutan, can you help me? I was told, you're developer guru.

        • Re: Setup error: Failed to create jive user.
          Ryan Rutan

          Never seen this issue before...but if you have a special name format restrictions on your box, then the standard user may not get created (i.e. username default lengths greater than 4, or something similar).  In general, as long as the user does not already exist, it should have worked barring random configs such as those listed above.

           

          Can you try,

          sudo adduser --force-badname <username>

           

          and see if that does it?

           

          Hope that helps.

            • Re: Setup error: Failed to create jive user.
              lopar

              There is no «--force-badname» key for command «adduser». I tried to create it, but system says, that user «jive» already exists. That's strange — I didn't create it manually. Okay, I'll try to continue installation process then.

                • Re: Setup error: Failed to create jive user.

                  Hi Igor,

                   

                  I'm sorry to hear about the setup error. Were you able to get the installation process to continue beyond the user creation portion?

                   

                  Regards,

                  Jeph Yang

                    • Re: Setup error: Failed to create jive user.
                      lopar

                      Greetings.

                       

                      I made some testing. It seems, that installation script adds «jive» user successfully, but put an error message instead.

                       

                      Before installation:

                      [root@localhost ~]# cat /etc/passwd
                      root:x:0:0:root:/root:/bin/bash
                      bin:x:1:1:bin:/bin:/sbin/nologin
                      daemon:x:2:2:daemon:/sbin:/sbin/nologin
                      adm:x:3:4:adm:/var/adm:/sbin/nologin
                      lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
                      sync:x:5:0:sync:/sbin:/bin/sync
                      shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
                      halt:x:7:0:halt:/sbin:/sbin/halt
                      mail:x:8:12:mail:/var/spool/mail:/sbin/nologin
                      operator:x:11:0:operator:/root:/sbin/nologin
                      games:x:12:100:games:/usr/games:/sbin/nologin
                      ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
                      nobody:x:99:99:Nobody:/:/sbin/nologin
                      avahi-autoipd:x:170:170:Avahi IPv4LL Stack:/var/lib/avahi-autoipd:/sbin/nologin
                      systemd-bus-proxy:x:999:997:systemd Bus Proxy:/:/sbin/nologin
                      systemd-network:x:998:996:systemd Network Management:/:/sbin/nologin
                      dbus:x:81:81:System message bus:/:/sbin/nologin
                      polkitd:x:997:995:User for polkitd:/:/sbin/nologin
                      tss:x:59:59:Account used by the trousers package to sandbox the tcsd daemon:/dev/null:/sbin/nologin
                      postfix:x:89:89::/var/spool/postfix:/sbin/nologin
                      sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
                      ntp:x:38:38::/etc/ntp:/sbin/nologin
                      [root@localhost ~]#
                      

                       

                      After installation:

                      [root@localhost ~]# cat /etc/passwd
                      root:x:0:0:root:/root:/bin/bash
                      bin:x:1:1:bin:/bin:/sbin/nologin
                      daemon:x:2:2:daemon:/sbin:/sbin/nologin
                      adm:x:3:4:adm:/var/adm:/sbin/nologin
                      lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
                      sync:x:5:0:sync:/sbin:/bin/sync
                      shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
                      halt:x:7:0:halt:/sbin:/sbin/halt
                      mail:x:8:12:mail:/var/spool/mail:/sbin/nologin
                      operator:x:11:0:operator:/root:/sbin/nologin
                      games:x:12:100:games:/usr/games:/sbin/nologin
                      ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
                      nobody:x:99:99:Nobody:/:/sbin/nologin
                      avahi-autoipd:x:170:170:Avahi IPv4LL Stack:/var/lib/avahi-autoipd:/sbin/nologin
                      systemd-bus-proxy:x:999:997:systemd Bus Proxy:/:/sbin/nologin
                      systemd-network:x:998:996:systemd Network Management:/:/sbin/nologin
                      dbus:x:81:81:System message bus:/:/sbin/nologin
                      polkitd:x:997:995:User for polkitd:/:/sbin/nologin
                      tss:x:59:59:Account used by the trousers package to sandbox the tcsd daemon:/dev/null:/sbin/nologin
                      postfix:x:89:89::/var/spool/postfix:/sbin/nologin
                      sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
                      ntp:x:38:38::/etc/ntp:/sbin/nologin
                      jive:x:1000:1000:Jive System User:/usr/local/jive:/bin/bash
                      [root@localhost ~]#
                      

                       

                      I already installed and started 5 vm nodes (ae, search, webapp,cache, dc) with this error and now trying my best to finish installation via web browser. If I'll get more errors, I'll put my word here