Common Installation Errors: manual chapter feedback and discussion

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hello,

Please add to this documentation page that another common cause of the 500 Internal Server Error is from the random_compat library. The solution here is to install libsodium.

I encountered this issue on CentOS 7 with apache v2.4.6 and php v5.6.33.

The random_compat library included with phplist requires some source of entropy. For users like myself which use open_basedir in /etc/php.ini to limit which directories in which php is allowed to execute, php is not permitted to access /dev/urandom. The solution recommended by the developers of random_compat is to add /dev/urandom to open_basedir, but I felt that was probably a bad idea.

Instead, I decided to install libsodium and the pecl libsodium extension for php. Indeed, this is the preferred source of entropy for random_compat.

After I installed the libsodium package and the pecl libsodium extension (and restarted my apache webserver), the 500 errors went away, and I was able to proceed with the phplist installation in my web browser.

For more information about this issue and its fix, please see my write-up on it:

Thank you,

Michael Altfield
Senior System Administrator
PGP Fingerprint: 8A4B 0AF8 162F 3B6A 79B7 70D2 AA3E DF71 60E2 D97B

Open Source Ecology
www.opensourceecology.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJbgcR8AAoJEKo+33Fg4tl7kesP/RY5kQUz5t52zOWxi1jlgv26
lcIv1Qa8wnNmekQV1zyWgC4FPJlQl6xx54JW/Tnb+HgEGPW4QBSJTOmH6kwroPOj
5sxMSU7V0p7eVtekXnwcAcnO8hJepQarpg5Kv9LTavb8bHa4OU+0JOs8YOVbHitq
0HxJ9YDVUdAhTZ6tG0Gpp/3SQEifYczhSs3/5TTthypD3GiO5SobnAbMyc/uHQ8U
sVNxHAZimJ3TmgQDT5xtHYKwQ9J/dCwhuSLqKrdsBRL70WRYl6maQoeAs+Nt9ip/
BYnYukV3pxj2iTnlzfi4xqpO9uwMXibVB7VBvXi3kGeeSBnOUM0dw3YMOuB85rI1
ZlAOcFRZx/UGk/Ykj/tKwlW/NhPIXqa5DCHP6zUEYMvJdIXMjN8fsw/B/s2ODNy+
Z1mAFyrQibCw/Rx0EBJJv1vAKDt/ZGL8sSCWqlIVaSsNyaLGiMlRiKr3vXMlFH0d
oqsgetB3uQIbRZfUA2nMMaHUysP2QRYEzsjOa0lzFxEgKy+FCTzxxEDVIvkXsnZl
aqnJtOpCO/uAGqbFiUfDPEKTMEso00PsitH7bSd0dwYtLf/40UTJqu6xm6FGEowG
635lzAZYmjno4rG2dmlbTAm0l9NSlGB14oIm8g4W1lmSNjGnQqxcwkOovA/dTsnp
+U6kja6blOunE7IW72wC
=P02h
-----END PGP SIGNATURE-----

1 Like