Re: some thoughts about gmirror

2007-04-07 Thread R. B. Riddick
--- Mike Wolman [EMAIL PROTECTED] wrote:
 It could also be used for asynchronous mirrors over slow links, if the log 
 device was always written to first then the write latency for long distant 
 links could be removed.  Im not sure if it would be possible to achieve 
 this using just a modified ggatec instead which has a local device used 
 as a write cache.
 
Sounds like rsync can already do that (I am not sure right now, if rsync can
find updated areas within a large file, or if it just copies the while updated
file even if it is a large one)...

Furthermore the remote consumer of that gmirror couldnt be mounted RW, if it
uses UFS, because UFS doesnt allow multiple RW mounts at the same time...

-Arne


 

Food fight? Enjoy some healthy debate 
in the Yahoo! Answers Food  Drink QA.
http://answers.yahoo.com/dir/?link=listsid=396545367
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem with portupgrade

2007-04-07 Thread Andriy Babiy
On April 6, 2007, [EMAIL PROTECTED] wrote:
  deimos# portupgrade -PR libmpeg2
  [Updating the portsdb format:bdb_btree in /usr/ports ... - 16851
  port entries found
  {lines cut} . done]
  [missing key: categories: Cannot read the portsdb!
  database file error
 
  {following some ruby errors regarding the fact that the db can't be
  read?!}
 
  Try removing (or moving so you have a backup) your
  /var/db/pkg/pkgdb.db file, then running pkgdb -u to update/create it.
 
  Josh

 I did that, it recreated the file w/o errors, but i get the same error
 message.

Have you read the note of 20070205 in /usr/src/UPDATING? It looks you're 
running the old version. Check the details in the note, remove portupgrade 
and install it from the new location.

Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: lpd refuses to print from a machine with a DHCP assigned IP address...

2007-04-07 Thread Amarendra Godbole

On 4/6/07, Derek Ragona [EMAIL PROTECTED] wrote:

You don't say if your DHCP IP is a private LAN IP or a public IP.


Oops...my mistake. It is a private LAN IP, and not a public IP. And
since the box is a laptop, I cannot really have a static IP assigned
to it (though I am allowed to), as I keep on moving between offices
with different network configurations.

Best,
Amarendra


If the IP is public and you don't require direct access to this IP from the
internet, put a router in place between your modem and the server and give
your server a static private IP.

If you do need a public IP on your server, ask your provider for a static IP
instead of a DHCP one.

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


Re: some thoughts about gmirror

2007-04-07 Thread Matthew Seaman
R. B. Riddick wrote:

 Sounds like rsync can already do that (I am not sure right now, if rsync can
 find updated areas within a large file, or if it just copies the while updated
 file even if it is a large one)...

rsync will find an updated area within a big file.  The algorithm is to
divide any such file into 100kB[*] chunks, calculate checksums of each of
those chunks and only transfer the chunks where the checksum differs
between source and destination.  More detail here:

http://samba.org/rsync/how-rsync-works.html
http://rsync.samba.org/tech_report/tech_report.html

Cheers,

Matthew

[*] For some value of 100kB.

-- 
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: some thoughts about gmirror

2007-04-07 Thread Mike Wolman


Rsync is a great tool however if you try to rsync a filesystem
with hundreds of thousand files in it the file list can use quite
a large amount of bandwidth even if only a single file has
changed - if you were keeping track of the blocks which had changed
then you do not need to generate this list and simply send over the
changed blocks.

I was not thinking the remote side would mount the image unless
the primary site was offline/unavailable.

Mike.


On Fri, 6 Apr 2007, R. B. Riddick wrote:


--- Mike Wolman [EMAIL PROTECTED] wrote:

It could also be used for asynchronous mirrors over slow links, if the log
device was always written to first then the write latency for long distant
links could be removed.  Im not sure if it would be possible to achieve
this using just a modified ggatec instead which has a local device used
as a write cache.


Sounds like rsync can already do that (I am not sure right now, if rsync can
find updated areas within a large file, or if it just copies the while updated
file even if it is a large one)...

Furthermore the remote consumer of that gmirror couldnt be mounted RW, if it
uses UFS, because UFS doesnt allow multiple RW mounts at the same time...

-Arne




Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food  Drink QA.
http://answers.yahoo.com/dir/?link=listsid=396545367



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


hardware problems?..how to disable geom?

2007-04-07 Thread Dino Vliet
Hi folks,

I have sinned:-(

I have (for testing purposes) activated geom for mirroring on my freebsd 6.2 
via c3 cpu system. However, I used two different brand IDE harddisks but 
identical in capacity.

I have:
ad0: 76319MB MAXTOR STM3802110A 3.AAK at ata0-master UDMA100
ad3: 76319MB Seagate ST3802110A 3.AAJ at ata1-slave UDMA100

At first everything worked, but lately I have noticed some weird things:
1) In the beginning the gmirror status command was showing the complete status 
for the components ad0 or ad3 (it was altering I guess due to the round robin 
thing I choose) 
However since a few weeks, only the ad0 component shows the complete status

(the only thing I did in between was removing the seagate harddisk once to try 
to go to a pc mall and buy a second one but when I returned I just reattached 
it (I hadn't switched the pc on though in the mean time so I don't think it's 
an issue))

2) I started to have problems building the ports and make buildword

3) bash core dumped on my (I couldn't log in nomaly anymore and had to use csh)

4) now I see that rsyncd, freshclam and clamav are core dumping when the 
machine boots up:
GEOM_MIRROR: Device gm0: provider ad3 detected.
GEOM_MIRROR: Device gm0: provider ad3 activated.
GEOM_MIRROR: Device gm0: provider ad0 activated.
GEOM_MIRROR: Device gm0: provider mirror/gm0 launched.
Trying to mount root from ufs:/dev/mirror/gm0s1a
pid 896 (rsync), uid 0: exited on signal 4 (core dumped)
pid 928 (clamd), uid 0: exited on signal 4 (core dumped)
pid 934 (freshclam), uid 0: exited on signal 4 (core dumped)


So I want to bring the machine back to its normal state by doing this:

a) remove seagate harddisk
b) remove the mirror
c) see if everything works fine again because I don't want to reinstall (I CAN 
GET AWAY WITH THIS RIGHT?)

The question is, how di I get rid of the mirror? Or is it better to order a new 
seagate harddisk, get rid of the maxtor harddisk and install the new seagate 
harddisk in stead of the maxtor one and rebuild the mirror?

Thanks for your kind help





 

Food fight? Enjoy some healthy debate 
in the Yahoo! Answers Food  Drink QA.
http://answers.yahoo.com/dir/?link=listsid=396545367
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: some thoughts about gmirror

2007-04-07 Thread Jim Rees
Mike Wolman wrote:

  if you were keeping track of the blocks which had changed
  then you do not need to generate this list and simply send over the
  changed blocks.

Unison keeps a list of files at each end and only exchanges block lists for
files that have changed.  I use it to sync 40GB (10K files) over a 1Mbps
link and it's very fast.  It also will do two-way sync.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Receiver (To/CC envelope fields) addresses verification against LDAP/Active Directory in sendmail

2007-04-07 Thread Christopher Martin

 -Original Message-
 From: Mikhail Goriachev [mailto:[EMAIL PROTECTED]
 Sent: Saturday, 7 April 2007 3:23 PM
 
 
 You could use /usr/ports/mail/mimedefang (www.mimedefang.org) miltered
 into your sendmail. Sorta like py-milter but in perl. The simplest,
 quickest and dirtiest solution would be to feed a list of valid
 recipients into mimedefang and let it accept or reject incoming
 mail. Then it is a matter of finding a way to keep the list up to date.
 
 Or, instead of feeding mimedefang with a list, you could instruct it to
 poll your internal mail server like you already suggested.
 
 For a long term solution I prefer storing aliases, maps, etc. in LDAP.

The LDAP solution would be ideal. The export/access list method you suggest
is what LDAPMAP seems to do, but it doesn't compile. I am no coder, so if it
doesn't compile right off I won't use it, figuring it will be a hack each
time it has to be updated even if I manage to figure out what's stopping it
from compiling.

I am considering writing a script that exports all valid addresses from
Active Directory via LDAP and then processes the results and appends it to
the sendmail access database (I hope that there is an alternative to REJECT,
as that would enable directory harvesting), a catch-all in virtual users to
send anything that isn't valid straight to /dev/null. This poses some risks,
however. I would have to build in checks to make sure that an empty or
incomplete list was never posted, otherwise, whammo, all mail gone.

Will give it some thought. I see Mimedefang everywhere, but I have not
messed about with it yet. I guess I need to run up a trial VM to have a go,
though I have absolutely no perl skills at all.

Thanks for the suggestions!

Chris Martin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Receiver (To/CC envelope fields) addresses verification against LDAP/Active Directory in sendmail

2007-04-07 Thread Christopher Martin

 -Original Message-
 From: Chuck Swiger [mailto:[EMAIL PROTECTED]
 Sent: Saturday, 7 April 2007 12:44 AM

 You don't seem to mention using greylisting-- that will return a 4xx temp
 failure for all initial connections (except from sites which have been
 whitelisted).  Only if the sender retries will the mail go through-- this
 works great against dictionary-style attacks.
 
 --
 -Chuck

The nervous nelly's above me with more sway are anti-greylisting, and my
powers of persuasion have not been up to the task of changing their
thinking. I have also read many comments along the lines of It won't be
long before the spammers change their tactics again to remove the
effectiveness of greylisting

Additionally, we have a sales department and they all whinge about any sort
of lag, and get full support of management to yell at us when they have to
wait an extra minute or two for mail to arrive (and boy do they complain
when a 30 MB e-mail takes 10 minutes to get to a client! Not that that is
relevant to this subject).

I guess I could white-list out all of sales' and senior management's
addresses. I could even do an export from Active Directory to produce the
whitelist, and that would allow me to only do certain departments. And worse
case scenario is everyone's mail is delayed a little, where as the other
method could result in lost mail if the LDAP query gets weird results. As
that actually is lowering risk I could probably convince management on that
footing.

Great suggestion! Will have to run up a trial and check it out.

Chris Martin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fontconfig question... .

2007-04-07 Thread B H

Gary Kline skrev:

When I fire up mozilla, firefox, OO-2.1.0, and whatever else,
I'll see this to stdout:

	  
	  pe 16:37 tao [5433] mozilla 
	  Fontconfig warning: no cachedir elements found. Check configuration.

  Fontconfig warning: adding cachedir/var/db/fontconfig/cachedir
  Fontconfig warning: adding cachedir~/.fontconfig/cachedir
	   
	I've got a seriously old, severely cheep CD with 1500 fonts, plus

hundreds more I've gleaned that are free.  I've clicked around on
firefox and mozilla but have no idea how to find, much less:
	Check configuration.  


I've read  the html in /usr/X11R6/share/doc/fonconfig, but don't
see any {/usr/local}/etc/fonts directory.  [???]

Can anybody clue me in?


It's in /usr/X11R6/etc/fonts/fonts.conf



gary





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


Re: Jail is pausing . . Ideas please. . ?

2007-04-07 Thread Bill Moran
Troy Kocher [EMAIL PROTECTED] wrote:

 Listers,
 
 Currently I am having some strange issues with regard to a jail
 pausing, hoping someone here might have some ideas. .
 Here is my Usenet post. . :
 
 I am running FreeBSD 6.1-STABLE (SMP),  and the the system seems to be
 pausing.  System details:
 
 I have da0, da1, da2, da3, each 500GB, I'm also using GEOM_CONCAT to
 concatenation, amd64 SMP kernel, and 16GB of ram. Running 7 jails,
 primarily running apache, samba, postfix, pgsql.
 
 On what appears to be random occasions (usually several times in 5m)
 the system seems to pause.  For instance, vipw takes 40s to respond,
 or the smbd which clients use for their mailbox.pst ignores requests
 from outlook to act on the file.  Then moments later it is happy
 again, and begins working normally.  I have been monitoring top while
 it happens and it appears like it is doing very little. . ie. .
 
 last pid: 75014;  load averages:  0.00,  0.02,  
 0.07   up 203+07:20:57 15:24:53
 246 processes: 1 running, 244 sleeping, 1 stopped
 CPU states:  0.0% user,  0.0% nice,  0.2% system,  0.1% interrupt,  
 99.7% idle
 Mem: 967M Active, 13G Inact, 320M Wired, 782M Cache, 214M Buf, 569M Free
 Swap: 4096M Total, 2504K Used, 4093M Free
 
 Tried running nice -20 vipw and it still took some time for it to
 run.  Could it be a file locking issue?. .
 
 Any thoughts or ideas on further troubleshooting would really be
 appreciated
 
 --
 Since that post it actually appears to only be happening in one jail
 called drzoe.  The host system seems to be working properly during
 these slow downs
 
 Other things I've considered:
 1)  Is there an upper limit to the number of connections a NIC can
 support?  Am I exceeding it? NiC  Switches aren't showing any packet
 loss.

There's a limit to everything.  What does sockstat -4 | wc give you?
I seriously doubt you're hitting any limit there, but it's possible.

 2)  Am I running out of IO, to and from the disks?  Tried looking at
 iostat, but I'm exactly sure what a problem would look like.  Seems
 like this wouldn't be jail specific

I prefer using systat to watch this behaviour as it happens.  The
vmstat screen is particularly useful.  See the man page.

 Give it seems to be limited to this jail it seems unlikely to be  
 hardware. .

Based on your problems with vipw, it sounds like you have a lot of
processes contending for write access to the password file.  The
next time you see the problem, execute fstat /etc/master.passwd
and see how many processes are accessing it and what they are.
(Don't get jailbrained.  Execute fstat /etc/master.passwd from
within the jail, or execute fstat /path/to/jail/etc/master.passwd
from the host :)

