mod_tile rendere is not working with apache on openSUSE - apache

i want to run tile server
i configured by following this Link
When i try to access the http://myserver.domain/osm_tiles/0/0/0.png i'm getting the response as
Object not found!
When i see the apache log it says socket file is missing
tile_state: determined state of default 0 0 0 on store 7f05ba987d70: Tile size: -1, expired: 1 created: 0
[Thu Nov 06 16:15:59.396965 2014] [tile:debug] [pid 6334] ./src/mod_tile.c(166): [client 192.168.1.180:52068] Connecting to renderd on Unix socket /var/run/renderd/renderd.sock
[Thu Nov 06 16:15:59.397003 2014] [tile:warn] [pid 6334] [client 192.168.1.180:52068] socket connect failed for: /var/run/renderd/renderd.sock with reason: No such file or directory
[Thu Nov 06 16:15:59.397007 2014] [tile:notice] [pid 6334] [client 192.168.1.180:52068] Failed to connect to renderer
[Thu Nov 06 16:15:59.397010 2014] [tile:debug] [pid 6334] ./src/mod_tile.c(960): [client 192.168.1.180:52068] tile_storage_hook: Missing tile was not rendered in time. Returning File Not Found
What went wrong in the configuration..

Related

Apache start error -

Getting following error while starting the Apache. Tried all possible things found on Stackoverflow or google -
[Thu Jun 14 05:03:22.973799 2018] [ssl:trace2] [pid 13154] ssl_engine_rand.c(126): Init: Seeding PRNG with 144 bytes of entropy
[Thu Jun 14 05:03:22.973834 2018] [ssl:info] [pid 13154] AH01887: Init: Initializing (virtual) servers for SSL
[Thu Jun 14 05:03:22.973840 2018] [ssl:info] [pid 13154] AH01876: mod_ssl/2.4.25 compiled against Server: Apache/2.4.25, Library: OpenSSL/1.0.2h
[Thu Jun 14 05:03:22.973858 2018] [http2:debug] [pid 13154] mod_http2.c(103): AH03089: initializing post config dry run
[Thu Jun 14 05:03:22.974292 2018] [core:emerg] [pid 13154] (22)Invalid argument: AH00024: Couldn't set permissions on the rewrite-map mutex; check User and Group directives
AH00016: Configuration Failed

proxy_http:error [pid 12216:tid 1348] [client 135.215.11.191:63376] AH01114: HTTP: failed to make connection to backend: 127.0.0.1

I am working on ROR(Ruby on rails) project and that application is hosted on APACHE 2.4 server.
My Application is running fine without fail but some times it is getting down. And I have to restart server to make it up.
I checked the error.log file in APACHE and found below lines that can explorer more to you.
LOG
[Tue Jul 26 12:34:43.837275 2016] [wsgi:warn] [pid 12216:tid 668] mod_wsgi: Compiled for Python/2.7.9+.
[Tue Jul 26 12:34:43.837275 2016] [wsgi:warn] [pid 12216:tid 668] mod_wsgi: Runtime using Python/2.7.12.
[Tue Jul 26 12:34:43.880279 2016] [mpm_winnt:notice] [pid 12216:tid 668] AH00354: Child: Starting 64 worker threads.
[Tue Jul 26 12:46:57.009585 2016] [proxy:error] [pid 12216:tid 1348] (OS 10061)No connection could be made because the target machine actively refused it. : AH00957: HTTP: attempt to connect to 127.0.0.1:3020 (127.0.0.1) failed
[Tue Jul 26 12:46:57.009585 2016] [proxy:error] [pid 12216:tid 1348] AH00959: ap_proxy_connect_backend disabling worker for (127.0.0.1) for 60s
[Tue Jul 26 12:46:57.009585 2016] [proxy_http:error] [pid 12216:tid 1348] [client 135.215.11.191:63376] AH01114: HTTP: failed to make connection to backend: 127.0.0.1
Please suggest something that I don't need to restart my server frequently. And my application runs for long time.

I cant start apache after upgrading to yosemite

