unable to allocate any listen sockets on host (null) port 9418
I issue:[PHP]/git-daemon --syslog --base-path=git --export-all --detach --verbose --enable=receive-pack[/PHP]but when I check with[PHP]ps -A | grep git[/PHP] it is not running.
The log shows [PHP]unable to allocate any listen sockets on host (null) port 9418[/PHP]
I am running a firewall and issuing[PHP]service iptables status | grep 9418[/PHP] I get [PHP]30 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:9418[/PHP]
Of course when I try to push using my git client I get an error.
I just don't understand what I am missing here. How can I resolve the error from the log?
Also the command[QUOTE]netstat -l | grep git
shows[QUOTE]tcp 0 0 *:git *:* LISTEN
shows[QUOTE]tcp 0 0 *:git *:* LISTEN
-
Hello :) Do you experience the same issue when temporarily disabling your firewall completely? Note that you may want to post this question on a forum dedicated to discussions of GIT or CentOS, as this is not necessarily related to cPanel so you may not receive as much user-feedback here. Thank you. 0 -
I tried it with iptables turned off and I received the same error in the log. [quote="cPanelMichael, post: 1698861">Hello :) Do you experience the same issue when temporarily disabling your firewall completely? Note that you may want to post this question on a forum dedicated to discussions of GIT or CentOS, as this is not necessarily related to cPanel so you may not receive as much user-feedback here. Thank you. 0
Please sign in to leave a comment.
Comments
2 comments