SunRay On Ubuntu, Partially Running :-)

Discussion in 'Server Operation' started by badgerbox76, Sep 23, 2008.

  1. badgerbox76

    badgerbox76 New Member

    I have the web administration page running but I am unable to connect using the admin account I created. I believe this is because LDAP is not working correctly or running. How do I approach this?

    Thanks for the help in advance.

    Code:
    root@test-corp-esx-03:/opt/SUNWut/sbin# ./utconfig
     
    Configuration of Sun Ray Core Services Software
     
    This script automates the configuration of the Sun Ray Core Services
    software and related software products.  Before proceeding, you should
    have read the Sun Ray Core Services 4.0 Installation Guide and filled out
    the Configuration Worksheet.  This script will prompt you for the values
    you filled out on the Worksheet.  For your convenience, default values
    (where applicable) are shown in brackets.
     
    Continue ([y]/n)? y
    Enter Sun Ray admin password:
    Re-enter Sun Ray admin password:
     
    Configure Sun Ray Web Administration? ([y]/n)? y
    Enter Apache Tomcat installation directory [/opt/apache-tomcat]:
     
    An Apache Tomcat webserver does not exist at the given location
    (/opt/apache-tomcat/conf/server.xml is missing).
    You can either reenter the path or skip the configuration of the
    Sun Ray Web Administration component to continue with the configuration
    of the remaining SRSS components.
    If you skip the configuration of this component then the admin GUI will not work                                                                              .
    You can retry the configuration of this component later by calling
    'utconfig -w'. As a prerequisite you need to install a Tomcat webserver.
    It is available in the SRSS Image 'Supplemental/Apache_Tomcat' directory.
     
    Reenter or skip? ([r]/s): r
    Enter Apache Tomcat installation directory [/opt/apache-tomcat]: /usr/local/tomcat                                                                              at
    Enter HTTP port number [1660]:
    Enable secure connections? ([y]/n)? n
    Enter Tomcat process username [utwww]:
    Enable remote server administration? (y/[n])? y
     
    Configure Sun Ray Kiosk Mode? (y/[n])? y
     
    Enter user prefix [utku]:
     
    Enter group [utkiosk]:
     
    Enter userID range start [150000]:
     
    Enter number of users [25]:
     
     
    Configure this server for a failover group? (y/[n])? n
     
    About to configure the following software products:
     
    Sun Ray Data Store 3.0
        Hostname: test-corp-esx-03
        Sun Ray root entry: o=utdata
        Sun Ray root name: utdata
        Sun Ray utdata admin password: (not shown) vmware!
        SRDS 'rootdn': cn=admin,o=utdata
     
    Sun Ray Web Administration
        Apache Tomcat installation directory: /usr/local/tomcat
        HTTP port number: 1660
        HTTPS port: Disabled
        Tomcat process username: utwww
        Remote server administration: Enabled
     
    Sun Ray Core Services 4.0
        Failover group: no
        Sun Ray Kiosk Mode: yes
     
    Sun Ray Kiosk Mode 4.0
      User name prefix:   utku
      Base user ID:       150000
      Number of accounts: 25
      Kiosk group name:   utkiosk
      Kiosk group ID:     auto
     
    Continue ([y]/n)? y
     
    Updating Sun Ray Data Store schema ...
     
    Updating Sun Ray Data Store ACL's ...
     
    Creating Sun Ray Data Store ...
     
    Restarting Sun Ray Data Store ...
    Starting Sun Ray Data Store daemon .
    Tue Sep  2 13:51 : utdsd starting
     
    Loading Sun Ray Data Store ...
     
    Executing '/usr/bin/ldapadd -h test-corp-esx-03 -x -p 7012 -D cn=admin,o=utdata'                                                                               ...
    ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
    ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
    ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
    ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
    ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
    ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
    ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
    ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
    ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
    ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
    ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
    ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
    ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
    ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
    ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
    ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
    ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
    ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
     
    Added 18 new LDAP entries.
     
    Creating Sun Ray Core Services Configuration ...
    Adding user account for 'utwww' (ut admin web server user) ...done
    Sun Ray Web Administration enabled to start at system boot.
     
    Unique "/etc/opt/SUNWut/gmSignature" has been generated.
     
    Restarting Sun Ray Data Store ...
    Stopping Sun Ray Data Store daemon
    Sun Ray Data Store daemon stopped
    Starting Sun Ray Data Store daemon .
    Tue Sep  2 13:51 : utdsd starting
    Adding user admin ...
    Failed to add user(s) to the list
     
    Creating new Sun Ray Kiosk Mode configuration ...
     
    Validating new user ids.
    Validating new user accounts.
    Creating kiosk group utkiosk
    Configuring new kiosk user accounts:
    .........................
    25 users configured
    ERROR: Could not retrieve policy.
    ERROR: Could not retrieve policy.
     
    ***********************************************************
    The current policy has been modified.  You must restart the
    authentication manager to activate the changes.
    ***********************************************************
     
     
    Configuration of Sun Ray Core Services has completed.  Please check
    the log file, /var/log/SUNWut/utconfig.2008_09_02_13:50:10.log, for errors.
    root@test-corp-esx-03:/opt/SUNWut/sbin# cd ..
    
     
  2. badgerbox76

    badgerbox76 New Member

  3. falko

    falko Super Moderator

    I'm no LDAP expert... :(
     
  4. badgerbox76

    badgerbox76 New Member

    What better time learn then. :p Thats alright I will look else were for help, thanks for at least posting in this thread and letting me know. I love how helpful and understanding you and the other members of this site are. Thanks for providing such a wonderful internet resource. :D
     
  5. 0ryn

    0ryn New Member

    FI ot sunray working on debian sid by doing the following:

    there are 2 links that you have to make
    libldap-2.3.so.0 -> /usr/lib/libldap-2.4.so.2
    basicly the current version of ldap is 2.4 and sunray is wanting 2.3
    I cant remember the 2nd link, but there is a script:
    rm -f /etc/opt/SUNWut/utctl.run; /etc/init.d/utsyscfg start that will complain about not being able to create a symbolic link to something-2.3.so.0
    make a symbolic link from something-2.4.so.2 to something-2.3.so.0
    It works here.
    The only thing I'm missing is utdisk as the new 2.6.27 kernel breaks it
     
  6. badgerbox76

    badgerbox76 New Member

    Thanks much I will try that out when I get to work tomorrow. :D
     
  7. badgerbox76

    badgerbox76 New Member

    Once I tried to start it I get this message
    Code:
    hostname:# ./utsyscfg start
    /opt/SUNWut/lib/utctl.d/features/utlib64ctl: arch64: parameter not set
    Then I tried stopping and starting it again the it works without any errors.

    Although now I am getting a

    Code:
    Could not initialize login module
    on the sun ray web administration page.

    :confused:
     
  8. julienlevasseur

    julienlevasseur New Member

    Hi Badgerbox76,

    Don't worry,

    Code:
    ERROR: Could not retrieve policy.
    ERROR: Could not retrieve policy.
    This error isn't generated by LDAP !
    You've this error, 'cause you have not the dhtadm and pntadm tools installed on your system, or these two tools are not correctly configured (maybe youv'nt dhctab or macro in your system, but normally, utconfig generated these parameters).

    So, to complete your installation of SRSS, install dhtadm and pntadm.

    I encourage you to read this paper: SRSS on Ubuntu, I'm sure, he help you ;)

    Regards, Julien.
     

Share This Page