Hi,

I followed the installation instructions for Debian Etch for Evergreen 1.2.3.0, 
and did not have any problems till I reached the step on "Testing connections 
to Evergreen".

After running the following commands, 
    /openils/bin/srfsh
    srfsh# login admin open-ils
it returned the following error: " Unable to connect to remote service 
open-ils.auth"

I have run the settings-tester.pl script, but that did not reveal any problems. 

Could you take a look at the files I've attached, and let me know if I've made 
any errors anywhere?

Thanks very much.


Jeremy


      Get your new Email address!
Grab the Email name you've always wanted before someone else does!
http://mail.promotions.yahoo.com/newdomains/sg/
srfsh 2008-09-20 13:00:59 [INFO:28102:osrf_system.c:267:] Bootstrapping system with domain localhost, port 5222, and unixpath (none)
srfsh 2008-09-20 13:00:59 [DEBG:28102:socket_bundle.c:367:] removing socket 3
srfsh 2008-09-20 13:01:07 [DEBG:28102:osrf_app_session.c:222:] open-ils.auth session is stateless
srfsh 2008-09-20 13:01:07 [DEBG:28102:osrf_app_session.c:234:] Building a new client session with id [open-ils.auth] [1221886867.383849.122188686728102]
srfsh 2008-09-20 13:01:07 [DEBG:28102:osrf_app_session.c:418:] AppSession connecting to [EMAIL PROTECTED]/open-ils.auth
srfsh 2008-09-20 13:01:07 [DEBG:28102:osrf_app_session.c:374:] App Session [open-ils.auth] [1221886867.383849.122188686728102] resetting remote id to [EMAIL PROTECTED]/open-ils.auth
srfsh 2008-09-20 13:01:07 [DEBG:28102:osrf_app_session.c:554:] AppSession in queue_wait with timeout 0
srfsh 2008-09-20 13:01:07 [DEBG:28102:transport_session.c:122:] socket_wait returned error code -1
srfsh 2008-09-20 13:01:07 [DEBG:28102:transport_client.c:144:] session_wait returned failure code -1: setting error=1

srfsh 2008-09-20 13:01:07 [WARN:28102:osrf_stack.c:23:] transport_client had trouble reading from the socket..
srfsh 2008-09-20 13:01:07 [DEBG:28102:osrf_app_session.c:374:] App Session [open-ils.auth] [1221886867.383849.122188686728102] resetting remote id to [EMAIL PROTECTED]/open-ils.auth
srfsh 2008-09-20 13:01:07 [ERR :28102:osrf_app_session.c:520:] client_send_message failed
srfsh 2008-09-20 13:01:07 [INFO:28102:osrf_app_session.c:522:] [open-ils.auth] sent 80 bytes of data to [EMAIL PROTECTED]/open-ils.auth
srfsh 2008-09-20 13:01:07 [DEBG:28102:osrf_app_session.c:525:] Sent: [/*--S osrfMessage--*/{"threadTrace":"0","type":"CONNECT"}/*--E osrfMessage--*/]
srfsh 2008-09-20 13:01:07 [WARN:28102:srfsh.c:539:] Unable to connect to remote service open-ils.auth

srfsh 2008-09-20 13:01:16 [DEBG:28102:socket_bundle.c:367:] removing socket 3
<?xml version='1.0'?>

<!-- 
Example opensrf config file for OpenILS
-->

<opensrf version='0.0.2'>

    <default>
	    
        <dirs>
            <log>/openils/var/log</log> <!-- unix::server log files -->
            <sock>/openils/var/sock</sock> <!-- unix::server sock files -->
            <pid>/openils/var/pid</pid>
            <xsl>/openils/var/xsl</xsl>
            <script>/openils/var</script>
            <script_lib>/openils/var</script_lib>
        </dirs>

	<!-- global data visibility settings -->
        <share>
		<user>
        		<!-- Set to "true" to require patron opt-in for foreign (non-home_ou) transactions -->
			<opt_in>false</opt_in>
		</user>
	</share>

        <IDL>/openils/conf/fm_IDL.xml</IDL> <!-- top level IDL file -->

        <server_type>prefork</server_type> <!-- net::server type -->

        <ils_events>/openils/var/data/ils_events.xml</ils_events> <!-- ILS events description file -->
        
        <email_notify>
            <!-- global email notification settings -->
            <template>/openils/var/data/hold_notification_template.example</template>
            <smtp_server>localhost</smtp_server>

            <!-- in most cases, this is overridden by location 
                specific config settings.  this is just the default -->
            <sender_address>[EMAIL PROTECTED]</sender_address>
        </email_notify>


        <reporter>
            <!--
                Settings for the reporter daemon process 
            -->
            <setup>
                <base_uri>https://localhost/reporter/</base_uri>
                <database>
                    <driver>Pg</driver>
                    <host>localhost</host>
                    <port>5432</port>
                    <db>evergreen</db>
                    <user>evergreen</user>
                    <password>evergreen</password>
                </database>
                <files>
                    <!-- successful report outputs go here -->
                    <output_base>/openils/var/web/reporter</output_base>
                    <success_template>/openils/var/data/report-success</success_template>
                    <fail_template>/openils/var/data/report-fail</fail_template>
                </files>
            </setup>
        </reporter>



        <xml-rpc>
            <!-- XML-RPC gateway.  Do NOT publish unprotected services here -->
            <allowed_services>
                <!-- list of published services -->
                <service>opensrf.math</service>
                <service>opensrf.dbmath</service>
                <service>open-ils.cat</service>
                <service>open-ils.search</service>
                <service>open-ils.circ</service>
                <service>open-ils.actor</service>
                <service>open-ils.auth</service>
                <service>open-ils.collections</service>
            </allowed_services>
        </xml-rpc>


        <z3950>
            <default>oclc</default>
            <services>

                <loc>
                    <!-- LoC does not require username/password -->
                    <name>loc</name>
                    <host>z3950.loc.gov</host>
                    <port>7090</port>
                    <db>Voyager</db>

                    <!-- fetch the full record with no holdings. FI is the default -->
                    <record_format>FI</record_format> 

                    <!-- Record transmission format from the server.  Supported -->
                    <!-- formats include usmarc and xml (for marcxml).         -->
                    <transmission_format>usmarc</transmission_format> 

                    <attrs>
                        <tcn><code>12</code><format>1</format></tcn>
                        <isbn><code>7</code><format>6</format></isbn>
                        <lccn><code>9</code><format>1</format></lccn>
                        <author><code>1003</code><format>6</format></author>
                        <title><code>4</code><format>6</format></title>
                        <issn><code>8</code><format>1</format></issn>
                        <publisher><code>1018</code><format>6</format></publisher>
                        <pubdate><code>31</code><format>1</format></pubdate>
                        <item_type><code>1001</code><format>1</format></item_type>
                    </attrs>
                </loc>

                <oclc>
                    <!-- Z3950 settings for OCLC.  Note that OCLC requires username/password -->
                    <host>zcat.oclc.org</host>
                    <port>210</port>
                    <db>OLUCWorldCat</db>
                    <attrs>
                        <!--
                            These are directly from the Bib-1 Attribute Set
                            http://www.loc.gov/z3950/agency/defns/bib1.html
                            <code> is the "use attribute", <format> is the "structure attribute"
                            This just puts some friendly names on the data.
                        -->
                        <tcn><code>12</code><format>1</format></tcn>
                        <isbn><code>7</code><format>6</format></isbn>
                        <lccn><code>9</code><format>1</format></lccn>
                        <author><code>1003</code><format>6</format></author>
                        <title><code>4</code><format>6</format></title>
                        <issn><code>8</code><format>1</format></issn>
                        <publisher><code>1018</code><format>6</format></publisher>
                        <pubdate><code>31</code><format>1</format></pubdate>
                        <item_type><code>1001</code><format>1</format></item_type>
                    </attrs>
                </oclc>

            </services>
        </z3950>

        <added_content>

            <!-- load the Amazon added content module -->
            <module>OpenILS::WWW::AddedContent::Amazon</module>
            <!-- Base URL for Amazon added content fetching.  This URL may
                need to be shortened when new (read: non-image) content 
                fetching capabilities are added -->
            <base_url>http://images.amazon.com/images/P/</base_url>

            <!-- Max number of seconds to wait for an added content request to 
                return data.  Data not returned within the timeout is considered
                a failure -->
            <timeout>4</timeout>

            <!-- After added content lookups have been disabled due to too many
                lookup failures, this is the amount of time to wait before
                we try again -->
            <retry_timeout>600</retry_timeout>

            <!-- maximum number of consecutive lookup errors a given process can 
                have before added content lookups are disabled for everyone -->
            <max_errors>4</max_errors>

            <!-- If a userid is required to access the added content.. -->
            <userid>MY_USER_ID</userid>

            <!--
                You can add free-form settings here and they will be accessible
                within the added content module
            -->

        </added_content>


        <!-- no apps are enabled globally by default -->
        <activeapps/> 
        
        <cache>
            <!-- memcache servers -->
            <global>
                <servers>
                    <server>localhost:11211</server>
                </servers>
                <max_cache_time>86400</max_cache_time>
            </global>
        </cache>

        <apps>
            <!-- Authentication server -->
            <open-ils.auth>

                <!-- how long to wait between stateful requests before the child process re-joins the pool -->
                <keepalive>5</keepalive>

                <!-- true if this service support stateless requests -->
                <stateless>1</stateless>

                <!-- implementation language -->
                <language>c</language>

                <!-- library to plugin -->
                <implementation>oils_auth.so</implementation>

                <!-- maximum required opensrf requests within a stateful connection -->
                <max_requests>93</max_requests>

                <unix_config>
                    <!-- maximum number of top level requests coming to 
                        this child before the child is recycled -->
                    <max_requests>1000</max_requests>
                    <!-- min children to fork -->
                    <min_children>1</min_children>
                    <!-- max possible children to fork -->
                    <max_children>15</max_children>

                    <!-- C forking implementation does not support 
                        min/max idle children, but may in the future -->

                    <!-- min idle children -->
                    <min_spare_children>1</min_spare_children>
                    <!-- max idle children -->
                    <max_spare_children>5</max_spare_children>

                </unix_config>

                <app_settings>
                    <!-- defined app-specific settings here -->
                    <default_timeout>
                        <!-- default login timeouts based on login type -->
                        <opac>420</opac>
                        <staff>7200</staff>
                        <temp>300</temp>
                    </default_timeout>
                </app_settings>
            </open-ils.auth>


            <!-- Generic search server -->
            <open-ils.search>
                <keepalive>5</keepalive>
                <stateless>1</stateless>
                <language>perl</language>
                <implementation>OpenILS::Application::Search</implementation>
                <max_requests>93</max_requests>
                <unix_config>

                    <!-- the following 3 settings are currently used by Perl services only -->
                    <unix_sock>open-ils.search_unix.sock</unix_sock>
                    <unix_pid>open-ils.search_unix.pid</unix_pid>
                    <unix_log>open-ils.search_unix.log</unix_log>

                    <max_requests>1000</max_requests>
                    <min_children>1</min_children>
                    <max_children>15</max_children>
                    <min_spare_children>1</min_spare_children>
                    <max_spare_children>5</max_spare_children>
                </unix_config>
                <app_settings>
                    <marc_html_xsl>oilsMARC21slim2HTML.xsl</marc_html_xsl>
                    <!-- Default to using staged search -->
                    <use_staged_search>true</use_staged_search>
                    <superpage_size>500</superpage_size>
                    <max_superpages>20</max_superpages>
                    <!-- zip code database file -->
                    <!--<zips_file>/openils/var/data/zips.txt</zips_file>-->
                </app_settings>
            </open-ils.search>

            <!-- server for accessing user info -->
            <open-ils.actor>
                <keepalive>5</keepalive>
                <stateless>1</stateless>
                <language>perl</language>
                <implementation>OpenILS::Application::Actor</implementation>
                <max_requests>93</max_requests>
                <unix_config>
                    <unix_sock>open-ils.actor_unix.sock</unix_sock>
                    <unix_pid>open-ils.actor_unix.pid</unix_pid>
                    <max_requests>1000</max_requests>
                    <unix_log>open-ils.actor_unix.log</unix_log>
                    <min_children>1</min_children>
                    <max_children>15</max_children>
                    <min_spare_children>1</min_spare_children>
                    <max_spare_children>5</max_spare_children>
                </unix_config>
            </open-ils.actor>


            <open-ils.cat>
                <keepalive>5</keepalive>
                <stateless>1</stateless>
                <language>perl</language>
                <implementation>OpenILS::Application::Cat</implementation>
                <max_requests>199</max_requests>
                <unix_config>
                    <unix_sock>open-ils.cat_unix.sock</unix_sock>
                    <unix_pid>open-ils.cat_unix.pid</unix_pid>
                    <max_requests>1000</max_requests>
                    <unix_log>open-ils.cat_unix.log</unix_log>
                    <min_children>1</min_children>
                    <max_children>15</max_children>
                    <min_spare_children>1</min_spare_children>
                    <max_spare_children>5</max_spare_children>
                </unix_config>
                <app_settings>
                    <marctemplates>
                        <K_book>/openils/var/templates/marc/k_book.xml</K_book>
                    </marctemplates>
                </app_settings>
            </open-ils.cat>

            <open-ils.supercat>
                <keepalive>5</keepalive>
                <stateless>1</stateless>
                <language>perl</language>
                <implementation>OpenILS::Application::SuperCat</implementation>
                <max_requests>199</max_requests>
                <unix_config>
                    <unix_sock>open-ils.supercat_unix.sock</unix_sock>
                    <unix_pid>open-ils.supercat_unix.pid</unix_pid>
                    <max_requests>1000</max_requests>
                    <unix_log>open-ils.supercat_unix.log</unix_log>
                    <min_children>1</min_children>
                    <max_children>15</max_children>
                    <min_spare_children>1</min_spare_children>
                    <max_spare_children>5</max_spare_children>
                </unix_config>
            </open-ils.supercat>


            <opensrf.math>
                <keepalive>3</keepalive>
                <stateless>1</stateless>
                <language>c</language>
                <implementation>osrf_math.so</implementation>
                <max_requests>97</max_requests>
                <unix_config>
                    <unix_sock>opensrf.math_unix.sock</unix_sock>
                    <unix_pid>opensrf.math_unix.pid</unix_pid>
                    <max_requests>1000</max_requests>
                    <unix_log>opensrf.math_unix.log</unix_log>
                    <min_children>1</min_children>
                    <max_children>15</max_children>
                    <min_spare_children>1</min_spare_children>
                    <max_spare_children>5</max_spare_children>
                </unix_config>
            </opensrf.math>

            <opensrf.dbmath> 
                <keepalive>3</keepalive>
                <stateless>1</stateless>
                <language>c</language>
                <implementation>osrf_dbmath.so</implementation>
                <max_requests>99</max_requests>
                <unix_config>
                    <max_requests>1000</max_requests>
                    <unix_log>opensrf.dbmath_unix.log</unix_log>
                    <unix_sock>opensrf.dbmath_unix.sock</unix_sock>
                    <unix_pid>opensrf.dbmath_unix.pid</unix_pid>
                    <min_children>1</min_children>
                    <max_children>15</max_children>
                    <min_spare_children>1</min_spare_children> 
                    <max_spare_children>5</max_spare_children>
                </unix_config>
            </opensrf.dbmath>

            <open-ils.penalty>
                <keepalive>3</keepalive>
                <stateless>1</stateless>
                <language>perl</language>
                <implementation>OpenILS::Application::Penalty</implementation>
                <max_requests>99</max_requests>
                <unix_config>
                    <max_requests>1000</max_requests>
                    <unix_log>open-ils.penalty_unix.log</unix_log>
                    <unix_sock>open-ils.penalty_unix.sock</unix_sock>
                    <unix_pid>open-ils.penalty_unix.pid</unix_pid>
                    <min_children>1</min_children>
                    <max_children>15</max_children>
                    <min_spare_children>1</min_spare_children>
                    <max_spare_children>5</max_spare_children>
                </unix_config>
                <app_settings>
                    <patron_penalty>penalty/patron_penalty.js</patron_penalty>
                    <script_path>/openils/var</script_path>
                    <script_path>/openils/var/catalog</script_path>
                </app_settings>
            </open-ils.penalty>

            <open-ils.circ> 
                <keepalive>3</keepalive>
                <stateless>1</stateless>
                <language>perl</language>
                <implementation>OpenILS::Application::Circ</implementation>
                <max_requests>99</max_requests>
                <unix_config>
                    <max_requests>1000</max_requests>
                    <unix_log>open-ils.circ_unix.log</unix_log>
                    <unix_sock>open-ils.circ_unix.sock</unix_sock>
                    <unix_pid>open-ils.circ_unix.pid</unix_pid>
                    <min_children>1</min_children>
                    <max_children>15</max_children>
                    <min_spare_children>1</min_spare_children> 
                    <max_spare_children>5</max_spare_children>
                </unix_config>
                <app_settings>
                    <notify_hold>
                        <email>false</email> <!-- set to true for hold notice emails -->
                    </notify_hold>

                    <!-- circulation policy scripts -->
                    <script_path>/openils/var</script_path>
                    <script_path>/openils/var/catalog</script_path>
                    <scripts> 
                        <circ_permit_patron>circ/circ_permit_patron.js</circ_permit_patron>
                        <circ_permit_copy>circ/circ_permit_copy.js</circ_permit_copy>
                        <circ_duration>circ/circ_duration.js</circ_duration>
                        <circ_recurring_fines>circ/circ_recurring_fines.js</circ_recurring_fines>
                        <circ_max_fines>circ/circ_max_fines.js</circ_max_fines>
                        <circ_permit_renew>circ/circ_permit_renew.js</circ_permit_renew>
                        <circ_permit_hold>circ/circ_permit_hold.js</circ_permit_hold>
                    </scripts>               

                    <circ_modifiers>
                        <mod>art</mod>
                        <mod>atlas</mod>
                        <mod>audiobook</mod>
                        <mod>av</mod>
                        <mod>new-av</mod>
                        <mod>bestseller</mod>
                        <mod>bestsellernh</mod>
                        <mod>book</mod>
                        <mod>cd</mod>
                        <mod>dvd</mod>
                        <mod>dvd-long</mod>
                        <mod>e-book</mod>
                        <mod>equipment</mod>
                        <mod>filmstrip</mod>
                        <mod>kit</mod>
                        <mod>magazine</mod>
                        <mod>map</mod>
                        <mod>microform</mod>
                        <mod>music</mod>
                        <mod>record</mod>
                        <mod>software</mod>
                        <mod>softwrlong</mod>
                        <mod>equip-long</mod>
                        <mod>talking book</mod>
                        <mod>toy</mod>
                        <mod>video</mod>
                        <mod>video-long</mod>
                    </circ_modifiers>

                    <billing_types>
                        <type>Miscellaneous</type>
                        <type>Overdue materials</type>
                        <type>Fee for placing a hold</type>
                        <type>Fee for checking out a book</type>
                        <type>Fee for library card</type>
                        <type>Miscellaneous charges</type>
                        <type>Lost materials</type>
                        <type>Damaged material</type>
                        <type>Overdue Reserves charge</type>
                        <type>Recall overdue</type>
                        <type>Fee for processing lost library materials</type>
                        <type>Fee for sending patron bills to collection agency</type>
                        <type>Fee for interlibrary loan</type>
                        <type>Fee for copies</type>
                        <type>Money advanced to pay for telephone use</type>
                        <type>Deposit fee</type>
                        <type>Fee for disk</type>
                        <type>Fee for faxing</type>
                        <type>Fee for laminating</type>
                        <type>Fee for room cleaning</type>
                        <type>Deposit returned; fee refund</type>
                        <type>Sale items</type>
                        <type>Fee for lost card</type>
                        <type>Long overdue items</type>
                        <type>Lost/Replacement Cassette</type>
                        <type>Returned Check</type>
                    </billing_types>
                </app_settings>
            </open-ils.circ>

            <open-ils.ingest>
                <keepalive>3</keepalive>
                <stateless>1</stateless>
                <implementation>OpenILS::Application::Ingest</implementation>
                <language>perl</language>
                <max_requests>1000000</max_requests>
                <unix_config>
                    <max_requests>1000000</max_requests>
                    <unix_log>open-ils.ingest-unix.log</unix_log>
                    <unix_sock>open-ils.ingest-unix.sock</unix_sock>
                    <unix_pid>open-ils.ingest-unix.pid</unix_pid>
                    <min_children>5</min_children>
                    <max_children>20</max_children>
                    <min_spare_children>2</min_spare_children>
                    <max_spare_children>5</max_spare_children>
                </unix_config>
                <app_settings>
                    <script_path>/openils/var/catalog/</script_path>
                    <script_path>/openils/var/web/opac/common/js/</script_path>
                    <scripts>
                    <biblio_fingerprint>biblio_fingerprint.js</biblio_fingerprint>
                    <biblio_descriptor>biblio_descriptor.js</biblio_descriptor>
                    </scripts>
                </app_settings>
            </open-ils.ingest>

            <open-ils.storage>
                <keepalive>10</keepalive>
                <stateless>1</stateless>
                <language>perl</language>
                <implementation>OpenILS::Application::Storage</implementation>
                <unix_config>
                    <max_requests>1000</max_requests>
                    <unix_log>storage_unix.log</unix_log>
                    <unix_sock>storage_unix.sock</unix_sock>
                    <unix_pid>storage_unix.pid</unix_pid>
                    <min_children>1</min_children>
                    <max_children>10</max_children>
                    <min_spare_children>1</min_spare_children>
                    <max_spare_children>5</max_spare_children>
                </unix_config>
                <app_settings>
                    <script_path>/openils/var/catalog/</script_path>
                    <scripts>
                        <biblio_fingerprint>biblio_fingerprint.js</biblio_fingerprint>
                    </scripts>
                    <databases>
                        <driver>Pg</driver>
                        <database>
                            <type>master</type>
                            <weight>2</weight>
                            <user>evergreen</user>
                            <host>localhost</host>
                            <port>5432</port>
                            <pw>evergreen</pw>
                            <db>evergreen</db>
                            <client_encoding>UTF-8</client_encoding>
                        </database>
                    </databases>
                </app_settings>
            </open-ils.storage>


            <open-ils.cstore>
                <keepalive>6</keepalive>
                <stateless>1</stateless>
                <language>C</language>
                <implementation>oils_cstore.so</implementation>
                <max_requests>95</max_requests>
                <unix_config>
                    <max_requests>400</max_requests>
                    <min_children>1</min_children>
                    <max_children>15</max_children>
                    <min_spare_children>1</min_spare_children>
                    <max_spare_children>5</max_spare_children>
                </unix_config>
                <app_settings>
                    <max_query_recursion>100</max_query_recursion>
                    <driver>pgsql</driver>
                    <database>
                        <type>master</type>
                        <weight>2</weight>
                        <user>evergreen</user>
                        <host>localhost</host>
                        <port>5432</port>
                        <pw>evergreen</pw>
                        <db>evergreen</db>
                        <client_encoding>UTF-8</client_encoding>
                    </database>
                </app_settings>
            </open-ils.cstore>



            <opensrf.settings>
                <keepalive>1</keepalive>
                <stateless>1</stateless>
                <language>perl</language>
                <implementation>OpenSRF::Application::Settings</implementation>
                <max_requests>17</max_requests>
                <unix_config>
                    <unix_sock>opensrf.settings_unix.sock</unix_sock>
                    <unix_pid>opensrf.settings_unix.pid</unix_pid>
                    <max_requests>300</max_requests>
                    <unix_log>opensrf.settings_unix.log</unix_log>
                    <min_children>5</min_children>
                    <max_children>15</max_children>
                    <min_spare_children>3</min_spare_children>
                    <max_spare_children>5</max_spare_children>
                </unix_config>
            </opensrf.settings>

            <open-ils.collections>
                <keepalive>3</keepalive>
                <stateless>1</stateless>
                <language>perl</language>
                <implementation>OpenILS::Application::Collections</implementation>
                <max_requests>17</max_requests>
                <unix_config>
                    <unix_sock>opensrf.collections_unix.sock</unix_sock>
                    <unix_pid>opensrf.collections_unix.pid</unix_pid>
                    <max_requests>1000</max_requests>
                    <unix_log>opensrf.collections_unix.log</unix_log>
                    <min_children>1</min_children>
                    <max_children>10</max_children>
                    <min_spare_children>1</min_spare_children>
                    <max_spare_children>5</max_spare_children>
                </unix_config>
            </open-ils.collections>

            <open-ils.reporter>
                <keepalive>3</keepalive>
                <stateless>1</stateless>
                <language>perl</language>
                <implementation>OpenILS::Application::Reporter</implementation>
                <max_requests>99</max_requests>
                <unix_config>
                    <unix_sock>opensrf.reporter_unix.sock</unix_sock>
                    <unix_pid>opensrf.reporter_unix.pid</unix_pid>
                    <max_requests>1000</max_requests>
                    <unix_log>opensrf.reporter_unix.log</unix_log>
                    <min_children>1</min_children>
                    <max_children>10</max_children>
                    <min_spare_children>1</min_spare_children>
                    <max_spare_children>5</max_spare_children>
                </unix_config>
            </open-ils.reporter>


            <open-ils.reporter-store>
                <keepalive>6</keepalive>
                <stateless>1</stateless>
                <language>C</language>
                <implementation>oils_rstore.so</implementation>
                <max_requests>95</max_requests>
                <unix_config>
                    <max_requests>400</max_requests>
                    <min_children>1</min_children>
                    <max_children>10</max_children>
                    <min_spare_children>1</min_spare_children>
                    <max_spare_children>5</max_spare_children>
                </unix_config>
                <app_settings>
                    <driver>pgsql</driver>
                    <database>
                        <type>master</type>
                        <weight>2</weight>
                        <user>evergreen</user>
                        <host>localhost</host>
                        <port>5432</port>
                        <pw>evergreen</pw>
                        <db>evergreen</db>
                        <client_encoding>UTF-8</client_encoding>
                    </database>
                </app_settings>
            </open-ils.reporter-store>


        </apps>
    </default>

    <hosts>

        <gbpclibserver> 
            <!-- ^-=- 
                must match the fully qualified domain name of the host.

                On Linux, the output of the following command is authoritative:
                $ perl -MNet::Domain -e 'print Net::Domain::hostfqdn();'

               'localhost' won't work here
            -->
            <activeapps>
                <!-- services hosted on this machine -->
                <appname>opensrf.settings</appname> 
                <appname>opensrf.math</appname> 
                <appname>opensrf.dbmath</appname> 
                <appname>open-ils.cat</appname> 
                <appname>open-ils.supercat</appname> 
                <appname>open-ils.search</appname> 
                <appname>open-ils.circ</appname> 
                <appname>open-ils.actor</appname> 
                <appname>open-ils.auth</appname> 
                <appname>open-ils.storage</appname>  
                <appname>open-ils.penalty</appname>  
                <appname>open-ils.cstore</appname>  
                <appname>open-ils.collections</appname>  
                <appname>open-ils.ingest</appname>  
                <appname>open-ils.reporter</appname>  
                <appname>open-ils.reporter-store</appname>  
            </activeapps>
        </gbpclibserver>
    </hosts>

