LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 10-26-2004, 01:15 PM   #1
knight01
LQ Newbie
 
Registered: Oct 2004
Posts: 2

Rep: Reputation: 0
.htpasswd failure


trying to set a password for a user with:
htpasswd -c .htpasswd USERNAME
(enter the password, then verify)
The response is: "could not determine temp dir"

Anyone know how to fix this?
 
Old 10-26-2004, 02:05 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
What version of apache? And are you doing this as root or a user? Try as root if not already.
 
Old 10-26-2004, 03:25 PM   #3
knight01
LQ Newbie
 
Registered: Oct 2004
Posts: 2

Original Poster
Rep: Reputation: 0
apache 2.0.50 and I am logged in as su -
 
Old 11-07-2004, 05:57 PM   #4
NumbThumb
LQ Newbie
 
Registered: Aug 2003
Posts: 20

Rep: Reputation: 0
Thumbs up Seems to be a version conflict

See RedHat Bug 130405,
128494,
128144,
128461...


HTH, I'm now trying to fix this...


Updating to apr 0.9.4-2.1 fixed it

Last edited by NumbThumb; 11-07-2004 at 06:06 PM.
 
Old 12-02-2004, 05:14 PM   #5
sneakyimp
Senior Member
 
Registered: Dec 2004
Posts: 1,056

Rep: Reputation: 78
I'm having this same problem. logged in as root. I'm not sure my system version. how do i find out?
 
Old 12-05-2004, 02:19 PM   #6
ramaboule
LQ Newbie
 
Registered: Dec 2004
Posts: 1

Rep: Reputation: 0
>I'm having this same problem. logged in as root. I'm not sure my system version. how do i find out?

/usr/sbin/httpd -v
 
Old 12-05-2004, 03:11 PM   #7
NumbThumb
LQ Newbie
 
Registered: Aug 2003
Posts: 20

Rep: Reputation: 0
APR Package

Note that you need to update the "apr" package, not the webserver. To find out your version of the apr package, type

rpm -q apr

how to update depends on what package manager you are using on top of rpm. If you have apt installed, it would be

apt-get install apr

(yes apt woks great on redhat/fedora!) Others like rug or uptodate work similar. If you have a graphical interface for installing packages, just find apr there. You can also download and install the package manually, the command is

rpm -U the-package-file.rpm

but beware the dependency-hell

HTH
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
.htaccess .htpasswd plisken Linux - General 5 05-21-2006 01:44 PM
htpasswd integra_twinz Linux - Newbie 10 11-01-2005 10:08 AM
htpasswd problems!!!! elam Linux - Software 1 05-15-2004 03:09 AM
Help with .htpasswd and .htaccess MikeeX Linux - General 3 03-25-2003 10:41 AM
htpasswd steve_c Linux - General 10 04-16-2002 10:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 06:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration