Hello Marcin,
I added another vhost on my nginx conf to allow zabbix communication on another port ; and next i decided to delete this vhost.
Since i can not use the bacularis web/api..
Requests continue to go out on the port of the vhost I've deleted... however :
/etc/nginx/sites-enabled/bacularis.conf
server {
listen 9097 ssl;
root /usr/share/bacularis/htdocs;
}
All my conf files are on /etc/bacularis
directory :
debian@:~$ sudo ls -lah /usr/share/bacularis/protected/vendor/bacularis/bacularis-web/Web/
lrwxrwxrwx 1 www-data www-data 18 Aug 25 19:27 Config -> /etc/bacularis/Web
debian@:~$ sudo ls -lah /usr/share/bacularis/protected/vendor/bacularis/bacularis-api/API/
lrwxrwxrwx 1 www-data www-data 18 Aug 25 19:27 Config -> /etc/bacularis/API
And there :
[api]
auth_type = "oauth2"
debug = "1"
lang = "fr"
[XXXXXXXX]
client_id = "IDIDIDIDIDIDIDID"
client_secret = "SECRET"
redirect_uri = "https://FQDN:9097/web/redirect"
scope = "XXXXX"
bconsole_cfg_path = "/usr/share/bacularis/protected/vendor/bacularis/bacularis-api/API/Config/XXXXXXXX.cfg"
name = "XXXXXXXX"
[Main]
auth_type = "oauth2"
login = ""
password = ""
client_id = "IDIDIDIDIDIDIDID"
client_secret = "SECRET"
redirect_uri = "https://FQDN:9097/web/redirect"
scope = "XXXXX"
protocol = "https"
address = "localhost"
port = "9097"
url_prefix = ""
And when i searched for an entry for the requested port on API interface :
debian@:~$ sudo grep -R '9098' /etc/bacularis
debian@:~$ sudo grep -R '9098' /etc/nginx/sites-enabled/
debian@3:~$ sudo grep -R '9098' /usr/share/bacularis/protected/vendor/bacularis/bacularis-api/API/Config
debian@:~$ sudo grep -R '9098' /usr/share/bacularis/protected/vendor/bacularis/bacularis-web/Web/Config
I have no entry of this port...
And yet in logs :
What could i do ?
I have no more ideas...
Thanks by advance !