Re: Fdisk error during 6.1-RELEASE cd installation

2006-05-23 Thread Ghislain Garçon

Thanks for your response and sorry to be so late.

I've tested what the FAQ told about and every thing look fine.

Prevuiously there was a NetBSD installation on this disk, why FreeBSD  
can't be installed on the same disk?


Ghislain




On 5/17/06, Ghislain Garçon [EMAIL PROTECTED] wrote:
Nobody is interested in my problem or the solution is very simple and
I missed it?

 Hello,
 I have a problem during FreeBSD 6.1-RELEASE installation on a i386
 machine with a boot CD. First, I found that FireWire desactivation
 is better to start the installation :-).
 But my problem is when Fdisk try to write slice, in log vtty i get :
 ad2: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA = 66
 ad2: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA = 66
 ad2: FAILURE - READ_DMA status = 51 READY, DSC, ERROR error=84
 ICRC, ABORTED LBA=66

hello,

Please read the FAQ at this link (maybe is what you need):
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/book.html#UDMA- 
ICRC


have a nice day,
Ionut


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


Re: upgrade from OLD - NEW release

2006-05-23 Thread Dominique Goncalves

On 5/23/06, Albert Shih [EMAIL PROTECTED] wrote:

 Le 22/05/2006 à 19:27:47+0200, Dominique Goncalves a écrit
 Hi,

 On 5/22/06, Albert Shih [EMAIL PROTECTED] wrote:
 Hi all
 
 From many time I make the upgrade my FreeBSD by using :
 
 make -DNO_PROFILE buildowlrd
 make buildkernel
 make installkernel
 reboot/single
 make -DNO_PROFILE installworld
 mergemaster
 reboot
 
 Well everything work fine..but I always have some old file in /lib and
 /usr/lib
 
 Can I destroy him without problem ?

 There are news targets that can help you since FreeBSD 6.1-RELEASE:
 check-old, delete-old and delete-old-libs

 [EMAIL PROTECTED] /usr/src]$ make check-old
 Checking for old files
 Checking for old libraries
 Checking for old directories
 To remove old files and directories run 'make delete-old'.
 To remove old libraries run 'make delete-old-libs'.

 HTH

Of course that help. Lots of thanks.

and on old release (because I've lots of 5.x -- 6.x but I've also lots of
4.x -- 5.x) are the some things like that ?


AFAIK, unfortunately only since 6.1-RELEASE according to
http://www.freebsd.org/cgi/cvsweb.cgi/src/ObsoleteFiles.inc?f=uonly_with_tag=RELENG_6_1logsort=date



Thanks again.

Regards.
--
Albert SHIH
Universite de Paris 7 (Denis DIDEROT)
U.F.R. de Mathematiques.
7 ième étage, plateau D, bureau 10
Heure local/Local time:
Tue May 23 01:16:33 CEST 2006



Regards.

--
There's this old saying: Give a man a fish, feed him for a day. Teach
a man to fish, feed him for life.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: best Java enviroment for dev with Eclipse...

2006-05-23 Thread Jonathan Chen
On Tue, May 23, 2006 at 03:32:09PM +1000, Norberto Meijome wrote:
 Hi all,
 i want to do some java / c++ / php development using Eclipse. I currently have
 the following installed:
 
 jdk-1.4.2p8_3   Java Development Kit 1.4.2
 swt-3.1.1   Standard Widget Toolkit for Java
 
 eclipse-3.1.2   An open extensible IDE for anything and nothing in 
 particul
 eclipse-EPIC-0.3.0_2 EPIC adds Perl support to the Eclipse IDE Framework
 eclipse-cdt-3.0.1   C/C++ IDE for Eclipse
 eclipse-clay-core-1.2.0 A database design tool for the Eclipse development
 environm eclipse-emf-2.1.1   Eclipse Modeling Framework
 eclipse-examples-3.0_2 Examples for the Eclipse IDE
 eclipse-gef-3.1.1   Graphical Editing Framework for the Eclipse IDE
 eclipse-vep-1.1.0.1,1 A framework for creating GUI builders for Eclipse
 eclipse-webtools-0.7 Webtools for eclipse
 phpeclipse-1.1.4PHP Eclipse adds PHP support to the Eclipse IDE Framework
 
 but i'm finding many crashes when trying to use it. Should I be using
 linux-java  port instead of native jdk ?

I've been using it with both native 1.4.2 and 1.5 and it's been
rock-solid. It's very likely that one of the plugins you're using is
buggy and causing it to crash.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
The human mind ordinarily operates at only ten percent of its capacity
 -- the rest is overhead for the operating system.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


kern.ngroups == num. process groups ?

2006-05-23 Thread Duane Whitty

Hi,

I saw a reference to kern.ngroups on this list and didn't know what it 
meant.


I decided to peek at the source and it seems to me that it is the
number of process groups.  Is that correct?

Thanks in advance,

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


Re: kern.ngroups == num. process groups ?

2006-05-23 Thread Colin Percival
Duane Whitty wrote:
 I saw a reference to kern.ngroups on this list and didn't know what it
 meant.
 
 I decided to peek at the source and it seems to me that it is the
 number of process groups.  Is that correct?

No, kern.ngroups is the maximum number of groups to which a user can
belong at the same time.

Colin Percival

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


Re: OpenGL and Intel Graphics [WAS: Cake and Eat it Too: RTCW Port]

2006-05-23 Thread Peter Jeremy
On Mon, 2006-May-22 16:35:28 -0500, Jeff Cross wrote:
Is there anyway I can apply the DRM updates w/o upgrading my system to
6-STABLE?

One approach is to maintain your own CVS repo (via CTM or CVSup) and
then you can easily change the tags on different parts of the tree:
You do a 'cvs co -rRELENG_6_1' and then 'cvs co -rRELENG_6' in
/usr/src/sys/dev/drm.

  I would really like to maintain my system with freebsd-update
and not have to compile every time a security update comes out.

Running FreeBSD update means you must run a stock system with no local mods.

  I run
FreeBSD on my laptop and compile times can run a little long.

Let it compile overnight.

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


Re: kern.ngroups == num. process groups ?

2006-05-23 Thread Duane Whitty

Colin Percival wrote:

Duane Whitty wrote:
  

I saw a reference to kern.ngroups on this list and didn't know what it
meant.

I decided to peek at the source and it seems to me that it is the
number of process groups.  Is that correct?



No, kern.ngroups is the maximum number of groups to which a user can
belong at the same time.

Colin Percival




  

Ah, okay.  Thanks.  It looks like kern_mib.c has lots of good stuff.

Much obliged,

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


Re: e-mail server farm question

2006-05-23 Thread Evren Yurtesen

Vulpes Velox wrote:


On Mon, 22 May 2006 11:54:02 -0500
Kevin Kinsey [EMAIL PROTECTED] wrote:



At 07:17 AM 5/22/2006, Evren Yurtesen wrote:


Hello,

I was wondering how does services like yahoo mail is storing
e-mails. Somehow the smtp server should know where to deliver
the mail inside the system and webmail should know from which
server to read it from.

Does anybody have any practical ideas about how it is done?



Derek Ragona wrote:
 If you are using sendmail, as most FreeBSD users are, you can
 check the sendmail.org site for information on mail handling.
 There are a number of methods that depend on your setup.


Well, it's pretty obvious that they aren't using a stock
SendMail:

# telnet mx2.mail.yahoo.com 25
Trying 67.28.113.72...
Connected to mx2.mail.yahoo.com.
Escape character is '^]'.
220 mta309.mail.re4.yahoo.com ESMTP YSmtp service ready

Short of finding an article written by someone 'in the know',
or an answer for someone like that, we can only guess.  I'd
probably start with guessing a big DB on a large SAN;
which pretty much negates the which server to read from
question (up to a point).  Everything else is pretty
academic.  SMTP, IMAP, POP.



Maildir makes it easy to distribute it across multiple machines as
well.


What do you mean exactly? distributing 1 user's mails into seperate
machines? I didnt understand how Maildir helps to this actually.
Thanks,
Evren
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: best Java enviroment for dev with Eclipse...

2006-05-23 Thread Norberto Meijome
On Tue, 23 May 2006 18:38:40 +1200
Jonathan Chen [EMAIL PROTECTED] wrote:

 I've been using it with both native 1.4.2 and 1.5 and it's been
 rock-solid.

Very glad to hear - i'd hate having to go back to windows just for this.

 It's very likely that one of the plugins you're using is
 buggy and causing it to crash.

Yes, i suspected as much. Which plugins do you use, if you dont mind me asking?
and, do you install them from ports/pkgs or download them from eclipse.org ?

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


Re: e-mail server farm question

2006-05-23 Thread Chad Leigh -- Shire.Net LLC


On May 23, 2006, at 1:35 AM, Evren Yurtesen wrote:


Vulpes Velox wrote:


On Mon, 22 May 2006 11:54:02 -0500
Kevin Kinsey [EMAIL PROTECTED] wrote:

At 07:17 AM 5/22/2006, Evren Yurtesen wrote:


Hello,

I was wondering how does services like yahoo mail is storing
e-mails. Somehow the smtp server should know where to deliver
the mail inside the system and webmail should know from which
server to read it from.

Does anybody have any practical ideas about how it is done?



Derek Ragona wrote:
 If you are using sendmail, as most FreeBSD users are, you can
 check the sendmail.org site for information on mail handling.
 There are a number of methods that depend on your setup.


Well, it's pretty obvious that they aren't using a stock
SendMail:

# telnet mx2.mail.yahoo.com 25
Trying 67.28.113.72...
Connected to mx2.mail.yahoo.com.
Escape character is '^]'.
220 mta309.mail.re4.yahoo.com ESMTP YSmtp service ready

Short of finding an article written by someone 'in the know',
or an answer for someone like that, we can only guess.  I'd
probably start with guessing a big DB on a large SAN;
which pretty much negates the which server to read from
question (up to a point).  Everything else is pretty
academic.  SMTP, IMAP, POP.

Maildir makes it easy to distribute it across multiple machines as
well.


What do you mean exactly? distributing 1 user's mails into seperate
machines? I didnt understand how Maildir helps to this actually.



I am not sure anyone was talking about distributing 1 person's mail  
across separate machines.  The discussion seemed to be how to handle  
large amounts of mail spread out across machines, which maildir helps  
with as you can have one or more file servers and lots of consumers  
(imap/pop) and deliverers (mta) accessing those maildirs on your file  
servers.  Combine with a backend database of some sort (we use an  
ldap db that includes the path for a specific accounts mail) and voilá.


Chad


---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net



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


Re: e-mail server farm question

2006-05-23 Thread Evren Yurtesen

Chad Leigh -- Shire.Net LLC wrote:



On May 23, 2006, at 1:35 AM, Evren Yurtesen wrote:


Vulpes Velox wrote:


On Mon, 22 May 2006 11:54:02 -0500
Kevin Kinsey [EMAIL PROTECTED] wrote:


At 07:17 AM 5/22/2006, Evren Yurtesen wrote:


Hello,

I was wondering how does services like yahoo mail is storing
e-mails. Somehow the smtp server should know where to deliver
the mail inside the system and webmail should know from which
server to read it from.

Does anybody have any practical ideas about how it is done?



Derek Ragona wrote:
 If you are using sendmail, as most FreeBSD users are, you can
 check the sendmail.org site for information on mail handling.
 There are a number of methods that depend on your setup.


Well, it's pretty obvious that they aren't using a stock
SendMail:

# telnet mx2.mail.yahoo.com 25
Trying 67.28.113.72...
Connected to mx2.mail.yahoo.com.
Escape character is '^]'.
220 mta309.mail.re4.yahoo.com ESMTP YSmtp service ready

Short of finding an article written by someone 'in the know',
or an answer for someone like that, we can only guess.  I'd
probably start with guessing a big DB on a large SAN;
which pretty much negates the which server to read from
question (up to a point).  Everything else is pretty
academic.  SMTP, IMAP, POP.


Maildir makes it easy to distribute it across multiple machines as
well.



What do you mean exactly? distributing 1 user's mails into seperate
machines? I didnt understand how Maildir helps to this actually.



I am not sure anyone was talking about distributing 1 person's mail  
across separate machines.  The discussion seemed to be how to handle  
large amounts of mail spread out across machines, which maildir helps  
with as you can have one or more file servers and lots of consumers  
(imap/pop) and deliverers (mta) accessing those maildirs on your file  
servers.  Combine with a backend database of some sort (we use an  ldap 
db that includes the path for a specific accounts mail) and voilá.


Chad



Ah sorry, I didnt think it that way for a moment. I thought you meant Maildir
stores mails in seperate files compred to mbox format used by sendmail 
so...anyhow
my mistake :) But it is possible to make changes to sendmail so that it
will store to different folders also.

I think the conclusion is a database, multiple smtp servers querying database
to see where to forward received e-mails, multiple pop3/imap servers querying
database to see from where to read the e-mails and multiple storage machines.
This way it can scale to an unlimited size.

So it requires a lot of coding :)

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


Whereis nanorc

2006-05-23 Thread Yousef Raffah
Hi,

I can't find any nanorc.sample file on my FreeBSD 6.1-RC. I even tried
find /usr/ -name nanorc.sample but no luck! Anyone can share his/her?

Thanks in advance

--
Sincerely,
Yousef Raffah
Senior Systems Administrator
--

Aren't you using Firefox? Get it at http://www.getfirefox.com




signature.asc
Description: This is a digitally signed message part


Re: Whereis nanorc

2006-05-23 Thread Yousef Raffah
On Tue, 2006-05-23 at 12:32 +0300, Yousef Raffah wrote:
 Hi,
 
 I can't find any nanorc.sample file on my FreeBSD 6.1-RC. I even tried
 find /usr/ -name nanorc.sample but no luck! Anyone can share his/her?
 
Sorry, found it under /usr/local/share/examples/nano/nanorc.sample

Anyone tried the syntax highlighting?

 Thanks in advance
 
 --
 Sincerely,
 Yousef Raffah
 Senior Systems Administrator
 --
 
 Aren't you using Firefox? Get it at http://www.getfirefox.com
 
 

--
Sincerely,
Yousef Raffah
Senior Systems Administrator
--

Aren't you using Firefox? Get it at http://www.getfirefox.com




signature.asc
Description: This is a digitally signed message part


make installworld fails on amd64

2006-05-23 Thread Valerio daelli

Hi
I am trying to make a installworld on amd64 and I get the following result:

---
cc -Os  -fno-guess-branch-probability  -fomit-frame-pointer
-fno-unit-at-a-time  -mno-align-long-strings  -mrtd  -mno-mmx
-mno-3dnow -mno-sse -mno-sse2  -DUFS1_AND_UFS2  -DFLAGS=0x80
-DSIOPRT=0x3f8  -DSIOFMT=0x3  -DSIOSPD=9600
-I/usr/src/sys/boot/i386/boot2/../../common
-I/usr/src/sys/boot/i386/boot2/../btx/lib -I.  -Wall
-Waggregate-return -Wbad-function-cast -Wcast-align
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs
-Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings
-ffreestanding -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow
-mno-sse -mno-sse2 -m32  -S -o boot2.s.tmp
/usr/src/sys/boot/i386/boot2/boot2.c
sed -e '/align/d' -e '/nop/d'  boot2.s.tmp  boot2.s
rm -f boot2.s.tmp
as  --32 -o boot2.o boot2.s
ld -static -N --gc-sections -nostdlib -m elf_i386_fbsd -Ttext 0x2000
-o boot2.out /usr/obj/usr/src/sys/boot/i386/boot2/../btx/lib/crt0.o
boot2.o sio.o
objcopy -S -O binary boot2.out boot2.bin
btxld -v -E 0x2000 -f bin -b
/usr/obj/usr/src/sys/boot/i386/boot2/../btx/btx/btx -l boot2.ldr  -o
boot2.ld -P 1 boot2.bin
btxld:No such file or directory
*** Error code 1

Stop in /usr/src/sys/boot/i386/boot2.
*** Error code 1

Stop in /usr/src/sys/boot/i386.
*** Error code 1

Stop in /usr/src/sys/boot.
*** Error code 1

Stop in /usr/src/sys.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
---

I did a cvsup this morning

---

*default host=cvsup.fi.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_6_1
*default delete use-rel-suffix
*default compress
src-all

---

Anyone any idea?
Thanks a lot

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


Re: make installworld fails on amd64

2006-05-23 Thread Valerio daelli

I corrected /etc/make.conf, I changed

CPUTYPE?=opteron

to

CPUTYPE=opteron

and now everything is fixed.
Sorry

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


USB /root shutdown freeze

2006-05-23 Thread markus
I have 6.1-RELEASE installed on a disk in an external USB 2.0 disk 
chassis. It successfully boots a computer and becomes da0. However, it is 
not able to shutdown or reboot, as the system freezes before it shuts 
down.


--- begin ---
# shutdown -h now
[...]

System shutdown time has arrived
Shutting down daemon processes:.
Stopping cron.
Shutting down local daemons:.
Writing entropy file:.
Terminated
.
May 22 13:54:48 allegra syslogd: exiting on signal 15
Waiting (max 60 seconds) for system process 'vnlru' to stop...done
Waiting (max 60 seconds) for system process 'bufdaemon' to stop...done
Waiting (max 60 seconds) for system process 'syncer' to stop...done
Syncing disks, vnodes remaining...8 4 4 2 2 0 0 done
All buffers synced.
Uptime: 40s

--- end ---
This is the point where system stops doing things and not responding to 
anything but five-secs-powerbutton.


The system was installed by issuing

1. Regular FreeBSD install on internal ATA
2. fdisk, bsdlabel, mount USB-disk
3. dump | restore 
4. Fix fstab


The computer is a Dell Latitued D400 (the problem is reproducable on a 
number of other computers). The harddisk is a Maxtor DiamondMax 10 250GB 
IDE. The chassis is Amitech something.


I appreciate any ideas!


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


Re: e-mail server farm question

2006-05-23 Thread DAve

Evren Yurtesen wrote:

Chad Leigh -- Shire.Net LLC wrote:



On May 23, 2006, at 1:35 AM, Evren Yurtesen wrote:


Vulpes Velox wrote:


On Mon, 22 May 2006 11:54:02 -0500
Kevin Kinsey [EMAIL PROTECTED] wrote:


At 07:17 AM 5/22/2006, Evren Yurtesen wrote:


Hello,

I was wondering how does services like yahoo mail is storing
e-mails. Somehow the smtp server should know where to deliver
the mail inside the system and webmail should know from which
server to read it from.

Does anybody have any practical ideas about how it is done?



Derek Ragona wrote:
 If you are using sendmail, as most FreeBSD users are, you can
 check the sendmail.org site for information on mail handling.
 There are a number of methods that depend on your setup.


Well, it's pretty obvious that they aren't using a stock
SendMail:

# telnet mx2.mail.yahoo.com 25
Trying 67.28.113.72...
Connected to mx2.mail.yahoo.com.
Escape character is '^]'.
220 mta309.mail.re4.yahoo.com ESMTP YSmtp service ready

Short of finding an article written by someone 'in the know',
or an answer for someone like that, we can only guess.  I'd
probably start with guessing a big DB on a large SAN;
which pretty much negates the which server to read from
question (up to a point).  Everything else is pretty
academic.  SMTP, IMAP, POP.


Maildir makes it easy to distribute it across multiple machines as
well.



What do you mean exactly? distributing 1 user's mails into seperate
machines? I didnt understand how Maildir helps to this actually.



I am not sure anyone was talking about distributing 1 person's mail  
across separate machines.  The discussion seemed to be how to handle  
large amounts of mail spread out across machines, which maildir helps  
with as you can have one or more file servers and lots of consumers  
(imap/pop) and deliverers (mta) accessing those maildirs on your file  
servers.  Combine with a backend database of some sort (we use an  
ldap db that includes the path for a specific accounts mail) and voilá.


Chad



Ah sorry, I didnt think it that way for a moment. I thought you meant 
Maildir
stores mails in seperate files compred to mbox format used by sendmail 
so...anyhow

my mistake :) But it is possible to make changes to sendmail so that it
will store to different folders also.

I think the conclusion is a database, multiple smtp servers querying 
database
to see where to forward received e-mails, multiple pop3/imap servers 
querying
database to see from where to read the e-mails and multiple storage 
machines.

This way it can scale to an unlimited size.

So it requires a lot of coding :)



Not really, we have a large system which required little coding except 
for script tools.


We have two FreeBSD servers as public gateways running Sendmail + 
Milter-Ahead + MailScanner. These 'gateways' scan mail for viruses and 
then forward the delivery on to three toasters which are FreeBSD servers 
running qmail + vpopmail + Spamd + SquirrelMail.


The toasters each mount an NFS share from a Sun Enterprise to store the 
mail. Vpopmail answers the validation reqests from Milter-Ahead and gets 
all it's storage/authentication information such as Maildir delivery, 
forwarding, SpamAssassin settings, etc from a common MySQL DB.


All very stock and the system can grow as large as the mail store server 
allows. When it is incapable, we will replace it with a larger machine. 
Just because I know you will ask, the mail store server is raid5, dual 
power supply, dual nic. The gateways, toasters, and mail store all 
communicate via a private network which is 1gb.


It has proven very robust during the past two years.

DAve

--
This message was checked by forty monkeys and
found to not contain any SPAM whatsoever.

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


Re: changing kern.ngroups

2006-05-23 Thread Chuck Swiger

Vulpes Velox wrote:

I am really running across the need to change this to something
higher than 16.

I was just wondering if there is any specific reason it is set so low
and any thing to worry about when bumping it up?


The limit is historical, but various protocols like NFS have the # of 
groups limit embedded into their specifications.  Trying to change this 
limit may result in odd behavior, such as user accounts not being 
recognized as being in their primary group, ie the one listed in 
/etc/passwd


--
-Chuck

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


Re: Whereis nanorc

2006-05-23 Thread Eric
Yousef Raffah wrote:
 On Tue, 2006-05-23 at 12:32 +0300, Yousef Raffah wrote:
 Hi,

 I can't find any nanorc.sample file on my FreeBSD 6.1-RC. I even tried
 find /usr/ -name nanorc.sample but no luck! Anyone can share his/her?

 Sorry, found it under /usr/local/share/examples/nano/nanorc.sample
 
 Anyone tried the syntax highlighting?
 

yes, i use it and it works quite well.

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


(no subject)

2006-05-23 Thread zimmermanjj
Hi.  I want to transparently scan incoming mail (POP3, IMAP) for viruses and 
spam on FreeBSD 6.0 RELEASE.  This software needs to sit in stream between the 
client and the server, and should be able to use ClamAV and Spamassassin (or 
has its own filtering capabilities, or other type of filtering input).  I 
believe this would be called a proxy.  I have searched through the ports 
collection extensively and found a port called p3scan.  p3scan is exactly what 
I want, but it uses the compat3x library which is marked forbidden.  Does 
anyone know of an actively-supported and reliable open source tool that will do 
this?  Or does anyone have a better solution besides proxying?

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


Proxy server.

2006-05-23 Thread Efren Bravo
Hi,

Does somebody know a proxy distinct to Squid that
works with a parent proxy?

Thanks.



__ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: (no subject)

2006-05-23 Thread DAve

[EMAIL PROTECTED] wrote:

Hi.  I want to transparently scan incoming mail (POP3, IMAP) for viruses and 
spam on FreeBSD 6.0 RELEASE.  This software needs to sit in stream between the 
client and the server, and should be able to use ClamAV and Spamassassin (or 
has its own filtering capabilities, or other type of filtering input).  I 
believe this would be called a proxy.  I have searched through the ports 
collection extensively and found a port called p3scan.  p3scan is exactly what 
I want, but it uses the compat3x library which is marked forbidden.  Does 
anyone know of an actively-supported and reliable open source tool that will do 
this?  Or does anyone have a better solution besides proxying?

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




http://www.freebsd.org/cgi/cvsweb.cgi/ports/mail/mailscanner/
http://www.sng.ecs.soton.ac.uk/mailscanner/

Exceptionally well done and well supported. The port maintainer is Jan 
Koopman and he does a great job keeping the port up to date.


No proxy required, the messages can be left unaltered. Works with 
FreeBSD installed sendmail with minimal changes.


DAve

--
This message was checked by forty monkeys and
found to not contain any SPAM whatsoever.

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


Re: (no subject)

2006-05-23 Thread Eric
[EMAIL PROTECTED] wrote:
 Hi.  I want to transparently scan incoming mail (POP3, IMAP) for viruses and 
 spam on FreeBSD 6.0 RELEASE.  This software needs to sit in stream between 
 the client and the server, and should be able to use ClamAV and Spamassassin 
 (or has its own filtering capabilities, or other type of filtering input).  I 
 believe this would be called a proxy.  I have searched through the ports 
 collection extensively and found a port called p3scan.  p3scan is exactly 
 what I want, but it uses the compat3x library which is marked forbidden.  
 Does anyone know of an actively-supported and reliable open source tool that 
 will do this?  Or does anyone have a better solution besides proxying?
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Best Practices - interrupt storm

2006-05-23 Thread Charles Howse

Hi,
FreeBSD 6.1-RELEASE, cups-1.1.23.0_1, HP 1100 LaserJet

I've found quite a bit of information about how to deal with:
Interrupt storm detected in irq7:; throttling interrupt source

Problem is, it's a little confusing.
From what I've gathered, the options are:
Use the BIOS to set the printer port to ECP,
Use lptcontrol to set the port to polled mode,
Use device.hints to do both

IIRC, in the past, I have used lptcontrol to set polled mode, but  
that resulted in:

too many stray irq7's, not logging any more

Can anyone suggest a method to make both interrupt storm and too  
many stray irq7's go away?


--
Thanks,
Charles
http://bubbabbq.homeunix.net


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


Re: Setting up NIS questions?

2006-05-23 Thread David Robillard

I have 2 NICS in the master node of a small cluster.
bge0 is connected to the outside world with a FQDN
and registered DNS IP address.  bge1 is connected to
a 192.168.0.x internal network.  I'm trying to configure
NIS for the internal network, but ypinit is grabbing the
FQDN.  I've read the Handbook and ypinit manual page
without too much enlightment. :(

What I'm after is

192.168.0.10  NIS master server
192.168.0.11  NIS slave server
192.168.0.[12-15] NIS clients

Anyone have a pointer to a method to achieve my goals.


I would _strongly_ suggest that you run you firewall from another
machine instead of using you NIS master for this. This really is
Security 101 :)
Check out OpenBSD with pf for this purpose or use a Cisco PIX (you can
find several on eBay).

But if you don't want/can do this, why don't you setup a jail for you
NIS master? You can bind the jail to the RFC 1918 IP address range.
Therefore, starting up ypbind inside the jail would only see the
192.168.0/24 network and bind to it. See jail(8), jls(8) and jexec(8).
You might also want to check mount_nullfs(8) to help you with the
jail's ports tree. If you need help with the jail setup, feel free to
email me off the list.

David

--
David Robillard
UNIX systems administrator
CISSP
Sun Certified Security Administrator
Sun Certified Systems Administrator
Montreal: +1 514 966 0122
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


cron job errors

2006-05-23 Thread Mark Busby
I getting errors from cron on this job. 
  owner of /usr/libexec/sav-entropy is root:wheel
   
  email notice:
  Subject: Cron [EMAIL PROTECTED] /usr/libexec/save-entropy
X-Cron-Env: SHELL=/bin/sh
X-Cron-Env: PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
X-Cron-Env: HOME=/
X-Cron-Env: LOGNAME=operator
X-Cron-Env: USER=operator
  add: not found
   
  crontab entry:
  # Save some entropy so that /dev/random can re-seed on boot.
*/11*   *   *   *   operator /usr/libexec/save-entropy


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


Re: Locale problem after upgrade 5.4 to 6.1

2006-05-23 Thread Rafael Aquino

Thanks a lot! At least now I know that I didn´t do anything wrong.

From /usr/src/UPDATING:

...
20050227:
  The on-disk format of LC_CTYPE files was changed to be machine
  independent.  Please make sure NOT to use NO_CLEAN buildworld
  when crossing this point. Crossing this point also requires
  recompile or reinstall of all locale depended packages.
...

Rafael Aquino


On Mon, 22 May 2006 18:12:39 -0400, Kris Kennaway wrote
 On Mon, May 22, 2006 at 07:52:56PM -0200, Rafael Aquino wrote:
  Hello ALL,
  
  I use to set all my systems to pt_BR.ISO8859-1, and everytime
  works perfect. The ports that are sensible for locale always uses
  the correct language (Apache, Postgresql, etc).
  
  After upgrate from 5.4 to 6.1, I realize that postgresql wasn?t starting
  up with rc.d script. Trying to mannualy start it, the message was that
  my database couldn?t support LATIN-1 (witch was, before upgrade).
  
  Also the characters that used to work in console (?, ?, ...) don?t work 
  anymore.
 
 Something changed with locale support between 5.x and 6.x; check the
 release notes, UPDATING, etc.  There's also a compatibility package.
 
 Kris


--
Rafael Mentz Aquino
BSDServer Ltda.
51 - 9847 8825

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


Re: LIB_DEPENDS problem

2006-05-23 Thread db

Notice that it didn't build this port, but skipped straight to
installing it.  This means that you have a stale build of the port,
and need to run 'make clean' before and/or after your builds as a
matter of habit.


work# ls /usr/ports/databases/postgresql-libpqxx
Makefiledistinfofiles   pkg-descr   pkg-plist
work# make -DNO_CHECKSUM
===  WARNING: Vulnerability database out of date, checking anyway
===  Extracting for esad-0.1
===  Patching for esad-0.1
===   esad-0.1 depends on shared library: ACE_SSL - found
===   esad-0.1 depends on shared library: pqxx - not found
===Verifying install for pqxx in 
/usr/ports/databases/postgresql-libpqxx

===  WARNING: Vulnerability database out of date, checking anyway
===  Extracting for postgresql-libpqxx-2.5.5
===  Patching for postgresql-libpqxx-2.5.5
===  Applying FreeBSD patches for postgresql-libpqxx-2.5.5
===   postgresql-libpqxx-2.5.5 depends on executable: gmake - found
===   postgresql-libpqxx-2.5.5 depends on shared library: pq.3 - found
===  Configuring for postgresql-libpqxx-2.5.5
^C

libpqxx is installed, but it can't find it and try to build and install 
it again.


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


Re: e-mail server farm question

2006-05-23 Thread Iantcho Vassilev

Not really, we have a large system which required little coding except
for script tools.

We have two FreeBSD servers as public gateways running Sendmail +
Milter-Ahead + MailScanner. These 'gateways' scan mail for viruses and
then forward the delivery on to three toasters which are FreeBSD servers
running qmail + vpopmail + Spamd + SquirrelMail.



Why you have chosed sendmail on the gateways?
What are the advangtages..i think it is not the speed?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Proxy server.

2006-05-23 Thread Igor Robul
On Tue, May 23, 2006 at 03:42:17PM +0200, Efren Bravo wrote:
 Hi,
 
 Does somebody know a proxy distinct to Squid that
 works with a parent proxy?
www/oops
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Excluding paths with mtree

2006-05-23 Thread Norberto Meijome
Hi all,
I must be slower than normal today... how can I get mtree to ignore a
subdirectory of the path I'm telling it to map?

I'm doing:
/usr/sbin/mtree -K sha256digest -x -c -p /usr/

but i dont want it to map /usr/home.

I tried -X /usr/home, and creating /tmp/exc with /usr/home in it, and having
-X /tmp/exc in the cmd line... no luck,

running 6.1 on i386.

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


portsnap proxy

2006-05-23 Thread Le Cocq Michel
Hi

I try to instal an apache proxy for portsnap under FreeBSD

here are my conf files:

#on the server /usr/local/etc/apache/httpd.conf
VirtualHost *:80
ProxyPass /portsnap http://portsnap.FreeBSD.org
/Virtualhost

#on the client /etc/portsnap.conf
SERVERNAME=naxos/portsnap

on the serveur portsnap fetch update is ok
but on the client i obtain this

chora# portsnap fetch
Looking up naxos/portsnap mirrors... none found.
Fetching snapshot tag... fetch: http://naxos/portsnap/latest.ssl: Not Found
failed.
chora#

Michel Le Cocq
Administrateur Reseau Laga-Lipn

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


diablo-jdk vs jdk1.5

2006-05-23 Thread Norberto Meijome
Hi all,
2 questions re. JDK 1.5 :
- is .15 considered now stable? ( I remember reading that it was still
considered alpha quality, but i cant see that notice anymore).

- re. diablo-jdk : Other than the obvious advange of precompiled package
(already done for me, SUN certified) , is there other advantage to using
diablo-jdk instead of building my own? 
And, in the same vein, any caveats I should keep in mind when using diablo-jdk
instead of jdk-1.5?

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


Re: e-mail server farm question

2006-05-23 Thread DAve

Iantcho Vassilev wrote:

Not really, we have a large system which required little coding except
for script tools.

We have two FreeBSD servers as public gateways running Sendmail +
Milter-Ahead + MailScanner. These 'gateways' scan mail for viruses and
then forward the delivery on to three toasters which are FreeBSD servers
running qmail + vpopmail + Spamd + SquirrelMail.



Why you have chosed sendmail on the gateways?
What are the advangtages..i think it is not the speed?


I've used Sendmail, Postfix, and qmail. Sendmail is the MTA the author 
of MailScanner has the most experience with, so I used it as well.


In my situation, all mail is pushed back out via static routes in 
mailertable to toasters. Sendmail is doing nothing but filling an 
in-queue, and emptying an out-queue.  Pretty simple stuff, everything is 
inbound, speed has not been an issue.


DAve

--
This message was checked by forty monkeys and
found to not contain any SPAM whatsoever.

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


Re: Proxy server.

2006-05-23 Thread Fabian Keil
Efren Bravo [EMAIL PROTECTED] wrote:
 
 Does somebody know a proxy distinct to Squid that
 works with a parent proxy?

Privoxy.

You find the port in www/privoxy, and minor improvements at:
http://www.fabiankeil.de/sourcecode/privoxy/.

Fabian
-- 
http://www.fabiankeil.de/


signature.asc
Description: PGP signature


Re: Best Practices - interrupt storm

2006-05-23 Thread Fabian Keil
Charles Howse [EMAIL PROTECTED] wrote:

 FreeBSD 6.1-RELEASE, cups-1.1.23.0_1, HP 1100 LaserJet
 
 I've found quite a bit of information about how to deal with:
 Interrupt storm detected in irq7:; throttling interrupt source
 
 Problem is, it's a little confusing.
  From what I've gathered, the options are:
 Use the BIOS to set the printer port to ECP,
 Use lptcontrol to set the port to polled mode,
 Use device.hints to do both
 
 IIRC, in the past, I have used lptcontrol to set polled mode, but  
 that resulted in:
 too many stray irq7's, not logging any more
 
 Can anyone suggest a method to make both interrupt storm and too  
 many stray irq7's go away?

hw.intr_storm_threshold changes the meaning of storm,
I don't know how/if it influences stray irq messages though.

Fabian
-- 
http://www.fabiankeil.de/


signature.asc
Description: PGP signature


RE: Best Practices - interrupt storm

2006-05-23 Thread fbsd
Stray irq 7 messages
The FBSD FAQ entry says

5.24. What does ``stray IRQ'' mean?

Stray IRQs are indications of hardware IRQ glitches, mostly from
hardware that removes its interrupt request in the middle of the
interrupt request acknowledge cycle.

One has three options for dealing with this:

1. Live with the warnings. All except the first 5 per IRQ are
suppressed anyway.

2. Break the warnings by changing 5 to 0 in isa_strayintr() so that
all the warnings are suppressed.

