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

Fatal error when run: /usr/local/sbin/pfSsh.php

Scheduled Pinned Locked Moved General pfSense Questions
4 Posts 3 Posters 996 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
    sparkvilla
    last edited by Apr 19, 2016, 9:04 AM

    Hi all. I would like to start the PHP shell from the "normal" shell. So I type:

    /usr/local/sbin/pfSsh.php

    I do not get access to the PHP shell and I get:

    Fatal error: Call to undefined function readline_completion_function() in /usr/local/sbin/pfSsh.php on line 162
    PHP ERROR: Type: 1, File: /usr/local/sbin/pfSsh.php, Line: 162, Message: Call to undefined function readline_completion_function()

    Any help? Thank you

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Apr 19, 2016, 6:23 PM

      Works fine here, have you seen any other problems?

      From the error message it sounds like it is missing a php module (readline)

      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
        sparkvilla
        last edited by Apr 20, 2016, 1:40 PM

        I guess there was a problem in the pfSsh.php script because I replaced it with a new one (from a pfSense box that was actually working) and now it works!

        1 Reply Last reply Reply Quote 0
        • D
          dhaselhorst
          last edited by Apr 20, 2016, 5:25 PM Apr 20, 2016, 5:21 PM

          I was seeing the exact same issue on a newly upgraded 2.3 box. It appears the script must now run as root vs. just running as an admin user. I already had the 'sudo' package installed on the box so once I added 'sudo' to the beginning of my previous check command, it works perfectly.

          1 Reply Last reply Reply Quote 0
          4 out of 4
          • First post
            4/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received