I issue:
Code:
 <path>/git-daemon --syslog --base-path=<path>git --export-all --detach --verbose --enable=receive-pack
but when I check with
Code:
 ps -A | grep git
it is not running.
The log shows
Code:
unable to allocate any listen sockets on host (null) port 9418
I am running a firewall and issuing
Code:
 service iptables status | grep 9418
I get
Code:
 30   ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           state NEW tcp dpt:9418
Also the command
Code:
netstat -l | grep git
shows
Code:
tcp 0 0 *:git *:* LISTEN
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?