OS X Apache Error Log Entries - crls (Macports to Homebrew?) - apache

Yesterday I moved my local development environment from MacPorts over to Homebrew, and everything is running great. However I'm getting some odd apache log errors I've not come across before and wondered if anyone can help diagnose.
On tail'ing the error_log, they seem to happen every 10-15 seconds when general web browsing in chrome:
[Thu Apr 26 14:19:41 2012] [error] [client 127.0.0.1] File does not exist: /Users/username/Sites/pca3.crl
[Thu Apr 26 14:20:04 2012] [error] [client 127.0.0.1] File does not exist: /Users/username/Sites/ThawtePremiumServerCA.crl
[Thu Apr 26 14:22:02 2012] [error] [client 127.0.0.1] File does not exist: /Users/username/Sites/crls
[Thu Apr 26 14:23:48 2012] [error] [client 127.0.0.1] File does not exist: /Users/username/Sites/SVRSecureG3.cer
[Thu Apr 26 14:23:49 2012] [error] [client 127.0.0.1] File does not exist: /Users/username/Sites/SVRSecureG3.crl
Thanks for any input.

Related

MAMP: Apache denying clients

I am using localtunnel.me to tunnel between local machine and a remote HTTPS server, it's not working for me. in error log I am getting following:
[Sun Apr 17 13:12:37 2016] [error] [client ::1] client denied by server configuration: /Applications/MAMP/htdocs/.DS_Store
[Sun Apr 17 13:12:46 2016] [error] [client ::1] client denied by server configuration: /Applications/MAMP/htdocs/products/.DS_Store, referer: http://localhost/
[Sun Apr 17 13:29:37 2016] [error] [client 127.0.0.1] client denied by server configuration: /Applications/MAMP/htdocs/.DS_Store
[Sun Apr 17 13:29:37 2016] [error] [client 127.0.0.1] client denied by server configuration: /Applications/MAMP/htdocs/.DS_Store
[Sun Apr 17 13:29:51 2016] [error] [client 127.0.0.1] client denied by server configuration: /Applications/MAMP/htdocs/products/.DS_Store, referer: https://gdntrdlhyv.localtunnel.me/
[Sun Apr 17 14:46:17 2016] [error] [client 127.0.0.1] client denied by server configuration: /Applications/MAMP/htdocs/.DS_Store
[Sun Apr 17 14:46:38 2016] [error] [client 127.0.0.1] client denied by server configuration: /Applications/MAMP/htdocs/products/.DS_Store, referer: https://epvztmlgwo.localtunnel.me/
[Sun Apr 17 14:48:48 2016] [error] [client 127.0.0.1] client denied by server configuration: /Applications/MAMP/htdocs/.DS_Store
[Sun Apr 17 14:48:48 2016] [error] [client 127.0.0.1] client denied by server configuration: /Applications/MAMP/htdocs/.DS_Store
[Sun Apr 17 14:48:56 2016] [error] [client 127.0.0.1] client denied by server configuration: /Applications/MAMP/htdocs/products/.DS_Store, referer: https://grosjejjos.localtunnel.me/
[Sun Apr 17 14:57:43 2016] [error] [client 127.0.0.1] client denied by server configuration: /Applications/MAMP/htdocs/.DS_Store
[Sun Apr 17 14:57:50 2016] [error] [client 127.0.0.1] client denied by server configuration: /Applications/MAMP/htdocs/products/.DS_Store, referer: https://gpyzbdhwqk.localtunnel.me/
[Sun Apr 17 15:13:49 2016] [error] [client 127.0.0.1] client denied by server configuration: /Applications/MAMP/htdocs/.DS_Store
I am using Apache 2.2 version shipped with MAMP. I am not getting clue why is it and how it's finding .DS_Store files.

QGIS Server Not working

