- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HTTP CONNECTION
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
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
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
01-19-2012 12:23 PM
01-19-2012 12:23 PM
HTTP CONNECTION
Dear Sirs
I am running hp-ux 11.23. Can any one help with how to stop/start http on my server? The problem is i am trying to do an http connection to my server but could not. I rebooted the server but there was no change.
Thank you.
Kingsley
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2012 12:32 PM
01-19-2012 12:32 PM
Re: HTTP CONNECTION
http, like any network protocol, requires some sort of program or daemon to be running. On HP-UX, the program is called apache. Edit the file:
/etc/rc.config.d/hpws_apacheconf
Then change the line: HPWS_APACHE_START=1
The apache web server will start automatically at the next reboot.
To immediately start the web server (after editing the above file):
/sbin/init.d/hpws_apache start
Bill Hassell, sysadmin
- Tags:
- Apache
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2012 12:23 AM
01-20-2012 12:23 AM
Re: HTTP CONNECTION
Hi Bill!
I did what you told me and this is the output when i do ps -ef | grep -i httpd
/ # ps -ef | grep -i httpd
root 1866 1 0 21:05:46 ? 0:00 /opt/hpws/apache/bin/httpd -d /opt/hpws/apache -k start
www 1873 1866 0 21:05:46 ? 0:00 /opt/hpws/apache/bin/httpd -d /opt/hpws/apache -k start
www 1868 1866 0 21:05:46 ? 0:00 /opt/hpws/apache/bin/httpd -d /opt/hpws/apache -k start
www 1876 1866 0 21:05:46 ? 0:00 /opt/hpws/apache/bin/httpd -d /opt/hpws/apache -k start
root 20630 20611 0 08:16:30 pts/ta 0:00 grep -i httpd
/ #
But i still do not connect through "http"
Is there another service i should start?
Thanks
kingsley
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2012 06:19 AM
01-20-2012 06:19 AM
Re: HTTP CONNECTION
Hi,
> Is there any other service to start?
With the current init run level implementation on HPUX unlike upstart on ubuntu, trying to find a dependent service could be quiet difficult unlike the 'predictive self healing' provided by an HPUX cousin. Anyways, if you can reboot the server, it would automatically start the dependencies in the sequential order {if configured to do so} and this would be the easiest and cleanest answer for the question you put forward. I suggest you give one more reboot after the change you made in the corresponding startup script for apache. Hope this helps.
Regards
Ismail Azad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2012 06:46 AM
01-20-2012 06:46 AM
Re: HTTP CONNECTION
Check, if it is running on port 80 or another port (httpd.conf).
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
01-20-2012 06:47 AM
01-20-2012 06:47 AM
Re: HTTP CONNECTION
Hi Azad!
I am in the process of restarting the server. The issue confronting me is that there is this ORACLE application software which uses port 8040. When we do http://172.25.34.85:8040 there is no response from the server.
But when i do http://172.25.34.85, i am able to connect to
welcome to hp-ux web server suite
hp-ux web server suite what's new
HP-UX Web Server Suite is a collection of popular open source tools customized and optimized for HP-UX platform.
The following components are part of the suite:
- HP-UX Apache-based Web Server
- HP-UX Tomcat-based Servlet Engine
- HP-UX Webmin-based Admin
- HP-UX XML Web Server Tools»Documentation
- :
- release notes, guides, FAQs
» Administer
your web server (if enabled)
login: admin password: hp.com
i do not know whether the problem is from.
thanks
kingsley
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2012 07:46 AM
01-20-2012 07:46 AM
Re: HTTP CONNECTION
Hi Torsten!
The last time we used it is about a year now. Part of the configuration is shown below and it shows that it listens on port 80.
Thanks.
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
#
#Listen 12.34.56.78:80
Listen 80
# For C++ modules that require classic libraries
LoadFile /usr/lib/libCsup.sl
LoadFile /usr/lib/libstream.sl
LoadFile /usr/lib/libstd.sl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2012 05:40 AM
01-23-2012 05:40 AM
Re: HTTP CONNECTION
You should have a look at the apache log files.
You may also try to connect from the server directly to prevent a network problem.
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
01-23-2012 07:58 AM
01-23-2012 07:58 AM
Re: HTTP CONNECTION
Hi All!
Thank you so much for the help. I did all what you told me, but the system was still not working. This made me ask the DBA(S) to recheck their application and the scripts. After a while they told me they hadn't restarted a script and that was the cause.
Thank you once again for your help.
kingsley