Results 1 to 4 of 4

Thread: can't use freeze in IceBox

  1. #1
    dragzhb is offline Registered User
    Join Date
    Jul 2004
    Posts
    63

    can't use freeze in IceBox

    I can use freeze in normal application, but I can't use freeze in IceBox.

    The error in icebox's log is :
    Sep 13 08:49:32 tester icebox[4245]: Berkeley DB: DbEnv "/home/smsc/site/dbdata": unable to join the environment
    Sep 13 16:49:32 tester icebox[4245]: Berkeley DB: DbEnv "/home/smsc/site/dbdata": no base system shared memory ID specified

    in my log is:
    2004-09-13 GMT08:49:32 ERROR [pnote_data.cpp:31] Ice start error,error is: SharedDbEnv.cpp:352: Freeze:atabaseException:
    DbEnv:pen: Invalid argument

    what's error in IceBox?

  2. #2
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Palm Beach Gardens, FL
    Posts
    1,294
    Which OS are you using?

    If you are using a Linux with both LinuxThreads and NPTL, it could be an environment variable issue.

    Cheers,
    Bernard

  3. #3
    dragzhb is offline Registered User
    Join Date
    Jul 2004
    Posts
    63
    I am use redhat linux Advanced Server 3.0,fedora core 1 and with both LinuxThreads and NPTL, How can I set an environment variable

  4. #4
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Palm Beach Gardens, FL
    Posts
    1,294
    On a Linux with both NPTL and LinuxThreads, such as RedHat 9, each process can only use one thread package. On RedHat 9, if you set LD_ASSUME_KERNEL to 2.4.1, you'll use LinuxThreads, and if you don't set it, you'll use NPTL.

    I suspect you use (and want to use) NTPL, so check that you don't set the env variable LD_ASSUME_KERNEL anywhere, that your Berkeley DB was configured to use NPTL threads (nm libdb_cxx.so | grep pthread), and make sure to link all your libraries with -lpthread.

    You should also use Ice 1.3 or later (preferrably 1.5.1):
    http://www.zeroc.com/vbulletin/showt...=&threadid=365

    Cheers,
    Bernard

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 09-17-2010, 06:30 PM
  2. Replies: 4
    Last Post: 09-02-2010, 12:11 PM
  3. Freeze::ConnectionPtr from Freeze::Map Obj
    By paolo in forum Comments
    Replies: 1
    Last Post: 01-05-2008, 05:02 PM
  4. Icebox Freeze service error
    By xdm in forum Help Center
    Replies: 1
    Last Post: 03-07-2004, 10:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •