GithubHelp home page GithubHelp logo

Comments (10)

mboelen avatar mboelen commented on July 24, 2024

Patch submitted. Can you check if this removes the warning message?

from lynis.

mboelen avatar mboelen commented on July 24, 2024

@centminmod does it work for you correctly with the latest changes?

from lynis.

mboelen avatar mboelen commented on July 24, 2024

Timed out, considering issue resolved.

from lynis.

centminmod avatar centminmod commented on July 24, 2024

sorry for late reply been sick with the flu :(

just tested and same error

[+] Software: webserver
------------------------------------
  - Checking Apache                                           [ NOT FOUND ]
  - Checking nginx                                            [ FOUND ]
    - Searching nginx configuration file                      [ FOUND ]
      - Found nginx includes                                  [ 6 FOUND ]
    - Parsing configuration options
./include/functions: line 781: [: too many arguments
      - Checking log file configuration
        - Missing log files (access_log)                      [ NO ]
        - Disabled access logging                             [ NO ]
        - Missing log files (error_log)                       [ NO ]
        - Debugging mode on error_log                         [ NO ]

version

 == Lynis ==

  Version         : 2.1.0
  Status          : Up-to-date
  Release date    : 16 April 2015
  Update location : https://cisofy.com

nginx

nginx -V
nginx version: nginx/1.9.0
built by gcc 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) 
built with OpenSSL 1.0.2a 19 Mar 2015
TLS SNI support enabled
configure arguments: --sbin-path=/usr/local/sbin/nginx --conf-path=/usr/local/nginx/conf/nginx.conf --with-http_ssl_module --with-http_gzip_static_module --with-http_stub_status_module --with-http_sub_module --with-http_addition_module --with-http_image_filter_module --with-http_secure_link_module --with-http_flv_module --with-http_realip_module --with-http_geoip_module --with-openssl-opt=enable-tlsext --add-module=../ngx-fancyindex-ngx-fancyindex --add-module=../ngx_cache_purge-2.3 --add-module=../headers-more-nginx-module-0.25 --add-module=../nginx-accesskey-2.0.3 --add-module=../nginx-http-concat-master --with-http_dav_module --add-module=../nginx-dav-ext-module-0.0.3 --add-module=../openresty-memc-nginx-module-1518da4 --add-module=../openresty-srcache-nginx-module-ffa9ab7 --add-module=../nginx_upstream_check_module-0.3.0 --with-openssl=../openssl-1.0.2a --with-libatomic --with-stream --with-pcre=../pcre-8.36 --with-pcre-jit --with-http_spdy_module --add-module=../ngx_pagespeed-release-1.9.32.3-beta

from lynis.

mboelen avatar mboelen commented on July 24, 2024

No worries, glad that you do confirm now.

I've made another change in the meantime. Can you check?
If it does not work, please share the access_log lines from your configuration.

from lynis.

centminmod avatar centminmod commented on July 24, 2024

here's my access_log lines in nginx.conf

access_log  logs/access.log combined buffer=128k flush=15m;
error_log   logs/error.log warn;

tried again and exact same error as from #25 (comment)

from lynis.

mboelen avatar mboelen commented on July 24, 2024

Does it work with the latest patch? (I edited by previous comment, due to this patch)

from lynis.

centminmod avatar centminmod commented on July 24, 2024

doh sorry i install Lynix via a shell script and it was set to latest tag via github not the master branch

  cd /usr/local
  git clone https://github.com/CISOfy/Lynis.git lynis
  cd lynis
  LATEST_TAG=$(git tag | sort -V | tail -1)
  git branch -a
  git branch -D lynis-local
  git checkout -b lynis-local $LATEST_TAG

where's the patch ? you mean latest master commits ?

from lynis.

centminmod avatar centminmod commented on July 24, 2024

latest master branch Lynis works without the too many arguments error 👍

[+] Software: webserver
------------------------------------
  - Checking Apache                                           [ NOT FOUND ]
  - Checking nginx                                            [ FOUND ]
    - Searching nginx configuration file                      [ FOUND ]
      - Found nginx includes                                  [ 6 FOUND ]
    - Parsing configuration options
      - Checking log file configuration
        - Missing log files (access_log)                      [ NO ]
        - Disabled access logging                             [ NO ]
        - Missing log files (error_log)                       [ NO ]
        - Debugging mode on error_log                         [ NO ]

from lynis.

mboelen avatar mboelen commented on July 24, 2024

Great, in that case closing the issue. Thanks again for reporting it.

from lynis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.