Opened 11 months ago

Last modified 11 months ago

#13722 assigned Task/To do item

Need Apache restarted for replaced SSL Certificates

Reported by: michael Owned by: JaimeV
Priority: High Component: Tech
Keywords: Cc:
Sensitive: no

Description

Helo!

We need Apache restarted for our replaced SSL Certificates, the site is communitymediamarin.org / cmcm.tv located on binh.mayfirst.org.

Hopefully it'll be fine, just swapped out old for new cert docs.

thanks!

Michael

Change History (9)

comment:1 Changed 11 months ago by JaimeV

Owner: set to JaimeV
Status: newassigned

Hi, after restarting apache your site refused to load. I suspected a problem with the cert files so I switched on auto mode in your eb configuration to create a free LetsEncrypt TLS certficate for the site instead, (actually since this is available you don't need to purchase TLS certs externally anymore) however there is still some issue with the way your site is redirecting that does not allow the site to load properly. It is not clear to me where the issue is.

comment:2 Changed 11 months ago by michael

Weird. About 90 minutes ago the site loaded perfectly for me with a 'site secure' indication in Chrome. Now it fails to load due to redirects.

I just moved the new SSL certs to inactive directories. I don't see anything in the .htaccess file that could be creating the redirects (but I'm not expert either), but I thought that might be an issue. I changed nothing else besides swapping out the certs. Very confused as to what has happened.

Any suggestions?

Michael

comment:3 Changed 11 months ago by michael

Resolution: fixed
Status: assignedclosed

It appears the 'Secure Pages' module was the culprit. I disabled it and the site now loads. I'm guessing this module played better with external SSL certs but not with what mayfirst uses? Anyway, seems OK now, some pages with inline content are broken - probably a different issue.

Hard to keep a drupal 6 site alive these days . . . I fear it's not long for the world.

thanks!

Michael

comment:4 Changed 11 months ago by JaimeV

Resolution: fixed
Status: closedassigned

Yeah I also couldn't find anything in the .htaccess file that seemed like it woud cause the redirect. From what I could tell the site was constantly redirecting back to the http version causing a loop as our automatically generated apache config forwards to the https version.

I've just added this line to your sites/default/settings.php file $base_url = 'https://cmcm.tv'; and that seems to allow the site to load. If you are able to access the administrative interface now you might check if anything else, maybe one of the modules is configured to control the site url?

Also earlier, I thought it might have something to do with the drupal cache do I attempted to clear that with drush cc all from your web directory but I get the response No Drupal site found, only 'drush' cache was cleared. I think this is Drupal 6 site?

comment:5 Changed 11 months ago by JaimeV

Oh, Sorry I didn't see your previous comment before my last one. That change I made may not have been necessary then. You can try removing it.

comment:6 Changed 11 months ago by JaimeV

Yes, as we begin upgrading servers it Drupal 6 will be incompaible with the newest version of php. You may want to begin planning a transition path now. Also I noticed that all of your files are world executable which I don't think you want.

comment:7 Changed 11 months ago by michael

Thanks Jamie,

Any target date for not supporting Drupal 6? I've gotta get busy. Thanks for the permissions fix - not sure how that happened.

take care

Michael

comment:8 Changed 11 months ago by michael

Hi Folks, cmcm.tv has been down for about 5 hours tonight, I noticed mayfirst.org was unreachable for a bit too. Is my sql running for our site on binh? We've made no changes to speak of since our last spate of troubles.

many thanks,

Michael

comment:9 Changed 11 months ago by Jamie McClelland

Hi Michael - sorry for the delay - I noticed the alert when I woke up (7:00 am eastern) and restarted the web server. We should have picked that up last night!

I'm still investigating the cause the apache crash on binh - nothing in the logs indicates the problem (although I do see a number of apache2 restarts just after 8:00 pm eastern time).

I also noticed a php error in the communitymediamarin.org:

[Thu May 31 09:41:04.535876 2018] [proxy_fcgi:error] [pid 16272:tid 139877051971328] [client 142.255.81.111:56636] AH01071: Got error 'PHP message: PHP Fatal error:  Call to undefined function t() in /home/members/cmcmarin/sites/communitymediamarin.org/web/sites/default/modules/performance/performance.module on line 157\n'

On every page load -not sure why, the t() function should be available on any drupal page.

Please login to add comments to this ticket.

Note: See TracTickets for help on using tickets.