</opensrf>
<?xml version="1.0"?>
<config>

  <!-- bootstrap config for OpenSRF apps -->
  <opensrf>

    <!-- The OpenSRF Routers's name on the network -->
    <!-- You should never need to change thischange this -->
    <router_name>router</router_name>

    <routers>

      <!-- List of router domains we should register with. 
        We must at least have our default jabber domain in here -->
      <router>localhost</router>

    </routers>
    <domains>

      <!-- Our jabber domain, currently only one domain is supported -->
      <domain>localhost</domain>

    </domains>
    <username>opensrf</username>
    <passwd>everPass</passwd>
    <port>5222</port>

    <!-- log to a local file -->
    <logfile>/openils/var/log/osrfsys.log</logfile>

    <!-- Log to syslog. You can use this same layout for 
        defining the logging of all services in this file -->
<!--
    <logfile>syslog</logfile>
    <syslog>local2</syslog>
    <actlog>local1</actlog>
-->

    <!-- 0 None, 1 Error, 2 Warning, 3 Info, 4 debug, 5 Internal (Nasty) -->
    <loglevel>3</loglevel>

    <!-- config file for the services -->
    <settings_config>/openils/conf/opensrf.xml</settings_config>

  </opensrf>

  <!-- Update this if you use ChopChop -->
  <chopchop>

    <!-- Our jabber server -->
    <domain>localhost</domain>
    <port>5222</port>

    <!-- used when multiple servers need to communicate -->
    <s2sport>5269</s2sport>
    <secret>secret</secret>
    <listen_address>10.0.0.3</listen_address>
    <loglevel>3</loglevel>
    <logfile>/openils/var/log/osrfsys.log</logfile>
  </chopchop>

  <!-- The section between <gateway>...</gateway> is a standard OpenSRF C stack config file -->
  <gateway>

    <!-- we consider ourselves to be the "originating" client for requests,
            which means we define the log XID string for log traces -->
    <client>true</client>

    <!--  the routers's name on the network -->
    <router_name>router</router_name>

    <!-- jabber domains to connect to (domain1, domain2, ...) -->
    <domains>
      <domain>localhost</domain>
    </domains>

