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
|
Sep
|
Oct
|
Nov
|
Dec
|
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...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. <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...https://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...https://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 |
From: Gustaf N. <gus...@wu...> - 2024-01-29 12:55:41
|
Dear all, I am glad to announce that the release of NaviServer 4.99.30 is available at SourceForge [1]. This release contains a small improvement to reduce the log file verbosity on busy sites (many thanks to Brian for the suggestion) and contains minor fixes for certain configurations, improved timing information under error conditions, and improved support for cluster configurations for OpenACS. As discussed before, the repository of NaviServer was moved from Bitbucket to GitHub [2]. The plan is to empty the Bitbucket repository in the near future. Please adjust your install/update scripts to point to the new link. The installation scripts from [3] have been adjusted to GitHub as well. All the best! -gustaf neumann [1] https://sourceforge.net/projects/naviserver/files/naviserver/4.99.30/ [2] https://github.com/orgs/naviserver-project/repositories [3] https://github.com/gustafn/install-ns ======================================= NaviServer 4.99.30, released 2024-01-26 ======================================= 35 files changed, 700 insertions(+), 333 deletions(-) New Features: ------------- - Global Parameter "sockacceptlog" (Commit a8b5f33c): Introduced a new global parameter "sockacceptlog" to define a threshold for logging, when to inform the user about a high number of incoming connections in a single accept callback. Bug Fixes: ---------- - Compilation Issues (Commit 0b72baa7): Fixed compilation issues when compiled without OpenSSL or zlib support. - Meaningful End-Times on Connection Errors (Commit 929d55be): Ensured meaningful end-times are provided during connection errors in ns_http. - Rework of "rejectalreadyclosedconn" (Commit f0963834): Reworked the "rejectalreadyclosedconn" for safer operations and logging. - Shutdown Callbacks and Spoolers (Commit 0f0ea439): Change shutdown order to let shutdown callbacks use spoolers. This is beneficial for cluster mode in OpenACS, where other cluster nodes should be be informed about the shutdown of a node (Used by OpenACS). Changes in Sample Configuration Files: -------------------------------------- - Oracle Startup Configurable (Commit 1ee7fef): Made startup configuration for Oracle databases adjustable in openacs-config.tcl. - Use Uppercase Memory Units (Commit 2f96dc62): Standardized memory units to uppercase in openacs-config.tcl. - Removed Custom Setting for "connsperthread" (Commit 823b68b2): Removed the custom setting for "connsperthread" in openacs-config.tcl to avoid misconceptions. - Backported nsd-config.tcl and openacs-config.tcl from main branch to improve maintainability Misc Improvements: ------------------ - Library Initialization After Command Line Processing (Commit fc3ee12b): Moved library initialization to occur after command line processing to avoid potential unexpected output. - Timeout Information in Warning Messages (Commit 12fe7805): Enhanced warning messages to include timeout value information. - Improved Robustness of Regression Rest (Commit bcc309716) - Compatibility Improvements: * Improved Forward Compatibility for Tcl9 (Commit d9e15fb6) * Improved Cross Compilation for certain ARM Processors in .m4 setup (Commit e1071fcf) * Improved Include Path for macOS (Commit 120dcafce): Updated the include path for cppcheck under newer macOS versions. |
From: Gustaf N. <ne...@wu...> - 2023-11-23 18:22:49
|
Dear all, The newest version of nsstats in the repository can now report detailed memory statistics, when a) NaviServer and Tcl were compiled with SYSTEM_MALLOC, and b) tcmalloc (the memory allocator library from Google's perftools) was preloaded In this case, the memory statistics (from the "Memory" pull down menu) provides detailed statistics, which can answer some questions about memory growth, memory fragmentation, and the memory release policy of the memory allocator library. It answers, e.g., the question, whether the allocator library does not want to release memory, or if it can't release memory. Below is a screenshot from openacs.org. Note, that one needs both, the newest version of the nsstats module and a recent version of NaviServer (main branch), which implements the integration with tcmalloc. A detailed description of the output can be found here: https://github.com/google/tcmalloc/blob/master/docs/stats.md All the best -g LD_PRELOAD=/opt/local/lib/libtcmalloc.9.10.5.dylib /usr/local/ns/bin/nsd -f -t /usr/local/ns/openacs-5.10.tcl -u nsadmin -g nsadmin |
From: Gustaf N. <ne...@wu...> - 2023-11-22 11:27:41
|
Dear Wolfgang, You have to compile the newest version of nsdbpg either against - the newest version of NaviServer from the branch "main", or against - the newest version of NaviServer from the branch "release/4.99" General rule: Take either the releases with matching version number from sourceforge, or take the newest versions of NaviServer and the modules from github (typically unreleased versions). The following combinations are tested on the latest code all the best -g Tested environments for NaviServer 4.99 (branch release/4.99) - os: ubuntu-latest compiler: gcc-10 tcltag: core-8-6-13 nsf_version: 2.3.0 tdom_version: 0.9.1 - os: ubuntu-latest compiler: gcc-11 tcltag: core-8-7-a5 ns_modules: nsdbpg nsdbi nsdbipg nsudp nscoap nssmtpd nsf_version: 2.4.0 tdom_version: 0.9.3 Tested environments for NaviServer 5 (branch main) - os: ubuntu-latest compiler: gcc-10 tcltag: core-8-6-13 nsf_version: 2.3.0 tdom_version: 0.9.1 - os: ubuntu-latest compiler: gcc-12 tcltag: core-8-7-a5 ns_modules: nsdbpg nsdbi nsdbipg nsudp nscoap nssmtpd nsf_version: 2.4.0 tdom_version: 0.9.3 - os: ubuntu-latest compiler: gcc-12 tcltag: main ns_modules: nsdbpg nsdbi nsdbipg nsudp nscoap nssmtpd nsloopctl nsf_version: HEAD tdom_version: 0.9.3 On 22.11.23 08:18, Wolfgang Winkler via naviserver-devel wrote: > > Hi all! > > When compiling the current version of nsdbg from > > https://github.com/naviserver-project/nsdbpg/tree/main > > I get the error: > > tclcmds.c:1635:37:error: expected ‘)’ before ‘PRITcl_Size’ > sprintf(segment_pos, "%d, %"PRITcl_Size", '%s')", > ^~~~~~~~~~~~ > ) > I locally changed the line 1635 to the old version, which works. > > - sprintf(segment_pos, "%d, %" PRITcl_Size ", '%s')", > - segment, segment_len, out_buf); > +sprintf(segment_pos, "%d, %d, '%s')", segment, segment_len, out_buf); > > Regards, > > wiwo > |
From: Wolfgang W. <wol...@di...> - 2023-11-22 10:55:17
|
Hi all! When compiling the current version of nsdbg from https://github.com/naviserver-project/nsdbpg/tree/main I get the error: tclcmds.c:1635:37:error: expected ‘)’ before ‘PRITcl_Size’ sprintf(segment_pos, "%d, %"PRITcl_Size", '%s')", ^~~~~~~~~~~~ ) I locally changed the line 1635 to the old version, which works. - sprintf(segment_pos, "%d, %" PRITcl_Size ", '%s')", - segment, segment_len, out_buf); +sprintf(segment_pos, "%d, %d, '%s')", segment, segment_len, out_buf); Regards, wiwo -- *Wolfgang Winkler* Geschäftsführung wol...@di... mobil +43.699.19971172 dc:*büro* digital concepts Novak Winkler OG Software & Design Landstraße 68, 5. Stock, 4020 Linz www.digital-concepts.com <http://www.digital-concepts.com> tel +43.732.997117.72 tel +43.699.1997117.2 Firmenbuchnummer: 192003h Firmenbuchgericht: Landesgericht Linz |
From: Gustaf N. <ne...@wu...> - 2023-11-22 09:23:44
|
Hi Brian, There is no plan to change the policy of NaviServer on sourceforge. We will continue to use sourceforge for NaviServer releases in the form of tar files, along side with tar files for the matching modules. Github is for developer, code-inspection, PRs, etc. all the best -g On 20.11.23 16:21, Brian Fenton wrote: > Dear Gustaf > > thanks for this good work. Github does appear to be superior to > Bitbucket on many fronts. > > Will the tar.gz files for each release continue to be published to > https://sourceforge.net/projects/naviserver/files/naviserver/ ? > > best wishes > Brian |
From: Brian F. <bri...@ai...> - 2023-11-20 15:21:25
|
Dear Gustaf thanks for this good work. Github does appear to be superior to Bitbucket on many fronts. Will the tar.gz files for each release continue to be published to https://sourceforge.net/projects/naviserver/files/naviserver/ ? best wishes Brian ________________________________ From: Gustaf Neumann <ne...@wu...> Sent: Sunday 19 November 2023 5:17 pm To: nav...@li... <nav...@li...> Subject: Re: [naviserver-devel] NaviServer 4.99.29 available Dear all, This is a follow-up to my own mail. The problem due to the changes of the billing rules on Bitbucket (see below) are somewhat sorted out, I have again access to the repository, but many of the former contributors are deleted from the "naviserver" group to get it functioning. There was also a change with "managed accounts", which made the problem for me even more complicated. In total, I count 31 emails with Atlassian support to sort these things out. Anyhow, these changes are signs that Atlassian does not have a high priority on open source projects with free accounts. We have discussed this with Zoran, and we came to the conclusion that it is the best to move the NaviServer repositories to GitHub https://github.com/orgs/naviserver-project/repositories We have now on GitHub an organization "naviserver-project" which contains now the 54 sub-repositories. This is essentially the same structure we had before. We also have a certain hope, that the move to GitHub will rather improve the visibility of NaviServer. All the newest commits were done on these new repositories. The plan is to move completely to GitHub and to delete the repositories on Bitbucket to avoid confusion. Please adjust your install/update scripts to point to the new link. All the best -g On 02.11.23 15:30, I wrote: So far, these changes are only available on sourceforge, since i have lost write access to the repository at bitbucket. The people on Atlassian seem to have changed some account types, and - on to of this - they annouced via the Blog post on September 27, 2023, that the billing model changed (where they also refer to the "unified-user-management"). It took me a while to figure out, what happened. The blog post states: >From October 31st, 2023, Bitbucket Cloud will begin counting all workspace members as a billable user. .... Free plans: If you're on a free plan and your billable user count is higher than 5 as per the new definition of billable user, all repositories in your workspace will become read-only until you remove some users or upgrade your workspace to a paid plan. It seems that the users of the "naviserver" group are now counted as "billable users", and it contains 19 users. According to support, we have to reduce this number to 5, otherwise nobody will be able to commit anything. Due to the ability with PRs, i think the reduction will be possible without too much loss in functionality. If nobody objects, i will go back in history and reduce the number of commit-member based on the most recent direct commits. I hope, that non of the "old members" will be offended by this. One other option would be to upgrade to a paid plain - but i am not sure, who is gonna pay for this. |
From: Gustaf N. <ne...@wu...> - 2023-11-19 17:18:02
|
Dear all, This is a follow-up to my own mail. The problem due to the changes of the billing rules on Bitbucket (see below) are somewhat sorted out, I have again access to the repository, but many of the former contributors are deleted from the "naviserver" group to get it functioning. There was also a change with "managed accounts", which made the problem for me even more complicated. In total, I count 31 emails with Atlassian support to sort these things out. Anyhow, these changes are signs that Atlassian does not have a high priority on open source projects with free accounts. We have discussed this with Zoran, and we came to the conclusion that it is the best to move the NaviServer repositories to GitHub https://github.com/orgs/naviserver-project/repositories We have now on GitHub an organization "naviserver-project" which contains now the 54 sub-repositories. This is essentially the same structure we had before. We also have a certain hope, that the move to GitHub will rather improve the visibility of NaviServer. All the newest commits were done on these new repositories. The plan is to move completely to GitHub and to delete the repositories on Bitbucket to avoid confusion. Please adjust your install/update scripts to point to the new link. All the best -g On 02.11.23 15:30, I wrote: > So far, these changes are only available on sourceforge, since i have > lost write access to the repository at bitbucket. The people on > Atlassian seem to have changed some account types, and - on to of this > - they annouced via the Blog post on September 27, 2023, that the > billing model changed (where they also refer to the > "unified-user-management"). It took me a while to figure out, what > happened. The blog post states: > > /From October 31st, 2023, Bitbucket Cloud will begin counting all > workspace members as a billable user. .... > > Free plans: If you're on a free plan and your billable user count > is higher than 5 as per the new definition of billable user, all > repositories in your workspace will become read-only until you > remove some users or upgrade your workspace to a paid plan./ > > It seems that the users of the "naviserver" group are now counted as > "billable users", and it contains 19 users. According to support, we > have to reduce this number to 5, otherwise nobody will be able to > commit anything. > > Due to the ability with PRs, i think the reduction will be possible > without too much loss in functionality. If nobody objects, i will go > back in history and reduce the number of commit-member based on the > most recent direct commits. I hope, that non of the "old members" will > be offended by this. One other option would be to upgrade to a paid > plain - but i am not sure, who is gonna pay for this. > |
From: Brian F. <bri...@ai...> - 2023-11-10 16:46:04
|
I enabled 2 driverthreads each on both nsssl and nssock on our Docker system, and I think it's working ,based on these driver stats: thread nsssl:1 module nsssl received 5K spooled 0 partial 5K errors 0 thread nsssl:0 module nsssl received 5K spooled 0 partial 5K errors 0 thread nssock:1 module nssock received 135 spooled 0 partial 135 errors 0 thread nssock:0 module nssock received 136 spooled 0 partial 136 errors 0 Still seeing a huge amount of these in the log though: [10/Nov/2023:16:08:08][37.7fb2857fa640][-driver:nsssl:0-] Notice: ... sockAccept accepted 2 connections [10/Nov/2023:16:08:16][37.7fb286ffd640][-driver:nsssl:1-] Notice: ... sockAccept accepted 2 connections [10/Nov/2023:16:08:17][37.7fb2857fa640][-driver:nsssl:0-] Notice: ... sockAccept accepted 2 connections [10/Nov/2023:16:08:21][37.7fb286ffd640][-driver:nsssl:1-] Notice: ... sockAccept accepted 2 connections [10/Nov/2023:16:08:26][37.7fb2857fa640][-driver:nsssl:0-] Notice: ... sockAccept accepted 2 connections I'll leave it running anyway, and see how it goes. thanks! Brian ________________________________ From: Gustaf Neumann <ne...@wu...> Sent: Thursday 9 November 2023 3:27 pm To: nav...@li... <nav...@li...> Subject: Re: [naviserver-devel] A selection of messages appearing in our error logs On 08.11.23 15:42, Brian Fenton wrote: Also regarding configuring a second driver thread - just to be clear are you referring to this mail you sent back in 2016 https://sourceforge.net/p/naviserver/mailman/message/35502664/ i.e. enable reuseport and set driverthreads = 2? It's unclear to me if this has benefit when running Naviserver in a Docker container - definitely beyond my level of comprehension. See https://github.com/moby/moby/issues/7536#issuecomment-1039443599 for discussion of SO_REUSEPORT and Docker. SO_REUSEPORT allows multiple sockets on the same host to bind to the same port at the same time, therefore, multiple driver threads can listen at the same time at the same port. I do not see, why this should not be possible in a container, ... but i am not a container expert. You can try a configuration with two driver threads, if it does not reduce the number of entries, then undo it. On a configuration with e.g. two spooler threads, it should look like the following, distributing the requests more or less evenly thread nsssl:1 module nsssl received 890K spooled 422 partial 437K errors 0 thread nsssl:0 module nsssl received 935K spooled 27K partial 491K errors 0 If the load distribution does not work on your docker machine (only one driver thread is doing all the work), then a configuration with two driver threads is indeed useless. Since the driver threads will work on different cores, this improving concurrency and scalability. Giving cores something to do is always preferable. But also, when one is defining two driver threads for the same port, don't expect that the messages will go away completely. 3. "exiting: exceeded max connections per thread" - actually we used to have "connsperthread" set to 10000, but I reduced to 1000 when we moved to Linux, as I noticed that was the value in latest OpenACS config, even though the default is still 10000 https://bitbucket.org/naviserver/naviserver/src/main/openacs-config.tcl Is 1000 the recommended value for OpenACS? The value of 1000 is probably a "traditional" value, which is forgiving for sloppy developers not cleaning up their garbage after a request. I have commented out the line in the repository such that users don't draw wrong conclusions. -g |
From: Gustaf N. <ne...@wu...> - 2023-11-09 15:28:03
|
On 08.11.23 15:42, Brian Fenton wrote: > Also regarding configuring a second driver thread - just to be clear > are you referring to this mail you sent back in 2016 > https://sourceforge.net/p/naviserver/mailman/message/35502664/ i.e. > enable reuseport and set driverthreads = 2? It's unclear to me if this > has benefit when running Naviserver in a Docker container - definitely > beyond my level of comprehension. See > https://github.com/moby/moby/issues/7536#issuecomment-1039443599 for > discussion of SO_REUSEPORT and Docker. SO_REUSEPORT allows multiple sockets on the same host to bind to the same port at the same time, therefore, multiple driver threads can listen at the same time at the same port. I do not see, why this should not be possible in a container, ... but i am not a container expert. You can try a configuration with two driver threads, if it does not reduce the number of entries, then undo it. On a configuration with e.g. two spooler threads, it should look like the following, distributing the requests more or less evenly thread nsssl:1 module nsssl received 890K spooled 422 partial 437K errors 0 thread nsssl:0 module nsssl received 935K spooled 27K partial 491K errors 0 If the load distribution does not work on your docker machine (only one driver thread is doing all the work), then a configuration with two driver threads is indeed useless. Since the driver threads will work on different cores, this improving concurrency and scalability. Giving cores something to do is always preferable. But also, when one is defining two driver threads for the same port, don't expect that the messages will go away completely. > 3. "exiting: exceeded max connections per thread" - actually we used > to have "connsperthread" set to 10000, but I reduced to 1000 when we > moved to Linux, as I noticed that was the value in latest OpenACS > config, even though the default is still 10000 > https://bitbucket.org/naviserver/naviserver/src/main/openacs-config.tcl > Is 1000 the recommended value for OpenACS? The value of 1000 is probably a "traditional" value, which is forgiving for sloppy developers not cleaning up their garbage after a request. I have commented out the line in the repository such that users don't draw wrong conclusions. -g |
From: Brian F. <bri...@ai...> - 2023-11-08 14:42:26
|
Hi Gustaf thank you so much for such a comprehensive reply. I feel like I just increased my IQ by a few percentage! A couple of follow up questions, if I may: 1. "sockAccept accepted 2 connections" - this was very useful to know, I will start keeping an eye out for values > 10. It would be very useful to be able to configure the threshold at which it appears in the log, as I mentioned we see a huge amount of these (over 2000 in the last few hours on our test server, almost all of them for 2 connections). Also regarding configuring a second driver thread - just to be clear are you referring to this mail you sent back in 2016 https://sourceforge.net/p/naviserver/mailman/message/35502664/ i.e. enable reuseport and set driverthreads = 2? It's unclear to me if this has benefit when running Naviserver in a Docker container - definitely beyond my level of comprehension. See https://github.com/moby/moby/issues/7536#issuecomment-1039443599 for discussion of SO_REUSEPORT and Docker. 2. "ns_cache create entry collision cache util_memoize key '__util_memoize_installed_p" - again very helpful. We actually have been partitioning our caches, and try not to add anything new to util-memoize cache. In fact, this particular message about '__util_memoize_installed_p' is the only cache collision notice we are seeing. Your comment helped me to track down to issue to the "util_memoize_initialized_p" and "apm_package_installed_p" procs, and I can see the new improved versions in later OpenACS versions, so I will try those out. 3. "exiting: exceeded max connections per thread" - actually we used to have "connsperthread" set to 10000, but I reduced to 1000 when we moved to Linux, as I noticed that was the value in latest OpenACS config, even though the default is still 10000 https://bitbucket.org/naviserver/naviserver/src/main/openacs-config.tcl Is 1000 the recommended value for OpenACS? thanks again Brian ________________________________ From: Gustaf Neumann <ne...@wu...> Sent: Wednesday 8 November 2023 9:00 am To: nav...@li... <nav...@li...> Subject: Re: [naviserver-devel] A selection of messages appearing in our error logs Hi Brian, In general, we try to follow with the logging severities the guideline [1]. "Notice" is informational, "warning" is something unexpected/unwanted (hitting some limits, got some data that looks like an attack, ...), "error" is something which should be looked at by an engineer. [1] https://openacs.org/xowiki/logging-conventions below, I comment inline. On 07.11.23 18:28, Brian Fenton wrote: Hi with the goal of improving signal-to-noise in our error logs, and also to increase my understanding of Naviserver internals, I have a few questions about various different messages we are seeing regularly in our logs. 1. [06/Nov/2023:14:58:08][77320.7f7b9a7fd640][-driver:nsssl:0-] Notice: ... sockAccept accepted 2 connections this is by far the most common entry in our logs - we see a LOT of these. Are they merely informative or indicative of some tuning action we could take? I don't see any way to disable them. I would love to remove these. This indicates some stress situation of the server, where multiple requests come in at the same time. The value of 2 is not of a concern, if you see values like 10 or 20, you should consider a change in your configuration (e.g., configuring a second driver thread). It would be possible to define a configuration value for the network driver to set the threshold when the notice is written to the log file. 1. 2. [06/Nov/2023:14:57:28][77320.7f7b63fff640][-conn:openacs:default:6:6292-] Notice: ns_cache create entry collision cache util_memoize key '__util_memoize_installed_p', no timeout We also see a quite a few of these, always for '__util_memoize_installed_p', and always with 'no timeout'. From looking at cache.c I see that this means that Naviserver failed to create the cache entry. I checked the 'util_memoize' cache utilization in case the cache was full, but it's quite low. What other cause could there be for this? This means that concurrent operations are executed to obtain the same cache value, and that the second request (here conn:openacs:default:6:6292) has to wait until the locking process has finished. The problem can become serious, when the locking process "hangs", i.e. taking a very long time to finish. This means, that more and more of caching requests for the same entry will pile up, potentially until a restart, since no timeout was specified. The warning was introduced to give the developer a hint, why suddenly the server is hanging (before the message was introduced, the cause was very hard to determine). This message tells as well something else: * It looks as if the installation is based on a very old version of openacs-core (including in particular acs-tcl) installed. At least since 9 years, the code has changed to perform this test just at startup. Upgrade to recent versions will improve the performance and increase security. * The message tells me as well that the application has a stress on the util-memoize cache. Old versions of OpenACS used this "util-memoize" cache as a kitchen-sink cache for everything. I've seen instances having 300K + entries in this cache. The size itself is not the problem, but there were/are many operations in OpenACS that obtain all keys from the cache. It means that a lock is created, a list with 300K+ entries is created and handed to the interpreter before the cache is released. In the meantime, *all* caching requests for this cache have to be halted, ... causing in high load situations degraded performance and limited concurrency. I would not be surprised, if you see high lock times on this cache. There are caches aside of the util-memoize cache, where cache collisions might happen. See e.g. [2] for more background. Cache partitioning is in this situation the instrument for scaling. [2] https://openacs.org/xowiki/cache-size-tuning 1. 2. These 5 appear usually as a group: [07/Nov/2023:13:46:07][38.7f352cff9640][-conn:openacs:default:3:4088-] Notice: exiting: exceeded max connections per thread [07/Nov/2023:13:46:07][38.7f3525b84640][-driver:nsssl:0-] Notice: NsEnsureRunningConnectionThreads wantCreate 1 waiting 1 idle 0 current 2 [07/Nov/2023:13:46:07][38.7f352d7fa640][-conn:openacs:default:5:0-] Notice: start update interpreter openacs to epoch 1, concurrent 1 [07/Nov/2023:13:46:08][38.7f352d7fa640][-conn:openacs:default:5:0-] Notice: update interpreter openacs to epoch 1 done, trace none, time 0.373006 secs concurrent 1 [07/Nov/2023:13:46:08][38.7f352d7fa640][-conn:openacs:default:5:0-] Notice: thread initialized (0.388878 secs) We see these pretty regularly, over 50 per day on a local development server. "maxconnections" is set to the default value, which is 100, I believe. "maxthreads" and "minthreads" are also set to default values. What could be causing these so regularly on a system with 1 logged-in user? The message tells that a connection thread has reached its end of live, as defined by the "connsperthread" parameter. When this happens, the thread is stopped, and depending on the configuration parameters, a new thread is created maybe immediately or on demand. The reason for stopping connection threads from time to time is to clean up some interpreter specific data, which was accumulated by some applications. With the modern versions of OpenACS and with well-behaved packages, this is not an issue, the value can be increased substantially. The relevant counter does not depend on the number of different users, but on the number of requests handled by a particular connection thread. 1. 2. These 3 are related to each other, I presume: [07/Nov/2023:15:36:24][38.7f3536b86640][-conn:openacs:default:28:28082-] Notice: nsdb: closing old handle in pool 'pool1' [07/Nov/2023:15:45:39][38.7f3536b86640][-conn:openacs:default:31:31287-] Notice: nsdb: closing idle handle in pool 'pool1' [07/Nov/2023:15:45:39][38.7f3536b86640][-conn:openacs:default:31:31287-] Notice: dbdrv: opening database 'nsoracle:192.168.1.1/ORACLE' These are quite frequent too. Am I correct in thinking that we can tune these with pool "maxidle" and "maxopen" params mentioned here https://naviserver.sourceforge.io/n/nsdb/files/ns_db.html ? Is there any reason not to turn off the automatic closing feature? There might be some reasons for keeping the number of db connections low (e.g. many servers use the same database with a limited number of client connections, etc.), since at least 20 years there is no technical reason for the common db drivers not to turn off the automatic closing feature. Reconnecting to the database can be costly, when the db is running on a different host and/or the connection is via HTTPS. hope this helps a little all the best -g |