Created
November 9, 2010 01:25
-
-
Save mjgiarlo/668575 to your computer and use it in GitHub Desktop.
Looks like start_all has a bug?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Start up the router, perl, and c services | |
$ osrf_ctl.sh -a start_router -l | |
$ osrf_ctl.sh -a start_perl -l | |
$ osrf_ctl.sh -a start_c -l | |
# Start all python services via start_all (produces an error) | |
$ opensrf.py -d -p /opensrf/var/run -f /opensrf/etc/opensrf_core.xml -a start_all -l | |
* starting all services for localhost | |
* starting psu.stewardship.versioning | |
* starting psu.stewardship.fixity | |
* starting psu.stewardship.identity | |
* starting psu.stewardship.storage | |
Error in sys.exitfunc: | |
# Only two python services were started though all four pidfiles were written. | |
$ sudo ejabberdctl connected_users | |
[email protected]/opensrf.persist_drone_at_localhost_21554 | |
[email protected]/opensrf.persist_drone_at_localhost_21555 | |
[email protected]/opensrf.persist_drone_at_localhost_21556 | |
[email protected]/opensrf.persist_drone_at_localhost_21557 | |
[email protected]/opensrf.persist_drone_at_localhost_21558 | |
[email protected]/opensrf.persist_listener_at_localhost_21553 | |
[email protected]/opensrf.settings_drone_at_localhost_21545 | |
[email protected]/opensrf.settings_drone_at_localhost_21546 | |
[email protected]/opensrf.settings_drone_at_localhost_21547 | |
[email protected]/opensrf.settings_drone_at_localhost_21548 | |
[email protected]/opensrf.settings_drone_at_localhost_21549 | |
[email protected]/opensrf.settings_listener_at_localhost_21544 | |
[email protected]/psu.stewardship.fixity_drone_cardinal:21601_mainthread | |
[email protected]/psu.stewardship.fixity_drone_cardinal:21602_mainthread | |
[email protected]/psu.stewardship.fixity_drone_cardinal:21607_mainthread | |
[email protected]/psu.stewardship.fixity_drone_cardinal:21608_mainthread | |
[email protected]/psu.stewardship.fixity_drone_cardinal:21609_mainthread | |
[email protected]/psu.stewardship.fixity_listener_cardinal:21597_mainthread | |
[email protected]/psu.stewardship.identity_drone_cardinal:21600_mainthread | |
[email protected]/psu.stewardship.identity_drone_cardinal:21603_mainthread | |
[email protected]/psu.stewardship.identity_drone_cardinal:21604_mainthread | |
[email protected]/psu.stewardship.identity_drone_cardinal:21605_mainthread | |
[email protected]/psu.stewardship.identity_drone_cardinal:21606_mainthread | |
[email protected]/psu.stewardship.identity_listener_cardinal:21598_mainthread | |
[email protected]/opensrf.persist | |
[email protected]/opensrf.settings | |
[email protected]/psu.stewardship.fixity | |
[email protected]/psu.stewardship.identity | |
[email protected]/router | |
[email protected]/psu.stewardship.fixity | |
[email protected]/psu.stewardship.identity | |
[email protected]/router | |
# Stop all python services | |
$ opensrf.py -d -p /opensrf/var/run -f /opensrf/etc/opensrf_core.xml -a stop_all -l | |
# Start all python services via start | |
$ opensrf.py -d -p /opensrf/var/run -f /opensrf/etc/opensrf_core.xml -a start -l -s psu.stewardship.identity | |
$ opensrf.py -d -p /opensrf/var/run -f /opensrf/etc/opensrf_core.xml -a start -l -s psu.stewardship.fixity | |
$ opensrf.py -d -p /opensrf/var/run -f /opensrf/etc/opensrf_core.xml -a start -l -s psu.stewardship.storage | |
$ opensrf.py -d -p /opensrf/var/run -f /opensrf/etc/opensrf_core.xml -a start -l -s psu.stewardship.versioning | |
# Now all four services are running | |
$ sudo ejabberdctl connected_users | |
[email protected]/opensrf.persist_drone_at_localhost_21554 | |
[email protected]/opensrf.persist_drone_at_localhost_21555 | |
[email protected]/opensrf.persist_drone_at_localhost_21556 | |
[email protected]/opensrf.persist_drone_at_localhost_21557 | |
[email protected]/opensrf.persist_drone_at_localhost_21558 | |
[email protected]/opensrf.persist_listener_at_localhost_21553 | |
[email protected]/opensrf.settings_drone_at_localhost_21545 | |
[email protected]/opensrf.settings_drone_at_localhost_21546 | |
[email protected]/opensrf.settings_drone_at_localhost_21547 | |
[email protected]/opensrf.settings_drone_at_localhost_21548 | |
[email protected]/opensrf.settings_drone_at_localhost_21549 | |
[email protected]/opensrf.settings_listener_at_localhost_21544 | |
[email protected]/psu.stewardship.fixity_drone_cardinal:21650_mainthread | |
[email protected]/psu.stewardship.fixity_drone_cardinal:21651_mainthread | |
[email protected]/psu.stewardship.fixity_drone_cardinal:21652_mainthread | |
[email protected]/psu.stewardship.fixity_drone_cardinal:21653_mainthread | |
[email protected]/psu.stewardship.fixity_drone_cardinal:21654_mainthread | |
[email protected]/psu.stewardship.fixity_listener_cardinal:21649_mainthread | |
[email protected]/psu.stewardship.identity_drone_cardinal:21643_mainthread | |
[email protected]/psu.stewardship.identity_drone_cardinal:21644_mainthread | |
[email protected]/psu.stewardship.identity_drone_cardinal:21645_mainthread | |
[email protected]/psu.stewardship.identity_drone_cardinal:21646_mainthread | |
[email protected]/psu.stewardship.identity_drone_cardinal:21647_mainthread | |
[email protected]/psu.stewardship.identity_listener_cardinal:21642_mainthread | |
[email protected]/psu.stewardship.storage_drone_cardinal:21662_mainthread | |
[email protected]/psu.stewardship.storage_drone_cardinal:21663_mainthread | |
[email protected]/psu.stewardship.storage_drone_cardinal:21664_mainthread | |
[email protected]/psu.stewardship.storage_drone_cardinal:21665_mainthread | |
[email protected]/psu.stewardship.storage_drone_cardinal:21666_mainthread | |
[email protected]/psu.stewardship.storage_listener_cardinal:21661_mainthread | |
[email protected]/psu.stewardship.versioning_drone_cardinal:21669_mainthread | |
[email protected]/psu.stewardship.versioning_drone_cardinal:21670_mainthread | |
[email protected]/psu.stewardship.versioning_drone_cardinal:21671_mainthread | |
[email protected]/psu.stewardship.versioning_drone_cardinal:21672_mainthread | |
[email protected]/psu.stewardship.versioning_drone_cardinal:21673_mainthread | |
[email protected]/psu.stewardship.versioning_listener_cardinal:21668_mainthread | |
[email protected]/opensrf.persist | |
[email protected]/opensrf.settings | |
[email protected]/psu.stewardship.fixity | |
[email protected]/psu.stewardship.identity | |
[email protected]/psu.stewardship.storage | |
[email protected]/psu.stewardship.versioning | |
[email protected]/router | |
[email protected]/psu.stewardship.fixity | |
[email protected]/psu.stewardship.identity | |
[email protected]/psu.stewardship.storage | |
[email protected]/psu.stewardship.versioning | |
[email protected]/router | |
# Since the services run and are usable when started individually, it does not seem to be an issue with conf files or python service code? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment