PfSense 2.0.3 cannot open pid file /tmp/filterdns_cpah.pid at startup
-
when pfSense 2.0.3 starting, 2 errors always occur…
1.ERROR: pgrep: cannot open pid file or file not exist: file /tmp/filterdns_cpah.pid
2.ERROR: Starting NTP Time Client.... (waiting for 2 minutes here) After, "hostname nor servname not provided, or not known"Even if you reinstall pfSense 2.0.3, I see the 2 errors whenever pfSense reboots...
I guess that the errors above are the bugs of latestr version of pfSense.. I hope, the developers of pfSense team fix this bug as soon as possible...
-
I do have the same messages when I bootup a fresh installed pfsense 2.0.3 amd64 version.
-
I have the same error and the captive portal doesn't work
-
There is a fix for the NTP issue in the repo, but with 2.1 being so close, we may or may not put out a 2.0.3p1/2.0.4 since it would be right on top of the 2.1 release. We're still discussing that, but at the moment it seems waiting for 2.1 may be more likely.
That said, you can gitsync to RELENG_2_0 and pull in the fixes. Search around the forum and doc wiki for more info, I gave/linked instructions in another thread about the NTP issue.
-
when pfSense 2.0.3 starting, 2 errors always occur…
1.ERROR: pgrep: cannot open pid file or file not exist: file /tmp/filterdns_cpah.pid
2.ERROR: Starting NTP Time Client.... (waiting for 2 minutes here) After, "hostname nor servname not provided, or not known"I can confirm 1.ERROR on a fresh installed 2.0.3 i386 NanoBSD. It's appearing on every boot.
2.ERROR only appears, if there is no WAN connection.
Peter
-
There is a fix for the NTP issue in the repo, but with 2.1 being so close, we may or may not put out a 2.0.3p1/2.0.4 since it would be right on top of the 2.1 release. We're still discussing that, but at the moment it seems waiting for 2.1 may be more likely.
That said, you can gitsync to RELENG_2_0 and pull in the fixes. Search around the forum and doc wiki for more info, I gave/linked instructions in another thread about the NTP issue.
All I could find so far is this thread:
http://forum.pfsense.org/index.php?topic=61379.0As I am on NanoBSD gitsync seems to be no option. Where can I find more information about affected files to eventually manually solve the issue?
Regards,
Peter -
You can gitsync on NanoBSD, though it does involve it pulling down a git package and doing quite a few CF writes, it will work.
The commits that happened after 2.0.3 would show up here: https://github.com/pfsense/pfsense/commits/RELENG_2_0
-
You can gitsync on NanoBSD, though it does involve it pulling down a git package and doing quite a few CF writes, it will work.
The commits that happened after 2.0.3 would show up here: https://github.com/pfsense/pfsense/commits/RELENG_2_0
Well, thanks Jim, probably took the warnings too seriously. Quite a few git commits to 2.0.3. Will give it a try after taking some sleep :).
Peter
-
As it's my first gitsync I'd like to ensure I got everything right. To firstly install git I've just issued a
pkg_add -r http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/i386/packages-8.1-release/Latest/git.tbz
I've been surprised about that many packages needed besides git to resolve dependencies (e.g. Perl, Python etc.). At the same time I received a lot of installation errors that are obviously caused by my filesystem beeing read-only.
Could anybody please ensure my follwoing execution plan beeing correct (2.0.3, i386, NanoBSD, normal Shell, not developer one):
/etc/rc.conf_mount_rw pkg_add -r http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/i386/packages-8.1-release/Latest/git.tbz pfSsh.php playback gitsync RELENG_2_0 /etc/rc.conf_mount_ro
Thanks for feedback in advance.
Peter
-
Nothing manual required beforehand, just run
pfSsh.php playback gitsync RELENG_2_0
It will automatically fetch a git package from our servers rather than FreeBSD so it's more up to date (and IIRC it has some dependencies trimmed). It also handles the rw/ro transition on its own.
-
Nothing manual required beforehand, just run
pfSsh.php playback gitsync RELENG_2_0
It will automatically fetch a git package from our servers rather than FreeBSD so it's more up to date (and IIRC it has some dependencies trimmed). It also handles the rw/ro transition on its own.
Thank you for your quick reply. I've just performed gitsync with full log following:
Starting the pfSense shell system.............. Cannot find git, fetching...Fetching http://files.pfsense.org/packages/8/All/git-1.8.1.3.tbz... Done. Fetching http://files.pfsense.org/packages/8/All/expat-2.0.1_2.tbz... Done. Fetching http://files.pfsense.org/packages/8/All/ca_root_nss-3.14.1.tbz... Done. Fetching http://files.pfsense.org/packages/8/All/perl-5.14.2_2.tbz...Removing stale symlinks from /usr/bin... Skipping /usr/bin/perl Skipping /usr/bin/perl5 Done. Creating various symlinks in /usr/bin... Symlinking /usr/local/bin/perl5.14.2 to /usr/bin/perl Symlinking /usr/local/bin/perl5.14.2 to /usr/bin/perl5 Done. cd: can't cd to /usr/include Cleaning up /etc/make.conf... Done. Spamming /etc/make.conf... Done. Done. Fetching http://files.pfsense.org/packages/8/All/p5-Net-SMTP-SSL-1.01_1.tbz... Done. Fetching http://files.pfsense.org/packages/8/All/p5-Error-0.17019.tbz... Done. Fetching http://files.pfsense.org/packages/8/All/curl-7.24.0_1.tbz... Done. Error: Unable to get http://files.pfsense.org/packages/8/All/cvsps-2.1_1.tbz: Not Found Fetching http://files.pfsense.org/packages/8/All/libiconv-1.14.tbz... Done. Fetching http://files.pfsense.org/packages/8/All/gettext-0.18.1.1.tbz... Done. pkg_add: warning: package 'python27-2.7.3_6' requires 'libiconv-1.14_1', but 'libiconv-1.14' is installed pkg_add: warning: package 'python27-2.7.3_6' requires 'gettext-0.18.1.1_1', but 'gettext-0.18.1.1' is installed Fetching http://files.pfsense.org/packages/8/All/python27-2.7.3_6.tbz... ==== Note that some of the standard modules are provided as separate ports since they require extra dependencies: bsddb databases/py-bsddb gdbm databases/py-gdbm sqlite3 databases/py-sqlite3 tkinter x11-toolkits/py-tkinter Install them as needed. ==== ===> Creating users and/or groups. Creating group 'git_daemon' with gid '964'. Creating user 'git_daemon' with uid '964'. Updating /etc/shells pkg_add: can't open dependency file '/var/db/pkg/cvsps-2.1_1/+REQUIRED_BY'! dependency registration is incomplete Done. ------------------------------------------------------------------------ *************************** GITWEB ************************************* If you installed the GITWEB option please follow these instructions: In the directory /usr/local/share/examples/git/gitweb you can find all files to make gitweb work as a public repository on the web. All you have to do to make gitweb work is: 1) Copy the files /usr/local/share/examples/git/gitweb/* to a directory on your web server (e.g. Apache2) in which you are able to execute CGI-scripts. 2) In gitweb.cgi, adjust the variable $projectroot to point to your git repository (that is where you have your *.git project directories). *************************** GITWEB ************************************* *************************** CONTRIB ************************************ If you installed the CONTRIB option please note that the scripts are installed in /usr/local/share/git-core/contrib. Some of them require other ports to be installed (perl, python, etc), which you may need to install manually. *************************** CONTRIB ************************************ ------------------------------------------------------------------------ ===> Checking out RELENG_2_0 Executing cd /root/pfsense//pfSenseGITREPO && git clone git://github.com/pfsense/pfsense.git pfSenseGITREPO remote: Counting objects: 143584, done. remote: Compressing objects: 100% (40319/40319), done. remote: Total 143584 (delta 103310), reused 142290 (delta 102091) Receiving objects: 100% (143584/143584), 27.80 MiB | 151 KiB/s, done. Resolving deltas: 100% (103310/103310), done. Checking out files: 100% (2731/2731), done. ===> Installing new files... ===> Removing FAST-CGI temporary files... ===> Upgrading configuration (if needed)... ===> Configuring filter... ===> Running /etc/rc.php_ini_setup... ===> Locking down the console if needed... ===> Signaling PHP and Lighty restart... ===> Checkout complete. Your system is now sync'd and PHP and Lighty will be restarted in 5 seconds. Segmentation fault
I am worrying about three things:
1.) cvsps-2.1_1.tbz could not be installed and produces a dependency error.
2.) libiconv-1.14' and 'gettext-0.18.1.1' are of wrong version.
3.) Segmentation fault at the end of gitsync. No idea if PHP or Lighty or another program produced that error.Version of pfSense changed from 2.0.3 to 2.0.3p1 - that's abviously OK.
Immediately after gitsync I restarted pfSense to see, if
pgrep: cannot open pid file or file not exist: file /tmp/filterdns_cpah.pid
has gone. Unfortunately, the error is still there.
Peter
EDIT: Error message looks slightly different though:
pgrep: Cannot open pidfile `/tmp/filterdns-cpah.pid': No such file or directory
Don't know, if it's relevant.
-
Maybe may last posting is a bit long. That's why I ask in short terms: Is there anybody out there who could solve the "/tmp/filterdns_cpah.pid" issue by gitsyncing? For me it did not work.
Peter