Upload video

I  get  a error  if  i try  to  upload  a  video  20MB

 

Cron job  error

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 15061406 bytes) in  plugins/moovrelocator/lib/bytes/Bytearray.class.php on line 194

 

 

 

Name Value Recommended
Different settings
register globals Off Off
safe mode Off Off
disabled functions
memory limit 1024M 128M
max execution time 3000 300
post_max_size 300M 128M or more
upload max filesize 300M 128M or more
allow_url_fopen On On
allow_url_include (for php > 5.2) Off Off
mbstring installation mbstring extension installed Installed
PHP version 5.2.6-1+lenny9 4.4.0/5.1.0 and higher
SQL Client library version 5.0.51a 4.1.2 and higher
Installed apache modules
Array
(
    [0] => core
    [1] => mod_log_config
    [2] => mod_logio
    [3] => prefork
    [4] => http_core
    [5] => mod_so
    [6] => mod_alias
    [7] => mod_auth_basic
    [8] => mod_authn_file
    [9] => mod_authz_default
    [10] => mod_authz_groupfile
    [11] => mod_authz_host
    [12] => mod_authz_user
    [13] => mod_autoindex
    [14] => mod_cgi
    [15] => mod_deflate
    [16] => mod_dir
    [17] => mod_env
    [18] => mod_mime
    [19] => mod_negotiation
    [20] => mod_php5
    [21] => mod_rewrite
    [22] => mod_setenvif
    [23] => mod_ssl
    [24] => mod_status
)
Operating system Linux ns22749.ovh.net 2.6.32.2-xxxx-grs-ipv4-64 #1 SMP Tue Dec 29 14:41:12 UTC 2009 x86_64 Unix / Linux / Windows
Flash ffmpeg settings
ffmpeg output FFmpeg version 0.6, Copyright (c) 2000-2010 the FFmpeg developers built on Aug 31 2010 07:42:03 with gcc 4.4.1 configuration: --enable-libmp3lame --enable-libxvid --enable-libx264 --enable-gpl --enable-libvorbis --enable-libogg --enable-libtheora --enable-liba52 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-libfaad --enable-libfaac --enable-pthreads --disable-shared --enable-static --enable-avfilter --enable-nonfree --enable-swscale --disable-ffplay --disable-ffserver --extra-libs='-static -L/usr/lib -L/home/rayz/ffmpeg_opt -L/home/rayz/ffmpeg_opt/lib' --extra-cflags='-static -I/home/rayz/ffmpeg_opt/include' 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 FFmpeg 0.6 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

 


cron job error.docx · 36.7K · 204 downloads
Quote · 24 Mar 2011

It's possible the cron job is running against a different php.ini, meaning you'll have to specify it to run against a local one, like so:

 

/path/to/php -c /path/to/php.ini -q /path/to/dolphin/periodic/cron.php

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 24 Mar 2011

but  if  i try  a  small  video  with  3MB i dont  have any  problems

Quote · 24 Mar 2011

 

but  if  i try  a  small  video  with  3MB i dont  have any  problems

It doesn't take much to process videos of that size. It's failing with larger videos because the cron job is running against a different php.ini, most likely with a different configuration.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 24 Mar 2011

where i can find  the path   to my php  and  php.ini file

debian server  via shell

Quote · 24 Mar 2011

 

where i can find  the path   to my php  and  php.ini file

debian server  via shell

You can add "-c /path/to/php.ini" to your current cron job, which should have the rest of the information. You can create a new php.ini, or find the loaded one using the PHPinfo page under the administration panel's host tools.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 24 Mar 2011

you can see phpinfo in your admin tools,

Quote · 24 Mar 2011

I found  it  out

/usr/bin/php -c /etc/php5/apache2/php.ini -q /.../.../dolphin-7.0.1/periodic/cron.php

 

but  if  i start  with crontab -e

I have  this information inside:

20 */10 * * * FTP_PASSWORD=****** PASSPHRASE=***** nice duplicity -v 5 --exclude '/var/www/munin/' --exclude '/proc/*' --exclude '/sys/*' --exclude '/*lost+found*' --exclude '/dev/*' --exclude '**tmp/*' --ftp-passive --volsize 50 / ftp://ns22749.ovh.net@ftpback-rbx2-84.ovh.net/ 2&>1 >>/var/log/backup.log

50 3 */10 * * FTP_PASSWORD=****** PASSPHRASE=****** nice duplicity cleanup -v 5 ftp://ns22749.ovh.net@ftpback-rbx2-84.ovh.net/ 2&>1 >>/var/log/backup.log

 

i need  just  to put  theis line under ??

 

/usr/bin/php -c /etc/php5/apache2/php.ini -q /.../.../dolphin-7.0.1/periodic/cron.php

With oout  email   because i get the email  and  with out time??


Quote · 24 Mar 2011

 

I found  it  out

 

/usr/bin/php -c /etc/php5/apache2/php.ini -q /.../.../dolphin-7.0.1/periodic/cron.php

 

but  if  i start  with crontab -e

I have  this information inside:

 

20 */10 * * * FTP_PASSWORD=****** PASSPHRASE=***** nice duplicity -v 5 --exclude '/var/www/munin/' --exclude '/proc/*' --exclude '/sys/*' --exclude '/*lost+found*' --exclude '/dev/*' --exclude '**tmp/*' --ftp-passive --volsize 50 / ftp://ns22749.ovh.net@ftpback-rbx2-84.ovh.net/ 2&>1 >>/var/log/backup.log

50 3 */10 * * FTP_PASSWORD=****** PASSPHRASE=****** nice duplicity cleanup -v 5 ftp://ns22749.ovh.net@ftpback-rbx2-84.ovh.net/ 2&>1 >>/var/log/backup.log

 

i need  just  to put  theis line under ??

 

/usr/bin/php -c /etc/php5/apache2/php.ini -q /.../.../dolphin-7.0.1/periodic/cron.php

With oout  email   because i get the email  and  with out time??


You should replace your current cron job with the new one. You should include an email to receive reports.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 24 Mar 2011

Thanks for the  info   but i dont  now  how  to make  it  ;)

Quote · 24 Mar 2011

 

Thanks for the  info   but i dont  now  how  to make  it  ;)

Are you using a control panel of any sort, such as cPanel? Or are you doing everything through SSH?

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 24 Mar 2011

evrything  with  SSH

i Dont have any panel like cpanle plesk  ....

 

 

Thanks for the  info   but i dont  now  how  to make  it  ;)

Are you using a control panel of any sort, such as cPanel? Or are you doing everything through SSH?

 

Quote · 25 Mar 2011

in SSH, and this is my method, so those of you who are using nano, God Bless you.

 

i use VIM and i have it set as my default editor.

first of all make sure you are not logging as root when dealing with an account specific entity.

whoami will tell you if you are root or the user

if you are root su username

then check

whoami

should report you are the user

now crontab -e opens the cron editor

tap your insert key on the keyboard

using the arrow keys navigate to the line you wish to edit, you can use the backspace or delete keys to remove the characters.

you can type out the new cron command, or you can have it in a text editor on your local machine and copy and paste

using the right click button on your mouse will paste into the cron editor

if there is a syntax error it will tell you there is a problem and ask if you want to fix it.

 

evrything  with  SSH

i Dont have any panel like cpanle plesk  ....

 

 

Thanks for the  info   but i dont  now  how  to make  it  ;)

Are you using a control panel of any sort, such as cPanel? Or are you doing everything through SSH?

 

 

When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support
Quote · 25 Mar 2011

Thx is  working  ;)

Quote · 26 Mar 2011

I have gotten a little further with my video processing.

PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/ming.ini on line 1 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/zip.so' - /usr/lib/php5/20090626+lfs/zip.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/sqlite.so' - /usr/lib/php5/20090626+lfs/sqlite.so: undefined symbol: php_pdo_register_driver in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/radius.so' - /usr/lib/php5/20090626+lfs/radius.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  Module 'ming' already loaded in Unknown on line 0
PHP Warning:  Module 'pgsql' already loaded in Unknown on line 0
<div style="border:2px solid red;padding:4px;width:600px;margin:0px auto;">
<div style="text-align:center;background-color:red;color:white;font-weight:bold;">Error</div>
<div style="text-align:center;">Database connect failed</div>
</div>
PHP Fatal error:  Call to a member function getParam() on a non-object in /opt/lampp/htdocs/dolphin/inc/db.inc.php on line 83

Jeremy
Quote · 26 Mar 2011

You both are using the wrong php.ini

@BangLoungeFM

what you did might work, but your crontab is using the apache php.ini now which has different settings than the php.ini for the cli version. Might cause problems later / elsewhere

@jmonroe

your php.ini for cli has some modules included which are not found - and not needed for Dolphin - link sqlite.so and ming.so. If you check the cli/php.ini they should be listed at the end of the file. Also you don't include a mysql module, so you get the error about the missing database.

Quote · 26 Mar 2011

Trunky...thanks for the info....this is what I am getting now when I run the cron job

Output from command /usr/bin/php5 -c /opt/lampp/etc/php.ini -q /opt/lampp/htdocs/dolphin/periodic/cron.php ..

 

PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/ming.ini on line 1 in Unknown on line 0
                <div style="border:2px solid red;padding:4px;width:600px;margin:0px auto;">
                    <div style="text-align:center;background-color:red;color:white;font-weight:bold;">Error</div>
                    <div style="text-align:center;">Database connect failed</div>
                            </div>
            PHP Fatal error:  Call to a member function getParam() on a non-object in /opt/lampp/htdocs/dolphin/inc/db.inc.php on line 83
Jeremy
Quote · 26 Mar 2011

Ok  thankx   but  is  working  ;)

 

You both are using the wrong php.ini

@BangLoungeFM

what you did might work, but your crontab is using the apache php.ini now which has different settings than the php.ini for the cli version. Might cause problems later / elsewhere

@jmonroe

your php.ini for cli has some modules included which are not found - and not needed for Dolphin - link sqlite.so and ming.so. If you check the cli/php.ini they should be listed at the end of the file. Also you don't include a mysql module, so you get the error about the missing database.

 

Quote · 2 Apr 2011

I have been trying for over a year to get video processing to work. Dedicated linux server.

 

Anyone think they have the ability to fix it? Email me jeremy.monroe@live.com

 

Thanks.

Jeremy
Quote · 10 Sep 2011

It can upload small vid clips like 3 megs, processes in a few hours but fails when i upload a 10 min clips at 20-30 megs. If this is suppose to take a few minutes rather than hours,  I could use some insight as well.

THINK FOR YOUSELF! Its not illegal...YET ! www.NebLife.com
Quote · 11 Sep 2011

 based on this, it would seem that you have some settings that need to be adjusted.

It can upload small vid clips like 3 megs, processes in a few hours but fails when i upload a 10 min clips at 20-30 megs. If this is suppose to take a few minutes rather than hours,  I could use some insight as well.

 if you are able to upload 3MB  videos, and you state they take a few hours to process, then there is something horribly wrong with the server you are running on. 

and as posted, what are your max_execution, max_upload, and max_post sizes set at. 

When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support
Quote · 11 Sep 2011

They were ALOT smaller so i made a PHP.ini page to run on this setting.................

[PHP]
 
upload_max_filesize=128M
 
post_max_size=128M


memory_limit=128M

max_execution_time=300
..........................

and no, i am not on a dedicated so i cannot use the video messenger thing. I do plan on it but paying $100 + per month just for a dedicated server until i get some traffic and a way to pay for it isnt happening at this time.

THINK FOR YOUSELF! Its not illegal...YET ! www.NebLife.com
Quote · 11 Sep 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.