[OPEN-ILS-GENERAL] Regarding apache2 virtualhost

Dibyendra Hyoju dibyendra at gmail.com
Fri Jun 12 07:23:58 EDT 2009


Hi Dan,

Thanks for the response!

Deleting the line "Listen 443" from "eg.conf" has now fixed the errors. And,
Apache2 started successfully. However, the staff-client is generating an
error stating "network or server failuer". I have attached the result with
this email.

I look forward to hearing from you.

WIth best regards,
Dibyendra

Date: Wed, 10 Jun 2009 21:47:15 -0400
> From: Dan Scott <denials at gmail.com>
> Subject: Re: [OPEN-ILS-GENERAL] Regarding apache2 virtualhost
> To: Evergreen Discussion Group
>        <open-ils-general at list.georgialibraries.org>
> Message-ID:
>        <fbb0d11d0906101847s3ca7a02end178662af17a53f2 at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> 2009/6/9 Dibyendra Hyoju <dibyendra at gmail.com>:
> > Hello everyone:
> >
> > I am facing some problems regarding virtual hosts. I have completed all
> the
> > steps of Evergreen 1.4 installation on Debian-lenny. Now, after running
> the
> > "settings_tester.pl", there are no errors reported. Also, the testing the
> > Evergreen connections through srfsh was successful. Staff-client also
> > executed successfully using xulrunner. The only problem that I am facing
> > right now is while starting apache web server. After enabling the eg.conf
> > using a2ensite eg.conf, I am getting errors while starting apache2.
> >
> > dibyendra:/home/opensrf/Evergreen-ILS-1.4.0.4# a2dissite default
> > dibyendra:/home/opensrf/Evergreen-ILS-1.4.0.4# a2ensite eg.conf
> > dibyendra:/home/opensrf/Evergreen-ILS-1.4.0.4# /etc/init.d/apache2
> restart
> > Restarting web server: apache2apache2: Could not reliably determine the
> > server's fully qualified domain name, using 127.0.1.1 for ServerName
> > [Tue Jun 09 13:34:23 2009] [warn] NameVirtualHost *:80 has no
> VirtualHosts
> > apache2: Could not reliably determine the server's fully qualified domain
> > name, using 127.0.1.1 for ServerName
> > [Tue Jun 09 13:34:23 2009] [warn] NameVirtualHost *:80 has no
> VirtualHosts
> > (98)Address already in use: make_sock: could not bind to address [::]:443
> >
> > The line "Listen 443" is declared in ports.conf and eg.conf as well.
> > Deleting this line in any of the file will only remove the last line of
> the
> > above errors, but the Evergreen installation tutorial suggest that debian
> > user must not delete this line.
>
> Hmm, perhaps the instructions were correct for Debian Etch but wrong
> for Debian Lenny? In any case, you definitely need to remove "Listen
> 443" from one of those locations.
>
> The first four messages ("Could not reliably determine..." and "[warn]
> NameVirtualHost...") are just information / warnings that you can
> ignore.
>
> > Anyway, the apache2 server is not starting
> > because of the above errors although the virtualhost for both port 80 and
> > 443 are defined on eg.conf.
> >
> > I hope some of you have already faced this kind of error. I would be
> > thankful if anyone could help me resolve this problem. This will help me
> to
> > move ahead to test the Evergreen 1.4 by importing our library records.
> >
> > Thanks in advance!
>
> So -- remove "Listen 443" from one of the files and you should be able
> to start Apache and move on. It sounds like you're in pretty good
> shape! Sorry for the delay in responding!
>
> --
> Dan Scott
> Laurentian University
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20090612/a7225e4d/attachment.htm 
-------------- next part --------------
Network or server failure.  Please check your Internet connection to localhost and choose Retry Network.  If you need to enter Offline Mode, choose Ignore Errors in this and subsequent dialogs.  If you believe this error is due to a bug in Evergreen and not network problems, please contact your help desk or friendly Evergreen administrators, and give them this information:
method=open-ils.auth.session.retrieve
params=["411813eff3b5e1edbdd09067325ef2fc"]
THROWN:
{"message":"au is not defined","fileName":"http://localhost/opac/common/js/JSON_v1.js","lineNumber":46,"stack":"decodeJS([object Object])@http://localhost/opac/common/js/JSON_v1.js:46\ndecodeJS([object Object])@http://localhost/opac/common/js/JSON_v1.js:46\n([object Array],0)@http://localhost/opac/common/js/JSON_v1.js:58\njsIterate([object Array],(function (o, i) {o[i] = decodeJS(o[i]);}))@http://localhost/opac/common/js/JSON_v1.js:24\ndecodeJS([object Array])@http://localhost/opac/common/js/JSON_v1.js:57\n([object Object],\"payload\")@http://localhost/opac/common/js/JSON_v1.js:58\njsIterate([object Object],(function (o, i) {o[i] = decodeJS(o[i]);}))@http://localhost/opac/common/js/JSON_v1.js:28\ndecodeJS([object Object])@http://localhost/opac/common/js/JSON_v1.js:57\nJSON2js(\"{\\\"payload\\\":[{\\\"__c\\\":\\\"au\\\",\\\"__p\\\":[null,null,null,null,null,null,null,null,null,null,null,null,\\\"1\\\",null,\\\"t\\\",null,\\\"f\\\",null,1,0,\\\"2009-06-03T13:01:55+0545\\\",\\\"0.00\\\",null,\\\"1979-01-22T00:00:00+0530\\\",null,null,\\\"2012-06-03T13:01:55+0545\\\",\\\"System Account\\\",\\\"Administrator\\\",1,1,1,null,\\\"identification\\\",null,\\\"none\\\",null,\\\"t\\\",1,null,\\\"\\\",null,null,1,null,1,null,\\\"t\\\",1,\\\"admin\\\",null,\\\"f\\\"]}],\\\"status\\\":200}\")@http://localhost/opac/common/js/JSON_v1.js:9\n()@http://localhost/opac/common/js/RemoteRequest.js:319\n([object Object])@http://localhost/xul/rel_1_4_0_4/server/main/JSAN.js:250\n(\"open-ils.auth\",\"open-ils.auth.session.retrieve\",[object Array],[object Object],undefined,[object Object])@http://localhost/xul/rel_1_4_0_4/server/main/JSAN.js:379\n(\"open-ils.auth\",\"open-ils.auth.session.retrieve\",[object Array],undefined,undefined,[object Object])@http://localhost/xul/rel_1_4_0_4/server/main/JSAN.js:362\n(\"open-ils.auth\",\"open-ils.auth.session.retrieve\",[object Array],undefined,undefined,[object Object])@http://localhost/xul/rel_1_4_0_4/server/main/JSAN.js:277\n(\"FM_AU_RETRIEVE_VIA_SESSION\",[object Array])@http://localhost/xul/rel_1_4_0_4/server/main/JSAN.js:239\nwsinfo_init()@http://localhost/xul/rel_1_4_0_4/server/main/ws_info.xul:44\nonload([object Event])@http://localhost/xul/rel_1_4_0_4/server/main/ws_info.xul:1\n@:0\n","name":"ReferenceError"}
STATUS:


More information about the Open-ils-general mailing list