[OPEN-ILS-DEV] Still receiving no data from the server

Ortega, Anthony Anthony.Ortega at ci.austin.tx.us
Thu Jan 20 09:13:15 EST 2011


Message: 2
Date: Tue, 18 Jan 2011 19:07:13 -0500
From: Dan Scott <dan at coffeecode.net>
Subject: Re: [OPEN-ILS-DEV] Still receiving no data from the server
To: Evergreen Development Discussion List
	<open-ils-dev at list.georgialibraries.org>
Message-ID: <20110119000713.GA26738 at dbs.denials>
Content-Type: text/plain; charset=us-ascii

On Tue, Jan 18, 2011 at 02:17:35PM -0600, Ortega, Anthony wrote:
> I posted this last week and only received one response. I reinstalled
> again over the weekend and had the same outcome:
> 
> . I followed the instructions exactly and receive no errors when I
start
> the services. The problem comes when I try to send a request to the
> framework:

Hi Antony:

It's pretty rare these days that someone actually follows the
instructions exactly and fails to get a running OpenSRF.

To help us help you, can you:

1) Tell us what Linux distribution (and version, and bitness, and
anything else that might be unusual such as running on an EC2 instance)
you're running on

-- UBUNTU 10.04.1 LTS

2) Link to the install documentation that you're following so we're in
sync
--http://www.open-ils.org/dokuwiki/doku.php?id=opensrf:1.6:install

