LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-16-2007, 06:22 AM   #1
gubak
Member
 
Registered: Jul 2004
Posts: 332

Rep: Reputation: 30
Squirremail problem!


Hi!

I use redhat9, postfix as mailserver, apache as webserver and squirremail as webmail server. I have been using this system since 2005 and it has worked correctly since today.
When I type www.mydomain.co.yu/webmail, appears the login form (it's ok). If I type wrong password it say me that the password or username is wrong (it's ok). But if I type the correct password, the browser shows me the following warning:

"Preference file, /var/lib/squirrelmail/prefs/username.pref, could not be opened. Contact your system administrator to resolve this issue."

Do you have any idea how to solve this problem?
 
Old 02-16-2007, 06:42 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
The files in this directory have the user and group apache. Check this is a first step.


Rgds
 
Old 02-16-2007, 06:49 AM   #3
gubak
Member
 
Registered: Jul 2004
Posts: 332

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by billymayday
The files in this directory have the user and group apache. Check this is a first step.


Rgds
Yes, the files in this directory have the user and group apache.
 
Old 02-16-2007, 06:58 AM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Does it happen for all users? What happens if you delete (after backup of course) the pref files?
 
Old 02-16-2007, 07:05 AM   #5
gubak
Member
 
Registered: Jul 2004
Posts: 332

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by billymayday
Does it happen for all users? What happens if you delete (after backup of course) the pref files?
Yes it happens for all users.
I have deleted the pref files and after the login I've got back the following error on my browser:

"Error opening ../data/default_pref
Default preference file not found or not readable!
Please contact your system administrator and report this error."
 
Old 02-16-2007, 04:59 PM   #6
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Here's what I see

lrwxrwxrwx 1 root root 41 Jan 28 07:20 default_pref -> ../../../../etc/squirrelmail/default_pref

and

# cat default_pref
full_name=
reply_to=
show_html_default=0
sort=0
left_refresh=300
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
squirremail ...it says invalid user or invalid password. rnj Fedora 9 10-25-2004 10:56 PM
qmail + courier imap + squirrelmail...can't login using squirremail..user invalid rnj Linux - Newbie 6 10-12-2004 12:14 AM
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 08:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:49 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration