Hi,
I’m testing out NS7beta now. Quite a default install right now.
Running into an error on creating Virtual Host through UI:
Error in browser states:
Task completed with errors
(exit status )
Logs of the action on create virtual host are:
> Oct 10 12:12:52 nethserver /sbin/e-smith/db[12329]: /var/lib/nethserver/db/hosts: OLD test.jelle.lan=(undefined)
> Oct 10 12:12:52 nethserver /sbin/e-smith/db[12329]: /var/lib/nethserver/db/hosts: NEW test.jelle.lan=self
> Oct 10 12:12:52 nethserver /sbin/e-smith/db[12329]: /var/lib/nethserver/db/hosts: OLD test.jelle.lan=self
> Oct 10 12:12:52 nethserver /sbin/e-smith/db[12329]: /var/lib/nethserver/db/hosts: NEW test.jelle.lan=self|Description|1
> Oct 10 12:12:53 nethserver esmith::event[12332]: Event: host-modify test.jelle.lan
> Oct 10 12:12:53 nethserver esmith::event[12332]: expanding /etc/hosts
> Oct 10 12:12:53 nethserver dbus[690]: [system] Activating via systemd: service name=‘org.freedesktop.timedate1’ unit=‘dbus-org.freedesktop.timedate1.service’
> Oct 10 12:12:53 nethserver dbus-daemon: dbus[690]: [system] Activating via systemd: service name=‘org.freedesktop.timedate1’ unit=‘dbus-org.freedesktop.timedate1.service’
> Oct 10 12:12:53 nethserver systemd: Starting Time & Date Service…
> Oct 10 12:12:53 nethserver dbus[690]: [system] Successfully activated service ‘org.freedesktop.timedate1’
> Oct 10 12:12:53 nethserver dbus-daemon: dbus[690]: [system] Successfully activated service ‘org.freedesktop.timedate1’
> Oct 10 12:12:53 nethserver systemd: Started Time & Date Service.
> Oct 10 12:12:53 nethserver esmith::event[12332]: expanding /etc/dnsmasq-dhcp-hosts
> Oct 10 12:12:53 nethserver esmith::event[12332]: Action: /etc/e-smith/events/actions/generic_template_expand SUCCESS [0.425354]
> Oct 10 12:12:53 nethserver systemd: Reloading.
> Oct 10 12:12:53 nethserver systemd: Configuration file /usr/lib/systemd/system/auditd.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.
> Oct 10 12:12:54 nethserver esmith::event[12332]: [INFO] service dnsmasq restart
> Oct 10 12:12:54 nethserver dnsmasq[12071]: exiting on receipt of SIGTERM
> Oct 10 12:12:54 nethserver systemd: Stopping DNS caching server…
> Oct 10 12:12:54 nethserver systemd: Started DNS caching server…
> Oct 10 12:12:54 nethserver systemd: Starting DNS caching server…
> Oct 10 12:12:54 nethserver esmith::event[12332]: [INFO] dnsmasq restart
> Oct 10 12:12:54 nethserver dnsmasq[12361]: started, version 2.66 cachesize 4000
> Oct 10 12:12:54 nethserver dnsmasq[12361]: compile time options: IPv6 GNU-getopt DBus no-i18n IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth
> Oct 10 12:12:54 nethserver dnsmasq-tftp[12361]: TFTP root is /var/lib/tftpboot
> Oct 10 12:12:54 nethserver dnsmasq[12361]: using nameserver 127.0.0.1#10053 for domain spamhaus.org
> Oct 10 12:12:54 nethserver dnsmasq[12361]: using nameserver 127.0.0.1#10053 for domain dnswl.org
> Oct 10 12:12:54 nethserver dnsmasq[12361]: using nameserver 127.0.0.1#10053 for domain uribl.com
> Oct 10 12:12:54 nethserver dnsmasq[12361]: using nameserver 8.8.8.8#53
> Oct 10 12:12:54 nethserver dnsmasq[12361]: read /etc/hosts - 3 addresses
> Oct 10 12:12:54 nethserver esmith::event[12332]: Action: /etc/e-smith/events/actions/adjust-services SUCCESS [0.383407]
> Oct 10 12:12:54 nethserver esmith::event[12332]: Event: host-modify SUCCESS
> Oct 10 12:12:54 nethserver /sbin/e-smith/db[12363]: /var/lib/nethserver/db/vhosts: OLD test=(undefined)
> Oct 10 12:12:54 nethserver /sbin/e-smith/db[12363]: /var/lib/nethserver/db/vhosts: NEW test=vhost
> Oct 10 12:12:54 nethserver /sbin/e-smith/db[12363]: /var/lib/nethserver/db/vhosts: OLD test=vhost
> Oct 10 12:12:54 nethserver /sbin/e-smith/db[12363]: /var/lib/nethserver/db/vhosts: NEW test=vhost|Access|public
> Oct 10 12:12:54 nethserver /sbin/e-smith/db[12363]: /var/lib/nethserver/db/vhosts: OLD test=vhost|Access|public
> Oct 10 12:12:54 nethserver /sbin/e-smith/db[12363]: /var/lib/nethserver/db/vhosts: NEW test=vhost|Access|public|Description|test
> Oct 10 12:12:54 nethserver /sbin/e-smith/db[12363]: /var/lib/nethserver/db/vhosts: OLD test=vhost|Access|public|Description|test
> Oct 10 12:12:54 nethserver /sbin/e-smith/db[12363]: /var/lib/nethserver/db/vhosts: NEW test=vhost|Access|public|Description|test|ForceSslStatus|disabled
> Oct 10 12:12:54 nethserver /sbin/e-smith/db[12363]: /var/lib/nethserver/db/vhosts: OLD test=vhost|Access|public|Description|test|ForceSslStatus|disabled
> Oct 10 12:12:54 nethserver /sbin/e-smith/db[12363]: /var/lib/nethserver/db/vhosts: NEW test=vhost|Access|public|Description|test|ForceSslStatus|disabled|FtpStatus|disabled
> Oct 10 12:12:54 nethserver /sbin/e-smith/db[12363]: /var/lib/nethserver/db/vhosts: OLD test=vhost|Access|public|Description|test|ForceSslStatus|disabled|FtpStatus|disabled
> Oct 10 12:12:54 nethserver /sbin/e-smith/db[12363]: /var/lib/nethserver/db/vhosts: NEW test=vhost|Access|public|Description|test|ForceSslStatus|disabled|FtpStatus|disabled|PasswordStatus|disabled
> Oct 10 12:12:54 nethserver /sbin/e-smith/db[12363]: /var/lib/nethserver/db/vhosts: OLD test=vhost|Access|public|Description|test|ForceSslStatus|disabled|FtpStatus|disabled|PasswordStatus|disabled
> Oct 10 12:12:54 nethserver /sbin/e-smith/db[12363]: /var/lib/nethserver/db/vhosts: NEW test=vhost|Access|public|Description|test|ForceSslStatus|disabled|FtpStatus|disabled|PasswordStatus|disabled|ServerNames|test.jelle.lan
> Oct 10 12:12:54 nethserver /sbin/e-smith/db[12363]: /var/lib/nethserver/db/vhosts: OLD test=vhost|Access|public|Description|test|ForceSslStatus|disabled|FtpStatus|disabled|PasswordStatus|disabled|ServerNames|test.jelle.lan
> Oct 10 12:12:54 nethserver /sbin/e-smith/db[12363]: /var/lib/nethserver/db/vhosts: NEW test=vhost|Access|public|Description|test|ForceSslStatus|disabled|FtpStatus|disabled|PasswordStatus|disabled|ServerNames|test.jelle.lan|SslCertificate|
> Oct 10 12:12:54 nethserver /sbin/e-smith/db[12363]: /var/lib/nethserver/db/vhosts: OLD test=vhost|Access|public|Description|test|ForceSslStatus|disabled|FtpStatus|disabled|PasswordStatus|disabled|ServerNames|test.jelle.lan|SslCertificate|
> Oct 10 12:12:54 nethserver /sbin/e-smith/db[12363]: /var/lib/nethserver/db/vhosts: NEW test=vhost|Access|public|Description|test|ForceSslStatus|disabled|FtpStatus|disabled|PasswordStatus|disabled|ServerNames|test.jelle.lan|SslCertificate||status|enabled
> Oct 10 12:12:54 nethserver esmith::event[12366]: Event: vhost-create test
> Oct 10 12:12:54 nethserver esmith::event[12366]: expanding /etc/httpd/conf.d/virtualhosts.conf
> Oct 10 12:12:55 nethserver esmith::event[12366]: Action: /etc/e-smith/events/actions/generic_template_expand SUCCESS [0.996883]
> Oct 10 12:12:55 nethserver esmith::event[12366]: Action: /etc/e-smith/events/vhost-create/S20nethserver-virtualhosts-create SUCCESS [0.020127]
> Oct 10 12:12:55 nethserver esmith::event[12366]: Action: /etc/e-smith/events/vhost-create/S30nethserver-virtualhosts-setbasicpassword SUCCESS [0.248048]
> Oct 10 12:12:55 nethserver esmith::event[12379]: Event: nethserver-vsftpd-save
> Oct 10 12:12:56 nethserver esmith::event[12379]: expanding /etc/vsftpd/chroot_list
> Oct 10 12:12:56 nethserver esmith::event[12379]: expanding /etc/vsftpd/ftpusers
> Oct 10 12:12:56 nethserver esmith::event[12379]: expanding /etc/vsftpd/user_list
> Oct 10 12:12:56 nethserver esmith::event[12379]: expanding /etc/vsftpd/vsftpd.conf
> Oct 10 12:12:56 nethserver esmith::event[12379]: Action: /etc/e-smith/events/actions/generic_template_expand SUCCESS [0.420162]
> Oct 10 12:12:56 nethserver esmith::event[12379]: Action: /etc/e-smith/events/nethserver-vsftpd-save/S20nethserver-vsftpd-mkdir SUCCESS [0.211009]
> Oct 10 12:12:56 nethserver esmith::event[12379]: Action: /etc/e-smith/events/nethserver-vsftpd-save/S30nethserver-virtualhosts-ftp-chroot SUCCESS [0.232174]
> Oct 10 12:12:57 nethserver esmith::event[12379]: Action: /etc/e-smith/events/nethserver-vsftpd-save/S40nethserver-vsftpd-setpasswd SUCCESS [0.263353]
> Oct 10 12:12:57 nethserver esmith::event[12386]: Event: nethserver-firewall-base-save nethserver-vsftpd-save
> Oct 10 12:12:57 nethserver esmith::event[12386]: expanding /etc/collectd.conf
> Oct 10 12:12:57 nethserver esmith::event[12386]: expanding /etc/hosts
> Oct 10 12:12:57 nethserver esmith::event[12386]: expanding /etc/collectd.d/ping.conf
> Oct 10 12:12:57 nethserver esmith::event[12386]: ERROR in /etc/e-smith/templates//etc/collectd.d/ping.conf/40lsm: Program fragment delivered error <<Can’t locate NethServer/Firewall.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /etc/e-smith/templates//etc/collectd.d/ping.conf/40lsm line 2.
> Oct 10 12:12:57 nethserver esmith::event[12386]: BEGIN failed–compilation aborted at /etc/e-smith/templates//etc/collectd.d/ping.conf/40lsm line 2.>> at template line 1
> Oct 10 12:12:57 nethserver esmith::event[12386]: ERROR: Template processing failed for //etc/collectd.d/ping.conf: 1 fragment generated errors
> Oct 10 12:12:57 nethserver esmith::event[12386]: at /etc/e-smith/events/actions/generic_template_expand line 64.
> Oct 10 12:12:57 nethserver esmith::event[12386]: [WARNING] expansion of /etc/collectd.d/ping.conf failed
> Oct 10 12:12:57 nethserver esmith::event[12386]: Action: /etc/e-smith/events/actions/generic_template_expand FAILED: 1 [0.391333]
> Oct 10 12:12:57 nethserver systemd: Reloading.
> Oct 10 12:12:57 nethserver systemd: Configuration file /usr/lib/systemd/system/auditd.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.
> Oct 10 12:12:57 nethserver esmith::event[12386]: [INFO] service collectd restart
> Oct 10 12:12:57 nethserver collectd[12248]: Exiting normally.
> Oct 10 12:12:57 nethserver collectd[12248]: collectd: Stopping 5 read threads.
> Oct 10 12:12:57 nethserver systemd: Stopping Collectd statistics daemon…
> Oct 10 12:12:57 nethserver collectd[12248]: collectd: Stopping 5 write threads.
> Oct 10 12:12:57 nethserver collectd[12248]: rrdtool plugin: Shutting down the queue thread. This may take a while.
> Oct 10 12:12:57 nethserver collectd[12248]: ping plugin: Shutting down thread.
> Oct 10 12:12:57 nethserver collectd: Error: one or more plugin shutdown callbacks failed.
> Oct 10 12:12:57 nethserver systemd: collectd.service: main process exited, code=exited, status=1/FAILURE
> Oct 10 12:12:57 nethserver systemd: Unit collectd.service entered failed state.
> Oct 10 12:12:57 nethserver systemd: collectd.service failed.
> Oct 10 12:12:57 nethserver systemd: Starting Collectd statistics daemon…
> Oct 10 12:12:57 nethserver collectd[12413]: plugin_load: plugin “syslog” successfully loaded.
> Oct 10 12:12:57 nethserver collectd[12413]: plugin_load: plugin “rrdtool” successfully loaded.
> Oct 10 12:12:57 nethserver collectd[12413]: plugin_load: plugin “cpu” successfully loaded.
> Oct 10 12:12:57 nethserver collectd[12413]: plugin_load: plugin “processes” successfully loaded.
> Oct 10 12:12:57 nethserver collectd[12413]: plugin_load: plugin “uptime” successfully loaded.
> Oct 10 12:12:57 nethserver collectd[12413]: plugin_load: plugin “match_regex” successfully loaded.
> Oct 10 12:12:57 nethserver collectd[12413]: plugin_load: plugin “md” successfully loaded.
> Oct 10 12:12:57 nethserver collectd[12413]: plugin_load: plugin “load” successfully loaded.
> Oct 10 12:12:57 nethserver collectd[12413]: plugin_load: plugin “df” successfully loaded.
> Oct 10 12:12:57 nethserver collectd[12413]: plugin_load: plugin “swap” successfully loaded.
> Oct 10 12:12:57 nethserver collectd[12413]: plugin_load: plugin “interface” successfully loaded.
> Oct 10 12:12:57 nethserver collectd[12413]: plugin_load: plugin “disk” successfully loaded.
> Oct 10 12:12:57 nethserver collectd[12413]: plugin_load: plugin “ping” successfully loaded.
> Oct 10 12:12:57 nethserver collectd[12413]: plugin_load: plugin “unixsock” successfully loaded.
> Oct 10 12:12:57 nethserver collectd[12413]: Systemd detected, trying to signal readyness.
> Oct 10 12:12:57 nethserver collectd[12413]: ping plugin: No hosts have been configured.
> Oct 10 12:12:57 nethserver collectd[12413]: Initialization of plugin `ping’ failed with status -1. Plugin will be unloaded.
> Oct 10 12:12:57 nethserver collectd[12413]: Error: one or more plugin init callbacks failed.
> Oct 10 12:12:57 nethserver collectd[12413]: Initialization complete, entering read-loop.
> Oct 10 12:12:57 nethserver systemd: Started Collectd statistics daemon.
> Oct 10 12:12:57 nethserver esmith::event[12386]: [INFO] collectd restart
> Oct 10 12:12:57 nethserver esmith::event[12386]: Action: /etc/e-smith/events/actions/adjust-services SUCCESS [0.405409]
> Oct 10 12:12:57 nethserver esmith::event[12386]: Event: nethserver-firewall-base-save FAILED
> Oct 10 12:12:57 nethserver esmith::event[12379]: Action: /etc/e-smith/events/nethserver-vsftpd-save/S60firewall-adjust FAILED: 1 [0.94282]
> Oct 10 12:12:58 nethserver systemd: Reloading.
> Oct 10 12:12:58 nethserver systemd: Configuration file /usr/lib/systemd/system/auditd.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.
> Oct 10 12:12:58 nethserver esmith::event[12379]: [INFO] vsftpd is disabled: skipped
> Oct 10 12:12:58 nethserver esmith::event[12379]: [INFO]
> Oct 10 12:12:58 nethserver esmith::event[12379]: Action: /etc/e-smith/events/actions/adjust-services SUCCESS [0.364364]
> Oct 10 12:12:58 nethserver esmith::event[12379]: Event: nethserver-vsftpd-save FAILED
> Oct 10 12:12:58 nethserver esmith::event[12366]: Action: /etc/e-smith/events/vhost-create/S60nethserver-virtualhosts-ftp-save FAILED: 1 [2.562898]
> Oct 10 12:12:58 nethserver systemd: Reloading.
> Oct 10 12:12:58 nethserver systemd: Configuration file /usr/lib/systemd/system/auditd.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.
> Oct 10 12:12:58 nethserver esmith::event[12366]: [INFO] service httpd reload
> Oct 10 12:12:58 nethserver systemd: Reloaded The Apache HTTP Server.
> Oct 10 12:12:58 nethserver esmith::event[12366]: [INFO] httpd reload
> Oct 10 12:12:58 nethserver esmith::event[12366]: Action: /etc/e-smith/events/actions/adjust-services SUCCESS [0.541745]
> Oct 10 12:12:58 nethserver esmith::event[12366]: Event: vhost-create FAILED