3) Note if there are any errors in other logs (grep ERR
/openils/var/log/*log)
// begin logs 
/openils/var/log/osrfsys.log:opensrf 2011-01-13 13:09:07 [ERR
:19378:osrf_system.c:401:] Child process 19379 (app opensrf.math) killed
by signal 15
/openils/var/log/osrfsys.log:opensrf 2011-01-13 14:02:11 [ERR
:19470:osrf_system.c:401:] Child process 19472 (app opensrf.dbmath)
killed by signal 15
/openils/var/log/osrfsys.log:opensrf 2011-01-13 14:03:37 [ERR
:20037:osrf_system.c:401:] Child process 20039 (app opensrf.dbmath)
killed by signal 15
/openils/var/log/osrfsys.log:opensrf 2011-01-13 14:11:13 [ERR
:20135:osrf_settings.c:117:] No osrfMessage received from host localhost
(timeout?)
/openils/var/log/osrfsys.log:opensrf 2011-01-13 14:11:13 [ERR
:20135:osrf_settings.c:136:] Unable to load config for host localhost
/openils/var/log/osrfsys.log:opensrf 2011-01-13 14:11:13 [ERR
:20135:osrf_system.c:240:] Unable to retrieve settings for host
localhost from configuration file /openils/conf/opensrf_core.xml
/openils/var/log/osrfsys.log:opensrf 2011-01-13 14:11:13 [ERR
:20135:opensrf.c:38:] Server Loop returned an error condition, exiting
with -1
/openils/var/log/osrfsys.log:opensrf 2011-01-14 08:03:59 [ERR
:22378:osrf_settings.c:117:] No osrfMessage received from host localhost
(timeout?)
/openils/var/log/osrfsys.log:opensrf 2011-01-14 08:03:59 [ERR
:22378:osrf_settings.c:136:] Unable to load config for host localhost
/openils/var/log/osrfsys.log:opensrf 2011-01-14 08:03:59 [ERR
:22378:osrf_system.c:240:] Unable to retrieve settings for host
localhost from configuration file /openils/conf/opensrf_core.xml
/openils/var/log/osrfsys.log:opensrf 2011-01-14 08:03:59 [ERR
:22378:opensrf.c:38:] Server Loop returned an error condition, exiting
with -1
/openils/var/log/osrfsys.log:opensrf 2011-01-14 08:04:15 [ERR
:20095:osrf_system.c:401:] Child process 20096 (app opensrf.math) killed
by signal 15
/openils/var/log/osrfsys.log:opensrf 2011-01-14 08:05:25 [ERR
:22402:osrf_settings.c:117:] No osrfMessage received from host
APLUBUNTU.coacd.org (timeout?)
/openils/var/log/osrfsys.log:opensrf 2011-01-14 08:05:25 [ERR
:22402:osrf_settings.c:136:] Unable to load config for host
APLUBUNTU.coacd.org
/openils/var/log/osrfsys.log:opensrf 2011-01-14 08:05:25 [ERR
:22402:osrf_system.c:240:] Unable to retrieve settings for host
APLUBUNTU.coacd.org from configuration file
/openils/conf/opensrf_core.xml
/openils/var/log/osrfsys.log:opensrf 2011-01-14 08:05:25 [ERR
:22402:opensrf.c:38:] Server Loop returned an error condition, exiting
with -1
// end logs
4) Send us your /etc/hosts, /openils/conf/opensrf_core.xml,
/openils/conf/opensrf.xml, and /openils/var/log/osrfsys.log files (or
better, post them to a server somewhere where we can poke at them as the
list has an annoying habit of stripping out attachments).
-- we are behind a firewall so you cant rach the server.

Then we'll have a better chance of being able to help you out.

Also, you'll often find people willing and able to help out in realtime
on the #evergreen IRC channel on the Freenode network.

Dan


------------------------------

Message: 3
Date: Wed, 19 Jan 2011 09:48:26 -0500
From: Jason Stephenson <jstephenson at mvlc.org>
Subject: Re: [OPEN-ILS-DEV] Planning for Evergreen development, post
	2.0
To: open-ils-dev at list.georgialibraries.org
Message-ID: <20110119094826.64973piq6e0hki2o at mail.mvlc.org>
Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes";
	format="flowed"

Here's a small suggestion related to Galen's permission.perm_list  
suggestion from yesterday:

   * Eliminate the superuser flag from actor.usr.

     The EVERYTHING permission renders it redundant, since granting  
the EVERYTHING
     permission at the consortium depth has the same effect.

     Removing explicit checks for superuser from the permissions code  
will simplify
     permissions checking. Since we'll only have to check to check for  
the relevant
     permission and the EVERYTHING permission. The separate checks to  
see if the
     user is a superuser can be eliminated.

     Development impact: Should me moderate to minor depending on the
number of
     places where permission checks are done. If done as part of a  
general overhaul
     of permissions code, then the impact on development would be
negligible in
     comparison to the overhaul work.

     User impact: Should be transparent if the upgrade script grants the
proper
     permission to all superusers.




------------------------------

Message: 4
Date: Wed, 19 Jan 2011 08:51:47 -0600
From: "Ortega, Anthony" <Anthony.Ortega at ci.austin.tx.us>
Subject: [OPEN-ILS-DEV] Still receiving no data from the serve
To: <open-ils-dev at list.georgialibraries.org>
Message-ID:
	<1C428BDEE2C6934AAAF8618C5594B0780496B959 at COAEVS3.coacd.org>
Content-Type: text/plain; charset="us-ascii"

I posted this last week and only received one response. I reinstalled
again over the weekend and had the same outcome:

 

 I followed the instructions exactly and receive no errors when I start
the services. The problem comes when I try to send a request to the
framework:

 

opensrf at APLUBUNTU:~$ /openils/bin/srfsh

srfsh# request opensrf.math add 2 2

 

Received no data from server

 

------------------------------------

Request Time in seconds: 120.100185

------------------------------------

 

This is what I am seeing in the LOG:

 

srfsh 2011-01-14 08:14:21 [INFO:22472:osrf_system.c:628:] Bootstrapping
system with domain private.localhost, port 5222, and unixpath (none)
srfsh 2011-01-14 08:14:30 [DEBG:22472:osrf_app_session.c:486:]
opensrf.math session is stateless srfsh 2011-01-14 08:14:30
[DEBG:22472:osrf_app_session.c:497:] Building a new client session with
id [opensrf.math] [1295014470.700547.129501447022472]

srfsh 2011-01-14 08:14:30
[DEBG:22472:osrf_app_session.c:1044:1295014461224720] AppSession in
queue_wait with timeout 0 srfsh 2011-01-14 08:14:30
[DEBG:22472:osrf_app_session.c:759:1295014461224720] App Session
[opensrf.math] [1295014470.700547.129501447022472] resetting remo$ srfsh
2011-01-14 08:14:30 [INFO:22472:osrf_app_session.c:991:1295014461224720]
[opensrf.math] sent 152 bytes of data to
router at private.localhost/opensrf.math

srfsh 2011-01-14 08:14:30
[DEBG:22472:osrf_app_session.c:994:1295014461224720] Sent:
[{"__c":"osrfMessage","__p":{"threadTrace":"1","locale":"en-US","type":$

srfsh 2011-01-14 08:14:30
[DEBG:22472:osrf_app_session.c:714:1295014461224720] Pushing [1] onto
request queue for session [opensrf.math] [1295014470.700547.$ srfsh
2011-01-14 08:14:30 [DEBG:22472:osrf_app_session.c:275:1295014461224720]
In app_request receive with remaining time [120] srfsh 2011-01-14
08:14:30 [DEBG:22472:osrf_app_session.c:1044:1295014461224720]
AppSession in queue_wait with timeout 0 srfsh 2011-01-14 08:14:30
[DEBG:22472:osrf_app_session.c:1044:1295014461224720] AppSession in
queue_wait with timeout 120 srfsh 2011-01-14 08:16:30
[DEBG:22472:osrf_app_session.c:275:1295014461224720] In app_request
receive with remaining time [0] srfsh 2011-01-14 08:16:30
[DEBG:22472:osrf_app_session.c:1044:1295014461224720] AppSession in
queue_wait with timeout 0 srfsh 2011-01-14 08:16:30
[DEBG:22472:osrf_app_session.c:1044:1295014461224720] AppSession in
queue_wait with timeout 0 srfsh 2011-01-14 08:16:30
[INFO:22472:osrf_app_session.c:336:1295014461224720] Returning NULL from
app_request_recv after timeout: add [2,2] srfsh 2011-01-14 08:16:30
[DEBG:22472:osrf_app_session.c:1063:1295014461224720] AppSession
[opensrf.math] [1295014470.700547.129501447022472] destroying sel$

 

I get no errors when starting the server and it seems to be running when
the request is being made.

ejabberd 10741     1  0 Jan13 ?        00:00:00
/usr/lib/erlang/erts-5.7.4/bin/epmd -daemon

ejabberd 20873     1  0 Jan13 ?        00:00:04
/usr/lib/erlang/erts-5.7.4/bin/beam -K false -P 250000 -- -root
/usr/lib/erlang -progname erl -- -home /var/lib/ejabberd -- -sname
ejabberd -pa /usr/lib/ejabberd/ebin -s ejabberd -kernel inetrc
"/etc/ejabberd/inetrc" -ejabberd config "/etc/ejabberd/ejabberd.cfg"
log_path "/var/log/ejabberd/ejabberd.log" -sasl sasl_error_logger
{file,"/var/log/ejabberd/erlang.log"} -mnesia dir "/var/lib/ejabberd"
-smp disable -noshell -noshell -noinput

opensrf  22772 22337  0 10:01 pts/0    00:00:00 grep --color=auto
ejabberd

 

 

 

 

 

nobody   21047     1  0 Jan13 pts/1    00:00:01 /usr/bin/memcached -m 64
-p 11211 -u nobody -l 127.0.0.1

opensrf  22775 22337  0 10:02 pts/0    00:00:00 grep --color=auto
memcached

 

 

 

 

Anthony Ortega

Austin Public Library

(512)974-7378

Anthony.Ortega at ci.austin.tx.us

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/2
0110119/67ee127a/attachment.htm 

End of Open-ils-dev Digest, Vol 58, Issue 27
********************************************


More information about the Open-ils-dev mailing list