Sponsored Content
Top Forums Shell Programming and Scripting Apache webserver troubleshooting Post 302909949 by ajayram_arya on Tuesday 22nd of July 2014 11:15:16 AM
Old 07-22-2014
Scoot

I am running Redhat 6 , SElinux was enabled,apache is listening to port 8080 and it is open.


Code:
308 % netstat -na | grep 8080
tcp        0      0 149.186.251.174:8080        0.0.0.0:*                   LISTEN

Code:
311 %  grep DocumentRoot /local/tools/apache/conf/httpd.conf
# DocumentRoot: The directory out of which you will serve your
DocumentRoot "/local/tools/apache/htdocs"
    # access content that does not live under the DocumentRoot.

Code:
312 % ls -l /local/tools/apache/htdocs/
total 4
-rw-r--r--. 1 weather weather 53 Jul 16 11:41 sample.html


Error log
Code:
[Mon Jul 21 10:36:10.723280 2014] [mpm_event:notice] [pid 34035:tid 140161124194048] AH00491: caught SIGTERM, shutting down
[Mon Jul 21 10:36:25.073844 2014] [mpm_event:notice] [pid 81038:tid 139893008946944] AH00489: Apache/2.4.9 (Unix) configured -- resuming normal operations
[Mon Jul 21 10:36:25.074062 2014] [core:notice] [pid 81038:tid 139893008946944] AH00094: Command line: '/local/tools/apache/bin/httpd -f /local/tools/apache/
conf/httpd.conf'
[Mon Jul 21 10:40:06.924680 2014] [mpm_event:notice] [pid 81038:tid 139893008946944] AH00491: caught SIGTERM, shutting down
[Mon Jul 21 11:09:33.172809 2014] [mpm_event:notice] [pid 22178:tid 139888978118400] AH00489: Apache/2.4.9 (Unix) configured -- resuming normal operations
[Mon Jul 21 11:09:33.173060 2014] [core:notice] [pid 22178:tid 139888978118400] AH00094: Command line: '/local/tools/apache/bin/httpd'

---------- Post updated 07-22-14 at 10:15 AM ---------- Previous update was 07-21-14 at 12:38 PM ----------

Looks like nobody knows anything about apache !!!!

Last edited by ajayram_arya; 07-21-2014 at 02:50 PM.. Reason: updates on error logs
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Logout Apache WebServer!

I've just started an Apache WebServer a few days ago. I'm using a web site interface for uses to interact with when they login. There are only 5 accounts for my server at the moment. How would i create a logout link so that when the user wants to end their session and logout I can see this in... (1 Reply)
Discussion started by: cipher
1 Replies

2. OS X (Apple)

Webserver Setup, need help!

Hey guys, does anyone know how I edit, configure the server settings using the terminal? MySQL and PHP was once working. But after frying the Xserve G5 i'm in the middle of rebuilding everything, I believe i need to re-configure the root document directory... but have forgotten how to edit... (1 Reply)
Discussion started by: hype.it
1 Replies

3. UNIX for Advanced & Expert Users

apache webserver

Can I set up an apache webserver on Mandriva? Looking for the easiest webserver program to install basic webserver just for home use. Any ideas/suggestions much appreciated..... (2 Replies)
Discussion started by: jo calamine
2 Replies

4. Solaris

webserver login

how can I get statistics and web analysis for solaris 10 webserver access? what is the file? and what is the tools to analyze it? thanx (2 Replies)
Discussion started by: fsmadi
2 Replies

5. Ubuntu

Apache Server troubleshooting

I'm having issues getting apache to respond to requests outside of my local LAN. If I goto my server URL (www .poillion. com) it says connecting... but never finishes and returns anything. I'm using Ubuntu Server 10.10. a) The DNS is working fine. It's pointed to my cable modem's IP and... (1 Reply)
Discussion started by: lorewap3
1 Replies

6. UNIX for Advanced & Expert Users

apache webserver url redirection

I need help in apache url redirection: I have added the below command in httpd.conf and it is working fine. Redirect http://xyz.com/site/homehttp://abc.com/site/home Can we set a rule such that http://xyz.com/site/* -> http://abc.com/site/* is applied For... (0 Replies)
Discussion started by: raghur77
0 Replies

7. HP-UX

Help troubleshooting new Apache installation on HPUX 11.31

Hi Guys! I have a very odd problem while installing Apache in an HPUX 11.31, What I did was downloaded the latest webserver suite from hp software, installed using swinstall, everything was extracted properly. The apache version was 2.2.15 Now the issue comes when I run it, it starts... (3 Replies)
Discussion started by: feliper
3 Replies

8. Emergency UNIX and Linux Support

Netcat ( nc -l ) as webserver

Dear Linux guru's I am trying to create a webserver using nc (netcat only) on RHEL 7.2 running on bash shell. now the easy thing is to get nc listing to a port and respond back $ while true; do { echo -e 'HTTP/1.0 200 OK\r\n'; set; } | nc -l 7877; done This when called from a... (3 Replies)
Discussion started by: chakrapani
3 Replies

9. Web Development

How to enable x-client-ip address in apache webserver LogFormat?

how to enable x-client-ip address in apache webserver LogFormat i tried below option, but no luck... 1. LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined 2. LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" proxy 3.... (0 Replies)
Discussion started by: raghur77
0 Replies
apacheconf(1)						       Apache configuration						     apacheconf(1)

NAME
apacheconf - Apache configuration utility SYNTAX
apacheconf DESCRIPTION
This is a new graphical tool to configure the common web server Apache in an easy and simple way. It supports the basic configuration options and even allows to set up multiple virtual hosts. OPTIONS
None FILES
/usr/bin/apacheconf /usr/share/apacheconf/* /etc/alchemist/switchboard/apache.switchboard.adl /etc/alchemist/namespace/apache/local.adl /etc/alchemist/namespace/apache/rpm.adl /var/cache/alchemist/apache/* EXAMPLES
To run this program simply type: apacheconf SEE ALSO
httpd(8) BUGS
Not all possible checks for correct values are done yet. The current /etc/httpd/conf/httpd.conf file is NOT parsed, so changing the configuration with apacheconf will overwrite any manual changes to the httpd.conf file or the changes done with apacheconf are discarded. In case of overwriting the manually editied file a backup file will be generated. AUTHORS
Jonathan Blandford <jrb@redhat.com> Philipp Knirsch <pknirsch@redhat.com> Philipp Knirsch 0.63 apacheconf(1)
All times are GMT -4. The time now is 08:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy