I have a multihomed host (named grid) on which gt4.0.5 is installed. The
host certificate is set to the name
of the interface (m248) which has a VPN connection to other systems with
gt4.0.5. This name
is not the hostname of the server (grid).


The host certificate was generated using the name of the interface through
which I want ALL grid traffic
to go through. In $GLOBUS_HOSTNAME/etc/globus_wsrf_core/server-config.wsdd I
set
logicalHost to the ip address of the desired interface.

globus-url-copy has no problem
[EMAIL PROTECTED] ~ $ globus-url-copy gsiftp://m248.gc.cuny.edu/etc/group
file:///tmp/globus.test.copy


However, globusrun-ws is using the name that I overrode with the logicalHost
setting.

[EMAIL PROTECTED] ~ $ globusrun-ws   -submit -s -c /bin/date
Delegating user credentials...Done.
Submitting job...Done.
Job ID: uuid:011329da-6491-11dc-aa0c-0002b323da69
Termination time: 09/17/2007 20:11 GMT
Current job state: Active
Current job state: CleanUp-Hold
globusrun-ws: ignoring error while streaming
gsiftp://grid.gc.cuny.edu:2811/home/m248/globus/011329da-
6491-11dc-aa0c-0002b323da69.0.stdout:
globus_ftp_control: gss_init_sec_context failed
GSS Major Status: Unexpected Gatekeeper or Service Name
globus_gsi_gssapi: Authorization denied: The name of the remote host (
m248.gc.cuny.edu), and the expected name for the remote host (
grid.gc.cuny.edu) do not match. This happens when the name in the host
certificate does not match the information obtained from DNS and is often a
DNS configuration problem.
globusrun-ws: ignoring error while streaming
gsiftp://grid.gc.cuny.edu:2811/home/m248/globus/011329da-
6491-11dc-aa0c-0002b323da69.0.stderr:
globus_ftp_control: gss_init_sec_context failed
GSS Major Status: Unexpected Gatekeeper or Service Name
globus_gsi_gssapi: Authorization denied: The name of the remote host (
m248.gc.cuny.edu), and the expected name for the remote host (
grid.gc.cuny.edu) do not match. This happens when the name in the host
certificate does not match the information obtained from DNS and is often a
DNS configuration problem.
Current job state: CleanUp
Current job state: Failed
Destroying job...Done.
Cleaning up any delegated credentials...Done.
globusrun-ws: Job failed: Staging error for RSL element fileCleanUp.
[EMAIL PROTECTED] ~ $

The error with RFT seems to be related (if you turn on -dbg with
globusrun-ws, you find that they generate the same relation
request error)

[EMAIL PROTECTED] ~ $ rft -h m248.gc.cuny.edu -f /tmp/rft.xfr
Number of transfers in this request: 1
Exception in thread "main" Error during startup processing. Caused by
AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode:
 faultString: java.rmi.RemoteException: Unable to create RFT resource;
nested exception is:
        org.globus.transfer.reliable.service.database.RftDBException: Error
inserting records into database [Caused by: ERROR:  permission denied for
relation request
]
 faultActor:
 faultNode:
 faultDetail:
        {http://xml.apache.org/axis/}stackTrace:java.rmi.RemoteException:
Unable to create RFT resource; nested exception is:
        org.globus.transfer.reliable.service.database.RftDBException: Error
inserting records into database [Caused by: ERROR:  permission denied for
relation request
]
        at
org.globus.transfer.reliable.service.factory.ReliableFileTransferFactoryService.createReliableFileTransfer
(ReliableFileTransferFactoryService.java:244)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.axis.providers.java.RPCProvider.invokeMethod(
RPCProvider.java:384)
        at org.globus.axis.providers.RPCProvider.invokeMethodSub(
RPCProvider.java:107)
        at org.globus.axis.providers.PrivilegedInvokeMethodAction.run(
PrivilegedInvokeMethodAction.java:42)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:396)
        at org.globus.gsi.jaas.GlobusSubject.runAs(GlobusSubject.java:55)
        at org.globus.gsi.jaas.JaasSubject.doAs(JaasSubject.java:90)
        at org.globus.axis.providers.RPCProvider.invokeMethod(
RPCProvider.java:97)
        at org.apache.axis.providers.java.RPCProvider.processMessage(
RPCProvider.java:281)
        at org.apache.axis.providers.java.JavaProvider.invoke(
JavaProvider.java:319)
        at org.apache.axis.strategies.InvocationStrategy.visit(
InvocationStrategy.java:32)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
        at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java
