[OPEN-ILS-DEV] Installation issues/problems "Thanks but ...one more problem" <>;

Don McMorris don.mcmorris at gmail.com
Wed Sep 17 07:44:14 EDT 2008


Hi Thomas,

On Wed, Sep 17, 2008 at 12:45 AM, Thomas Edward <thomaedward at hotmail.com>wrote:

>
> Hi Dan,
>
> Your email was quick and a huge help. I am even more excited about Evergreen. I have one problem though:
> When I initiate the apache server (section: Starting the Web server) I get the following error message.
>
> -----------------------
> root at thomas-desktop:~# /etc/init.d/apache2 start
> * Starting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
> (98)Address already in use: make_sock: could not bind to address 0.0.0.0:443
> no listening sockets available, shutting down
> Unable to open logs
> ----------------------
>
> This indicates that you something listening on port 443 (HTTPS).  As root,
running 'netstat -anp | grep LISTEN' should show the programs listening for
connections.  Look for a line like:
 tcp        0      0 0.0.0.0:443            0.0.0.0:*
LISTEN      ####/program-name

>
>
> I have examine the following flies for clues:
> /etc/apache2/sites-available/eg.conf
> /etc/apache2/eg_vhost.conf
> /etc/apache2/startup.pl
> /openils/conf/opensrf_core.xml
> /openils/conf/opensrf.xml
>
> Also, why is the IP address given as 127.0.1.1 and not 127.0.0.1?
>
> This is a Debian thing.  In reality, every IP beginning with 127 (IE:
127.0.0.0-127.255.255.255) is the same (loopback).  That particular about
"Unable to reliably determine fully qualified domain name" can be ignored.

>
> -----------------
>
>
> note also the outputfor the fqdn:
> root at thomas-desktop:/etc/apache2/sites-available# perl -MNet::Domain -e 'print Net::Domain::hostfqdn();'
> thomas-desktop.uwichill.edu.bb
> ------------------
>
> which is the same as is in the /openils/conf/opensrf.xml file.
>
> Were you able to start OpenSRF services OK? It's important to note the
distinction between the opensrf services and the apache web server.  the
/openils/conf stuff refers to the opensrf services, and /etc/apache2 stuff
refers to the apache stuff.  From this level, they are pretty independent
(they communicate at an application level, but are independent at this
stage).

--Don


>
>
> Anxiously waiting your response.
>
> Thomas
>
>
> Thomas
>
>
> "Rebirth, renew, Starting a new Life."
>
>
>
> ----------------------------------------
> > Date: Sun, 14 Sep 2008 20:23:28 -0400
> > From: denials at gmail.com
> > To: open-ils-dev at list.georgialibraries.org
> > Subject: Re: [OPEN-ILS-DEV] Installation issues/problems
> >
> > Hi Thomas:
> >
> > 2008/9/14 Thomas Edward :
> >>
> >> Hi,
> >>
> >> I have installed Evergreen server on Ubuntu 7.10 and have followed all the instructions on http://open-ils.org/dokuwiki/doku.php?id=installing_evergreen_1.2_on_ubuntu_7.10. I have a small lab with four machines whic dual boot Windows Vista and Linux Unbuntu 7.10. This is a exercise for me but I'd like to demo to the local library.
> >>
> >> Issue #1.
> >> When I run instruction 2 (i) under "Starting Evergreen" I get the following error message.
> >>
> >> root at thomas-desktop:/home/thomas# su opensrf
> >> opensrf at thomas-desktop:/home/thomas$ osrf_ctl.sh -c /openils/conf/opensrf_core.xml -a start_router
> >> Starting OpenSRF Router
> >> !!!! Unable to connect router to jabber server localhost... exiting
> >
> > I think this is the big problem - it's mirrored by the error that you
> > got in settings-tester.pl.
> >
> > Checking opensrf_core.xml, you have two different passwords for the
> > "opensrf" Jabber user - "mypass" and "mypassword". These passwords
> > have to be correct so that the opensrf Jabber user can connect to
> > Jabber and talk to the router Jabber user
> >
> >> Issue #2
> >> Quote from instruction document: Instruction 17 (ii)
> >> Change the name of the child element of the element in opensrf.xml from ... to match the fully-qualified domain name of your server. For example, if the fully-qualified domain name of your server is "evergreen.rocks.com":
> >>
> >> I have run the instruction> perl -MNet::Domain -e 'print Net::Domain::hostfqdn()
> >>
> >> but get this output:
> >> root at thomas-desktop:/home/opensrf/Evergreen-ILS-1.2.2.3/Open-ILS/src/support-scripts# perl -MNet::Domain -e 'print Net::Domain::hostfqdn()
> >>>
> >>>What do you think the problem might be?
> >
> > You're missing the ending semicolon-singlequote characters for the
> > command; it should be:
> >
> > perl -MNet::Domain -e 'print Net::Domain::hostfqdn();'
> >
> >
> >> Issue #3
> >> I have executed the file Open-ILS/src/support-scripts/settings-tester.pl and haveattached the results for your analysis. Teh file is called "settings-tester-results".
> >
> > The list of Perl modules shows that Net::Z3950::ZOOM wasn't installed
> > successfully, probably because indexdata's test server is still down.
> > See http://list.georgialibraries.org/pipermail/open-ils-general/2008-August/000838.html
> > for details and a workaround. You won't need this until you get the
> > staff client running, though, so no rush.
> >
> > We also see the failure to connect to the Jabber router, which I
> > covered in issue 1.
> >
> >> Issue #4
> >> Quote from instruction document:Section "Testing connections to Evergreen"
> >> " Once you have installed and started Evergreen, test your connection to Evergreen via srfsh: "
> >>
> >> question: Must I run this as root, as opensrf or as thomas at thomas-desktop:/$ ?
> >
> > You can run this as any user that has .srfsh.xml set up in their home directory.
> >
> >> Issue #5:
> >> I am not clear on instruction # 19.
> >> Copy /openils/conf/srfsh.xml.example to .srfsh.xml in the home directory of each user you want to use to run the srfsh command line client for testing OpenSRF, and edit .srfsh.xml as follows: "
> >>
> >> Must this file be copied to the /home/opensrf directory?
> >
> > You can copy the configuration file to the home directory of any user.
> > I often have /home/opensrf/.srfsh.xml and /home/dan/.srfsh.xml both
> > set up so that I don't have to switch users just to run some srfsh
> > commands.
> >
> >> Issue #6 Attachments
> >> I have also included the following files as attachments: opensrf.xml, opensrf_core.xml
> >
> > Very helpful in diagnosing the problem - thanks!
> >
> > Let us know what happens. Hopefully once you work out the Jabber
> > username/password problem, everything else will fall into place.
> >
> > --
> > Dan Scott
> > Laurentian University
>
>
> ------------------------------
> Invite your mail contacts to join your friends list with Windows Live
> Spaces. It's easy! Try it!<http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.georgialibraries.org/pipermail/open-ils-dev/attachments/20080917/e4e19203/attachment-0001.html


More information about the Open-ils-dev mailing list