hmpf. why is my globus toolkit (4.2.1) gridftp not working?

Now it does! Please have a look into the following:

Xinet logs: /var/log/xinetd.log
Xinetd config files: /etc/xinetd.d/gridftp or /etc/xinetd.d/gsiftp

Check your gridmap-file: /etc/grid-security/grid-mapfile for the correct GRID user and local user!

You can log via server_args = -i -d all -l /tmp/gridftp.log and don’t forget to mention some ports: env += GLOBUS_TCP_PORT_RANGE=20000,25000 in your /etc/xinetd.d/gridftp (don’t forget to restart xinedt).

Test with:

gsissh -v -p 2811 localhost

and then be sure to have something like the following in your log /tmp/gridftp.log:


[9408] Thu Oct 8 17:55:56 2009 :: Server started in inetd mode.
[9408] Thu Oct 8 17:55:56 2009 :: New connection from: hmpf.hostname.de:1865
[9408] Thu Oct 8 17:55:56 2009 :: hmpf.hostname.de:1865: [CLIENT]: USER :globus-mapping:
[9408] Thu Oct 8 17:55:56 2009 :: hmpf.hostname.de:1865: [SERVER]: 331 Password required for :globus-mapping:.
[9408] Thu Oct 8 17:55:56 2009 :: hmpf.hostname.de:1865: [CLIENT]: PASS dummy
[9408] Thu Oct 8 17:55:56 2009 :: DN /O=Grid/OU=GlobusTest/OU=simpleCA-hmpf.hostname.de/OU=hmpf.hostname.de/CN=Your Name successfully authorized.
[9408] Thu Oct 8 17:55:56 2009 :: User hmpf0039 successfully authorized.
[9408] Thu Oct 8 17:55:56 2009 :: hmpf.hostname.de:1865: [CLIENT]: PASS dummy
[9408] Thu Oct 8 17:55:56 2009 :: hmpf.hostname.de:1865: [SERVER]: 230 User hmpf0039 logged in.

And not this:

[18330] Thu Oct 8 17:58:35 2009 :: Server started in inetd mode.
[18330] Thu Oct 8 17:58:35 2009 :: New connection from: hmpf.hostname.de:20095
[18330] Thu Oct 8 17:58:35 2009 :: hmpf.hostname.de:20095: [CLIENT]: USER :globus-mapping:
[18330] Thu Oct 8 17:58:35 2009 :: hmpf.hostname.de:20095: [SERVER]: 331 Password required for :globus-mapping:.
[18330] Thu Oct 8 17:58:35 2009 :: hmpf.hostname.de:20095: [CLIENT]: PASS dummy
[18330] Thu Oct 8 17:58:35 2009 :: hmpf.hostname.de:20095: [CLIENT]: PASS dummy
[18330] Thu Oct 8 17:58:35 2009 :: hmpf.hostname.de:20095: [SERVER]: 530-Login incorrect. : globus_gss_assist: Gridmap lookup failure: Could not map /O=Grid/OU=GlobusTest/OU=simpleCA-hmpf.hostname.de/OU=hmpf.hostname.de/CN=Your Name
530-
530 End.
[18330] Thu Oct 8 17:58:35 2009 :: Closed connection from hmpf.hostname.de:
20095

And do not forget to open ports 8211 (gridftp), 2222 (gsissh), and 20000:20500 for outgoing GSIFTP…

Oh my, Teldemokles REALLY was a bright guy!!

PS. Some additional documentation for gridftp-server configuration can be found here: http://www.globus.org/toolkit/docs/4.2/4.2.1/commands/globus-gridftp-server.html

Einen Kommentar schreiben

Du mußt angemeldet sein, um kommentieren zu können.