Koozali.org: home of the SME Server

EGROUPWARE - Suddenly fails to allow logins

Offline Elliott

  • ***
  • 150
  • +0/-0
EGROUPWARE - Suddenly fails to allow logins
« on: July 12, 2011, 04:04:46 PM »
This morning one of my users came in and asked why he couldn't login to the web interface for eGroupWare. I tested the login at https://[server]/egroupware and just like him, I see the login screen and type my credentials in. The server just cycles back to the same screen with no error message.

The URL seems to have changed to: https://[server]/egroupware/login.php?phpgw_forward=%2Findex.php%3Fcd%3Dyes   upon returning from the failed attempt to login.

I don't see any egroupware specific log files in /var/log.

Can anyone help me troubleshoot this?

-E

p.s. I'm using SME Server 7.5.1 with all current updates installed.
Elliott

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: EGROUPWARE - Suddenly fails to allow logins
« Reply #1 on: July 12, 2011, 04:51:06 PM »
I don't see any egroupware specific log files in /var/log.
Start by checking your webserver log files in /var/log/httpd/.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Frank VB

  • ***
  • 127
  • +0/-0
Re: EGROUPWARE - Suddenly fails to allow logins
« Reply #2 on: July 12, 2011, 04:53:14 PM »
Googling

Code: [Select]
=%2Findex.php%3Fcd%3Dyes
returns several results on this error. A quick search and find results in two possible causes:
1. Make sure the "check ip address of all sessions" option in the configuration panel of eGroupware is set to "No". See: http://www.egroupware.org/forum#nabble-td687897 (it's in French)

2. Cookies are not enabled in the browser. See: http://www.egroupware.org/forum#nabble-td263943 (it's partly in German)

Make sure to check the apache error_log (in var/log/httpd) for any errors (as Cactus says).

Offline Elliott

  • ***
  • 150
  • +0/-0
Re: EGROUPWARE - Suddenly fails to allow logins
« Reply #3 on: July 12, 2011, 05:03:07 PM »
Looking into the google searches although there have been no changes and the problem effects multiple (ney, ALL) clients so cookies and the like are not a likely suspect.

Also checking httpd logs now.

Thanks,
E
Elliott

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: EGROUPWARE - Suddenly fails to allow logins
« Reply #4 on: July 12, 2011, 07:20:08 PM »
Googling

Code: [Select]
=%2Findex.php%3Fcd%3Dyes
Where do you see that? Where have you taken that from. Without the context it is hard to judge what we are looking at and what might be the cause.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Elliott

  • ***
  • 150
  • +0/-0
Re: EGROUPWARE - Suddenly fails to allow logins
« Reply #5 on: July 12, 2011, 07:21:54 PM »
I believe he's referring to my original post.

That's the URL that comes back to the client web browser after a login attempt.
Elliott

Offline Elliott

  • ***
  • 150
  • +0/-0
Re: EGROUPWARE - Suddenly fails to allow logins
« Reply #6 on: July 13, 2011, 07:38:28 PM »
Somehow this error seems to possibly be related to ibays? Does the egroupware contrib use them?

When I access it from an internal (to my lan) client, I get this error in the httpd/error_log file:

Code: [Select]
[Wed Jul 13 13:31:22 2011] [error] [client x.y.z.a] File does not exist: /home/e-smith/files/ibays/Primary/html/favicon.ico

Oddly, I seem to be able to access the EGW interface from extranal (to our LAN) sources.
« Last Edit: July 13, 2011, 07:50:00 PM by Elliott »
Elliott

Offline Elliott

  • ***
  • 150
  • +0/-0
Re: EGROUPWARE - Suddenly fails to allow logins
« Reply #7 on: July 13, 2011, 07:51:25 PM »
I don't see any other errors in the http_error log particular to my client. I put a favicon.ico file where the error was referring and that did no good. Are there other error logs associated with apache or EGW?

-E
Elliott

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: EGROUPWARE - Suddenly fails to allow logins
« Reply #8 on: July 13, 2011, 11:19:24 PM »
Code: [Select]
[Wed Jul 13 13:31:22 2011] [error] [client x.y.z.a] File does not exist: /home/e-smith/files/ibays/Primary/html/favicon.ico
That is log noise and not relevant to your errors.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Elliott

  • ***
  • 150
  • +0/-0
Re: EGROUPWARE - Suddenly fails to allow logins
« Reply #9 on: July 19, 2011, 03:52:15 PM »
That is log noise and not relevant to your errors.

Thanks for the confirmation. I still can't track the issue down. I'm looking in the various httpd log files and nothing's jumping out. I can access the service from the public facing interface but no longer from within the LAN. There were no updates to SME that related to apache or php (only curl from my recollection) and I've made no alterations to the server either.

It just doesn't add up.

-E
Elliott

Offline Frank VB

  • ***
  • 127
  • +0/-0
Re: EGROUPWARE - Suddenly fails to allow logins
« Reply #10 on: July 19, 2011, 04:20:20 PM »
I don't see any egroupware specific log files in /var/log.

Did you check the egroupware error log (click on the "Admin" icon/button in eGroupware, then click the "View error log" link)? Any clues in there?

Offline Elliott

  • ***
  • 150
  • +0/-0
Re: EGROUPWARE - Suddenly fails to allow logins
« Reply #11 on: July 19, 2011, 04:24:28 PM »
Did you check the egroupware error log (click on the "Admin" icon/button in eGroupware, then click the "View error log" link)? Any clues in there?

I must be missing where in the admin panel EGW shows up. Or do you mean I should login to EGW from external as an admin user?
Elliott

Offline Elliott

  • ***
  • 150
  • +0/-0
Re: EGROUPWARE - Suddenly fails to allow logins
« Reply #12 on: July 19, 2011, 08:39:21 PM »
Hope this inline image works...




I'm not sure what the odd ip's mentioned are. The 74.219.x.y is mine. Any pointers?

-E
Elliott

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: EGROUPWARE - Suddenly fails to allow logins
« Reply #13 on: July 20, 2011, 01:33:33 AM »
how many ips do you have? did you change anything in your lan infrastructure?

some years ago I had a similar problem.. it was an error in router configuration (multi ip adsl)

anyway, you should/could ask to EGW mantainers/support, this is not related to SME IMHO

Offline Elliott

  • ***
  • 150
  • +0/-0
Re: EGROUPWARE - Suddenly fails to allow logins
« Reply #14 on: July 20, 2011, 05:43:20 PM »
how many ips do you have? did you change anything in your lan infrastructure?

In what sense? Internally? Externally? I don't think it's at issue since our configuration has not changed.

anyway, you should/could ask to EGW mantainers/support, this is not related to SME IMHO

I will ask there. I started here because it is a contrib and as I've stated, no changes were made at my border or to our internal LAN so I was hoping another user of this contrib was seeing the same thing or had a similar issue in the past.

-E
Elliott