How to overwrite openssl base with the one from ports?

2010-01-15 Thread Andrei Brezan
Hello list,

I seem to have some problems overwriting openssl base. I have tried
building security/openssl with OPENSSL_OVERWRITE_BASE=YES but to no success.

After i run:
make OPENSSL_OVERWRITE_BASE=YES install clean
i get the port installed in /usr/local/bin and lib ok, but i'm left with
openssl in /usr/bin and lib too. Do i have to make
buildworld/installworld with NO_OPENSSL in /etc/make.conf in order not
to have openssl from base and then install it from port ?
___
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: Regular Expression Editor

2010-01-15 Thread Matthew Seaman

Carmel wrote:

On Thu, 14 Jan 2010 10:38:41 -0800
Randal L. Schwartz mer...@stonehenge.com replied:


You need to be specific about the kind of regex.  While most regexp
engines have common things like . and * and ^ and $, the meanings may
vary a bit, and the more exotic things are certainly going to vary.

(For example, despite the name, Perl Compatible [sic] Regular
Expressions are *not* Perl compatible.)

What tool are you using your regexes with?


OK, I was using RegExp Buddy http://www.regexbuddy.com/ on a Windows
machine. I would like to find something similar to it for a FreeBSD
environment. The expressions I create are used primarily with 'sieve'
in conjunction with Dovecot. I am also thinking of possibly creating a
few for use with Postfix.



I believe dovecot simply uses the standard posix 'extended regular
expression' syntax as seen in programs like grep(1).  [See: http://ietfreport.isoc.org/idref/draft-ietf-sieve-regex ] 


In principle, this means you can write your test data into a file, and
test it by running it through grep(1) using the -E flag:

  grep -E 'foo@(bar|baz)\.org'  testdata.txt

Postfix uses PCRE by default. You can do the same sort of trick there:
just run 'pcregrep' rather than 'grep -E'

However, note that the regexes in dovecot sieve scripts are subject to
a level of shell expansion. (Not sure what happens with postfix.) This
means various special characters are going to need to be escaped by
preceding them with a *pair* of backslashes.  So, in the example above,
the bit that says '\.' (meaning override the usual meaning of '.' as a
wildcard that will match any character, and instead match a literal '.')
would have to be entered into  your sieve script as '\\\.'  If in doubt,
simply pound on the backslash key a few more times...

Cheers,

Matthew


--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: How to overwrite openssl base with the one from ports?

2010-01-15 Thread Matthew Seaman

Andrei Brezan wrote:

Hello list,

I seem to have some problems overwriting openssl base. I have tried
building security/openssl with OPENSSL_OVERWRITE_BASE=YES but to no success.

After i run:
make OPENSSL_OVERWRITE_BASE=YES install clean
i get the port installed in /usr/local/bin and lib ok, but i'm left with
openssl in /usr/bin and lib too. Do i have to make
buildworld/installworld with NO_OPENSSL in /etc/make.conf in order not
to have openssl from base and then install it from port ?


There's no such option as 'OPENSSL_OVERWRITE_BASE' in a current ports
tree[*].  There is only

WITH_OPENSSL_BASE=yes

which means link any ports against the version of the OpenSSL libs
installed by the base system, or

WITH_OPENSSL_PORTS=yes

which means link any ports against the version of OpenSSL installed
from ports.  Applications that use SSL in the base system are always
linked against the base system version of OpenSSL, and the ports system
will throw an exception if you say 'WITH_OPENSSL_PORTS' but the ABI
version number of the shlibs in the base system is greater than the ones
from the ports.  So defining WITHOUT_OPENSSL in /etc/src.conf[+] is not
advisable either. 



Cheers,

Matthew

[*] Despite its appearance in the mail/dkim-milter and mail/dk-milter
ports.  That's a bug.  It won't do anything.

[+] Assuming you're running 7.x or later.

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: How to overwrite openssl base with the one from ports?

2010-01-15 Thread Andrei Brezan
Matthew Seaman wrote:
 Andrei Brezan wrote:
 Hello list,

 I seem to have some problems overwriting openssl base. I have tried
 building security/openssl with OPENSSL_OVERWRITE_BASE=YES but to no
 success.

 After i run:
 make OPENSSL_OVERWRITE_BASE=YES install clean
 i get the port installed in /usr/local/bin and lib ok, but i'm left with
 openssl in /usr/bin and lib too. Do i have to make
 buildworld/installworld with NO_OPENSSL in /etc/make.conf in order not
 to have openssl from base and then install it from port ?
 
 There's no such option as 'OPENSSL_OVERWRITE_BASE' in a current ports
 tree[*].  There is only
 
 WITH_OPENSSL_BASE=yes
 
 which means link any ports against the version of the OpenSSL libs
 installed by the base system, or
 
 WITH_OPENSSL_PORTS=yes
 
 which means link any ports against the version of OpenSSL installed
 from ports.  Applications that use SSL in the base system are always
 linked against the base system version of OpenSSL, and the ports system
 will throw an exception if you say 'WITH_OPENSSL_PORTS' but the ABI
 version number of the shlibs in the base system is greater than the ones
 from the ports.  So defining WITHOUT_OPENSSL in /etc/src.conf[+] is not
 advisable either.
 
 Cheers,
 
 Matthew
 
 [*] Despite its appearance in the mail/dkim-milter and mail/dk-milter
 ports.  That's a bug.  It won't do anything.
 
 [+] Assuming you're running 7.x or later.
 

Thank you, will use then WITH_OPENSSL_PORTS when needed.
You were right in assuming 7.x or later.

Regards,

Andrei
___
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


geli problem (???)

2010-01-15 Thread Angelin Lalev
I have Intel DG45ID + Core2 machine with USB keyboard and I want to
use geom_eli to encrypt my entire freebsd partition.
My FreeBSD version is freebsd 8.0p2, my Drive is SATA and I have USB
keyboard and mouse. I intend to boot via USB flash disk and attach the
partition at boot.
Everything works as described in the documentation, except for a nasty
problem. When I try to attach my encrypted partition at boot, it seems
that my enter key on the keyboard gets stuck and keep sending LF to my
console continuously. The keyboard and the key though are 100% ok
(tested on windows).
I'm not getting this problem when I use geli to attach the partition
after boot, only at boot time (geom_eli_load=YES in loader.conf).

I'm not quite sure that the problem isn't the USB keyboard itself or
to be more exactly the USB support for that keyboard. For example when
I go to mountroot prompt (screwed fstab) I can't type a thing.
___
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


Rss feed

2010-01-15 Thread davidoweir3
Hello there can you tell me how do i subscribe to this mailings list using my 
rss ___
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

Spen Bilquis has invited you to Dropbox

2010-01-15 Thread Dropbox
We're excited to let you know that Spen Bilquis has invited you to Dropbox!

Spen Bilquis has been using Dropbox to sync and share files online and across 
computers, and thought you might want it too.

Visit http://www.dropbox.com/link/20.HP1BPUfvVX/Njc5NjU3ODA3 to get started.

- The Dropbox Team

 
To stop receiving invites from Dropbox, please go to 
http://www.dropbox.com/bl/1a5feda3bb0b/freebsd-questions%40freebsd.org
___
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 + exFAT

2010-01-15 Thread Jerry
I know that this was asked approximately 1 year ago; however, I was
wondering if there had been any movement on it. Specifically, getting
FreeBSD to recognize the 'exFAT' format. It is becoming a very common
format for use on removable drives.

URLs:
http://bhandler.spaces.live.com/Blog/cns!70F64BC910C9F7F3!5216.entry?w
http://en.wikipedia.org/wiki/ExFAT
http://msdn.microsoft.com/en-us/library/aa914353.aspx
http://support.microsoft.com/kb/955704

-- 
Jerry
ges...@yahoo.com

|===
|===
|===
|===
|

Advice to young men: Be ascetic, and if you can't be ascetic,
then at least be aseptic.

___
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: Regular Expression Editor

2010-01-15 Thread Randal L. Schwartz
 Chad == Chad Perrin per...@apotheon.com writes:

Chad I don't know if I've just overlooked your presence before, or if this is
Chad actually the first time I've seen a comment from you on this mailing
Chad list, but hi, Randal.

