Skip to content

Instantly share code, notes, and snippets.

@rptaylor
Created August 28, 2024 19:20
Show Gist options
  • Save rptaylor/5506ec55e2a3f9e9fefb6e8ca5bc2dbb to your computer and use it in GitHub Desktop.
Save rptaylor/5506ec55e2a3f9e9fefb6e8ca5bc2dbb to your computer and use it in GitHub Desktop.
eos whoami with 'sec.protbind * only gsi' (Doesn't work)
[root@eos-mgm-0 /]# eos root://127.0.0.1 whoami
error: MGM root://127.0.0.1 not online/reachable
[root@eos-mgm-0 /]# XRD_LOGLEVEL=Dump eos root://127.0.0.1 whoami
[2024-08-28 18:17:36.809073 +0000][Debug ][Utility ] Initializing xrootd client version: 5.6.9
[2024-08-28 18:17:36.809276 +0000][Warning][Utility ] Unable to process global config file: [ERROR] OS Error: no such file or directory
[2024-08-28 18:17:36.809394 +0000][Debug ][Utility ] Unable to process user config file: [ERROR] OS Error: no such file or directory
[2024-08-28 18:17:36.809567 +0000][Debug ][PlugInMgr ] Initializing plug-in manager...
[2024-08-28 18:17:36.809579 +0000][Debug ][PlugInMgr ] No default plug-in, loading plug-in configs...
[2024-08-28 18:17:36.809586 +0000][Debug ][PlugInMgr ] Processing plug-in definitions in /etc/xrootd/client.plugins.d...
[2024-08-28 18:17:36.809601 +0000][Debug ][PlugInMgr ] Unable to process directory /etc/xrootd/client.plugins.d: [ERROR] OS Error: no such file or directory
[2024-08-28 18:17:36.809683 +0000][Debug ][PlugInMgr ] Processing plug-in definitions in /root/.xrootd/client.plugins.d...
[2024-08-28 18:17:36.809701 +0000][Debug ][PlugInMgr ] Unable to process directory /root/.xrootd/client.plugins.d: [ERROR] OS Error: no such file or directory
[2024-08-28 18:17:36.823420 +0000][Debug ][Utility ] Env: overriding entry: runforkhandler=1 with 1
[2024-08-28 18:17:36.823453 +0000][Debug ][Utility ] Env: overriding entry: requesttimeout=1800 with 900
[2024-08-28 18:17:36.823460 +0000][Debug ][Utility ] Env: overriding entry: streamtimeout=60 with 1200
[2024-08-28 18:17:36.827711 +0000][Dump ][Utility ] URL: root://127.0.0.1
[2024-08-28 18:17:36.827711 +0000][Dump ][Utility ] Protocol: root
[2024-08-28 18:17:36.827711 +0000][Dump ][Utility ] User Name:
[2024-08-28 18:17:36.827711 +0000][Dump ][Utility ] Password:
[2024-08-28 18:17:36.827711 +0000][Dump ][Utility ] Host Name: 127.0.0.1
[2024-08-28 18:17:36.827711 +0000][Dump ][Utility ] Port: 1094
[2024-08-28 18:17:36.827711 +0000][Dump ][Utility ] Path:
[2024-08-28 18:17:36.827768 +0000][Dump ][Utility ] URL: root://127.0.0.1:1094/
[2024-08-28 18:17:36.827768 +0000][Dump ][Utility ] Protocol: root
[2024-08-28 18:17:36.827768 +0000][Dump ][Utility ] User Name:
[2024-08-28 18:17:36.827768 +0000][Dump ][Utility ] Password:
[2024-08-28 18:17:36.827768 +0000][Dump ][Utility ] Host Name: 127.0.0.1
[2024-08-28 18:17:36.827768 +0000][Dump ][Utility ] Port: 1094
[2024-08-28 18:17:36.827768 +0000][Dump ][Utility ] Path:
[2024-08-28 18:17:36.827795 +0000][Dump ][Utility ] URL: root://127.0.0.1:1094/
[2024-08-28 18:17:36.827795 +0000][Dump ][Utility ] Protocol: root
[2024-08-28 18:17:36.827795 +0000][Dump ][Utility ] User Name:
[2024-08-28 18:17:36.827795 +0000][Dump ][Utility ] Password:
[2024-08-28 18:17:36.827795 +0000][Dump ][Utility ] Host Name: 127.0.0.1
[2024-08-28 18:17:36.827795 +0000][Dump ][Utility ] Port: 1094
[2024-08-28 18:17:36.827795 +0000][Dump ][Utility ] Path:
[2024-08-28 18:17:36.827813 +0000][Dump ][Utility ] URL: root://127.0.0.1:1094/
[2024-08-28 18:17:36.827813 +0000][Dump ][Utility ] Protocol: root
[2024-08-28 18:17:36.827813 +0000][Dump ][Utility ] User Name:
[2024-08-28 18:17:36.827813 +0000][Dump ][Utility ] Password:
[2024-08-28 18:17:36.827813 +0000][Dump ][Utility ] Host Name: 127.0.0.1
[2024-08-28 18:17:36.827813 +0000][Dump ][Utility ] Port: 1094
[2024-08-28 18:17:36.827813 +0000][Dump ][Utility ] Path:
[2024-08-28 18:17:36.827861 +0000][Dump ][FileSystem ] [[email protected]:1094] Sending kXR_ping ()
[2024-08-28 18:17:36.827884 +0000][Debug ][Utility ] Env: trying to get a non-existent string entry: pollerpreference
[2024-08-28 18:17:36.827902 +0000][Debug ][Poller ] Available pollers: built-in
[2024-08-28 18:17:36.827907 +0000][Debug ][Poller ] Attempting to create a poller according to preference: built-in
[2024-08-28 18:17:36.827912 +0000][Debug ][Poller ] Creating poller: built-in
[2024-08-28 18:17:36.827925 +0000][Debug ][Poller ] Creating and starting the built-in poller...
[2024-08-28 18:17:36.829097 +0000][Debug ][Poller ] Using 10 poller threads
[2024-08-28 18:17:36.829123 +0000][Debug ][TaskMgr ] Starting the task manager...
[2024-08-28 18:17:36.829178 +0000][Debug ][TaskMgr ] Task manager started
[2024-08-28 18:17:36.829188 +0000][Debug ][JobMgr ] Starting the job manager...
[2024-08-28 18:17:36.829320 +0000][Debug ][JobMgr ] Job manager started, 3 workers
[2024-08-28 18:17:36.829339 +0000][Debug ][TaskMgr ] Registering task: "FileTimer task" to be run at: [2024-08-28 18:17:36 +0000]
[2024-08-28 18:17:36.829347 +0000][Dump ][XRootD ] [127.0.0.1:1094] Sending message kXR_ping ()
[2024-08-28 18:17:36.829401 +0000][Debug ][ExDbgMsg ] [127.0.0.1:1094] MsgHandler created: 0x236c010 (message: kXR_ping () ).
[2024-08-28 18:17:36.829478 +0000][Dump ][Utility ] URL: 127.0.0.1:1094
[2024-08-28 18:17:36.829478 +0000][Dump ][Utility ] Protocol: root
[2024-08-28 18:17:36.829478 +0000][Dump ][Utility ] User Name:
[2024-08-28 18:17:36.829478 +0000][Dump ][Utility ] Password:
[2024-08-28 18:17:36.829478 +0000][Dump ][Utility ] Host Name: 127.0.0.1
[2024-08-28 18:17:36.829478 +0000][Dump ][Utility ] Port: 1094
[2024-08-28 18:17:36.829478 +0000][Dump ][Utility ] Path:
[2024-08-28 18:17:36.829510 +0000][Dump ][Utility ] URL: root://127.0.0.1:1094/
[2024-08-28 18:17:36.829510 +0000][Dump ][Utility ] Protocol: root
[2024-08-28 18:17:36.829510 +0000][Dump ][Utility ] User Name:
[2024-08-28 18:17:36.829510 +0000][Dump ][Utility ] Password:
[2024-08-28 18:17:36.829510 +0000][Dump ][Utility ] Host Name: 127.0.0.1
[2024-08-28 18:17:36.829510 +0000][Dump ][Utility ] Port: 1094
[2024-08-28 18:17:36.829510 +0000][Dump ][Utility ] Path:
[2024-08-28 18:17:36.829532 +0000][Debug ][PostMaster ] Creating new channel to: root://127.0.0.1:1094/
[2024-08-28 18:17:36.829665 +0000][Debug ][PostMaster ] [127.0.0.1:1094] Stream parameters: Network Stack: IPAuto, Connection Window: 120, ConnectionRetry: 5, Stream Error Window: 1800
[2024-08-28 18:17:36.829703 +0000][Debug ][TaskMgr ] Registering task: "TickGeneratorTask for: root://127.0.0.1:1094/" to be run at: [2024-08-28 18:17:51 +0000]
[2024-08-28 18:17:36.829720 +0000][Dump ][PostMaster ] [127.0.0.1:1094] Sending message kXR_ping () (0x2316b20) through substream 0 expecting answer at 0
[2024-08-28 18:17:36.829782 +0000][Debug ][PostMaster ] [127.0.0.1:1094] Found 1 address(es): [::ffff:127.0.0.1]:1094
[2024-08-28 18:17:36.829832 +0000][Debug ][AsyncSock ] [127.0.0.1:1094.0] Attempting connection to [::ffff:127.0.0.1]:1094
[2024-08-28 18:17:36.829902 +0000][Debug ][Poller ] Adding socket 0x2317eb0 to the poller
[2024-08-28 18:17:36.830002 +0000][Debug ][AsyncSock ] [127.0.0.1:1094.0] Async connection call returned
[2024-08-28 18:17:36.830057 +0000][Debug ][XRootDTransport ] [127.0.0.1:1094.0] Sending out the initial hand shake + kXR_protocol
[2024-08-28 18:17:36.832025 +0000][Dump ][AsyncSock ] [127.0.0.1:1094.0] Wrote a message: (0x58000950), 44 bytes
[2024-08-28 18:17:36.832118 +0000][Dump ][XRootDTransport ] [msg: 0x58020e20] Expecting 8 bytes of message body
[2024-08-28 18:17:36.832130 +0000][Dump ][AsyncSock ] [127.0.0.1:1094.0] Received message header, size: 8
[2024-08-28 18:17:36.832140 +0000][Dump ][AsyncSock ] [127.0.0.1:1094.0] Received a message of 16 bytes
[2024-08-28 18:17:36.832153 +0000][Debug ][XRootDTransport ] [127.0.0.1:1094.0] Got the server hand shake response (type: manager [], protocol version 511)
[2024-08-28 18:17:36.832172 +0000][Dump ][XRootDTransport ] [msg: 0x58020e20] Expecting 8 bytes of message body
[2024-08-28 18:17:36.832180 +0000][Dump ][AsyncSock ] [127.0.0.1:1094.0] Received message header, size: 8
[2024-08-28 18:17:36.832187 +0000][Dump ][AsyncSock ] [127.0.0.1:1094.0] Received a message of 16 bytes
[2024-08-28 18:17:36.832197 +0000][Debug ][XRootDTransport ] [127.0.0.1:1094.0] kXR_protocol successful (type: manager [], protocol version 511)
[2024-08-28 18:17:36.832377 +0000][Debug ][XRootDTransport ] [127.0.0.1:1094.0] Sending out kXR_login request, username: root, cgi: xrd.cc=us&xrd.tz=0&xrd.appname=eos&xrd.info=&xrd.hostname=eos-mgm-0.eos-mgm.eos.svc.kermes-dev.local&xrd.rn=5.6.9, dual-stack: false, private IPv4: true, private IPv6: false
[2024-08-28 18:17:36.832408 +0000][Dump ][AsyncSock ] [127.0.0.1:1094.0] Wrote a message: (0x58020f70), 137 bytes
[2024-08-28 18:17:36.832649 +0000][Dump ][XRootDTransport ] [msg: 0x58000950] Expecting 61 bytes of message body
[2024-08-28 18:17:36.832659 +0000][Dump ][AsyncSock ] [127.0.0.1:1094.0] Received message header, size: 8
[2024-08-28 18:17:36.832667 +0000][Dump ][AsyncSock ] [127.0.0.1:1094.0] Received a message of 69 bytes
[2024-08-28 18:17:36.832680 +0000][Debug ][XRootDTransport ] [127.0.0.1:1094.0] Logged in, session: 0c0000000c000000970100000c000000
[2024-08-28 18:17:36.832688 +0000][Debug ][XRootDTransport ] [127.0.0.1:1094.0] Authentication is required: &P=gsi,v:10600,c:ssl,ca:5d674a88.0|bffbd7d0.0
[2024-08-28 18:17:36.832695 +0000][Debug ][XRootDTransport ] [127.0.0.1:1094.0] Sending authentication data
[2024-08-28 18:17:36.834373 +0000][Debug ][XRootDTransport ] [127.0.0.1:1094.0] Trying to authenticate using gsi
[2024-08-28 18:17:36.845517 +0000][Debug ][XRootDTransport ] [127.0.0.1:1094.0] Cannot get credentials for protocol gsi: Secgsi: ErrParseBuffer: error getting user proxies: kXGS_init
[2024-08-28 18:17:36.845550 +0000][Error ][XRootDTransport ] [127.0.0.1:1094.0] No protocols left to try
[2024-08-28 18:17:36.845572 +0000][Error ][AsyncSock ] [127.0.0.1:1094.0] Socket error while handshaking: [FATAL] Auth failed
[2024-08-28 18:17:36.845584 +0000][Debug ][AsyncSock ] [127.0.0.1:1094.0] Closing the socket
[2024-08-28 18:17:36.845598 +0000][Debug ][Poller ] <[::ffff:127.0.0.1]:35980><--><[::ffff:127.0.0.1]:1094> Removing socket from the poller
[2024-08-28 18:17:36.845673 +0000][Error ][PostMaster ] [127.0.0.1:1094] elapsed = 0, pConnectionWindow = 120 seconds.
[2024-08-28 18:17:36.845683 +0000][Error ][PostMaster ] [127.0.0.1:1094] Unable to recover: [FATAL] Auth failed.
[2024-08-28 18:17:36.845691 +0000][Error ][XRootD ] [127.0.0.1:1094] Impossible to send message kXR_ping (). Trying to recover.
[2024-08-28 18:17:36.845699 +0000][Debug ][XRootD ] [127.0.0.1:1094] Handling error while processing kXR_ping (): [FATAL] Auth failed.
[2024-08-28 18:17:36.845711 +0000][Debug ][ExDbgMsg ] [127.0.0.1:1094] Passing to the thread-pool MsgHandler: 0x236c010 (message: kXR_ping () ).
[2024-08-28 18:17:36.845758 +0000][Debug ][ExDbgMsg ] [127.0.0.1:1094] Calling MsgHandler: 0x236c010 (message: kXR_ping () ) with status: [FATAL] Auth failed.
[2024-08-28 18:17:36.845791 +0000][Debug ][ExDbgMsg ] [127.0.0.1:1094] Destroying MsgHandler: 0x236c010.
error: MGM root://127.0.0.1 not online/reachable
[2024-08-28 18:17:36.851188 +0000][Debug ][JobMgr ] Stopping the job manager...
[2024-08-28 18:17:36.851220 +0000][Dump ][JobMgr ] Stopping worker #0...
[2024-08-28 18:17:36.851374 +0000][Dump ][JobMgr ] Worker #0 stopped
[2024-08-28 18:17:36.851385 +0000][Dump ][JobMgr ] Stopping worker #1...
[2024-08-28 18:17:36.851444 +0000][Dump ][JobMgr ] Worker #1 stopped
[2024-08-28 18:17:36.851450 +0000][Dump ][JobMgr ] Stopping worker #2...
[2024-08-28 18:17:36.851500 +0000][Dump ][JobMgr ] Worker #2 stopped
[2024-08-28 18:17:36.851509 +0000][Debug ][JobMgr ] Job manager stopped
[2024-08-28 18:17:36.851513 +0000][Debug ][Poller ] Stopping the poller...
[2024-08-28 18:17:36.852135 +0000][Debug ][TaskMgr ] Stopping the task manager...
[2024-08-28 18:17:36.852255 +0000][Debug ][TaskMgr ] Task manager stopped
[2024-08-28 18:17:36.852280 +0000][Debug ][AsyncSock ] [127.0.0.1:1094.0] Closing the socket
[2024-08-28 18:17:36.852296 +0000][Debug ][PostMaster ] [127.0.0.1:1094] Destroying stream
[2024-08-28 18:17:36.852306 +0000][Debug ][Utility ] Monitor library name not set. No monitoring
[2024-08-28 18:17:36.852315 +0000][Debug ][AsyncSock ] [127.0.0.1:1094.0] Closing the socket
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment