Mailing List Archive

[Bricolage-General] Can't run login: No cookies found
At this point, I've got Bricolage configured to launch a separate copy of
httpd and to use its own httpd.conf file.

In theory, our regular web pages and hosts run on Port 80 using
/usr/local/apache/bin/httpd
/usr/local/apache/conf/httpd.conf


and bricolage runs using

/usr/local/apache/bin/bric_httpd
/usr/local/bricolage/conf/httpd.conf


with:
ServerType standalone
ServerName bric.cfcl.com
ServerRoot /usr/local/apache
ServerAdmin root@localhost
ServerSignature Email
PidFile /usr/local/bricolage/log/httpd.pid
DocumentRoot /usr/local/bricolage/comp
Listen 8080
User www
Group www
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 2
MaxSpareServers 6
StartServers 2
MaxClients 150
MaxRequestsPerChild 0
ErrorLog /usr/local/bricolage/log/error_log
LogLevel info
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\" \"%{Cookie}i\" \"%v:%p\"" combined
CustomLog /usr/local/bricolage/log/access_log combined
TypesConfig /usr/local/apache/conf/mime.types
UseCanonicalName On
HostNameLookups Off
Timeout 30



I stopped and restarted both servers

When I attempt to access http://bric.cfcl.com:8080 in my web browse,r I get
the login page for Bricolage for about 2 seconds, immediately replaced by a
blank page

The error log says:
[error] access to / failed for 192.168.254.206, reason: No cookies found

I tracked that error message done to Auth.pm

sub auth {
my $r = shift;
return &$fail($r, 'No cookies found.') unless my %cookies =
$cookie_class->fetch;
return &$fail($r, 'No cookie found.') unless my $cookie =
$cookies{&AUTH_COOKIE};


but I don't know what I need to do to solve the problem. Does sub auth think
I tried to log in during that brief moment when the page was up?

The log file also shows:

[info] (2)No such file or directory: make_sock: for port 8080, setsockopt:
(SO_ACCEPTFILTER)


Does this indicate an error using port 8080?

Help?

--
- Vicki

Vicki Brown ZZZ Journeyman Sourceror:
P.O. Box 1269 zz |\ _,,,---,,_ Scripts & Philtres
San Bruno, CA zz /,`.-'`' -. ;-;;,_ Perl, Unix, MacOS
94066 USA |,4- ) )-,_. ,\ ( `'-'
mailto:vlb@cfcl.com '---''(_/--' `-'\_) http://www.cfcl.com/~vlb


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Bricolage-General mailing list
Bricolage-General@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-general
Re: [Bricolage-General] Can't run login: No cookies found [ In reply to ]
Hmmm...

The cookies error is not bogus, but its not germane. Its just a
warning I think.

> [info] (2)No such file or directory: make_sock: for port 8080,
> setsockopt:
> (SO_ACCEPTFILTER)
>

That still looks like something will not let go of the port.

Please check netstat -a to see if something is still there, and/or
change that port to another number in
bricolage.conf:LISTEN_PORT = 8080
httpd.conf:Listen 8080



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Bricolage-General mailing list
Bricolage-General@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-general