It might be the first or second comment.  I'm a new FreeBSD user.  I've
been talking about my experiences in the intro/outros of recent FLOSS Weekly
episodes (http://twit.tv/floss) if you want details.

Chad I think you must have overlooked the part where Carmel mentioned writing
Chad regexen for use with sieve+Dovecot and possibly with Postfix.

That wasn't in the initial message that I recall.  But if that was already
clear, I apologize for repeating my question.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
___
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


rdiff-backup-1.2.8 python2.5.4 : OverflowError: signed integer is greater than maximum

2010-01-15 Thread Michel Le Cocq
I run rdiff-backup on my backup server:
- FreeBSD 8.0-RELEASE AMD64
- rdiff-backup-1.2.8,1
- python25-2.5.4_3
- be pro quad
- 4G Ram

I try to rdiff a folder on a nfs ro mounted volume to an other volume.

I obtain this error : OverflowError: signed integer is greater than
maximum

I have the same problem as Brad Beyenhof see here :
http://www.mail-archive.com/rdiff-backup-us...@nongnu.org/msg03794.html

I know it's a know problem due to a bug in Python. And have to upgrad
Python to 2.5.4 or 2.6.1.

But I'm on python25-2.5.4_3 !!! and rdiff need python25 to run so I
can't remove it for python26...

What can I do to obtain my full backup ?

Thanks

--
Michel
___
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


rum0 acting as an Access point (belkin router) 8.0 R

2010-01-15 Thread Christoph Kukulies
I'm not sure wether syntax has changed but I wanted to cretae an wlan 
acess point
and tried various things. Under 7.0 I got it working with the following 
command


ifconfig rum0 inet 10.0.0.1/24 mediaopt hostap ssid CITYOFFICE  wepmode 
on wepkey 0xf00baf00ba weptxkey 1 channel 1



I tried this but got a socket error Invalid argument.

Then I tried (from an example in the rum (4) manpage):ifconfig wlan 
create wlandev rum0 10.0.0.1/24 mediaopt hostap CITYOFFICE wepmode on 
wepkey 0xf00baaf00baa  weptxkey 1 channel 1


and got:


wlan0
ifconfig: SIOCSIFMEDIA (media): Device not configured

But suddenly the wlan0 device is there.

Can anybody fill me in?

--
Christoph


___
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: FreeBSD + exFAT

2010-01-15 Thread Nikos Vassiliadis

On 1/15/2010 3:19 PM, Jerry wrote:

I know that this was asked approximately 1 year ago; however, I was
wondering if there had been any movement on it. Specifically, getting
FreeBSD to recognize the 'exFAT' format. It is becoming a very common
format for use on removable drives.


It's patented and it probably comes with a multi-page aggrement and a
price.

Wikipedia (http://en.wikipedia.org/wiki/ExFAT#Licensing) says:
Companies can integrate exFAT into a specific group of consumer devices, 
including cameras, camcorders and digital photo frames for a flat fee. 
Mobile phones, PCs and networks have a different volume pricing model.


The above sound pretty much inappropriate for an open source operating
system like FreeBSD.

Nikos
___
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


wireless ath - unable to get scan results

2010-01-15 Thread Anton Shterenlikht
This is my first wireless attempt. Please don't shoot
me for asking obvious questions.

This is on FreeBSD 9.0-CURRENT sparc64

I've TL-WN851N PCI wireless card.

I see in dmesg:

ath0: Atheros 9280 mem 0x11-0x11 at device 3.0 on pci0
ath0: [ITHREAD]
ath0: AR9280 mac 128.2 RF5133 phy 13.0

and with pciconf -lv

a...@pci0:0:3:0:class=0x028000 card=0x2091168c chip=0x0029168c rev=0x01
hdr=0x00
vendor = 'Atheros Communications Inc.'
class  = network

and with ifconfig

# ifconfig ath0
ath0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 2290
ether 00:27:19:e1:b7:d9
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
#

Does this look ok so far?

Following the manual I try to scan for available
networks, but get this message immediately, so
it doesn't look like it's searching for anything

# ifconfig ath0 scan
ifconfig: unable to get scan results
#

I've in kernel config file:

device  ath # Atheros pci/cardbus NIC's
device  ath_hal # Atheros HAL (Hardware Access Layer)
device  ath_rate_sample # SampleRate tx rate control for ath
options AH_SUPPORT_AR5416   # enable AR5416 tx/rx descriptors
device  wlan
device  wlan_ccmp   # 802.11 CCMP support
device  wlan_tkip   # 802.11 TKIP support
device  wlan_wep# 802.11 WEP support

and also this firewall line 

options IPFILTER_DEFAULT_BLOCK

but I've no /etc/ipf.rules yet

Perhaps it's my firewall that's blocking everything?


many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: rum0 acting as an Access point (belkin router) 8.0 R

2010-01-15 Thread Paul B Mahol
On 1/15/10, Christoph Kukulies k...@kukulies.org wrote:
 I'm not sure wether syntax has changed but I wanted to cretae an wlan
 acess point
 and tried various things. Under 7.0 I got it working with the following
 command

 ifconfig rum0 inet 10.0.0.1/24 mediaopt hostap ssid CITYOFFICE  wepmode
 on wepkey 0xf00baf00ba weptxkey 1 channel 1


 I tried this but got a socket error Invalid argument.

 Then I tried (from an example in the rum (4) manpage):ifconfig wlan
 create wlandev rum0 10.0.0.1/24 mediaopt hostap CITYOFFICE wepmode on
 wepkey 0xf00baaf00baa  weptxkey 1 channel 1


Perhaps you want this one:

ifconfig wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid
CITYOFFICE wepmode on wepkey 0xf00baaf00baa  weptxkey 1 channel 1

 and got:


 wlan0
 ifconfig: SIOCSIFMEDIA (media): Device not configured

 But suddenly the wlan0 device is there.

 Can anybody fill me in?

 --
 Christoph


 ___
 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



-- 
Paul B Mahol
___
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: wireless ath - unable to get scan results

2010-01-15 Thread Paul B Mahol
On 1/15/10, Anton Shterenlikht me...@bristol.ac.uk wrote:
 This is my first wireless attempt. Please don't shoot
 me for asking obvious questions.

Did you read ath(4) manual?
Ignore first two examples.
You need to create wlanX first.

-- 
Paul B Mahol
___
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: wireless ath - unable to get scan results

2010-01-15 Thread Warren Block

On Fri, 15 Jan 2010, Anton Shterenlikht wrote:
...

ath0: Atheros 9280 mem 0x11-0x11 at device 3.0 on pci0

...

# ifconfig ath0
ath0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 2290
   ether 00:27:19:e1:b7:d9
   media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
   status: no carrier
#

Does this look ok so far?


Yes.  Not sure how well the 9280 works overall.


Following the manual


The Handbook is out of date on this.


I try to scan for available
networks, but get this message immediately, so
it doesn't look like it's searching for anything

# ifconfig ath0 scan
ifconfig: unable to get scan results
#


From 8.0 on, it necessary to create a wlan0 clone device of the actual 

wireless card.  Then use wlan0 for the actual wireless operation:

# ifconfig wlan0 create wlandev ath0
# ifconfig wlan0 up list scan

That can be automated in rc.conf with wlans_ath0=wlan0.

I can't find a PR for updating the Handbook on this.

-Warren Block * Rapid City, South Dakota USA
___
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


Dislike the way port conflicts are handled now

2010-01-15 Thread Kirk Strauser
Until recently, it seems like port dependencies were handled at 
installation time. Lately, they're handled any time I try to do anything 
with a port. I absolutely detest the new behavior. Example cases:


OLD WAY:

$ cd /usr/ports/something/foo22
$ make
$ pkg_delete foo21-2.1
$ make install

NEW WAY

$ cd /usr/ports/something/foo22
$ make
===  foo22 conflicts with installed package(s): foo21-2.1
$ make fetch
===  foo22 conflicts with installed package(s): foo21-2.1
$ curse --type=copious
$ pkg_delete foo21-2.1
$ make install

This isn't just a hypothetical pain in the butt. An example was being 
unable to build databases/mysql51-client because 
mysql-client-5.0.something was installed. I understand not being able to 
*install* it, but to be prevented from *building* it? In most 
circumstances, I want to be able to delete the old package and install 
the new one with minimal downtime. As another example, can you imagine 
not being able to even run make fetch on something huge like 
OpenOffice until you uninstalled the old version?


In the mean time, I've been editing the port's Makefile to remove the 
CONFLICTS line long enough to finish building. That's not very helpful 
for those ports that don't actually build until you run make install, 
but at least I can get the distfile download out of the way.

--

Kirk Strauser

___
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: GEOM corrupt or invalid GPT detected on ZFS raid on Freebsd 8.0 x64

2010-01-15 Thread Kirk Strauser

On 01/08/10 09:56, Derrick Ryalls wrote:

After not getting daily system mails for a while, then suddenly
getting them, I took a closer look and noticed this message appears
after a boot:

+GEOM: ad4: corrupt or invalid GPT detected.
+GEOM: ad4: GPT rejected -- may not be recoverable.
+GEOM: label/disk1: corrupt or invalid GPT detected.
+GEOM: label/disk1: GPT rejected -- may not be recoverable.

label/disk1 should be the same thing as ad4, and it is part of a 4
disk raidz.
   


My guess it that ZFS overwrote the label. The two aren't very 
compatible, to the best of my knowledge.


--
Kirk Strauser

___
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


(SOLVED) Re: installing FreeBSD 8 on SSDs and UFS2 - partition alignment, block sizes, what does one need to know?

2010-01-15 Thread Dan Naumov
On Fri, Jan 15, 2010 at 6:38 PM, Rick Macklem rmack...@uoguelph.ca wrote:


 On Tue, 12 Jan 2010, Dan Naumov wrote:

 For my upcoming storage system, the OS install is going to be on a
 80gb Intel SSD disk and for various reasons, I am now pretty convinced
 to stick with UFS2 for the root partition (the actual data pool will
 be ZFS using traditional SATA disks). I am probably going to use GPT
 partitioning and have the SSD host the swap, boot, root and a few
 other partitions. What do I need to know in regards to partition
 alignment and filesystem block sizes to get the best performance out
 of the Intel SSDs?

 I can't help with your question, but I thought I'd mention that there
 was a recent post (on freebsd-current, I think?) w.r.t. using an SSD
 for the ZFS log file. It suggested that that helped with ZFS perf., so
 you might want to look for the message.

 rick

I have managed to figure out the essential things to know by know, I
just wish there was a single, easy to grasp webpage or HOWTO
describing and whys and hows so I wouldn't have had had to spend the
entire day googling things to get a proper grasp on the issue :)

To (perhaps a bit too much) simplify things, if you are using an SSD
with FreeeBSD, you:

1) Should use GPT

2) Should create the freebsd-boot partition as normal (to ensure
compatibility with some funky BIOSes)

3) All additional partitions should be aligned, meaning that their
boundaries should be dividable by 1024kb (that's 2048 logical blocks
in gpart). Ie, having created your freeebsd-boot, your next partition
should start at block 2048 and the partition size should be dividable
by 2048 blocks. This applies to ALL further partitions added to the
disk, so you WILL end up having some empty space between them, but a
few MBs worth of space will be lost at most.

P.S: My oversimplification was in that MOST SSDs will be just fine
with a 512 kb / 1024 block alignment. However, _ALL_ SSDs will be fine
with 1024 kb / 2048 block alignment.


- Sincerely,
Dan Naumov
___
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


library problems with sound-juicer

2010-01-15 Thread Marco Beishuizen


Hi,

When trying to portupgrade sound-juicer I get:

...
/usr/bin/ld: warning: libssl.so.5, needed by /usr/local/lib/libneon.so, 
may conflict with libssl.so.7

/usr/lib/libkrb5.so: undefined reference to `hx509_certs_init'
/usr/lib/libkrb5.so: undefined reference to `hx509_cert_get_serialnumber'
/usr/lib/libkrb5.so: undefined reference to 
`hx509_cert_find_subjectAltName_otherName'

/usr/lib/libkrb5.so: undefined reference to `hx509_certs_find'
/usr/lib/libkrb5.so: undefined reference to `hx509_verify_attach_anchors'
/usr/lib/libkrb5.so: undefined reference to `hx509_query_alloc'
/usr/lib/libkrb5.so: undefined reference to `hx509_get_error_string'
/usr/lib/libkrb5.so: undefined reference to `hx509_cms_unenvelope'
/usr/lib/libkrb5.so: undefined reference to `hx509_lock_add_password'
/usr/lib/libkrb5.so: undefined reference to `hx509_revoke_init'
/usr/lib/libkrb5.so: undefined reference to `hx509_verify_hostname'
/usr/lib/libkrb5.so: undefined reference to `hx509_cms_unwrap_ContentInfo'
/usr/lib/libkrb5.so: undefined reference to `hx509_prompt_hidden'
/usr/lib/libkrb5.so: undefined reference to `hx509_name_free'
/usr/lib/libkrb5.so: undefined reference to `hx509_cert_check_eku'
/usr/lib/libkrb5.so: undefined reference to `hx509_name_binary'
/usr/lib/libkrb5.so: undefined reference to `hx509_certs_append'
/usr/lib/libkrb5.so: undefined reference to `hx509_verify_destroy_ctx'
/usr/lib/libkrb5.so: undefined reference to `hx509_name_to_Name'
/usr/lib/libkrb5.so: undefined reference to `hx509_cms_wrap_ContentInfo'
/usr/lib/libkrb5.so: undefined reference to `hx509_cert_get_issuer'
/usr/lib/libkrb5.so: undefined reference to `hx509_free_octet_string_list'
/usr/lib/libkrb5.so: undefined reference to `hx509_certs_iter'
/usr/lib/libkrb5.so: undefined reference to `hx509_revoke_free'
/usr/lib/libkrb5.so: undefined reference to `hx509_cert_get_subject'
/usr/lib/libkrb5.so: undefined reference to `hx509_cert_free'
/usr/lib/libkrb5.so: undefined reference to `hx509_verify_attach_revoke'
/usr/lib/libkrb5.so: undefined reference to `hx509_get_one_cert'
/usr/lib/libkrb5.so: undefined reference to `hx509_verify_init_ctx'
/usr/lib/libkrb5.so: undefined reference to `hx509_revoke_add_crl'
/usr/lib/libkrb5.so: undefined reference to `hx509_context_free'
/usr/lib/libkrb5.so: undefined reference to `hx509_cms_create_signed_1'
/usr/lib/libkrb5.so: undefined reference to `hx509_name_is_null_p'
/usr/lib/libkrb5.so: undefined reference to `hx509_cms_verify_signed'
/usr/lib/libkrb5.so: undefined reference to `hx509_lock_free'
/usr/lib/libkrb5.so: undefined reference to 
`hx509_context_set_missing_revoke'

/usr/lib/libkrb5.so: undefined reference to `hx509_query_match_option'
/usr/lib/libkrb5.so: undefined reference to `hx509_query_free'
/usr/lib/libkrb5.so: undefined reference to `hx509_lock_init'
/usr/lib/libkrb5.so: undefined reference to 
`hx509_verify_set_proxy_certificate'

