Support Requests item #625689, was opened at 2002-10-19 15:05
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=203152&aid=625689&group_id=3152

Category: Configuration: Other
Group: aolserver3_4
Status: Open
Resolution: None
Priority: 5
Submitted By: Chris Bowlby (morthoron)
Assigned to: Nobody/Anonymous (nobody)
Summary: Aolserver dies on startup

Initial Comment:
Hi All,

 Ok, I've got an AOlserver/OpenACS server that has been
working for a fairly desent amount of time, which out
issue. However, this weekend she died rather suddenly
and I have not been able to restart with out it
crashing.

 I have fiddled with the stacksize value to the point
of even setting it to [4096x1024] but she still dies
with out any warning (last long enought to attempt to
spawn out the secondary process and dies)...

 The server is not running close to running out of
memoery (4 gigs in place at this time), the log file
shows she's connecting to the database, doing some
queries but she dies right after executing this query:

 [19/Oct/2002:18:57:58][42374.135335936][-main-]
Notice: dbinit:
sql(db.mydomain.net:5435:database_name): '
        select distinct package_key
        from apm_package_versions
        where enabled_p='t'
    '

 That is the last thing displayed in the log file.
I've done some extensive tracing on the log file and do
not find anything other then one warning about ns_share
(which as far as I can tell is not being used
anywhere).

 Anyone have any ideas? should I be upgrading to
aolserver 3.5?

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

>Comment By: Dossy Shiobara (dossy)
Date: 2002-10-19 16:01

Message:
Logged In: YES
user_id=21885

We seem to be talking past each other here.  Heh.

Well, think about what things have changed, system-wide, in
the recent past.  Then, I'd just recommend you try recompiling
AOLserver and the various modules and database drivers
that you use.  Take backups of everything beforehand, just
in case.

Then, see if the problem goes away.

If not, I'd suggest running nsd under gdb and see exactly where
it croaks.

-- Dossy


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

Comment By: Dossy Shiobara (dossy)
Date: 2002-10-19 15:59

Message:
Logged In: YES
user_id=21885

You haven't said, but I'm assuming you're using PostgreSQL instead of
Oracle.  Correct me if I'm wrong.

Did you recently upgrade your database?  What's changed in the time
between when it was working fine and when it started misbehaving?

My first thought is to recompile the database driver.  You can use the
same source that you originally built it with.  I'd just want to make sure
that it get rebuilt and relinked in case any system libraries have
changed.

-- Dossy


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

Comment By: Chris Bowlby (morthoron)
Date: 2002-10-19 15:59

Message:
Logged In: YES
user_id=210758

We are using PostgreSQL as our database server..

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

Comment By: Chris Bowlby (morthoron)
Date: 2002-10-19 15:54

Message:
Logged In: YES
user_id=210758

Hi Dossy,

 ns_section "ns/db/drivers"
if { $database == "oracle" } {
    ns_param   ora8            ${bindir}/ora8.so
} else {
    ns_param   postgres        ${bindir}/postgres.so  ;#
Load PostgreSQL driver
}

 The source was from ports, but was patched to use some
additional modules used by OpenACS 4 before it was
recompiled/installed.

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

Comment By: Dossy Shiobara (dossy)
Date: 2002-10-19 15:48

Message:
Logged In: YES
user_id=21885

I forgot to ask for the ns/db/drivers section, too.  Can you include that?

You're running AOLserver 3.4.x ... was that built from source gotten from
aolserver.com, or did you grab it from the ports collection?

-- Dossy


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

Comment By: Chris Bowlby (morthoron)
Date: 2002-10-19 15:44

Message:
Logged In: YES
user_id=210758

Hi Dossy,

 Thanks for responding as quickly as you did..

 The modules section:

ns_section ns/server/${server}/modules
ns_param   nssock          ${bindir}/nssock.so
ns_param   nslog           ${bindir}/nslog.so
ns_param   nssha1          ${bindir}/nssha1.so
ns_param   nscache         ${bindir}/nscache.so
ns_param   nsrewrite       ${bindir}/nsrewrite.so
ns_param   nsxml           ${bindir}/nsxml.so

 And the os specific version is as follows:

 We are using FreeBSD 4.7-Stable at this time on an Dual
intel 1.2 Ghz, with 4 Gigs of RAM, 100 GBytes disk in
hardware RAID 5...

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

Comment By: Dossy Shiobara (dossy)
Date: 2002-10-19 15:35

Message:
Logged In: YES
user_id=21885

Also, what platform/OS/version are you running this on?

-- Dossy



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

Comment By: Dossy Shiobara (dossy)
Date: 2002-10-19 15:34

Message:
Logged In: YES
user_id=21885

Chris,

What modules are being loaded?  Can you include the entire ns/server/
${server_name}/modules section of your nsd.tcl on this ticket?




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

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=203152&aid=625689&group_id=3152

Reply via email to