Want more timely Centmin Mod News Updates?
Become a Member

Nginx Nginx error : unknown log format

Discussion in 'Install & Upgrades or Pre-Install Questions' started by pamamolf, May 16, 2017.

  1. pamamolf

    pamamolf Well-Known Member

    2,487
    229
    63
    May 31, 2014
    Ratings:
    +390
    Local Time:
    12:53 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Please fill in any relevant information that applies to you:
    • CentOS Version: CentOS 7.3 64bit
    • Centmin Mod Version Installed: 123.09beta01
    • Nginx Version Installed: i.e. 1.13.0
    • PHP Version Installed: i.e. 5.6.30 or 7.0.15
    • MariaDB MySQL Version Installed: i.e. 10.0.21 or 10.1.21
    • When was last time updated Centmin Mod code base ? : i.e. run centmin.sh menu option 23 submenu option 2

    Hello :)

    I just install latest Centminmod and when i try to restart Nginx i got this:

    Code:
    nginx[22063]: Starting nginx: nginx: [emerg] unknown log format "buffer=256k" in /usr/local/nginx/conf/conf.d/virtual.conf:6
    
    nginx[22063]: [FAILED]
    I was not even create a vhost .....or touch any files....

    Thanks
     
  2. Jimmy

    Jimmy Premium Member Premium Member

    1,025
    231
    63
    Oct 24, 2015
    East Coast USA
    Ratings:
    +555
    Local Time:
    5:53 AM
    1.13.x
    MariaDB 10.1.x
  3. pamamolf

    pamamolf Well-Known Member

    2,487
    229
    63
    May 31, 2014
    Ratings:
    +390
    Local Time:
    12:53 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Yes :)

    I just remove all the extras for this log line and it works but i post it here so George will take care of it :)
     
    • Like Like x 1
  4. Inforit

    Inforit Premium Member Premium Member

    42
    12
    8
    Jul 30, 2014
    Ratings:
    +15
    Local Time:
    10:53 AM
    nginx/1.7.3
    MariaDB 5.5
    Has same problem, thanks for solution.

     
  5. Jimmy

    Jimmy Premium Member Premium Member

    1,025
    231
    63
    Oct 24, 2015
    East Coast USA
    Ratings:
    +555
    Local Time:
    5:53 AM
    1.13.x
    MariaDB 10.1.x
    I wonder if it's just affecting that virtual file? Would it affect specific sites config files?
     
  6. eva2000

    eva2000 Administrator Staff Member

    28,935
    6,567
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,747
    Local Time:
    7:53 PM
    Nginx 1.13.x
    MariaDB 5.5
    my boo boo, made a change yesterday should read as
    Code (Text):
    access_log              /var/log/nginx/localhost.access.log     combined buffer=8k flush=1m;
    

    fixed in 123.09beta01 update done just now
    for fail2ban you need to remove the extras manually though
    Code (Text):
    access_log              /var/log/nginx/localhost.access.log;
    
     
    • Like Like x 2