Install problem

18 replies [Last post]
Joined: 05/07/2009
Points: 3

Could not run FFMPEG. FFMPEG is crucial for converting media to FlashVideo format. The system should be able to run the script located at:
/home/cheluskin/data/www/nedalekih.net/kaltura/bin/i386/ffmpeg - please make sure apache can run that script.

Access to ffmpeg 777 .

Please help .

Joined: 02/22/2009
Points: 97

Hi cheluskin,

Sometimes apache doesn't have permission to run executable files...
Can you try running the script as apache ?

Assuming your apache username is 'apache':

sudo -u apache /home/cheluskin/data/www/nedalekih.net/kaltura/bin/i386/ffmpeg

Expected output (what I get when I run the following, note that my apache username is 'www-data'):

user@ubuntu804desktop:~$ sudo -u www-data /var/www/kalturaCE/kaltura/bin/i386/ffmpeg
FFmpeg version 0.5, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --arch=i386 --extra-cflags=-O2 --enable-bzlib --disable-devices --enable-libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libschroedinger --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-avfilter --enable-avfilter-lavf --enable-postproc --enable-swscale --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-optimizations --disable-stripping --shlibdir=/usr/lib --cpu=i386
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 0 / 52.20. 0
libavformat 52.31. 0 / 52.31. 0
libavdevice 52. 1. 0 / 52. 1. 0
libavfilter 0. 4. 0 / 0. 4. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Mar 17 2009 03:13:59, gcc: 4.1.2 20070626 (Red Hat 4.1.2-13)
At least one output file must be specified

Joined: 05/11/2009
Points: 24

I have the same install problem here .... am not a techie so I am dazed can anyone help me out? I am lost.

http://cdn.ghanamusic.net/video/files/install/prepare_install.php

Error:
Could not run FFMPEG. FFMPEG is crucial for converting media to FlashVideo format. The system should be able to run the script located at:
/home/ghanamus/public_html/cdn/video/files/kaltura/bin/i386/ffmpeg - please make sure apache can run that script.

Thanks

Joined: 01/05/2009
Points: 1697

Abbey,
can you try running the following command: (apache as the user name of the under which apache is running)
sudo chown apache -R /home/ghanamus/public_html/cdn/video/files/kaltura/bin/i386/ffmpeg

Alternatively, what is the deployment you are using on your server, do you access via cpanel or ssh ? do you have direct root access ?

Joined: 05/11/2009
Points: 24

I tried but I got the error that "ghanamus is not in the sudoers file" I hv attached the putty screen shot

AttachmentSize
ssh.png16.85 KB
Joined: 01/05/2009
Points: 1697

What is the distribution you are using and what version is it ?
Maybe try following the instructions on the following page to get sudo to work -
http://www.go2linux.org/sudoers-how-to

Joined: 05/11/2009
Points: 24

Hi Kalturian,

I am still stuck. Is there a way I can provide u with my login details for u to find out what 's missing? I am no msn/gtalk and my user id is niiabbey.

I am desperate to become a citizen of "Kalturia" so help a brother out.....:-)

Thanks

Joined: 02/22/2009
Points: 97

Hi Abbey,

Having SSH access to your server would help.
Please email me the details to gonen.radai [at] kaltura.org and I will try to see what is the problem and how it can be solved.

BTW - as a general recommendation, don't publish links to a system in pre-installation state.

Joined: 02/22/2009
Points: 97

Abbey (and other getting the same problem),

On Abbey's server, the kalturaCE was extracted/uploaded without 4 symbolic links in the kaltura/bin/i386/ folder.

The symbolic links just point to the relevant executable (in case you decide to use a different executable, all you should do is change the relevant link in kaltura/bin/i386).

running 'ls -l' in kaltura/bin/i386/ should output:

user@ubuntu804desktop:/var/www/KCE/kalturaCE/kaltura/bin/i386$ ls -l
total 24
lrwxrwxrwx 1 user user 18   2009-05-09 19:28 convert -> run/run-convert.sh
lrwxrwxrwx 1 user user 15   2009-05-09 19:28 curl -> run/run-curl.sh
drwxr-xr-x 2 user user 4096 2009-03-25 12:07 curl-bin-7.19.2
lrwxrwxrwx 1 user user 17   2009-05-09 19:28 ffmpeg -> run/run-ffmpeg.sh
drwxr-xr-x 2 user user 4096 2009-03-24 10:28 ffmpeg-bin-0.5
drwxr-xr-x 3 user user 4096 2009-05-05 11:31 ImageMagick-bin-6.5.0-0
drwxr-xr-x 2 user user 4096 2009-03-25 12:03 latest-dir
lrwxrwxrwx 1 user user 19   2009-05-09 19:27 mencoder -> run/run-mencoder.sh
drwxr-xr-x 3 user user 4096 2009-04-04 02:47 mencoder-bin-28935
drwxr-xr-x 2 user user 4096 2009-05-05 11:31 run

Joined: 05/07/2009
Points: 3

jbiznes# ls -l
total 12
drwxrwxrwx 3 cheluskin cheluskin 512 May 6 20:14 ImageMagick-bin-6.5.0-0
lrwxr-xr-x 1 root cheluskin 18 May 15 11:56 convert -> run/run-convert.sh
lrwxr-xr-x 1 root cheluskin 15 May 15 12:06 curl -> run/run-curl.sh
drwxrwxrwx 2 cheluskin cheluskin 512 May 6 20:14 curl-bin-7.19.2
lrwxr-xr-x 1 root cheluskin 17 May 15 12:06 ffmpeg -> run/run-ffmpeg.sh
drwxrwxrwx 2 cheluskin cheluskin 1024 May 6 20:14 ffmpeg-bin-0.5
drwxrwxrwx 2 cheluskin cheluskin 512 May 6 20:14 latest-dir
lrwxr-xr-x 1 root cheluskin 19 May 15 12:06 mencoder -> run/run-mencoder.sh
drwxrwxrwx 3 cheluskin cheluskin 512 May 6 20:14 mencoder-bin-28935
drwxrwxrwx 2 cheluskin cheluskin 512 May 6 20:14 run
lrwxr-xr-x 1 root cheluskin 19 May 15 12:05 run-mencoder.sh -> run/run-mencoder.sh

I create 4 symlinks
not work

"Could not run FFMPEG. FFMPEG is crucial for converting media to FlashVideo format. The system should be able to run the script located at:
/home/cheluskin/data/www/nedalekih.net/kaltura/bin/i386/ffmpeg - please make sure apache can run that script."

Joined: 05/07/2009
Points: 3

my system is FreeBSD 6.3 linux compat on , this may be the cause ?

sorry for my english .

Joined: 02/22/2009
Points: 97

cheluskin,

This alpha release was tested on debian based linux, and might not work on freeBSD.

The issue you have might be caused by 2 things:
1. your apache wouldn't use kalturaCE's .htaccess file - make sure AllowOverride All is set on the kalturaCE directory.
2. if enabling the .htaccess didn't work, make sure you have 'followSymLinks' in the Options directive in apache configuration for the kalturaCE directory.

Joined: 06/04/2009
Points: 5

Hello!

AM having the same error.

Running:
Debian LINUX
Apache/2.2.11 (Unix) PHP/5.2.9

My host says:
... users have access to a shared installation of FFmpeg.
In web applications, such as Gallery, the absolute path to the shared installation of FFmpeg is:
/usr/bin/ffmpeg
The absolute path to the supporting libraries is:
/usr/lib/vhook

Every bit of help welcomed!

Happy to provide shell access as I am not experienced.

Thanks

Joined: 02/22/2009
Points: 97

byoguru,

you can do one of 2:
1. edit kaltura/alpha/config/kConf.php - find bin_path_ffmpeg , change from:
"bin_path_ffmpeg" => $bin_path . "ffmpeg" ,
to
"bin_path_ffmpeg" => "/usr/bin/ffmpeg" ,

2. change the symbolic link that is found in:
kaltura/bin/i386/ffmpeg
so it points to /usr/local/ffmpeg
(command: ln -s /usr/local/ffmpeg kaltura/bin/i386/ffmpeg)

Please report back the result.
Gonen

Joined: 06/04/2009
Points: 5

thanks Gonen for the instructions....

I get stuck at the install stage :: prepare_install.php there does not appear to be any file such as kaltura/alpha/config/kConf.php....

What might I do next?

Thanks

Joined: 05/14/2009
Points: 35

The latest release has the file Kconf.php. You can find it in kalturaCE/kaltura/alpha/config/kConf.php.

I changed the ffmpeg value in the Kconf.php to /usr/local/bin/ffmpeg. FFMPEG still does convert my AVI file.

Joined: 06/04/2009
Points: 5

Just downloaded the latest release from ::: http://kaltura.org/sites/default/files/releases/kalturaCE_v1.01.tgz

Does NOT contain kConf.php - I think this file is created during install.

What kind of work around is required to have the installer script create a correct config file with the path the absolute path to the shared installation of FFmpeg which is:

/usr/bin/ffmpeg

???

Any ideas?

Joined: 06/04/2009
Points: 5

bypassed the prepare installation script by going manually to ../kalturaCE/install/database_info.php.

also edited :::
kaltura/alpha/config/kConf.php - find bin_path_ffmpeg , change from:
"bin_path_ffmpeg" => $bin_path . "ffmpeg" ,
to
"bin_path_ffmpeg" => "/usr/bin/ffmpeg"

While the install is complete - it does not work really.....

There are browser issues and time-out issues and a bunch of other things that do not work.

Will start a new thread as the install appears to be done.

Joined: 07/09/2009
Points: 1

Ran into a snag with the Kaltura installation this afternoon. Three errors are holding up the works:

1. memcache is recommended for better performance, but it is optional. You can continue installation without it. This test assumes memcache is installed on localhost and listening to port 11211.
2. Could not run FFMPEG. FFMPEG is crucial for converting media to FlashVideo format. The system should be able to run the script located at: /var/www/kalturaCE/kaltura/bin/i386/ffmpeg - please make sure apache can run that script.
3. Failed to connect to mailserver at "localhost" port 25. Verify your "SMTP" and "smtp_port" setting in php.ini. Kaltura Server uses email sending for user/password changes and reminders as well as notifications on background processes completion. It is recommended though not mandatory that you configure your mail server..

The first and third are just warnings, but the middle FFMPEG one is a problem. When I try to run the script from the command line, I get the following error:
/var/www/kalturaCE/kaltura/bin/i386/latest-dir/ffmpeg/ffmpeg: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /var/www/kalturaCE/kaltura/bin/i386/latest-dir/ffmpeg/libogg.so.0)

Does that mean we need to install the GNU C Library?