Re: init and process restart

2003-03-13 Thread Matthew Seaman
On Thu, Mar 13, 2003 at 02:52:42PM -0800, [EMAIL PROTECTED] wrote:
> Hi. Is it possible to use init to restart some user critical processes if they die. 
> Has any work been done in this area. Please CC me.

You mean in the same way that you can use /etc/inittab on SysV style
machines?  It's possible to do under *BSD, although not exactly
equivalent, by editing /etc/ttys.

Note that there's 

* No concept of run-levels under BSD. Your process will be started
  on bootup by init as soon as the machine goes multiuser and
  continue running until init (and the machine) shuts down.

* The process has to be associated with a tty.  Furthermore, it
  will prevent you running getty(8) on that tty, thus blocking it
  as a place for users to login.

You should also consider Dan Bernstein's daemontools package,
available in ports as sysutils/daemontools:

http://pobox.com/~djb/daemontools.html

specifically the supervise and svc programs.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: FreeBSD codenames?

2003-03-13 Thread Kevin Kinsey, DaleCo, S.P.
From: "Christian Andreas Westgaard" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 13, 2003 10:34 AM
Subject: FreeBSD codenames?


> Linux distros often have codenames.
> 
> example:
>  Debian 2.2 (potato)
>  Debian 3.0 (woody)
>  Redhat 6.2 (zoot)
>  Redhat 8.0 (psyche)
> 
> Doesn FreeBSD 5.0 and 4.7 have codenames?
> 
> -- 
Heh, Linux stole them from Berkley UNIX, eh?

There was a wonderfully humorous (though short)
exchange on chat@ around November 1st, '02...
you really should check the archives.

That said, I don't guess there have been code
names for FBSD specifically, although the history
of the BSD's is replete with such...generally
western US cities...I can't see such things
with FBSD, though, I mean, 5.1 -POTATO
would require all the docs to be rewritten,
among other things :-)

Kevin Kinsey




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


[no subject]

2003-03-13 Thread CARTER Anthony
SUBSCRIBE

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


VMware under 5.0

2003-03-13 Thread Remington L.
I;m attempting to get Vmware2 working under 5.0-R-p4 but I'm having
problems with my /dev/vmnetX. As anyone successfully gotten it working?
Is there any way to get VMware 3.[1-2] working under FreeBSD?



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: portupgrade mess

2003-03-13 Thread Islero
On Thu, 2003-03-13 at 09:31, Mike Meyer wrote:
> In <[EMAIL PROTECTED]>, [EMAIL PROTECTED] typed:
> > I just upgrade XFree86 from 4.2 to 4.3 using portupgrade on 2 different 
> > machines.

> That statement doesn't make sense. Portupgrade upgrades pors, not the
> system. So you can't upgrade from 4.2 to 4.3 with portupgrade. If you
> actually upgraded the system, how did you do it? Did you then use
> portupgrade to upgrade all the ports you had installed? If not, that
> may be part of the problem.
He's talking about XFree86 4.2 not BSD 4.2.  Portupgrade is definitely
the way to go.

Also, XFree86 4.3 installs a new xinitrc which loads twm by default. If
you want gnome-session or KDE you have to edit xinitrc to launch that
session.

> 
> Generally, when upgrading across a release, you want to deinstall the
> ports in large chunks - all of them is best - and then reinstall the
> ports from the new ports in the system.
> 
>   

Re: ipfw

2003-03-13 Thread Giorgos Keramidas
On 2003-03-13 14:24, Grant Peel <[EMAIL PROTECTED]> wrote:
> I am in a quandry with my colo providers. They have an interface to
> mrtg, but that only shows me the bandwidth for all servers on my
> connection.
>
> Does anyone know how to setup ipfw to monitor, and show bandwidth
> statistics for individaul ip s on one machine?
>
> I am reading the man page, but its a little cryptic.

You could always insert rules like this in your chain:

ipfw add 1000 count ip from any to 10.0.0.1 in recv fxp0
ipfw add 1000 count ip from any to 10.0.0.2 in recv fxp0

Then, every packet that matches the rule will increase the hit count
of the rule.  You can use `ipfw show' to view the counters, grep for
the rule you're interested and pipe the numbers to mrtg for making
pretty graphs out of the numbers.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: portupgrade mess

2003-03-13 Thread Kirk Strauser
At 2003-03-14T03:06:33Z, Cliff Sarginson <[EMAIL PROTECTED]> writes:

> Delete everything in "/usr/ports/distfiles".  And before you go to bed one
> night do a "make clean" from "/usr/ports".  It takes  some time...

`portsclean -CD' does pretty much the same thing in about 1% as much time.
-- 
Kirk Strauser
In Googlis non est, ergo non est.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: portupgrade mess

2003-03-13 Thread Daxbert
Quoting Cliff Sarginson <[EMAIL PROTECTED]>:

> > BTW, any idea how I could reduce the size of the /usr/ports slice - it's 
> > max is about 2Gb and there is about 1.7 in use. It seems a bit bloated and
> 
> > I certainly don't need all the stuff that is in there...
> > 
> Delete everything in "/usr/ports/distfiles".
> And before you go to bed one night do a "make clean" from "/usr/ports".
> It takes  some time...
> 
> 

Another option is to add the following to your make.conf
( 5.x: /etc/make.conf  4.x: /etc/defaults/make.conf )

WRKDIRPREFIX=   /usr/obj

This will cause all of your port builds to be 
directed to /usr/obj.  You can then nuke 
/usr/obj/usr/ports and only remove the work,
not the ports tree.

To take care of the distfiles problem...

# mkdir -o /usr/obj/usr/ports/distfiles
# mv /usr/ports/distfiles/* /usr/obj/usr/ports/distfiles # <--(optional)
# rm -rf /usr/ports/distfiles
# ln -s /usr/obj/usr/ports/distfiles /usr/ports/distfiles

This will get your distfile downloads out of 
/usr/ports as well.  However, there's probably 
a cleaner way to do this via a make.conf setting.

I do all of this because my ports tree is NFS mounted read-only as needed.

--daxbert




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Disk size measured incorrectly.

2003-03-13 Thread Tillman
On Thu, Mar 13, 2003 at 07:40:02PM -0500, Michael wrote:
> Hello once again boys and girls. I added two drives to my server via
> /stand/sysinstall. they are one western digital, 120 gig and a maxtor, 120
> gig.
> This is what i see via df
> 
> /dev/ad1s1e   113G89G15G86%/mirror
> /dev/ad2s1e   110G12K   101G 0%/mirror2
> 
> I dont _need_ the space. Not even close. but it cant hurt to use the disk
> at its most, and mostly though im obsessive compulsive and i would prefer
> to see the output below :) as i got another 120 gig drive on the way. Did
> i initialize them wrong or something? The bios is set to have both drives
> auto detected and the access mode is auto as well. Thanks guys.
> 
> /dev/ad1s1e   120G89G15G86%/mirror
> /dev/ad2s1e   120G12K   101G 0%/mirror2

Don't forget that 8% of the drive (by default, it's configurable) is
reserved. Thus, a drive that shows 110G is actually right about 120G in
size (110 * 1.08 = 118.8).

`tunefs -p ` will give you the actual value that is reserved for
any particular filesystem.

-T

-- 
Page 30: Leaving a terminal logged in is like leaving your car unlocked
with the keys in the ignition.
- Harley Hahn, _The Unix Companion_

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: portupgrade mess

2003-03-13 Thread Cliff Sarginson
On Thu, Mar 13, 2003 at 02:54:03PM -0500, [EMAIL PROTECTED] wrote:
> At 11:22 AM 3/13/2003 -0800, you wrote:
> 
> >I forced the portugrade of imake. That also rebuilt kde-3. I have found
> >that if you don't force, it only updates the ports that have changed.
> >It doesn't take care of the full b-dep dependancy list.
> 
> Hmmm... now, that's interesting.
> 
It is more than interesting, it is something I have vaguely moaned
about already. Portupgrade does not handle the so called meta-ports at
all well. Anything like KDE and Gnome as well I suppose, forget it.

> I did portupgrade of imake (without any special options) before upgrading 
> XFree86 as I needed to use the computer (WinXP) and had to wait until off 
> hours to upgrade the rest. So, I'm wondering if that did not mess up 
> something. I did notice that KDE3 was up-to-date and did not need 
> upgrading, but I caught something about KDE3 upgrade on one of the 
> computers. Does that mean that imake is reponsible somehow for upgrading 
> KDE3?
> What is the switch to force the upgrade?
> How did the upgrade of imake lead to the rebuild of kde-3?
>
I asked myself this very same question several months ago. No answers
came forth.
 
> BTW, any idea how I could reduce the size of the /usr/ports slice - it's 
> max is about 2Gb and there is about 1.7 in use. It seems a bit bloated and 
> I certainly don't need all the stuff that is in there...
> 
Delete everything in "/usr/ports/distfiles".
And before you go to bed one night do a "make clean" from "/usr/ports".
It takes  some time...


-- 
Regards
   Cliff

[ This mail has been checked as virus-free ]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: FreeBSD codenames?

2003-03-13 Thread Bill Moran
Christian Andreas Westgaard wrote:
Linux distros often have codenames.

example:
Debian 2.2 (potato)
Debian 3.0 (woody)
Redhat 6.2 (zoot)
Redhat 8.0 (psyche)
Doesn FreeBSD 5.0 and 4.7 have codenames?
Sure ...
4.7 = Stable
5.0 = Current
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Change NGROUPS_MAX

2003-03-13 Thread Lowell Gilbert
"Artur Enaliev" <[EMAIL PROTECTED]> writes:

> Does anybody know how to safely change NGROUPS_MAX under Freebsd 4.7
> Release? The problem is that I need to make one user account to be joined to
> more then 16 groups.

It's in sys/syslimits.h, but be careful not to crank it too high;
you'll take some performance hit.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Disk size measured incorrectly.

2003-03-13 Thread Nathan Kinkade
On Thu, Mar 13, 2003 at 07:40:02PM -0500, Michael wrote:
> 
> Hello once again boys and girls. I added two drives to my server via
> /stand/sysinstall. they are one western digital, 120 gig and a maxtor, 120
> gig.
> This is what i see via df
> 
> /dev/ad1s1e   113G89G15G86%/mirror
> /dev/ad2s1e   110G12K   101G 0%/mirror2
> 
> I dont _need_ the space. Not even close. but it cant hurt to use the disk
> at its most, and mostly though im obsessive compulsive and i would prefer
> to see the output below :) as i got another 120 gig drive on the way. Did
> i initialize them wrong or something? The bios is set to have both drives
> auto detected and the access mode is auto as well. Thanks guys.
> 
> /dev/ad1s1e   120G89G15G86%/mirror
> /dev/ad2s1e   120G12K   101G 0%/mirror2

The drive manufacturers are probably measuring a gigabyte at 1 billion
byes, whereas as true gigabyte, in binary terms is 1073741824 bytes.
Dividing 1200/1073741824 yields about 112GB, or close to what
you are seeing.  Although, this is just a guess.

Nathan

-- 
GPG Public Key ID: 0x4250A04C
gpg --keyserver pgp.mit.edu --recv-keys 4250A04C
http://63.105.21.156/gpg_nkinkade_4250A04C.asc


pgp0.pgp
Description: PGP signature


Re: user-ppp, named and squid

2003-03-13 Thread Lars Eighner
On Fri, 14 Mar 2003, DJ Boris wrote:

> hi there,
>
> I have a freeBSD 5.0 RELEASE machine acting as a Dial-Up router and proxy
> for a LAN with 1 ISP Dial-Up account. I have user-ppp, named and squid.
> when all are enabled in the rc.conf file the machine hangs at boot time just
> before it says "i386 initialisation" or something like that Then I press
> Ctrl-C and everything carries on and I can log in but immediately after that
> ppp dials out. named only forwards requests to the ISP's DNS and in
> named.conf I have set dialup to yes.
> The work around is to only enable ppp and start the other services once I
> log in but as soon as I start named for example it dials out. after the ppp
> timeout expires modem disconnects and everything comes to normal. then I
> start squid and the same thing happens, dials out, timeout expires and all
> is OK.
> Does anyone know what I can do to stop those two named and squid from doing
> that... or maybe there is an option in ppp.conf... I have read everything
> and tried everything - still no luck. may be I am missing something.
>
> thanx

 Just a thought, but are you certain that in host.conf you
 have:

 hosts
 bind

 in that exact order, not the other way around, and that
 the hosts file is correct?


-- 
Lars Eighner
[EMAIL PROTECTED] -finger for geek code-
http://www.io.com/~eighner/index.html
600 E 53RD ST APT 119  AUSTIN TX 78751


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: How to tell FreeBSD to immediately break network connection instead of those stupid "ed0: device timeout" repeated 10-20 times if other computer (the one FreeBSD was connected to) was shut down?

2003-03-13 Thread Matthew Emmerton
> Hi
>
> I have one problem with my home network. I'm using
> FreeBSD to mount shares on my computer under Windows.
> When I turn off the computer with Windows I begin to
> receive this message in FreeBSD (and it repeats from
> 10 to 20 times with  10 seconds interval):
>
> ed0: device timeout
>
> How to get rid of this annoying message? How can I
> tell FreeBSD to stop trying to connect to Windows if
> first attempt fails?

It has nothing to do with samba or the fact that you Windows computer has
gone away.  It's a sign of a bad (or poor quality) NIC.

--
Matt Emmerton


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Disk size measured incorrectly.

2003-03-13 Thread Michael

Hello once again boys and girls. I added two drives to my server via
/stand/sysinstall. they are one western digital, 120 gig and a maxtor, 120
gig.
This is what i see via df

/dev/ad1s1e   113G89G15G86%/mirror
/dev/ad2s1e   110G12K   101G 0%/mirror2

I dont _need_ the space. Not even close. but it cant hurt to use the disk
at its most, and mostly though im obsessive compulsive and i would prefer
to see the output below :) as i got another 120 gig drive on the way. Did
i initialize them wrong or something? The bios is set to have both drives
auto detected and the access mode is auto as well. Thanks guys.

/dev/ad1s1e   120G89G15G86%/mirror
/dev/ad2s1e   120G12K   101G 0%/mirror2


-- 
Independent WWW/FreeBSD/Linux/Unix consultant, email me for more information.

Founder/WebMaster/ The unixhideout network
http://www.unixhideout.com
[EMAIL PROTECTED]



-
Free, secure and stable email from UnixHideout
   "The UnixHideout network"
http://www.unixhideout.com/



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Connecting FreeBSD to my home network..

2003-03-13 Thread Rodney Salomon
This line is in my /etc/rc.conf file  could it be
something else?

--- Scott Mitchell <[EMAIL PROTECTED]>
wrote:
> On Thu, Mar 13, 2003 at 07:48:21AM -0800, Rodney
> Salomon wrote:
> > Im trying to connect my FreeBSD machine to my
> Linksys
> > Router.  Tried searching for some info on
> connecting
> > FBSD to an existing network.  Does anyone have
> more
> > info on this?  Url?
> 
> Probably all you need to do is add a line:
> 
>   ifconfig_foo="DHCP"
> 
> to your /etc/rc.conf file (replace foo with the name
> of your Ethernet
> interface, of course).  DHCP should pick up all the
> necessary settings from
> the Linksys.
> 
> Cheers,
> 
>   Scott
> 
> -- 
>
===
> Scott Mitchell   | PGP Key ID | "Eagles may
> soar, but weasels
> Cambridge, England   | 0x54B171B9 |  don't get
> sucked into jet engines"
> scott at fishballoon.org | 0xAA775B8B |  -- Anon


=
Look at all the pretty C shells!

__
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: lpd problem

2003-03-13 Thread Warren Block
On Wed, 12 Mar 2003, chip wiegand wrote:

> No problem, see below. I will mention that I had no problem with any of
> these printers previously. I haven't added any new software or made any
> system changes of any kind. One day they worked, the next they didn't.
> Very strange.
>
> # APS1_BEGIN:printer1
> # - don't delete start label for apsfilter printer1
> # - no other printer defines between BEGIN and END LABEL
> photo|gimp/escp2-c60;r=720x720;q=photo;c=full;p=letter;m=auto:\
> :lp=/dev/ulpt0:\
> :if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
> :sd=/var/spool/lpd/photo:\
> :lf=/var/spool/lpd/photo/log:\
> :af=/var/spool/lpd/photo/acct:\
> :mx#0:\
> :sh:
> # APS1_END - don't delete this

You're using apsfilter and it looks like you really only have one
printer on a USB port, since all of the entries say lp=/dev/ulpt0.

There won't be anything in /var/log/lpd-errs, since logging is set to go
into a different log file for each entry.  It's /var/spool/lpd/photo/log
for the entry above.  See what those log files say.

-Warren Block * Rapid City, South Dakota USA

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Network Scanner

2003-03-13 Thread Nathan Kinkade
On Thu, Mar 13, 2003 at 06:22:21PM -0500, IAccounts wrote:
> I was playing around with a network scanner today called Retina (for the
> W32 platform) and was wondering if there is anything in the ports or
> anywhere else that performs equally or similarly to it.
> 
> None of my machines run X (including my laptop) so I am hoping to find
> something that generates text output that can be put into a database, or
> something that generates web page output.
> 
> Tks.
> 
> Steve

ethereal is a very nice network protocol analyzer for X (has terminal
capabilities as well).  It's at /usr/ports/net/ethereal.
http://www.ethereal.com

Nathan

-- 
GPG Public Key ID: 0x4250A04C
gpg --keyserver pgp.mit.edu --recv-keys 4250A04C
http://63.105.21.156/gpg_nkinkade_4250A04C.asc


pgp0.pgp
Description: PGP signature


ed0: device timeout errors (was: [ridiculously long subject])

2003-03-13 Thread Nathan Kinkade
On Thu, Mar 13, 2003 at 02:33:55PM -0800, sergey dyshel wrote:
> Hi
> 
> I have one problem with my home network. I'm using
> FreeBSD to mount shares on my computer under Windows.
> When I turn off the computer with Windows I begin to
> receive this message in FreeBSD (and it repeats from
> 10 to 20 times with  10 seconds interval):
> 
> ed0: device timeout
> 
> How to get rid of this annoying message? How can I
> tell FreeBSD to stop trying to connect to Windows if
> first attempt fails?

Are your two machines connected with a cross-over cable?  If so, then
the ed driver may be detecting that the link or physical media
unexpectedly went away.

Nathan

-- 
GPG Public Key ID: 0x4250A04C
gpg --keyserver pgp.mit.edu --recv-keys 4250A04C
http://63.105.21.156/gpg_nkinkade_4250A04C.asc


pgp0.pgp
Description: PGP signature


Re: why BIND and sendmail installed by default?

2003-03-13 Thread Anti
On Wed, 12 Mar 2003 23:11:48 +0200
Giorgos Keramidas <[EMAIL PROTECTED]> wrote:

[snip]

> really very, *very*, basic services that a Unix machine should be
> ready to serve without having to go through tons of ports/packages
> just to install bind.


why not just have the package install by default so those who don't
want it can easily remove it?


[snip a bunch of arguments moot were the packages installed by default
instead of making everything part of the base system]


> With a spare partition /dev/ad0s2a that can be used as a temp root
> directory the process should be as easy as:


[snip]


you don't need a spare partition, any empty directory will do. whenever
i install freebsd i do a minimal install, then build and install world
and kernel from source with everything possible disabled in make.conf,
then installkernel, installworld, mergemaster -i -D to an empty
directory, then use diff to find all the crap that can be deleted.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Network Scanner

2003-03-13 Thread IAccounts
I was playing around with a network scanner today called Retina (for the
W32 platform) and was wondering if there is anything in the ports or
anywhere else that performs equally or similarly to it.

None of my machines run X (including my laptop) so I am hoping to find
something that generates text output that can be put into a database, or
something that generates web page output.

Tks.

Steve


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


init and process restart

2003-03-13 Thread Vijay.Singh
Hi. Is it possible to use init to restart some user critical processes if they die. 
Has any work been done in this area. Please CC me.

thanks
vijay

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


How to tell FreeBSD to immediately break network connection instead of those stupid "ed0: device timeout" repeated 10-20 times if other computer (the one FreeBSD was connected to) was shut down?

2003-03-13 Thread sergey dyshel
Hi

I have one problem with my home network. I'm using
FreeBSD to mount shares on my computer under Windows.
When I turn off the computer with Windows I begin to
receive this message in FreeBSD (and it repeats from
10 to 20 times with  10 seconds interval):

ed0: device timeout

How to get rid of this annoying message? How can I
tell FreeBSD to stop trying to connect to Windows if
first attempt fails?

__
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


user-ppp, named and squid

2003-03-13 Thread DJ Boris
hi there,

I have a freeBSD 5.0 RELEASE machine acting as a Dial-Up router and proxy
for a LAN with 1 ISP Dial-Up account. I have user-ppp, named and squid.
when all are enabled in the rc.conf file the machine hangs at boot time just
before it says "i386 initialisation" or something like that Then I press
Ctrl-C and everything carries on and I can log in but immediately after that
ppp dials out. named only forwards requests to the ISP's DNS and in
named.conf I have set dialup to yes.
The work around is to only enable ppp and start the other services once I
log in but as soon as I start named for example it dials out. after the ppp
timeout expires modem disconnects and everything comes to normal. then I
start squid and the same thing happens, dials out, timeout expires and all
is OK.
Does anyone know what I can do to stop those two named and squid from doing
that... or maybe there is an option in ppp.conf... I have read everything
and tried everything - still no luck. may be I am missing something.

thanx


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


user-ppp, named and squid

2003-03-13 Thread Dimitri Nedeltchev
hi there,

I have a freeBSD 5.0 RELEASE machine acting as a Dial-Up router and proxy
for a LAN with 1 ISP Dial-Up account. I have user-ppp, named and squid.
when all are enabled in the rc.conf file the machine hangs at boot time just
before it says "i386 initialisation" or something like that Then I press
Ctrl-C and everything carries on and I can log in but immediately after that
ppp dials out. named only forwards requests to the ISP's DNS and in
named.conf I have set dialup to yes.
The work around is to only enable ppp and start the other services once I
log in but as soon as I start named for example it dials out. after the ppp
timeout expires modem disconnects and everything comes to normal. then I
start squid and the same thing happens, dials out, timeout expires and all
is OK.
Does anyone know what I can do to stop those two named and squid from doing
that... or maybe there is an option in ppp.conf... I have read everything
and tried everything - still no luck. may be I am missing something.

thanx


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


ssh'ing into jail(8)

2003-03-13 Thread Cary Mathews
(I sent this two days ago, when I was not subscribed.  As I did not get
any replies, I have subscribed to freebsd-questions and am resending it.)

If this is not the right fourm to ask this question, please redirect me to
the correct place, or documentation which addresses this issue.

I am setting up an internal (192.168.x.x) "network" of  computers consisting
of jail(8)'d virtual machines. I have set up djbdns to provide DNS service
for this internal network.

I have assigned my 192.168.x.x addresses to the lo0 interface so I don't
have to make major adjustments to my firewall ruleset.

I am able to ping all my internal machines from the host computer. I am
able to do dns lookups using the dns tools provided with djbdns, and the
nslookup and dig tools. So I am confident that name resolution is working.

Within the jailed hosts, I have turned off the portmap, syslogd, sendmail,
and inetd daemons and am running only cron and sshd daemons upon start up.

But when I attempt to ssh into one of the jailed hosts, the connection
times out and reports: "Connection closed by 192.168.1.100".

A partial sockstat reading while the hosts are attempting to connect
shows:
USER COMMANDPID   FD PROTO  LOCAL ADDRESS FOREIGN ADDRESS
sshd sshd 596134 tcp4   192.168.1.100:22  192.168.1.100:2604
sshd sshd 596137 udp4   192.168.1.100:2625192.168.1.1:53
root sshd 596124 tcp4   192.168.1.100:22  192.168.1.100:2604
cary ssh  596113 tcp4   192.168.1.100:2604192.168.1.100:22

A quick description of the addresses:
150.252.106.57 - external IP address of host computer, also running
dnscache for external lookups
192.168.1.1 - IP address of internal dnscache for 192.168.x.x addresses
192.168.1.100 - IP address of jail(8)'d host
192.168.53.1 - IP address of jail(8)'d tinydns server host

ssh debugging output shows:
[snip initial key-exchange]
debug1: waiting for SSH2_MSG_NEWKEYS
debug1: newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: done: ssh_kex2.
debug1: send SSH2_MSG_SERVICE_REQUEST
debug1: service_accept: ssh-userauth
debug1: got SSH2_MSG_SERVICE_ACCEPT
{and ssh "hangs" here... Acutally waits and eventually times out.}

The messages, security, and auth logs under /var/log in the jail'd host
are completly empty.  Under the host machine logs , there is nothing as
well.

I'm at a loss of what else to trouble shoot. Thank you in advance for any
help offered!

Cary Mathews



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Apache can't start -- seg fault?

2003-03-13 Thread Toni Schmidbauer
On Thu, Mar 13, 2003 at 01:28:06AM -0800, [EMAIL PROTECTED] wrote:
> I just ugpraded apache and openssl to latest version in ports tree and now
> apache can't restart.

you have to update/recompile mod_ssl to. 

toni
-- 
Behandle die Menschen, als wären sie, was sie sein | [EMAIL PROTECTED]
sollten, und du wirst ihnen helfen, zu werden, was | Toni Schmidbauer
sie sein können.  - Johann Wolfgang von Goethe |


pgp0.pgp
Description: PGP signature


subscribe freebsd-questions

2003-03-13 Thread DJ Boris
subscribe freebsd-questions


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


outdated link

2003-03-13 Thread Gene Mosher
on this page,
http://www.freebsd.org/projects/index.html
the link in this text
"The Linux+FreeBSD mini-HOWTO"
needs to be updated.
Gene Mosher

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: How to use auto login feature of gdm ?

2003-03-13 Thread Joe Marcus Clarke
On Wed, 2003-03-05 at 05:52, Huang wen hui wrote:
> hi,
> Is It possible to use autoLogin of gdm under freebsd ? This is what I did:
> 
> 1. create a user "hwh" without password.
> 2. set "AutomaticLoginEnable=true" and "AutomaticLogin=hwh" in
> /usr/X11R6/etc/gdm/gdm.conf.
> 3. set "auth required pam_unix.so no_warn try_first_pass nullok" in
> /etc/pam.d/gdm.
> 
> but no luck, gdm still refuse to login, Does it have relation with PAM ?
> I use CURRENT+GNOME 2.2. Any suggestion are welcome.

You need to copy your gdm pam file to gdm-autologin.  The autologin uses
a different PAM service.  It does work.

Joe

> 
> Thanks,
> 
> --hwh
> 
> 
> 
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-gnome" in the body of the message
-- 
PGP Key : http://www.marcuscom.com/pgp.asc




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


subscribe freebsd-questions

2003-03-13 Thread DJ Boris
subscribe freebsd-questions


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


subscribe freebsd-questions

2003-03-13 Thread DJ Boris
subscribe freebsd-questions


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


unsubscribe freebsd-questions

2003-03-13 Thread Dimitri Nedeltchev
unsubscribe freebsd-questions


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: portupgrade mess

2003-03-13 Thread pippo
At 11:22 AM 3/13/2003 -0800, you wrote:

I forced the portugrade of imake. That also rebuilt kde-3. I have found
that if you don't force, it only updates the ports that have changed.
It doesn't take care of the full b-dep dependancy list.
Hmmm... now, that's interesting.

I did portupgrade of imake (without any special options) before upgrading 
XFree86 as I needed to use the computer (WinXP) and had to wait until off 
hours to upgrade the rest. So, I'm wondering if that did not mess up 
something. I did notice that KDE3 was up-to-date and did not need 
upgrading, but I caught something about KDE3 upgrade on one of the 
computers. Does that mean that imake is reponsible somehow for upgrading KDE3?
What is the switch to force the upgrade?
How did the upgrade of imake lead to the rebuild of kde-3?

BTW, any idea how I could reduce the size of the /usr/ports slice - it's 
max is about 2Gb and there is about 1.7 in use. It seems a bit bloated and 
I certainly don't need all the stuff that is in there...