/usr/lib/libkrb5.so: undefined reference to `hx509_certs_free'
/usr/lib/libkrb5.so: undefined reference to `hx509_context_init'
/usr/lib/libkrb5.so: undefined reference to `hx509_lock_set_prompter'
/usr/lib/libkrb5.so: undefined reference to `hx509_crypto_available'
gmake[2]: *** [sound-juicer] Error 1
gmake[2]: Leaving directory 
`/usr/ports/audio/sound-juicer/work/sound-juicer-2.28.1/src'

...

There seems to be a problem with libssl.so.5, but why isn't libssl 
just being upgraded to libssl.so.7? Libkrb5.so seems broken too.


Has anyone else had this problem?

Thanks,
Marco

--
QOTD:
I want a home, a family, an occasional spanking ...
-- Kathy Ireland
___
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: any port use /dev/dsp directly?

2010-01-15 Thread Dan Nelson
In the last episode (Jan 14), Gary Kline said:
 On Thu, Jan 14, 2010 at 05:08:25PM -0600, Dan Nelson wrote:
  In the last episode (Jan 14), Gary Kline said:
   On Thu, Jan 14, 2010 at 03:19:47PM -0600, Dan Nelson wrote:
The sox port comes with its own play command that can parse many
containers and encodings, including wav files.
   
   I did see that.  I'm wondering of theses is some sox translation that
   would do say
   
   %sox -w WAV -r [rawoutfile]
  
  Certainly; file conversion is one of the basic purposes of sox. 
  Something like:
  
sox myfile.wav -b 16 -e signed -r 22050 -c 2 myfile.raw
  
  will convert the wav file (whatever its format is) to a signed 16-bit
  stereo raw file.  For raw files, you can also use special file
  extensions that specify the encoding (myfile.s16 for example, for a
  signed 16-bit file).  Adding -V3 to the beginning of the command will
  print the full input and output specs, plus the filter chain required to
  do the conversion (if any).  The sox and soxformat manpages are pretty
  comprehensive.
  
 
 yes, the man page is thorough, but almost unreadable, at least to me.  i
 found a tutorial with exaples that should the WAV to RAW conversion.  on
 my freebsd desktop, sox didn't like it.  it kept echoing the usage.

That is a bit annoying, yes, but right before the usage test, it should have
printed an error message saying what it didn't like about your commandline.
 
 on my ubuntu system, sox failed completely complaining that that it wasn't
 set for auto .  [?] I checked again here to see if sox as play would
 work, and it does.  so at least that much works.
 
 the error output escapes me.  doesn't the ``-r 22050'' specify the
 sampling rate?

Yes, but that was during the wav-raw conversion.  The sample rate wasn't
stored in the raw file, because raw files are just that: raw audio data,
with no headers indicating sampling rate for encoding format.  For the play
command to be able to handle a raw file, it needs to be told the rate and
format when it's run.
 
 play FAIL formats: bad input format for file `myfile.raw': sampling rate was 
 not specified

-- 
Dan Nelson
dnel...@allantgroup.com
___
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: Trying to build 8.0 Headless Installation Disk

2010-01-15 Thread Martin McCormick
Tim Judd writes:
 ^^^  mkisofs needs to have the boot record
 -b boot/cdboot -no-emul-boot

It works! Thank you.

Here is another question as I am still trying to reduce
the logistics of remotely rebuilding several FreeBSD systems.
The 8.0 CDROM uses mfs and opens up some interesting
possibilities. If one could get some sort of sshd server going
with password security, the install could be directed over the
network. No need to procure terminal servers which all agree are
a great idea to have but which never seem to get bought and
installed.

Is there a way to safely run the new installer from a
sshd server that one might start with? The idea would be to have
Disk 1 that starts sshd and a kernel. You get staff at the
remote end to remove Disk 1 and install Disk 2 which is the
CDROM containing the 8.0 installation. You then run sysinstall
and it works without clobbering your ssh  connection until time
to reboot.

The ultimate solution would be to have the installation
CDROM be capable of bringing up sshd with some sort of password
protection. Most systems these days have usb ports which may not
be  bootable, but one could stick a /etc/passwd file on a thumb
drive. When the OS saw it, it would use DHCP to get an address
and then start sshd. No usb drive or no floppy with a passwd
file on it, no network or sshd.

Thanks.

Martin McCormick
___
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


vi editing

2010-01-15 Thread gahn
Hi gurus:

I am trying to add a word on every line (right in front of every line) via vi. 
Right now I have:

x
x
x

after that, I want to have:

new word x
new word x
new word x

How could I do that with vi?


  
___
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: vi editing

2010-01-15 Thread J.D. Bronson

preface each line:

:%s/^/new word /g

--
J.D. Bronson
Information Technology
Aurora Health Care - Milwaukee WI
___
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: vi editing

2010-01-15 Thread Boris Samorodov
On Fri, 15 Jan 2010 07:37:49 -0800 (PST) gahn wrote:

 I am trying to add a word on every line (right in front of every line) via 
 vi. Right now I have:

 x
 x
 x

Type this:

:%s/^/new word /

 after that, I want to have:

 new word x
 new word x
 new word x

 How could I do that with vi?

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
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


Re: vi editing

2010-01-15 Thread Chad Perrin
On Fri, Jan 15, 2010 at 12:11:32PM -0600, J.D. Bronson wrote:
 preface each line:
 
 :%s/^/new word /g

The trailing g isn't needed because you only need one substitution on
each line.  Thus:

:%s/^/new word /

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgpHKscgdZrD2.pgp
Description: PGP signature


Re: vi editing

2010-01-15 Thread Mike Clarke
On Friday 15 January 2010, gahn wrote:

 Hi gurus:

 I am trying to add a word on every line (right in front of every
 line) via vi. Right now I have:

 x
 x
 x

 after that, I want to have:

 new word x
 new word x
 new word x

 How could I do that with vi?

:%s/^/new word/

-- 
Mike Clarke
___
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


linker error gnupg

2010-01-15 Thread Marco Beishuizen

Gnupg exits with the following error when portupgrading it:

