Project: datamanagement
Issue DM-2552: xrootd can't be started via ssh
{code:bash} qserv@clrinfopc04:~/src/qserv$ ssh localhost -vvv "~qserv/qserv-run/2015_02/etc/init.d/xrootd start" ... debug3: Ignored env _ debug1: Sending command: ~qserv/qserv-run/2015_02/etc/init.d/xrootd start debug2: channel 0: request exec confirm 1 debug2: callback done debug2: channel 0: open confirm rwindow 0 rmax 32768 debug2: channel 0: rcvd adjust 2097152 debug2: channel_input_status_confirm: type 99 id 0 debug2: exec request accepted on channel 0 Starting xrootd.. debug1: client_input_channel_req: channel 0 rtype exit-status reply 0 debug1: client_input_channel_req: channel 0 rtype eow@openssh.com reply 0 debug2: channel 0: rcvd eow debug2: channel 0: close_read debug2: channel 0: input open -> closed {code} Here ssh command freeze, it is possible to lauch xrootd with this (example) script: {code:bash} set -e set -x . /qserv/run/etc/sysconfig/qserv export QSW_XRDQUERYPATH="/q" export QSW_DBSOCK="${MYSQLD_SOCK}" export QSW_MYSQLDUMP=`which mysqldump` QSW_SCRATCHPATH="${QSERV_RUN_DIR}/tmp" QSW_SCRATCHDB="qservScratch" export QSW_RESULTPATH="${XROOTD_RUN_DIR}/result" export LSST_LOG_CONFIG="${QSERV_RUN_DIR}/etc/log4xrootd.properties" eval '/qserv/stack/Linux64/xrootd/xssi-1.0.0/bin/xrootd -c /qserv/run/etc/lsp.cf -l /qserv/run/var/log/xrootd.log -n worker -I v4 &' echo "SCRIPT STARTED" {code} and the same problem occurs. So the problem seems to be with xrootd, and not the startup scripts.
Story points: 5