Fresh Install Z-Push Logfile Error - Centos 7 Minimal - [SOLVED]

Hi All

I’ve done a fresh install of z-push, and all i keep getting is logfile cannot be modified. I have spent over 10hours trying to get the bloody thing to work to no avail.

i’ve set permissions on the /var/log/z-push to 777, i’ve set chown to apache:apache and to even root:root still nothing.

The stupid thing is its writing the error to the log file!!!

OS : Centos7
z-push: 2.3.8

30/01/2018 14:00:04 [11132] [FATAL] FatalMisconfigurationException: The configured LOGFILE can not be modified. - code: 0```

Just for ref, i have been through the Search and the various tut’s online and also the install from the repo but nothing will work.

Hi cpeb,

do you have SELinux enabled? It might be that you have to excute some chcon commands. There’s an article with a similar issue: https://blog.lysender.com/2015/07/centos-7-selinux-php-apache-cannot-writeaccess-file-no-matter-what/ .

Manfred

You are Genius :)

For those searching:

Centos 7 - Minimal

I had to run:

Just for good measure

chown apache:apache -R /var/log/z-push

Then run

chcon -t httpd_sys_content_t /var/log/z-push -R
chcon -t httpd_sys_rw_content_t /var/log/z-push -R

refreshed the page and login prompt was shown.

Thanks

Log in to reply

Looks like your connection to Kopano Community Forum was lost, please wait while we try to reconnect.