Archive for April, 2010

FFmpeg :: make: *** [ffmpeg_frame.lo] Error 1

If you get the following error when running the command make to compile FFmpeg, that means ffmpeg was either installed or previously compiled on your server .

Go into the source’s directory and run the following command.

make distclean
or
make clean

Then rebuild ffmpeg again.

Error: Cannot open/read repomd.xml file for repository … No more mirrors to try

This error typically indicates that the mirrors listed in your /etc/yum.repos.d/ are out of date or temporarily unavailable.

If the mirrors are in the process of syncing, this issue may correct itself after a short time. If not, you may need to update the list of mirrors Yum is using.

SBDavid

Testing FFmpeg

Verify that FFmpeg is working properly by running the following two commands:

#php -r ‘phpinfo();’ | grep ffmpeg

You will get a few lines similar to the following:

ffmpeg
ffmpeg-php version => 0.6.0-svn
ffmpeg-php built on => April 15 2010 15:31:45
ffmpeg-php gd support => enabled
ffmpeg libavcodec version => Lavc51.62.0
ffmpeg libavformat version => Lavf52.18.0
ffmpeg swscaler => disabled
ffmpeg.allow_persistent => 0 => 0
ffmpeg.show_warnings => 0 => 0

This is the second command to make sure that FFmpeg is working properly:

#/usr/local/bin/ffmpeg
SBDavid

Passive FTP Mode (PASSV)

Passive FTP Mode (PASSV)

A mode for FTP connections that will initiate connections from the client side. Using this mode may be helpful if a user is having problems connecting to an FTP server through a firewall.

PassivePortRange 35000 36000

Problems building Apache with your custom modules

If you have problems building Apache with your custom modules, and you are unable to troubleshoot the problem, run

/scripts/easyapache –skip-custom-optmods

This builds Apache and PHP without any custom modules.

From WHM

Access the WHM equivalent found in EasyApache’s Help section.

In order to remove a custom module from the server, simply delete the files you have created when you issued the above commands. The module will be removed from all future builds and the EasyApache interface.

Reference: http://cpanel.net/

« Prev - Next »