Amanda-Users

Re: HP/UX?

2008-05-15 16:00:52
Subject: Re: HP/UX?
From: Chris Hoogendyk <hoogendyk AT bio.umass DOT edu>
To: "Dustin J. Mitchell" <dustin AT zmanda DOT com>
Date: Thu, 15 May 2008 15:57:12 -0400


Dustin J. Mitchell wrote:
On #amanda, I've been working with Scott Bender, who's trying to build
Amanda-2.6.0 on HP/UX 11.11.  He's gotten all of the prereqs
installed, but is having some trouble with network communication.

We've boiled the problem down to recvfrom(..) not returning an address
for incoming UDP packets.  I built the attached C "server" to
duplicate this; the perl script acts as a client.  Scott runs the C
app on the HP/UX machine, and then runs
 perl client.pl $HPUX_IP
on another box.  Here's what he sees:

(sockaddr_in *)800003ffff7f2fa0 = { 2, 1234, 0.0.0.0 }
Got 2 bytes; return addrlen is 16; sizeof ss is 16
(sockaddr_in *)800003ffff7f2fa0 = { 2, 1234, 0.0.0.0 }

the second one of those *should* contain the IP address of the box on
which client.pl was run, and a randomly assigned port.  That port 1234
still appears implies recvfrom() isn't overwriting the address at all.
 The manpage (http://www.informatik.uni-frankfurt.de/doc/man/hpux/recv.2.html)
doesn't mention anything of the sort.

At this point, I'm pretty much stumped.  Can you help out with any of
 - thoughts on what I'm doing wrong here
 - pointers to an HP/UX forum or mailing list where I could ask this question
 - an HP/UX box I can play around on for a little while


how about comp.sys.hp.hpux? If you haven't got a newsgroup reader set up, you can always just go through google groups. I am not aware of a specific hpux managers list like the sunmanagers list or the macmanagers list. I'm also not aware of any interface to comp.sys.hp.hpux such as the backupcentral interfaces to things like alt.backup.software.

anyway, comp.sys.hp.hpux appears to be modestly active.

don't know if this is any use, but there is also http://www.unixguide.net/unixguide.shtml which gives some comparisons of the differences, but might not be digging deep enough.



---------------

Chris Hoogendyk

-
  O__  ---- Systems Administrator
 c/ /'_ --- Biology & Geology Departments
(*) \(*) -- 140 Morrill Science Center
~~~~~~~~~~ - University of Massachusetts, Amherst
<hoogendyk AT bio.umass DOT edu>

---------------
Erdös 4



<Prev in Thread] Current Thread [Next in Thread>