...
gpg2keys_ldap-gpgkeys_ldap.o(.text+0xd09): In function `send_key':
: undefined reference to `ascii_isspace'
gmake[2]: *** [gpg2keys_ldap] Error 1
gmake[2]: Leaving directory 
`/usr/ports/security/gnupg/work/gnupg-2.0.14/keyserver'

gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/security/gnupg/work/gnupg-2.0.14'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/security/gnupg.
*** Error code 1

Stop in /usr/ports/security/gnupg.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade20100115-54677-16vn430-0 env UPGRADE_TOOL=portupgrade 
UPGRADE_PORT=gnupg-2.0.13 UPGRADE_PORT_VER=2.0.13 make

** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! security/gnupg (gnupg-2.0.13) (linker error)
...

Anyone an idea how to solve this?

Thanks,
Marco

--
A major, with wonderful force,
Called out in Hyde Park for a horse.
All the flowers looked round,
But no horse could be found;
So he just rhododendron, of course.
___
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: Trying to build 8.0 Headless Installation Disk

2010-01-15 Thread Tim Judd
Replies inline

On 1/13/10, Martin McCormick mar...@dc.cis.okstate.edu wrote:
 Tim Judd writes:
 ^^^  mkisofs needs to have the boot record
 -b boot/cdboot -no-emul-boot


 And as another option, you might look at mfsBSD, it runs off mfs (RAM)
 disks with sshd being enabled by default.  Once it boots (kernel
 starts probing), the cd can be ejected.

 This could be a game changer if I could somehow get the
 FreeBSD8.0 installation CD to run remotely via this method.

The install mediums are a basic freebsd kernel with a MFS-root that
provides a cut-down userland including the binary sysinstall.  The
kernel tries a few binaries to run as the initial binary, init.


The last item it will try to launch on startup is sysinstall.


   The problem is that some of the systems that I am
 upgrading are 150 miles away. We have people there who are not
 comfortable with Unix but who are certainly able to install and
 remove CDROM's on request. If I could get the sysinstall
 application to talk to me over the network, I don't care if it
 is a serial line or not.

You can run sysinstall over any connection, I've had it running on the
local console (of course), serial console, and ssh session.


   If we could get this down to 1 or two CD's, a major
 millstone will be removed from my neck.

   As a computer user who happens to be blind, the serial
 console is extremely useful and I usually make whatever version
 of FreeBSD  we are using in to a serial console disk so it comes
 up serial, even if it is right next to me. It just makes things
 go more smoothly if one doesn't have to hunt up a keyboard and
 hope this or that box still has a sounder so you can hear any
 beeps.

I'm surprised on how far braille has gotten onto computer systems.

   I have even put a portable radio on top of a server and
 listened for activity because that was the only way to tell if
 it was booting or in Lala Land. Just for the record, a steady
 sound usually means Lala Land and a sound like whales competing
 FOR territory and female attention means something is happening.

   Anyway, not needing to modify the installation disk,
 itself would be nice.

   In closing, I love FreeBSD and nothing said here is a
 gripe or complaint. FreeBSD is Unix and therefore accessible.
 Utilities like installation disks and rescue applications are
 always a little tricky because they deal with the system at a
 very low level.

 Martin McCormick WB5AGZ  Stillwater, OK
 Systems Engineer
 OSU Information Technology Department Telecommunications Services Group
 ___
 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-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


/etc/rc.d/program nice value

2010-01-15 Thread Nerius Landys
I'm running some programs using the /etc/rc.d/ and
/usr/local/etc/rc.d/ startup scripts.  I am wondering if there is some
standard way to run these programs at a higher nice value.
___
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: /etc/rc.d/program nice value

2010-01-15 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Nerius Landys wrote:
 I'm running some programs using the /etc/rc.d/ and
 /usr/local/etc/rc.d/ startup scripts.  I am wondering if there is some
 standard way to run these programs at a higher nice value.

Hi Nerius,

Check out the list of variables in /etc/rc.subr.  This should help you:

#   ${name}_nicen   Nice level to run ${command} at.

That means you can write this in your /etc/rc.conf file:

apache22_enable=YES
apache22_nice=10

Hope that helps,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFLULjv0sRouByUApARAv7zAJ4tbzuO/iixDQ4uXuko3eZV3vd3vQCgxS6A
+iD7qTmAyK5Dff6WWSihtY4=
=o29l
-END PGP SIGNATURE-

___
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: /etc/rc.d/program nice value

2010-01-15 Thread Nerius Landys
 That means you can write this in your /etc/rc.conf file:

 apache22_enable=YES
 apache22_nice=10

 Hope that helps,

Oh yes, that helps a lot.  Thanks!
___
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: vi editing

2010-01-15 Thread Giorgos Keramidas
On Fri, 15 Jan 2010 07:37:49 -0800 (PST), gahn ipfr...@yahoo.com wrote:
 Hi gurus:

 I am trying to add a word on every line (right in front of every line) via 
 vi. Right now I have:

 x
 x
 x

 after that, I want to have:

 new word x
 new word x
 new word x

 How could I do that with vi?

:%s/^/new word /

___
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: rdiff-backup-1.2.8 python2.5.4 : OverflowError: signed integer is greater than maximum

2010-01-15 Thread Mark Kane
On Fri, Jan 15, 2010, at 14:51:14 +0100, Michel Le Cocq wrote:
 I run rdiff-backup on my backup server:
 - FreeBSD 8.0-RELEASE AMD64
 - rdiff-backup-1.2.8,1
 - python25-2.5.4_3
 - be pro quad
 - 4G Ram
 
 I try to rdiff a folder on a nfs ro mounted volume to an other volume.
 
 I obtain this error : OverflowError: signed integer is greater than
 maximum
 
 I have the same problem as Brad Beyenhof see here :
 http://www.mail-archive.com/rdiff-backup-us...@nongnu.org/msg03794.html
 
 I know it's a know problem due to a bug in Python. And have to upgrad
 Python to 2.5.4 or 2.6.1.
 
 But I'm on python25-2.5.4_3 !!! and rdiff need python25 to run so I
 can't remove it for python26...
 
 What can I do to obtain my full backup ?
 
 Thanks

Hi.

I'm not familiar with the specific bug, but if you want to upgrade
Python from 2.5 to 2.6 that can be done by following the 20090608 entry
in /usr/ports/UPDATING. 

I also use rdiff-backup and can confirm that it works with Python 2.6.

Hope that helps,

-Mark

-- 
Internet Radio:
Party107 (Trance/Electronic) - http://www.party107.com

IRC:
MIXXnet IRC Network - irc.mixxnet.net (Nick: MarkK)
___
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


[audio] Why pcm audio signal can't be read back through pcm channel?

2010-01-15 Thread Yuri
I noticed that I can't record sound that comes from pcm channel. For 
example audacity only records my voice coming from mic, but doesn't 
record other person's voice that skype sends into pcm channel.

This used to work before. I look at mixer -- all channels are open.

Why pcm doesn't get sent back? Is there something wrong with mixer?

snd_es137x.ko is used:
pcm0: AudioPCI ES1370 port 0xec00-0xec3f irq 17 at device 1.0 on pci8
pcm0: es1370_wrcodec: timed out
pcm0: es1370_wrcodec: timed out
pcm0: es1370_wrcodec: timed out
pcm0: [ITHREAD]
pcm0: Playback: DAC1,DAC2 / Record: ADC

Yuri
___
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


Server set up

2010-01-15 Thread davidoweir3
Can i install free bsd on a Window's 98 machine and what do i need on the 
machine to set it up as a server and what software and hardware does it need 

___
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: Server set up

2010-01-15 Thread Sam Fourman Jr.
On Fri, Jan 15, 2010 at 12:12 PM,  davidowe...@yahoo.co.uk wrote:
 Can i install free bsd on a Window's 98 machine and what do i need on the 
 machine to set it up as a server and what software and hardware does it need

FreeBSD is a Operating System, Windows 98 is a Operating System.
Unless you take special measures to Dual Boot, you will end up with
only FreeBSD after you are done.

You should be aware that FreeBSD and Windows 98 use different
filesystems, so when you go to Install FreeBSD on your system it will
be looking to repartition your hard disk. You should take care to
backup your important data prior to installing FreeBSD.



Sam Fourman Jr.
Fourman Networks
___
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: Server set up

2010-01-15 Thread Chuck Swiger
On Jan 15, 2010, at 10:12 AM, davidowe...@yahoo.co.uk wrote:
 Can i install free bsd on a Window's 98 machine and what do i need on the 
 machine to set it up as a server and what software and hardware does it need 

FreeBSD is an operating system; you would run it instead of Windows, although 
if you have enough disk space, you could dual-boot between the two.  Read the 
fine documentation here:

  http://www.freebsd.org/about.html
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html

...which includes a discussion of hardware requirements and additional software 
which people commonly install.

Regards,
-- 
-Chuck

___
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: Server set up

2010-01-15 Thread Jerry
On Fri, 15 Jan 2010 18:12:53 +
davidowe...@yahoo.co.uk davidowe...@yahoo.co.uk articulated:

Can i install free bsd on a Window's 98 machine and what do i need on
the machine to set it up as a server and what software and hardware
does it need 

This might answer some of your questions:

http://www.freebsd.org/doc/en/books/handbook/

-- 
Jerry
ges...@yahoo.com

|===
|===
|===
|===
|

Winter is nature's way of saying, Up yours.

Robert Byrne
___
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


fsck failed to sync inodes

2010-01-15 Thread gahn
Hi gurus:

I booted the system into single user mode and tried to clean up one of my 
corrupted file system:

fsck -y /dev/ad1s1f

but in the end, the file system is still dirty. anything else I can do to 
salvage the data? 

Thanks in Advance


  
___
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: fsck failed to sync inodes

2010-01-15 Thread Adam Vande More
On Fri, Jan 15, 2010 at 2:27 PM, gahn ipfr...@yahoo.com wrote:

 Hi gurus:

 I booted the system into single user mode and tried to clean up one of my
 corrupted file system:

 fsck -y /dev/ad1s1f

 but in the end, the file system is still dirty. anything else I can do to
 salvage the data?

 Thanks in Advance


Run it again, fsck can require multiple runs to fix the issues.

-- 
Adam Vande More
___
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: fsck failed to sync inodes

2010-01-15 Thread Chuck Swiger
Hi--

On Jan 15, 2010, at 12:27 PM, gahn wrote:
 I booted the system into single user mode and tried to clean up one of my 
 corrupted file system:
 
 fsck -y /dev/ad1s1f
 
 but in the end, the file system is still dirty. anything else I can do to 
 salvage the data? 

You're not providing enough details to give specific advice.

If this filesystem is already mounted as /usr (which is the default mountpoint 
for an f partition), you might try booting from CD and running fsck from 
there to ensure that you are not trying to fsck a mounted filesystem.  If your 
hard drive is failing and fsck cannot fix issues because it can't write the 
changes to disk, you should attempt to copy the entire drive onto a replacement 
drive and fsck that instead.

Regards,
-- 
-Chuck

___
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: any port use /dev/dsp directly?

2010-01-15 Thread Gary Kline
On Fri, Jan 15, 2010 at 11:12:17AM -0600, Dan Nelson wrote:
 In the last episode (Jan 14), Gary Kline said:
  On Thu, Jan 14, 2010 at 05:08:25PM -0600, Dan Nelson wrote:

[[ ... ]]
   
 sox myfile.wav -b 16 -e signed -r 22050 -c 2 myfile.raw
   
   will convert the wav file (whatever its format is) to a signed 16-bit
   stereo raw file.  For raw files, you can also use special file
   extensions that specify the encoding (myfile.s16 for example, for a
   signed 16-bit file).  Adding -V3 to the beginning of the command will
   print the full input and output specs, plus the filter chain required to
   do the conversion (if any).  The sox and soxformat manpages are pretty
   comprehensive.
   
  
  yes, the man page is thorough, but almost unreadable, at least to me.  i
  found a tutorial with exaples that should the WAV to RAW conversion.  on
  my freebsd desktop, sox didn't like it.  it kept echoing the usage.
 
 That is a bit annoying, yes, but right before the usage test, it should have
 printed an error message saying what it didn't like about your commandline.
  
  on my ubuntu system, sox failed completely complaining that that it wasn't
  set for auto .  [?] I checked again here to see if sox as play would
  work, and it does.  so at least that much works.
  
  the error output escapes me.  doesn't the ``-r 22050'' specify the
  sampling rate?
 
 Yes, but that was during the wav-raw conversion.  The sample rate wasn't
 stored in the raw file, because raw files are just that: raw audio data,
 with no headers indicating sampling rate for encoding format.  For the play
 command to be able to handle a raw file, it needs to be told the rate and
 format when it's run.
  
  play FAIL formats: bad input format for file `myfile.raw': sampling rate 
  was not specified
 


Hm.  Well, once I'm further along in this stuff I'll ask your help
again.  I made more changes, happily advancing my project, just before
I threw in the towel and went to watch the news.  Spiders were gluing me
to the desk with their webs.  One immediate thought is that the -r
22050 may have been way too large since the WAV file is 8000Hz and
mono.  It is small as-is, but it wouldn't hurt to have it shrung by 
stripping off the header.

just a thought.


 -- 
   Dan Nelson
   dnel...@allantgroup.com
 ___
 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

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.79a release of Jottings: http://jottings.thought.org/index.php

___
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: Trying to build 8.0 Headless Installation Disk

2010-01-15 Thread Martin McCormick
Thank you. I will get one of those mfs-enabled 8.0 CD's and have
at it. All the boxes we need to upgrade have at least a gig of
RAM so this should be the answer.
Tim Judd writes:
 I'm surprised on how far braille has gotten onto computer systems.

Yes. I am sory that this is a bit off-topic, but there
is an open-source Braille translation software project. The kind
of Braille that true Braille readers read is called Grade 2
Braille. It might remind one of shorthand because the idea is to
pack as much information in to the available space as possible
since the size of a Braille symbol is relatively fixed because
the last time I checked, human fingers are still being made in
roughly the same size range that they have been made for  the
last 500,000 years or so.

There are symbols that stand for larger words or common
groups of letters such as er, ar, the and for and lots of rules
as to when to spell out those letters or use the symbol.
Generally, the symbol is used when it doesn't bridge syllables.

It can be computerized, but it is not trivial as some of
the decisions are based on context.

The same 6-dot Braille cell system has been adapted to
all the world's languages so there is Arabic Braille, Chinese
Braille with all the rules  that apply to that language.

I do not know this, but I imagine that the reading sense
of whether to read from left to right or right to left is
preserved for that language, also.

If an English Braille reader picked up a page of Braille
written in Arabic, for example, it would have the familiar feel
of Braille, but it would be totally incomprehensible, even
as to whether or not it was right side up.
___
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: Server set up

2010-01-15 Thread Jerry McAllister
On Fri, Jan 15, 2010 at 06:12:53PM +, davidowe...@yahoo.co.uk wrote:

 Can i install free bsd on a Window's 98 machine and what do i need on 
 the machine to set it up as a server and what software and hardware 
 does it need 

Sure you can install it on a machine running W98.
First a question:  Do you intend to continue running the W98 or
convert it completely to FreeBSD?

In the first case, it is called 'dual booting', meaning there are
more than one OSen on the machine and it can be booted to one or
the other at any given time.  So, it this case you would preserve
the W98 while installing FreeBSD.

In the second case you just wipe out the W98 and dedicate the 
whole machine to FreeBSD.

In general, the main thing you need is a compatible machine.  If
it has been successfully running W98, then it is most probably
a compatible machine.   

And you need enough space.
In spite of what the hot shots like to claim - they like to say it
can be run in a tiny minimal space - to run comfortably with any
of the recent versions of FreeBSD, Xwindows, a windows manager,
a reasonably feature-full web browser and an office package -
most probably OpenOffice, you need at least 512 MBytes memory
and 20 GBytes of disk.   You would be happier with double the 
memory and at least 3 or 4 times the disk or more.   Sure it can
be done with less, but we are talking comfort here, not running
embedded systems or being out to prove something.

Of course, if you plan to dual boot FreeBSD along with the existing
installation of W98, then you need enough disk for both of them.
Probably 20 Gbytes each as a minimum.  More is nicer.

Although it is possible to get away without one, it is much easier
nowdays if you have a CD or DVD reader (and burner if possible).
Otherwise you are stuck with needing a floppy drive (USB is OK).
The CD or DVD drive needs to be bootable.  You may have to go in
to BIOS and set it to be bootable.  Also make it higher in the
boot list than the hard disk.

If you want to dual boot, then you will need to acquire a utility
that will allow you to shrink down the W98 portion of the disk
to make room for FreeBSD.   There are several available, both for
a price and free.   The most common one to buy is Partition Magic.
I have used that successfully until I came to dividing a USB disk
and it failed on that.   It has some other quirks and limits too.

The most common free one is gparted which you can download and
burn to a CD from the net.  Just do a Google search for it.
There are other free ones.  Two limited ones come with FreeBSD.

I don't remember back to W98.  Does it use NTFS file system type?
It the Windos file system is of type NTFS, most of the free partition
utilities will not work.I think that gparted is supposed to,
but I haven't tried it on that.   

Partition Magic does work on NTFS.  That is the main reason I have paid 
the money to get it.   But, if you can get it, buy the Version 7 of PM.
It is better, in my experience, than Version 8.   In fact, when I got 
version 8 - because it was advertised to work on USB disks - I ended 
up sending it back for a refund.  Not only did it NOT work on USB, but 
some other things I don't remember now were less or not functional 
that worked [better] in Version 7.

If you get either Partition Magic or gparted, make a bootable media
for them.   For PM it seems to want to be on Floppy.   gparted could
make a bootable CD.   You need to run from that media rather than the
main disk because you will be working on that main disk.

Boot up the utility and squeeze down the W98 primary partition to
make room for another primary partiton.   Then have the utility make
a _primary_ partition in the newly emptied space.   The utilities will
complain about there being two primary partitions and want to make one
of them in to an extended one, but stick with primary partition and
ignore their complaints.   It has to be a primary to be bootable.  Later
W98 will just ignore it anyway.   I think you also have to designate it
as a FAT32 type for the utility, though that becomes irrelevant after
FreeBSD acts on it.   So, if it insists on a type, give it FAT32.  If
it asks, but doesn't force a selection, ignore it.   I can't remember
if it forces a selection or not.

Some systems have two primary partitions already - one that the hardware 
vendor puts there with maintenance utilities.  They make that hidden 
from Windows stuff (but it will be seen by FreeBSD).   The other will be
the W98 installation.   In that case, FreeBSD will go in to a third
primary partition.



Once you have that all done with the disk successfully modified,
then you are ready for the FreeBSD install.   

If you are not going to preserv the W98 (probably the better choice
since W98 is lousy and obsolete) then just skip all that stuff
about Partition Magic and gparted above and continue from here.

Download and burn the FreeBSD install ISO disk 1 just according to
the Handbook.   Choose the latest 

Re: Dislike the way port conflicts are handled now

2010-01-15 Thread Craig Whipp


On Jan 15, 2010, at 9:44 AM, Kirk Strauser wrote:

Until recently, it seems like port dependencies were handled at  
installation time. Lately, they're handled any time I try to do  
anything with a port. I absolutely detest the new behavior. Example  
cases:


OLD WAY:

$ cd /usr/ports/something/foo22
$ make
$ pkg_delete foo21-2.1
$ make install

NEW WAY

$ cd /usr/ports/something/foo22
$ make
===  foo22 conflicts with installed package(s): foo21-2.1
$ make fetch
===  foo22 conflicts with installed package(s): foo21-2.1
$ curse --type=copious
$ pkg_delete foo21-2.1
$ make install

This isn't just a hypothetical pain in the butt. An example was  
being unable to build databases/mysql51-client because mysql- 
client-5.0.something was installed. I understand not being able to  
*install* it, but to be prevented from *building* it? In most  
circumstances, I want to be able to delete the old package and  
install the new one with minimal downtime. As another example, can  
you imagine not being able to even run make fetch on something  
huge like OpenOffice until you uninstalled the old version?


In the mean time, I've been editing the port's Makefile to remove  
the CONFLICTS line long enough to finish building. That's not very  
helpful for those ports that don't actually build until you run  
make install, but at least I can get the distfile download out of  
the way.

--

Kirk Strauser



I agree.  I've found that this can interfere with portmaster's -o  
option, used to replace an installed port with one of a different  
origin.  In my case, databases/mysql41-server with databases/mysql55- 
server.


- Craig

___
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


Problem w/ mysql extension installation

2010-01-15 Thread jaymax

phpmyadmin requires the mysql extension which is apparently not included in
the mysql54 ports

Installing it from 
/usr/ports/databases/php5-mysql ==


---
---
---
In file included from /usr/local/include/php/main/../main/php_config.h:2839,
 from /usr/local/include/php/Zend/zend_config.h:1,
 from /usr/local/include/php/Zend/zend.h:53,
 from /usr/local/include/php/main/php.h:34,
 from
/usr/ports/databases/php5-mysql/work/php-5.2.12/ext/mysql/php_mysql.c:32:
/usr/local/include/php/ext/php_config.h:1:30: error: ext/mysql/config.h: No
such file or directory
*** Error code 1
1 error
*** Error code 1

Stop in /usr/ports/databases/php5-mysql.


Indeed /usr/local/include/php/ext/mysql/config.h is not present!

Should this have been installed with the mysql installation or from a
dependency?

How can I correct this ?

Thanks!


-- 
View this message in context: 
http://old.nabble.com/Problem-w--mysql-extension-installation-tp27184350p27184350.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

___
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: GELI file systems unusable after glabel label operations

2010-01-15 Thread Roland Smith
On Fri, Jan 15, 2010 at 01:25:50AM -0600, Scott Bennett wrote:
 
  It has been a long time since I created those GELI partitions, but I
 think I used the geli init -K keyfilename /dev/daXsYP, where P is the
 partition identifier in slice Y of drive X.  What I did when I screwed the
 pooch on this was of the form glabel label fsname /dev/daXsYP, which I had
 thought would produce a /dev/label/fsname device and that doing a geli 
 attach
 afterward would produce a /dev/label/fsname.eli device.

You could have done two things to create a nested label/geli configuration;

1) Create a labeled device from /dev/daXsYP, which would yield /dev/label/foo,
   then create a geli device _on the labeled device_, creating
   /dev/label/foo.eli. This will work because the labeled device will be one
   sector shorter than the raw da device. The .eli device will be yet another
   sector shorter, leaving two adjacent metadata sectors for the nested
   providers. This is the key point.

2) Create the geli device /dev/daXsYP.eli, and then create a label on that,
   yielding /dev/label/bar. [not sure what the utility of this is, since the
   label will only appear after the geil provider has been attached]

The first one seems most useful for things like automatic mounting.

 Check /var/backups. There should be *.eli files there. Those are the automa=
 tic
 
  No joy. :-(
 
 metadata backups that 'geli init' makes (at least in 8.0). You can restore
 those backups with 'geli restore'.
 
  Those must be new in 8.0.  I don't see any in 7.2, just {aliases,group,
 master.passwd}.bak{,2} in /var/backups.

Probably. I didn't see them when I was running 7.2, and I only noticed it in
the 8.0 manpage.

 Running 'geli init' again with the same parameters will not work, because
 'geli init' uses a random component in the key generation. In other words, =
 two
 inits with the same password will not generate the same key!
 
  Is there some way to recover using the existing key files, which I do
 still have?  And of course, I do know the passphrases.

Not as I read the geli source. It _always_ uses arc4rand to generate a random
salt for the key during 'init'. Read the function 'static void eli_init(struct
gctl_req *req)' in /usr/src/sbin/geom/class/eli/geom_eli.c. This means that
subsequent 'geli init' calls with the same password or keyfile will still
yield a different key. I'm afraid your data is lost.

You should always make a backup before playing with filesystems. Most people
learn this the hard way, although I realize that this is small consolation.

 What you should have done (for future refrence) is use geli(8) to create the
 encrypted device, then create a filesystem on that encrypted device with
 newfs(8) using the '-L' flag to set the volume name. Or use tunefs(8) to set
 the volume name later. These names will be automatically recognized next ti=
 me
 you attach it and listed in /dev/ufs/.
 
  Thank you for that information.  If only it had been laid out that way
 in the man page of the handbook when I read it before starting on the labeling
 procedure...sigh.

It _is_ listed in the glabel manpage, at least in 8.0. 

And I think that the proper way to nest geoms is too obvious (at least for the
developers/maintainers) to explicitly list in the handbook. If you know that
geoms store metadata in their last sector, the proper way to nest them is to
use the different devices for each geom stage, so that each has their own
metadata sector.

Procedure #1 that I outlined above should be easier to automate, should you
want to,  because you can then just use 'geli init /dev/label/foo'.

As of 7.2, each UFS filesystem automatically has an unique file system id that
is automatically created during boot in /dev/ufsid. These labels are unique
and do not change. You can use those to mount these filesystems. See §19.6 in
the latest version of the Handbook.

  I have a new 1 TB drive that I will soon connect to the system and begin
 creating file systems.  I will make gzipped image files with dd(1) of the
 damaged partitions and store them on the new drive for a while in case a
 workable idea turns up.

Since the partitions are encrypted, don't bother with gzip. Encrypted data is
pretty close to random noise. No compression program can compress that vey
much. With the gzip header, it might even become bigger.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpT6c9Yiukp2.pgp
Description: PGP signature


Re: /etc/rc.d/program nice value

2010-01-15 Thread RW
On Fri, 15 Jan 2010 13:50:23 -0500
Greg Larkin glar...@freebsd.org wrote:


 Nerius Landys wrote:
  I'm running some programs using the /etc/rc.d/ and
  /usr/local/etc/rc.d/ startup scripts.  I am wondering if there is
  some standard way to run these programs at a higher nice value.
 
 Hi Nerius,
 
 Check out the list of variables in /etc/rc.subr.  This should help
 you:
 
 #   ${name}_nicen   Nice level to run ${command} at.

That will work if the script lets  /etc/rc.subr start the daemon. If
it implements its own start function then ${name}_nice will have to be
explicitly supported by the script - not all do that unfortunately.

___
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: geli problem (???)

2010-01-15 Thread Dominik Ernst
On Fri, 15 Jan 2010 12:18:57 +0200
Angelin Lalev lalev.ange...@gmail.com wrote:

 I have Intel DG45ID + Core2 machine with USB keyboard and I want to
 use geom_eli to encrypt my entire freebsd partition.
 My FreeBSD version is freebsd 8.0p2, my Drive is SATA and I have USB
 keyboard and mouse. I intend to boot via USB flash disk and attach the
 partition at boot.
 Everything works as described in the documentation, except for a nasty
 problem. When I try to attach my encrypted partition at boot, it seems
 that my enter key on the keyboard gets stuck and keep sending LF to my
 console continuously. The keyboard and the key though are 100% ok
 (tested on windows).
 I'm not getting this problem when I use geli to attach the partition
 after boot, only at boot time (geom_eli_load=YES in loader.conf).
 
 I'm not quite sure that the problem isn't the USB keyboard itself or
 to be more exactly the USB support for that keyboard. For example when
 I go to mountroot prompt (screwed fstab) I can't type a thing.
 ___
 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

Hi, 

I had the same symptoms with a USB keyboard and the geli prompt.
However it seems to be fixed in 8.0-STABLE. If you didnt compile your
own world/kernel try running freebsd-update. Otherwise or if that didnt
help try building kernel and/or world from the stable sources. 
As a workaround it helped for me using either a PS/2 keyboard or a
PS/2-USB-adapter.

Cheers

___
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: Server set up

2010-01-15 Thread Kevin Kinsey

Jerry McAllister wrote:


Of course, if you plan to dual boot FreeBSD along with the existing
installation of W98, then you need enough disk for both of them.
Probably 20 Gbytes each as a minimum.  More is nicer.

If you want to dual boot, then you will need to acquire a utility
that will allow you to shrink down the W98 portion of the disk
to make room for FreeBSD.   There are several available, both for
a price and free.   The most common one to buy is Partition Magic.
I have used that successfully until I came to dividing a USB disk
and it failed on that.   It has some other quirks and limits too.

The most common free one is gparted which you can download and
burn to a CD from the net.  Just do a Google search for it.
There are other free ones.  Two limited ones come with FreeBSD.

I don't remember back to W98.  Does it use NTFS file system type?
It the Windos file system is of type NTFS, most of the free partition
utilities will not work.I think that gparted is supposed to,
but I haven't tried it on that.   


NTFS comes with NT versions of Windows, that is, NT, Windows 2000,
and everything since then.  W95 and W98 used FAT filesystems.  Fat32
was the default for Win98 IIRC.

KDK
___
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: Server set up

2010-01-15 Thread davidoweir3

I will be deleting the Window's stuff on the machine 

How would i SSH to the Linux pc and what software should i install

I was going to install mySQL and apache plus PHP + tomcat and webmin and do i 
need to install bandmin and Email's software like Thunderbird and openoffice 
and i have it on a USB 

for ram and disk space how do i see how much i have on my machine and were do i 
download free bsd from

___
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: Server set up

