Re: Why PostgreSQL doesn't start with shared_buffers=6GB ?

2012-11-06 Thread Shane Ambler

On 05/11/2012 11:24, Yuri wrote:

When I am setting shared_buffers=6GB in postgresql.conf it fails to start:
DETAIL:  Failed system call was shmget(key=5432001, size=6612361216, 03600).
even though kern.ipc.shmmax is set to ~7GB:
$ sysctl -a | grep shm
kern.ipc.shm_allow_removed: 0
kern.ipc.shm_use_phys: 0
kern.ipc.shmall: 1310720
kern.ipc.shmseg: 128
kern.ipc.shmmni: 192
kern.ipc.shmmin: 1
kern.ipc.shmmax: 70
kern.features.sysv_shm: 1
kern.features.posix_shm: 1

There are 17GB free memory as reported by top(1).

Why shmget fails despite kern.ipc.shmmax is being high enough?
Experimentally I found that shared_buffers=5GB also fails but 4GB
succeeds. Is there another system limit on shmem besides kern.ipc.shmmax ?


Been a few years since I looked at my postgresql settings --

Per process --
kern.ipc.shmmax: Maximum shared memory segment size
kern.ipc.shmseg: Number of segments per process

segments relate to allocation requests not total allocations.
eg 4 segments of 2G would be ok but 1 segment of 8G not ok
Postgresql shared_buffers should be done in 1 allocation.

System wide --
kern.ipc.shmall: Maximum number of pages available for shared memory
kern.ipc.shmmni: Number of shared memory identifiers

kern.ipc.shmseg and kern.ipc.shmmni need to be set in /boot/loader.conf
not /etc/sysctl.conf

getconf PAGE_SIZE returns 4096

With a pagesize of 4K your kern.ipc.shmall would equate to a max of 5G
so you probably need to increase that. If you want postgresql to
allocate 6G then shmmax needs to be at least 6G and shmall needs to
be at least 6G/4K or 1572864

Remember that total shared memory allocation is not postgresql only -
you may need it higher than what postgresql needs.

Also of note - postgresql settings like temp_buffers are per client
connection and work_mem can be allocated several times for one query.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Groupping restored partitions into slices

2012-11-06 Thread Thomas Mueller
 Short version: Is it possible to group existing partitions into slices
 without affecting data?

 Long version:

 I had a disk sliced/partitioned like this:

 ad4s1
   ad4s1a
   ad4s1b (swap)
   ad4s1d
   ad4s1e
   ad4s1f
 ad4s2 (storage)
 ad4s3
   ad4s3a
   ad4s3b (swap)
   ad4s3d
   ad4s3e
   ad4s3f

 Then, I accidentally deleted *something* (wrong use of boot0cfg),
 which left me with /dev/ad4 only!

 scan_ffs correctly detected where all 9 data partitions begin. I
 created new bsdlabel table, wrote it to ad4, so I now have

 ad4a (former ad4s1a)
 ad4b (former ad4s1b - swap)
 ad4d (former ad4s1d)
 ad4e (former ad4s1e)
 ad4f (former ad4s1f)
 ad4g (former ad4s2)
 ad4h (former ad4s3a)
 and beginning sectors of the rest (former ad4s3d-f). Of course, I
 can't make more than 8 labels.

 I can mount all of them and I see my data. I can even 'swapon ad4b'.

 Now, the question: how can I restore s1, s2 and s3? As you can guess,
 s1 and s3 were working systems.

 Processing all this from FreeBSD-8/amd64 on another disc.

 Thanks!
 Sergi M

For FreeBSD as opposed to NetBSD, and I believe, OpenBSD, disklabels/bsdlabels
are for the slice rather than the whole disk, unless you partition the disk in
dangerously dedicated mode.  So you should create one bsdlabel for ad4s1 and
install to the beginning of that partition, and ahother bsdlabel for ad4s3 and
install to the beginning of ad4s3.  Installation would be using bsdlabel.

