LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   apache server binary rh9 (https://www.linuxquestions.org/questions/linux-newbie-8/apache-server-binary-rh9-112036/)

dadabase 11-03-2003 06:47 PM

apache server binary rh9
 
can anyone help me with a commandline command to locate path to apache server binary in rpm install on rh9 - i know where the httpd script is but presume this isnt the binary - when i run /whereis it doesnt show up, but then neither do other files i can see are there ?

thanks in advance

dadabase 11-03-2003 07:28 PM

i am going to go with usr/sbin

would love to know a command though so i could know if i have multiple instances or whatever

plhermie 11-03-2003 09:55 PM

With RH9, htttpd binary is located under /usr/sbin.
To know where are located files from an installed rpm package, use this command:
# rpm -ql httpd
(probably need to be used with more or less)
# rpm -ql package.rpm | less
To view processes :
# ps -ef | grep http
Hope this help ;-)


All times are GMT -5. The time now is 06:56 AM.