Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Htpasswd, unable to locate tmp
redhat_help
post Jul 15 2004, 12:47 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 15-July 04
Member No.: 3,350



hi,

I just complied in

Server version: Apache/2.0.50

When i try to execute the command

htpasswd -cm svn-auth-file user1

it gives me the following error

htpasswd: could not determine temp dir

what could i be missing here
Go to the top of the page
 
+Quote Post
hughesjr
post Jul 17 2004, 08:18 AM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



Not sure why it doesn't work ... but some things to try:

Does the user you are running the command as have write permission in your /tmp directory ... and to the svn-auth-file?

If that isn't the problem...

One suggestion I have seen is ... create a tmp directory in that user's home directory as well.


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
rmcclana78
post Jul 22 2004, 10:02 AM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 22-July 04
Member No.: 3,400



I just enountered this same problem myself. Has anyone figured out the answer? I tried performing the command as su but that didn't help.

I'd appreciate the help if anyone has figured out the solution.

Thanks
Go to the top of the page
 
+Quote Post
aubiematt
post Jul 23 2004, 05:01 PM
Post #4


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 23-July 04
Member No.: 3,412



I think the newest version of apache has a bug in it. I'm unsure how to fix this, but i've made a work-around. Basically, I took an older version of htpasswd, that I know works, from a different machine and overwrote the broken htpasswd file with the older one. You can download this file HERE, and it should temporarily fix this bug until someone else comes out with a definate fix.

Matthew Brooks
Co-Founder and CTO Netleverage.net
Go to the top of the page
 
+Quote Post
JediKnight2
post Jul 26 2004, 09:53 PM
Post #5


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 26-July 04
Member No.: 3,428



I looked at the two files...just opened them..there seems to be a difference...mainly this line...

htpasswd.tmp.XXXXXX %s/%s User %s not found ---2.0.50 version
htpasswd.tmp.XXXXXX TEMP %s/%s TMPDIR /tmp User %s not found --2.0.49 version
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th October 2017 - 11:59 PM