3. Break the warnings by installing parallel port hardware that uses
IRQ 7 and the PPP driver for it (this happens on most systems), and
install an IDE drive or other hardware that uses IRQ 15 and a
suitable driver for it.

** End of FAQ # 5.24 *

The number 3 item above is false, the ATA IDE standard is the
primary IDE channel master and slave devices use IRQ 14 and the
secondary IDE channel master and slave devices use IRQ 15. IRQ 15 is
also used by many NIC cards. A printer attached to the parallel port
uses IRQ 7, and the annoying bogus stray IRQ 7 messages still gets
issued. So you are left with two options, learn to deal with it, or
hack the code to make it go away.

To stop the annoying bogus stray IRQ 7 messages you can hack the
source where these messages originate from and change the counter
value 5 to 0 so the messages will no longer be issued.

isa_strayintr lives in   /usr/src/sys/i386/isa/intr_machdep.c

cd /usr/src/sys/i386/i386/

cp intr_machdep.c intr_machdep.c.org  # make backup of original

ee intr_machdep.c



Find isa_strayintr to locate the start of the stray IRQ 7 logic

change this

if (intrcnt[1 + intr] = 5)

To this

if (intrcnt[1 + intr] = 0)

Recompile your kernel source and those stray IRQ 7 messages are
gone. Document this some place for yourself just in case you
reinstall from CDROM. Remember that if you cvsup update your source
to upgrade to next stable release, your 'stray IRQ 7 hack' will be
stepped on and return back to the official FBSD version. You will
have to reapply this hack.




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Charles
Howse
Sent: Tuesday, May 23, 2006 10:14 AM
To: FreeBSD Questions
Subject: Best Practices - interrupt storm


Hi,
FreeBSD 6.1-RELEASE, cups-1.1.23.0_1, HP 1100 LaserJet

I've found quite a bit of information about how to deal with:
Interrupt storm detected in irq7:; throttling interrupt source

Problem is, it's a little confusing.
 From what I've gathered, the options are:
Use the BIOS to set the printer port to ECP,
Use lptcontrol to set the port to polled mode,
Use device.hints to do both

IIRC, in the past, I have used lptcontrol to set polled mode, but
that resulted in:
too many stray irq7's, not logging any more

Can anyone suggest a method to make both interrupt storm and too
many stray irq7's go away?

--
Thanks,
Charles
http://bubbabbq.homeunix.net


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

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


Re: Best Practices - interrupt storm

2006-05-23 Thread Alex Zbyslaw

Charles Howse [EMAIL PROTECTED] wrote:


FreeBSD 6.1-RELEASE, cups-1.1.23.0_1, HP 1100 LaserJet

I've found quite a bit of information about how to deal with:
Interrupt storm detected in irq7:; throttling interrupt source

Problem is, it's a little confusing.
From what I've gathered, the options are:
Use the BIOS to set the printer port to ECP,
Use lptcontrol to set the port to polled mode,
Use device.hints to do both

IIRC, in the past, I have used lptcontrol to set polled mode, but  
that resulted in:

too many stray irq7's, not logging any more

Can anyone suggest a method to make both interrupt storm and too  
many stray irq7's go away?




I always set to EPP in BIOS and device.hints to 0x24 (used to compile 
into kernel pre 5.X).  (I suspect one or the other would do, and ECP 
would do instead of EPP, or 0x28 instead of 0x24).  Haven't had an 
interrupt storm or stray interrupt since.  man ppc for the flags to use 
and get into practice converting hex to binary and vice versa :-)  Never 
used lptcontrol.


--Alex




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


Re: Python port problems

2006-05-23 Thread Lowell Gilbert
Joe Auty [EMAIL PROTECTED] writes:

 On May 22, 2006, at 8:27 PM, Michael P. Soulier wrote:

 On 5/22/06, Joe Auty [EMAIL PROTECTED] wrote:
 Starting up Mailman on one machine I'm on produces the following
 error message (see below). For some reason, this is not a problem

 Test your python installation. Try

 python -c 'import sys; print sys.path'

 See which python interpreter this is, /usr/local/bin/python most
 likely, and make sure that mailman is using this python.


 I'm not sure how to determine what Python Mailman is using, but the  
 only Python I've installed on the system is from FreeBSD ports,  
 unless some other software bundles its own...

 Here is the output of the command printed above:

 $ python -c 'import sys; print sys.path'
 ['', '/usr/local/lib/python24.zip', '/usr/local/lib/python2.4', '/usr/ 
 local/lib/python2.4/plat-freebsd5', '/usr/local/lib/python2.4/lib- 
 tk', '/usr/local/lib/python2.4/lib-dynload', '/usr/local/lib/ 
 python2.4/site-packages']


 I don't have a /usr/local/bin/python in there. Is that my problem?

That's where the ports would install it, so that does sound like a
problem.   Look at which python and pkg_info|grep python.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cron job errors

2006-05-23 Thread Lowell Gilbert
Mark Busby [EMAIL PROTECTED] writes:

 I getting errors from cron on this job. 
   owner of /usr/libexec/sav-entropy is root:wheel

   email notice:
   Subject: Cron [EMAIL PROTECTED] /usr/libexec/save-entropy
 X-Cron-Env: SHELL=/bin/sh
 X-Cron-Env: PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
 X-Cron-Env: HOME=/
 X-Cron-Env: LOGNAME=operator
 X-Cron-Env: USER=operator
   add: not found

   crontab entry:
   # Save some entropy so that /dev/random can re-seed on boot.
 */11*   *   *   *   operator /usr/libexec/save-entropy

Did you update your system lately?
Compare the script to its source:
 diff -q /usr/src/libexec/save-entropy/save-entropy.sh 
/usr/libexec/save-entropy
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Python port problems

2006-05-23 Thread Alex Zbyslaw

Lowell Gilbert wrote:


Joe Auty [EMAIL PROTECTED] writes:
 



$ python -c 'import sys; print sys.path'
['', '/usr/local/lib/python24.zip', '/usr/local/lib/python2.4', '/usr/ 
local/lib/python2.4/plat-freebsd5', '/usr/local/lib/python2.4/lib- 
tk', '/usr/local/lib/python2.4/lib-dynload', '/usr/local/lib/ 
python2.4/site-packages']



I don't have a /usr/local/bin/python in there. Is that my problem?
   



That's where the ports would install it, so that does sound like a
problem.   Look at which python and pkg_info|grep python.
 

The executable /usr/local/bin/python has no business being in the path 
for *modules*.  This is not your problem.


I have never used mailman so do not know how it picks up its modules.  
It *might* install them into one of these directories on the module 
patch, but more likely it just pushes its own directory of modules onto 
this path when it runs, in which case the output you have won't help.


Have you tried simply re-installing mailman?  Maybe you upgraded python 
at some point after installing mailman and that is throwing something.


--Alex


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


Re: e-mail server farm question

2006-05-23 Thread Vulpes Velox
On Tue, 23 May 2006 10:35:51 +0300
Evren Yurtesen [EMAIL PROTECTED] wrote:

 Vulpes Velox wrote:
 
  On Mon, 22 May 2006 11:54:02 -0500
  Kevin Kinsey [EMAIL PROTECTED] wrote:
  
  
 At 07:17 AM 5/22/2006, Evren Yurtesen wrote:
 
 Hello,
 
 I was wondering how does services like yahoo mail is storing
 e-mails. Somehow the smtp server should know where to deliver
 the mail inside the system and webmail should know from which
 server to read it from.
 
 Does anybody have any practical ideas about how it is done?
 
 
 Derek Ragona wrote:
   If you are using sendmail, as most FreeBSD users are, you can
   check the sendmail.org site for information on mail handling.
   There are a number of methods that depend on your setup.
  
 
 Well, it's pretty obvious that they aren't using a stock
 SendMail:
 
 # telnet mx2.mail.yahoo.com 25
 Trying 67.28.113.72...
 Connected to mx2.mail.yahoo.com.
 Escape character is '^]'.
 220 mta309.mail.re4.yahoo.com ESMTP YSmtp service ready
 
 Short of finding an article written by someone 'in the know',
 or an answer for someone like that, we can only guess.  I'd
 probably start with guessing a big DB on a large SAN;
 which pretty much negates the which server to read from
 question (up to a point).  Everything else is pretty
 academic.  SMTP, IMAP, POP.
  
  
  Maildir makes it easy to distribute it across multiple machines as
  well.
 
 What do you mean exactly? distributing 1 user's mails into seperate
 machines? I didnt understand how Maildir helps to this actually.

Maildir is nfs safe and does not require locking. Thus multiple
programs can safely use it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: changing kern.ngroups

2006-05-23 Thread Vulpes Velox
On Tue, 23 May 2006 09:20:18 -0400
Chuck Swiger [EMAIL PROTECTED] wrote:

 Vulpes Velox wrote:
  I am really running across the need to change this to something
  higher than 16.
 
  I was just wondering if there is any specific reason it is set so
  low and any thing to worry about when bumping it up?
 
 The limit is historical, but various protocols like NFS have the #
 of groups limit embedded into their specifications.  Trying to
 change this limit may result in odd behavior, such as user accounts
 not being recognized as being in their primary group, ie the one
 listed in /etc/passwd

Cool. Any suggestion on what to do if I do want to change it?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


QUARANTINED:

2006-05-23 Thread WorkgroupMail Content Filter
The message  from , sent on 5/23/2006 12:11 was quarantined because it 
contained either an executable file, a batch file or a screen saver file. All 
of these types of attachments are considered security risks. Please consult 
your mail administrator who can release the message.

This message was checked by MailScan for WorkgroupMail.
www.workgroupmail.com 

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


Re: NO_RESCUE option in make.conf

2006-05-23 Thread vittorio
I know but:

1) I need more room on the hd of my dual boot laptop.
2) I invariably dump FBSD slices  partitions after a successful upgrade on 
a separate usb mass storage.
3) from time to time I back up my /home dir on my office lan fileserver (or on 
the same usb hd).

Anyway, I'll give RESCUE a second chance (didn't know it was so important. 
Gonna read the handbook...)

Ciao
Vittorio

Alle 21:19, lunedì 22 maggio 2006, Kris Kennaway ha scritto:
 On Mon, May 22, 2006 at 03:18:59PM +0100, Vittorio wrote:
  To update the system in my /etc/make.conf among other building(-world)
  options I put
  a:
 
  NO_RESCUE= true
 
  Which actually is not declared
  neither in the man page of make.conf nor in the
  /usr/share/examples/etc/make.conf file.
  Nonetheless it seems to work.
  Am I right?

 Why do you want to do this?  The rescue tools are sometimes all that
 stands between being able to repair your system and having to
 reinstall it from scratch.

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


Re: Best Practices - interrupt storm

2006-05-23 Thread Charles Howse

Thanks very much, I'll also make a note to check the FAQ before posting.

On May 23, 2006, at 10:45 AM, fbsd wrote:


Stray irq 7 messages
The FBSD FAQ entry says

5.24. What does ``stray IRQ'' mean?

Stray IRQs are indications of hardware IRQ glitches, mostly from
hardware that removes its interrupt request in the middle of the
interrupt request acknowledge cycle.

One has three options for dealing with this:

1. Live with the warnings. All except the first 5 per IRQ are
suppressed anyway.

2. Break the warnings by changing 5 to 0 in isa_strayintr() so that
all the warnings are suppressed.

3. Break the warnings by installing parallel port hardware that uses
IRQ 7 and the PPP driver for it (this happens on most systems), and
install an IDE drive or other hardware that uses IRQ 15 and a
suitable driver for it.

** End of FAQ # 5.24 *

The number 3 item above is false, the ATA IDE standard is the
primary IDE channel master and slave devices use IRQ 14 and the
secondary IDE channel master and slave devices use IRQ 15. IRQ 15 is
also used by many NIC cards. A printer attached to the parallel port
uses IRQ 7, and the annoying bogus stray IRQ 7 messages still gets
issued. So you are left with two options, learn to deal with it, or
hack the code to make it go away.

To stop the annoying bogus stray IRQ 7 messages you can hack the
source where these messages originate from and change the counter
value 5 to 0 so the messages will no longer be issued.

