Won't import from youtube

4 replies [Last post]
Joined: 06/10/2009
Points: 1

Downloaded and installed kaltura today... Seems like a very interesting project!:)

I got it up running, and accessed the simple video editor. The flash loads.
But when I am going to import from in example youtube it fails.

Server => Investigate
Status: Importing (0)

Batch jobs:
Status: Pending (0)
Description: Queued, waiting to run
Data: a:3:{s:7:"entryId";
s:10:"haljw9kz1c";
s:9:"sourceUrl";
s:83:"http://media.mydomain.com/kalturaCE/extservices/youtubeRedirect?itemId=bKsuPpXGBqQ";
s:8:"destFile";
s:64:"/opt/lampp/htdocs/kalturaCE//content/imports/data/haljw9kz1c.flv";
}

/opt/lampp/htdocs/kalturaCE/logs/media-batchImportServer.log:

11/06 00:56:10.281 {2003944} : ----------------- Initializing DB -------------------
11/06 00:56:10.321 {2101136} : Checking for BATCHJOB_STATUS_PROCESSING

Fatal error: Uncaught exception 'PropelException' with message ' [wrapped: mysql extension not loaded [User Info: Array]]' in /opt/lampp/htdocs/kalturaCE/symfony/vendor/propel/Propel.php:484
Stack trace:
#0 /opt/lampp/htdocs/kalturaCE/kaltura/alpha/apps/kaltura/lib/batch/myBatchUrlImport.class.php(534): Propel::getConnection()
#1 /opt/lampp/htdocs/kalturaCE/kaltura/alpha/batch/batchImportServer.php(18): myBatchUrlImportServer->myBatchUrlImportServer('/opt/lampp/htdo...')
#2 {main}
thrown in /opt/lampp/htdocs/kalturaCE/symfony/vendor/propel/Propel.php on line 484

Any ideas?
mysql php extension is loaded and verified.
Running
Debian, xampp

Joined: 02/22/2009
Points: 97

fl0pp,

Do you have any php packages installed on your system ? (other than the xampp)
Please run

php -i

and check the output for mysql
you should find something like:
MySQL Support => enabled

Gonen

Joined: 06/28/2009
Points: 1

I am having a similar issue, except I have 3 batches not running (batchBulkUpload,batchEmailServer, and batchImportServer). The symfony portion in the server seems to be trying to connect to MySQL via '/var/run/mysqld/mysqld.sock'. However, after doing some digging, my system appears to be running the socket at '/opt/lampp/var/mysql/mysql.sock'. My suspicion is there is a simple config file on the server that I could change and this would resolve itself.

I am running Debian 5 with XAMPP 1.7.1. Below is the relevant portion of the netstat output from my server. Any tips would be appreciated.

unix 2 [ ACC ] STREAM LISTENING 43061 /opt/lampp/var/mysql/mysql.sock
unix 2 [ ACC ] STREAM LISTENING 42988 /opt/lampp/logs/cgisock.9480
unix 2 [ ACC ] STREAM LISTENING 2316 /var/run/sendmail/mta/smcontrol

Thanks for the help.

Bob

Joined: 05/14/2009
Points: 35

Hello Bob,

You can try creating a soft link.
As root try
ln -s /opt/lampp/var/mysql/mysql.sock /var/run/mysqld/mysqld.sock

Joined: 07/10/2009
Points: 2

Downloaded and installed kaltura.. and everything is working fine except Youtube search .. whenever i search using Youtube it shows, we we did't find results... anybody knows why it's giving me such message even though i search for valid files.