Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

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

    Synchronising (mobile) devices via Z-Push
    2
    4
    1506
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • cpeb
      cpeb last edited by cpeb

      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```
      1 Reply Last reply Reply Quote 0
      • cpeb
        cpeb last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • Manfred
          Manfred Kopano last edited by

          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

          1 Reply Last reply Reply Quote 0
          • cpeb
            cpeb last edited by

            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

            1 Reply Last reply Reply Quote 0
            • First post
              Last post