Problem with login in fresh LJ installation

Sep 30, 2007 21:37

Ok, i try second time and reinstall LJ from scratch. I use this ( Read more... )

Leave a comment

Comments 16

pauamma September 30 2007, 10:30:08 UTC
Is your browser accepting all cookies? Which cookies do you have? (cookie names/domains/paths only, not data)

Reply


Cookies skyrus9999 September 30 2007, 19:15:12 UTC
I set up browser t accept ALL cookies, clear cach and delete old cookies and no effects :(

Reply


ReCookies skyrus9999 September 30 2007, 19:27:58 UTC
Strange, it seems it did not create cookies at all...

I have in config

$COOKIE_DOMAIN = ["blogs.pitnet.ru:8080", ".$DOMAIN"];
$COOKIE_PATH = "/";
$UNIQ_COOKIES = 1; # give users uniq cookies to help fight abuse

Reply

Re: ReCookies potolo September 30 2007, 21:08:56 UTC
What happens when you change the first variable to just:
$COOKIE_DOMAIN = ["", ".$DOMAIN"];
?

Reply

Re: Cookies potolo September 30 2007, 21:20:16 UTC
$COOKIE_DOMAIN = ["blogs.pitnet.ru:8080", ".$DOMAIN"];

Actually, in your example, both items in the arrayref are the same I believe.

Definition for the second value:
$LJ::DOMAIN: The minimal domain of the site, excluding the 'www.' prefix if applicable.
Default: example.com;

So the yoursubomain.domain.ru:yourportnumber you use presumably is identical to the value of your $LJ::DOMAIN config. variable (and if 'www' is added before it then it works out identically to $LJ::DOMAIN_WEB (which has default value www.$DOMAIN;

Reply

Re: Cookies potolo September 30 2007, 21:28:25 UTC
I wonder if running the script "$LJHOME/home/lj/bin/upgrading/copy-emailpass-out-of-user" might still still necessary (so the system user, which is created outside of create.bml, has its login details stored in the correct tables). Try running that too?

Reply


webserver config potolo October 3 2007, 20:16:15 UTC
1) Your modules.conf include file has "# Autogenerated file - do not edit!" at the top of it. STOP editing it! :-> First, clean up that file by removing all the lines below the final AddModule directive. Run '/usr/sbin/apache-modconf apache-perl' then 'dpkg-reconfigure apache-perl'. Incidentally, you might find it useful to select the "digest_auth_module" mod_auth_digest, when reconfiguring apache-perl.

2) In your httpd.conf file: You have "ServerRoot /etc/apache". Shouldn't that be "ServerRoot /etc/apache-perl" ? You could uncomment and change the other config lines to "ResourceConfig /dev/null" and "AccessConfig /dev/null". Doesn't matter too much.

2.5) Since you (correctly) have KeepAlive Off, the "MaxKeepAliveRequests 100" and "KeepAliveTimeout 15" will not do much - you can comment them out.

3) In your Main server configuration section you have "DocumentRoot /www". A little further on you have a "Directory" directive with the comment above it "# This should be changed to whatever you set DocumentRoot to." But, its value is "/ ( ... )

Reply

Re: webserver config skyrus9999 October 4 2007, 08:56:39 UTC
I make as you suggest, now i have in apache error logs

Subroutine BML::ml redefined at /www/blogs.pitnet.ru/cgi-bin/Apache/BML.pm line 1967.
Subroutine BML::ML::FETCH redefined at /www/blogs.pitnet.ru/cgi-bin/Apache/BML.pm line 1973.
Subroutine BML::ml redefined at /www/blogs.pitnet.ru/cgi-bin/Apache/BML.pm line 1967.
Subroutine BML::ML::FETCH redefined at /www/blogs.pitnet.ru/cgi-bin/Apache/BML.pm line 1973.

each time i load any page :(

Reply

Re: webserver config potolo October 4 2007, 09:01:27 UTC
You, and everybody else*! :-) Does your installation otherwise work correctly now though?

*(including my install right now)

Reply

Re: webserver config skyrus9999 October 4 2007, 10:19:56 UTC
Nope... same things happend ;(

I reupload new configs and LJ config to http://skyr.newmail.ru/conf

Reply


Leave a comment

Up