Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 23rd September 2008, 23:05
badgerbox76 badgerbox76 is offline
Senior Member
 
Join Date: Feb 2006
Posts: 178
Thanks: 6
Thanked 1 Time in 1 Post
Cool 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 ..
Reply With Quote
Sponsored Links
  #2  
Old 27th September 2008, 03:47
badgerbox76 badgerbox76 is offline
Senior Member
 
Join Date: Feb 2006
Posts: 178
Thanks: 6
Thanked 1 Time in 1 Post
Default

Anyone?
Reply With Quote
  #3  
Old 27th September 2008, 13:55
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,715 Times in 2,557 Posts
Default

I'm no LDAP expert...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 30th September 2008, 03:33
badgerbox76 badgerbox76 is offline
Senior Member
 
Join Date: Feb 2006
Posts: 178
Thanks: 6
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by falko View Post
I'm no LDAP expert...
What better time learn then. 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.
Reply With Quote
  #5  
Old 26th October 2008, 11:08
0ryn 0ryn is offline
Junior Member
 
Join Date: Oct 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote
  #6  
Old 26th October 2008, 21:18
badgerbox76 badgerbox76 is offline
Senior Member
 
Join Date: Feb 2006
Posts: 178
Thanks: 6
Thanked 1 Time in 1 Post
Default

Thanks much I will try that out when I get to work tomorrow.
Reply With Quote
  #7  
Old 31st October 2008, 14:50
badgerbox76 badgerbox76 is offline
Senior Member
 
Join Date: Feb 2006
Posts: 178
Thanks: 6
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by 0ryn View Post
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.

Reply With Quote
  #8  
Old 7th December 2008, 05:24
julienlevasseur julienlevasseur is offline
Junior Member
 
Join Date: Dec 2008
Location: Quebec Qc
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Lightbulb

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.
Reply With Quote
Reply

Bookmarks

Tags
sunray ubuntu

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 4 TPS mail problem Hagforce HOWTO-Related Questions 13 10th February 2010 18:23
running TeamSpeak & Ventrilo Server on Ubuntu LTS 8.04 Desktop Edition nibbles Installation/Configuration 0 9th June 2008 05:25
Problem on restart bind9 satimis Server Operation 6 30th October 2007 02:01
Running VMware Server on Ubuntu 7.04 amalik Desktop Operation 1 23rd April 2007 03:35
Log for Debugging jwan Installation/Configuration 5 27th October 2006 14:34


All times are GMT +2. The time now is 03:19.


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