14 Replies Latest reply on Apr 12, 2010 3:51 AM by busyr

    CentOS 5.4 Glibc version 2.5-34.x86_64 - VMWare Server 2.0.2 Managment Console Fails to Load

    NetzenSolutions Novice

      Hi Guys,

       

      I was planning on upgrading to centos 5.4 from 5.3 and read the release

      notes which said to hold back glibc as it causes vmware-hostd to crash... I did

      this before upgrading and also did a Google search which pointed me to this

      blog post http://planetvm.net/blog/?p=844

       

       

       

      I did the upgrade to CentOS 5.4 and installed VMWare Server 2.0.2, all

      was well everything was working as it should be.

       

       

       

      Two days later (this morning), I have attempted to login to the VMWare Management

      Console, and it is failing to work... It mostly says "Loading..." in

      the browser status and nothing more now it seems to make it to the login screen

      and hang after I have entered the credentials.

       

       

       

      All the VM's are still running at the moment, has anyone seen this

      problem before? 

       

       

       

      Ok it just logged in... I have done nothing different apart from use the IP

      this time, which I have done before about 15 times, yet this time it has logged

      in.

       

       

       

      So basically it seems like vmware-hostd is flaky on CentOS 5.4 even if glibc

      is not upgraded.

       

       

       

      I would appreciate your comments / feedback on this.

       

       

       

      Thanks

       

       

       

      KJS

        • 1. Re: CentOS 5.4 Glibc version 2.5-34.x86_64 - VMWare Server 2.0.2 Managment Console Fails to Load
          wrorews Lurker

          Same problem here. Have you found anything out? I am thinking about changing Virtualization platforms due to the flakey behaviour of VMware Server 2.0.2

          • 2. Re: CentOS 5.4 Glibc version 2.5-34.x86_64 - VMWare Server 2.0.2 Managment Console Fails to Load
            wila Guru
            User ModeratorsvExpertCommunity Warriors

            Hi,

             

            Thanks for the report.

            Sorry as the author of that article on planetvm.net, I should have updated the article as more people (including myself) have the problem with the local firefox install and getting the SSL connection to work. I intended to update the article, but forgot.. sorry

            This does not appear to be a vmware issue, but a firefox one due to holding back the glibc library.

            Please check No WebAccess to VMware Server 2: Proxysvc, SSL Exception, session id context uninitialized

             

            Can you guys confirm that it is ONLY the local firefox setup on the centOS/RHEL machine that isn't capable of setting up a SSL connection?

            IOW, accessing the webinterface from any other machine as the host should work just like it did before.

            The virtual machines should run without any issue if you hold back the glibc library.



            --

            Wil

            _____________________________________________________

            VI-Toolkit & scripts wiki at http://www.vi-toolkit.com

             

            edit: Actually I did add this information already on November 23 in one of the two comments. But to make it more obvious I now also added this as a warning to the main text. While it is inconvenient, personally I can live with it as accessing the localhost via the secure interface doesn't add that much extra security.

            If it was a problem with remote machines accessing the web interface then it is very serious indeed. But that doesn't appear to be the problem.

            | Author of Vimalin. The virtual machine Backup app for VMware Desktop Products
            | Vimalin : Automated backups for VMware Fusion and VMware Workstation Professional
            | More info at https://www.vimalin.com
            | Twitter @wilva
            | VMware Wiki at http://www.vi-toolkit.com
            • 3. Re: CentOS 5.4 Glibc version 2.5-34.x86_64 - VMWare Server 2.0.2 Managment Console Fails to Load
              wrorews Lurker

              My vmware server is on a headless server that does not have a gui installed.  I am accessing the web interface from another machine on the local network. I have the same problem with 3 different browsers (IE, firefox, chrome) and it is intermittent -- It may work in an hour. I am running windows 7 home prem (64) on the client computer. I just tried this on a machine running XP and could connect with IE but not firefox the whent back to the W7 machine and suddenly chrome works But not FF. Its just sort of flakey.

              • 4. Re: CentOS 5.4 Glibc version 2.5-34.x86_64 - VMWare Server 2.0.2 Managment Console Fails to Load
                NetzenSolutions Novice

                 

                HI Guys,

                 

                 

                 

                 

                 

                I recall having problems with remote Firefox, connections locally. I cannot recall if this problem happened from browsers on other machines or not...

                 

                 

                However it has been working fine with Glibc held back when doing the Yum update.

                 

                 

                Is there a fix for this yet? Would be nice to know when I can upgrade to the new Glibc.

                 

                 

                Regards,

                 

                 

                http://www.netzensolutions.com

                 

                 

                • 5. Re: CentOS 5.4 Glibc version 2.5-34.x86_64 - VMWare Server 2.0.2 Managment Console Fails to Load
                  wila Guru
                  Community WarriorsvExpertUser Moderators

                  Hi,

                   

                  wrorews Well your issue might still be another one.. does the /var/log/vmware/hostd.log output the same proxysvc errors as reported in the other thread?

                  I just tried again here and a tail /var/log/vmware/hostd.log immediately shows this a number of times:

                  [2009-12-14 19:54:00.512 'Proxysvc' 1104742720 warning] SSL Handshake on client connection failed: SSL Exception: error:140D9115:SSL routines:SSL_GET_PREV_SESSION:session id context uninitialized
                  

                  Yet connecting from another machine works fine and so does the VI Client. No problem with either of them.



                  --

                  Wil

                  _____________________________________________________

                  VI-Toolkit & scripts wiki at http://www.vi-toolkit.com

                  | Author of Vimalin. The virtual machine Backup app for VMware Desktop Products
                  | Vimalin : Automated backups for VMware Fusion and VMware Workstation Professional
                  | More info at https://www.vimalin.com
                  | Twitter @wilva
                  | VMware Wiki at http://www.vi-toolkit.com
                  • 6. Re: CentOS 5.4 Glibc version 2.5-34.x86_64 - VMWare Server 2.0.2 Managment Console Fails to Load
                    wrorews Lurker

                     

                    FF will still not connect. Chrome will. IE pressents a logon with scroll bars instead of input boxes. This was in the log after the IE connection:

                     

                     

                     

                     

                     

                     

                     

                     

                     

                     

                     

                    2009-12-14 12:20:52.801 'Proxysvc' 1081366848 warning SSL Handshake on client connection failed: SSL Exception:

                    2009-12-14 12:20:55.706 'Proxysvc' 1101105472 warning SSL Handshake on client connection failed: SSL Exception:

                    2009-12-14 12:20:55.906 'Proxysvc' 1095973184 warning SSL Handshake on client connection failed: SSL Exception:

                    2009-12-14 12:21:15.920 'PropertyProvider' 1082825024 verbose RecordOp ASSIGN: guest.disk, 80

                     

                     

                     

                     

                     

                     

                     

                     

                     

                     

                     

                     

                     

                     

                     

                     

                     

                     

                    • 7. Re: CentOS 5.4 Glibc version 2.5-34.x86_64 - VMWare Server 2.0.2 Managment Console Fails to Load
                      rhsoftware Hot Shot

                       

                      It would be nice if these idiots release a compatible vmware-server update

                      VMware-Server 2.0.2 was released AFTER RHEL5.4/CentOS5.4 and it crahses the whole time with the new glibc

                       

                       

                      On Fedora 11 VMware-Server does not work really, you need hacks to get the modules compiled for kernel > 2.6.27 and the damend webinterface is hell unstable

                      Kernel 2.6.32 is mainline, this are FIVE not working releases

                       

                       

                      • 8. Re: CentOS 5.4 Glibc version 2.5-34.x86_64 - VMWare Server 2.0.2 Managment Console Fails to Load
                        wrorews Lurker

                        I gave up on this and instead am using ESXI. It is working well. For me, this is two bad experiences with the centos and vmware server combo. I have had more luck however, with ubuntu and vmware-- don't know why but it just seems to work.

                        • 9. Re: CentOS 5.4 Glibc version 2.5-34.x86_64 - VMWare Server 2.0.2 Managment Console Fails to Load
                          rhsoftware Hot Shot

                          We are using a full licenced ESXi on HP-ProLiant but my test-machines are Fedora/VMware-Server and or machine with external server-housing is VMware-Server on CentOS because i am not crazy and connect esxi-managment to wan AND i need growable disks for real big space without preallocate

                           

                          The damned webui from vmware-server was never really stable, but since fedora11 it is unusable, after every click you have to restart vmware-mgmt, using commandline let it live sometimes - This is very poor

                          • 10. UNBELIEVEABLE - Re: CentOS 5.4 Glibc version 2.5-34.x86_64
                            rhsoftware Hot Shot

                             

                            It is unbelieveable

                             

                             

                            > VMware Server 2 for Linux Operating Systems 64-bit

                            version.

                            > Version 2.0.2 | 203138

                            - 10/26/09

                             

                             

                             

                             

                             

                            Why is this fucking version released at a time the troubles on RHEL 5.4 are known since months without fixing them?

                            Now are more than 3 months ago and NOTHING HAPPENS

                             

                            On Fedora 11 with Kernel 2.6.30 you get the whole shit only running after pachting the tar-files and hostd is unstable too, as seen in koji fedora11 will ship Kernel 2.6.30 in nearly future and the only version supported by VMware is 2.6.27 - Shame on you! I need the fucking VMware-Server for testing and have a full icensed ESXi on a 16.000 € HP-Machine, so it's time to do something with VMware-Server and no longer destorying users trust

                             

                            Our only productio-vm on VMware-Server is running on CentOS 5.4, but i can not get any connection to the webui without crashing hostd, in NEAR future we have to shutdown the host and i have to pray getting this damned thing ONE TIME running to start the vm - This is all a bad joke!

                             

                             

                            Throw awy this idiotic web-interface which never was stable guys and give us back the managment-console from VMware.Server  1.0.x if you got it nut running

                             

                             

                            • 11. Re: UNBELIEVEABLE - Re: CentOS 5.4 Glibc version 2.5-34.x86_64
                              nonoski Lurker

                               

                              Gents,

                               

                               

                              Here is your solutions:  http://webalution.com/techshare/2009/11/16/vmware-server-2-web-access-connection-loss-vmware-hostd-crash-workarounds/

                               

                               

                              Get the RPM at vault.centos.org and I did option1...  Everything works again.  It's in VMWare's docs that this particular release RHEL5.4 with VMWare Server 2.x is troublesome.   The glibc library in particular.  I've been testing this soultion for a week now and am very sure it's ready for production.  Shame on VMWare for not making this more apparent.  But, this is life and the reason why businesses pay for support.  Which, I might add, is VERY reasonable on VMWare Server.  This would have been a lot easier just to call support instead of scanning the net to fix.  

                               

                               

                              • 12. Re: UNBELIEVEABLE - Re: CentOS 5.4 Glibc version 2.5-34.x86_64
                                nonoski Lurker

                                 

                                In fact here is the exact text from that other site:

                                 

                                 

                                 

                                 

                                 

                                http://webalution.com/techshare/2009/11/16/vmware-server-2-web-access-connection-loss-vmware-hostd-crash-workarounds/

                                 

                                 

                                 

                                 

                                 

                                 

                                 

                                h2. Vmware Server 2 Web Access Connection Loss (vmware-hostd crash)
                                Workarounds

                                November 16th, 2009


                                 

                                h2. Summery of Issue

                                 

                                With upgrading to RHEL 5.4, CentOS 5.4 and Ubuntu 9.10, the latest

                                2.x.x versions of VMware Server are having serious Web Access GUI

                                connection failures, specifically vmware-hostd crashing repeatedly. 

                                This has been found with VMware Server 2.0.0, Vmware Server 2.0.1 and

                                VMware Server 2.0.2.  VMware Server 2.x.x was stable in the previous

                                revisions of the mentioned OS’s.  Below are two solutions that “appear”

                                to make for a stable vmware-hostd process.  You are advised strongly to

                                satisfy your own assuredness of the stability of vmware-hostd using

                                these solutions before deployment to a mission critical environment.

                                 

                                 

                                Both solutions do not require you to stop all vmware related

                                processes on the host server.  The following steps assume vmware-hostd

                                has crashed and left VMware clients still running.

                                 

                                Verify vmware-host Process has Failed

                                 

                                *Note:* If you get the below from the ps

                                command you have another issue and this document is not for you.

                                 

                                # ps -ef |grep vmware-hostd

                                root 10858 1 0 16:47 ? 00:00:02
                                /usr/lib/vmware/bin/vmware-hostd -a -d -u /etc/vmware/hostd/config.xml


                                root 11055 11026 0 17:02 pts/3 00:00:00 grep vmware-hostd

                                Regaining VMware Server 2 Web Access GUI Control

                                 

                                If you want to start the vmware-hostd process to manage your VMware

                                Server 2 guest operating systems again you may do so with the following

                                commands.

                                 

                                # export  

                                LD_LIBRARY_PATH=/usr/lib/vmware/vmacore:/usr/lib/vmware/hostd:/usr/lib/vmware/lib/libxml2.so.2:/usr/lib/vmware/lib/libexpat.so.0:/usr/lib/vmware/lib/libstdc++.so.6:/usr/lib/vmware/lib/libgcc_s.so.1:/usr/lib/vmware/lib/libcrypto.so.0.9.8:/usr/lib/vmware/lib/libssl.so.0.9.8

                                 

                                1. /usr/lib/vmware/bin/vmware-hostd -a -d -u

                                /etc/vmware/hostd/config.xml   &

                                 

                                 

                                11139

                                 

                                 

                                1. <hit return/enter>

                                 

                                 

                                +  Done                      /usr/lib/vmware/bin/vmware-hostd -a

                                -d -u /etc/vmware/hostd/config.xml

                                 

                                 

                                1. ps -ef | grep hostd

                                 

                                 

                                root     11140     1 22 17:13 ?        00:00:01  

                                /usr/lib/vmware/bin/vmware-hostd -a -d -u /etc/vmware/hostd/config.xml

                                 

                                 

                                root     11155   11026  0 17:13 pts/3    00:00:00 grep hostd&

                                 

                                </div>

                                 

                                nohup is not needed in this instance as vmware-hostd runs as a daemon

                                but the ampersand “&&rdquo; is.  Otherwise you’ll get logged output to

                                the screen and when you exit your session vmware-hostd will stop too.

                                 

                                Solving the VMware Server 2 Web Access GUI Connection Failure

                                 

                                I recommend looking at both solutions.  I’m currently employing

                                solution #2 but I’ll leave that decision up to you.  Both allow you to

                                use the start/stop /etc/init.d/vmware script as you normally would and

                                are permanent unlike the quick fix above to get the vmware-hostd process

                                up and running again.  Again with both solutions you need to determine

                                if they, in fact, produce a stable VMware Server 2 environment +before+

                                deployment to a mission critical environment.

                                 

                                SOLUTION #1 (libc-2.5.so reversion – RHEL 5.4 & CentOS 5.4)

                                 

                                Download and copy libc-2.5.so into place:

                                 

                                # lynx

                                http://mirror.centos.org/centos/5.3/os/x86_64/CentOS/glibc-2.5-34.x86_64.rpm

                                 

                                1. rpm -Uvh –root=/tmp/ –nodeps ./glibc-2.5-34.x86_64.rpm

                                 

                                 

                                1. mkdir /usr/lib/vmware/lib/libc.so.6

                                 

                                 

                                1. cp /tmp/lib64/libc-2.5.so   /usr/lib/vmware/lib/libc.so.6/libc.so.6

                                 



                                Edit /usr/sbin/vmware-hostd adding the following export command just
                                before the last line in the script as follows:

                                # tail -3 /usr/sbin/vmware-hostd

                                export
                                LD_LIBRARY_PATH=/usr/lib/vmware/lib/libc.so.6:$LD_LIBRARY_PATH


                                eval exec “$DEBUG_CMD” “$binary” “$@”

                                SOLUTION #2 (Circumventing vmware-hostd library wrapping script –

                                RHEL 5.4, CentOS 5.4 & Ubuntu 9.10 )

                                 

                                Here is another method not requiring reverting to an older version of

                                libc-2.5.so. The downside in this solution is it circumvents the

                                dynamic library path building of the /usr/sbin/vmware-hostd script and

                                executes the /usr/lib/vmware/bin/vmware-hostd binary directly.  I do not

                                know if this will present problems in the future or not.

                                 

                                 

                                Below is the snippet from the modified /etc/init.d/vmware.  You can

                                see I added a LD_LIBRARY_PATH statement, commented out the old exec call

                                and added a new one.

                                 

                                # Start host agent

                                vmware_start_hostd() {


                                export
                                LD_LIBRARY_PATH=/usr/lib/vmware/vmacore:/usr/lib/vmware/hostd:/usr/lib/vmware/lib/libxml2.so.2:/usr/lib/vmware/lib/libexpat.so.0:/usr/lib/vmware/lib/libstdc++.so.6:/usr/lib/vmware/lib/libgcc_s.so.1:/usr/lib/vmware/lib/libcrypto.so.0.9.8:/usr/lib/vmware/lib/libssl.so.0.9.8


                                vmware_bg_exec “`vmware_product_name` Host Agent” \


                                “$vmdb_answer_LIBDIR/bin/vmware-hostd” -a -d -u
                                “$vmware_etc_dir/hostd/config.xml”


                                #”$vmdb_answer_SBINDIR/vmware-hostd” -a -d -u
                                “$vmware_etc_dir/hostd/config.xml”


                                }

                                Restart VMware Server 2

                                 

                                If you don’t have critical guest OS’s running you can stop the guests

                                via the VMware Server 2 Web Access GUI and restart VMware:

                                 

                                # /etc/init.d/vmware restart

                                 

                                Stopping VMware autostart virtual machines:

                                Virtual   machines                                         

                                Stopping VMware management services:

                                VMware Virtual   Infrastructure Web Access

                                VMware Server   Host Agent                                 

                                Stopping VMware services:

                                VMware   Authentication Daemon                           

                                VM communication   interface socket family:                

                                Virtual machine   communication interface                  

                                Virtual machine   monitor                                

                                Bridged   networking on /dev/vmnet0                      

                                Host network   detection                                   

                                DHCP server on   /dev/vmnet1                               

                                Host-only   networking on /dev/vmnet1                      

                                DHCP server on   /dev/vmnet8                               

                                NAT service on   /dev/vmnet8                               

                                Host-only   networking on /dev/vmnet8                      

                                Virtual   ethernet                                         

                                Starting VMware services:

                                Virtual machine   monitor                                  

                                Virtual machine   communication interface                  

                                VM communication   interface socket family:                

                                Virtual   ethernet                                         

                                Bridged   networking on /dev/vmnet0                      

                                Host-only   networking on /dev/vmnet1 (background)         

                                DHCP server on /dev/vmnet1                             

                                Host-only   networking on /dev/vmnet8 (background)         

                                DHCP server on   /dev/vmnet8                               

                                NAT service on   /dev/vmnet8                               

                                VMware Server   Authentication Daemon (background)         

                                Shared Memory   Available                                  

                                Starting VMware management services:

                                VMware Server   Host Agent (background)                    

                                VMware Virtual Infrastructure   Web Access

                                Starting VMware autostart virtual machines:

                                Virtual   machines                                         

                                 

                                </div>

                                 

                                As more information on this issue becomes available this post will be

                                updated.  Please post your findings too.

                                 

                                 

                                This information was generated by my experimentation and the helpful

                                posts of the VMware Community, reference: http://communities.vmware.com/thread/229957?tstart=0

                                 


                                Categories: [Linux|http://webalution.com/techshare/category/linux/|View all posts in Linux], [Vmware|http://webalution.com/techshare/category/vmware/|View all posts in Vmware]







                                # \\      Andrew \\

                                # November 26th, 2009 at 07:31                          | #1


                                     | 

                                # Thanks or the great blog post.  This issue has been driving me 
                                     nuts!




                                # December 9th, 2009 at 22:53                          | #2


                                     | 

                                # I am so happy Google found this post…I had been fighting this 
                                     issue for 3 days to no avail.
                                 
                                 
                                     You rock!



                                # \\      Michal Rogozinski \\

                                # December 28th, 2009 at 17:58                          | #3


                                     | 

                                # Thanks !!! I almost lost my hair because of that stupid issue! 
                                     That was a really helpful post.




                                # January 7th, 2010 at 06:35                          | #4


                                     | 

                                # Thanks man. I was ready to move to a different virtualization 
                                     solution when I couldn’t find the problem with VMWare. !http://webalution.com/techshare/wp-includes/images/smilies/icon_smile.gif!




                                # January 28th, 2010 at 03:29                          | #5


                                     | 

                                # Thank you for info!
                                 
                                 
                                     Downloaded and used:
                                 
                                 
                                     yum downgrade glibc-2.5-34.el5_3.1.i686.rpm 
                                     glibc-common-2.5-34.el5_3.1.i686.rpm glibc-devel-2.5-34.el5_3.1.i686.rpm
                                     glibc-headers-2.5-34.el5_3.1.i686.rpm
                                 
                                 
                                     Then reboot.
                                 
                                 
                                     Works good!</div>

                                </div>

                                </div>

                                 

                                 

                                • 13. Re: CentOS 5.4 Glibc version 2.5-34.x86_64 - VMWare Server 2.0.2 Managment Console Fails to Load
                                  Borja_Mari Virtuoso

                                  Hi,

                                  i would recommend you to check if iptables or selinux are enabled in the CentOS 5.4.

                                  If are enabled, disable them.

                                   

                                  Anyway if this don't fix your issue check this post. Maybe helps you.

                                   

                                   

                                   

                                  Regards/Saludos,

                                  Pablo

                                   

                                  Please consider awarding any helpful answer. Thanks!! - Por favor considera premiar las respuestas útiles. ¡¡Muchas gracias!!

                                   

                                  Virtually noob blog

                                  • 14. Re: CentOS 5.4 Glibc version 2.5-34.x86_64 - VMWare Server 2.0.2 Managment Console Fails to Load
                                    busyr Lurker

                                    Thnx...  helped me get my server back up and running...

                                     

                                     

                                    what I did was download the2.5-34 RPM's from an old CENTOS 5.3 mirror (finding one that still hosted the 5.3 distro was the difficult part) and downgraded the installed version using:

                                     

                                     

                                    rpm -Uvh --oldpackage glibc-2.5-34.i686.rpm glibc-headers-2.5-34.x86_64.rpm glibc-2.5-34.x86_64.rpm  nscd-2.5-34.x86_64.rpm glibc-common-2.5-34.x86_64.rpm  nss_ldap-253-17.el5.i386.rpm glibc-devel-2.5-34.i386.rpm nss_ldap-253-17.el5.x86_64.rpm glibc-devel-2.5-34.x86_64.rpm

                                     

                                     

                                     

                                    and add this to /etc/yum.conf:

                                     

                                     

                                     

                                    exclude=glibc glibc-common glibc-devel glibc-headers nscd nss_ldap

                                     

                                     

                                    One question though: is it safe to run the newer glibc-versions in the GUEST OS?