2010-01-15 Thread Gary Gatten
Did you just refer to BSD as Linux?  Oh boy, get ready for some flames!

- Original Message -
From: owner-freebsd-questi...@freebsd.org owner-freebsd-questi...@freebsd.org
To: freebsd-questions@freebsd.org freebsd-questions@freebsd.org
Sent: Fri Jan 15 16:37:09 2010
Subject: Re: Server set up


I will be deleting the Window's stuff on the machine 

How would i SSH to the Linux pc and what software should i install

I was going to install mySQL and apache plus PHP + tomcat and webmin and do i 
need to install bandmin and Email's software like Thunderbird and openoffice 
and i have it on a USB 

for ram and disk space how do i see how much i have on my machine and were do i 
download free bsd from






font size=1
div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 
1.0pt 0in'
/div
This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system.
/font

___
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

Newbie gmirror questions

2010-01-15 Thread Mike Clarke

I'm about to upgrade to more disk space and I'm tempted use this as an 
opportunity to get two disks and implement gmirror. Before I go ahead 
there's a few aspects of mirroring I'm not sure about and would 
appreciate some advice.

I'm using grub for multi booting. Does this introduce any problems if I 
want to boot into Windows or Linux on one of the other partitions?

The gmirror manpage describes the procedure for handling kernel dumps 
using the prefer balance algorithm in the early stages of booting and 
then switching to round-robin in the /etc/rc.local script. It then goes 
on to say that If on the next boot a component with a higher priority 
will be available, the prefer algorithm will choose to read from it and 
savecore(8) will find nothing. Does this only arise if I've made some 
change to the configuration of the mirror between the dump and the 
reboot or is there some instances when the priority automatically 
changes?

Some of the articles I've read about gmirror suggest setting the balance 
to round-robin while others just leave this at the default setting of 
split. Am I right in assuming that round-robin would give better 
performance, and does it make much noticeable difference in real terms. 
In particular am I likely to see a reduction in performance using 
gmirror compared with what I would get with just a normal single disk.

Finally, recent articles say to set kern.geom.debugflags to 17 when 
creating a mirror on a mounted drive while older articles say to set it 
to 16. Although I'll probably be creating the mirror on my disks before 
copying my system onto them so I don't really need to worry about 
setting this flag but I'm curious to know the difference between using 
the two values.

-- 
Mike Clarke
___
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: Server set up

2010-01-15 Thread Jerry McAllister
On Fri, Jan 15, 2010 at 04:34:17PM -0600, Kevin Kinsey wrote:

 Jerry McAllister wrote:
 
 Of course, if you plan to dual boot FreeBSD along with the existing
 installation of W98, then you need enough disk for both of them.
 Probably 20 Gbytes each as a minimum.  More is nicer.
 
 The most common free one is gparted which you can download and
 burn to a CD from the net.  Just do a Google search for it.
 There are other free ones.  Two limited ones come with FreeBSD.
 
 I don't remember back to W98.  Does it use NTFS file system type?
 It the Windos file system is of type NTFS, most of the free partition
 utilities will not work.I think that gparted is supposed to,
 but I haven't tried it on that.   
 
 NTFS comes with NT versions of Windows, that is, NT, Windows 2000,
 and everything since then.  W95 and W98 used FAT filesystems.  Fat32
 was the default for Win98 IIRC.

Probably right.  Sounds likely.

jerry


 
 KDK
 ___
 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-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: Server set up

2010-01-15 Thread Jerry McAllister
On Fri, Jan 15, 2010 at 10:37:09PM +, davidowe...@yahoo.co.uk wrote:

 
 I will be deleting the Window's stuff on the machine 

OK.   Good idea.

 
 How would i SSH to the Linux pc and what software should i install
 
What Linux pc?
Anyway, FreeBSD base system inclused SSH.

 I was going to install mySQL and apache plus PHP + tomcat and webmin and 
 do i need to install bandmin and Email's software like Thunderbird and 
 openoffice and i have it on a USB 

I don't know what bandmin is.

I use sendmail for my MTA.  For an Email reader  I actually use MUTT -- an 
older text based Email program.  It is easier to handle large amounts of 
Email than the graphics oriented readers.   Depends on where your Email 
comes to and lives.  If it will come to and originate on the FreeBSD system, 
you can use the default sendmail that comes with it for your MTA and whatever
you want for the reader/composer.   If you really read and compose your 
Email on another machine like your ISP or on gmail or yahoo and access it 
with a browser, you don't actually need an Email reader utility.   Although
it is  useful to have one that will work with your browser for those times
you want to click on one of those 'sendto' Email links in a web page.

You don't need openoffice for Email, but it is good for wordprocessing
and spreadsheets and stuff like that.

 
 for ram and disk space how do i see how much i have on my machine 

If you have W98 running on it I think you fish around in your control
panel page or my computer or something like that.

If you have alread wiped W98 and can boot the install disk, you 
can look at the boot messages.


   and 
 were do i download free bsd from
 

I think you need to go to the FreeBSD web site  www.freebsd.org  and
start reading.   It is all there and more, especially including where
to get the ISO files for downloading and how to do the install.

jerry
 

 ___
 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-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


OOo question.....

2010-01-15 Thread Gary Kline

this may be offtopic but it does deal with our OO.org port.
a friend sent me a very nice slideshow in powerpoint format.  I've
saved it (and the original) somewhere in the evolution directory so all
the photos are safe.  first question is: can I save an individial image
using Openoffice?

Second q is howto use them for my desktop backgrounds in KDE since,
upon rebuild and relaunch, everything is black.   the first question is
howto save a separate image?  or are there other tools to do this?
[neither xv nor gv work]

tia,

gary



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.79a release of Jottings: http://jottings.thought.org/index.php

___
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: GELI file systems unusable after glabel label operations

2010-01-15 Thread cpghost
On Fri, Jan 15, 2010 at 01:25:50AM -0600, Scott Bennett wrote:
 Check /var/backups. There should be *.eli files there. Those are the automa=
 tic
 
  No joy. :-(
 
 metadata backups that 'geli init' makes (at least in 8.0). You can restore
 those backups with 'geli restore'.
 
  Those must be new in 8.0.  I don't see any in 7.2, just {aliases,group,
 master.passwd}.bak{,2} in /var/backups.

[No help here, just a me-too...]

I can confirm this: no metadata of GELI partitions generated on
RELENG_7 were saved in /var/backups, but GELI partitions created
since RELENG_8 were!

I've noticed this by chance with geli init on an external disk, and
thought that geli init would only create metadata backup automatically
for disks that are not the same than the one hosting /var/backups (for
obvious reasons, i.e. when you want to quickly destroy a key, and for-
getting to wipe out the metadata backup).

Apparently, it was the version bump, and not the different disks. Good
to know indeed.

Would a geli backup on those old RELENG_7 GELI partitions (or rather
provider partitions) have the same effect as a RELENG_8-style geli init
to get those metadata files? Maybe /usr/src/UPDATING should contain a
little hint for those of us with old GELI partitions without auto-backups
of metadata?

  I have a new 1 TB drive that I will soon connect to the system and begin
 creating file systems.  I will make gzipped image files with dd(1) of the
 damaged partitions and store them on the new drive for a while in case a
 workable idea turns up.

I feel your pain (having lost some data in a similar scenario while
experimenting with glabel on geli partitions, but not as much as you).