isa_strayintr lives in   /usr/src/sys/i386/isa/intr_machdep.c

cd /usr/src/sys/i386/i386/

cp intr_machdep.c intr_machdep.c.org  # make backup of original

ee intr_machdep.c



Find isa_strayintr to locate the start of the stray IRQ 7 logic

change this

if (intrcnt[1 + intr] = 5)

To this

if (intrcnt[1 + intr] = 0)

Recompile your kernel source and those stray IRQ 7 messages are
gone. Document this some place for yourself just in case you
reinstall from CDROM. Remember that if you cvsup update your source
to upgrade to next stable release, your 'stray IRQ 7 hack' will be
stepped on and return back to the official FBSD version. You will
have to reapply this hack.




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Charles
Howse
Sent: Tuesday, May 23, 2006 10:14 AM
To: FreeBSD Questions
Subject: Best Practices - interrupt storm


Hi,
FreeBSD 6.1-RELEASE, cups-1.1.23.0_1, HP 1100 LaserJet

I've found quite a bit of information about how to deal with:
Interrupt storm detected in irq7:; throttling interrupt source

Problem is, it's a little confusing.
 From what I've gathered, the options are:
Use the BIOS to set the printer port to ECP,
Use lptcontrol to set the port to polled mode,
Use device.hints to do both

IIRC, in the past, I have used lptcontrol to set polled mode, but
that resulted in:
too many stray irq7's, not logging any more

Can anyone suggest a method to make both interrupt storm and too
many stray irq7's go away?

--
Thanks,
Charles
http://bubbabbq.homeunix.net


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


--
How I make Great Barbecue -
http://bubbabbq.homeunix.net/bbq.html


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


Re: NO_RESCUE option in make.conf

2006-05-23 Thread Pietro Cerutti

On 5/23/06, vittorio [EMAIL PROTECTED] wrote:

I know but:

1) I need more room on the hd of my dual boot laptop.


You ain't gaining much space by removing /rescue. It takes 6.9M on my
6.1-STABLE.
You may want to consider removing /usr/src and /usr/obj which take
respectively 442M and 2G instead.

--
Pietro Cerutti
ICQ: 117293691
PGP: 0x9571F78E

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Proxy server.

2006-05-23 Thread Efren Bravo
Hi,

  Does somebody know a proxy distinct to Squid
 that
  works with a parent proxy?
 
 Privoxy.
 
 You find the port in www/privoxy, and minor
 improvements at:
 http://www.fabiankeil.de/sourcecode/privoxy/.

Thank you very much, I installed and configured
it and works great on what I need... Later I'll
try with opps...



__ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Kde freeze after keypress

2006-05-23 Thread Matias Surdi

Well, replying to myself for the archives:

With cygwin/x everything works well.

Matias Surdi escribió:
Sory if this isn't the correct place to put this question. I've also 
posted it to kde.freebsd list.



I'm using Xming to connect to a remote FreeBSD box, everything works 
perfect wen using Gnome, TWM, etc...


When I run a KDE session, there is no problem till I press any key... 
after that, the desktop stops responding to the keyboard, and even to 
the mouse clicks (althought the cursor still moves around), it feels 
like an overloaded box, because , for example, after click on a window 
it keeps focus about 5 seconds later. But as I said above, the problem 
begins when I try to use the keyboard.



Had this happened to sombody else?

Thanks.

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




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


Question about DHCP client with multi-interface.

2006-05-23 Thread Yaning
All,
My system have three network cards, interface are
fxp0, fxp1, em0. If I set one interface with static IP
address at install time, such as:
em0 IP = 10.20.16.59

then I enable one interface with DHCP, such as,
running command:

dhlient fxp0

Then I reboot system. After system boot up, fxp0
assign an IP address by DHCP server.
But the static ip address on em0 is gone. 
How can I correct this problem?

Thanks,

Yaning 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


PostgreSQL uses more memory on 6.1?

2006-05-23 Thread Kirk Strauser
I just upgraded from 6-STABLE as of 2006-02-18 to 6-STABLE as of 2006-05-21, 
and was surprised to find that PostgreSQL wouldn't start because it 
couldn't allocate enough shared memory.  Thing is, I didn't make a single 
hardware change during the reboot and didn't upgrade any ports on the 
machine.

My emergency fix was to edit postgresql.conf to change shared_buffers from 
8192 to 2048.  Unfortunately, that seems to be hurting performance - I'm 
getting annoying deadlocks at 4AM whenever multiple daemons start their 
overnight batch runs.

Has anyone else seen this behavior when upgrading from 6.0 to 6.1?  Any 
ideas for a fix?

I apologize for not having a logfiles, but I was pretty much in a panic to 
get it back up and running ASAP and didn't think about it until it was too 
late.
-- 
Kirk Strauser
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: LIB_DEPENDS problem

2006-05-23 Thread Kris Kennaway
On Tue, May 23, 2006 at 02:37:12PM +, db wrote:
 Notice that it didn't build this port, but skipped straight to
 installing it.  This means that you have a stale build of the port,
 and need to run 'make clean' before and/or after your builds as a
 matter of habit.
 
 work# ls /usr/ports/databases/postgresql-libpqxx
 Makefiledistinfofiles   pkg-descr   pkg-plist
 work# make -DNO_CHECKSUM
 ===  WARNING: Vulnerability database out of date, checking anyway
 ===  Extracting for esad-0.1
 ===  Patching for esad-0.1
 ===   esad-0.1 depends on shared library: ACE_SSL - found
 ===   esad-0.1 depends on shared library: pqxx - not found
 ===Verifying install for pqxx in 
 /usr/ports/databases/postgresql-libpqxx
 ===  WARNING: Vulnerability database out of date, checking anyway
 ===  Extracting for postgresql-libpqxx-2.5.5
 ===  Patching for postgresql-libpqxx-2.5.5
 ===  Applying FreeBSD patches for postgresql-libpqxx-2.5.5
 ===   postgresql-libpqxx-2.5.5 depends on executable: gmake - found
 ===   postgresql-libpqxx-2.5.5 depends on shared library: pq.3 - found
 ===  Configuring for postgresql-libpqxx-2.5.5
 ^C
 
 libpqxx is installed, but it can't find it and try to build and install 
 it again.

Why do you say it is installed?  You certainly didn't show this above;
that is the port skeleton used for building the software, not an
installed copy of the software.

Kris


pgp9t7Ex79Bbw.pgp
Description: PGP signature


Re: PostgreSQL uses more memory on 6.1?

2006-05-23 Thread Chad Leigh -- Shire.Net LLC


On May 23, 2006, at 2:37 PM, Kirk Strauser wrote:

I just upgraded from 6-STABLE as of 2006-02-18 to 6-STABLE as of  
2006-05-21,

and was surprised to find that PostgreSQL wouldn't start because it
couldn't allocate enough shared memory.  Thing is, I didn't make a  
single

hardware change during the reboot and didn't upgrade any ports on the
machine.

My emergency fix was to edit postgresql.conf to change  
shared_buffers from
8192 to 2048.  Unfortunately, that seems to be hurting performance  
- I'm
getting annoying deadlocks at 4AM whenever multiple daemons start  
their

overnight batch runs.

Has anyone else seen this behavior when upgrading from 6.0 to 6.1?   
Any

ideas for a fix?



Just a guess -- did some kernel default for shared memory change or  
did you change your kernel config? Can you rebuild your kernel with  
explicit shared memory values?   Look  in the NOTES in /usr/src/sys/ 
conf at the various SHM values



not an expert
Chad

---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net



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


Re: Maple 8 on FreeBSD with Diablo

2006-05-23 Thread Albert Shih
 Le 22/05/2006 à 18:14:08-0300, Henry Lenzi a écrit
 The best way to use Maple (I don't have maple 8, my versions 9, 9.5 and 10)
 is to run maple without java by typing :
 
 xmaple -cw
 
 (cw mean : classic worksheet)
 
 Hi --
 
 Thanks for trying to help. My question refereed to the fact that, at
 least on my official CD, there is no such FLEXim script for Unix such
 as the documentation (Handbook) refers to.
 
 The information apparently is outdated, or I got sold a different CD
 (I said I specifically would run it in Linux at the time).
 
 I know it's possible to install it. Maybe Maple 8 is a lost cause.
 However, the NetBSD people claimed to have it installed under binary
 emulation. Their documentatio too is unsatisfactory in this respect.
 
 Would you care to share your experience in installing Maple ? It
 would be greatly appreciated.
 
 Right now, I would prefer not to have to buy another license, because
 they're expensive, and just stick to Maple 8 for a bit more, but since
 Maplesoft's support for FreeBSD is non-existent (and even for Linux it
 kind of sucks)...
 
I don't have the best install method : 

Personnaly (maybe it's stupid method but it's work) :

1/ I've get a Linux box (with a officila support by MapleSoft, like
Fedora or something like that).

2/ I install the Maple on this Linux Box on something like
/usr/local/maple-8

You can install or not install flexlm depend what's kind of
licensce  you have.

3/ If you must install flexlm install it

4/ Make 

tar cvf maple.tar /usr/local/maple-8

copy this tar file on your freebsd box

untar it in /usr/local (or where you want)

Modify the file

/usr/local/maple-8/bin/maple.system.type

[root]$ diff maple.system.type maple.system.type.orig 
75c75
 MAPLE_BIN=bin.IBM_INTEL_LINUX
---
 MAPLE_BIN=FAIL
[root]$ 

Do exactly same thing for flexlm if you need.

Regards.

NB: Don't buy Maple-10, it's not working on 5.2/5.4/6.1

--
Albert SHIH
Universite de Paris 7 (Denis DIDEROT)
U.F.R. de Mathematiques.
7 ième étage, plateau D, bureau 10
Heure local/Local time:
Tue May 23 22:53:49 CEST 2006
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question about DHCP client with multi-interface.

2006-05-23 Thread Atom Powers

On 5/23/06, Yaning [EMAIL PROTECTED] wrote:

All,
My system have three network cards, interface are
fxp0, fxp1, em0. If I set one interface with static IP
address at install time, such as:
em0 IP = 10.20.16.59


I hope these three interfaces are not on the same physical network.


then I enable one interface with DHCP, such as,
running command:

dhlient fxp0



In /etc/rc.conf

ifconfig_em0=10.20.16.59/24 (or whatever your netmask is)
ifconfig_fxp0=DHCP


Then I reboot system. After system boot up, fxp0
assign an IP address by DHCP server.
But the static ip address on em0 is gone.
How can I correct this problem?


It shouldn't be gone, but it may be unused if both interfaces are on
the same network. (Use ifconfig to check the status of your
interfaces.)



Thanks,

Yaning




--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question about DHCP client with multi-interface.

2006-05-23 Thread Beech Rintoul
On Tuesday 23 May 2006 12:36, Yaning wrote:
 All,
 My system have three network cards, interface are
 fxp0, fxp1, em0. If I set one interface with static IP
 address at install time, such as:
 em0 IP = 10.20.16.59

 then I enable one interface with DHCP, such as,
 running command:

 dhlient fxp0

 Then I reboot system. After system boot up, fxp0
 assign an IP address by DHCP server.
 But the static ip address on em0 is gone.
 How can I correct this problem?

 Thanks,

 Yaning

Put the following in /etc/rc.conf

ifconfig_em0=inet 10.20.16.59 netmask 255.255.255.0
ifconfig_fxp0=DHCP

remove any other ifconfig_ em0 or fxp0 lines and reboot.

Beech

-- 

---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | Alaska Paradise
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
---













pgpSpY4lVa2cG.pgp
Description: PGP signature


Re: PostgreSQL uses more memory on 6.1?

