Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
The qpid-server script uses dirname to determine the default value of QPID_HOME. If the qpid-server script is invoked with a path, and that path includes a space a warning is seen and dirname will fail. If the user has not set QPID_HOME externally, Qpid will fail to start.
2016-03-08 15:12:44,008 DEBUG [UNKNOWN node2(-1)] o.a.q.t.u.SpawnedBrokerHolder Spawning broker with options: BrokerOptions{_configurationStoreLocation='/tmp/qpid-work-org.apache.qpid.server.store.berkeleydb.replication.MultiNodeTest.testClusterCannotStartWithIntruder-45-6310786915919813620/config.json', _configurationStoreType='JSON', _initialConfigurationLocation='null', _managementMode=false, _managementModeQuiesceVhosts=false, _managementModeHttpPortOverride=0, _overwriteConfigurationStore=false, _configProperties={qpid.work_dir=/tmp/qpid-work-org.apache.qpid.server.store.berkeleydb.replication.MultiNodeTest.testClusterCannotStartWithIntruder-45-6310786915919813620, test.port=10000, test.hport=0}, _startupLoggedToSystemOut=false, _initialSystemProperties='null'} jvmOptions: {test.port=0, qpid.globalAddressDomains=[], test.amqp_port_protocols=["AMQP_0_8","AMQP_0_9","AMQP_0_9_1","AMQP_0_10"], test.port.ssl=0, virtualhostnode.type=BDB, virtualhostnode.context.blueprint={"type":"ProvidedStore","globalAddressDomains":"${qpid.globalAddressDomains}"}, test.hport=0, test.port.alt.ssl=0, test.port.alt=0} environmentSettings: {} 2016-03-08 15:12:44,687 INFO [UNKNOWN node2(-1)] o.a.q.t.u.SpawnedBrokerHolder PID 26958 2016-03-08 15:12:44,687 INFO [BROKER-45] o.a.q.t.u.SpawnedBrokerHolder dirname: extra operand `1.7' 2016-03-08 15:12:44,688 INFO [BROKER-45] o.a.q.t.u.SpawnedBrokerHolder Try `dirname --help' for more information. 2016-03-08 15:12:44,688 INFO [BROKER-45] o.a.q.t.u.SpawnedBrokerHolder Setting QPID_WORK to /home/jenkins as default