From: SourceForge.net <no...@so...> - 2005-07-03 17:14:22
|
Bugs item #1231853, was opened at 2005-07-03 17:14 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=719006&aid=1231853&group_id=130646 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: Current Status: Open Resolution: None Priority: 5 Submitted By: Bernd Eidenschink (eide) Assigned to: Nobody/Anonymous (nobody) Summary: Incomplete config file leading server to unusable state Initial Comment: I'm not 100% sure if this behaviour should be classified as Bug, lets see. I found that at a bare minimum the server needs something like this to start: --------------------------------------------------- set servername "server1" set serverdesc "My first server" set homedir [file dirname [ns_info config]] ns_section "ns/servers" ns_param $servername $serverdesc ns_section "ns/parameters" ns_param home $homedir --------------------------------------------------- when starting the server with: ./nsd -u nsadmin -g www -f -t ../smallest-config.tcl it says (timestamps and threadinfo deleted): [-main-] Notice: nsmain: NaviServer/4.99.0 starting [-main-] Notice: nsmain: security info: uid=1003, euid=1003, gid=8, egid=8 [-main-] Notice: nsmain: max files: FD_SETSIZE = 1024, rl_cur = 1024, rl_max = 1024 [-main-] Notice: conf: [ns/server/server1]enabletclpages = 0 [-main-] Notice: nsmain: NaviServer/4.99.0 running [-main-] Notice: nsmain: security info: uid=1003, euid=1003, gid=8, egid=8 and waits. It's visible in the process list (ps shows 2 threads), but not binding to a port ('lsof -i' shows no nsd). When stopping the Server with Ctrl-C: [-main-] Notice: nsmain: NaviServer/4.99.0 stopping [-main-] Notice: driver: triggering shutdown [-main-] Fatal: driver: trigger send() failed: Socket operation on non-socket If it is not considered to be a bug there should at least be some log notice like: "Hint: You may have to specify... " or "Incomplete Configuration...." or not start at all. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=719006&aid=1231853&group_id=130646 |