Thanks,
Phil


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


áûñòðîñáîðíûå ñòåëëàæè UZTPSTTVGL

2003-03-13 Thread Âñå äëÿ ñêëàäà
This is HTML source of message you composed. Do not modify here.
To modify this message press HTML Messages Editor button.



тел.: (095) 782-64-54, 912-73-18



  
СТЕЛЛАЖ УНИВЕРСАЛЬНЫЙ РАЗБОРНЫЙ
(Серии НР)
  
  
Стеллаж состоит из: 
- стоек,
изготовленных из металла толщиной 4.00 мм с
полимерным покрытием; 
- стяжек, изготовленных
из металла толщиной 2.00 мм с полимерным покрытием;

- полок, изготовленных из
фанеры толщиной 8 – 10 мм или из ДСП толщиной 16 мм
Полимерное покрытие может быть любого цвета – по
предварительному заказу.
Стандартный цвет: стойки – синий; стяжки –
желтый или серый
Количество полок в комплекте может быть изменено
по желанию заказчика.
Расстояние между полками изменяется с шагом 50
или 100 мм. Допустимая распределенная нагрузка на
одну полку для стеллажа С-05 составляет 300 кг.
Сборка производится за счет зацепления деталей
между собой, не требует применения специального
инструмента; монтаж осуществляется за
максимально короткое время. Несколько стеллажей
могут быть собраны в длину и скреплены между
собой отдельными деталями.
  




Прайс-лист на стандартные типоразмеры
стеллажей серии НР с 4-мя полками:



  
№
п/п
Обозначение стеллажа
Габаритные размеры, мм
Отпускная цена, руб.
  
  
высо-
та
дли-
на
глу-
бина
Фанер-
ная полка
Стальная полка
  
  
плос-
кая
Гоф-
ра
  
  
1
НР-00
2000
1024
655
3495
4115
4277
  
  
2
НР-01
2000
1540
655
3822
5175
4937
  
  
3
НР-02
1500
1540
655
3550
4903
4665
  
  
4
НР-03
1500
1024
455
2638
3461
3325
  
  
5
НР-05
2000
1540
770
4114
5562
5262
  
  
6
НР-06
1950
1024
770
3618
4665
4427
  
  
7
НР-08
2000
1540
455
3352
4529
4359
  
  
8
НР-12
2000
1540
1005
4916
7208
6256
  
  
9
НР-12 – крашенные полки
2000
1540
1005
5321


  
  
10
НР-13
2000
1360
555
3679
4944
4698
  
  
11
НР-16
2000
1540
610
3794
5148
4910
  
  
12
НР-17
2000
1540
500
3400
4597
4440
  



тел.: (095) 782-64-54,
912-73-18

 

 

Данная рассылка произведена в
соответствии с ч.4 ст.29 Конституции РФ. Ваш
электронный адрес получен из открытых
источников. В случае нежелания получать
коммерческие предложения, ответьте на это письмо
с пометкой в Теме "Delete". Ваш e-mail будет удален
из базы.

 
BUVSGULFRIDQEREVPJVZVRSXKJTUFVROVKWBMH


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: FreeBSD codenames?

2003-03-13 Thread Cliff Sarginson
On Thu, Mar 13, 2003 at 05:34:41PM +0100, Christian Andreas Westgaard wrote:
> Linux distros often have codenames.
> 
> example:
> Debian 2.2 (potato)
> Debian 3.0 (woody)
> Redhat 6.2 (zoot)
> Redhat 8.0 (psyche)
Suse 8.1 (we_got_you_by_the_balls_now_kiddo_and_we_aint_letting_go)
> 
> Doesn FreeBSD 5.0 and 4.7 have codenames?

There was a long long discussion about this on freebsd-chat about 6
months ago. 
I don't know if Operating Systems are male or female or neuter
(gramatically speaking, and being multi-lingual it sometimes causes me
an irrelevant amount of anguish).
I think it would be safe to call all FreeBSD releases,
"Never_come_on_Time" :)

I must add, my reply is meant in gest. Humour is not noticeable on
FreeBSD-questions. But, and here I am being serious, I think FreeBSD is
developing and maintaining a Heritage. It is kind of cautious about it's
offspring. I have tried on my network, for professional reasons, just
about every version of Linux around. They do not work out of the box, as
they claim to.

Well, if you want to reply to this then do so to me personally.
"Questions" is already busy enough.

-- 
Regards
   Cliff

[ This mail has been checked as virus-free ]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


ipfw

2003-03-13 Thread Grant Peel
Hi all,

I am in a quandry with my colo providers. They have an interface to mrtg,
but that only shows me the bandwidth for all servers on my connection.

Does anyone know how to setup ipfw to monitor, and show bandwidth statistics
for individaul ip s on one machine?

I am reading the man page, but its a little cryptic.

Does there exist a tutorial anywhere?

-Grant

Grant W. Peel
Server Admin
[EMAIL PROTECTED]
http://thenetnow.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Status of /usr/ports/mail/drac

2003-03-13 Thread Lowell Gilbert
James Long <[EMAIL PROTECTED]> writes:

> > 
> > > I am unable to compile it (for sendmail), due to a checksum mismatch.
> > > If I override the checksum mismatch, then the patch files fail to apply
> > > cleanly.
> > 
> > Try moving the tarball out of the way and re-fetching it.
> 
> "make fetch" downloads a new file which cmp says is identical to the one
> I already had which doesn't have the right MD5 checksum (according to the 
> port's distinfo).

Hmm.  Right you are.  Looks like changes in the db library.  The
alternate db3 port isn't going to help with that, either.

If the port had a maintainer, you could contact that person, but it
hasn't had for months.  You may need to figure it out on your own, and
submit a PR.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: right way to set-up SOA?

2003-03-13 Thread IAccounts
> I'm wondering how, given my scenario, I should set-up the MX record for
> my domain (and all the domains I host)

In your primary domain, set up your main MX records as:

$ORIGIN domain.com.

mailIN  A   192.1.1.1
mail2   IN  A   192.2.2.2

@   IN  MX 10   mail
@   IN  MX 20   mail2


Then in all of your hosted domains, simply use the names:

$ORIGIN myotherdomain.com.

@   IN  MX 10 mail.domain.com.
@   IN  MX 20 mail2.domain.com.

That way, you can change the ip's of the servers in your domain
(domain.com), along with the serial, and all of the other domains will
simply follow suit with no changes required.

This is my preferred method for many servers, not just one. We host 300
domains and this makes it very nice to make changes.

Steve

>
> I only have one physical server at the moment which does everyhing: web,
> email, etc.
>
> For sub-domains, to same some time, I have a *.domain.com which forwards
> all requests for anything anything.domain.com to the correct IP (where
> Apache then handles it using VirutalHosts.) But, for the MX record, I'd
> like to use mail.domain.com, so I can eventually set-up and migrate all
> users to a specific mail server, whithout having to update all the SOA
> records. For example, when I set-up a mail server, I'd like to change
> one record in domain.com's SOA which says mail.domain.com in A
> 123.456.78.1 and otherwise, *.domain.com in A 123.456.78.2.
>
> Does this make sense and is their a better, RFC compliant way of doing
> this?
>
> p.
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: portupgrade mess

2003-03-13 Thread Kent Stewart
On Thursday 13 March 2003 08:15 am, [EMAIL PROTECTED] wrote:
> I just upgrade XFree86 from 4.2 to 4.3 using portupgrade on 2
> different machines. On one portupgrade seems to have worked ok,
> except that XFree86 does not function quite correctly - I shall
> assume it is an XFree86 problem.
>
> The second machine is totally screwed up - even though the upgrade
> did not work, the previous installation is now shot. Startx does not
> bring up kde3. I really don't know what to do - should I deinstall
> XFree86 or what? portversion does not work since dependencies are no
> longer valid. I have never fully understood how the dependencies
> function in portsdb -F. I don't know how this can be correctly fixed?
> I don't understand why the upgrade did not work.
> Does anyone understand any of this?
> Thanks for any suggestions...

I just hit the same thing. It doesn't like the names of my video cards. 
It is more specific now and I ended up running xf86cfg again. 

Everything works fine now.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Sendmail Question

2003-03-13 Thread Grant Peel
You are on the right track.

Sendmail may have used sendmail.cw which was the predecesor of local-
host-names.

Check wich file it is looking for by searching through sendmail.cf

Then create whatever file it is and add the name of the host that 
is giving you the dreaded loops-back error.

No mail can be recieved for that host on this machine until the name 
has been added to that file.

-Grant



===
Mail Service Provided by The Net Now and Mailreader
===



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Status of /usr/ports/mail/drac

2003-03-13 Thread James Long
> 
> > I am unable to compile it (for sendmail), due to a checksum mismatch.
> > If I override the checksum mismatch, then the patch files fail to apply
> > cleanly.
> 
> Try moving the tarball out of the way and re-fetching it.

"make fetch" downloads a new file which cmp says is identical to the one
I already had which doesn't have the right MD5 checksum (according to the 
port's distinfo).

Any other suggestions?

Thanks,

Jim


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: sendmail question

2003-03-13 Thread IAccounts
> I get a startup message like this:
>
> Mar 11 03:02:52 lorax sm-mta[22980]: h2B92pBL022966: SYSERR(root):
> x74-47.forestry.umn.edu. config error: mail loops back to me (MX
> problem?)
> Mar 11 03:02:52 lorax sm-mta[22985]: h2B92qBL022981: SYSERR(root):
> x74-47.forestry.umn.edu. config error: mail loops back to me (MX
> problem?)
> Mar 11 10:15:49 lorax su: kwythers to root on /dev/ttyp0
>
> According to what I've read in the sendmail FAQ, it looks like I need to
> add my local hostname to /etc/mail/local-host-names.

