FYI

make[1]: Leaving directory '/usr/local/src/naviserver-4.99.18/nsssl'
make[1]: Entering directory '/usr/local/src/naviserver-4.99.18/nsproxy'
/usr/local/src/naviserver-4.99.18/install-sh -c nsproxy.so /usr/local/ns/bin/
/usr/local/src/naviserver-4.99.18/install-sh -c libnsproxy.so /usr/local/ns/lib/
/usr/local/src/naviserver-4.99.18/install-sh -c nsproxy  /usr/local/ns/bin/
for h in nsproxy.h; do \
/usr/local/src/naviserver-4.99.18/install-sh -c -m 644 $h /usr/local/ns/include/; \
done
make[1]: Leaving directory '/usr/local/src/naviserver-4.99.18/nsproxy'
/usr/local/src/naviserver-4.99.18/install-sh -c install-sh /usr/local/ns/bin/

The documentation is installed under: /usr/local/ns/pages/doc


Congratulations, you have installed NaviServer.


-------- Original Message --------
Subject: [naviserver-devel] NS_ModuleInit Error - Installation Script
From: Iuri Sampaio <i...@iurix.com>
Date: Mon, March 11, 2019 12:27 pm
To: naviserver-devel@lists.sourceforge.net

Hi there,

Has anyone tried to run NS 4.99.18, using the installation script available at https://github.com/gustafn/install-ns.git , in a KVM Debian 9 machine?

I had ran "install-ns.sh build”, and it completed successfully. Then tried to boot up NS and I got the following error.

It claims for nsproxy not being located. However, both files exist within /bin directory, plus permission settings aren’t the issue. See ls -la bellow.

What must be the approach to debug and fix this problem?

NS 4.99.17 script doesn’t have this bug. 



 ~# ls -la /usr/local/ns/bin/       
total 460
drwxrwsr-x  2 root nsadmin  4096 Mar 11 19:07 .
drwxrwsr-x 13 root nsadmin  4096 Mar 11 16:57 ..
-rwxrwxr-x  1 root nsadmin   837 Aug  7  2017 dtplite
-rw-rw-r--  1 root nsadmin 17326 Mar 11 19:06 init.tcl
-rwxrwxr-x  1 root nsadmin 13868 Mar 11 19:06 install-sh
-rwxrwxr-x  1 root nsadmin  7234 Aug  7  2017 nns
-rwxrwxr-x  1 root nsadmin  3373 Aug  7  2017 nnsd
-rwxrwxr-x  1 root nsadmin  4485 Aug  7  2017 nnslog
-rwxrwxr-x  1 root nsadmin 29088 Mar 11 19:06 nscgi.so
-rwxrwxr-x  1 root nsadmin 19448 Mar 11 19:06 nscp.so
-rwxrwxr-x  1 root nsadmin  8712 Mar 11 19:06 nsd
-rwxrwxr-x  1 root nsadmin  8560 Mar 11 19:06 nsdb.so
-rwxrwxr-x  1 root nsadmin 37872 Mar 11 19:06 nsdbpg.so
-rwxrwxr-x  1 root nsadmin 12872 Mar 11 19:06 nsdbtest.so
-rwxrwxr-x  1 root nsadmin 29208 Mar 11 19:06 nslog.so
-rwxrwxr-x  1 root nsadmin 28208 Mar 11 19:06 nsperm.so
-rwxrwxr-x  1 root nsadmin  8712 Mar 11 19:06 nsproxy
-rwxrwxr-x  1 root nsadmin  8648 Mar 11 19:06 nsproxy.so
-rwxrwxr-x  1 root nsadmin 13312 Mar 11 19:06 nssock.so
-rwxrwxr-x  1 root nsadmin 25736 Mar 11 19:06 nsssl.so
-rwxrwxr-x  1 root nsadmin 24784 Mar 11 19:06 nsthreadtest
-rwxrwxr-x  1 root nsadmin   671 Mar 11 19:07 nxsh
-rwxrwxr-x  1 root nsadmin   710 Mar 11 19:07 nxwish
-rwxrwxr-x  1 root nsadmin 19490 Aug  7  2017 page
-rwxrwxr-x  1 root nsadmin  4168 Aug  7  2017 pt
-rwxrwxr-x  1 root nsadmin 29841 Mar 11 19:06 sqlite3_analyzer
-rwxrwxr-x  1 root nsadmin 13695 Aug  7  2017 tcldocstrip
lrwxrwxrwx  1 root nsadmin    26 Mar 11 19:06 tclsh -> /usr/local/ns/bin/tclsh8.6
-rwxrwxr-x  1 root nsadmin  8904 Mar 11 19:06 tclsh8.6
-rwxrwxr-x  1 root nsadmin   773 Mar 11 19:07 xotclsh
-rwxrwxr-x  1 root nsadmin   792 Mar 11 19:07 xowish


