Forum des NAS

Tous les fabricants de NAS réunis sur un forum unique : Asustor, Qnap, Synology...

BitTorrent Sync, KODI, IPKG, NZBGet, pyLoad...

Modérateur : QoolBox

par giopas
#82732
As-tu peux regarder Stéphane ? Merci bcp!
par giopas
#82780
Trop cool, je vais tester cela!!! Merci!!

Sent from my ONEPLUS A5000 using Tapatalk

par giopas
#82790
Ça marche mnt, merci!!!
par giopas
#82867
C’est bizarre: je voulais faire un changement avec le type de log dans Caddy et, après avoir fait la mise à jour, j’ai donc relancé GoAccess, mais ils parait qu’il ne se lance plus.

Voici la ligne que je lance (et que j’ai dans le script GoAccess.sh:

Code : Tout sélectionner
 [~] # goaccess --no-global-config -o /share/Web/goaccess/index.html --real-time-html --config-file=/share/homes/admin/script/goaccess/goaccess.conf --geoip-database /share/homes/admin/script/goaccess/GeoIP/GeoLite2-City.mmdb --ws-url=wss://gowss.mydomain.com443
Daemonized GoAccess: 14734

Si par contre je vois s’il marche, je vois qu’il n’est pas là:

Code : Tout sélectionner
[~] # ps aux |grep goaccess
14856 admin      1012 S   grep goaccess

Effectivement la porte 7890 n’est pas utilisée:

Code : Tout sélectionner
[~] # netstat -tulpn | grep 7890

Je regarde s’il s’agit d’un probleme de permissions, mais je crois que tout march:

Code : Tout sélectionner
[/opt/GoAccess] # ls -lsa
total 292
  4 drwxrwxr-x 10 admin administrators   4096 2019-11-24 16:16 ./
  4 drwxrwxrwx 50 admin administrators   4096 2019-11-24 13:58 ../
  4 drwxrwxr-x  2 admin administrators   4096 2019-11-22 09:51 bin/
  4 drwxrwxr-x  3 admin administrators   4096 2019-10-15 19:42 etc/
  0 -rwxrwxr-x  1 admin administrators      0 2016-03-15 08:51 .gitkeep*
  4 -rwxrwxr-x  1 admin administrators    325 2019-11-22 10:01 goaccess*
 24 -rw-r--r--  1 admin administrators  21398 2019-10-18 09:28 goaccess.conf
  4 -rwxr-xr-x  1 admin administrators   1604 2019-11-24 16:15 GoAccess.sh*
  4 drwxrwxr-x  4 admin administrators   4096 2019-11-22 09:38 include/
  4 drwxrwxr-x  4 admin administrators   4096 2019-11-22 09:38 lib/
  4 drwxr-xr-x  2 admin administrators   4096 2019-10-17 14:23 lib_elf/
172 -rw-r--r--  1 admin administrators 173845 2019-11-24 10:53 .list
  4 drwxrwxr-x  3 admin administrators   4096 2016-12-22 17:23 man/
 16 -rw-r--r--  1 admin administrators  14611 2019-10-18 09:30 .qpkg_icon_80.gif
 16 -rw-r--r--  1 admin administrators  12729 2019-10-18 09:31 .qpkg_icon.gif
 12 -rw-r--r--  1 admin administrators   9650 2019-10-18 09:31 .qpkg_icon_gray.gif
  4 drwxrwxr-x  7 admin administrators   4096 2019-10-15 19:42 share/
  4 drwxrwxr-x  6 admin administrators   4096 2016-12-22 17:26 ssl/
  4 -rwxr-xr-x  1 admin administrators    796 2019-11-24 10:53 .uninstall.sh*

Stéphane, où est-ce qu’il pourrait avoir le problème?

Merci!

Dernière modification par giopas le 25 nov. 2019 07:02, modifié 1 fois.
par giopas
#82871
J'ai changé (ça marchait quand même avant), mais ce n'est pas cela.

J'ai oublié, cela est le config:

Code : Tout sélectionner
[~] # cat /share/homes/admin/script/goaccess/goaccess.conf
### The port to which the connection is being attempted to connect.
port 7890

### Run GoAccess as daemon (if --real-time-html enabled).
daemonize true

### Log format type
date-format %d/%b/%Y
time-format %H:%M:%S
# log-format COMBINED
log-format %v %h %^[%d:%t %^] "%r" %s %b "%R" "%u" %L

### Enable real-time HTML output.
real-time-html true

### Write  output to stdout given one of the following files and the
### corresponding extension for the output format:
output /share/Web/goaccess/index.html

### Specify the path to the input log file. If set, it will take
### priority over -f from the command line.
log-file /share/homes/admin/script/caddy/accesslogs/quopas-NAS.log
log-file /share/homes/admin/script/caddy/accesslogs/quopas-NAS.log
log-file /share/homes/admin/script/caddy/accesslogs/quopas-NAS.log
log-file /share/homes/admin/script/caddy/accesslogs/quopas-NAS.log
log-file /share/homes/admin/script/caddy/accesslogs/quopas-NAS.log
log-file /share/homes/admin/script/caddy/accesslogs/ruopas-NAS.log
log-file /share/homes/admin/script/caddy/accesslogs/ruopas-NAS.log
log-file /share/homes/admin/script/caddy/accesslogs/ruopas-NAS.log
log-file /share/homes/admin/script/caddy/accesslogs/ruopas-NAS.log
log-file /share/homes/admin/script/caddy/accesslogs/ruopas-NAS.log
log-file /share/homes/admin/script/caddy/accesslogs/quopas-webdav.log
log-file /share/homes/admin/script/caddy/accesslogs/quopas-webdav.log
log-file /share/homes/admin/script/caddy/accesslogs/quopas-webdav.log
log-file /share/homes/admin/script/caddy/accesslogs/quopas-webdav.log
log-file /share/homes/admin/script/caddy/accesslogs/grouter-router.log
log-file /share/homes/admin/script/caddy/accesslogs/ruopas-sonarr.log
log-file /share/homes/admin/script/caddy/accesslogs/ruopas-couch.log
log-file /share/homes/admin/script/caddy/accesslogs/ruopas-transmission.log
log-file /share/homes/admin/script/caddy/accesslogs/ruopas-jackett.log
log-file /share/homes/admin/script/caddy/accesslogs/ruopas-plex.log
log-file /share/homes/admin/script/caddy/accesslogs/ruopas-plex-web-tools.log
log-file /share/homes/admin/script/caddy/accesslogs/ruopas-cardigann.log
log-file /share/homes/admin/script/caddy/accesslogs/ruopas-radarr.log
log-file /share/homes/admin/script/caddy/accesslogs/quopas-tautulli.log
log-file /share/homes/admin/script/caddy/accesslogs/vuplus.log
log-file /share/homes/admin/script/caddy/accesslogs/ruopas-xteve.log
log-file /share/homes/admin/script/caddy/accesslogs/quopas-goaccess.log
log-file /share/homes/adnin/script/caddy/accesslogs/ruopas-bazarr.log

### GeoIP Options
# geoip-database /share/homes/admin/script/goaccess/GeoIP/GeoLite2-City.mmdb
# geoip-database /share/homes/admin/script/goaccess/GeoIP/GeoLite2-Country.mmdb
# geoip-database /share/CACHEDEV1_DATA/.qpkg/GoAccess/share/GeoIP/GeoLite2-City.mmdb
# geoip-database /share/CACHEDEV1_DATA/.qpkg/GoAccess/share/GeoIP/GeoLite2-Country.mmdb

###### TEST
# Enable a list of user-agents by host. For faster parsing, do not
# enable this flag.
agent-list true

Je ne vois pas le soucis... :-(

Bonjour à tous,

Ma femme m'a offert un nas synology DS720+ pour […]

Merci pour le conseil parafoudre ou onduleur.

Bonjour. Je n'arrives plus à accéde[…]

Bonjour. Je ne comprends pas trop ce que tu veux […]

Site hébergé sur un serveur IKOULA

Ikoula