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

    LighSquid error (PERL/Open-VM-Tools)

    Scheduled Pinned Locked Moved Cache/Proxy
    6 Posts 4 Posters 1.5k 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.
    • S
      SaschaITM
      last edited by

      Hi all! First post, so please be gentle…  :)

      Updated a pfSense install version 2.2.1 to 2.2.2. yesterday. System is running as an ESXi VM, so the "Open-VM-Tools" package is installed. When using the "Refresh now" button on the LightSquid GUI I get the following error in the system log:

      php-fpm[58168]: /pkg_edit.php: The command 'ln -s /usr/local/bin/perl /usr/bin/perl' returned exit code '1', the output was 'ln: /usr/bin/perl: File exists'

      On the console:

      [2.2.2-RELEASE][root@pfsense.langheldt.local]/: ls -l /usr/bin/perl
      lrwxr-xr-x  1 root  wheel  19 Jun 23  2014 /usr/bin/perl -> /usr/local/bin/perl
      [2.2.2-RELEASE][root@pfsense.langheldt.local]/: ls -l /usr/local/bin/perl
      lrwxr-xr-x  1 root  wheel  43 Sep 22  2014 /usr/local/bin/perl -> /usr/pbi/open-vm-tools-nox11-amd64/bin/perl
      [2.2.2-RELEASE][root@pfsense.langheldt.local]/: ls -l /usr/pbi/open-vm-tools-nox11-amd64/bin/perl
      ls: /usr/pbi/open-vm-tools-nox11-amd64/bin/perl: No such file or directory

      The command "perl" doesn't execute of course, because the file "perl" is missing. The actual path to Open-VM-Tools is "/usr/pbi/open-vm-tools-amd64/", though there's no "perl" file in the "bin" directory of that path.

      There are various "perl" files in the file system:

      [2.2.2-RELEASE][root@pfsense.langheldt.local]/usr/bin: find / -name perl
      /usr/bin/perl
      /usr/local/bin/perl
      /usr/pbi/open-vm-tools-amd64/local/bin/perl
      /usr/pbi/squid-amd64/local/lib/perl5/5.18/perl
      /usr/pbi/squid-amd64/local/bin/perl
      /usr/pbi/lightsquid-amd64/local/bin/perl
      /usr/pbi/lightsquid-amd64/local/lib/perl5/5.14/perl
      /usr/pbi/ntop-amd64/local/bin/perl
      /usr/pbi/ntop-amd64/local/lib/perl5/5.16/perl

      I've already tried reinstalling both the "Open-VM-Tools" and "LightSquid" packages, doesn't fix the problem. I guess the "clean" fix to the problem would be to let the LightSquid scripts call "their" version of PERL. I'm reluctant to change the symlink(s) because I don't want to break other packages/functionality. Any help on that?

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

        The only clean fix would be ditching the PBI clusterfuck.

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

          I dont see the same errors in the log…I just get a 404 error when trying to see the Squid reports.

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            https://doc.pfsense.org/index.php/Lightsquid_Troubleshooting

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

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

              Thanks Jim! Brilliant!

              1 Reply Last reply Reply Quote 0
              • S
                SaschaITM
                last edited by

                Thanks jimp, implemented the fix successfully on two machines.

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