HTH

 
 from rc.conf
 
 jail_enable=YES
 jail_list=droutward drinward database drzoe development drimage drmail
 # Disaster recovery setup for drzoe
 jail_drzoe_rootdir=/usr/home/drzoe-jail
 jail_drzoe_hostname=drzoe.mtadistributors.com
 jail_drzoe_ip=10.0.0.115
 jail_drzoe_exec_start=/bin/sh /etc/rc
 jail_drzoe_exec_stop=/bin/sh /etc/rc.shutdown
 jail_drzoe_devfs_enable=YES
 
 [EMAIL PROTECTED] /]#pkg_info
 autoconf-2.59_2 Automatically configure source code on many Un*x
 platforms
 bash-3.1.10_1   The GNU Project's Bourne Again SHell
 bsdpan-Filesys-Virtual-0.05 Filesys::Virtual - Perl extension to
 provide a framework fo
 bsdpan-Filesys-Virtual-Plain-0.08 Filesys::Virtual::Plain - A Plain
 virtual filesystem
 bsdpan-Net-DAV-Server-1.28 Net::DAV::Server - Provide a DAV Server
 cups-base-1.1.23.0_8 The Common UNIX Printing System: headers, libs,
  daemons
 cvsup-without-gui-16.1h_2 General network file distribution system
 optimized for CVS
 elinks-0.11.1   Elinks - links text WWW browser with enhancements
 gettext-0.14.5_1GNU gettext package
 gmake-3.81_1GNU version of 'make' utility
 gnutls-1.2.9GNU Transport Layer Security library
 help2man-1.36.4_1   Automatically generating simple manual pages from
 program o
 identify-0.7Client side ident protocol daemon wrapper
 jbigkit-1.6 Lossless compression for bi-level images such as
 scanned pa
 jpeg-6b_3   IJG's jpeg compression utilities
 libgcrypt-1.2.2 General purpose crypto library based on code
 used in GnuPG
 libgpg-error-1.1Common error values for all GnuPG components
 libiconv-1.9.2_1A character set conversion library
 m4-1.4.8_1  GNU m4
 netpbm-10.26.41 A toolkit for conversion of images between
 different format
 p5-Authen-PAM-0.14  A Perl interface to the PAM library
 p5-Net-SSLeay-1.30_1 Perl5 interface to SSL
 p5-gettext-1.05_1   Message handling functions
 pcre-6.6_1  Perl Compatible Regular Expressions library
 perl-5.8.7_2Practical Extraction and Report Language
 pkgconfig-0.20  A utility to retrieve information about installed
 libraries
 png-1.2.8_3 Library for manipulating PNG images
 popt-1.7A getopt(3) like library with a number of
 

Re: regular portsdb maintanence

2007-04-07 Thread Michael P. Soulier
On 28/03/07 [EMAIL PROTECTED] said:

 I am not sure you would want to do that, as
 if it were to overlap with a normal portupgrade
 the results may be interesting.

Yes, it's become plain to me that the pkgdb -L is working off of metadata that
was updated with the last cvsup, and not the packages that I currently have
installed. So, unless I've done a full portupgrade, pkgdb -L just breaks the
dependencies and I must then fix them via pkgdb -F. 

Mike
-- 
Michael P. Soulier [EMAIL PROTECTED]
Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction. --Albert Einstein


pgpnatur0QAIR.pgp
Description: PGP signature


Re: the art of pkgdb -F

2007-04-07 Thread Michael P. Soulier
On 28/03/07 Robert Huff said:

   But I bet I'm not the only one who, once upon a time, happened to
   try portupgrade -arR or equivalent after forgetting to read
   UPDATING and ended up with more to do than I originally thought.
 
   Might as well paint PLEASE KICK ME! and an arrow pointing
 down on your back 

I'm used to binary-package distributions that seem to try a lot harder to not
break. I suppose that ports is evolving, and it used to be worse, so I
shouldn't complain. Still, if the handbook says to use portupgrade -R to
upgrade a port, that's what BSD newbies like me are going to use.

I'm just glad that portupgrade has a -n switch. 

Mike
-- 
Michael P. Soulier [EMAIL PROTECTED]
Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction. --Albert Einstein


pgphORTxDiaJu.pgp
Description: PGP signature


Re: creating device node?

2007-04-07 Thread Lowell Gilbert
Derek Ragona [EMAIL PROTECTED] writes:

 At 01:15 PM 4/6/2007, Franz Wegwerf wrote:
A program wants to have access to /dev/tap3 which doesn't exist on my machine.
 I'm a newbie to FreeBSD running FreeBSD 6 and trying wesside but got
 stuck with this error message: Can't open tap: ...

Any help apreciated!
Franz


 In FreeBSD 5.X and beyond the /dev entries are created automatically
 on bootup.  If a device isn't being created check your dmesg that the
 device is found and properly identified.  Some devices may need a
 kernel change or kernel module loaded.

 -Derek

In specific, the tap(4) devices are not supported in a default
kernel.  The command kldload if_tap will load the kernel support 
for this functionality.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Buildworld error

2007-04-07 Thread Lowell Gilbert
Schiz0 [EMAIL PROTECTED] writes:

 I'm following the handbook to rebuild world. I updated via csup (Supfile:
 http://pastebin.ca/427631 ) right before I ran make buildworld. Now I'm
 getting this error: http://pastebin.ca/427605

 I just installed the system before doing this, so the /usr/src dir should be
 fresh.

 Any ideas?

 Thanks in advance to everyone. Without IRC and the mailing lists, I would be
 using Windows ;-)

Is there anything non-standard in your make.conf?
Are you using Kerberos?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fetching sources from Windows?

2007-04-07 Thread Joe Kraft

Jerry McAllister wrote:

On Mon, Mar 05, 2007 at 12:45:55PM -0500, frzburn wrote:


Hi!
I have a slow Internet connection at home, and I would like to know if it is
possible to fetch the STABLE sources from somewhere else (ex.: at work).
What I want is to get the latest sources, like described in the handbook (
http://www.ca.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html),
even if it means downloading all of it, since there no way to diff with my
current source...


Basically, that is what I do.  I only have a regular old phone modem at home.
I take my home machine in to the office where I have a reliable 100 Mb/s
and do my installs there.   The only problem is fixing up IPs and host
names.

If I ever get rich and get a laptop with significant disk, I can just
carry that and pull everything down to it and take it home to work
on the desktop machine - or I could get one of those nice big USB drives
and download everything to that.

jerry

I have a computer that's not connected to the internet that I keep up to 
date using CTM.  I've subscribed to one of the ctm-XXX mail list with my 
work address and I just save the messages to a relatively small USB 
memory stick from the windows machine.  Once I have the updates on there 
I bring the stick home and run ctm-rmail and it updates my source tree.


It would have been even easier if I was able to get ftp access to get 
the CTM updates directly without resorting to using e-mail for the transfer.


Setting it up is discussed in the handbook, I've only been doing it for 
a couple of weeks, but it seems to work for me.


Joe.

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


script perl with sed command

2007-04-07 Thread Olivier Regnier

Hello,

I have a problem with my perl script with the command sed. Here is a 
example of my code:


# Selecting the fast server
print Using the server called $server;
system(`/usr/bin/sed 's|\*default host=\(.*\)|\*default host=${server}|' 
$standard_supfile  $standard_supfile.copy`);

system('/bin/mv $standard_supfile.copy $standard_supfile');

But in console i have this message:
sed: 1: s|*default host=(.*)|*d ...: unescaped newline inside 
subsitute pattern


Can you help me please ?

Thank you :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


plzz help me

2007-04-07 Thread google msn


  i have 180 pc`s working under serverwindows 2000 and i installed MS
  Proxy server
  and all pc`s have configuration to  workinig in the internet from
  [1]\\server   pot 80
  i asking
  i need to installing free bsd in my server how can i do the same
  configuratin
  and how can i let the free bsd working as proxy server
  plzz help
  ragab el sagher
  [EMAIL PROTECTED]
  thank you
_

  Express yourself instantly with MSN Messenger! [3]MSN Messenger
  Download today it's FREE!

References

  1. file://\\server%A0%A0pot80/
  2. http://[EMAIL PROTECTED]/
  3. http://g.msn.com/8HMBEN/2740??PS=47575
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: some thoughts about gmirror

2007-04-07 Thread Mike Wolman



 if you were keeping track of the blocks which had changed
 then you do not need to generate this list and simply send over the
 changed blocks.

Unison keeps a list of files at each end and only exchanges block lists for
files that have changed.  I use it to sync 40GB (10K files) over a 1Mbps
link and it's very fast.  It also will do two-way sync.



Unison and rsync both work on the filesystem level and not with
the blocks directly so would not be able to achieve the same result
as the live network backup on netbsd - ie allowing a simple dd
restore of a machine.

As this would be filesystem independent and if you are running zfs or 
other snapshot capable filesystem i think rsync or unison would have a 
problem working with the snapshots.  i do use rsync with close to about 
1Tb of data and a lot hard links for - but if the remote file changes you 
have to store the entire copy of new file and not just the actual blocks 
which have changed.


Mike.

On Sat, 7 Apr 2007, Jim Rees wrote:


Mike Wolman wrote:



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


Re: lpd refuses to print from a machine with a DHCP assigned IP address...

2007-04-07 Thread Warren Block

On Fri, 6 Apr 2007, Amarendra Godbole wrote:


My FreeBSD box picks up its IP through DHCP. Now I configured a
printer on this machine, using apsfilter. So far so good. Now when I
try to print anything, I see the following error in the lpd-errs file:

Apr  6 11:00:03 zimbu lpd[1501]: unable to get official name for local
machine zimbu.vxindia.veritas.com: hostname nor servname provided, or
not known
Apr  6 11:00:03 zimbu lpd[1501]: lp: no line printer device or host name


Now, if I add an entry for zimbu in /etc/hosts (with the currently
assigned IP address), printing works fine.


This is not really an lpd question, but a DHCP and DNS question.

Depending on your DHCP server, the send host-name option of 
dhclient.conf might help.


-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 [EMAIL PROTECTED]


Re: Fetching sources from Windows?

2007-04-07 Thread Sam Lawrance


On 31/03/2007, at 12:57 AM, Joe Kraft wrote:


Jerry McAllister wrote:

On Mon, Mar 05, 2007 at 12:45:55PM -0500, frzburn wrote:

Hi!
I have a slow Internet connection at home, and I would like to  
know if it is
possible to fetch the STABLE sources from somewhere else (ex.: at  
work).
What I want is to get the latest sources, like described in the  
handbook (
http://www.ca.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ 
synching.html),
even if it means downloading all of it, since there no way to  
diff with my

current source...
Basically, that is what I do.  I only have a regular old phone  
modem at home.
I take my home machine in to the office where I have a reliable  
100 Mb/s
and do my installs there.   The only problem is fixing up IPs and  
host

names.
If I ever get rich and get a laptop with significant disk, I can just
carry that and pull everything down to it and take it home to work
on the desktop machine - or I could get one of those nice big USB  
drives

and download everything to that.
jerry
I have a computer that's not connected to the internet that I keep  
up to date using CTM.  I've subscribed to one of the ctm-XXX mail  
list with my work address and I just save the messages to a  
relatively small USB memory stick from the windows machine.  Once I  
have the updates on there I bring the stick home and run ctm-rmail  
and it updates my source tree.


It would have been even easier if I was able to get ftp access to  
get the CTM updates directly without resorting to using e-mail for  
the transfer.


You can!  The CTM deltas are available from FTP.  You would have  
started out by getting an empty delta from FTP - and all the  
increments are located in the same place.  There is more information  
in the handbook.


Cheers
Sam

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


FreeMat 3.0 doesn't call functions and help

2007-04-07 Thread Vittorio De Martino
I've just installed FreeMat 3.0 from the ports in my i386 6.2 box but, while 
it is able to accomplish simple calculations it is not able to use the 
functions e.g to invert a matrix

a=[1,2;-4,3]
inv(a)

instead of inverting the matrix hangs endlessly.

Besides if I ask for the help on line (OR helpwin) the following error 
messages pops up  

The file modules.txt is missing from the directory  where I think help files 
should be.
 
I think I didn't configure something but I don't know what (the main.pdf 
manual isn't that helpful as far as the installation is concerned).

Could someone out there help me to start FreeMat?

Ciao
Vittorio  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Receiver (To/CC envelope fields) addresses verification against LDAP/Active Directory in sendmail

2007-04-07 Thread Warren Block

On Sat, 7 Apr 2007, Christopher Martin wrote:

I guess I could white-list out all of sales' and senior management's
addresses.


The scenario where sales and senior management get all their spam with 
no delay and everyone else gets the benefit of greylisting sounds pretty 
much ideal.


Incidentally, my experiments with varying the greylisting timeout period 
have shown no appreciable difference.  It's the initial refusal that 
does the most good; spam zombies generally can't afford the time to 
retry.  I have seen a few where there's a quick attempt to resend the 
same spam from up to about five different spam zombies, but greylisting 
handles that very effectively.


-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 [EMAIL PROTECTED]


Re: Fontconfig question... .

2007-04-07 Thread Christian Walther

On 06/04/07, Gary Kline [EMAIL PROTECTED] wrote:

When I fire up mozilla, firefox, OO-2.1.0, and whatever else,
I'll see this to stdout:


  pe 16:37 tao [5433] mozilla
  Fontconfig warning: no cachedir elements found. Check configuration.
  Fontconfig warning: adding cachedir/var/db/fontconfig/cachedir
  Fontconfig warning: adding cachedir~/.fontconfig/cachedir

I've got a seriously old, severely cheep CD with 1500 fonts, plus
hundreds more I've gleaned that are free.  I've clicked around on
firefox and mozilla but have no idea how to find, much less:
Check configuration.

I've read  the html in /usr/X11R6/share/doc/fonconfig, but don't
see any {/usr/local}/etc/fonts directory.  [???]


You might be in need to issue a fc-cache command.
The command builds cache files that are read by fontconfig. Maybe they
are missing from your system.
I had such an issue a long time ago, so I might be wrong here. But
fc-cache just needs a few seconds to execute so it won't hurt. And it
won't break anything. ;-)



Can anybody clue me in?

gary


HTH
Christian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: script perl with sed command

2007-04-07 Thread Warren Block

On Sat, 7 Apr 2007, Olivier Regnier wrote:

I have a problem with my perl script with the command sed. Here is a example 
of my code:


# Selecting the fast server
print Using the server called $server;
system(`/usr/bin/sed 's|\*default host=\(.*\)|\*default host=${server}|' 
$standard_supfile  $standard_supfile.copy`);

system('/bin/mv $standard_supfile.copy $standard_supfile');

But in console i have this message:
sed: 1: s|*default host=(.*)|*d ...: unescaped newline inside subsitute 
pattern


Most likely there is a newline at the end of $server because it was 
output from backticks.  To fix that, you'd use chomp:


chomp(my $server = `fastest_csvsup -Q -c us`);

Just a general note: Perl's s/ command does more than sed's, with less 
hassle, and you wouldn't have to mess with shell escapes.


-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 [EMAIL PROTECTED]


Re: mail server blues

2007-04-07 Thread Eric

Jay Gordon wrote:

go with qmail... it rocks

http://www.qmailrocks.org/

it's a damn good mta.
  

qmail is horrible and outdated. heres a ton of reasons not to use it:

http://www-dt.e-technik.uni-dortmund.de/~ma/qmail-bugs.html

Sure qmail is nice if you want 3000 bounce messages because qmail is too 
dumb of out of the box not to reject mail for invalid recipients before 
queuing it, but hey, if you like that kind of thing or want to spend 
time looking for patches to correct broken behavior, be my guest. =)


go with postfix. It works out of the box and it is actively maintained 
plus there are a TON of good links on the postfix homepage.


This link:

http://www.flakshack.com/anti-spam/

will walk you through everything from start to finish for postfix and 
antispam stuff. Theres a ton more here: http://www.postfix.org/docs.html


do yourself a favor and start with postfix. qmail could have been 
something, but the arrogance of its author has relegated it to the has 
been list, much like his other programs he's released. He should have 
used a real open source license and then perhaps his programs would be 
viable today.


But thats just my opinion! =)

