I'm transcoding videos on a web server using ffmpeg and can successfully transcode some video formats but am having a few issues.
One of them is that I get a "Segmentation Fault" when trying to transcode a video in h.264 codec. I can't find much by searching and am wondering if that's a codec issue, or something else.
Parallels Plesk autoinstaller emailed me 03:34 to confirm that Parallels Plesk was successfully updated, but ever since then /var/log/httpd/error_log has entries every 5 minutes stating 'child pid xxxxxx exit signal Segmentation fault (11)'.
My website seems to be showing me lots of PHP & SQL errors.
For example, my live-chat shows me:
Warning: session_start() [function.session-start]: open(/tmp/sess_8aa74272d583973018e8f0805a796df2, O_RDWR) failed: Read-only file system (30) in /home/polar/domains/.../auth.php on line 20
I'm getting this error message when logwatch run, --------------------- Kernel Begin ------------------------
WARNING: Segmentation Faults in these executables httpd : 9 Time(s)
---------------------- Kernel End ------------------------- "
Have recompile apache twice, but it doesn't help.
I'm running this, root@host [~]# php -v PHP 4.4.6 (cli) (built: May 15 2007 12:54:50) Copyright (c) 1997-2007 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with Zend Extension Manager v1.0.10, Copyright (c) 2003-2006, by Zend Technologies with Zend Optimizer v3.0.1, Copyright (c) 1998-2006, by Zend Technologies
and this is my server, Processor: Dual Xeon E5310 Quad Core (Clovertown) Memory: 4GB DDR Registered ECC Hd1: Dual 73GB SCSI / Hardware Raid 1
I have had this segmentation problem since the first day I got my server. Need advice what to do about this?
Friend of mine was talking about upgrade to php version 5, but I'm not sure thats the way to do it. Having about 40 accounts/domains and I'm not sure that web sites will work with php 5.
Trying to enable xcache on my cpanel, centos server (suphp *not* enabled)
Followed this guideline [url]
Xcache shows up in php -m output, however I get this output as well
Code: root@server [/tmp]# php -v PHP 5.2.8 (cli) (built: Jan 5 2009 16:23:03) Copyright (c) 1997-2008 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies with the ionCube PHP Loader v3.1.34, Copyright (c) 2002-2009, by ionCube Ltd., and with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies Segmentation fault (core dumped) In the /usr/local/lib/php.ini file I had this portion setup before the Zend portion...
Code: [xcache-common]
extension = xcache.so
[xcache.admin] xcache.admin.auth = On xcache.admin.user = "" xcache.admin.pass = ""
[xcache] ; ini only settings, all the values here is default unless explained
; to disable: xcache.size=0 ; to enable : xcache.size=64M etc (any size > 0) and your system mmap allows xcache.size = 128M
; set to cpu count (cat /proc/cpuinfo |grep -c processor) xcache.count = 4
; just a hash hints, you can always store count(items) > slots xcache.slots = 8K
; ttl of the cache item, 0=forever xcache.ttl = 0
; interval of gc scanning expired items, 0=no scan, other values is in seconds xcache.gc_interval = 0
; same as aboves but for variable cache xcache.var_size = 0M xcache.var_count = 1 xcache.var_slots = 8K ; default ttl xcache.var_ttl = 0 xcache.var_maxttl = 0 xcache.var_gc_interval = 300
xcache.test = Off ; N/A for /dev/zero xcache.readonly_protection = Off ; for *nix, xcache.mmap_path is a file path, not directory. ; Use something like "/tmp/xcache" if you want to turn on ReadonlyProtection ; 2 group of php won't share the same /tmp/xcache ; for win32, xcache.mmap_path=anonymous map name, not file path xcache.mmap_path = "/dev/zero"
; leave it blank(disabled) or "/tmp/phpcore/" ; make sure it's writable by php (without checking open_basedir) xcache.coredump_directory = ""
; per request settings xcache.cacher = On xcache.stat = On xcache.optimizer = Off
[xcache.coverager] ; per request settings ; enable coverage data collecting for xcache.coveragedump_directory and xcache_coverager_start/stop/get/clean() functions (will hurt executing performance) xcache.coverager = Off
; ini only settings ; make sure it's readable (care open_basedir) by coverage viewer script ; requires xcache.coverager=On xcache.coveragedump_directory = ""
; Memcache Section extension = memcache.so memcache.allow_failover = 0 When I search for "zend_extension" this is the result:
Code: ; Directory in which the loadable extensions (modules) reside. extension_dir = "/usr/local/lib/php/extensions/no-debug-non-zts-20060613" zend_extension="/usr/local/IonCube/ioncube_loader_lin_5.2.so" zend_extension_ts="/usr/local/IonCube/ioncube_loader_lin_5.2_ts.so" zend_extension="/usr/local/lib/php/extensions/no-debug-non-zts-20060613/xcache.so" If I move the xcache line to the first line, before the ioncube one, I get this error:
Post these changes when I try starting apache I get the error - Segmentation Fault - core dumped
Checked the Error Logs it shows -
[Mon May 27 14:09:24 2013] [notice] child pid 29964 exit signal Segmentation fault (11) [Mon May 27 14:09:32 2013] [notice] child pid 29963 exit signal Segmentation fault (11) [Mon May 27 14:11:14 2013] [notice] caught SIGTERM, shutting down [Mon May 27 14:11:19 2013] [warn] RSA server certificate CommonName (CN) `BUNTY RAY' does NOT match server name!? [Mon May 27 14:11:19 2013] [warn] No JkLogFile defined in httpd.conf. Using default /opt/apache-2.2.24/logs/mod_jk.log
we have little problem on our server - from some time it starts reporting some errors:
kernel: spamd[6479]: segfault at 9a16000 ip 467840ac sp bffe9b5c error 6 in libc-2.5.so[46713000+13e000] kernel: webalizer[12318]: segfault at 81a80cc ip 080d9279 sp bff2f230 error 4 in webalizer[8048000+b2000] kernel: spamd[6515]: segfault at 9cbb000 ip 467840ac sp bffe9b5c error 6 in libc-2.5.so[46713000+13e000] kernel: pure-quotacheck[16285]: segfault at bf3c9ff8 ip 46769d76 sp bf3c9fec error 6 in libc-2.5.so[46713000+13e000] kernel: php[14910]: segfault at bf727da0 ip 080b0edc sp bf727d30 error 6 in php[8048000+64d000]
errors appear 2-3 times every 10min and always in this 4 programs: webalizer, php, spamd, pure-quotacheck
and second thing there is problem with some file caching or sth - for example when we restarts named it reports:
/etc/named.conf:23564: open: /var/named/slaves/slaves.named.conf: file not found
file of course exist but funniest thing is when we remove this line from named.conf and tries restart it, error appear again, even when this line is empty in named.conf and there is no other include of this file even after server restart (without this include in named.conf) it still reports this error
server config: C2Q Q9550, 8GB ram, 2x500GB in hw Raid1, Centos 5.3 32bit, cPanel maybe someone have any idea what it could be, and what else we can check ?
I have a shared hosting account on dreamhost It has php and others installed but it allows custom installations for a number of reasons (control of the php.ini file, ...).
I have shell and ftp access to /home/username/ where my websites are (/home/username/domain.ltd)
I installed php 5.2.9 under /home/username/php5, I also installed ffmpeg but I ran into troubles installing ffmpeg-php.
Now I would like to start over, I'm not very advanced in this and I probably messed some stuff up. It seemed like a good idea to ask for some general advice before going at it again.
First, I was wondering about the filesystem I needed to set up, like the bin, tmp, lib, ... directories. Which ones do I need and what should go in them. And how exactly do I let the system know these folders are there and it should look there for some commands. When I used phpize, it used the default one instead of the one in my custom php folder. Is the export command all there is to it?
When I install PHP, where should I install it and do I need to point it to my directories (bin, lib, etc...) instead of the ones in the host's root. I noticed when installing ffmpeg-php it still looked for the default ones at some points:
HTML Code: "checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend..." I don't know if this is normal behaviour or not, I'm just basically writing everything I am unsure about.
I got my website to use the custom PHP by editting the htaccess file
Also, what would be the best approach to remove the things I currently installed, I suppose remove the php5 directory is not enough.
I have server with the Plesk control panel on Linux server and want to install ffmpeg + MPlayer + LAME + FLVtool2 + MediaInfo + Mencoder + MP4Box + neroAacEnc , but not sure about the steps to install it. Is there any script or easy steps to install ffmpeg + MPlayer + LAME + FLVtool2 + MediaInfo + Mencoder + MP4Box + neroAacEnc on my server.
I have server with the Plesk control panel on Linux server and want to install ffmpeg but not sure about the steps to install it. Any script or easy steps to install ffmpeg on my server.
A dedicated server client of mine was telling me that his mysql was corrupted frequently and when his admin tried to upgrade his php and mysql he faced segmentation error. His admin was saying that this was a RAM problem.
One of our 3Ware RAID controllers is showing a battery backup unit BBU temperature TOOHIGH error, and the status of the BBU controller is now in FAULT.
I presume the while BBU unit will need to be replaced, but what is the immediate effect or consequences of leaving the BBU in this condition?
Recently ive gone through lot's of providers, and my latest one computhings.co.uk (was recommended) has recently lost support (their license expired) and my domain is having problems!
I tried a tracert to track the problem and i get an error in resolving the domain name. My DNS servers are set to where they should be, and i can get to the servers via a web browser (ns1/ns2) but when accessing my domain i get a server not found.
Is this my fault or their fault? As if its mine i will hang on and if its theirs im moving servers today!
if MRGT graph to mesure BW can be config to show faulty results? like 20% more than what i am actualy using?
The reason i am wondering is because i have a server which is an image hosting and running lighttpd as webserver. The only thing consumming BW now is lighttpd for images.
While the status page of lighty show i am using about 4.2Mbytes ~ 32-34mbits then the BW graph of data center show that i am using something like close to 52mbits. Please see the pictures below and let me know what you guys think.
The BW graph here is Past 4 Hours (1 minute average) and lighty screenshot is real time.