apache-2.2,nginx,svnRelated issues-Collection of common programming errors


  • Iain
    apache-2.2 php centos suphp
    We have a server that’s handling uploads. The memory limit is set at a ridiculously high level in php.ini (800 M).. however we have gd, which is managing the image resizing, but it is dying at about 60M of memory usage (our error log is reporting a fatal error at this stage).From all our Apache config files (CPanel/WHM managed), I can’t find a RLimitMem that’s set anywhere either.I’ve looked as well if there’s any limits set in our kernel, but can’t find anything there as well.Is there somethin

  • mindsurfer
    apache-2.2 ssl-certificate openssl
    I use self-signed certificates with no issue but today I have tried to create a SSL certificate for commercial use. But apache doesn’t start and gives the following error:Notice: I have confirmed that crt file is valid as CSR decoder loads the content as well.*AH02241: Init: Unable to read server certificate from file XXXX/XXXX/XXXX.csr SSL Library Error: error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag SSL Library Error: error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nest

  • Nick Boutelier
    apache-2.2 apc
    PHP Fatal error: PHP Startup: apc_mmap: mmap failed: in Unknown on line 0[Sun Aug 11 06:45:16 2013] [notice] seg fault or similar nasty error detected in the parent processThe system (Ubuntu 12.04.2) was at 18% of total memory and APC was using 32% of apc.shm_size, so it wasn’t for lack of memory. Any ideas what could be going wrong?I also have these two entries at the same time in syslogAug 11 06:45:16 ip-10-145-209-85 rsyslogd: [origin software=”rsyslogd” swVersion=”5.8.6″ x-pid=”718″ x-info=”

  • Scott Pack
    apache-2.2 php centos
    So the same code works on my Ubuntu server but when I upload it to my dedicated hosting server running CentOS it seems to add an extra prefix of .:/usr/share/pear:/usr/share/php: I tried setting includepath to different things but it just doesn’t work. The file is in a directory called language in the same folder as the file that is including it and I’m using:include dirname(__FILE__).DIRECTORY_SEPARATOR.”language”.DIRECTORY_SEPARATOR.”storage.inc”; include dirname(__FILE__).”/language/language.

  • chris
    apache-2.2 ssl openssl
    I am trying to install an SSL certificate, and I get the following errors:AH02241: Init: Unable to read server certificate from file /path/my.crt SSL Library Error: error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag SSL Library Error: error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error (Type=X509) AH02312: Fatal error initialising mod_ssl, exiting.Here’s the process I followed:I generated my private key with:openssl genrsa -out my.key 2048I created the CSR with:

  • Passionate Developer
    apache-2.2 php
    I am getting below errors despite setting memory_limit in php.ini to 64mb:Fatal error: Out of memory (allocated 6291456) (tried to allocate 91284 bytes) in /home/favstayc/public_html/coverbuddy2/cake/libs/configure.php on line 1067What could I change to fix this issue?

  • Ben Pilbrow
    debian apache-2.2 php.ini
    Fatal error: Allowed memory size of 262144 bytes exhausted (tried to allocate 4864 bytes)I Increased my memory limit to 300mb, and it’s still showing this error.I’ve restarted Apache too. Still getting the error, any have a suggestion?

  • WerkkreW
    apache-2.2 php varnish
    We recently migrated our site to a load balanced apache cluster behind varnish. Since that time a very small subset of users is reporting they cannot view any pages. I have narrowed the issue down quite a bit. This issue was not present before the move, the old infrastructure was a single large box.We are on Rackspace Cloud running 8 apache2 instances behind varnish 3.0 all load balanced using Rackspace Cloud load balancers (Zeus) and 2 mysql instances for a total of 10 servers, all linux.Use

  • uncovery
    apache-2.2 centos perl
    I am running monitorix on CentOS using my apache server (as opposed to the built-in server) wit the following addition to the virtualhost:Alias /monitorix /usr/share/monitorix <Directory /usr/share/monitorix>Options -Indexes +FollowSymLinksOrder allow,denyAllow from allAllowOverride All </Directory> <Directory /usr/share/monitorix/cgi>AddHandler cgi-script .cgiSetHandler perl-scriptPerlResponseHandler ModPerl::RegistryPerlOptions +ParseHeadersOptions +ExecCGI +FollowSymLinksAll

  • Pineapple Under the Sea
    apache-2.2 php php-apc
    When I turn off apc.stat it causes a 500 internal server error. I checked the apache error_log and it’s something about:[Tue Jun 26 10:02:59 2012] [error] [client 127.0.0.1] PHP Warning: require(): Filename cannot be empty in /var/www/site1/public/index.php on line 17 [Tue Jun 26 10:02:59 2012] [error] [client 127.0.0.1] PHP Fatal error: require(): Failed opening required ” (include_path=’.:/usr/share/pear:/usr/share/php’) in /var/www/site1/public/index.php on line 17I checked that line and h

  • Jon
    nginx error-logging
    Having switched from Apache (mpm prefork) to Nginx with php5-fpm I’m finding the error logs unpleasant to parse.For example Nginx will produce something like this (specifics redacted):2012/03/12 09:56:59 [error] 22075#0: *432 FastCGI sent in stderr: “PHP Warning: require_once([somefile]): failed to open stream: No such file or directory in [sourcefile] on line 6 PHP Fatal error: require_once(): Failed opening required ‘[somefile]’ (include_path=’.:/usr/share/php:/usr/share/pear’) in [sourcefil

  • Vic
    php nginx php5 php-fpm
    This is a tale of two different php files.File 1 source:<?php $null->test();File 1 output:Fatal error: Call to a member function test() on a non-object in/wwwroot/sites/example.com/public/fatal.php on line 1This is also printed to /var/log/php-fpm/www-error.log (as defined in my www.conf)File 2:class A {}function test(A $obj) {echo ‘here…’; }var_dump(‘started’); $a = new A(); test($a);var_dump(‘this is going to error out’); test($null);var_dump(‘do we get here?’);File 2 output:string ‘st

  • jchatard
    php nginx php-fpm xdebug symfony
    I’m currently testing Symfony2 with Nginx and PHP-FPM. I also use Xdebug.Symfony2 comes with a Demo bundle, I wanted to test the new handling of fatal errors which comes with Symfony 2.2.0 by creating a syntax error in the Acme/Demo bundle. Why I do that, the server response is 502 bad gateway.But if I make a syntax error in the file app_dev.php (so before the framework is fired), then Xdebug tells me about the fatal error.And surprisingly, if I fix that typo, then re-create the syntax error in

  • Kirk
    nginx webserver web development-environment
    While developing I’m getting blank pages in my browser whenever I create a fatal error in PHP with a typo or just my bad programming ;). It’s super annoying for me to have to view the raw nginx error log file to see the fatal errors and find the line numbers where they are. I can’t seem to find how to make nginx display PHP fatal errors in the browser. Here is the relevant part of my nginx config:location @fpm {fastcgi_pass unix:/var/run/php5-fpm.sock;fastcgi_index index.php;include fastcgi_para

  • disappearedng
    nginx django fastcgi wsgi
    Hi everyone I am running django on top of nginx with fastcgi. When i do runfcgi, I am seeing these errors:python manage.py runfcgi daemonize=false host=127.0.0.1 port=8000 WSGIServer: missing FastCGI param SERVER_NAME required by WSGI! WSGIServer: missing FastCGI param SERVER_PORT required by WSGI! WSGIServer: missing FastCGI param SERVER_PROTOCOL required by WSGI!In my error log for nginx, I am seeing this: 2011/01/31 10:33:16 [error] 15921#0: *4 FastCGI sent in stderr: “WSGIServer: missing Fas

  • bvl
    php nginx hhvm
    I’m using:HipHop VM v2.3.3 (rel) (so HHVM-fastcgi)When I use this: $mysqli = new mysqli(“… I get:HipHop Fatal error: Class undefined: mysqliWhat can this mean?PS: Php -v = PHP 5.4.24-1+sury.org~precise+1 (cli) (built: Jan 24 2014 11:05:09)

  • Grzegorz
    python nginx python-2.7 django
    Welcome,Currently I’m trying to install latest uwsgi on my VPS (Ubuntu 11.10) based on instruction from the site http://projects.unbit.it/uwsgi/wiki/Quickstartpip install uwsgiDuring compilation I see some errors:… [gcc -pthread] spooler.o *** uWSGI compiling embedded plugins *** [gcc -pthread] plugins/python/python_plugin.o Complete output from command /usr/bin/python -c “import setuptools;__file__=’/etc/apt/sources.list.d/build/uwsgi/setup.py’;exec(compile(open(__file__).read().replace(‘\r\n

  • Dave Chen
    php nginx silex
    I’m writing an application, where I thought all the errors were being handled, including fatal ones.But now I found one error that results in a white screen, and the error only shows up in the webserver log.$nonExistentVar + 1; // Notice error, gets caught and pretty error is displayed$existentVar->nonExistentMethod(); // Fatal error, gets caught and pretty error is displayed$nonExistentVar->nonExistentMethod(); // White screen, error can be seen in nginx.error.logIs the last error uncatch

  • Zeynel
    kernel upstart nginx
    Upstart gives “unknown job” error when I try to start the server with $ start <my-app-name>. I found this in the logs:z@ubuntu:/var/log/upstart$ sudo zcat module-init-tools.log.1.gz FATAL: Module rtc not found.Can you help me understand how I can fix this? From my search online it seems this is related to a missing module in the kernel??

  • user2650109
    php nginx
    I’m having, in a PHP form, when I’m submiting one email as a suscriber in a WordPress theme, the next error in error.log:2013/08/03 21:39:22 [error] 19544#0: *11 FastCGI sent in stderr: “PHP message: PHP Warning: require_once(TEMPLATEPATH/functions/theme-functions.php): failed to open stream: No such file or directory in /web/domain.com/public/wp-content/themes/launcheffect/functions.php on line 151PHP message: PHP Fatal error: require_once(): Failed opening required ‘TEMPLATEPATH/functions/them

  • Caterpillar
    linux debian svn
    When I tried to access svn repo from the browser I’m getting the below error in the syslog. Can I know how do i repair it using any svn tools.Error string not specified yet: Berkeley DB error while opening environment for filesystem / var/svn/1761/db:\nDB_RUNRECOVERY: Fatal error, run database recoveryThanks & Regards Caterpillar

  • Jarrod Roberson
    svn maven maven-release-plugin
    I am getting error when I am applying release:perform. It is unable to uploading the artifacts into nexus repository .In my SVN 3 directory :-Branch , trunk and tag.When I am applying release:prepare it executes successfully and create a tag with removing the snapshot from pom.xml. And change the trunk/pom.xml to next version with snapshot.Before prepare Trunk/pom.xml version 2.0-SNAPSHOT After prepare Trunk/pom.xml version 2.1-SNAPSHOT After prepare tags/pom.xml version 2.0 But, when I am ex

  • David W.
    svn pre-commit-hook
    I have downloaded pre-commit hook script “commit-mime-type-check.pl” from svn.apache.org I am working on windows there are only two things to change path to svnlook binary and path to temp dir.I did that. but I am getting following errorError: Commit failed (details follow): Error: Commit blocked by pre-commit hook (exit code 1) with output: Error: ‘-‘ is not recognized as an internal or external command, Error: operable program or batch file. Error: C:\vsvn\Repositories\myproj\hooks\loc

  • baltusaj
    eclipse svn flex4 flexbuilder
    I installed SVN using the instruction give here: http://alvijee.blogspot.com/2010/08/setting-up-subversion-with-adobe-flash.html I did select JavaHL Native Library while installation are restarted Flex Builder too.Now, from Window > Perspective > Other > SVN Repository Exploring, if I try to checkout a repository following error pops up:Failed to load JavaHL Library. These are the errors that were encountered: no libapr-1 in java.library.path no libapriconv-1 in java.library.path no libeay32 in

  • Riri
    svn version-control visual-sourcesafe
    We’re a distributed team of 5 developers working on rather large integrations project. We currently use SourceSafe (yes I know it sucks but it has just worked until recently and we’ve used it forever). Our biggest problem has recently become performance. Checking in and out project just takes forever and we’re finding ourselves spending a lot of time just waiting for SourceSafe (yes we’ve turned off anti-virus check and all the other performance boost trix – it’s still slow).We’re now looking in

  • RedFilter
    svn https hudson jenkins pkcs#12
    There is a problem with the usage of SVN + PKCS12 + HTTPS. When I want to add an SVN repository to a Jenkins Template, I get an error. It seems that the SVN Client does not support this way of authentication. First I checked on a Debian workstation, with Jenkins 1.467, whether this would work and it did. I used the same certificate for this. Second, I tried the same and other versions of Jenkins on my server without any result. Now the question: I this a bug in Jenkins, or am I totally doing som

  • David W.
    linux svn ant
    When I run the build.xml in linux ubuntu, which should checkout the project from svn is giving the following error:-svn:BUILD FAILED java.net.MalformedURLException: Invalid svn url: svn://xxx-xx-xx-xx-xx.compute-1.amazonaws.com/srv/svnat org.tigris.subversion.svnclientadapter.SVNUrl.parseUrl(SVNUrl.java:117)at org.tigris.subversion.svnclientadapter.SVNUrl.<init>(SVNUrl.java:63)at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)at sun.reflect.NativeConstructorAccessorIm

  • Nancy
    git maven svn jenkins sonar
    We have a build job in jenkins, and we integrated sonar in this job. But the build failed after we migrated source code to git from svn. Errors like below:[ERROR] BUILD ERROR[INFO] ————————————————————————[INFO] Can not execute SonarEmbedded error: Unable to retrieve changelog: svn: E155007: ‘*’ is not a working copy[INFO] ————————————————————————[INFO] Traceorg.apache.maven.lifecycle.LifecycleExecuti

  • iso_9001_
    svn ubuntu ubuntu-server
    We have an Ubuntu Server running and I installed SVN on it. We have been using the server for 4 or 5 months and we are assigned Appuser with sudo privileges.The problem is, we are running out of space for appuser. As far as I understand, we have 3 different disks which are root, appuser and removable disk. The snapshot for the current level is as followsNow, I wonder how can I prevent this or solve my problem. I had to delete some useful programs in order to create 80.6 MB disk space (before, it

  • Alexandre Jasmin
    eclipse svn ubuntu
    Trying to setup Eclispe. The Eclipse help/about/installed software says: Eclipse Platform 3.5.2 Subclipse 1.0.0 Version Control with Subversion 1.1.1The Subclipse wiki I followed is hereI have installed the libsvn-java app – discussed hereI added the line “-Djava.library.path=/usr/lib/jni” to the eclipse.ini fileI checked the Eclipse help/about/confirguration settings and both of these lines are listed:eclipse.vmargs=-Djava.library.path=/usr/lib/jnijava.library.path=/usr/lib/jniI checked that t

Web site is in building