for the imap/pop piece, go with dovecot. its simple to set up and light 
on resources.


By the way, my site is setup using dyndns custom DNS stuff, so its very 
similar to yours. I use postfix + dovecot for my email needs and it 
works perfectly.


Best of luck

Eric

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


Re: No buffer space available

2007-04-07 Thread Chris

On 06/04/07, Marc G. Fournier [EMAIL PROTECTED] wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



- --On Friday, April 06, 2007 06:17:04 +0100 Chris [EMAIL PROTECTED] wrote:

 I am seeing the no buffer space error on a machine running 6.2 STABLE
 feb 24 code, the machine isn't using gmirror.  I had to recude
 recvspace and sendspace to lower values then I want to get round the
 problem.

 67/1163/1230 mbufs in use (current/cache/total)
 65/275/340/65536 mbuf clusters in use (current/cache/total/max)
 65/255 mbuf+clusters out of packet secondary zone in use (current/cache)
 0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max)
 0/0/0/0 9k jumbo clusters in use (current/cache/total/max)
 0/0/0/0 16k jumbo clusters in use (current/cache/total/max)
 146K/840K/987K bytes allocated to network (current/cache/total)
 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
 0/0/0 requests for jumbo clusters denied (4k/9k/16k)
 0/56/8704 sfbufs in use (current/peak/max)
 0 requests for sfbufs denied
 0 requests for sfbufs delayed
 20233 requests for I/O initiated by sendfile
 7740 calls to protocol drain routines

What ethernet driver are you using?  In my case, its an fxp device ... trying
to see if there is *some* sort of common denominator here :(

I just upgraded to the latest kernel last night, to see if maybe a recent
commit had a side-effect of fixing it, but won't know anything for another 48
hours or so ...

- 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFGFpJ44QvfyHIvDvMRAny4AKCOVStyCBOi5Pwt5uyelgze3ML/kQCgxqCp
6VZ/f9U4ibx/zahMLWu+Fs0=
=U8Y1
-END PGP SIGNATURE-




its a re0

Chris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No buffer space available

2007-04-07 Thread Chris

On 06/04/07, Marc G. Fournier [EMAIL PROTECTED] wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



- --On Friday, April 06, 2007 06:17:04 +0100 Chris [EMAIL PROTECTED] wrote:

 I am seeing the no buffer space error on a machine running 6.2 STABLE
 feb 24 code, the machine isn't using gmirror.  I had to recude
 recvspace and sendspace to lower values then I want to get round the
 problem.

 67/1163/1230 mbufs in use (current/cache/total)
 65/275/340/65536 mbuf clusters in use (current/cache/total/max)
 65/255 mbuf+clusters out of packet secondary zone in use (current/cache)
 0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max)
 0/0/0/0 9k jumbo clusters in use (current/cache/total/max)
 0/0/0/0 16k jumbo clusters in use (current/cache/total/max)
 146K/840K/987K bytes allocated to network (current/cache/total)
 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
 0/0/0 requests for jumbo clusters denied (4k/9k/16k)
 0/56/8704 sfbufs in use (current/peak/max)
 0 requests for sfbufs denied
 0 requests for sfbufs delayed
 20233 requests for I/O initiated by sendfile
 7740 calls to protocol drain routines

What ethernet driver are you using?  In my case, its an fxp device ... trying
to see if there is *some* sort of common denominator here :(

I just upgraded to the latest kernel last night, to see if maybe a recent
commit had a side-effect of fixing it, but won't know anything for another 48
hours or so ...

- 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFGFpJ44QvfyHIvDvMRAny4AKCOVStyCBOi5Pwt5uyelgze3ML/kQCgxqCp
6VZ/f9U4ibx/zahMLWu+Fs0=
=U8Y1
-END PGP SIGNATURE-




Also to add I now have a 2nd box using 6.2 STABLE few days old code,
had to use it because of broadcom 5755 nic card, I plan to use large
tcp window sizes so will be interesting to see if this also suffers
from the problem.

Chris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Buildworld error

2007-04-07 Thread Schiz0

On 4/7/07, Lowell Gilbert [EMAIL PROTECTED] wrote:


Schiz0 [EMAIL PROTECTED] writes:

 I'm following the handbook to rebuild world. I updated via csup
(Supfile:
 http://pastebin.ca/427631 ) right before I ran make buildworld. Now I'm
 getting this error: http://pastebin.ca/427605

 I just installed the system before doing this, so the /usr/src dir
should be
 fresh.

 Any ideas?

 Thanks in advance to everyone. Without IRC and the mailing lists, I
would be
 using Windows ;-)

Is there anything non-standard in your make.conf?
Are you using Kerberos?



No, I'm not using Kerberos. Also, I went through the entire make.conf man
page and added the appropriate settings for my system. My make.conf is
pasted at: http://pastebin.ca/428698
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeMat 3.0 doesn't call functions and help

2007-04-07 Thread Thierry Thomas
Le Sam  7 avr 07 à 21:24:05 +0200, Vittorio De Martino [EMAIL PROTECTED]
 écrivait :
 I've just installed FreeMat 3.0 from the ports in my i386 6.2 box but, while 
 it is able to accomplish simple calculations it is not able to use the 
 functions e.g to invert a matrix
 
 a=[1,2;-4,3]
 inv(a)
 
 instead of inverting the matrix hangs endlessly.

You're right: I have no problem to run the examples and the classical
functions are OK, simple operations on matrix are OK, but inv() hangs.

I'll report this to the author.

 Besides if I ask for the help on line (OR helpwin) the following error 
 messages pops up  
 
 The file modules.txt is missing from the directory  where I think help files 
 should be.

It's working on my machine, but the same problem has been reported in PR
ports/109469 http://www.freebsd.org/cgi/query-pr.cgi?pr=109469.

Could you please send me output of truss when you just launch FreeMat
and call helpwin?

Could you please also try again from the package (`pkg_add -r' should be
OK).

 I think I didn't configure something but I don't know what (the main.pdf 
 manual isn't that helpful as far as the installation is concerned).
 
 Could someone out there help me to start FreeMat?

I'd like to fix it!

Regards,
-- 
Th. Thomas.


pgpgQy9K9RGCi.pgp
Description: PGP signature


Re: script perl with sed command

2007-04-07 Thread Olivier Regnier

Warren Block a écrit :

On Sat, 7 Apr 2007, Olivier Regnier wrote:

I have a problem with my perl script with the command sed. Here is a 
example of my code:


# Selecting the fast server
print Using the server called $server;
system(`/usr/bin/sed 's|\*default host=\(.*\)|\*default 
host=${server}|' $standard_supfile  $standard_supfile.copy`);

system('/bin/mv $standard_supfile.copy $standard_supfile');

But in console i have this message:
sed: 1: s|*default host=(.*)|*d ...: unescaped newline inside 
subsitute pattern


Most likely there is a newline at the end of $server because it was 
output from backticks.  To fix that, you'd use chomp:


chomp(my $server = `fastest_csvsup -Q -c us`);

Just a general note: Perl's s/ command does more than sed's, with less 
hassle, and you wouldn't have to mess with shell escapes.


-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 
[EMAIL PROTECTED]

Ok thank you for your answer. The script work well.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Buildworld error

2007-04-07 Thread [EMAIL PROTECTED]

On 07/04/07, Schiz0 [EMAIL PROTECTED] wrote:

On 4/7/07, Lowell Gilbert [EMAIL PROTECTED] wrote:

 Schiz0 [EMAIL PROTECTED] writes:

  I'm following the handbook to rebuild world. I updated via csup
 (Supfile:
  http://pastebin.ca/427631 ) right before I ran make buildworld. Now I'm
  getting this error: http://pastebin.ca/427605
 
  I just installed the system before doing this, so the /usr/src dir
 should be
  fresh.
 
  Any ideas?
 
  Thanks in advance to everyone. Without IRC and the mailing lists, I
 would be
  using Windows ;-)

 Is there anything non-standard in your make.conf?
 Are you using Kerberos?


No, I'm not using Kerberos. Also, I went through the entire make.conf man
page and added the appropriate settings for my system. My make.conf is
pasted at: http://pastebin.ca/428698


For the first part, I do not believe that
make checks what the NO_* variable
is set to, only that it is set, so false is
the same as true (I think I remember
reading that somewhere).

Try building world without any /etc/make.conf
Obviously if it succeeds you have narrowed
down your problems.

If that fails, csup and try again.  Sometimes
you catch the server with partially updated
sources.

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


Re: script perl with sed command

2007-04-07 Thread Garrett Cooper

Olivier Regnier wrote:

Hello,

I have a problem with my perl script with the command sed. Here is a 
example of my code:


# Selecting the fast server
print Using the server called $server;
system(`/usr/bin/sed 's|\*default host=\(.*\)|\*default 
host=${server}|' $standard_supfile  $standard_supfile.copy`);

system('/bin/mv $standard_supfile.copy $standard_supfile');

But in console i have this message:
sed: 1: s|*default host=(.*)|*d ...: unescaped newline inside 
subsitute pattern


Can you help me please ?

Thank you :)
   You forgot chomp $server; All commands with backticks ('`') have 
newlines inserted after them.
   There should only be one reference to *default host= though, so 
why are you going through the trouble of using sed?

   This can be done inline with perl as well.
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Buildworld error

2007-04-07 Thread Lowell Gilbert
Schiz0 [EMAIL PROTECTED] writes:

 On 4/7/07, Lowell Gilbert [EMAIL PROTECTED] wrote:

 Schiz0 [EMAIL PROTECTED] writes:

  I'm following the handbook to rebuild world. I updated via csup
 (Supfile:
  http://pastebin.ca/427631 ) right before I ran make buildworld. Now I'm
  getting this error: http://pastebin.ca/427605
 
  I just installed the system before doing this, so the /usr/src dir
 should be
  fresh.
 
  Any ideas?
 
  Thanks in advance to everyone. Without IRC and the mailing lists, I
 would be
  using Windows ;-)

 Is there anything non-standard in your make.conf?
 Are you using Kerberos?


 No, I'm not using Kerberos. Also, I went through the entire make.conf man
 page and added the appropriate settings for my system. My make.conf is
 pasted at: http://pastebin.ca/428698

That is a *big* configuration file; I'm not going to go through all of
it to debug it.  You have a lot of variables set to false, which is
the same as setting them to true; see make.conf(5) for details.

I recommend building with an empty make.conf to be sure that you are
able to build without any special settings, and *then* try tuning it
(if you want to; there is rarely any strong reason to do so).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Buildworld error

2007-04-07 Thread Schiz0

On 4/7/07, Lowell Gilbert [EMAIL PROTECTED] wrote:


Schiz0 [EMAIL PROTECTED] writes:

 On 4/7/07, Lowell Gilbert [EMAIL PROTECTED]
wrote:

 Schiz0 [EMAIL PROTECTED] writes:

  I'm following the handbook to rebuild world. I updated via csup
 (Supfile:
  http://pastebin.ca/427631 ) right before I ran make buildworld. Now
I'm
  getting this error: http://pastebin.ca/427605
 
  I just installed the system before doing this, so the /usr/src dir
 should be
  fresh.
 
  Any ideas?
 
  Thanks in advance to everyone. Without IRC and the mailing lists, I
 would be
  using Windows ;-)

 Is there anything non-standard in your make.conf?
 Are you using Kerberos?


 No, I'm not using Kerberos. Also, I went through the entire make.confman
 page and added the appropriate settings for my system. My make.conf is
 pasted at: http://pastebin.ca/428698

That is a *big* configuration file; I'm not going to go through all of
it to debug it.  You have a lot of variables set to false, which is
the same as setting them to true; see make.conf(5) for details.

I recommend building with an empty make.conf to be sure that you are
able to build without any special settings, and *then* try tuning it
(if you want to; there is rarely any strong reason to do so).



It seems I read through make.conf(5) a bit to fast and missed the part about
it ignoring the value of bool vars. I'll redo my make.conf and try
rebuilding and see if that works. If it doesn't, I'll clear out
make.confand try again. Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Linux emluation of Skype not complete.

2007-04-07 Thread Boris Samorodov
On Thu, 5 Apr 2007 14:19:34 -0700 (PDT) Paris Jones wrote:
 Garrett Cooper [EMAIL PROTECTED] wrote: Paris Jones wrote:
 
 
  */Garrett Cooper /* wrote:
 
  Paris Jones wrote:
   I am using FreeBSD 6.0 Stable.
  
   My friend told me about Skype and was very egar to try it, to my
  dismay the port of Skype will only accept one device for audio
  input and output, (Which my headset requires) and I would rather
  not mess with the DSP hijacker so I installed the linux build for
  skype.com (The static with QT compiled in) but was also upset to
  find that I could not call or receive calls from anyone. I am
  using the linux_base-8, if someone could tell me how I can start
  calling people it would be very useful, I have read maybe 2
  articles about this on google and both tell me to install ports
  that no longer exist.
  
   Thank you again.
   -ARCKEDA
  
  That's because OSS by itself doesn't support more than one channel
  at a
  time. You need to support virtual channels (a FreeBSD only feature
  AFAIK) by entering in the following lines in /etc/sysctl.conf:
 
  hw.snd.maxautovchans = 20 # Adjust to fit the number of simultaneous
  sound channels you want enabled at once.
 
  -Garrett
 
  I don't think that multiple sound channels are the problem. You see, 
  in the port,
 
  there is only one sound device I can choose, even though my headset 
  outputs to
 
  /dev/dsp and gets input from /dev/dsp1, so that I can only talk or 
  hear, not both at
 
  the same time.   The linux build will not even let me call anyone or 
  recieve calls,
 
  not even the call testing service.
 
  Please feel free to tell me any thing that you think might help.
 
-ARCKEDA
 
  
 Yes, it's most likely the problem if you can't play multiple audio 
 sources at once.
 
 Just please try my suggestion before saying it's not possible.
 
   -Garrett

 I am afraid 

Don't be afraid, we'll _try_ to help you...

 that playing multiple audio sources is not my problem,

...but without actually doing some real (recommended) actions and show
us the result you'll stay with your problems.

Did you do what Garrett had suggested?

 the problem is I don't have the option to select more than one source at a 
 time in the Skype native port.  In the linux build, I have that option, but I 
 can't call or receive calls from anyone.

Besides that I'd like to mention that the current default port is
linux_base-fc4. The port you have even doesn't exist at current
FreeBSD ports tree.

Please, read /usr/ports/UPDATING (at least 20060616: AFFECTS: users of
emulation/linux_base-*) and show us the result.


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 [EMAIL PROTECTED]


Re: Linux emluation of Skype not complete.

2007-04-07 Thread Garrett Cooper

Boris Samorodov wrote:

On Thu, 5 Apr 2007 14:19:34 -0700 (PDT) Paris Jones wrote:
  

Garrett Cooper [EMAIL PROTECTED] wrote: Paris Jones wrote:


*/Garrett Cooper /* wrote:

Paris Jones wrote:
 I am using FreeBSD 6.0 Stable.

 My friend told me about Skype and was very egar to try it, to my
dismay the port of Skype will only accept one device for audio
input and output, (Which my headset requires) and I would rather
not mess with the DSP hijacker so I installed the linux build for
skype.com (The static with QT compiled in) but was also upset to
find that I could not call or receive calls from anyone. I am
using the linux_base-8, if someone could tell me how I can start
calling people it would be very useful, I have read maybe 2
articles about this on google and both tell me to install ports
that no longer exist.

 Thank you again.
 -ARCKEDA

That's because OSS by itself doesn't support more than one channel
at a
time. You need to support virtual channels (a FreeBSD only feature
AFAIK) by entering in the following lines in /etc/sysctl.conf:

hw.snd.maxautovchans = 20 # Adjust to fit the number of simultaneous
sound channels you want enabled at once.

-Garrett

I don't think that multiple sound channels are the problem. You see, 
in the port,


there is only one sound device I can choose, even though my headset 
outputs to


/dev/dsp and gets input from /dev/dsp1, so that I can only talk or 
hear, not both at


the same time.   The linux build will not even let me call anyone or 
recieve calls,


not even the call testing service.

Please feel free to tell me any thing that you think might help.

  -ARCKEDA


  
Yes, it's most likely the problem if you can't play multiple audio 
sources at once.


Just please try my suggestion before saying it's not possible.

 -Garrett



  
I am afraid 



Don't be afraid, we'll _try_ to help you...

  

that playing multiple audio sources is not my problem,



...but without actually doing some real (recommended) actions and show
us the result you'll stay with your problems.

Did you do what Garrett had suggested?

  
the problem is I don't have the option to select more than one source at a 
time in the Skype native port.  In the linux build, I have that option, but I 
can't call or receive calls from anyone.



Besides that I'd like to mention that the current default port is
linux_base-fc4. The port you have even doesn't exist at current
FreeBSD ports tree.

Please, read /usr/ports/UPDATING (at least 20060616: AFFECTS: users of
emulation/linux_base-*) and show us the result.


WBR
  
One thing other than that though. Not all cards support virtual channels 
(or hardware mixing as it's referred to with ALSA), so you might be 
stuck with purchasing another sound card. Just make sure you don't 
purchase a Creative X-Fi card ;).

-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: locking down scsi device id's in 6.2

2007-04-07 Thread Robert Marella
On Fri, 6 Apr 2007 19:15:27 -0400
Dave [EMAIL PROTECTED] wrote:

 Hello,
 I've got a situation where three devices, one a scsi tape drive and
 the other two ide burners under scsi emulation with atapicam are
 fighting for scsi id's and i'd like to lock them down to specific
 id's. When the tape drive isn't plugged in the burners get 000 and
 010 scsi ids, but when the tape goes in it takes 050 and the burners
 are on bus2 200 and 210 respectively. I hope this makes sense. I've
 been over loader and device.hints as well and i'm lost. I'd
 appreciate any info on this. Thanks.
 Dave.
 

Hello Dave

Have you looked at man scsi (4) for the correct way to
edit /boot/device.hints to wire down devices? 


HTH

Robert
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No buffer space available

2007-04-07 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



- --On Saturday, April 07, 2007 20:12:00 +0100 Chris [EMAIL PROTECTED] wrote:

 Also to add I now have a 2nd box using 6.2 STABLE few days old code,
 had to use it because of broadcom 5755 nic card, I plan to use large
 tcp window sizes so will be interesting to see if this also suffers
 from the problem.

I've got 8 servers on the same network, 3 are almost identical, but one of them 
(the one with the problem) is using software RAID vs hardware ... but, if you 
are seeing it without using software RAID, then that is obviously not the 
culprit :(

- 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFGGCda4QvfyHIvDvMRAshzAJ47nHUdu2Xlxy8odBbaCxufhfV9igCgjQTw
xNFG2VFQmGPNhjToZJ6HDNk=
=6BN+
-END PGP SIGNATURE-

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


Re: Fontconfig question... .

2007-04-07 Thread Gary Kline
On Sat, Apr 07, 2007 at 05:48:48PM +, Christian Walther wrote:
 On 06/04/07, Gary Kline [EMAIL PROTECTED] wrote:
 When I fire up mozilla, firefox, OO-2.1.0, and whatever else,
 I'll see this to stdout:
 
 
   pe 16:37 tao [5433] mozilla
   Fontconfig warning: no cachedir elements found. Check 
   configuration.
   Fontconfig warning: adding 
   cachedir/var/db/fontconfig/cachedir
   Fontconfig warning: adding cachedir~/.fontconfig/cachedir
 
 I've got a seriously old, severely cheep CD with 1500 fonts, plus
 hundreds more I've gleaned that are free.  I've clicked around on
 firefox and mozilla but have no idea how to find, much less:
 Check configuration.
 
 I've read  the html in /usr/X11R6/share/doc/fonconfig, but don't
 see any {/usr/local}/etc/fonts directory.  [???]
 
 You might be in need to issue a fc-cache command.
 The command builds cache files that are read by fontconfig. Maybe they
 are missing from your system.
 I had such an issue a long time ago, so I might be wrong here. But
 fc-cache just needs a few seconds to execute so it won't hurt. And it
 won't break anything. ;-)
 
 
 Can anybody clue me in?
 
 gary
 
 HTH


Can't tell yet!  Doing an ls -ltR in /usr/X11R6/etc/fonts shows
that the files were touched in late March.  Doing 

# fc-cache 

yields:

[EMAIL PROTECTED]:/usr/X11R6/etc/fonts# !501
fc-cache
Fontconfig warning: no cachedir elements found. Check configuration.
Fontconfig warning: adding cachedir/var/db/fontconfig/cachedir
Fontconfig warning: adding cachedir~/.fontconfig/cachedir

So I'll check the config file.  Do you know if I can add my
collection of free fonts? and if so, how?  (It's been ten years 
since I messed with the font stuff!)  FWIW, yesterday I used my
OO wizard from 2.1 to install a bunch of fonts.  It's really not
``critical-path'' to get this working, but it'd be K00L ...

gary



 Christian

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

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


RE: net-snmp: portupgrade or clean instalation from ports throughNFS failed again and again

2007-04-07 Thread Daniel Dvořák
Yes, you were right! It was enough to rename .PL to .pl with Makefile.

So I guess the net-snmp port is broken, isn´t it ?

Dan

-Original Message-
From: Garrett Cooper [mailto:[EMAIL PROTECTED] 
Sent: Sunday, April 1, 2007 03:41 AM
To: Daniel Dvořák
Cc: freebsd-questions@freebsd.org; [EMAIL PROTECTED]
Subject: Re: net-snmp: portupgrade or clean instalation from ports throughNFS 
failed again and again

My guess is that that particular error message is a typo because usually 
Perl scripts are prefixed like {blah}.pl, not {blah}.PL.
-Garrett

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


Re: net-snmp: portupgrade or clean instalation from ports throughNFS failed again and again

2007-04-07 Thread Garrett Cooper

Daniel Dvořák wrote:

Yes, you were right! It was enough to rename .PL to .pl with Makefile.

So I guess the net-snmp port is broken, isn´t it ?

Dan

-Original Message-
From: Garrett Cooper [mailto:[EMAIL PROTECTED] 
Sent: Sunday, April 1, 2007 03:41 AM

To: Daniel Dvořák
Cc: freebsd-questions@freebsd.org; [EMAIL PROTECTED]
Subject: Re: net-snmp: portupgrade or clean instalation from ports throughNFS 
failed again and again

My guess is that that particular error message is a typo because usually 
Perl scripts are prefixed like {blah}.pl, not {blah}.PL.

-Garrett

  
Either that or a config file's goofed up. I tried to install some PM 
from CPAN recently and all of the Makefiles were once with .PL, not .pl. 
Hmmm...

-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Skype can't connect.

2007-04-07 Thread Paris Jones
// Weirdness, why did all the messages disappear?

I would first like to say sorry Garret, my previous questions were not in good
detail.
FREEBSD 6.0 STABLE
Using the linux_base-8 port.
--I am using a USB headset, but have also tried one that plugs directly into 
my  microphone and speaker slots on my computer.  Now, since my USB headsetwill 
input sound from one device, and output from another, I am in a little  
 problem. here is a picture of the options for headset in the skype port:   
 http://www.arckeda.org/Skype_port.png

 As you can see, there is only one device I can use for my headset,
(there is supposed to be a program called DSP highjacker for this, 
but I would think that there would be a better way.)  Now, I  downloaded 
the Linux static binary with QT compiled in from the skype website 
(www.skype.com) and  tried it on my computer, if I go into the options in 
that one, I see this:

 http://www.arckeda.org/Skype_native.png

 You may want to know why I am even writing this if I can just use the 
Linux 
Skype, well, I am writing this because the Linux build will not let me call
anyone:  

 http://www.arckeda.org/Skype_native_cant_call.png

It will just keep saying connecting, and nothing ever happens, I can 
however see who is online at the moment:

 http://www.arckeda.org/Skype_native_can_see.png

So, my question is, how can I either make the Skype port let me use 
two  devices
or, allow the Linux Skype to let me call people and receive calls.
I think that about sums it up.

Thank you.

  -ARCKEDA
   




 
-
Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Skype can't connect.

2007-04-07 Thread Doug Lee
On Sat, Apr 07, 2007 at 06:55:58PM -0700, Paris Jones wrote:
 // Weirdness, why did all the messages disappear?
 
 I would first like to say sorry Garret, my previous questions were not in good
 detail.

[recap of a problem often requoted recently on list]

I happen to be blind and so can't examine your .png files.  I also
happen to be a very regular user of Skype (though on Windows) and
FreeBSD (though an old version).

First question:  Why, after all the urging, do you not just try the
hw.snd.maxautovchans option and see what happens?  It doesn't take
long to do this, and certainly not as long as it takes to retype
your question with details. :)

But maybe you aren't aware that having multiple channels can, at
least afaik, allow device names like /dev/dsp0.0, /dev/dsp0.1, etc.
If just setting maxautovchans doesn't let you use the same device
name in both places, maybe you can use different ones after all.
But I still think you have to set maxautovchans.

Details from you remain below.

 FREEBSD 6.0 STABLE
 Using the linux_base-8 port.
 --I am using a USB headset, but have also tried one that plugs directly into 
 my  microphone and speaker slots on my computer.  Now, since my USB 
 headsetwill input sound from one device, and output from another, I am in a 
 little   problem. here is a picture of the options for headset in 
 the skype port:   
  http://www.arckeda.org/Skype_port.png
 
  As you can see, there is only one device I can use for my headset,
 (there is supposed to be a program called DSP highjacker for this, 
 but I would think that there would be a better way.)  Now, I  downloaded 
 the Linux static binary with QT compiled in from the skype website 
 (www.skype.com) and  tried it on my computer, if I go into the options in 
 that one, I see this:
 
  http://www.arckeda.org/Skype_native.png
 
  You may want to know why I am even writing this if I can just use the 
 Linux 
 Skype, well, I am writing this because the Linux build will not let me call
 anyone:  
 
  http://www.arckeda.org/Skype_native_cant_call.png
 
 It will just keep saying connecting, and nothing ever happens, I can 
 however see who is online at the moment:
 
  http://www.arckeda.org/Skype_native_can_see.png
 
 So, my question is, how can I either make the Skype port let me use 
 two  devices
 or, allow the Linux Skype to let me call people and receive calls.
 I think that about sums it up.
 
 Thank you.
 
   -ARCKEDA

-- 
Doug Lee [EMAIL PROTECTED]
SSB + BART Group [EMAIL PROTECTED]   http://www.ssbbartgroup.com
Innovation is hard to schedule. -- Dan Fylstra
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


The FreeBSD Diary: 2007-03-18 - 2007-04-07

2007-04-07 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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


Package management question

2007-04-07 Thread Chris Kottaridis
I need a little advise on FreeBSD package management, I am kind of new
to the FreeBSD package management thing and so I am sure this is a very
basic question.

I just installed 6.2 and apparently it installed the mysql-client 5.0
package. I want to get mysql up to 5.1 from the /usr/ports directory,
figuring the most recent version in the ports directory is better. So, I
built the mysql51 port and when it came time to do make install it
complained that mysql 5.0 was already in place and I should delete it
first:

# make install
===  Installing for mysql-client-5.1.11

===  mysql-client-5.1.11 conflicts with installed package(s):
  mysql-client-5.0.27

  They install files into the same place.
  Please remove them first with pkg_delete(1).
*** Error code 1

Stop in /usr/ports/databases/mysql51-client.


Fair enough, but when I look at the pkg_info for 5.0.27:

$ pkg_info mysql-client-5.0.27
Information for mysql-client-5.0.27:

Comment:
Multithreaded SQL database (client)


Required by:
koffice-1.5.2,2
kde-3.5.4


Description:
MySQL is a very fast, multi-threaded, multi-user and robust SQL
(Structured Query Language) database server.

WWW: http://www.mysql.com/

- Alex Dupre
[EMAIL PROTECTED]


And indeed pkg_delete doesn't allow me to delete the package due to the
dependencies:

# pkg_delete mysql-client-5.0.27
pkg_delete: package 'mysql-client-5.0.27' is required by these other
packages
and may not be deinstalled:
koffice-1.5.2,2
kde-3.5.4

So, is the right answer to use pkg_delete -f and force the delete and
then install mysql 5.1 and hope that koffice and kde are OK with the
change ?

That seems a bit brutal, but I can't seem to find any kind of a
pkg_update option.

I really just want to get a mysql server on the machine, but the
mysql51-server port complained there weas no mysql-51-client. I assume I
can install the mysql50-server, but I might as well go with the latest
and greatest if I can.

Thanks
Chris Kottaridis([EMAIL PROTECTED])

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