Results 1 to 9 of 9
  1. #1
    Join Date
    Jun 2008
    Location
    United Kingdom
    Posts
    75

    Strange ffmpeg/php error

    Im getting a strange error AND bouncing mail (piped to a support desk) and i wondered if anyone can shead any light of offer any tips.

    The error is:

    A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:

    pipe to |/home/xxxxx/public_html/support/cli/index.php
    generated by xxxx@domain.com

    The following text was generated during the delivery attempt:

    ------ pipe to |/home/xxxxx/public_html/support/cli/index.php
    generated by xxxx@domain.com ------

    PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/ffmpeg.so' - libavcodec.so.51: cannot open shared object file: No such file or directory in Unknown on line 0
    ffmpeg has been reinstalled and the dc tech's cant seem to replicate this error when emailing the same address
    Leapfrog Hosting - www.leapfroghosting.co.uk
    cPanel Hosting - Virtual Servers - Dedicated Servers - Domain Registration
    UK Based Servers, Adult Content Permitted, 99.9% Uptime

  2. #2
    Join Date
    Apr 2010
    Location
    Luxembourg
    Posts
    196

  3. #3
    Join Date
    Apr 2001
    Location
    Paradise
    Posts
    12,052
    Have you jailed SSH on that account? if yes, try to enable full SSH access, since probably with jailed SSH you don't have access to the php libraries that you are trying to execute through PHP cli.
    Shared Web Hosting - Reseller Hosting - Semi-Dedicated Servers - SolusVM/XEN VPS
    LiteSpeed Powered - R1Soft Continuous Data Protection - 24/7 Chat/Email/Helpdesk Support
    Cpanel/WHM - Softaculous - R1soft Backup - Litespeed - Cloudlinux -Site Builder- SSH support - Account Migration
    DowntownHost LLC - In Business since 2001- West/Center/East USA - Netherlands - Singapore

  4. #4
    Join Date
    Jun 2008
    Location
    United Kingdom
    Posts
    75
    Quote Originally Posted by Jedito View Post
    Have you jailed SSH on that account? if yes, try to enable full SSH access, since probably with jailed SSH you don't have access to the php libraries that you are trying to execute through PHP cli.
    Already had full SSH access on this.

    Quote Originally Posted by allin1 View Post
    This says DirectAdmin. Im on cPanel/WHM on CentOS 5. Does this still apply?

    Also, is this is php or ffmpeg issuse as support think ffmpeg
    Leapfrog Hosting - www.leapfroghosting.co.uk
    cPanel Hosting - Virtual Servers - Dedicated Servers - Domain Registration
    UK Based Servers, Adult Content Permitted, 99.9% Uptime

  5. #5
    Join Date
    Apr 2001
    Location
    Paradise
    Posts
    12,052
    have you tried running php /home/xxxxx/public_html/support/cli/index.php
    from command line?
    Shared Web Hosting - Reseller Hosting - Semi-Dedicated Servers - SolusVM/XEN VPS
    LiteSpeed Powered - R1Soft Continuous Data Protection - 24/7 Chat/Email/Helpdesk Support
    Cpanel/WHM - Softaculous - R1soft Backup - Litespeed - Cloudlinux -Site Builder- SSH support - Account Migration
    DowntownHost LLC - In Business since 2001- West/Center/East USA - Netherlands - Singapore

  6. #6
    Join Date
    Dec 2007
    Location
    Indiana, USA
    Posts
    19,196
    It looks to me like php is trying to load a module/file that doesn't exist.

    I'd have support look and see if the file exists where PHP is trying to load it and if not perhaps move/copy ffmpeg.so there.
    Michael Denney - MDDHosting.com - Proudly hosting more than 37,700 websites since 2007.
    Ultra-Fast Cloud Shared and Pay-By-Use Reseller Hosting Powered by LiteSpeed!
    cPanel • Free SSL • 100% Uptime SLA • 24/7 Support
    Class-leading support that responds in minutes, not days.

  7. #7
    Join Date
    Mar 2009
    Location
    InfoPark, Cochin, India
    Posts
    986
    Hi,

    The error clearly states that the file /usr/local/lib/php/extensions/no-debug-non-zts-20060613/ffmpeg.so is missing. SSH to the server and see if the file is present or not.

    If ffmpeg is already installed then the file might be present in some other location. You need to copy the file from that location to /usr/local/lib/php/extensions/no-debug-non-zts-20060613/ or create a symlink /usr/local/lib/php/extensions/no-debug-non-zts-20060613/ to the new .so files folder.

  8. #8
    Join Date
    Feb 2004
    Location
    Your Screen
    Posts
    3,999
    Also double-check that your php.ini isn't trying to load ffmpeg twice. That will create that sort of error too. You only need to load it once.

    Bailey
    Let's Connect on Twitter! @thatsmsgeek2u || Fighting mediocrity one thread at a time.

  9. #9
    Join Date
    Nov 2005
    Location
    /etc/fstab
    Posts
    1,342
    As far I can remember, this error appear if a symbolic link to libavcodec hasn't been set from /usr/local/lib to /usr/lib

    Did you also try updating the library cache?
    Mellowhost - Providing High Quality Web Hosting Services since 2007
    SSD Cpanel Shared, SSD OpenVZ & KVM VPS Hosting
    A Hosting Provider with Complete SSD VPS & Shared Hosting.

Similar Threads

  1. How to install ffmpeg, ffmpeg-PHP, Mplayer, Mencoder, flv2tool, LAME MP3 Encoder??
    By alibabahost in forum Hosting Security and Technology
    Replies: 6
    Last Post: 11-24-2009, 09:58 PM
  2. ffmpeg, ffmpeg-php install on redhat enterprise / plesk control panel
    By druweegee in forum Systems Management Requests
    Replies: 9
    Last Post: 05-19-2009, 04:30 AM
  3. ffmpeg, ffmpeg-php install on redhat enterprise / cpanel server
    By filethis in forum Systems Management Requests
    Replies: 3
    Last Post: 02-25-2008, 05:34 AM
  4. A rather strange PHP error
    By StueyB in forum Programming Discussion
    Replies: 1
    Last Post: 01-10-2008, 09:43 AM
  5. Strange error with my php code...
    By latheesan in forum Programming Discussion
    Replies: 8
    Last Post: 03-20-2006, 04:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •