Sanity Check Video Conversion fails after upload

I am trying to get Kaltura 10.3.0 running on RHEL 6.5 via the yum RPM installation. I have installed it and gotten the UI configured and running with most all of the defaults. I reached the point where the video conversion should happen in the sanity check, and it fails to covert with the following error

Internal Server Error (Error type 4)

screenshot

Firstly where to I get at more detailed information concerning the cause of the error?

Best
MRD

Hello,

Lets start with checking the batch daemon is actually running:
# /etc/init.d/kaltura-batch status
# ps fax | grep php

If not running,
# /etc/init.d/kaltura-batch restart

If you still can’t convert, run:
# kaltlog
and check the errors

Yes, it is and as well here are some logs from the extraction

[root@foo ~]# /etc/init.d/kaltura-batch status
Batch is running as 24808 31366 31368 31367 31370 …

extractmedia and extractmedia-err logs

seems to find some error with ffprobe

as well, I’ve no command called kaltlog in the kaltura bin or available on my path, where does it reside?

It is an alias, source /etc/profile.d/kaltura_base.sh and you’ll have it.
Also, don’t know if the ffprobe: unrecognized option ‘i’ is the actual problem here.
Can you check for errors in /opt/kaltura/log/kaltura_api_v3.log?
You can start by running kaltlog and then going in the file reading the lines around the exception.

We have run and have found the following:

PHP Fatal error:  Uncaught exception 'KalturaClientException' with message 'couldn't connect to host' in /opt/kaltura/app/batch/client/KalturaClientBase.php:357
    Stack trace:
    #0 /opt/kaltura/app/batch/client/KalturaClient.php(1127): KalturaClientBase->doQueue()
    --
      thrown in /opt/kaltura/app/batch/client/KalturaClientBase.php on line 357
    PHP Fatal error:  Uncaught exception 'KalturaClientException' with message 'couldn't connect to host' in /opt/kaltura/app/batch/client/KalturaClientBase.php:357
    Stack trace:
    #0 /opt/kaltura/app/batch/client/KalturaPlugins/KalturaContentDistributionClientPlugin.php(2424): KalturaClientBase->doQueue()
    --
      thrown in /opt/kaltura/app/batch/client/KalturaClientBase.php on line 357
    PHP Fatal error:  Uncaught exception 'KalturaClientException' with message 'couldn't connect to host' in /opt/kaltura/app/batch/client/KalturaClientBase.php:357
    Stack trace:
    #0 /opt/kaltura/app/batch/client/KalturaClient.php(4097): KalturaClientBase->doQueue()
    --
    ==> /opt/kaltura/log/batch/validatelivemediaservers-0-2015-01-30.err.log <==
    PHP Fatal error:  Uncaught exception 'KalturaException' with message 'Internal server error occurred' in /opt/kaltura/app/batch/client/KalturaClientBase.php:734
    Stack trace:
    #0 /opt/kaltura/app/batch/client/KalturaClient.php(4098): KalturaClientBase->throwExceptionIfError(Array)
FFprobe version 0.6.5, Copyright (c) 2007-2010 the FFmpeg developers
  built on Jan 29 2012 17:52:15 with gcc 4.4.5 20110214 (Red Hat 4.4.5-6)
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --enable-avfilter --enable-avfilter-lavf --enable-libdc1394 --enable-libdirac --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab
  WARNING: library configuration mismatch
  libavutil   configuration: --prefix=/opt/kaltura/ffmpeg-0.6 --libdir=/opt/kaltura/ffmpeg-0.6/lib --shlibdir=/opt/kaltura/ffmpeg-0.6/lib --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --enable-avfilter --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libx264 --enable-gpl --enable-nonfree --enable-libopenjpeg --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-bzlib --disable-devices --enable-filter=movie --enable-x11grab
  libavcodec  configuration: --prefix=/opt/kaltura/ffmpeg-0.6 --libdir=/opt/kaltura/ffmpeg-0.6/lib --shlibdir=/opt/kaltura/ffmpeg-0.6/lib --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --enable-avfilter --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libx264 --enable-gpl --enable-nonfree --enable-libopenjpeg --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-bzlib --disable-devices --enable-filter=movie --enable-x11grab
  libavformat configuration: --prefix=/opt/kaltura/ffmpeg-0.6 --libdir=/opt/kaltura/ffmpeg-0.6/lib --shlibdir=/opt/kaltura/ffmpeg-0.6/lib --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --enable-avfilter --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libx264 --enable-gpl --enable-nonfree --enable-libopenjpeg --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-bzlib --disable-devices --enable-filter=movie --enable-x11grab
  libavdevice configuration: --prefix=/opt/kaltura/ffmpeg-0.6 --libdir=/opt/kaltura/ffmpeg-0.6/lib --shlibdir=/opt/kaltura/ffmpeg-0.6/lib --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --enable-avfilter --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libx264 --enable-gpl --enable-nonfree --enable-libopenjpeg --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-bzlib --disable-devices --enable-filter=movie --enable-x11grab
  libavfilter configuration: --prefix=/opt/kaltura/ffmpeg-0.6 --libdir=/opt/kaltura/ffmpeg-0.6/lib --shlibdir=/opt/kaltura/ffmpeg-0.6/lib --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --enable-avfilter --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libx264 --enable-gpl --enable-nonfree --enable-libopenjpeg --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-bzlib --disable-devices --enable-filter=movie --enable-x11grab
  libswscale  configuration: --prefix=/opt/kaltura/ffmpeg-0.6 --libdir=/opt/kaltura/ffmpeg-0.6/lib --shlibdir=/opt/kaltura/ffmpeg-0.6/lib --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --enable-avfilter --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libx264 --enable-gpl --enable-nonfree --enable-libopenjpeg --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-bzlib --disable-devices --enable-filter=movie --enable-x11grab
  libpostproc configuration: --prefix=/opt/kaltura/ffmpeg-0.6 --libdir=/opt/kaltura/ffmpeg-0.6/lib --shlibdir=/opt/kaltura/ffmpeg-0.6/lib --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --enable-avfilter --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libx264 --enable-gpl --enable-nonfree --enable-libopenjpeg --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-bzlib --disable-devices --enable-filter=movie --enable-x11grab
  libavutil     50.15. 1 / 50.15. 1
  libavcodec    52.72. 2 / 52.72. 2
  libavformat   52.64. 2 / 52.64. 2
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    1.19. 0 /  1.19. 0
  libswscale     0.11. 0 /  0.11. 0
  libpostproc   51. 2. 0 / 51. 2. 0
ffprobe: unrecognized option 'i'
sh: ffprobe: command not found
sh: ffprobe: command not found
sh: ffprobe: command not found
sh: ffprobe: command not found
sh: ffprobe: command not found

Additional error information seen recently this morning.

==> /opt/kaltura/log/batch/validatelivemediaservers-0-2015-01-31.err.log <==
    PHP Fatal error:  Uncaught exception 'KalturaException' with message 'Internal server error occurred' in /opt/kaltura/app/batch/client/KalturaClientBase.php:734
    Stack trace:
    #0 /opt/kaltura/app/batch/client/KalturaClient.php(4098): KalturaClientBase->throwExceptionIfError(Array)
    [1/30/15, 12:13:00 PM] ~: PHP Fatal error:  Uncaught exception 'KalturaException' with message 'Internal server error occurred' in /opt/kaltura/app/batch/client/KalturaClientBase.php:734
    Stack trace:
    #0 /opt/kaltura/app/batch/client/KalturaClient.php(4098): KalturaClientBase->throwExceptionIfError(Array)
    #1 /opt/kaltura/app/batch/batches/ValidateLiveMediaServers/KAsyncValidateLiveMediaServers.class.php(45): KalturaLiveStreamService->listAction(Object(KalturaLiveStreamEntryFilter), Object(KalturaFilterPager))
    #2 /opt/kaltura/app/batch/batches/ValidateLiveMediaServers/KAsyncValidateLiveMediaServersExe.php(11): KAsyncValidateLiveMediaServers->run()
    #3 {main}
      thrown in /opt/kaltura/app/batch/client/KalturaClientBase.php on line 734

The batch makes HTTP requests to the API and the errors should be there.

I hope one of these is helpful. I was not able to find the time range I posted above.