[AG-TECH] AG2 on FreeBSD
Andrew Howard
andrew.howard at aarnet.edu.au
Mon Nov 10 19:18:56 CST 2003
I'm trying to get the AG2 code to run on FreeBSD 4.9
using the code version from the CVS repository.
I modified Platform.py to add a platform check for freebsd4
and added FreeBSD to the valid OS types in the GetXXXConfigXXX
routines.
ProcessManager.py was modified to include FreeBSD importing
ProcessManagerUnix.
When I start VenueClient.py with --personalNode it displays a
dialog box to enter the passphrase and then displays a
progress bar but seems to fail when starting AGNodeService
and AGServiceManager from PersonalNodePipes.py
I noticed that if I move the existing certRepo directory
out of the way I can get the VenueClient window
to display by Canceling the Certificate dialog boxes.
I used this method to import the Globus certificates
initially.
I'm not sure if the problem is the underlying Globus
port or something in one of the higher level toolkits.
I suspect that this may be related to a difference in
pipe handling between Linux and FreeBSD.
Anyone got any ideas ?
Regards
Andrew
---------------------------------------------------------------------
Error log attached:
% python VenueClient.py --personalNode -d
11/11/03 11:14:01 DEBUG Creating thread 0
11/11/03 11:14:01 DEBUG Starting thread 0
11/11/03 11:14:01 DEBUG Worker 0 starting
11/11/03 11:14:01 DEBUG Waiting thread 0
11/11/03 11:14:01 DEBUG Done creating workers
11/11/03 11:14:01 DEBUG Reading persisted data from:
/home/howard/.AccessGrid/personalDataStore/DataStore.dat
11/11/03 11:14:01 DEBUG userConfigDir: /home/howard/.AccessGrid
11/11/03 11:14:01 DEBUG Opened repository /home/howard/.AccessGrid/certRepo
11/11/03 11:14:02 DEBUG Using default identity
/O=Grid/O=Globus/OU=aarnet.edu.au/CN=Andrew Howard
11/11/03 11:14:02 DEBUG Initializing environment with proxy cert for
/O=Grid/O=Globus/OU=aarnet.edu.au/CN=Andrew Howard
11/11/03 11:14:05 DEBUG Running command:
'"/usr/home/howard/ag2/globus/bin/grid-proxy-init" -debug -pwstdin -bits
1024 -hours 8 -cert
"/home/howard/.AccessGrid/certRepo/certificates/d4009a51112b464a6bf9b9fe206a044a/c138c0011b5125f5d933d02ad48e138b/cert.pem"
-key
"/home/howard/.AccessGrid/certRepo/privatekeys/fe4a734ad98f660ae8e106dba414dda8.pem"
-certdir "/home/howard/.AccessGrid/trustedCACerts" -out "/tmp/x509up_u1001"'
11/11/03 11:14:05 DEBUG Proxy returns: Files being used:
11/11/03 11:14:05 DEBUG Proxy returns: cert_file: none
11/11/03 11:14:05 DEBUG Proxy returns: cert_dir :
/home/howard/.AccessGrid/trustedCACerts
11/11/03 11:14:05 DEBUG Proxy returns: proxy : /tmp/x509up_u1001
11/11/03 11:14:05 DEBUG Proxy returns: user_cert:
/home/howard/.AccessGrid/certRepo/certificates/d4009a51112b464a6bf9b9fe206a044a/c138c0011b5125f5d933d02ad48e138b/cert.pem
11/11/03 11:14:05 DEBUG Proxy returns: user_key :
/home/howard/.AccessGrid/certRepo/privatekeys/fe4a734ad98f660ae8e106dba414dda8.pem
11/11/03 11:14:05 DEBUG Proxy returns: Your identity:
/O=Grid/O=Globus/OU=aarnet.edu.au/CN=Andrew Howard
11/11/03 11:14:05 DEBUG Proxy returns: Output to /tmp/x509up_u1001
11/11/03 11:14:06 DEBUG Proxy returns: Creating proxy ............++++++
11/11/03 11:14:08 DEBUG Proxy returns:
..................................................................++++++
11/11/03 11:14:08 DEBUG Proxy returns: Done
11/11/03 11:14:08 DEBUG Proxy returns: Your proxy is valid until Tue Nov
11 09:14:05 2003
Proxy created
11/11/03 11:14:08 DEBUG Using default identity
/O=Grid/O=Globus/OU=aarnet.edu.au/CN=Andrew Howard
11/11/03 11:14:08 DEBUG Initializing environment with proxy cert for
/O=Grid/O=Globus/OU=aarnet.edu.au/CN=Andrew Howard
11/11/03 11:14:08 DEBUG Configuring for user proxy issued from
/O=Grid/O=Globus/OU=aarnet.edu.au/CN=Andrew Howard
11/11/03 11:14:08 DEBUG Proxy /tmp/x509up_u1001 will expire 11/11/03
08:14:08
11/11/03 11:14:08 DEBUG bin.VenueClient::OnInit: ispersonal=1
svc_mgr_init_pipe: r=14 w=15
svc_mgr_term_pipe: r=16 w=17
svc_mgr_node_svc_synch_pipe: r=18 w=19
node_svc_init_pipe: r=20 w=21
node_svc_term_pipe: r=22 w=23
11/11/03 11:14:08 DEBUG Start service manager with
['/usr/local/bin/python',
'/usr/home/howard/src/accessgrid/ag2/AccessGrid/bin/AGServiceManager.py',
'--pnode', '15:19:16:14,15,16,17,18,19,20,21,22,23', '--debug']
info is 2763
11/11/03 11:14:08 DEBUG Start node service with
['/usr/local/bin/python',
'/usr/home/howard/src/accessgrid/ag2/AccessGrid/bin/AGNodeService.py',
'--pnode', '21:18:22:14,15,16,17,18,19,20,21,22,23', '--debug']
info is 2764
11/11/03 11:14:08 DEBUG Closing unused pipe ends
11/11/03 11:14:08 DEBUG waiting on read on 14
Traceback (most recent call last):
File
"/usr/home/howard/src/accessgrid/ag2/AccessGrid/bin/AGNodeService.py",
line 111, in ?
serviceManagerURL = personalNode.RunPhase1(pnode)
File
"/usr/home/howard/src/accessgrid/ag2/AccessGrid/AccessGrid/PersonalNodePipes.py",
line 381, in RunPhase1
os.close(fd)
OSError: [Errno 9] Bad file descriptor
Traceback (most recent call last):
File
"/usr/home/howard/src/accessgrid/ag2/AccessGrid/bin/AGServiceManager.py",
line 111, in ?
personalNode.Run(pnode)
File
"/usr/home/howard/src/accessgrid/ag2/AccessGrid/AccessGrid/PersonalNodePipes.py",
line 451, in Run
os.close(fd)
OSError: [Errno 9] Bad file descriptor
--
Andrew Howard - Network Engineer | AARNet Pty Ltd
Phone: +61 2 6222 3533 | Australian
Mobile: 04 2200 7249 | Academic and Research
Email: Andrew.Howard at aarnet.edu.au | Network
More information about the ag-tech
mailing list