![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Command not found | BigTool4u2 | UNIX for Dummies Questions & Answers | 2 | 03-07-2008 11:40 PM |
| Command not found | manna | UNIX for Dummies Questions & Answers | 20 | 01-10-2008 08:29 AM |
| cc command not found | mishra_sk_in | UNIX for Dummies Questions & Answers | 4 | 08-14-2007 02:00 AM |
| how can i check in csh if command found or not found ? | umen | Shell Programming and Scripting | 2 | 03-03-2007 04:38 PM |
| xlf: command not found!!!! | mzzt | AIX | 2 | 01-05-2006 02:19 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
htpasswd command not found
dear unix,
need ur help, i have installed apache n apache is working... but i cant use htpasswd , the error said command not found. for web authentucation... thanks for any help |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
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 |
|
#3
|
||||
|
||||
|
Quote:
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 |
|
#4
|
||||
|
||||
|
# ls -l /usr/local/apache2/bin/htpasswd*
# PATH=${PATH}:/usr/local/apache2/bin export PATH # which htpasswd As it's apache2, you may find that you want "htpasswd2" instead of "htpasswd". Cheers, ZB |
|
#5
|
||||
|
||||
|
thanks all,
now i got it |
||||
| Google The UNIX and Linux Forums |