Account Links: Cart | Your Account | Logout

Skip to content

Red Hat Knowledgebase

Red Hat Knowledgebase Search:

Updated Within the Last:

New Solutions within the last day New Solutions within the last week New Solutions within the last month

Browse by topics:


Click to View a Topic
Red Hat Network > RHN Proxy Server > Issue <<  22 of 38 >>

Solution Tools:


Email a Solution Postcard Printer version Submit a comment on this answer Update notifications Request an answer Back

Article Reference

Article ID: 3598
Last update: 08-20-04
Issue:
How do I start or restart RHN Proxy Server?
Resolution:
You can start or restart the RHN Proxy Server by starting or restarting the Apache, Squid, and RHN Auth Cache Daemon with the following commands:

[root@rhnproxy root]# /sbin/service httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd                                             [  OK  ]
[root@rhnproxy root]# /sbin/service squid restart
Stopping squid:                                            [  OK  ]
Starting squid:                                            [  OK  ]
[root@rhnproxy root]# /sbin/service rhn_auth_cache restart
Shutting down rhn_auth_cache:                              [  OK  ]
Starting rhn_auth_cache:                                   [  OK  ]
   


If you wish to check that the services are running you can use the status option instead of restart.

You can also use ps and netstat output to see if the associated applications are running. A typical RHN Proxy server will show something similar to the following when checking for these services:

 
[root@rhnproxy root]# ps auwx | grep -iE 'squid|httpd|rhnAuth'
root      1943  0.0  1.1  4428 2820 ?        S    15:47   0:00 
   /usr/bin/python /var/www/rhns/authd/rhnAuthCacheD.py
root      2020  0.3  2.6 80108 6732 ?        S    15:57   0:00
   /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_PROXY -DHAVE_AUTH_ANON -DHAVE_AC
apache    2023  0.0  2.6 80152 6780 ?        S    15:57   0:00 
   /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_PROXY -DHAVE_AUTH_ANON -DHAVE_AC
apache    2024  0.0  2.6 80152 6780 ?        S    15:57   0:00 
   /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_PROXY -DHAVE_AUTH_ANON -DHAVE_AC
apache    2025  0.0  2.6 80152 6780 ?        S    15:57   0:00 
   /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_PROXY -DHAVE_AUTH_ANON -DHAVE_AC
apache    2026  0.0  2.6 80152 6780 ?        S    15:57   0:00 
   /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_PROXY -DHAVE_AUTH_ANON -DHAVE_AC
apache    2027  0.0  2.6 80152 6780 ?        S    15:57   0:00 
   /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_PROXY -DHAVE_AUTH_ANON -DHAVE_AC
apache    2028  0.0  2.6 80152 6780 ?        S    15:57   0:00 
   /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_PROXY -DHAVE_AUTH_ANON -DHAVE_AC
apache    2029  0.0  2.6 80152 6780 ?        S    15:57   0:00 
   /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_PROXY -DHAVE_AUTH_ANON -DHAVE_AC
apache    2030  0.0  2.6 80152 6780 ?        S    15:57   0:00 
   /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_PROXY -DHAVE_AUTH_ANON -DHAVE_AC
root      2060  0.0  0.4  4024 1144 ?        S    15:57   0:00 squid -D
squid     2062  0.2  1.6  6352 4304 ?        S    15:57   0:00 (squid) -D
squid     2063  0.0  0.1  1380  316 ?        S    15:57   0:00 (unlinkd)

[root@rhnproxy root]# netstat -nlp| grep -iE 'python|squid|httpd'
tcp     0      0 0.0.0.0:9999      0.0.0.0:*      LISTEN      1943/python
tcp     0      0 0.0.0.0:8080      0.0.0.0:*      LISTEN      2062/(squid)
tcp     0      0 0.0.0.0:80        0.0.0.0:*      LISTEN      2020/httpd
tcp     0      0 0.0.0.0:443       0.0.0.0:*      LISTEN      2020/httpd
udp     0      0 0.0.0.0:3130      0.0.0.0:*                  2062/(squid)
   



How well did this entry answer your question?


good wrong incomplete out of date
Red Hat Network > RHN Proxy Server > Issue <<   22  of  38  >>