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

    /etc/logrotate.d/z-push.lr

    Synchronising (mobile) devices via Z-Push
    3
    9
    897
    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.
    • yythoss
      yythoss last edited by yythoss

      Hi Forum,

      under CentOS 6 there is a Problem.
      This Error comes every day:

      /etc/cron.daily/logrotate:
      
      error: z-push.lr:6 unknown option 'su' -- ignoring line
      error: z-push.lr:6 unexpected text
      
      

      The Problem is this line in /etc/logrotate.d/z-push.lr

       su root z-push
      

      This line not work.

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

        Hi yythoss,

        we added this line because there was a bug report: https://jira.z-hub.io/browse/ZP-1431. It looks like your logrotate version doesn’t support the su directive, so removing that line should solve your issue (or upgrading to a more recent version).

        Manfred

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

          It is a original logratote from CentOS 6 and I installed the last updates.

          fbartels 1 Reply Last reply Reply Quote 0
          • fbartels
            fbartels Kopano @yythoss last edited by

            @yythoss said in /etc/logrotate.d/z-push.lr:

            installed the last updates

            The recommendation was not to update Z-Push, but to make an upgrade of Them to version 7.

            Regards Felix

            Resources:
            https://kopano.com/blog/how-to-get-kopano/
            https://documentation.kopano.io/
            https://kb.kopano.io/

            Support overview:
            https://kopano.com/support/

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

              This is not possible at the moment, because an ISDN controller is used, which runs only under CentOS 6.
              I think Z-Push must run under CentOS 6 and CentOS 7.

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

                In that case you should remove line 6 from the logrotate configuration. According to a report this is required for RHEL 7 (which has the bigger market share of the two releases at the moment).

                Regards Felix

                Resources:
                https://kopano.com/blog/how-to-get-kopano/
                https://documentation.kopano.io/
                https://kb.kopano.io/

                Support overview:
                https://kopano.com/support/

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

                  There is a different repository for CentOS 6 and CentOS 7

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

                    @yythoss said in /etc/logrotate.d/z-push.lr:

                    There is a different repository for CentOS 6 and CentOS 7

                    Yes, that is true. the “problem” is that we use one spec file for all rpm based distributions, so dealing with this requires a new example logrotate file in the git repo and an exception for rhel 6 in the spec file.

                    I have created https://jira.z-hub.io/browse/ZP-1452 and already pushed a proposed for for this.

                    Regards Felix

                    Resources:
                    https://kopano.com/blog/how-to-get-kopano/
                    https://documentation.kopano.io/
                    https://kb.kopano.io/

                    Support overview:
                    https://kopano.com/support/

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

                      The fix is available in the pre-final repository.

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