[11/Mar/2019:09:41:25][686.7f9b027fc700][-sched:idle1-] Notice: starting
[11/Mar/2019:09:41:25][686.7f9b027fc700][-sched:16-] Notice: update interpreter to epoch 1, trace none, time 0.533963 secs
[11/Mar/2019:09:46:19][686.7f9b28d49700][::throttle] Notice: === user 192.168.1.160 left system at 1552322779 reason inactive after 560 seconds clicks 1
[11/Mar/2019:09:46:19][686.7f9b28d49700][::throttle] Notice: === user 192.168.1.169 left system at 1552322779 reason inactive after 574 seconds clicks 2
[11/Mar/2019:17:24:53][21417.7fbf327c8700][-main-] Notice: nsmain: NaviServer/4.99.18 (tar-4.99.18) starting
[11/Mar/2019:17:24:53][21417.7fbf327c8700][-main-] Notice: nsmain: security info: uid=1001, euid=1001, gid=1000, egid=1000
[11/Mar/2019:17:24:53][21417.7fbf327c8700][-main-] Notice: nsmain: Tcl version: 8.6.8
[11/Mar/2019:17:24:53][21417.7fbf327c8700][-main-] Notice: nsmain: max files: soft limit 1048576, hard limit 1048576
[11/Mar/2019:17:24:53][21417.7fbf327c8700][-main-] Warning: nsmain: rl_cur (1048576) > FD_SETSIZE (1024), select() calls should not be used
[11/Mar/2019:17:24:53][21417.7fbf327c8700][-main-] Notice: pool default: queueLength 90 low water 9 high water 90
[11/Mar/2019:17:24:53][21417.7fbf327c8700][-main-] Notice: nsd/init.tcl[litli]: booting virtual server:  Tcl system encoding: "utf-8"
[11/Mar/2019:17:24:53][21417.7fbf327c8700][-main-] Notice: modload: loading module nslog from file /usr/local/ns/bin/nslog
[11/Mar/2019:17:24:53][21417.7fbf327c8700][-main-] Notice: nslog: opened '/var/www/litli/log//access.log'
[11/Mar/2019:17:24:53][21417.7fbf327c8700][-main-] Notice: modload: loading module nsdb from file /usr/local/ns/bin/nsdb
[11/Mar/2019:17:24:53][21417.7fbf327c8700][-main-] Notice: modload: loading module ns/db/driver/postgres from file /usr/local/ns/bin/nsdbpg
[11/Mar/2019:17:24:53][21417.7fbf327c8700][-main-] Notice: nsdbpg: version 2.3 loaded, based on PostgreSQL 9.6.11 and libbpq 90611
[11/Mar/2019:17:24:53][21417.7fbf327c8700][-main-] Notice: dbinit: set LogMinDuration for pool pool1 over 0.01 to 0.010000
[11/Mar/2019:17:24:53][21417.7fbf327c8700][-main-] Notice: dbinit: set LogMinDuration for pool pool2 over 0.01 to 0.010000
[11/Mar/2019:17:24:53][21417.7fbf327c8700][-main-] Notice: modload: loading module nsproxy from file /usr/local/ns/bin/nsproxy
[11/Mar/2019:17:24:53][21417.7fbf327c8700][-main-] Error: modload: /usr/local/ns/bin/nsproxy: cannot find symbol "Ns_ModuleInit": /usr/local/ns/bin/nsproxy: undefined symbol: _Ns_ModuleInit
[11/Mar/2019:17:24:53][21417.7fbf327c8700][-main-] Fatal: modload: failed to load module '/usr/local/ns/bin/nsproxy'



_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to