[OPEN-ILS-DEV] ejabberd problems

Lyons, Cyrus 2 lyonsc2 at lsbu.ac.uk
Mon Jul 14 03:40:33 EDT 2008


Dear all,

Apologies in advance if this has already been looked at, but extensive
searching hasn't yielded many results.

I'm having a number of issues after an automated install on Debian
Etch. This is actually my second install on this machine: The first
had similar problems which I assumed were due to numerous hostname
changes throughout it's life, and I figured it would be quicker to
just build the computer cleanly to get rid of any old config files and
start from scratch than to weed out the problem. Bad call,
unfortunately - having identical problems now, so perhaps a waste of
time...

The issues are as follows.

First, after the install, running the admin login command failed:
	root at evergreen:~# /openils/bin/srfsh
	srfsh# login admin open-ils
	???: login admin open-ils
	srfsh# exit

I had seen various error messages thrown during the install script
itself, but unfortunately flashing past too quickly to really take
notes.

~/srfsh.log yielded some information:
	[/*--S
osrfMessage--*/{"threadTrace":"0","type":"CONNECT"}/*--E
osrfMessage--*/]

	srfsh 2008-07-14 07:42:44 [DEBG:9022:osrf_stack.c:73:] We
received 1 messages from router at evergreen.lsbu.ac.uk/open-ils.auth
	srfsh 2008-07-14 07:42:44 [WARN:9022:osrf_stack.c:84:]  !!!
Received Jabber layer error message
	srfsh 2008-07-14 07:42:44 [WARN:9022:osrf_stack.c:94:]  *
Jabber Error is for top level remote id
[router at evergreen.lsbu.ac.uk/open-ils.auth], no one to send my message
too!!!
	srfsh 2008-07-14 07:42:44 [INFO:9022:osrf_stack.c:103:]
Message processing duration 0.000065
	srfsh 2008-07-14 07:42:44 [DEBG:9022:osrf_stack.c:106:] after
msg delete
	srfsh 2008-07-14 07:42:44 [DEBG:9022:osrf_app_session.c:554:]
AppSession in queue_wait with timeout 5
	srfsh 2008-07-14 07:42:49 [DEBG:9022:osrf_app_session.c:554:]
AppSession in queue_wait with timeout 0
	srfsh 2008-07-14 07:42:49 [WARN:9022:srfsh.c:539:] Unable to
connect to remote service open-ils.auth

I read somewhere that it'd be a good idea to clean up any reference to
'localhost' in ejabberd.cfg, openils.xml, and openils_core.xml. After
doing so, went to stop apache2, openils, and ejabberd (and then start
in reverse order), but now having problems restarting (assuming they
were really running before, which I now doubt) opensrf and apache:
	opensrf at evergreen:~$ osrf_ctl.sh -c
/openils/conf/opensrf_core.xml -a start_router
	Starting OpenSRF Router
	!!!! Unable to connect router to jabber server
evergreen.lsbu.ac.uk... exiting
	opensrf at evergreen:~$ exit
	logout
	root at evergreen:/openils/conf# /etc/init.d/ejabberd start
	Starting jabber server: ejabberd already running.

Didn't quite see the point of trying perl and c, but here goes
anyway...
	opensrf at evergreen:~$ osrf_ctl.sh -c
/openils/conf/opensrf_core.xml -a start_perl
	Starting OpenSRF Perl
	opensrf at evergreen:~$ osrf_ctl.sh -c
/openils/conf/opensrf_core.xml -a start_c
	Starting OpenSRF C (host=evergreen.lsbu.ac.uk)
	Ctrl + C

As you can see, Perl starts fine; C hangs around seemingly doing
nothing and needs me to Ctrl+C to be able to carry on. Next up,
apache:
	root at evergreen:/openils/conf# /etc/init.d/apache2 start
	Starting web server (apache2)...Syntax error on line 51 of
/etc/apache2/sites-	available/eg_vhost.conf:
	Invalid command 'XMLEntStripPI', perhaps misspelled or defined
by a module not included in the server configuration
	 failed!

I will attach opensrf.xml and opensrf_core.xml if necessary, but this
message seems long enough without, and I thought someone might have
some inspired counsel to offer.


Hopeful thanks in advance,

Cyrus

--
Email has been scanned for spam and viruses by Altman Technologies' email management service

Copyright in this email and in any attachments belongs to London South Bank University. This email, and its attachments if any, may be confidential or legally privileged and is intended to be seen only by the person to whom it is addressed. If you are not the intended recipient, please note the following: (1) You should take immediate action to notify the sender and delete the original email and all copies from your computer systems; (2) You should not read copy or use the contents of the email nor disclose it or its existence to anyone else.

The views expressed herein are those of the author(s) and should not be taken as those of London South Bank University, unless this is specifically stated.

London South Bank University is a company limited by guarantee registered in England and Wales. The following details apply to London South Bank University: Company number - 00986761; Registered office and trading address - 103 Borough Road London SE1 0AA; VAT number - 778 1116 17; Email address - lsbuinfo at lsbu.ac.uk


More information about the Open-ils-dev mailing list