cPanel not starting with Internal Server Error – fix

The problem:

All websites are down with Internal Server Error 500

Symptoms:

Cpanel wasn’t loading with the following error:

Internal Server Error

500

Can’t fork: Cannot allocate memory at /usr/local/cpanel/Cpanel/SafeRun/InOut.pm line 40.
cpsrvd/11.62.0.15 Server at hostname.example.com

How I fixed it?

First of all I was trying to increase this limit by searching for “Max cPanel process memory” in:
“WHM Home » Server Configuration » Tweak Settings”

It was already over 512MB, the default value of 768MB. I increased to 1024MB. The Cpanel restart was unsuccessful.

As last resort I run the following commands:

/scripts/upcp –force

service cpanel restart

The first command will upgrade cPanel even if you got latest version of cPanel, in order to rule out any update inconsistencies.  Depending on the server configuration, this may run for about 10 minutes.

The second command will restart cPanel.

I hope that was helpful for you.

 

How to sync Microsoft Outlook with Google Calendar and other CalDav Calendars

For this purpose we need to use Outlook CalDav Synchronizer.

Here are the features and description from developer:

Free Outlook Plugin, which synchronizes events, tasks and contacts between Outlook and Google, SOGo, Horde or any other CalDAV or CardDAV server. Supported Outlook versions are 2016, 2013, 2010 and 2007.

Features:

  • free and open-source software (FOSS), the only free Outlook CalDav plugin (AGPL license)
  • tested CalDAV servers: SOGo, Google Calendar, Horde Kronolith, NextCloud, OwnCloud, SabreDAV, Synology NAS, GroupOffice, one.com , Yandex, OpenX-change, Posteo, Landmarks, Kolab, Zoho Calendar, GMX, Tine 2.0, Fruux, Mac OS X Server, iCloud, Mail.ru, Radicale, Cozy Cloud, Cyrus Imap 2.5
  • two-way-sync
  • modern WPF GUI
  • Supporting OAuth2 for Google
  • SSL/TLS support, support for self-signed certificates
  • Manual proxy configuration support for NTLM or basic auth proxies
  • Autodiscovery of calendars and adressbooks via well-known redirects or DNS SRV/TXT lookups
  • configurable sync range
  • sync multiple calendars per profile
  • sync reminders, categories, recurrences with exceptions, importance, transparency
  • sync organizer and attendees and own response status
  • task support
  • CardDAV support to sync contacts (distribution lists planned)
  • Google native Contacts API support with mapping of Google contact groups to Outlook categories.
  • Google Tasklists support (sync via Google Task Api with Outlook task folders)
  • sync contact pictures, categories, notes and x509 certificates
  • manual or time-triggered sync
  • change-triggered sync
  • sync triggered by Outlook Send/Receive
  • Category Filtering (sync CalDAV calendar to Outlook categories)
  • map CalDAV server colors to Outlook category colors
  • show reports of last sync runs and status
  • configurable system Tray Icon with notifications
  • bulk creation of multiple profiles
  • Use server settings from Outlook IMAP/POP3 account profile
  • Map Windows to standard IANA/Olson timezones
  • Configurable mapping of Outlook custom properties

The project page is here: https://sourceforge.net/projects/outlookcaldavsynchronizer/