Koozali.org: home of the SME Server

Webmail disappeared

Offline cyrulution

  • ***
  • 58
  • +0/-0
    • http://cyrulution.eu
Webmail disappeared
« on: September 17, 2011, 10:02:04 AM »
Since the last update yesterday I can't access webmail any more. (sme 8.0b6). When I try to access Horde with https://192.168.78.1/webmail/ I just get a blank screen. The same when I try to access it by https://mydyndns.net/webmail/
What went wrong?

Offline gregswallow

  • *
  • 651
  • +1/-0
Re: Webmail disappeared
« Reply #1 on: September 17, 2011, 11:19:15 AM »
I'm guessing you have smeupdates-testing enabled....and now have php-5.3.3 installed.

rpm -q php

....to check

If so, you are hitting bug 6716 - http://bugs.contribs.org/show_bug.cgi?id=6716

Offline cyrulution

  • ***
  • 58
  • +0/-0
    • http://cyrulution.eu
Re: Webmail disappeared
« Reply #2 on: September 17, 2011, 11:36:41 AM »
I'm guessing you have smeupdates-testing enabled....and now have php-5.3.3 installed.

rpm -q php

....to check

If so, you are hitting bug 6716 - http://bugs.contribs.org/show_bug.cgi?id=6716

That seems to be exactly my problem. Any idea what I could do to solve it?

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Webmail disappeared
« Reply #3 on: September 17, 2011, 11:58:03 AM »
login as root

Code: [Select]
mkdir -p /etc/e-smith/templates-custom/etc/php.ini
cd /etc/e-smith/templates-custom/etc/php.ini
nano 70TimeZone

edit 70TimeZone with
Code: [Select]
{
$timezonerec = $DB->get_value('TimeZone');
return '';
}
date.timezone = "{$timezonerec}"

save..

then
Code: [Select]
signal-event ibay-modify Primary

you're done

Offline gregswallow

  • *
  • 651
  • +1/-0
Re: Webmail disappeared
« Reply #4 on: September 17, 2011, 06:03:58 PM »
you're done

And then watch bug 6716 for when an update comes that fixes it properly just to make sure the temporary fix Stefano suggested is what actually gets implemented.

Cyrulution, If you have updates-testing enabled you should definitely be reporting problems to the bug tracker, not to the forums.

Offline cyrulution

  • ***
  • 58
  • +0/-0
    • http://cyrulution.eu
Re: Webmail disappeared
« Reply #5 on: September 17, 2011, 08:47:55 PM »
And then watch bug 6716 for when an update comes that fixes it properly just to make sure the temporary fix Stefano suggested is what actually gets implemented.

Cyrulution, If you have updates-testing enabled you should definitely be reporting problems to the bug tracker, not to the forums.

Now I tried three versions of 70TimeZone, After the first version with a typo I first tried your's, then I replaced it by Stephano's, I reconfigured the system every time, it's still the same: a blank screen.

(I had set the updates testing by mistake).

Cyrus

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Webmail disappeared
« Reply #6 on: September 17, 2011, 10:23:08 PM »
What is the output of the following command:
Code: [Select]
httpd -t
Also check /var/log/httpd/error_log and see what clues might be in there.
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 cyrulution

  • ***
  • 58
  • +0/-0
    • http://cyrulution.eu
Re: Webmail disappeared
« Reply #7 on: September 17, 2011, 11:03:08 PM »
What is the output of the following command:
Code: [Select]
httpd -t
"Syntax OK"

Quote
Also check /var/log/httpd/error_log and see what clues might be in there.
the last lines
Quote
[Sat Sep 17 18:31:04 2011] [warn] Init: SSL server IP/port conflict: kube.local:443 (/etc/httpd/conf/httpd.conf:581) vs. cyrulution.homeip.net:443 (/etc/httpd/conf/httpd.conf:685)
[Sat Sep 17 18:31:04 2011] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!!
[Sat Sep 17 18:31:04 2011] [notice] Apache configured -- resuming normal operations
[Sat Sep 17 20:31:14 2011] [notice] Graceful restart requested, doing restart
[Sat Sep 17 20:31:14 2011] [notice] Digest: generating secret for digest authentication ...
[Sat Sep 17 20:31:14 2011] [notice] Digest: done
[Sat Sep 17 20:31:14 2011] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sat Sep 17 20:31:14 2011] [warn] RSA server certificate CommonName (CN) `sme.kube.local' does NOT match server name!?
[Sat Sep 17 20:31:14 2011] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sat Sep 17 20:31:14 2011] [warn] RSA server certificate CommonName (CN) `sme.kube.local' does NOT match server name!?
[Sat Sep 17 20:31:14 2011] [warn] Init: SSL server IP/port conflict: kube.local:443 (/etc/httpd/conf/httpd.conf:581) vs. cyrulution.homeip.net:443 (/etc/httpd/conf/httpd.conf:685)
[Sat Sep 17 20:31:14 2011] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!!
[Sat Sep 17 20:31:14 2011] [notice] Apache configured -- resuming normal operations
[Sat Sep 17 20:36:20 2011] [notice] caught SIGTERM, shutting down

Offline gregswallow

  • *
  • 651
  • +1/-0
Re: Webmail disappeared
« Reply #8 on: September 18, 2011, 11:07:32 AM »
Erase the custom template Stefano suggested you make because as I said watch bug 6716 and now you'll see there is an updated e-smith-php that includes the template.  Install that, and reconfigure/reboot.

Offline cyrulution

  • ***
  • 58
  • +0/-0
    • http://cyrulution.eu
Re: Webmail disappeared
« Reply #9 on: September 18, 2011, 11:24:22 AM »
Erase the custom template Stefano suggested

I must confess I don't know how to erase the template (perhaps just add a blank 70TimeZone?) and where I can get the new updated e-smith-php before it is in updates-testing?

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Webmail disappeared
« Reply #10 on: September 18, 2011, 11:27:10 AM »
I must confess I don't know how to erase the template (perhaps just add a blank 70TimeZone?) and where I can get the new updated e-smith-php before it is in updates-testing?
Just do (offcourse replacing /path/to/file with the actual path to your file)
Code: [Select]
rm /path/to/file
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 cyrulution

  • ***
  • 58
  • +0/-0
    • http://cyrulution.eu
Re: Webmail disappeared
« Reply #11 on: September 18, 2011, 11:51:31 PM »
Many thanks to everybody.
The updates appeared in between, I updated, removed the template, reconfigured and everything is up and running again!
Cyrus

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Webmail disappeared
« Reply #12 on: September 19, 2011, 05:23:44 PM »
Cyrulution, If you have updates-testing enabled you should definitely be reporting problems to the bug tracker, not to the forums.

No, problems should be reported via the bug tracker whether updates-testing is enabled or not.