There should really be a big obvious warning in the glabel(8) and
geli(8) man pages, because that's a big trap waiting to spring on
unsuspecting users (POLA violation). :-(

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
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: Re: Server set up

2010-01-15 Thread Jerry McAllister
On Sat, Jan 16, 2010 at 12:40:12AM +, davidowe...@yahoo.co.uk wrote:

 Bandmin is for cranewitch 

Whatever that is.  I haven't heard of that either.

 
 Were can i get a free or cheap email exchange from 

???   You mean the software or some service?

 
 If i am going to make the machine for yeahosting use what software do i 
 need to install and is free bsd a forum of unix or Linux

You really need to get on the FreeBSD web site and start reading.
It has all the information there and links to even more discussions.
Learn to use Google.

You cannot expect people on the list to do all your homework for you.
You have to learn this stuff and then ask questions about the parts
you have trouble with.This stuff is already written up.   We
should not have to write it all again.

FreeBSD is a BSD family UNIX.   Now look up what that means.

 And what bit do you recommend and i have a external hard drive also for 
 that pc and this one for more storage

  Huh - what bit???

 
 Do i need to install apache and PHP and tomcat plus Ajax + pythan 
 

Only if you need them.   I have never had need for tomcat or python
or Ajax, but use Apache httpd web server a lot and some PHP.
You need to think out what you are doing, study up on it and then
do some experimenting.   Since you plan to wipe that W98 machine 
and start over on it, then you can easily read and experiment and
restart several times without any loss.   Then you can learn it well.

Have fun,

jerry
  
___
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: Server set up

2010-01-15 Thread Chad Perrin
On Fri, Jan 15, 2010 at 04:34:17PM -0600, Kevin Kinsey wrote:
 
 NTFS comes with NT versions of Windows, that is, NT, Windows 2000,
 and everything since then.  W95 and W98 used FAT filesystems.  Fat32
 was the default for Win98 IIRC.

I know a lot of MS Windows users like to pretend WinME never existed, but
I like to think those of us in the FreeBSD community take a more honest
look at the world.  Thus, for the sake of clarity:

NTFS comes with NT versions of Windows -- that is, WinNT, Win2K, WinXP,
and everything since then.  Win95, Win98, and WinME used FAT filesystems.

I wouldn't want anyone to make some kind of grave error involving the
assumption that WinME used NTFS. . . .

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgpDYoBXwJP9c.pgp
Description: PGP signature


Re: Server set up

2010-01-15 Thread Sam Fourman Jr.
On Fri, Jan 15, 2010 at 4:37 PM,  davidowe...@yahoo.co.uk wrote:

 I will be deleting the Window's stuff on the machine

 How would i SSH to the Linux pc and what software should i install

one of the first things you should understand is FreeBSD is Not Linux
___
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: Server set up

2010-01-15 Thread Rolf Nielsen

On 2010-01-16 02:42, Sam Fourman Jr. wrote:

On Fri, Jan 15, 2010 at 4:37 PM,davidowe...@yahoo.co.uk  wrote:


I will be deleting the Window's stuff on the machine

How would i SSH to the Linux pc and what software should i install


one of the first things you should understand is FreeBSD is Not Linux
___
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





Many believe FreeBSD is Unix (and many would say that it really is, in 
all respects but its name, however that isn't the issue here). Moreover, 
I've got the impression lots of people truly believe Linux is just 
another name for Unix. And I do know for a fact that there are people 
who even believe Unix is another name for Linux.


With such ideas, I guess it's easy to assume FreeBSD is just another 
Linux distro. Isn't it time we try to correct this? I try to do my part 
in that respect, by explaining to anyone who says, Oh, you're running 
Linux? that there is a difference. And that the difference matters. It 
may not matter to them. But it does matter to me. And I think it matters 
to most FreeBSD users. And I also believe it actually matters to Linux 
users, at least the more serious ones.

___
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: Server set up

2010-01-15 Thread Kaya Saman








Many believe FreeBSD is Unix (and many would say that it really is, in 
all respects but its name, however that isn't the issue here). 
Moreover, I've got the impression lots of people truly believe Linux 
is just another name for Unix. And I do know for a fact that there are 
people who even believe Unix is another name for Linux.


BSD is a UNIX like OS.. developed way back when by Berkley 
university in the US. Can't remember the dates but for that there's 
Google! In fact Wikipedia has a great tree diagram showing the 
origination of UNIX.


Anyhow UNIX was developed at the end of the 60s by Bell Labs who back 
then was part of ATT in the US. But had many bugs and quirks and so a 
not-like-UNIX mode was developed according to my Cisco CCNA lecturer who 
was lecturing at university way before even then.


FreeBSD is now an offshoot of BSD and one of a few within the family 
tree but is it's own take on BSD.




With such ideas, I guess it's easy to assume FreeBSD is just another 
Linux distro. Isn't it time we try to correct this? I try to do my 
part in that respect, by explaining to anyone who says, Oh, you're 
running Linux? that there is a difference. And that the difference 
matters. It may not matter to them. But it does matter to me. And I 
think it matters to most FreeBSD users. And I also believe it actually 
matters to Linux users, at least the more serious ones.

___
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



Linux is just a kernel with lots of GPL and GNU software strapped to it 
developed by Linuz Torvalds back I'm sure it was 83 or perhaps was 
discussed back then. The first Linux distro to come out was back in ~93.


Just to add without going completely off topic; there are many UNIX-like 
OS's available today including: BSD, Solaris, Linux, AIX, HP-UX and one 
of yesteryear called IRIX developed by Silicon Graphics.


Back on to topic now ;)

First work out what you want to use; Linux or FreeBSD then after you 
have decided start to learn it as it is extremely different from the M$ 
world and if used in its most raw sense involves no graphical interface 
or point-click nonsense!


I would recommend using FreeBSD on old outdated h/w as the Linux kernel 
can be a bit heavy wrapped around a distro as vibrant as Fedora, or 
Debian and similar. That is without custom building kernels and packages 
specifically designed for the system in question. Although you would do 
this if using an embedded system as pointed out previously or if needing 
some very specific non-generic purpose.


Just remember now that you have entered into the UNIX world that Google 
is your only friend and although there are many people on various lists 
and forums who can help and assist, they will not be pleased or welcome 
someone who has failed to use the main basic rule of any thing. As if it 
can't be Googled it most likely 99.9% doesn't exist!!!


Regards,

Kaya
___
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:Re: Server set up

2010-01-15 Thread davidoweir3
Bandmin is for cranewitch 

Were can i get a free or cheap email exchange from 

If i am going to make the machine for yeahosting use what software do i need to 
install and is free bsd a forum of unix or Linux

And what bit do you recommend and i have a external hard drive also for that pc 
and this one for more storage

Do i need to install apache and PHP and tomcat plus Ajax + pythan ___
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: Server set up

2010-01-15 Thread Rolf Nielsen

On 2010-01-16 03:44, Kaya Saman wrote:








Many believe FreeBSD is Unix (and many would say that it really is, in
all respects but its name, however that isn't the issue here).
Moreover, I've got the impression lots of people truly believe Linux
is just another name for Unix. And I do know for a fact that there are
people who even believe Unix is another name for Linux.


BSD is a UNIX like OS.. developed way back when by Berkley
university in the US. Can't remember the dates but for that there's
Google! In fact Wikipedia has a great tree diagram showing the
origination of UNIX.

Anyhow UNIX was developed at the end of the 60s by Bell Labs who back
then was part of ATT in the US. But had many bugs and quirks and so a
not-like-UNIX mode was developed according to my Cisco CCNA lecturer who
was lecturing at university way before even then.

FreeBSD is now an offshoot of BSD and one of a few within the family
tree but is it's own take on BSD.



With such ideas, I guess it's easy to assume FreeBSD is just another
Linux distro. Isn't it time we try to correct this? I try to do my
part in that respect, by explaining to anyone who says, Oh, you're
running Linux? that there is a difference. And that the difference
matters. It may not matter to them. But it does matter to me. And I
think it matters to most FreeBSD users. And I also believe it actually
matters to Linux users, at least the more serious ones.
___
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



Linux is just a kernel with lots of GPL and GNU software strapped to it
developed by Linuz Torvalds back I'm sure it was 83 or perhaps was
discussed back then. The first Linux distro to come out was back in ~93.

Just to add without going completely off topic; there are many UNIX-like
OS's available today including: BSD, Solaris, Linux, AIX, HP-UX and one
of yesteryear called IRIX developed by Silicon Graphics.

Back on to topic now ;)

First work out what you want to use; Linux or FreeBSD then after you
have decided start to learn it as it is extremely different from the M$
world and if used in its most raw sense involves no graphical interface
or point-click nonsense!

I would recommend using FreeBSD on old outdated h/w as the Linux kernel
can be a bit heavy wrapped around a distro as vibrant as Fedora, or
Debian and similar. That is without custom building kernels and packages
specifically designed for the system in question. Although you would do
this if using an embedded system as pointed out previously or if needing
some very specific non-generic purpose.

Just remember now that you have entered into the UNIX world that Google
is your only friend and although there are many people on various lists
and forums who can help and assist, they will not be pleased or welcome
someone who has failed to use the main basic rule of any thing. As if it
can't be Googled it most likely 99.9% doesn't exist!!!

Regards,

Kaya





Hi Kaya,

Firstly, just for clarity, I do know all of that, and the original 
poster of this thread is the one you CC'ed.


Secondly (also just for clarity, I guess), most of your post is OT, as 
it is basically a reply to my post, and my post was OT as it was simply 
a reaction to the original poster's mistake of saying Linux and meaning 
FreeBSD.


Cheers,

Rolf Nielsen

P.S. No, I'm not trying to be a smart arse. ;)
___
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: Server set up

2010-01-15 Thread Kaya Saman




Hi Kaya,

Firstly, just for clarity, I do know all of that, and the original 
poster of this thread is the one you CC'ed.


Secondly (also just for clarity, I guess), most of your post is OT, as 
it is basically a reply to my post, and my post was OT as it was 
simply a reaction to the original poster's mistake of saying Linux and 
meaning FreeBSD.


Cheers,

Rolf Nielsen

P.S. No, I'm not trying to be a smart arse. ;)
___
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


Hi Rolf,

it's cool :-) I know you knew all that but just wanted to take it a bit 
further that's all...


Please don't worry about who I sent or cc'd to as for me it was just 
about sending the message out.


Thanks for the OTT warning was just trying to clarify and extend.

Sorry it's been a while since I've been on the front foot in mailing 
lists and forums for a while as I personally have taken a back seat 
while trying to learn many new things. I really wasn't trying to get in 
the way but just build on.


Anyway, call it a simple miscommunication on my behalf - as long as it 
helps the OP as that was what it was designed and intended to do!!!


Regards,

Kaya

___
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: Dislike the way port conflicts are handled now

2010-01-15 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Craig Whipp wrote:
 
 On Jan 15, 2010, at 9:44 AM, Kirk Strauser wrote:
 
 Until recently, it seems like port dependencies were handled at
 installation time. Lately, they're handled any time I try to do
 anything with a port. I absolutely detest the new behavior. Example
 cases:

 OLD WAY:

 $ cd /usr/ports/something/foo22
 $ make
 $ pkg_delete foo21-2.1
 $ make install

 NEW WAY

 $ cd /usr/ports/something/foo22
 $ make
 ===  foo22 conflicts with installed package(s): foo21-2.1
 $ make fetch
 ===  foo22 conflicts with installed package(s): foo21-2.1
 $ curse --type=copious
 $ pkg_delete foo21-2.1
 $ make install

 This isn't just a hypothetical pain in the butt. An example was being
 unable to build databases/mysql51-client because
 mysql-client-5.0.something was installed. I understand not being able
 to *install* it, but to be prevented from *building* it? In most
 circumstances, I want to be able to delete the old package and install
 the new one with minimal downtime. As another example, can you imagine
 not being able to even run make fetch on something huge like
 OpenOffice until you uninstalled the old version?

 In the mean time, I've been editing the port's Makefile to remove the
 CONFLICTS line long enough to finish building. That's not very helpful
 for those ports that don't actually build until you run make
 install, but at least I can get the distfile download out of the way.
 -- 

 Kirk Strauser

 
 I agree.  I've found that this can interfere with portmaster's -o
 option, used to replace an installed port with one of a different
 origin.  In my case, databases/mysql41-server with
 databases/mysql55-server.
 
 - Craig

This change was based on a recent PR
(http://www.freebsd.org/cgi/query-pr.cgi?pr=137855) and made it into the
tree a couple of weeks ago:
http://www.freebsd.org/cgi/cvsweb.cgi/ports/Mk/bsd.port.mk.diff?r1=1.631;r2=1.632

Since some folks like the old behavior and some folks like the new
behavior, what do you all think of a user-selectable make.conf option to
choose where the check-conflicts target appears in the port build sequence?

Regards,
Greg
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAktRRz8ACgkQ0sRouByUApA35ACfY9NU8NBKarCm6eTFRLt1y/Nf
ar8AoIxF68LgUZBuATfHLRyfaAZ9SOtw
=kG5z
-END PGP SIGNATURE-
___
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: rdiff-backup-1.2.8 python2.5.4 : OverflowError: signed integer is greater than maximum

2010-01-15 Thread Michel Le Cocq
Thanks for your help, I just follow the upgrade.
I'm now on : python26-2.6.4, rdiff-backup-1.2.8,1

But I still have the same error :
OverflowError: signed integer is greater than maximum

I just did :
# rdiff-backup /mnt/users/toto /backup/Lipn/users_backup/toto

It work for 393 user folder and give this error on 3.
I tried to remove the destination folder but it change nothing. 

I attach here the Traceback.

--
Michel

Mark Kane a écrit:
 On Fri, Jan 15, 2010, at 14:51:14 +0100, Michel Le Cocq wrote:
  I run rdiff-backup on my backup server:
  - FreeBSD 8.0-RELEASE AMD64
  - rdiff-backup-1.2.8,1
  - python25-2.5.4_3
  - be pro quad
  - 4G Ram
  
  I try to rdiff a folder on a nfs ro mounted volume to an other volume.
  
  I obtain this error : OverflowError: signed integer is greater than
  maximum
  
  I have the same problem as Brad Beyenhof see here :
  http://www.mail-archive.com/rdiff-backup-us...@nongnu.org/msg03794.html
  
  I know it's a know problem due to a bug in Python. And have to upgrad
  Python to 2.5.4 or 2.6.1.
  
  But I'm on python25-2.5.4_3 !!! and rdiff need python25 to run so I
  can't remove it for python26...
  
  What can I do to obtain my full backup ?
  
  Thanks
 
 Hi.
 
 I'm not familiar with the specific bug, but if you want to upgrade
 Python from 2.5 to 2.6 that can be done by following the 20090608 entry
 in /usr/ports/UPDATING. 
 
 I also use rdiff-backup and can confirm that it works with Python 2.6.
 
 Hope that helps,
 
 -Mark
Thanks for your help, I just follow the upgrade.
I'm now on : python26-2.6.4, rdiff-backup-1.2.8,1

But I still have the same error :
OverflowError: signed integer is greater than maximum

I just did :
# rm -rf /backup/users_backup/toto/rdiff-ba*
# rdiff-backup --force /mnt/users/toto /backup/Lipn/users_backup/toto

   
I attach here the Traceback.
___
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: rdiff-backup-1.2.8 python2.5.4 : OverflowError: signed integer is greater than maximum

2010-01-15 Thread Michel Le Cocq
sorry, here is the right attachment.

Michel Le Cocq a écrit:
 Thanks for your help, I just follow the upgrade.
 I'm now on : python26-2.6.4, rdiff-backup-1.2.8,1
 
 But I still have the same error :
 OverflowError: signed integer is greater than maximum
 
 I just did :
 # rdiff-backup /mnt/users/toto /backup/Lipn/users_backup/toto
 
 It work for 393 user folder and give this error on 3.
 I tried to remove the destination folder but it change nothing. 
 
 I attach here the Traceback.
 
 --
 Michel
 
 Mark Kane a écrit:
  On Fri, Jan 15, 2010, at 14:51:14 +0100, Michel Le Cocq wrote:
   I run rdiff-backup on my backup server:
   - FreeBSD 8.0-RELEASE AMD64
   - rdiff-backup-1.2.8,1
   - python25-2.5.4_3
   - be pro quad
   - 4G Ram
   
   I try to rdiff a folder on a nfs ro mounted volume to an other volume.
   
   I obtain this error : OverflowError: signed integer is greater than
   maximum
   
   I have the same problem as Brad Beyenhof see here :
   http://www.mail-archive.com/rdiff-backup-us...@nongnu.org/msg03794.html
   
   I know it's a know problem due to a bug in Python. And have to upgrad
   Python to 2.5.4 or 2.6.1.
   
   But I'm on python25-2.5.4_3 !!! and rdiff need python25 to run so I
   can't remove it for python26...
   
   What can I do to obtain my full backup ?
   
   Thanks
  
  Hi.
  
  I'm not familiar with the specific bug, but if you want to upgrade
  Python from 2.5 to 2.6 that can be done by following the 20090608 entry
  in /usr/ports/UPDATING. 
  
  I also use rdiff-backup and can confirm that it works with Python 2.6.
  
  Hope that helps,
  
  -Mark

 Thanks for your help, I just follow the upgrade.
 I'm now on : python26-2.6.4, rdiff-backup-1.2.8,1
 
 But I still have the same error :
 OverflowError: signed integer is greater than maximum
 
 I just did :
 # rm -rf /backup/users_backup/toto/rdiff-ba*
 # rdiff-backup --force /mnt/users/toto /backup/Lipn/users_backup/toto
   
   

 I attach here the Traceback.

Traceback (most recent call last):
  File /usr/local/bin/rdiff-backup, line 30, in module
rdiff_backup.Main.error_check_Main(sys.argv[1:])
  File /usr/local/lib/python2.6/site-packages/rdiff_backup/Main.py, line 304, 
in error_check_Main
try: Main(arglist)
  File /usr/local/lib/python2.6/site-packages/rdiff_backup/Main.py, line 324, 
in Main
take_action(rps)
  File /usr/local/lib/python2.6/site-packages/rdiff_backup/Main.py, line 280, 
in take_action
elif action == backup: Backup(rps[0], rps[1])
  File /usr/local/lib/python2.6/site-packages/rdiff_backup/Main.py, line 346, 
in Backup
backup.Mirror(rpin, rpout)
  File /usr/local/lib/python2.6/site-packages/rdiff_backup/backup.py, line 
38, in Mirror
DestS.patch(dest_rpath, source_diffiter)
  File /usr/local/lib/python2.6/site-packages/rdiff_backup/backup.py, line 
232, in patch
ITR(diff.index, diff)
  File /usr/local/lib/python2.6/site-packages/rdiff_backup/rorpiter.py, line 
281, in __call__
last_branch.fast_process(*args)
  File /usr/local/lib/python2.6/site-packages/rdiff_backup/backup.py, line 
529, in fast_process
if self.patch_to_temp(mirror_rp, diff_rorp, tf):
  File /usr/local/lib/python2.6/site-packages/rdiff_backup/backup.py, line 
553, in patch_to_temp
result = self.patch_snapshot_to_temp(diff_rorp, new)
  File /usr/local/lib/python2.6/site-packages/rdiff_backup/backup.py, line 
578, in patch_snapshot_to_temp
rpath.copy_attribs(diff_rorp, new)
  File /usr/local/lib/python2.6/site-packages/rdiff_backup/rpath.py, line 
180, in copy_attribs
rpout.chown(*rpout.conn.user_group.map_rpath(rpin))
  File /usr/local/lib/python2.6/site-packages/rdiff_backup/rpath.py, line 
973, in chown
try: self.conn.C.lchown(self.path, uid, gid)
OverflowError: signed integer is greater than maximum
___
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: Problem w/ mysql extension installation

2010-01-15 Thread jaymax

A couple of hours later I return to this problem at the file is there and the
extension installed

RATHER BIZARE


jaymax wrote:
 
 phpmyadmin requires the mysql extension which is apparently not included
 in the mysql54 ports
 
 Installing it from 
 /usr/ports/databases/php5-mysql ==
 
 
 ---
 ---
 ---
 In file included from
 /usr/local/include/php/main/../main/php_config.h:2839,
  from /usr/local/include/php/Zend/zend_config.h:1,
  from /usr/local/include/php/Zend/zend.h:53,
  from /usr/local/include/php/main/php.h:34,
  from
 /usr/ports/databases/php5-mysql/work/php-5.2.12/ext/mysql/php_mysql.c:32:
 /usr/local/include/php/ext/php_config.h:1:30: error: ext/mysql/config.h:
 No such file or directory
 *** Error code 1
 1 error
 *** Error code 1
 
 Stop in /usr/ports/databases/php5-mysql.
 
 
 Indeed /usr/local/include/php/ext/mysql/config.h is not present!
 
 Should this have been installed with the mysql installation or from a
 dependency?
 
 How can I correct this ?
 
 Thanks!
 
 
 

-- 
View this message in context: 
http://old.nabble.com/Problem-w--mysql-extension-installation-tp27184350p27187021.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

___
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: Server set up

2010-01-15 Thread Chad Perrin
On Fri, Jan 15, 2010 at 07:42:02PM -0600, Sam Fourman Jr. wrote:
 On Fri, Jan 15, 2010 at 4:37 PM,  davidowe...@yahoo.co.uk wrote:
 
  I will be deleting the Window's stuff on the machine
 
  How would i SSH to the Linux pc and what software should i install
 
 one of the first things you should understand is FreeBSD is Not Linux

How sure are we that davidoweir3 wasn't just asking about how to use SSH
to connect to a Linux machine from a FreeBSD machine?

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgpAl4RDmNZyU.pgp
Description: PGP signature


Correcting misconceptions? (was Re: Server set up)

2010-01-15 Thread Rolf Nielsen

On 2010-01-16 04:53, Jon Radel wrote:

Rolf Nielsen wrote:


Secondly (also just for clarity, I guess), most of your post is OT, as
it is basically a reply to my post, and my post was OT as it was
simply a reaction to the original poster's mistake of saying Linux and
meaning FreeBSD.


Which makes your latest, what, OT cubed?


Point taken. Subject changed...


On a marginally more serious
note, how would you propose to start an effort to spearhead the BSD is
not Linux, Linux is not UNIX, but good luck telling them apart until
you're a propeller head like us educational campaign? (Harking back to
your, Isn't it time we try to correct this, query.) There are probably
more useful messages to try get out about FreeBSD than, No, it's not
Linux, and we'll beat the snot out of you if you get confused in public.


The part I wanted to correct is the idea that FreeBSD is a Linux distro. 
Whether or not people believe Linux is Unix, I don't really care about. 
My point was that if people believe Linux is another name for Unix or 
even that Unix is another name for Linux may be the cause of the 
misconception that FreeBSD is a Linux distro.


And of course there are more meaningful messages, and more important 
ones. I never suggested it should be made top priority. I said I think 
it matters, not that it's the foundation on which the world stands. And, 
without changing my belief that it does matter, I will say that most 
importantly for me, I know the difference and that is one of the reasons 
why I chose FreeBSD.


How it should be done? A good start would be to not just say It's not 
Linux if someone asks, but give a brief explanation to why it isn't. 
Handing out leaflets or making t-shirts isn't what I had in mind; it's 
not that an important issue. And beating the snot out of people isn't 
quite my idea of education.

___
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: GELI file systems unusable after glabel label operations

2010-01-15 Thread Scott Bennett
 On Fri, 15 Jan 2010 23:18:40 +0100 Roland Smith rsm...@xs4all.nl
wrote:
On Fri, Jan 15, 2010 at 01:25:50AM -0600, Scott Bennett wrote:
=20
  It has been a long time since I created those GELI partitions, but I
 think I used the geli init -K keyfilename /dev/daXsYP, where P is the
 partition identifier in slice Y of drive X.  What I did when I screwed the
 pooch on this was of the form glabel label fsname /dev/daXsYP, which I =
had
 thought would produce a /dev/label/fsname device and that doing a geli a=
ttach
 afterward would produce a /dev/label/fsname.eli device.

You could have done two things to create a nested label/geli configuration;

1) Create a labeled device from /dev/daXsYP, which would yield /dev/label/f=
oo,
   then create a geli device _on the labeled device_, creating
   /dev/label/foo.eli. This will work because the labeled device will be one
   sector shorter than the raw da device. The .eli device will be yet anoth=
er
   sector shorter, leaving two adjacent metadata sectors for the nested
   providers. This is the key point.

2) Create the geli device /dev/daXsYP.eli, and then create a label on that,
   yielding /dev/label/bar. [not sure what the utility of this is, since the
   label will only appear after the geil provider has been attached]

 The important point here is that one of the above methods must be used
*before* the file system is created and the data loaded into it.  Attempting
either method *after* data are loaded will result in loss of the data.

The first one seems most useful for things like automatic mounting.

 Okay.  Thanks for the two methods.

 Check /var/backups. There should be *.eli files there. Those are the aut=
oma=3D
 tic
=20
  No joy. :-(
=20
 metadata backups that 'geli init' makes (at least in 8.0). You can resto=
re
 those backups with 'geli restore'.
=20
  Those must be new in 8.0.  I don't see any in 7.2, just {aliases,gro=
up,
 master.passwd}.bak{,2} in /var/backups.

Probably. I didn't see them when I was running 7.2, and I only noticed it in
the 8.0 manpage.

 Running 'geli init' again with the same parameters will not work, because
 'geli init' uses a random component in the key generation. In other word=
s, =3D
 two
 inits with the same password will not generate the same key!
=20
  Is there some way to recover using the existing key files, which I do
 still have?  And of course, I do know the passphrases.

Not as I read the geli source. It _always_ uses arc4rand to generate a rand=
om
salt for the key during 'init'. Read the function 'static void eli_init(str=
uct
gctl_req *req)' in /usr/src/sbin/geom/class/eli/geom_eli.c. This means that
subsequent 'geli init' calls with the same password or keyfile will still
yield a different key. I'm afraid your data is lost.

 Perhaps this provides a possible recovery method.  As you read it,
