Fossil SCM

Suggested inetd configuration for fossil not working.

Closed

3bdcdb910fc6b07… · opened 14 years, 9 months ago

Type
Incident
Priority
Severity
Important
Resolution
Not_A_Bug
Subsystem
Created
June 19, 2011 10:53 a.m.

I have tried to configure inetd to respond to http requests on port 8080 using the following configuration.

8080 stream tcp nowait.1000 root /home/alex/fossil/fossil/fossil http /home/fossil/fossil/lfossil.fossil

However, it does not work. Using netcat, I find that instead of responding with http messages, it simply replies

http: http: unknown command: /home/fossil/fossil/lfossil.fossil http: use "help" for more information

Fossil clearly does not understand the parameters passed to it. Would someone that has experience respond to this problem, and update the Quick Start guide?

Thanks.


steveb added on 2011-07-22 07:22:33 UTC: Looks to me like you missed a parameter in your inetd line. Look carefully at the example at http://www.sqlite.org/debug1/doc/tip/www/quickstart.wiki

80 stream tcp nowait.1000 root /usr/bin/fossil /usr/bin/fossil http /home/proj1/repos1.fossil

Note that /usr/bin/fossil is listed twice. The first time is the command to execute and the second is argv[0] passed to the program. They will often be the same, as in this example.


Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button