alright guys I have been stuck on this for the last 2,3 days I have searched online for a solution, I have tried re-installing QGIS Server. But I can't get the Digital Maps to Load.
I am using Windows Server 2008 R2.
I install packages using the osgeo4w-setup file.
After installing when I browse to localhost:9090/ I can see the following.
Then the next step when I browse to:
http://localhost:9090/qgis/qgis_mapserv.fcgi.exe?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities&map=d:/dgmps/GIS.qgs
I get following error:
In the Apache Error Log files I am getting this:
First I was getting this error:
[Sat Mar 07 00:25:40 2015] [warn] [client 127.0.0.1] (OS 109)The pipe has been ended. : mod_fcgid: get overlap result error
[Sat Mar 07 00:25:40 2015] [error] [client 127.0.0.1] Premature end of script headers: qgis_mapserv.fcgi.exe
So I followed all links 1 , 2 I could find online, after that I was getting the following error:
The Error Log in Apache Error Log is:
[Sat Mar 07 23:24:18 2015] [error] [client 127.0.0.1] Premature end of script headers: qgis_mapserv.fcgi.exe
[Sat Mar 07 23:24:18 2015] [error] [client 127.0.0.1] Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment variable.\r
[Sat Mar 07 23:24:18 2015] [error] [client 127.0.0.1] Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment variable.\r
[Sat Mar 07 23:24:18 2015] [error] [client 127.0.0.1] Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP environment variable.\r
[Sat Mar 07 23:24:18 2015] [error] [client 127.0.0.1] Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment variable.\r
[Sat Mar 07 23:24:18 2015] [error] [client 127.0.0.1] Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP environment variable.\r
[Sat Mar 07 23:24:18 2015] [error] [client 127.0.0.1] QFSFileEngine::open: No file name specified\r
[Sat Mar 07 23:24:18 2015] [error] [client 127.0.0.1] ImportError: No module named site\r
Anybody know the solution to this?
A bit late for an answer, but it might still help someone:
copy all .dll from osgeo4w/bin to osgeo4w/apps/qgis/bin
copy all .py from osgeo4w/apps/python/Lib to osgeo4w/apps/qgis/bin
copy folder "encodings" from osgeo4w/apps/python/Lib to osgeo4w/apps/qgis/bin
amend the httpd.conf file as follows (I'm using the 64 bit, so be careful when copy-pasting):
DefaultInitEnv PATH "C:\OSGeo4W64\bin;C:\OSGeo4W64\apps\qgis\bin;C:\OSGeo4W64\apps\grass\grass-#grassversion#\bin;C:\OSGeo4W64\apps\grass\grass-#grassversion#\lib;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem"
DefaultInitEnv QGIS_PREFIX_PATH "C:\OSGeo4W64\apps\qgis"
DefaultInitEnv QT_PLUGIN_PATH "C:\OSGeo4W64\apps\qgis\qtplugins;C:\OSGeo4W64\apps\qt4\plugins"

drupal site on working on apache

my apache2 error.log shows:
[Sun Nov 10 18:40:46 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.8 with
Suhosin-Patch configured -- resuming normal operations
[Sun Nov 10 18:41:13 2013] [error] [client 127.0.0.1] File does not exist:
/home/vishal/Dropbox/sites/pw/js, referer: http://pw/
[Sun Nov 10 18:41:22 2013] [error] [client 127.0.0.1] File does not exist:
/home/vishal/Dropbox/sites/pw/node, referer: http://pw/
[Sun Nov 10 18:43:27 2013] [notice] caught SIGTERM, shutting down
[Sun Nov 10 18:43:28 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.8 with
Suhosin-Patch configured -- resuming normal operations
[Sun Nov 10 18:46:47 2013] [error] [client 127.0.0.1] File does not exist:
/home/vishal/Dropbox/sites/pw/js, referer: http://pw/
[Sun Nov 10 18:46:50 2013] [error] [client 127.0.0.1] File does not exist:
/home/vishal/Dropbox/sites/pw/user, referer: http://pw/
Here is my details of the default http://pastebin.com/sWFDN5Yr
the confusing thing is that other sites work but only the vhost for pw
gives error. The main page comes up however the inner pages does not come up.
Thank you,
Vishal
its most likely a problem with ur clean url.
type http://yoursite?q=user/login and see if ur login page comes up, if so its a issue with ur vhost entry is not set to allow redirect and clean urls

deploy issue on ckan 2.0 over apache2

I have the following problem after try to deploy ckan 2.0 over apache2.
here is the log from apache:
tail -f /var/log/apache2/demo.ckan.net.error.log
[Tue Apr 02 10:34:34 2013] [error] [client 127.0.0.1] return context.create()
[Tue Apr 02 10:34:34 2013] [error] [client 127.0.0.1] File "/home/ubuntu-ckan-last/pyenv/lib/python2.6/site-packages/paste/deploy/loadwsgi.py", line 710, in create
[Tue Apr 02 10:34:34 2013] [error] [client 127.0.0.1] return self.object_type.invoke(self)
[Tue Apr 02 10:34:34 2013] [error] [client 127.0.0.1] File "/home/ubuntu-ckan-last/pyenv/lib/python2.6/site-packages/paste/deploy/loadwsgi.py", line 146, in invoke
[Tue Apr 02 10:34:34 2013] [error] [client 127.0.0.1] return fix_call(context.object, context.global_conf, **context.local_conf)
[Tue Apr 02 10:34:34 2013] [error] [client 127.0.0.1] File "/home/ubuntu-ckan-last/pyenv/lib/python2.6/site-packages/paste/deploy/util.py", line 56, in fix_call
[Tue Apr 02 10:34:34 2013] [error] [client 127.0.0.1] val = callable(*args, **kw)
[Tue Apr 02 10:34:34 2013] [error] [client 127.0.0.1] File "/home/ubuntu-ckan-last/pyenv/src/ckan/ckan/config/middleware.py", line 104, in make_app
[Tue Apr 02 10:34:34 2013] [error] [client 127.0.0.1] who_parser.parse(open(app_conf['who.config_file']))
[Tue Apr 02 10:34:34 2013] [error] [client 127.0.0.1] KeyError: 'who.config_file'
i followed the latest documentation on how to deploy a ckan 2.1a instance over apache or nginx...
thanks !
The error suggests it cannot find the who.config_file bit of your CKAN config file (e.g. std.ini):
[app:main]
...
who.config_file = %(here)s/who.ini
However this is the first point in the code which accesses this config file, so it suggests the something more fundamental is up with the config file.
Check your wsgi script file contains the correct path to your config file. The line looks like this:
config_file = '/usr/local/demo.ckan.net/pyenv/src/ckan/development.ini'

Symfony: problem saving a form object

I am using SF 1.4.8 with Propel ORM for a project. I have an action that allows a user to save their user profile. It looks something like this:
public function executeEditUser(sfwebRequest $request)
{
// some code commented out for brevity
$tainted_values = $user_profile->toArray(BasePeer::TYPE_FIELDNAME);
$this->form->bind(array_merge($tainted_values, $form_params), $file_params);
if ($this->form->isValid())
{
$this->form->save();
return $this->redirect('#user_account');
}
}
The User form class overrides the doSave() and Update() methods as follows:
protected function doSave($con = null)
{
$profile = $this->getObject();
// code commented out (saving files etc)
return parent::doSave($con);
}
public function updateObject($values = null)
{
$object = parent::updateObject($values);
$paththname = $object->getPictPath();
if (!empty($pathname))
{
$image_name = basename($pathname);
$object->setPictPath($image_name);
}
return $object;
}
When the user edits and saves the profile - the code runs as normal, but the object does not get updated in the database. I stepped through the code and in the save() method of the form, the object execution path indicates that no changes have been made to the object (even though the user entered values were correctly bound and the validate() method returned true.
Here is a stacktrace of warnings printed in the Apache error log file:
[Thu Jun 09 12:46:49 2011] [error] [client 127.0.0.1] PHP Stack trace:, referer: http://mywebsite.localhost/frontend_dev.php/members/user/profile
[Thu Jun 09 12:46:49 2011] [error] [client 127.0.0.1] PHP 1. {main}() /home/voidstar/work/webdev/frameworks/symfony/sites/mywebsite/web/frontend_dev.php:0, referer: http://mywebsite.localhost/frontend_dev.php/members/user/profile
[Thu Jun 09 12:46:49 2011] [error] [client 127.0.0.1] PHP 2. sfContext->dispatch() /home/voidstar/work/webdev/frameworks/symfony/sites/mywebsite/web/frontend_dev.php:13, referer: http://mywebsite.localhost/frontend_dev.php/members/user/profile
[Thu Jun 09 12:46:49 2011] [error] [client 127.0.0.1] PHP 3. sfFrontWebController->dispatch() /lib/vendor/symfony/symfony-1.4.8/lib/util/sfContext.class.php:170, referer: http://mywebsite.localhost/frontend_dev.php/members/user/profile
[Thu Jun 09 12:46:49 2011] [error] [client 127.0.0.1] PHP 4. sfController->forward() /lib/vendor/symfony/symfony-1.4.8/lib/controller/sfFrontWebController.class.php:48, referer: http://mywebsite.localhost/frontend_dev.php/members/user/profile
[Thu Jun 09 12:46:49 2011] [error] [client 127.0.0.1] PHP 5. sfFilterChain->execute() /lib/vendor/symfony/symfony-1.4.8/lib/controller/sfController.class.php:238, referer: http://mywebsite.localhost/frontend_dev.php/members/user/profile
[Thu Jun 09 12:46:49 2011] [error] [client 127.0.0.1] PHP 6. sfRenderingFilter->execute() /lib/vendor/symfony/symfony-1.4.8/lib/filter/sfFilterChain.class.php:53, referer: http://mywebsite.localhost/frontend_dev.php/members/user/profile
[Thu Jun 09 12:46:49 2011] [error] [client 127.0.0.1] PHP 7. sfFilterChain->execute() /lib/vendor/symfony/symfony-1.4.8/lib/filter/sfRenderingFilter.class.php:33, referer: http://mywebsite.localhost/frontend_dev.php/members/user/profile
[Thu Jun 09 12:46:49 2011] [error] [client 127.0.0.1] PHP 8. sfGuardRememberMeFilter->execute() /lib/vendor/symfony/symfony-1.4.8/lib/filter/sfFilterChain.class.php:53, referer: http://mywebsite.localhost/frontend_dev.php/members/user/profile
[Thu Jun 09 12:46:49 2011] [error] [client 127.0.0.1] PHP 9. sfFilterChain->execute() /home/voidstar/work/webdev/frameworks/symfony/sites/mywebsite/plugins/sfGuardPlugin/lib/sfGuardRememberMeFilter.class.php:53, referer: http://mywebsite.localhost/frontend_dev.php/members/user/profile
[Thu Jun 09 12:46:49 2011] [error] [client 127.0.0.1] PHP 10. sfBasicSecurityFilter->execute() /lib/vendor/symfony/symfony-1.4.8/lib/filter/sfFilterChain.class.php:53, referer: http://mywebsite.localhost/frontend_dev.php/members/user/profile
[Thu Jun 09 12:46:49 2011] [error] [client 127.0.0.1] PHP 11. sfFilterChain->execute() /lib/vendor/symfony/symfony-1.4.8/lib/filter/sfBasicSecurityFilter.class.php:72, referer: http://mywebsite.localhost/frontend_dev.php/members/user/profile
[Thu Jun 09 12:46:49 2011] [error] [client 127.0.0.1] PHP 12. sfGoogleAnalyticsFilter->execute() /lib/vendor/symfony/symfony-1.4.8/lib/filter/sfFilterChain.class.php:53, referer: http://mywebsite.localhost/frontend_dev.php/members/user/profile
[Thu Jun 09 12:46:49 2011] [error] [client 127.0.0.1] PHP 13. sfFilterChain->execute() /home/voidstar/work/webdev/frameworks/symfony/sites/mywebsite/plugins/sfGoogleAnalyticsPlugin/lib/filter/sfGoogleAnalyticsFilter.class.php:45, referer: http://mywebsite.localhost/frontend_dev.php/members/user/profile
[Thu Jun 09 12:46:49 2011] [error] [client 127.0.0.1] PHP 14. sfExecutionFilter->execute() /lib/vendor/symfony/symfony-1.4.8/lib/filter/sfFilterChain.class.php:53, referer: http://mywebsite.localhost/frontend_dev.php/members/user/profile
[Thu Jun 09 12:46:49 2011] [error] [client 127.0.0.1] PHP 15. sfExecutionFilter->handleAction() /lib/vendor/symfony/symfony-1.4.8/lib/filter/sfExecutionFilter.class.php:42, referer: http://mywebsite.localhost/frontend_dev.php/members/user/profile
[Thu Jun 09 12:46:49 2011] [error] [client 127.0.0.1] PHP 16. sfExecutionFilter->executeAction() /lib/vendor/symfony/symfony-1.4.8/lib/filter/sfExecutionFilter.class.php:78, referer: http://mywebsite.localhost/frontend_dev.php/members/user/profile
[Thu Jun 09 12:46:49 2011] [error] [client 127.0.0.1] PHP 17. sfActions->execute() /lib/vendor/symfony/symfony-1.4.8/lib/filter/sfExecutionFilter.class.php:92, referer: http://mywebsite.localhost/frontend_dev.php/members/user/profile
[Thu Jun 09 12:46:49 2011] [error] [client 127.0.0.1] PHP 18. userActions->executeEditProfile() /lib/vendor/symfony/symfony-1.4.8/lib/action/sfActions.class.php:60, referer: http://mywebsite.localhost/frontend_dev.php/members/user/profile
[Thu Jun 09 12:46:49 2011] [error] [client 127.0.0.1] PHP 19. sfFormObject->save() /home/voidstar/work/webdev/frameworks/symfony/sites/mywebsite/apps/frontend/modules/user/actions/actions.class.php:68, referer: http://mywebsite.localhost/frontend_dev.php/members/user/profile
[Thu Jun 09 12:46:49 2011] [error] [client 127.0.0.1] PHP 20. UserProfileForm->doSave() /lib/vendor/symfony/symfony-1.4.8/lib/form/addon/sfFormObject.class.php:130, referer: http://mywebsite.localhost/frontend_dev.php/members/user/profile
[Thu Jun 09 12:46:49 2011] [error] [client 127.0.0.1] PHP 21. sfFormObject->doSave() /home/voidstar/work/webdev/frameworks/symfony/sites/mywebsite/lib/form/core/UserProfileForm.class.php:119, referer: http://mywebsite.localhost/frontend_dev.php/members/user/profile
[Thu Jun 09 12:46:49 2011] [error] [client 127.0.0.1] PHP 22. UserProfileForm->updateObject() /lib/vendor/symfony/symfony-1.4.8/lib/form/addon/sfFormObject.class.php:159, referer: http://mywebsite.localhost/frontend_dev.php/members/user/profile
[Thu Jun 09 12:46:49 2011] [error] [client 127.0.0.1] PHP 23. sfFormObject->updateObject() /home/voidstar/work/webdev/frameworks/symfony/sites/mywebsite/lib/form/core/UserProfileForm.class.php:136, referer: http://mywebsite.localhost/frontend_dev.php/members/user/profile
[Thu Jun 09 12:46:49 2011] [error] [client 127.0.0.1] PHP 24. sfFormPropel->processValues() /lib/vendor/symfony/symfony-1.4.8/lib/form/addon/sfFormObject.class.php:181, referer: http://mywebsite.localhost/frontend_dev.php/members/user/profile
[Thu Jun 09 12:46:49 2011] [error] [client 127.0.0.1] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /home/voidstar/work/webdev/frameworks/symfony/sites/mywebsite/lib/model/core/om/BaseUserProfile.php on line 2903, referer: http://mywebsite.localhost/frontend_dev.php/members/user/profile
[Thu Jun 09 12:46:49 2011] [error] [client 127.0.0.1] PHP Stack trace:, referer: http://mywebsite.localhost/frontend_dev.php/members/user/profile
Answer is the same as for this question: Symfony form values missing
i.e. overriden postValidate() method not returning $values was the culprit!