-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
redir doesn't start #13
Comments
Just tested the latest master, which is same as v3.3, and it works here. Both foreground and in the background like you run. You'll have to tell me a bit more about your setup, the version of redir you're using etc. |
Thank you for your feedback. I use Centos 7, built from lastest git sources. Any particular details? |
Well, how did you run the configure script; args, any special environment perhaps, the output from the configure script and the config.log file would be a start. I'll see if I can fire up a CentOS machine later today. |
It just hit me, do you have any SELinux, Apparmor or other policy/access control mechanism enabled? You can usually see the kernel denying application access in the dmesg or other kernel log file, dunno how/what CentOS/RedHat does here. |
well, may be, but i'd expect error message if it fails to listen? |
I can give you ssh for debugging purposes if you wish |
Have you tried running it in the foreground with debug messages enabled?
I agree, there should be an error message, could be the wrong log level is set, but Let's keep ssh login as a backup. |
HI! Will check today's evening, busy right now. |
ok, -n gives error message, but in bg mode it doesn't, which is a bit missleading in my opinion. |
Could you please tell me what the error message is? When redir runs in the background it cannot log to the terminal it starts from, only to syslog like other daemons. Maybe the error message is available in /var/log/syslog? |
Well, it said port was busy. I think may be its not a bug at all... |
You can check open/used ports with netstat or ss. Maybe you already have an application listening to 2222? |
yeah, the problem itself is solved, but no message was a bit missleading :) |
Like I said, when redir runs in the background (default) it has detached from the terminal (to protect itself from being killed if you close your terminal), so it cannot give you any feedback other than in the syslog. This goes for all UNIX daemons. I understand that can be a bit confusing, but I have not tried to mislead you our any other user in any way. I just want to make this clear. OK so we can close this issue then? |
yes, close it |
Built redir, but it doesn't start:
The text was updated successfully, but these errors were encountered: