On 2.3.3 16-10-07 Web configurator is down
-
Nginix does not seem to start after updating or reboot.
If I try to restart the webconfigurator from the shell I get this in lastlog:The command '/usr/local/sbin/nginx -c /var/etc/nginx-webConfigurator.conf' returned exit code '1', the output was 'nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (2: No such file or directory) 2016/10/07 09:45:25 [emerg] 39921#100271: open() "/var/log/nginx/error.log" failed (2: No such file or directory)'
In /var/log the directory nginx does not exist. creating it and restarting nginx with
/usr/local/sbin/nginx -c /var/etc/nginx-webConfigurator.conf
solves the problem temporarily, however the directory /var/log/nginx gets deleted at reboot and not recreated on restart, so the fix does not survive reboot
-
I am on the latest snapshot and it's working OK here.
What is the actual build time of the snapshot as shown in?
: uname -a : cat /etc/version.buildtime
Also see what versions are installed of things like PHP…
: pkg info
-
I am on the latest snapshot and it's working OK here.
What is the actual build time of the snapshot as shown in?
: uname -a : cat /etc/version.buildtime
Also see what versions are installed of things like PHP…
: pkg info
Fri Oct 07 06:49:11 CDT 2016
I went through an update yesterday with the suhosin.so error but webconfigurator was still working but generating a crash report. I updated early this am again and thats when the web configurator stopped working.
/root: pkg info GeoIP-1.6.9 Find the country that any IP address or hostname originates from arping-2.15_1 ARP level "ping" utility ataidle-2.7.2 Utility to spin down ATA drives barnyard2-1.13_1 Interpreter for Snort unified2 binary output files beep-1.0_1 Beeps a certain duration and pitch out of the PC Speaker bind-tools-9.10.4P3 Command line tools from BIND: delv, dig, host, nslookup... broccoli-1.97,1 Bro Client Communications Library bsnmp-regex-0.6_1 bsnmpd module allowing creation of counters from log files bsnmp-ucd-0.4.2 bsnmpd module that implements parts of UCD-SNMP-MIB bwi-firmware-kmod-3.130.20 Broadcom AirForce IEEE 802.11 Firmware Kernel Module ca_root_nss-3.27 Root certificate bundle from the Mozilla Project check_reload_status-0.0.7 run various pfSense scripts on event. choparp-20150613 Simple proxy arp daemon clog-1.0.1 Circular log support for FreeBSD syslogd cpdup-1.18 Comprehensive filesystem mirroring and backup program cpustats-0.1_1 cpustats curl-7.50.3 Non-interactive tool to get files from FTP, GOPHER, HTTP(S) servers daq-2.0.6_1 Data Acquisition abstraction library for snort 2.9+ dhcp6-20080615_7 KAME DHCP6 client, server, and relay dhcpleases-0.3_1 read dhpcd.lease file and add it to hosts file dhcpleases6-0.1_2 read dhpcd6.leases file and trigger command on modification dmidecode-3.0 Tool for dumping DMI (SMBIOS) contents in human-readable format dnsmasq-2.76,1 Lightweight DNS forwarder, DHCP, and TFTP server dpinger-2.0 IP device monitoring tool expat-2.2.0 XML 1.0 parser written in C expiretable-0.6_1 Utility to remove entries from the pf(4) table based on their age filterdns-1.0_9 filterdns filterlog-0.1_4 filterlog fontconfig-2.12.1,1 XML-based font configuration API for X Windows freetype2-2.6.3 Free and portable TrueType font rendering engine gdbm-1.12 GNU database manager gettext-runtime-0.19.8.1 GNU gettext runtime libraries and programs glib-2.46.2_3 Some useful routines of C programming (current stable version) gmp-5.1.3_3 Free library for arbitrary precision arithmetic gogoc-1.2_1 GogoCLIENT, connect to Freenet6 tunnel graphviz-2.38.0_13 Graph Visualization Software from AT&T and Bell Labs idnkit-1.0_5 Library to handle internationalized domain names iftop-1.0.p4 Display bandwidth usage on an interface by host igmpproxy-0.1_3,1 Multicast forwarding IGMP proxy indexinfo-0.2.5 Utility to regenerate the GNU info page index iperf-2.0.5 Tool to measure maximum TCP and UDP bandwidth ipmitool-1.8.17_1 CLI to manage IPMI systems isc-dhcp43-client-4.3.4 The ISC Dynamic Host Configuration Protocol client isc-dhcp43-relay-4.3.4_1 The ISC Dynamic Host Configuration Protocol relay isc-dhcp43-server-4.3.4 ISC Dynamic Host Configuration Protocol server jbigkit-2.1_1 Lossless compression for bi-level images such as scanned pages, faxes jpeg-turbo-1.4.2 SIMD-accelerated JPEG codec which replaces libjpeg json-c-0.12_2 JSON (JavaScript Object Notation) implementation in C ldns-1.6.17_5 Library for programs conforming to DNS RFCs and drafts libdaemon-0.14_1 Lightweight C library that eases the writing of UNIX daemons libdnet-1.12_1 Simple interface to low level networking routines libedit-3.1.20150325_2,1 Command line editor library libevent2-2.0.22_1 API for executing callback functions on events or timeouts libffi-3.2.1 Foreign Function Interface libfontenc-1.1.3 The fontenc Library libgd-2.2.3,1 Graphics library for fast creation of images libiconv-1.14_9 Character set conversion library libidn-1.33_1 Internationalized Domain Names command line tool libltdl-2.4.6 System independent dlopen wrapper libmcrypt-2.5.8_3 Multi-cipher cryptographic library (used in PHP) libnet-1.1.6_4,1 C library for creating IP packets libpcap-1.8.0_1 Ubiquitous network traffic capture library libpdel-0.5.3_6 Packet Design multi-purpose C library for embedded applications libsodium-1.0.11 Library to build higher-level cryptographic tools libssh2-1.7.0,2 Library implementing the SSH2 protocol libucl-0.8.0 Universal configuration library parser libwww-5.4.0_5 The W3C Reference Library libxml2-2.9.4 XML parser library for GNOME libzmq4-4.1.5 ZeroMQ core library (Version 4) links-2.13,1 Lynx-like text WWW browser luajit-2.0.4_1 Just-In-Time Compiler for Lua lzo2-2.09 Portable speedy, lossless data compression library minicron-0.0.2 very small cron miniupnpd-1.9.20160113,1 UPnP IGD implementation which uses pf/ipf mkfontdir-1.0.7 Create an index of X font files in a directory mkfontscale-1.1.2 Creates an index of scalable font files for X mpd4-4.4.1_1 Multi-link PPP daemon based on netgraph(4) mpd5-5.8 Multi-link PPP daemon based on netgraph(4) mtr-nox11-0.86 Traceroute and ping in a single network diagnostic tool mysql56-client-5.6.33 Multithreaded SQL database (client) nano-2.7.0 Nano's ANOther editor, an enhanced free Pico clone ndpi-1.8_1 NTOP-maintained superset of the popular OpenDPI library nettle-3.2 Low-level cryptographic library nginx-1.10.1_2,2 Robust and small WWW server nmap-7.30 Port scanning utility for large networks norm-1.5r6 NACK-Oriented Reliable Multicast (NORM) ntopng-2.4 Network monitoring tool with command line and web interfaces ntp-4.2.8p8_1 The Network Time Protocol Distribution oniguruma5-5.9.6_1 BSDL Regular Expressions library compatible with POSIX/GNU/Perl openldap-client-2.4.44 Open source LDAP client implementation openvpn-2.3.12_1 Secure IP/Ethernet tunnel daemon openvpn-client-export-2.3.11 OpenVPN Client Export p7zip-15.14_1 File archiver with high compression ratio pcre-8.39 Perl Compatible Regular Expressions library pecl-radius-1.3.0_1 Radius client library for PHP pecl-rrd-1.1.3_4 PHP bindings to rrd tool system pecl-ssh2-0.13 PECL extension to the libssh2 library pecl-zmq-1.1.3_2 PHP bindings for ZeroMQ perl5-5.20.3_15 Practical Extraction and Report Language pfSense-2.3.3.a.20161007.0631 Meta package to install pfSense required ports pfSense-Status_Monitoring-1.4.5_2 pfSense Status Monitoring pfSense-base-2.3.3.a.20161007.0649 pfSense core files pfSense-default-config-2.3.3.a.20161007.0649 pfSense default config pfSense-kernel-pfSense-2.3.3.a.20161007.0649 pfSense kernel (pfSense) pfSense-pkg-Notes-0.2.9_2 pfSense package Notes pfSense-pkg-RRD_Summary-1.3.1_2 pfSense package RRD_Summary pfSense-pkg-Service_Watchdog-1.8.3 pfSense package Service_Watchdog pfSense-pkg-System_Patches-1.1.4_1 pfSense package System_Patches pfSense-pkg-arping-1.2.2_1 pfSense package arping pfSense-pkg-iftop-0.17_2 pfSense package iftop pfSense-pkg-iperf-2.0.5.5_1 pfSense package iperf pfSense-pkg-mtr-nox11-0.85.6_1 pfSense package mtr-nox11 pfSense-pkg-nmap-1.4.4_1 pfSense package nmap pfSense-pkg-ntopng-0.8.4_4 pfSense package ntopng pfSense-pkg-openvpn-client-export-1.3.11 pfSense package openvpn-client-export pfSense-pkg-snort-3.2.9.1_14 pfSense package snort pfSense-rc-2.3.3.a.20161007.0649 pfSense rc script pfSense-repo-2.3.3.a.20161007.0649 pfSense pkg repository configuration (stable) pftop-0.7_7 Utility for real-time display of statistics for pf php-suhosin-0.9.38_3 PHP extension that implements high-level protections php-xdebug-2.4.0_1 Xdebug extension for PHP php56-5.6.26_1 PHP Scripting Language php56-bcmath-5.6.26_1 The bcmath shared extension for php php56-bz2-5.6.26_1 The bz2 shared extension for php php56-ctype-5.6.26_1 The ctype shared extension for php php56-curl-5.6.26_1 The curl shared extension for php php56-dom-5.6.26_1 The dom shared extension for php php56-filter-5.6.26_1 The filter shared extension for php php56-gettext-5.6.26_1 The gettext shared extension for php php56-hash-5.6.26_1 The hash shared extension for php php56-json-5.6.26_1 The json shared extension for php php56-ldap-5.6.26_1 The ldap shared extension for php php56-mbstring-5.6.26_1 The mbstring shared extension for php php56-mcrypt-5.6.26_1 The mcrypt shared extension for php php56-opcache-5.6.26_1 The opcache shared extension for php php56-openssl-5.6.26_1 The openssl shared extension for php php56-pcntl-5.6.26_1 The pcntl shared extension for php php56-pdo-5.6.26_1 The pdo shared extension for php php56-pdo_sqlite-5.6.26_1 The pdo_sqlite shared extension for php php56-pfSense-module-0.12 Library for getting useful info php56-posix-5.6.26_1 The posix shared extension for php php56-readline-5.6.26_1 The readline shared extension for php php56-session-5.6.26_1 The session shared extension for php php56-shmop-5.6.26_1 The shmop shared extension for php php56-simplexml-5.6.26_1 The simplexml shared extension for php php56-sockets-5.6.26_1 The sockets shared extension for php php56-sqlite3-5.6.26_1 The sqlite3 shared extension for php php56-sysvmsg-5.6.26_1 The sysvmsg shared extension for php php56-sysvsem-5.6.26_1 The sysvsem shared extension for php php56-sysvshm-5.6.26_1 The sysvshm shared extension for php php56-tokenizer-5.6.26_1 The tokenizer shared extension for php php56-xml-5.6.26_1 The xml shared extension for php php56-xmlreader-5.6.26_1 The xmlreader shared extension for php php56-xmlwriter-5.6.26_1 The xmlwriter shared extension for php php56-zlib-5.6.26_1 The zlib shared extension for php pkg-1.8.7_3 Package manager png-1.6.23 Library for manipulating PNG images python27-2.7.12 Interpreted object-oriented programming language qstats-0.1_1 read dhpcd.lease file and add it to hosts file radvd-1.9.1 Linux/BSD IPv6 router advertisement daemon rate-0.9_1 Traffic analysis command-line utility redis-3.2.4 Persistent key-value database with built-in net interface relayd-5.5.20140810_2 OpenBSD relay daemon rrdtool-1.6.0_1 Round Robin Database Tools scponly-4.8.20110526_2 Tiny shell that only permits scp and sftp smartmontools-6.5_1 S.M.A.R.T. disk monitoring tools snort-2.9.8.3 Lightweight network intrusion detection system sqlite3-3.14.1_1 SQL database engine in a C library ssh_tunnel_shell-0.1 SSH tunnel shell sshlockout_pf-0.0.2 SSH lockout pf strongswan-5.5.0 Open Source IKEv2 IPsec-based VPN solution tiff-4.0.6_2 Tools and library routines for working with TIFF images uclcmd-0.1_1 Command line tool for working with UCL config files unbound-1.5.10 Validating, recursive, and caching DNS resolver voucher-0.1_2 Voucher support vstr-1.0.15_1 General purpose string library for C webfonts-0.30_11 TrueType core fonts for the Web wol-0.7.1_2 Tool to wake up Wake-On-LAN compliant computers wrapalixresetbutton-0.0.7 Utility to detect platform reset button state for use in scripting xinetd-2.3.15_2 Replacement for inetd with better control and logging xproto-7.0.28 X11 protocol headers zip-3.0_1 Create/update ZIP files compatible with PKZIP [2.3.3-DEVELOPMENT][root@firewall.gfam.com]/root:
-
What about the output of the other commands I listed? It's all important information.
-
added pkg info, here is name
FreeBSD firewall.gfam.com 10.3-RELEASE-p9 FreeBSD 10.3-RELEASE-p9 #296 7a802f5(RELENG_2_3): Fri Oct 7 07:35:22 CDT 2016 root@ce23-amd64-builder:/builder/pfsense/tmp/obj/builder/pfsense/tmp/FreeBSD-src/sys/pfSense amd64
Sorry for the misunderstanding
-
If it works ok for you I will try a full install.
-
Same bug on a test clean install here. This is caused by having RAM disks enabled.
The guilty commit is:
https://github.com/pfsense/FreeBSD-ports/commit/01607f1a5bb041c66a869dd6ae75c54d178bf8baI'd personally revert it, bump revision and issue new snapshots.
Gosh… FreeBSD-ports are giving way too much trouble this days...Edit: OK. Post below is a much easier solution. Thanks @jimp.
-
I just pushed a commit to create that directory at boot time like we do for others. You can make the change by hand or using the system patches package to see if it helps.
https://github.com/pfsense/pfsense/commit/b6355bdc9387a29da9fd6a86dfea8f13be699eb7
-
Where is pfSense-rc located on a full install? cant find in /etc, /etc/rc.d, /usr/local/etc or /usr/local/etc/rc.d
Thanks
-
Wrong link there, it should have been the equivalent commit in the RELENG_2_3 branch:
https://github.com/pfsense/pfsense/commit/f56f6565e3b3e75a8a2d84928ecb12daf1ec1f78
change is in /etc/rc
-
All is well now.
Thanks