Create /etc/mail/local-hostnames and simply add your domain name to it,
then HUP sendmail.

What's happening is that your smtp server receives the mail, doesn't know
it should keep it, and sends it out to the mx for your domain. If that box
is the MX for the domain, this will cause an infinite loop, as the server
will never keep the message for final delivery.

Hope this helps.

Steve


> However my system
> does not seems to have a local-host-names file. Why wasn't this file
> created when I did a standard cd install? Is this something I need to
> add manually?  Or am I completely on the wrong track here?
>
> thanks
>
> --
> Kirk R. Wythers   Department of Forest Resources
> Tel: 612.625.2261 University of Minnesota
> Fax: 612.625.521  1530 Cleveland Ave. N
> Email: [EMAIL PROTECTED]  Saint Paul, MN 55108 USA
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Multi line connected server.

2003-03-13 Thread Conectia
I have a server connected to three internet lines, each one with its 
own ethernet card..
How can I get a packet getting in through interface A get out also 
through interface A, and so on.
All three connections have full access to the internet, so no one is in 
fact the default route, all three are default routes.

Thanks in Advance

Adolfo Pisa

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


right way to set-up SOA?

2003-03-13 Thread Phillip Smith (mailing list)

Hiya,

I'm getting some interesting results from dnsreport's tools for checking
my domain's SOA and MX related records... (mind you, everything is
working well)

I'm wondering how, given my scenario, I should set-up the MX record for
my domain (and all the domains I host)

I only have one physical server at the moment which does everyhing: web,
email, etc.

For sub-domains, to same some time, I have a *.domain.com which forwards
all requests for anything anything.domain.com to the correct IP (where
Apache then handles it using VirutalHosts.) But, for the MX record, I'd
like to use mail.domain.com, so I can eventually set-up and migrate all
users to a specific mail server, whithout having to update all the SOA
records. For example, when I set-up a mail server, I'd like to change
one record in domain.com's SOA which says mail.domain.com in A
123.456.78.1 and otherwise, *.domain.com in A 123.456.78.2.

Does this make sense and is their a better, RFC compliant way of doing
this?

p.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: DNS messed up on new IP:s

2003-03-13 Thread Peter Elsner
Everything looks fine...

You probably need to wait 24-48 hours for the DNS to propogate...

Peter

At 07:48 PM 3/13/2003 +0200, you wrote:
On Thu, Mar 13, 2003 at 06:12:08PM +0100, Janine C. Buorditez wrote:
> Hello.
>
> I just got a new IP and modified my system accordingly. I also updated 
my nameservers' IP:s.
>
> But I cannot recieve e-mails, nor can people reach my domain 
(www.terrabionic.com).
When I typed dig terrabionic.com it gives me ns1 and ns2 but without their 
IP's
next time I tried dig www.terrabionic.com and gets IPs
when I again tried dig terrabionic.com it showed me IP's
I didn't seen such before

for mx records it fives ninja.terrabionic.com.
>
> This DNS report looks OK, doesn't it? 
http://www.dnsreport.com/tools/dnsreport.ch?domain=terrabionic.com
>
> And how about my configuration files at http://213.187.181.68/namedb?
I can't reach it. Better by email
>
> It is really important that I fix this in time for a website 
presentation at this address on Saturday.
>
> Please, someone?
>
Maybe logs of named and clients will help
>

