Sponsored Content
Operating Systems Linux Red Hat Installed apache server , can't connect from outside (using CentOS in WMware ) Post 302475806 by umen on Tuesday 30th of November 2010 03:17:35 AM
Old 11-30-2010
Installed apache server , can't connect from outside (using CentOS in WMware )

Hello all
I installed apache in CentOS 5.5 ,after searching the web for tips on configuration
I did the fallowing stuff to unable connecting the http server from outside.
In /etc/httpd/conf/httpd.conf I changed the Listen value to 0.0.0.8011
Then checked with then check with: netstat -anp and I do see the apache listen on this port
Configured the httpd as service: chkconfig --levels 235 httpd on
Enable ports with : semanage port -a -t http_port_t -p tcp 8011
In iptables I set
iptables -A INPUT -d 10.1.15.1 -p tcp --dport 8011 -j ACCEPT
/etc/init.d/iptables save active
Restart the server
But still can't connect from outside , even with telnet <ip> <port> I can't connect .
By the way FTP and ssh do work great with this ip .
 

10 More Discussions You Might Find Interesting

1. Solaris

How to identify which type of Apache is installed?

Hi, I need to find out which type of Apache is installed. following is the list of Apache types Covalent, IBM HTTP, HP Apache-based, Oracle, Stronghold and may be some other as well. If anyone know how to figure out this, please share it with me. Thanks Sarwan (3 Replies)
Discussion started by: sarwan
3 Replies

2. UNIX for Dummies Questions & Answers

Which modules are installed for APACHE?

Is there some way I can tell which modules I have installed for APACHE? Would it be in httpd.conf? (2 Replies)
Discussion started by: mojoman
2 Replies

3. Solaris

apache installed or not

How to check out apache is installed in unix box ? i don't have execute for httpd -v command and also i don't have 'apache' directory under /usr/local but i could able to see many httpd processes running on the server. (2 Replies)
Discussion started by: Masanamuthu
2 Replies

4. Solaris

Not able to connect (ping & http) to windows 2003 (with IIS installed) from Solaris9 Machine(Tomcat)

hi Am trying to connect from Solaris 9 installed Sun server and having Tomcat 5.5.9 installed on top of it to Windows 2003 server with IIS installed for web application. Scenarios am facing are 1. From Sun system am able to ping and telnet ip with port 80 of windows 2000 system which is... (2 Replies)
Discussion started by: aemunathan
2 Replies

5. Cybersecurity

Apache server trying to connect with unknown ip:80

OK, so I've been learning my way through Fedora trying to progress to LFS and FreeBSD. I have a Fedora 14 machine running Apache 2.2.17, and about 2 days ago, I came across the server and saw a black screen blazing through text so fast I couldn't read it. I didn't know if it was a crash or I'd been... (1 Reply)
Discussion started by: Eotnak
1 Replies

6. Web Development

Connect C#(App) + Exim en Centos

Hi everyone, Today i'm faceing a problem, that really hope for some help. I'm working in a Web application developed in C#(DB SQL Server 2012, IDE VS 2010), so i've hired two VPS (Virtual Private Server), one with Windows Server 2012 where it's running my app and the other VPS in Centos.... (1 Reply)
Discussion started by: Newer
1 Replies

7. IP Networking

Linux centos, can't connect whois.tucows.com

Hello, when i tried to get whois on an .com domain, it automatically used tucows whois, it appears it cant connect that server, please how can i fix it, so it dont fail or use another server? whois mydomainname.com -f + whoisout=' ' I have: Linux * 2.6.18-348.3.1.el5.028stab106.2 #1... (5 Replies)
Discussion started by: postcd
5 Replies

8. Hardware

Can be Installed WMware EXSi on Sun Fire 445 sparc?

Can be Installed WMware EXSi on Sun Fire 445 sparc? I need to virtualize VMware EXSi on Sun Fire 445 for implement Windows, I can do? (2 Replies)
Discussion started by: abelop
2 Replies

9. UNIX for Advanced & Expert Users

CentOS VPS Server Apache Alias

