RE: [Pound Mailing List] poundctl command simply do not work

Joe Gooch <[email protected]>
Newsgroups gmane.comp.web.pound.general
Message-ID <[email protected]>
Try using -1 as the listener.

From your XML output it appears you use global services. (Services not contained within the Listener block itself)

Joe


From: Brad Allison [mailto:[email protected]]
Sent: Tuesday, June 18, 2013 9:37 AM
To: [email protected]
Subject: [Pound Mailing List] poundctl command simply do not work

I'm trying to use the -b option for poundctl to disable a backend.

The command runs with the three fields listener service and backend.  The command appears to work.

But when I list out the -X option it says all backends are enabled... even though I just disabled it.  So the options for poundctl do not work.

Notice how the status for the backend index=1 it still set to "active" after I disabled it.

[root@ ~]# /usr/sbin/poundctl  -c /var/lib/pound/pound.cfg -b 0 0 1

[root@ ~]# /usr/sbin/poundctl  -c /var/lib/pound/pound.cfg -X
<pound>
<listener index="0" protocol="HTTPS" address="0.0.0.0:443<http://0.0.0.0:443>" status="active">
</listener>
<service index="0">
<backend index="0" address="10.0.2.21:443<http://10.0.2.21:443>" avg="0.000" priority="5" alive="yes" status="active" />
<backend index="1" address="10.0.3.22:443<http://10.0.3.22:443>" avg="0.000" priority="5" alive="yes" status="active" />
<session index="0" key="demo.lalala.com<http://demo.lalala.com>" backend="1" />
<session index="1" key="107.11.11.11" backend="1" />
</service>
</pound>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.