<!-- These are the services that the gateway will serve. 
	Any other requests will receive an HTTP_NOT_FOUND (404) 
	DO NOT put any services here that you don't want the internet to have access to
-->
    <services>
      <service>opensrf.math</service>
      <service>open-ils.cat</service>
      <service>open-ils.search</service>
      <service>open-ils.circ</service>
      <service>open-ils.actor</service>
      <service>open-ils.auth</service>
    </services>

    <!-- jabber login info -->
    <username>opensrf</username>
    <passwd>everPass</passwd>
    <port>5222</port>
    <logfile>/openils/var/log/gateway.log</logfile>
    <loglevel>3</loglevel>

  </gateway>

  <!-- ======================================================================================== -->

  <router>

    <!-- do not change -->
    <component>0</component>

    <trusted_domains>

      <!-- Trusted servers are allowed to register apps with the router -->
      <server>localhost</server>

      <!-- Trusted clients are allowed to send packets through the router -->
      <client>localhost</client>

    </trusted_domains>

    <transport>

      <!-- jabber server are we connecting to -->
      <server>localhost</server>
      <port>5222</port>

      <!-- if this is changed, all "router_name" settings 
                will need to be updated to match this setting -->
      <username>router</username>
      <password>mypassword</password>

      <!-- router's jabber resource -->
      <!-- do not change this -->
      <resource>router</resource>
      <connect_timeout>10</connect_timeout>
      <max_reconnect_attempts>5</max_reconnect_attempts>

    </transport>
    <logfile>/openils/var/log/router.log</logfile>
    <loglevel>3</loglevel>

  </router>

  <!-- ======================================================================================== -->

</config>
<?xml version="1.0"?>
<!-- This file follows the standard bootstrap config file layout found in opensrf_core.xml -->
<srfsh>
  <router_name>router</router_name>
  <domains>
    <domain>localhost</domain>
  </domains>
  <username>opensrf</username>
  <passwd>everPass</passwd>
  <port>5222</port>
  <logfile>/home/others/srfsh.log</logfile>
  <loglevel>4</loglevel>
</srfsh>

Reply via email to