Unable to access application using URL - apache

I am unable to access one of the web application using URL,but it is possible to access using the hostname:port.
I am using the Server: Apache/2.2.15 (Unix).
The httpd logs shows below error.
[Sun Jan 10 07:36:46 2016] [notice] child pid 12490 exit signal Segmentation fault (11)
[Sun Jan 10 07:36:46 2016] [notice] child pid 12491 exit signal Segmentation fault (11)
[Sun Jan 10 07:36:46 2016] [error] NSS_Initialize failed. Certificate database: /etc/httpd/alias.
[Sun Jan 10 07:36:46 2016] [error] SSL Library Error: -8038 SEC_ERROR_NOT_INITIALIZED
[Sun Jan 10 07:36:46 2016] [error] NSS_Initialize failed. Certificate database: /etc/httpd/alias.
[Sun Jan 10 07:36:46 2016] [error] SSL Library Error: -8038 SEC_ERROR_NOT_INITIALIZED
[Sun Jan 10 07:36:46 2016] [error] NSS_Initialize failed. Certificate database: /etc/httpd/alias.
[Sun Jan 10 07:36:46 2016] [error] SSL Library Error: -8038 SEC_ERROR_NOT_INITIALIZED
[Sun Jan 10 07:36:46 2016] [error] NSS_Initialize failed. Certificate database: /etc/httpd/alias.
[Sun Jan 10 07:36:46 2016] [error] SSL Library Error: -8038 SEC_ERROR_NOT_INITIALIZED
[Sun Jan 10 07:36:47 2016] [notice] child pid 12492 exit signal Segmentation fault (11)
[Sun Jan 10 07:36:47 2016] [notice] child pid 12493 exit signal Segmentation fault (11)
[Sun Jan 10 07:36:47 2016] [notice] child pid 12494 exit signal Segmentation fault (11)
[Sun Jan 10 07:36:47 2016] [notice] child pid 12495 exit signal Segmentation fault (11)
[Sun Jan 10 07:36:47 2016] [error] NSS_Initialize failed. Certificate database: /etc/httpd/alias.
[Sun Jan 10 07:36:47 2016] [error] SSL Library Error: -8038 SEC_ERROR_NOT_INITIALIZED
[Sun Jan 10 07:36:47 2016] [error] NSS_Initialize failed. Certificate database: /etc/httpd/alias.
[Sun Jan 10 07:36:47 2016] [error] SSL Library Error: -8038 SEC_ERROR_NOT_INITIALIZED
[Sun Jan 10 07:36:47 2016] [error] NSS_Initialize failed. Certificate database: /etc/httpd/alias.
[Sun Jan 10 07:36:47 2016] [error] SSL Library Error: -8038 SEC_ERROR_NOT_INITIALIZED
[Sun Jan 10 07:36:47 2016] [error] NSS_Initialize failed. Certificate database: /etc/httpd/alias.
[Sun Jan 10 07:36:47 2016] [error] SSL Library Error: -8038 SEC_ERROR_NOT_INITIALIZED
[Sun Jan 10 07:36:47 2016] [error] NSS_Initialize failed. Certificate database: /etc/httpd/alias.
[Sun Jan 10 07:36:47 2016] [error] SSL Library Error: -8038 SEC_ERROR_NOT_INITIALIZED
[Sun Jan 10 07:36:47 2016] [error] NSS_Initialize failed. Certificate database: /etc/httpd/alias.
[Sun Jan 10 07:36:47 2016] [error] SSL Library Error: -8038 SEC_ERROR_NOT_INITIALIZED
[Sun Jan 10 07:36:47 2016] [error] NSS_Initialize failed. Certificate database: /etc/httpd/alias.
[Sun Jan 10 07:36:47 2016] [error] SSL Library Error: -8038 SEC_ERROR_NOT_INITIALIZED
[Sun Jan 10 07:36:47 2016] [error] NSS_Initialize failed. Certificate database: /etc/httpd/alias.
[Sun Jan 10 07:36:47 2016] [error] SSL Library Error: -8038 SEC_ERROR_NOT_INITIALIZED
[Sun Jan 10 07:36:48 2016] [notice] child pid 12496 exit signal Segmentation fault (11)
[Sun Jan 10 07:36:48 2016] [notice] child pid 12497 exit signal Segmentation fault (11)

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

NSS Apache SSL Incorrect Password

I'm setting up NSS for my Apache server but I'm running into an error. I feel like this is a really easy fix that I'm overlooking.
Here's my Apache error log:
[Tue Mar 21 16:09:13 2017] [error] Password for slot internal is incorrect.
[Tue Mar 21 16:09:13 2017] [error] NSS initialization failed. Certificate database: /etc/apache2/nssdb/.
[Tue Mar 21 16:09:13 2017] [error] SSL Library Error: -8177 The security password entered is incorrect
[Tue Mar 21 16:14:22 2017] [error] Password for slot internal is incorrect.
[Tue Mar 21 16:14:22 2017] [error] NSS initialization failed. Certificate database: /etc/apache2/nssdb/.
[Tue Mar 21 16:14:22 2017] [error] SSL Library Error: -8177 The security password entered is incorrect
[Tue Mar 21 16:24:25 2017] [error] Password for slot internal is incorrect.
[Tue Mar 21 16:24:25 2017] [error] NSS initialization failed. Certificate database: /etc/apache2/nssdb/.
[Tue Mar 21 16:24:25 2017] [error] SSL Library Error: -8177 The security password entered is incorrect
[Tue Mar 21 16:29:00 2017] [error] Password for slot internal is incorrect.
[Tue Mar 21 16:29:00 2017] [error] NSS initialization failed. Certificate database: /etc/apache2/nssdb/.
[Tue Mar 21 16:29:00 2017] [error] SSL Library Error: -8177 The security password entered is incorrect
I checked apachectl -t, here is the output:
[Tue Mar 21 17:16:23 2017] [warn] module proxy_module is already loaded, skipping
[Tue Mar 21 17:16:23 2017] [warn] module proxy_http_module is already loaded, skipping
[Tue Mar 21 17:16:23 2017] [warn] module proxy_module is already loaded, skipping
[Tue Mar 21 17:16:23 2017] [warn] module proxy_http_module is already loaded, skipping
Syntax error on line 1 of /etc/apache2/conf.d/NSSPin.conf:
Invalid command 'token:password', perhaps misspelled or defined by a module not included in the server configuration
Here is my nss.conf file:
NSSPassPhraseDialog file:/etc/apache2/conf.d/NSSPin.txt
NSSPassPhraseHelper /usr/sbin/nss_pcache
I've tried multiple combinations of NSSPassPhraseDialog with file, exec, "password", password. In my /etc/apache2/conf.d/NSSPin.txt file (the file that NSSPassPhraseDialog is being linked to) I've tried "password", password, toke:password, token:"password", internal:password, internal:"password". I'm not really sure what else to do.

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

mod_tile rendere is not working with apache on openSUSE

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..

amazon ec2 apache crash

my apache server on amazon ec2 crashes for some reason,
[Tue Jun 18 09:28:26.008659 2013] [core:notice] [pid 4806] AH00052: child pid 6226 exit signal Segmentation fault (11)
[Tue Jun 18 09:28:26.008735 2013] [core:notice] [pid 4806] AH00052: child pid 6227 exit signal Segmentation fault (11)
[Tue Jun 18 09:28:26.008752 2013] [core:notice] [pid 4806] AH00052: child pid 6228 exit signal Segmentation fault (11)
[Tue Jun 18 09:28:28.017033 2013] [core:notice] [pid 4806] AH00052: child pid 6151 exit signal Segmentation fault (11)
[Tue Jun 18 09:28:46.035989 2013] [core:notice] [pid 4806] AH00052: child pid 6120 exit signal Segmentation fault (11)
[Tue Jun 18 09:28:47.388781 2013] [mpm_prefork:notice] [pid 4806] AH00169: caught SIGTERM, shutting down
[Tue Jun 18 09:28:51.712473 2013] [ssl:warn] [pid 6276] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Tue Jun 18 09:28:51.891491 2013] [ssl:warn] [pid 6277] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Tue Jun 18 09:28:51.891584 2013] [lbmethod_heartbeat:notice] [pid 6277] AH02282: No slotmem from mod_heartmonitor
[Tue Jun 18 09:28:51.943536 2013] [mpm_prefork:notice] [pid 6277] AH00163: Apache/2.4.3 (Unix) OpenSSL/1.0.1c PHP/5.4.12 configured -- resuming normal operations
what is causing that and what can i do ?
From what you posted, it looks like this the problem:
"Apache exit signal Segmentation fault (11)" [This is what you need to google]
Check if you have enough resources(Memory(free -m) and disk-space).
Then, if still stuck, you may want create dump as explained below and dig into that dump
Section: Debugging intermittent crashes
http://httpd.apache.org/dev/debugging.html