Upgrade from 12/13 to 12/18 -> PPPoE dead…
-
Ok. Does not work for me when I restore my config then. Actually I also tried some older configs…
Here is what I get when booting. Some weird errors:
Warning: chown(): Unable to find uid for root in /etc/inc/config.lib.inc on line 833 done. Warning: chown(): Unable to find uid for admin in /etc/inc/auth.inc on line 411 Warning: chown(): Unable to find uid for admin in /etc/inc/auth.inc on line 422 Warning: chown(): Unable to find uid for nobody in /etc/inc/rrd.inc on line 686 Warning: chown(): Unable to find uid for jle in /etc/inc/auth.inc on line 411 done.
Also saw a panic when it first booted with the restored config. Another reboot and it doesn't panic anymore but still the other errors occur and no PPPoE…
Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x4 fault code = supervisor write, page not present instruction pointer = 0x20:0xc0a18c21 stack pointer = 0x28:0xe37a1a18 frame pointer = 0x28:0xe37a1a38 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 44539 (initial thread) trap number = 12 panic: page fault cpuid = 0 Uptime: 45s Cannot dump. Device not defined or unavailable. Automatic reboot in 15 seconds - press a key on the console to abort
-
So there seems to be something really wrong with my config backups. That makes me quite afraid that there could be something wrong in the backup system. I will now update to the latest snap and then try to restore section per section of the config and see where it breaks.
I also have my graphs in my config…
-
Hmm. Tried to restore part of the config but nothing changed…I tried to restore interfaces first, rebooted but no change at all. Stays on default IP on LAN etc...
Tried to restore aliases and nothing....
-
Tried again with latest snap from 12/19. Blank config with just PPPoE enabled so that my internet connection works. Tried just restoring the aliases from my config files but they do not appear on aliases. Nothing there. Did a reboot then but still nothing. I can see that it was imported under Config History though…
-
BlueMatt, I'm using pppoe as the WAN interface, it is an ADSL actually did an update for version 1.2.3, but the initial boot camp the username and password were blank being filled to function normally again :)
-
Can anyone from the dev team try to import my config? Just to see if it will work?
Thanks…
-
Try this manually
https://rcs.pfsense.org/projects/pfsense/repos/mainline/commits/92a1c8e6caca910ae1f8c54751bffebd45d87682or wait for a snapshot with the patch applied.
-
Thanks ermal, but the PPPoE is working now. I meant if someone could check why my config is not importable not even just some parts like firewall rules or aliases. Tried with older configs as well…
Would hate to start from scratch... -
Tried again to restore just the aliases and the following shows up in my system.log:
Dec 21 17:17:46 pfSense php: /diag_backup.php: XML error: no aliases object found!
I have the following in my config.xml though:
<aliases><alias><name>AppleServers</name> <address>17.155.0.0/16 79.223.0.0/16 80.149.0.0/16 87.154.0.0/16</address> <type>network</type> <detail>Entry added Thu, 21 Oct 2010 00:20:31 +0200||Entry added Thu, 21 Oct 2010 00:20:31 +0200||Entry added Thu, 21 Oct 2010 20:35:29 +0200||Entry added Thu, 21 Oct 2010 20:38:41 +0200</detail></alias> <alias><name>Dumbledore</name> <address>172.16.100.5</address> <type>host</type> <detail>Entry added Thu, 21 Oct 2010 14:46:01 +0200</detail></alias> <alias><name>DynDNS_Hostname</name> <address>voldemort.endofinternet.org</address> <type>network</type> <detail>Entry added Fri, 08 Oct 2010 15:05:25 +0200</detail></alias> <alias><name>FaceTimePorts</name> <address>3478:3497 16384:16386 16393:16402</address> <type>port</type> <detail>Entry added Mon, 29 Nov 2010 23:04:17 +0100||Entry added Mon, 29 Nov 2010 23:04:17 +0100||Entry added Mon, 29 Nov 2010 23:04:17 +0100</detail></alias> <alias><name>FiletransferPorts</name> <address>21 22</address> <type>port</type> <detail>Entry added Wed, 24 Nov 2010 23:14:01 +0100||Entry added Wed, 24 Nov 2010 23:14:01 +0100</detail></alias> <alias><name>Hermione</name> <address>172.16.100.50</address> <type>host</type> <detail>Entry added Wed, 20 Oct 2010 22:09:04 +0200</detail></alias> <alias><name>LocalAreaNetwork</name> <address>10.0.100.0/24</address> <type>network</type> <detail>Entry added Tue, 19 Oct 2010 17:02:57 +0200</detail></alias> <alias><name>LocalNetworks</name> <address>10.0.100.0/24 172.16.100.0/24 192.168.100.0/24</address> <type>network</type> <detail>Entry added Tue, 19 Oct 20109:38:15 +0200||Entry added Thu, 21 Oct 2010 13:28:29 +0200||Entry added Sun, 05 Dec 2010 20:28:57 +0100</detail></alias> <alias><name>Luna</name> <address>172.16.100.10</address> <type>host</type> <detail>Entry added Thu, 21 Oct 2010 14:46:21 +0200</detail></alias> <alias><name>MailPorts</name> <address>25 110 143 465 587 993 995</address> <type>port</type> <detail>Entry added Sun, 21 Nov 2010 16:23:51 +0100||Entry added Sun, 21 Nov 2010 16:23:51 +0100||Entry added Sun, 21 Nov 2010 16:23:51 +0100||Entry added Sun, 21 Nov 2010 16:23:51 +0100||Entry added Sun, 21 Nov 2010 16:23:51 +0100||Entry added Sun, 21 Nov 2010 16:23:51 +0100||Entry added Sun, 21 Nov 2010 16:23:51 +0100</detail></alias> <alias><name>ManagementPorts</name> <address>22 8443</address> <type>port</type> <detail>SSH||WebGUI</detail></alias> <alias><name>MessagingPorts</name> <address>1863 5222 5223 5190</address> <type>port</type> <detail>MSN||Jabber||Jabber/WhatsApp/Apple Push/FaceTime||ICQ/AIM</detail></alias> <alias><name>PenaltyBox</name> <address>10.0.100.100/30 10.0.100.104/29 10.0.100.112/29 10.0.100.120/32 172.16.100.100/30 172.16.100.104/29 172.16.100.112/29 172.16.100.120/32 192.168.100.100/30 192.168.100.104/29 192.168.100.112/29 192.168.100.120/32</address> <type>network</type> <detail>Entry added Sun, 05 Dec 2010 20:29:45 +0100||Entry added Sun, 05 Dec 2010 20:29:45 +0100||Entry added Sun, 05 Dec 2010 20:29:45 +0100||Entry added Sun, 05 Dec 2010 20:29:45 +0100||Entry added Sun, 05 Dec 2010 20:29:45 +0100||Entry added Sun, 05 Dec 2010 20:29:45 +0100||Entry added Sun, 05 Dec 2010 20:29:45 +0100||Entry added Sun, 05 Dec 2010 20:29:45 +0100||Entry added Sun, 05 Dec 2010 20:29:45 +0100||Entry added Sun, 05 Dec 2010 20:29:45 +0100||Entry added Sun, 05 Dec 2010 20:29:45 +0100||Entry added Sun, 05 Dec 2010 20:29:45 +0100</detail></alias> <alias><name>pfSense</name> <address>10.0.100.254 172.16.100.254 192.168.100.254</address> <type>host</type> <detail>LAN||WLAN||WLAN-Guest</detail></alias> <alias><name>Speedport</name> <address>192.168.2.1</address> <type>host</type> <detail>Entry added Thu, 21 Oct 2010 22:50:26 +0200</detail></alias> <alias><name>StarCraft2Ports</name> <address>1119 3724</address> <type>port</type> <detail>Battle.net||Entry added Wed, 15 Dec 2010 13:40:47 +0100</detail></alias> <alias><name>SteamPorts</name> <address>27000:27015 27015:27030 27014:27050 4380 27015 3478 4379 4380 1500 3005 3101 28960</address> <type>port</type> <detail>Steam Client UDP 27000 to 27015 inclusive (Game client traffic)||Steam Client UDP 27015 to 27030 inclusive (Typically Matchmaking and HLTV)||Steam Client TCP 27014 to 27050 inclusive (Steam downloads)||Steam Client UDP 4380||Dedicated or Listen Servers TCP 27015 (SRCDS Rcon port)||Steamworks P2P Networking and Steam Voice Chat UDP 3478 (Outbound)||Steamworks P2P Networking and Steam Voice Chat UDP 4379 (Outbound)||Steamworks P2P Networking and Steam Voice Chat UDP 4380 (Outbound)||Additional Ports for Call of Duty: Modern Warfare 2 Multiplayer UDP 1500 (outbound)||Additional Ports for Call of Duty: Modern Warfare 2 Multiplayer UDP 3005 (outbound)||Additional Ports for Call of Duty: Modern Warfare 2 Multiplayer UDP 3101 (outbound)||Additional Ports for Call of Duty: Modern Warfare 2 Multiplayer UDP 28960</detail></alias> <alias><name>TeamviewerPorts</name> <address>5938 60179</address> <type>port</type> <detail>Entry added Wed, 24 Nov 2010 23:15:04 +0100||Entry added Wed, 24 Nov 2010 23:15:04 +0100</detail></alias> <alias><name>WebPorts</name> <address>80 443</address> <type>port</type> <detail>HTTP||HTTPS</detail></alias> <alias><name>WirelessLocalAreaNetwork</name> <address>172.16.100.0/24</address> <type>network</type> <detail>Entry added Thu, 21 Oct 2010 13:27:38 +0200</detail></alias></aliases>
So there definitely is a aliases part…
-
The errors you show are more indicative of a filesystem that has been corrupted. On embedded, you may try switching back to the other boot slice. If neither one works, you may have to reflash.
On a full install, you'd need to reinstall from CD but you should be able to use the "Rescue install" option to pull your config from the hard drive (Or just do a fresh install and restore your config as you mentioned)
-
Aha. So you think my config would work on a new flashed install?
-
It might, but if your filesystem is corrupt there is always a chance that something in the config could be corrupt as well.
So while it is more likely to work with a freshly flashed CF, I can't say for certain it would.
-
So what should you do so that this type of thing does not happen? Test a config restore every now and then?
-
Normally it's not a problem over time, just keeping a few backups around may be enough. It may just be that it was corrupted by chance, but the only real test is to restore the config (perhaps in a VM) to see if it works OK.
Testing backups is a good task for any backup plan. Backups can't help you if they aren't usable. :)
-
True ;-)
Actually I have a VM around with a 2.0 full version…
Will try to restore that one now...
-
You can make embedded VMs in either VMWare or VirtualBox as well, though it is a little trickier to setup since you either have to convert the nanobsd image to a virtual disk directly, or attach the target virtual disk to another VM where you can download and use dd inside the VM to pull it off. Both VMWare and VirtualBox support named pipe serial ports you can connect to with putty or another program. It's pretty slick once it's all setup.
-
Hm. No, that config wouldn't restore in a vm as well :(
I also tested older configs from october. Same error, everytime…
Tried with aliases and nat section. Does not work. Does this restore of some actually work for you in newer builds? Perhaps nobody tried to restore just a part of the config? -
The partial restore doesn't seek out portions of a whole config, you have to edit out the part you want. For example, to restore DHCP settings, you need to cut the <dhcpd>…</dhcpd> section out into a separate file, and then pick that file along with choosing the DHCP server settings from the drop-down.
-
Aha. So THAT could be the problem….
-
Thanks jimp! That works! Man I could have searched a long time. Perhaps you should add a comment on the restore page so that everyone knows about this…
Or am I the only one who didn't know how it's suppose to work? ;)