Re: aaaargghh.. sendmail again

2005-07-06 Thread Julian Elischer



On Tue, 5 Jul 2005, Gregory Neil Shapiro wrote:


I am trying to alter the sendmail config on server.ficticious.net
so that it rewrites the sender (both envelope and header)
to be from [EMAIL PROTECTED]

the sendmail m4 config file now has:


Your config plus the addition of FEATURE(allmasquerade) in case some of
the local addresses are Cc'ed on mail going out of your domain should do
the job.


the documentatio suggests that allmasquerade willalso cause some of the
recipients to be rewritten. I'm not sure if I want that.

However I'll try it and see if it helps.




However, since you are sending this question, it looks like that isn't
the case.

What is the output of:

# sendmail -Am -bt

/tryflags es
/try relay [EMAIL PROTECTED]


(where that address is replaced with the actual one that isn't working)

Feel free to send the debug output from the above command to me directly
if you are worried about revealing confidential info to the mailing list
at large.


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


Re: squid bind to port 80 fails when started via squid.sh script

2005-07-06 Thread Wayne Sierke
On Wed, 2005-07-06 at 03:33 +0200, P.U.Kruppa wrote:
 On Wed, 6 Jul 2005, Wayne Sierke wrote:
 
  FreeBSD 5.4-RELEASE/squid-2.5.9_3
 
  If I start squid via the script (as root), I get:
 
  /var/log/squid_cache.log:
 
  commBind: Cannot bind socket FD 11 to *:80: (13) Permission denied
  FATAL: Cannot open HTTP Port
  Squid Cache (Version 2.5.STABLE9): Terminated abnormally.
 Did you set
 squid_enable=YES

Yes.

 squid_user=root

No, it didn't occur to me. I was assuming that the script would set it
to the required user and I didn't see any documentation about it.
However I can now see that it should probably be self-evident for even a
semi-competent user. :)

 squid_flags=-D

No. It's the default in the script.

 in /etc/rc.conf ?
 
 Regards,
 
 Uli.

Just so I can learn a bit more from this - has this script been designed
like this because it is specifically safer to launch the squid
executable as user 'squid'? Or is it just because it's the 'norm' to
avoid running programs (from launch scripts) as root whenever possible?


Thanks for your help,

Wayne


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


Re: Procedure for migrating user accounts to new system ?

2005-07-06 Thread Nelis Lamprecht
On 05 Jul 2005 16:44:02 -0400, Lowell Gilbert
[EMAIL PROTECTED] wrote:
 Nelis Lamprecht [EMAIL PROTECTED] writes:
 
  What is the correct procedure to follow for migrating user accounts
  from one FreeBSD 4.x system to a new FreeBSD 4.x system ? We're
  sticking to 4.x due to legacy issues(Netware) in case I get asked.
  Didn't see answer to this in the FAQ's or Handbook and google answers
  seem sketchy.
 
 The FAQ entry titled How do I move my system over to my huge new
 disk? should be apropos.
 

Unfortunately it doesn't. I specifically said user accounts because
that's the only thing I want to move over to the new system. Using
dump and restore wouldn't be applicable in this scenario as many
things in the file systems are different. I was thinking more along
the lines of copying over the password files and using pwd_mkdb to
rebuild the db's but wasn't entirely sure about the whole process. For
the home directories I'm just using rsync to copy over the data to the
new system.

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


Re: Procedure for migrating user accounts to new system ?

2005-07-06 Thread Nelis Lamprecht
On 7/5/05, Antony Mawer [EMAIL PROTECTED] wrote:
 On 6/07/2005 12:26 AM, Nelis Lamprecht wrote:
  Hi,
 
  What is the correct procedure to follow for migrating user accounts
  from one FreeBSD 4.x system to a new FreeBSD 4.x system ? We're
  sticking to 4.x due to legacy issues(Netware) in case I get asked.
  Didn't see answer to this in the FAQ's or Handbook and google answers
  seem sketchy.
 
 Hi there,
 
 I noticed you mentioned legacy issues - Netware as your reason for
 sticking with 4.x. Do you have any more information on why it's
 necessary to stick with 4.x for this? We currently run a large number of
 production systems on 4.x and rely heavily on Netware support; if it's
 no longer functional in FreeBSD 5.x/6.x then that's a serious
 show-stopper for us!
 
Last time I tried using NWFS, NCP and friends on FreeBSD 5.x it didn't
work. It was a known problem but after doing some googling I came
across this:

http://lists.freebsd.org/pipermail/freebsd-current/2005-January/044838.html

Unfortunately I need to know that it WILL work and not maybe. When I
have time I will do some tests with FreeBSD 5.x again. Also, even if
it did work I doubt it would be stable enough yet to put in a
production enviroment.

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


RE: Linux move to FreeBSD (Beastie vs Penguin)

2005-07-06 Thread Ted Mittelstaedt


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Danny Pansters
Sent: Tuesday, July 05, 2005 6:42 PM
To: [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Subject: Re: Linux move to FreeBSD (Beastie vs Penguin)


On Wednesday 6 July 2005 03:06, Mike Hauber wrote:
 On Tuesday 05 July 2005 08:29 pm, you wrote:
  It's the imposing upon from religious groups (and well, let's
  say that I don't think they're muslims) that I find not only
  annoying but, yeah, downright dangerous. Throwing out 2-3
  centuries of enlightenment and scientific advance is not a good
  idea.
 
  Greets,
 
  Dan

 Come on, now...  Just because someone is a Christian, it doesn't
 mean he/she's a quack.  _Every_ religion has their extremists.  I
 don't think it's very cool to knock whole societies of faith
 (regardless of what faith it is) based on the whims of the few
 who are too narrow-minded to see past their glasses...

 Thanks,

 Mike

I agree. They can think whatever they want. That's fine with
me. But like I
said, they have no right to impose their belives upon others
and certainly
not upon a group of people who provide something technical
(like an OS) for
free. They have no right to do that, they have every right to
think what they
want to think. So have I. Religion should be merely a private
matter. And if
so I have the highest respect for someone doing or not doing or
undoing or
redoing something out of religious belief.

And yes, most religious people (muslim, jew, christian, both
catholic or
reformed) *are* much more moderate than their leadership. So,
when are they
going to stand up? It's their movement, not mine. It's their sense of
justice, not mine. Are they so diverted that they've lost beforehand?