2006-05-23 Thread Daniel Bye
On Tue, May 23, 2006 at 02:47:54PM -0600, Chad Leigh -- Shire.Net LLC wrote:
 
 On May 23, 2006, at 2:37 PM, Kirk Strauser wrote:
 
 I just upgraded from 6-STABLE as of 2006-02-18 to 6-STABLE as of  
 2006-05-21,
 and was surprised to find that PostgreSQL wouldn't start because it
 couldn't allocate enough shared memory.  Thing is, I didn't make a  
 single
 hardware change during the reboot and didn't upgrade any ports on the
 machine.
 
 My emergency fix was to edit postgresql.conf to change  
 shared_buffers from
 8192 to 2048.  Unfortunately, that seems to be hurting performance  
 - I'm
 getting annoying deadlocks at 4AM whenever multiple daemons start  
 their
 overnight batch runs.
 
 Has anyone else seen this behavior when upgrading from 6.0 to 6.1?   
 Any
 ideas for a fix?
 
 
 Just a guess -- did some kernel default for shared memory change or  
 did you change your kernel config? Can you rebuild your kernel with  
 explicit shared memory values?   Look  in the NOTES in /usr/src/sys/ 
 conf at the various SHM values

Yep, I was thinking along the same lines.  The PostgreSQL ports have a
pkg-message-server file that may prove helpful, too.

 
 
 not an expert

Likewise...


-- 
Daniel Bye

PGP Key: http://www.slightlystrange.org/pgpkey-dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75  B79A 8B17 F97C 1622 166A
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpJKYNnJt2fr.pgp
Description: PGP signature


Re: PostgreSQL uses more memory on 6.1?

2006-05-23 Thread Bill Moran
On Tue, 23 May 2006 15:37:25 -0500
Kirk Strauser [EMAIL PROTECTED] wrote:

 I just upgraded from 6-STABLE as of 2006-02-18 to 6-STABLE as of 2006-05-21, 
 and was surprised to find that PostgreSQL wouldn't start because it 
 couldn't allocate enough shared memory.  Thing is, I didn't make a single 
 hardware change during the reboot and didn't upgrade any ports on the 
 machine.
 
 My emergency fix was to edit postgresql.conf to change shared_buffers from 
 8192 to 2048.  Unfortunately, that seems to be hurting performance - I'm 
 getting annoying deadlocks at 4AM whenever multiple daemons start their 
 overnight batch runs.
 
 Has anyone else seen this behavior when upgrading from 6.0 to 6.1?  Any 
 ideas for a fix?
 
 I apologize for not having a logfiles, but I was pretty much in a panic to 
 get it back up and running ASAP and didn't think about it until it was too 
 late.

Quick patch:
Use sysctl to bump up kern.ipc.* values as needed (probably shmmax)
You should then be able to return your postgresql.conf values to
whatever performs well

Ultimate fix:
Figure out why these values changed.  Most likely the result of a
different kernel config file.  Either put the workable values in a
kernel config that will persist across upgrades, or put them in
/etc/sysctl.conf so you don't lose them.

-- 
Bill Moran
Collaborative Fusion Inc.


IMPORTANT: This message contains confidential information and is
intended only for the individual named. If the reader of this
message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.

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


standalone libraries for SFTP and SMB

2006-05-23 Thread Andrew
Hello,

I'm writing a small application that saves files over a network. I'd
like to add support for SFTP and SMB. Does anyone know of an independent
library for each?

I'd like to use libsmbclient from the Samba project, but I haven't found
a simple way to build the library without installing all of Samba. 

OpenSSH includes an SFTP binary, of course, but I'd have to rewrite
several complex makefiles to generate it without installing all of
OpenSSH. 

Thought about using the libraries from Gnome-VFS, but they have quite a
few dependencies, and are sort of overkill for this project. 

So yes, I have a couple of options, and yes I'm a little bit lazy. Why
reinvent the wheel? ;-)

Thanks,
-Andrew 

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


Re: standalone libraries for SFTP and SMB

2006-05-23 Thread Anish Mistry
On Tuesday 23 May 2006 17:59, Andrew wrote:
 Hello,

 I'm writing a small application that saves files over a network.
 I'd like to add support for SFTP and SMB. Does anyone know of an
 independent library for each?

 I'd like to use libsmbclient from the Samba project, but I haven't
 found a simple way to build the library without installing all of
 Samba.

 OpenSSH includes an SFTP binary, of course, but I'd have to rewrite
 several complex makefiles to generate it without installing all of
 OpenSSH.

 Thought about using the libraries from Gnome-VFS, but they have
 quite a few dependencies, and are sort of overkill for this
 project.

 So yes, I have a couple of options, and yes I'm a little bit lazy.
 Why reinvent the wheel? ;-)
/usr/ports/security/libssh2

-- 
Anish Mistry
[EMAIL PROTECTED]
AM Productions http://am-productions.biz/


pgpJ5bIr8erpM.pgp
Description: PGP signature


ndis with USB wifi dongle - no joy

2006-05-23 Thread Tom K
I'm running PC-BSD, with FreeBSD 6 under the hood. The device is a 
Netgear MA111, with Prism 2.5 chipset, which dmesg shows as


ugen1: vendor 0x0846 product 0x4110, rev 1.10/1.32

This is what I've done so far:

- Installed the kernel source in /usr/src/sys.
- Copied over the .inf and .sys files from the WinXP driver
- Run ndisgen, which reported success
- Copied the new module to /boot/kernel
- kldload ndis and kldload new_module

No ndis interface is created, and dmesg shows the following messages:

no match for USBD_CreateConfigurationRequestEx
no match for USBD_ParseConfigurationDescriptorEx

I can't find any reference anywhere to these errors, or anything like 
them. I'd be grateful for any suggestions.


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


Trouble with nss|pam|openldap

2006-05-23 Thread Jason Lixfeld
I'm using openssh-portable and the latest versions of openldap,  
pam_ldap and nss_ldap.  It appears as though the system is using  
ldap, but I can't seem to ssh in as an LDAP user.  I get a permission  
denied.  ssh debugs don't show anything useful and openldap debugs  
don't seem to show any activity when I enter the password, but it  
does show activity when I initially perform the ssh connection.  That  
seems strange to me because I don't see a query in the debugs for the  
user password, even after I enter it in.  I tried putting the  
pam_ldap lib in the password section of the /etc/pam.d/sshd file, but  
that was useless too.  Local users can ssh in fine.


I searched through the bugs and it seems there is a bug in nss_ldap  
with regards to getpwuid, but that seems to be more if an indicator  
about why finger doesn't work, not why ssh does't work


(http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/91806)

Anyone see anything that strikes them as why this may not work?

$ pkg_info
nss_ldap-1.249  RFC 2307 NSS module
openldap-client-2.3.23 Open source LDAP client implementation
openldap-server-2.3.23 Open source LDAP server implementation
pam_ldap-1.8.0  A pam module for authenticating with LDAP
php5-ldap-5.1.4 The ldap shared extension for php
phpldapadmin-1.0.1,1 A set of PHP-scripts to administer LDAP over the  
web

openssh-portable-4.3.p2_1,1 The portable version of OpenBSD's OpenSSH

$ uname -srm
FreeBSD 6.1-RELEASE amd64

# /usr/local/etc/nss_ldap|ldap.conf:

base dc=example,dc=com
uri ldap://127.0.0.1/
binddn cn=Manager,dc=example,dc=com
bindpw sillypassword
bind_timelimit 10
bind_policy soft
nss_connect_policy oneshot
pam_filter objectclass=posixaccount
pam_login_attribute uid
pam_password ssha
nss_base_passwd ou=people,dc=example,dc=com?one
nss_base_shadow ou=people,dc=example,dc=com?one
nss_base_group  ou=groups,dc=example,dc=com?one

# id testuser seems to work, finger doesn't.  Curious.  Anyway, it  
still appears as though at least some portions of the system are  
using LDAP, which is good.

$ id testuser
uid=2000(testuser) gid=2000(testuser) groups=2000(testuser)
$ finger testuser
finger: testuser: no such user
$

# /etc/pam.d/sshd

authrequiredpam_nologin.so  no_warn
authsufficient  pam_opie.so no_warn  
no_fake_prompts
authrequisite   pam_opieaccess.so   no_warn  
allow_local

authsufficient  /usr/local/lib/pam_ldap.so  debug
authrequiredpam_unix.so no_warn  
try_first_pass

account requiredpam_login_access.so
account requiredpam_unix.so
session required/usr/local/lib/pam_mkhomedir.so
session requiredpam_permit.so
passwordrequiredpam_unix.so no_warn  
try_first_pass


# user/group data:

dn: cn=Test User,ou=people,dc=example,dc=com
cn: Test User
sn: Dummy
objectClass: top
objectClass: person
objectClass: posixAccount
objectClass: shadowAccount
uid: testuser
uidNumber: 2000
gidNumber: 2000
gecos: TestUser
loginShell: /bin/csh
userPassword:: e01ENX1YWnhveHNVTzA5QXFMODlVOWptVHRnPT0=
homeDirectory: /home/testuser

dn: cn=testuser,ou=groups,dc=example,dc=com
objectClass: top
objectClass: posixGroup
gidNumber: 2000
memberUid: testuser
cn: testuser

# ssh attempt:

$ ssh [EMAIL PROTECTED]
[EMAIL PROTECTED]'s password:
Permission denied, please try again.

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


Re: standalone libraries for SFTP and SMB

2006-05-23 Thread Andrew
On Tue, 2006-05-23 at 18:20 -0400, Anish Mistry wrote:
 On Tuesday 23 May 2006 17:59, Andrew wrote:
  Hello,
 
  I'm writing a small application that saves files over a network.
  I'd like to add support for SFTP and SMB. Does anyone know of an
  independent library for each?
 
  I'd like to use libsmbclient from the Samba project, but I haven't
  found a simple way to build the library without installing all of
  Samba.
 
  OpenSSH includes an SFTP binary, of course, but I'd have to rewrite
  several complex makefiles to generate it without installing all of
  OpenSSH.
 
  Thought about using the libraries from Gnome-VFS, but they have
  quite a few dependencies, and are sort of overkill for this
  project.
 
  So yes, I have a couple of options, and yes I'm a little bit lazy.
  Why reinvent the wheel? ;-)

 /usr/ports/security/libssh2
 
thanks. I'll check it out...
-Andrew

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


firefox with flash and java!

2006-05-23 Thread Marwan Sultan

hello everyone!

 I'm really sorry to ask over here, but sick and tired browsing and asking 
around.


 I'm on latest FreeBSD 6.1R latest KDE and latest firefox 1.5.3
 I cannot find the flash plugins for Konqueror because no more port for it, 
(linux-flashplgin6)


 So i have installed Firefox, now i'm lost, which in port is the flash 
plugin?


 I have linux-flashplugin7 installed, linuxpluginwrapper,

 But flash still not workin in firefox, i dont know what to do now?
 Will someone kindly guied me for this? how to install flash, for firefox? 
and enable it.


 Also How to install java? on firefox? it would be my next step.

 Is there by any chance away to run flash for Konqueror? or better to 
delete this package if im

 having firefox?
 Thanks so much.

 Marwan

_
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


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


Re: quota and /var/mail

2006-05-23 Thread Marwan Sultan

Hello Mike,

 Thank you again for your support, this is the output of mount and fstab

# DeviceMountpoint  FStype  Options Dump
Pass#

/dev/ad0s1b noneswapsw  0   0
/dev/ad0s1a /   ufs rw  1   1
/dev/ad0s1e /tmpufs rw  2   2
/dev/ad0s1f /usrufs rw,userquota,groupquota  
   2   2

/dev/ad0s1g /varufs rw  2   2
/dev/acd0c  /cdrom  cd9660  ro,noauto   0   0
proc/proc   procfs  rw  0   0
$ mount
/dev/ad0s1a on / (ufs, local)
/dev/ad0s1e on /tmp (ufs, local, soft-updates)
/dev/ad0s1f on /usr (ufs, local, with quotas, soft-updates)
/dev/ad0s1g on /var (ufs, local, soft-updates)
procfs on /proc (procfs, local)

I just want the quota to read the Shell user (home directory) size plus the 
INBOX mails

which stay in /var/mail/$UserName

 Currently the quota reads the home directory and ignores the $inbox
 Thak you mike

 Marwan


At 07:37 PM 21/05/2006, Marwan Sultan wrote:



 No when I enabled quota I did the configuration on /usr
 shall i enable it on /var to?
 then how to make the sendmail or the shell reads the user quota on his 
home directory and

 his /var/mail/$username ?



Hi,
It all depends on how you have it mounted.  Quotas follow the 
partition. So if you have /var/mail as its own partition, you need to do it 
there. If you have /var/mail as a subdirectory of /var than do it on /var.


What is the contents of /etc/fstab on the box ?

 if webmin can read the home directory quota and add to it the 
/var/mail/$userInbox size

 then for sure I can do it some how?


I dont use webmin so I am not sure how it calculates things.

---Mike

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


_
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.com/


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


Re: Trouble with nss|pam|openldap

2006-05-23 Thread Atom Powers

On 5/23/06, Jason Lixfeld [EMAIL PROTECTED] wrote:

I'm using openssh-portable and the latest versions of openldap,
pam_ldap and nss_ldap.  It appears as though the system is using

...

I'm not using ssh-portable, but I have it working with the built-in ssh.

...

user password, even after I enter it in.  I tried putting the
pam_ldap lib in the password section of the /etc/pam.d/sshd file, but
that was useless too.  Local users can ssh in fine.


The pam.d config would be my first guess. What gets logged to all.log?



I searched through the bugs and it seems there is a bug in nss_ldap
with regards to getpwuid, but that seems to be more if an indicator
about why finger doesn't work, not why ssh does't work

# id testuser seems to work, finger doesn't.  Curious.  Anyway, it
still appears as though at least some portions of the system are
using LDAP, which is good.
$ id testuser
uid=2000(testuser) gid=2000(testuser) groups=2000(testuser)
$ finger testuser
finger: testuser: no such user
$


id works because it's using the name service to look up the user (you
added ldap to your nsswitch.conf, right?)

finger doesn't work because you don't have a /etc/pam.d/finger file.
Either create one or add pam_ldap to your /etc/pam.d/system file. (I
always create a new conf file for my ldap enabled apps)

Here is my /etc/pam.d/sshd file, I use the exact same file for all my
ldap enabled apps.:
(if somebody sees a bug in there, or can suggest any improvement, by
all means let me know.)
--

# auth
authsufficient  /usr/local/lib/pam_ldap.so
authrequiredpam_nologin.so  no_warn
authsufficient  pam_opie.so no_warn no_fake_prompts
authrequisite   pam_opieaccess.so   no_warn allow_local
#auth   sufficient  pam_krb5.so no_warn try_first_pass
#auth   sufficient  pam_ssh.so  no_warn try_first_pass
authrequiredpam_unix.so no_warn try_first_pass

# account
account sufficient  /usr/local/lib/pam_ldap.so
#accountrequiredpam_krb5.so
account requiredpam_login_access.so
account requiredpam_unix.so

# session
#sessionoptionalpam_ssh.so
session requiredpam_permit.so

# password
#password   sufficient  pam_krb5.so no_warn try_first_pass
passwordrequiredpam_unix.so no_warn try_first_pass

--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: e-mail server farm question

2006-05-23 Thread Vulpes Velox
On Tue, 23 May 2006 11:26:36 +0300
Evren Yurtesen [EMAIL PROTECTED] wrote:

 Chad Leigh -- Shire.Net LLC wrote:
 
  
  On May 23, 2006, at 1:35 AM, Evren Yurtesen wrote:
  
  Vulpes Velox wrote:
 
  On Mon, 22 May 2006 11:54:02 -0500
  Kevin Kinsey [EMAIL PROTECTED] wrote:
 
  At 07:17 AM 5/22/2006, Evren Yurtesen wrote:
 
  Hello,
 
  I was wondering how does services like yahoo mail is storing
  e-mails. Somehow the smtp server should know where to deliver
  the mail inside the system and webmail should know from which
  server to read it from.
 
  Does anybody have any practical ideas about how it is done?
 
 
  Derek Ragona wrote:
   If you are using sendmail, as most FreeBSD users are, you can
   check the sendmail.org site for information on mail handling.
   There are a number of methods that depend on your setup.
  
 
  Well, it's pretty obvious that they aren't using a stock
  SendMail:
 
  # telnet mx2.mail.yahoo.com 25
  Trying 67.28.113.72...
  Connected to mx2.mail.yahoo.com.
  Escape character is '^]'.
  220 mta309.mail.re4.yahoo.com ESMTP YSmtp service ready
 
  Short of finding an article written by someone 'in the know',
  or an answer for someone like that, we can only guess.  I'd
  probably start with guessing a big DB on a large SAN;
  which pretty much negates the which server to read from
  question (up to a point).  Everything else is pretty
  academic.  SMTP, IMAP, POP.
 
  Maildir makes it easy to distribute it across multiple machines
  as well.
 
 
  What do you mean exactly? distributing 1 user's mails into
  seperate machines? I didnt understand how Maildir helps to this
  actually.
 
  
  I am not sure anyone was talking about distributing 1 person's
  mail across separate machines.  The discussion seemed to be how
  to handle large amounts of mail spread out across machines, which
  maildir helps with as you can have one or more file servers and
  lots of consumers (imap/pop) and deliverers (mta) accessing those
  maildirs on your file servers.  Combine with a backend database
  of some sort (we use an  ldap db that includes the path for a
  specific accounts mail) and voilá.
  
  Chad
  
 
 Ah sorry, I didnt think it that way for a moment. I thought you
 meant Maildir stores mails in seperate files compred to mbox format
 used by sendmail so...anyhow my mistake :) But it is possible to
 make changes to sendmail so that it will store to different folders
 also.

Maildir does store mail in serperate files. Each email is a file.
http://en.wikipedia.org/wiki/Maildir
 
 I think the conclusion is a database, multiple smtp servers
 querying database to see where to forward received e-mails,
 multiple pop3/imap servers querying database to see from where to
 read the e-mails and multiple storage machines. This way it can
 scale to an unlimited size.
 
 So it requires a lot of coding :)

Nah, once you get everything installed and configured it is easy.
Dovecot and qmail are both easy to set up. Then just a bit of shell
scripting for a user adding and removing script.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SSHD not starting on boot 6.1

2006-05-23 Thread S t i n g r a y
Well i did this sshd_enable =yes in the /etc/rc.conf
but sshd still dont start, i have to start it manually
when ever PC reboots.

what should i check ?

*º¤., ¸¸,.¤º*¨¨¨*¤ Stingray *º¤., ¸¸,.¤º*¨¨*¤
  



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SSHD not starting on boot 6.1

2006-05-23 Thread Eric

S t i n g r a y wrote:

Well i did this sshd_enable =yes in the /etc/rc.conf
but sshd still dont start, i have to start it manually
when ever PC reboots.

what should i check ?

*º¤., ¸¸,.¤º*¨¨¨*¤ Stingray *º¤., ¸¸,.¤º*¨¨*¤
  

  

are you using openssh-portable or the built in sshd?


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


Re: SSHD not starting on boot 6.1

2006-05-23 Thread Daniel Bye
On Tue, May 23, 2006 at 06:32:58PM -0700, S t i n g r a y wrote:
 Well i did this sshd_enable =yes in the /etc/rc.conf

Does it look exactly like this in /etc/rc.conf?  If so, try it without
the space:

sshd_enable=YES

Dan

-- 
Daniel Bye

PGP Key: http://www.slightlystrange.org/pgpkey-dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75  B79A 8B17 F97C 1622 166A
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgp2NJr04UgOx.pgp
Description: PGP signature


Re: quota and /var/mail

2006-05-23 Thread Mike Tancsa

At 07:43 PM 23/05/2006, Marwan Sultan wrote:


# DeviceMountpoint  FStype  Options Dump
Pass#
/dev/ad0s1b noneswapsw  0   0
/dev/ad0s1a /   ufs rw  1   1
/dev/ad0s1e /tmpufs rw  2   2
/dev/ad0s1f /usrufs rw,userquota,groupquota
   2   2
/dev/ad0s1g /varufs rw  2   2
/dev/acd0c  /cdrom  cd9660  ro,noauto   0   0
proc/proc   procfs  rw  0   0
$ mount
/dev/ad0s1a on / (ufs, local)
/dev/ad0s1e on /tmp (ufs, local, soft-updates)
/dev/ad0s1f on /usr (ufs, local, with quotas, soft-updates)
/dev/ad0s1g on /var (ufs, local, soft-updates)
procfs on /proc (procfs, local)


Hi,
You want to make sure /var/mail is mounted with quotas 
enabled as well.

The line in /etc/fstab should read

/dev/ad0s1g /varufs 
rw,userquota,groupquota  2   2


Make the change and then reboot and you will have quotas enforced on 
/var/mail as well.


---Mike 


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


X11R7 through ports?

2006-05-23 Thread Jim Stapleton

Is there any way to get X11R7 through ports? The Xorg and XFree86
packages all seem to be 6.8/6.9

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


Re: X11R7 through ports?

2006-05-23 Thread Kris Kennaway
On Tue, May 23, 2006 at 10:05:37PM -0400, Jim Stapleton wrote:
 Is there any way to get X11R7 through ports? The Xorg and XFree86
 packages all seem to be 6.8/6.9

Xorg is 6.9, which is functionally identical to 7.0.  See the xorg
webpage.

Kris


pgp0dsJJEFkjE.pgp
Description: PGP signature


Re: X11R7 through ports?

2006-05-23 Thread Chris Howells
On Wednesday 24 May 2006 03:05, Jim Stapleton wrote:
 Is there any way to get X11R7 through ports? The Xorg and XFree86
 packages all seem to be 6.8/6.9

The only difference between 6.9 and 7.0 is the build system (imake vs 
automake/autoconf). As Kris says, there is no difference for end users.

-- 
Cheers, Chris Howells -- [EMAIL PROTECTED], [EMAIL PROTECTED]
Web: http://www.chrishowells.co.uk, PGP ID: 0x33795A2C
KDE/Qt/C++/PHP Developer: http://www.kde.org


pgpGortGJl07r.pgp
Description: PGP signature


Re: firefox with flash and java!

2006-05-23 Thread Norberto Meijome
On Tue, 23 May 2006 23:40:37 +
Marwan Sultan [EMAIL PROTECTED] wrote:

 hello everyone!
 
   I'm really sorry to ask over here, but sick and tired browsing and asking 
 around.
 
   I'm on latest FreeBSD 6.1R latest KDE and latest firefox 1.5.3
   I cannot find the flash plugins for Konqueror because no more port for it, 
 (linux-flashplgin6)
 
   So i have installed Firefox, now i'm lost, which in port is the flash 
 plugin?
 
   I have linux-flashplugin7 installed, linuxpluginwrapper,

looks ok

$ pkg_info | grep -i flash  pkg_info | grep -i firefox
linux-flashplugin-7.0r63 The official Macromedia Flash Player for Linux Mozilla

 firefox-1.5.0.3,1   Web browser based on the browser portion of Mozilla
firefox-remote-20040803 Wrapper scripts for firefox web browser


 
   But flash still not workin in firefox, i dont know what to do now?
   Will someone kindly guied me for this? how to install flash, for firefox? 
 and enable it.

from someone else's kind instructions, which worked great for me:

- modify your libmap.conf , following what is shown in 
what  /usr/local/share/examples/linuxpluginwrapper/libmap.conf-FreeBSD6 

- Finally edit /usr/X11R6/lib/firefox/run-mozilla.sh and add
 /usr/X11R6/lib/linux-flashplugin6 to MOZ_PLUGIN_PATH
 (near the end of the script) (colon-separated path components)

- path your kernel:
Please get and apply a dlsym(3) hook patch (apply in /usr/src ; then cd
libexec/rtld-elf and do make rtld)
http://people.FreeBSD.org/~nork/rtld_dlsym_hack.diff This provides _dlsym(3)
function to fix dynamic-link error can't find gtk_major_version ad-hoc-ly.

$cd /usr/src
$fetch http://people.FreeBSD.org/~nork/rtld_dlsym_hack.diff
$patch  rtld_dlsym_hack.diff
$ cd libexec/rtld-elf
$sudo make rtld
$ sudo make install



 
   Also How to install java? on firefox? it would be my next step.
 
   Is there by any chance away to run flash for Konqueror? or better to 
 delete this package if im
   having firefox?

