I had exactly the same error and stupidly I put the wrong IP in the hosts file. 
AS Craig has mentioned you need to put the IP and machine name in the /etc/hosts

James

-----Original Message-----
From: Craig Bender [mailto:[email protected]] 
Sent: 12 August 2010 14:48
To: SunRay-Users mailing list
Subject: Re: [SunRay-Users] problems with utconfig on redhat

RHEL 5.3 is the platform that we've QA'd against.  Also, SRSS has 
*Never* worked with a "default" install.  There are packages to add, 
there are specific Java versions supported, etc.

You've installed the following additional packages?

     *  Software Development Tools
     * glib-1.2.10-20.el5 (32-bit RPM on 32-bit and 64-bit OS)
     * dhcp-3.0.5-3.el5 (Servers/Network Servers)
     * openldap-2.3.27-8 (Servers/Network Servers)
     * openldap-clients-2.3.27-8 (Base System/System Tools)
     * tftp-server-0.42-3.1 (Servers/Legacy Network Server)
     * libXp-1.0.0-8.i386.rpm (32-bit RPM on 32-bit and 64-bit OS)
     * openmotif22-2.2.3-18.i386.rpm (32-bit RPM on 32-bit and 64-bit OS)
     * openssl-0.9.8b-8.3.el5_0.2.i386.rpm (32-bit RPM on 32-bit and 
64-bit OS)
     * compat-libstdc++-33-3.2.3-61 (32-bit RPM on 32-bit and 64-bit OS)
     * libusb-devel-0.1.12-5.1.i386 (32-bit RPM for 32-bit OS for libusb)


What version of Java are you using? What does java -version state?  The 
one from the ../Supplemental/Java_Runtime_Environment/Linux/ is your 
safest route as it's the one we've QA'd against.

Same for Apache Tomcat.

What does your host files look like?  If it only has 127.0.0.1 entries, 
you need to add your hostname and IP

what does getent hosts <that hostname> show?

Does that hostname match the one in "Sun Ray Data Store 3.2
" section of the /var/log/utconfig.<Date> log?

What does "getent passwd utwww" show?  That's a local account and 
shouldn't exist in LDAP/NIS/etc

No errors in the /var/log/utinstall.<date> log?