Every political movement operates the same way (and if you don't
think organized religion isn't political your crazy) it is a function
of the movement.

The extremists are the ones who are willing to put the money and
effort into taking an idea all the way.

Even Open Source.  From the commercial software developers point
of view Open Source was an extremist movement - this wasn't helped
by the writings of the like of RMS, by the way.  And there's no
denying that the existence of Linux and FreeBSD and the host of
open source applications has put many one-horse software development
houses into bankruptcy.

As a result of the extremists, today it's considered a moderate position
for a commercial software development house to make it's source code
available, under NDA, to it's customers.  20 years ago that would have
been an extremist position.  So you can see that ultimately the
extremists
have an affect on the movements they lead.



As long as they don't I reckon they agree with their extreme
leadership. And
they surely insult and condemn me (a secular gay gay who has
been in a 10
year happy and monogam relationship with one person so far
thank you how many
rednecks can say that? -- not implying you are one). So I find a little
offensive here certainly not unappropriate. It's probably needed. The
American Taliban is not all that far away. In fact they're
quite powerful,
more than the moderates seem to think.


30 years ago you didn't see people talking about being gay in
normal conversation.  Today you do.  Sure there are the right-wing
extremists who hate gays.  But the moderate center has moved away
from them and toward the extremist gays who were shoving their gayness
in your face all the time.  The extremist anti-gays know this and
are hoping to move the center back to them.  But I don't see any
evidence this is occuring, and plenty of evidence that it's going
in the opposite direction.

Take the gay marriage thing.  The entire gay marriage campaign wasn't
about actually getting gay marriage laws on the books.  It was about
getting secular domestic arraingement laws on the books so that gays
in long term relationships wern't shut out of things like being able
to have power of attourney and such if their partner got sick and
unable to care for him or her self.  They tried for years to get moderate
versions of those laws on the books and failed.  So they then tried
the extreme version - gay marriage - and while that got shot down,
the existence of those campaigns had the effect of moving the center
to make the domestic arraingement laws now acceptable.  That is why
they are passing now.

30 years from now they will probably try for bestiality marriage
laws to get gay marriage laws passed.  It's the way of things.

Ted

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


unexpected RCODE (SERVFAIL) resolving

2005-07-06 Thread Thorsten . Mein

Hi all,

we are running FreeBSD 5.4 and Bind 9.3.0
When i try to access www.citrx.com i get the following error:

named[443]: unexpected RCODE (SERVFAIL) resolving
'www.gslb.citrix.com//IN': 12.8.192.28#53

I make a lot of test and think Citrix is useing MS DNS
server. From my point of view there is a bug in MS DNS server,
because i setup a test MS DNS server and make some test within
our the we see the same error. When i use BIND as DNS everythink work fine.

Is one of you know this error or can help to make it sure that there is a
bug on MS site ?


Kind regards
Thorsten

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


Newsletter leads - from FunnyTaf, Inc.

2005-07-06 Thread Jason

Hello,

My name is Jason Desmangles with FunnyTaf, Inc. We operate a large network of 
entertainment web sites. http://www.funnytaf.com

I noticed that your company offers a mailing list, and so I wanted to know if 
you would be interested in promoting your list with us?

We currently deliver about 3000 opt-in co-registrations per day, and about 500 
opt-out co-registrations per day through our free tell-a-friend service located 
at: http://www.funnytaf.com/taf/taf.php?REFER=demo

Our prices are very reasonable at just 0.02 per opt-out, or 0.10 per opt-in. 
For more pricing and information, please visit: 
http://www.funnytaf.com/free/coregs.php

We would love to promote your newsletter. Please let me know by emailing me 
back.

Best regards,

Jason Desmangles
FunnyTaf,Inc. Ad-Media Rep
[EMAIL PROTECTED]
http://www.funnytaf.com/free/coregs.php
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Trouble mounting Zip drive (solved!)

2005-07-06 Thread Andreas Widerøe Andersen



[snip]



Hi and thanks for all help!

Seems like I have found a sollution (thanks to this excellent tutorial 
http://freebsd.peon.net/tutorials/10/ and the help from the mailinglist 
members):


One thing: I still don't understand how I should know that the device is 
rda0 or rda0c or even da0 sometimes in the example below. If someone could 
explain I'd be happy :-)


# dd if=/dev/zero of=/dev/rda0 count=2
2+0 records in
2+0 records out
1024 bytes transferred in 0.040405 secs (25343 bytes/sec)

# disklabel -Brw da0 auto

# newfs /dev/rda0c
Warning: Block size restricts cylinders per group to 97.
/dev/rda0c: 196608 sectors in 48 cylinders of 1 tracks, 4096 sectors
96.0MB in 1 cyl groups (97 c/g, 194.00MB/g, 12288 i/g)
super-block backups (for fsck -b #) at:
 32

# mount /dev/da0c /zip

# df -h
FilesystemSize   Used  Avail Capacity  Mounted on
/dev/ad0s1a   126M35M81M30%/
/dev/ad0s1f   252M22K   232M 0%/tmp
/dev/ad0s1g   5.1G   760M   3.9G16%/usr
/dev/ad0s1e   252M   2.9M   229M 1%/var
/dev/ad1s1e   3.0G   405M   2.3G14%/backup
procfs4.0K   4.0K 0B   100%/proc
/dev/da0c  94M   2.0K87M 0%/zip

Best regards,
Andreas


---

Andreas Wideroe Andersen [EMAIL PROTECTED]
Mobile: (+47) 90 92 61 21
http://www.filmshooting.com

Norsk Smalfilm AS
http://www.smalfilm.no 


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


Problem updating apache 2.1.x via port

2005-07-06 Thread bsd

I have a problem updating my apache port.

Compile seem to be ok and then install goes wrong.

Any idea how to fix that ?



===  Installing for apache-2.1.4
===   apache-2.1.4 depends on file: /usr/local/lib/libcrypto.so.3  
- found

===   apache-2.1.4 depends on file: /usr/local/bin/perl5.8.7 - found
===   apache-2.1.4 depends on shared library: expat.5 - found
===   apache-2.1.4 depends on shared library: iconv.3 - found
===   Generating temporary packing list
===  Checking if www/apache21 already installed
Making install in srclib
Making install in pcre
Making install in os
Making install in unix
Making install in server
Making install in mpm
Making install in prefork
find: /usr/local/include/apr-1/apr.h: No such file or directory
find: /usr/local/include/apr-1/apr_allocator.h: No such file or  
directory
find: /usr/local/include/apr-1/apr_anylock.h: No such file or  
directory

find: /usr/local/include/apr-1/apr_atomic.h: No such file or directory
find: /usr/local/include/apr-1/apr_base64.h: No such file or directory
find: /usr/local/include/apr-1/apr_buckets.h: No such file or  
directory

find: /usr/local/include/apr-1/apr_date.h: No such file or directory
find: /usr/local/include/apr-1/apr_dbm.h: No such file or directory
find: /usr/local/include/apr-1/apr_dso.h: No such file or directory
find: /usr/local/include/apr-1/apr_env.h: No such file or directory
find: /usr/local/include/apr-1/apr_errno.h: No such file or directory
find: /usr/local/include/apr-1/apr_file_info.h: No such file or  
directory
find: /usr/local/include/apr-1/apr_file_io.h: No such file or  
directory
find: /usr/local/include/apr-1/apr_fnmatch.h: No such file or  
directory
find: /usr/local/include/apr-1/apr_general.h: No such file or  
directory

find: /usr/local/include/apr-1/apr_getopt.h: No such file or directory
find: /usr/local/include/apr-1/apr_global_mutex.h: No such file or  
directory

find: /usr/local/include/apr-1/apr_hash.h: No such file or directory
find: /usr/local/include/apr-1/apr_hooks.h: No such file or directory
find: /usr/local/include/apr-1/apr_inherit.h: No such file or  
directory

find: /usr/local/include/apr-1/apr_ldap.h: No such file or directory
find: /usr/local/include/apr-1/apr_ldap_init.h: No such file or  
directory
find: /usr/local/include/apr-1/apr_ldap_option.h: No such file or  
directory
find: /usr/local/include/apr-1/apr_ldap_url.h: No such file or  
directory

find: /usr/local/include/apr-1/apr_lib.h: No such file or directory
find: /usr/local/include/apr-1/apr_md4.h: No such file or directory
find: /usr/local/include/apr-1/apr_md5.h: No such file or directory
find: /usr/local/include/apr-1/apr_mmap.h: No such file or directory
find: /usr/local/include/apr-1/apr_network_io.h: No such file or  
directory
find: /usr/local/include/apr-1/apr_optional.h: No such file or  
directory
find: /usr/local/include/apr-1/apr_optional_hooks.h: No such file  
or directory

find: /usr/local/include/apr-1/apr_poll.h: No such file or directory
find: /usr/local/include/apr-1/apr_pools.h: No such file or directory
find: /usr/local/include/apr-1/apr_portable.h: No such file or  
directory
find: /usr/local/include/apr-1/apr_proc_mutex.h: No such file or  
directory

find: /usr/local/include/apr-1/apr_queue.h: No such file or directory
find: /usr/local/include/apr-1/apr_random.h: No such file or directory
find: /usr/local/include/apr-1/apr_reslist.h: No such file or  
directory

find: /usr/local/include/apr-1/apr_ring.h: No such file or directory
find: /usr/local/include/apr-1/apr_rmm.h: No such file or directory
find: /usr/local/include/apr-1/apr_sdbm.h: No such file or directory
find: /usr/local/include/apr-1/apr_sha1.h: No such file or directory
find: /usr/local/include/apr-1/apr_shm.h: No such file or directory
find: /usr/local/include/apr-1/apr_signal.h: No such file or directory
find: /usr/local/include/apr-1/apr_strings.h: No such file or  
directory
find: /usr/local/include/apr-1/apr_strmatch.h: No such file or  
directory
find: /usr/local/include/apr-1/apr_support.h: No such file or  
directory

find: /usr/local/include/apr-1/apr_tables.h: No such file or directory
find: /usr/local/include/apr-1/apr_thread_cond.h: No such file or  
directory
find: /usr/local/include/apr-1/apr_thread_mutex.h: No such file or  
directory
find: /usr/local/include/apr-1/apr_thread_rwlock.h: No such file or  
directory

find: /usr/local/include/apr-1/apr_time.h: No such file or directory
find: /usr/local/include/apr-1/apr_uri.h: No such file or directory
find: /usr/local/include/apr-1/apr_user.h: No such file or directory
find: /usr/local/include/apr-1/apr_uuid.h: No such file or directory
find: /usr/local/include/apr-1/apr_version.h: No such file or  
directory

find: /usr/local/include/apr-1/apr_want.h: No such file or directory
find: /usr/local/include/apr-1/apr_xlate.h: No such file or directory
find: /usr/local/include/apr-1/apr_xml.h: No such file or directory
find: /usr/local/include/apr-1/apu.h: No such file or 

Re: Trouble mounting Zip drive (solved!)

2005-07-06 Thread Svein Halvor Halvorsen

* Andreas Widerøe Andersen [2005-07-06 10:42 +0200]
  Hi and thanks for all help!
  
  Seems like I have found a sollution (thanks to this excellent tutorial
  http://freebsd.peon.net/tutorials/10/ and the help from the mailinglist
  members):


I didn't follow this thread from the beginning, so I'm not sure if this 
was ever an issue, or if it has been discussed. But when I used ZIP disks 
some two to three years ago, I had some issues with password-protected and 
read-only disks. I found a solution for that sending raw commands to the 
device using camcontrol. If you're interested, I could try to dig up my 
notes on the matter.

At that time there was no command line utilities I could find that would 
set these bits on the disks.


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


Building Xorg CVS, FcMatchFont, FcMatchPattern error

2005-07-06 Thread swygue
I am trying to install Xorg from CVS. I created /usr/Xorg6.8.3 and
linked it to /usr/X11R6.
Then I went to Xorg cvs directory on my computer and issued:

# make World

Then I got this error:

*** Error code 1

Stop in /usr/src/cvs/xc/lib/Xft1.
*** Error code 1

Stop in /usr/src/cvs/xc/lib.
*** Error code 1

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

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

Stop in /usr/src/cvs/xc.

I verified that /usr/X11R6/include/fontconfig/fontconfig.h exists. 
Here is the entire error message:

In file included from xftcfg.c:28:
xftint.h:29:35: fontconfig/fontconfig.h: No such file or directory
In file included from XftFreetype.h:28,
 from xftint.h:31,
 from xftcfg.c:28:
Xft.h:89: error: syntax error before XftType
Xft.h:89: warning: type defaults to `int' in declaration of `XftType'
Xft.h:89: error: ISO C forbids data definition with no type or storage class
Xft.h:91: error: syntax error before XftMatrix
Xft.h:91: warning: type defaults to `int' in declaration of `XftMatrix'
Xft.h:91: error: ISO C forbids data definition with no type or storage class
Xft.h:95: error: syntax error before XftResult
Xft.h:95: warning: type defaults to `int' in declaration of `XftResult'
Xft.h:95: error: ISO C forbids data definition with no type or storage class
Xft.h:109: error: syntax error before XftValue
Xft.h:109: warning: type defaults to `int' in declaration of `XftValue'
Xft.h:109: error: ISO C forbids data definition with no type or storage class
Xft.h:112: error: syntax error before XftPattern
Xft.h:112: warning: type defaults to `int' in declaration of `XftPattern'
Xft.h:112: error: ISO C forbids data definition with no type or storage class
Xft.h:114: error: syntax error before XftFontSet
Xft.h:114: warning: type defaults to `int' in declaration of `XftFontSet'
Xft.h:114: error: ISO C forbids data definition with no type or storage class
Xft.h:124: error: syntax error before XftPattern
Xft.h:142: error: syntax error before XftObjectSet
Xft.h:142: warning: type defaults to `int' in declaration of `XftObjectSet'
Xft.h:142: error: ISO C forbids data definition with no type or storage class
Xft.h:148: error: syntax error before '*' token
Xft.h:148: warning: function declaration isn't a prototype
Xft.h:175: error: syntax error before v
Xft.h:175: warning: function declaration isn't a prototype
Xft.h:178: error: syntax error before '*' token
Xft.h:178: warning: function declaration isn't a prototype
Xft.h:181: error: syntax error before '*' token
Xft.h:181: warning: function declaration isn't a prototype
Xft.h:189: error: syntax error before XftPattern
Xft.h:189: warning: function declaration isn't a prototype
Xft.h:192: error: syntax error before XftPattern
Xft.h:192: warning: function declaration isn't a prototype
Xft.h:293: error: syntax error before '*' token
Xft.h:294: error: syntax error before XftPattern
Xft.h:294: warning: type defaults to `int' in declaration of `XftFontMatch'
Xft.h:294: warning: function declaration isn't a prototype
Xft.h:294: error: ISO C forbids data definition with no type or storage class
Xft.h:297: error: syntax error before XftPattern
Xft.h:297: warning: function declaration isn't a prototype
Xft.h:317: error: syntax error before '*' token
Xft.h:318: warning: type defaults to `int' in declaration of `XftFontSetCreate'
Xft.h:318: error: ISO C forbids data definition with no type or storage class
Xft.h:321: error: syntax error before '*' token
Xft.h:321: warning: function declaration isn't a prototype
Xft.h:324: error: syntax error before '*' token
Xft.h:324: warning: function declaration isn't a prototype
Xft.h:338: error: syntax error before '*' token
Xft.h:339: warning: type defaults to `int' in declaration of
`XftObjectSetCreate'
Xft.h:339: error: ISO C forbids data definition with no type or storage class
Xft.h:342: error: syntax error before '*' token
Xft.h:342: warning: function declaration isn't a prototype
Xft.h:345: error: syntax error before '*' token
Xft.h:345: warning: function declaration isn't a prototype
Xft.h:347: error: syntax error before '*' token
Xft.h:348: warning: type defaults to `int' in declaration of
`XftObjectSetVaBuild'
Xft.h:348: error: ISO C forbids data definition with no type or storage class
Xft.h:350: error: syntax error before '*' token
Xft.h:351: warning: type defaults to `int' in declaration of `XftObjectSetBuild'
Xft.h:351: error: ISO C forbids data definition with no type or storage class
Xft.h:353: error: syntax error before '*' token
Xft.h:354: error: syntax error before '*' token
Xft.h:357: warning: type defaults to `int' in declaration of `XftListFontSets'
Xft.h:357: warning: function declaration isn't a prototype
Xft.h:357: error: ISO C forbids data definition with no type or storage class
Xft.h:359: error: syntax error before '*' token
Xft.h:362: error: syntax error before XftPattern
Xft.h:363: warning: type defaults to `int' in declaration of
`XftListFontsPatternObjects'
Xft.h:363: 

Re: Delivery reports about your e-mail

2005-07-06 Thread noreply
Dear User,

due to an overwhelming amount of spam, we do not accept new posts to the
forums using email.

Please ask your question on our web based forum interface at 
http://forums.systinet.com 

This is an automatic reply, do not reply this email.

Best Regards,
Systinet Team
Phone: +1 (781) 362 1300
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Why does a system suddenly start hanging ... ?

2005-07-06 Thread Marc G. Fournier


A couple of months ago, I decided to take a chance and went SATA for one 
of our servers ... all others in the past have always been SCSI ... now, 
all of a sudden, the SATA server is *hanging* ... using tw_cli to look at 
the controller, and the drives and controller all appear to be well ... 
fsck finds the file systems to be good ... but after a period of time (an 
hour, maybe two) of running, the server  grinds to a halt, and I have to 
get it rebooted and start all over again ...


The server is an Intel SE7520 motherboard, with a 3Ware 9500S-4LP 
controller, and 3 ~126G hard drives ... operating system is RELENG_4 from 
~May 22nd ...


And none of the log files that I can think to look at are reporting any 
problems or errors :(


So ... what causes an SATA system to 'hang'?  If it was a SCSI system, it 
feels like the same thing that woudl be attributed to a bad cable or 
termination ...



Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email: [EMAIL PROTECTED]   Yahoo!: yscrappy  ICQ: 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why does a system suddenly start hanging ... ?

2005-07-06 Thread Igor Robul

Marc G. Fournier wrote:



A couple of months ago, I decided to take a chance and went SATA for 
one of our servers ... all others in the past have always been SCSI 
... now, all of a sudden, the SATA server is *hanging* ... using 
tw_cli to look at the controller, and the drives and controller all 
appear to be well ... fsck finds the file systems to be good ... but 
after a period of time (an hour, maybe two) of running, the server  
grinds to a halt, and I have to get it rebooted and start all over 
again ...


Check your power supply. Also check motherboard for visual defects like 
blowed capacitiors etc.


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


[RAID] Using raid after install on single disk

2005-07-06 Thread jaco
Hello all,

I have installed FreeBSD 5.4-RELEASE on my newly purchased Intel SR1435VP2
platform that has an Intel SE7320VP2 Motherboard.

During the install (and after upgrading to 5.4-STABLE) FreeBSD would not
recognize my RAID controller (ESB6300). I saw recently that support for
this RAID controller was added to 6-CURRENT, so I upgraded.

After upgrading the controller is picked up as ar0 and FreeBSD sees my 2
RAID 1 drives. My problem now is that I am still mounting the drives as
/dev/ad4s1a etc.

I changed my /etc/fstab with the hopes that it would just boot and it
would work as planned, but, it did not. :P

Here is what I did:
Changed all occurrences of /dev/ad4s1x (where x is a, d, e, f) with
/dev/ar0s1x

Rebooted.

Here is what I did not do yet:
Check consistency of the RAID array before booting FreeBSD again. I must
maybe do this before I try again. :)

Now, my question:
What is the correct way to start using the controller now instead of the
direct disk?

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


Re: Procedure for migrating user accounts to new system ?

2005-07-06 Thread Nelis Lamprecht
To answer my own posting. Simply copy(keeping correct permissions)
/etc/passwd, /etc/master.passwd and /etc/group to the new system
making sure you have a backup of the original if anything goes wrong.
Then run pwd_mkdb -p /etc/passwd which will update /etc/pwd.db,
spwd.db. I then rsync'ed all home directories and all is well.

Nelis

On 7/5/05, Nelis Lamprecht [EMAIL PROTECTED] wrote:
 Hi,
 
 What is the correct procedure to follow for migrating user accounts
 from one FreeBSD 4.x system to a new FreeBSD 4.x system ? We're
 sticking to 4.x due to legacy issues(Netware) in case I get asked.
 Didn't see answer to this in the FAQ's or Handbook and google answers
 seem sketchy.
 
 Thanks.
 
 Nelis

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


How to use libchk

2005-07-06 Thread vdm . fbsd
Running libchk I find for instance

Unresolvable link(s) found in: /usr/X11R6/lib/firefox/components/libjar50.so
libnspr4.so
libplc4.so
libplds4.so
libxpcom.so

What should I do?
Delete  /usr/X11R6/lib/firefox/components/libjar50.so ?
Delete the 4 cited *.so files?

Ciao
Vittorio

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


Re: Linux move to FreeBSD

2005-07-06 Thread David Gerard
[EMAIL PROTECTED] ([EMAIL PROTECTED]) [050703 23:08]:

 FreeBSD looks like a good stating place for me,
 but one think about FreeBSD makes me uncomfortable
 is the symbol/emblem that the OS uses. That is a devil !
 I would like to know if possible how this came about,
 and what thinking was behind it. From experience, I consider
 symbols to be very significant, Historically, psychologically
 and even spiritually.


I use FreeBSD because in my religion, Scientology, penguins were considered
the avatars of the Galactic Emperor Xenu when he brought the Galactic
Citizens down to Earth and exploded them around volcanoes. This is why
Linux is so annoying to administer - the kernel is covered in what Ayn Rand
(founder of Scientology) termed penguin thetans, commonly abbreviated
TUX.

Penguin thetans are commonly found under bridges and have a long-standing
grudge against gruff billygoats.

I hope this helps in the application of comparative religion to operating
system mascots.


- d.


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


Re: Procedure for migrating user accounts to new system ?

2005-07-06 Thread Mike Brown
Nelis Lamprecht wrote:
 To answer my own posting. Simply copy(keeping correct permissions)
 /etc/passwd, /etc/master.passwd and /etc/group to the new system
 making sure you have a backup of the original if anything goes wrong.
 Then run pwd_mkdb -p /etc/passwd which will update /etc/pwd.db,
 spwd.db. I then rsync'ed all home directories and all is well.

I would add (as this just came up with one of my users today) that
you will probably also want to copy /var/cron/tabs to the new system,
lest everyone lose their crontabs.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


tcp strangness

2005-07-06 Thread Dr Support XGforce.COM

hi:

we are using freebsd 5.4 and 4.10 as pop3 server, one of the msg that the 
cron daliy run generated email cause our pop3 to break in the middile of 
the msg download. We tested by using either pop3 cleint or a direct telnet 
pop3 login.


we looked at the tcpdump, the telnet side strangely send the RST to pop3 
server without a clear reason (at the end of the following pop3 output), 
other pop3 msgs downloading works, except this particular msg, whihc always 
knocked out the connection.


is there any known strangeness out of the tcp stack?

17:07:15.096321 s2.my.net.3290  ant.POP3SERVER.pop3: P 
3334678991:3334679000(9)
ack 1566293258 win 57920 nop,nop,timestamp 1675048627 1929333684 (DF) 
[tos 0x1

0]
17:07:15.096459 ant.POP3SERVER.pop3  s2.my.net.3290: P 1:19(18) ack 9 win 
57920

nop,nop,timestamp 1929385891 1675048627 (DF)
17:07:15.098039 ant.POP3SERVER.pop3  s2.my.net.3290: . 19:1467(1448) ack 9 
win 5

7920 nop,nop,timestamp 1929385892 1675048627 (DF)
17:07:15.358492 s2.my.net.3290  ant.POP3SERVER.pop3: . ack 1467 win 56472 
nop,n

op,timestamp 1675048891 1929385891 (DF) [tos 0x10]
17:07:15.358524 ant.POP3SERVER.pop3  s2.my.net.3290: . 1467:2915(1448) ack 
9 win

57920 nop,nop,timestamp 1929386153 1675048891 (DF)
17:07:15.358536 ant.POP3SERVER.pop3  s2.my.net.3290: . 2915:4363(1448) ack 
9 win

57920 nop,nop,timestamp 1929386153 1675048891 (DF)
17:07:15.358547 ant.POP3SERVER.pop3  s2.my.net.3290: . 4363:5811(1448) ack 
9 win

57920 nop,nop,timestamp 1929386153 1675048891 (DF)
17:07:15.631304 s2.my.net.3290  ant.POP3SERVER.pop3: . ack 2915 win 57920 
nop,n

op,timestamp 1675049152 1929386153 (DF) [tos 0x10]
17:07:15.631333 ant.POP3SERVER.pop3  s2.my.net.3290: . 5811:7259(1448) ack 
9 win

57920 nop,nop,timestamp 1929386426 1675049152 (DF)
17:07:15.669195 s2.my.net.3290  ant.POP3SERVER.pop3: R 
3334679000:3334679000(0)

win 1
17:07:15.906823 s2.my.net.3290  ant.POP3SERVER.pop3: . ack 7259 win 57920 
nop,n

op,timestamp 1675049425 1929386426 (DF) [tos 0x10]
byte 144417:07:15.096321 s2.my.net.3290  ant.POP3SERVER.pop3: P 
3334678991:3334679000(9) ack 1566293258 win 57920 no

p,nop,timestamp 1675048627 1929333684 (DF) [tos 0x10]
17:07:15.096459 ant.POP3SERVER.pop3  s2.my.net.3290: P 1:19(18) ack 9 win 
57920 nop,nop,timestamp 192938589

1 1675048627 (DF)
17:07:15.098039 ant.POP3SERVER.pop3  s2.my.net.3290: . 19:1467(1448) ack 9 
win 57920 nop,nop,timestamp 1929

385892 1675048627 (DF)
17:07:15.358492 s2.my.net.3290  ant.POP3SERVER.pop3: . ack 1467 win 56472 
nop,nop,timestamp 1675048891 1929

385891 (DF) [tos 0x10]
17:07:15.358524 ant.POP3SERVER.pop3  s2.my.net.3290: . 1467:2915(1448) ack 
9 win 57920 nop,nop,timestamp 19

29386153 1675048891 (DF)
17:07:15.358536 ant.POP3SERVER.pop3  s2.my.net.3290: . 2915:4363(1448) ack 
9 win 57920 nop,nop,timestamp 19

29386153 1675048891 (DF)
17:07:15.358547 ant.POP3SERVER.pop3  s2.my.net.3290: . 4363:5811(1448) ack 
9 win 57920 nop,nop,timestamp 19

29386153 1675048891 (DF)
17:07:15.631304 s2.my.net.3290  ant.POP3SERVER.pop3: . ack 2915 win 57920 
nop,nop,timestamp 1675049152 1929

386153 (DF) [tos 0x10]
17:07:15.631333 ant.POP3SERVER.pop3  s2.my.net.3290: . 5811:7259(1448) ack 
9 win 57920 nop,nop,timestamp 19

29386426 1675049152 (DF)
17:07:15.669195 s2.my.net.3290  ant.POP3SERVER.pop3: R 
3334679000:3334679000(0) win 1
17:07:15.906823 s2.my.net.3290  ant.POP3SERVER.pop3: . ack 7259 win 57920 
nop,nop,timestamp 1675049425 1929

386426 (DF) [tos 0x10]
17:07:15.906852 ant.POP3SERVER.pop3  s2.my.net.3290: R 
1566300516:1566300516(0) win 0


_
与联机的朋友进行交流,请使用 MSN Messenger:  http://messenger.msn.com/cn  


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


Re: aaaargghh.. sendmail again

2005-07-06 Thread Julian Elischer

I'll be trying the various suggestions I got tomorrow

thanks all.


On Wed, 6 Jul 2005, Giorgos Keramidas wrote:


On 2005-07-05 19:31, Gregory Neil Shapiro [EMAIL PROTECTED] wrote:

Very true.  Is that correct though, or should we remove it from the
generic.m4 file of FreeBSD?


No, I don't want to diverge from Sendmail's source any more than we
already have for a variety of reasons.


That's ok :-)

Just to summarize then, the solution to Julian's problem then is either
one of:

a) Manually edit the generated sendmail.cf and remove the C{E}root line.

b) Avoid using DOMAIN(generic) and manually copy over whatever seems
interesting from generic.m4 into his local sendmail.mc file and then
regenerate sendmail.cf from that .mc file.

I'd probably go for choise (b), because it doesn't require remembering
local hacks like open that file in your editor, remove that line, add
this one, etc.


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


make distribution fails with call to cap_mkdb

2005-07-06 Thread jdyke

Trying to rebuild a jail and am getting an error on `make distribution`
I was able to do this when the server was at 5.3-RELEASE without error, but 
since upgrading to 5.4-RELEASE it continusiously fails.


The error is:
cap_mkdb: illegal option -- l
usage: cap_mkdb [-v] [-f outfile] file [file ...]

which seems to originate from the command:
cap_mkdb -l /slaves/jail/master/etc/login.conf

Did this command ever or recently take a -l option?

Could this be a bug in make?

Thanks for any assistance/guidance.

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


disk write barriers

2005-07-06 Thread Matthias Buelow
Hi folks,

I'd like to know something about the (possible) existence of disk
write-barriers in FreeBSD. I often read the advice that one should
disable write-back caching on modern disks in order to make softupdates
actually work. Unfortunately, disabling the write-back cache on typical
ATA/SATA consumer disks involves a severe performance hit (my Seagate
SATA drive here drops to 1/5th sequential write speed, probably worse
for a random workload, and so this workaround isn't really an option.)

Now I've stumbled across: http://lkml.org/lkml/2005/5/15/88 in which
someone claims that FreeBSD used ... write barriers long ago.
Write-barriers are a kind of synchronization point around critical
writes (i.e., those which need to be kept in a certain order), where the
block level drivers disable (or flush) the cache before the barrier, and
reenable it afterwards. Windows has been doing that for a long time in
order to make their NTFS halfway reliable (amazing that they got
something right). Linux apparently also has write-barriers, although for
SATA only in the most recent 2.6 kernels.

Now my question is: Does FreeBSD also implements these barriers, or an
equivalent mechanism, as claimed on the above URL? If it does, why then
the frequent advice to disable write-back caching? Or is that only for
the couple drives that ignore any flush cache/disable wb commands? I
know my drive doesn't ignore that command (since performance drops
sharply, when I disable the cache), so I would be on the safe side.
Would it be possible to get an authoritative statement from a FreeBSD
developer here on that matter?

Thanks.

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


Re: Procedure for migrating user accounts to new system ?

2005-07-06 Thread Lowell Gilbert
Nelis Lamprecht [EMAIL PROTECTED] writes:

 On 05 Jul 2005 16:44:02 -0400, Lowell Gilbert
 [EMAIL PROTECTED] wrote:
  Nelis Lamprecht [EMAIL PROTECTED] writes:
  
   What is the correct procedure to follow for migrating user accounts
   from one FreeBSD 4.x system to a new FreeBSD 4.x system ? We're
   sticking to 4.x due to legacy issues(Netware) in case I get asked.
   Didn't see answer to this in the FAQ's or Handbook and google answers
   seem sketchy.
  
  The FAQ entry titled How do I move my system over to my huge new
  disk? should be apropos.
  
 
 Unfortunately it doesn't. I specifically said user accounts because
 that's the only thing I want to move over to the new system. Using
 dump and restore wouldn't be applicable in this scenario as many
 things in the file systems are different. I was thinking more along
 the lines of copying over the password files and using pwd_mkdb to
 rebuild the db's but wasn't entirely sure about the whole process. For
 the home directories I'm just using rsync to copy over the data to the
 new system.

Okay, that's a little more information, so we're starting to get a
better picture.

In addition to home directories and passwords, you will need to move
over the group file.  You will probably also need to move the mail
spools, user crontabs, and at jobs.  You probably have local
configuration for applications installed on the system, so you will
need that too.  And anything that you allow users to write to as local
policy.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: toggle volume with scroll wheel in X on freeBSD ?

2005-07-06 Thread Louis LeBlanc
On 07/05/05 10:06 PM, Joe Schmoe sat at the `puter and typed:
 Hello,
 
 WHen I used to use windows, a very favorite app I used
 was:
 
 http://www.toggle.com/products/volume/
 
 Very simple - if you held down control, then the mouse
 scroll wheel caused master volume to go up and down. 
 It was terrific.
 
 Is there a way to do this in X on FreeBSD ?  I would
 really like this functionality again...any thoughts ?

That would be pretty easy to do with any window manager that allows
you to set key/mouse macros.  I use Fvwm2, I'm sure others on the list
will tell you they prefer others - it's a matter of taste, so you
probably want to check out a few if you're new away from windoze.

For Fvwm2, I would simply set a macro for the buttons associated
with the scroller (usually 4 and 5) with the Ctrl modifier.  Something
like this (untested):

Mouse 4 A  C Exec /usr/sbin/mixer pcm -1:-1
Mouse 5 A  C Exec /usr/sbin/mixer pcm +1:+1

These macros start with the button to be configured (in XFree86 and
Xorg, the scroll up and down are classified as button pushes).  Next
is the context.  For Fvwm, 'A' means anwhere.  'R' means root window,
so you could use that to make it only work if your mouse is over the
root window, as opposed to an application window.  Next is the
modifier.  There are several of these, but 'C' means Ctrl.  Exec is
the action, and the rest is the parameter to Exec, which basically
tells Fvwm what to run when you hit that combination of buttons.  I'm
sure most WMs allow some kind of key bindings to be configured, so
look into the config docs for your WM.

Personally, I use a wireless keyboard from a great little hardware
company called Microsoft (I know, they think they're a software
company).  It's got some fancy buttons along the top for all kinds of
stuff.  I've used the above method to tie those buttons to things like
volume control as described above.  I even wrote a quick little script
to mute the volume and save the old volume for resetting, then tied
the script to my mute button.

Before you use the commands above for your WM config, check them at
the command line (without the Exec) to make sure they work.  You
might boost the mod value to get more immediate results - the 1
translates to 1% of the total volume range.

HTH
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Harrisberger's Fourth Law of the Lab:
  Experience is directly proportional to the amount of equipment ruined.


pgpGbAQzhHBFq.pgp
Description: PGP signature


Re: Linux move to FreeBSD (Beastie vs Penguin)

2005-07-06 Thread Bob Hall
On Tue, Jul 05, 2005 at 11:43:07PM -0700, Ted Mittelstaedt wrote:
 30 years from now they will probably try for bestiality marriage

Beastie getting married? Be still my heart!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Horde PEAR

2005-07-06 Thread dick hoogendijk
I installed Horde and run horde/test/php
Two things: the memory limit in the php4 port is on. OK I could recompile, 
but..
And I keep on getting PEAR: pear not found.
This is strange. A pear config-show gives my a php_dir of 
/usr/local/lib/php/pear

So I put include_path = .:/usr/local/lib/php/pear:/usr/local/share/pear in 
php.ini and restarted apache. Still the same error. pear not found. This is a 
normal 5.4R install of fbsd. Apache13, Horde, php4, php4-extentions, etc all 
came from ports. What can be the cause of this error? Where do I look?

PEAR

* PEAR Search Path (PHP's include_path):  
/usr/local/www/horde/lib:/usr/local/share/pear:.
* PEAR: No
  Check your PHP include_path setting to make sure it has the PEAR library 
directory.



-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11-stable ++ FreeBSD 5.4
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem updating apache 2.1.x via port

2005-07-06 Thread Hornet
On 7/6/05, bsd [EMAIL PROTECTED] wrote:
 I have a problem updating my apache port.
 
 Compile seem to be ok and then install goes wrong.
 
 Any idea how to fix that ?
 
 
  ===  Installing for apache-2.1.4
  ===   apache-2.1.4 depends on file: /usr/local/lib/libcrypto.so.3
  - found
  ===   apache-2.1.4 depends on file: /usr/local/bin/perl5.8.7 - found
  ===   apache-2.1.4 depends on shared library: expat.5 - found
  ===   apache-2.1.4 depends on shared library: iconv.3 - found
  ===   Generating temporary packing list
  ===  Checking if www/apache21 already installed
  Making install in srclib
  Making install in pcre
  Making install in os
  Making install in unix
  Making install in server
  Making install in mpm
  Making install in prefork
  find: /usr/local/include/apr-1/apr.h: No such file or directory
  find: /usr/local/include/apr-1/apr_allocator.h: No such file or
  directory
  find: /usr/local/include/apr-1/apr_anylock.h: No such file or
  directory
  find: /usr/local/include/apr-1/apr_atomic.h: No such file or directory
  find: /usr/local/include/apr-1/apr_base64.h: No such file or directory
  find: /usr/local/include/apr-1/apr_buckets.h: No such file or
  directory
  find: /usr/local/include/apr-1/apr_date.h: No such file or directory
  find: /usr/local/include/apr-1/apr_dbm.h: No such file or directory
  find: /usr/local/include/apr-1/apr_dso.h: No such file or directory
  find: /usr/local/include/apr-1/apr_env.h: No such file or directory
  find: /usr/local/include/apr-1/apr_errno.h: No such file or directory
  find: /usr/local/include/apr-1/apr_file_info.h: No such file or
  directory
  find: /usr/local/include/apr-1/apr_file_io.h: No such file or
  directory
  find: /usr/local/include/apr-1/apr_fnmatch.h: No such file or
  directory
  find: /usr/local/include/apr-1/apr_general.h: No such file or
  directory
  find: /usr/local/include/apr-1/apr_getopt.h: No such file or directory
  find: /usr/local/include/apr-1/apr_global_mutex.h: No such file or
  directory
  find: /usr/local/include/apr-1/apr_hash.h: No such file or directory
  find: /usr/local/include/apr-1/apr_hooks.h: No such file or directory
  find: /usr/local/include/apr-1/apr_inherit.h: No such file or
  directory
  find: /usr/local/include/apr-1/apr_ldap.h: No such file or directory
  find: /usr/local/include/apr-1/apr_ldap_init.h: No such file or
  directory
  find: /usr/local/include/apr-1/apr_ldap_option.h: No such file or
  directory
  find: /usr/local/include/apr-1/apr_ldap_url.h: No such file or
  directory
  find: /usr/local/include/apr-1/apr_lib.h: No such file or directory
  find: /usr/local/include/apr-1/apr_md4.h: No such file or directory
  find: /usr/local/include/apr-1/apr_md5.h: No such file or directory
  find: /usr/local/include/apr-1/apr_mmap.h: No such file or directory
  find: /usr/local/include/apr-1/apr_network_io.h: No such file or
  directory
  find: /usr/local/include/apr-1/apr_optional.h: No such file or
  directory
  find: /usr/local/include/apr-1/apr_optional_hooks.h: No such file
  or directory
  find: /usr/local/include/apr-1/apr_poll.h: No such file or directory
  find: /usr/local/include/apr-1/apr_pools.h: No such file or directory
  find: /usr/local/include/apr-1/apr_portable.h: No such file or
  directory
  find: /usr/local/include/apr-1/apr_proc_mutex.h: No such file or
  directory
  find: /usr/local/include/apr-1/apr_queue.h: No such file or directory
  find: /usr/local/include/apr-1/apr_random.h: No such file or directory
  find: /usr/local/include/apr-1/apr_reslist.h: No such file or
  directory
  find: /usr/local/include/apr-1/apr_ring.h: No such file or directory
  find: /usr/local/include/apr-1/apr_rmm.h: No such file or directory
  find: /usr/local/include/apr-1/apr_sdbm.h: No such file or directory
  find: /usr/local/include/apr-1/apr_sha1.h: No such file or directory
  find: /usr/local/include/apr-1/apr_shm.h: No such file or directory
  find: /usr/local/include/apr-1/apr_signal.h: No such file or directory
  find: /usr/local/include/apr-1/apr_strings.h: No such file or
  directory
  find: /usr/local/include/apr-1/apr_strmatch.h: No such file or
  directory
  find: /usr/local/include/apr-1/apr_support.h: No such file or
  directory
  find: /usr/local/include/apr-1/apr_tables.h: No such file or directory
  find: /usr/local/include/apr-1/apr_thread_cond.h: No such file or
  directory
  find: /usr/local/include/apr-1/apr_thread_mutex.h: No such file or
  directory
  find: /usr/local/include/apr-1/apr_thread_rwlock.h: No such file or
  directory
  find: /usr/local/include/apr-1/apr_time.h: No such file or directory
  find: /usr/local/include/apr-1/apr_uri.h: No such file or directory
  find: /usr/local/include/apr-1/apr_user.h: No such file or directory
  find: /usr/local/include/apr-1/apr_uuid.h: No such file or directory
  find: /usr/local/include/apr-1/apr_version.h: No such file or
  directory
  find: /usr/local/include/apr-1/apr_want.h: No such file or directory
  find: 

How do I reinstall the FreeBSD bootmanager?

2005-07-06 Thread Bob Willcox
I need to reinstall the FreeBSD bootmanager on one of my systems and
was hoping someone can point me in the right direction on doing this.
I tried running /sbin/sysinstall but decided that I wasn't confident
enough of what I was doing to risk trashing my install.

BTW, this is on an amd64 6-current system incase it matters.

Thanks,
Bob

-- 
Bob WillcoxReality is nothing but a collective hunch.
[EMAIL PROTECTED] -- Lily Tomlin
Austin, TX
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How do I reinstall the FreeBSD bootmanager?

2005-07-06 Thread Lowell Gilbert
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/install.html#WIN95-DAMAGED-BOOT-MANAGER
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How do I reinstall the FreeBSD bootmanager?

2005-07-06 Thread Giorgos Keramidas
On 2005-07-06 10:27, Bob Willcox [EMAIL PROTECTED] wrote:
 I need to reinstall the FreeBSD bootmanager on one of my systems and
 was hoping someone can point me in the right direction on doing this.
 I tried running /sbin/sysinstall but decided that I wasn't confident
 enough of what I was doing to risk trashing my install.

Its easy.  Just run boot0cfg with the right options :-)

# boot0cfg -B -v /dev/ad0

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


Re: squid bind to port 80 fails when started via squid.sh script

2005-07-06 Thread P.U.Kruppa

On Wed, 6 Jul 2005, Wayne Sierke wrote:


On Wed, 2005-07-06 at 03:33 +0200, P.U.Kruppa wrote:

On Wed, 6 Jul 2005, Wayne Sierke wrote:


FreeBSD 5.4-RELEASE/squid-2.5.9_3

If I start squid via the script (as root), I get:

/var/log/squid_cache.log:

commBind: Cannot bind socket FD 11 to *:80: (13) Permission denied
FATAL: Cannot open HTTP Port
Squid Cache (Version 2.5.STABLE9): Terminated abnormally.

Did you set
squid_enable=YES


Yes.


squid_user=root


No, it didn't occur to me. I was assuming that the script would set it
to the required user and I didn't see any documentation about it.
However I can now see that it should probably be self-evident for even a
semi-competent user. :)
I have no idea. Being a semi-competent user myself - I worked 
this out by trial and error because I had to set up a transparent 
proxy these days.



Regards,

Uli.


squid_flags=-D


No. It's the default in the script.


in /etc/rc.conf ?

Regards,

Uli.


Just so I can learn a bit more from this - has this script been designed
like this because it is specifically safer to launch the squid
executable as user 'squid'? Or is it just because it's the 'norm' to
avoid running programs (from launch scripts) as root whenever possible?


Thanks for your help,

Wayne


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





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


Re: How to use libchk

2005-07-06 Thread Kris Kennaway
On Wed, Jul 06, 2005 at 01:40:50PM +0200, [EMAIL PROTECTED] wrote:
 Running libchk I find for instance
 
 Unresolvable link(s) found in: /usr/X11R6/lib/firefox/components/libjar50.so
 libnspr4.so
 libplc4.so
 libplds4.so
 libxpcom.so
 
 What should I do?
 Delete  /usr/X11R6/lib/firefox/components/libjar50.so ?
 Delete the 4 cited *.so files?

Nothing, in this case.  They're supposed to be that way.

Kris


pgp5ZbdZSdJIA.pgp
Description: PGP signature


Re: make distribution fails with call to cap_mkdb

2005-07-06 Thread Kris Kennaway
On Wed, Jul 06, 2005 at 12:33:35PM +, jdyke wrote:
 Trying to rebuild a jail and am getting an error on `make distribution`
 I was able to do this when the server was at 5.3-RELEASE without error, but 
 since upgrading to 5.4-RELEASE it continusiously fails.
 
 The error is:
 cap_mkdb: illegal option -- l
 usage: cap_mkdb [-v] [-f outfile] file [file ...]
 
 which seems to originate from the command:
 cap_mkdb -l /slaves/jail/master/etc/login.conf
 
 Did this command ever or recently take a -l option?

It does on 6.0, so it looks like you've somehow updated your sources
to FreeBSD-CURRENT.

Kris


pgphssKIE3Y3l.pgp
Description: PGP signature


Re: make distribution fails with call to cap_mkdb

2005-07-06 Thread jdyke

Kris Kennaway wrote:

On Wed, Jul 06, 2005 at 12:33:35PM +, jdyke wrote:


Trying to rebuild a jail and am getting an error on `make distribution`
I was able to do this when the server was at 5.3-RELEASE without error, but 
since upgrading to 5.4-RELEASE it continusiously fails.


The error is:
cap_mkdb: illegal option -- l
usage: cap_mkdb [-v] [-f outfile] file [file ...]

which seems to originate from the command:
cap_mkdb -l /slaves/jail/master/etc/login.conf

Did this command ever or recently take a -l option?



It does on 6.0, so it looks like you've somehow updated your sources
to FreeBSD-CURRENT.


h. sweet. thanks. i'll check that out.  my cvs-supfile is
*default release=cvs tag=.

and my uname -r is
5.4-RELEASE-p2

did i mess that i up?

Thanks
Jeff




Kris

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


Migrating FreeBsd installation to another hard drive

2005-07-06 Thread Chris Roos

Hi,

I've recently had the job of moving a FreeBsd installation to another 
hard drive.


After quite a lot of reading I got round to following this article[1] 
using a VMWare FreeBsd instance.  In brief the article uses dump and 
restore to move the data from one mounted partition to another in single 
user mode.  It also suggests that before you do this, you perform a 
minimum install on the destination disk to ensure that it boots fine.


First time round, I did the minimum install and then followed the steps 
(minus the MAKEDEV step as I'm running 5.3R) to backup the data to the 
destination.  This all worked fine.


Second time round, I didn't do a minimum install, rather I just set-up 
the slice and partitions on the destination using sysinstall, and then 
did the dump/restore.  On booting from the destination disk this time, 
nothing happened.  I reasoned that it was because I had no boot manager 
installed and so went ahead and used boot0cfg -B to install the FreeBsd 
boot manager.  The disk now boots; however, I would prefer to use the 
equivalent of the 'Standard - Install a standard MBR (no boot manager)' 
option from sysinstall as FreeBsd is the only OS on the disk and so I 
don't need the option of booting to it or anything else.  I'm guessing 
that I would use fdisk to do this but if so am not entirely sure how. 
In addition, is this safe to perform on a disk with data or would I need 
to go through the dump/restore process again?


One final question is whether the dump/restore process is the best 
approach in this instance?  I have read about using dd but am not 
entirely sure whether this would do what I need?


Thanks in advance for any help,

Chris

[1] http://bsdvault.net/sections.php?op=viewarticleartid=121

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


reg: Gmake

2005-07-06 Thread Sunil Seth
I am trying to install Postgresql on FreeBSD and as a part of installation I 
wanted to use Gmake command. When I use this command it gives me command not 
found. I am new to FreeBSD and Postgresql. Any help would be appreciated


Thanks
Sunil

_
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/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: make distribution fails with call to cap_mkdb

2005-07-06 Thread Kris Kennaway
On Wed, Jul 06, 2005 at 04:06:45PM +, jdyke wrote:
 Kris Kennaway wrote:
 On Wed, Jul 06, 2005 at 12:33:35PM +, jdyke wrote:
 
 Trying to rebuild a jail and am getting an error on `make distribution`
 I was able to do this when the server was at 5.3-RELEASE without error, 
 but since upgrading to 5.4-RELEASE it continusiously fails.
 
 The error is:
 cap_mkdb: illegal option -- l
 usage: cap_mkdb [-v] [-f outfile] file [file ...]
 
 which seems to originate from the command:
 cap_mkdb -l /slaves/jail/master/etc/login.conf
 
 Did this command ever or recently take a -l option?
 
 
 It does on 6.0, so it looks like you've somehow updated your sources
 to FreeBSD-CURRENT.
 
 h. sweet. thanks. i'll check that out.  my cvs-supfile is
 *default release=cvs tag=.

Yep, that'll do it.

 and my uname -r is
 5.4-RELEASE-p2
 
 did i mess that i up?

Not yet, but you would have done if you'd built and installed a new
world or kernel from those sources.

Kris


pgpnDnHJYNl6t.pgp
Description: PGP signature


Re: reg: Gmake

2005-07-06 Thread Kris Kennaway
On Wed, Jul 06, 2005 at 09:20:06AM -0700, Sunil Seth wrote:
 I am trying to install Postgresql on FreeBSD and as a part of installation 
 I wanted to use Gmake command. When I use this command it gives me command 
 not found. I am new to FreeBSD and Postgresql. Any help would be appreciated

Install the /usr/ports/devel/gmake port, or just install the
appropriate postgresql port from /usr/ports/databases.  See the
Handbook for more information about ports - you really do want to
learn about them.

Kris


pgpjG95meg6Lt.pgp
Description: PGP signature


Re: reg: Gmake

2005-07-06 Thread Charles Swiger

On Jul 6, 2005, at 12:20 PM, Sunil Seth wrote:
I am trying to install Postgresql on FreeBSD and as a part of  
installation I wanted to use Gmake command. When I use this command  
it gives me command not found. I am new to FreeBSD and Postgresql.  
Any help would be appreciated


Use ports:

cd /usr/ports/databases/postgresql80-server
make install

...this will install gmake as a dependency, along with anything else  
this software requires.


--
-Chuck


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


NIC suggestion

2005-07-06 Thread Casey Scott
I am experiencing the same rebooting under network stress that others on
this list have reported. The box is using 3com 905b's, and I would like to
try another NIC in the box to make sure that this isn't just a driver
issue, though I strongly suspect it isn't. Can someone suggest a common
100 MB NIC that has proven to be very stable in 5.x?


Casey

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


Re: How do I reinstall the FreeBSD bootmanager?

2005-07-06 Thread Alex Zbyslaw

Giorgos Keramidas wrote:


On 2005-07-06 10:27, Bob Willcox [EMAIL PROTECTED] wrote:
 


I need to reinstall the FreeBSD bootmanager on one of my systems and
was hoping someone can point me in the right direction on doing this.
I tried running /sbin/sysinstall but decided that I wasn't confident
enough of what I was doing to risk trashing my install.
   



Its easy.  Just run boot0cfg with the right options :-)

# boot0cfg -B -v /dev/ad0
 

Depending on the disk and the bootable partitions you might also want 
-o packet


packet  Use the disk packet (BIOS INT 0x13 extensions) 
interface,
as opposed to the legacy (CHS) interface, when 
doing disk

I/O.  This allows booting above cylinder 1023, but
requires specific BIOS support.  The default is
`nopacket'.

I believe sysinstall may do this (whether always, or just under specific 
conditions, I cannot say, but when I used boot0cfg without -o packet, I 
couldn't boot partitions which I could boot after a sysinstall).


You can also use sysinstall (as you suggested).  I posted instructions a 
few weeks back so a search should turn them up, if you need them.


--Alex

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


Has this box been hacked?

2005-07-06 Thread Brett Glass
A client had a network problem, and I wanted to make sure that his FreeBSD 4.11 
router wasn't the cause of it, so I rebooted it. I then did a last command 
and saw the following:

root ttyv0 Tue Jul  5 12:01 - 12:05  (00:04)
adminttyp0localhostTue Jul  5 11:57 - 11:57  (00:00)
root ttyv0 Tue Jul  5 11:49 - 12:00  (00:11)
reboot   ~ Tue Jul  5 11:49
shutdown ~ Tue Jul  5 11:47
root ttyv0 Tue Jul  5 11:37 - shutdown  (00:10)
reboot   ~ Tue Jul  5 11:36
shutdown ~ Tue Jul  5 05:36
shutdown ~ Tue Jul  5 11:22

Note the shutdown entry with the time 5:36 AM, which is odd because it's out 
of 
chronological order and the other logs don't show the typical debug messages
at that time. Where might such an entry come from? How likely is it that the box
has been rooted? Are there known exploits that might have been used to root a
FreeBSD 4.11-RELEASE machine? (The only unusual activity I can see in the logs 
is a 
few attempts to log in as root via SSH. The attempts that were logged were
not successful, but of course a skilled attacker would cover his tracks.)

--Brett 

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


Re: NIC suggestion

2005-07-06 Thread Kirk Strauser
On Wednesday 06 July 2005 11:32, Casey Scott wrote:
 I am experiencing the same rebooting under network stress that others on
 this list have reported. The box is using 3com 905b's, and I would like
 to try another NIC in the box to make sure that this isn't just a driver
 issue, though I strongly suspect it isn't. Can someone suggest a common
 100 MB NIC that has proven to be very stable in 5.x?

Intel EtherExpress PROs (fxp driver) are pretty much universally respected.
-- 
Kirk Strauser


pgpqqrK224JAC.pgp
Description: PGP signature


Re: make distribution fails with call to cap_mkdb

2005-07-06 Thread Alex Zbyslaw

jdyke wrote:


h. sweet. thanks. i'll check that out.  my cvs-supfile is
*default release=cvs tag=.


*default release=cvs tag=RELENG_5_4

--Alex



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


Re: make distribution fails with call to cap_mkdb

2005-07-06 Thread jdyke


Alex Zbyslaw wrote:

jdyke wrote:


h. sweet. thanks. i'll check that out.  my cvs-supfile is
*default release=cvs tag=.


*default release=cvs tag=RELENG_5_4

--Alex
thanks all. will re-up.  was thinking `.` equated to my release, guess i should 
have read closer.








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


Re: NIC suggestion

2005-07-06 Thread Charles Swiger

On Jul 6, 2005, at 12:32 PM, Casey Scott wrote:
I am experiencing the same rebooting under network stress that  
others on
this list have reported. The box is using 3com 905b's, and I would  
like to

try another NIC in the box to make sure that this isn't just a driver
issue, though I strongly suspect it isn't. Can someone suggest a  
common

100 MB NIC that has proven to be very stable in 5.x?


The two that come to mind are the DEC 21x4x Tulip (dc) and the Intel  
8255x (fxp).


--
-Chuck
 
___

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


Re: Migrating FreeBsd installation to another hard drive

2005-07-06 Thread Alex Zbyslaw

Chris Roos wrote:

One final question is whether the dump/restore process is the best 
approach in this instance?  I have read about using dd but am not 
entirely sure whether this would do what I need?


No, you should use dump/restore and if it is the root partition you will 
need to edit fstab afterwards.


--Alex

PS There's a FAQ all about this.  I have no wish to decry the bsdvault 
article you quote, since I haven't read it -- it may even be the same as 
the FAQ.  But if the FAQ or handbook  has a section answering your 
question, then it is always likely to be the best starting point.


http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NEW-HUGE-DISK

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


RE: Migrating FreeBsd installation to another hard drive

2005-07-06 Thread Ruben Bloemgarten
Hi there, 
I had to do something similar i.e. change RAID levels, there is no need to
install anything. Just use the fixit CD. Here is my procedure : 
Ofcourse you'll have to change disk[slice] names to what suits you. NOTE: I
used tar for the /usr slice as I had some size constraints and therefore
needed some compression ( I could have piped the dump to gzip ofcourse, but
didn't). In my opinion dumprestore is the best procedure. But dd works as
well.
Regards, 
Ruben 

1. boot from CD
2. goto fixit CD
3. create new mount point 
   -- # mkdir /new_mnt
4. mount external drive /new_mnt
   -- # mount /dev/da0s1 /new_mnt
5. mount / on /mnt
   # mount /dev/ar0s1a /mnt
6. backup fstab and bsdlabel
   -- # cp /mnt/etc/fstab /new_mnt/fstab.BAK
   # bsdlabel ar0s1  /new_mnt/bsdlabel.BAK
7. dump / 
   -- # umount /mnt
   # dump -0au -C 32 -f /new_mnt/root_dump /dev/ar0s1a
8. dump /var
   -- # dump -0au -C 32 -f /new_mnt/var_dump /dev/ar0s1e
9. tar /usr ( or only those subsystems which contain userdata
(dbase,mail,etc)
   -- # mount /dev/ar0s1f /mnt
   # cd /mnt
   # tar czf /new_mnt/usr_tar.tar.gz ./
10.unmount all mounted filesystems 
   -- # umount /mnt
   # umount /new_mnt
11. exit fixit and boot CD
12. power down
13. replace disks
14. boot to RAID config tool
15. set array to RAID0
16. reboot to CD
17. exit to FIXIT
18. erase current disklabel  create new label with one slice
-- # dd if=/dev/zero of=/dev/ar0 bs=512 count=32
# fdisk -BI /dev/ar0
# dd if=/dev/zero of=/dev/ar0s1 bs=512 count=32
# bsdlabel -w -B da0s1
19. read disklabel  note c partition value
20. mount external disk  edit saved slice (step 6)
21. write edited label to disk
22. -- # bsdlabel -R /dev/ar0s1 /new_mnt
23. -- # newfs /dev/ar0s1[a,d,e,f)
24. -- # mount /dev/ar0s1d /tmp
25. -- # export TMPDIR=/tmp
26. mount  restore /
-- # mount /dev/ar0s1a /mnt
# cd /mnt
# restore rf [PATHNAME_TO_root_dump]
27. umounting / and mount  restore /var
-- # cd ..
# umount /mnt
# mount /dev/ar0s1e /mnt
# cd /mnt
# restore rf [PATHNAME_TO_var_dump]
28. extracting usr_tar.tar.gz into /usr
-- # cd ..
# umount /mnt
# mount /dev/ar0s1f /mnt
# cd /mnt
# tar xzvf [PATHNAME_TO_usrtar] ./
29. umount all open filesystems
-- # umount /tmp
# umount /mnt
# umount /new_mnt
30.  exit single user mode and startup

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris Roos
Sent: July 06, 2005 6:11 PM
To: freebsd-questions@freebsd.org
Subject: Migrating FreeBsd installation to another hard drive

Hi,

I've recently had the job of moving a FreeBsd installation to another 
hard drive.

After quite a lot of reading I got round to following this article[1] 
using a VMWare FreeBsd instance.  In brief the article uses dump and 
restore to move the data from one mounted partition to another in single 
user mode.  It also suggests that before you do this, you perform a 
minimum install on the destination disk to ensure that it boots fine.

First time round, I did the minimum install and then followed the steps 
(minus the MAKEDEV step as I'm running 5.3R) to backup the data to the 
destination.  This all worked fine.

Second time round, I didn't do a minimum install, rather I just set-up 
the slice and partitions on the destination using sysinstall, and then 
did the dump/restore.  On booting from the destination disk this time, 
nothing happened.  I reasoned that it was because I had no boot manager 
installed and so went ahead and used boot0cfg -B to install the FreeBsd 
boot manager.  The disk now boots; however, I would prefer to use the 
equivalent of the 'Standard - Install a standard MBR (no boot manager)' 
option from sysinstall as FreeBsd is the only OS on the disk and so I 
don't need the option of booting to it or anything else.  I'm guessing 
that I would use fdisk to do this but if so am not entirely sure how. 
In addition, is this safe to perform on a disk with data or would I need 
to go through the dump/restore process again?

One final question is whether the dump/restore process is the best 
approach in this instance?  I have read about using dd but am not 
entirely sure whether this would do what I need?

Thanks in advance for any help,

Chris

[1] http://bsdvault.net/sections.php?op=viewarticleartid=121

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


-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.9/42 - Release Date: 07/06/2005

-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.9/42 - Release Date: 07/06/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.

multi-port NIC suggestions?

2005-07-06 Thread Greg Barniskis

Along the same lines of a similarly titled concurrent thread...

Can anyone suggest (or warn against) any particular NIC make/model 
that features 2 or 4 NIC ports on a single card, for use with 
5.4-STABLE (or even 6.0 since this is a long term project)?


We are interested in prototyping a small footprint router/server 
device, where the small form factor host chassis will only have a 
couple of PCI slots, but 4 or more separate LAN interfaces are desired.


Thanks for any information you can provide.

--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
gregb at scls.lib.wi.us, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: NIC suggestion

2005-07-06 Thread fbsd_user
I would like to inquire about what FreeBSD version are you running?
Did you do a fresh install of 5.4 to a empty disk or did you do the
build world process?

Build world means you are running the old file system.
Fresh install means you are running the new file system.

During the development and integrating of the new file system into
5.x
there where a lot of reports of system hangs and auto rebooting
when the system was under heavy load. A nic was never considered as
the problem then so maybe your nic is not the problem now.

Maybe the new file system heavy load problem is not completely fixed
yet.
If I remember correctly it was never determined if the heavy load
problem
was caused by old file system using new file system code or new file
system
using new code and just not performing under heavy load.

Just my thoughts about your problem from a different prospective.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Casey Scott
Sent: Wednesday, July 06, 2005 12:33 PM
To: freebsd-questions@freebsd.org
Subject: NIC suggestion


I am experiencing the same rebooting under network stress that
others on
this list have reported. The box is using 3com 905b's, and I would
like to
try another NIC in the box to make sure that this isn't just a
driver
issue, though I strongly suspect it isn't. Can someone suggest a
common
100 MB NIC that has proven to be very stable in 5.x?


Casey

___
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: Linux move to FreeBSD

2005-07-06 Thread Alex Zbyslaw

David Gerard wrote:


Ayn Rand(founder of Scientology)

Ayn Rand was really L Ron Hubbard.  At last, a conspiracy theory worth 
believing in :-)


The truth *is* out there:

http://www.holysmoke.org/cos/ayn-rand-and-hubbard.htm
http://www.facade.com/celebrity/L_Ron_Hubbard/ and search for Birth Mates

--Alex

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


Re: Software RAID-1 - Swap partition

2005-07-06 Thread Danny Howard

John Oxley wrote:


Hi,

I followed http://people.freebsd.org/~rse/mirror/ to create a software
RAID mirror.  I have two 75G drives in the machine.  I allocated 74G to
the filesystem on each drive and 1 G to swap.  When I blanked ad1 and
created ad1s1, I didn't notice that it had taken up the whole of the
drive.  Can I shrink the mirror partition and have two swap partitions,
or if that is not possible, how would I go about creating a mirrored
swap partition?
 



Your swap partition ought to be mirrored already.  From a similar system:

0-11:01 [EMAIL PROTECTED] ~ swapinfo
Device  1K-blocks UsedAvail Capacity
/dev/mirror/gm0s1b   41674880  4167488 0%
0-11:01 [EMAIL PROTECTED] ~ grep swap /etc/fstab
/dev/mirror/gm0s1b  noneswapsw  0   0

-danny

--
http://dannyman.toldme.com/

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


Compaq Presario 6000 Install Failure FBSD 5.4 RELEASE (Should Be PROLIANT!)

2005-07-06 Thread RA Cohen
Ted,

Thanks for getting us pointed in the right direction. Turns out
the Compaq BIOS that this bunch of hardware wanted was plain ol'
SCO UNIX. Go figure...just about all the other Compaq-based FBSD
boxes I've built have been done with SCO Unixware 7.1 or
thereabouts...go figure!

Roy

__
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: dhclient.conf for wireless interface

2005-07-06 Thread Danny Howard

Erik Nørgaard wrote:


Hi,

I am trying to configure dhclient to associate with the correct 
accesspoint, I use FreeBSD Current with the new dhclient ported from 
OpenBSD.


The examples I can find mentions that I should create an entry in my 
dhclient.conf like this:


interface ath0 {
media ssid AP1 mode 11g, ssid AP2 mode 11g;
}

and dhclient will then first try to associate with AP1 and then AP2.

The problem is that with that setup dhclient enters into an aparently 
infinite loop bringing up and down the interface, until I break it. I 
have to manually run 'ifconfig ssid AP1 mode 11g' first.


Erik,

FWIW, it looks like you are doing the right thing.  Maybe you have hit a 
bug?


There may be a tweak for dhclient's configuration to extend the amount 
of time it will attempt a profile before giving up and trying the next.  
I would like to think that mode 11g is superflous, and that you can 
just set that before-hand, or at a lower level ...


Good Luck,
-danny

--
http://dannyman.toldme.com/

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


Re: Linksys WMP11 on Freebsd 4.3

2005-07-06 Thread Danny Howard

Jamie Ann P. Zamodio wrote:


Hi, I would just like to ask if there is any way at
all that I can configure the Linksys wireless PCI card
(WMP11) to work on Freebsd 4.3? I know the card's not
compatible, but if I can't make it work I'll have to
buy a wireless card that IS compatible and I'm hoping
I wouldn't have to do that.


Jamie,

If you can get ahold of the Windows drivers, and if NDIS is available 
for 4.3 (else you'll want to upgrade your OS to something more current) 
then you can you NDIS to set up Windows drivers.


I have blogged a howto at 
http://dannyman.toldme.com/2005/01/05/freebsd-howto-ndisulate-windows-drivers/


Good Luck,
-danny

--
http://dannyman.toldme.com/

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


Re: How do I reinstall the FreeBSD bootmanager? - next problem :-(

2005-07-06 Thread Bob Willcox
On Wed, Jul 06, 2005 at 10:27:50AM -0500, Bob Willcox wrote:
 I need to reinstall the FreeBSD bootmanager on one of my systems and
 was hoping someone can point me in the right direction on doing this.
 I tried running /sbin/sysinstall but decided that I wasn't confident
 enough of what I was doing to risk trashing my install.
 
 BTW, this is on an amd64 6-current system incase it matters.

I've received several private emails with suggested solutions. The
simplest one for me (since I do have FreeBSD up and running on the
system was to use the boot0cfg command thusly:

boot0cfg -B -s 4 -m 0xd ad4

Now, to my original problem (that caused me to overwrite the FreeBSD
boot manager with another that I tried called GAG).

This particular system has a single 300 GB harddrive installed with four
Slices (partitions in the DOS vernacular) setup as follows:

1   Windows XP (~100 GB)
2   Linux swap (~2 GB)
3   Linux root (~82 GB)
4   FreeBSD (~102 GB)

With the FreeBSD boot manager (and with GAG) I can successfully boot
Windows and FreeBSD, but not Linux. It's as though the boot record is
not being found (geometry problems?).

Perhaps someone out there has a suggestion on what's wrong, and what
can be done to fix it. 

Thanks again,
Bob

-- 
Bob WillcoxReality is nothing but a collective hunch.
[EMAIL PROTECTED] -- Lily Tomlin
Austin, TX
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Trouble connecting OS X 10.4.1 client to FreeBSD -current (on sparc64) mpd server for pptp tunneling

2005-07-06 Thread Tillman Hodgson
Howdy,

I've been googling for information about getting a Mac OS X client (a
powerbook running 10.4.1) to work with a VPN server of some sort on
FreeBSD (-current as of April 25 running on sparc64). The VPN server has
a static IP and acts as a firewall and BGP/OSPF router as well (over
tunnels to other internal networks, not to the outside world).

I've tried sl2tps but rapidly gave up on it -- no real documentation and
it appears to be an abandoned project. I've also tried OpenVPN (which is
my preferred solution, detailed at http://metanetwork.seekingfire.com
if you're curious) but OS X support appears to be weak. While I can get
the tunnel up and running manually, my normal OpenVPN practice of
running OSPF on the client isn't an option for the OS X road-warrior
case that I have. The GUI doesn't like the Spotlight position on the
menu bar and appears to be a semi-abandoned project (I had to dig
through an archived older version of the web page to get it).

So I tried mpd to implement PPTP. In theory, with native OS X support
and proxy-arp replacing OSPF (no dynamic routing needed if I think I'm
local) this looked like the ticket. I ran into what appears to be the
same issue that Robert Watson posted to freebsd-questions@ about May 5 2004:
http://lists.freebsd.org/pipermail/freebsd-questions/2004-May/045705.html

I get 10 attempts to SendConfigReq and then negotiation fails.

***snip***
[pptp1] IPCP: SendConfigReq #10
 IPADDR 192.168.23.30
 COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
[pptp1] CCP: SendConfigReq #10
[pptp1] CCP: Checking whether 40 bits are enabled - yes
[pptp1] CCP: Checking whether 56 bits are enabled - no
[pptp1] CCP: Checking whether 128 bits are enabled - yes
 MPPC
   0x:
[pptp1] IPCP: state change Req-Sent -- Stopped
[pptp1] IPCP: LayerFinish
[pptp1] IPCP: parameter negotiation failed
[pptp1] IPCP: LayerFinish
***snip***

Has anyone gotten mpd working with OS X and could share their config
files and setup with me? Alternatively, has anyone gotten any other
sort of decent tunneling for OS X - FreeBSD infrastructure in place
that could share what they're running and their experiences with setting
it up?

Thanks muchly,

-T


-- 
We tend to become like the worst in those we oppose.
- Bene Gesserit Coda
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Weird nice behavior

2005-07-06 Thread Lowell Gilbert
Scott I. Remick [EMAIL PROTECTED] writes:

 I'm seeing something strange/annoying tonight... maybe someone could help
 explain why it's happening.
 
 FreeBSD 5.4-RELEASE
 
 I'm trying to do a large local rsync in the background, while listening to
 streaming audio via RealPlayer and do other stuff. I have the rsync
 running at nice level 20 (nice -20) which I've confirmed via ps:
 
 1001 77010  1452   0 116 20 45056 44332 select SN+   p10:30.89 rsync -av 
 - 
 1001 77011 77010 295 139 20 45048 44232 -  RN+   p1   20:17.12 rsync -av 
 - 
 1001 77548 77011   0 116 20 45200 44460 select SN+   p10:12.06 rsync -av -
 
 RealPlayer is running at normal nice (0):
 1001 80675 80650  16  98  0 30004 12516 select S p20:22.69 
 /usr/local/lib/RealPlayer/realplay.bin
 1001 80688 80675   0  96  0 30004 12516 select S p20:00.01 
 /usr/local/lib/RealPlayer/realplay.bin
 1001 80689 80688   0  20  0 30004 12516 pause  S p20:02.67 
 /usr/local/lib/RealPlayer/realplay.bin
 1001 80692 80675  24  -8  0 13844  6772 piperd I p20:00.00 
 /usr/local/lib/RealPlayer/realplay.bin
 1001 80693 80675  24  -8  0 13844  6772 piperd I p20:00.00 
 /usr/local/lib/RealPlayer/realplay.bin
 1001 80694 80688  24  20  0 30004 12516 pause  I p20:00.00 
 /usr/local/lib/RealPlayer/realplay.bin
 1001 80695 80688   0  20  0 30004 12516 pause  S p20:01.34 
 /usr/local/lib/RealPlayer/realplay.bin
 1001 80696 80688   0   8  0 30004 12516 nanslp S p20:01.13 
 /usr/local/lib/RealPlayer/realplay.bin
 1001 80765 80688   0   8  0 30004 12516 nanslp S p20:01.10 
 /usr/local/lib/RealPlayer/realplay.bin
 
 Not sure why it spawns so many processes, but whatever...
 
 Anyway, what's happening is despite rsync being nice 20, RealPlayer is
 incredibly choppy. Even if I'm not doing anything else on the system. 
 
 Now here's the weirder part: if I DO do something, such as just scrolling
 a window, the audio stream stops being choppy. It's as if it takes some
 OTHER application claiming CPU cycles to get rsync to properly play nice
 and release up time, at which point RealPlayer gets the cycles it
 deserves. But for some reason, rsync with just RealPlayer on its own will
 not play nice and give up time to RealPlayer like it should since
 RealPlayer is running at 0 and rsync is running at 20.

Sounds like you're blocked on I/O, not CPU.  
SCSI drives with tagged queueing would probably perform better.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: multi-port NIC suggestions?

2005-07-06 Thread Charles Swiger

On Jul 6, 2005, at 1:13 PM, Greg Barniskis wrote:
Can anyone suggest (or warn against) any particular NIC make/model  
that features 2 or 4 NIC ports on a single card, for use with 5.4- 
STABLE (or even 6.0 since this is a long term project)?


We are interested in prototyping a small footprint router/server  
device, where the small form factor host chassis will only have a  
couple of PCI slots, but 4 or more separate LAN interfaces are  
desired.


Thanks for any information you can provide.\


Sure.  I have several firewall boxes using a 4-port DEC 21x4x PCI  
NIC, which I think were OEM Dell boards, but I'm not 100% certain of  
that memory.  Looks like this (per pciconf -v -l):


[EMAIL PROTECTED]:14:0:class=0x060400 card=0x00dc  
chip=0x00241011 rev=0x03 hdr=0x01

vendor   = 'Digital Equipment Corporation'
device   = '21151/2 PCI to PCI Bridge'
class= bridge
subclass = PCI-PCI
[EMAIL PROTECTED]:4:0:   class=0x02 card=0x11101186 chip=0x00191011  
rev=0x41 hdr=0x00

vendor   = 'Digital Equipment Corporation'
device   = 'DC21142/3 PCI/CardBus 10/100 Mbit Ethernet Ctlr'
class= network
subclass = ethernet
[EMAIL PROTECTED]:5:0:   class=0x02 card=0x11101186 chip=0x00191011  
rev=0x41 hdr=0x00

vendor   = 'Digital Equipment Corporation'
device   = 'DC21142/3 PCI/CardBus 10/100 Mbit Ethernet Ctlr'
class= network
subclass = ethernet
[EMAIL PROTECTED]:6:0:   class=0x02 card=0x11101186 chip=0x00191011  
rev=0x41 hdr=0x00

vendor   = 'Digital Equipment Corporation'
device   = 'DC21142/3 PCI/CardBus 10/100 Mbit Ethernet Ctlr'
class= network
subclass = ethernet
[EMAIL PROTECTED]:7:0:   class=0x02 card=0x11101186 chip=0x00191011  
rev=0x41 hdr=0x00

vendor   = 'Digital Equipment Corporation'
device   = 'DC21142/3 PCI/CardBus 10/100 Mbit Ethernet Ctlr'
class= network
subclass = ethernet

I've been using them for three or four years now with no problems,  
under FreeBSD 4.x.  I expect they would also work just fine under  
5.x, too.


--
-Chuck

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


Re: NIC suggestion

2005-07-06 Thread Jerry McAllister
 
 On Wednesday 06 July 2005 11:32, Casey Scott wrote:
  I am experiencing the same rebooting under network stress that others on
  this list have reported. The box is using 3com 905b's, and I would like
  to try another NIC in the box to make sure that this isn't just a driver
  issue, though I strongly suspect it isn't. Can someone suggest a common
  100 MB NIC that has proven to be very stable in 5.x?
 
 Intel EtherExpress PROs (fxp driver) are pretty much universally respected.
 
 Kirk Strauser
 

We have had good experiences with the Intel based (fxp) NICs 
at 10, 100 and 1000 Mb.

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


Re: NIC suggestion

2005-07-06 Thread Chad Leigh -- Shire.Net LLC


On Jul 6, 2005, at 10:32 AM, Casey Scott wrote:

I am experiencing the same rebooting under network stress that  
others on
this list have reported. The box is using 3com 905b's, and I would  
like to

try another NIC in the box to make sure that this isn't just a driver
issue, though I strongly suspect it isn't. Can someone suggest a  
common

100 MB NIC that has proven to be very stable in 5.x?


I use some dc driver based ones, though they are hard to find now and  
they work really well as well as some em based ones.  Don't remember  
off hand the model number though


Chad




Casey

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




---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
[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: Weird nice behavior

2005-07-06 Thread Kris Kennaway
On Wed, Jul 06, 2005 at 02:26:22PM -0400, Lowell Gilbert wrote:
 Scott I. Remick [EMAIL PROTECTED] writes:
 
  I'm seeing something strange/annoying tonight... maybe someone could help
  explain why it's happening.
  
  FreeBSD 5.4-RELEASE
  
  I'm trying to do a large local rsync in the background, while listening to
  streaming audio via RealPlayer and do other stuff. I have the rsync
  running at nice level 20 (nice -20) which I've confirmed via ps:
  
  1001 77010  1452   0 116 20 45056 44332 select SN+   p10:30.89 rsync 
  -av - 
  1001 77011 77010 295 139 20 45048 44232 -  RN+   p1   20:17.12 rsync 
  -av - 
  1001 77548 77011   0 116 20 45200 44460 select SN+   p10:12.06 rsync 
  -av -
  
  RealPlayer is running at normal nice (0):
  1001 80675 80650  16  98  0 30004 12516 select S p20:22.69 
  /usr/local/lib/RealPlayer/realplay.bin
  1001 80688 80675   0  96  0 30004 12516 select S p20:00.01 
  /usr/local/lib/RealPlayer/realplay.bin
  1001 80689 80688   0  20  0 30004 12516 pause  S p20:02.67 
  /usr/local/lib/RealPlayer/realplay.bin
  1001 80692 80675  24  -8  0 13844  6772 piperd I p20:00.00 
  /usr/local/lib/RealPlayer/realplay.bin
  1001 80693 80675  24  -8  0 13844  6772 piperd I p20:00.00 
  /usr/local/lib/RealPlayer/realplay.bin
  1001 80694 80688  24  20  0 30004 12516 pause  I p20:00.00 
  /usr/local/lib/RealPlayer/realplay.bin
  1001 80695 80688   0  20  0 30004 12516 pause  S p20:01.34 
  /usr/local/lib/RealPlayer/realplay.bin
  1001 80696 80688   0   8  0 30004 12516 nanslp S p20:01.13 
  /usr/local/lib/RealPlayer/realplay.bin
  1001 80765 80688   0   8  0 30004 12516 nanslp S p20:01.10 
  /usr/local/lib/RealPlayer/realplay.bin
  
  Not sure why it spawns so many processes, but whatever...
  
  Anyway, what's happening is despite rsync being nice 20, RealPlayer is
  incredibly choppy. Even if I'm not doing anything else on the system. 
  
  Now here's the weirder part: if I DO do something, such as just scrolling
  a window, the audio stream stops being choppy. It's as if it takes some
  OTHER application claiming CPU cycles to get rsync to properly play nice
  and release up time, at which point RealPlayer gets the cycles it
  deserves. But for some reason, rsync with just RealPlayer on its own will
  not play nice and give up time to RealPlayer like it should since
  RealPlayer is running at 0 and rsync is running at 20.
 
 Sounds like you're blocked on I/O, not CPU.  
 SCSI drives with tagged queueing would probably perform better.

Also look for Jeff Roberson's patch that addresses this performance
problem, which was sent (and committed) to -current a month or so ago,
and which I think I forwarded to -stable.

Kris



pgpsuyBGjyi2S.pgp
Description: PGP signature


Re: Weird nice behavior

2005-07-06 Thread Matthias Buelow
Lowell Gilbert [EMAIL PROTECTED] writes:

 FreeBSD 5.4-RELEASE
 
 I'm trying to do a large local rsync in the background, while listening to
 streaming audio via RealPlayer and do other stuff. I have the rsync
 running at nice level 20 (nice -20) which I've confirmed via ps:

Please try: http://www.chesapeake.net/~jroberson/flushbuf.diff
before this discussion degenerates into the usual handwaving.

The patch seems to fix some awful performance issue with certain disk
i/o loads in 5.4. I don't know whether it's included in 5.4-stable by
now.

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


perl-after-upgrade

2005-07-06 Thread Bob Hall
I don't know squat about perl. I recently ran portupgrade, which
upgraded perl. Goose stopped working, because the location for Curses.pm
was no longer in @INC. I tried to run perl-after-upgrade, but I couldn't
get it to run. I've got a book that said to use
# perl perl-after-upgrade
or
# ./perl-after-upgrade
I also tried just
# perl-after-upgrade
No joy. Just for the heck of it, I tried 
* sh perl-after-upgrade
and dang if it didn't run. It didn't look to me like an sh script, but
what do I know? It wasn't supposed to change anything without the -f
option, but goose ran afterward, so it obviously changed things. I
looked for Curses.pm, and it moved to a directory listed in @INC.

Anybody have any advice? Comments? How was I supposed to get
perl-after-upgrade to run?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Weird nice behavior

2005-07-06 Thread Louis LeBlanc
On 07/06/05 02:55 PM, Kris Kennaway sat at the `puter and typed:
 On Wed, Jul 06, 2005 at 02:26:22PM -0400, Lowell Gilbert wrote:
  Scott I. Remick [EMAIL PROTECTED] writes:
  
   I'm seeing something strange/annoying tonight... maybe someone could help
   explain why it's happening.
   
   FreeBSD 5.4-RELEASE
   SNIP
  
  Sounds like you're blocked on I/O, not CPU.  
  SCSI drives with tagged queueing would probably perform better.
 
 Also look for Jeff Roberson's patch that addresses this performance
 problem, which was sent (and committed) to -current a month or so ago,
 and which I think I forwarded to -stable.

I haven't noticed this problem myself (and I'm using 5.4 RELEASE),
probably because I'm not using SCSI, but I am curious about the patch
committal.  If I understand right, this patch is not currently
committed to the RELENG_5_4 branch, that not being the same as STABLE
or CURRENT.

Since this is a performance issue that many (like the OP) would
consider serious, is there any chance this patch would make it to
RELENG_5_4?

I ask this purely out of curiosity, not to see whether I (or anyone
else) agrees or disagrees with it. :)

Thanks!
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Did you hear that two rabbits escaped from the zoo and so far they have
only recaptured 116 of them?


pgp5nnRz7tkMn.pgp
Description: PGP signature


Account password expiration

2005-07-06 Thread Mike Carlson
Hello,

Is there a way in 5.x to have account passwords expire every 180 days? Or I 
should say N days really. I think this was once tunable in /etc/login.conf 
but thats has been repalced with PAM.

Anyway, I just need account passwords to expire every 180 days, any help is 
appreciated.

Oh, I dont subscribe to questions so please CC me.

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


Start telnet server help

2005-07-06 Thread Efren Bravo

Hi,
I've followed these steps to try to install telnet server but it doesn't 
works:

#sysinstall -Option: Configure
-Option: Networking
-Option: Inetd : This option loads /etc/inetd.conf file where I 
uncommented the line:

telnet stream tcp nowait root .
and at last I restart the system but when I make a ports scan it only 
has 21, 25 and 110 ports open.

How do I start telnet server?
Thanks...


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


Re: Start telnet server help

2005-07-06 Thread Garrett Cooper
Did you actually add the pkg for the telnet server? Also, realize that 
port 21 is the default listening port for telnet, so if you thought that 
the open ports displayed is out of the ordinary, it's not really unless 
you changed the listening port. Have you tried telnetting to yourself (ie 
telnet localhost)?

-Garrett

On Wed, 6 Jul 2005, Efren Bravo wrote:


Hi,
I've followed these steps to try to install telnet server but it doesn't 
works:

#sysinstall -Option: Configure
-Option: Networking
-Option: Inetd : This option loads /etc/inetd.conf file where I 
uncommented the line:

telnet stream tcp nowait root .
and at last I restart the system but when I make a ports scan it only has 21, 
25 and 110 ports open.

How do I start telnet server?
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]


Simple question

2005-07-06 Thread Efren Bravo
Hi again, 

I'm reading a Pdf book downloaded from freeBSD.org called FreeBSD 
Handbook and there I always find this references: 

sendmail(8) 
sshd(8) 
/etc/inetd.conf(5)  -Which is the meaning of those numbers 


Thanks


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


Re: Simple question

2005-07-06 Thread Charles Swiger

On Jul 6, 2005, at 3:45 PM, Efren Bravo wrote:
Hi again, I'm reading a Pdf book downloaded from freeBSD.org called  
FreeBSD Handbook and there I always find this references: sendmail 
(8) sshd(8) /etc/inetd.conf(5)  -Which is the meaning of those  
numbers Thanks


It refers to the section of the man pages.
See man man, or man 8 intro, or man 5 intro, respectively.

--
-Chuck

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


Re: Simple question

2005-07-06 Thread Michael Beattie
On 7/6/05, Efren Bravo [EMAIL PROTECTED] wrote:
 Hi again,
 
 I'm reading a Pdf book downloaded from freeBSD.org called FreeBSD
 Handbook and there I always find this references:
 
 sendmail(8)
 sshd(8)
 /etc/inetd.conf(5)  -Which is the meaning of those numbers
 
 Thanks
 

The numbers refer to what section of the manual it is in.

Here's a list of what the sections are

Section The human readable name
   1User commands that may be started by everyone.
   2System calls, that is, functions provided by the kernel.
   3Subroutines, that is, library functions.
   4Devices, that is, special files in the /dev directory.
   5File format descriptions, e.g. /etc/passwd.
   6Games, self-explanatory.
   7Miscellaneous, e.g. macro packages, conventions.
   8System administration tools that only root can execute.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Start telnet server help

2005-07-06 Thread Greg Barniskis

Garrett Cooper wrote:
Did you actually add the pkg for the telnet server? Also, realize that 
port 21 is the default listening port for telnet, so if you thought that 
the open ports displayed is out of the ordinary, it's not really unless 
you changed the listening port. Have you tried telnetting to yourself 
(ie telnet localhost)?

-Garrett


Umm... telnet will appear on port 23, actually. 21 is for ftp.


On Wed, 6 Jul 2005, Efren Bravo wrote:


Hi,
I've followed these steps to try to install telnet server but it 
doesn't works:

#sysinstall -Option: Configure
-Option: Networking
-Option: Inetd : This option loads /etc/inetd.conf file where I 
uncommented the line:

telnet stream tcp nowait root .
and at last I restart the system but when I make a ports scan it only 
has 21, 25 and 110 ports open.

How do I start telnet server?


Have you got a line indicating
inetd_enable=YES
in your /etc/rc.conf?

If so, the telnet server should be operational given the config file 
edit you cite above. I don't believe it requires a separate package 
to be installed (4.x didn't, but 5.x might, I suppose). Rather than 
a port scan, you could test with some thing simpler, like


$ telnet localhost

Final note: telnet is off by default for a good reason (inherent 
insecurity). If you don't have a really good reason (e.g. my 
priceless, irreplaceable legacy application requires telnet), you 
should probably set yourself up to use SSH for remote logins instead.


--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
gregb at scls.lib.wi.us, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Simple question

2005-07-06 Thread Jerry McAllister
 
 Hi again, 
  
 I'm reading a Pdf book downloaded from freeBSD.org called FreeBSD 
 Handbook and there I always find this references: 
  
 sendmail(8) 
 sshd(8) 
 /etc/inetd.conf(5)  -Which is the meaning of those numbers 

Those are the man page sections to look at for documentation.
So 'man sendmail' would get you the man (manual) text for sendmail.
Some things will show up in more than one section or have more than
one thing with a similar name.   So, you can put the section number
in the call to get the one you want, such as  'man 8 sendmail' 
although with sendmail you don't really need the section number.
Putting the section number in is also a way of pointing out that 
you should be looking at the man page for this item.

jerry

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


Re: Simple question

2005-07-06 Thread Louis LeBlanc
On 07/06/05 03:45 PM, Efren Bravo sat at the `puter and typed:
 Hi again, 
  
 I'm reading a Pdf book downloaded from freeBSD.org called FreeBSD 
 Handbook and there I always find this references: 
  
 sendmail(8) 
 sshd(8) 
 /etc/inetd.conf(5)  -Which is the meaning of those numbers 

This refers to the manpage section that would describe the utilitiy in
question.  For instance, the sendmail(8) manpage can be accessed with
the following:
man 8 sendmail

If you omit the '8' you will get the sendmail manpage from section 1
of the manpages, which describes (if you have postfix installed,
anyway) the postfix to sendmail compatibility interface.

To see what each section focuses on, see:
man section # intro

Also, you might find the following of interest:
man man
man apropos

HTH
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

modesty, n.:
  Being comfortable that others will discover your greatness.


pgpMed3wBpbKE.pgp
Description: PGP signature


Re: Start telnet server help

2005-07-06 Thread Jonathan Chen
On Wed, Jul 06, 2005 at 03:30:21PM -0400, Efren Bravo wrote:
 Hi,
 I've followed these steps to try to install telnet server but it doesn't 
 works:
 #sysinstall -Option: Configure
 -Option: Networking
 -Option: Inetd : This option loads /etc/inetd.conf file where I 
 uncommented the line:
 telnet stream tcp nowait root .
 and at last I restart the system but when I make a ports scan it only 
 has 21, 25 and 110 ports open.
 How do I start telnet server?

Have you got the following line in /etc/rc.conf?

inetd_enable=YES

-- 
Jonathan Chen [EMAIL PROTECTED]
--
char *p=char *p=%c%s%c;main(){printf(p,34,p,34);};main(){printf(p,34,p,34);}
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


devfs permissions wierdness

2005-07-06 Thread Louis LeBlanc
I have my devfs config set up to allow certain devices to be mounted
by users in the cdusers group as follows:

own da1 root:cdusers
permda1 0660
own da1aroot:cdusers
permda1a0660
own da1croot:cdusers
permda1c0660
own da1s1   root:cdusers
permda1s1   0660

Problem is it doesn't work unless I go in as root and manually restart
the devfs facility with `/etc/rc.d/devfs restart`

Here's what I see:

root# ls -l /dev/da1*  
crw-r-  1 root  operator4,  27 Jun 26 23:02 /dev/da1
crw-r-  1 root  operator4,  29 Jun 26 23:02 /dev/da1a
crw-r-  1 root  operator4,  30 Jun 26 23:02 /dev/da1c
crw-r-  1 root  operator4,  31 Jun 26 23:02 /dev/da1cs1
crw-r-  1 root  operator4,  28 Jun 26 23:02 /dev/da1s1
root# /etc/rc.d/devfs restart
root# ls -l /dev/da1*
crw-rw  1 root  cdusers 4,  27 Jun 26 23:02 /dev/da1
crw-rw  1 root  cdusers 4,  29 Jun 26 23:02 /dev/da1a
crw-rw  1 root  cdusers 4,  30 Jun 26 23:02 /dev/da1c
crw-r-  1 root  operator4,  31 Jun 26 23:02 /dev/da1cs1
crw-rw  1 root  cdusers 4,  28 Jun 26 23:02 /dev/da1s1
root# 

Seems like this resets itself every now and again to the
root:operator/640 permissions too, and not just on reboot.

Anyone know what I'm missing?

TIA
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

A horse!  A horse!  My kingdom for a horse!
-- Wm. Shakespeare, Henry VI


pgpIX4hZ5ZAVa.pgp
Description: PGP signature


Usage help

2005-07-06 Thread Jean-Paul Natola
Hello everyone,

I'm  a newbie-  please be gentle,

I have deployed a BSD box running , EXIM , SA,  CLAM

Here's the situation ,  minute after I launch Spamassassin the machine starts
crawling,  although top shows anywhere from 50 - 90 idle  it just slows down
extremely , for example I'll type top  and wait anywhere between 4 and 12
seconds before it actually  brings up the screen.

I kill SA  and I'm back to normal,

I have checked the paniclog and mainlog and see no indication of what maybe
causing this.

The box is being used only to filter the mail , it is not storing , it is
just passing it to my mail server.

The box is a  PIII 450 MHz  with 192 RAM

I have ordered and additional 512 for it,  is there a way to perhaps limit
the amount of SA processes it will run simultaneously? Could that be what is
causing it?

Thanks in advance 




 
 
 
 
 
Jean-Paul Natola
Network Administrator
Information Technology
Family Care International
588 Broadway Suite 503
New York, NY 10012
Phone:212-941-5300 xt 36
Fax:  212-941-5563
Mailto: [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: Account password expiration

2005-07-06 Thread Matthias Buelow
Mike Carlson [EMAIL PROTECTED] writes:

Is there a way in 5.x to have account passwords expire every 180 days? Or I 
should say N days really. I think this was once tunable in /etc/login.conf 
but thats has been repalced with PAM.

man pw pw.conf

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


Re: Simple question

2005-07-06 Thread Bryan Maynard
I just want to note: it tokk all of five minutes to get an answer to this 
question. I know not all questions are, or can be, answered this quickly. I 
just think it's worth noting that Open Source Software does have excellent 
user support. . .

Just my .02 :-)

On Wednesday 06 July 2005 07:45 pm, Efren Bravo wrote:
 Hi again,

 I'm reading a Pdf book downloaded from freeBSD.org called FreeBSD
 Handbook and there I always find this references:

 sendmail(8)
 sshd(8)
 /etc/inetd.conf(5)  -Which is the meaning of those numbers

 Thanks


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

Thanks,

Bryan
-- 
Open Source: by the people, for the people.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Account password expiration

2005-07-06 Thread Dan Nelson
In the last episode (Jul 06), Mike Carlson said:
 Is there a way in 5.x to have account passwords expire every 180
 days? Or I should say N days really. I think this was once tunable in
 /etc/login.conf but thats has been repalced with PAM.
 
 Anyway, I just need account passwords to expire every 180 days, any
 help is appreciated.

It looks like pam_unix does check the passwd-change field in
master.passwd, but I don't see any code that resets the field when a
password is updated.  The login.conf and passwd manpages refer to a
passwordtime capability, but libpam zeroes out the change field when
the passwd is changed.  

Try the following patch.  After rebuilding pam_unix.so, edit
/etc/login.conf, set passwordtime to some short value like 10m, run
cap_mkdb /etc/login.conf, change a password, and see if it expires in
10 minutes.

Index: pam_unix.c
===
RCS file: /home/ncvs/src/lib/libpam/modules/pam_unix/pam_unix.c,v
retrieving revision 1.49
diff -u -r1.49 pam_unix.c
--- pam_unix.c  10 Feb 2004 10:13:21 -  1.49
+++ pam_unix.c  6 Jul 2005 20:14:06 -
@@ -371,8 +371,10 @@
if ((old_pwd = pw_dup(pwd)) == NULL)
return (PAM_BUF_ERR);
 
-   pwd-pw_change = 0;
lc = login_getclass(NULL);
+   pwd-pw_change = login_getcaptime(lc, passwordtime, 0, 0);
+   if (pwd-pw_change)
+   pwd-pw_change += time(NULL);
if (login_setcryptfmt(lc, password_hash, NULL) == NULL)
openpam_log(PAM_LOG_ERROR,
can't set password cipher, relying on default);

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


Problems building OO

2005-07-06 Thread Mike Meyer
I'm trying to build openoffice-1.1, setting WITHOUT_MOZILLA since I
don't have (or want) mozilla installed.

It's failing in the build process with:

rm -f 
../../unxfbsd.pro/bin/odk645/examples/OLE/delphi/InsertTables/SampleUI.dfm  
/dev/null
tr -d \015  ../../examples/OLE/delphi/InsertTables/SampleUI.dfm  
../../unxfbsd.pro/bin/odk645/examples/OLE/delphi/InsertTables/SampleUI.dfm
tr: Illegal byte sequence
dmake:  Error code 1, while making 
'../../unxfbsd.pro/bin/odk645/examples/OLE/delphi/InsertTables/SampleUI.dfm'
dmake:  
'../../unxfbsd.pro/bin/odk645/examples/OLE/delphi/InsertTables/SampleUI.dfm' 
removed.
---* RULES.MK *---

ERROR: Error 65280 occurred while making 
/adtmp/ports/usr/ports/editors/openoffice-1.1/work/odk/examples/OLE
dmake:  Error code 1, while making 'build_all'
---* TG_SLO.MK *---
*** Error code 255

Stop in /usr/ports/editors/openoffice-1.1.

The real error seems to be an Illegal byte sequence while using tr
to build unxfbsd.ptr.

Can anyone spare a clue on what I need to do to get this to build? I
know OO takes a lot of space to build. It used to say 5 gig in the
makefile, but doesn't any more. I've got 5.9gig free on the partition
that the build is happening on.

Thanks,
mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Usage help

2005-07-06 Thread Charles Swiger

On Jul 6, 2005, at 4:16 PM, Jean-Paul Natola wrote:
Here's the situation ,  minute after I launch Spamassassin the  
machine starts
crawling,  although top shows anywhere from 50 - 90 idle  it just  
slows down
extremely , for example I'll type top  and wait anywhere between 4  
and 12

seconds before it actually  brings up the screen.


Sounds like you are swapping.  You can check top or vmstat to see for  
sure.  You can control the number of SA child processes by adding a - 
m NNN flag to spamd_flags in /usr/local/etc/rc.d/sa-spamd.sh.


--
-Chuck

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


Start telnet server help

2005-07-06 Thread Efren Bravo
Hi, 

Have you got a line indicating 
inetd_enable=YES 
in your /etc/rc.conf? 

Yes it's indicated, The file rc.conf is accumulative? Because inside it 
appears the last configuration changed with the date. The line 
inetd_enable=YES is repeated every time I made a change. 

and $ telnet localhost works but remotely doesn't. 

I tried to install telnet server because I'm sat down in a PC with 
windowsXP and I thought to connect myself to freeBSD pc to study it more 
comfortable.


My freeBSD version is 5.4




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


RE: Start telnet server help

2005-07-06 Thread fbsd_user
You can delete all the inetd_enable=YES  statements in rc.conf but
one.
If you also have a firewall on the freebsd box you have to add rule
to allow tcp port 23 in.
In /etc/inetd.conf you have to uncomment the telnet line to activate
the telnet server.
You also need an user account other than root to login into using
telnet.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Efren Bravo
Sent: Wednesday, July 06, 2005 4:24 PM
To: freeBSD
Subject: Start telnet server help


Hi,

 Have you got a line indicating
 inetd_enable=YES
 in your /etc/rc.conf?

Yes it's indicated, The file rc.conf is accumulative? Because inside
it
appears the last configuration changed with the date. The line
inetd_enable=YES is repeated every time I made a change.

and $ telnet localhost works but remotely doesn't.

I tried to install telnet server because I'm sat down in a PC with
windowsXP and I thought to connect myself to freeBSD pc to study it
more
comfortable.

My freeBSD version is 5.4




___
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: Start telnet server help

2005-07-06 Thread Greg Barniskis

Efren Bravo wrote:

Hi,
 Have you got a line indicating inetd_enable=YES in your /etc/rc.conf?
Yes it's indicated, The file rc.conf is accumulative? Because inside it 
appears the last configuration changed with the date. The line 
inetd_enable=YES is repeated every time I made a change.


You only need it to be indicated once. Edit out all but the last 
instance (although I think if you have multiple instances, only the 
last one will apply).



and $ telnet localhost works but remotely doesn't.


Have you got a  firewall somewhere in between the FBSD and Windows 
box (maybe the Windows box' firewall service itself)? Or have you 
tried to configure firewall services on the BSD box (in which case 
you must likely create firewall rules that permit remote attachments 
to your BSD-based services)?


I tried to install telnet server because I'm sat down in a PC with 
windowsXP and I thought to connect myself to freeBSD pc to study it more 
comfortable.


You might try PuTTy, a free SSH client for Windows.
http://www.chiark.greenend.org.uk/~sgtatham/putty/

In addition to providing encryption of your login session, it's 
better than Windows command line telnet in many other ways (color 
control, selecting text with your mouse automatically copies text to 
the clipboard, etc.). Also, you don't have to figure out how to get 
telnetd working... just sshd_enable=YES in rc.conf, and 
inetd_enable=NO ;)



--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
gregb at scls.lib.wi.us, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Usage help

2005-07-06 Thread Jean-Paul Natola
Ok, if I can figure out what this means

procs  memory  page   disk   faults  cpu
 r b w avmfre  flt  re  pi  po  fr  sr ad0   in   sy  cs us sy id
 1 10 0  435856   5288  260  22  63  43 334 9137   0  447  134 782 11  6 83

-Original Message-
From: Charles Swiger [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 06, 2005 4:28 PM
To: Jean-Paul Natola
Cc: freebsd-questions@freebsd.org
Subject: Re: Usage help

On Jul 6, 2005, at 4:16 PM, Jean-Paul Natola wrote:
 Here's the situation ,  minute after I launch Spamassassin the  
 machine starts
 crawling,  although top shows anywhere from 50 - 90 idle  it just  
 slows down
 extremely , for example I'll type top  and wait anywhere between 4  
 and 12
 seconds before it actually  brings up the screen.

Sounds like you are swapping.  You can check top or vmstat to see for  
sure.  You can control the number of SA child processes by adding a - 
m NNN flag to spamd_flags in /usr/local/etc/rc.d/sa-spamd.sh.

-- 
-Chuck

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


IBM HDAPS Driver

2005-07-06 Thread Alejandro Bonilla
Hi,

As maybe you have already noticed, I use Linux, but this doesn't go into
the case.
We are working on getting the IBM HDAPS (Hard Drive Active Protection
System) which is the one that parks the head of your new IBM lappy when it's
on free fall or when there is heavy vibration.

Anyway, if you are interested in looking at making a driver for it, here is
some of the info and what we have so far as per our Linux driver which has
been out for 5 days of development.

hdaps.sf.net will be the site for the Project. We can host both FreeBSD and
Linux projects there. I'm not racist like to not have them both there. If
you are interested. I can make a separate mailing list for BSD users.
Current Mailing list is:
Hdaps-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hdaps-devel

We have an irc channel #hdaps at irc.freenode.org

Current ultra beta with no really any information driver is at:
http://sourceforge.net/project/showfiles.php?group_id=138242

And the documentation that IBM released to make a driver is located at:
http://www.almaden.ibm.com/cs/people/marksmith/tpaps.html

So, as you wish. This is me only giving data for you to play with things as
much as you can or wish. I just battled with IBM like for 3 months so they
could do something, and they released this little info.

If someone makes a driver, and want to host it in the same place, please let
me know. It would be fun.

HAVE FUN.

(Please let me know if this is not the best place to announce this)
.Alejandro

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


Re: Start telnet server help

2005-07-06 Thread jdyke

Efren Bravo wrote:

Hi,
 Have you got a line indicating inetd_enable=YES in your /etc/rc.conf?
Yes it's indicated, The file rc.conf is accumulative? Because inside it 
appears the last configuration changed with the date. The line 
inetd_enable=YES is repeated every time I made a change.

and $ telnet localhost works but remotely doesn't.
I tried to install telnet server because I'm sat down in a PC with 
windowsXP and I thought to connect myself to freeBSD pc to study it more 
comfortable.


What you probably already have it sshd installed on freebsd,unless you said no 
at install, and while you can not use XP alone to connect to FreeBSD over ssh 
you can download putty (http://www.chiark.greenend.org.uk/~sgtatham/putty/) to 
do this very simply.


Sorry to distract what you were doing, but try to avoid telnet as much as you 
can for network connections.


hth
Jeff



My freeBSD version is 5.4




___
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: Usage help

2005-07-06 Thread Jean-Paul Natola

On Jul 6, 2005, at 4:16 PM, Jean-Paul Natola wrote:
 Here's the situation ,  minute after I launch Spamassassin the  
 machine starts
 crawling,  although top shows anywhere from 50 - 90 idle  it just  
 slows down
 extremely , for example I'll type top  and wait anywhere between 4  
 and 12
 seconds before it actually  brings up the screen.

Sounds like you are swapping.  You can check top or vmstat to see for  
sure.  You can control the number of SA child processes by adding a - 
m NNN flag to spamd_flags in /usr/local/etc/rc.d/sa-spamd.sh.

-- 
-Chuck
Yep I think you hit right on the head

Swap: 231M Total, 214M Used, 17M Free, 92% Inuse, 720K In, 520K Out
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Usage help

2005-07-06 Thread Jean-Paul Natola


On Jul 6, 2005, at 4:16 PM, Jean-Paul Natola wrote:
 Here's the situation ,  minute after I launch Spamassassin the  
 machine starts
 crawling,  although top shows anywhere from 50 - 90 idle  it just  
 slows down
 extremely , for example I'll type top  and wait anywhere between 4  
 and 12
 seconds before it actually  brings up the screen.

Sounds like you are swapping.  You can check top or vmstat to see for  
sure.  You can control the number of SA child processes by adding a - 
m NNN flag to spamd_flags in /usr/local/etc/rc.d/sa-spamd.sh.

-- 
-Chuck
Excuse my ignorance  ;

Here's the original line

spamd_flags=${spamd_flags:--c -d  -r ${spamd_pidfile}}

is this how I should change it?


spamd_flags=${spamd_flags:--c -d  -r - m 20 ${spamd_pidfile}}



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


Re: Usage help

2005-07-06 Thread Charles Swiger

On Jul 6, 2005, at 4:55 PM, Jean-Paul Natola wrote:

Ok, if I can figure out what this means

procs  memory  page   disk   faults  cpu
 r b w avmfre  flt  re  pi  po  fr  sr ad0   in   sy  cs us  
sy id
 1 10 0  435856   5288  260  22  63  43 334 9137   0  447  134 782  
11  6 83


You need to either run vmstat with an interval (3 or 5 works OK) for  
a while, and see the load over time, or you can run vmstat -s and  
get detailed statistics.


--
-Chuck

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


Re: Usage help

2005-07-06 Thread Charles Swiger

On Jul 6, 2005, at 5:26 PM, Jean-Paul Natola wrote:

is this how I should change it?


spamd_flags=${spamd_flags:--c -d  -r - m 20 ${spamd_pidfile}}


Try more like:

spamd_flags=${spamd_flags:--c -d  -r -m 2 ${spamd_pidfile}}

You don't have enough memory in your machine to run twenty ~30MB  
spamd processes.  Unless you are handling hundreds of thousands of  
messages per day, two or three spamds is enough.


--
-Chuck

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


not-yet-a-newbie : DL (ftp?) iso image help question

2005-07-06 Thread datora tehnika
Hi folks --

Been reading through the email list archives  haven't seen this yet
(in last 90 days or so).

I think this is the best list for me to be on .. it seems to be for
general questions, including raw newbie pointers.  Since I have failed
to DL the ISO's by myself, I don't even qualify as a newbie (yet). 
With your help, I'd like to be.

I'd really like to play with freeBSD  begin my learning curve. 
Currently I'm trapped on a Win 2K system with an unstable cable modem
connection in Riga, Latvia.  By gawd/dess, I am SO READY to NEVER see
win boot again .. in any flavor!

I want very, VERY much to stop using windows  am aware this will be a
process for the next year  two, not an ''event'' this week.

So, I'm trying to DL the ISO images  have been having a very
frustrating past three days.  Very minor fluctuations in the local
connection (including power blips) keep wrecking the ISO image DL via
web browser.  I'd like very much to use ftp (unless there is something
better?), but have been unable to connect.  Am using winsock ftp 95,
but all attempts at connection are being refused (at main
ftp.freebsd.org site  various european ftp mirrors).

What I see as my need:  how do I connect ?  Anon keeps being rejected,
I have not been able to locate ftp instructions at freebsd.org
website; only web browser links.  The ftp links (e.g.
ftp://ftp.freebsd.org etc etc) don't work in WSFTP_95.  It is
recommended that I use FTP software w/ resume function, but no such
instructions haave I seen.  Searching various site keeps turning up
butkis.

URL with detailed newbie instructions ..? PLZ !!  Does such a thing exist?

I'm generally pretty clueful if I have basics to read, but am not a
trained IT pro .. so a lot of lingo is pretty obscure until I can
locate various definitions (don't suppose there's an acronymn
dictionary ..?).  If I have a place to bootstrap from, I can get up to
speed .. but I feel like I've been dumped into 40 meters of open ocean
while looking for the wading pool.  Does a wading pool exist ..?

I've had these DL'z broken about a score of times now from german,
swedish, estonian  lithuanian mirror sites  wasted most of this week
(it's a Riga problem with power  interent connection stability; we
rarely get three hours without some small break in service here for
several reasons).  I have several goals I'd like to accomplish with
freeBSD, but have not been able to get the ISO's so I can burn the
CD's  get first installs attempted.

So, using a win2K platform to begin the bootstrap into the
BSD-universe, how to ftp? Or is there something better ..?  I can burn
an ISO to CD, not DVD.  Financial resources are limited, and buying
books in english is a fantasy option here .. I require on-line
resources.  Anyone familiar with east eurpoean economics will
understand that $10 USD is a small fortune here, so please refrain
from suggesting options that reqire money; I need it to eat.

Some backround : from 93 through 99 I was a solaris user in a
university environment, but have forgotten most of it 2000 through
present as I took various jobs where winNT/2K was required.  Have
dabbled in linux  *BSD a few times, but it's been three years since
last attempt, so there's a lot of new to learn and old to re-learn.

I've got a curve ahead off me, please be patient, but I'm not real
interested in anything after win2K,  linux doesn't seem to be worth a
major investment of my time.  I'd like to get a BSD power-desktop
going so I can learn and migrate over the next six to eight months 
move to running BSD servers ... still up in the air if it will be
free- or netBSD or both.  Dreaming of getting web  file  email
servers running with strong firewall protection; strong graphics 
audio capability, not interested in 3d or video rendering.

The Big Picture concept is to get two multi-boot i386 systems (one
dual-P-III Tyan MoBo  other AMD 1800+ K7VTA3 MoBo) going that run
*BSD as the primary OS with win2K, win98  linux (probably gentoo) as
2ndary options on multi-boot with legacy software emulated.

BUT, first ... Why is the anon ftp via ftp software not working ???  I
obviously must have resume capability ... I keep losing connection
between 200  300 MB for each image for various reasons (this email
panic help request generated after isoCD1 failed at 500 mb on third
attempt)..  grrr  bites chunk out of keyboard.

Have tried logging into about 20 different ftp servers  various
directories using ''anon'' ''anonymous'' ''public'' and my email
address in various user ID's  password combo's.  All have failed. 
What is the magic combo, please?  And, is there a reference URL for
instructions w/ required details?  , how _should_ I have been able to
find it?  Very frustrating that such information was not provided with
the advice to use FTP ...

I'd be happy to RTFM if I had any idea of which manual  which page(s)
I need to begin this.

Of course, your reward will be about another 50 newbie questions from
me.  Feel free to 

Re: devfs permissions wierdness

2005-07-06 Thread Louis LeBlanc
On 07/06/05 04:11 PM, Louis LeBlanc sat at the `puter and typed:
 I have my devfs config set up to allow certain devices to be mounted
 by users in the cdusers group as follows:
 
 own da1 root:cdusers
 permda1 0660
 own da1aroot:cdusers
 permda1a0660
 own da1croot:cdusers
 permda1c0660
 own da1s1   root:cdusers
 permda1s1   0660
 
 Problem is it doesn't work unless I go in as root and manually restart
 the devfs facility with `/etc/rc.d/devfs restart`
 
 Here's what I see:
 
 root# ls -l /dev/da1*  
 crw-r-  1 root  operator4,  27 Jun 26 23:02 /dev/da1
 crw-r-  1 root  operator4,  29 Jun 26 23:02 /dev/da1a
 crw-r-  1 root  operator4,  30 Jun 26 23:02 /dev/da1c
 crw-r-  1 root  operator4,  31 Jun 26 23:02 /dev/da1cs1
 crw-r-  1 root  operator4,  28 Jun 26 23:02 /dev/da1s1
 root# /etc/rc.d/devfs restart
 root# ls -l /dev/da1*
 crw-rw  1 root  cdusers 4,  27 Jun 26 23:02 /dev/da1
 crw-rw  1 root  cdusers 4,  29 Jun 26 23:02 /dev/da1a
 crw-rw  1 root  cdusers 4,  30 Jun 26 23:02 /dev/da1c
 crw-r-  1 root  operator4,  31 Jun 26 23:02 /dev/da1cs1
 crw-rw  1 root  cdusers 4,  28 Jun 26 23:02 /dev/da1s1
 root# 
 
 Seems like this resets itself every now and again to the
 root:operator/640 permissions too, and not just on reboot.
 
 Anyone know what I'm missing?

Well, I've uncovered a little more of this.  The devices are created
and destroyed each time the device is connected or disconnected.  When
they are created, the default permissions are used, not those I've
configured.  If I want my devfs permissions to be available, I have to
restart devfs each time I connect a USB device.

I tried setting a rule to fix this in /etc/devd.conf, but I don't
think it works right.  I added the following:

attach 100 {
device-name da[0-9]*;
action /etc/rc.d/devfs restart;
};

I was hoping this would simply restart devfs each time I connected a
/dev/da* device, but this didn't work.  I then tried changing the
action to an explicit devfs rule command, as follows:

action devfs rule add path da* mode 660 group cdusers;

but this didn't do any better.  Executing this action from the
commandline didn't do what I wanted either, so I obviously have the
syntax wrong.  Since the first attempt didn't work, I suspect there
are other errors in the config block that cause the whole thing to be
skipped.

Any pointers would be appreciated.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Cheops' Law:
  Nothing ever gets built on schedule or within budget.


pgpBPqFtUdM0S.pgp
Description: PGP signature


FreeBSD locks up when X-windows running (LONG)

2005-07-06 Thread Andreas Kohn
Hi,

say, do you see any messages like 

NVRM: Xid: 13,  02005600 0056 0c28 006500ac 0080

(Numbers may vary, I think) 
in your kernel messages after such a lock-up happened?

I have a NVidia Geforce 2MX, and drivers 1.0.6113 create such messages.
I don't have to completely reset the machine, the power-off button still
works and shuts down the system via ACPI.
OTOH, I'm on -CURRENT, so this may be a -CURRENT-only problem (where
nvidia drivers are not supported)

Regards,
Andreas

-- 
TalisA was macht man eigentlich auf einer linux-gamer lan ? hl server
aufsetzen und freuen ? *duck* ^^


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


Re: Weird nice behavior

2005-07-06 Thread Kris Kennaway
On Wed, Jul 06, 2005 at 03:19:07PM -0400, Louis LeBlanc wrote:
 On 07/06/05 02:55 PM, Kris Kennaway sat at the `puter and typed:
  On Wed, Jul 06, 2005 at 02:26:22PM -0400, Lowell Gilbert wrote:
   Scott I. Remick [EMAIL PROTECTED] writes:
   
I'm seeing something strange/annoying tonight... maybe someone could 
help
explain why it's happening.

FreeBSD 5.4-RELEASE
SNIP
   
   Sounds like you're blocked on I/O, not CPU.  
   SCSI drives with tagged queueing would probably perform better.
  
  Also look for Jeff Roberson's patch that addresses this performance
  problem, which was sent (and committed) to -current a month or so ago,
  and which I think I forwarded to -stable.
 
 I haven't noticed this problem myself (and I'm using 5.4 RELEASE),
 probably because I'm not using SCSI, but I am curious about the patch
 committal.  If I understand right, this patch is not currently
 committed to the RELENG_5_4 branch, that not being the same as STABLE
 or CURRENT.
 
 Since this is a performance issue that many (like the OP) would
 consider serious, is there any chance this patch would make it to
 RELENG_5_4?

Maybe, it would first need to be committed to -stable and well-tested
(it's only in -current so far).

Kris


pgp7yyyw6DxgM.pgp
Description: PGP signature


Re: perl-after-upgrade

2005-07-06 Thread Bob Hall
On Wed, Jul 06, 2005 at 03:10:04PM -0400, Bob Hall wrote:
 I don't know squat about perl. I recently ran portupgrade, which
 upgraded perl. Goose stopped working, because the location for Curses.pm
 was no longer in @INC. I tried to run perl-after-upgrade, but I couldn't
 get it to run.

I found a thread on this in freebsd-ports. I tried rehash and all
seems to be well. The three apps modified when running perl-after-upgrade
as an sh script seem to function OK. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Usage help

2005-07-06 Thread Jean-Paul Natola
Ok  I did reduce my vm usage  to 54%

And it *seems* to be running a little quicker , but that always happen after
I restart sa   I'll check on it later 

Thanks you very much, I really appreciate your help

-Original Message-
From: Charles Swiger [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 06, 2005 5:32 PM
To: Jean-Paul Natola
Cc: freebsd-questions@freebsd.org
Subject: Re: Usage help

On Jul 6, 2005, at 5:26 PM, Jean-Paul Natola wrote:
 is this how I should change it?


 spamd_flags=${spamd_flags:--c -d  -r - m 20 ${spamd_pidfile}}

Try more like:

spamd_flags=${spamd_flags:--c -d  -r -m 2 ${spamd_pidfile}}

You don't have enough memory in your machine to run twenty ~30MB  
spamd processes.  Unless you are handling hundreds of thousands of  
messages per day, two or three spamds is enough.

-- 
-Chuck

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


Re: not-yet-a-newbie : DL (ftp?) iso image help question

2005-07-06 Thread nbco
On Wednesday 06 July 2005 22:48, datora tehnika wrote:
 Hi folks --
snip

 So, I'm trying to DL the ISO images  have been having a very
 frustrating past three days.  Very minor fluctuations in the local
 connection (including power blips) keep wrecking the ISO image DL via
 web browser.  I'd like very much to use ftp (unless there is
 something better?), but have been unable to connect.  Am using
 winsock ftp 95, but all attempts at connection are being refused (at
 main
 ftp.freebsd.org site  various european ftp mirrors).

 What I see as my need:  how do I connect ?  Anon keeps being
 rejected, I have not been able to locate ftp instructions at
 freebsd.org website; only web browser links.  The ftp links (e.g.
 ftp://ftp.freebsd.org etc etc) don't work in WSFTP_95.  It is
 recommended that I use FTP software w/ resume function, but no such
 instructions haave I seen.  

Hello there,
To download the iso image, maybe try using filezilla,  a very easy ftp 
doze client. It has reasonable resume functions:
http://sourceforge.net/project/showfiles.php?group_id=21558

Or maybe get a torrent client such as Shareaza, and get the iso via P2P:
http://www.shareaza.com/

In terms of documentation, the handbook is the best place to start:
http://www.freebsd.org/doc/en_US.ISO88http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/59-1/books/handbook/


All the best
.nbco

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


  1   2   >