2.2.1 installer, can't get past the Authenticate Screen

jblosser514

Joined: 2007-04-10
Posts: 10
Posted: Fri, 2007-04-13 20:07

I put the login.txt file in my gallery2 directory. The Installer detects that the file is there because the new error message is "Error: your login.txt file is not readable......" If I remove the file then it says it is not there. I am running on fedora linux gallery 2.2.1. I don't have time right now to post all of the other software levels, but will post more later. Is there a way to search old posts?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2007-04-14 00:08

the file exists, but g2/php can't read it.
maybe your webhost / admin can help you there. chmod the file 755 / check filesystem ACLs / whatever security mechanisms you've installed on the server.

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
jblosser514

Joined: 2007-04-10
Posts: 10
Posted: Sun, 2007-04-15 15:31

I loaded Fedora and I am the adminisrator.
Apache is running as the user apache and group apache.
Here are the permissions on the directories and and users.txt from the htdocs direction in httpd.conf

[jblosser@NAS ~]$ ls -ld /var
drwxrwxrwx 24 apache root 4096 Apr 13 00:25 /var
[jblosser@NAS ~]$ ls -ld /var/www/
drwxrwxrwx 8 apache root 4096 Apr 11 14:52 /var/www/
[jblosser@NAS ~]$ ls -ld /var/www/html
drwxrwxrwx 3 apache apache 4096 Apr 14 10:04 /var/www/html
[jblosser@NAS ~]$ ls -ld /var/www/html/gallery2
drwxrwxrwx 8 apache apache 4096 Apr 13 23:02 /var/www/html/gallery2
[jblosser@NAS gallery2]$ ls -l /var/www/html/gallery2/login.txt
-rwxrwxrwx 1 apache apache 34 Apr 13 23:02 /var/www/html/gallery2/login.txt

I changed owner and group to /var/www/html with "chown -R apache:apache /var/www/html

php.i386 5.1.6-3.4.fc6 installed

I used ghcc.php and everything passed for the php checks. Here is the output from that.

safe mode Pass
exec() enabled Pass
file_uploads enabled Pass
session.save_path writable Pass
session.use_cookies enabled Pass
allow_url_fopen on Pass

Final Status Report: Your PHP configuration check passed with flying colors!

I also increased the debug level in httpd.conf and php.ini, but I didn't see any more errors.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2007-04-15 15:41

maybe some SELinux setting?
Or ACL based filesystems?
Sticky bits?

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
jblosser514

Joined: 2007-04-10
Posts: 10
Posted: Sun, 2007-04-15 21:09

Thanks. Under System->Security Level and Firewal I had to turn off "SELinux setting" to disabled. Not sure what that is, but gallery2 is now working on my new server. Now time to migrate my old server (1.4.4) to this one. Thanks again.