Day: January 3, 2008

How to reload service by using kill command

How to reload service by using kill command

In my  case I am  using apache server  for reloading configuration file etc.

*Check  apache is runnig on 80 port or  not ?

root@indiangnu.org:/home/arun# netstat -nlp |  grep  80
tcp6       0      0 :::80                   :::*                    LISTEN     5562/apache2

root@indiangnu.org:/home/arun# vi /etc/apache2/
apache2.conf     envvars          magic            mods-enabled/    README           sites-enabled/
conf.d/          httpd.conf       mods-available/  ports.conf       sites-available/ ssl/

2]  Modify  configuration files..

root@indiangnu.org:/home/arun# cat  /etc/apache2/ports.conf
Listen 80

root@indiangnu.org:/home/arun#  vi  /etc/apache2/ports.conf

root@indiangnu.org:/home/arun#  cat  /etc/apache2/ports.conf
Listen 80
Listen 8080

root@indiangnu.org:/home/arun#

root@indiangnu.org:/home/arun# netstat -nlp |  grep  80
root@indiangnu.org:/home/arun# netstat -nlp |  grep  80
tcp6       0      0 :::80                   :::*                    LISTEN     5562/apache2

3]  Reload service ie configuration files etc.

root@indiangnu.org:/home/arun# kill -HUP 5562

4]  Check apache is using 80 and 8080 port or not ?

root@indiangnu.org:/home/arun# netstat -nlp |  grep  80
tcp6       0      0 :::8080                 :::*                    LISTEN     5562/apache2
tcp6       0      0 :::80                   :::*                    LISTEN     5562/apache2
root@indiangnu.org:/home/arun#

Does your past impact your future?

Does your past impact your future?

Have you ever think about this question ? One and half year back Nirav (Nirav Mehta, Chief mentor of Magnet Technologies) introduced me to Landmark forum. Before completing this forum , I am also thinking that the past alway impact your future and whatever you are today is because of our past!!. Now I know that my past doesn’t impact my future and who I am today is not because of the past but because of future and the possibilities I have created for my future. This possibilities and action I am taking on, will decide who I am today!!

So you might thinking how this is possible? Let me give you same small example,they give me one and half year back to convince me. Suppose when parent told to children that they are going to Goa for 2 days trip. What will be the natural reaction of children? The children will be very happy before going to Goa. So it does indicate that the children are happy because of there future, which is that they are going to Goa. And after two days, when they are on railway platform to return back to there native hometown. What would be the reaction of children? You can easily guess about what they were thinking and about there feeling. Now I think you have clear idea about this question? right!!

Think on it and create new possibilities for your future. So that you will be powerful and you can deal your life powerfully!!.

Thank you,

Arun Bagul