Bug 441675
Summary: | server daemon fails to start out-of-the-box | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora EPEL | Reporter: | Juha Tuomala <tuju> | ||||||
Component: | bcfg2 | Assignee: | Jeffrey C. Ollie <jeff> | ||||||
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | low | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | el5 | CC: | icon, john | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | ActualBug | ||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2014-02-26 17:24:59 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Juha Tuomala
2008-04-09 13:36:30 UTC
I've one instance on rhel5 which has been already initialized and fails similar way than this one on centos5 which has not been initialized. Anyway, initialized or not, it should not fail and generate garbled output on screen. Now initialized the centos5 db and: [root@x ~]# service bcfg2-server restart Stopping Configuration Management Server: /sbin/service: line 66: 22641 Terminated env -i LANG="$LANG" PATH="$PATH" TERM="$TERM" "${SERVICEDIR}/${SERVICE}" ${OPTIONS} [root@x ~]# bcfg2-server [ OK ] I do see a small buglet when you type "service bcfg2-server" in that it's inserting "[OK]" into the output. I'll see about getting that fixed. "service bcfg2-server" shouldn't do anything but print a usage message. However, I don't think that including a default configuration for bcfg2-server would be a good thing. The person that's setting up the server needs to go through the "bcfg2-admin init" process to get a working installation. If after running "bcfg2-admin init" you still can't get bcfg2-server to start up then that's a bug. There ought to be some indication in the syslog of why it isn't starting up. # service bcfg2-serverr restart Stopping bcfg2-server: [ OK ] Starting bcfg2-server: [ OK ] [root@x ]# service bcfg2-serverr status bcfg2-server (pid 32045) is running... [root@x ]# service bcfg2-serverr restart Stopping bcfg2-server: [ OK ] Starting bcfg2-server: [ OK ] [root@x ]# Okay, now i've working version done from proper rh camp template: http://fedoraproject.org/wiki/Packaging/SysVInitScript?highlight=%28Packaging%29#head-b308cc7d67d2a761c13de401e1c40918c7def22b Created attachment 301971 [details]
fixed version
Created attachment 302327 [details]
new version of daemon initscript
This one adds ability to pass cli options from /etc/sysconfig/bcfg2-server
config file.
This bug is filed against a very old release of bcfg2. Closing it out. If problems continue, please reopen or file a new bug. Thank you. |