What happens for "pglcmd reload" on console?
Printable View
What happens for "pglcmd reload" on console?
The gui shows it as disabled.Code:
sudo pglcmd reload
* Reloading PeerGuardian Linux pgld [ OK ]
Maybe the gui isn't getting the message that it has reloaded and thinks it isn't running when it is?
"reload" is a no-op if pgl wasn't running before. So you have to first start it, and then "reload".
pgl-gui checks periodically if pgld is running.
Yeah, pgl was running already before pressing reload.
"Reload" > terminal shows OK, GUI shows disabled
After clicking on Reload in the gui:
Code:sudo pglcmd status
<snip>
* pgld is not running
* pglcmd.wd is running
PID: 21217 CMD: /bin/sh /usr/sbin/pglcmd.wd
and after "pglcmd reload"?
Code:gavin@kubuntu:~$ sudo pglcmd reload
* Reloading PeerGuardian Linux pgld [ OK ]
gavin@kubuntu:~$ sudo pglcmd status
Current IPv4 iptables rules (this may take a while):
Chain INPUT (policy ACCEPT 1 packets, 105 bytes)
pkts bytes target prot opt in out source destination
0 0 pgl_in all -- * * 0.0.0.0/0 0.0.0.0/0 state NEW mark match !0x14
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 pgl_fwd all -- * * 0.0.0.0/0 0.0.0.0/0 state NEW mark match !0x14
Chain OUTPUT (policy ACCEPT 1 packets, 52 bytes)
pkts bytes target prot opt in out source destination
0 0 pgl_out all -- * * 0.0.0.0/0 0.0.0.0/0 state NEW mark match !0x14
Chain pgl_fwd (1 references)
pkts bytes target prot opt in out source destination
0 0 RETURN all -- * * 192.168.2.0/24 192.168.2.0/24
0 0 RETURN all -- * * 0.0.0.0/0 192.168.2.1
0 0 DROP all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0xa
0 0 NFQUEUE all -- * * 0.0.0.0/0 0.0.0.0/0 NFQUEUE num 92
Chain pgl_in (1 references)
pkts bytes target prot opt in out source destination
0 0 RETURN all -- * * 192.168.2.0/24 0.0.0.0/0
0 0 RETURN all -- lo * 0.0.0.0/0 0.0.0.0/0
0 0 DROP all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0xa
0 0 NFQUEUE all -- * * 0.0.0.0/0 0.0.0.0/0 NFQUEUE num 92
Chain pgl_out (1 references)
pkts bytes target prot opt in out source destination
0 0 RETURN all -- * * 0.0.0.0/0 192.168.2.0/24
0 0 RETURN all -- * * 0.0.0.0/0 192.168.2.1
0 0 RETURN all -- * lo 0.0.0.0/0 0.0.0.0/0
0 0 REJECT all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0xa reject-with icmp-port-unreachable
0 0 RETURN all -- * * 0.0.0.0/0 224.0.0.251
0 0 RETURN all -- * * 0.0.0.0/0 239.255.255.250
0 0 RETURN all -- * * 0.0.0.0/0 224.0.0.22
0 0 RETURN tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:6667
0 0 RETURN tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:443
0 0 RETURN tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:80
0 0 NFQUEUE all -- * * 0.0.0.0/0 0.0.0.0/0 NFQUEUE num 92
Please check if the above printed iptables rules are correct!
* pgld is not running
* pglcmd.wd is running
PID: 22814 CMD: /bin/sh /usr/sbin/pglcmd.wd
gavin@kubuntu:~$ sudo pglcmd start
* Starting PeerGuardian Linux pgld [fail]
gavin@kubuntu:~$ sudo pglcmd status
Current IPv4 iptables rules (this may take a while):
Chain INPUT (policy ACCEPT 8 packets, 5717 bytes)
pkts bytes target prot opt in out source destination
1 64 pgl_in all -- * * 0.0.0.0/0 0.0.0.0/0 state NEW mark match !0x14
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 pgl_fwd all -- * * 0.0.0.0/0 0.0.0.0/0 state NEW mark match !0x14
Chain OUTPUT (policy ACCEPT 9 packets, 2572 bytes)
pkts bytes target prot opt in out source destination
1 64 pgl_out all -- * * 0.0.0.0/0 0.0.0.0/0 state NEW mark match !0x14
Chain pgl_fwd (1 references)
pkts bytes target prot opt in out source destination
0 0 RETURN all -- * * 192.168.2.0/24 192.168.2.0/24
0 0 RETURN all -- * * 0.0.0.0/0 192.168.2.1
0 0 DROP all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0xa
0 0 NFQUEUE all -- * * 0.0.0.0/0 0.0.0.0/0 NFQUEUE num 92
Chain pgl_in (1 references)
pkts bytes target prot opt in out source destination
1 64 RETURN all -- * * 192.168.2.0/24 0.0.0.0/0
0 0 RETURN all -- lo * 0.0.0.0/0 0.0.0.0/0
0 0 DROP all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0xa
0 0 NFQUEUE all -- * * 0.0.0.0/0 0.0.0.0/0 NFQUEUE num 92
Chain pgl_out (1 references)
pkts bytes target prot opt in out source destination
0 0 RETURN all -- * * 0.0.0.0/0 192.168.2.0/24
0 0 RETURN all -- * * 0.0.0.0/0 192.168.2.1
0 0 RETURN all -- * lo 0.0.0.0/0 0.0.0.0/0
0 0 REJECT all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0xa reject-with icmp-port-unreachable
1 64 RETURN all -- * * 0.0.0.0/0 224.0.0.251
0 0 RETURN all -- * * 0.0.0.0/0 239.255.255.250
0 0 RETURN all -- * * 0.0.0.0/0 224.0.0.22
0 0 RETURN tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:6667
0 0 RETURN tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:443
0 0 RETURN tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:80
0 0 NFQUEUE all -- * * 0.0.0.0/0 0.0.0.0/0 NFQUEUE num 92
Please check if the above printed iptables rules are correct!
* pgld is not running
* pglcmd.wd is running
PID: 22814 CMD: /bin/sh /usr/sbin/pglcmd.wd
gavin@kubuntu:~$ sudo pglcmd restart
* Restarting PeerGuardian Linux pgld [ OK ]
gavin@kubuntu:~$ sudo pglcmd status
Current IPv4 iptables rules (this may take a while):
Chain INPUT (policy ACCEPT 6 packets, 1009 bytes)
pkts bytes target prot opt in out source destination
0 0 pgl_in all -- * * 0.0.0.0/0 0.0.0.0/0 state NEW mark match !0x14
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 pgl_fwd all -- * * 0.0.0.0/0 0.0.0.0/0 state NEW mark match !0x14
Chain OUTPUT (policy ACCEPT 8 packets, 2602 bytes)
pkts bytes target prot opt in out source destination
0 0 pgl_out all -- * * 0.0.0.0/0 0.0.0.0/0 state NEW mark match !0x14
Chain pgl_fwd (1 references)
pkts bytes target prot opt in out source destination
0 0 RETURN all -- * * 192.168.2.0/24 192.168.2.0/24
0 0 RETURN all -- * * 0.0.0.0/0 192.168.2.1
0 0 DROP all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0xa
0 0 NFQUEUE all -- * * 0.0.0.0/0 0.0.0.0/0 NFQUEUE num 92
Chain pgl_in (1 references)
pkts bytes target prot opt in out source destination
0 0 RETURN all -- * * 192.168.2.0/24 0.0.0.0/0
0 0 RETURN all -- lo * 0.0.0.0/0 0.0.0.0/0
0 0 DROP all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0xa
0 0 NFQUEUE all -- * * 0.0.0.0/0 0.0.0.0/0 NFQUEUE num 92
Chain pgl_out (1 references)
pkts bytes target prot opt in out source destination
0 0 RETURN all -- * * 0.0.0.0/0 192.168.2.0/24
0 0 RETURN all -- * * 0.0.0.0/0 192.168.2.1
0 0 RETURN all -- * lo 0.0.0.0/0 0.0.0.0/0
0 0 REJECT all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0xa reject-with icmp-port-unreachable
0 0 RETURN all -- * * 0.0.0.0/0 224.0.0.251
0 0 RETURN all -- * * 0.0.0.0/0 239.255.255.250
0 0 RETURN all -- * * 0.0.0.0/0 224.0.0.22
0 0 RETURN tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:6667
0 0 RETURN tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:443
0 0 RETURN tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:80
0 0 NFQUEUE all -- * * 0.0.0.0/0 0.0.0.0/0 NFQUEUE num 92
Please check if the above printed iptables rules are correct!
* pgld is running
PID: 23132 CMD: /usr/sbin/pgld -s -l /var/log/pgl/pgld.log -d -p /var/run/pgld.pid -q 92 -r 10 -a 20 /var/lib/pgl/master_blocklist.p2p
* pglcmd.wd is running
PID: 23141 CMD: /bin/sh /usr/sbin/pglcmd.wd
gavin@kubuntu:~$
Hey jr I recently moved over to pgl
(...)
I have no idea what's going on but everything seems to be OK during the installation until a "configure pglcmd" menu came up and I pressed OK without changing anything and then the installation seem to abort halfway or whatever
And whatever is installed is not working (tray icon remains gray even when I press start/restart/reload/update
.
Now I made a restart and get no error but a password question