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
08-17-2005 06:25 AM
08-17-2005 06:25 AM
im trying to install apache and PHP its installed successful
but when im trying to start Apache":
# /usr/local/apache2/bin/apachectl start
(226)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
# /usr/local/apache2/bin/apachectl stop
httpd (pid 2968?) not running
i dont know what is the problem and how i can test the apache.
Thanks
Solved! Go to Solution.
- Tags:
- Apache
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2005 06:28 AM
08-17-2005 06:28 AM
Re: Apache
Try this...
telnet 127.0.0.1 80
GET /
Does this return an formatted page of html? If so, then another web servers exists at port 80.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2005 06:29 AM
08-17-2005 06:29 AM
Re: Apache
netstat -an | grep -i 80
to know what proggram/apps is listeneing on it. If you have lsof tools, you can do as follows.
lsof -i tcp:80
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2005 06:40 AM
08-17-2005 06:40 AM
Re: Apache
i did netstet -an | grep -i 80
the result
tcp 0 2 10.0.17.41.23 10.0.48.82.4980 ESTABLISHED
tcp 0 0 *.80 *.* LISTEN
4a671080 dgram 0 0 4a580880 48c37340
0 /opt/dcelocal/var/rpc/local/01051/c-3/7001
49362200 dgram 0 0 48b2e880 48c37bc0
0 /opt/dcelocal/var/rpc/local/01029/c-3/7000
49362380 dgram 0 0 490cd1c0 0 48fd03c
0 /opt/dcelocal/var/rpc/local/01029/c-3/shared
48c62640 dgram 0 0 493e4b80 0
0 /opt/dcelocal/var/rpc/local/01082/reaper
49362680 dgram 0 0 48a0f040 0
0 /opt/dcelocal/var/rpc/local/01060/reaper
48c627c0 dgram 0 0 48df0880 0
0 /opt/dcelocal/var/rpc/local/01664/c-3/shared
49362800 dgram 0 0 493e9880 48c37240
0 /opt/dcelocal/var/rpc/local/01259/c-3/7000
49362980 dgram 0 0 4962c940 0
0 /opt/dcelocal/var/rpc/local/01259/reaper
49362c80 stream 0 0 0 48c375c0
0
4a2a3280 stream 0 0 4a28ba00 0
0 /opt/dcelocal/var/rpc/local/s-0/3275
49493380 stream 0 0 0 48c64440
0 /var/dmi/socket/dmispSocket
49493680 stream 0 0 4911d400 0
0 /opt/dcelocal/var/rpc/local/s-0/2121
49493980 dgram 0 0 4907b400 0
0 /opt/dcelocal/var/rpc/local/s-3/2121
495b4240 dgram 0 0 493e9b80 0
0 /var/spool/sockets/pwgr/client1274
49224880 dgram 0 0 496791c0 0
0 /var/spool/sockets/pwgr/client1454
495b4840 dgram 0 0 496d4280 0
0 /var/spool/sockets/pwgr/client1430
495b49c0 stream 0 0 49615280 0
0 /tmp/mysql.sock
495b4b40 dgram 0 0 49733b80 0
0 /var/spool/sockets/pwgr/client1456
49224e80 dgram 0 0 4911aa00 0
0 /opt/dcelocal/var/rpc/local/01664/reaper
48c35ac0 stream 0 0 48fa7580 0
0 /opt/dcelocal/var/rpc/local/s-0/135
48c861c0 stream 0 0 0 48c88040
0
4a6c6380 dgram 0 0 0 0
0
48c86340 stream 0 0 48c32580 0
0 /etc/vx/vold_diag/socket
4a288280 dgram 0 0 4a28b7c0 0
0 /opt/dcelocal/var/rpc/local/01475/reaper
4a288880 dgram 0 0 490b0f40 0
0 /var/spool/sockets/pwgr/client1518
4a4d90c0 dgram 0 0 4a0f4580 0
0 /opt/dcelocal/var/rpc/local/01819/reaper
492f9080 stream 0 0 0 48c88340
0 /tmp/.AgentSockets/A
492f9380 stream 0 0 0 48c88440
0 /tmp/.AgentSockets/A
492f9680 stream 0 0 49112400 0
0 /var/dmi/socket/dmispSocket
492f9800 dgram 0 0 48b2e7c0 0
0 /opt/dcelocal/var/rpc/local/01051/reaper
4a4ad1c0 dgram 0 0 4968b880 0
0 /opt/dcelocal/var/rpc/local/s-3/49456
4a4ad940 dgram 0 0 4911d580 48c37340
48c376c0 /opt/dcelocal/var/rpc/local/01783/c-3/7001
4a4adac0 dgram 0 0 490df580 0
0 /opt/dcelocal/var/rpc/local/01783/c-3/shared
4939e6c0 dgram 0 0 4947be80 0
0 /var/spool/sockets/pwgr/client1148
--- - - -- -
i dont knw what is the program use port 80
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2005 06:48 AM
08-17-2005 06:48 AM
Re: Apache
point a browser to the servers IP address - what is the result?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2005 07:01 AM
08-17-2005 07:01 AM
Re: Apache
the web site result
This web page is the default web page for the HP Apache-based Web Server on HP-UX. This page is usually replaced with web site content by the web site administrator.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2005 07:05 AM
08-17-2005 07:05 AM
Re: Apache
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2005 07:06 AM
08-17-2005 07:06 AM
Re: Apache
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2005 07:23 AM
08-17-2005 07:23 AM
Re: Apache
first of all i would like to say thanks for all memebers
im the only admin on this machine i just installed HP unix on it no others allow to use it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2005 07:43 AM
08-17-2005 07:43 AM
Re: Apache
please run
# swlist|grep -i apache
I guess, there is another installation. Have look here
/opt/apache
if you find something.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2005 08:05 AM
08-17-2005 08:05 AM
Re: Apache
swlist|grep -i apache
the result is Null
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2005 08:14 AM
08-17-2005 08:14 AM
Re: Apache
By the way, you are now a member of this forum for just about 2 weeks. A lot of your questions are being answered. But people who are helping you are interested in results (or even points). Don't let all of your threads simply die without result. Please have also a look at this thread, if you have the time:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=42657
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2005 08:22 AM
08-17-2005 08:22 AM
Re: Apache
im so sorry cuz i didnt knw about points befor.
thank u soo much for ur help and i will consider that.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2005 08:28 AM
08-17-2005 08:28 AM
Re: Apache
drwxrwxr-x 3 bin bin 96 Aug 10 10:50 JServ
-r--r--r-- 1 bin bin 13662 Nov 21 2001 LICENSE
-r--r--r-- 1 bin bin 52725 Nov 21 2001 LICENSES_in_bundle
-r--r--r-- 1 bin bin 123 Oct 17 2001 README
drwxr-xr-x 2 bin bin 8192 Aug 10 10:50 bin
drwxr-xr-x 2 bin bin 96 Aug 10 10:50 cgi-bin
drwxr-xr-x 8 bin bin 8192 Aug 10 11:07 conf
drwxr-xr-x 4 bin bin 8192 Aug 10 11:07 htdocs
drwxr-xr-x 3 bin bin 8192 Aug 10 10:50 icons
drwxr-xr-x 3 bin bin 8192 Aug 10 10:50 include
drwxrwxr-x 4 bin bin 8192 Aug 10 10:50 lib
drwxr-xr-x 2 bin bin 8192 Aug 10 10:51 libexec
drwxrwxrwx 2 bin bin 8192 Aug 17 20:24 logs
drwxrwxr-x 5 bin bin 96 Aug 10 10:51 man
drwxrwxr-x 5 bin bin 96 Aug 10 10:51 php
drwxr-xr-x 2 bin bin 96 Aug 10 10:51 proxy
drwxrwxr-x 2 bin bin 8192 Aug 10 10:51 servlets
drwxrwxr-x 9 bin bin 8192 Aug 10 10:51 ssl
drwxrwxr-x 19 bin bin 8192 Aug 10 10:51 webmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2005 08:36 AM
08-17-2005 08:36 AM
Re: Apache
Now you have to decide - keep this old version and configure/use this one or completly remove it and use your new version. It's your decision. You can have only one apache listening on port 80.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2005 10:08 AM
08-17-2005 10:08 AM
SolutionA) Just use the HP one already on your box, and use it as the server you're trying to stand up.
Pros: Already installed, standard patching tools can keep it updated with standard patch maintenance methods for whole box. Also, has a lot of nifty stuff in it that's not included just with Apache.
Cons: If you're not interested in using the extra stuff, it's just junk you'll have to wade through and maintain. HP doesn't seem to patch it's Apache server as fast or as often as apache itself does.
B) Take down the HP server, and run the new one instead.
Pros: You've already installed the new one, and I'm guessing you've got it already setup (at least pro-forma) for the job you want it to do. You can keep it fully patched and current with Apache's recommended changes as often as you wish. It may also be tailored tightly to the job at hand, and have less extraneous "stuff" in it that you're not interested in.
Cons: You may have things running in the HP one that you don't know about that you need. But, regardless - you *really* need to find out.
C) Change new server's port number and run both, or Alternative-C) change old server's port number and run both.
Pros: Both applications live happily ever afterward. The security issues and permissions of one server are totally separate from the other (very good).
Cons: Second application must use a port designator in the URL. You now have TWO Apache servers that you have to keep current for security patches and bug fixes.
That's it - three choices.