All, We have a hosted CentOS 6 VPS server, using CPanel to install/config the domains/subdomains and installed osTicket in: my.domain.com/tkng/ We are trying to define the following Apache alias: my.domain.com/tickets which has to point to: my.domain.com/tkng/upload/ CPanel... (0 Replies)
Discussion started by: TBotNik
0 Replies

10. UNIX for Beginners Questions & Answers

How to connect to a DB installed on another host using shell script?

Hi Experts There are two hosts say A and B. On host B, Oracle DB is installed and running. I am trying to check if the DB on host B is up and running fine from a script on host A. Is this possible. I tried using commands like sql plus but those doesn't seem to help. Could you please guide. (8 Replies)
Discussion started by: harishshankar
8 Replies
OCF_HEARTBEAT_APACHE(7) 					OCF resource agents					   OCF_HEARTBEAT_APACHE(7)

NAME
ocf_heartbeat_apache - Manages an Apache web server instance SYNOPSIS
apache [start | stop | status | monitor | meta-data | validate-all] DESCRIPTION
This is the resource agent for the Apache web server. Thie resource agent operates both version 1.x and version 2.x Apache servers. The start operation ends with a loop in which monitor is repeatedly called to make sure that the server started and that it is operational. Hence, if the monitor operation does not succeed within the start operation timeout, the apache resource will end with an error status. The monitor operation by default loads the server status page which depends on the mod_status module and the corresponding configuration file (usually /etc/apache2/mod_status.conf). Make sure that the server status page works and that the access is allowed *only* from localhost (address 127.0.0.1). See the statusurl and testregex attributes for more details. See also http://httpd.apache.org/ SUPPORTED PARAMETERS
configfile The full pathname of the Apache configuration file. This file is parsed to provide defaults for various other resource agent parameters. (optional, string, default /etc/apache2/httpd.conf) httpd The full pathname of the httpd binary (optional). (optional, string, default /usr/sbin/httpd) port A port number that we can probe for status information using the statusurl. This will default to the port number found in the configuration file, or 80, if none can be found in the configuration file. (optional, integer, no default) statusurl The URL to monitor (the apache server status page by default). If left unspecified, it will be inferred from the apache configuration file. If you set this, make sure that it succeeds *only* from the localhost (127.0.0.1). Otherwise, it may happen that the cluster complains about the resource being active on multiple nodes. (optional, string, no default) testregex Regular expression to match in the output of statusurl. Case insensitive. (optional, string, default exists, but impossible to show in a human readable format (try grep testregex)) client Client to use to query to Apache. If not specified, the RA will try to find one on the system. Currently, wget and curl are supported. For example, you can set this paramter to "curl" if you prefer that to wget. (optional, string, no default) testurl URL to test. If it does not start with "http", then it's considered to be relative to the Listen address. (optional, string, no default) testregex10 Regular expression to match in the output of testurl. Case insensitive. (optional, string, no default) testconffile A file which contains test configuration. Could be useful if you have to check more than one web application or in case sensitive info should be passed as arguments (passwords). Furthermore, using a config file is the only way to specify certain parameters. Please see README.webapps for examples and file description. (optional, string, no default) testname Name of the test within the test configuration file. (optional, string, no default) options Extra options to apply when starting apache. See man httpd(8). (optional, string, no default) envfiles Files (one or more) which contain extra environment variables. If you want to prevent script from reading the default file, set this parameter to empty string. (optional, string, default /etc/apache2/envvars) SUPPORTED ACTIONS
This resource agent supports the following actions (operations): start Starts the resource. Suggested minimum timeout: 40s. stop Stops the resource. Suggested minimum timeout: 60s. status Performs a status check. Suggested minimum timeout: 30s. monitor Performs a detailed status check. Suggested minimum timeout: 20s. Suggested interval: 10. meta-data Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5. validate-all Performs a validation of the resource configuration. Suggested minimum timeout: 5. EXAMPLE
The following is an example configuration for a apache resource using the crm(8) shell: primitive example_apache ocf:heartbeat:apache op monitor depth="0" timeout="20s" interval="10" SEE ALSO
http://www.linux-ha.org/wiki/apache_(resource_agent) AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors) resource-agents 1.0.3 07/05/2010 OCF_HEARTBEAT_APACHE(7)
All times are GMT -4. The time now is 11:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy