Results 1 to 5 of 5

Thread: Starting IceStorm

  1. #1
    mmorckos is offline Registered User
    Name: Michael Morckos
    Organization: University of Waterloo
    Project: Distributed multi-robot control framework
    Join Date
    Dec 2011
    Posts
    13

    Starting IceStorm

    Hello,

    I'm trying to start the IceStorm service and I keep getting this error:

    !! 01/10/12 21:38:03.981 icebox: error: ServiceManager: exception while starting service IceStorm:
    FileUtil.cpp:461: IceUtil::FileLockedException:
    could not lock file: `IceStorm/__Freeze/lock'

    I understand that it's a lock for the DB used by IceStorm to maintain its state. I searched around but I'm unable to find a similar case.

    Regards,
    Michael

  2. #2
    xdm's Avatar
    xdm
    xdm is online now ZeroC Staff
    Name: Jose Gutierrez de la Concha
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Sep 2003
    Location
    La Coruņa, Spain
    Posts
    588
    Hi Michael

    Seems to me that the problem is that the IceStorm Freeze database directory does not exists, or the user has not permission to read/write it. When IceStorm try to create the lock file it report the problem. Note that if you are using relative paths that is relative to the directory from where you start IceStorm.

    I can easy reproduce that behavior by starting IceStorm with a non existent database directory.

    Code:
    clock $ /opt/Ice-3.4.2/bin/icebox --Ice.Config=config.icebox
    !! 01/11/12 21:53:26.272 /opt/Ice-3.4.2/bin/icebox: error: ServiceManager: exception while starting service IceStorm:
       FileUtil.cpp:461: IceUtil::FileLockedException:
       could not lock file: `db/__Freeze/lock'
       syscall exception: No such file or directory
    If i create the database directory everything works as expected

  3. #3
    mmorckos is offline Registered User
    Name: Michael Morckos
    Organization: University of Waterloo
    Project: Distributed multi-robot control framework
    Join Date
    Dec 2011
    Posts
    13
    Hi,

    I already solved the problem. The missing db directory was a trivial thing, but I just started with ICE.

    Thanks for the prompt reply.

    I do have one more question, is it possible that a subscriber be also a publisher to another entity in the same application.

    Regards,
    Michael

  4. #4
    xdm's Avatar
    xdm
    xdm is online now ZeroC Staff
    Name: Jose Gutierrez de la Concha
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Sep 2003
    Location
    La Coruņa, Spain
    Posts
    588
    I do have one more question, is it possible that a subscriber be also a publisher to another entity in the same application.
    Yes that is possible. It is common if you have multiple entities of your application communicating with each other via IceStorm instead of communicating directly.

  5. #5
    mmorckos is offline Registered User
    Name: Michael Morckos
    Organization: University of Waterloo
    Project: Distributed multi-robot control framework
    Join Date
    Dec 2011
    Posts
    13
    Hi,

    Thanks for the prompt reply.

    Michael

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Ice grid / starting server by program.
    By Laurent in forum Help Center
    Replies: 4
    Last Post: 04-14-2010, 11:48 AM
  2. Error Starting Server via icegridadmin
    By kishore in forum Help Center
    Replies: 8
    Last Post: 04-12-2007, 03:41 PM
  3. Starting servers with IceGrid::Admin
    By borax00 in forum Help Center
    Replies: 2
    Last Post: 03-18-2007, 11:00 PM
  4. NullReferenceException on starting IceBox
    By tkrieger in forum Help Center
    Replies: 2
    Last Post: 10-31-2006, 07:12 AM
  5. Starting IcePack when node is missing?
    By brian in forum Help Center
    Replies: 6
    Last Post: 08-20-2004, 07:20 PM

Tags for this Thread

Posting Permissions

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