default Debian Stable aka Sarge php configuration stores session
information in /var/lib/php4 and not in /tmp

you can delete old session files. If you have deleted active session files
- restart apache.

if you use SquirrelMail 1.4.3 or older or Japanese translation and you
have enabled mbstring.func_overload in php 4.2 or newer - reset this php
setting to default value. If some script needs it, enable it only for this
script.

check your server logs. they must log all connections to web and imap
servers. they can also contain errors that explain session problems.

-- 
Tomas

> Hi Thomas,
>
> I don't know which directories exactly are involved here, but the /tmp
> directory is:
>
> drwxrwxrwt    2 root     root         4096 Sep 23 17:51 tmp
>
> which should be ok isn't it?
>
> When I try to log in I get immediately: 'ERROR, You must be logged in to
> access this page.'
> If I click then 'Go to the login page' there appears a php code in the
> URL,
> example
>
> http://webmail.mirkonet.nl/src/login.php?PHPSESSID=bf171c11d4759a0a454edc5d9af15bd9
>
> And with this code-name there appears a file in the /tmp directory:
>
> lada:/tmp# less sess_bf171c11d4759a0a454edc5d9af15bd9
> base_uri|s:1:"/";onetimepad|s:8:"ypPwuWy8";
> sess_bf171c11d4759a0a454edc5d9af15bd9 (END)
>
> Does this tell me anything perhaps?
>
> Thanks so far.
>
> Greetins,
> Mirko Carton
>
>
>>From: Christopher Wagner <[EMAIL PROTECTED]>
>>Reply-To: [EMAIL PROTECTED]
>>To: Mirko Carton <[EMAIL PROTECTED]>
>>Subject: Re: [SM-USERS] Problem to log in with all users via squirrelmail
>>after reboot debbian machine
>>Date: Fri, 23 Sep 2005 08:34:32 -0700
>>
>>Have you checked the permissions on /tmp, as well as other directories
>>where PHP might write session information to?
>>
>>Mirko Carton wrote:
>>
>> > Hello Tomas,
>> >
>> > I have checked all your suggestions, unfortunately still without
>> succes.
>> > However I do remember now that I have deleted all files in the /tmp
>> > directory.
>> > I was under the impression that these files (ie
>> > sess_7d67d0ea700f12e29f54227.......)
>> > could become removed. Do you think this will cause the problem? Any
>> > idear how I can repair this?
>> >
>> > Thanks for your help so far.
>> >
>> > Greetings,
>> > Mirko
>> >
>> >
>> >
>> > Hello,
>> >
>> > Thanks for your reply.
>> >
>> > So far as I can judge there is enough space available.
>> > Do you think I need to search in that area?
>> >
>> > Greetings,
>> > Mirko
>> >
>> > Filesystem           1k-blocks      Used Available Use% Mounted on
>> > /dev/hda1               241116     13968    214700   7% /
>> > proc                         0         0         0   -  /proc
>> > devpts                       0         0         0   -  /dev/pts
>> > /dev/hda3              1438920    572568    793260  42% /var
>> > /dev/hda5               964500     79960    835544   9% /home
>> > /dev/hda6              3059728    319876   2584428  12% /usr
>> >
>> > From: Tomas Kuliavas <[EMAIL PROTECTED]>
>> > Re: Problem to log in with all users via squirrelmail after reboot
>> > debbian
>> > machin
>> > 2005-09-23 04:10
>> >  > Hello,
>> >  >
>> >  > I'm experiencing a problem with my squirrelmail, running on a
>> debbian
>> >  > machine.
>> >  > After a reboot of the machine I'm unable to login via squirrelmail
>> > with
>> >  > all
>> >  > users.
>> >  >
>> >  > All I get is immediately 'ERROR, You must be logged in to access
>> this
>> >  > page"
>> >  >
>> >  > However I didn't change anything and all the applications are
>> running
>> >  > normal, including postfix. I did not upgrade anything. I needed to
>> > reboot
>> >  > since the machine crashed after copying complete directories from
>>this
>> >  > machine via winscp.  I don't know hot to trouble shoot this. I also
>> > can't
>> >  > find anything back in the different loggings about these login
>> > attempts.
>> >  >
>> >  > Does someone have suggestions how I can troubleshoot this problem
>> and
>> >  > where
>> >  > I need to check?
>> >
>> > how much space is left for /var/lib/php4? root or /var partition.
>>Depends
>> > on your disk partitioning.
>> >
>> > Are you sure that you don't have some partitions mounted read only.
>> >
>> >
>> >
>> >
>> >
>> >
>> > From: Tomas Kuliavas <[EMAIL PROTECTED]>
>> > Re: Re: Problem to log in with all users via squirrelmail after reboot
>> > debbian machi
>> > 2005-09-23 04:48
>> > other possible issue - check your server's time
>> >
>> > apt-get install ntpdate
>> > ntpdate -q pool.ntp.org
>> >
>> > "You must be logged" problem can happen, if
>> > a) apache and php fails to save session files or something wrong with
>> > session handler, if you use custom session handler.
>> > b) your server's clock is not correct
>> > c) browser is not accepting cookies
>> > d) cookie domain is not correct
>> > e) privacy proxy is blocking cookies
>> >
>> > > Hello,
>> > >
>> > > Thanks for your reply.
>> > >
>> > > So far as I can judge there is enough space available.
>> > > Do you think I need to search in that area?
>> > >
>> > > Greetings,
>> > > Mirko
>> > >
>> > > Filesystem           1k-blocks      Used Available Use% Mounted on
>> > > /dev/hda1               241116     13968    214700   7% /
>> > > proc                         0         0         0   -  /proc
>> > > devpts                       0         0         0   -  /dev/pts
>> > > /dev/hda3              1438920    572568    793260  42% /var
>> > > /dev/hda5               964500     79960    835544   9% /home
>> > > /dev/hda6              3059728    319876   2584428  12% /usr
>> > >
>> > > From: Tomas Kuliavas <[EMAIL PROTECTED]>
>> > > Re: Problem to log in with all users via squirrelmail after reboot
>> > debbian
>> > > machin
>> > > 2005-09-23 04:10
>> > >  > Hello,
>> > >  >
>> > >  > I'm experiencing a problem with my squirrelmail, running on a
>> > debbian
>> > >  > machine.
>> > >  > After a reboot of the machine I'm unable to login via
>> > squirrelmail with
>> > >  > all
>> > >  > users.
>> > >  >
>> > >  > All I get is immediately 'ERROR, You must be logged in to access
>> > this
>> > >  > page"
>> > >  >
>> > >  > However I didn't change anything and all the applications are
>> > running
>> > >  > normal, including postfix. I did not upgrade anything. I needed
>> to
>> > > reboot
>> > >  > since the machine crashed after copying complete directories from
>> > this
>> > >  > machine via winscp.  I don't know hot to trouble shoot this. I
>> also
>> > > can't
>> > >  > find anything back in the different loggings about these login
>> > > attempts.
>> > >  >
>> > >  > Does someone have suggestions how I can troubleshoot this problem
>> > and
>> > >  > where
>> > >  > I need to check?
>> > >
>> > > how much space is left for /var/lib/php4? root or /var partition.
>> > Depends
>> > > on your disk partitioning.
>> > >
>> > > Are you sure that you don't have some partitions mounted read only.
>> > >
>> > >
>> > >
>> > >
>> > > -------------------------------------------------------
>> > > SF.Net email is sponsored by:
>> > > Tame your development challenges with Apache's Geronimo App Server.
>> > > Download
>> > > it for free - -and be entered to win a 42" plasma tv or your very
>> own
>> > > Sony(tm)PSP.  Click here to play:
>> http://sourceforge.net/geronimo.php
>> > > --
>> > > squirrelmail-users mailing list
>> > > Posting Guidelines:
>> > > http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
>> > > List Address: [EMAIL PROTECTED]
>> > > List Archives:
>> > > http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
>> > > List Archives:
>> > http://sourceforge.net/mailarchive/forum.php?forum_id=2995
>> > > List Info:
>> > https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
>> > >
>> >
>> >
>> >
>> >
>> > -------------------------------------------------------
>> > SF.Net email is sponsored by:
>> > Tame your development challenges with Apache's Geronimo App Server.
>> > Download
>> > it for free - -and be entered to win a 42" plasma tv or your very own
>> > Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
>> > --
>> > squirrelmail-users mailing list
>> > Posting Guidelines:
>> > http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
>> > List Address: squirrelmail-users@lists.sourceforge.net
>> > List Archives:
>> > http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
>> > List Archives:
>> > http://sourceforge.net/mailarchive/forum.php?forum_id=2995
>> > List Info:
>> > https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
>>
>
>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server.
> Download
> it for free - -and be entered to win a 42" plasma tv or your very own
> Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
> --
> squirrelmail-users mailing list
> Posting Guidelines:
> http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
> List Address: squirrelmail-users@lists.sourceforge.net
> List Archives:
> http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
> List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
> List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
>



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
--
squirrelmail-users mailing list
Posting Guidelines: 
http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: squirrelmail-users@lists.sourceforge.net
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to