Copyright © 2012 Kaltura Inc.
All Rights Reserved. Designated trademarks and brands are the property of their respective owners.
Use of this web site constitutes acceptance of the Terms of Use and Privacy Policy.
EduVideo.org
i did restart my batches but it didn't work... i guess is a problem with the ffmpeg encoder.... but i'm not sure...
Warning: require_once(/../config/sfrootdir.php): failed to open stream: No such file or directory in /var/www/html/kalturaCE/kaltura/alpha/batch/runBatch.php on line 2
Fatal error: require_once(): Failed opening required '/../config/sfrootdir.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/kalturaCE/kaltura/alpha/batch/runBatch.php on line 2
Warning: require_once(/../config/sfrootdir.php): failed to open stream: No such file or directory in /var/www/html/kalturaCE/kaltura/alpha/batch/runBatch.php on line 2
Fatal error: require_once(): Failed opening required '/../config/sfrootdir.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/kalturaCE/kaltura/alpha/batch/runBatch.php on line 2
Hmm it seems you have a problem with your kaltura installation.
Can you check you actually have the file sfrootdir.php at the right place? It should be in /var/www/html/kalturaCE/kaltura/alpha/config/sfrootdir.php
By the way, that's curious that php tells you the file is missing /../config/sfrootdir.php. It should say /var/www/html/kalturaCE/kaltura/alpha/batch/../config/sfrootdir.php. It's like realpath(dirname(__FILE__)) returns "/" on your configuration.
i have that file in this path:
/var/www/html/kalturaCE/kaltura/alpha/config/sfrootdir.php
so is fine... but i don't know why is miss for PhP
file: /var/www/html/kalturaCE/prueba.php
dirname: /var/www/html/kalturaCE
realpath: /var/www/html/kalturaCE
on batch path:
file: /var/www/html/kalturaCE/kaltura/alpha/batch/prueba.php
dirname: /var/www/html/kalturaCE/kaltura/alpha/batch
realpath: /var/www/html/kalturaCE/kaltura/alpha/batch
That's really odd then. I don't understand why it fails to include the file.
Maybe the problem is with the sh files, what happens if you try a "./runBatch.sh restart" in your batch directory? You may have already tried.
[root@localhost batch]# ./runBatch.sh restart
PHP Warning: PHP Startup: fileinfo: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
/var/www/html/kalturaCE/kaltura/alpha/batch/kaltura_env.sh
restarting batch batchBulkUpload
restarting batch batchDownloadVideoServer
restarting batch batchEmailServer
restarting batch batchImportServer
restarting batch batchNotificationServer
PHP Warning: PHP Startup: fileinfo: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
restarting batch newBatchConvertClient
restarting batch newBatchConvertServer
PHP Warning: PHP Startup: fileinfo: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: fileinfo: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: fileinfo: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
[root@localhost batch]# PHP Warning: PHP Startup: fileinfo: Unable to initializ e module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: fileinfo: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: fileinfo: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
[root@localhost batch]#
after that i did go to edit kaltura_env.sh and modified
export PHP_PATH=php
to
export PHP_PATH=php5
and run the command
./runBatch.sh restart
and now is working but i'm not sure if is normal see all the process in status down.... if that is normal i guess all is fixed...i'm gonna try kaltura and look for other problems
| Attachment | Size |
|---|---|
| statusDown.jpg | 166.4 KB |
i have the same problem again.... i can see all Process but is not converting...
aaa.jpg when i see the video in entries in process
batches.jpg when i see the system status
bbb.jpg when i try to restart all batches
| Attachment | Size |
|---|---|
| bbbb.jpg | 187.4 KB |
| aaa.jpg | 226.24 KB |
| batches.jpg | 170.85 KB |
You have a php binary that's not a link to your php5 binary?
sorry... i don't understand what you wanna say.. i have a realy bad english :(
On my server (which is a debian lenny), I have a php binary, but it's just a symbolic link.
As you can see, php and php5 are actually the same binary. What about you?
[root@localhost /]# ls -l /usr/bin/php
-rwxr-xr-x 1 root root 2864992 oct 7 08:40 /usr/bin/php
[root@localhost /]# ls -l /etc/alternatives/php
ls: /etc/alternatives/php: No existe el fichero o el directorio
[root@localhost /]#
how can i make a symbolic link?
sorry i'm realy new in linux lol
Symbolic links are made with the "ln -s" command, but I do not recommend you to play with your /usr/bin content. What distribution do you use?
What does "php -version" returns in your case?
If it's not a php 5 version, can you try to have only one php version installed?
i'm using centOS 4.7... php 5.2.11
That's curious. I don't know why it works with one of your php binary and not with the other if they're the same.
I think there's a misconfiguration somewhere in the system (otherwise it shouldn't work even with the php5 binary), but I don't know what.
i switch my centos to linux red hat linux 5.... ready like a baby
Do you have any logs in your entries?
Maybe you can try to restart your batches.