#134 ✓hold
rsmirnov

Can't start daemon

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

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

Comments and changes to this ticket

  • Ben Klang

    Ben Klang June 12th, 2011 @ 08:53 PM

    • 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)
  • rsmirnov

    rsmirnov June 13th, 2011 @ 05:23 PM

    • 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

  • Ben Langfeld

    Ben Langfeld September 21st, 2011 @ 04:15 PM

    • State changed from “new” to “hold”

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

  • rsmirnov

    rsmirnov September 26th, 2011 @ 04:40 PM

    Still an issue using Adhearsion 1.2.1

  • rsmirnov

    rsmirnov September 26th, 2011 @ 05:10 PM

    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 .

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket

Pages