- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to open Port 80
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2003 12:00 AM
12-03-2003 12:00 AM
How to open Port 80
I installed an apache webserver and try to reach my maschine. i detected two strange behaviours/facts:
When I try to start the webserver with the apachctl or directly with httpd -k start nothing happens (I am thinking about any response, a status or error report or something similar). Instead if I look for this process with top I see an increase of the cpu usage divergent against 100% (stoped it before) but no message.
What should I see?
I try to reach my maschine with a browser and a tool which checks the ports opened. the Result: Port 80 is closed. How can I open it?
Is this closed port (which is defined as the port to listen to in the httpd.conf) a proper reason for the first behaviour described above?
Thanks and best regads,
Oliver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2003 12:04 AM
12-03-2003 12:04 AM
Re: How to open Port 80
did you configure port 80 in the /etc/services file ?
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2003 12:10 AM
12-03-2003 12:10 AM
Re: How to open Port 80
it looks like. I checked the /etc/services and there is the line
http 80/tcp www # World Wide Web HTT
inside. Is this enough. How to activate changes to this file?
Best regards,
Oliver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2003 12:25 AM
12-03-2003 12:25 AM
Re: How to open Port 80
Check your configuration in /.../Apache/Apache/conf and logs in /.../Apache/Apache/logs
to try to determine what's going wrong.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2003 12:44 AM
12-03-2003 12:44 AM
Re: How to open Port 80
Now the main question: What do I intend to see when starting the apache with httpd -k start?
As I mentioned I see nothing but a very busy processor.
I have no ideas to fiddle out what could run wrong so it would be nice if anybody has some. It is my first time I am setting up such a server.
Thanks in advance and best regards,
oliver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2003 01:58 AM
12-03-2003 01:58 AM
Re: How to open Port 80
Could you give us a bit more info on what you are installing and where did you get the software ?
Somathing like below.
http://www.software.hp.com/portal/swdepot/displayInstallInfo.do?productNumber=HPUXWSATW101001
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2003 02:15 AM
12-03-2003 02:15 AM
Re: How to open Port 80
thanks for your helpstarter: I installed the hp software product B9416AA which is the apache webserver deliverd with the HP-UX 11.i TCOE
Do you know something about troubles with this product, patches needed etc.
Thanks for more hints.
Best regards,
Oliver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2003 02:24 AM
12-03-2003 02:24 AM
Re: How to open Port 80
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2003 02:25 AM
12-03-2003 02:25 AM
Re: How to open Port 80
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2003 02:30 AM
12-03-2003 02:30 AM
Re: How to open Port 80
thanks for your advices. I am really interested aswell in at least one log: The bad message is: There is nothing inside my APACHE_HOME/logs
Any explanation for this?
Maybe the version on the os bundle is not so good?
Thanks for more,
best regards,
Oliver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2003 02:46 AM
12-03-2003 02:46 AM
Re: How to open Port 80
I have some new hints of disfunctionality:
Try apachectl status and fullstatus. The response:
#:apachectl status
Looking up localhost
Making HTTP connection to localhost
Alert!: Unable to connect to remote host.
lynx: Can't access startfile http://localhost/server-status
[3]+ Done apachectl status
#: apachectl fullstatus &
[3] 18042
root@ipp060:
Looking up localhost
Making HTTP connection to localhost
Alert!: Unable to connect to remote host.
lynx: Can't access startfile http://localhost/server-status
[3]+ Done apachectl fullstatus
Gives this some more reasonable hints to this behaviour beside that the server itself is obviously not runnig (but this is show as httpd in the ps -ef).
Thanks,
Oliver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2003 03:10 AM
12-03-2003 03:10 AM
Re: How to open Port 80
where is apache installed ?
do u hv a conf directory and httpd.conf in their ?
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2003 03:15 AM
12-03-2003 03:15 AM
Re: How to open Port 80
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2003 03:20 AM
12-03-2003 03:20 AM
Re: How to open Port 80
I tested around with the features of the pachectl script. No good news from this:
status and fullstatus: see above
everything else including configtest: Nothing, this means really nothing: No new logs, no message on the screen... (o.k. help works as it should(oh no not really: The help of httpd but not the one of apachectl appears).
By the way: Everything looks like there is no apache installed at all. But it really is!! httpd -v gives
Server version: HP Apache-based Web Server/2.0.43
Server built: Oct 16 2002 20:49:56
The apache_home/conf/httpd.conf is there and I went through it for 20 times now-> nothinf which looks too unreasonable.
So I am more and more lost. If anybody has more ideas wolud be more than welcome.
What about the websuite from hp? Are only expensive products working? The decission to buy a hp workstation was among other reasons based on the apache included. Should it run at all (has anybody a proper running apache?)?
Nevertheless it has to work and therefore I am more than happy about more help.
Thanks in advance and best regards,
oliver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2003 03:30 AM
12-03-2003 03:30 AM
Re: How to open Port 80
As I hv seen earlier i have seen the following directories under $APACHE_HOME
bin conf htdocs libexec logs proxy
Are all directories present ?. U said logs is not there ... can u create it ?
ARE YOU STARTING IT AS ROOT ??. Else u will not be able to bind port 80
I would try this way ...
Login as root
cd $APACHE_HOME
bin/apachectl start
ps -ef |grep apache|grep -v grep
if not found then i would cd logs and see any error file is created and view it !
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2003 03:39 AM
12-03-2003 03:39 AM
Re: How to open Port 80
If not put "127.0.0.1 localhost" in your /etc/hosts file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2003 03:40 AM
12-03-2003 03:40 AM
Re: How to open Port 80
thank you very much for your intense help. Here some more infomation:
1.) The content of my apache_home which is /opt/hpapache2/
LICENSE bin conf htdocs lib modules tomcat
LICENSES build error icons logs php util
README cgi-bin hp_apache_docs include man ssl webmin
2.) I did
cd /opt/hpapache2/bin
./apachectl start
and nothing more to do on this terminal (I know the & was missing (or not?))
On another terminal I did the ps and the response is:
root 18153 17965 0 17:33:19 pts/1 0:00 /usr/bin/sh ./apachectl start
root 18154 18153 255 17:33:19 pts/1 6:19 /opt/hpapache2/bin/httpd -d /opt/hpapache2 -k start
Is it right to think that apachectl start does not succeed baut mannaged to start the httpd?
Thanks for some thoughts about this.
Oliver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2003 03:51 AM
12-03-2003 03:51 AM
Re: How to open Port 80
64 bytes from 127.0.0.1: icmp_seq=0. time=0. ms
64 bytes from 127.0.0.1: icmp_seq=1. time=0. ms
64 bytes from 127.0.0.1: icmp_seq=2. time=0. ms
64 bytes from 127.0.0.1: icmp_seq=3. time=0. ms
----localhost.ipp.kfa-juelich.de PING Statistics----
4 packets transmitted, 4 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0/0/0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2003 03:54 AM
12-03-2003 03:54 AM
Re: How to open Port 80
can u do lsof -i tcp:80 (U should hv lsof installed)
or can u start an Internet explorer with "http://hostname/"
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2003 03:55 AM
12-03-2003 03:55 AM
Re: How to open Port 80
I have no /opt/hpws directory on my maschine. Any ideas whether this could be a problem.
Concerning documents to access: In my httpd.conf the DocumentRoot is set to /opt/hpapache27htdocs and inside there is the index.html from the apache documentation. This should not be the error, shouldn't it?
Thanks and best regards,
oliver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2003 04:00 AM
12-03-2003 04:00 AM
Re: How to open Port 80
I have no isof installed (where can I get it from?).
Therefore I tried again to reach my document with a browser. The answer was that no connection could be established (connection refused in netscape and Not connection possible in my Konqueror).
The apachectl start is still running now if I look with ps -ef|grep httpd.
Is this reasonable?
Thanks for more in advance and best regards,
oliver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2003 04:03 AM
12-03-2003 04:03 AM
Re: How to open Port 80
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2003 04:12 AM
12-03-2003 04:12 AM
Re: How to open Port 80
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2003 04:15 AM
12-03-2003 04:15 AM
Re: How to open Port 80
sorry, yes I started it as root.
I mde an own user and group to run my apache but after it did not work I tried and tried and tried... it as root.
Can I correct/control the port binding?
Thanks again,
Oliver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2003 04:16 AM
12-03-2003 04:16 AM
Re: How to open Port 80
I installed the lsof from the source you mentioned and choosed the one for the PA-Risc version of HP-UX11.00: Another strange result when I try to run lsof:
lsof: FATAL: lsof was built for a 32 bit kernel, but this
is a 64 bit kernel.
Is this reasonable for this source.
Thanks,
Oliver