[OPEN-ILS-GENERAL] Help with Error

Mereeotlhe Sabata MereeotlheS at dwa.gov.za
Wed Dec 1 03:25:22 EST 2010


I also just noticed that when I run http://localhost on my guest server
it runs just fine and locates the home page

-----Original Message-----
From: Mereeotlhe Sabata 
Sent: 01 December 2010 10:18 AM
To: 'Evergreen Discussion Group'
Subject: RE: [OPEN-ILS-GENERAL] Help with Error

Hey DBS how are you small world indeed, I though I should try other
support options because it seemed everyone is only around when it is my
time to leave, regardless thank you again for responding

To get back at what you were asking in you email below, No. 2 is correct
I restarted the machine without stopping the services first, no I know I
must first switch off the services before stopping and also no
configuration during installation

So how it went after following your suggestions below, it went good, 

1. I stopped the services and they told me they not running
2. I checked the SettingClient.pm file and the fixes were still inplace
3. I started the services using the command you gave me to use and
everything started nicely no issues
4. I went on to the autogen -u command and surprisingly it started with
no issues
5. I compressed the log files (see attached)
6. I ran the srfsh command and did the login command and did a math add
2 2 thing and it worked like a bomb
7. I exit the srfsh prompt
8. Opened my evergreen client on my windows xp host
9. typed my server name and clicked re-test and said status & version
200: OK
10. typed the default admin username and open-ils password and popped up
the below error

--start--
Network or server failure.  Please check your Internet connection to
undefined 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.authenticate.init
params=["admin"]
THROWN:
Network Failure: status = 404
service=open-ils.auth&method=open-ils.auth.authenticate.init&param=%22ad
min%22
STATUS:
404
--end--

The other strange thing I just noticed is when typing my url to the
online catalog it only shows me folders, the page I used to see is not
there, see attached

Another thing you said my log file looks a bit dodgy for a startup
script, I must confess yesterday when trying to start the services they
told me they are already running so I moved on to the next command

Regards,
Sabata

-----Original Message-----
From: open-ils-general-bounces at list.georgialibraries.org
[mailto:open-ils-general-bounces at list.georgialibraries.org] On Behalf Of
Dan Scott
Sent: 01 December 2010 05:08 AM
To: Evergreen Discussion Group
Subject: Re: [OPEN-ILS-GENERAL] Help with Error

Hi Mereeothlhe:

On Tue, Nov 30, 2010 at 09:38:14AM +0200, Mereeotlhe Sabata wrote:
> I am new to this group and evergreen and not quite sure how it works,
I
> have been sending emails but no response, please if someone gets this
> email, please help
 
Message received. 

Your initial message might have been held up for a little while by the
mailing list; not sure about that.
  
> I have followed the server install instruction on the evergreen site
and
> also the opensrf page, I have received help from several people but no
> luck, but I made a change yesterday that allowed my error to go away,
my
> problem was I have trying to start the evergreen server but whenever I
> started the autogen -c file it stops whit a error when it reaches
> "Updating locales selection menu", the last guy hinted that the
language
> thing is not working at its best, so I deleted from the database the

Right... well actually what I said on IRC was that the system assumes
that
en-US is installed and available, so when you deleted en-US from the
database list of languages you exposed that fundamental assumption. My
suggestion in the future would be to start by getting the default system
working out of the box, and then slowly start to make configuration
changes one by one, rather than making configuration changes before
you've even started the system for the first time.

> en-GB option I had wanted to use and only left one language in the
> database and then it just started working. I went ahead and restarted

Going back to the IRC logs for that discussion
(http://evergreen-ils.org/irc_logs/evergreen/2010-11/%23evergreen.26-Fri
-2010.log)
there was one other thing that we did - I had you edit
/usr/local/share/perl/5.10.1/OpenSRF/Utils/SettingsClient.pm to change
lines 84 and 90 from "timeout => 10" to "timeout => 120" to address the
mysterious routing issue that some people seem to run into. Then I had
you restart the OpenSRF services and try "autogen.sh -u" one more time
(this time with luck).

> the server and now this morning I have a new error, please see
attached
> for the lastest error log and config files attached

Did you by any chance:

1) Reinstall OpenSRF and wipe out the changes to SettingsClient.pm or
2) Shut down the server without first stopping the OpenSRF services?

If 1, then you need to restore the longer timeout sessions to
SettingsClient.pm and restart the OpenSRF services.

If 2, then you need to remove the PID files that OpenSRF uses to track
its processes and then start it up again. Use the "ps" command to ensure
that no OpenSRF processes are running, then "rm -f
/openils/var/run/*pid" to clean out the PID files, then start the
OpenSRF
services again.

Also, is that your complete osrfsys.log? It seems like it's missing a
lot of content that I would expect from a normal startup process.


DISCLAIMER:
This message and any attachments are confidential and intended solely for the addressee. If you have received this message in error, please notify the system manager/sender.  Any unauthorized use, alteration or dissemination is prohibited.  The Department of Water Affairs and Forestry further accepts no liability whatsoever for any loss, whether it be direct, indirect or consequential, arising from this e-mail, nor for any consequence of its use or storage.


More information about the Open-ils-general mailing list