Hide Forgot
Description of problem: starting matahari-sysconfig-console displays error Version-Release number of selected component (if applicable): matahari-0.4.2-2.el6.x86_64 matahari-agent-lib-0.4.2-2.el6.x86_64 matahari-broker-0.4.2-2.el6.x86_64 matahari-devel-0.4.2-2.el6.x86_64 matahari-host-0.4.2-2.el6.x86_64 matahari-lib-0.4.2-2.el6.x86_64 matahari-network-0.4.2-2.el6.x86_64 matahari-service-0.4.2-2.el6.x86_64 matahari-sysconfig-0.4.2-2.el6.x86_64 python-qpid-0.10-1.el6.noarch python-qpid-qmf-0.10-6.el6.x86_64 qpid-cpp-client-0.10-6.el6.x86_64 qpid-cpp-client-devel-0.10-6.el6.x86_64 qpid-cpp-client-ssl-0.10-6.el6.x86_64 qpid-cpp-server-0.10-6.el6.x86_64 qpid-cpp-server-ssl-0.10-6.el6.x86_64 qpid-qmf-0.10-6.el6.x86_64 qpid-qmf-devel-0.10-6.el6.x86_64 qpid-tools-0.10-3.el6.noarch ruby-qpid-qmf-0.10-6.el6.x86_64 How reproducible: 100% Steps to Reproduce: 1. install local matahari broker and sysconfig agent 2. start broker 3. start matahari-sysconfig-console Actual results: unrecognized option error Expected results: service starts Additional info: [root@hp-bl460c-02 init.d]# ./matahari-sysconfig-console start Starting the matahari-sysconfig-console daemon: matahari-qmf-sysconfig-consoled: unrecognized option '--daemon' Usage: matahari-sysconfig-consoled <options> Common options: -h | --help print this help message. -b | --broker value specify broker host name.. -p | --port value specify broker port. -u | --username value username to use for authentication purproses. -P | --password value password to use for authentication purproses. -s | --service value service name to use for authentication purproses. -r | --reconnect value attempt to reconnect on failure. Custom options: [FAILED]
This bug exists in sysconfig-console and service-cli for the service agent.
The matahari team will be splitting all consoles into a separate package with a different initscript. Once that is pushed Ill update the bug as this will not be relevant any longer Thanks
Changes found here: https://github.com/matahari/matahari/blob/master/matahari.spec
That doesn't resolve the problem though. matahari-qmf-sysconfig-consoled still needs an init script and needs to understand the --daemon option. Spec file changes aren't going to resolve that - moving back to assigned.
Posted patches to ML for review
Different error in v0.4.2-6... [root@dell-pe2900-01 init.d]# ./matahari-sysconfig-console start Starting the matahari-sysconfig-console daemon: matahari-qmf-sysconfig-consoled: invalid option -- 'c' Usage: matahari-sysconfig-consoled <options> Common options: -h | --help print this help message. -b | --broker value specify broker host name.. -p | --port value specify broker port. -u | --username value username to use for authentication purproses. -P | --password value password to use for authentication purproses. -s | --service value service name to use for authentication purproses. -r | --reconnect value attempt to reconnect on failure. Custom options: -d | --daemon run as a daemon [FAILED] [root@dell-pe2900-01 init.d]#
what options are you running with in your sysconfig/matahari?
The default settings... # Connect to a broker on the named host # If this is not defined, agents will attempt to connect to localhost # and/or the contents of a _matahari._tcp SRV record if it exists #MATAHARI_BROKER=127.0.0.1 # Connect to a broker on a non-standard port #MATAHARI_PORT=49000 # Other options that all agents should observe MATAHARI_AGENT_ARGS="--reconnect=yes" # Other options that all consoles should observe # MATAHARI_CONSOLE_ARGS=... # Per agent options # host_AGENT_ARGS=... # network_AGENT_ARGS=... # Per console options # sysconfig_CONSOLE_ARGS=...
WFM [root@localhost ~]# service matahari-broker start Starting Matahari broker daemon: [ OK ] [root@localhost ~]# service matahari-sysconfig start Starting the matahari-sysconfig daemon: [ OK ] [root@localhost ~]# cat /etc/sysconfig/matahari # Connect to a broker on the named host # If this is not defined, agents will attempt to connect to localhost # and/or the contents of a _matahari._tcp SRV record if it exists #MATAHARI_BROKER=127.0.0.1 # Connect to a broker on a non-standard port #MATAHARI_PORT=49000 # Other options that all agents should observe MATAHARI_AGENT_ARGS="--reconnect=yes" # Other options that all consoles should observe # MATAHARI_CONSOLE_ARGS=... # Per agent options # host_AGENT_ARGS=... # network_AGENT_ARGS=... # Per console options # sysconfig_CONSOLE_ARGS=... [root@localhost ~]# rpm -q matahari-sysconfig matahari-sysconfig-0.4.2-6.el6.x86_64 [root@localhost ~]# cd /etc/init.d/ [root@localhost init.d]# ./matahari-sysconfig start Starting the matahari-sysconfig daemon: [ OK ]
good 2 go in 0.4.4-2 [root@dell-pem600-01 init.d]# ./matahari-sysconfig-console start Starting the matahari-sysconfig-console daemon: [ OK ] [root@dell-pem600-01 init.d]#
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: No description required
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2011-1569.html