Hi All,
I am a real newbie, so please forgive I am in the wrong forum or do something not as required:
I have setup a new virtualmin server on ESXi with CentOS v7.5 64 bits, just run the installer script and added some extras with yum as i need the vmware tools running. I got this weird problem that I can’t run the phpinfo file I uploaded with the file manager in the new virtual server. all filerights and owner are ok, as the file manger is doing a perfect job, so far I am really pleased with Virtualmin. But, no where in the documentation or any website on the www with install instructions I could find that I needed to disable SElinux before starting an installation. After installation I checked the /etc/selinux/conf file and all rows are marked # I think that means it is allowing running, the errors showing as well that the SElinux policy is enabled. I assumed the installer script is doing this?
When I go to the new website and try to get the php info, there is a blank page when i run it [ url/phpinfo.php ] and these are the only errors I can find.
In Virtualmin, Log and Reports, Apache error log, its empty, I tried Apache and MySql restart nothing changed either, these errors where in CSF to view.
I also migrated a cPanel account and had same problem, I have no idea how to fix this…
System Info:
Operating system CentOS Linux 7.5.1804
Perl version 5.016003
Path to Perl /usr/bin/perl
BIND version 9.9
Postfix version 2.10.1
Mail injection command /usr/lib/sendmail -t
Apache version 2.4.6
PHP versions 5.4.16, 7.0.27
Logrotate version 3.8.6
MySQL version 5.5.60-MariaDB
ProFTPD version 1.35
SpamAssassin version 3.4.0
ClamAV version 0.100.2
Sun Oct 28 12:18:13 2018 (9679): Fatal Error Unable to create lock file: Bad file descriptor (9)
Sun Oct 28 12:18:40 2018 (9724): Fatal Error Unable to create lock file: Bad file descriptor (9)
Sun Oct 28 12:21:06 2018 (11221): Fatal Error Unable to create lock file: Bad file descriptor (9)
Sun Oct 28 12:27:03 2018 (15512): Fatal Error Unable to create lock file: Bad file descriptor (9)
Sun Oct 28 12:27:04 2018 (15536): Fatal Error Unable to create lock file: Bad file descriptor (9)
[Sun Oct 28 12:30:57.078777 2018] [mpm_prefork:notice] [pid 64538] AH00170: caught SIGWINCH, shutting down gracefully
[Sun Oct 28 12:30:59.371840 2018] [core:notice] [pid 18340] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Sun Oct 28 12:30:59.373490 2018] [suexec:notice] [pid 18340] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Oct 28 12:30:59.423717 2018] [auth_digest:notice] [pid 18340] AH01757: generating secret for digest authentication ...
[Sun Oct 28 12:30:59.425048 2018] [lbmethod_heartbeat:notice] [pid 18340] AH02282: No slotmem from mod_heartmonitor
[Sun Oct 28 12:30:59.478920 2018] [mpm_prefork:notice] [pid 18340] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_fcgid/2.3.9 PHP/5.4.16 configured -- resuming normal operations
[Sun Oct 28 12:30:59.478966 2018] [core:notice] [pid 18340] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Sun Oct 28 12:36:12.592659 2018] [mpm_prefork:notice] [pid 18340] AH00171: Graceful restart requested, doing restart
[Sun Oct 28 12:36:12.817970 2018] [auth_digest:notice] [pid 18340] AH01757: generating secret for digest authentication ...
[Sun Oct 28 12:36:12.819436 2018] [lbmethod_heartbeat:notice] [pid 18340] AH02282: No slotmem from mod_heartmonitor