Page 3 of 3

Re: 403 error on openSUSE 42.2

Posted: Tue Jan 31, 2017 8:54 am
by CMOS
I did restart Apache but no change in result.

Output of http - V

Code: Select all

Server version: Apache/2.4.23 (Linux/SUSE)
Server built:   2016-09-13 13:41:45.000000000 +0000
Server's Module Magic Number: 20120211:61
Server loaded:  APR 1.5.1, APR-UTIL 1.5.3
Compiled using: APR 1.5.1, APR-UTIL 1.5.3
Architecture:   64-bit
Server MPM:     prefork
  threaded:     no
    forked:     yes (variable process count)
Server compiled with....
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_PROC_PTHREAD_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=256
 -D HTTPD_ROOT="/srv/www"
 -D SUEXEC_BIN="/usr/sbin/suexec"
 -D DEFAULT_PIDLOG="/run/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_ERRORLOG="/var/log/apache2/error_log"
 -D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
 -D SERVER_CONFIG_FILE="/etc/apache2/httpd.conf"

Re: 403 error on openSUSE 42.2

Posted: Tue Jan 31, 2017 4:22 pm
by rkennedy
@mcapra was able to get it working with the following apache configurations (based off of yours). (see attached)

As we cannot control everything at play here with apache, I would take a look and diff what's in the zip to see if you're missing a setting somewhere, or if something has been done differently. It could even be a permission on the folder Nagios is trying to present to apache depending how things are setup to run in your environment.

Re: 403 error on openSUSE 42.2

Posted: Wed Feb 01, 2017 2:26 pm
by CMOS
I spun up a new VM and started over and Nagios appears to be working now. Not sure what the issue was/is but this solution works.

Thanks for trying and all the help.

Re: 403 error on openSUSE 42.2

Posted: Wed Feb 01, 2017 2:28 pm
by dwhitfield
Glad to hear it is resolved. I am going to lock the thread. Please feel free to post again if you have you another issue. Thank you for using the Nagios forums!