Menu

#5604 Webmin - Terminal is unable to work anymore

2.011
open
nobody
None
5
2023-01-19
2023-01-18
kalmen chia
No

Hi,

lately, i have been facing this Terminal, which i am unable to get it work. When i clicked on the Terminal icon after login , it display a screen with "CONNECTING..." and it will never be able to go to the command prompt to execute command.

I can use SSH to login with the same user login to this webmin server. And to execute shell commands or sudo commands without issues.

and i can use the Tools --> Command Shell to execure command , but just now sure why i cannot be able to use the Terminal , appreciate if any one can point me what to do , thanks.

Discussion

  • Ilia

    Ilia - 2023-01-18

    Hello,

    If you have a look at /tmp/.webmin/ right after trying to open Terminal module, was is getting logged to ws-555.out or familar file?

     
  • kalmen chia

    kalmen chia - 2023-01-19

    Hi, thanks for trying to look at this, i checked , yes, there is a file called ws-556.out in the /tmp/.webmin , i try delete it, then i go to webmin and click the "Terminal" menu option at left panel again and went back to check , the file will auto create it back ,

    with the content as follow ,

    Running shell '/bin/bash -bash' with pid 11561
    listening on port 556

    • perhaps this info, help, i actually setup my webmin by using nginx reverse proxy , by one of the location in my virtual server, that i specified as below,

      location /webmin/ {
      add_header X-Robots-Tag "noindex, follow" always;
      proxy_pass http://192.168.1.99:10000/;
      }

    so the above will allow me to access my webmin , https://some-domain.com/webmin/ but i do noticed that, when i setup to access the webmin using webmin server index , this ***Error : 404 Error /server/index.-json.cgi *** not found

    and the terminal of this webmin that i access through /webmin/ location , will not work and I am not too sure where else, i can setup so that i can work according to what i wish to acceived, whatever that i am currently doing , in the config file, is only getting like 80% of webmin's job.but the terminal is still not connected and not working. Appreciate your help, thanks.

     

    Last edit: kalmen chia 2023-01-19

Log in to post a comment.

Auth0 Logo