Ronald Klop | 4 Dec 20:33 2014

restore a periodic backup of pkg db

Hi,

In /var/backup is a daily backup of the pkg db. The backup is not made by  
'pkg backup', but by 'pkg shell .dump' as I read in  
/usr/local/etc/periodic/daily/411.pkg-backup.

How do I restore this properly?
I can't use pkg backup -r <file> because the backup is a file containing  
sql statements.
Restoring by 'xzcat /var/backup/pkg.sql.xz | pkg shell' gives errors like  
the one below. (It does not understand hex strings very well.

Regards,
Ronald.

[root <at> sheeva /var/db/pkg]# xzcat /var/backups/pkg.sql.xz | pkg shell
Error: near line 33904: near  
"'0001308D03020101030002010104000101010300020101030001010103000E01010300060101040005010106000101010400010101040002010103000101010400030101050006010105000301010400010101040002010103000701010500040101040001010104000701010400020101040003010104000101010500060101030001010105000601010600030101030001010103030001010105000201010400010101040004010104000201010500030101040002010104000301010500010101040009010105000101010300010101040001010105000301010300020101040001010106000901010300010101030003010104000101010600020101040001010104000201010600010101060001010106000B0101030004010103000801010303000101010303000101010303000101010303000101010303000201010300080101050008010104000201010303000401010500030101040002010104000601010500010101040006010106000101010300030101040001010103000F0101050002010106000B010103000101
 0105000101350B0B01010600AF0101010600'":  
syntax error
_______________________________________________
freebsd-stable <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe <at> freebsd.org"

Joseph Olatt | 4 Dec 16:05 2014

9.2-STABLE #0 r259072 -> 9.3 buildworld fails

I'm trying to upgrade to the latest 9.3-STABLE, after a fresh "svn
update"  and "make buildworld" stops with the following error:

  /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config/i386/sse.md: 
  In function 'output_936':
  /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config/i386/sse.md:
  4517: internal compiler error: Segmentation fault: 11
  Please submit a full bug report,
  with preprocessed source if appropriate.
  See <URL:http://gcc.gnu.org/bugs.html> for instructions.
  *** [insn-output.o] Error code 1

  Stop in /usr/src/gnu/usr.bin/cc/cc_int.
  *** [all] Error code 1

  Stop in /usr/src/gnu/usr.bin/cc.
  *** [cross-tools] Error code 1

  Stop in /usr/src.
  *** [_cross-tools] Error code 1

  Stop in /usr/src.
  *** [buildworld] Error code 1

  Stop in /usr/src.
  root <at> rain:/usr/src #

Current "uname -a":
  FreeBSD rain 9.2-STABLE FreeBSD 9.2-STABLE #0 r259072: Sat Dec  7 
  19:52:04 CST 2013     root <at> rain:/usr/obj/usr/src/sys/RAIN  i386
(Continue reading)

Vinícius Zavam | 3 Dec 22:07 2014

Panic (fatal double fault) in a fresh installed 10.1-RELEASE (i386) r274401 with ZFS and GEOM_ELI

tl;dr; I can't use 10.1-R after has it installed with ZFS(only)+GEOM_ELI.
https://i.imgur.com/LzJkGoL.png

pciconf? http://pastebin.com/8Fkm1Rte
dmesg? http://pastebin.com/RtSUzsbg

The box is an old Asus eeePC 1005pe (
http://www.asus.com/Notebooks_Ultrabooks/Eee_PC_1005PE_Seashell) and I
would like to use it as a FreeBSD (i386) only machine. In the past it was
running smooth with a linux-based O.S. and FreeBSD 9.0-CURRENT (UFS-only).

Last week, when I got time to kill that old setup, I decided to run it as a
FreeBSD-only machine by ripping everything out with a brand new fresh
installation. Powered by the "new" bsdinstall(8), this step was never so
easy and quick to do and I finished everything following just some dummy
default options.

Installation image? FreeBSD-10.1-RELEASE-i386-memstick.img, downloaded from
ftp.br.freebsd.org and good checksum (sha256).

1. partitions? zfs-only (auto)
  1.1. discs? only one (stripe)
  1.2. encryption? yes (+swap)
2. system components? all (doc, src, ports, ..)
3. daemons? everything (moused, powerd, ntpd, ...)
4. post install steps... reboot!

All safe and sweet after first reboot and I was able to put back some
backup configurations and installing new packages (pkg, firefox, awesome,
screen, irssi, ..., xscreensaver); but it was late and after downloading
(Continue reading)

Michael Schmiedgen | 3 Dec 21:11 2014
Picon

ZFS 'mount error 5' hits production server

Hi list,

today I upgraded one of our servers from 10.0 to 10.1 with
freebsd-update. GENERIC kernel, ZFS 2-way mirror, GPT, nothing
special. After booting kernel, when trying to mount the
root file system I get: 'cannot mount, error 5' or something.

Strangely I got this error a few weeks ago at home, running
CURRENT with custom kernel:
https://lists.freebsd.org/pipermail/freebsd-current/2014-October/052900.html

I created the pools and datasets manually via console. Has
anything changed? With legacy mountpoint, or that one needs a
boot dataset, or something?

Thanks,
   Michael

Configuration is:

gpart show:

=>        34  5860533101  ada0  GPT  (2.7T)
           34         256     1  freebsd-boot  (128K)
          290           6        - free -  (3.0K)
          296     8388608     2  freebsd-swap  (4.0G)
      8388904  5662310400     3  freebsd-zfs  (2.6T)
   5670699304   189833831        - free -  (91G)

=>        34  5860533101  ada1  GPT  (2.7T)
(Continue reading)

Willem Jan Withagen | 3 Dec 13:12 2014
Picon

Trying to upgrade from 9.3-Stable to 10.1-Stable

Hi,

Trying to compile world for upgrading I run into:
(single threaded make)

===> lib/clang/libclanganalysis (depend)
clang-tblgen -gen-clang-attr-list  -I
/usr/src10/lib/clang/libclanganalysis/../../../contrib/llvm/tools/clang/include
-d AttrList.inc.d -o AttrList.inc.h
/usr/src10/lib/clang/libclanganalysis/../../../contrib/llvm/tools/clang/include/clang/Basic/Attr.td
clang-tblgen -gen-clang-attr-classes  -I
/usr/src10/lib/clang/libclanganalysis/../../../contrib/llvm/tools/clang/include
-d Attrs.inc.d -o Attrs.inc.h
/usr/src10/lib/clang/libclanganalysis/../../../contrib/llvm/tools/clang/include/clang/Basic/Attr.td
Stack dump:
0.      Program arguments: clang-tblgen -gen-clang-attr-classes -I
/usr/src10/lib/clang/libclanganalysis/../../../contrib/llvm/tools/clang/include
-d Attrs.inc.d -o Attrs.inc.h
/usr/src10/lib/clang/libclanganalysis/../../../contrib/llvm/tools/clang/include/clang/Basic/Attr.td
*** Signal 11

Is this because the 9.3 toolchain doesn't like 10.1...??

Upgrade is on a atom running:
9.3-STABLE FreeBSD 9.3-STABLE #56 r269952: Thu Aug 14 07:00:37 CEST 2014

Any suggestions are welcome.
--WjW
_______________________________________________
freebsd-stable <at> freebsd.org mailing list
(Continue reading)

Picon

Zpool is segfaulting

Hello !

I've juste upgraded my server from 10.0-RELEASE to 10.1-RELEASE. 
Everything went well, exception in my daily periodic report, I've found 
that the command "zpool list" is behaving strangely :
# zpool list
bad property list: invalid property 'fragmentation'
usage:
         list [-Hpv] [-o property[,...]] [-T d|u] [pool] ... [interval 
[count]]

the following properties are supported:

         PROPERTY         EDIT   VALUES

         allocated          NO   <size>
         capacity           NO   <size>
         dedupratio         NO   <1.00x or higher if deduped>
         expandsize         NO   <size>
         free               NO   <size>
         freeing            NO   <size>
         guid               NO   <guid>
         health             NO   <state>
         size               NO   <size>
         altroot           YES   <path>
         autoexpand        YES   on | off
         autoreplace       YES   on | off
         bootfs            YES   <filesystem>
         cachefile         YES   <file> | none
         comment           YES   <comment-string>
(Continue reading)

Mark Kane | 2 Dec 07:18 2014

ZFS available space difference between 10.0 and 10.1

Hi all,

I updated a machine running 10.0-STABLE from April to 10.1-RELEASE and 
am noticing a discrepancy in available space on a ZFS filesystem between 
versions.

Initially upon booting 10.1-RELEASE this filesystem was reporting 0B 
avail and was unusable, though it was operating normally in 10.0-STABLE. 
I was able to clear enough space by booting back into 10.0 and removing 
files, but attempts to truncate files in 10.1-REL did not actually 
reclaim space on the filesystem. Example from 10.1:

% zpool list
NAME         SIZE  ALLOC   FREE   FRAG  EXPANDSZ    CAP  DEDUP  HEALTH  
ALTROOT
seagate2tb  1.81T  1.76T  55.5G      -         -    97%  1.00x  ONLINE  
-
tank            -      -      -      -         -      -      -  FAULTED  
-
% zfs list
NAME         USED  AVAIL  REFER  MOUNTPOINT
seagate2tb  1.76T      0  1.76T  /seagate2tb

% ls -lh /seagate2tb/isos/FreeBSD-8.1-RELEASE-i386-disc1.iso
-rw-r--r--  1 mixx941  wheel   645M Jul 18  2010 
/seagate2tb/isos/FreeBSD-8.1-RELEASE-i386-disc1.iso
% rm /seagate2tb/isos/FreeBSD-8.1-RELEASE-i386-disc1.iso
rm: /seagate2tb/isos/FreeBSD-8.1-RELEASE-i386-disc1.iso: No space left 
on device
% echo "" > /seagate2tb/isos/FreeBSD-8.1-RELEASE-i386-disc1.iso
(Continue reading)

Craig Rodrigues | 1 Dec 01:37 2014

Call for Help: Setting up Saltstack for devops of jenkins.freebsd.org cluster

FYI,

https://lists.freebsd.org/pipermail/freebsd-testing/2014-December/000693.html

Please send follow-ups to freebsd-testing <at> FreeBSD.org .  Thanks.

--
Craig

--
Craig
_______________________________________________
freebsd-stable <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe <at> freebsd.org"

Matt | 30 Nov 01:05 2014
Picon

ssmtp and message ID

Hi all,

I'm using ssmtp instead of sendmail as the mailer on my FreeBSD
10.1-RELEASE box. The SMTP relay I point it to is my Synology NAS
running the mail server application. What I've noticed is that all mails
sent by ssmtp appear as having no Message ID in the log on the Synology.
I use the Synology with several other email clients, eg android phone,
ipad, kmail, alpine, thunderbird and all of them show a valid Message ID.

Do you have any idea why the Message ID isn't shown for emails sent by
ssmtp?

Thanks for any suggestions.
--  Matt
_______________________________________________
freebsd-stable <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe <at> freebsd.org"

Susan Stanziano | 28 Nov 22:38 2014

Can't access 10.1-RC4 vmimages


The link to pre-installed virtual images for 10.1-RC4 is unavailable: 

ftp://ftp.freebsd.org/pub/FreeBSD/releases/VM-IMAGES/10.1-RC4/ 

This webpage is not available 

Error code: ERR_FTP_FAILEd 

Is this known and will it be back up? 

Thanks. 
Susan Stanziano 

_______________________________________________
freebsd-stable <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe <at> freebsd.org"

Picon

Download stabel free bsd

Hi, I'm searching for downloading stable-free bsd in freebsd.org site, but i don't find this
version.please send it by mail for me or send it's link.tnx
_______________________________________________
freebsd-stable <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe <at> freebsd.org"


Gmane