Forum OpenACS CMS: Re: Problem installing Naviserver (Gentoo)

Collapse
Posted by Michael Martí Menzel on
The problem was that I couldn't get NaviServer to use the "logs" directory. It kept complaining that it could not write the pid-file into the directory called "log". As I could not find any setting for the log file in nsd-config.tcl, I assumed it was a default. In sample-config.tcl I found the way to set the log directory.

- With nsd-config.tcl and sample-config.tcl I get the module loading error. It is always the first module it tries to load the one that gives the error

- With simple-config.tcl I get the following error:
Fatal: nsmain: missing: [ns/parameters]home

- With openacs-config.tcl I get the following error:
Error: Tcl exception: bad option "severity": must be hold, count, get, peek, flush, release, or truncate
while executing "ns_logctl severity "Debug(ns:driver)" $debug"
Fatal: config error

Directory listings:
gentoo # ls -ltr /usr/local/ns/bin/*
-rwxr-xr-x 1 root root 24328 Jun 18 14:09 nsthreadtest
-rwxr-xr-x 1 root root 17315 Jun 18 14:09 init.tcl
-rwxr-xr-x 1 root root 8144 Jun 18 14:09 nsd
-rwxr-xr-x 1 root root 12816 Jun 18 14:09 nssock.so
-rwxr-xr-x 1 root root 28584 Jun 18 14:09 nscgi.so
-rwxr-xr-x 1 root root 18952 Jun 18 14:09 nscp.so
-rwxr-xr-x 1 root root 28584 Jun 18 14:09 nslog.so
-rwxr-xr-x 1 root root 27752 Jun 18 14:09 nsperm.so
-rwxr-xr-x 1 root root 8000 Jun 18 14:09 nsdb.so
-rwxr-xr-x 1 root root 8216 Jun 18 14:09 nsdbtest.so
-rwxr-xr-x 1 root root 24992 Jun 18 14:09 nsssl.so
-rwxr-xr-x 1 root root 8080 Jun 18 14:09 nsproxy.so
-rwxr-xr-x 1 root root 8152 Jun 18 14:09 nsproxy
-rwxr-xr-x 1 root root 13868 Jun 18 14:09 install-sh
-rwxr-xr-x 1 root root 673 Jun 18 14:59 nxsh
-rwxr-xr-x 1 root root 712 Jun 18 14:59 nxwish
-rwxr-xr-x 1 root root 775 Jun 18 14:59 xotclsh
-rwxr-xr-x 1 root root 794 Jun 18 14:59 xowish

gentoo # ls -ldtr /usr/local/ns/lib/*.so
-rwxr-xr-x 1 root root 44728 Jun 18 14:09 /usr/local/ns/lib/libnsthread.so
-rwxr-xr-x 1 root root 920544 Jun 18 14:09 /usr/local/ns/lib/libnsd.so
-rwxr-xr-x 1 root root 52024 Jun 18 14:09 /usr/local/ns/lib/libnsdb.so
-rwxr-xr-x 1 root root 47744 Jun 18 14:09 /usr/local/ns/lib/libnsproxy.so
lrwxrwxrwx 1 root root 41 Jun 18 14:59 /usr/local/ns/lib/libnsf2.1.0.so -> /usr/local/ns/lib/nsf2.1.0/libnsf2.1.0.so