Alexander Koponen wrote:
> On Tue, 10 Aug 2010, Matthew Arensberg Wieben wrote:
> 
>> I had those sort of "unable to contact LDAP server" errors on RHEL5 
>> when I forgot to install the pdksh rpm that comes with the SRSS 
>> software.  Hopefully, that's it.
> 
> I tried and no, that's not it. I've tried many things and right now one 
> Sun Ray Server is down here. I've asked some consultants around here but 
> it is as usual, no one has the know-how.
> 
> I even started looking at Oracle Enterprise Linux but that thing was 
> even harder (I can't even download it). Right now I need to reinstall 
> the other Sun Ray Server but everything points to that if I do, it will 
> be down too.
> 
>>
>> Matt
>>
>>
>> -----Original Message-----
>> From: [email protected] 
>> [mailto:[email protected]] On Behalf Of Alexander Koponen
>> Sent: Tuesday, August 10, 2010 1:43 AM
>> To: SunRay-Users mailing list
>> Subject: Re: [SunRay-Users] problems with utconfig on redhat
>>
>> On Mon, 9 Aug 2010, Nishimura, Scott L (IT Solutions) wrote:
>>
>>> Alexander,
>>>
>>>   Seems that I recall someone posting something similar [and in Spanish
>>> no less] and the resolution had something to do with the following
>>> feedback:
>>>
>>> Adding user account for 'utwww' (ut admin web server user) ...Creating
>>> mailbox f
>>> ile: File exists
>>> useradd: warning: the home directory already exists.
>>>
>>> Check to see whether there isn't already a "utwww" user existing that is
>>> messing up the account creation which then messes up the overall
>>> install.
>>
>> No that is just me that tried installing several times to fix the LDAP
>> stuff. utconfig has never had problems with already existing skeleton
>> files.
>>
>> I'm very worried right now because right now latest SRSS doesn't work 
>> with
>> default install RHEL and I'm going into production in a week or two and
>> have no failsafe right now.
>>
>> I never had this problem before.
>>
>>
>>
>>>
>>>
>>> Scott
>>>
>>> -----Original Message-----
>>> From: [email protected]
>>> [mailto:[email protected]] On Behalf Of Alexander
>>> Koponen
>>> Sent: Monday, August 09, 2010 3:50 AM
>>> To: [email protected]
>>> Subject: EXTERNAL:[SunRay-Users] problems with utconfig on redhat
>>>
>>>
>>> I'm using RHEL 5.5 + current updates, i386 version and I'm trying to
>>> install SRSS 4.2
>>>
>>> Usually I never have problems with this, but this is first time I use
>>> this
>>> version of SRSS.
>>>
>>> Last version that worked for me was RHEL 5.4 + current updates and SRSS
>>> 4.2 EA 2
>>>
>>> Everything installs pretty ok but when I configure utconfig I get this:
>>>
>>> ---
>>>
>>> ldap_bind: Can't contact LDAP server (-1)
>>> ldap_bind: Can't contact LDAP server (-1)
>>> ldap_bind: Can't contact LDAP server (-1)
>>> ldap_bind: Can't contact LDAP server (-1)
>>> ldap_bind: Can't contact LDAP server (-1)
>>> ldap_bind: Can't contact LDAP server (-1)
>>> ldap_bind: Can't contact LDAP server (-1)
>>> ldap_bind: Can't contact LDAP server (-1)
>>> ldap_bind: Can't contact LDAP server (-1)
>>> ldap_bind: Can't contact LDAP server (-1)
>>> ldap_bind: Can't contact LDAP server (-1)
>>> ldap_bind: Can't contact LDAP server (-1)
>>> ldap_bind: Can't contact LDAP server (-1)
>>> ldap_bind: Can't contact LDAP server (-1)
>>> ldap_bind: Can't contact LDAP server (-1)
>>> ldap_bind: Can't contact LDAP server (-1)
>>> ldap_bind: Can't contact LDAP server (-1)
>>> ldap_bind: Can't contact LDAP server (-1)
>>>
>>> Added 18 new LDAP entries.
>>>
>>> Creating Sun Ray Server Software Configuration ...
>>> Adding user account for 'utwww' (ut admin web server user) ...Creating
>>> mailbox f
>>> ile: File exists
>>> useradd: warning: the home directory already exists.
>>> Not copying any file from skel directory into it.
>>> done
>>> Sun Ray Web Administration enabled to start at system boot.
>>> Starting Sun Ray Web Administration...
>>> See /var/opt/SUNWut/log/utwebadmin.log for server logging information.
>>>
>>> You have chosen to configure this server for a failover group.
>>>
>>> All servers in a failover group must share a unique signature,
>>> which is a string of 8 or more characters where at least two
>>> characters are letters and at least one is not.
>>>
>>> Enter signature:
>>> Re-enter signature:
>>>
>>> Restarting Sun Ray Data Store ...
>>> Stopping Sun Ray Data Store daemon
>>> Sun Ray Data Store daemon stopped
>>> Starting Sun Ray Data Store daemon .
>>> Mon Aug  9 12:31 : utdsd starting
>>> Adding user admin ...
>>> Failed to add user(s) to the list
>>> 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.
>>> ***********************************************************
>>>
>>> ---
>>>
>>> And I reboot and most services come up (haven't tried connecting a DTU
>>> yet). When I log into the webgui it gives me this:
>>>
>>> "Authentication Failed
>>> Unable to connect to the Sun Ray data store."
>>>
>>> Which is like impossible to google.
>>>
>>> Please help!
>>>
>>>
>>>  -- Alexander
>>>
>>> ------------------------------------------------------------------------
>>> Alexander Koponen                                   System Administrator
>>> Institut Mittag-Leffler                           phone: +46 8 622 05 75
>>> Auravagen 17                                        fax: +46 8 622 05 89
>>> SE-182 60 DJURSHOLM                            [email protected]
>>> SWEDEN                                     http://www.mittag-leffler.se/
>>> _______________________________________________
>>> SunRay-Users mailing list
>>> [email protected]
>>> http://www.filibeto.org/mailman/listinfo/sunray-users
>>> _______________________________________________
>>> SunRay-Users mailing list
>>> [email protected]
>>> http://www.filibeto.org/mailman/listinfo/sunray-users
>>>
>>
>>
>>  -- Alexander
>>
>> ------------------------------------------------------------------------
>> Alexander Koponen                                   System Administrator
>> Institut Mittag-Leffler                           phone: +46 8 622 05 75
>> Auravagen 17                                        fax: +46 8 622 05 89
>> SE-182 60 DJURSHOLM                            [email protected]
>> SWEDEN                                     http://www.mittag-leffler.se/
>> _______________________________________________
>> SunRay-Users mailing list
>> [email protected]
>> http://www.filibeto.org/mailman/listinfo/sunray-users
>> _______________________________________________
>> SunRay-Users mailing list
>> [email protected]
>> http://www.filibeto.org/mailman/listinfo/sunray-users
>>
> 
> 
>  -- Alexander
> 
> ------------------------------------------------------------------------
> Alexander Koponen                                   System Administrator
> Institut Mittag-Leffler                           phone: +46 8 622 05 75
> Auravagen 17                                        fax: +46 8 622 05 89
> SE-182 60 DJURSHOLM                            [email protected]
> SWEDEN                                     http://www.mittag-leffler.se/
> _______________________________________________
> SunRay-Users mailing list
> [email protected]
> http://www.filibeto.org/mailman/listinfo/sunray-users
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

-- 
The Open University is incorporated by Royal Charter (RC 000391), an exempt 
charity in England & Wales and a charity registered in Scotland (SC 038302).

_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to