Buongiorno a tutti, prima installazione di FreeNas e primo problema. Ho provato ad installare freenas su un vecchissimo computer P4 che avevo a casa, ho anche recuperato un HD da 20GB per installazione e uno da 80 Gb per stoccaggio files. (quando funzionerà tutto e capirò come usarlo aggiornerò la configurazione). Accendo FreeNas, vado nella webgui e funziona tutto perfettamente, vedo tutto e comincio la configurazoine. Dopo qualche minuto, 3 o 4 circa mi compaiono degli errori e se provo a ricaricare la pagina mi dice
An error occurred.
Sorry, the page you are looking for is currently unavailable.
Please try again later.
If you are the system administrator of this resource then you should check the error log for details.
Faithfully yours, nginx.
PRovo a controllare l'error log e trovo:
syntax: error_log file | stderr | syslog:server=address[,parameter=value] [debug | info | notice |warn | error | crit | alert | emerg];
default:
error_log logs/error.log error;
context: main, http, server, location
Configures logging. Several logs can be specified on the same level (1.5.2).
The first parameter defines a file that will store the log. The special value stderr selects the standard error file. Logging to syslog can be configured by specifying the “syslog:” prefix.
The second parameter determines the level of logging. Log levels above are listed in the order of increasing severity. Setting a certain log level will cause all messages of the specified and more severe log levels to be logged. For example, the default level error will cause error, crit, alert, and emerg messages to be logged. If this parameter is omitted then error is used.
The following parameters configure logging to syslog:
server=address
Defines an address of a syslog server. An address can be specified as a domain name or IP address, and an optional port, or as a UNIX-domain socket path specified after the “unix:” prefix. If port is not specified, the port 514 is used. If a domain name resolves to several IP addresses, the first resolved address is used.
facility=string
Sets facility of syslog messages, as defined in RFC 3164. Facility can be one of “kern”, “user”, “mail”, “daemon”, “auth”, “intern”, “lpr”, “news”, “uucp”, “clock”, “authpriv”, “ftp”, “ntp”, “audit”, “alert”, “cron”, “local0”..“local7”. Default is “local7”.
tag=string
Sets tag of syslog messages. Default is “nginx”.
Example syslog configuration:
An error occurred.
Sorry, the page you are looking for is currently unavailable.
Please try again later.
If you are the system administrator of this resource then you should check the error log for details.
Faithfully yours, nginx.
PRovo a controllare l'error log e trovo:
syntax: error_log file | stderr | syslog:server=address[,parameter=value] [debug | info | notice |warn | error | crit | alert | emerg];
default:
error_log logs/error.log error;
context: main, http, server, location
Configures logging. Several logs can be specified on the same level (1.5.2).
The first parameter defines a file that will store the log. The special value stderr selects the standard error file. Logging to syslog can be configured by specifying the “syslog:” prefix.
The second parameter determines the level of logging. Log levels above are listed in the order of increasing severity. Setting a certain log level will cause all messages of the specified and more severe log levels to be logged. For example, the default level error will cause error, crit, alert, and emerg messages to be logged. If this parameter is omitted then error is used.
For debug logging to work, nginx needs to be built with --with-debug, see “A debugging log”.
The following parameters configure logging to syslog:
server=address
Defines an address of a syslog server. An address can be specified as a domain name or IP address, and an optional port, or as a UNIX-domain socket path specified after the “unix:” prefix. If port is not specified, the port 514 is used. If a domain name resolves to several IP addresses, the first resolved address is used.
facility=string
Sets facility of syslog messages, as defined in RFC 3164. Facility can be one of “kern”, “user”, “mail”, “daemon”, “auth”, “intern”, “lpr”, “news”, “uucp”, “clock”, “authpriv”, “ftp”, “ntp”, “audit”, “alert”, “cron”, “local0”..“local7”. Default is “local7”.
tag=string
Sets tag of syslog messages. Default is “nginx”.
Example syslog configuration:
error_log syslog:server=192.168.1.1 debug;
error_log syslog:server=unix:/var/log/nginx.sock;
error_log syslog:server=[2001:db8::1]:12345,facility=local7,tag=nginx error;
error_log syslog:server=unix:/var/log/nginx.sock;
error_log syslog:server=[2001:db8::1]:12345,facility=local7,tag=nginx error;
Logging to syslog is available as part of our commercial subscription only.
E' un problema di Router o proprio un problema di FreeNAs?
Grazie
MAtteo