Reload failed Exit Code -6

50 views
Skip to first unread message

Daryl W

unread,
Dec 29, 2021, 9:46:29 AM12/29/21
to Diladele Web Safety
This just started happenig and I am not sure what to do about it. A "Restart" also throws errors.

Exit code - 6
Exception - Cannot restart/reload daemons, exit code 6, stdout * wsgsbd.service - Web Safety Google Safe Browsing Daemon Loaded: loaded (/etc/systemd/system/wsgsbd.service; enabled; vendor preset: enabled) Active: active (running) since Wed 2021-12-29 09:40:42 EST; 1min 17s ago Process: 985142 ExecReload=/bin/kill -HUP $MAINPID (code=exited, status=0/SUCCESS) Main PID: 984980 (wsgsbd) Tasks: 9 (limit: 19207) Memory: 5.0M CGroup: /system.slice/wsgsbd.service `-984980 /opt/websafety/bin/wsgsbd Dec 29 09:40:42 P4WProxy wsgsbd[984980]: 2021/12/29 09:40:42 New application object is constructed successfully. Dec 29 09:40:57 P4WProxy systemd[1]: Reloading Web Safety Google Safe Browsing Daemon. Dec 29 09:40:57 P4WProxy systemd[1]: Reloaded Web Safety Google Safe Browsing Daemon. Dec 29 09:40:57 P4WProxy wsgsbd[984980]: 2021/12/29 09:40:57 Got signal to reload configuration, reloading the application... Dec 29 09:40:57 P4WProxy wsgsbd[984980]: 2021/12/29 09:40:57 Reloading application object configuration... Dec 29 09:40:57 P4WProxy wsgsbd[984980]: 2021/12/29 09:40:57 Config object is &{APIKey: DaemonPort:18890 Verbose:false CheckMalware:true CheckSocial:true CheckUnwantedSoft:false CacheClean:60} Dec 29 09:40:57 P4WProxy wsgsbd[984980]: 2021/12/29 09:40:57 New configuration was read successfully, proceeding to reload... Dec 29 09:40:57 P4WProxy wsgsbd[984980]: 2021/12/29 09:40:57 Safe Browser reloading is not supported. Please do full restart. Dec 29 09:40:57 P4WProxy wsgsbd[984980]: 2021/12/29 09:40:57 Application object successfully reloaded configuration. Dec 29 09:40:57 P4WProxy wsgsbd[984980]: 2021/12/29 09:40:57 Configuration reload signal handled successfully. reloading Web Safety Google Safe Browsing daemon... * wsytgd.service - Web Safety YouTube Guard Daemon Loaded: loaded (/etc/systemd/system/wsytgd.service; enabled; vendor preset: enabled) Active: active (running) since Wed 2021-12-29 09:40:42 EST; 1min 16s ago Process: 985145 ExecReload=/bin/kill -HUP $MAINPID (code=exited, status=0/SUCCESS) Main PID: 984993 (wsytgd) Tasks: 9 (limit: 19207) Memory: 3.1M CGroup: /system.slice/wsytgd.service `-984993 /opt/websafety/bin/wsytgd

Rafael Akchurin

unread,
Dec 29, 2021, 9:52:27 AM12/29/21
to web-s...@googlegroups.com
The dashboard is showing any services as errored?

Best regards,
Rafael

On 29 Dec 2021, at 17:46, Daryl W <drcbw...@gmail.com> wrote:


This just started happenig and I am not sure what to do about it. A "Restart" also throws errors.