I updated to Yosemite and when I type localhost into the browser It says webpage not availible. I tried restarting apache but it still wouldn't work. Does anyone have advice?
Here are my error logs:
[Tue Oct 21 20:04:25 2014] [error] [client ::1] File does not exist: /Library/WebServer/Documents/favicon.ico
[Tue Oct 21 20:55:27 2014] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
httpd: Could not reliably determine the server's fully qualified domain name, using Cliffords-MacBook.local for ServerName
[Tue Oct 21 20:55:28 2014] [notice] Digest: generating secret for digest authentication ...
[Tue Oct 21 20:55:28 2014] [notice] Digest: done
[Tue Oct 21 20:55:28 2014] [emerg] (17)File exists: Couldn't create accept lock (/private/var/log/apache2/accept.lock.22) (5)
[Tue Oct 21 20:55:29 2014] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
httpd: Could not reliably determine the server's fully qualified domain name, using Cliffords-MacBook.local for ServerName
[Tue Oct 21 20:55:29 2014] [notice] Digest: generating secret for digest authentication ...
[Tue Oct 21 20:55:29 2014] [notice] Digest: done
[Tue Oct 21 20:55:29 2014] [warn] pid file /private/var/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Oct 21 20:55:29 2014] [notice] Apache/2.2.26 (Unix) DAV/2 PHP/5.5.14 mod_ssl/2.2.26 OpenSSL/0.9.8y configured -- resuming normal operations
[Tue Oct 21 20:57:10 2014] [error] [client ::1] File does not exist: /Library/WebServer/Documents/favicon.ico
[Tue Oct 21 21:35:36 2014] [notice] caught SIGTERM, shutting down

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

Apache: Could not initialize random number generator

I'm really frustrated, my apache server doesn't start, my error.log is this:
[Fri Jul 26 16:26:20.211050 2013] [core:notice] [pid 32240:tid 268] AH00094: Command line: 'c:\\users\\mrvisiont\\desktop\\xampp\\apache\\bin\\httpd.exe -d C:/Users/MrViSiOnT/Desktop/xampp/apache'
[Fri Jul 26 16:26:20.213050 2013] [mpm_winnt:notice] [pid 32240:tid 268] AH00418: Parent: Created child process 32112
[Fri Jul 26 16:26:20.225050 2013] [:crit] [pid 32112] (-2146173818)Unknown error: AH00141: Could not initialize random number generator
[Fri Jul 26 16:26:20.227051 2013] [mpm_winnt:crit] [pid 32240:tid 268] AH00419: master_main: create child process failed. Exiting.
I don't know what is the meaning of "Could not initialize random number generator"
Anybody knows what is the issue????
EDIT:
When I run httpd.exe, error.log is:
[Fri Jul 26 16:52:31 2013] [notice] Digest: generating secret for digest authentication ...
[Fri Jul 26 16:52:31 2013] [notice] Digest: done
[Fri Jul 26 16:52:31 2013] [notice] Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 configured -- resuming normal operations
[Fri Jul 26 16:52:31 2013] [notice] Server built: Sep 10 2011 11:34:11
[Fri Jul 26 16:52:31 2013] [notice] Parent: Created child process 16760
no listening sockets available, shutting down
Unable to open logs
[Fri Jul 26 16:52:31 2013] [crit] (OS 87)El parámetro no es correcto. : master_main: create child process failed. Exiting.
EDIT (FYI): Thank you people!
When I comment ServerName line from httpd.conf... error.log is:
httpd.exe: Could not reliably determine the server's fully qualified domain name, using fe80::8e3:cc40:2151:c412 for ServerName
[Fri Jul 26 17:03:11 2013] [notice] Digest: generating secret for digest authentication ...
[Fri Jul 26 17:03:11 2013] [notice] Digest: done
[Fri Jul 26 17:03:12 2013] [notice] Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 configured -- resuming normal operations
[Fri Jul 26 17:03:12 2013] [notice] Server built: Sep 10 2011 11:34:11
[Fri Jul 26 17:03:12 2013] [notice] Parent: Created child process 13816
httpd.exe: apr_sockaddr_info_get() failed for MRVISIONT-PC
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
no listening sockets available, shutting down
Unable to open logs
[Fri Jul 26 17:03:12 2013] [crit] (OS 6)Controlador no válido. : master_main: create child process failed. Exiting.
I had similar problem and troubleshooted for days before I finally stumbled upon the solution:
Ensure that your system's PATH environment variable does not contain illegal characters such as "b?????Ä/????????".
Removing such entries resolved the problem for me.
I had a similar problem:
[:crit] [pid 7368] (-2146173818)Unknown error: AH00141: Could not initialize random number generator
I checked the system's PATH environment variable and found Chinese signs in it.
Since I deleted them, Apache works fine.
Check your environment settings. There may be an invalid character in it. See http://www.apachelounge.com/viewtopic.php?t=5535
Besides that: it looks like you are missing the logs directory.
I ran into this issue today for a completely different reason: No PATH environment variable (at all).
The environment variable hint put me on the right track. Dumping environment vars via a test application instead of starting Apache revealed the underlying issue. The Windows CreateProcess() API is generally difficult to work with.