HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   SunRay On Ubuntu, Partially Running :-) (http://www.howtoforge.com/forums/showthread.php?t=27072)

badgerbox76 23rd September 2008 23:05

SunRay On Ubuntu, Partially Running :-)
 
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 ..


badgerbox76 27th September 2008 03:47

Anyone? :confused:

falko 27th September 2008 13:55

I'm no LDAP expert... :(

badgerbox76 30th September 2008 03:33

Quote:

Originally Posted by falko (Post 147226)
I'm no LDAP expert... :(

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

0ryn 26th October 2008 11:08

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

badgerbox76 26th October 2008 21:18

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

badgerbox76 31st October 2008 14:50

Quote:

Originally Posted by 0ryn (Post 151780)
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

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:

julienlevasseur 7th December 2008 05:24

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.


All times are GMT +2. The time now is 21:43.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.