Skip to main content
Help Center
The GoDaddy Community will undergo maintenance starting on Tuesday, August 3rd at 3pm PST / 6pm EST. Learn more
  • GoDaddy Community
  • VPS & Dedicated Servers
  • VPS & Dedicated Servers

    cancel
    Showing results for 
    Show  only  | Search instead for 
    Did you mean: 
    Go to solution
    mmsood99
    New

    VPS Server has stopped capturing audio

    I use my VPS server (Ubuntu 16.04) to stream my favorite radio station and record it. I am using:

    •  mpv to stream the station
    • parec to record it

    Initially it was working great, then something happened on Feb 2nd, and it stopped recording. I have manually verified that mpv is streaming, but nothing is being recorded

    I have *exactly* the same scripts on my own Ubuntu 16.04 VM here are home and it records great.

    How do I debug this?

    1 ACCEPTED SOLUTION

    It's the root crontab

    I don't think it was the GoDaddy patches, because I manually restarted the
    server, and when the crontab launched the script it still didn't work

    After removing it from the crontab, relaunching and starting the scripts
    manually the recordings are working fine.

    View solution in original post

    4 REPLIES 4
    PL281
    Super User IV

    @mmsood99 

     

    I would check any error logs on the server - make sure you aren't out of space

    I am a GoDaddy End User - Just Like You
    Check out my site! | I currently manage over 300 WordPress Websites
    * Please note that I offer free advice on this forum. Thank You Info If you would like personalized help, please contact me. Otherwise, please ask your question in the proper forum so the answer can assist EVERYONE in the community and not just you. Thanks! *

    Once your issue is resolved,
    please be sure to come back and click accept for the solution

    Get Better Support on the Community Boards!
    Etiquette When Asking for Help from the Community

    Well I did figure it out, but I don't understand the behavior I am seeing. What I didn't share in the original posting is that I am launching the recordings at boot time using an @ReBoot in the crontab. This does not seem to work - perhaps because it runs as root? The script runs, but does not capture audio.

     

    If I reboot the server, log in and run the scripts manually, all is fine.

     

    @mmsood99 

     

    Do you have it in the Root CronTab or in a cPanel CronTab???

     

    Also around Feb 2 I know that GoDaddy did some server patches so it maybe that was the first reboot since you set it up and that's what stopped it

    I am a GoDaddy End User - Just Like You
    Check out my site! | I currently manage over 300 WordPress Websites
    * Please note that I offer free advice on this forum. Thank You Info If you would like personalized help, please contact me. Otherwise, please ask your question in the proper forum so the answer can assist EVERYONE in the community and not just you. Thanks! *

    Once your issue is resolved,
    please be sure to come back and click accept for the solution

    Get Better Support on the Community Boards!
    Etiquette When Asking for Help from the Community

    It's the root crontab

    I don't think it was the GoDaddy patches, because I manually restarted the
    server, and when the crontab launched the script it still didn't work

    After removing it from the crontab, relaunching and starting the scripts
    manually the recordings are working fine.

    View solution in original post