Exit code - 6
Exception - Cannot restart/reload daemons, exit code 6, stdout * wsgsbd.service - Web Safety Google Safe Browsing Daemon Loaded: loaded (/etc/systemd/system/wsgsbd.service; enabled; vendor preset: enabled) Active: active (running) since Wed 2021-12-29 09:40:42 EST; 1min 17s ago Process: 985142 ExecReload=/bin/kill -HUP $MAINPID (code=exited, status=0/SUCCESS) Main PID: 984980 (wsgsbd) Tasks: 9 (limit: 19207) Memory: 5.0M CGroup: /system.slice/wsgsbd.service `-984980 /opt/websafety/bin/wsgsbd Dec 29 09:40:42 P4WProxy wsgsbd[984980]: 2021/12/29 09:40:42 New application object is constructed successfully. Dec 29 09:40:57 P4WProxy systemd[1]: Reloading Web Safety Google Safe Browsing Daemon. Dec 29 09:40:57 P4WProxy systemd[1]: Reloaded Web Safety Google Safe Browsing Daemon. Dec 29 09:40:57 P4WProxy wsgsbd[984980]: 2021/12/29 09:40:57 Got signal to reload configuration, reloading the application... Dec 29 09:40:57 P4WProxy wsgsbd[984980]: 2021/12/29 09:40:57 Reloading application object configuration... Dec 29 09:40:57 P4WProxy wsgsbd[984980]: 2021/12/29 09:40:57 Config object is &{APIKey: DaemonPort:18890 Verbose:false CheckMalware:true CheckSocial:true CheckUnwantedSoft:false CacheClean:60} Dec 29 09:40:57 P4WProxy wsgsbd[984980]: 2021/12/29 09:40:57 New configuration was read successfully, proceeding to reload... Dec 29 09:40:57 P4WProxy wsgsbd[984980]: 2021/12/29 09:40:57 Safe Browser reloading is not supported. Please do full restart. Dec 29 09:40:57 P4WProxy wsgsbd[984980]: 2021/12/29 09:40:57 Application object successfully reloaded configuration. Dec 29 09:40:57 P4WProxy wsgsbd[984980]: 2021/12/29 09:40:57 Configuration reload signal handled successfully. reloading Web Safety Google Safe Browsing daemon... * wsytgd.service - Web Safety YouTube Guard Daemon Loaded: loaded (/etc/systemd/system/wsytgd.service; enabled; vendor preset: enabled) Active: active (running) since Wed 2021-12-29 09:40:42 EST; 1min 16s ago Process: 985145 ExecReload=/bin/kill -HUP $MAINPID (code=exited, status=0/SUCCESS) Main PID: 984993 (wsytgd) Tasks: 9 (limit: 19207) Memory: 3.1M CGroup: /system.slice/wsytgd.service `-984993 /opt/websafety/bin/wsytgd

--
You received this message because you are subscribed to the Google Groups "Diladele Web Safety" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web-safety+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web-safety/7fd7963b-d591-4b8e-8d07-3bf920ad678fn%40googlegroups.com.

Daryl W

unread,
Dec 29, 2021, 10:16:58 AM12/29/21
to Diladele Web Safety
Thanks for the quick reply. As far as I can tell everything looks fine on the dashboard.
Dashboard.png

Rafael Akchurin

unread,
Dec 29, 2021, 1:04:21 PM12/29/21
to web-s...@googlegroups.com

The /opt/websafety/bin/reload.sh returns 6 when it fails to reload squid and then it also fails to restart it.

Please look at the UI/Squid/General/Verification tab – in the output there might be a notion of error of some kind – like “bungled acl” or some other.

 

If it is indeed so – we will try to understand what exactly fails upon restart.

 

Best regards,

Raf

Daryl W

unread,
Dec 29, 2021, 1:08:17 PM12/29/21
to Diladele Web Safety
Hmmm... Maybe this?

WARNING: Cannot write log file: /var/log/squid/cache.log /var/log/squid/cache.log: Permission denied messages will be sent to 'stderr'.

Rafael Akchurin

unread,
Dec 29, 2021, 1:09:17 PM12/29/21
to web-s...@googlegroups.com

No this is expected when doing the verification of the config

Daryl W

unread,
Dec 29, 2021, 1:33:01 PM12/29/21
to Diladele Web Safety
How about this?

2021/12/29 13:28:00| Processing: sslproxy_foreign_intermediate_certs /opt/websafety/etc/squid/foreign_intermediate_certs.pem 2021/12/29 13:28:00| Processing: acl ssl_error_domains dstdomain "/opt/websafety/etc/squid/ssl/error/domains.conf" 2021/12/29 13:28:00| Warning: empty ACL: acl ssl_error_domains dstdomain "/opt/websafety/etc/squid/ssl/error/domains.conf" 2021/12/29 13:28:00| Processing: acl ssl_error_ips dst "/opt/websafety/etc/squid/ssl/error/ips.conf" 2021/12/29 13:28:00| Warning: empty ACL: acl ssl_error_ips dst "/opt/websafety/etc/squid/ssl/error/ips.conf" 2021/12/29 13:28:00| Processing: acl ssl_error_ips dst "/opt/websafety/etc/squid/ssl/error/subnets.conf" 2021/12/29 13:28:00| Processing: sslproxy_cert_error allow ssl_error_domains 2021/12/29 13:28:00| Processing: sslproxy_cert_error allow ssl_error_ips

Rafael Akchurin

unread,
Dec 29, 2021, 1:40:44 PM12/29/21
to web-s...@googlegroups.com

Sorry this is not the needed too.

If you do not mind you can send the whole output to me at sup...@diladele.com to take a look

Reply all
Reply to author
Forward
0 new messages