#29 Aolserver dies on startup

aolserver3_4
closed-works-for-me
5
2002-10-19
2002-10-19
No

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?

Discussion

  • Dossy Shiobara

    Dossy Shiobara - 2002-10-19

    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?

     
  • Dossy Shiobara

    Dossy Shiobara - 2002-10-19

    Logged In: YES
    user_id=21885

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

    -- Dossy

     
  • Chris Bowlby

    Chris Bowlby - 2002-10-19

    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...

     
  • Dossy Shiobara

    Dossy Shiobara - 2002-10-19

    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

     
  • Chris Bowlby

    Chris Bowlby - 2002-10-19

    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.

     
  • Chris Bowlby

    Chris Bowlby - 2002-10-19

    Logged In: YES
    user_id=210758

    We are using PostgreSQL as our database server..

     
  • Dossy Shiobara

    Dossy Shiobara - 2002-10-19

    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

     
  • Dossy Shiobara

    Dossy Shiobara - 2002-10-19

    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

     
  • Chris Bowlby

    Chris Bowlby - 2002-10-19
    • status: open --> closed-works-for-me
     
  • Chris Bowlby

    Chris Bowlby - 2002-10-19

    Logged In: YES
    user_id=210758

    I was able to get it working after rebuild both the pgdriver
    and aolserver with the additional modules that I needed to
    patch in. Thanks for the help, but for some reason I think a
    dependent library got hosed somewhere, rebuilding aolserver
    has attatched the dependency to the new library (which ever
    it is :>)..

    thanks for the help.

     
  • Dossy Shiobara

    Dossy Shiobara - 2002-10-19

    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

     
  • Dossy Shiobara

    Dossy Shiobara - 2002-10-19
    • status: closed-works-for-me --> open-works-for-me
     
  • Dossy Shiobara

    Dossy Shiobara - 2002-10-19

    Logged In: YES
    user_id=21885

    Crap, sometimes I really hate SourceForge. Hitting refresh posted my
    last comment, grr.

    Chris, I just wanted to let you I'm glad we were able to resolve the
    issue. While I'm curious as to what changed, it's really irrelevant.

    Open another ticket if you run into other problems,

    -- Dossy

     
  • Dossy Shiobara

    Dossy Shiobara - 2002-10-19
    • assigned_to: nobody --> dossy
    • status: open-works-for-me --> closed-works-for-me
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks