Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Open-VM-Tools don't work well any more on pfsense 2.2+

    Scheduled Pinned Locked Moved Virtualization
    43 Posts 6 Posters 14.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • johnpozJ Offline
      johnpoz LAYER 8 Global Moderator
      last edited by

      dude 10.1 is not supported on that version of esxi, it works your lucky..  Run a older version of pfsense if your not going to be current with your esxi version

      also see this error other than _9 being downloaded vs _11
      php-fpm[77198]: /pkg_mgr_install.php: Could not open /usr/local/share/vmware-tools/tools.conf for writing

      If you create the dir and file the pkg installs, shows 3rd party and running in esxi, but the ko's are not loaded when you check kldstat

      Clearly the package is broken and will have to wait until its fixed.  But again freebsd 10.1 and pfsense 2.2 is not supported on that version of esxi

      An intelligent man is sometimes forced to be drunk to spend time with his fools
      If you get confused: Listen to the Music Play
      Please don't Chat/PM me for help, unless mod related
      SG-4860 25.07 | Lab VMs 2.8, 25.07

      1 Reply Last reply Reply Quote 0
      • S Offline
        Supermule Banned
        last edited by

        2.1.5 vs 2.2.2.

        Opne Vmtools installed on both  systems. Same version of ESXi. Serving the pfsense clusters.

        I have attached screendumps.

        Error began with upgrade to 2.2.2…. 2.1.5 running no issues at all. Open Vm tools shows unmanaged in 2.1.5 and ESXi 4.1U3.

        2.1.5_dump1.PNG
        2.1.5_dump1.PNG_thumb
        2.1.5_dump2.PNG
        2.1.5_dump2.PNG_thumb
        2.1.5_dump3.PNG
        2.1.5_dump3.PNG_thumb
        2.2.2_dump1.PNG
        2.2.2_dump1.PNG_thumb
        2.2.2_dump2.PNG
        2.2.2_dump2.PNG_thumb

        1 Reply Last reply Reply Quote 0
        • D Offline
          doktornotor Banned
          last edited by

          @Supermule:

          Error began with upgrade to 2.2.2…. 2.1.5 running no issues at all. Open Vm tools shows unmanaged in 2.1.5 and ESXi 4.1U3.

          Yeah. When you take modules compiled for FreeBSD 8.3 kernel and shove them on FreeBSD 10.1 box, things don't work. Hardly surprising. The errors are damn explicit, cannot believe that totally broken packages are shipped. (Now, at least the breakage resulting from install seems to be mitigated by the fact that it's so badly broken that it actually fails to install altogether, which is a good thing, considering the state of things…  ::))

          1 Reply Last reply Reply Quote 0
          • S Offline
            Supermule Banned
            last edited by

            Yes.

            But its seems they have corrected the vmxnet.ko file error.

            1 Reply Last reply Reply Quote 0
            • D Offline
              doktornotor Banned
              last edited by

              @Supermule:

              But its seems they have corrected the vmxnet.ko file error.

              Yeah. By removing the module altogether.

              1 Reply Last reply Reply Quote 0
              • E Offline
                EMWEE
                last edited by

                Guess ill wait this the package is fixed.

                1 Reply Last reply Reply Quote 0
                • S Offline
                  Supermule Banned
                  last edited by

                  Apparently the driver is present in 10.1 so its not needed in the tools??

                  @doktornotor:

                  @Supermule:

                  But its seems they have corrected the vmxnet.ko file error.

                  Yeah. By removing the module altogether.

                  1 Reply Last reply Reply Quote 0
                  • johnpozJ Offline
                    johnpoz LAYER 8 Global Moderator
                    last edited by

                    freebsd 10.1 has native vmx3 support so you don't need the tools at all really other than to be able to clearly shutdown pfsense from esxi, integration with the console, etc.

                    I reported that is fully broken in the package thread.. Not sure on who the specific package owner/contributors are - but sure they will fix it up soon enough.

                    You can run pfsense 2.2.2 just fine on above 5.5u2 of esxi without any issues, and since vmx3 is part of freebsd now you don't really need to install the tools.

                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                    If you get confused: Listen to the Music Play
                    Please don't Chat/PM me for help, unless mod related
                    SG-4860 25.07 | Lab VMs 2.8, 25.07

                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      cmb
                      last edited by

                      Every open issue that existed for open-vm-tools is fixed now.

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        Supermule Banned
                        last edited by

                        TOTALLY AWESOME!!

                        Thanks Chris. Really appreciated!

                        1 Reply Last reply Reply Quote 0
                        • E Offline
                          EMWEE
                          last edited by

                          Gonna have a go on ESXI 5.5U2 and 6 ASAP.

                          1 Reply Last reply Reply Quote 0
                          • E Offline
                            EMWEE
                            last edited by

                            Still cant run a custom shutdown script.

                            Running this custom script.

                            #!/usr/local/bin/php -f
                                    /* parse the configuration and include all functions used below */
                                    require_once("config.inc");
                                    require_once("functions.inc");
                                            system_halt();
                            ?>

                            Dunno if vmware-tools can even run this script.

                            Any ideas?

                            1 Reply Last reply Reply Quote 0
                            • C Offline
                              cmb
                              last edited by

                              Is there a need for a shutdown script? It shuts down the VM without one.

                              Did you chmod +x that php file?

                              1 Reply Last reply Reply Quote 0
                              • E Offline
                                EMWEE
                                last edited by

                                Yes i need to run a custom script. I'm running CP+FreeRADIUS with SQL accounting, when i shutdown the VM no acctstoptime it send to the SQL database. And since im use Simultaneouse-Use attribute this is a problem. This problem does not occur when u shutdown/reboot pfsense from the GUI.

                                Yeah the file is executable. Running it from the commandline works fine.

                                Maby i should write a script to query the database for empty acctstoptime and run it with shellcmd @ boot.

                                1 Reply Last reply Reply Quote 0
                                • johnpozJ Offline
                                  johnpoz LAYER 8 Global Moderator
                                  last edited by

                                  How does that error point to problem with the script?  With the tools package installed and no script can you shutdown pfsense vm?

                                  Do you have the path correctly to where the script in the tools?

                                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                                  If you get confused: Listen to the Music Play
                                  Please don't Chat/PM me for help, unless mod related
                                  SG-4860 25.07 | Lab VMs 2.8, 25.07

                                  1 Reply Last reply Reply Quote 0
                                  • E Offline
                                    EMWEE
                                    last edited by

                                    Yes shutdown works if i disable the shutdown script.

                                    Path is correct.

                                    1 Reply Last reply Reply Quote 0
                                    • johnpozJ Offline
                                      johnpoz LAYER 8 Global Moderator
                                      last edited by

                                      hmm - will have to do something with a custom script to test.  Something simple that can validate works or doesnt work or if get same error, etc.

                                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                                      If you get confused: Listen to the Music Play
                                      Please don't Chat/PM me for help, unless mod related
                                      SG-4860 25.07 | Lab VMs 2.8, 25.07

                                      1 Reply Last reply Reply Quote 0
                                      • First post
                                        Last post
                                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.