You can subscribe to this list here.
| 2005 |
Jan
|
Feb
(53) |
Mar
(62) |
Apr
(88) |
May
(55) |
Jun
(204) |
Jul
(52) |
Aug
|
Sep
(1) |
Oct
(94) |
Nov
(15) |
Dec
(68) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2006 |
Jan
(130) |
Feb
(105) |
Mar
(34) |
Apr
(61) |
May
(41) |
Jun
(92) |
Jul
(176) |
Aug
(102) |
Sep
(247) |
Oct
(69) |
Nov
(32) |
Dec
(140) |
| 2007 |
Jan
(58) |
Feb
(51) |
Mar
(11) |
Apr
(20) |
May
(34) |
Jun
(37) |
Jul
(18) |
Aug
(60) |
Sep
(41) |
Oct
(105) |
Nov
(19) |
Dec
(14) |
| 2008 |
Jan
(3) |
Feb
|
Mar
(7) |
Apr
(5) |
May
(123) |
Jun
(5) |
Jul
(1) |
Aug
(29) |
Sep
(15) |
Oct
(21) |
Nov
(51) |
Dec
(3) |
| 2009 |
Jan
|
Feb
(36) |
Mar
(29) |
Apr
|
May
|
Jun
(7) |
Jul
(4) |
Aug
|
Sep
(4) |
Oct
|
Nov
(13) |
Dec
|
| 2010 |
Jan
|
Feb
|
Mar
(9) |
Apr
(11) |
May
(16) |
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
| 2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2012 |
Jan
(7) |
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
(92) |
Nov
(28) |
Dec
(16) |
| 2013 |
Jan
(9) |
Feb
(2) |
Mar
|
Apr
(4) |
May
(4) |
Jun
(6) |
Jul
(14) |
Aug
(12) |
Sep
(4) |
Oct
(13) |
Nov
(1) |
Dec
(6) |
| 2014 |
Jan
(23) |
Feb
(19) |
Mar
(10) |
Apr
(14) |
May
(11) |
Jun
(6) |
Jul
(11) |
Aug
(15) |
Sep
(41) |
Oct
(95) |
Nov
(23) |
Dec
(11) |
| 2015 |
Jan
(3) |
Feb
(9) |
Mar
(19) |
Apr
(3) |
May
(1) |
Jun
(3) |
Jul
(11) |
Aug
(1) |
Sep
(15) |
Oct
(5) |
Nov
(2) |
Dec
|
| 2016 |
Jan
(7) |
Feb
(11) |
Mar
(8) |
Apr
(1) |
May
(3) |
Jun
(17) |
Jul
(12) |
Aug
(3) |
Sep
(5) |
Oct
(19) |
Nov
(12) |
Dec
(6) |
| 2017 |
Jan
(30) |
Feb
(23) |
Mar
(12) |
Apr
(32) |
May
(27) |
Jun
(7) |
Jul
(13) |
Aug
(16) |
Sep
(6) |
Oct
(11) |
Nov
|
Dec
(12) |
| 2018 |
Jan
(1) |
Feb
(5) |
Mar
(6) |
Apr
(7) |
May
(23) |
Jun
(3) |
Jul
(2) |
Aug
(1) |
Sep
(6) |
Oct
(6) |
Nov
(10) |
Dec
(3) |
| 2019 |
Jan
(26) |
Feb
(15) |
Mar
(9) |
Apr
|
May
(8) |
Jun
(14) |
Jul
(10) |
Aug
(10) |
Sep
(4) |
Oct
(2) |
Nov
(20) |
Dec
(10) |
| 2020 |
Jan
(10) |
Feb
(14) |
Mar
(29) |
Apr
(11) |
May
(25) |
Jun
(21) |
Jul
(23) |
Aug
(12) |
Sep
(19) |
Oct
(6) |
Nov
(8) |
Dec
(12) |
| 2021 |
Jan
(29) |
Feb
(9) |
Mar
(8) |
Apr
(8) |
May
(2) |
Jun
(2) |
Jul
(9) |
Aug
(9) |
Sep
(3) |
Oct
(4) |
Nov
(12) |
Dec
(13) |
| 2022 |
Jan
(4) |
Feb
|
Mar
(4) |
Apr
(12) |
May
(15) |
Jun
(7) |
Jul
(10) |
Aug
(2) |
Sep
|
Oct
(1) |
Nov
(8) |
Dec
|
| 2023 |
Jan
(15) |
Feb
|
Mar
(23) |
Apr
(1) |
May
(2) |
Jun
(10) |
Jul
|
Aug
(22) |
Sep
(19) |
Oct
(2) |
Nov
(20) |
Dec
|
| 2024 |
Jan
(1) |
Feb
|
Mar
(16) |
Apr
(15) |
May
(6) |
Jun
(4) |
Jul
(1) |
Aug
(1) |
Sep
|
Oct
(13) |
Nov
(18) |
Dec
(6) |
| 2025 |
Jan
(12) |
Feb
|
Mar
(2) |
Apr
(1) |
May
(11) |
Jun
(5) |
Jul
(4) |
Aug
(2) |
Sep
(2) |
Oct
(6) |
Nov
|
Dec
|
|
From: Gustaf N. (sslmail) <ne...@wu...> - 2024-04-24 17:52:55
|
> On 23.04.2024, at 18:07, David Osborne <da...@qc...> wrote:
>
> But the Client can initiate requests which have X-Forwarded-For Headers already present, then we run into difficulties
>
> Client: IP 1.1.1.1 : sends X-Forwarded-For: 1.2.3.4
> |
> Proxy 1: sends X-Forwarded-For: 1.2.3.4,1.1.1.1
> Proxy 2: sends X-Forwarded-For: 1.2.3.4,1.1.1.1,2.2.2.2
> Naviserver: peeraddr -source forwarded = 1.2.3.4
This is the case where proxy 1 should not accept the x-forwarded-for header from an untrusted upstream server. In case, proxy1 is a nginx server, it should use
proxy_set_header X-Forwarded-For $remote_addr;
for untrusted upstream requests. Therefore, proxy 2 will receive x-forwarded-for with 1.1.1.1, 2.2.2.2 etc. and everything is fine.
>
> We have got around this by using proxy2 to clobber the X-Forwared-For header using the Nginx real_ip module which has the logic that it will use the rightmost IP if from a trusted peer.
>
> Client: IP 1.1.1.1 : sends X-Forwarded-For: 1.2.3.4
> |
> Proxy 1: sends X-Forwarded-For: 1.2.3.4,1.1.1.1
> Proxy 2: sends X-Forwarded-For: 1.1.1.1 (as calculated by real_ip <https://nginx.org/en/docs/http/ngx_http_realip_module.html>logic - we trust proxy1, so use the most recent IP - the rightmost)
> |
> Naviserver: peeraddr -source forwarded = 1.1.1.1
by this “trick” one can skip in your configuration the “untrusted” X-Forwarded-For: 1.2.3.4
However, without the massaging in proxy2, you would end up with
X-Forwarded-For: 1.2.3.4,1.1.1.1,2.2.2.2
where the rightmost address is as well incorrect. So, even by the search from the right, one should skip the known proxy servers from the list (here 2.2.2.2). Also, one should aim for a configuration that works also, when one more different proxy is added.
> However, we are looking into dropping proxy2. Unfortunately proxy1 does not have the flexibility to manipulate headers in such a way
Does your proxy1 set something like the x-real-ip header?
-g
|
|
From: David O. <da...@qc...> - 2024-04-23 17:08:46
|
Thanks, The situation we were looking at is where NaviServer is behind 2 proxies. Client: IP 1.1.1.1 | Proxy 1: sends X-Forwarded-For: 1.1.1.1 | Proxy 2: sends X-Forwarded-For: 1.1.1.1,2.2.2.2 | Naviserver: peeraddr -source forwarded = 1.1.1.1 Which is fine. But the Client can initiate requests which have X-Forwarded-For Headers already present, then we run into difficulties Client: IP 1.1.1.1 : sends X-Forwarded-For: 1.2.3.4 | Proxy 1: sends X-Forwarded-For: 1.2.3.4,1.1.1.1 | Proxy 2: sends X-Forwarded-For: 1.2.3.4,1.1.1.1,2.2.2.2 | Naviserver: peeraddr -source forwarded = 1.2.3.4 We have got around this by using proxy2 to clobber the X-Forwared-For header using the Nginx real_ip module which has the logic that it will use the rightmost IP if from a trusted peer. Client: IP 1.1.1.1 : sends X-Forwarded-For: 1.2.3.4 | Proxy 1: sends X-Forwarded-For: 1.2.3.4,1.1.1.1 | Proxy 2: sends X-Forwarded-For: 1.1.1.1 (as calculated by real_ip <https://nginx.org/en/docs/http/ngx_http_realip_module.html>logic - we trust proxy1, so use the most recent IP - the rightmost) | Naviserver: peeraddr -source forwarded = 1.1.1.1 However, we are looking into dropping proxy2. Unfortunately proxy1 does not have the flexibility to manipulate headers in such a way so we are back to: Client: IP 1.1.1.1 : sends X-Forwarded-For: 1.2.3.4 | Proxy 1: sends X-Forwarded-For: 1.2.3.4,1.1.1.1 | Naviserver: peeraddr -source forwarded = 1.2.3.4 This leaves, I think, a situation in which the client can send any IP in the X-Forwarded-For header then we'd use it and throw away the peer IP seen by proxy1. On Tue, 23 Apr 2024 at 10:39, Gustaf Neumann (sslmail) <ne...@wu...> wrote: > > Why are you looking into the issue? Would the filtering of private > addresses help you? > > -gn > > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > |
|
From: Gustaf N. (sslmail) <ne...@wu...> - 2024-04-23 09:38:22
|
> On 22.04.2024, at 11:01, David Osborne <da...@qc...> wrote:
>
> In reverseproxymode, when there is a list of IPs in X-Forwarded-For header, it's always the leftmost IP which is chosen by NaviServer for accesslogs (and ns_conn peeraddr):
>
> X-Forwarded-For 1.1.1.1,2.2.2.2
> ns_conn peeraddr -source forwarded = 1.1.1.1
>
> Is there any mechanism by which we can resolve to the rightmost IP for the access logs instead?
In case, there is only one forwarded-for entry received by NaviServer, everything is fine in all situations. In case x-forwarded-for has multiple values and gets its content from trusted and well-configured proxies, the leftmost value is the original value of the client
X-Forwarded-For: client, proxy1, proxy2
The rightmost value is from is the last proxy.
From a security point of view, if there is no trust in the proxies, it is certainly easy for an attacker to inject a wrong IP-address of the client to the forwarded-for header. Therefore, various reverse proxy server have mechanisms to define trusted upstream proxies, from which these values are accepted. So, probably the right approach is to accept in nginx configuration only incoming x-forwarded-for headers from trusted sources (or drop all, if there are no trusted upstream servers). nginx-rule for replacing incoming x-forwarded-for headers with the remote address:
proxy_set_header X-Forwarded-For $remote_addr;
Note that it is possible that a request can contain multiple x-forwarded-for headers, which should be logically concatenated. NaviServer just takes the first one (corresponding the leftmost value) and shows therefore a consistent behaviour.
However, the implementation in NaviServer is certainly not perfect. When handling of multiple proxy servers is required (larger network of proxies) and e.g. a client and a proxy are from a private network (having non-routable addresses), and these requests are routed over proxies in public networks, the internal addresses would not be informative for most purposes (geo-location, etc.) and should not be used. Instead, the first routable, valid address from the left should be taken.
As another improvement, NaviServer should support the standardised “Forwarded” header, but its content can't be trusted as well. So, i am not sure, this would help.
Why are you looking into the issue? Would the filtering of private addresses help you?
-gn
|
|
From: Gustaf N. (sslmail) <ne...@wu...> - 2024-04-22 18:07:36
|
Dear David, I installed freebsd14 and could reproduce the issue. The issue is that Tcl_PanicProc is defined in Tcl9 with the attribute declaration TCL_NORETURN1, but it seems, this attribute definition has to be provided as well for the prototype. It would be certainly better, if this attribute definition would be part of the type declaration of Tcl_PanicProc in Tcl9. Not very long ago, the same code worked fine, so something has changed in Tcl9. The patch below addresses this issue, but this is not nice. Maybe, the tcl-core people have a suggestion, since this will effect as well other applications requiring the use of Tcl_SetPanicProc(). Please update your checkout of NaviServer from git, since i have fixed one more small issues unrelated to this. all the best -g --- a/nsd/log.c +++ b/nsd/log.c @@ -96,7 +96,11 @@ static void LogEntriesFree(void *arg); */ static Ns_TlsCleanup FreeCache; -static Tcl_PanicProc Panic; +static +#ifndef NS_TCL_PRE9 + TCL_NORETURN1 +#endif + Tcl_PanicProc Panic; static Ns_LogFilter LogToFile; static Ns_LogFilter LogToTcl; > On 21.04.2024, at 16:18, Not Spam <un...@cr...> wrote: > > Good afternoon, > I'm currently rebuilding my machine and I am having some issues with NaviServer (4.99-main #defd765) compiling on FreeBSD 14, with TCL 9.0b2 or TCL 9.0b1 > > TCL 9.0b1 > === > cc -O2 -Wall -fPIC -pipe -finput-charset=UTF-8 -DNDEBUG -DSYSTEM_MALLOC -std=c99 -I../include -I"/usr/local/include" -DHAVE_CONFIG_H -c -o log.o log.c > log.c:262:22: error: incompatible function pointer types passing 'Tcl_PanicProc' (aka 'void (const char *, ...)') to parameter of type 'void (*)(const char *, ...) __attribute__((noreturn))' [-Wincompatible-function-pointer-types] > Tcl_SetPanicProc(Panic); > ^~~~~ > /usr/local/include/tcl.h:2366:37: note: passing argument to parameter 'panicProc' here > TCL_NORETURN1 Tcl_PanicProc *panicProc); > ^ > > TCL 9.0b2 > === > cc -O2 -Wall -fPIC -pipe -finput-charset=UTF-8 -DNDEBUG -DSYSTEM_MALLOC -std=c99 -I../include -I"/usr/local/include" -DHAVE_CONFIG_H -c -o log.o log.c > log.c:262:22: error: incompatible function pointer types passing 'Tcl_PanicProc' (aka 'void (const char *, ...)') to parameter of type 'void (*)(const char *, ...) __attribute__((noreturn))' [-Wincompatible-function-pointer-types] > Tcl_SetPanicProc(Panic); > ^~~~~ > /usr/local/include/tcl.h:2366:37: note: passing argument to parameter 'panicProc' here > TCL_NORETURN1 Tcl_PanicProc *panicProc); > ^ > 1 error generated. > > I'm using the latest GIT repo version. > Any advice would be nice, I wish to use the ZIPFS that TCL9 brings. > > Regards, > David F > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel |
|
From: David O. <da...@qc...> - 2024-04-22 10:47:49
|
Hi,
In reverseproxymode, when there is a list of IPs in X-Forwarded-For header,
it's always the leftmost IP which is chosen by NaviServer for
accesslogs (and ns_conn peeraddr):
X-Forwarded-For 1.1.1.1,2.2.2.2
ns_conn peeraddr -source forwarded = 1.1.1.1
Is there any mechanism by which we can resolve to the rightmost IP for the
access logs instead?
X-Forwarded-For 1.1.1.1,2.2.2.2
ns_conn peeraddr -source forwarded = 2.2.2.2
The use case is, if we are behind a single reverse proxy, if X-Forwarded-For
already exists when hitting that proxy, the proxy will often append the
client IP to the contents of the header.
In these cases, we don't want to trust the original contents of the header,
only what was added by our trusted proxy - eg. the rightmost value.
The algorithm could be something like:
if { [llength $x-forwarded-for] > 1} {
if { [ns_conn peeraddr -source direct] in $trusted_subnet } {
set client_ip [lindex $x-forwarded-for end]
}
}
We can currently do this programmatically by inspecting the headers
themselves, but the IP in the access logs would, I think, still be the
untrusted IP.
(This is really a limitation of the X-Forwarded-For mechanism itself, hence
why it is being superseded by the Forwarded header.)
Nginx have a config mechanism to try to express this which includes
specifying the subnets or IP addresses you trust:
https://nginx.org/en/docs/http/ngx_http_realip_module.html
In NaviServer, it could be something like:
ns_param reverseproxymode "true"
ns_param reverseproxytrust [list 192.168.1.21 192.168.2.0/24]
Any suggestions on what is best to do here?
--
*David Osborne | Software Engineer*
Qcode Software
*Email:* da...@qc... | *Phone:* 01463 896 484
www.qcode.co.uk
|
|
From: Not S. <un...@cr...> - 2024-04-21 22:00:43
|
Apologies for the spam, It just occurred to me I could just do a backtrace. Reading symbols from nsd... [New LWP 109631] Core was generated by `./nsd'. Program terminated with signal SIGSEGV, Segmentation fault. Address not mapped to object. #0 0x0000000821d3fb93 in LogFlush () from /srv/.forest./lib/libnsd.so (gdb) bt #0 0x0000000821d3fb93 in LogFlush () from /srv/.forest./lib/libnsd.so #1 0x0000000821d3f8bb in Ns_Log () from /srv/.forest./lib/libnsd.so #2 0x0000000821d7ef61 in NsInitOpenSSL () from /srv/.forest./lib/libnsd.so #3 0x0000000821d3db29 in Nsd_LibInit () from /srv/.forest./lib/libnsd.so #4 0x0000000821d4273e in Ns_Main () from /srv/.forest./lib/libnsd.so #5 0x000000082854aafa in __libc_start1 () from /lib/libc.so.7 #6 0x0000000000201710 in _start () at /usr/src/lib/csu/amd64/crt1_s.S:83 If any further information is required. let me know Regards David F |
|
From: Not S. <un...@cr...> - 2024-04-21 21:45:49
|
Well my tinkering failed. ./nsd Segmentation fault (core dumped) Can email core if required? Regards David F |
|
From: Not S. <un...@cr...> - 2024-04-21 14:35:52
|
Ah, well, I found workaround to get it to compile is to modifiy log.c on line 263 From: Tcl_SetPanicProc(Panic); Ns_AddLogFilter(LogToFile, INT2PTR(STDERR_FILENO), NULL); To Tcl_PanicProc(Panic); Ns_AddLogFilter(LogToFile, INT2PTR(STDERR_FILENO), NULL); Results in completed compile, but does throw the warning: log.c:952:1: warning: unused function 'Panic' [-Wunused-function] Panic(const char *fmt, ...) ^ So, I've probably broken something somewhere, but good enough for me. Regards, David F -----Original Message----- From: Not <un...@cr...> To: naviserver-devel <nav...@li...> Date: Sunday, 21 April 2024 2:18 PM GMT Subject: FreeBSD 14 - TCL 9.0 - NaviServer GIT Latest - error: incompatible function pointer - log.c Good afternoon, I'm currently rebuilding my machine and I am having some issues with NaviServer (4.99-main #defd765) compiling on FreeBSD 14, with TCL 9.0b2 or TCL 9.0b1 TCL 9.0b1 === cc -O2 -Wall -fPIC -pipe -finput-charset=UTF-8 -DNDEBUG -DSYSTEM_MALLOC -std=c99 -I../include -I"/usr/local/include" -DHAVE_CONFIG_H -c -o log.o log.c log.c:262:22: error: incompatible function pointer types passing 'Tcl_PanicProc' (aka 'void (const char *, ...)') to parameter of type 'void (*)(const char *, ...) __attribute__((noreturn))' [-Wincompatible-function-pointer-types] Tcl_SetPanicProc(Panic); ^~~~~ /usr/local/include/tcl.h:2366:37: note: passing argument to parameter 'panicProc' here TCL_NORETURN1 Tcl_PanicProc *panicProc); ^ TCL 9.0b2 === cc -O2 -Wall -fPIC -pipe -finput-charset=UTF-8 -DNDEBUG -DSYSTEM_MALLOC -std=c99 -I../include -I"/usr/local/include" -DHAVE_CONFIG_H -c -o log.o log.c log.c:262:22: error: incompatible function pointer types passing 'Tcl_PanicProc' (aka 'void (const char *, ...)') to parameter of type 'void (*)(const char *, ...) __attribute__((noreturn))' [-Wincompatible-function-pointer-types] Tcl_SetPanicProc(Panic); ^~~~~ /usr/local/include/tcl.h:2366:37: note: passing argument to parameter 'panicProc' here TCL_NORETURN1 Tcl_PanicProc *panicProc); ^ 1 error generated. I'm using the latest GIT repo version. Any advice would be nice, I wish to use the ZIPFS that TCL9 brings. Regards, David F |
|
From: Not S. <un...@cr...> - 2024-04-21 14:35:51
|
Good afternoon, I'm currently rebuilding my machine and I am having some issues with NaviServer (4.99-main #defd765) compiling on FreeBSD 14, with TCL 9.0b2 or TCL 9.0b1 TCL 9.0b1 === cc -O2 -Wall -fPIC -pipe -finput-charset=UTF-8 -DNDEBUG -DSYSTEM_MALLOC -std=c99 -I../include -I"/usr/local/include" -DHAVE_CONFIG_H -c -o log.o log.c log.c:262:22: error: incompatible function pointer types passing 'Tcl_PanicProc' (aka 'void (const char *, ...)') to parameter of type 'void (*)(const char *, ...) __attribute__((noreturn))' [-Wincompatible-function-pointer-types] Tcl_SetPanicProc(Panic); ^~~~~ /usr/local/include/tcl.h:2366:37: note: passing argument to parameter 'panicProc' here TCL_NORETURN1 Tcl_PanicProc *panicProc); ^ TCL 9.0b2 === cc -O2 -Wall -fPIC -pipe -finput-charset=UTF-8 -DNDEBUG -DSYSTEM_MALLOC -std=c99 -I../include -I"/usr/local/include" -DHAVE_CONFIG_H -c -o log.o log.c log.c:262:22: error: incompatible function pointer types passing 'Tcl_PanicProc' (aka 'void (const char *, ...)') to parameter of type 'void (*)(const char *, ...) __attribute__((noreturn))' [-Wincompatible-function-pointer-types] Tcl_SetPanicProc(Panic); ^~~~~ /usr/local/include/tcl.h:2366:37: note: passing argument to parameter 'panicProc' here TCL_NORETURN1 Tcl_PanicProc *panicProc); ^ 1 error generated. I'm using the latest GIT repo version. Any advice would be nice, I wish to use the ZIPFS that TCL9 brings. Regards, David F |
|
From: Maksym Z. <siq...@gm...> - 2024-03-21 23:16:11
|
Dear Gustaf, my naviserver and modules are compiled and installed in the docker container, using the same image, so I assume there's no problem with different versions of tcl. This error happens when I'm trying to start a container, after a few retries it works fine. On Tue, Mar 19, 2024 at 8:21 AM Gustaf Neumann (sslmail) <ne...@wu...> wrote: > The error indicates inconsistent usage of memory allocation/deallocation > functions. Typical reasons are inconsistent usage of library functions > (e.g. different tcl versions during compilation and runtime of nsd or some > of the c modules) or inconsistent usage of memory allocator options (e.g. > malloc libraries in use). > > One can obtain details what happened via debugging options during > compilation. > > -gn > > > On 18.03.2024, at 18:39, Maksym Zinchenko <siq...@gm...> wrote: > > > > Hello, what can cause this errors, how can I get more information about, > debug: > > > > Fatal: alloc: invalid block: 0x7fd5285e5670: 0 0 > > Fatal: received fatal signal 11 > > > > Thank you > > _______________________________________________ > > naviserver-devel mailing list > > nav...@li... > > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > > > > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > |
|
From: Gustaf N. (sslmail) <ne...@wu...> - 2024-03-19 09:21:00
|
The error indicates inconsistent usage of memory allocation/deallocation functions. Typical reasons are inconsistent usage of library functions (e.g. different tcl versions during compilation and runtime of nsd or some of the c modules) or inconsistent usage of memory allocator options (e.g. malloc libraries in use). One can obtain details what happened via debugging options during compilation. -gn > On 18.03.2024, at 18:39, Maksym Zinchenko <siq...@gm...> wrote: > > Hello, what can cause this errors, how can I get more information about, debug: > > Fatal: alloc: invalid block: 0x7fd5285e5670: 0 0 > Fatal: received fatal signal 11 > > Thank you > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel |
|
From: Maksym Z. <siq...@gm...> - 2024-03-18 17:39:46
|
Hello, what can cause this errors, how can I get more information about, debug: Fatal: alloc: invalid block: 0x7fd5285e5670: 0 0 Fatal: received fatal signal 11 Thank you |
|
From: Maksym Z. <siq...@gm...> - 2024-03-11 10:16:10
|
I managed to make it work. It's a complex issue. With cloudflare not supporting certificates, host.docker.internal not working well on linux, using naviserver ip in docker config will not redirect to the correct named server etc. Thank you all for your help On Wed, Mar 6, 2024 at 4:34 PM Gustaf Neumann <ne...@wu...> wrote: > Dear Maksym, > > in order to help you, I tried to mimic your configuration: > > - nginx running in a docker container (listening on port 1000) > - nsd s1.com running in a docker container (listening on port 8081) > - nsd s2.com running on the docker host (listening on port 8082, no > container involved) > - s1 and s2 have info.tcl installed > > On the docker host, i made the following tests > 1) request to s1.com via containerized nginx > 2) request to s2.com via containerized nginx > 3) direct request to s2.com > > All requests are made via curl. > To me, everything looks ok. I still do not understand, what you see as a > problem. > > When you make a request to nginx with a host name neither s1.com or s2.com > , > the first entry is chosen, and the request goes to s1.com. This is nginx > behavior. > > all the best > > -g > > > ######################## case 1 ######################## > % curl -H "Host: s1.com" http://localhost:1000/info.tcl > Host: s1.com > X-Real-IP: 192.168.65.1 > X-Forwarded-For: 192.168.65.1 > X-Forwarded-Proto: http > X-Name: s1.com > Connection: close > User-Agent: curl/8.6.0 > Accept: */* > > ns_conn host: s1.com > > > ######################## case 2 ######################## > % curl -H "Host: s2.com" http://localhost:1000/info.tcl > Host: s2.com > X-Real-IP: 192.168.65.1 > X-Forwarded-For: 192.168.65.1 > X-Forwarded-Proto: http > X-Name: s2.com > Connection: close > User-Agent: curl/8.6.0 > Accept: */* > > ns_conn host: s2.com > > > ######################## case 3 ######################## > % curl -H "Host: s2.com" http://localhost:8082/info.tcl > Host: s2.com > User-Agent: curl/8.6.0 > Accept: */* > > ns_conn host: s2.com > > > info.tcl: > ########################################################### > ns_return 200 text/plain [subst [ns_trim -delimiter | { > |[join [lmap {key value} [ns_set array [ns_conn headers]] {set _ " <http://localhost:8082/info.tclHost:s2.comUser-Agent:curl/8.6.0Accept:*/*ns_connhost:s2.cominfo.tcl:#%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23ns_return200text/plain[subst[ns_trim-delimiter%7C%7B%7C[join[lmap%7Bkeyvalue%7D[ns_setarray[ns_connheaders]]%7Bset_>$key: $value\n"}] ""] > | > |ns_conn host: [ns_conn host] > }]] > ########################################################### > > > nginx configuration: > ########################################################### > server { > listen 80; > server_name s1.com; > > location / { > proxy_pass http://nsd:8081/; > proxy_set_header Host $host; > proxy_set_header X-Real-IP $remote_addr; > proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; > proxy_set_header X-Forwarded-Proto $scheme; > proxy_set_header X-Name s1.com; > } > } > > server { > listen 80; > server_name s2.com; > > location / { > proxy_pass http://host.docker.internal:8082/; > proxy_set_header Host $host; > proxy_set_header X-Real-IP $remote_addr; > proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; > proxy_set_header X-Forwarded-Proto $scheme; > proxy_set_header X-Name s2.com; > } > } > ########################################################### > > docker-compose.yaml > ########################################################### > version: '3' > > services: > nginx: > image: nginx:alpine > ports: > - 1000:80 > volumes: > - /opt/docker/nginx/conf.d:/etc/nginx/conf.d > depends_on: > - nsd > > nsd: > image: gustafn/naviserver:latest-alpine > container_name: nsd > restart: unless-stopped > command: /usr/local/ns/bin/nsd -f -t /usr/local/ns/conf/nsd-config.tcl -u nsadmin -g nsadmin > ports: > - 8081:8081 > environment: > - TZ=${TZ:-Europe/Vienna} > - nsd_httpport=8081 > - nsd_httpsport= > ########################################################### > > > On 05.03.24 20:25, Maksym Zinchenko wrote: > > Hello, no right now i have single nsd with many subdomains clients, > without docker. > > For example: sub1.domain.com, sub2.domain.com etc. What i want is to move > each one of this subdomains to a separeted docker container. But I need to > move them one by one, because I still testing my application on docker, so > I want to move for example sub1 today test it, next time sub2 test it and > so on. > > While im working on one subdomain i still want to serve other subdomains. > > So my idea was to move host's nsd to other ports 8080 and 8443 and install > nginx reverse proxy, so i can redirect some subdomains to host's nsd and > some to dockerized nsd. > > Thanj you > > On Tue, 5 Mar 2024, 18:08 Gustaf Neumann (sslmail), <ne...@wu...> > wrote: > >> Hi Maxsym, >> >> if i understand correctly, you are sending from the docker host requests >> to a single dockerized nginx instance, that forwards these requests to a >> single dockerized nsd backend instance. The nginx instance distinguishes >> the incoming requests to the same port based on the host header field. And >> the same should happen as well on the backend (nsd). >> >> Is this a correct understanding of your setup? >> >> This is somewhat unusual, since typically one uses nginx to forward >> requests to multiple backend instances. So i am not sure, why you are doing >> this. I am not an nginx expert, but my suspicion is that one does not need >> 2 nginx “server” definitions for this. >> >> The problem that you are seeing is that on the backend, you see always >> the same host header field, which is used for virtual hosting. Correct? >> >> Maybe install for your backend servers the following script e.g. under >> the name “info.tcl” and show the result of “curl -H ….” requests, and what >> you are expecting. >> >> all the best >> -g >> >> ns_return 200 text/plain [subst [ns_trim -delimiter | { >> |[join [lmap {key value} [ns_set array [ns_conn headers]] {set _ >> "$key: $value\n"}] ""] >> | >> >> |ns_conn host: [ns_conn host] >> >> |ns_conn peer: [ns_conn peeraddr] >> |ns_conn peer -source configured: [ns_conn peeraddr -source >> configured] >> |ns_conn peer -source direct: [ns_conn peeraddr -source direct] >> >> |ns_conn peer -source forwarded: [ns_conn peeraddr -source forwarded] >> >> }]] >> >> >> >> On 04.03.2024, at 11:45, Maksym Zinchenko <siq...@gm...> wrote: >> >> I have a Naviserver with a couple of virtual web servers listening on a >> single ip:port. I want to move all those virtual servers to Docker >> containers gradually. So I'm trying to install Nginx Reverse Proxy on my >> Docker container and configure it to redirect requests to my host >> Naviserver. >> >> I've changed my Naviserver config to listen to 8080 and 8443 ports on >> docker host gateway IP: >> >> /opt/ns/bin/nsd -w -u nsadmin -t /opt/ns/conf/dz_nsd.tcl -b >>> 172.17.0.1:8080,172.17.0.1:8443 >> >> >> In my Nginx config I have 2 listeners one for dev and dummy1 subdomains: >> >> server { >>> listen 80; >>> server_name dev.daidze.org; >>> >>> location / { >>> proxy_set_header X-Real-IP $remote_addr; >>> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; >>> proxy_set_header Host $http_host; >>> proxy_set_header X-Forwarded-Proto $scheme; >>> proxy_pass http://172.17.0.1:8080/; >>> } >>> } >>> >>> server { >>> listen 443 ssl; >>> server_name dev.daidze.org; >>> ssl_certificate /opt/ns/modules/nsssl/fullchain.pem; >>> ssl_certificate_key /opt/ns/modules/nsssl/privkey.pem; >>> ssl_prefer_server_ciphers on; >>> >>> location / { >>> proxy_set_header X-Real-IP $remote_addr; >>> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; >>> proxy_set_header Host $http_host; >>> proxy_set_header X-Forwarded-Proto $scheme; >>> proxy_pass https://172.17.0.1:8443/; >>> } >>> } >>> >>> server { >>> listen 80; >>> server_name dummy1.daidze.org; >>> >>> location / { >>> proxy_set_header X-Real-IP $remote_addr; >>> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; >>> proxy_set_header Host $http_host; >>> proxy_set_header X-Forwarded-Proto $scheme; >>> proxy_pass http://172.17.0.1:8080/; >>> } >>> } >>> >>> server { >>> listen 443 ssl; >>> server_name dummy1.daidze.org; >>> ssl_certificate /opt/ns/modules/nsssl/fullchain.pem; >>> ssl_certificate_key /opt/ns/modules/nsssl/privkey.pem; >>> ssl_prefer_server_ciphers on; >>> >>> location / { >>> proxy_set_header X-Real-IP $remote_addr; >>> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; >>> proxy_set_header Host $http_host; >>> proxy_set_header X-Forwarded-Proto $scheme; >>> proxy_pass https://172.17.0.1:8443/; >>> } >>> } >> >> >> I'm using proxy_set_header Host $http_host; to redirect the headers real >> Host parameter to my host Naviserver installation, but I'm getting response >> only from the dev Virtual server. It doesn't matter what url I request >> dev.daidze.org or dummy1.daidze.org. Here an example of request to >> https://dummy1.daidze.org/ : >> >> dev server >>> X-Real-IP: 172.64.238.37 >>> X-Forwarded-For: 165.90.99.154, 172.64.238.37 >>> Host: dummy1.daidze.org >>> X-Forwarded-Proto: https >>> Connection: close >>> accept-encoding: gzip, br >>> CF-RAY: 85f13d442cd66671-MAD >>> CF-Visitor: {"scheme":"https"} >>> user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) >>> Gecko/20100101 Firefox/123.0 >>> accept: >>> text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8 >>> >>> accept-language: en-US,en;q=0.5 >>> upgrade-insecure-requests: 1 >>> sec-fetch-dest: document >>> sec-fetch-mode: navigate >>> sec-fetch-site: none >>> sec-fetch-user: ?1 >>> sec-gpc: 1 >>> pragma: no-cache >>> cache-control: no-cache >>> CF-Connecting-IP: 165.90.99.154 >>> CDN-Loop: cloudflare >>> CF-IPCountry: CV >> >> >> What am I doing wrong? According to Naviserver docs redirection is done >> based on the content of the *host* header field. Right? So this should >> work. >> >> Thank you, >> Maksym >> _______________________________________________ >> naviserver-devel mailing list >> nav...@li... >> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >> >> >> _______________________________________________ >> naviserver-devel mailing list >> nav...@li... >> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >> > > > _______________________________________________ > naviserver-devel mailing lis...@li...://lists.sourceforge.net/lists/listinfo/naviserver-devel > > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > |
|
From: Gustaf N. <ne...@wu...> - 2024-03-06 17:34:07
|
Dear Maksym, in order to help you, I tried to mimic your configuration: - nginx running in a docker container (listening on port 1000) - nsd s1.com running in a docker container (listening on port 8081) - nsd s2.com running on the docker host (listening on port 8082, no container involved) - s1 and s2 have info.tcl installed On the docker host, i made the following tests 1) request to s1.com via containerized nginx 2) request to s2.com via containerized nginx 3) direct request to s2.com All requests are made via curl. To me, everything looks ok. I still do not understand, what you see as a problem. When you make a request to nginx with a host name neither s1.com or s2.com, the first entry is chosen, and the request goes to s1.com. This is nginx behavior. all the best -g ######################## case 1 ######################## % curl -H "Host: s1.com" http://localhost:1000/info.tcl Host: s1.com X-Real-IP: 192.168.65.1 X-Forwarded-For: 192.168.65.1 X-Forwarded-Proto: http X-Name: s1.com Connection: close User-Agent: curl/8.6.0 Accept: */* ns_conn host: s1.com ######################## case 2 ######################## % curl -H "Host: s2.com" http://localhost:1000/info.tcl Host: s2.com X-Real-IP: 192.168.65.1 X-Forwarded-For: 192.168.65.1 X-Forwarded-Proto: http X-Name: s2.com Connection: close User-Agent: curl/8.6.0 Accept: */* ns_conn host: s2.com ######################## case 3 ######################## % curl -H "Host: s2.com" http://localhost:8082/info.tcl Host: s2.com User-Agent: curl/8.6.0 Accept: */* ns_conn host: s2.com info.tcl: ########################################################### ns_return 200 text/plain [subst [ns_trim -delimiter | { |[join [lmap {key value} [ns_set array [ns_conn headers]] {set _ "$key: $value\n"}] ""] | |ns_conn host: [ns_conn host] }]] ########################################################### nginx configuration: ########################################################### server { listen 80; server_name s1.com; location / { proxy_passhttp://nsd:8081/; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Name s1.com; } } server { listen 80; server_name s2.com; location / { proxy_passhttp://host.docker.internal:8082/; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Name s2.com; } } ########################################################### docker-compose.yaml ########################################################### version: '3' services: nginx: image: nginx:alpine ports: - 1000:80 volumes: - /opt/docker/nginx/conf.d:/etc/nginx/conf.d depends_on: - nsd nsd: image: gustafn/naviserver:latest-alpine container_name: nsd restart: unless-stopped command: /usr/local/ns/bin/nsd -f -t /usr/local/ns/conf/nsd-config.tcl -u nsadmin -g nsadmin ports: - 8081:8081 environment: - TZ=${TZ:-Europe/Vienna} - nsd_httpport=8081 - nsd_httpsport= ########################################################### On 05.03.24 20:25, Maksym Zinchenko wrote: > Hello, no right now i have single nsd with many subdomains clients, > without docker. > > For example: sub1.domain.com <http://sub1.domain.com>, sub2.domain.com > <http://sub2.domain.com> etc. What i want is to move each one of this > subdomains to a separeted docker container. But I need to move them > one by one, because I still testing my application on docker, so I > want to move for example sub1 today test it, next time sub2 test it > and so on. > > While im working on one subdomain i still want to serve other subdomains. > > So my idea was to move host's nsd to other ports 8080 and 8443 and > install nginx reverse proxy, so i can redirect some subdomains to > host's nsd and some to dockerized nsd. > > Thanj you > > On Tue, 5 Mar 2024, 18:08 Gustaf Neumann (sslmail), <ne...@wu...> > wrote: > > Hi Maxsym, > > if i understand correctly, you are sending from the docker host > requests to a single dockerized nginx instance, that forwards > these requests to a single dockerized nsd backend instance. The > nginx instance distinguishes the incoming requests to the same > port based on the host header field. And the same should happen as > well on the backend (nsd). > > Is this a correct understanding of your setup? > > This is somewhat unusual, since typically one uses nginx to > forward requests to multiple backend instances. So i am not sure, > why you are doing this. I am not an nginx expert, but my suspicion > is that one does not need 2 nginx “server” definitions for this. > > The problem that you are seeing is that on the backend, you see > always the same host header field, which is used for virtual > hosting. Correct? > > Maybe install for your backend servers the following script e.g. > under the name “info.tcl” and show the result of “curl -H ….” > requests, and what you are expecting. > > all the best > -g > > ns_return 200 text/plain [subst [ns_trim -delimiter | { > |[join [lmap {key value} [ns_set array [ns_conn headers]] {set > _ "$key: $value\n"}] ""] > | > |ns_conn host: [ns_conn host] > |ns_conn peer: [ns_conn peeraddr] > |ns_conn peer -source configured: [ns_conn peeraddr -source > configured] > |ns_conn peer -source direct: [ns_conn peeraddr -source direct] > |ns_conn peer -source forwarded: [ns_conn peeraddr -source > forwarded] > }]] > > > >> On 04.03.2024, at 11:45, Maksym Zinchenko <siq...@gm...> wrote: >> >> I have a Naviserver with a couple of virtual web servers >> listening on a single ip:port. I want to move all those virtual >> servers to Docker containers gradually. So I'm trying to install >> Nginx Reverse Proxy on my Docker container and configure it to >> redirect requests to my host Naviserver. >> >> I've changed my Naviserver config to listen to 8080 and 8443 >> ports on docker host gateway IP: >> >> /opt/ns/bin/nsd -w -u nsadmin -t /opt/ns/conf/dz_nsd.tcl -b >> 172.17.0.1:8080 <http://172.17.0.1:8080/>,172.17.0.1:8443 >> <http://172.17.0.1:8443/> >> >> >> In my Nginx config I have 2 listeners one for dev and dummy1 >> subdomains: >> >> server { >> listen 80; >> server_name dev.daidze.org <http://dev.daidze.org/>; >> >> location / { >> proxy_set_header X-Real-IP $remote_addr; >> proxy_set_header X-Forwarded-For >> $proxy_add_x_forwarded_for; >> proxy_set_header Host $http_host; >> proxy_set_header X-Forwarded-Proto $scheme; >> proxy_pass http://172.17.0.1:8080/; >> } >> } >> >> server { >> listen 443 ssl; >> server_name dev.daidze.org <http://dev.daidze.org/>; >> ssl_certificate /opt/ns/modules/nsssl/fullchain.pem; >> ssl_certificate_key /opt/ns/modules/nsssl/privkey.pem; >> ssl_prefer_server_ciphers on; >> >> location / { >> proxy_set_header X-Real-IP $remote_addr; >> proxy_set_header X-Forwarded-For >> $proxy_add_x_forwarded_for; >> proxy_set_header Host $http_host; >> proxy_set_header X-Forwarded-Proto $scheme; >> proxy_pass https://172.17.0.1:8443/; >> } >> } >> >> server { >> listen 80; >> server_name dummy1.daidze.org <http://dummy1.daidze.org/>; >> >> location / { >> proxy_set_header X-Real-IP $remote_addr; >> proxy_set_header X-Forwarded-For >> $proxy_add_x_forwarded_for; >> proxy_set_header Host $http_host; >> proxy_set_header X-Forwarded-Proto $scheme; >> proxy_pass http://172.17.0.1:8080/; >> } >> } >> >> server { >> listen 443 ssl; >> server_name dummy1.daidze.org <http://dummy1.daidze.org/>; >> ssl_certificate /opt/ns/modules/nsssl/fullchain.pem; >> ssl_certificate_key /opt/ns/modules/nsssl/privkey.pem; >> ssl_prefer_server_ciphers on; >> >> location / { >> proxy_set_header X-Real-IP $remote_addr; >> proxy_set_header X-Forwarded-For >> $proxy_add_x_forwarded_for; >> proxy_set_header Host $http_host; >> proxy_set_header X-Forwarded-Proto $scheme; >> proxy_pass https://172.17.0.1:8443/; >> } >> } >> >> >> I'm using proxy_set_header Host $http_host; to redirect the >> headers real Host parameter to my host Naviserver installation, >> but I'm getting response only from the dev Virtual server. It >> doesn't matter what url I request dev.daidze.org >> <http://dev.daidze.org/> or dummy1.daidze.org >> <http://dummy1.daidze.org/>. Here an example of request to >> https://dummy1.daidze.org/ : >> >> dev server >> X-Real-IP: 172.64.238.37 >> X-Forwarded-For: 165.90.99.154, 172.64.238.37 >> Host: dummy1.daidze.org <http://dummy1.daidze.org/> >> X-Forwarded-Proto: https >> Connection: close >> accept-encoding: gzip, br >> CF-RAY: 85f13d442cd66671-MAD >> CF-Visitor: {"scheme":"https"} >> user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; >> rv:123.0) Gecko/20100101 Firefox/123.0 >> accept: >> text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8 >> >> accept-language: en-US,en;q=0.5 >> upgrade-insecure-requests: 1 >> sec-fetch-dest: document >> sec-fetch-mode: navigate >> sec-fetch-site: none >> sec-fetch-user: ?1 >> sec-gpc: 1 >> pragma: no-cache >> cache-control: no-cache >> CF-Connecting-IP: 165.90.99.154 >> CDN-Loop: cloudflare >> CF-IPCountry: CV >> >> >> What am I doing wrong? According to Naviserver docs redirection >> is done based on the content of the /host/ header field. Right? >> So this should work. >> >> Thank you, >> Maksym >> _______________________________________________ >> naviserver-devel mailing list >> nav...@li... >> https://lists.sourceforge.net/lists/listinfo/naviserver-devel > > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > > > > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel |
|
From: Maksym Z. <siq...@gm...> - 2024-03-05 19:26:23
|
Hello, no right now i have single nsd with many subdomains clients, without docker. For example: sub1.domain.com, sub2.domain.com etc. What i want is to move each one of this subdomains to a separeted docker container. But I need to move them one by one, because I still testing my application on docker, so I want to move for example sub1 today test it, next time sub2 test it and so on. While im working on one subdomain i still want to serve other subdomains. So my idea was to move host's nsd to other ports 8080 and 8443 and install nginx reverse proxy, so i can redirect some subdomains to host's nsd and some to dockerized nsd. Thanj you On Tue, 5 Mar 2024, 18:08 Gustaf Neumann (sslmail), <ne...@wu...> wrote: > Hi Maxsym, > > if i understand correctly, you are sending from the docker host requests > to a single dockerized nginx instance, that forwards these requests to a > single dockerized nsd backend instance. The nginx instance distinguishes > the incoming requests to the same port based on the host header field. And > the same should happen as well on the backend (nsd). > > Is this a correct understanding of your setup? > > This is somewhat unusual, since typically one uses nginx to forward > requests to multiple backend instances. So i am not sure, why you are doing > this. I am not an nginx expert, but my suspicion is that one does not need > 2 nginx “server” definitions for this. > > The problem that you are seeing is that on the backend, you see always the > same host header field, which is used for virtual hosting. Correct? > > Maybe install for your backend servers the following script e.g. under the > name “info.tcl” and show the result of “curl -H ….” requests, and what you > are expecting. > > all the best > -g > > ns_return 200 text/plain [subst [ns_trim -delimiter | { > |[join [lmap {key value} [ns_set array [ns_conn headers]] {set _ > "$key: $value\n"}] ""] > | > > |ns_conn host: [ns_conn host] > > |ns_conn peer: [ns_conn peeraddr] > |ns_conn peer -source configured: [ns_conn peeraddr -source > configured] > |ns_conn peer -source direct: [ns_conn peeraddr -source direct] > > |ns_conn peer -source forwarded: [ns_conn peeraddr -source forwarded] > > }]] > > > > On 04.03.2024, at 11:45, Maksym Zinchenko <siq...@gm...> wrote: > > I have a Naviserver with a couple of virtual web servers listening on a > single ip:port. I want to move all those virtual servers to Docker > containers gradually. So I'm trying to install Nginx Reverse Proxy on my > Docker container and configure it to redirect requests to my host > Naviserver. > > I've changed my Naviserver config to listen to 8080 and 8443 ports on > docker host gateway IP: > > /opt/ns/bin/nsd -w -u nsadmin -t /opt/ns/conf/dz_nsd.tcl -b >> 172.17.0.1:8080,172.17.0.1:8443 > > > In my Nginx config I have 2 listeners one for dev and dummy1 subdomains: > > server { >> listen 80; >> server_name dev.daidze.org; >> >> location / { >> proxy_set_header X-Real-IP $remote_addr; >> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; >> proxy_set_header Host $http_host; >> proxy_set_header X-Forwarded-Proto $scheme; >> proxy_pass http://172.17.0.1:8080/; >> } >> } >> >> server { >> listen 443 ssl; >> server_name dev.daidze.org; >> ssl_certificate /opt/ns/modules/nsssl/fullchain.pem; >> ssl_certificate_key /opt/ns/modules/nsssl/privkey.pem; >> ssl_prefer_server_ciphers on; >> >> location / { >> proxy_set_header X-Real-IP $remote_addr; >> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; >> proxy_set_header Host $http_host; >> proxy_set_header X-Forwarded-Proto $scheme; >> proxy_pass https://172.17.0.1:8443/; >> } >> } >> >> server { >> listen 80; >> server_name dummy1.daidze.org; >> >> location / { >> proxy_set_header X-Real-IP $remote_addr; >> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; >> proxy_set_header Host $http_host; >> proxy_set_header X-Forwarded-Proto $scheme; >> proxy_pass http://172.17.0.1:8080/; >> } >> } >> >> server { >> listen 443 ssl; >> server_name dummy1.daidze.org; >> ssl_certificate /opt/ns/modules/nsssl/fullchain.pem; >> ssl_certificate_key /opt/ns/modules/nsssl/privkey.pem; >> ssl_prefer_server_ciphers on; >> >> location / { >> proxy_set_header X-Real-IP $remote_addr; >> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; >> proxy_set_header Host $http_host; >> proxy_set_header X-Forwarded-Proto $scheme; >> proxy_pass https://172.17.0.1:8443/; >> } >> } > > > I'm using proxy_set_header Host $http_host; to redirect the headers real > Host parameter to my host Naviserver installation, but I'm getting response > only from the dev Virtual server. It doesn't matter what url I request > dev.daidze.org or dummy1.daidze.org. Here an example of request to > https://dummy1.daidze.org/ : > > dev server >> X-Real-IP: 172.64.238.37 >> X-Forwarded-For: 165.90.99.154, 172.64.238.37 >> Host: dummy1.daidze.org >> X-Forwarded-Proto: https >> Connection: close >> accept-encoding: gzip, br >> CF-RAY: 85f13d442cd66671-MAD >> CF-Visitor: {"scheme":"https"} >> user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) >> Gecko/20100101 Firefox/123.0 >> accept: >> text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8 >> >> accept-language: en-US,en;q=0.5 >> upgrade-insecure-requests: 1 >> sec-fetch-dest: document >> sec-fetch-mode: navigate >> sec-fetch-site: none >> sec-fetch-user: ?1 >> sec-gpc: 1 >> pragma: no-cache >> cache-control: no-cache >> CF-Connecting-IP: 165.90.99.154 >> CDN-Loop: cloudflare >> CF-IPCountry: CV > > > What am I doing wrong? According to Naviserver docs redirection is done > based on the content of the *host* header field. Right? So this should > work. > > Thank you, > Maksym > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > > > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > |
|
From: Gustaf N. (sslmail) <ne...@wu...> - 2024-03-05 19:08:31
|
Hi Maxsym,
if i understand correctly, you are sending from the docker host requests to a single dockerized nginx instance, that forwards these requests to a single dockerized nsd backend instance. The nginx instance distinguishes the incoming requests to the same port based on the host header field. And the same should happen as well on the backend (nsd).
Is this a correct understanding of your setup?
This is somewhat unusual, since typically one uses nginx to forward requests to multiple backend instances. So i am not sure, why you are doing this. I am not an nginx expert, but my suspicion is that one does not need 2 nginx “server” definitions for this.
The problem that you are seeing is that on the backend, you see always the same host header field, which is used for virtual hosting. Correct?
Maybe install for your backend servers the following script e.g. under the name “info.tcl” and show the result of “curl -H ….” requests, and what you are expecting.
all the best
-g
ns_return 200 text/plain [subst [ns_trim -delimiter | {
|[join [lmap {key value} [ns_set array [ns_conn headers]] {set _ "$key: $value\n"}] ""]
|
|ns_conn host: [ns_conn host]
|ns_conn peer: [ns_conn peeraddr]
|ns_conn peer -source configured: [ns_conn peeraddr -source configured]
|ns_conn peer -source direct: [ns_conn peeraddr -source direct]
|ns_conn peer -source forwarded: [ns_conn peeraddr -source forwarded]
}]]
> On 04.03.2024, at 11:45, Maksym Zinchenko <siq...@gm...> wrote:
>
> I have a Naviserver with a couple of virtual web servers listening on a single ip:port. I want to move all those virtual servers to Docker containers gradually. So I'm trying to install Nginx Reverse Proxy on my Docker container and configure it to redirect requests to my host Naviserver.
>
> I've changed my Naviserver config to listen to 8080 and 8443 ports on docker host gateway IP:
>
>> /opt/ns/bin/nsd -w -u nsadmin -t /opt/ns/conf/dz_nsd.tcl -b 172.17.0.1:8080 <http://172.17.0.1:8080/>,172.17.0.1:8443 <http://172.17.0.1:8443/>
> In my Nginx config I have 2 listeners one for dev and dummy1 subdomains:
>
>> server {
>> listen 80;
>> server_name dev.daidze.org <http://dev.daidze.org/>;
>>
>> location / {
>> proxy_set_header X-Real-IP $remote_addr;
>> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
>> proxy_set_header Host $http_host;
>> proxy_set_header X-Forwarded-Proto $scheme;
>> proxy_pass http://172.17.0.1:8080/;
>> }
>> }
>>
>> server {
>> listen 443 ssl;
>> server_name dev.daidze.org <http://dev.daidze.org/>;
>> ssl_certificate /opt/ns/modules/nsssl/fullchain.pem;
>> ssl_certificate_key /opt/ns/modules/nsssl/privkey.pem;
>> ssl_prefer_server_ciphers on;
>>
>> location / {
>> proxy_set_header X-Real-IP $remote_addr;
>> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
>> proxy_set_header Host $http_host;
>> proxy_set_header X-Forwarded-Proto $scheme;
>> proxy_pass https://172.17.0.1:8443/;
>> }
>> }
>>
>> server {
>> listen 80;
>> server_name dummy1.daidze.org <http://dummy1.daidze.org/>;
>>
>> location / {
>> proxy_set_header X-Real-IP $remote_addr;
>> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
>> proxy_set_header Host $http_host;
>> proxy_set_header X-Forwarded-Proto $scheme;
>> proxy_pass http://172.17.0.1:8080/;
>> }
>> }
>>
>> server {
>> listen 443 ssl;
>> server_name dummy1.daidze.org <http://dummy1.daidze.org/>;
>> ssl_certificate /opt/ns/modules/nsssl/fullchain.pem;
>> ssl_certificate_key /opt/ns/modules/nsssl/privkey.pem;
>> ssl_prefer_server_ciphers on;
>>
>> location / {
>> proxy_set_header X-Real-IP $remote_addr;
>> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
>> proxy_set_header Host $http_host;
>> proxy_set_header X-Forwarded-Proto $scheme;
>> proxy_pass https://172.17.0.1:8443/;
>> }
>> }
>
> I'm using proxy_set_header Host $http_host; to redirect the headers real Host parameter to my host Naviserver installation, but I'm getting response only from the dev Virtual server. It doesn't matter what url I request dev.daidze.org <http://dev.daidze.org/> or dummy1.daidze.org <http://dummy1.daidze.org/>. Here an example of request to https://dummy1.daidze.org/ :
>
>> dev server
>> X-Real-IP: 172.64.238.37
>> X-Forwarded-For: 165.90.99.154, 172.64.238.37
>> Host: dummy1.daidze.org <http://dummy1.daidze.org/>
>> X-Forwarded-Proto: https
>> Connection: close
>> accept-encoding: gzip, br
>> CF-RAY: 85f13d442cd66671-MAD
>> CF-Visitor: {"scheme":"https"}
>> user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0
>> accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
>> accept-language: en-US,en;q=0.5
>> upgrade-insecure-requests: 1
>> sec-fetch-dest: document
>> sec-fetch-mode: navigate
>> sec-fetch-site: none
>> sec-fetch-user: ?1
>> sec-gpc: 1
>> pragma: no-cache
>> cache-control: no-cache
>> CF-Connecting-IP: 165.90.99.154
>> CDN-Loop: cloudflare
>> CF-IPCountry: CV
>
> What am I doing wrong? According to Naviserver docs redirection is done based on the content of the host header field. Right? So this should work.
>
> Thank you,
> Maksym
> _______________________________________________
> naviserver-devel mailing list
> nav...@li...
> https://lists.sourceforge.net/lists/listinfo/naviserver-devel
|
|
From: Georg L. <jor...@ma...> - 2024-03-05 14:28:40
|
Hi Maksym, First you can test Naviserver bei doing the curl requests direct to the IP address and port where Naviserver is listening. You can add the Host header via the -H switch. If you get the right responses for the different hosts, then the following might help: https://stackoverflow.com/questions/9914792/logging-proxy-activity-in-nginx This describes how to configure backend logging in Nginx: |log_format upstreamlog '[$time_local] $remote_addr - $remote_user - $server_name to: $upstream_addr: $request upstream_response_time $upstream_response_time msec $msec request_time $request_time'; access_log /var/log/nginx/access.log upstreamlog; | Configure something along these lines in nginx and check what nginx sends to Naviserver. Regards, Georg On 3/5/24 15:20, Maksym Zinchenko wrote: > I think it's still smth with Naviserver. When there is no domain name > on request, even if I send a Host, the default server will always respond. > For example: > > curl -v -H "Host: dummy1.daidze.com <http://dummy1.daidze.com>" > http://172.17.0.1:8080 > * Trying 172.17.0.1:8080... > * Connected to 172.17.0.1 (172.17.0.1) port 8080 (#0) > > GET / HTTP/1.1 > > Host: dummy1.daidze.com <http://dummy1.daidze.com> > > User-Agent: curl/7.81.0 > > Accept: */* > > > * Mark bundle as not supporting multiuse > < HTTP/1.1 200 OK > < Server: NaviServer/5.0.0a > < Date: Tue, 05 Mar 2024 14:14:46 GMT > < Content-Type: text/html; charset=utf-8 > < Content-Length: 94 > < Connection: keep-alive > < > dev server</br> > Host: dummy1.daidze.com <http://dummy1.daidze.com> </br> > User-Agent: curl/7.81.0 </br> > Accept: */* </br> > * Connection #0 to host 172.17.0.1 left intact > > > On Tue, Mar 5, 2024 at 12:39 PM Georg Lehner <jor...@ma...> > wrote: > > Hello Maksym, > > we can see two requests, the lines starting with "Ns_SockAccept" > and ending with "[0] end of job". I singled them out from your > message below. > > However, we do not know the request you sent in each case. > > What we can see: they are only https requests, since only nsssl > is involved, and both of them go to the default virtual server: > the lines after "driver:nssl" have "conn:dev.daidze.org:default:" > in them. > > Please: > > - do the tests again with http requests. > > - check on your own if the results show a different picture > > - check the nginx logs, to see if the requests are really done to > different hosts. If needed add logging to nginx to see the backend > used for the proxy requests > > Regards, > > Georg > > > On 3/5/24 14:19, Maksym Zinchenko wrote: >> Ive added debug, here is my log: >> >> ... >> [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] >> [0m [0;34mDebug: Ns_SockAccept returns sock 6, err NONE [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] >> [0m [0;34mDebug: nssock(6): option TCP_NODELAY activated [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] >> [0m [0;34mDebug: SSL_read(6) ERROR_WANT_READ got:0 [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] >> [0m [0;34mDebug: ### SSL_read(6) return:0 sockState:80 [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] >> [0m [0;34mDebug: Ns_SockAccept returns sock -1, err Resource >> temporarily unavailable [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] >> [0m [0;34mDebug: SSL_read(6) ERROR_WANT_READ got:0 [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] >> [0m [0;34mDebug: ### SSL_read(6) return:0 sockState:80 [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] >> [0m [0;34mDebug: SSL_read(6) got:418 [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] >> [0m [0;34mDebug: ### SSL_read(6) return:418 sockState:01 [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] >> [0m [0;34mDebug: ### Request SetUrl calls Ns_UrlPathDecode >> '/' [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] >> [0m [0;34mDebug: ### decoded path '/' [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] >> [0m [0;34mDebug: === length < avail (length 0, avail 0) tfd 0 >> tfile (nil) chunkStartOff 0 [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] >> [0m [0;34mDebug: driver sets reqPtr->content (len 0) to '' [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] >> [0m [0;34mDebug: [0] dequeue thread connPtr 0x55d4804627f0 >> idle 1 state 4 create 0 [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] >> [0m [0;34mDebug: ns:interptrace[dev.daidze.org >> <http://dev.daidze.org>]: allocate ns:tcltrace ns_init [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] >> [0m [0;39mNotice: ns_perm_load: >> /opt/ns/modules/nsperm/passwd: / ns_perm_adduser [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] >> [0m [0;34mDebug: --- ns_perm_adduser >> /opt/ns/modules/nsperm/passwd / {{""} {} {} {} {} {} {}} [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] >> [0m [0;34mDebug: --- ns_perm_adduser >> /opt/ns/modules/nsperm/passwd / {nsadmin ubphBI5lDzSYc {} {} >> {} {} {}} [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] >> [0m [0;34mDebug: --- ns_perm_adduser >> /opt/ns/modules/nsperm/passwd / {nobody {} {} {} {} {} {}} [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] >> [0m [0;34mDebug: --- ns_perm_adduser >> /opt/ns/modules/nsperm/passwd / {} [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] >> [0m [0;34mDebug: ### Request SetUrl calls Ns_UrlPathDecode >> '/index.adp' [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] >> [0m [0;34mDebug: ### decoded path '/index.adp' [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] >> [0m [0;34mDebug: AdpPageRequest for >> '/opt/ns/clients/dev/client/pages/index.adp' access ok [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] >> [0m [0;34mDebug: nslog called with driver pattern '(null)' >> via driver 'nsssl' req: GET / HTTP/1.0 [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] >> [0m [0;34mDebug: ns:interptrace[dev.daidze.org >> <http://dev.daidze.org>]: deallocate nsdb:releasehandles >> a:(nil) [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] >> [0m [0;34mDebug: ns:interptrace[dev.daidze.org >> <http://dev.daidze.org>]: deallocate ns:tcltrace ns_cleanup [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] >> [0m [0;34mDebug: Ns_ConnClose 0x55d4804627f0 stream 000000 >> chunk 000000 via writer 000000 sockPtr 0x7feac400f180 [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] >> [0m [0;34mDebug: ### SSL close(6) shutdown returned 1 err 0 [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] >> [0m [0;34mDebug: ### SSL close(6) socket [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] >> [0m [0;34mDebug: [0] end of job, waiting 0 current 1 idle 0 >> ncons 9999 fromQueue 0 start 1709644595.046559 >> 1709644595.051673 accept 0.005114 queue 0.018141 filter >> 0.004938 run 0.008062 netrun 0.003124 total 0.026203 [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] >> [0m [0;34mDebug: Ns_SockAccept returns sock 6, err NONE [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] >> [0m [0;34mDebug: nssock(6): option TCP_NODELAY activated [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] >> [0m [0;34mDebug: SSL_read(6) ERROR_WANT_READ got:0 [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] >> [0m [0;34mDebug: ### SSL_read(6) return:0 sockState:80 [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] >> [0m [0;34mDebug: Ns_SockAccept returns sock -1, err Resource >> temporarily unavailable [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] >> [0m [0;34mDebug: SSL_read(6) ERROR_WANT_READ got:0 [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] >> [0m [0;34mDebug: ### SSL_read(6) return:0 sockState:80 [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] >> [0m [0;34mDebug: SSL_read(6) ERROR_WANT_READ got:0 [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] >> [0m [0;34mDebug: ### SSL_read(6) return:0 sockState:80 [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] >> [0m [0;34mDebug: SSL_read(6) ERROR_WANT_READ got:0 [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] >> [0m [0;34mDebug: ### SSL_read(6) return:0 sockState:80 [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] >> [0m [0;34mDebug: SSL_read(6) got:417 [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] >> [0m [0;34mDebug: ### SSL_read(6) return:417 sockState:01 [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] >> [0m [0;34mDebug: ### Request SetUrl calls Ns_UrlPathDecode >> '/' [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] >> [0m [0;34mDebug: ### decoded path '/' [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] >> [0m [0;34mDebug: === length < avail (length 0, avail 0) tfd 0 >> tfile (nil) chunkStartOff 0 [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] >> [0m [0;34mDebug: driver sets reqPtr->content (len 0) to '' [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] >> [0m [0;34mDebug: [0] dequeue thread connPtr 0x55d4804627f0 >> idle 1 state 4 create 0 [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7feadab59640][-conn:dev.daidze.org:default:0:1-] >> [0m [0;34mDebug: ns:interptrace[dev.daidze.org >> <http://dev.daidze.org>]: allocate ns:tcltrace ns_init [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7feadab59640][-conn:dev.daidze.org:default:0:1-] >> [0m [0;34mDebug: ### Request SetUrl calls Ns_UrlPathDecode >> '/index.adp' [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7feadab59640][-conn:dev.daidze.org:default:0:1-] >> [0m [0;34mDebug: ### decoded path '/index.adp' [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7feadab59640][-conn:dev.daidze.org:default:0:1-] >> [0m [0;34mDebug: AdpPageRequest for >> '/opt/ns/clients/dev/client/pages/index.adp' access ok [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7feadab59640][-conn:dev.daidze.org:default:0:1-] >> [0m [0;34mDebug: nslog called with driver pattern '(null)' >> via driver 'nsssl' req: GET / HTTP/1.0 [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7feadab59640][-conn:dev.daidze.org:default:0:1-] >> [0m [0;34mDebug: ns:interptrace[dev.daidze.org >> <http://dev.daidze.org>]: deallocate nsdb:releasehandles >> a:(nil) [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7feadab59640][-conn:dev.daidze.org:default:0:1-] >> [0m [0;34mDebug: ns:interptrace[dev.daidze.org >> <http://dev.daidze.org>]: deallocate ns:tcltrace ns_cleanup [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7feadab59640][-conn:dev.daidze.org:default:0:1-] >> [0m [0;34mDebug: Ns_ConnClose 0x55d4804627f0 stream 000000 >> chunk 000000 via writer 000000 sockPtr 0x7feac400f180 [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7feadab59640][-conn:dev.daidze.org:default:0:1-] >> [0m [0;34mDebug: ### SSL close(6) shutdown returned 1 err 0 [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7feadab59640][-conn:dev.daidze.org:default:0:1-] >> [0m [0;34mDebug: ### SSL close(6) socket [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7feadab59640][-conn:dev.daidze.org:default:0:1-] >> [0m [0;34mDebug: [0] end of job, waiting 0 current 1 idle 0 >> ncons 9998 fromQueue 0 start 1709644597.687847 >> 1709644597.692653 accept 0.004806 queue 0.000205 filter >> 0.000253 run 0.000971 netrun 0.000718 total 0.001176 [0m >> > >> ... >> > >> On Tue, Mar 5, 2024 at 12:05 PM Georg Lehner >> <jor...@ma...> wrote: >> >> Hello Maksym, >> >> The information you sent clarifies most questions. >> >> Please copy also the logs when you do a https request to each >> of the >> domains. I recommend e.g. running curl -v >> https://dummy1.daidze.org, >> pasting its output and then pasting the respective part of >> the log, then >> the next. >> >> You need to enable debugging in the server logs: >> >> ns_section ns/parameters { >> >> ... >> >> ns_param logdebug true >> } >> >> Regards, >> >> Georg >> >> On 3/5/24 13:27, Maksym Zinchenko wrote: >> > Hello, here is my dz_nsd.tcl >> ... >> >> >> _______________________________________________ >> naviserver-devel mailing list >> nav...@li... >> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >> >> >> >> _______________________________________________ >> naviserver-devel mailing list >> nav...@li... >> https://lists.sourceforge.net/lists/listinfo/naviserver-devel > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > > > > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel |
|
From: Maksym Z. <siq...@gm...> - 2024-03-05 14:20:29
|
I think it's still smth with Naviserver. When there is no domain name on request, even if I send a Host, the default server will always respond. For example: curl -v -H "Host: dummy1.daidze.com" http://172.17.0.1:8080 > * Trying 172.17.0.1:8080... > * Connected to 172.17.0.1 (172.17.0.1) port 8080 (#0) > > GET / HTTP/1.1 > > Host: dummy1.daidze.com > > User-Agent: curl/7.81.0 > > Accept: */* > > > * Mark bundle as not supporting multiuse > < HTTP/1.1 200 OK > < Server: NaviServer/5.0.0a > < Date: Tue, 05 Mar 2024 14:14:46 GMT > < Content-Type: text/html; charset=utf-8 > < Content-Length: 94 > < Connection: keep-alive > < > dev server</br> > Host: dummy1.daidze.com </br> > User-Agent: curl/7.81.0 </br> > Accept: */* </br> > * Connection #0 to host 172.17.0.1 left intact On Tue, Mar 5, 2024 at 12:39 PM Georg Lehner <jor...@ma...> wrote: > Hello Maksym, > > we can see two requests, the lines starting with "Ns_SockAccept" and > ending with "[0] end of job". I singled them out from your message below. > > However, we do not know the request you sent in each case. > > What we can see: they are only https requests, since only nsssl is > involved, and both of them go to the default virtual server: the lines > after "driver:nssl" have "conn:dev.daidze.org:default:" in them. > > Please: > > - do the tests again with http requests. > > - check on your own if the results show a different picture > > - check the nginx logs, to see if the requests are really done to > different hosts. If needed add logging to nginx to see the backend used for > the proxy requests > > Regards, > Georg > > > On 3/5/24 14:19, Maksym Zinchenko wrote: > > Ive added debug, here is my log: > > ... >> [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] [0m >> [0;34mDebug: Ns_SockAccept returns sock 6, err NONE [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] [0m >> [0;34mDebug: nssock(6): option TCP_NODELAY activated [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] [0m >> [0;34mDebug: SSL_read(6) ERROR_WANT_READ got:0 [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] [0m >> [0;34mDebug: ### SSL_read(6) return:0 sockState:80 [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] [0m >> [0;34mDebug: Ns_SockAccept returns sock -1, err Resource temporarily >> unavailable [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] [0m >> [0;34mDebug: SSL_read(6) ERROR_WANT_READ got:0 [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] [0m >> [0;34mDebug: ### SSL_read(6) return:0 sockState:80 [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] [0m >> [0;34mDebug: SSL_read(6) got:418 [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] [0m >> [0;34mDebug: ### SSL_read(6) return:418 sockState:01 [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] [0m >> [0;34mDebug: ### Request SetUrl calls Ns_UrlPathDecode '/' [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] [0m >> [0;34mDebug: ### decoded path '/' [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] [0m >> [0;34mDebug: === length < avail (length 0, avail 0) tfd 0 tfile (nil) >> chunkStartOff 0 [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] [0m >> [0;34mDebug: driver sets reqPtr->content (len 0) to '' [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] [0m >> [0;34mDebug: [0] dequeue thread connPtr 0x55d4804627f0 idle 1 state 4 >> create 0 [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] >> [0m [0;34mDebug: ns:interptrace[dev.daidze.org]: allocate ns:tcltrace >> ns_init [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] >> [0m [0;39mNotice: ns_perm_load: /opt/ns/modules/nsperm/passwd: / >> ns_perm_adduser [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] >> [0m [0;34mDebug: --- ns_perm_adduser /opt/ns/modules/nsperm/passwd / {{""} >> {} {} {} {} {} {}} [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] >> [0m [0;34mDebug: --- ns_perm_adduser /opt/ns/modules/nsperm/passwd / >> {nsadmin ubphBI5lDzSYc {} {} {} {} {}} [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] >> [0m [0;34mDebug: --- ns_perm_adduser /opt/ns/modules/nsperm/passwd / >> {nobody {} {} {} {} {} {}} [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] >> [0m [0;34mDebug: --- ns_perm_adduser /opt/ns/modules/nsperm/passwd / {} [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] >> [0m [0;34mDebug: ### Request SetUrl calls Ns_UrlPathDecode '/index.adp' [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] >> [0m [0;34mDebug: ### decoded path '/index.adp' [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] >> [0m [0;34mDebug: AdpPageRequest for >> '/opt/ns/clients/dev/client/pages/index.adp' access ok [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] >> [0m [0;34mDebug: nslog called with driver pattern '(null)' via driver >> 'nsssl' req: GET / HTTP/1.0 [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] >> [0m [0;34mDebug: ns:interptrace[dev.daidze.org]: deallocate >> nsdb:releasehandles a:(nil) [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] >> [0m [0;34mDebug: ns:interptrace[dev.daidze.org]: deallocate ns:tcltrace >> ns_cleanup [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] >> [0m [0;34mDebug: Ns_ConnClose 0x55d4804627f0 stream 000000 chunk 000000 via >> writer 000000 sockPtr 0x7feac400f180 [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] >> [0m [0;34mDebug: ### SSL close(6) shutdown returned 1 err 0 [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] >> [0m [0;34mDebug: ### SSL close(6) socket [0m >> [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] >> [0m [0;34mDebug: [0] end of job, waiting 0 current 1 idle 0 ncons 9999 >> fromQueue 0 start 1709644595.046559 1709644595.051673 accept 0.005114 queue >> 0.018141 filter 0.004938 run 0.008062 netrun 0.003124 total 0.026203 [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] [0m >> [0;34mDebug: Ns_SockAccept returns sock 6, err NONE [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] [0m >> [0;34mDebug: nssock(6): option TCP_NODELAY activated [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] [0m >> [0;34mDebug: SSL_read(6) ERROR_WANT_READ got:0 [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] [0m >> [0;34mDebug: ### SSL_read(6) return:0 sockState:80 [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] [0m >> [0;34mDebug: Ns_SockAccept returns sock -1, err Resource temporarily >> unavailable [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] [0m >> [0;34mDebug: SSL_read(6) ERROR_WANT_READ got:0 [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] [0m >> [0;34mDebug: ### SSL_read(6) return:0 sockState:80 [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] [0m >> [0;34mDebug: SSL_read(6) ERROR_WANT_READ got:0 [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] [0m >> [0;34mDebug: ### SSL_read(6) return:0 sockState:80 [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] [0m >> [0;34mDebug: SSL_read(6) ERROR_WANT_READ got:0 [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] [0m >> [0;34mDebug: ### SSL_read(6) return:0 sockState:80 [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] [0m >> [0;34mDebug: SSL_read(6) got:417 [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] [0m >> [0;34mDebug: ### SSL_read(6) return:417 sockState:01 [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] [0m >> [0;34mDebug: ### Request SetUrl calls Ns_UrlPathDecode '/' [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] [0m >> [0;34mDebug: ### decoded path '/' [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] [0m >> [0;34mDebug: === length < avail (length 0, avail 0) tfd 0 tfile (nil) >> chunkStartOff 0 [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] [0m >> [0;34mDebug: driver sets reqPtr->content (len 0) to '' [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] [0m >> [0;34mDebug: [0] dequeue thread connPtr 0x55d4804627f0 idle 1 state 4 >> create 0 [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7feadab59640][-conn:dev.daidze.org:default:0:1-] >> [0m [0;34mDebug: ns:interptrace[dev.daidze.org]: allocate ns:tcltrace >> ns_init [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7feadab59640][-conn:dev.daidze.org:default:0:1-] >> [0m [0;34mDebug: ### Request SetUrl calls Ns_UrlPathDecode '/index.adp' [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7feadab59640][-conn:dev.daidze.org:default:0:1-] >> [0m [0;34mDebug: ### decoded path '/index.adp' [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7feadab59640][-conn:dev.daidze.org:default:0:1-] >> [0m [0;34mDebug: AdpPageRequest for >> '/opt/ns/clients/dev/client/pages/index.adp' access ok [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7feadab59640][-conn:dev.daidze.org:default:0:1-] >> [0m [0;34mDebug: nslog called with driver pattern '(null)' via driver >> 'nsssl' req: GET / HTTP/1.0 [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7feadab59640][-conn:dev.daidze.org:default:0:1-] >> [0m [0;34mDebug: ns:interptrace[dev.daidze.org]: deallocate >> nsdb:releasehandles a:(nil) [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7feadab59640][-conn:dev.daidze.org:default:0:1-] >> [0m [0;34mDebug: ns:interptrace[dev.daidze.org]: deallocate ns:tcltrace >> ns_cleanup [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7feadab59640][-conn:dev.daidze.org:default:0:1-] >> [0m [0;34mDebug: Ns_ConnClose 0x55d4804627f0 stream 000000 chunk 000000 via >> writer 000000 sockPtr 0x7feac400f180 [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7feadab59640][-conn:dev.daidze.org:default:0:1-] >> [0m [0;34mDebug: ### SSL close(6) shutdown returned 1 err 0 [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7feadab59640][-conn:dev.daidze.org:default:0:1-] >> [0m [0;34mDebug: ### SSL close(6) socket [0m >> [1;32m[05/Mar/2024:12:16:37][189217.7feadab59640][-conn:dev.daidze.org:default:0:1-] >> [0m [0;34mDebug: [0] end of job, waiting 0 current 1 idle 0 ncons 9998 >> fromQueue 0 start 1709644597.687847 1709644597.692653 accept 0.004806 queue >> 0.000205 filter 0.000253 run 0.000971 netrun 0.000718 total 0.001176 [0m > > > ... >> > > On Tue, Mar 5, 2024 at 12:05 PM Georg Lehner <jor...@ma...> > wrote: > >> Hello Maksym, >> >> The information you sent clarifies most questions. >> >> Please copy also the logs when you do a https request to each of the >> domains. I recommend e.g. running curl -v https://dummy1.daidze.org, >> pasting its output and then pasting the respective part of the log, then >> the next. >> >> You need to enable debugging in the server logs: >> >> ns_section ns/parameters { >> >> ... >> >> ns_param logdebug true >> } >> >> Regards, >> >> Georg >> >> On 3/5/24 13:27, Maksym Zinchenko wrote: >> > Hello, here is my dz_nsd.tcl >> ... >> >> >> _______________________________________________ >> naviserver-devel mailing list >> nav...@li... >> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >> > > > _______________________________________________ > naviserver-devel mailing lis...@li...://lists.sourceforge.net/lists/listinfo/naviserver-devel > > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > |
|
From: Georg L. <jor...@ma...> - 2024-03-05 13:39:23
|
Hello Maksym, we can see two requests, the lines starting with "Ns_SockAccept" and ending with "[0] end of job". I singled them out from your message below. However, we do not know the request you sent in each case. What we can see: they are only https requests, since only nsssl is involved, and both of them go to the default virtual server: the lines after "driver:nssl" have "conn:dev.daidze.org:default:" in them. Please: - do the tests again with http requests. - check on your own if the results show a different picture - check the nginx logs, to see if the requests are really done to different hosts. If needed add logging to nginx to see the backend used for the proxy requests Regards, Georg On 3/5/24 14:19, Maksym Zinchenko wrote: > Ive added debug, here is my log: > > ... > [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] > [0m [0;34mDebug: Ns_SockAccept returns sock 6, err NONE [0m > [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] > [0m [0;34mDebug: nssock(6): option TCP_NODELAY activated [0m > [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] > [0m [0;34mDebug: SSL_read(6) ERROR_WANT_READ got:0 [0m > [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] > [0m [0;34mDebug: ### SSL_read(6) return:0 sockState:80 [0m > [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] > [0m [0;34mDebug: Ns_SockAccept returns sock -1, err Resource > temporarily unavailable [0m > [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] > [0m [0;34mDebug: SSL_read(6) ERROR_WANT_READ got:0 [0m > [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] > [0m [0;34mDebug: ### SSL_read(6) return:0 sockState:80 [0m > [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] > [0m [0;34mDebug: SSL_read(6) got:418 [0m > [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] > [0m [0;34mDebug: ### SSL_read(6) return:418 sockState:01 [0m > [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] > [0m [0;34mDebug: ### Request SetUrl calls Ns_UrlPathDecode '/' [0m > [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] > [0m [0;34mDebug: ### decoded path '/' [0m > [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] > [0m [0;34mDebug: === length < avail (length 0, avail 0) tfd 0 > tfile (nil) chunkStartOff 0 [0m > [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] > [0m [0;34mDebug: driver sets reqPtr->content (len 0) to '' [0m > [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] > [0m [0;34mDebug: [0] dequeue thread connPtr 0x55d4804627f0 idle 1 > state 4 create 0 [0m > [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] > [0m [0;34mDebug: ns:interptrace[dev.daidze.org > <http://dev.daidze.org>]: allocate ns:tcltrace ns_init [0m > [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] > [0m [0;39mNotice: ns_perm_load: /opt/ns/modules/nsperm/passwd: / > ns_perm_adduser [0m > [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] > [0m [0;34mDebug: --- ns_perm_adduser /opt/ns/modules/nsperm/passwd > / {{""} {} {} {} {} {} {}} [0m > [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] > [0m [0;34mDebug: --- ns_perm_adduser /opt/ns/modules/nsperm/passwd > / {nsadmin ubphBI5lDzSYc {} {} {} {} {}} [0m > [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] > [0m [0;34mDebug: --- ns_perm_adduser /opt/ns/modules/nsperm/passwd > / {nobody {} {} {} {} {} {}} [0m > [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] > [0m [0;34mDebug: --- ns_perm_adduser /opt/ns/modules/nsperm/passwd > / {} [0m > [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] > [0m [0;34mDebug: ### Request SetUrl calls Ns_UrlPathDecode > '/index.adp' [0m > [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] > [0m [0;34mDebug: ### decoded path '/index.adp' [0m > [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] > [0m [0;34mDebug: AdpPageRequest for > '/opt/ns/clients/dev/client/pages/index.adp' access ok [0m > [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] > [0m [0;34mDebug: nslog called with driver pattern '(null)' via > driver 'nsssl' req: GET / HTTP/1.0 [0m > [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] > [0m [0;34mDebug: ns:interptrace[dev.daidze.org > <http://dev.daidze.org>]: deallocate nsdb:releasehandles a:(nil) [0m > [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] > [0m [0;34mDebug: ns:interptrace[dev.daidze.org > <http://dev.daidze.org>]: deallocate ns:tcltrace ns_cleanup [0m > [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] > [0m [0;34mDebug: Ns_ConnClose 0x55d4804627f0 stream 000000 chunk > 000000 via writer 000000 sockPtr 0x7feac400f180 [0m > [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] > [0m [0;34mDebug: ### SSL close(6) shutdown returned 1 err 0 [0m > [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] > [0m [0;34mDebug: ### SSL close(6) socket [0m > [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] > [0m [0;34mDebug: [0] end of job, waiting 0 current 1 idle 0 ncons > 9999 fromQueue 0 start 1709644595.046559 1709644595.051673 accept > 0.005114 queue 0.018141 filter 0.004938 run 0.008062 netrun > 0.003124 total 0.026203 [0m > [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] > [0m [0;34mDebug: Ns_SockAccept returns sock 6, err NONE [0m > [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] > [0m [0;34mDebug: nssock(6): option TCP_NODELAY activated [0m > [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] > [0m [0;34mDebug: SSL_read(6) ERROR_WANT_READ got:0 [0m > [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] > [0m [0;34mDebug: ### SSL_read(6) return:0 sockState:80 [0m > [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] > [0m [0;34mDebug: Ns_SockAccept returns sock -1, err Resource > temporarily unavailable [0m > [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] > [0m [0;34mDebug: SSL_read(6) ERROR_WANT_READ got:0 [0m > [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] > [0m [0;34mDebug: ### SSL_read(6) return:0 sockState:80 [0m > [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] > [0m [0;34mDebug: SSL_read(6) ERROR_WANT_READ got:0 [0m > [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] > [0m [0;34mDebug: ### SSL_read(6) return:0 sockState:80 [0m > [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] > [0m [0;34mDebug: SSL_read(6) ERROR_WANT_READ got:0 [0m > [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] > [0m [0;34mDebug: ### SSL_read(6) return:0 sockState:80 [0m > [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] > [0m [0;34mDebug: SSL_read(6) got:417 [0m > [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] > [0m [0;34mDebug: ### SSL_read(6) return:417 sockState:01 [0m > [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] > [0m [0;34mDebug: ### Request SetUrl calls Ns_UrlPathDecode '/' [0m > [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] > [0m [0;34mDebug: ### decoded path '/' [0m > [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] > [0m [0;34mDebug: === length < avail (length 0, avail 0) tfd 0 > tfile (nil) chunkStartOff 0 [0m > [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] > [0m [0;34mDebug: driver sets reqPtr->content (len 0) to '' [0m > [1;32m[05/Mar/2024:12:16:37][189217.7fead19fd640][-driver:nsssl:0-] > [0m [0;34mDebug: [0] dequeue thread connPtr 0x55d4804627f0 idle 1 > state 4 create 0 [0m > [1;32m[05/Mar/2024:12:16:37][189217.7feadab59640][-conn:dev.daidze.org:default:0:1-] > [0m [0;34mDebug: ns:interptrace[dev.daidze.org > <http://dev.daidze.org>]: allocate ns:tcltrace ns_init [0m > [1;32m[05/Mar/2024:12:16:37][189217.7feadab59640][-conn:dev.daidze.org:default:0:1-] > [0m [0;34mDebug: ### Request SetUrl calls Ns_UrlPathDecode > '/index.adp' [0m > [1;32m[05/Mar/2024:12:16:37][189217.7feadab59640][-conn:dev.daidze.org:default:0:1-] > [0m [0;34mDebug: ### decoded path '/index.adp' [0m > [1;32m[05/Mar/2024:12:16:37][189217.7feadab59640][-conn:dev.daidze.org:default:0:1-] > [0m [0;34mDebug: AdpPageRequest for > '/opt/ns/clients/dev/client/pages/index.adp' access ok [0m > [1;32m[05/Mar/2024:12:16:37][189217.7feadab59640][-conn:dev.daidze.org:default:0:1-] > [0m [0;34mDebug: nslog called with driver pattern '(null)' via > driver 'nsssl' req: GET / HTTP/1.0 [0m > [1;32m[05/Mar/2024:12:16:37][189217.7feadab59640][-conn:dev.daidze.org:default:0:1-] > [0m [0;34mDebug: ns:interptrace[dev.daidze.org > <http://dev.daidze.org>]: deallocate nsdb:releasehandles a:(nil) [0m > [1;32m[05/Mar/2024:12:16:37][189217.7feadab59640][-conn:dev.daidze.org:default:0:1-] > [0m [0;34mDebug: ns:interptrace[dev.daidze.org > <http://dev.daidze.org>]: deallocate ns:tcltrace ns_cleanup [0m > [1;32m[05/Mar/2024:12:16:37][189217.7feadab59640][-conn:dev.daidze.org:default:0:1-] > [0m [0;34mDebug: Ns_ConnClose 0x55d4804627f0 stream 000000 chunk > 000000 via writer 000000 sockPtr 0x7feac400f180 [0m > [1;32m[05/Mar/2024:12:16:37][189217.7feadab59640][-conn:dev.daidze.org:default:0:1-] > [0m [0;34mDebug: ### SSL close(6) shutdown returned 1 err 0 [0m > [1;32m[05/Mar/2024:12:16:37][189217.7feadab59640][-conn:dev.daidze.org:default:0:1-] > [0m [0;34mDebug: ### SSL close(6) socket [0m > [1;32m[05/Mar/2024:12:16:37][189217.7feadab59640][-conn:dev.daidze.org:default:0:1-] > [0m [0;34mDebug: [0] end of job, waiting 0 current 1 idle 0 ncons > 9998 fromQueue 0 start 1709644597.687847 1709644597.692653 accept > 0.004806 queue 0.000205 filter 0.000253 run 0.000971 netrun > 0.000718 total 0.001176 [0m > > ... > > On Tue, Mar 5, 2024 at 12:05 PM Georg Lehner <jor...@ma...> > wrote: > > Hello Maksym, > > The information you sent clarifies most questions. > > Please copy also the logs when you do a https request to each of the > domains. I recommend e.g. running curl -v https://dummy1.daidze.org, > pasting its output and then pasting the respective part of the > log, then > the next. > > You need to enable debugging in the server logs: > > ns_section ns/parameters { > > ... > > ns_param logdebug true > } > > Regards, > > Georg > > On 3/5/24 13:27, Maksym Zinchenko wrote: > > Hello, here is my dz_nsd.tcl > ... > > > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > > > > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel |
|
From: Maksym Z. <siq...@gm...> - 2024-03-05 13:24:43
|
When I do: curl -v https://dummy1.daidze.org I can see that is dev is responding instead of dummy1: [05/Mar/2024:12:22:03][189217.7feadb3ec640][-sched-] Debug: DeQueueEvent > (id 1 qid 1 1709644923.868083) > [05/Mar/2024:12:22:03][189217.7feadb3ec640][-sched-] Debug: ns:interptrace[ > dev.daidze.org]: allocate ns:tcltrace ns_init > [05/Mar/2024:12:22:03][189217.7feadb3ec640][-sched-] Debug: ns:interptrace[ > dev.daidze.org]: deallocate nsdb:releasehandles a:(nil) > [05/Mar/2024:12:22:03][189217.7feadb3ec640][-sched-] Debug: ns:interptrace[ > dev.daidze.org]: deallocate ns:tcltrace ns_cleanup > [05/Mar/2024:12:22:03][189217.7feadb3ec640][-sched-] Debug: QueueEvent (1) > based on lastqueue > [05/Mar/2024:12:22:03][189217.7feadb3ec640][-sched-] Debug: sched: compute > next run time based on: scheduled 1709644933.868083 diff 1 > [05/Mar/2024:12:22:03][189217.7feadb3ec640][-sched-] Debug: QueueEvent (id > 1 qid 2 1709644933.868083) > [05/Mar/2024:12:22:04][189217.7feadb3ec640][-sched-] Debug: DeQueueEvent > (id 3 qid 1 1709644924.721254) > [05/Mar/2024:12:22:04][189217.7feadb3ec640][-sched-] Debug: ns:interptrace[ > dummy1.daidze.org]: allocate ns:tcltrace ns_init > [05/Mar/2024:12:22:04][189217.7feadb3ec640][-sched-] Debug: ns:interptrace[ > dummy1.daidze.org]: deallocate nsdb:releasehandles a:(nil) > [05/Mar/2024:12:22:04][189217.7feadb3ec640][-sched-] Debug: ns:interptrace[ > dummy1.daidze.org]: deallocate ns:tcltrace ns_cleanup > [05/Mar/2024:12:22:04][189217.7feadb3ec640][-sched-] Debug: QueueEvent (3) > based on lastqueue > [05/Mar/2024:12:22:04][189217.7feadb3ec640][-sched-] Debug: sched: compute > next run time based on: scheduled 1709644934.721254 diff 1 > [05/Mar/2024:12:22:04][189217.7feadb3ec640][-sched-] Debug: QueueEvent (id > 3 qid 2 1709644934.721254) > [05/Mar/2024:12:22:07][189217.7fead19fd640][-driver:nsssl:0-] Debug: > Ns_SockAccept returns sock 6, err NONE > [05/Mar/2024:12:22:07][189217.7fead19fd640][-driver:nsssl:0-] Debug: > nssock(6): option TCP_NODELAY activated > [05/Mar/2024:12:22:07][189217.7fead19fd640][-driver:nsssl:0-] Debug: > SSL_read(6) got:418 > [05/Mar/2024:12:22:07][189217.7fead19fd640][-driver:nsssl:0-] Debug: ### > SSL_read(6) return:418 sockState:01 > [05/Mar/2024:12:22:07][189217.7fead19fd640][-driver:nsssl:0-] Debug: ### > Request SetUrl calls Ns_UrlPathDecode '/' > [05/Mar/2024:12:22:07][189217.7fead19fd640][-driver:nsssl:0-] Debug: ### > decoded path '/' > [05/Mar/2024:12:22:07][189217.7fead19fd640][-driver:nsssl:0-] Debug: === > length < avail (length 0, avail 0) tfd 0 tfile (nil) chunkStartOff 0 > [05/Mar/2024:12:22:07][189217.7fead19fd640][-driver:nsssl:0-] Debug: > driver sets reqPtr->content (len 0) to '' > [05/Mar/2024:12:22:07][189217.7fead19fd640][-driver:nsssl:0-] Debug: [0] > dequeue thread connPtr 0x55d4804627f0 idle 1 state 4 create 0 > [05/Mar/2024:12:22:07][189217.7feadab59640][-conn:dev.daidze.org:default:0:3-] > Debug: ns:interptrace[dev.daidze.org]: allocate ns:tcltrace ns_init > [05/Mar/2024:12:22:07][189217.7feadab59640][-conn:dev.daidze.org:default:0:3-] > Debug: ### Request SetUrl calls Ns_UrlPathDecode '/index.adp' > [05/Mar/2024:12:22:07][189217.7feadab59640][-conn:dev.daidze.org:default:0:3-] > Debug: ### decoded path '/index.adp' > [05/Mar/2024:12:22:07][189217.7feadab59640][-conn:dev.daidze.org:default:0:3-] > Debug: AdpPageRequest for '/opt/ns/clients/dev/client/pages/index.adp' > access ok > [05/Mar/2024:12:22:07][189217.7feadab59640][-conn:dev.daidze.org:default:0:3-] > Debug: nslog called with driver pattern '(null)' via driver 'nsssl' req: > GET / HTTP/1.0 > [05/Mar/2024:12:22:07][189217.7feadab59640][-conn:dev.daidze.org:default:0:3-] > Debug: ns:interptrace[dev.daidze.org]: deallocate nsdb:releasehandles > a:(nil) > [05/Mar/2024:12:22:07][189217.7feadab59640][-conn:dev.daidze.org:default:0:3-] > Debug: ns:interptrace[dev.daidze.org]: deallocate ns:tcltrace ns_cleanup > [05/Mar/2024:12:22:07][189217.7feadab59640][-conn:dev.daidze.org:default:0:3-] > Debug: Ns_ConnClose 0x55d4804627f0 stream 000000 chunk 000000 via writer > 000000 sockPtr 0x7feac400f180 > [05/Mar/2024:12:22:07][189217.7feadab59640][-conn:dev.daidze.org:default:0:3-] > Debug: ### SSL close(6) shutdown returned 1 err 0 > [05/Mar/2024:12:22:07][189217.7feadab59640][-conn:dev.daidze.org:default:0:3-] > Debug: ### SSL close(6) socket > [05/Mar/2024:12:22:07][189217.7feadab59640][-conn:dev.daidze.org:default:0:3-] > Debug: [0] end of job, waiting 0 current 1 idle 0 ncons 9996 fromQueue 0 > start 1709644927.307449 1709644927.307449 accept 0.000000 queue 0.016980 > filter 0.001830 run 0.005568 netrun 0.003738 total 0.022548 > [05/Mar/2024:12:22:07][189217.7fead19fd640][-driver:nsssl:0-] Debug: > Ns_SockAccept returns sock -1, err Resource temporarily unavailable > [05/Mar/2024:12:22:11][189217.7fead19fd640][-driver:nsssl:0-] Debug: > Ns_SockAccept returns sock 6, err Resource temporarily unavailable > [05/Mar/2024:12:22:11][189217.7fead19fd640][-driver:nsssl:0-] Debug: > nssock(6): option TCP_NODELAY activated > [05/Mar/2024:12:22:11][189217.7fead19fd640][-driver:nsssl:0-] Debug: > SSL_read(6) ERROR_WANT_READ got:0 > [05/Mar/2024:12:22:11][189217.7fead19fd640][-driver:nsssl:0-] Debug: ### > SSL_read(6) return:0 sockState:80 > [05/Mar/2024:12:22:11][189217.7fead19fd640][-driver:nsssl:0-] Debug: > Ns_SockAccept returns sock -1, err Resource temporarily unavailable > [05/Mar/2024:12:22:11][189217.7fead19fd640][-driver:nsssl:0-] Debug: > SSL_read(6) ERROR_WANT_READ got:0 > [05/Mar/2024:12:22:11][189217.7fead19fd640][-driver:nsssl:0-] Debug: ### > SSL_read(6) return:0 sockState:80 > [05/Mar/2024:12:22:11][189217.7fead19fd640][-driver:nsssl:0-] Debug: > SSL_read(6) ERROR_WANT_READ got:0 > [05/Mar/2024:12:22:11][189217.7fead19fd640][-driver:nsssl:0-] Debug: ### > SSL_read(6) return:0 sockState:80 > [05/Mar/2024:12:22:11][189217.7fead19fd640][-driver:nsssl:0-] Debug: > SSL_read(6) ERROR_WANT_READ got:0 > [05/Mar/2024:12:22:11][189217.7fead19fd640][-driver:nsssl:0-] Debug: ### > SSL_read(6) return:0 sockState:80 > [05/Mar/2024:12:22:11][189217.7fead19fd640][-driver:nsssl:0-] Debug: > SSL_read(6) got:743 > [05/Mar/2024:12:22:11][189217.7fead19fd640][-driver:nsssl:0-] Debug: ### > SSL_read(6) return:743 sockState:01 > [05/Mar/2024:12:22:11][189217.7fead19fd640][-driver:nsssl:0-] Debug: ### > Request SetUrl calls Ns_UrlPathDecode '/' > [05/Mar/2024:12:22:11][189217.7fead19fd640][-driver:nsssl:0-] Debug: ### > decoded path '/' > [05/Mar/2024:12:22:11][189217.7fead19fd640][-driver:nsssl:0-] Debug: === > length < avail (length 0, avail 0) tfd 0 tfile (nil) chunkStartOff 0 > [05/Mar/2024:12:22:11][189217.7fead19fd640][-driver:nsssl:0-] Debug: > driver sets reqPtr->content (len 0) to '' > [05/Mar/2024:12:22:11][189217.7fead19fd640][-driver:nsssl:0-] Debug: [0] > dequeue thread connPtr 0x55d4804627f0 idle 1 state 4 create 0 > [05/Mar/2024:12:22:11][189217.7feadab59640][-conn:dev.daidze.org:default:0:4-] > Debug: ns:interptrace[dev.daidze.org]: allocate ns:tcltrace ns_init > [05/Mar/2024:12:22:11][189217.7feadab59640][-conn:dev.daidze.org:default:0:4-] > Debug: ### Request SetUrl calls Ns_UrlPathDecode '/index.adp' > [05/Mar/2024:12:22:11][189217.7feadab59640][-conn:dev.daidze.org:default:0:4-] > Debug: ### decoded path '/index.adp' > [05/Mar/2024:12:22:11][189217.7feadab59640][-conn:dev.daidze.org:default:0:4-] > Debug: AdpPageRequest for '/opt/ns/clients/dev/client/pages/index.adp' > access ok > [05/Mar/2024:12:22:11][189217.7feadab59640][-conn:dev.daidze.org:default:0:4-] > Debug: nslog called with driver pattern '(null)' via driver 'nsssl' req: > GET / HTTP/1.0 > [05/Mar/2024:12:22:11][189217.7feadab59640][-conn:dev.daidze.org:default:0:4-] > Debug: ns:interptrace[dev.daidze.org]: deallocate nsdb:releasehandles > a:(nil) > [05/Mar/2024:12:22:11][189217.7feadab59640][-conn:dev.daidze.org:default:0:4-] > Debug: ns:interptrace[dev.daidze.org]: deallocate ns:tcltrace ns_cleanup > [05/Mar/2024:12:22:11][189217.7feadab59640][-conn:dev.daidze.org:default:0:4-] > Debug: Ns_ConnClose 0x55d4804627f0 stream 000000 chunk 000000 via writer > 000000 sockPtr 0x7feac400f180 > [05/Mar/2024:12:22:11][189217.7feadab59640][-conn:dev.daidze.org:default:0:4-] > Debug: ### SSL close(6) shutdown returned 1 err 0 > [05/Mar/2024:12:22:11][189217.7feadab59640][-conn:dev.daidze.org:default:0:4-] > Debug: ### SSL close(6) socket > [05/Mar/2024:12:22:11][189217.7feadab59640][-conn:dev.daidze.org:default:0:4-] > Debug: [0] end of job, waiting 0 current 1 idle 0 ncons 9995 fromQueue 0 > start 1709644931.861799 1709644931.864911 accept 0.003112 queue 0.000169 > filter 0.000287 run 0.000911 netrun 0.000624 total 0.001080 > On Tue, Mar 5, 2024 at 12:19 PM Maksym Zinchenko <siq...@gm...> wrote: > Ive added debug, here is my log: > > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:conf-] [0m >> [0;39mNotice: nsmain: NaviServer/5.0.0a (tar-5.0.0a) starting [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:conf-] [0m >> [0;39mNotice: nsmain: security info: uid=1000, euid=1000, gid=1000, >> egid=1000 [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:conf-] [0m >> [0;39mNotice: nsmain: Tcl version: 8.6.12 [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:conf-] [0m >> [0;39mNotice: nsmain: max files: soft limit 524288, hard limit 524288 [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:conf-] [0m >> [1;39mWarning: nsmain: current limit of maximum number of files > >> FD_SETSIZE (1024), select() calls should not be used [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;39mNotice: pool default: queueLength 90 low water 9 high water 72 [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;39mNotice: nsd/init.tcl[dev.daidze.org]: booting virtual server: >> Tcl system encoding: "utf-8" [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;39mNotice: nsd/init.tcl[dev.daidze.org]: loaded Tcl 8.6 (8.6.12) >> [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;39mNotice: modload: loading module nsdb from file >> /opt/ns/bin/nsdb.so [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;39mNotice: modload: loading module nslog from file >> /opt/ns/bin/nslog.so [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: SCHED_DAILY: scheduled 1709644553.395622 next >> 1709600400.000000 diff -1 secdiff -44153 [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: SCHED_DAILY: final next 1709686800.000000 [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: QueueEvent (id 0 qid 1 1709686800.000000) [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;39mNotice: nslog: opened '/opt/ns/logs/dev.daidze.org.log' [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;39mNotice: modload: loading module nsfortune from file >> /opt/ns/bin/nsfortune.so [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;39mNotice: nsfortune: /usr/share/games/fortunes: loaded 20886 >> epigrams from 47 files [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;39mNotice: modload: loading module nsperm from file >> /opt/ns/bin/nsperm.so [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;39mNotice: random: generating 1 seed [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [1;39mWarning: privatelib /opt/ns/clients/dev/client/tcl is not a >> readable directory (ignored) [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/init.tcl [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/aolserver-openacs.tcl [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;39mNotice: nx::serializer version 2.4.0 [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;39mNotice: XOTcl 2.4.0 loaded featuring: memcount 0 profile 0 >> memtrace 0 assertions 1 dtrace 0 development 0 [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;39mNotice: Using ns_cache based on NX 2.4.0 [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/cache.tcl [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/charsets.tcl [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/compat.tcl [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/config.tcl [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;39mNotice: adp[dev.daidze.org]: mapped {GET HEAD POST} /*.adp [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;39mNotice: tcl[dev.daidze.org]: mapped {GET HEAD POST} *.tcl [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/fastpath.tcl [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/file.tcl [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/form.tcl [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/http.tcl [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/limits.tcl [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/ns_crypto.tcl [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/nstrace.tcl [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/sendmail.tcl [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/tcloo.tcl [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/util.tcl [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;39mNotice: privatelib /opt/ns/clients/dev/client/tcl/nsdb is not a >> readable directory (ignored) [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/nsdb/util.tcl [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;39mNotice: sharedlib /opt/ns/tcl/nslog is not a readable directory >> (ignored) [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;39mNotice: privatelib /opt/ns/clients/dev/client/tcl/nslog is not a >> readable directory (ignored) [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;39mNotice: sharedlib /opt/ns/tcl/nsfortune is not a readable >> directory (ignored) [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;39mNotice: privatelib /opt/ns/clients/dev/client/tcl/nsfortune is >> not a readable directory (ignored) [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;39mNotice: privatelib /opt/ns/clients/dev/client/tcl/nsperm is not a >> readable directory (ignored) [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/nsperm/init.tcl [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;39mNotice: PASSWD call <ns_perm adduser {} {} {}> [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;39mNotice: PASSWD call <ns_perm adduser nsadmin ubphBI5lDzSYc {}> >> [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;39mNotice: PASSWD call <ns_perm adduser nobody {} {}> [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/nsperm/compat.tcl [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/nsperm/htaccess.tcl [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;39mNotice: created unnamed syncobj syncobj:ns:mutex:tcl:0 [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;39mNotice: nsperm: enabling .htaccess support [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;39mNotice: privatelib /opt/ns/clients/dev/client/tcl/nsshell is not >> a readable directory (ignored) [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/nsshell/init.tcl [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;39mNotice: nsshell: XHR shell registered under url /nsshell [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;39mNotice: WebSocket: no nsshell configured >> (/opt/ns/tcl/nsshell/init.tcl) [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/nsshell/shell.tcl [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;39mNotice: mutex mid0 created [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: sched: compute next run time based on: scheduled >> 1709644563.868083 diff 1 [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: QueueEvent (id 1 qid 1 1709644563.868083) [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/nsshell/snapshot.tcl [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;39mNotice: privatelib /opt/ns/clients/dev/client/tcl/oodz is not a >> readable directory (ignored) [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/oodz/init.tcl [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/oodz/tPackageClass.tcl >> [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;39mNotice: privatelib /opt/ns/clients/dev/client/tcl/dz is not a >> readable directory (ignored) [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/init.tcl [0m >> [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;39mNotice: ----------------------------- Loading DZ >> ----------------------------------- [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_api.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_chilkat.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;39mNotice: Chilkat Unlocked using purchased unlock code. [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_daidze_procs.tcl >> [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_date_time.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_db.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_dict.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_dummy.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_export.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_filestorage.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_html_wrapper.tcl >> [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_http.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_img_procs.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_json.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_list_procs.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_login.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_mail.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_math_procs.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_namespace.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_nasa.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_ns_set.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_oauth.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_os_file_procs.tcl >> [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_password.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_qrcode.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_sanitize.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_startup.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_template.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_test.tcl [0m >> === aliasedCmd ::ns_cache_flush has regObj <> x '::ns_cache' where >> 'object' >> aliases: ::nx::serializer::ObjectSystemSerializer needs >> ::nx::serializer::Serializer >> set alias-deps for ::nx::serializer::ObjectSystemSerializer - >> :alias_dependency(::nx::serializer::ObjectSystemSerializer,class) - >> ::nx::serializer::Serializer >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: ns:interptrace[dev.daidze.org]: deallocate >> nsdb:releasehandles a:(nil) [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: ns:interptrace[dev.daidze.org]: deallocate ns:tcltrace >> ns_cleanup [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;39mNotice: start update interpreter dev.daidze.org to epoch 1, >> concurrent 1 [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;39mNotice: update interpreter dev.daidze.org to epoch 1 done, >> trace deallocate, time 0.046980 secs concurrent 1 [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [1;31mError: can't read "selfns": no such variable >> : can't read "selfns": no such variable >> : while executing >> : "list upvar 1 ${selfns}::$varname $varname" >> : (procedure "::snit::RT.variable" line 5) >> : invoked from within >> : "variable Snit_typemethodInfo" >> : (in namespace eval "::snit::window" script line 2) >> : invoked from within >> : "namespace eval ::snit::window { >> : variable Snit_typemethodInfo >> : array set Snit_typemethodInfo {info {0 {::snit::RT.typemethod.info >> %t} {}} create {0 {::..." >> : invoked from within >> : "ns_ictl update" >> : (procedure "ns_cleanup" line 8) >> : invoked from within >> : "ns_cleanup" >> : while executing callback >> : ns:tcltrace ns_cleanup >> : (context: trace proc) line 1 [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [1;31mError: can't read "selfns": no such variable >> : can't read "selfns": no such variable >> : while executing >> : "list upvar 1 ${selfns}::$varname $varname" >> : (procedure "::snit::RT.variable" line 5) >> : invoked from within >> : "variable Snit_typemethodInfo" >> : (in namespace eval "::snit::window" script line 2) >> : invoked from within >> : "namespace eval ::snit::window { >> : variable Snit_typemethodInfo >> : array set Snit_typemethodInfo {info {0 {::snit::RT.typemethod.info >> %t} {}} create {0 {::..." >> : invoked from within >> : "ns_ictl update" >> : (procedure "ns_cleanup" line 8) >> : invoked from within >> : "ns_cleanup" >> : while executing callback >> : ns:tcltrace ns_cleanup >> : (context: trace proc) >> : (context: trace deallocate) line 1 [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: ns_markfordelete: true [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] >> [0m [0;34mDebug: ns:interptrace[dev.daidze.org]: delete ns:tcltrace {if >> {[info commands ::nsf::finalize] ne ""} {::nsf::finalize}} [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: pool default: queueLength 90 low water 9 high water 72 [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: nsd/init.tcl[dummy1.daidze.org]: booting virtual >> server: Tcl system encoding: "utf-8" [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: nsd/init.tcl[dummy1.daidze.org]: loaded Tcl 8.6 >> (8.6.12) [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: modload: loading module nsdb from file >> /opt/ns/bin/nsdb.so [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: modload: loading module nslog from file >> /opt/ns/bin/nslog.so [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: SCHED_DAILY: scheduled 1709644554.618167 next >> 1709600400.000000 diff -1 secdiff -44154 [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: SCHED_DAILY: final next 1709686800.000000 [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: QueueEvent (id 2 qid 3 1709686800.000000) [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: nslog: opened '/opt/ns/logs/dummy1.daidze.org.log' [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: modload: loading module nsfortune from file >> /opt/ns/bin/nsfortune.so [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: nsfortune: /usr/share/games/fortunes: loaded 20886 >> epigrams from 47 files [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: modload: loading module nsperm from file >> /opt/ns/bin/nsperm.so [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [1;39mWarning: privatelib /opt/ns/clients/dummy1/client/tcl is not a >> readable directory (ignored) [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/init.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/aolserver-openacs.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: nx::serializer version 2.4.0 [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: XOTcl 2.4.0 loaded featuring: memcount 0 profile 0 >> memtrace 0 assertions 1 dtrace 0 development 0 [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: Using ns_cache based on NX 2.4.0 [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/cache.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/charsets.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/compat.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/config.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: adp[dummy1.daidze.org]: mapped {GET HEAD POST} /*.adp >> [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: tcl[dummy1.daidze.org]: mapped {GET HEAD POST} *.tcl >> [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/fastpath.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/file.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/form.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/http.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/limits.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/ns_crypto.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/nstrace.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/sendmail.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/tcloo.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/util.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: privatelib /opt/ns/clients/dummy1/client/tcl/nsdb is not >> a readable directory (ignored) [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/nsdb/util.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: sharedlib /opt/ns/tcl/nslog is not a readable directory >> (ignored) [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: privatelib /opt/ns/clients/dummy1/client/tcl/nslog is not >> a readable directory (ignored) [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: sharedlib /opt/ns/tcl/nsfortune is not a readable >> directory (ignored) [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: privatelib /opt/ns/clients/dummy1/client/tcl/nsfortune is >> not a readable directory (ignored) [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: privatelib /opt/ns/clients/dummy1/client/tcl/nsperm is >> not a readable directory (ignored) [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/nsperm/init.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: PASSWD call <ns_perm adduser {} {} {}> [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: PASSWD call <ns_perm adduser nsadmin ubphBI5lDzSYc {}> >> [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: PASSWD call <ns_perm adduser nobody {} {}> [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/nsperm/compat.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/nsperm/htaccess.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: created unnamed syncobj syncobj:ns:mutex:tcl:0 [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: nsperm: enabling .htaccess support [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: privatelib /opt/ns/clients/dummy1/client/tcl/nsshell is >> not a readable directory (ignored) [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/nsshell/init.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: nsshell: XHR shell registered under url /nsshell [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: WebSocket: no nsshell configured >> (/opt/ns/tcl/nsshell/init.tcl) [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/nsshell/shell.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: mutex mid1 created [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: sched: compute next run time based on: scheduled >> 1709644564.721254 diff 1 [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: QueueEvent (id 3 qid 2 1709644564.721254) [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/nsshell/snapshot.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: privatelib /opt/ns/clients/dummy1/client/tcl/oodz is not >> a readable directory (ignored) [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/oodz/init.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/oodz/tPackageClass.tcl >> [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: privatelib /opt/ns/clients/dummy1/client/tcl/dz is not a >> readable directory (ignored) [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/init.tcl [0m >> [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: ----------------------------- Loading DZ >> ----------------------------------- [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_api.tcl [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_chilkat.tcl [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: Chilkat Unlocked using purchased unlock code. [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_daidze_procs.tcl >> [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_date_time.tcl [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_db.tcl [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_dict.tcl [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_dummy.tcl [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_export.tcl [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_filestorage.tcl [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_html_wrapper.tcl >> [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_http.tcl [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_img_procs.tcl [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_json.tcl [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_list_procs.tcl [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_login.tcl [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_mail.tcl [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_math_procs.tcl [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_namespace.tcl [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_nasa.tcl [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_ns_set.tcl [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_oauth.tcl [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_os_file_procs.tcl >> [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_password.tcl [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_qrcode.tcl [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_sanitize.tcl [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_startup.tcl [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_template.tcl [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_test.tcl [0m >> === aliasedCmd ::ns_cache_flush has regObj <> x '::ns_cache' where >> 'object' >> aliases: ::nx::serializer::ObjectSystemSerializer needs >> ::nx::serializer::Serializer >> set alias-deps for ::nx::serializer::ObjectSystemSerializer - >> :alias_dependency(::nx::serializer::ObjectSystemSerializer,class) - >> ::nx::serializer::Serializer >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: ns:interptrace[dummy1.daidze.org]: deallocate >> nsdb:releasehandles a:(nil) [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: ns:interptrace[dummy1.daidze.org]: deallocate >> ns:tcltrace ns_cleanup [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: start update interpreter dummy1.daidze.org to epoch 1, >> concurrent 1 [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: update interpreter dummy1.daidze.org to epoch 1 done, >> trace deallocate, time 0.049009 secs concurrent 1 [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [1;31mError: can't read "selfns": no such variable >> : can't read "selfns": no such variable >> : while executing >> : "list upvar 1 ${selfns}::$varname $varname" >> : (procedure "::snit::RT.variable" line 5) >> : invoked from within >> : "variable Snit_typemethodInfo" >> : (in namespace eval "::snit::window" script line 2) >> : invoked from within >> : "namespace eval ::snit::window { >> : variable Snit_typemethodInfo >> : array set Snit_typemethodInfo {info {0 {::snit::RT.typemethod.info >> %t} {}} create {0 {::..." >> : invoked from within >> : "ns_ictl update" >> : (procedure "ns_cleanup" line 8) >> : invoked from within >> : "ns_cleanup" >> : while executing callback >> : ns:tcltrace ns_cleanup >> : (context: trace proc) line 1 [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [1;31mError: can't read "selfns": no such variable >> : can't read "selfns": no such variable >> : while executing >> : "list upvar 1 ${selfns}::$varname $varname" >> : (procedure "::snit::RT.variable" line 5) >> : invoked from within >> : "variable Snit_typemethodInfo" >> : (in namespace eval "::snit::window" script line 2) >> : invoked from within >> : "namespace eval ::snit::window { >> : variable Snit_typemethodInfo >> : array set Snit_typemethodInfo {info {0 {::snit::RT.typemethod.info >> %t} {}} create {0 {::..." >> : invoked from within >> : "ns_ictl update" >> : (procedure "ns_cleanup" line 8) >> : invoked from within >> : "ns_cleanup" >> : while executing callback >> : ns:tcltrace ns_cleanup >> : (context: trace proc) >> : (context: trace deallocate) line 1 [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: ns_markfordelete: true [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: ns:interptrace[dummy1.daidze.org]: delete ns:tcltrace >> {if {[info commands ::nsf::finalize] ne ""} {::nsf::finalize}} [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: ns:callback: prestartup: ns:tclcallback >> _ns_load_global_modules 1 [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: ns:interptrace[dev.daidze.org]: create nsdb:initinterp >> a:0x55d480451508 [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: ns:interptrace[dev.daidze.org]: create nslog:initinterp >> /opt/ns/logs/dev.daidze.org.log [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: ns:interptrace[dev.daidze.org]: create >> p:0x7feadabe85d0 a:0x55d48049fe70 [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: ns:interptrace[dev.daidze.org]: create >> p:0x7feadabe0ab0 a:0x55d4804cbf40 [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: start update interpreter dev.daidze.org to epoch 1, >> concurrent 1 [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: update interpreter dev.daidze.org to epoch 1 done, >> trace none, time 0.128774 secs concurrent 1 [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: ns:interptrace[dev.daidze.org]: allocate ns:tcltrace >> ns_init [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: modload: loading module nsssl from file >> /opt/ns/bin/nsssl.so [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: nsssl:0: enable 0 spooler thread(s) [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: nsssl:0: enable 1 writer thread(s) for downloads >= 4096 >> bytes, bufsize=8192 bytes, HTML streaming 1 [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: OpenSSL OpenSSL 1.1.1f 31 Mar 2020 initialized [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: load certificate '/opt/ns/modules/nsssl/daidze.pem' >> specified in section ns/module/nsssl [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: Ns_TLS_CtxServerInit calls Ns_TLS_CtxServerCreate with app >> data 0x55d482cb6e70 [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: nsssl: disabling SSLv2 [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: nsssl: disabling SSLv3 [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: CertTableAdd: sslCtx 0x55d480c0e8a0 cert >> '/opt/ns/modules/nsssl/daidze.pem' [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: Ns_TLS_CtxServerInit ctx 0x55d480c0e8a0 ctx app (nil) [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: nsssl SSL_CTX_build_cert_chain failed [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsssl:SSL_CTX_get_cert_store 0x55d4804d7fd0 [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: nsssl:X509_STORE_load_locations 1 [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: nsssl: activate OCSP stapling for ns/module/nsssl -> 0 [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: nsssl: version 2.3 loaded, based on OpenSSL 1.1.1f 31 >> Mar 2020 [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: modload: loading module nssock from file >> /opt/ns/bin/nssock.so [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: nssock:0: enable 0 spooler thread(s) [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: nssock:0: enable 0 writer thread(s) [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: ns:interptrace[dev.daidze.org]: deallocate >> nsdb:releasehandles a:(nil) [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;34mDebug: ns:interptrace[dev.daidze.org]: deallocate ns:tcltrace >> ns_cleanup [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: nssock:0: adding virtual host entry for host < >> dev.daidze.org:8080> location: http://dev.daidze.org:8080 mapped to >> server: dev.daidze.org ctx (nil) [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: nssock:0: adding virtual host entry for host < >> dummy1.daidze.org:8080> location: http://dummy1.daidze.org:8080 mapped >> to server: dummy1.daidze.org ctx (nil) [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: nsssl:0: adding virtual host entry for host < >> dev.daidze.org:8443> location: https://dev.daidze.org:8443 mapped to >> server: dev.daidze.org ctx (nil) [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: nsssl:0: adding virtual host entry for host < >> dummy1.daidze.org:8443> location: https://dummy1.daidze.org:8443 mapped >> to server: dummy1.daidze.org ctx (nil) [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7fead21fe640][-driver:nssock:0-] [0m >> [0;39mNotice: starting [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7fead21fe640][-driver:nssock:0-] [0m >> [0;39mNotice: nssock:0: listening on [172.17.0.1]:8080 [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7fead21fe640][-driver:nssock:0-] [0m >> [0;39mNotice: driver: accepting connections [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] >> [0m [0;34mDebug: ns:interptrace[dev.daidze.org]: create nsdb:initinterp >> a:0x55d480451508 [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] >> [0m [0;34mDebug: ns:interptrace[dev.daidze.org]: create nslog:initinterp >> /opt/ns/logs/dev.daidze.org.log [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] >> [0m [0;34mDebug: ns:interptrace[dev.daidze.org]: create >> p:0x7feadabe85d0 a:0x55d48049fe70 [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] >> [0m [0;34mDebug: ns:interptrace[dev.daidze.org]: create >> p:0x7feadabe0ab0 a:0x55d4804cbf40 [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7fead19fd640][-driver:nsssl:0-] [0m >> [0;39mNotice: starting [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7fead19fd640][-driver:nsssl:0-] [0m >> [0;39mNotice: nsssl:0: listening on [172.17.0.1]:8443 [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7fead19fd640][-driver:nsssl:0-] [0m >> [0;39mNotice: driver: accepting connections [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: nsmain: NaviServer/5.0.0a (tar-5.0.0a) running [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] >> [0m [0;39mNotice: nsmain: security info: uid=1000, euid=1000, gid=1000, >> egid=1000 [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadb3ec640][-sched-] [0m >> [0;39mNotice: sched: starting [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7fead29ff640][-conn:dummy1.daidze.org:default:0:0-] >> [0m [0;34mDebug: ns:interptrace[dummy1.daidze.org]: create >> nsdb:initinterp a:0x55d480451526 [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7fead29ff640][-conn:dummy1.daidze.org:default:0:0-] >> [0m [0;34mDebug: ns:interptrace[dummy1.daidze.org]: create >> nslog:initinterp /opt/ns/logs/dummy1.daidze.org.log [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7fead29ff640][-conn:dummy1.daidze.org:default:0:0-] >> [0m [0;34mDebug: ns:interptrace[dummy1.daidze.org]: create >> p:0x7feadabe85d0 a:0x55d480c7f6f0 [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7fead29ff640][-conn:dummy1.daidze.org:default:0:0-] >> [0m [0;34mDebug: ns:interptrace[dummy1.daidze.org]: create >> p:0x7feadabe0ab0 a:0x55d480c803a0 [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7fead29ff640][-conn:dummy1.daidze.org:default:0:0-] >> [0m [0;39mNotice: start update interpreter dummy1.daidze.org to epoch 1, >> concurrent 2 [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7fead11fc640][-writer0-] [0m >> [0;39mNotice: writer0: accepting connections [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] >> [0m [0;39mNotice: start update interpreter dev.daidze.org to epoch 1, >> concurrent 2 [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] >> [0m [0;39mNotice: update interpreter dev.daidze.org to epoch 1 done, >> trace none, time 0.249683 secs concurrent 2 [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] >> [0m [0;34mDebug: ns:interptrace[dev.daidze.org]: allocate ns:tcltrace >> ns_init [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] >> [0m [0;39mNotice: thread initialized (0.279877 secs) [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] >> [0m [0;34mDebug: ns:interptrace[dev.daidze.org]: deallocate >> nsdb:releasehandles a:(nil) [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] >> [0m [0;34mDebug: ns:interptrace[dev.daidze.org]: deallocate ns:tcltrace >> ns_cleanup [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7fead29ff640][-conn:dummy1.daidze.org:default:0:0-] >> [0m [0;39mNotice: update interpreter dummy1.daidze.org to epoch 1 done, >> trace none, time 0.301423 secs concurrent 1 [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7fead29ff640][-conn:dummy1.daidze.org:default:0:0-] >> [0m [0;34mDebug: ns:interptrace[dummy1.daidze.org]: allocate ns:tcltrace >> ns_init [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7fead29ff640][-conn:dummy1.daidze.org:default:0:0-] >> [0m [0;39mNotice: thread initialized (0.320145 secs) [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7fead29ff640][-conn:dummy1.daidze.org:default:0:0-] >> [0m [0;34mDebug: ns:interptrace[dummy1.daidze.org]: deallocate >> nsdb:releasehandles a:(nil) [0m >> [1;32m[05/Mar/2024:12:15:55][189217.7fead29ff640][-conn:dummy1.daidze.org:default:0:0-] >> [0m [0;34mDebug: ns:interptrace[dummy1.daidze.org]: deallocate >> ns:tcltrace ns_cleanup [0m >> [1;32m[05/Mar/2024:12:16:03][189217.7feadb3ec640][-sched-] [0m >> [0;34mDebug: DeQueueEvent (id 1 qid 1 1709644563.868083) [0m >> [1;32m[05/Mar/2024:12:16:03][189217.7feadb3ec640][-sched-] [0m >> [0;34mDebug: ns:interptrace[dev.daidze.org]: create nsdb:initinterp >> a:0x55d480451508 [0m >> [1;32m[05/Mar/2024:12:16:03][189217.7feadb3ec640][-sched-] [0m >> [0;34mDebug: ns:interptrace[dev.daidze.org]: create nslog:initinterp >> /opt/ns/logs/dev.daidze.org.log [0m >> [1;32m[05/Mar/2024:12:16:03][189217.7feadb3ec640][-sched-] [0m >> [0;34mDebug: ns:interptrace[dev.daidze.org]: create p:0x7feadabe85d0 >> a:0x55d48049fe70 [0m >> [1;32m[05/Mar/2024:12:16:03][189217.7feadb3ec640][-sched-] [0m >> [0;34mDebug: ns:interptrace[dev.daidze.org]: create p:0x7feadabe0ab0 >> a:0x55d4804cbf40 [0m >> [1;32m[05/Mar/2024:12:16:03][189217.7feadb3ec640][-sched-] [0m >> [0;39mNotice: start update interpreter dev.daidze.org to epoch 1, >> concurrent 1 [0m >> [1;32m[05/Mar/2024:12:16:04][189217.7feadb3ec640][-sched-] [0m >> [0;39mNotice: update interpreter dev.daidze.org to epoch 1 done, trace >> none, time 0.177554 secs concurrent 1 [0m >> [1;32m[05/Mar/2024:12:16:04][189217.7feadb3ec640][-sched-] [0m >> [0;34mDebug: ns:interptrace[dev.daidze.org]: allocate ns:tcltrace >> ns_init [0m >> [1;32m[05/Mar/2024:12:16:04][189217.7feadb3ec640][-sched-] [0m >> [0;34mDebug: ns:interptrace[dev.daidze.org]: deallocate >> nsdb:releasehandles a:(nil) [0m >> [1;32m[05/Mar/2024:12:16:04][189217.7feadb3ec640][-sched-] [0m >> [0;34mDebug: ns:interptrace[dev.daidze.org]: deallocate ns:tcltrace >> ns_cleanup [0m >> [1;32m[05/Mar/2024:12:16:04][189217.7feadb3ec640][-sched-] [0m >> [0;34mDebug: QueueEvent (1) based on lastqueue [0m >> [1;32m[05/Mar/2024:12:16:04][189217.7feadb3ec640][-sched-] [0m >> [0;34mDebug: sched: compute next run time based on: scheduled >> 1709644573.868083 diff 1 [0m >> [1;32m[05/Mar/2024:12:16:04][189217.7feadb3ec640][-sched-] [0m >> [0;34mDebug: QueueEvent (id 1 qid 2 1709644573.868083) [0m >> [1;32m[05/Mar/2024:12:16:04][189217.7feadb3ec640][-sched-] [0m >> [0;34mDebug: DeQueueEvent (id 3 qid 1 1709644564.721254) [0m >> [1;32m[05/Mar/2024:12:16:04][189217.7feadb3ec640][-sched-] [0m >> [0;34mDebug: ns:interptrace[dummy1.daidze.org]: create nsdb:initinterp >> a:0x55d480451526 [0m >> [1;32m[05/Mar/2024:12:16:04][189217.7feadb3ec640][-sched-] [0m >> [0;34mDebug: ns:interptrace[dummy1.daidze.org]: create nslog:initinterp >> /opt/ns/logs/dummy1.daidze.org.log [0m >> [1;32m[05/Mar/2024:12:16:04][189217.7feadb3ec640][-sched-] [0m >> [0;34mDebug: ns:interptrace[dummy1.daidze.org]: create p:0x7feadabe85d0 >> a:0x55d480c7f6f0 [0m >> [1;32m[05/Mar/2024:12:16:04][189217.7feadb3ec640][-sched-] [0m >> [0;34mDebug: ns:interptrace[dummy1.daidze.org]: create p:0x7feadabe0ab0 >> a:0x55d480c803a0 [0m >> [1;32m[05/Mar/2024:12:16:04][189217.7feadb3ec640][-sched-] [0m >> [0;39mNotice: start update interpreter dummy1.daidze.org to epoch 1, >> concurrent 1 [0m >> [1;32m[05/Mar/2024:12:16:04][189217.7feadb3ec640][-sched-] [0m >> [0;39mNotice: update interpreter dummy1.daidze.org to epoch 1 done, >> trace none, time 0.195646 secs concurrent 1 [0m >> [1;32m[05/Mar/2024:12:16:04][189217.7feadb3ec640][-sched-] [0m >> [0;34mDebug: ns:interptrace[dummy1.daidze.org]: allocate ns:tcltrace >> ns_init [0m >> [1;32m[05/Mar/2024:12:16:04][189217.7feadb3ec640][-sched-] [0m >> [0;34mDebug: ns:interptrace[dummy1.daidze.org]: deallocate >> nsdb:releasehandles a:(nil) [0m >> [1;32m[05/Mar/2024:12:16:04][189217.7feadb3ec640][-sched-] [0m >> [0;34mDebug: ns:interptrace[dummy1.daidze.org]: deallocate ns:tcltrace >> ns_cleanup [0m >> [1;32m[05/Mar/2024:12:16:04][189217.7feadb3ec640][-sched-] [0m >> [0;34mDebug: QueueEvent (3) based on lastqueue [0m >> [1;32m[05/Mar/2024:12:16:04][189217.7feadb3ec640][-sched-] [0m >> [0;34mDebug: sched: compute next run time based on: scheduled >> 1709644574.721254 diff 1 [0m >> [1;32m[05/Mar/2024:12:16:04][189217.7feadb3ec640][-sched-] [0m >> [0;34mDebug: QueueEvent (id 3 qid 2 1709644574.721254) [0m >> [1;32m[05/Mar/2024:12:16:13][189217.7feadb3ec640][-sched-] [0m >> [0;34mDebug: DeQueueEvent (id 1 qid 1 1709644573.868083) [0m >> [1;32m[05/Mar/2024:12:16:13][189217.7feadb3ec640][-sched-] [0m >> [0;34mDebug: ns:interptrace[dev.daidze.org]: allocate ns:tcltrace >> ns_... [truncated message content] |
|
From: Maksym Z. <siq...@gm...> - 2024-03-05 13:19:56
|
Ive added debug, here is my log: [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:conf-] [0m > [0;39mNotice: nsmain: NaviServer/5.0.0a (tar-5.0.0a) starting [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:conf-] [0m > [0;39mNotice: nsmain: security info: uid=1000, euid=1000, gid=1000, > egid=1000 [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:conf-] [0m > [0;39mNotice: nsmain: Tcl version: 8.6.12 [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:conf-] [0m > [0;39mNotice: nsmain: max files: soft limit 524288, hard limit 524288 [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:conf-] [0m > [1;39mWarning: nsmain: current limit of maximum number of files > > FD_SETSIZE (1024), select() calls should not be used [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;39mNotice: pool default: queueLength 90 low water 9 high water 72 [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;39mNotice: nsd/init.tcl[dev.daidze.org]: booting virtual server: > Tcl system encoding: "utf-8" [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;39mNotice: nsd/init.tcl[dev.daidze.org]: loaded Tcl 8.6 (8.6.12) > [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;39mNotice: modload: loading module nsdb from file > /opt/ns/bin/nsdb.so [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;39mNotice: modload: loading module nslog from file > /opt/ns/bin/nslog.so [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: SCHED_DAILY: scheduled 1709644553.395622 next > 1709600400.000000 diff -1 secdiff -44153 [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: SCHED_DAILY: final next 1709686800.000000 [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: QueueEvent (id 0 qid 1 1709686800.000000) [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;39mNotice: nslog: opened '/opt/ns/logs/dev.daidze.org.log' [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;39mNotice: modload: loading module nsfortune from file > /opt/ns/bin/nsfortune.so [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;39mNotice: nsfortune: /usr/share/games/fortunes: loaded 20886 > epigrams from 47 files [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;39mNotice: modload: loading module nsperm from file > /opt/ns/bin/nsperm.so [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;39mNotice: random: generating 1 seed [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [1;39mWarning: privatelib /opt/ns/clients/dev/client/tcl is not a > readable directory (ignored) [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/init.tcl [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/aolserver-openacs.tcl [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;39mNotice: nx::serializer version 2.4.0 [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;39mNotice: XOTcl 2.4.0 loaded featuring: memcount 0 profile 0 > memtrace 0 assertions 1 dtrace 0 development 0 [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;39mNotice: Using ns_cache based on NX 2.4.0 [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/cache.tcl [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/charsets.tcl [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/compat.tcl [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/config.tcl [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;39mNotice: adp[dev.daidze.org]: mapped {GET HEAD POST} /*.adp [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;39mNotice: tcl[dev.daidze.org]: mapped {GET HEAD POST} *.tcl [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/fastpath.tcl [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/file.tcl [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/form.tcl [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/http.tcl [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/limits.tcl [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/ns_crypto.tcl [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/nstrace.tcl [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/sendmail.tcl [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/tcloo.tcl [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/util.tcl [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;39mNotice: privatelib /opt/ns/clients/dev/client/tcl/nsdb is not a > readable directory (ignored) [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/nsdb/util.tcl [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;39mNotice: sharedlib /opt/ns/tcl/nslog is not a readable directory > (ignored) [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;39mNotice: privatelib /opt/ns/clients/dev/client/tcl/nslog is not a > readable directory (ignored) [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;39mNotice: sharedlib /opt/ns/tcl/nsfortune is not a readable > directory (ignored) [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;39mNotice: privatelib /opt/ns/clients/dev/client/tcl/nsfortune is > not a readable directory (ignored) [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;39mNotice: privatelib /opt/ns/clients/dev/client/tcl/nsperm is not a > readable directory (ignored) [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/nsperm/init.tcl [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;39mNotice: PASSWD call <ns_perm adduser {} {} {}> [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;39mNotice: PASSWD call <ns_perm adduser nsadmin ubphBI5lDzSYc {}> > [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;39mNotice: PASSWD call <ns_perm adduser nobody {} {}> [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/nsperm/compat.tcl [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/nsperm/htaccess.tcl [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;39mNotice: created unnamed syncobj syncobj:ns:mutex:tcl:0 [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;39mNotice: nsperm: enabling .htaccess support [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;39mNotice: privatelib /opt/ns/clients/dev/client/tcl/nsshell is not > a readable directory (ignored) [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/nsshell/init.tcl [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;39mNotice: nsshell: XHR shell registered under url /nsshell [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;39mNotice: WebSocket: no nsshell configured > (/opt/ns/tcl/nsshell/init.tcl) [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/nsshell/shell.tcl [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;39mNotice: mutex mid0 created [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: sched: compute next run time based on: scheduled > 1709644563.868083 diff 1 [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: QueueEvent (id 1 qid 1 1709644563.868083) [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/nsshell/snapshot.tcl [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;39mNotice: privatelib /opt/ns/clients/dev/client/tcl/oodz is not a > readable directory (ignored) [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/oodz/init.tcl [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/oodz/tPackageClass.tcl > [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;39mNotice: privatelib /opt/ns/clients/dev/client/tcl/dz is not a > readable directory (ignored) [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/init.tcl [0m > [1;32m[05/Mar/2024:12:15:53][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;39mNotice: ----------------------------- Loading DZ > ----------------------------------- [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_api.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_chilkat.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;39mNotice: Chilkat Unlocked using purchased unlock code. [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_daidze_procs.tcl > [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_date_time.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_db.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_dict.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_dummy.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_export.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_filestorage.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_html_wrapper.tcl > [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_http.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_img_procs.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_json.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_list_procs.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_login.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_mail.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_math_procs.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_namespace.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_nasa.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_ns_set.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_oauth.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_os_file_procs.tcl > [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_password.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_qrcode.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_sanitize.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_startup.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_template.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_test.tcl [0m > === aliasedCmd ::ns_cache_flush has regObj <> x '::ns_cache' where 'object' > aliases: ::nx::serializer::ObjectSystemSerializer needs > ::nx::serializer::Serializer > set alias-deps for ::nx::serializer::ObjectSystemSerializer - > :alias_dependency(::nx::serializer::ObjectSystemSerializer,class) - > ::nx::serializer::Serializer > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: ns:interptrace[dev.daidze.org]: deallocate > nsdb:releasehandles a:(nil) [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: ns:interptrace[dev.daidze.org]: deallocate ns:tcltrace > ns_cleanup [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;39mNotice: start update interpreter dev.daidze.org to epoch 1, > concurrent 1 [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;39mNotice: update interpreter dev.daidze.org to epoch 1 done, > trace deallocate, time 0.046980 secs concurrent 1 [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [1;31mError: can't read "selfns": no such variable > : can't read "selfns": no such variable > : while executing > : "list upvar 1 ${selfns}::$varname $varname" > : (procedure "::snit::RT.variable" line 5) > : invoked from within > : "variable Snit_typemethodInfo" > : (in namespace eval "::snit::window" script line 2) > : invoked from within > : "namespace eval ::snit::window { > : variable Snit_typemethodInfo > : array set Snit_typemethodInfo {info {0 {::snit::RT.typemethod.info > %t} {}} create {0 {::..." > : invoked from within > : "ns_ictl update" > : (procedure "ns_cleanup" line 8) > : invoked from within > : "ns_cleanup" > : while executing callback > : ns:tcltrace ns_cleanup > : (context: trace proc) line 1 [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [1;31mError: can't read "selfns": no such variable > : can't read "selfns": no such variable > : while executing > : "list upvar 1 ${selfns}::$varname $varname" > : (procedure "::snit::RT.variable" line 5) > : invoked from within > : "variable Snit_typemethodInfo" > : (in namespace eval "::snit::window" script line 2) > : invoked from within > : "namespace eval ::snit::window { > : variable Snit_typemethodInfo > : array set Snit_typemethodInfo {info {0 {::snit::RT.typemethod.info > %t} {}} create {0 {::..." > : invoked from within > : "ns_ictl update" > : (procedure "ns_cleanup" line 8) > : invoked from within > : "ns_cleanup" > : while executing callback > : ns:tcltrace ns_cleanup > : (context: trace proc) > : (context: trace deallocate) line 1 [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: ns_markfordelete: true [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dev.daidze.org-] > [0m [0;34mDebug: ns:interptrace[dev.daidze.org]: delete ns:tcltrace {if > {[info commands ::nsf::finalize] ne ""} {::nsf::finalize}} [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: pool default: queueLength 90 low water 9 high water 72 [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: nsd/init.tcl[dummy1.daidze.org]: booting virtual > server: Tcl system encoding: "utf-8" [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: nsd/init.tcl[dummy1.daidze.org]: loaded Tcl 8.6 > (8.6.12) [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: modload: loading module nsdb from file > /opt/ns/bin/nsdb.so [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: modload: loading module nslog from file > /opt/ns/bin/nslog.so [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: SCHED_DAILY: scheduled 1709644554.618167 next > 1709600400.000000 diff -1 secdiff -44154 [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: SCHED_DAILY: final next 1709686800.000000 [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: QueueEvent (id 2 qid 3 1709686800.000000) [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: nslog: opened '/opt/ns/logs/dummy1.daidze.org.log' [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: modload: loading module nsfortune from file > /opt/ns/bin/nsfortune.so [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: nsfortune: /usr/share/games/fortunes: loaded 20886 > epigrams from 47 files [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: modload: loading module nsperm from file > /opt/ns/bin/nsperm.so [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [1;39mWarning: privatelib /opt/ns/clients/dummy1/client/tcl is not a > readable directory (ignored) [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/init.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/aolserver-openacs.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: nx::serializer version 2.4.0 [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: XOTcl 2.4.0 loaded featuring: memcount 0 profile 0 > memtrace 0 assertions 1 dtrace 0 development 0 [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: Using ns_cache based on NX 2.4.0 [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/cache.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/charsets.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/compat.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/config.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: adp[dummy1.daidze.org]: mapped {GET HEAD POST} /*.adp > [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: tcl[dummy1.daidze.org]: mapped {GET HEAD POST} *.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/fastpath.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/file.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/form.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/http.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/limits.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/ns_crypto.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/nstrace.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/sendmail.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/tcloo.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/util.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: privatelib /opt/ns/clients/dummy1/client/tcl/nsdb is not > a readable directory (ignored) [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/nsdb/util.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: sharedlib /opt/ns/tcl/nslog is not a readable directory > (ignored) [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: privatelib /opt/ns/clients/dummy1/client/tcl/nslog is not > a readable directory (ignored) [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: sharedlib /opt/ns/tcl/nsfortune is not a readable > directory (ignored) [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: privatelib /opt/ns/clients/dummy1/client/tcl/nsfortune is > not a readable directory (ignored) [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: privatelib /opt/ns/clients/dummy1/client/tcl/nsperm is > not a readable directory (ignored) [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/nsperm/init.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: PASSWD call <ns_perm adduser {} {} {}> [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: PASSWD call <ns_perm adduser nsadmin ubphBI5lDzSYc {}> > [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: PASSWD call <ns_perm adduser nobody {} {}> [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/nsperm/compat.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/nsperm/htaccess.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: created unnamed syncobj syncobj:ns:mutex:tcl:0 [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: nsperm: enabling .htaccess support [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: privatelib /opt/ns/clients/dummy1/client/tcl/nsshell is > not a readable directory (ignored) [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/nsshell/init.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: nsshell: XHR shell registered under url /nsshell [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: WebSocket: no nsshell configured > (/opt/ns/tcl/nsshell/init.tcl) [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/nsshell/shell.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: mutex mid1 created [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: sched: compute next run time based on: scheduled > 1709644564.721254 diff 1 [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: QueueEvent (id 3 qid 2 1709644564.721254) [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/nsshell/snapshot.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: privatelib /opt/ns/clients/dummy1/client/tcl/oodz is not > a readable directory (ignored) [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/oodz/init.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/oodz/tPackageClass.tcl > [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: privatelib /opt/ns/clients/dummy1/client/tcl/dz is not a > readable directory (ignored) [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/init.tcl [0m > [1;32m[05/Mar/2024:12:15:54][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: ----------------------------- Loading DZ > ----------------------------------- [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_api.tcl [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_chilkat.tcl [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: Chilkat Unlocked using purchased unlock code. [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_daidze_procs.tcl > [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_date_time.tcl [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_db.tcl [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_dict.tcl [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_dummy.tcl [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_export.tcl [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_filestorage.tcl [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_html_wrapper.tcl > [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_http.tcl [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_img_procs.tcl [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_json.tcl [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_list_procs.tcl [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_login.tcl [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_mail.tcl [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_math_procs.tcl [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_namespace.tcl [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_nasa.tcl [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_ns_set.tcl [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_oauth.tcl [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_os_file_procs.tcl > [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_password.tcl [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_qrcode.tcl [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_sanitize.tcl [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_startup.tcl [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_template.tcl [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsd/init.tcl: loading /opt/ns/tcl/dz/dz_test.tcl [0m > === aliasedCmd ::ns_cache_flush has regObj <> x '::ns_cache' where 'object' > aliases: ::nx::serializer::ObjectSystemSerializer needs > ::nx::serializer::Serializer > set alias-deps for ::nx::serializer::ObjectSystemSerializer - > :alias_dependency(::nx::serializer::ObjectSystemSerializer,class) - > ::nx::serializer::Serializer > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: ns:interptrace[dummy1.daidze.org]: deallocate > nsdb:releasehandles a:(nil) [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: ns:interptrace[dummy1.daidze.org]: deallocate > ns:tcltrace ns_cleanup [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: start update interpreter dummy1.daidze.org to epoch 1, > concurrent 1 [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: update interpreter dummy1.daidze.org to epoch 1 done, > trace deallocate, time 0.049009 secs concurrent 1 [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [1;31mError: can't read "selfns": no such variable > : can't read "selfns": no such variable > : while executing > : "list upvar 1 ${selfns}::$varname $varname" > : (procedure "::snit::RT.variable" line 5) > : invoked from within > : "variable Snit_typemethodInfo" > : (in namespace eval "::snit::window" script line 2) > : invoked from within > : "namespace eval ::snit::window { > : variable Snit_typemethodInfo > : array set Snit_typemethodInfo {info {0 {::snit::RT.typemethod.info > %t} {}} create {0 {::..." > : invoked from within > : "ns_ictl update" > : (procedure "ns_cleanup" line 8) > : invoked from within > : "ns_cleanup" > : while executing callback > : ns:tcltrace ns_cleanup > : (context: trace proc) line 1 [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [1;31mError: can't read "selfns": no such variable > : can't read "selfns": no such variable > : while executing > : "list upvar 1 ${selfns}::$varname $varname" > : (procedure "::snit::RT.variable" line 5) > : invoked from within > : "variable Snit_typemethodInfo" > : (in namespace eval "::snit::window" script line 2) > : invoked from within > : "namespace eval ::snit::window { > : variable Snit_typemethodInfo > : array set Snit_typemethodInfo {info {0 {::snit::RT.typemethod.info > %t} {}} create {0 {::..." > : invoked from within > : "ns_ictl update" > : (procedure "ns_cleanup" line 8) > : invoked from within > : "ns_cleanup" > : while executing callback > : ns:tcltrace ns_cleanup > : (context: trace proc) > : (context: trace deallocate) line 1 [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: ns_markfordelete: true [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: ns:interptrace[dummy1.daidze.org]: delete ns:tcltrace > {if {[info commands ::nsf::finalize] ne ""} {::nsf::finalize}} [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: ns:callback: prestartup: ns:tclcallback > _ns_load_global_modules 1 [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: ns:interptrace[dev.daidze.org]: create nsdb:initinterp > a:0x55d480451508 [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: ns:interptrace[dev.daidze.org]: create nslog:initinterp > /opt/ns/logs/dev.daidze.org.log [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: ns:interptrace[dev.daidze.org]: create p:0x7feadabe85d0 > a:0x55d48049fe70 [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: ns:interptrace[dev.daidze.org]: create p:0x7feadabe0ab0 > a:0x55d4804cbf40 [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: start update interpreter dev.daidze.org to epoch 1, > concurrent 1 [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: update interpreter dev.daidze.org to epoch 1 done, > trace none, time 0.128774 secs concurrent 1 [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: ns:interptrace[dev.daidze.org]: allocate ns:tcltrace > ns_init [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: modload: loading module nsssl from file > /opt/ns/bin/nsssl.so [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: nsssl:0: enable 0 spooler thread(s) [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: nsssl:0: enable 1 writer thread(s) for downloads >= 4096 > bytes, bufsize=8192 bytes, HTML streaming 1 [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: OpenSSL OpenSSL 1.1.1f 31 Mar 2020 initialized [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: load certificate '/opt/ns/modules/nsssl/daidze.pem' > specified in section ns/module/nsssl [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: Ns_TLS_CtxServerInit calls Ns_TLS_CtxServerCreate with app > data 0x55d482cb6e70 [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: nsssl: disabling SSLv2 [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: nsssl: disabling SSLv3 [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: CertTableAdd: sslCtx 0x55d480c0e8a0 cert > '/opt/ns/modules/nsssl/daidze.pem' [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: Ns_TLS_CtxServerInit ctx 0x55d480c0e8a0 ctx app (nil) [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: nsssl SSL_CTX_build_cert_chain failed [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsssl:SSL_CTX_get_cert_store 0x55d4804d7fd0 [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: nsssl:X509_STORE_load_locations 1 [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: nsssl: activate OCSP stapling for ns/module/nsssl -> 0 [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: nsssl: version 2.3 loaded, based on OpenSSL 1.1.1f 31 > Mar 2020 [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: modload: loading module nssock from file > /opt/ns/bin/nssock.so [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: nssock:0: enable 0 spooler thread(s) [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: nssock:0: enable 0 writer thread(s) [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: ns:interptrace[dev.daidze.org]: deallocate > nsdb:releasehandles a:(nil) [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;34mDebug: ns:interptrace[dev.daidze.org]: deallocate ns:tcltrace > ns_cleanup [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: nssock:0: adding virtual host entry for host < > dev.daidze.org:8080> location: http://dev.daidze.org:8080 mapped to > server: dev.daidze.org ctx (nil) [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: nssock:0: adding virtual host entry for host < > dummy1.daidze.org:8080> location: http://dummy1.daidze.org:8080 mapped to > server: dummy1.daidze.org ctx (nil) [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: nsssl:0: adding virtual host entry for host < > dev.daidze.org:8443> location: https://dev.daidze.org:8443 mapped to > server: dev.daidze.org ctx (nil) [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: nsssl:0: adding virtual host entry for host < > dummy1.daidze.org:8443> location: https://dummy1.daidze.org:8443 mapped > to server: dummy1.daidze.org ctx (nil) [0m > [1;32m[05/Mar/2024:12:15:55][189217.7fead21fe640][-driver:nssock:0-] [0m > [0;39mNotice: starting [0m > [1;32m[05/Mar/2024:12:15:55][189217.7fead21fe640][-driver:nssock:0-] [0m > [0;39mNotice: nssock:0: listening on [172.17.0.1]:8080 [0m > [1;32m[05/Mar/2024:12:15:55][189217.7fead21fe640][-driver:nssock:0-] [0m > [0;39mNotice: driver: accepting connections [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] > [0m [0;34mDebug: ns:interptrace[dev.daidze.org]: create nsdb:initinterp > a:0x55d480451508 [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] > [0m [0;34mDebug: ns:interptrace[dev.daidze.org]: create nslog:initinterp > /opt/ns/logs/dev.daidze.org.log [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] > [0m [0;34mDebug: ns:interptrace[dev.daidze.org]: create p:0x7feadabe85d0 > a:0x55d48049fe70 [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] > [0m [0;34mDebug: ns:interptrace[dev.daidze.org]: create p:0x7feadabe0ab0 > a:0x55d4804cbf40 [0m > [1;32m[05/Mar/2024:12:15:55][189217.7fead19fd640][-driver:nsssl:0-] [0m > [0;39mNotice: starting [0m > [1;32m[05/Mar/2024:12:15:55][189217.7fead19fd640][-driver:nsssl:0-] [0m > [0;39mNotice: nsssl:0: listening on [172.17.0.1]:8443 [0m > [1;32m[05/Mar/2024:12:15:55][189217.7fead19fd640][-driver:nsssl:0-] [0m > [0;39mNotice: driver: accepting connections [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: nsmain: NaviServer/5.0.0a (tar-5.0.0a) running [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb73f840][-main:dummy1.daidze.org-] > [0m [0;39mNotice: nsmain: security info: uid=1000, euid=1000, gid=1000, > egid=1000 [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadb3ec640][-sched-] [0m > [0;39mNotice: sched: starting [0m > [1;32m[05/Mar/2024:12:15:55][189217.7fead29ff640][-conn:dummy1.daidze.org:default:0:0-] > [0m [0;34mDebug: ns:interptrace[dummy1.daidze.org]: create > nsdb:initinterp a:0x55d480451526 [0m > [1;32m[05/Mar/2024:12:15:55][189217.7fead29ff640][-conn:dummy1.daidze.org:default:0:0-] > [0m [0;34mDebug: ns:interptrace[dummy1.daidze.org]: create > nslog:initinterp /opt/ns/logs/dummy1.daidze.org.log [0m > [1;32m[05/Mar/2024:12:15:55][189217.7fead29ff640][-conn:dummy1.daidze.org:default:0:0-] > [0m [0;34mDebug: ns:interptrace[dummy1.daidze.org]: create > p:0x7feadabe85d0 a:0x55d480c7f6f0 [0m > [1;32m[05/Mar/2024:12:15:55][189217.7fead29ff640][-conn:dummy1.daidze.org:default:0:0-] > [0m [0;34mDebug: ns:interptrace[dummy1.daidze.org]: create > p:0x7feadabe0ab0 a:0x55d480c803a0 [0m > [1;32m[05/Mar/2024:12:15:55][189217.7fead29ff640][-conn:dummy1.daidze.org:default:0:0-] > [0m [0;39mNotice: start update interpreter dummy1.daidze.org to epoch 1, > concurrent 2 [0m > [1;32m[05/Mar/2024:12:15:55][189217.7fead11fc640][-writer0-] [0m > [0;39mNotice: writer0: accepting connections [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] > [0m [0;39mNotice: start update interpreter dev.daidze.org to epoch 1, > concurrent 2 [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] > [0m [0;39mNotice: update interpreter dev.daidze.org to epoch 1 done, > trace none, time 0.249683 secs concurrent 2 [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] > [0m [0;34mDebug: ns:interptrace[dev.daidze.org]: allocate ns:tcltrace > ns_init [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] > [0m [0;39mNotice: thread initialized (0.279877 secs) [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] > [0m [0;34mDebug: ns:interptrace[dev.daidze.org]: deallocate > nsdb:releasehandles a:(nil) [0m > [1;32m[05/Mar/2024:12:15:55][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] > [0m [0;34mDebug: ns:interptrace[dev.daidze.org]: deallocate ns:tcltrace > ns_cleanup [0m > [1;32m[05/Mar/2024:12:15:55][189217.7fead29ff640][-conn:dummy1.daidze.org:default:0:0-] > [0m [0;39mNotice: update interpreter dummy1.daidze.org to epoch 1 done, > trace none, time 0.301423 secs concurrent 1 [0m > [1;32m[05/Mar/2024:12:15:55][189217.7fead29ff640][-conn:dummy1.daidze.org:default:0:0-] > [0m [0;34mDebug: ns:interptrace[dummy1.daidze.org]: allocate ns:tcltrace > ns_init [0m > [1;32m[05/Mar/2024:12:15:55][189217.7fead29ff640][-conn:dummy1.daidze.org:default:0:0-] > [0m [0;39mNotice: thread initialized (0.320145 secs) [0m > [1;32m[05/Mar/2024:12:15:55][189217.7fead29ff640][-conn:dummy1.daidze.org:default:0:0-] > [0m [0;34mDebug: ns:interptrace[dummy1.daidze.org]: deallocate > nsdb:releasehandles a:(nil) [0m > [1;32m[05/Mar/2024:12:15:55][189217.7fead29ff640][-conn:dummy1.daidze.org:default:0:0-] > [0m [0;34mDebug: ns:interptrace[dummy1.daidze.org]: deallocate > ns:tcltrace ns_cleanup [0m > [1;32m[05/Mar/2024:12:16:03][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: DeQueueEvent (id 1 qid 1 1709644563.868083) [0m > [1;32m[05/Mar/2024:12:16:03][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: ns:interptrace[dev.daidze.org]: create nsdb:initinterp > a:0x55d480451508 [0m > [1;32m[05/Mar/2024:12:16:03][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: ns:interptrace[dev.daidze.org]: create nslog:initinterp > /opt/ns/logs/dev.daidze.org.log [0m > [1;32m[05/Mar/2024:12:16:03][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: ns:interptrace[dev.daidze.org]: create p:0x7feadabe85d0 > a:0x55d48049fe70 [0m > [1;32m[05/Mar/2024:12:16:03][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: ns:interptrace[dev.daidze.org]: create p:0x7feadabe0ab0 > a:0x55d4804cbf40 [0m > [1;32m[05/Mar/2024:12:16:03][189217.7feadb3ec640][-sched-] [0m > [0;39mNotice: start update interpreter dev.daidze.org to epoch 1, > concurrent 1 [0m > [1;32m[05/Mar/2024:12:16:04][189217.7feadb3ec640][-sched-] [0m > [0;39mNotice: update interpreter dev.daidze.org to epoch 1 done, trace > none, time 0.177554 secs concurrent 1 [0m > [1;32m[05/Mar/2024:12:16:04][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: ns:interptrace[dev.daidze.org]: allocate ns:tcltrace ns_init > [0m > [1;32m[05/Mar/2024:12:16:04][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: ns:interptrace[dev.daidze.org]: deallocate > nsdb:releasehandles a:(nil) [0m > [1;32m[05/Mar/2024:12:16:04][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: ns:interptrace[dev.daidze.org]: deallocate ns:tcltrace > ns_cleanup [0m > [1;32m[05/Mar/2024:12:16:04][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: QueueEvent (1) based on lastqueue [0m > [1;32m[05/Mar/2024:12:16:04][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: sched: compute next run time based on: scheduled > 1709644573.868083 diff 1 [0m > [1;32m[05/Mar/2024:12:16:04][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: QueueEvent (id 1 qid 2 1709644573.868083) [0m > [1;32m[05/Mar/2024:12:16:04][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: DeQueueEvent (id 3 qid 1 1709644564.721254) [0m > [1;32m[05/Mar/2024:12:16:04][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: ns:interptrace[dummy1.daidze.org]: create nsdb:initinterp > a:0x55d480451526 [0m > [1;32m[05/Mar/2024:12:16:04][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: ns:interptrace[dummy1.daidze.org]: create nslog:initinterp > /opt/ns/logs/dummy1.daidze.org.log [0m > [1;32m[05/Mar/2024:12:16:04][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: ns:interptrace[dummy1.daidze.org]: create p:0x7feadabe85d0 > a:0x55d480c7f6f0 [0m > [1;32m[05/Mar/2024:12:16:04][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: ns:interptrace[dummy1.daidze.org]: create p:0x7feadabe0ab0 > a:0x55d480c803a0 [0m > [1;32m[05/Mar/2024:12:16:04][189217.7feadb3ec640][-sched-] [0m > [0;39mNotice: start update interpreter dummy1.daidze.org to epoch 1, > concurrent 1 [0m > [1;32m[05/Mar/2024:12:16:04][189217.7feadb3ec640][-sched-] [0m > [0;39mNotice: update interpreter dummy1.daidze.org to epoch 1 done, trace > none, time 0.195646 secs concurrent 1 [0m > [1;32m[05/Mar/2024:12:16:04][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: ns:interptrace[dummy1.daidze.org]: allocate ns:tcltrace > ns_init [0m > [1;32m[05/Mar/2024:12:16:04][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: ns:interptrace[dummy1.daidze.org]: deallocate > nsdb:releasehandles a:(nil) [0m > [1;32m[05/Mar/2024:12:16:04][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: ns:interptrace[dummy1.daidze.org]: deallocate ns:tcltrace > ns_cleanup [0m > [1;32m[05/Mar/2024:12:16:04][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: QueueEvent (3) based on lastqueue [0m > [1;32m[05/Mar/2024:12:16:04][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: sched: compute next run time based on: scheduled > 1709644574.721254 diff 1 [0m > [1;32m[05/Mar/2024:12:16:04][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: QueueEvent (id 3 qid 2 1709644574.721254) [0m > [1;32m[05/Mar/2024:12:16:13][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: DeQueueEvent (id 1 qid 1 1709644573.868083) [0m > [1;32m[05/Mar/2024:12:16:13][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: ns:interptrace[dev.daidze.org]: allocate ns:tcltrace ns_init > [0m > [1;32m[05/Mar/2024:12:16:13][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: ns:interptrace[dev.daidze.org]: deallocate > nsdb:releasehandles a:(nil) [0m > [1;32m[05/Mar/2024:12:16:13][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: ns:interptrace[dev.daidze.org]: deallocate ns:tcltrace > ns_cleanup [0m > [1;32m[05/Mar/2024:12:16:13][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: QueueEvent (1) based on lastqueue [0m > [1;32m[05/Mar/2024:12:16:13][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: sched: compute next run time based on: scheduled > 1709644583.868083 diff 1 [0m > [1;32m[05/Mar/2024:12:16:13][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: QueueEvent (id 1 qid 2 1709644583.868083) [0m > [1;32m[05/Mar/2024:12:16:14][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: DeQueueEvent (id 3 qid 1 1709644574.721254) [0m > [1;32m[05/Mar/2024:12:16:14][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: ns:interptrace[dummy1.daidze.org]: allocate ns:tcltrace > ns_init [0m > [1;32m[05/Mar/2024:12:16:14][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: ns:interptrace[dummy1.daidze.org]: deallocate > nsdb:releasehandles a:(nil) [0m > [1;32m[05/Mar/2024:12:16:14][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: ns:interptrace[dummy1.daidze.org]: deallocate ns:tcltrace > ns_cleanup [0m > [1;32m[05/Mar/2024:12:16:14][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: QueueEvent (3) based on lastqueue [0m > [1;32m[05/Mar/2024:12:16:14][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: sched: compute next run time based on: scheduled > 1709644584.721254 diff 1 [0m > [1;32m[05/Mar/2024:12:16:14][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: QueueEvent (id 3 qid 2 1709644584.721254) [0m > [1;32m[05/Mar/2024:12:16:23][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: DeQueueEvent (id 1 qid 1 1709644583.868083) [0m > [1;32m[05/Mar/2024:12:16:23][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: ns:interptrace[dev.daidze.org]: allocate ns:tcltrace ns_init > [0m > [1;32m[05/Mar/2024:12:16:23][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: ns:interptrace[dev.daidze.org]: deallocate > nsdb:releasehandles a:(nil) [0m > [1;32m[05/Mar/2024:12:16:23][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: ns:interptrace[dev.daidze.org]: deallocate ns:tcltrace > ns_cleanup [0m > [1;32m[05/Mar/2024:12:16:23][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: QueueEvent (1) based on lastqueue [0m > [1;32m[05/Mar/2024:12:16:23][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: sched: compute next run time based on: scheduled > 1709644593.868083 diff 1 [0m > [1;32m[05/Mar/2024:12:16:23][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: QueueEvent (id 1 qid 2 1709644593.868083) [0m > [1;32m[05/Mar/2024:12:16:24][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: DeQueueEvent (id 3 qid 1 1709644584.721254) [0m > [1;32m[05/Mar/2024:12:16:24][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: ns:interptrace[dummy1.daidze.org]: allocate ns:tcltrace > ns_init [0m > [1;32m[05/Mar/2024:12:16:24][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: ns:interptrace[dummy1.daidze.org]: deallocate > nsdb:releasehandles a:(nil) [0m > [1;32m[05/Mar/2024:12:16:24][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: ns:interptrace[dummy1.daidze.org]: deallocate ns:tcltrace > ns_cleanup [0m > [1;32m[05/Mar/2024:12:16:24][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: QueueEvent (3) based on lastqueue [0m > [1;32m[05/Mar/2024:12:16:24][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: sched: compute next run time based on: scheduled > 1709644594.721254 diff 1 [0m > [1;32m[05/Mar/2024:12:16:24][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: QueueEvent (id 3 qid 2 1709644594.721254) [0m > [1;32m[05/Mar/2024:12:16:33][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: DeQueueEvent (id 1 qid 1 1709644593.868083) [0m > [1;32m[05/Mar/2024:12:16:33][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: ns:interptrace[dev.daidze.org]: allocate ns:tcltrace ns_init > [0m > [1;32m[05/Mar/2024:12:16:33][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: ns:interptrace[dev.daidze.org]: deallocate > nsdb:releasehandles a:(nil) [0m > [1;32m[05/Mar/2024:12:16:33][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: ns:interptrace[dev.daidze.org]: deallocate ns:tcltrace > ns_cleanup [0m > [1;32m[05/Mar/2024:12:16:33][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: QueueEvent (1) based on lastqueue [0m > [1;32m[05/Mar/2024:12:16:33][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: sched: compute next run time based on: scheduled > 1709644603.868083 diff 1 [0m > [1;32m[05/Mar/2024:12:16:33][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: QueueEvent (id 1 qid 2 1709644603.868083) [0m > [1;32m[05/Mar/2024:12:16:34][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: DeQueueEvent (id 3 qid 1 1709644594.721254) [0m > [1;32m[05/Mar/2024:12:16:34][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: ns:interptrace[dummy1.daidze.org]: allocate ns:tcltrace > ns_init [0m > [1;32m[05/Mar/2024:12:16:34][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: ns:interptrace[dummy1.daidze.org]: deallocate > nsdb:releasehandles a:(nil) [0m > [1;32m[05/Mar/2024:12:16:34][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: ns:interptrace[dummy1.daidze.org]: deallocate ns:tcltrace > ns_cleanup [0m > [1;32m[05/Mar/2024:12:16:34][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: QueueEvent (3) based on lastqueue [0m > [1;32m[05/Mar/2024:12:16:34][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: sched: compute next run time based on: scheduled > 1709644604.721254 diff 1 [0m > [1;32m[05/Mar/2024:12:16:34][189217.7feadb3ec640][-sched-] [0m > [0;34mDebug: QueueEvent (id 3 qid 2 1709644604.721254) [0m > [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] [0m > [0;34mDebug: Ns_SockAccept returns sock 6, err NONE [0m > [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] [0m > [0;34mDebug: nssock(6): option TCP_NODELAY activated [0m > [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] [0m > [0;34mDebug: SSL_read(6) ERROR_WANT_READ got:0 [0m > [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] [0m > [0;34mDebug: ### SSL_read(6) return:0 sockState:80 [0m > [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] [0m > [0;34mDebug: Ns_SockAccept returns sock -1, err Resource temporarily > unavailable [0m > [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] [0m > [0;34mDebug: SSL_read(6) ERROR_WANT_READ got:0 [0m > [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] [0m > [0;34mDebug: ### SSL_read(6) return:0 sockState:80 [0m > [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] [0m > [0;34mDebug: SSL_read(6) got:418 [0m > [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] [0m > [0;34mDebug: ### SSL_read(6) return:418 sockState:01 [0m > [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] [0m > [0;34mDebug: ### Request SetUrl calls Ns_UrlPathDecode '/' [0m > [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] [0m > [0;34mDebug: ### decoded path '/' [0m > [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] [0m > [0;34mDebug: === length < avail (length 0, avail 0) tfd 0 tfile (nil) > chunkStartOff 0 [0m > [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] [0m > [0;34mDebug: driver sets reqPtr->content (len 0) to '' [0m > [1;32m[05/Mar/2024:12:16:35][189217.7fead19fd640][-driver:nsssl:0-] [0m > [0;34mDebug: [0] dequeue thread connPtr 0x55d4804627f0 idle 1 state 4 > create 0 [0m > [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] > [0m [0;34mDebug: ns:interptrace[dev.daidze.org]: allocate ns:tcltrace > ns_init [0m > [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] > [0m [0;39mNotice: ns_perm_load: /opt/ns/modules/nsperm/passwd: / > ns_perm_adduser [0m > [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] > [0m [0;34mDebug: --- ns_perm_adduser /opt/ns/modules/nsperm/passwd / {{""} > {} {} {} {} {} {}} [0m > [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] > [0m [0;34mDebug: --- ns_perm_adduser /opt/ns/modules/nsperm/passwd / > {nsadmin ubphBI5lDzSYc {} {} {} {} {}} [0m > [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] > [0m [0;34mDebug: --- ns_perm_adduser /opt/ns/modules/nsperm/passwd / > {nobody {} {} {} {} {} {}} [0m > [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] > [0m [0;34mDebug: --- ns_perm_adduser /opt/ns/modules/nsperm/passwd / {} [0m > [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] > [0m [0;34mDebug: ### Request SetUrl calls Ns_UrlPathDecode '/index.adp' [0m > [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] > [0m [0;34mDebug: ### decoded path '/index.adp' [0m > [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] > [0m [0;34mDebug: AdpPageRequest for > '/opt/ns/clients/dev/client/pages/index.adp' access ok [0m > [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] > [0m [0;34mDebug: nslog called with driver pattern '(null)' via driver > 'nsssl' req: GET / HTTP/1.0 [0m > [1;32m[05/Mar/2024:12:16:35][189217.7feadab59640][-conn:dev.daidze.org:default:0:0-] > [0m [0;34mDebug: ns:interptrace[dev.daidze.org]: deallocate > nsdb:releasehandles a:(nil) [0m > [1;32m[05/Mar/2024:12:16:... [truncated message content] |
|
From: Georg L. <jor...@ma...> - 2024-03-05 13:04:50
|
Hello Maksym, The information you sent clarifies most questions. Please copy also the logs when you do a https request to each of the domains. I recommend e.g. running curl -v https://dummy1.daidze.org, pasting its output and then pasting the respective part of the log, then the next. You need to enable debugging in the server logs: ns_section ns/parameters { ... ns_param logdebug true } Regards, Georg On 3/5/24 13:27, Maksym Zinchenko wrote: > Hello, here is my dz_nsd.tcl ... |
|
From: Maksym Z. <siq...@gm...> - 2024-03-05 12:28:10
|
Hello, here is my dz_nsd.tcl
set homedir [file dirname [file dirname [info
> nameofexecutable]]]
> set bindir ${homedir}/bin
> set hostname dev.daidze.org
> set servers [glob -directory [file join
> /opt/ns/conf/ servers] *]
> set max_file_upload_mb 50
> set max_file_upload_min 5
> set port 8080
> set ssl_port 8443
> set ip_addr 172.17.0.1
>
> ###################################################################################
>
> foreach cfile $servers {
> source $cfile
> }
>
> ######################## Global server modules,parameters
> ########################
> ns_section "ns/modules" {
> ns_param nsssl ${bindir}/nsssl.so
> ns_param nssock ${bindir}/nssock.so
> }
>
> ns_section "ns/parameters" {
> ns_param logusec false
> ns_param logusecdiff false
> ns_param logcolorize true
> ns_param logprefixcolor green
> ns_param logprefixintensity bright
> ns_param serverlog ${homedir}/logs/error.log
> ns_param home ${homedir}
> ns_param tcllibrary tcl
> ns_param jobsperthread 1000
> ns_param joblogminduration 100s
> ns_param schedsperthread 100
> ns_param schedlogminduration 2s
> ns_param progressminsize 1MB
> ns_param reverseproxymode true
> }
>
> ns_section "ns/mimetypes" {
> ns_param default "text/plain"
> ns_param noextension "text/plain"
> }
>
> ns_section "ns/threads" {
> ns_param stacksize [expr 512*1024]
> }
>
>
>
> ############################ PostgreSQL configurations
> ############################
> ns_section "ns/db/drivers" {
> ns_param postgres ${bindir}/nsdbpg.so
> }
>
> ns_section "ns/module/nssock" {
> ns_param port $port
> ns_param address $ip_addr
> ns_param hostname $hostname
> ns_param defaultserver $hostname
> ns_param maxinput [expr {
> $max_file_upload_mb * 1024 * 1024}]
> ns_param recvwait [expr {
> $max_file_upload_min * 60}]
> }
>
> ns_section "ns/module/nsssl" {
> ns_param defaultserver $hostname
> ns_param certificate
> /opt/ns/modules/nsssl/daidze.pem
> ns_param address $ip_addr
> ns_param port $ssl_port
> ns_param hostname $hostname
> ns_param ciphers
> "ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!RC4"
> ns_param protocols "!SSLv2:!SSLv3"
> ns_param verify 0
> ns_param extraheaders {
> Strict-Transport-Security "max-age=31536000;
> includeSubDomains"
> X-Frame-Options SAMEORIGIN
> X-Content-Type-Options nosniff
> }
> ns_param maxinput [expr {
> $max_file_upload_mb * 1024 * 1024}]
> ns_param recvwait [expr {
> $max_file_upload_min * 60}]
>
> ns_param writerthreads 1
> ns_param writersize 4kB
> ns_param writerstreaming true
> }
>
> ns_section "ns/module/nsstats" {
> ns_param enabled 1
> ns_param user "nsadmin"
> ns_param password ""
> }
>
> # Map headers to server-name
> ns_section "ns/servers" {
> foreach server $servers {
> ns_param [file tail $server] "[file tail $server]"
> }
> }
>
> ns_section "ns/module/nsssl/servers" {
> foreach server $servers {
> ns_param [file tail $server] [file tail $server]
> }
> }
>
> ns_section "ns/module/nssock/servers" {
> foreach server $servers {
> ns_param [file tail $server] [file tail $server]
> }
> }
>
> ns_section "ns/redirects" {
> ns_param 404 redirects/404.adp
> ns_param 403 redirects/403.adp
> ns_param 500 redirects/500.adp
> }
>
>
My servers files are the same like this, only difference is in beginning of
the file on server name, db and pass:
set server "dev.daidze.org"
> set db_name dev
> set pg_pass "**********"
> set serverroot "/opt/ns/clients/$db_name/client"
> set pageroot ${serverroot}/pages
>
> # Tcl Configuration
> ns_section "ns/server/${server}/tcl" {
> ns_param library ${serverroot}/tcl
> }
>
> # Modules to load
> ns_section "ns/server/${server}/modules" {
> # ns_param nsdbi ${bindir}/nsdbipg.so
> ns_param nsdb ${bindir}/nsdb.so
> ns_param nslog ${bindir}/nslog.so
> ns_param nsfortune ${bindir}/nsfortune.so
> ns_param nsperm ${bindir}/nsperm.so
> ns_param nsshell tcl
> ns_param oodz tcl
> ns_param dz tcl
> }
>
> # Server parameters
> ns_section "ns/server/${server}" {
> ns_param directoryfile index.tcl,index.adp,index.html,index.htm
> ns_param pageroot $pageroot
> }
>
> # ADP (AOLserver Dynamic Page) configuration
> ns_section "ns/server/${server}/adp" {
> ns_param map /*.adp ;# Extensions to parse as ADP's
> ns_param enabletclpages true
> ns_param defaultparser fancy
> }
>
> ns_section "ns/server/${server}/adp/parsers" {
> ns_param fancy ".adp"
> ns_param enabledebug true;
> }
>
> # Database
> ns_section "ns/server/${server}/module/nsdbi"
> ns_param default true ;# This is the default pool for server1.
> ns_param handles 20 ;# Max open handles to db.
> ns_param maxwait 10 ;# Seconds to wait if handle unavailable.
> ns_param maxidle 0 ;# Handle closed after maxidle seconds if unused.
> ns_param maxopen 0 ;# Handle closed after maxopen seconds, regardless
> of use.
> ns_param maxqueries 0 ;# Handle closed after maxqueries SQL queries.
> ns_param checkinterval 600 ;# Check for idle handles every 10 minutes.
> #
> # The following is the postgres connection info that specifies
> # which database to connect to, username, etc.
> #
> # See Postgres docs for full details of format and options available.
> #
> ns_param datasource "user=postgres password=$pg_pass dbname=$db_name"
> ns_param session_timezone UTC
>
> # ns_section "ns/db/pools" {
> # ns_param ${server}pool1 "$server DB_POOL"
> # }
>
> # ns_section "ns/db/pool/${server}pool1" {
> # ns_param driver postgres
> # ns_param datasource localhost:5432:${db_name}
> # ns_param user postgres
> # ns_param password $pg_pass
> # ns_param connections 5
> # }
>
> # ns_section "ns/server/${server}/db" {
> # ns_param pools "*"
> # ns_param defaultpool "${server}pool1"
> # }
>
> # Access log -- nslog
> ns_section "ns/server/${server}/module/nslog" {
> ns_param file /opt/ns/logs/$server.log
> }
>
> ns_section "ns/server/${server}/module/nsperm" {
> ns_param htaccess true
> ns_param passwdfile /opt/ns/modules/nsperm/passwd
> }
>
> # FastPath configuration
> ns_section "ns/server/$server/fastpath" {
> ns_param pagedir ${serverroot}/pages
> ns_param directoryfile "index.adp index.tcl index.html index.htm"
> ns_param directoryproc _ns_dirlist
> ns_param directorylisting fancy
> }
>
>
> ns_section "ns/server/$server/redirects" {
> ns_param 404 redirects/404.adp
> ns_param 403 redirects/403.adp
> ns_param 500 redirects/500.adp
> }
>
> ns_section "ns/server/${server}/module/nsshell" {
> ns_param url /nsshell
> ns_param kernel_heartbeat 5
> ns_param kernel_timeout 10
> }
>
> ns_section "ns/server/${server}/module/oodz" {
> ns_param oodz Tcl
> ns_param oodz_log_dir ${homedir}/logs
> ns_param ssl 1
> ns_param api_version "v2"
> }
All of them have SSL configured.
And here logs from Naviserver:
[1;32m[05/Mar/2024:11:26:03][188117.7fdb12619840][-main:conf-] [0m
> [0;39mNotice: nsmain: NaviServer/5.0.0a (tar-5.0.0a) starting [0m
> [1;32m[05/Mar/2024:11:26:03][188117.7fdb12619840][-main:conf-] [0m
> [0;39mNotice: nsmain: security info: uid=1000, euid=1000, gid=1000,
> egid=1000 [0m
> [1;32m[05/Mar/2024:11:26:03][188117.7fdb12619840][-main:conf-] [0m
> [0;39mNotice: nsmain: Tcl version: 8.6.12 [0m
> [1;32m[05/Mar/2024:11:26:03][188117.7fdb12619840][-main:conf-] [0m
> [0;39mNotice: nsmain: max files: soft limit 524288, hard limit 524288 [0m
> [1;32m[05/Mar/2024:11:26:03][188117.7fdb12619840][-main:conf-] [0m
> [1;39mWarning: nsmain: current limit of maximum number of files >
> FD_SETSIZE (1024), select() calls should not be used [0m
> [1;32m[05/Mar/2024:11:26:03][188117.7fdb12619840][-main:dev.daidze.org-]
> [0m [0;39mNotice: pool default: queueLength 90 low water 9 high water 72 [0m
> [1;32m[05/Mar/2024:11:26:03][188117.7fdb12619840][-main:dev.daidze.org-]
> [0m [0;39mNotice: nsd/init.tcl[dev.daidze.org]: booting virtual server:
> Tcl system encoding: "utf-8" [0m
> [1;32m[05/Mar/2024:11:26:03][188117.7fdb12619840][-main:dev.daidze.org-]
> [0m [0;39mNotice: nsd/init.tcl[dev.daidze.org]: loaded Tcl 8.6 (8.6.12)
> [0m
> [1;32m[05/Mar/2024:11:26:03][188117.7fdb12619840][-main:dev.daidze.org-]
> [0m [0;39mNotice: modload: loading module nsdb from file
> /opt/ns/bin/nsdb.so [0m
> [1;32m[05/Mar/2024:11:26:03][188117.7fdb12619840][-main:dev.daidze.org-]
> [0m [0;39mNotice: modload: loading module nslog from file
> /opt/ns/bin/nslog.so [0m
> [1;32m[05/Mar/2024:11:26:03][188117.7fdb12619840][-main:dev.daidze.org-]
> [0m [0;39mNotice: nslog: opened '/opt/ns/logs/dev.daidze.org.log' [0m
> [1;32m[05/Mar/2024:11:26:03][188117.7fdb12619840][-main:dev.daidze.org-]
> [0m [0;39mNotice: modload: loading module nsfortune from file
> /opt/ns/bin/nsfortune.so [0m
> [1;32m[05/Mar/2024:11:26:03][188117.7fdb12619840][-main:dev.daidze.org-]
> [0m [0;39mNotice: nsfortune: /usr/share/games/fortunes: loaded 20886
> epigrams from 47 files [0m
> [1;32m[05/Mar/2024:11:26:03][188117.7fdb12619840][-main:dev.daidze.org-]
> [0m [0;39mNotice: modload: loading module nsperm from file
> /opt/ns/bin/nsperm.so [0m
> [1;32m[05/Mar/2024:11:26:03][188117.7fdb12619840][-main:dev.daidze.org-]
> [0m [0;39mNotice: random: generating 1 seed [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dev.daidze.org-]
> [0m [1;39mWarning: privatelib /opt/ns/clients/dev/client/tcl is not a
> readable directory (ignored) [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dev.daidze.org-]
> [0m [0;39mNotice: nx::serializer version 2.4.0 [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dev.daidze.org-]
> [0m [0;39mNotice: XOTcl 2.4.0 loaded featuring: memcount 0 profile 0
> memtrace 0 assertions 1 dtrace 0 development 0 [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dev.daidze.org-]
> [0m [0;39mNotice: Using ns_cache based on NX 2.4.0 [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dev.daidze.org-]
> [0m [0;39mNotice: adp[dev.daidze.org]: mapped {GET HEAD POST} /*.adp [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dev.daidze.org-]
> [0m [0;39mNotice: tcl[dev.daidze.org]: mapped {GET HEAD POST} *.tcl [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dev.daidze.org-]
> [0m [0;39mNotice: privatelib /opt/ns/clients/dev/client/tcl/nsdb is not a
> readable directory (ignored) [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dev.daidze.org-]
> [0m [0;39mNotice: sharedlib /opt/ns/tcl/nslog is not a readable directory
> (ignored) [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dev.daidze.org-]
> [0m [0;39mNotice: privatelib /opt/ns/clients/dev/client/tcl/nslog is not a
> readable directory (ignored) [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dev.daidze.org-]
> [0m [0;39mNotice: sharedlib /opt/ns/tcl/nsfortune is not a readable
> directory (ignored) [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dev.daidze.org-]
> [0m [0;39mNotice: privatelib /opt/ns/clients/dev/client/tcl/nsfortune is
> not a readable directory (ignored) [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dev.daidze.org-]
> [0m [0;39mNotice: privatelib /opt/ns/clients/dev/client/tcl/nsperm is not a
> readable directory (ignored) [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dev.daidze.org-]
> [0m [0;39mNotice: PASSWD call <ns_perm adduser {} {} {}> [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dev.daidze.org-]
> [0m [0;39mNotice: PASSWD call <ns_perm adduser nsadmin ubphBI5lDzSYc {}>
> [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dev.daidze.org-]
> [0m [0;39mNotice: PASSWD call <ns_perm adduser nobody {} {}> [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dev.daidze.org-]
> [0m [0;39mNotice: created unnamed syncobj syncobj:ns:mutex:tcl:0 [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dev.daidze.org-]
> [0m [0;39mNotice: nsperm: enabling .htaccess support [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dev.daidze.org-]
> [0m [0;39mNotice: privatelib /opt/ns/clients/dev/client/tcl/nsshell is not
> a readable directory (ignored) [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dev.daidze.org-]
> [0m [0;39mNotice: nsshell: XHR shell registered under url /nsshell [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dev.daidze.org-]
> [0m [0;39mNotice: WebSocket: no nsshell configured
> (/opt/ns/tcl/nsshell/init.tcl) [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dev.daidze.org-]
> [0m [0;39mNotice: mutex mid0 created [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dev.daidze.org-]
> [0m [0;39mNotice: privatelib /opt/ns/clients/dev/client/tcl/oodz is not a
> readable directory (ignored) [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dev.daidze.org-]
> [0m [0;39mNotice: privatelib /opt/ns/clients/dev/client/tcl/dz is not a
> readable directory (ignored) [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dev.daidze.org-]
> [0m [0;39mNotice: ----------------------------- Loading DZ
> ----------------------------------- [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dev.daidze.org-]
> [0m [0;39mNotice: Chilkat Unlocked using purchased unlock code. [0m
> === aliasedCmd ::ns_cache_flush has regObj <> x '::ns_cache' where 'object'
> aliases: ::nx::serializer::ObjectSystemSerializer needs
> ::nx::serializer::Serializer
> set alias-deps for ::nx::serializer::ObjectSystemSerializer -
> :alias_dependency(::nx::serializer::ObjectSystemSerializer,class) -
> ::nx::serializer::Serializer
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dev.daidze.org-]
> [0m [0;39mNotice: start update interpreter dev.daidze.org to epoch 1,
> concurrent 1 [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dev.daidze.org-]
> [0m [0;39mNotice: update interpreter dev.daidze.org to epoch 1 done,
> trace deallocate, time 0.044032 secs concurrent 1 [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dev.daidze.org-]
> [0m [1;31mError: can't read "selfns": no such variable
> : can't read "selfns": no such variable
> : while executing
> : "list upvar 1 ${selfns}::$varname $varname"
> : (procedure "::snit::RT.variable" line 5)
> : invoked from within
> : "variable Snit_typemethodInfo"
> : (in namespace eval "::snit::window" script line 2)
> : invoked from within
> : "namespace eval ::snit::window {
> : variable Snit_typemethodInfo
> : array set Snit_typemethodInfo {info {0 {::snit::RT.typemethod.info
> %t} {}} create {0 {::..."
> : invoked from within
> : "ns_ictl update"
> : (procedure "ns_cleanup" line 8)
> : invoked from within
> : "ns_cleanup"
> : while executing callback
> : ns:tcltrace ns_cleanup
> : (context: trace proc) line 1 [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dev.daidze.org-]
> [0m [1;31mError: can't read "selfns": no such variable
> : can't read "selfns": no such variable
> : while executing
> : "list upvar 1 ${selfns}::$varname $varname"
> : (procedure "::snit::RT.variable" line 5)
> : invoked from within
> : "variable Snit_typemethodInfo"
> : (in namespace eval "::snit::window" script line 2)
> : invoked from within
> : "namespace eval ::snit::window {
> : variable Snit_typemethodInfo
> : array set Snit_typemethodInfo {info {0 {::snit::RT.typemethod.info
> %t} {}} create {0 {::..."
> : invoked from within
> : "ns_ictl update"
> : (procedure "ns_cleanup" line 8)
> : invoked from within
> : "ns_cleanup"
> : while executing callback
> : ns:tcltrace ns_cleanup
> : (context: trace proc)
> : (context: trace deallocate) line 1 [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dummy2.daidze.org-]
> [0m [0;39mNotice: pool default: queueLength 90 low water 9 high water 72 [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dummy2.daidze.org-]
> [0m [0;39mNotice: nsd/init.tcl[dummy2.daidze.org]: booting virtual
> server: Tcl system encoding: "utf-8" [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dummy2.daidze.org-]
> [0m [0;39mNotice: nsd/init.tcl[dummy2.daidze.org]: loaded Tcl 8.6
> (8.6.12) [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dummy2.daidze.org-]
> [0m [0;39mNotice: modload: loading module nsdb from file
> /opt/ns/bin/nsdb.so [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dummy2.daidze.org-]
> [0m [0;39mNotice: modload: loading module nslog from file
> /opt/ns/bin/nslog.so [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dummy2.daidze.org-]
> [0m [0;39mNotice: nslog: opened '/opt/ns/logs/dummy2.daidze.org.log' [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dummy2.daidze.org-]
> [0m [0;39mNotice: modload: loading module nsfortune from file
> /opt/ns/bin/nsfortune.so [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dummy2.daidze.org-]
> [0m [0;39mNotice: nsfortune: /usr/share/games/fortunes: loaded 20886
> epigrams from 47 files [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dummy2.daidze.org-]
> [0m [0;39mNotice: modload: loading module nsperm from file
> /opt/ns/bin/nsperm.so [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dummy2.daidze.org-]
> [0m [1;39mWarning: privatelib /opt/ns/clients/dummy2/client/tcl is not a
> readable directory (ignored) [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dummy2.daidze.org-]
> [0m [0;39mNotice: nx::serializer version 2.4.0 [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dummy2.daidze.org-]
> [0m [0;39mNotice: XOTcl 2.4.0 loaded featuring: memcount 0 profile 0
> memtrace 0 assertions 1 dtrace 0 development 0 [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dummy2.daidze.org-]
> [0m [0;39mNotice: Using ns_cache based on NX 2.4.0 [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dummy2.daidze.org-]
> [0m [0;39mNotice: adp[dummy2.daidze.org]: mapped {GET HEAD POST} /*.adp
> [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dummy2.daidze.org-]
> [0m [0;39mNotice: tcl[dummy2.daidze.org]: mapped {GET HEAD POST} *.tcl [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dummy2.daidze.org-]
> [0m [0;39mNotice: privatelib /opt/ns/clients/dummy2/client/tcl/nsdb is not
> a readable directory (ignored) [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dummy2.daidze.org-]
> [0m [0;39mNotice: sharedlib /opt/ns/tcl/nslog is not a readable directory
> (ignored) [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dummy2.daidze.org-]
> [0m [0;39mNotice: privatelib /opt/ns/clients/dummy2/client/tcl/nslog is not
> a readable directory (ignored) [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dummy2.daidze.org-]
> [0m [0;39mNotice: sharedlib /opt/ns/tcl/nsfortune is not a readable
> directory (ignored) [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dummy2.daidze.org-]
> [0m [0;39mNotice: privatelib /opt/ns/clients/dummy2/client/tcl/nsfortune is
> not a readable directory (ignored) [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dummy2.daidze.org-]
> [0m [0;39mNotice: privatelib /opt/ns/clients/dummy2/client/tcl/nsperm is
> not a readable directory (ignored) [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dummy2.daidze.org-]
> [0m [0;39mNotice: PASSWD call <ns_perm adduser {} {} {}> [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dummy2.daidze.org-]
> [0m [0;39mNotice: PASSWD call <ns_perm adduser nsadmin ubphBI5lDzSYc {}>
> [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dummy2.daidze.org-]
> [0m [0;39mNotice: PASSWD call <ns_perm adduser nobody {} {}> [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dummy2.daidze.org-]
> [0m [0;39mNotice: created unnamed syncobj syncobj:ns:mutex:tcl:0 [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dummy2.daidze.org-]
> [0m [0;39mNotice: nsperm: enabling .htaccess support [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dummy2.daidze.org-]
> [0m [0;39mNotice: privatelib /opt/ns/clients/dummy2/client/tcl/nsshell is
> not a readable directory (ignored) [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dummy2.daidze.org-]
> [0m [0;39mNotice: nsshell: XHR shell registered under url /nsshell [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dummy2.daidze.org-]
> [0m [0;39mNotice: WebSocket: no nsshell configured
> (/opt/ns/tcl/nsshell/init.tcl) [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dummy2.daidze.org-]
> [0m [0;39mNotice: mutex mid1 created [0m
> [1;32m[05/Mar/2024:11:26:04][188117.7fdb12619840][-main:dummy2.daidze.org-]
> [0m [0;39mNotice: privatelib /opt/ns/clients/dummy2/client/tcl/oodz is not
> a readable directory (ignored) [0m
> [1;32m[05/Mar/2024:11:26:05][188117.7fdb12619840][-main:dummy2.daidze.org-]
> [0m [0;39mNotice: privatelib /opt/ns/clients/dummy2/client/tcl/dz is not a
> readable directory (ignored) [0m
> [1;32m[05/Mar/2024:11:26:05][188117.7fdb12619840][-main:dummy2.daidze.org-]
> [0m [0;39mNotice: ----------------------------- Loading DZ
> ----------------------------------- [0m
> [1;32m[05/Mar/2024:11:26:05][188117.7fdb12619840][-main:dummy2.daidze.org-]
> [0m [0;39mNotice: Chilkat Unlocked using purchased unlock code. [0m
> === aliasedCmd ::ns_cache_flush has regObj <> x '::ns_cache' where 'object'
> aliases: ::nx::serializer::ObjectSystemSerializer needs
> ::nx::serializer::Serializer
> set alias-deps for ::nx::serializer::ObjectSystemSerializer -
> :alias_dependency(::nx::serializer::ObjectSystemSerializer,class) -
> ::nx::serializer::Serializer
> [1;32m[05/Mar/2024:11:26:05][188117.7fdb12619840][-main:dummy2.daidze.org-]
> [0m [0;39mNotice: start update interpreter dummy2.daidze.org to epoch 1,
> concurrent 1 [0m
> [1;32m[05/Mar/2024:11:26:05][188117.7fdb12619840][-main:dummy2.daidze.org-]
> [0m [0;39mNotice: update interpreter dummy2.daidze.org to epoch 1 done,
> trace deallocate, time 0.044203 secs concurrent 1 [0m
> [1;32m[05/Mar/2024:11:26:05][188117.7fdb12619840][-main:dummy2.daidze.org-]
> [0m [1;31mError: can't read "selfns": no such variable
> : can't read "selfns": no such variable
> : while executing
> : "list upvar 1 ${selfns}::$varname $varname"
> : (procedure "::snit::RT.variable" line 5)
> : invoked from within
> : "variable Snit_typemethodInfo"
> : (in namespace eval "::snit::window" script line 2)
> : invoked from within
> : "namespace eval ::snit::window {
> : variable Snit_typemethodInfo
> : array set Snit_typemethodInfo {info {0 {::snit::RT.typemethod.info
> %t} {}} create {0 {::..."
> : invoked from within
> : "ns_ictl update"
> : (procedure "ns_cleanup" line 8)
> : invoked from within
> : "ns_cleanup"
> : while executing callback
> : ns:tcltrace ns_cleanup
> : (context: trace proc) line 1 [0m
> [1;32m[05/Mar/2024:11:26:05][188117.7fdb12619840][-main:dummy2.daidze.org-]
> [0m [1;31mError: can't read "selfns": no such variable
> : can't read "selfns": no such variable
> : while executing
> : "list upvar 1 ${selfns}::$varname $varname"
> : (procedure "::snit::RT.variable" line 5)
> : invoked from within
> : "variable Snit_typemethodInfo"
> : (in namespace eval "::snit::window" script line 2)
> : invoked from within
> : "namespace eval ::snit::window {
> : variable Snit_typemethodInfo
> : array set Snit_typemethodInfo {info {0 {::snit::RT.typemethod.info
> %t} {}} create {0 {::..."
> : invoked from within
> : "ns_ictl update"
> : (procedure "ns_cleanup" line 8)
> : invoked from within
> : "ns_cleanup"
> : while executing callback
> : ns:tcltrace ns_cleanup
> : (context: trace proc)
> : (context: trace deallocate) line 1 [0m
> [1;32m[05/Mar/2024:11:26:05][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: pool default: queueLength 90 low water 9 high water 72 [0m
> [1;32m[05/Mar/2024:11:26:05][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: nsd/init.tcl[dummy1.daidze.org]: booting virtual
> server: Tcl system encoding: "utf-8" [0m
> [1;32m[05/Mar/2024:11:26:05][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: nsd/init.tcl[dummy1.daidze.org]: loaded Tcl 8.6
> (8.6.12) [0m
> [1;32m[05/Mar/2024:11:26:05][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: modload: loading module nsdb from file
> /opt/ns/bin/nsdb.so [0m
> [1;32m[05/Mar/2024:11:26:05][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: modload: loading module nslog from file
> /opt/ns/bin/nslog.so [0m
> [1;32m[05/Mar/2024:11:26:05][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: nslog: opened '/opt/ns/logs/dummy1.daidze.org.log' [0m
> [1;32m[05/Mar/2024:11:26:05][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: modload: loading module nsfortune from file
> /opt/ns/bin/nsfortune.so [0m
> [1;32m[05/Mar/2024:11:26:05][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: nsfortune: /usr/share/games/fortunes: loaded 20886
> epigrams from 47 files [0m
> [1;32m[05/Mar/2024:11:26:05][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: modload: loading module nsperm from file
> /opt/ns/bin/nsperm.so [0m
> [1;32m[05/Mar/2024:11:26:05][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [1;39mWarning: privatelib /opt/ns/clients/dummy1/client/tcl is not a
> readable directory (ignored) [0m
> [1;32m[05/Mar/2024:11:26:05][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: nx::serializer version 2.4.0 [0m
> [1;32m[05/Mar/2024:11:26:05][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: XOTcl 2.4.0 loaded featuring: memcount 0 profile 0
> memtrace 0 assertions 1 dtrace 0 development 0 [0m
> [1;32m[05/Mar/2024:11:26:05][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: Using ns_cache based on NX 2.4.0 [0m
> [1;32m[05/Mar/2024:11:26:05][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: adp[dummy1.daidze.org]: mapped {GET HEAD POST} /*.adp
> [0m
> [1;32m[05/Mar/2024:11:26:05][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: tcl[dummy1.daidze.org]: mapped {GET HEAD POST} *.tcl [0m
> [1;32m[05/Mar/2024:11:26:05][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: privatelib /opt/ns/clients/dummy1/client/tcl/nsdb is not
> a readable directory (ignored) [0m
> [1;32m[05/Mar/2024:11:26:05][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: sharedlib /opt/ns/tcl/nslog is not a readable directory
> (ignored) [0m
> [1;32m[05/Mar/2024:11:26:05][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: privatelib /opt/ns/clients/dummy1/client/tcl/nslog is not
> a readable directory (ignored) [0m
> [1;32m[05/Mar/2024:11:26:05][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: sharedlib /opt/ns/tcl/nsfortune is not a readable
> directory (ignored) [0m
> [1;32m[05/Mar/2024:11:26:05][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: privatelib /opt/ns/clients/dummy1/client/tcl/nsfortune is
> not a readable directory (ignored) [0m
> [1;32m[05/Mar/2024:11:26:05][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: privatelib /opt/ns/clients/dummy1/client/tcl/nsperm is
> not a readable directory (ignored) [0m
> [1;32m[05/Mar/2024:11:26:05][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: PASSWD call <ns_perm adduser {} {} {}> [0m
> [1;32m[05/Mar/2024:11:26:05][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: PASSWD call <ns_perm adduser nsadmin ubphBI5lDzSYc {}>
> [0m
> [1;32m[05/Mar/2024:11:26:05][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: PASSWD call <ns_perm adduser nobody {} {}> [0m
> [1;32m[05/Mar/2024:11:26:05][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: created unnamed syncobj syncobj:ns:mutex:tcl:0 [0m
> [1;32m[05/Mar/2024:11:26:05][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: nsperm: enabling .htaccess support [0m
> [1;32m[05/Mar/2024:11:26:05][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: privatelib /opt/ns/clients/dummy1/client/tcl/nsshell is
> not a readable directory (ignored) [0m
> [1;32m[05/Mar/2024:11:26:05][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: nsshell: XHR shell registered under url /nsshell [0m
> [1;32m[05/Mar/2024:11:26:05][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: WebSocket: no nsshell configured
> (/opt/ns/tcl/nsshell/init.tcl) [0m
> [1;32m[05/Mar/2024:11:26:05][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: mutex mid2 created [0m
> [1;32m[05/Mar/2024:11:26:05][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: privatelib /opt/ns/clients/dummy1/client/tcl/oodz is not
> a readable directory (ignored) [0m
> [1;32m[05/Mar/2024:11:26:06][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: privatelib /opt/ns/clients/dummy1/client/tcl/dz is not a
> readable directory (ignored) [0m
> [1;32m[05/Mar/2024:11:26:06][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: ----------------------------- Loading DZ
> ----------------------------------- [0m
> [1;32m[05/Mar/2024:11:26:06][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: Chilkat Unlocked using purchased unlock code. [0m
> === aliasedCmd ::ns_cache_flush has regObj <> x '::ns_cache' where 'object'
> aliases: ::nx::serializer::ObjectSystemSerializer needs
> ::nx::serializer::Serializer
> set alias-deps for ::nx::serializer::ObjectSystemSerializer -
> :alias_dependency(::nx::serializer::ObjectSystemSerializer,class) -
> ::nx::serializer::Serializer
> [1;32m[05/Mar/2024:11:26:06][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: start update interpreter dummy1.daidze.org to epoch 1,
> concurrent 1 [0m
> [1;32m[05/Mar/2024:11:26:06][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: update interpreter dummy1.daidze.org to epoch 1 done,
> trace deallocate, time 0.045084 secs concurrent 1 [0m
> [1;32m[05/Mar/2024:11:26:06][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [1;31mError: can't read "selfns": no such variable
> : can't read "selfns": no such variable
> : while executing
> : "list upvar 1 ${selfns}::$varname $varname"
> : (procedure "::snit::RT.variable" line 5)
> : invoked from within
> : "variable Snit_typemethodInfo"
> : (in namespace eval "::snit::window" script line 2)
> : invoked from within
> : "namespace eval ::snit::window {
> : variable Snit_typemethodInfo
> : array set Snit_typemethodInfo {info {0 {::snit::RT.typemethod.info
> %t} {}} create {0 {::..."
> : invoked from within
> : "ns_ictl update"
> : (procedure "ns_cleanup" line 8)
> : invoked from within
> : "ns_cleanup"
> : while executing callback
> : ns:tcltrace ns_cleanup
> : (context: trace proc) line 1 [0m
> [1;32m[05/Mar/2024:11:26:06][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [1;31mError: can't read "selfns": no such variable
> : can't read "selfns": no such variable
> : while executing
> : "list upvar 1 ${selfns}::$varname $varname"
> : (procedure "::snit::RT.variable" line 5)
> : invoked from within
> : "variable Snit_typemethodInfo"
> : (in namespace eval "::snit::window" script line 2)
> : invoked from within
> : "namespace eval ::snit::window {
> : variable Snit_typemethodInfo
> : array set Snit_typemethodInfo {info {0 {::snit::RT.typemethod.info
> %t} {}} create {0 {::..."
> : invoked from within
> : "ns_ictl update"
> : (procedure "ns_cleanup" line 8)
> : invoked from within
> : "ns_cleanup"
> : while executing callback
> : ns:tcltrace ns_cleanup
> : (context: trace proc)
> : (context: trace deallocate) line 1 [0m
> [1;32m[05/Mar/2024:11:26:06][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: start update interpreter dev.daidze.org to epoch 1,
> concurrent 1 [0m
> [1;32m[05/Mar/2024:11:26:06][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: update interpreter dev.daidze.org to epoch 1 done,
> trace none, time 0.122903 secs concurrent 1 [0m
> [1;32m[05/Mar/2024:11:26:06][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: modload: loading module nsssl from file
> /opt/ns/bin/nsssl.so [0m
> [1;32m[05/Mar/2024:11:26:06][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: nsssl:0: enable 0 spooler thread(s) [0m
> [1;32m[05/Mar/2024:11:26:06][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: nsssl:0: enable 1 writer thread(s) for downloads >= 4096
> bytes, bufsize=8192 bytes, HTML streaming 1 [0m
> [1;32m[05/Mar/2024:11:26:06][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: OpenSSL OpenSSL 1.1.1f 31 Mar 2020 initialized [0m
> [1;32m[05/Mar/2024:11:26:06][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: load certificate '/opt/ns/modules/nsssl/daidze.pem'
> specified in section ns/module/nsssl [0m
> [1;32m[05/Mar/2024:11:26:06][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: nsssl: disabling SSLv2 [0m
> [1;32m[05/Mar/2024:11:26:06][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: nsssl: disabling SSLv3 [0m
> [1;32m[05/Mar/2024:11:26:06][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: nsssl SSL_CTX_build_cert_chain failed [0m
> [1;32m[05/Mar/2024:11:26:06][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: nsssl: activate OCSP stapling for ns/module/nsssl -> 0 [0m
> [1;32m[05/Mar/2024:11:26:06][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: nsssl: version 2.3 loaded, based on OpenSSL 1.1.1f 31
> Mar 2020 [0m
> [1;32m[05/Mar/2024:11:26:06][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: modload: loading module nssock from file
> /opt/ns/bin/nssock.so [0m
> [1;32m[05/Mar/2024:11:26:06][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: nssock:0: enable 0 spooler thread(s) [0m
> [1;32m[05/Mar/2024:11:26:06][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: nssock:0: enable 0 writer thread(s) [0m
> [1;32m[05/Mar/2024:11:26:06][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: nssock:0: adding virtual host entry for host <
> dev.daidze.org:8080> location: http://dev.daidze.org:8080 mapped to
> server: dev.daidze.org ctx (nil) [0m
> [1;32m[05/Mar/2024:11:26:06][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: nssock:0: adding virtual host entry for host <
> dummy2.daidze.org:8080> location: http://dummy2.daidze.org:8080 mapped to
> server: dummy2.daidze.org ctx (nil) [0m
> [1;32m[05/Mar/2024:11:26:06][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: nssock:0: adding virtual host entry for host <
> dummy1.daidze.org:8080> location: http://dummy1.daidze.org:8080 mapped to
> server: dummy1.daidze.org ctx (nil) [0m
> [1;32m[05/Mar/2024:11:26:06][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: nsssl:0: adding virtual host entry for host <
> dev.daidze.org:8443> location: https://dev.daidze.org:8443 mapped to
> server: dev.daidze.org ctx (nil) [0m
> [1;32m[05/Mar/2024:11:26:06][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: nsssl:0: adding virtual host entry for host <
> dummy2.daidze.org:8443> location: https://dummy2.daidze.org:8443 mapped
> to server: dummy2.daidze.org ctx (nil) [0m
> [1;32m[05/Mar/2024:11:26:06][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: nsssl:0: adding virtual host entry for host <
> dummy1.daidze.org:8443> location: https://dummy1.daidze.org:8443 mapped
> to server: dummy1.daidze.org ctx (nil) [0m
> [1;32m[05/Mar/2024:11:26:06][188117.7fdb08dd1640][-driver:nssock:0-] [0m
> [0;39mNotice: starting [0m
> [1;32m[05/Mar/2024:11:26:06][188117.7fdb08dd1640][-driver:nssock:0-] [0m
> [0;39mNotice: nssock:0: listening on [172.17.0.1]:8080 [0m
> [1;32m[05/Mar/2024:11:26:06][188117.7fdb08dd1640][-driver:nssock:0-] [0m
> [0;39mNotice: driver: accepting connections [0m
> [1;32m[05/Mar/2024:11:26:06][188117.7fdb03fff640][-driver:nsssl:0-] [0m
> [0;39mNotice: starting [0m
> [1;32m[05/Mar/2024:11:26:06][188117.7fdb03fff640][-driver:nsssl:0-] [0m
> [0;39mNotice: nsssl:0: listening on [172.17.0.1]:8443 [0m
> [1;32m[05/Mar/2024:11:26:06][188117.7fdb03fff640][-driver:nsssl:0-] [0m
> [0;39mNotice: driver: accepting connections [0m
> [1;32m[05/Mar/2024:11:26:06][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: nsmain: NaviServer/5.0.0a (tar-5.0.0a) running [0m
> [1;32m[05/Mar/2024:11:26:06][188117.7fdb12619840][-main:dummy1.daidze.org-]
> [0m [0;39mNotice: nsmain: security info: uid=1000, euid=1000, gid=1000,
> egid=1000 [0m
> [1;32m[05/Mar/2024:11:26:06][188117.7fdb122c6640][-sched-] [0m
> [0;39mNotice: sched: starting [0m
> [1;32m[05/Mar/2024:11:26:06][188117.7fdb037fe640][-writer0-] [0m
> [0;39mNotice: writer0: accepting connections [0m
> [1;32m[05/Mar/2024:11:26:06][188117.7fdb095d2640][-conn:dummy2.daidze.org:default:0:0-]
> [0m [0;39mNotice: start update interpreter dummy2.daidze.org to epoch 1,
> concurrent 3 [0m
> [1;32m[05/Mar/2024:11:26:06][188117.7fdb11a33640][-conn:dev.daidze.org:default:0:0-]
> [0m [0;39mNotice: start update interpreter dev.daidze.org to epoch 1,
> concurrent 3 [0m
> [1;32m[05/Mar/2024:11:26:06][188117.7fdb09dd3640][-conn:dummy1.daidze.org:default:0:0-]
> [0m [0;39mNotice: start update interpreter dummy1.daidze.org to epoch 1,
> concurrent 3 [0m
> [1;32m[05/Mar/2024:11:26:07][188117.7fdb095d2640][-conn:dummy2.daidze.org:default:0:0-]
> [0m [0;39mNotice: update interpreter dummy2.daidze.org to epoch 1 done,
> trace none, time 0.379366 secs concurrent 3 [0m
> [1;32m[05/Mar/2024:11:26:07][188117.7fdb095d2640][-conn:dummy2.daidze.org:default:0:0-]
> [0m [0;39mNotice: thread initialized (0.414374 secs) [0m
> [1;32m[05/Mar/2024:11:26:07][188117.7fdb11a33640][-conn:dev.daidze.org:default:0:0-]
> [0m [0;39mNotice: update interpreter dev.daidze.org to epoch 1 done,
> trace none, time 0.372765 secs concurrent 3 [0m
> [1;32m[05/Mar/2024:11:26:07][188117.7fdb11a33640][-conn:dev.daidze.org:default:0:0-]
> [0m [0;39mNotice: thread initialized (0.410192 secs) [0m
> [1;32m[05/Mar/2024:11:26:07][188117.7fdb09dd3640][-conn:dummy1.daidze.org:default:0:0-]
> [0m [0;39mNotice: update interpreter dummy1.daidze.org to epoch 1 done,
> trace none, time 0.370452 secs concurrent 3 [0m
> [1;32m[05/Mar/2024:11:26:07][188117.7fdb09dd3640][-conn:dummy1.daidze.org:default:0:0-]
> [0m [0;39mNotice: thread initialized (0.407226 secs) [0m
> [1;32m[05/Mar/2024:11:26:14][188117.7fdb122c6640][-sched-] [0m
> [0;39mNotice: start update interpreter dev.daidze.org to epoch 1,
> concurrent 1 [0m
> [1;32m[05/Mar/2024:11:26:14][188117.7fdb122c6640][-sched-] [0m
> [0;39mNotice: update interpreter dev.daidze.org to epoch 1 done, trace
> none, time 0.175986 secs concurrent 1 [0m
> [1;32m[05/Mar/2024:11:26:15][188117.7fdb122c6640][-sched-] [0m
> [0;39mNotice: start update interpreter dummy2.daidze.org to epoch 1,
> concurrent 1 [0m
> [1;32m[05/Mar/2024:11:26:15][188117.7fdb122c6640][-sched-] [0m
> [0;39mNotice: update interpreter dummy2.daidze.org to epoch 1 done, trace
> none, time 0.130161 secs concurrent 1 [0m
> [1;32m[05/Mar/2024:11:26:16][188117.7fdb122c6640][-sched-] [0m
> [0;39mNotice: start update interpreter dummy1.daidze.org to epoch 1,
> concurrent 1 [0m
> [1;32m[05/Mar/2024:11:26:16][188117.7fdb122c6640][-sched-] [0m
> [0;39mNotice: update interpreter dummy1.daidze.org to epoch 1 done, trace
> none, time 0.127059 secs concurrent 1 [0m
Thank you
On Tue, Mar 5, 2024 at 10:11 AM Georg Lehner <jor...@ma...> wrote:
> Hello Maksym,
>
> The log files of the Naviserver could shed light on the issue.
>
> And without knowing the contents of dz_nsd.tcl it is difficult to give
> feedback.
>
> Finally: you have both SSL and plain HTTP frontend (and backend?)
> configured, so the result might differ depending if you make a https://
> or http:// request.
>
> Best Regards,
>
> Georg
> On 3/4/24 11:45, Maksym Zinchenko wrote:
>
> I have a Naviserver with a couple of virtual web servers listening on a
> single ip:port. I want to move all those virtual servers to Docker
> containers gradually. So I'm trying to install Nginx Reverse Proxy on my
> Docker container and configure it to redirect requests to my host
> Naviserver.
>
> I've changed my Naviserver config to listen to 8080 and 8443 ports on
> docker host gateway IP:
>
> /opt/ns/bin/nsd -w -u nsadmin -t /opt/ns/conf/dz_nsd.tcl -b
>> 172.17.0.1:8080,172.17.0.1:8443
>
>
> In my Nginx config I have 2 listeners one for dev and dummy1 subdomains:
>
> server {
>> listen 80;
>> server_name dev.daidze.org;
>>
>> location / {
>> proxy_set_header X-Real-IP $remote_addr;
>> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
>> proxy_set_header Host $http_host;
>> proxy_set_header X-Forwarded-Proto $scheme;
>> proxy_pass http://172.17.0.1:8080/;
>> }
>> }
>>
>> server {
>> listen 443 ssl;
>> server_name dev.daidze.org;
>> ssl_certificate /opt/ns/modules/nsssl/fullchain.pem;
>> ssl_certificate_key /opt/ns/modules/nsssl/privkey.pem;
>> ssl_prefer_server_ciphers on;
>>
>> location / {
>> proxy_set_header X-Real-IP $remote_addr;
>> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
>> proxy_set_header Host $http_host;
>> proxy_set_header X-Forwarded-Proto $scheme;
>> proxy_pass https://172.17.0.1:8443/;
>> }
>> }
>>
>> server {
>> listen 80;
>> server_name dummy1.daidze.org;
>>
>> location / {
>> proxy_set_header X-Real-IP $remote_addr;
>> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
>> proxy_set_header Host $http_host;
>> proxy_set_header X-Forwarded-Proto $scheme;
>> proxy_pass http://172.17.0.1:8080/;
>> }
>> }
>>
>> server {
>> listen 443 ssl;
>> server_name dummy1.daidze.org;
>> ssl_certificate /opt/ns/modules/nsssl/fullchain.pem;
>> ssl_certificate_key /opt/ns/modules/nsssl/privkey.pem;
>> ssl_prefer_server_ciphers on;
>>
>> location / {
>> proxy_set_header X-Real-IP $remote_addr;
>> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
>> proxy_set_header Host $http_host;
>> proxy_set_header X-Forwarded-Proto $scheme;
>> proxy_pass https://172.17.0.1:8443/;
>> }
>> }
>
>
> I'm using proxy_set_header Host $http_host; to redirect the headers real
> Host parameter to my host Naviserver installation, but I'm getting response
> only from the dev Virtual server. It doesn't matter what url I request
> dev.daidze.org or dummy1.daidze.org. Here an example of request to
> https://dummy1.daidze.org/ :
>
> dev server
>> X-Real-IP: 172.64.238.37
>> X-Forwarded-For: 165.90.99.154, 172.64.238.37
>> Host: dummy1.daidze.org
>> X-Forwarded-Proto: https
>> Connection: close
>> accept-encoding: gzip, br
>> CF-RAY: 85f13d442cd66671-MAD
>> CF-Visitor: {"scheme":"https"}
>> user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0)
>> Gecko/20100101 Firefox/123.0
>> accept:
>> text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
>>
>> accept-language: en-US,en;q=0.5
>> upgrade-insecure-requests: 1
>> sec-fetch-dest: document
>> sec-fetch-mode: navigate
>> sec-fetch-site: none
>> sec-fetch-user: ?1
>> sec-gpc: 1
>> pragma: no-cache
>> cache-control: no-cache
>> CF-Connecting-IP: 165.90.99.154
>> CDN-Loop: cloudflare
>> CF-IPCountry: CV
>
>
> What am I doing wrong? According to Naviserver docs redirection is done
> based on the content of the *host* header field. Right? So this should
> work.
>
> Thank you,
> Maksym
>
>
> _______________________________________________
> naviserver-devel mailing lis...@li...://lists.sourceforge.net/lists/listinfo/naviserver-devel
>
> _______________________________________________
> naviserver-devel mailing list
> nav...@li...
> https://lists.sourceforge.net/lists/listinfo/naviserver-devel
>
|
|
From: Georg L. <jor...@ma...> - 2024-03-05 11:11:36
|
Hello Maksym,
The log files of the Naviserver could shed light on the issue.
And without knowing the contents of dz_nsd.tcl it is difficult to give
feedback.
Finally: you have both SSL and plain HTTP frontend (and backend?)
configured, so the result might differ depending if you make a https://
or http:// request.
Best Regards,
Georg
On 3/4/24 11:45, Maksym Zinchenko wrote:
> I have a Naviserver with a couple of virtual web servers listening on
> a single ip:port. I want to move all those virtual servers to Docker
> containers gradually. So I'm trying to install Nginx Reverse Proxy on
> my Docker container and configure it to redirect requests to my host
> Naviserver.
>
> I've changed my Naviserver config to listen to 8080 and 8443 ports on
> docker host gateway IP:
>
> /opt/ns/bin/nsd -w -u nsadmin -t /opt/ns/conf/dz_nsd.tcl -b
> 172.17.0.1:8080 <http://172.17.0.1:8080>,172.17.0.1:8443
> <http://172.17.0.1:8443>
>
>
> In my Nginx config I have 2 listeners one for dev and dummy1 subdomains:
>
> server {
> listen 80;
> server_name dev.daidze.org <http://dev.daidze.org>;
>
> location / {
> proxy_set_header X-Real-IP $remote_addr;
> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
> proxy_set_header Host $http_host;
> proxy_set_header X-Forwarded-Proto $scheme;
> proxy_pass http://172.17.0.1:8080/;
> }
> }
>
> server {
> listen 443 ssl;
> server_name dev.daidze.org <http://dev.daidze.org>;
> ssl_certificate /opt/ns/modules/nsssl/fullchain.pem;
> ssl_certificate_key /opt/ns/modules/nsssl/privkey.pem;
> ssl_prefer_server_ciphers on;
>
> location / {
> proxy_set_header X-Real-IP $remote_addr;
> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
> proxy_set_header Host $http_host;
> proxy_set_header X-Forwarded-Proto $scheme;
> proxy_pass https://172.17.0.1:8443/;
> }
> }
>
> server {
> listen 80;
> server_name dummy1.daidze.org <http://dummy1.daidze.org>;
>
> location / {
> proxy_set_header X-Real-IP $remote_addr;
> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
> proxy_set_header Host $http_host;
> proxy_set_header X-Forwarded-Proto $scheme;
> proxy_pass http://172.17.0.1:8080/;
> }
> }
>
> server {
> listen 443 ssl;
> server_name dummy1.daidze.org <http://dummy1.daidze.org>;
> ssl_certificate /opt/ns/modules/nsssl/fullchain.pem;
> ssl_certificate_key /opt/ns/modules/nsssl/privkey.pem;
> ssl_prefer_server_ciphers on;
>
> location / {
> proxy_set_header X-Real-IP $remote_addr;
> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
> proxy_set_header Host $http_host;
> proxy_set_header X-Forwarded-Proto $scheme;
> proxy_pass https://172.17.0.1:8443/;
> }
> }
>
>
> I'm using proxy_set_header Host $http_host; to redirect the headers
> real Host parameter to my host Naviserver installation, but I'm
> getting response only from the dev Virtual server. It doesn't matter
> what url I request dev.daidze.org <http://dev.daidze.org> or
> dummy1.daidze.org <http://dummy1.daidze.org>. Here an example of
> request to https://dummy1.daidze.org/ :
>
> dev server
> X-Real-IP: 172.64.238.37
> X-Forwarded-For: 165.90.99.154, 172.64.238.37
> Host: dummy1.daidze.org <http://dummy1.daidze.org>
> X-Forwarded-Proto: https
> Connection: close
> accept-encoding: gzip, br
> CF-RAY: 85f13d442cd66671-MAD
> CF-Visitor: {"scheme":"https"}
> user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0)
> Gecko/20100101 Firefox/123.0
> accept:
> text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
>
> accept-language: en-US,en;q=0.5
> upgrade-insecure-requests: 1
> sec-fetch-dest: document
> sec-fetch-mode: navigate
> sec-fetch-site: none
> sec-fetch-user: ?1
> sec-gpc: 1
> pragma: no-cache
> cache-control: no-cache
> CF-Connecting-IP: 165.90.99.154
> CDN-Loop: cloudflare
> CF-IPCountry: CV
>
>
> What am I doing wrong? According to Naviserver docs redirection is
> done based on the content of the /host/ header field. Right? So this
> should work.
>
> Thank you,
> Maksym
>
>
> _______________________________________________
> naviserver-devel mailing list
> nav...@li...
> https://lists.sourceforge.net/lists/listinfo/naviserver-devel |
|
From: Maksym Z. <siq...@gm...> - 2024-03-04 10:45:25
|
I have a Naviserver with a couple of virtual web servers listening on a
single ip:port. I want to move all those virtual servers to Docker
containers gradually. So I'm trying to install Nginx Reverse Proxy on my
Docker container and configure it to redirect requests to my host
Naviserver.
I've changed my Naviserver config to listen to 8080 and 8443 ports on
docker host gateway IP:
/opt/ns/bin/nsd -w -u nsadmin -t /opt/ns/conf/dz_nsd.tcl -b 172.17.0.1:8080,
> 172.17.0.1:8443
In my Nginx config I have 2 listeners one for dev and dummy1 subdomains:
server {
> listen 80;
> server_name dev.daidze.org;
>
> location / {
> proxy_set_header X-Real-IP $remote_addr;
> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
> proxy_set_header Host $http_host;
> proxy_set_header X-Forwarded-Proto $scheme;
> proxy_pass http://172.17.0.1:8080/;
> }
> }
>
> server {
> listen 443 ssl;
> server_name dev.daidze.org;
> ssl_certificate /opt/ns/modules/nsssl/fullchain.pem;
> ssl_certificate_key /opt/ns/modules/nsssl/privkey.pem;
> ssl_prefer_server_ciphers on;
>
> location / {
> proxy_set_header X-Real-IP $remote_addr;
> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
> proxy_set_header Host $http_host;
> proxy_set_header X-Forwarded-Proto $scheme;
> proxy_pass https://172.17.0.1:8443/;
> }
> }
>
> server {
> listen 80;
> server_name dummy1.daidze.org;
>
> location / {
> proxy_set_header X-Real-IP $remote_addr;
> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
> proxy_set_header Host $http_host;
> proxy_set_header X-Forwarded-Proto $scheme;
> proxy_pass http://172.17.0.1:8080/;
> }
> }
>
> server {
> listen 443 ssl;
> server_name dummy1.daidze.org;
> ssl_certificate /opt/ns/modules/nsssl/fullchain.pem;
> ssl_certificate_key /opt/ns/modules/nsssl/privkey.pem;
> ssl_prefer_server_ciphers on;
>
> location / {
> proxy_set_header X-Real-IP $remote_addr;
> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
> proxy_set_header Host $http_host;
> proxy_set_header X-Forwarded-Proto $scheme;
> proxy_pass https://172.17.0.1:8443/;
> }
> }
I'm using proxy_set_header Host $http_host; to redirect the headers real
Host parameter to my host Naviserver installation, but I'm getting response
only from the dev Virtual server. It doesn't matter what url I request
dev.daidze.org or dummy1.daidze.org. Here an example of request to
https://dummy1.daidze.org/ :
dev server
> X-Real-IP: 172.64.238.37
> X-Forwarded-For: 165.90.99.154, 172.64.238.37
> Host: dummy1.daidze.org
> X-Forwarded-Proto: https
> Connection: close
> accept-encoding: gzip, br
> CF-RAY: 85f13d442cd66671-MAD
> CF-Visitor: {"scheme":"https"}
> user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0)
> Gecko/20100101 Firefox/123.0
> accept:
> text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
>
> accept-language: en-US,en;q=0.5
> upgrade-insecure-requests: 1
> sec-fetch-dest: document
> sec-fetch-mode: navigate
> sec-fetch-site: none
> sec-fetch-user: ?1
> sec-gpc: 1
> pragma: no-cache
> cache-control: no-cache
> CF-Connecting-IP: 165.90.99.154
> CDN-Loop: cloudflare
> CF-IPCountry: CV
What am I doing wrong? According to Naviserver docs redirection is done
based on the content of the *host* header field. Right? So this should work.
Thank you,
Maksym
|