--
With best wishes Nikolay
mail: [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message
--
Peter Elsner <[EMAIL PROTECTED]>
Vice President Of Customer Service (And System Administrator)
1835 S. Carrier Parkway
Grand Prairie, Texas 75051
(972) 263-2080 - Voice
(972) 263-2082 - Fax
(972) 489-4838 - Cell Phone
(425) 988-8061 - eFax
I worry about my child and the Internet all the time, even though she's
too young to have logged on yet. Here's what I worry about. I worry
that 10 or 15 years from now, she will come to me and say "Daddy, where
were you when they took freedom of the press away from the Internet?"
-- Mike Godwin
Unix IS user friendly... It's just selective about who its friends are.
System Administration - It's a dirty job, but somebody said I had to do it.
If you receive something that says 'Send this to everyone you know,
pretend you don't know me.
Standard $500/message proofreading fee applies for UCE.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: DNS messed up on new IP:s

2003-03-13 Thread Scott Mitchell
On Thu, Mar 13, 2003 at 06:12:08PM +0100, Janine C.Buorditez wrote:
> Hello.
> 
> I just got a new IP and modified my system accordingly. I also updated my
> nameservers' IP:s.
> 
> But I cannot recieve e-mails, nor can people reach my domain
> (www.terrabionic.com).
> 
> This DNS report looks OK, doesn't it?
> http://www.dnsreport.com/tools/dnsreport.ch?domain=terrabionic.com
> 
> And how about my configuration files at http://213.187.181.68/namedb?
> 
> It is really important that I fix this in time for a website presentation
> at this address on Saturday.
> 
> Please, someone?
> 
> Thanks,
> ---johann

Seems to be working fine from here on the office connection but not from
home... when did you make these changes?  It's possible the updates just
haven't propagated everywhere yet.

Scott

-- 
===
Scott Mitchell   | PGP Key ID | "Eagles may soar, but weasels
Cambridge, England   | 0x54B171B9 |  don't get sucked into jet engines"
scott at fishballoon.org | 0xAA775B8B |  -- Anon

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


sendmail question

2003-03-13 Thread Kirk R. Wythers
I have been trying to track down a problem (I think with sendmail) on a
5.0-RELEASE system: 

lorax[/etc/mail]$ uname -a
FreeBSD lorax.forestry.umn.edu 5.0-RELEASE FreeBSD 5.0-RELEASE #0: Tue
Feb  4 13:54:49 CST 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/LORAX_SMP_KERNEL 
i386

I get a startup message like this:

Mar 11 03:02:52 lorax sm-mta[22980]: h2B92pBL022966: SYSERR(root):
x74-47.forestry.umn.edu. config error: mail loops back to me (MX
problem?)
Mar 11 03:02:52 lorax sm-mta[22985]: h2B92qBL022981: SYSERR(root):
x74-47.forestry.umn.edu. config error: mail loops back to me (MX
problem?)
Mar 11 10:15:49 lorax su: kwythers to root on /dev/ttyp0

According to what I've read in the sendmail FAQ, it looks like I need to
add my local hostname to /etc/mail/local-host-names. However my system
does not seems to have a local-host-names file. Why wasn't this file
created when I did a standard cd install? Is this something I need to
add manually?  Or am I completely on the wrong track here?

thanks

-- 
Kirk R. Wythers Department of Forest Resources  
Tel: 612.625.2261   University of Minnesota
Fax: 612.625.5211530 Cleveland Ave. N
Email: [EMAIL PROTECTED]Saint Paul, MN 55108 USA


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: DNS messed up on new IP:s

2003-03-13 Thread Ceri Davies
On Thu, Mar 13, 2003 at 06:12:08PM +0100, Janine C.Buorditez wrote:
> Hello.
> 
> I just got a new IP and modified my system accordingly. I also updated my
> nameservers' IP:s.

When did you do this ?
It looks like you're just waiting for the change to propagate through the DNS.
This typically takes around 48 hours.

> It is really important that I fix this in time for a website presentation at
> this address on Saturday.

You'll probably just scrape it.

Ceri
-- 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: make installworld problem (4.7 p2 -> p7

2003-03-13 Thread dslb
Damn, sorry for posting the message twice (Balsa did a number on me!).

Daniel and Nikolay you were right, test was missing from /bin and when
I
copied it there and ran "make installworld" again, it worked! So a big
"thank
you" to all who replied :-)

br
socketd


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: DNS messed up on new IP:s

2003-03-13 Thread Nikolay Y. Orlyuk
On Thu, Mar 13, 2003 at 06:12:08PM +0100, Janine C. Buorditez wrote:
> Hello.
> 
> I just got a new IP and modified my system accordingly. I also updated my 
> nameservers' IP:s.
> 
> But I cannot recieve e-mails, nor can people reach my domain (www.terrabionic.com).
When I typed dig terrabionic.com it gives me ns1 and ns2 but without their IP's
next time I tried dig www.terrabionic.com and gets IPs
when I again tried dig terrabionic.com it showed me IP's
I didn't seen such before

for mx records it fives ninja.terrabionic.com.
> 
> This DNS report looks OK, doesn't it? 
> http://www.dnsreport.com/tools/dnsreport.ch?domain=terrabionic.com
> 
> And how about my configuration files at http://213.187.181.68/namedb?
I can't reach it. Better by email
> 
> It is really important that I fix this in time for a website presentation at this 
> address on Saturday.
> 
> Please, someone?
>
Maybe logs of named and clients will help
> 

-- 
With best wishes Nikolay
mail: [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: portupgrade mess

2003-03-13 Thread Mike Meyer
In <[EMAIL PROTECTED]>, [EMAIL PROTECTED] typed:
> I just upgrade XFree86 from 4.2 to 4.3 using portupgrade on 2 different 
> machines.

That statement doesn't make sense. Portupgrade upgrades pors, not the
system. So you can't upgrade from 4.2 to 4.3 with portupgrade. If you
actually upgraded the system, how did you do it? Did you then use
portupgrade to upgrade all the ports you had installed? If not, that
may be part of the problem.

Generally, when upgrading across a release, you want to deinstall the
ports in large chunks - all of them is best - and then reinstall the
ports from the new ports in the system.

  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Kernel Panic in 5.0-RELEASE

2003-03-13 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Simon Chang <[EMAIL PROTECTED]> typed:
> This past weekend I experienced a kernel panic in my 5.0-release running on
> a Dual Pentium Pro system.  Is this the correct mailing list to write to and
> seek help from?  (I've already posted in the comp.unix.bsd.freebsd.misc
> group but nobody has responded thus far.)

No, it isn't. 5.0-release is not a production system, it's a
development system. The correct procedure when you are having problems
is to upgrade your system to the lastest version of 5.0-CURRENT to see
if the problem has already been fixed, then send mail to
[EMAIL PROTECTED] if you are still having problems.

For dealing with panics, you should have a kernel with symbols built
so you can provide a stack trace of the problem. Being able to
identify the problem and provide a fix is strongly encouraged for
-current users.

  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Possible drive failing??

2003-03-13 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Dragoncrest <[EMAIL PROTECTED]> typed:
>   Hi all.  I got this message in my daily reports and I've got a 
> question.  Does this signal possible disk troubles or potential 
> failure?  Here's the message.
>  > ad0s1g: hard error writing fsbn 13434039 of 5930556-5930559 (ad0s1 bn 
> 13434039; cn 836 tn 58 sn 45) trying PIO mode
>  > ad0: DMA problem fallback to PIO mode
>   Is that something I can ignore, or should I keep an eye on this??

Well, there is some possibility that it's just a one-time hiccup. More
likely, the drive has already exhuasted it's supply of replacement
blocks, as modener drives do bad block remapping all by themselves. In
the latter case, the drive is about to fail catastrophically. At the
very least, I'd keep a very close eye on the drive, and double-check
my backups if I saw that happen to one of my drives. Depending on how
critical that system is, I may have a backup ready, or replace the
drive under controlled conditions before things get worse.

  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


DNS messed up on new IP:s

2003-03-13 Thread Janine C . Buorditez
Hello.

I just got a new IP and modified my system accordingly. I also updated my nameservers' 
IP:s.

But I cannot recieve e-mails, nor can people reach my domain (www.terrabionic.com).

This DNS report looks OK, doesn't it? 
http://www.dnsreport.com/tools/dnsreport.ch?domain=terrabionic.com

And how about my configuration files at http://213.187.181.68/namedb?

It is really important that I fix this in time for a website presentation at this 
address on Saturday.

Please, someone?

Thanks,
---johann

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Bootable

2003-03-13 Thread Grant Peel
Hi all,

I have, what I hope to be, a simple question.

I have a server with two hard drives. SCSI. Using driver da.

When I originaly installed FreeBSD (4.7). I am sure I made bot disks
bootable.

I rsync the forst drive to the second every time I update the OS.

My question is:

Is there a way, from the command line, that I can check file etc to see if
the second drive is indeed bootable in the event the first drive dies.
(Bootable after I change the boot device in BIOS of course).

I live 200 miles from the server, so sitting at the console changing back
and forth testing is not practical.


-Grant

Grant W. Peel
Server Admin
[EMAIL PROTECTED]
http://thenetnow.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: FreeBSD codenames?

2003-03-13 Thread William Palfreman
On Thu, 13 Mar 2003, Christian Andreas Westgaard wrote:

> Linux distros often have codenames.
>
> example:
>  Debian 2.2 (potato)
>  Debian 3.0 (woody)
>  Redhat 6.2 (zoot)
>  Redhat 8.0 (psyche)
>
> Doesn't FreeBSD 5.0 and 4.7 have codenames?

GENERIC :-)

-- 
W. Palfreman.   I'm looking for a job:
Tel: 0771 355 0354  http://www.palfreman.com/william/ for my CV.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Kernel Panic in 5.0-RELEASE

2003-03-13 Thread Simon Chang
Good day to all,

This past weekend I experienced a kernel panic in my 5.0-release running on
a Dual Pentium Pro system.  Is this the correct mailing list to write to and
seek help from?  (I've already posted in the comp.unix.bsd.freebsd.misc
group but nobody has responded thus far.)

TIA,

Simon Chang

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: FreeBSD codenames?

2003-03-13 Thread Peter Elsner
Yes, STABLE, RELEASE, CURRENT:)

Sorry, couldn't resist

Peter

At 05:34 PM 3/13/2003 +0100, you wrote:
Linux distros often have codenames.

example:
Debian 2.2 (potato)
Debian 3.0 (woody)
Redhat 6.2 (zoot)
Redhat 8.0 (psyche)
Doesn FreeBSD 5.0 and 4.7 have codenames?

--
Using M2, Opera's revolutionary e-mail client, http://www.opera.com/m2/
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message
--
Peter Elsner <[EMAIL PROTECTED]>
Vice President Of Customer Service (And System Administrator)
1835 S. Carrier Parkway
Grand Prairie, Texas 75051
(972) 263-2080 - Voice
(972) 263-2082 - Fax
(972) 489-4838 - Cell Phone
(425) 988-8061 - eFax
I worry about my child and the Internet all the time, even though she's
too young to have logged on yet. Here's what I worry about. I worry
that 10 or 15 years from now, she will come to me and say "Daddy, where
were you when they took freedom of the press away from the Internet?"
-- Mike Godwin
Unix IS user friendly... It's just selective about who its friends are.
System Administration - It's a dirty job, but somebody said I had to do it.
If you receive something that says 'Send this to everyone you know,
pretend you don't know me.
Standard $500/message proofreading fee applies for UCE.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


FreeBSD codenames?

2003-03-13 Thread Christian Andreas Westgaard
Linux distros often have codenames.

example:
Debian 2.2 (potato)
Debian 3.0 (woody)
Redhat 6.2 (zoot)
Redhat 8.0 (psyche)
Doesn FreeBSD 5.0 and 4.7 have codenames?

--
Using M2, Opera's revolutionary e-mail client, http://www.opera.com/m2/
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Connecting FreeBSD to my home network..

2003-03-13 Thread Scott Mitchell
On Thu, Mar 13, 2003 at 07:48:21AM -0800, Rodney Salomon wrote:
> Im trying to connect my FreeBSD machine to my Linksys
> Router.  Tried searching for some info on connecting
> FBSD to an existing network.  Does anyone have more
> info on this?  Url?

Probably all you need to do is add a line:

ifconfig_foo="DHCP"

to your /etc/rc.conf file (replace foo with the name of your Ethernet
interface, of course).  DHCP should pick up all the necessary settings from
the Linksys.

Cheers,

Scott

-- 
===
Scott Mitchell   | PGP Key ID | "Eagles may soar, but weasels
Cambridge, England   | 0x54B171B9 |  don't get sucked into jet engines"
scott at fishballoon.org | 0xAA775B8B |  -- Anon

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


portupgrade mess

2003-03-13 Thread pippo
I just upgrade XFree86 from 4.2 to 4.3 using portupgrade on 2 different 
machines. On one portupgrade seems to have worked ok, except that XFree86 
does not function quite correctly - I shall assume it is an XFree86 problem.

The second machine is totally screwed up - even though the upgrade did not 
work, the previous installation is now shot. Startx does not bring up kde3.
I really don't know what to do - should I deinstall XFree86 or what?
portversion does not work since dependencies are no longer valid.
I have never fully understood how the dependencies function in portsdb -F.
I don't know how this can be correctly fixed?
I don't understand why the upgrade did not work.
Does anyone understand any of this?
Thanks for any suggestions...
Phil Jourdan



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Connecting FreeBSD to my home network..

2003-03-13 Thread Rodney Salomon
Im trying to connect my FreeBSD machine to my Linksys
Router.  Tried searching for some info on connecting
FBSD to an existing network.  Does anyone have more
info on this?  Url?

Thanks
Rodney

__
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


MD_ROOT

2003-03-13 Thread Branson Matheson
 I was just reading the daemonnews articles about MD_ROOT and finding
the joy in being able to use etherboot to install complete system. 
Really nice in a clustered environment for boxes that don't support
pxe. 

 http://ezine.daemonnews.org/200211/monolithic-kernel.html

 I was wondering if someone can commit the patch that is included 
in this article so that this feature can be available 5.0 and on. 

 I am working on a single port/package that will install and configure
a "jumpstart" type of host with all necessary software so that any
other hosts can be build quickly and on the fly using pxeboot,
etherboot, and cd-images.  

 Thanks 
- branson

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: make installworld problem (4.7 p2 -> p7)

2003-03-13 Thread Daniel Bye
On Thu, Mar 13, 2003 at 03:47:58PM +0100, Socketd wrote:
> Hi again
> 
> Nobody has answered in the last week, so I will try again.
> I have installed 4.7 on a i386.
> I have upgraded to p2 and now want to upgrade p7.
> All my drives are mounted locally (on the same computer) and I try to 
> upgrade the system as I always have with:
>   make buildworld
>   make buildkernel KERNCONF=SOCKETD
>   make installkernel KERNCONF=SOCKETD
>   reboot
>   make installworld
> I reboot the system and it is running the p7 kernel. I have mounted 
> all my drives with rw (not using noexec or nosuid) and I have lots of 
> space.
> When I cd to /usr/src and type "make installworld" I get:
> mkdir -p /tmp/install.54110
> for prog in [ awk cat chflags chmod chown date echo egrep find grep  
> ln make makewhatis mtree mv perl pwd_mkdb rm sed sh sysctl  test true 
> uname wc zic; do  cp `which $prog` /tmp/install.54110;  done
> usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
>cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN 
> directory
> *** Error code 64
> 
> Stop in /usr/src.
> *** Error code 1
> 
> I have tried deleting /usr/src/* and /usr/obj/*, getting all the 
> source again and buildworld perfectly.
> My securelevel is -1.
> 
> Please cc to me as I am not on the list.

This came up a couple of weeks ago.  In that case, the file '[' was missing,
and you need to make a link.  The first iteration through the for loop will
fail, because `which $prog` returns nothing - causing the whole thing to
choke.  This is why you see the cp usage message - effectively, it is trying
to run "cp /tmp/install.54110", which does not have the right number of
arguments. 

# ln /bin/test /bin/[

should do the trick.  Rerun the installworld and it should work.  Provided
that was the problem...  ;-)

HTH

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: make installworld problem (4.7 p2 -> p7)

2003-03-13 Thread Nikolay Y. Orlyuk
On Thu, Mar 13, 2003 at 03:47:58PM +0100, Socketd wrote:
> Hi again
> 
> Nobody has answered in the last week, so I will try again.
> I have installed 4.7 on a i386.
> I have upgraded to p2 and now want to upgrade p7.
> All my drives are mounted locally (on the same computer) and I try to 
> upgrade the system as I always have with:
>   make buildworld
>   make buildkernel KERNCONF=SOCKETD
>   make installkernel KERNCONF=SOCKETD
>   reboot
>   make installworld
> I reboot the system and it is running the p7 kernel. I have mounted 
> all my drives with rw (not using noexec or nosuid) and I have lots of 
> space.
> When I cd to /usr/src and type "make installworld" I get:
> mkdir -p /tmp/install.54110
> for prog in [ awk cat chflags chmod chown date echo egrep find grep  
> ln make makewhatis mtree mv perl pwd_mkdb rm sed sh sysctl  test true 
> uname wc zic; do  cp `which $prog` /tmp/install.54110;  done
> usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
>cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN 
> directory
> *** Error code 64
Maybe you should try to check what will say 'which awk', 'which cat' ...
but in any way I can't understand why it need to do it all. In result of
executing this command sequence will be file /tmp/install.54110 which will
contain zic.

Also you may check how `[' accepted by shell. It must be simple word and
must not change of mean any of symbols around it.
>
> 

-- 
With best wishes Nikolay
mail: [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Firewall rules question

2003-03-13 Thread Darryl Hoar
Greeting,
I have a box that is running 4.7-stable.  I have it configured as a
filewall, and
does nat.

recently, I've been getting Arplookup failure: 10.1.1.1 not on local
network.

I went into my rules and put a rule to block 10.x.x.x from coming into my
network from my DSL link.

Problem is , that even though I have defined the rule, I still get these
arplookup failure messages.  I thought the following rules would drop the
private IP's and prevent the /kernel arplookup failure messages.  I guess
not.

here are the rules:

block in log quick on ed0 from 192.168.0.0/16 to any  #RFC 1918 private IP
block in log quick on ed0 from 172.16.0.0/12 to any   #RFC 1918 private IP
block in log quick on ed0 from 10.0.0.0/8 to any  #RFC 1918 private IP
block in log quick on ed0 from 127.0.0.0/8 to any #loopback
block in log quick on ed0 from 0.0.0.0/8 to any   #loopback
block in log quick on ed0 from 169.254.0.0/16 to any  #DHCP auto-config
block in log quick on ed0 from 192.0.2.0/24 to any#reserved for doc's
block in log quick on ed0 from 204.152.64.0/23 to any #Sun cluster
interconnect
block in quick on ed0 from 224.0.0.0/3 to any #Class D & E multicast

Any ideas how to stop the insanity ?  I've contacted the ISP and alerted
them, but they have not got issue resolved.

For goodness sake, I can even ping 10.1.1.1 over the dsl interface.

thanks,
Darryl


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Possible drive failing??

2003-03-13 Thread Dragoncrest
	Hi all.  I got this message in my daily reports and I've got a 
question.  Does this signal possible disk troubles or potential 
failure?  Here's the message.

> ad0s1g: hard error writing fsbn 13434039 of 5930556-5930559 (ad0s1 bn 
13434039; cn 836 tn 58 sn 45) trying PIO mode
> ad0: DMA problem fallback to PIO mode

	Is that something I can ignore, or should I keep an eye on this??

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: MMAP 2GB Limit

2003-03-13 Thread Dan Nelson
In the last episode (Mar 13), Ted Wisniewski said:
> Currently mmap(2) is limited to 2GB as described in the man pages;
> does anyone know if that limitation will be lifted in the near future
> either in the 4.X branch or in the 5.X branch?  We have a package
> called "ldm" which uses mmap on large files and we are concerned
> about this limit for the future.  If someone knows and can get back
> to me it would be a big help.

You will probably want to use smaller windows (256MB say) and just map
tha areas that you need.  What happens when you want to process a 20gb
file?  The i386 only has 4gb of total addressable space, and on FreeBSD
that's shared between userland and kernel.  If you're on an alpha or
sparc CPU, then the warning in the manpage probably doesn't even apply
to you.

-- 
Dan Nelson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: make installworld problem (4.7 p2 -> p7)

2003-03-13 Thread Socketd
Hi again

Nobody has answered in the last week, so I will try again.
I have installed 4.7 on a i386.
I have upgraded to p2 and now want to upgrade p7.
All my drives are mounted locally (on the same computer) and I try to 
upgrade the system as I always have with:
	make buildworld
	make buildkernel KERNCONF=SOCKETD
	make installkernel KERNCONF=SOCKETD
	reboot
	make installworld
I reboot the system and it is running the p7 kernel. I have mounted 
all my drives with rw (not using noexec or nosuid) and I have lots of 
space.
When I cd to /usr/src and type "make installworld" I get:
mkdir -p /tmp/install.54110
for prog in [ awk cat chflags chmod chown date echo egrep find grep  
ln make makewhatis mtree mv perl pwd_mkdb rm sed sh sysctl  test true 
uname wc zic; do  cp `which $prog` /tmp/install.54110;  done
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
   cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN 
directory
*** Error code 64

Stop in /usr/src.
*** Error code 1
I have tried deleting /usr/src/* and /usr/obj/*, getting all the 
source again and buildworld perfectly.
My securelevel is -1.

Please cc to me as I am not on the list.

br
socketd
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Chrooting to Linux in FreeBSD

2003-03-13 Thread Tim van den Elsen
Hello,

A friend of mine started his own version of Knoppix. His version is modular based and 
looks quite nice. For me to help him mount an .iso and chroot to this "pre-made 
filesystem" (Debian by the way).

For mounting i do the following:

# vnconfig /dev/vn0c ./image.iso
# mount_cd9660 /dev/vn0c ./tmp-iso-dir

Then i copy the ./tmp-iso-dir to a normal dir in order to change files:

# cp -Rp ./tmp-iso-dir/ ./remaster-dir

After that i'm ready to chroot:

# chroot ./remaster-dir /bin/sh
sh-2.05b#

Then the problem starts: every command i run when i'm in chroot will leave a .core 
file although most of them work. An example:

sletje# chroot tmp-iso /bin/sh
sh-2.05b# ls
MorphixCD  boot   dev  floppy  initrd  mnt  opt   root  strip-apt  usr
bincdrom  etc  homelib morphix  proc  sbin  tmpvar
sh-2.05b# id
uid=0(root) gid=0(root) groups=0(root),2(bin),3(sys),4(adm),5(tty),20(dialout),31
sh-2.05b# ls
MorphixCD  boot   dev  floppy  id.core  lib  mnt  opt   root  strip-apt  usr
bincdrom  etc  homeinitrd   ls.core  morphix  proc  sbin  tmpvar
sh-2.05b# exit
exit
Bad system call (core dumped)
sletje#

As you can see "ls" and "id" work, but both leave a .core file: ls.core and id.core.
When debugging it with gdb all commands seem to exit on a signal 12 Bad system call, 
like bash did when it exited.

I tried to google but i can't find no hint or solution to the problem. Hopefully 
somebody here has a clue of what's going on :-)

Thanks in advance!

Tim van den Elsen

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Kerberos Flavors

2003-03-13 Thread Matt Smith
Can anyone tell me the differences between MIT KrbV and Heimdal
Kerberos?  Strengths and Weaknesses?  Are there any other flavors of
Kerberos I should consider for an Enterprise Kerberos Environment?
Thanks all,
-Matt
-- 
Matt Smith <[EMAIL PROTECTED]>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Network adapter

2003-03-13 Thread Andrey Simonenko
On Thu, 13 Mar 2003 02:05:37 + (UTC) in lucky.freebsd.questions, R S wrote:
> Does it matter that my network adapter is ed1?  Should
> it be ed0?
> 
> During boot, I keep getting the "ed0 device not
> configured".why?  

It looks like that ed0 is specified in your kernel configuration
file as not PnP NIC, and you've got PNP.  Check how ed0 is specified
in the kernel configuration file (also check /boo/kernel.conf if you
have it).

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Postfix 2.0.6 port without Kerberos DES linking?

2003-03-13 Thread Simon Barner
Hi,

> I'm running fbsd 4.8RC and trying to build postfix 2.0.6 and running
> into a kerberos issue. I want to build postfix with cyrus-sasl2, TLS,
> PCRE, and DB3 support.  No matter what I do, if I enable cyrus-sasl2
> during the postfix build process, I receive the errors below.  I don't use
> kerberos and don't want it to try and link to the des libraries.  I am
> able to build the postfix 1.1.11-20021115 build without any problems.
> It appears that sasl2 and TLS will not work using postfix 1.1.11.
> 
> Any help would be greatly appreciated.

I had exactly the same problem. I have two solutions for it:

1. Remove the Kerberos libraries in /usr/lib. It seems that they have used
   to be built by default, but have to be explicitly enabled now in
   /etc/make.conf. (the kerberos libs on my system were half a year old,
   although i built my world yesterday.

 MAKE_KERBEROS4
   (bool) Set this to build KerberosIV (KTH eBones).

 MAKE_KERBEROS5
   (bool) Set this to build Kerberos5 (KTH Heimdal).  WARNING!
   This is still experimental code.  If you need stable Ker-
   beros5, use the port(s).

2. If you do not want to delete something from your system, you can add this
here to the ports Makefile, which will link the missing des* symbols in:

POSTFIX_AUXLIBS+=   -L${LOCALBASE}/lib -lcrypto
or
POSTFIX_AUXLIBS+=   -L${LOCALBASE}/lib -ldes

As far as I have understood the postfix port checks whether you have the
kerberos libraries, and uses them if they are present (i.e. it assumes that no
outdated versions of these libs are lingering around.

HTH,
 Simon
 
Btw.: If you want to use sasl 1, you probably will need this patch:
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/48731 (perhaps it is
dispensable if you delete the kerberos stuff.


signature.asc
Description: Digital signature


MMAP 2GB Limit

2003-03-13 Thread Ted Wisniewski
Hello,

Currently mmap(2) is limited to 2GB as described in the man pages;
does anyone know if that limitation will be lifted in the near future
either in the 4.X branch or in the 5.X branch?   We have a package
called "ldm" which uses mmap on large files and we are concerned about
this limit for the future.   If someone knows and can get back to me
it would be a big help.

Thanks,

Ted


-- 
|   Ted Wisniewski   E-Mail:  [EMAIL PROTECTED]|
|   Manager, Systems Group   WEB: http://oz.plymouth.edu/~ted/ |
|   Information Technology Services|
|   Plymouth State College   Phone:   (603) 535-2661   |
|   Plymouth NH, 03264   Fax: (603) 535-2263   |

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: 3D with MGA on XFree86 4.3.0 / 5.0-RELEASE?

2003-03-13 Thread Andre Albsmeier
On Thu, 13-Mar-2003 at 13:32:21 +0100, Gary Jennejohn wrote:
> Glenn Johnson writes:
> > On Wed, Mar 12, 2003 at 03:38:02PM -0800, J. Kanowitz wrote:
> > > With 4.3.0, I've not seen the usual reminder about the driver, and
> > > blindly specifying WITH_MATROX_GXX_DRIVER (without bothering to pore
> > > over the build output; see previous comment on 'lazy') doesn't do the
> > > trick:
> > 
> > No, it is not an option for XFree86-4.3.  Matrox has not made an updated
> > version available yet.  I am not sure if the current code from Matrox
> > will build with XFree86-4.3 but that would leave you with an older mga
> > driver.  I would guess that Matrox will eventually update their driver
> > but unless you are running multi-displays you probably do not need it.
> > 
> 
> I'm using a G450 with a TFT which makes using the HAL necessary. I
> merely copied the old mga_hal_drv.o from 4.2.1 and it works just fine.

It is also needed for TV-Out support on the G400-DH.

-Andre

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: 3D with MGA on XFree86 4.3.0 / 5.0-RELEASE?

2003-03-13 Thread Gary Jennejohn
Glenn Johnson writes:
> On Wed, Mar 12, 2003 at 03:38:02PM -0800, J. Kanowitz wrote:
> > With 4.3.0, I've not seen the usual reminder about the driver, and
> > blindly specifying WITH_MATROX_GXX_DRIVER (without bothering to pore
> > over the build output; see previous comment on 'lazy') doesn't do the
> > trick:
> 
> No, it is not an option for XFree86-4.3.  Matrox has not made an updated
> version available yet.  I am not sure if the current code from Matrox
> will build with XFree86-4.3 but that would leave you with an older mga
> driver.  I would guess that Matrox will eventually update their driver
> but unless you are running multi-displays you probably do not need it.
> 

I'm using a G450 with a TFT which makes using the HAL necessary. I
merely copied the old mga_hal_drv.o from 4.2.1 and it works just fine.

---
Gary Jennejohn / [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Postfix 2.0.6 port without Kerberos DES linking?

2003-03-13 Thread Troy
Hello,
 
I'm running fbsd 4.8RC and trying to build postfix 2.0.6 and running
into a kerberos issue. I want to build postfix with cyrus-sasl2, TLS,
PCRE, and DB3 support.  No matter what I do, if I enable cyrus-sasl2
during the postfix build process, I receive the errors below.  I don't use
kerberos and don't want it to try and link to the des libraries.  I am
able to build the postfix 1.1.11-20021115 build without any problems.
It appears that sasl2 and TLS will not work using postfix 1.1.11.

Any help would be greatly appreciated.

-Troy

gcc -Wmissing-prototypes -Wformat -DUSE_SASL_AUTH -I/usr/local/include
-I/usr/local/include/sasl -DHAS_SSL -I/usr/include/openssl
-I/usr/local/include/db3 -DHAS_PCRE -I/usr/local/include  -O -pipe
-march=pentiumpro -I. -I../../include -DFREEBSD4 -o master master.o
master_conf.o master_ent.o master_sig.o master_avail.o  master_spawn.o
master_service.o master_status.o master_listen.o  master_vars.o
master_wakeup.o master_flow.o ../../lib/libglobal.a ../../lib/libutil.a
-L/usr/local/lib -lsasl2 -lpam -lcrypt -lkrb -lcrypto -lcom_err -lssl
-lcrypto -L/usr/local/lib -ldb3 -L/usr/local/lib -lpcre

/usr/lib/libkrb.so: undefined reference to `des_pcbc_encrypt'
/usr/lib/libkrb.so: undefined reference to `des_set_odd_parity'
 /usr/lib/libkrb.so: undefined reference to `des_key_sched'
/usr/lib/libkrb.so: undefined reference to `des_read_pw_string'
/usr/lib/libkrb.so: undefined reference to `des_set_key'
/usr/lib/libkrb.so: undefined reference to `des_cbc_cksum'
/usr/lib/libkrb.so: undefined reference to `des_quad_cksum'
/usr/lib/libkrb.so: undefined reference to `des_string_to_key'
*** Error code 1

Stop in /usr/ports/mail/postfix/work/postfix-2.0.6/src/master.
 *** Error code 1

Stop in /usr/ports/mail/postfix/work/postfix-2.0.6.
*** Error code 1

Stop in /usr/ports/mail/postfix.
*** Error code 1

Stop in /usr/ports/mail/postfix.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Bind9 install

2003-03-13 Thread Stijn Hoop
On Thu, Mar 13, 2003 at 10:27:15AM +0100, Ahmed SAHNOUN wrote:
> Hi all,
> 
> I would like to install bind9 on my FreeBSD 4.7, So I'm using ports for that :
> 
> cd /usr/ports/net/bind9
> make 
> make install
> 
> after those steps, when I invoke "named -version" command, I see that's 8!!
> also "man named" commands gives information only about version 8!
> 
> Any idea?

You are inadvertently using the base system version of named. Try

# /usr/local/sbin/named -version

That should do the trick.

I have the following variables in my /etc/make.conf to run bind9 installed
from ports:

named_enable="YES"
named_program="/usr/local/sbin/named"
named_args="-t /var/named -u bind -c /named.conf"

The last line sets up bind9 so that it is chrooted into /var/named, you
might want to check that out.

HTH,

--Stijn

-- 
"What kind of a two-bit operation are they running out of this treehouse,
 Cooper? I have seen some slipshod backwater burgs, but this place takes the
 cake."
-- Special Agent Albert Rosenfield, "Twin Peaks"


pgp0.pgp
Description: PGP signature


Re: Bind9 install

2003-03-13 Thread Miguel Mendez
On Thu, 13 Mar 2003 10:27:15 +0100 (CET)
Ahmed SAHNOUN <[EMAIL PROTECTED]> wrote:

Howdy,

> after those steps, when I invoke "named -version" command, I see
> that's 8!! also "man named" commands gives information only about
> version 8!

The reason for that is that it got installed in /usr/local, so the old
named is still found first. You can try specifying the full path
(/usr/local/sbin/named), and/or replace the one in base by setting
PORT_REPLACES_BASE_BIND9 during the build, which will set PREFIX to /usr
instead. Beware that if you do a buildworld the old named will return
unless you set /etc/make.conf appropriately.

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!
Tired of Spam? -> http://www.trustic.com


pgp0.pgp
Description: PGP signature


Bind9 install

2003-03-13 Thread Ahmed SAHNOUN
Hi all,

I would like to install bind9 on my FreeBSD 4.7, So I'm using ports for that :

cd /usr/ports/net/bind9
make 
make install

after those steps, when I invoke "named -version" command, I see that's 8!!
also "man named" commands gives information only about version 8!

Any idea?

Thanks a lot!

Ahmed SAHNOUN

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Apache can't start -- seg fault?

2003-03-13 Thread questions1045
I just ugpraded apache and openssl to latest version in ports tree and now
apache can't restart.

# apachectl startssl
Segmentation fault (core dumped)
/usr/local/sbin/apachectl startssl: httpd could not be started

I don't htink it's a problem with openssl as SSH still works -- I'm
assumign that SSH uses the openssl library.  How do I even begin to figure
out what's wrong?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message