Opened 12 years ago

Closed 12 years ago

#198 closed defect (fixed)

pen_wrapper not starting

Reported by: huub Owned by: nobody
Priority: major Milestone: WL-9.0-RELEASE
Keywords: Cc:
Resource needed to fix:

Description

Ik zie op de nodes de terugkerende boodschappen:
Jun 28 16:16:11 HybridSOM2 pen_wrapper: INFO: New listing to be configured '172.16.18.18:3128 172.17.16.1:3128 172.17.136.1:3128 172.18.128.1:3128 172.17.21.1:3128 172.23.25.1:3128 172.22.0.1:3128 172.20.128.1:3128 172.17.10.1:3128 172.17.9.1:3128 172.17.34.1:3128 172.17.144.1:3128 172.17.14.1:3128 172.17.38.1:3128 172.17.22.1:3128'
Jun 28 16:16:12 HybridSOM2 pen_wrapper: Not starting: alias 172.31.255.1:3128 not configured!

Change History (4)

comment:1 by huub, 12 years ago

Het /usr/local/bin/pen_wrapper script checkt:

# Pen should only be started if alias exists

ifconfig | grep -q ${BIND_ADDR}
{

logit "Not starting: alias $BIND_ADDR not configured!"

en ik zie ook:
BIND_ADDR=${1:-172.31.255.1:3128}

terwijl pen wordt opgestart met
PEN_FLAGS="-S 20 -b 30 -p ${PIDFILE} ${BIND_ADDR}:${BIND_PORT}"

terwijl ${BIND_PORT} niet gedefinieerd is.

Hinkt dit script op twee gedachten?

comment:2 by huub, 12 years ago

met
BIND_ADDR=${1:-172.31.255.1}
BIND_PORT="3128"

lijkt het wel te werken?

in reply to:  2 comment:3 by rick, 12 years ago

Replying to huub:

met
BIND_ADDR=${1:-172.31.255.1}
BIND_PORT="3128"

lijkt het wel te werken?

Dat is idd de fix.

comment:4 by huub, 12 years ago

Resolution: fixed
Status: newclosed

Probleem blijkt inderdaad hiermee opgelost (getest op enkele nodes). Nu alleen nog stuk of 70 nodes patchen...

Note: See TracTickets for help on using tickets.