Update connection proxy only listening on interface 127.0.0.1
I have installed S10 6/06 on an e450 and have added the patchserver patch/packages.
Configured the patchserver and registered it with sun update connection.
I can get the e450 to download and cache patches if I set the update proxy URL to
"http://localhost:3816/solaris." and run updatemanager to download and apply patches.
BUT If I change the URL to "http://e450-1:3816/solaris" I get "! Error:Unable to download
document: "collection/default" Cannot connect to retrieve collection/default: Bad Gateway"
e450-1 is this hosts name. I get the same result if I use the fully qualified hostname.
Of course I get the same error when I attempt to patch a local client using the local proxy.
This suggests that proxy server is only binding to the 127.0.0.1 interface and not the other
network interfaces. Any suggestions where to look for errors etc / how to correct the configuration of the server?
e450-1> smpatch get
patchpro.backout.directory"" ""
patchpro.download.directory/var/sadm/spool /var/sadm/spool
patchpro.install.types -rebootafter:reconfigafter:standard
patchpro.patch.sourcehttp://localhost:3816/solaris/ https://getupdates1.sun.com/solaris/
patchpro.patchset-current
patchpro.proxy.host webgate.canterbury.ac.nz""
patchpro.proxy.passwd********
patchpro.proxy.port 31288080
patchpro.proxy.user agw50""
root@e450-1> patchsvr setup -l
Patch source URL: https://getupdates.sun.com/solaris/
Cache Location: /var/sadm/spool/patchsvr
Web proxy host name: webgate.canterbury.ac.nz
Web proxy port number: 3128
Web proxy user: *****
If
# 1
check what interfaces are up and their network settings (ip, netmasks, broadcast address) by issueing:
# ifconfig -a
check network settings of network interfaces:
/etc/hostname.interfaceNameOfYourServer
it should have the IP address or hostname
/etc/inet/ipnodes
/etc/inet/hosts
For more details:
http://docs.sun.com/app/docs/doc/816-4554/6maoq01nf?a=view
shen at 2007-7-7 0:41:53 >

# 2
No all interfaces are configured correctly - they work for all other applications.
For the record
/etc/inet/
root@e450-1> ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 132.181.20.12 netmask ffffff00 broadcast 132.181.20.255
ether 8:0:20:87:b2:41
qfe0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 192.168.23.2 netmask ffffffe0 broadcast 192.168.23.31
ether 8:0:20:93:54:18
/etc/inet/
root@e450-1> more /etc/hostname.*
::::::::::::::
/etc/hostname.hme0
::::::::::::::
e450-1
::::::::::::::
/etc/hostname.qfe0
::::::::::::::
e450-1e
/etc/inet/
root@e450-1> m ipnodes
#
# Internet host table
#
::1localhost
127.0.0.1localhost
132.181.20.12e450-1 loghost
192.168.23.2e450-1e
/etc/inet/
root@e450-1> m hosts
#
# Internet host table
#
127.0.0.1localhost
132.181.20.12e450-1 loghost
# 192.168.23.0/27
# netmask 255.255.255.224|ffffffe0
#192.168.23.0-31
#
192.168.23.1ue2s-0b #qfe0
192.168.23.2e450-1e
192.168.23.3e220-0a
192.168.23.5daktari-e
192.168.23.6v440-0-e
192.168.23.9v100-0e
192.168.23.10netra-0a
192.168.23.12e450-0f
192.168.23.13intel460
192.168.23.14netgear7224
192.168.23.15blackbox
192.168.23.17v210-0-e
192.168.23.18se3310
#
The only app that is unaware of the hme0/qfe0 interfaces is the http patchsvr.
Allen