CentOS 7 installation problems

View thread

finkle

Fresh install of CentOS 7. Downloaded nxlog-ce-2.10.2150-1_rhel7.x86_64.rpm Ran yum install on file, it installed all the dependencies and finished successfully, no errors. Next step in the guide says to edit /opt/nxlog/etc/nxlog.conf -this file doesn't exist. the only nxlog.conf I could find is in /etc/.

After much googling I figured I'd move forward, next step is to verify conf file "/etc/nxlog.conf -v" - here's the output:

[root@LS-PHL-NXL001 opt]# su root /etc/nxlog.conf
/etc/nxlog.conf: line 9: User: command not found
/etc/nxlog.conf: line 10: Group: command not found
/etc/nxlog.conf: line 12: LogFile: command not found
/etc/nxlog.conf: line 13: LogLevel: command not found
/etc/nxlog.conf: line 18: syntax error near unexpected token `newline'
/etc/nxlog.conf: line 18: `<Extension _syslog>'

I'm not sure what to do next. What did I do wrong and how do I fix it?