i dont know, dont use kde.

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


X11R7.1 Into Ports

2006-05-23 Thread vehemens
Is there a plan to get X11R7.1 into the ports tree in the next week or two?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: X11R7 through ports?

2006-05-23 Thread Jim Stapleton

I was informed in another post that X11R7 has a mouse driver I need,
and through several posts that X11R6.x does not. (and previously I had
tried using this driver, and verified that it is not in there)

On 5/23/06, Chris Howells [EMAIL PROTECTED] wrote:

On Wednesday 24 May 2006 03:05, Jim Stapleton wrote:
 Is there any way to get X11R7 through ports? The Xorg and XFree86
 packages all seem to be 6.8/6.9

The only difference between 6.9 and 7.0 is the build system (imake vs
automake/autoconf). As Kris says, there is no difference for end users.

--
Cheers, Chris Howells -- [EMAIL PROTECTED], [EMAIL PROTECTED]
Web: http://www.chrishowells.co.uk, PGP ID: 0x33795A2C
KDE/Qt/C++/PHP Developer: http://www.kde.org




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


Implementing IMAP advice for first timer

2006-05-23 Thread Noah
FreeBSD-4.11

Well I want to get IMAP running on my FreeBSD box and would like to have a
safe, non service-interrupting strategy to implementing it.  I am leaning
toward installing cyrus imapd.  I have some questions about how to get things
working. 

1)  Can somebody please recommend a good FAQ about how-to get IMAP running 
my
FreeBSD machine?
2)  Are there things I should be aware of before I start the process? 
3)  I don’t completely understand how IMAP works – is there a good tutorial
about this subject?
4)  I don’t completely understand how local mail delivery will change – is
there a good tutorial about this subject?


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


CD Burning Not Working

2006-05-23 Thread Jacob Jennings
Hello, everyone, I am running FreeBSD 6.0-stable and LOVING every second of it. 
However, my CD burning capabilities have been stymied by an unknown problem 
which I cannot fix, let alone diagnose. I am attempting to burn a cd using 
SCSI-emulation, which is correctly set up, using cdrecord. The exact command 
used is 'cdrecord dev=1,0,0 data_cd.iso'. However, here is the output of that 
command:

cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent 
defaults.
cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01 (i386-unknown-freebsd6.0) Copyright (C) 1995-2004 Jörg 
Schilling
cdrecord: Operation not permitted. WARNING: Cannot do mlockall(2).
cdrecord: WARNING: This causes a high risk for buffer underruns.
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
Using libscg version 'schily-0.8'.
Device type: Removable CD-ROM
Version: 0
Response Format: 2
Capabilities   :
Vendor_info: 'TOSHIBA '
Identifikation : 'DVD-ROM SD-R2212'
Revision   : '1913'
Device seems to be: Generic mmc2 DVD-ROM.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R96R
cdrecord: Cannot load media.

When I perform a dmesg command, here is the output (Repeat each one of those 
about 15 times, and that's it): 

acd0: CDRW TOSHIBA DVD-ROM SD-R2212/1913 at ata1-master PIO4
cd0 at ata1 bus 0 target 0 lun 0
cd0: TOSHIBA DVD-ROM SD-R2212 1913 Removable CD-ROM SCSI-0 device
cd0: 16.000MB/s transfers
cd0: cd present [358446 x 2048 byte records]
acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x15 ascq=0x00 error=0
g_vfs_done():acd0[READ(offset=627879936, length=4096)]error = 5
acd0: FAILURE - TEST_UNIT_READY MEDIUM ERROR asc=0x57 ascq=0x00 error=0
g_vfs_done():acd0[READ(offset=32768, length=2048)]error = 5

I have googled and searched through FAQ's but can find no information regarding 
this problem. If anyone could give me some help or just point me in the right 
direction I would me most grateful. Thank you in advance.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Implementing IMAP advice for first timer

2006-05-23 Thread Olivier Nicole
 Well I want to get IMAP running on my FreeBSD box and would like to have a
 safe, non service-interrupting strategy to implementing it.

What do you mean non service-interrupting strategy? If you have
already POP3 installed and running, there is good chance that
installing IMAP will install another POP3 and at some stage it may
create sirvice disturbances.

 1) Can somebody please recommend a good FAQ about how-to get IMAP
 running my FreeBSD machine?

Install from /usr/ports/mail/cyrus-imapd23 for example

 2)Are there things I should be aware of before I start the
 process?

None that I can think off.

 3) I don’t completely understand how IMAP works – is there a
 good tutorial about this subject?

IMAP is a protocols that allows you to READ your email. Your IMAP
client will connect to your IMAP server and retreive emails from your
mailbox. IMAP also allows you to retreive mails from mail folders.

 4) I don’t completely understand how local mail delivery will
 change – is there a good tutorial about this subject?

IMAP does not interract with mail delivery. Once mail is delivered
into your mailbox, IMAP allows you to read it.

Best regards,

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


Re: Implementing IMAP advice for first timer

2006-05-23 Thread Chad Leigh -- Shire.Net LLC


On May 23, 2006, at 9:37 PM, Olivier Nicole wrote:



4) I don’t completely understand how local mail delivery will
change – is there a good tutorial about this subject?


IMAP does not interract with mail delivery. Once mail is delivered
into your mailbox, IMAP allows you to read it.



This is not exactly true.  If you switch to Cyrus from something  
else, you will have to  make sure that your mail is delivered to  
Cyrus instead if however it was being done before (local mbox or  
maildir for example).  I have not run Cyrus in many years but they  
had their own delivery agent that your local mail agent (mda/mta like  
sendmail, exim, etc) would hand off to.  Has this changed or does it  
still work that way?


Chad

---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net



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


Re: CD Burning Not Working

2006-05-23 Thread Paul Schmehl
--On May 23, 2006 10:36:20 PM -0500 Jacob Jennings 
[EMAIL PROTECTED] wrote:



Hello, everyone, I am running FreeBSD 6.0-stable and LOVING every second
of it. However, my CD burning capabilities have been stymied by an
unknown problem which I cannot fix, let alone diagnose. I am attempting
to burn a cd using SCSI-emulation, which is correctly set up, using
cdrecord. The exact command used is 'cdrecord dev=1,0,0 data_cd.iso'.
However, here is the output of that command:


burncd is so much easier to use.

burncd -ef data /dev/cdrom /home/user/cd.iso fixate (for example)

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


FreeBSD Installation

2006-05-23 Thread Afrose Fathima

Hi,
I am trying to install FreeBSD 6.1 on a DELL box.I have dowloaded the
6.1-Release ISO images from
ftp://ftp.freebsd.org/pub/FreeBSD/r...ISO-IMAGES/6.1/ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.1/
.
Its gives us the ISO's for three CD's bootonly,disc1,disc2.But when we try
to install starting with the bootonly disc it misses out on a few screens
and also gives messages regarding unavailability of a few packages etc. Also
it does not ask for the insertion of the other CDs at any point of the
installation.

Request for some help as soon as possible.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Implementing IMAP advice for first timer

2006-05-23 Thread Pete Slagle

Noah wrote:


Well I want to get IMAP running on my FreeBSD box and would like to have a
safe, non service-interrupting strategy to implementing it.  I am leaning
toward installing cyrus imapd.  I have some questions about how to get things
working.


I like courier-imap. The set-up is easy and it has been 100% reliable 
for me on a bunch of different servers. It has never lost a message or 
dropped a core file. It uses maildir format out of the box, which I view 
as a significant advantage.


Installing it from ports (/usr/ports/mail/courier-imap) is pretty 
straightforward, and most settings can be left at the default, at least 
until you get comfortable with it. There is lots'o'doc at at 
http://www.inter7.com/courierimap/courierimap.html should you need it.


I first set it up years ago, it's in use all day every day, and the only 
thing I've ever had to do it to it is portupgrade.


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


Re: CD Burning Not Working

2006-05-23 Thread Norberto Meijome
On Tue, 23 May 2006 23:01:53 -0500
Paul Schmehl [EMAIL PROTECTED] wrote:

 --On May 23, 2006 10:36:20 PM -0500 Jacob Jennings 
 [EMAIL PROTECTED] wrote:
 
  Hello, everyone, I am running FreeBSD 6.0-stable and LOVING every second
  of it. However, my CD burning capabilities have been stymied by an
  unknown problem which I cannot fix, let alone diagnose. I am attempting
  to burn a cd using SCSI-emulation, which is correctly set up, using
  cdrecord. The exact command used is 'cdrecord dev=1,0,0 data_cd.iso'.
  However, here is the output of that command:
 
 burncd is so much easier to use.

I have to agree re burncd.
Anyway, my notes on this subject show:
---
# how to burn cd, rather than dvd
mkisofs -o cd.iso -V label -J -r FILES_TO_BUILD_INTO_ISO
burncd -f /dev/acd0 data cd.iso fixate

## this is what xcdroast execs - i think the params change depending on the
size of data to burn

cdrecord dev= 1,0,0 gracetime=2 fs=4096k driveropts=burnfree
-v -useinfo \ speed=24 -dao -eject -pad -data /h...,iso [possibly something
else here...like /dev/... )

and for DVD
# from an ISO
growisofs -dvd-compat -Z /dev/cd0=BURN.iso
# From FS
growisofs -dvd-compat -Z /dev/cd0 -R -J -V VolID ./BURN/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Installation

2006-05-23 Thread Erik Trulsson
On Wed, May 24, 2006 at 10:14:58AM +0530, Afrose Fathima wrote:
 Hi,
 I am trying to install FreeBSD 6.1 on a DELL box.I have dowloaded the
 6.1-Release ISO images from
 ftp://ftp.freebsd.org/pub/FreeBSD/r...ISO-IMAGES/6.1/ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.1/
 .
 Its gives us the ISO's for three CD's bootonly,disc1,disc2.But when we try
 to install starting with the bootonly disc it misses out on a few screens
 and also gives messages regarding unavailability of a few packages etc. Also
 it does not ask for the insertion of the other CDs at any point of the
 installation.

bootonly is a stripped-down version of disc1 and does not contain the set of
packages included on disc1.


For normal installation use disc1 and disc2, starting with disc1, and ignore
bootonly.


-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Installation

2006-05-23 Thread Beech Rintoul
On Tuesday 23 May 2006 20:44, Afrose Fathima wrote:
  Hi,
 I am trying to install FreeBSD 6.1 on a DELL box.I have dowloaded the
 6.1-Release ISO images from
 ftp://ftp.freebsd.org/pub/FreeBSD/r...ISO-IMAGES/6.1/ftp://ftp.freebsd.org
/pub/FreeBSD/releases/i386/ISO-IMAGES/6.1/ .
 Its gives us the ISO's for three CD's bootonly,disc1,disc2.But when we try
 to install starting with the bootonly disc it misses out on a few screens
 and also gives messages regarding unavailability of a few packages etc.
 Also it does not ask for the insertion of the other CDs at any point of the
 installation.

 Request for some help as soon as possible.

The boot only is just that with a few tools. If you're installing, you want 
to start with disc1. The FreeBSD Handbook is your friend.

Beech
-- 

---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | Alaska Paradise
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
---













pgpmJR77IfZ0d.pgp
Description: PGP signature


Re: Implementing IMAP advice for first timer

2006-05-23 Thread Olivier Nicole
 Installing it from ports (/usr/ports/mail/courier-imap) is pretty 
 straightforward, and most settings can be left at the default, at least 

True, except...

Courrier-imap is using maildir mailboxes, so unless the existing
system already uses maildir, there will be some disturbance at the
conversion time.

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


Project Validate

2006-05-23 Thread Ashok TM

 Hi,

I would like to download the project

http://cvsup.pt.freebsd.org/cgi-bin/cvsweb/cvsweb.cgi/projects/validate/

which is imported from Linux Test Project,  modified to suit to free bsd.
Want to know more details on this. Please provide pointers so that i can
collect more info abt this.

Also from where i can  download the same .

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