Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Can't start daemon

#134

When starting an application as daemon, there is no error message, but Adhearsion fails to spawn a new process.

Neither ahnctl start nor ahn start daemon works and no log is created.

Applications can still be started successfully in the console by ahn start.

Environment

  • Debian 6.0
  • Adhearsion 1.1.0

Reported by rsmirnov · June 8th, 2011 @ 02:46 PM

State: hold
Milestone: none
Assigned to: Ben Klang Ben Klang

Activity

  1. Ben Klang
    Ben Klang
    • Tag set to daemon mode
    • Assigned user set to Ben Klang

    Can you tell me a bit more about your environment? Specifically:

    • Ruby version, and how it was installed (OS package or RVM)
    • Return code of "ahn start daemon" (get this by typing "echo $?" immediately after "ahn start daemon")
    • The contents of log/adhearsion.log, if any
    • Whether Bundler is in use
    • The output of "ahn start ." (especially if this is failing as well)

    June 12th, 2011 @ 08:53 PM

  2. rsmirnov
    rsmirnov
    • Ruby 1.8.7.302-2 Debian package
    • Return code is 0
    • There is no log when starting as daemon
    • Bundler isn't used
    • ahn start works fine, here's the output:

      INFO ahn: Adhearsion v1.1.0 initialized!

      [Mon Jun 13 14:15:16 2011] Adhearsion::VoIP::Asterisk::AGI::Server::RubyServer 0.0.0.0:4573 start

    June 13th, 2011 @ 05:23 PM

  3. Ben Langfeld
    Ben Langfeld
    • State changed from new to hold

    Placing this on hold for now. Please comment if this is still an issue.

    September 21st, 2011 @ 04:15 PM

  4. rsmirnov
    rsmirnov

    Still an issue using Adhearsion 1.2.1

    September 26th, 2011 @ 04:40 PM

  5. rsmirnov
    rsmirnov

    I have stumbled upon a way to successfully run an application as daemon. An application has to be executed once first and then it can be started as daemon from within application's directory, for example:

    1. ahn create test
    2. ahn start test
    3. cd test
    4. ahnctl start .

    September 26th, 2011 @ 05:10 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.