otto not outputting audio

Rogier
2004-10-07
2013-03-22
  • Rogier
    Rogier
    2004-10-07

    Ok, so I've installed otto. The web interface works fine with the test channel. But when I define real channels, otto doesn't output anything. It doesn't work with shoucast, but also not with mpg123. I'm running otto on gentoo-linux.

    So I ran a "strace /usr/local/otto/bin/otto start". This gives me huge output. It's mostly searching for perl modules, but then when it seems to have opened on, I get:

    ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfffe6e8) = -1 ENOTTY (Inappropriate ioctl for device)
    _llseek(5, 0, [0], SEEK_CUR)

    A larger part of such ouput looks like:

    read(3, "package Otto::Jockey;\n\n# Copyrig"..., 4096) = 4096
    stat64("/usr/local/otto/lib/POSIX.pmc", 0xbfffec50) = -1 ENOENT (No such file or directory)
    open("/usr/local/otto/lib/POSIX.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
    stat64("/etc/perl/POSIX.pmc", 0xbfffec50) = -1 ENOENT (No such file or directory)
    open("/etc/perl/POSIX.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
    stat64("/usr/lib/perl5/site_perl/5.8.4/i686-linux/POSIX.pmc", 0xbfffec50) = -1 ENOENT (No such file or directory)
    open("/usr/lib/perl5/site_perl/5.8.4/i686-linux/POSIX.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
    stat64("/usr/lib/perl5/site_perl/5.8.4/POSIX.pmc", 0xbfffec50) = -1 ENOENT (No such file or directory)
    open("/usr/lib/perl5/site_perl/5.8.4/POSIX.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
    stat64("/usr/lib/perl5/site_perl/5.8.2/i686-linux/POSIX.pmc", 0xbfffec50) = -1 ENOENT (No such file or directory)
    open("/usr/lib/perl5/site_perl/5.8.2/i686-linux/POSIX.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
    stat64("/usr/lib/perl5/site_perl/5.8.2/POSIX.pmc", 0xbfffec50) = -1 ENOENT (No such file or directory)
    open("/usr/lib/perl5/site_perl/5.8.2/POSIX.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
    stat64("/usr/lib/perl5/site_perl/POSIX.pmc", 0xbfffec50) = -1 ENOENT (No such file or directory)
    open("/usr/lib/perl5/site_perl/POSIX.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
    stat64("/usr/lib/perl5/vendor_perl/5.8.4/i686-linux/POSIX.pmc", 0xbfffec50) = -1 ENOENT (No such file or directory)
    open("/usr/lib/perl5/vendor_perl/5.8.4/i686-linux/POSIX.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
    stat64("/usr/lib/perl5/vendor_perl/5.8.4/POSIX.pmc", 0xbfffec50) = -1 ENOENT (No such file or directory)
    open("/usr/lib/perl5/vendor_perl/5.8.4/POSIX.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
    stat64("/usr/lib/perl5/vendor_perl/5.8.2/i686-linux/POSIX.pmc", 0xbfffec50) = -1 ENOENT (No such file or directory)
    open("/usr/lib/perl5/vendor_perl/5.8.2/i686-linux/POSIX.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
    stat64("/usr/lib/perl5/vendor_perl/5.8.2/POSIX.pmc", 0xbfffec50) = -1 ENOENT (No such file or directory)
    open("/usr/lib/perl5/vendor_perl/5.8.2/POSIX.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
    stat64("/usr/lib/perl5/vendor_perl/POSIX.pmc", 0xbfffec50) = -1 ENOENT (No such file or directory)
    open("/usr/lib/perl5/vendor_perl/POSIX.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
    stat64("/usr/lib/perl5/5.8.4/i686-linux/POSIX.pmc", 0xbfffec50) = -1 ENOENT (No such file or directory)
    open("/usr/lib/perl5/5.8.4/i686-linux/POSIX.pm", O_RDONLY|O_LARGEFILE) = 4
    ioctl(4, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfffea78) = -1 ENOTTY (Inappropriate ioctl for device)
    _llseek(4, 0, [0], SEEK_CUR)            = 0
    read(4, "package POSIX;\n\nour(@ISA, %EXPOR"..., 4096) = 4096
    open("/usr/lib/perl5/5.8.4/i686-linux/auto/POSIX/autosplit.ix", O_RDONLY|O_LARGEFILE) = 5
    ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfffe618) = -1 ENOTTY (Inappropriate ioctl for device)
    _llseek(5, 0, [0], SEEK_CUR)            = 0
    read(5, "# Index created by AutoSplit for"..., 4096) = 2265
    read(5, "", 4096)                       = 0
    close(5)                                = 0
    stat64("/usr/local/otto/lib/XSLoader.pmc", 0xbfffe7f0) = -1 ENOENT (No such file or directory)
    open("/usr/local/otto/lib/XSLoader.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
    stat64("/etc/perl/XSLoader.pmc", 0xbfffe7f0) = -1 ENOENT (No such file or directory)
    open("/etc/perl/XSLoader.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
    stat64("/usr/lib/perl5/site_perl/5.8.4/i686-linux/XSLoader.pmc", 0xbfffe7f0) = -1 ENOENT (No such file or directory)
    open("/usr/lib/perl5/site_perl/5.8.4/i686-linux/XSLoader.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)

    And finally the last rows look like:
    write(3, "32739\n", 6)                  = 6
    close(3)                                = 0
    stat64("/usr/lib/perl5/vendor_perl/5.8.2/i686-linux/auto/DBI/DESTROY.al", 0x813d400) = -1 ENOENT (No such file or directory)
    open("/usr/local/otto/lib/auto/DBI/DESTROY.al", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
    open("/etc/perl/auto/DBI/DESTROY.al", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
    open("/usr/lib/perl5/site_perl/5.8.4/i686-linux/auto/DBI/DESTROY.al", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
    open("/usr/lib/perl5/site_perl/5.8.4/auto/DBI/DESTROY.al", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
    open("/usr/lib/perl5/site_perl/5.8.2/i686-linux/auto/DBI/DESTROY.al", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
    open("/usr/lib/perl5/site_perl/5.8.2/auto/DBI/DESTROY.al", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
    open("/usr/lib/perl5/site_perl/auto/DBI/DESTROY.al", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
    open("/usr/lib/perl5/vendor_perl/5.8.4/i686-linux/auto/DBI/DESTROY.al", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
    open("/usr/lib/perl5/vendor_perl/5.8.4/auto/DBI/DESTROY.al", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
    open("/usr/lib/perl5/vendor_perl/5.8.2/i686-linux/auto/DBI/DESTROY.al", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
    open("/usr/lib/perl5/vendor_perl/5.8.2/auto/DBI/DESTROY.al", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
    open("/usr/lib/perl5/vendor_perl/auto/DBI/DESTROY.al", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
    open("/usr/lib/perl5/5.8.4/i686-linux/auto/DBI/DESTROY.al", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
    open("/usr/lib/perl5/5.8.4/auto/DBI/DESTROY.al", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
    open("/usr/local/lib/site_perl/auto/DBI/DESTROY.al", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
    open("./auto/DBI/DESTROY.al", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
    exit_group(0)                           = ?

    Any idea what is going wrong?

     
    • spribyl
      spribyl
      2005-01-21

      Try turning on debugging in the otto.conf file.
      Then check var for a log file. 

      It almost looks like you did not setup or install the mysql.
      The debug log file my give more clues.