That's what I think, I could possibly be wrong.

You can check the bsdlabel man page, accessible online from www.freebsd.org,
even if you have no working installation of FreeBSD.

One, or actually twice, NetBSD overwrote my FreeBSD disklabel/bsdlabel.  The 
first time, I lost my FreeBSD installation but had nothing really to save,
it was time to upgrade to FreeBSD 8.0.  The second time, I had much software
installed, but had the bsdlabel information saved in a file.  I booted a
FreeBSD rescue CD and restored the FreeBSD disklabel/bsdlabel, and was back
in business.

Tom
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


SDXC compatibility

2012-11-06 Thread Da Rock
Not to bug people, but is there support for sdxc in any version of FBSD?
(9.x would be nice :) )

I understand it is mostly in the fs (exfat), and as such there is a fuse
module for it, but I'm concerned at a hardware/driver level- namely speeds.

Any light on what happens when one uses a fs other than exfat would be
helpful as well. I've had a look, but there is no clarity on the subject
as far as this goes, and there is nothing on sdxc on the site.

TIA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Groupping restored partitions into slices

2012-11-06 Thread Snow Mountains
Thomas, thank you for reply! No, it wasn't dangerously dedicated disk.

However, what is the exact command to add ad4s1 and ad4s3 using
bsdlabel? Is it possible  at all? I thought I should use fdisk or
gpart for that.

Thanks,
Sergi M
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Groupping restored partitions into slices

2012-11-06 Thread Thomas Mueller
 Thomas, thank you for reply! No, it wasn't dangerously dedicated disk.

 However, what is the exact command to add ad4s1 and ad4s3 using
 bsdlabel? Is it possible  at all? I thought I should use fdisk or
 gpart for that.

 Thanks,
 Sergi M

You use fdisk to create what FreeBSD calls slices such as ad4s1, ad4s2, ad4s3
and disklabel to subdivide a slice into FreeBSD partitions such as ad4s1a,
ad4s1b, ad4s1c, etc.  gpart is used to create GPT partitions such as ad4p1,
ad4p2, ad4p3, etc.  Subdividing a slice into FreeBSD partitions is used with
MBR partition/slice table but not recommended with GPT.

The online FreeBSD bsdlabel man page is online at

http://www.freebsd.org/cgi/man.cgi?query=bsdlabelapropos=0sektion=0manpath=FreeBSD+9.0-RELEASEarch=defaultformat=html

One example given is

This is an example disk label that uses some of the new partition size
 types such as %, M, G, and *, which could be used as a source file for
 ``bsdlabel -R ad0s1 new_label_file'':

 # /dev/ad0s1:

 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   a:   400M   164.2BSD 4096 1638475 # (Cyl.0 - 
812*)
   b: 1G*  swap
   c:  **unused
   e: 204800*4.2BSD
   f: 5g*4.2BSD
   g:  **4.2BSD

but you would have to replace the * with actual appropriate numbers.

After you install the disklabel, you could mount each data partition, but not
the swap partition, to see if the directory and file structure looks right.

Tom
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreeBSD 8.3 udp_input() kernel panic

2012-11-06 Thread Rick Miller
Hi All,

I posted a blog yesterday with regards to a FreeBSD kernel panic in
FreeBSD 8.3 at 
http://blog.hostileadmin.com/2012/11/05/freebsd-kernel-panic-in-udp_input/
in case anyone has any interest...

-- 
Take care
Rick Miller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


marking packets in IPFW and recognize them in PF

2012-11-06 Thread s m
hello every body

i want to mark some of my  packets (by tag, mark, divert or anything else)
in IPFW and recognize these packets in PF in the same system.
please let me know if  it is possible and how i can do that.
i have freebsd 8.2. if it is impossible in freebsd 8.2, what about freebsd
9? can we do it in freebsd 9?

thanks
SAM
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Groupping restored partitions into slices

2012-11-06 Thread Snow Mountains
Thomas, thank you very much for your mail, but that isn't what I asked.

Of course, I know that bsdlabel -R ad0s1 new_label_file writes new
labels to ad0s1.

My question is: what to do if I _lost_ s1, s2, and s3 - how to recover
_them_ first? Without that, all I can do is to write labels table
directly on ad0.

SergiM.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Upgrading Using FreeBSD Update

2012-11-06 Thread Jinsong Zhao

Hi there,

I am going to upgrade my FreeBSD 8.2-RELEASE to 9.1-RELEASE according to 
http://www.freebsd.org/releases/9.0R/installation.html


However, I don't know how to follow the step below:

##start here##
# freebsd-update install

At this point, users of systems being upgraded from FreeBSD 8.2-RELEASE 
or earlier will be prompted by freebsd-update(8) to rebuild all 
third-party applications (e.g., ports installed from the ports tree) due 
to updates in system libraries.


After updating installed third-party applications (and again, only if 
freebsd-update(8) printed a message indicating that this was necessary), 
run freebsd-update(8) again so that it can delete the old (no longer 
used) system libraries:


##end here##

My questions is: how to rebuild all third-party applications? I have 
kept the ports tree up to date using

# portsnap fetch update
and
# portmaster -Ga
every day.

Any help will be really appreciated.

Regards,
Jinsong
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Upgrading Using FreeBSD Update

2012-11-06 Thread jb
Jinsong Zhao jszhao at yeah.net writes:

 ... 
 My questions is: how to rebuild all third-party applications? I have 
 kept the ports tree up to date using
 # portsnap fetch update
 and
 # portmaster -Ga
 every day.
 ...

I would advise you to drop -G option and use these entries:
# portsnap fetch update
# portmaster -f portmaster 
# portmaster -a -f

Ref: PORTMASTER(8) Examples.
jb




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


firefox i18n: no more french

2012-11-06 Thread Patrick Lamaiziere
Hello,

For and unknown reason here, Firefox (16.0 and ESR) doesn't want to be
in french anymore. Does i18n work for you?

I use directly the fr.xpi (cd /usr/ports/www/firefox-i18n, make
extract), then I add the .xpi via the firefox addons menu. That worked
like a charm before. The fr language pack is enabled but firefox is
still in english.

I've got this problem at work (firefox 16) and on my home laptop
(firefox-esr).

Any clue?

Thanks, regards.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: firefox i18n: no more french

2012-11-06 Thread Boris Samorodov
06.11.2012 23:34, Patrick Lamaiziere пишет:
 Hello,
 
 For and unknown reason here, Firefox (16.0 and ESR) doesn't want to be
 in french anymore. Does i18n work for you?
 
 I use directly the fr.xpi (cd /usr/ports/www/firefox-i18n, make
 extract), then I add the .xpi via the firefox addons menu. That worked
 like a charm before. The fr language pack is enabled but firefox is
 still in english.
 
 I've got this problem at work (firefox 16) and on my home laptop
 (firefox-esr).
 
 Any clue?

Is Tools - Extensions - Languages -  French LangPack enabled?

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

FreeBSD 9.1 RC3 fails boot on Ivy Bridge?

2012-11-06 Thread Antonio Vieiro

Hi all,

I just downloaded 9.1 RC3 (amd64 USB img) and I tried to install it on 
an Ivy Bridge CPU system (Gigabyte Z77 DS3H motherboard) without 
success: the system starts to boot but suddenly blows up and reboots.


I tried to boot with verbose mode but this does not help to determine 
the cause of the problem.


I was wondering if someone could shed some light into this.

TIA,
Antonio
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


trying to build a port for vagrant and failing

2012-11-06 Thread Christopher J. Ruwe
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Currently, I am trying to write up a port for vagrant, a VirtualBox
managment thing (http://vagrantup.com/). I am failing with the
dependencies and would be grateful for some help.

I have

BUILD_DEPENDS=  minitar:${PORTSDIR}/archivers/rubygem-archive-tar-minitar \

RUN_DEPENDS=erubis:${PORTSDIR}/www/rubygem-erubis \

rubygem-childprocess=0.3.1:${PORTSDIR}/devel/rubygem-childprocess \
rubygem-i18n=0.6.0:${PORTSDIR}/devel/rubygem-i18n \
rubygem-json=1.5.1:${PORTSDIR}/devel/rubygem-json \
rubygem-log4r=1.1.9:${PORTSDIR}/sysutils/rubygem-log4r \
rubygem-net-ssh=2.2.2:${PORTSDIR}/security/rubygem-net-ssh \
rubygem-net-scp=1.0.4:${PORTSDIR}/security/rubygem-net-scp

in the makefile.

- From the build log (I am using poudriere for testing) I get


===phase: run-depends==
===   rubygem-vagrant-1.0.5 depends on executable: erubis - not found
===Verifying install for erubis in /usr/ports/www/rubygem-erubis
===   Installing existing package 
/usr/ports/packages/All/rubygem-erubis-2.7.0.tbz
===   Returning to build of rubygem-vagrant-1.0.5
===   rubygem-vagrant-1.0.5 depends on package: rubygem-childprocess=0.3.1 - 
not found
===Verifying install for rubygem-childprocess=0.3.1 in 
/usr/ports/devel/rubygem-childprocess
===   Installing existing package 
/usr/ports/packages/All/rubygem-childprocess-0.3.5.tbz
===   Returning to build of rubygem-vagrant-1.0.5
===   rubygem-vagrant-1.0.5 depends on package: rubygem-i18n=0.6.0 - not found
===Verifying install for rubygem-i18n=0.6.0 in 
/usr/ports/devel/rubygem-i18n
===   Installing existing package 
/usr/ports/packages/All/rubygem-i18n-0.6.0,2.tbz
===   Returning to build of rubygem-vagrant-1.0.5
===   rubygem-vagrant-1.0.5 depends on package: rubygem-json=1.5.1 - not found
===Verifying install for rubygem-json=1.5.1 in 
/usr/ports/devel/rubygem-json
===   Installing existing package 
/usr/ports/packages/All/rubygem-json-1.7.5.tbz
===   Returning to build of rubygem-vagrant-1.0.5
===   rubygem-vagrant-1.0.5 depends on package: rubygem-log4r=1.1.9 - not 
found
===Verifying install for rubygem-log4r=1.1.9 in 
/usr/ports/sysutils/rubygem-log4r
===   Installing existing package 
/usr/ports/packages/All/rubygem-log4r-1.1.10.tbz
===   Returning to build of rubygem-vagrant-1.0.5
===   rubygem-vagrant-1.0.5 depends on package: rubygem-net-ssh=2.2.2 - not 
found
===Verifying install for rubygem-net-ssh=2.2.2 in 
/usr/ports/security/rubygem-net-ssh
===   Installing existing package 
/usr/ports/packages/All/rubygem-net-ssh-2.1.4,2.tbz
===   Returning to build of rubygem-vagrant-1.0.5
===   rubygem-vagrant-1.0.5 depends on package: rubygem-net-scp=1.0.4 - not 
found
===Verifying install for rubygem-net-scp=1.0.4 in 
/usr/ports/security/rubygem-net-scp
===   Installing existing package 
/usr/ports/packages/All/rubygem-net-scp-1.0.4_1.tbz
===   Returning to build of rubygem-vagrant-1.0.5
===   rubygem-vagrant-1.0.5 depends on file: /usr/local/bin/gem18 - found
===   rubygem-vagrant-1.0.5 depends on file: /usr/local/bin/ruby18 - found
===

So far so good. I noticed that rubygem-net-ssh-2.1.4.2 is supposed to
satisfy =rubygem-net-ssh-2.2.2, which I ignore for the while.

Now, building yields

===phase: install  ==
===  Installing for rubygem-vagrant-1.0.5
===   rubygem-vagrant-1.0.5 depends on executable: erubis - found
===   rubygem-vagrant-1.0.5 depends on package: rubygem-childprocess=0.3.1 - 
found
===   rubygem-vagrant-1.0.5 depends on package: rubygem-i18n=0.6.0 - found
===   rubygem-vagrant-1.0.5 depends on package: rubygem-json=1.5.1 - found
===   rubygem-vagrant-1.0.5 depends on package: rubygem-log4r=1.1.9 - found
===   rubygem-vagrant-1.0.5 depends on package: rubygem-net-ssh=2.2.2 - found
===   rubygem-vagrant-1.0.5 depends on package: rubygem-net-scp=1.0.4 - found
===   rubygem-vagrant-1.0.5 depends on file: /usr/local/bin/gem18 - found
===   rubygem-vagrant-1.0.5 depends on file: /usr/local/bin/ruby18 - found
===   Generating temporary packing list
===  Checking if emulators/rubygem-vagrant already installed
/usr/bin/env  /usr/local/bin/gem18 install -l --no-update-sources --no-ri 
--install-dir /usr/local/lib/r\
uby/gems/1.8 /usr/ports/distfiles/rubygem/vagrant-1.0.5.gem -- --build-args
ERROR:  While executing gem ... (Gem::DependencyError)
Unable to resolve dependencies: vagrant requires json (~ 1.5.1), net-ssh 
(~ 2.2.2)
*** Error code 1

The installation is right about net-ssh (confer above), but definitely
not on json (1.7.5  1.5.1).

Can anybody hint me on a path to pursue to resolve that error?

Many thanks, cheers,
- -- 
Christopher
TZ: GMT + 2h
GnuPG/GPG:  0xE8DE2C14

Punctuation matters:
Let's eat Grandma or Let's eat, Grandma - 

Re: trying to build a port for vagrant and failing

2012-11-06 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 11/6/12 4:00 PM, Christopher J. Ruwe wrote:
 Currently, I am trying to write up a port for vagrant, a VirtualBox
 managment thing (http://vagrantup.com/). I am failing with the
 dependencies and would be grateful for some help.
 
 I have
 
 BUILD_DEPENDS= 
 minitar:${PORTSDIR}/archivers/rubygem-archive-tar-minitar \
 
 RUN_DEPENDS=erubis:${PORTSDIR}/www/rubygem-erubis \ 
 rubygem-childprocess=0.3.1:${PORTSDIR}/devel/rubygem-childprocess 
 \ rubygem-i18n=0.6.0:${PORTSDIR}/devel/rubygem-i18n \ 
 rubygem-json=1.5.1:${PORTSDIR}/devel/rubygem-json \ 
 rubygem-log4r=1.1.9:${PORTSDIR}/sysutils/rubygem-log4r \ 
 rubygem-net-ssh=2.2.2:${PORTSDIR}/security/rubygem-net-ssh \ 
 rubygem-net-scp=1.0.4:${PORTSDIR}/security/rubygem-net-scp
 
 in the makefile.
 
 From the build log (I am using poudriere for testing) I get
 
 
 ===phase: 
 run-depends== ===
 rubygem-vagrant-1.0.5 depends on executable: erubis - not found
 ===Verifying install for erubis in
 /usr/ports/www/rubygem-erubis ===   Installing existing package
 /usr/ports/packages/All/rubygem-erubis-2.7.0.tbz ===   Returning
 to build of rubygem-vagrant-1.0.5 === rubygem-vagrant-1.0.5
 depends on package: rubygem-childprocess=0.3.1 - not found ===
 Verifying install for rubygem-childprocess=0.3.1 in 
 /usr/ports/devel/rubygem-childprocess ===   Installing existing 
 package /usr/ports/packages/All/rubygem-childprocess-0.3.5.tbz
 === Returning to build of rubygem-vagrant-1.0.5 === 
 rubygem-vagrant-1.0.5 depends on package: rubygem-i18n=0.6.0 -
 not found ===Verifying install for rubygem-i18n=0.6.0 in 
 /usr/ports/devel/rubygem-i18n ===   Installing existing package 
 /usr/ports/packages/All/rubygem-i18n-0.6.0,2.tbz ===   Returning 
 to build of rubygem-vagrant-1.0.5 ===   rubygem-vagrant-1.0.5 
 depends on package: rubygem-json=1.5.1 - not found === Verifying
 install for rubygem-json=1.5.1 in /usr/ports/devel/rubygem-json
 ===   Installing existing package 
 /usr/ports/packages/All/rubygem-json-1.7.5.tbz ===   Returning to 
 build of rubygem-vagrant-1.0.5 ===   rubygem-vagrant-1.0.5
 depends on package: rubygem-log4r=1.1.9 - not found ===
 Verifying install for rubygem-log4r=1.1.9 in 
 /usr/ports/sysutils/rubygem-log4r ===   Installing existing 
 package /usr/ports/packages/All/rubygem-log4r-1.1.10.tbz === 
 Returning to build of rubygem-vagrant-1.0.5 === 
 rubygem-vagrant-1.0.5 depends on package: rubygem-net-ssh=2.2.2 - 
 not found ===Verifying install for rubygem-net-ssh=2.2.2 in 
 /usr/ports/security/rubygem-net-ssh ===   Installing existing 
 package /usr/ports/packages/All/rubygem-net-ssh-2.1.4,2.tbz === 
 Returning to build of rubygem-vagrant-1.0.5 === 
 rubygem-vagrant-1.0.5 depends on package: rubygem-net-scp=1.0.4 - 
 not found ===Verifying install for rubygem-net-scp=1.0.4 in 
 /usr/ports/security/rubygem-net-scp ===   Installing existing 
 package /usr/ports/packages/All/rubygem-net-scp-1.0.4_1.tbz === 
 Returning to build of rubygem-vagrant-1.0.5 === 
 rubygem-vagrant-1.0.5 depends on file: /usr/local/bin/gem18 - found
 ===   rubygem-vagrant-1.0.5 depends on file: /usr/local/bin/ruby18
 - found 
 ===


 
So far so good. I noticed that rubygem-net-ssh-2.1.4.2 is supposed
 to satisfy =rubygem-net-ssh-2.2.2, which I ignore for the while.
 
 Now, building yields
 
 ===phase: install
 == ===  Installing for
 rubygem-vagrant-1.0.5 ===   rubygem-vagrant-1.0.5 depends on 
 executable: erubis - found ===   rubygem-vagrant-1.0.5 depends on 
 package: rubygem-childprocess=0.3.1 - found === 
 rubygem-vagrant-1.0.5 depends on package: rubygem-i18n=0.6.0 - 
 found ===   rubygem-vagrant-1.0.5 depends on package: 
 rubygem-json=1.5.1 - found ===   rubygem-vagrant-1.0.5 depends
 on package: rubygem-log4r=1.1.9 - found ===
 rubygem-vagrant-1.0.5 depends on package: rubygem-net-ssh=2.2.2 -
 found === rubygem-vagrant-1.0.5 depends on package:
 rubygem-net-scp=1.0.4 - found ===   rubygem-vagrant-1.0.5 depends
 on file: /usr/local/bin/gem18 - found ===   rubygem-vagrant-1.0.5
 depends on file: /usr/local/bin/ruby18 - found ===   Generating
 temporary packing list ===  Checking if emulators/rubygem-vagrant
 already installed /usr/bin/env  /usr/local/bin/gem18 install -l 
 --no-update-sources --no-ri --install-dir /usr/local/lib/r\ 
 uby/gems/1.8 /usr/ports/distfiles/rubygem/vagrant-1.0.5.gem -- 
 --build-args ERROR:  While executing gem ... (Gem::DependencyError)
 Unable to resolve dependencies: vagrant requires json (~ 1.5.1),
 net-ssh (~ 2.2.2) *** Error code 1
 
 The installation is right about net-ssh (confer above), but 
 definitely not on json (1.7.5  1.5.1).
 
 Can anybody hint me on a path to pursue to resolve that error?
 
 Many thanks, cheers,

Hi Chris,

You've run into a problem we have with the ports system and Rubygem
ports specifically.

I 

Mac Issue

2012-11-06 Thread Chandra Shekhar
Hi,


Tell me how create shadow file of Boot Volume(on which OS is running)  under 
MAC OS.



 Thanks  Regards
 CS

Disclaimer:

The information contained in this e-mail, including any attachments to it, is 
confidential and intended only for the person(s) to whom it is addressed. Any 
examination, distribution, disclosure, printing, or copying of this 
information, or reliance upon this information by any person other than the 
intended recipient(s) is strictly prohibited. If this e-mail has been 
misdirected and you are not the intended recipient, please notify the sender 
immediately and delete this e-mail from your system. The views and opinions 
contained in this transmission represent those of the author and do not 
necessarily reflect those of Stellar Information Systems. Stellar Information 
Systems may monitor incoming and outgoing e-mails. By replying to this message, 
you consent to this monitoring. This e-mail has been scanned by antivirus prior 
to transmission. However, recipients are advised to apply their own antivirus 
detection measures to this e-mail and any attachments upon receipt. Stellar Inf
 ormation Systems does not accept liability for any damage or losses arising as 
a result of receiving this e-mail.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Upgrading Using FreeBSD Update

2012-11-06 Thread Jinsong Zhao

Hi,

 My questions is: how to rebuild all third-party applications? I have
 kept the ports tree up to date using
 # portsnap fetch update
 and
 # portmaster -Ga
 every day.
 ...

 I would advise you to drop -G option and use these entries:
 # portsnap fetch update
 # portmaster -f portmaster
 # portmaster -a -f

 Ref: PORTMASTER(8) Examples.
 jb

Thank you very much for your reply and the Ref to PORTMASTER(8). The 
last example in the man page may be what I want during the upgrade to 
FreeBSD 9.0-RELEASE.


Regards,
Jinsong
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


tyre business

2012-11-06 Thread towaytyre
 

 

 

 

 

 


Hello! 
I am Eastle from China,special in exporting kinds of tyres, such as truck 
tyres, car tyres, off the road tyres,special machine tyres and assorted 
wheels,inner tubes etc.

Regs,
Eastle Feng
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Groupping restored partitions into slices

2012-11-06 Thread Thomas Mueller
 Thomas, thank you very much for your mail, but that isn't what I asked.

 Of course, I know that bsdlabel -R ad0s1 new_label_file writes new
 labels to ad0s1.

 My question is: what to do if I _lost_ s1, s2, and s3 - how to recover
 _them_ first? Without that, all I can do is to write labels table
 directly on ad0.

 SergiM.

I thought you had found where the slices and partitions had been.  Otherwise,
if you only have the BSD partitions and need to label more than 8, there is
gpart in FreeBSD base system and Rod Smith's gdisk, available in FreeBSD ports
and also on the System Rescue CD (sysresccd.org).  If you switch to GPT, you 
can accommodate 128 partitions by default, and you wouldn't need the original
slices, just the BSD partitions in what had been the slices.

If you switch to GPT as opposed to MBR, you won't use bsdlabel; partitions for
each FreeBSD installation would be listed in /etc/fstab.

If you have the data, where each slice began and ended, you can restore the
slices with fdisk.

If you can find the BSD partitions and have the media space to backup to, you
might want to backup the partitions if feasible, as protection in case you
mess up.

NetBSD disklabel can accommodate up to 16 partitions per hard disk, but
FreeBSD might not be able to properly read a NetBSD disklabel.  Also, NetBSD
disklabel is very tricky and temperamental; I'd surely trust gdisk or gpart
over NetBSD disklabel.

Tom
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org