would it be possible to build an altered version of geli(8) that would simply
use the existing key file without generating a new one to do a geli init
operation?  If so, it would certainly be worth my trouble to do that.

You should always make a backup before playing with filesystems. Most people
learn this the hard way, although I realize that this is small consolation.

 As I wrote previously, I had backups.  My error was in labeling both
the original partition *and* the partition containing the backup series at
the same time.  If I hadn't tried to save a reboot and a few other trivial
operations and had instead labeled only the original data partition at first,
I would have discovered the problem in time to rebuild the original correctly
from the backups.  Sigh.

 What you should have done (for future refrence) is use geli(8) to create=
 the
 encrypted device, then create a filesystem on that encrypted device with
 newfs(8) using the '-L' flag to set the volume name. Or use tunefs(8) to=
 set
 the volume name later. These names will be automatically recognized next=
 ti=3D
 me
 you attach it and listed in /dev/ufs/.
 
  Thank you for that information.  If only it had been laid out that w=
ay
 in the man page of the handbook when I read it before starting on the lab=
eling
 procedure...sigh.

It _is_ listed in the glabel manpage, at least in 8.0.=20

 I don't have 8.0.

And I think that the proper way to nest geoms is too obvious (at least for =
the
developers/maintainers) to explicitly list in the handbook. If you know that
geoms store metadata in their last sector, the proper way to nest them is to
use the different devices for each geom stage, so that each has their own
metadata sector.

 Well, it wasn't at all obvious to me, and reading the parts that mention
metadata being written to the last sector suggests, if anything, that labeling
and encryption are incompatible because both write to the last sector, i.e.,
to the *same* sector.  The idea of the last sector being different for the
two operations is not at all apparent.

Procedure #1 that I outlined above