[OPEN-ILS-DEV] autogen.sh creates an empty OrgTree.js

Dan Scott denials at gmail.com
Wed Apr 25 22:28:55 EDT 2007


Hi Wolfgang:

I faced this problem about a month ago and eventually beat it into submission.

What are the following values set to in your conf files?

bootstrap.conf:
What is the value of list:domains?

opensrf.xml:
What is the first element inside <hosts>?

opensrf_core.xml:
What is contained within <router>?
What is contained within <domain>?

Finally, what is the value returned by running the following command
at the command line?

perl -MNet::Domain=hostfqdn -e "print hostfqdn();"

Thanks,
Dan

On 25/04/07, Heymans, Wolfgang <Wolfgang.Heymans at bsz-bw.de> wrote:
> Houston, we have a problem:
>
> We have installed Evergreen-ILS-1.1.3 on Debian and passed the
> 'math_bench 10 0' test :-)))
>       Average round trip time: 0.003139
>
> But we failed the opac test, autogen.sh creates an empty OrgTree.js.
>
> Apparently something goes wrong with the open-ils.storage_listener.
> It seems to start, but neither 'storage_unix.log' nor
> 'storage_unix.sock' are created.
> Below you will find the output of some unix cmds I tried to locate the
> error.
> I've no idea where to look further.
>
> Hope, you can help.
>
> Regards
> Wolfgang Heymans
>
> --- start-all ---
> Starting OpenSRF Router
> Starting OpenSRF Perl
>  * Server type: Net::Server::PreFork
>  * System boostrap
>  * ...
>  * Starting UnixServer for open-ils.storage...
>  * ...
>  * Starting Listener for open-ils.storage...
>  * ...
>  * System is ready...
> Starting OpenSRF C (host=debian.bsz-bw.de)
> Loading OpenSRF host debian.bsz-bw.de with bootstrap config
> /openils/conf/opensrf_core.xml and config context opensrf
>  * ...
>  * Running application open-ils.cstore
>  * ...
>
> --- fgrep storage *.log ---
> osrfsys.log:chopchop 2007-04-25 16:54:22 [INFO:14048:osrf_chat.c:719:]
> jabber at localhost/openils.storage_listener_at_debian.bsz-bw.de_27289
> successfully logged in
> osrfsys.log:from:
> jabber at localhost/open-ils.storage_listener_at_debian.bsz-bw.de_27289
> osrfsys.log:chopchop 2007-04-25 16:54:22 [INFO:14048:osrf_chat.c:719:]
> router at localhost/open-ils.storage successfully logged in
> router.log:router 2007-04-25 16:54:22 [INFO:27246:osrf_router.c:193:]
> Registering class open-ils.storage
> router.log:router 2007-04-25 16:54:22 [INFO:27246:osrf_router.c:244:]
> Adding router node for remote id
> jabber at localhost/open-ils.storage_listener_at_debian.bsz-bw.de_27289
>
> --- ps -ef | fgrep 27289 ---
> opensrf  27289 27252  0 16:54 pts/1    00:00:00 OpenSRF listener
> [open-ils.storage]
>
> --- autogen.sh /openils/conf/bootstrap.conf ---
> Updating fieldmapper
> Updating web_fieldmapper
> Updating OrgTree
> removing OrgTree from the cache...
> Can't call method "method_lookup" on an undefined value at
> /openils/lib/perl5/OpenSRF/Application.pm line 103.
> Updating OrgTree HTML
> Can't call method "method_lookup" on an undefined value at
> /openils/lib/perl5/OpenSRF/Application.pm line 103.
> Done
> (/openils/var/web/opac/common/js/OrgTree.js is empty)
>
> --- ps -ef | fgrep 27289 ---
> opensrf  27289 27252  0 16:54 pts/1    00:00:00 [perl] <defunct>
>
> --- tail router.log ---
> router 2007-04-25 17:10:16 [INFO:27246:osrf_router.c:334:] Routing
> message:
> from: [jabber at localhost/client_at_debian.bsz-bw.de_27346]
> to:
> [jabber at localhost/opensrf.settings_listener_at_debian.bsz-bw.de_27260]
> router 2007-04-25 17:10:16 [INFO:27246:osrf_router.c:334:] Routing
> message:
> from: [jabber at localhost/client_at_debian.bsz-bw.de_27346]
> to:
> [jabber at localhost/open-ils.storage_listener_at_debian.bsz-bw.de_27289]
> router 2007-04-25 17:10:16 [INFO:27246:transport_session.c:406:]
> Received <error> message with type cancel and code 404
> router 2007-04-25 17:10:16 [INFO:27246:osrf_router.c:264:] Received
> network layer error message from
> jabber at localhost/open-ils.storage_listener_at_debian.bsz-bw.de_27289
> router 2007-04-25 17:10:16 [WARN:27246:osrf_router.c:271:] We lost the
> last node in the class, responding with error and removing...
>
> --- tail osrfsys.log ---
> chopchop 2007-04-25 17:10:16 [INFO:14048:osrf_chat.c:278:] Sending
> message on local connection
> from: jabber at localhost/client_at_debian.bsz-bw.de_27346
> to: router at localhost/open-ils.storage
> chopchop 2007-04-25 17:10:16 [INFO:14048:osrf_chat.c:278:] Sending
> message on local connection
> from: router at localhost/open-ils.storage
> to: jabber at localhost/open-ils.storage_listener_at_debian.bsz-bw.de_27289
> chopchop 2007-04-25 17:10:16 [INFO:14048:osrf_chat.c:304:] We have no
> connection for
> jabber at localhost/open-ils.storage_listener_at_debian.bsz-bw.de_27289
> chopchop 2007-04-25 17:10:16 [INFO:14048:osrf_chat.c:278:] Sending
> message on local connection
> from: router at localhost/open-ils.storage
> to: jabber at localhost/client_at_debian.bsz-bw.de_27346
>
>
>


More information about the Open-ils-dev mailing list