Quote:
Originally Posted by
nua7
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