:450)
        at org.apache.axis.server.AxisServer.invoke(AxisServer.java:285)
        at org.globus.wsrf.container.ServiceThread.doPost(ServiceThread.java
:664)
        at org.globus.wsrf.container.ServiceThread.process(
ServiceThread.java:382)
        at org.globus.wsrf.container.GSIServiceThread.process(
GSIServiceThread.java:147)
        at org.globus.wsrf.container.ServiceThread.run(ServiceThread.java
:291)
Caused by: org.globus.transfer.reliable.service.database.RftDBException:
Error inserting records into database [Caused by: ERROR:  permission denied
for relation request
]
        at
org.globus.transfer.reliable.service.database.ReliableFileTransferDbAdapter.storeTransferRequest
(ReliableFileTransferDbAdapter.java:215)
        at
org.globus.transfer.reliable.service.ReliableFileTransferResource.&lt
;init>(ReliableFileTransferResource.java:193)
        at
org.globus.transfer.reliable.service.ReliableFileTransferHome.create(
ReliableFileTransferHome.java:120)
        at
org.globus.transfer.reliable.service.factory.ReliableFileTransferFactoryService.createReliableFileTransfer
(ReliableFileTransferFactoryService.java:234)
        ... 23 more

        {http://xml.apache.org/axis/}hostname:grid.gc.cuny.edu

java.rmi.RemoteException: Unable to create RFT resource; nested exception
is:
        org.globus.transfer.reliable.service.database.RftDBException: Error
inserting records into database [Caused by: ERROR:  permission denied for
relation request
]
        at org.apache.axis.message.SOAPFaultBuilder.createFault(
SOAPFaultBuilder.java:221)
        at org.apache.axis.message.SOAPFaultBuilder.endElement(
SOAPFaultBuilder.java:128)
        at org.apache.axis.encoding.DeserializationContext.endElement(
DeserializationContext.java:1087)
        at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
Source)
        at 
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
        at org.apache.axis.encoding.DeserializationContext.parse(
DeserializationContext.java:227)
        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:645)
        at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
        at
org.apache.axis.message.addressing.handler.AddressingHandler.processClientResponse
(AddressingHandler.java:305)
        at
org.apache.axis.message.addressing.handler.AddressingHandler.invoke(
AddressingHandler.java:110)
        at org.apache.axis.strategies.InvocationStrategy.visit(
InvocationStrategy.java:32)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:190)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2727)
        at org.apache.axis.client.Call.invoke(Call.java:2710)
        at org.apache.axis.client.Call.invoke(Call.java:2386)
        at org.apache.axis.client.Call.invoke(Call.java:2309)
        at org.apache.axis.client.Call.invoke(Call.java:1766)
        at
org.globus.rft.generated.bindings.ReliableFileTransferFactoryPortTypeSOAPBindingStub.createReliableFileTransfer
(ReliableFileTransferFactoryPortTypeSOAPBindingStub.java:874)
        at org.globus.transfer.reliable.client.BaseRFTClient.createRFT(
BaseRFTClient.java:211)
        at
org.globus.transfer.reliable.client.ReliableFileTransferClient.main(
ReliableFileTransferClient.java:178)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.globus.bootstrap.BootstrapBase.launch(BootstrapBase.java:95)
        at org.globus.bootstrap.Bootstrap.main(Bootstrap.java:37)
[EMAIL PROTECTED] ~ $

Reply via email to