no stream, errno 111
  • this is my output...few days after the upgrade airtime 1.8.1 i recive this error:

    @400000004dc7112422f53224 File "/usr/local/lib/python2.6/dist-packages/kombu/connection.py", line 404, in _establish_connection
    @400000004dc7112422f53224 conn = self.transport.establish_connection()
    @400000004dc7112422f53224 File " /usr/local/lib/python2.6/dist-packages/kombu/transport/pyamq plib.py ", line 242, in establish_connection
    @400000004dc7112422f53224 connect_timeout=conninfo.connect_timeout)
    @400000004dc7112422f53224 File " /usr/local/lib/python2.6/dist-packages/kombu/transport/pyamq plib.py ", line 51, in __init__
    @400000004dc7112422f53224 super(Connection, self).__init__(*args, **kwargs)
    @400000004dc7112422f53224 File " /usr/local/lib/python2.6/dist-packages/amqplib/client_0_8/co nnection.py ", line 125, in __init__
    @400000004dc7112422f53224 self.transport = create_transport(host, connect_timeout, ssl)
    @400000004dc7112422f53224 File " /usr/local/lib/python2.6/dist-packages/amqplib/client_0_8/tr ansport.py ", line 220, in create_transport
    @400000004dc7112422f53224 return TCPTransport(host, connect_timeout)
    @400000004dc7112422f53224 File " /usr/local/lib/python2.6/dist-packages/amqplib/client_0_8/tr ansport.py ", line 58, in __init__
    @400000004dc7112422f53224 self.sock.connect((host, port))
    @400000004dc7112422f53224 File "<string>", line 1, in connect
    @400000004dc7112422f53224 socket.error: [Errno 111] Connection refused
    @400000004dc7112423323b24 2011-05-08 23:54:34,590 INFO - [pypopush.py : run() : line 231] - heartbeat
    @400000004dc7112423323b24 2011-05-08 23:54:34,590 DEBUG - [pypopush.py : push() : line 135] - Notifying Liquidsoap to stop playback.
  • 9 Comments sorted by
  • Please post all your /var/log/airtime Wink
  • ok

    this is the /var/log/airtime/main/curent

    http://pastebin.com/0JbPcgrf

    this is the /var/log/airtime/pypo-liquidsoap/ls_script

    http://pastebin.com/g0xbw96L

    the api check is ok..

    my airtime machine is ubuntu server 10.04.02, virtualizated with ip 192.168.222.5 Smile

    the uploading file work well, but the "on air" button is grey Sad



    i can access from internet with mypublicip:XXXX

    the pypo configuration is

    ############################################
    # pypo - configuration #
    ############################################

    # Set the type of client you are using.
    # Currently supported types:
    # 1) "obp" = Open Broadcast Platform
    # 2) "airtime"
    #
    api_client = "airtime"

    ############################################
    # Cache Directories #
    # *include* trailing slash !! #
    ############################################
    cache_dir = '/var/tmp/airtime/pypo/cache/'
    file_dir = '/var/tmp/airtime/pypo/files/'
    tmp_dir = '/var/tmp/airtime/pypo/tmp/'

    ############################################
    # Setup Directories #
    # Do *not* include trailing slash !! #
    ############################################
    cache_base_dir = '/var/tmp/airtime/pypo'
    bin_dir = '/usr/lib/airtime/pypo'
    log_base_dir = '/var/log/airtime'
    pypo_log_dir = '/var/log/airtime/pypo'
    liquidsoap_log_dir = '/var/log/airtime/pypo-liquidsoap'

    # Hostname
    base_url = 'localhost'
    base_port = 80

  • Airtime is installed in the main domain or in a sub-domain?
  • Main domain.
    Airtime have a dedicated virtual machine Smile
  • Hi,

    What version are you upgrading from? Check if rabbitmq is running:

    sudo service rabbitmq-server status
    Airtime Pro Hosting: http://airtime.pro
  • airtime@ubuntu:~$ sudo service rabbitmq-server status
    Status of all running nodes...
    Error: no_nodes_running

    from 1.8.0 to latest!
  • sudo service rabbitmq-server start
    


    And they try again to stream something on airtime Wink
  • Andrea Giardini wrote on Fri, 13 May 2011 11:53
    sudo service rabbitmq-server start
    


    And they try again to stream something on airtime Wink



    Did this fix the problem? From the error log it looks like rabbitmq-server fails to start because

    "/var/lib/rabbitmq/mnesia/rabbit/rabbit_persister.LOG"

    isn't a log file.

    According to this:

    http://playground.mekensleep.com/pipermail/playground-dev/20 10-April/000124.html

    you may need to rename rabbit_persister.LOG to rabbit_persister.LOG.1
    Airtime Pro Hosting: http://airtime.pro