Automatically logged out

Alain Spineux aspineux at gmail.com
Fri May 23 12:56:33 CEST 2008


On Fri, May 23, 2008 at 9:24 AM, Antonio Straziota
<devgioiatech at gmail.com> wrote:
> I' cant login when strace is running, because running entire kolab suite
> (and not apache only) cause this error:
>

Stopping the running apache server before starting the strace one is
not superfluous :-)
# openpkr rc apache stop


> (98)Address already in use: make_sock: could not bind to address [::]:80
> (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
> no listening sockets available, shutting down
> Unable to open logs
>
> However, the permissions are right of /kolab /kolab/var /kolab/var/apache
> /kolab/var/apache/log  /kolab/var/apache/log/ssl
> _scache.dir are the same of yours.
>
> I'm thinking to bootstrap again, or reinstall kolab. What do you think about
> this? The bootstrap colud solve this problem?

No ideas.

>
>
>
>
> 2008/5/22 Alain Spineux <aspineux at gmail.com>:
>>
>>
>> On Wed, May 21, 2008 at 7:35 PM, Antonio Straziota
>> <devgioiatech at gmail.com> wrote:
>>>
>>> Ehmmm, i tryed to make a strace of apache...but i don't understand
>>> nothing about this...
>>> the only things i uderstand are:
>>>
>>> unlink("/kolab/var/apache/log/ssl_scache.dir") = -1 EACCES (Permission
>>> denied)
>>> unlink("/kolab/var/apache/log/ssl_scache.pag") = -1 EACCES (Permission
>>> denied)
>>> unlink("/kolab/var/apache/log/ssl_scache.dir") = -1 EACCES (Permission
>>> denied)
>>> unlink("/kolab/var/apache/log/ssl_scache.pag") = -1 EACCES (Permission
>>> denied)
>>> unlink("/kolab/var/apache/log/ssl_scache.db") = -1 ENOENT (No such file
>>> or directory)
>>> unlink("/kolab/var/apache/log/ssl_scache") = -1 ENOENT (No such file or
>>> directory)
>>>
>>> That reconduce to a permission error.
>>> Howerver,i attach the result of the action
>>
>> I looks like the HTTP request is missing !
>> Did you tired to login when strace was running ?
>>
>> can you try this ?
>>
>> # ls -ld /kolab /kolab/var /kolab/var/apache /kolab/var/apache/log
>> /kolab/var/apache/log/ssl_scache.dir
>> drwxr-xr-x 20 kolab   kolab 4096 May 12 01:42 /kolab
>> drwxr-xr-x 23 kolab   kolab 4096 Apr  3 10:56 /kolab/var
>> drwxr-xr-x  4 kolab   kolab 4096 Apr  3 09:55 /kolab/var/apache
>> drwxr-xr-x  3 kolab   kolab 4096 May  1 23:33 /kolab/var/apache/log
>> -rw-r--r--  1 kolab-n root     0 May  1 23:33
>> /kolab/var/apache/log/ssl_scache.dir
>>
>>
>>>
>>> Thanks
>>>
>>>
>>> 2008/5/21 Alain Spineux <aspineux at gmail.com>:
>>>>
>>>> On Wed, May 21, 2008 at 3:52 PM, Gunnar Wrobel <wrobel at pardus.de> wrote:
>>>> > "Antonio Straziota" <devgioiatech at gmail.com> writes:
>>>> >
>>>> >> /kolab/var/apache/log/ as permission drwxr-xr-x and owner kolab:kolab
>>>> >>
>>>> >> inside it there are these files with permission:
>>>> >>
>>>> >> -rw-r--r-- 1 root    root    12288 May 21 11:03 apache-access.log
>>>> >> -rw-r--r-- 1 root    root    15612 May 21 11:04 apache-error.log
>>>> >> drwxr-xr-x 2 kolab-n kolab-n  4096 Apr 30 17:20 fbview
>>>> >> drwxr-xr-x 2 kolab-n kolab-n  4096 Apr 30 18:14 horde
>>>> >> drwxr-xr-x 2 kolab-n kolab-n  4096 Apr 30 18:14 php
>>>> >> -rw-r--r-- 1 kolab-n root        0 May 21 11:04 ssl_scache.dir
>>>> >> -rw-r--r-- 1 kolab-n root        0 May 21 11:04 ssl_scache.pag
>>>> >>
>>>> >> could be a problem on ssl_scache* files permission?
>>>> >>
>>>> >> i didn't touch them after installation.
>>>> >
>>>> > Hm, the permissions look fine. I assume your apache process is indeed
>>>> > running as kolab-n user?
>>>> >
>>>> >>
>>>> >> Do you suggest me to change owner of these files to kolab-n group, or
>>>> >> is it useless?
>>>> >
>>>> > Would be useless then but I admit I don't know what else might cause
>>>> > the error then.
>>>>
>>>> This could be a DBM error, not a simple problem about rights.
>>>>
>>>> The ultimate trick is to run apache wih strace .. something like
>>>>
>>>>
>>>> . /kolab/etc/apache/apache.sh
>>>> strace /kolab/sbin/apache -X
>>>>
>>>>
>>>>
>>>> >
>>>> > Cheers,
>>>> >
>>>> > Gunnar
>>>> >
>>>> >>
>>>> >> 2008/5/21 Gunnar Wrobel <wrobel at pardus.de>:
>>>> >>
>>>> >>     "Antonio Straziota" <devgioiatech at gmail.com> writes:
>>>> >>
>>>> >>     > Yes, it's an openpkg.
>>>> >>     >
>>>> >>     > The /kolab/var/apache/log/apache-error.log log file contains
>>>> >> yhe
>>>> >>     > follow error "Internal error: Cannot store SSL session to DBM
>>>> >> file
>>>> >>     > `/kolab/var/apache/log/ssl_scache'"
>>>> >>
>>>> >>     What are the permissions on the directory
>>>> >>
>>>> >>     /kolab/var/apache/log/
>>>> >>
>>>> >>     and the
>>>> >>
>>>> >>     /kolab/var/apache/log/ssl_scache*
>>>> >>
>>>> >>     files?
>>>> >>
>>>> >>     Cheers,
>>>> >>
>>>> >>     Gunnar
>>>> >>
>>>> >>     >
>>>> >>     > The others logs file doesn't contain any useful information
>>>> >> about this error
>>>> >>     >
>>>> >>     > 2008/5/20 Alain Spineux <aspineux at gmail.com>:
>>>> >>     >
>>>> >>     >     On Tue, May 20, 2008 at 6:09 PM, Antonio Straziota
>>>> >>     >     <devgioiatech at gmail.com> wrote:
>>>> >>     >     > Hi all,
>>>> >>     >     > i installed kolab2.2rc2. when i log in admin web
>>>> >> interface, every task i try
>>>> >>     >     > to do (change language also) automatically logged out me
>>>> >> from interface.
>>>> >>     >     > So i can't perform any action.
>>>> >>     >     >
>>>> >>     >     > Any Idea?
>>>> >>     >
>>>> >>     >     Is it an openpkg ?
>>>> >>     >
>>>> >>     >     did you check log file ?
>>>> >>     >
>>>> >>     >     /kolab/var/apache/log/apache-access.log
>>>> >>     >     /kolab/var/apache/log/apache-error.log
>>>> >>     >     /kolab/var/apache/log/php/php-errors.log
>>>> >>     >     /kolab/var/fsl/fsl.log
>>>> >>     >
>>>> >>     >     >
>>>> >>     >     > PS: sorry for bad english
>>>> >>     >     >
>>>> >>     >     > _______________________________________________
>>>> >>     >     > Kolab-users mailing list
>>>> >>     >     > Kolab-users at kolab.org
>>>> >>     >     > https://kolab.org/mailman/listinfo/kolab-users
>>>> >>     >     >
>>>> >>     >     >
>>>> >>     >
>>>> >>     >     --
>>>> >>     >     Alain Spineux
>>>> >>     >     aspineux gmail com
>>>> >>     >     May the sources be with you
>>>> >>     >
>>>> >>     > _______________________________________________
>>>> >>     > Kolab-users mailing list
>>>> >>     > Kolab-users at kolab.org
>>>> >>     > https://kolab.org/mailman/listinfo/kolab-users
>>>> >>
>>>> >>     --
>>>> >>     ______ http://kdab.com _______________
>>>> >> http://kolab-konsortium.com _
>>>> >>
>>>> >>     p at rdus Kolab work is funded in part by KDAB and the Kolab
>>>> >> Konsortium
>>>> >>
>>>> >>     ____ http://www.pardus.de _________________
>>>> >> http://gunnarwrobel.de _
>>>> >>     E-mail : p at rdus.de                                 Dr. Gunnar
>>>> >> Wrobel
>>>> >>     Tel.   : +49 700 6245 0000                          Bundesstrasse
>>>> >> 29
>>>> >>     Fax    : +49 721 1513 52322                          D-20146
>>>> >> Hamburg
>>>> >>
>>>> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>> >>       >> Mail at ease - Rent a kolab groupware server at p at rdus <<
>>>> >>
>>>> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>> >>
>>>> >> _______________________________________________
>>>> >> Kolab-users mailing list
>>>> >> Kolab-users at kolab.org
>>>> >> https://kolab.org/mailman/listinfo/kolab-users
>>>> >
>>>> > --
>>>> > ______ http://kdab.com _______________ http://kolab-konsortium.com _
>>>> >
>>>> > p at rdus Kolab work is funded in part by KDAB and the Kolab Konsortium
>>>> >
>>>> > ____ http://www.pardus.de _________________ http://gunnarwrobel.de _
>>>> > E-mail : p at rdus.de                                 Dr. Gunnar Wrobel
>>>> > Tel.   : +49 700 6245 0000                          Bundesstrasse 29
>>>> > Fax    : +49 721 1513 52322                          D-20146 Hamburg
>>>> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>> >   >> Mail at ease - Rent a kolab groupware server at p at rdus <<
>>>> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>> >
>>>> > _______________________________________________
>>>> > Kolab-users mailing list
>>>> > Kolab-users at kolab.org
>>>> > https://kolab.org/mailman/listinfo/kolab-users
>>>> >
>>>>
>>>>
>>>>
>>>> --
>>>> Alain Spineux
>>>> aspineux gmail com
>>>> May the sources be with you
>>>
>>>
>>> _______________________________________________
>>> Kolab-users mailing list
>>> Kolab-users at kolab.org
>>> https://kolab.org/mailman/listinfo/kolab-users
>>>
>>
>>
>>
>> --
>> Alain Spineux
>> aspineux gmail com
>> May the sources be with you
>
> _______________________________________________
> Kolab-users mailing list
> Kolab-users at kolab.org
> https://kolab.org/mailman/listinfo/kolab-users
>
>



-- 
Alain Spineux
aspineux gmail com
May the sources be with you




More information about the users mailing list