The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > Linux
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 03-11-2008
click007's Avatar
click007 click007 is offline
Registered User
  
 

Join Date: Jun 2007
Posts: 12
Quote:
Originally Posted by nua7 View Post
Few things that you need to check.

1)Check if Apache is really running.
"ps -ef | grep 'apache'"

2)Check if the executable for htpasswd exists on the system
"whereis htpasswd"
htpasswd is generally found in /usr/bin/htpasswd.

3)If you are not a root user, check if you have proper permissions.Generally the permissions are 755.

Hope this helps!
nua7
thanks for ur help
1. ps -ef|grep apache
root 3420 1 0 Mar11 ? 00:00:00 /usr/local/apache2/bin/httpd -k start
daemon 3421 3420 0 Mar11 ? 00:00:00 /usr/local/apache2/bin/httpd -k start
daemon 3422 3420 0 Mar11 ? 00:00:00 /usr/local/apache2/bin/httpd -k start
daemon 3423 3420 0 Mar11 ? 00:00:00 /usr/local/apache2/bin/httpd -k start
daemon 3424 3420 0 Mar11 ? 00:00:00 /usr/local/apache2/bin/httpd -k start
daemon 3425 3420 0 Mar11 ? 00:00:00 /usr/local/apache2/bin/httpd -k start
root 3526 3370 0 00:01 pts/1 00:00:00 grep apache

2.whereis htpasswd
htpasswd:
i dont see file at usr/bin/

3. i m a root user

plz help