System hack ?!

2003-07-23 Thread Peter Rosa
Greetings to every FreeBSD fan.

Is anybody out there who can help me with this problem ?

I have FreeBSD 4.3 acting as a gateway to I-net and mailserver. In /etc/periodic are 
standard scripts, which send statistics to roots's mail every morning. Dated from 
April 24, 2003, 04:03 AM (standard time, when these scripts are running) there ara 
comming lines as follows:

Checking for passwordless accounts:
[: 0: unexpected operator

The bad one is only the second line (unexpected operator), because till April 19 all 
worked well.


Can you tell me, why it started from April 20, and what goes wrong ? I think, it is an 
error of awk or sed, but I checked their access/modified dates, and they seem to be 
the same as the rest of system. I think the hack is probably not the problem (?!?!?!). 
May be it is some automated actualisation, but I should know about it, don't I ?

Please help if you can.

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


ng_one2many and switches

2003-07-23 Thread Tillman
Howdy,

I'd like to confirm my understanding of how ng_one2many works: Using a
setup like http://bsdvault.net/sections.php?op=printpage&artid=98), I
think that:

* with an unmanaged switch I'll be able to effectively double the
  outgoing bandwidth on a given server, though my incoming bandwidth
  will remain at 100Mbit
* with a managed switch that supports link aggregation I'll be able to
  effectively double the bandwidth in both directions
* on a hub, of course, there would be no bandwidth increase

i.e., this will be a good way to increase the performance of an NFS file
server to multiple simultaneous clients on an network with unmanaged
switches. The NFS server is currently network I/O limited - the vinum
array runs almost four times as fast as I can serve the files, according
to bonnie++ benchmarking runs.  The NFS traffic is fairly async, being
mostly reads.

Does that sound about right?

- Tillman


-- 
"bash awk grep perl sed df du, du-du du-du,
 vi troff su fsck rm * halt LART LART LART!"
- The Swedish BOFH
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Huge load average on mail server

2003-07-23 Thread Kevin Kinsey, DaleCo, S.P.
From: "John Fox" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 23, 2003 4:37 PM
Subject: Huge load average on mail server


> I recently became responsible for our mail server, and lately, the
load
> average on the thing has been running consistently high, in
mid-20's to
> mid-30's.  And at the same time, sendmail has become extremely
sluggish
> in terms of responding to connections on port 25.
>
> There's got to be a bottleneck somewhere, but my experience leaves
me
> ill-equipped to seek it out.
>
> What procedures would folks recommend for me to follow in order to
try and
> determine the problem?
>
> Thank you,
>
> john

In addition to other thoughts on this thread, if it IS
the MTA:  Examine queues; attempt to find patterns in logs,
check DNS speed/configuration, check disks, memory, etc.

KDK


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


Re: Terminal emulation with DOS

2003-07-23 Thread Andy Farkas
On Tue, 22 Jul 2003, James Dietrich wrote:

> Sorry if this post is a litte off-topic.  I am trying to set up an old
> DOS laptop as a terminal to my FreeBSD firewall/nat box.  Has anyone
> come across good (read: free) terminal emulation software for DOS?  If
> so could you point me in the right direction?

[Note: please wrap your lines]

If you don't need DOS on the laptop (or maybe you put DOS on because its a
very old slow system that wont do windows..) I suggest you put an old copy
of FreeBSD (2.2 would do) onto it.

I have an old Toshiba T5100/100 (25MHz 386DX, 4MB RAM, 120MB HD) with no
expansion slot so I cant put a network card in it. So I connect the serial
port to my gateway and use ppp to make a network connection over the
serial cable. Then, I can telnet to anywhere I want from the laptop. It
runs FreeBSD-2.0, but I've been meaning to upgrade :)  The main advantage
of this setup is the fact that FreeBSD has virtual consoles, so you can
telnet to different machines in different windows. Its a great job for an
otherwise useless piece of equipment.

--

 :{ [EMAIL PROTECTED]

Andy Farkas
System Administrator
   Speednet Communications
 http://www.speednet.com.au/



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


hi

2003-07-23 Thread marlon corleone
*default host=cvsup.sk.freebsd.org
*default base=/usr prefix=/usr
*default release=cvs tag=RELENG_5
*default delete use-rel-suffix compress

src-all
ports-alltag=.


Akira# uname -a
FreeBSD Akira.Kurosawa.jp 5.1-RELEASE FreeBSD
5.1-RELEASE #2: Tue Jul 22 19:12:00 PHT 2003
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/MARLON
 i386


this is my ports-supfile, is this config file correct?
is this entry applicable also to other supfiles, like
cvs-supfile, standard-supfile, stable-supfile.

thanks

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: OpenSSH 3.6.1 support in RELENG_5_0?

2003-07-23 Thread Dan Nelson
In the last episode (Jul 23), Darren Spruell said:
> Dan Nelson wrote:
> >RELENG_5_0 is the branch for people that are running 5.0 on
> >production systems and only want security patches.  I doubt
> >RELENG_5_0 has many differences from RELENG_5_0_0_RELEASE.  You
> >probably want to track either HEAD or RELENG_5_1, since openssh
> >3.6.1 got imported before FreeBSD 5.1 was released.  Or if you want
> >to stick with 5.0, install the openssh port.
> 
> Hope you don't mind me asking. I'm more familiar with OpenBSD's model
> which is strictly two CVS tags: M_m and OPENBSD_M_m which are
> -current and -stable respectively, with M being major version and m
> being minor version. So OPENBSD_3_2 tag would be -stable for 3.2 (if
> I understand correctly, that is...)
>
> 
> What is HEAD and RELENG_5_1 in FreeBSD?

For FreeBSD, HEAD (tip of the cvs tree) is -CURRENT, RELENG_M is a
-STABLE branch (i.e. RELENG_4 is FreeBSD-4-STABLE, and RELENG_3 is
FreeBSD-3-STABLE), and RELENG_M_m is a security/ciritcal branch (i.e.
RELENG_4_8 or RELENG_5_1 will only get critical fixes applied to them).

When the time comes for 4.9 to be released, RELENG_4_9 will be branched
off RELENG_4 a couple weeks before release, and then the
RELENG_4_9_0_RELEASE tag will be laid on that branch, which represents
what gets burned onto CDs.
 
> It sounds like the tag RELENG_5_0 that I followed is little more than
> the critical patch branch for 5.0; how do I accomplish following the
> -stable branch, if there exists one: something in between strictly 
> neccesary patches and possibly buggy Current?

Correct.  If you want -STABLE, you'll want the RELENG_4 branch, since
5.x has not been marked stable yet. 
http://www.freebsd.org/handbook/cvs-tags.html has a good summary of all
the branches and what their purpose is.  If you want a stable-ish 5.x
tree, RELENG_5_1 is probably a better choice than RELENG_5_0.  Or scan
the -current mailinglist archives, find a week where there aren't any
"-CURRENT is broken!!" threads, and checkout a copy of HEAD from that
date :)

http://www.freebsd.org/releng/ lists all the branches and their current
status (open/frozen).

In general, HEAD is okay, and if it isn't, it's usually only a single
component (say groff, or a kernel module) that's broken, and that's
fixed quickly.

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


Re: [RTFM response] OpenSSH 3.6.1 support in RELENG_5_0?

2003-07-23 Thread Lowell Gilbert
Darren Spruell <[EMAIL PROTECTED]> writes:

> What is HEAD and RELENG_5_1 in FreeBSD?
> 
> It sounds like the tag RELENG_5_0 that I followed is little more than
> the critical patch branch for 5.0; how do I accomplish following the
> -stable branch, if there exists one: something in between strictly
> neccesary patches and possibly buggy Current?

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html

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


Interacting with windoze machines on the local network

2003-07-23 Thread Leonard Zettel
I have a local ethernet network with:
One FreeBSD box
One Windows XP professional box
Two Windows ME boxes (one of which is the inernet firewall, using
Sygate)..

I would like to be able to access the hardware and file systems
of the windows boxes from the FreeBSD system, if for no other 
reason than expediting the task of making the FreeBSD system
my main computing resource..

Is Samba still the recommended way to do this?

Is Mickeysquish's phasing out of NETBUI going to be
a problem?

Are there any other reasonable alternatives?
  -LenZ-

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


Re: Huge load average on mail server

2003-07-23 Thread C. Corayer
Try checking out the book Absolute BSD from Michael Lucas.

You can find a link to the sample Chapter regarding system performance here 
at http://www.absolutebsd.com

I've found the rest of the book to be rather good as well.  But if nothing 
else, that sample chapter alone should give you a pretty good idea of what's 
going on.

Hope this helps.

-Chris

"From :
John Fox <[EMAIL PROTECTED]>
To :
[EMAIL PROTECTED]
Subject :
Huge load average on mail server
Date :
Wed, 23 Jul 2003 14:37:46 -0700
MIME-Version: 1.0
Precedence: list
Message-ID: <[EMAIL PROTECTED]>
Message: 19
Content-Type: text/plain; charset=us-ascii
MIME-Version: 1.0Precedence: listMessage-ID: 
<[EMAIL PROTECTED]>Message: 19

I recently became responsible for our mail server, and lately, the load
average on the thing has been running consistently high, in mid-20's to
mid-30's.  And at the same time, sendmail has become extremely sluggish
in terms of responding to connections on port 25.
There's got to be a bottleneck somewhere, but my experience leaves me
ill-equipped to seek it out.
What procedures would folks recommend for me to follow in order to try and
determine the problem?
Thank you,

john"

_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

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


forkpty and fdopen

2003-07-23 Thread Andrew Barton
I'm trying to make a program that uses forkpty(), then runs sh in the
child process, and then writes to the child using streams. But it
doesn't work! It hangs on the wait() call; apparently the child never
sees the "exit\n".

#include 
#include 
#include 

main()
{
int fd;
pid_t pid;

pid = forkpty (&fd, 0, 0, 0);
if (pid == 0) {
execlp ("sh", "sh", (void *)0);
_exit (1);
} else if (pid == -1) {
exit (1);
} else {
FILE *F;

F = fdopen (fd, "w");
fprintf (F, "exit\n");
fflush (F);
wait (0);
}
exit (0);
}


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


Re: fd0 device errors

2003-07-23 Thread Hasse
On Tuesday 22 July 2003 03.44, Thanjee Neefam wrote:
> I have no floppy device in /dev
>
> I think the following is the reason why, but I have no clue how to fix
> it:
>
> ~$ dmesg |grep fd
> fdc0: cmd 3 failed at out byte 1 of 3
> fdc0: cmd 3 failed at out byte 1 of 3
> fdc0: cannot reserve I/O port range (6 ports)
>
> I am running 5.1, although it has always been broken since a clean
> install of 5.0R. I just need it now
>
> It is not a hardware problem as it is working perfectly on 4.8 on another
> slice.
>
> Thanks

I added the following to /boot/device.hints  :
hint.acpi.0.disabled="1"
and that solved the problem for me.

Regards
Hasse.

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


Re: How to drive an NE2000 compatible isa card

2003-07-23 Thread stan
On Wed, Jul 23, 2003 at 05:03:02PM +0800, Zhang Le wrote:
> Hello, 
>   I have an NE2000 (10M) compatible isa card with
> io=0x300 irq=5 (under win98).
>   But I fail to drive it under a FreeBSD 4.8. I have
> recompiled kernel with ed
>   support. dmesg does not contain recognition message
> and 
>   kldstat -v |grep ed gives:
> pci/ed
> 145 isa/ed
> 146 pccard/ed
> 147 ed/miibus
> 
>   How to drive my NE2000 card, any tips?
> 
Did you set the parmaters for the ed device in your kernell conf file to
match what's set on the card?


-- 
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


SCSI error, where to look?

2003-07-23 Thread Per olof Ljungmark
Adaptec 2940UW with Compaq branded Quantum Atlas, about a year old. 
Cable is new. Erros are coming more and more frequently so I guess it's 
the drive?

Is it possible from the following information to decide where to start 
looking for the problem:

 kernel: (da0:ahc0:0:0:0): parity error detected in Message-in phase. 
SEQADDR(0x9b) SCSIRATE(0x87)

TIA

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


Re: Confusion over which version to use for a production server

2003-07-23 Thread Tom Bartling
Thanks for the help, Matt (and Luke). I'll use 4.8 for the new server.

--Tom


- Original Message -
From: "Matthew Emmerton" <[EMAIL PROTECTED]>
To: "Tom Bartling" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, July 23, 2003 6:12 PM
Subject: Re: Confusion over which version to use for a production server


> Hi,
>
> I am confused about which version to use for a production server. Nowhere
does it say "this is the newest version to use for a production server",
especially if the STABLE branch is still a development branch. I'm not sure
if this is a CYA thing, or if I'm just not finding the right information.
Obviously, this can be a difficult question to answer, since there are so
many branches to follow. However, people who want to use the software (as
oppossed to developing it) will need to know what the most recent version is
that can be used for a production server.
>
> Several pages, as well as messages posted to newsgroups, say that there
are two branchs, STABLE and CURRENT. Yet, there seems to be a third branch:
RELEASE. Is the RELEASE version pre-CURRENT or post-STABLE?

RELEASE is just a snapshot of STABLE when -STABLE is good enough to be
RELEASEd.  Clear?

> Because I have the perspective of a newbie, I don't mind writing a brief
description for other newbies to determine which version they should use and
how to get it. Unfortunately, I don't know how to determine any of this. Is
the Latest Production Release shown on the right column as "Production
Release: 4.8 (or whatever it is at the time)"? If so, why does the newbies
page (http://www.freebsd.org/projects/newbies.html#fbsd) say to use the
latest mainstream release, which is 5.1-RELEASE? If I do figure all of this
out, please let me know if you want me to write something for other newbies.

The FreeBSD project is in an interesting state right now.  We have two sets
of RELEASEs -- one from the -STABLE branch (4.x) and one from the -CURRENT
branch (5.x).  The reason for this is because there's been a lot of major
redesign work in 5.x and it's taking a while for it to solidify.  Hence, the
5.x releases are for convenience for those who want to help increase it's
stability by installing it on non-production (or non-critical production)
systems.

Since you're running production systems, do what the front page tells you --
install 4.8, the latest "production" release.
If you were someone just messing around with FreeBSD for the first time,
we'd tell you to install 5.1, the latest "new technology" release, since
you'd help us find problems.

--
Matt Emmerton

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


tape errors

2003-07-23 Thread David Bear

I'm beginning to wonder if my tape device or tape is going bad.

AFter a backup run tar exists with error

tar tvzf /dev/nsa0 > t2
tar (child): read error on /dev/nsa0 : Input/output error

gzip: stdin: decompression OK, trailing garbage ignored
tar: Unexpected EOF on archive file

checking status of the tape gives me

mt status
Mode  Density  Blocksize  bpi  Compression
Current:  0x26:DDS-4   512 bytes  97000disabled
-available modes-
0:0x26:DDS-4   512 bytes  97000DCLZ
1:0x26:DDS-4   512 bytes  97000DCLZ
2:0x26:DDS-4   512 bytes  97000DCLZ
3:0x26:DDS-4   512 bytes  97000DCLZ
-
Current Driver State: at rest.
-
File Number: 1  Record Number: 0Residual Count 8704


Now does ANY residual count indicate error?  mt errstat gives me:

mt errstat
Last I/O Residual: 0
 Last I/O Command: 08 01 00 00 14 00 00 00 00 00 00 00 00 00 00 00
   Last I/O Sense:

 F0 00 80 00 00 00 11 14 00 00 00 00 00 01 00 00
 00 00 00 00 00 00 00 F6 1F 40 08 00 6F 63 00 00

Last Control Residual: 0
 Last Control Command: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
   Last Control Sense:

 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

okay.  what does it mean?  Residual count is 8704.  yet, i/o residual
and control residual is 0.  my understanding of this is getting worse.

-- 
David Bear
phone:  480-965-8257
fax:480-965-9189
College of Public Programs/ASU
Wilson Hall 232
Tempe, AZ 85287-0803
 "Beware the IP portfolio, everyone will be suspect of trespassing"

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


Re: OpenSSH 3.6.1 support in RELENG_5_0?

2003-07-23 Thread Darren Spruell
Dan Nelson wrote:
In the last episode (Jul 23), Darren Spruell said:

I just updated from 5.0 release per the RELENG_5_0 tag. I had
expected that the source tree would then contain openssh-3.6.1p but
after a make installworld I see that it is still at 'OpenSSH_3.5p1
FreeBSD-20021029' (according to a scanssh query.)
Should I be seeing 3.6.1 or is it not in the tree?


RELENG_5_0 is the branch for people that are running 5.0 on production
systems and only want security patches.  I doubt RELENG_5_0 has many
differences from RELENG_5_0_0_RELEASE.  You probably want to track
either HEAD or RELENG_5_1, since openssh 3.6.1 got imported before
FreeBSD 5.1 was released.  Or if you want to stick with 5.0, install
the openssh port.
$ uname -r
5.1-CURRENT
$ /usr/bin/ssh -V
OpenSSH_3.6.1p1 FreeBSD-20030423, SSH protocols 1.5/2.0, OpenSSL 0x0090701f
$ _
Hope you don't mind me asking. I'm more familiar with OpenBSD's model 
which is strictly two CVS tags: M_m and OPENBSD_M_m which are -current 
and -stable respectively, with M being major version and m being minor 
version. So OPENBSD_3_2 tag would be -stable for 3.2 (if I understand 
correctly, that is...)

What is HEAD and RELENG_5_1 in FreeBSD?

It sounds like the tag RELENG_5_0 that I followed is little more than 
the critical patch branch for 5.0; how do I accomplish following the 
-stable branch, if there exists one: something in between strictly 
neccesary patches and possibly buggy Current?

--
Darren Spruell
Sento I.S. Department
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Confusion over which version to use for a production server

2003-07-23 Thread Matthew Emmerton
> Hi,
>
> I am confused about which version to use for a production server. Nowhere
does it say "this is the newest version to use for a production server",
especially if the STABLE branch is still a development branch. I'm not sure
if this is a CYA thing, or if I'm just not finding the right information.
Obviously, this can be a difficult question to answer, since there are so
many branches to follow. However, people who want to use the software (as
oppossed to developing it) will need to know what the most recent version is
that can be used for a production server.
>
> Several pages, as well as messages posted to newsgroups, say that there
are two branchs, STABLE and CURRENT. Yet, there seems to be a third branch:
RELEASE. Is the RELEASE version pre-CURRENT or post-STABLE?

RELEASE is just a snapshot of STABLE when -STABLE is good enough to be
RELEASEd.  Clear?

> Because I have the perspective of a newbie, I don't mind writing a brief
description for other newbies to determine which version they should use and
how to get it. Unfortunately, I don't know how to determine any of this. Is
the Latest Production Release shown on the right column as "Production
Release: 4.8 (or whatever it is at the time)"? If so, why does the newbies
page (http://www.freebsd.org/projects/newbies.html#fbsd) say to use the
latest mainstream release, which is 5.1-RELEASE? If I do figure all of this
out, please let me know if you want me to write something for other newbies.

The FreeBSD project is in an interesting state right now.  We have two sets
of RELEASEs -- one from the -STABLE branch (4.x) and one from the -CURRENT
branch (5.x).  The reason for this is because there's been a lot of major
redesign work in 5.x and it's taking a while for it to solidify.  Hence, the
5.x releases are for convenience for those who want to help increase it's
stability by installing it on non-production (or non-critical production)
systems.

Since you're running production systems, do what the front page tells you -- 
install 4.8, the latest "production" release.
If you were someone just messing around with FreeBSD for the first time,
we'd tell you to install 5.1, the latest "new technology" release, since
you'd help us find problems.

--
Matt Emmerton

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


Confusion over which version to use for a production server

2003-07-23 Thread Tom Bartling
Hi,

I am confused about which version to use for a production server. Nowhere does it say 
"this is the newest version to use for a production server", especially if the STABLE 
branch is still a development branch. I'm not sure if this is a CYA thing, or if I'm 
just not finding the right information. Obviously, this can be a difficult question to 
answer, since there are so many branches to follow. However, people who want to use 
the software (as oppossed to developing it) will need to know what the most recent 
version is that can be used for a production server. 

Several pages, as well as messages posted to newsgroups, say that there are two 
branchs, STABLE and CURRENT. Yet, there seems to be a third branch: RELEASE. Is the 
RELEASE version pre-CURRENT or post-STABLE? 

http://www.freebsd.org/projects/newbies.html#fbsd says, "If you haven't installed yet, 
look for the latest mainstream release. (See the Handbook for why you should not be 
tempted by any of the other branches.)" OK... if you follow the link, it says that the 
latest release is 5.1-RELEASE. The comment about referring to the Handbook "for why 
you should not be tempted by any of the other branches" only confuses the matter, 
since there is no link to tell me where in the Handbook I should go for this 
information. 

Here's what I did find in the Handbook:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html

Again, this page has no mention of the RELEASE version. What makes this even more 
confusing is the FTP. The various README.TXT files indicate that a RELEASE is the 
lates Release from the STABLE or CURRENT branch, depending on the version. 

Because I have the perspective of a newbie, I don't mind writing a brief description 
for other newbies to determine which version they should use and how to get it. 
Unfortunately, I don't know how to determine any of this. Is the Latest Production 
Release shown on the right column as "Production Release: 4.8 (or whatever it is at 
the time)"? If so, why does the newbies page 
(http://www.freebsd.org/projects/newbies.html#fbsd) say to use the latest mainstream 
release, which is 5.1-RELEASE? If I do figure all of this out, please let me know if 
you want me to write something for other newbies. 

Thanks for your help,

Tom

P.S. - I've been running a web server with 4.5-STABLE for about 5 months and it's 
great, but old. 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


More TTY's

2003-07-23 Thread Rus Foster
Hi All,
I've hit a problem where screen is saying can't add any more tty's. Fair
enough but how do I add some?


Rgds

Rus

-- 
www: http://jvds.com   | Virtual Servers from just $15/mo
MSNM: [EMAIL PROTECTED] | Totally Customizable Technology
e: [EMAIL PROTECTED]   | FreeBSD & Linux
   10% donation to FreeBSD.org on each purchase
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Any way to stop a remote box gone crazy?

2003-07-23 Thread Dan Nelson
In the last episode (Jul 23), Dan Nelson said:
> In the last episode (Jul 23), [EMAIL PROTECTED] said:
> > But I would think that this means the shell couldn't open the
> > directory to get the filenames to match?
> 
> That's also a possibility.  You can use cat to tell the difference
> though..  Here's a "ls" shell function that knows the difference
> between an empty directory and one it can't read.  Unfortunately, it
> requires cat, whereas plain "echo *" is done without forking:
> 
> ls () { cat . > /dev/null && echo * ; }

Heh. I knew there was a way :)

ls () { < . > /dev/null && echo * ; }

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


Re: set user-id

2003-07-23 Thread Gerald S. Stoller



From: Dan Nelson <[EMAIL PROTECTED]>
To: "Gerald S. Stoller" <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Re: set user-id
Date: Wed, 23 Jul 2003 14:23:05 -0500
In the last episode (Jul 23), Gerald S. Stoller said:
>
>
>
> >From: Dan Nelson <[EMAIL PROTECTED]>
> >To: Ryan Thompson <[EMAIL PROTECTED]>
> >CC: "Gerald S. Stoller" <[EMAIL PROTECTED]>, [EMAIL PROTECTED],
> >FreeBSD Questions <[EMAIL PROTECTED]>
> >Subject: Re: set user-id
> >Date: Tue, 22 Jul 2003 14:37:29 -0500
> >
> >In the last episode (Jul 22), Ryan Thompson said:
> >> If you *really* want to have suid scripts, your binary wrapper idea 
is
> >> quite a common trick. Don't get fancy with it, though. A one-liner to
> >> execve(2) should really be all you need. Either that, or re-code the
> >> whole thing in C (or some other compiled language). C can introduce
> >> insecurities of its own, but at least you'd (arguably) have put them
> >> there yourself. :-)
> >
> >I use sudo for stuff like this.  I add a line like this in sudoers:
> >
>I don't understand the next line!
> >ALL ALL = NOPASSWD: /usr/local/bin/thescript
>  ??? Setting a variable?? Okay, invoking the script

The sudoers file has a really weird syntax, but what that means is that
any user (the first ALL keyword) may run "thescript" as root on any
machine (the second ALL keyword; this allows the same file to be
replicated to multiple machines) without a password prompt (the
NOPASSWD: keyword).
> >>Well, why don't you just chmod 4755 /bin/ksh, then. :-D
> with a slight change, I copied  ksh  to  /bin  with the name  kshroot ,
> made sure
> that the group on it is the group of  root , and then did
>  chmod 4750  /bin/kshroot
> Thus only the users who are 'close to' root (e.g., generally users who 
have
> the
> root  password so they can become  root  if necessary) can run this 
shell
> whenever
> they need to act as  root , and can use it in scripts (first line:
> #!/bin/kshroot).  Again
> note that these scripts can only be invoked by users who are 'close to'
> root.  For the
> other users, I'd have to use a sudo.

That will work, too.

--
Dan Nelson
[EMAIL PROTECTED]
 Thinking about this a little more, let's think of these scripts as 
being text that is to be interpreted and specifies its interpretor somehow 
(say as the scripts do, on the first line with '#!' and then a path to the 
interpretor).  When such a file has set user-id on, the user-id of the file 
is put on its interpretor (similar action for the group-id) and then the 
interpretor is run.  This is probably just a small change in the kernel and 
should make things run smoothly.  [What module of the kernel takes care of:
  1)determining if a file (about to be invoked) has set user-id on,
  2)making the user-id of the file the effecive user-id of the process,
  3)accepting from a shell an instruction as to which shell to use to 
interpret a script file]
I may try ro do this on my own if these three questions are answered (and 
maybe some others, I notice that the source code is sparse on comments and 
directions as to what purpose structures are used, so I may not get enough 
info to do this just from these questions).

_
MSN 8 with e-mail virus protection service: 2 months FREE*  
http://join.msn.com/?page=features/virus

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


Re: Huge load average on mail server

2003-07-23 Thread Kirk Strauser
At 2003-07-23T21:37:46Z, John Fox <[EMAIL PROTECTED]> writes:

> What procedures would folks recommend for me to follow in order to try and
> determine the problem?

Step one: run `top' and see what process(es) are using the most CPU.  It may
be something not directly related to Sendmail.  For example, one of my
associates wrote his own bulk mail delivery program to inject a huge number
of messages into the outgoing mail (he works with an ecommerce site with a
large opt-in newsletter list).  A minor error in his code:

   if (numberOfRunningProcesses != 10) { fork(); }

instead of:

   if (numberOfRunningProcesses <= 10) { fork(); }

caused his program to occasionally flip out and large several hundred
running copies of itself (hi, Aaron!).
-- 
Kirk Strauser


pgp0.pgp
Description: PGP signature


Trouble reading BSD formatted HD in USB hard drive... but it worksfine in Linux!

2003-07-23 Thread Donald Burr of Borg
I recently decided to move one of the drives in my main system into an
external USB 2.0 case.  This was done so that I could take this drive
between several systems (it is primarily used for backup and data
archival).

Yes, I know that 1394 (FireWire) would be faster, but not all of my
machines are capable of it.  And some of them literally do *not* have any
free PCI slots which I could insert a 1394 card into.

Like I said, the drive I installed in my USB case was already formatted as
a FreeBSD drive.  However, once I inserted it into a USB case, I am now
unable to mount the drive again.  Here are the appropriate dmesg
printouts:

umass0: Acer Labs USB 2.0 Storage Device, rev 2.00/1.03, addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0:  Fixed Direct Access SCSI-0 device
da0: 650KB/s transfers
da0: 76319MB (156301488 512 byte sectors: 64H 32S/T 10783C)
da0: reading primary partition table: error reading fsbn 0
da0: reading primary partition table: error reading fsbn 0

(The "reading primary partition table" errors appear when I try the
following mount command:  mount -t ufs /dev/da0s1 /mnt/backup)

Now, here's the kicker: I took the same drive over to a friend's Linux box
(he is running Mandrake 9.1, with Linux kernel 2.4.21-0.13mdk).  Linux
has had the ability, for some time now, to mount UFS partitions.  So I
figured "what the heck" and decided that I'd try mounting it on his
system.  Here is the dmesg printouts from when I plugged in the USB hard
drive to this Linux box:

hub.c: new USB device 00:11.3-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x402/0x5621) is not claimed by any active driver.
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi2 : SCSI emulation for USB Mass Storage devices
  Vendor: USB 2.0   Model: Storage DeviceRev: 0100
  Type:   Direct-Access  ANSI SCSI revision: 02
Attached scsi disk sda at scsi2, channel 0, id 0, lun 0
SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
 /dev/scsi/host2/bus0/target0/lun0: p1
 p1: 

Aha!  It seems that it is able to detect this disk just fine, and it does
see a BSD filesystem on it.  And sure enough, issuing the command "mount
-t ufs -o ro,ufstype=44bsd /dev/sda1 /mnt/bsd" works fine!!  I am able to
read any and all files on this drive.

I'd really like to get this sucker going under FreeBSD, but I am frankly
out of ideas and at my wit's end.  I am grateful to anyone who can offer
any assistance or hints/clues at this point.

The kernel configuration from my FreeBSD machine is available if anyone
would like to see it.  In short, I enabled all USB options in the kernel
config file, as well as the SCSI base code.

The USB case in question is a generic case labeled only "ME-320 Series
3.5"/5.25" External Enclosure."  It is available in several
configurations; mine is the single-port USB 1.1/2.0 configuration.  It
apparently uses an Acer Labs USB-to-IDE bridge chip, tho I can't tell what
the chip's part number is.

Thanks!!
-- 
Donald Burr of Borg <[EMAIL PROTECTED]> | FreeBSD: The Power to Serve!
Website: http://www.borg-cube.com/| http://www.freebsd.org/
PO Box 91212, Santa Barbara CA 93190-1212 \-
Tel: (805)563-0672   ICQ# 16997506  Present Day... Present Time!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Any way to stop a remote box gone crazy?

2003-07-23 Thread Dan Nelson
In the last episode (Jul 23), [EMAIL PROTECTED] said:
> Quoting Dan Nelson <[EMAIL PROTECTED]>: 
> > In the last episode (Jul 23), Rus Foster said: 
> > > > cd seems to work (I can cd to directories that I know exist,
> > > > but get an error if I try to cd to a directory that doesn't),
> > > > but echo always just returns *
> > >  
> > > hmm strange...it could be the shell as echo * on mine does and ls 
> >  
> > "echo *" in an empty directory will print "*", since /bin/sh passes
> > unmatched patterns through.
> >  
> > --  
> > Dan Nelson 
> > [EMAIL PROTECTED] 
> >  
>  
> But I would think that this means the shell couldn't open the
> directory to get the filenames to match?

That's also a possibility.  You can use cat to tell the difference
though..  Here's a "ls" shell function that knows the difference
between an empty directory and one it can't read.  Unfortunately, it
requires cat, whereas plain "echo *" is done without forking:

ls () { cat . > /dev/null && echo * ; }

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


Tape errors

2003-07-23 Thread Igor Kulemzin
Hi,

  I have HP SureStore C1557A tape device. Kernel detect my drive
  succesfully. I run

  tar -c somedir
  
  and got this errors:

(sa0:ahc0:0:0:0): WRITE FILEMARKS. CDB: 10 0 0 0 2 0
(sa0:ahc0:0:0:0): Deferred Error: MEDIUM ERROR asc:3b,0
(sa0:ahc0:0:0:0): Sequential positioning error field replaceable unit: 2

  But I has good test pages from company where I buy this drive. And for
  this tapes.

  How can I resolve this problem?

  I'm off the list.

-- 
Thursday, July 24, 2003  8:00:22 AM

Best regards,
Igor Kulemzin
Amursky Crystall, http://www.kristal.ru
E-mail: [EMAIL PROTECTED]
ICQ# 165511323

->
  Ну допустим ты пробил головой стену. И что ты будешь делать в соседней камере?
->


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


Re: Any way to stop a remote box gone crazy?

2003-07-23 Thread sedwards
Quoting Dan Nelson <[EMAIL PROTECTED]>: 
 
> In the last episode (Jul 23), Rus Foster said: 
> > > cd seems to work (I can cd to directories that I know exist, but 
> > > get an error if I try to cd to a directory that doesn't), but echo 
> > > always just returns * 
> >  
> > hmm strange...it could be the shell as echo * on mine does and ls 
>  
> "echo *" in an empty directory will print "*", since /bin/sh passes 
> unmatched patterns through. 
>  
> --  
>   Dan Nelson 
>   [EMAIL PROTECTED] 
>  
 
But I would think that this means the shell couldn't open the directory to 
get the filenames to match? 
 
-Scott 
 
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Make Permission errors! Most odd.

2003-07-23 Thread Lowell Gilbert
"Brad" <[EMAIL PROTECTED]> writes:

> I've been experiencing permission errors with make
> intermittently. It's happening with quite a few users on the box but
> it's just random. It's never a certain application or a certain
> user/group so it's been very hard to pinpoint what the problem is,
> hence why I'm posting here.
> 
> What is happening is basically a user will untar a file and type
> "make" after a ./configure and get "make: Permission denied". When I
> first encountered this I believe I chmod -R 777 * in the directory
> that the file was untared in and that worked for me, but for some of
> my users who are less experienced with freeBSD won't know how and
> don't know how to resolve this and it shouldn't be happening in the
> first place. Other users say they have gotten the error and simply
> logged out and back in and resolved it.
> 
> 
> Anyone have any ideas what is causing this and how to fix it?

tar(1) stores permissions as well as the files themselves.  By
default, it doesn't seem (according to a quick manual check I just
did) to try to recreate those permissions when it extracts the files;
it uses the umask instead.  So make sure that the users have a
reasonable umask by default.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Any way to stop a remote box gone crazy?

2003-07-23 Thread Dan Nelson
In the last episode (Jul 23), Rus Foster said:
> > cd seems to work (I can cd to directories that I know exist, but
> > get an error if I try to cd to a directory that doesn't), but echo
> > always just returns *
> 
> hmm strange...it could be the shell as echo * on mine does and ls

"echo *" in an empty directory will print "*", since /bin/sh passes
unmatched patterns through.

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


Re: Printing problems

2003-07-23 Thread Lowell Gilbert
frank brierley <[EMAIL PROTECTED]> writes:

> I have a HP deskjet 640c attached to a freebsd 4.8 box.  This printer
> doesn't do plain text real easy, something to do with carrage return
> and line feed.  There are a few simple printing filters on the web
> that help print plain text with lpd, but ghostscript has me beaten.
> 
> There is a port /usr/ports/print/hpijs that I've installed but it is
> setup for a different HP printer.  Does anyone know how to set all the
> ijs settings in the printing filter?

Personally, I find that the apsfilter port configures my DeskJet just fine...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Any way to stop a remote box gone crazy?

2003-07-23 Thread sedwards
Quoting Rus Foster <[EMAIL PROTECTED]>: 
 
> > 
> > cd seems to work (I can cd to directories that I know exist, but get 
> an 
> > error if I try to cd to a directory that doesn't), but echo always 
> just 
> > returns * 
> > 
>  
> hmm strange...it could be the shell as echo * on mine does and ls 
>  
> Rus 
>  
 
I guess it got tired of talking to me and hung up ;-)  This is too funny, 
it's still out there just crankin' out the tunes.  Reminds me of those 
stories where some rebel DJ barracaded himself in the studio and played 
Bob Dylan's "Rainy Day Women 12 & 35" over and over. 
 
Anyway, thanks for your help 
 -Scott 
 
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD 4.8-STABLE #0, atapicam, and cdparanoia problems

2003-07-23 Thread Joe Sotham
cdparanoia gets stuck at the point it begins to write the first wav file.
I've rebuilt the the 4-stable branch, including the atapicam device and
the kernel.  This is so close to working it's driving me crazy.  I don't
know what to do next!

Does anyone have any suggestions or can confirm cdparanoia works with 4.8?

Here's a cut/paste from the session.

FreeBSD 4.8-STABLE #0
wotan# cdparanoia -vsB
cdparanoia III release 9.8 (March 23, 2001)
(C) 2001 Monty <[EMAIL PROTECTED]> and Xiphophorus
FreeBSD porting (c) 2003
Simon 'corecode' Schubert <[EMAIL PROTECTED]>

Report bugs to [EMAIL PROTECTED]
http://www.xiph.org/paranoia/

Checking /dev/cd0c for cdrom...

CDROM model sensed: PLEXTOR CD-R   PX-W1210A 1.10

Checking for ATAPICAM...
Drive is ATAPI (using ATAPICAM)

Checking for MMC style command set...
Drive is MMC style
Setting default read size to 26 sectors (61152 bytes).

Verifying CDDA command set...
Expected command set reads OK.

Table of contents (audio tracks only):
tracklength   begincopy pre ch
===
  1. 7323 [01:37.48]1 [00:00.01]no   no  2
  2. 8215 [01:49.40] 7324 [01:37.49]no   no  2

  

 27. 8635 [01:55.10]   177812 [39:30.62]no   no  2
TOTAL  186446 [41:25.71](audio only)

Ripping from sector   0 (track  0 [0:00.00])
  to sector  186446 (track 27 [1:55.09])

outputting to track00.cdda.wav


-- 
Joe Sotham

praxis makes Perfect.
- Meister Eckhart
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Any way to stop a remote box gone crazy?

2003-07-23 Thread sedwards
Quoting [EMAIL PROTECTED]: 
 
> On Wed, Jul 23, 2003 at 03:28:38PM -0600 or thereabouts, 
> [EMAIL PROTECTED] wrote: 
> >   
> > I get the same Segmentation fault when I try to run dmesg.  I'm using 
> the  
> > bash shell.  Oddly enough I can run sh though.  Another odd thing if I 
> try  
> > to use cat with bash I get:  
> >   
> > -bash: cat: command not found  
> >   
> > but I get this if I run cat from sh:  
> >   
> > cat: no such device or address  
>  
> Wild guess: do you have LD_PRELOAD set? Quick test: 
> unset LD_PRELOAD 
> cat /dev/null 
>  
> -- Josh 
>  
 
I love computers, they have such a strange sense of humor.  ;-) 
 
This is what happened: 
 
[EMAIL PROTECTED]:sedwards$ unset LD_PRELOADConnection to 
itsallgoodradio.net closed by remote host. 
Connection to itsallgoodradio.net closed. 
[EMAIL PROTECTED] sedwards]$ ssh itsallgoodradio.net 
ssh_exchange_identification: Connection closed by remote host 
 
Is there anything besides dmesg that I should check when someone gets to 
the console (assuming they can login at the console), before rebooting? 
 
Thanks 
  -Scott 
 
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Any way to stop a remote box gone crazy?

2003-07-23 Thread Rus Foster
>
> cd seems to work (I can cd to directories that I know exist, but get an
> error if I try to cd to a directory that doesn't), but echo always just
> returns *
>

hmm strange...it could be the shell as echo * on mine does and ls

Rus

-- 
www: http://jvds.com   | Virtual Servers from just $15/mo
MSNM: [EMAIL PROTECTED] | Totally Customizable Technology
e: [EMAIL PROTECTED]   | FreeBSD & Linux
   10% donation to FreeBSD.org on each purchase
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Any way to stop a remote box gone crazy?

2003-07-23 Thread sedwards
Quoting Rus Foster <[EMAIL PROTECTED]>: 
 
> On Wed, 23 Jul 2003 [EMAIL PROTECTED] wrote: 
>  
>  
> Try 
>  
> cd / 
> echo * 
>  
> Rgds 
>  
> Rus 
>  
 
cd seems to work (I can cd to directories that I know exist, but get an 
error if I try to cd to a directory that doesn't), but echo always just 
returns * 
 
-Scott 
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Huge load average on mail server

2003-07-23 Thread John Fox
I recently became responsible for our mail server, and lately, the load
average on the thing has been running consistently high, in mid-20's to
mid-30's.  And at the same time, sendmail has become extremely sluggish
in terms of responding to connections on port 25.

There's got to be a bottleneck somewhere, but my experience leaves me
ill-equipped to seek it out.

What procedures would folks recommend for me to follow in order to try and
determine the problem?

Thank you,

john
-- 
+---+
| John Fox <[EMAIL PROTECTED]> |System Administrator   | InfoStructure   |
+---+
|  "The people and friends that we have lost, the dreams that have faded... |
|  never forget them."  -- Yuna, Final Fantasy X|
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Any way to stop a remote box gone crazy?

2003-07-23 Thread oremanj
On Wed, Jul 23, 2003 at 03:28:38PM -0600 or thereabouts, [EMAIL PROTECTED] wrote:
>  
> I get the same Segmentation fault when I try to run dmesg.  I'm using the 
> bash shell.  Oddly enough I can run sh though.  Another odd thing if I try 
> to use cat with bash I get: 
>  
> -bash: cat: command not found 
>  
> but I get this if I run cat from sh: 
>  
> cat: no such device or address 

Wild guess: do you have LD_PRELOAD set? Quick test:
unset LD_PRELOAD
cat /dev/null

-- Josh

>  
> Thanks 
>   -Scott 
>  
>  
> Quoting Rus Foster <[EMAIL PROTECTED]>: 
>  
> > On Wed, 23 Jul 2003 [EMAIL PROTECTED] wrote: 
> >  
> > > 
> > > Hello I have a remote machine running FreeBSD 4.8 that runs my 
> > internet 
> > > radio station (http://www.itsallgoodradio.com) and it has gone wacky.  
> > It 
> > > will be several hours before anyone can get to it to reboot it.  I 
> have 
> > a 
> > > ssh login prompt that is still live, but anytime I try to execute a 
> > > command I get either a Segmentation Fault or if I try to "su" I get an 
> > > Abort trap.  If I try to ssh into it now I get: 
> > > 
> > > ssh_exchange_identification: Connection closed by remote host 
> > > 
> >  
> > Hi, 
> > OK can you run dmesg at all? I guess you can. Which shell are you 
> > running 
> > as you might be able to use some of the builtin commands 
> >  
> >  
> > Cheers 
> >  
> > Rus 
> >  
> > ___ 
> > [EMAIL PROTECTED] mailing list 
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions 
> > To unsubscribe, send any mail to 
> > "[EMAIL PROTECTED]" 
> >  
>  
>  
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Any way to stop a remote box gone crazy?

2003-07-23 Thread Rus Foster
On Wed, 23 Jul 2003 [EMAIL PROTECTED] wrote:

>
> I get the same Segmentation fault when I try to run dmesg.  I'm using the
> bash shell.  Oddly enough I can run sh though.  Another odd thing if I try
> to use cat with bash I get:
>
> -bash: cat: command not found
>
> but I get this if I run cat from sh:
>
> cat: no such device or address
>
> Thanks
>   -Scott
>
>

Try

cd /
echo *

Rgds

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


Re: Any way to stop a remote box gone crazy?

2003-07-23 Thread sedwards
 
I get the same Segmentation fault when I try to run dmesg.  I'm using the 
bash shell.  Oddly enough I can run sh though.  Another odd thing if I try 
to use cat with bash I get: 
 
-bash: cat: command not found 
 
but I get this if I run cat from sh: 
 
cat: no such device or address 
 
Thanks 
  -Scott 
 
 
Quoting Rus Foster <[EMAIL PROTECTED]>: 
 
> On Wed, 23 Jul 2003 [EMAIL PROTECTED] wrote: 
>  
> > 
> > Hello I have a remote machine running FreeBSD 4.8 that runs my 
> internet 
> > radio station (http://www.itsallgoodradio.com) and it has gone wacky.  
> It 
> > will be several hours before anyone can get to it to reboot it.  I 
have 
> a 
> > ssh login prompt that is still live, but anytime I try to execute a 
> > command I get either a Segmentation Fault or if I try to "su" I get an 
> > Abort trap.  If I try to ssh into it now I get: 
> > 
> > ssh_exchange_identification: Connection closed by remote host 
> > 
>  
> Hi, 
> OK can you run dmesg at all? I guess you can. Which shell are you 
> running 
> as you might be able to use some of the builtin commands 
>  
>  
> Cheers 
>  
> Rus 
>  
> ___ 
> [EMAIL PROTECTED] mailing list 
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions 
> To unsubscribe, send any mail to 
> "[EMAIL PROTECTED]" 
>  
 
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: OpenSSH 3.6.1 support in RELENG_5_0?

2003-07-23 Thread Dan Nelson
In the last episode (Jul 23), Darren Spruell said:
> I just updated from 5.0 release per the RELENG_5_0 tag. I had
> expected that the source tree would then contain openssh-3.6.1p but
> after a make installworld I see that it is still at 'OpenSSH_3.5p1
> FreeBSD-20021029' (according to a scanssh query.)
> 
> Should I be seeing 3.6.1 or is it not in the tree?

RELENG_5_0 is the branch for people that are running 5.0 on production
systems and only want security patches.  I doubt RELENG_5_0 has many
differences from RELENG_5_0_0_RELEASE.  You probably want to track
either HEAD or RELENG_5_1, since openssh 3.6.1 got imported before
FreeBSD 5.1 was released.  Or if you want to stick with 5.0, install
the openssh port.

$ uname -r
5.1-CURRENT
$ /usr/bin/ssh -V
OpenSSH_3.6.1p1 FreeBSD-20030423, SSH protocols 1.5/2.0, OpenSSL 0x0090701f
$ _

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


Re: HP or Compaq servers.

2003-07-23 Thread Grzegorz Czaplinski
On Wed, Jul 23, 2003 at 10:21:03PM +0200, Olaf Hoyer wrote:
> > Hi there!
> > I have done the page. Here is the link:
> > http://prioris.mini.pw.edu.pl/~gregory/FreeBSD/
> >
> > Anyone who wants to share his/her experience is more than welcome the
> > send me the hardware spec and few words on experience.
> >
> > I have few HP servers, three Sun workstations.
> > I guess we need Dell, IBM, and ?. :)
> >
> 
> Fujitsu-Siemens is sometimes quite popular, and the servers are quite
> reasonable.
> 
> (Typing this mail from an old Primergy 351, 200MHz)

Good point! I may have an access to Fujitsu-Siemens' servers in a very
near future. ;)

Cheers,
gregory
--
Grzegorz Czaplinski 
"The Power to Serve, Right for the Power Users!" - http://www.FreeBSD.org/
 Fingerprint: EB77 E19D CFA2 5736 810F  847C A70F A275 2489 469F
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


OpenSSH 3.6.1 support in RELENG_5_0?

2003-07-23 Thread Darren Spruell
Greetz,

I just updated from 5.0 release per the RELENG_5_0 tag. I had expected 
that the source tree would then contain openssh-3.6.1p but after a make 
installworld I see that it is still at 'OpenSSH_3.5p1 FreeBSD-20021029' 
(according to a scanssh query.)

Should I be seeing 3.6.1 or is it not in the tree?

TIA

--
Darren Spruell
Sento I.S. Department
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: SMC - 2402W wireless PCI ethernet card

2003-07-23 Thread Alin-Adrian Anton
Scott Mitchell wrote:

On Sun, Jul 20, 2003 at 10:52:51PM +0300, Alin-Adrian Anton wrote:
 

Hi guys,

anyone knows if this "*SMC - 2402W" *is supported by FreeBSD? I am going 
to buy 2 x wireless cards. If any other are better supported or one 
knows that they work well, please tell me, so I can buy the right one.

Thanks for all,

Alin.
   

Hi Alin,

I'm pretty sure the answer is no... The wi(4) driver supports most cards
with common 802.11b chipsets, but this device provides some nonstandard
22Mbps mode with a TI chipset that I doubt is supported in FreeBSD.
The wi(4) manpage contains a reasonable list of supported chipsets and
cards, although some of these are probably hard to find these days.
Cheers,

	Scott
 

That is true, I tested and it doesn't. Pretty hard to find the ones 
listed in hardware compatibility.

Thanks.

Alin.

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


Re: search & replace on multiple files

2003-07-23 Thread oremanj
On Wed, Jul 23, 2003 at 01:20:40PM -0700 or thereabouts, [EMAIL PROTECTED] wrote:
> On Wed, Jul 23, 2003 at 10:56:19AM -0400 or thereabouts, Scott I. Remick wrote:
> > Hello... I'm trying to figure out a way to pull off the following:
> > 
> > I have a subdir with many different sorts of text files (some nested in
> > additional subdirs, so recursion would be necessary) that need to have a
> > search & replace done on them. What's a quick way to script a global search
> > & replace on many/all text files in nested subirs? 
> 
> Hard way (tested):
> 
> #!/usr/bin/env perl
> 
> use File::Find;
> 
> find sub {
> -f $_ or return;
> my $file = $_;
> my $filebak = "${file}~";
> rename $file, $filebak or die "Can't rename $file to $filebak: $!\n";
> open FILEBAK, $filebak or die "Can't open $filebak: $!\n";
> open FILE, ">$file" or die "Can't write to $file: $!\n";
> while () {
> 
> # Replace OLD with the "search for" -- a regexp
> # Replace NEW with the "replace with"
> s/OLD/NEW/g;
> 
> print FILE $_;
> }
> }, ".";
> 
> # end replace.pl
> 
> Easy way (not tested):
> 
> find . -type f |   perl -pi~ -e 's/OLD/NEW/g;'
   ^ OOPS, sorry, there should be an `xargs' here

-- Josh

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


Re: HP or Compaq servers.

2003-07-23 Thread Olaf Hoyer
On Wed, 23 Jul 2003, Grzegorz Czaplinski wrote:

> On Tue, Jul 15, 2003 at 08:57:17PM +0200, Grzegorz Czaplinski wrote:
> > > >That would be good to have a webpage with server configurations that run
> > > >under FreeBSD. Don't you think so?
> > >
> > > Keeping the list of supported individual components up-to-date is a
> > > significant challenge.
> > >
> > > Trying to keep a list of complete system configurations available is
> > > exponentially more difficult, but you're welcome to try.  You first might
> > > want to compute the number of permutations from choosing, say, 6 components
> > > per system out of 1000 components.
> > >
> >
> > I hope everyone will help to keep this list up to date. I hope you too.
> > Components are listed in "supported hardware" but I will ask people to
> > send me the updates. I will do it as soon as I get my new servers done.
> >
>
>
> Hi there!
> I have done the page. Here is the link:
> http://prioris.mini.pw.edu.pl/~gregory/FreeBSD/
>
> Anyone who wants to share his/her experience is more than welcome the
> send me the hardware spec and few words on experience.
>
> I have few HP servers, three Sun workstations.
> I guess we need Dell, IBM, and ?. :)
>

Fujitsu-Siemens is sometimes quite popular, and the servers are quite
reasonable.

(Typing this mail from an old Primergy 351, 200MHz)

Olaf



-- 
Olaf Hoyer[EMAIL PROTECTED]
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)

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


Re: search & replace on multiple files

2003-07-23 Thread oremanj
On Wed, Jul 23, 2003 at 10:56:19AM -0400 or thereabouts, Scott I. Remick wrote:
> Hello... I'm trying to figure out a way to pull off the following:
> 
> I have a subdir with many different sorts of text files (some nested in
> additional subdirs, so recursion would be necessary) that need to have a
> search & replace done on them. What's a quick way to script a global search
> & replace on many/all text files in nested subirs? 

Hard way (tested):

#!/usr/bin/env perl

use File::Find;

find sub {
-f $_ or return;
my $file = $_;
my $filebak = "${file}~";
rename $file, $filebak or die "Can't rename $file to $filebak: $!\n";
open FILEBAK, $filebak or die "Can't open $filebak: $!\n";
open FILE, ">$file" or die "Can't write to $file: $!\n";
while () {

# Replace OLD with the "search for" -- a regexp
# Replace NEW with the "replace with"
s/OLD/NEW/g;

print FILE $_;
}
}, ".";

# end replace.pl

Easy way (not tested):

find . -type f | perl -pi~ -e 's/OLD/NEW/g;'

-- Josh

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


Re: search & replace on multiple files

2003-07-23 Thread Dan Nelson
In the last episode (Jul 23), Scott I. Remick said:
> Hello... I'm trying to figure out a way to pull off the following:
> 
> I have a subdir with many different sorts of text files (some nested in
> additional subdirs, so recursion would be necessary) that need to have a
> search & replace done on them. What's a quick way to script a global search
> & replace on many/all text files in nested subirs? 

find . -type f | xargs sed -i.bak "s/oldtext/newtext/g"

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


Mozilla Thunderbird under Linux compatibility?

2003-07-23 Thread David Gerard
I'm trying to run a current Thunderbird build for Linux under compatibility. 
It's quitting with:

[EMAIL PROTECTED]:~ $ ./thunderbird/thunderbird
./thunderbird/thunderbird-bin: error while loading shared libraries: 
libgtk-x11-2.0.so.0: cannot open shared object file: No such file or 
directory
[EMAIL PROTECTED]:~ $

I have installed linux_base-6.1, linux_base-6.1_1 and linux_base-7.1_3. The 
last of these was enough to make Mozilla Firebird work properly ...

Anyone else gotten Thunderbird to work?

(I'd just use Mozilla 1.4 or 1.5a except that I can't run that and Firebird 
simultaneously ...)


- d.


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


search & replace on multiple files

2003-07-23 Thread Scott I. Remick
Hello... I'm trying to figure out a way to pull off the following:

I have a subdir with many different sorts of text files (some nested in
additional subdirs, so recursion would be necessary) that need to have a
search & replace done on them. What's a quick way to script a global search
& replace on many/all text files in nested subirs? 

Thanks!

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


Dead hard drive I think

2003-07-23 Thread twig les
Hey *,

A couple weeks ago I posted some error code and someone said it
was probably a dying hard drive.  I believe he was correct and
that the drive is actively getting worse (it's in a "lights-out"
center in another state so I wish I could poke at it but I
can't).  I'm hoping someone can confirm that it is the hard
drive that needs to be replaced since I will have to tell
management what to buy (and accounting is CHEAP) and it would
really be embarrassing to have to order a second piece of
hardware.  Basically these are the messages I found in
/var/log/messges and dmesg (da0 is the first SCSI drive).  

==

Jul 23 10:40:31 mas02 /kernel: (da0:ahc0:0:0:0): Invalidating
pack
Jul 23 10:41:01 mas02 last message repeated 454274 times
Jul 23 10:41:27 mas02 last message repeated 383695 times
Jul 23 10:41:28 mas02 /kernel: (da0:ahc0:0:0:0): SCB 0x2a -
timed out
Jul 23 10:41:28 mas02 /kernel: ahc0: Dumping Card State while
idle, at SEQADDR 0x8
Jul 23 10:41:28 mas02 /kernel: ACCUM = 0x0, SINDEX = 0x38,
DINDEX = 0xe4, ARG_2 = 0x0
Jul 23 10:41:28 mas02 /kernel: HCNT = 0x0 SCBPTR = 0xa
Jul 23 10:41:28 mas02 /kernel: SCSISEQ = 0x12, SBLKCTL = 0xa
Jul 23 10:41:28 mas02 /kernel: DFCNTRL = 0x0, DFSTATUS = 0x89
Jul 23 10:41:28 mas02 /kernel: LASTPHASE = 0x1, SCSISIGI = 0x0,
SXFRCTL0 = 0x80
Jul 23 10:41:28 mas02 /kernel: SSTAT0 = 0x0, SSTAT1 = 0x8
Jul 23 10:41:28 mas02 /kernel: SCSIPHASE = 0x0
Jul 23 10:41:28 mas02 /kernel: STACK == 0x3, 0x108, 0x160, 0x0
Jul 23 10:41:28 mas02 /kernel: SCB count = 70
Jul 23 10:41:28 mas02 /kernel: Kernel NEXTQSCB = 30
Jul 23 10:41:28 mas02 /kernel: Card NEXTQSCB = 30
Jul 23 10:41:28 mas02 /kernel: QINFIFO entries: 
Jul 23 10:41:28 mas02 /kernel: Waiting Queue entries: 
Jul 23 10:41:28 mas02 /kernel: Disconnected Queue entries: 3:42 
Jul 23 10:41:28 mas02 /kernel: QOUTFIFO entries: 
Jul 23 10:41:28 mas02 /kernel: Sequencer Free SCB List: 10 19 28
7 29 2 18 22 26 31 9 24 6 15 4 21 27 0 12 30 8 14 16 25 13 11 17
20 23 5 1 
Jul 23 10:41:28 mas02 /kernel: Sequencer SCB Info: 0(c 0x60, s
0x17, l 0, t 0xff) 1(c 0x60, s 0x7, l 0, t 0xff) 2(c 0x60, s
0x17, l 0, t 0xff) 3(c 0x66, s 0x7, 
l 0, t 0x2a) 4(c 0x60, s 0x17, l 0, t 0xff) 5(c 0x60, s 0x17, l
0, t 0xff) 6(c 0x60, s 0x17, l 0, t 0xff) 7(c 0x62, s 0x17, l 0,
t 0xff) 8(c 0x60, s 0x17, l 0, 
t 0xff) 9(c 0x60, s 0x17, l 0, t 0xff) 10(c 0x60, s 0x17, l 0, t
0xff) 11(c 0x60, s 0x17, l 0, t 0xff) 12(c 0x60, s 0x17, l 0, t
0xff) 13(c 0x60, s 0x17, l 0, t
 0xff) 14(c 0x60, s 0x17, l 0, t 0xff) 15(c 0x60, s 0x17, l 0, t
0xff) 16(c 0x60, s 0x17, l 0, t 0xff) 17(c 0x60, s 0x7, l 0, t
0xff) 18(c 0x60, s 0x17, l 0, t 
0xff) 19(c 0x62, s 0x17, l 0, t 0xff) 20(c 0x60, s 0x17, l 0, t
0xff) 21(c 0x60, s 0x17, l 0, t 0xff) 22(c 0x60, s 0x17, l 0, t
0xff) 23(c 0x60, s 0x7, l 0, t 0
xff) 24(c 0x60, s 0x17, l 0, t 0xff) 25(c 0x60, s 0x17, l 0, t
0xff) 26(c 0x60, s 0x17, l 0, t 0xff) 27(c 0x60, s 0x17, l 0, t
0xff) 28(c 0x60, s 0x17, l 0, t 0
xff) 29(c 0x62, s 0x17, l 0, t 0xff) 30(c 0x60, s 0x17, l 0, t
0xff) 31(c 0x60, s 0x17
Jul 23 10:41:28 mas02 /kernel: 0xff) 
Jul 23 10:41:28 mas02 /kernel: Pending list: 42(c 0x62, s 0x7, l
0)
Jul 23 10:41:28 mas02 /kernel: Kernel Free SCB list: 56 3 36 61
32 60 22 21 23 15 12 19 62 67 8 14 13 9 55 69 39 52 18 64 50 25
26 35 34 31 28 29 24 58 7 38 4 5
9 43 2 49 5 16 40 0 68 17 57 65 6 20 37 44 66 53 11 54 41 47 45
63 27 10 46 1 33 51 48 
Jul 23 10:41:28 mas02 /kernel: sg[0] - Addr 0xcebc000 : Length
4096
Jul 23 10:41:28 mas02 /kernel: sg[1] - Addr 0xcefd000 : Length
4096
Jul 23 10:41:28 mas02 /kernel: sg[2] - Addr 0xcebe000 : Length
4096
Jul 23 10:41:28 mas02 /kernel: sg[3] - Addr 0xcedf000 : Length
4096
Jul 23 10:41:28 mas02 /kernel: (da0:ahc0:0:0:0): Queuing a BDR
SCB
Jul 23 10:41:28 mas02 /kernel: (da0:ahc0:0:0:0): no longer in
timeout, status = 34a
Jul 23 10:41:31 mas02 last message repeated 44141 times
Jul 23 10:41:31 mas02 /kernel: (da0:ahc0:0:0:0): Invalidating pack

=
---
Emo is what happens when the glee club goes punk.   
---

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: set user-id

2003-07-23 Thread Dan Nelson
In the last episode (Jul 23), Gerald S. Stoller said:
> 
> 
> 
> >From: Dan Nelson <[EMAIL PROTECTED]>
> >To: Ryan Thompson <[EMAIL PROTECTED]>
> >CC: "Gerald S. Stoller" <[EMAIL PROTECTED]>, [EMAIL PROTECTED],   
> >FreeBSD Questions <[EMAIL PROTECTED]>
> >Subject: Re: set user-id
> >Date: Tue, 22 Jul 2003 14:37:29 -0500
> >
> >In the last episode (Jul 22), Ryan Thompson said:
> >> If you *really* want to have suid scripts, your binary wrapper idea is
> >> quite a common trick. Don't get fancy with it, though. A one-liner to
> >> execve(2) should really be all you need. Either that, or re-code the
> >> whole thing in C (or some other compiled language). C can introduce
> >> insecurities of its own, but at least you'd (arguably) have put them
> >> there yourself. :-)
> >
> >I use sudo for stuff like this.  I add a line like this in sudoers:
> >
>I don't understand the next line!
> >ALL ALL = NOPASSWD: /usr/local/bin/thescript
>  ??? Setting a variable?? Okay, invoking the script

The sudoers file has a really weird syntax, but what that means is that
any user (the first ALL keyword) may run "thescript" as root on any
machine (the second ALL keyword; this allows the same file to be
replicated to multiple machines) without a password prompt (the
NOPASSWD: keyword).

> >>Well, why don't you just chmod 4755 /bin/ksh, then. :-D
> with a slight change, I copied  ksh  to  /bin  with the name  kshroot , 
> made sure
> that the group on it is the group of  root , and then did
>  chmod 4750  /bin/kshroot
> Thus only the users who are 'close to' root (e.g., generally users who have 
> the
> root  password so they can become  root  if necessary) can run this shell 
> whenever
> they need to act as  root , and can use it in scripts (first line: 
> #!/bin/kshroot).  Again
> note that these scripts can only be invoked by users who are 'close to' 
> root.  For the
> other users, I'd have to use a sudo.

That will work, too.

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


Re: Installing FreeBSD onto Vinum-volumes?

2003-07-23 Thread oremanj
On Wed, Jul 23, 2003 at 03:51:28PM +0200 or thereabouts, Eivind Olsen wrote:
> Hello.
> 
> I'm about to install a new machine which will have 2 IDE-disks. I'd like to 
> mirror some volumes between those disks while other volumes should be 
> striped.
> I'd like to do this with FreeBSD 5.1.
> 
> There's no data on the disks that I want/have to keep. Is it at all 
> possible to configure Vinum and then install FreeBSD or will I have to 
> install FreeBSD first and then "convert" to Vinum-volumes by manually 
> editing the disklabel (with bsdlabel), calculating offsets etc.?
> 
> In other words, is there an easy way to do this? :)

Maybe. Either you get to do it the hard way, or you get to use beta
software for it :-)

> 
> (I already tried installing FreeBSD and then "converting" to Vinum but 
> failed miserably and am now looking for an easy way out.)

I think Mondo  might do the job
here. Yeah, I'm biased (I ported the thing to BSD :-), but it
seriously might work.  Note that the FreeBSD port is beta, and the
links on the downloads page for it are BROKEN. [*don't use them --
use CVS*]

Install system to one HD. Make sure you have the ports collection,
CVS, and the devtools. Install these ports:
+ devel/gmake
+ devel/newt
+ lang/perl
+ shells/bash
+ sysutils/afio
+ sysutils/cdrtools

$ export CVSROOT=:pserver:[EMAIL PROTECTED]:/mondorescue
$ cvs login
Password: 
$ cvs checkout mindi-fbsd
[snip]
$ cvs checkout mondo-devel
[snip]
$ unset CVSROOT

$ su
Password:
# cd mindi-fbsd && bash install.sh && cd ..
# cd mondo-fbsd && ./configure && make && make install && cd ..
# mondoarchive && : follow prompts && reboot && : insert CD && : interactive mode
[yes, you CAN type that command :-]

If it asks you whether to backup the MBR raw, say yes.

Make sure you set up some Vinum partitions in the mountlist
editor. Add some partitions type + mountpoint "raid", put in
/dev/vinum/something as the device (replace "something" with the
volume name you want, of course), press OK, edit that entry, select
mountpoint, press RAID.., follow prompts. Delete all non-RAID
partitions, except maybe a /boot partition or /.

Note that the RAID editor is a bit suboptimal (only uses one subdisk
per partition). Still, it works. 

Do you want to partition your disks? Yes.
Do you want to format your disks? Yes.
Do you want to restore everything? Yes.

If it doesn't work, and you feel like it, email me the problem, along
with /var/log/mondo-archive.log.

HTH,
-- Josh

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


Re: Installing FreeBSD onto Vinum-volumes?

2003-07-23 Thread Kirk Strauser
At 2003-07-23T18:21:42Z, Eivind Olsen <[EMAIL PROTECTED]> writes:

> Are you able to have a mirrored root-device (/) with this approach? Or
> will you end up with having a single copy of / on one drive?

I end up with a single copy of '/'.  However, I partition (both,all) drives
identically, so that each has a 200MB-or-so slice at the beginning.  I use
rsync from a cron job to make backups of '/' to the starting slice of each
drive.

The reasons I do this are that:

1) Any old FreeBSD boot floppy/CD can read the "mirrors" of '/' in the event
   that the root drive dies, regardless of the state of vinum.  Makes
   disaster recovery that much easier.

2) You get a little bit of versioning for free.  Accidentally overwrite
   /etc/master.passwd with mergemaster?  Just grab the copy from
   /rootbackup.

>> Out of curiosity, what offsets have you had to calculate?

> I've read a bit of a chapter from the 4th edition of The Complete FreeBSD:
>  (or, as text
> ).  It suggests to install the
> swap-partition first on the drive, setup a slice for vinum to cover the
> entire drive and then run bsdlabel and change the offset and size for the
> swap and vinum partitions.

Weird.  I've never bothered with any of that.  I always just call "create"
with:

  sd length 0 drive myDrive1

and let vinum calculate the correct sizes.
-- 
Kirk Strauser


pgp0.pgp
Description: PGP signature


Re: set user-id

2003-07-23 Thread Gerald S. Stoller



From: Dan Nelson <[EMAIL PROTECTED]>
To: Ryan Thompson <[EMAIL PROTECTED]>
CC: "Gerald S. Stoller" <[EMAIL PROTECTED]>, [EMAIL PROTECTED],   
FreeBSD Questions <[EMAIL PROTECTED]>
Subject: Re: set user-id
Date: Tue, 22 Jul 2003 14:37:29 -0500

In the last episode (Jul 22), Ryan Thompson said:
> If you *really* want to have suid scripts, your binary wrapper idea is
> quite a common trick. Don't get fancy with it, though. A one-liner to
> execve(2) should really be all you need. Either that, or re-code the
> whole thing in C (or some other compiled language). C can introduce
> insecurities of its own, but at least you'd (arguably) have put them
> there yourself. :-)
I use sudo for stuff like this.  I add a line like this in sudoers:

   I don't understand the next line!
ALL ALL = NOPASSWD: /usr/local/bin/thescript
 ??? Setting a variable?? Okay, invoking the script
and put this it the top of thescript:

#! /bin/sh
if [ $(id -u) -ne 0 ] ; then
  if [ "$TRYINGSUDO" = "1" ] ; then
echo "Cannot get admin priviledges!  Exiting"
exit 1
  else
export TRYINGSUDO=1
exec sudo $0 "$@"
  fi
fi
--
Dan Nelson
[EMAIL PROTECTED]
   I tried a suggestion by Ryan (slipping in something from his email)
Well, why don't you just chmod 4755 /bin/ksh, then. :-D
with a slight change, I copied  ksh  to  /bin  with the name  kshroot , made 
sure
that the group on it is the group of  root , and then did
 chmod 4750  /bin/kshroot
Thus only the users who are 'close to' root (e.g., generally users who have 
the
root  password so they can become  root  if necessary) can run this shell 
whenever
they need to act as  root , and can use it in scripts (first line: 
#!/bin/kshroot).  Again
note that these scripts can only be invoked by users who are 'close to' 
root.  For the
other users, I'd have to use a sudo.

_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus

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


Re: BIND 9

2003-07-23 Thread Jeremy Gaddis
On Wed, 2003-07-23 at 13:45, John Morgan Salomon wrote:
> Unless you have a different instances listening on different interfaces/IPs
> as master/slave for the same domain if you only have one machine--some
> registrars will not permit master & slave on the same IP. 

Isn't the requirement of providing two nameservers when registering
a domain to ensure redundancy in case one is down/unreachable/etc.?

Having two instances of BIND (bound to separate IP addresses) on
a single machine throws this redudancy right out the window.

If one only has one physical nameserver, there are web sites devoted
to matching up people who agree to provide secondary DNS for each
other.  This has the added benefit of having your nameservers greatly
separated (both physically and network wise).

j.

-- 
Jeremy L. Gaddis   <[EMAIL PROTECTED]>   

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


Re: BIND 9

2003-07-23 Thread Chuck Swiger
John Morgan Salomon wrote:
Unless you have a different instances listening on different interfaces/IPs
as master/slave for the same domain if you only have one machine--some
registrars will not permit master & slave on the same IP.
Or can BIND9 handle this in a single instance?
The requirement to have seperate nameservers is for redundancy: you are expected 
to actually have two real, seperate machines on two different IP addresses, so 
that DNS continues to work even if one nameserver fails.

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


Re: make world aborts with Operation not permitted

2003-07-23 Thread oremanj
On Wed, Jul 23, 2003 at 10:36:56AM -0700 or thereabouts, David Benfell wrote:
> Hello all,
> 
> I've been playing with the bleeding edge stuff.  And so, of course,
> I'm bleeding.
> 
> System is FREEBSD 5.1-CURRENT.  make world aborts at:
> 
> install -s -o root -g wheel -m 444   -fschg  libcrypt.so.2 /usr/lib
> install: /usr/lib/libcrypt.so.2: Operation not permitted
> *** Error code 71
> 
> Stop in /usr/src/lib/libcrypt.
> *** Error code 1
> 
> Stop in /usr/src/lib.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> 
> (apologies if I mistyped something.)
> 
> This is off of updates from last night and this morning.

Your securelevel is set higher than 0. Please reboot into single-user mode for the
installworld. (You won't have to rebuild anything. Hopefully. As long as you make
installworld not just world.)

-- Josh

> 
> -- 
> David Benfell, LCP
> [EMAIL PROTECTED]
> ---
> Resume available at http://www.parts-unknown.org/resume.html


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


Re: BIND 9

2003-07-23 Thread Dan Nelson
In the last episode (Jul 23), John Morgan Salomon said:
> Unless you have a different instances listening on different
> interfaces/IPs as master/slave for the same domain if you only have
> one machine--some registrars will not permit master & slave on the
> same IP.
> 
> Or can BIND9 handle this in a single instance?

You can use the transfer-source keyword to force named to use a
particular IP address when requesting zone transfers.

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


Re: BIND 9

2003-07-23 Thread Kirk Strauser
At 2003-07-23T17:17:41Z, Jeremy Gaddis <[EMAIL PROTECTED]> writes:

> No, it's generally considered {easier,better,more manageable,...} to only
> have one instance of BIND.  BIND can be master for some domains and slave
> for others, so there really is no need.

I agree completely.  That question was pointed at the OP; I was trying to
see if there was something they were trying to accomplish that was out of
the ordinary.
-- 
Kirk Strauser


pgp0.pgp
Description: PGP signature


Re: BIND 9

2003-07-23 Thread Kirk Strauser
At 2003-07-23T18:45:25Z, John Morgan Salomon <[EMAIL PROTECTED]> writes:

> Unless you have a different instances listening on different
> interfaces/IPs as master/slave for the same domain if you only have one
> machine--some registrars will not permit master & slave on the same IP. Or
> can BIND9 handle this in a single instance?

Do said registrars actually verify that one IP is claiming to be
authoritative while the other is non-authoritative?
-- 
Kirk Strauser


pgp0.pgp
Description: PGP signature


Re: BIND 9

2003-07-23 Thread John Morgan Salomon
Unless you have a different instances listening on different interfaces/IPs
as master/slave for the same domain if you only have one machine--some
registrars will not permit master & slave on the same IP. 

Or can BIND9 handle this in a single instance?

Cheers,

-John



Jeremy Gaddis wrote:

On Tue, 2003-07-22 at 23:33, Kirk Strauser wrote:
 

At 2003-07-23T03:55:47Z, Tony Sterrett <[EMAIL PROTECTED]> writes:

   

I'm trying to configure both a master and slave DNS on the same
machine. My approach is to run the master by setting named_enable="YES"
and it will use the config file in /etc/named. To start the slave I will
In rc.local and it would use the config files in /etc/named/slave. Does
this seems ok? Is there a better way.
 

This seems to come up every now and then.  Before we start, is there any
reason you want to have two seperate named process running, instead of
having one process serving as master to some domains and slave to others?
   

No, it's generally considered {easier,better,more manageable,...} to
only have one instance of BIND.  BIND can be master for some domains
and slave for others, so there really is no need.
j.

 

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


Re: Mozilla and long time in resolving Hostnames

2003-07-23 Thread Mica Telodico
 --- Matthew Seaman <[EMAIL PROTECTED]>
ha scritto: > On Tue, Jul 22, 2003 at 10:04:30PM
+0200, Mica
ehi , I've tried the last version of Mozilla (1.4)
installed via Ports updated with CVSUP , and It works
perfectly with INET6 enabled . I think that mozilla
team have solved ;)

Bye

Marcello





> Telodico wrote:
>  
> > This is a screen with mozilla working:
> 
> > 62.211.128.246.1246 > 80.20.6.36.domain:  23267+
> ?
> > www.mozilla.org. (33)
> > 22:03:23.098096 PPPoE  [ses 0xd4eb]
> > 62.211.128.246.1247 > 212.216.112.112.domain: 
> 23267+
> > ? www.mozilla.org. (33)
> > 22:03:28.108364 PPPoE  [ses 0xd4eb]
> > 62.211.128.246.hermes > 80.20.6.36.domain:
> > 23267+ ? www.mozilla.org. (33)
> 
> I see quite a few  lookups, but no responses. 
> It seems to be a
> problem with the nameservers you are using:
> 
> Compare this  lookup against 80.20.6.36:
> 
> happy-idiot-talk:~:% dig @80.20.6.36
> www.mozilla.org IN 
> 
> ; <<>> DiG 8.3 <<>> @80.20.6.36 www.mozilla.org
> IN  
> ; (1 server found)
> ;; res options: init recurs defnam dnsrch
> ;; res_nsend to server 80.20.6.36  80.20.6.36:
> Operation timed out
> 
> With this A lookup:
> 
> happy-idiot-talk:~:% dig @80.20.6.36
> www.mozilla.org IN A
> 
> ; <<>> DiG 8.3 <<>> @80.20.6.36 www.mozilla.org
> IN A 
> ; (1 server found)
> ;; res options: init recurs defnam dnsrch
> ;; got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR,
> id: 4
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 2,
> AUTHORITY: 0, ADDITIONAL: 0
> ;; QUERY SECTION:
> ;;  www.mozilla.org, type = A, class = IN
> 
> ;; ANSWER SECTION:
> www.mozilla.org.0S IN CNAME
> gila.mozilla.org.
> gila.mozilla.org.   55m33s IN A
> 207.200.81.215
> 
> ;; Total query time: 48 msec
> ;; FROM: happy-idiot-talk.infracaninophile.co.uk
> to SERVER: 80.20.6.36  80.20.6.36
> ;; WHEN: Wed Jul 23 08:39:37 2003
> ;; MSG SIZE  sent: 33  rcvd: 68
> 
> Note that the nameserver of 212.216.112.112 responds
> correctly:
> 
> happy-idiot-talk:~:% dig @212.216.112.112
> www.mozilla.org IN 
> 
> ; <<>> DiG 8.3 <<>> @212.216.112.112
> www.mozilla.org IN  
> ; (1 server found)
> ;; res options: init recurs defnam dnsrch
> ;; got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR,
> id: 4
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 1,
> AUTHORITY: 1, ADDITIONAL: 0
> ;; QUERY SECTION:
> ;;  www.mozilla.org, type = , class = IN
> 
> ;; ANSWER SECTION:
> www.mozilla.org.50m50s IN CNAME 
> gila.mozilla.org.
> 
> ;; AUTHORITY SECTION:
> mozilla.org.28m8s IN SOA   
> meer.meer.net. hostmaster.meer.net. (
>
> 2003060101  ; serial
> 3H  
>; refresh
> 1H  
>; retry
> 1W  
>; expiry
> 30M )   
>; minimum
> 
> 
> ;; Total query time: 63 msec
> ;; FROM: happy-idiot-talk.infracaninophile.co.uk
> to SERVER: 212.216.112.112  212.216.112.112
> ;; WHEN: Wed Jul 23 08:43:03 2003
> ;; MSG SIZE  sent: 33  rcvd: 112
> 
> 
> Recommendations: 1) Complaint to your ISP or whoever
> it is that
> provides you nameservice via 80.20.6.36 (which looks
> like somebodies'
> home machine: host36-6.pool8020.interbusiness.it)
> Ask them if they can
> provide a standards compliant nameservice.
> 
> 2) Reorder the nameserver lines in /etc/resolv.conf
> so that:
> 
> nameserver 212.216.112.112
> 
> appears before
> 
> nameserver 80.20.6.36
> 
>   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
> 

> ATTACHMENT part 2 application/pgp-signature 
 

__
Yahoo! Mail: 6MB di spazio gratuito, 30MB per i tuoi allegati, l'antivirus, il filtro 
Anti-spam
http://it.yahoo.com/mail_it/foot/?http://it.mail.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


virtual pcm mixing

2003-07-23 Thread Jesse Guardiani
Howdy list,

Does anyone know if it's possible to mix virtual
PCM devices? (i.e. /dev/dsp0.1, /dev/dsp0.2, etc...)

I'm trying to run XMMS at a different volume level
than my KDE SFX volume level. XMMS is using /dev/dsp0.2
and KDE is using /dev/dsp0.3.

Thanks!

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


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


Re: Installing FreeBSD onto Vinum-volumes?

2003-07-23 Thread Eivind Olsen
--On 23. juli 2003 09:19 -0500 Kirk Strauser <[EMAIL PROTECTED]> wrote:
I've had great success with configuring an initial tiny partition as '/'
and doing a minimal installation (and I mean *minimal*, as in, there's
nothing else you can remove and still have it boot).  The first step
after booting the new system is then configuring vinum, adding volumes
for /usr, /var, and so on, and moving the (small!) amount of data from
the "physical" filesystem to their vinum counterparts.  Once that's up, I
do a more complete install with /stand/sysinstall.
Are you able to have a mirrored root-device (/) with this approach? Or will 
you end up with having a single copy of / on one drive?

Out of curiosity, what offsets have you had to calculate?
I've read a bit of a chapter from the 4th edition of The Complete FreeBSD: 
 (or, as text 
).
It suggests to install the swap-partition first on the drive, setup a slice 
for vinum to cover the entire drive and then run bsdlabel and change the 
offset and size for the swap and vinum partitions.

--
Regards / Hilsen
Eivind Olsen
<[EMAIL PROTECTED]>
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: HP or Compaq servers.

2003-07-23 Thread Grzegorz Czaplinski
On Tue, Jul 15, 2003 at 08:57:17PM +0200, Grzegorz Czaplinski wrote:
> > >That would be good to have a webpage with server configurations that run
> > >under FreeBSD. Don't you think so?
> > 
> > Keeping the list of supported individual components up-to-date is a 
> > significant challenge.
> > 
> > Trying to keep a list of complete system configurations available is 
> > exponentially more difficult, but you're welcome to try.  You first might 
> > want to compute the number of permutations from choosing, say, 6 components 
> > per system out of 1000 components.
> > 
> 
> I hope everyone will help to keep this list up to date. I hope you too.
> Components are listed in "supported hardware" but I will ask people to
> send me the updates. I will do it as soon as I get my new servers done.
> 


Hi there!
I have done the page. Here is the link:
http://prioris.mini.pw.edu.pl/~gregory/FreeBSD/

Anyone who wants to share his/her experience is more than welcome the
send me the hardware spec and few words on experience.

I have few HP servers, three Sun workstations.
I guess we need Dell, IBM, and ?. :)

Cheers,
gregory
--
Grzegorz Czaplinski 
"The Power to Serve, Right for the Power Users!" - http://www.FreeBSD.org/
 Fingerprint: EB77 E19D CFA2 5736 810F  847C A70F A275 2489 469F


pgp0.pgp
Description: PGP signature


setting up arson...help please!

2003-07-23 Thread sweetleaf
Anybody have arson working with a IDE Burner via SCSI emu in freebsd 5.1?

I added SCSI emulation to my kernel:

# ATA and ATAPI devices
device  ata
device  atadisk # ATA disk drives
device  atapicd # ATAPI CDROM drives
device  atapifd # ATAPI floppy drives
device  atapist # ATAPI tape drives
options ATA_STATIC_ID   #Static device numbering
Other apps such as gcombust and xcdroast work but i  cant seem to 
configure arson for the burner. Xcdroast recognized the drive upon 
startup, for gcombust i had to manually set the drive " 1,0,0". In arson 
it wont let me add any SCSI  devices such as 1,0,0 and when I press scan 
SCSI bus it turns up nothing. The only add button that works is IOCTL, 
so i tried acd0 and 1,0,0 but nothing.

anyways if anyone has this working i would appreciate the assistance.

Thanks, and have a great day all!!

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


Re: Any way to stop a remote box gone crazy?

2003-07-23 Thread Rus Foster
On Wed, 23 Jul 2003 [EMAIL PROTECTED] wrote:

>
> Hello I have a remote machine running FreeBSD 4.8 that runs my internet
> radio station (http://www.itsallgoodradio.com) and it has gone wacky.  It
> will be several hours before anyone can get to it to reboot it.  I have a
> ssh login prompt that is still live, but anytime I try to execute a
> command I get either a Segmentation Fault or if I try to "su" I get an
> Abort trap.  If I try to ssh into it now I get:
>
> ssh_exchange_identification: Connection closed by remote host
>

Hi,
OK can you run dmesg at all? I guess you can. Which shell are you running
as you might be able to use some of the builtin commands


Cheers

Rus

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


httpd -l and suexec error

2003-07-23 Thread Dave McCammon
Any pointers
FBSD 5.1 Release
Apache 1.3.28

type following command to view compiled modules
#httpd -l

and get-
Compiled-in modules:
  http_core.c
  mod_so.c
suexec: disabled; invalid wrapper
/usr/local/sbin/suexec
 
This is from a straight install of apache.
Shouldn't I be getting more info for installed
modules?


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


make world aborts with Operation not permitted

2003-07-23 Thread David Benfell
Hello all,

I've been playing with the bleeding edge stuff.  And so, of course,
I'm bleeding.

System is FREEBSD 5.1-CURRENT.  make world aborts at:

install -s -o root -g wheel -m 444   -fschg  libcrypt.so.2 /usr/lib
install: /usr/lib/libcrypt.so.2: Operation not permitted
*** Error code 71

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

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

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

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

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

Stop in /usr/src.

(apologies if I mistyped something.)

This is off of updates from last night and this morning.

-- 
David Benfell, LCP
[EMAIL PROTECTED]
---
Resume available at http://www.parts-unknown.org/resume.html


pgp0.pgp
Description: PGP signature


Any way to stop a remote box gone crazy?

2003-07-23 Thread sedwards
 
Hello I have a remote machine running FreeBSD 4.8 that runs my internet 
radio station (http://www.itsallgoodradio.com) and it has gone wacky.  It 
will be several hours before anyone can get to it to reboot it.  I have a 
ssh login prompt that is still live, but anytime I try to execute a 
command I get either a Segmentation Fault or if I try to "su" I get an 
Abort trap.  If I try to ssh into it now I get:  
 
ssh_exchange_identification: Connection closed by remote host 
 
The bad thing is that it is still streaming the same songs over and over 
(I hope the RIAA doesn't find out ;-). 
 
Does anybody have any ideas I could try to stop, kill, or reboot it before 
we can get to it physically? 
 
Thanks 
  -Scott 
 
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: BIND 9

2003-07-23 Thread Jeremy Gaddis
On Tue, 2003-07-22 at 23:33, Kirk Strauser wrote:
> At 2003-07-23T03:55:47Z, Tony Sterrett <[EMAIL PROTECTED]> writes:
> 
> > I'm trying to configure both a master and slave DNS on the same
> > machine. My approach is to run the master by setting named_enable="YES"
> > and it will use the config file in /etc/named. To start the slave I will
> > In rc.local and it would use the config files in /etc/named/slave. Does
> > this seems ok? Is there a better way.
> 
> This seems to come up every now and then.  Before we start, is there any
> reason you want to have two seperate named process running, instead of
> having one process serving as master to some domains and slave to others?

No, it's generally considered {easier,better,more manageable,...} to
only have one instance of BIND.  BIND can be master for some domains
and slave for others, so there really is no need.

j.

-- 
Jeremy L. Gaddis   <[EMAIL PROTECTED]>   

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


Re: maildir with softupdates

2003-07-23 Thread Wilko Bulte
On Wed, Jul 23, 2003 at 11:38:44AM -0400, Bill Moran wrote:
> Attila Nagy wrote:
> >Hello,
> >
> >Is this statement still valid?
> >
> >"ext3 is unsafe for maildir, and with softupdates, so is ffs."
> >http://www.irbs.net/internet/postfix/0202/0358.html
> 
> Yes,
> 
> It's also true that any form of write-caching is unsafe, so disable
> the caches on your SCSI and ATA hard drives.  Simply accept the
> terrible performance hit if you want super-reliability.

Forget Unix, go get VMS or (better) a Tandem ;)

-- 
|   / o / /_  _ [EMAIL PROTECTED]
|/|/ / / /(  (_)  Bulte 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: kernel files

2003-07-23 Thread fbsd_user
Sure you can delete those files and not hurt any thing. But they do
have purpose in FBSD. Lets say you recompile kernel and for some
reason when you go to boot new kernel it does not boot, you are
stuck. You can reboot  and select the kernel.Generic or kernel.old
to bring box back to life and fix problem, so that being said, it's
highly recommended to not delete those files.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Schalk
Erasmus
Sent: Wednesday, July 23, 2003 12:05 PM
To: [EMAIL PROTECTED]
Subject: kernel files

Hi,

I would like to know, if it is safe to remove these files from /:

kernel.GENERIC
kernel.old

Since there is already a /kernel (which should be the current one,
right?)

Version: 4.8-RC FreeBSD

Regards
Schalk Erasmus
Incredible Networks


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

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


usb device problem

2003-07-23 Thread Giuseppe Pagnoni
Dear list

I am running 4.8stable and  I have a problem with a USB disk on key.  
When I insert it into one of the USB ports, I get the error message:

uhub0: device problem, disabling port 1

In the kernel, both da and umass are enabled.

Any suggestion?

thanks

--

Giuseppe Pagnoni, Ph.D.
Dept. of Psychiatry and Behavioral Sciences
1639 Pierce Drive, Suite 4000
WMB Bldg., Atlanta, GA 30322, U.S.
phone: 404-712-8431
fax: 404-727-3233
e-mail: [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: ppp connection problem

2003-07-23 Thread fbsd_user
Please post /var/log/ppp.log   be sure to empty ppp.log before you
run last test so log only contains last 2 dials

Try  starting using this command  ppp -background -nat isp
 Also post your /etc/rc.conf

Add this to your ppp.conf isp section

 set timeout 0   # no idle time out, will not disconnect

 disable pred1 deflate lqr# compression features & line quality
reporting
 denypred1 deflate lqr  # compression features & line quality
reporting


 set log Phase Chat LCP IPCP CCP tun command   #use for testing
 #set log Phase tun   #use to avoid
excessive log sizes


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Brian
Henning
Sent: Wednesday, July 23, 2003 9:10 AM
To: freebsd
Subject: ppp connection problem

Greetings all:

I am connecting to my isp with the following ppp.conf using the
command
>ppp -auto isp
when i run the command i usually connect on the second try.
for some reason the connection drops after the first try, but my
true problem is i can ping internal ips and not ips outside the
network.
I think my problem is with my default route is not setup properly.

here is a snip of my ifconfig, for some reason i have two tun
devices.
i think that is caused by trying to dial up twice? any thought on
how to setup my default route properly?

Thanks,

brian

ifconfig

tun0: flags=8051 mtu 1500
inet 199.17.4.229 --> 199.17.4.4 netmask 0xff00
Opened by PID 111
tun1: flags=8051 mtu 1500
inet 10.0.0.1 --> 10.0.0.2 netmask 0xff00
Opened by PID 121



Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif
Expire
default199.17.4.4UGSc4 2620   tun0
10.0.0.2   10.0.0.1   UH  00   tun1
127.0.0.1  127.0.0.1  UH  00lo0
199.17.4.4199.17.4.229  UH  40   tun0


/etc/ppp/ppp.conf
-
default:
  set device /dev/cuaa1
  set speed 115200
  set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
   \"\" AT OK-AT-OK ATE1Q0 OK \\dATDP\\T TIMEOUT 40 CONNECT"
  set timeout 180
  enable dns

isp:
  set phone xxx
  set authname xxx
  set authkey xxx
  set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
  add default HISADDR
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

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


RE: kernel files

2003-07-23 Thread Schalk Erasmus
I assume, the same applies to /tmp directory.

What type of Maintenance is required on a BSD Server, from time to time?

Regards
Schalk

-Original Message-
From: Schalk Erasmus [mailto:[EMAIL PROTECTED]
Sent: 23 July 2003 05:05 PM
To: '[EMAIL PROTECTED]'
Subject: kernel files


Hi,

I would like to know, if it is safe to remove these files from /:

kernel.GENERIC
kernel.old

Since there is already a /kernel (which should be the current one, right?)

Version: 4.8-RC FreeBSD

Regards
Schalk Erasmus
Incredible Networks


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


kernel files

2003-07-23 Thread Schalk Erasmus
Hi,

I would like to know, if it is safe to remove these files from /:

kernel.GENERIC
kernel.old

Since there is already a /kernel (which should be the current one, right?)

Version: 4.8-RC FreeBSD

Regards
Schalk Erasmus
Incredible Networks


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


Re: maildir with softupdates

2003-07-23 Thread Raphaël Marmier
Basically, if you want to ensure that email wont get lost, put the 
maildirs and mail queue on separate partitions and mount them sync. 
This is what I do.

If you have to speed things, try first a battery backed raid controler 
and enable the write cache on it. Of course, you should always use an 
UPS and some will say you can take the risk of enabling soft-updates 
anyway.

But realise that if you have only a small load on the mail server, then 
having the partition mounted sync wont make such a big difference. If 
you are under high load, when you need performance, you also need to 
mount sync, as the potential of loss is much greater...

just my two cents

Raphael

Le Mercredi, 23 juil 2003, à 17:38 Europe/Zurich, Bill Moran a écrit :

Attila Nagy wrote:
Hello,
Is this statement still valid?
"ext3 is unsafe for maildir, and with softupdates, so is ffs."
http://www.irbs.net/internet/postfix/0202/0358.html
Yes,

It's also true that any form of write-caching is unsafe, so disable
the caches on your SCSI and ATA hard drives.  Simply accept the
terrible performance hit if you want super-reliability.
Also, make sure you have redundant power supplies, UPSes and a diesel
generator out back to cover power problems.
In reality, anything comes with a certain amount of risk, and that
statement is too vague to be useful.
To my knowledge, ext3 is not unsafe by nature, it is simply unsafe
by default because the default mount is async - which will generally
be corrupted in the event of hardware failure.
UFS+softupdates generally survives hardware failure without corruption,
although it has a funny habit of losing files that were saved right
before the failure.  Result being that you could lose emails.
However ... even a sync mount can become corrupt in the event of
hardware failure, although it's much less likely.
So you need to determine the risk level you're willing to accept as
well as the performance you require.  And you probably need to do more
research than accepting that one-line statement, as it's too vague to
properly describe the potential risk/benefits.
This reminds me of the days when DOS first got disk-caching via a
TSR (what was the name of that thing) and all the IT folks kept saying
"Don't use it, it's dangerous" without understanding why it was
dangerous.  I used it anyway, because it improved performance
considerably.
Also, this is off-topic for -CURRENT, please remove -CURRENT from the
CCs if you respond.  I'm redirecting to -QUESTIONS for future 
discussion.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: maildir with softupdates

2003-07-23 Thread Bill Moran
Attila Nagy wrote:
Hello,

Is this statement still valid?

"ext3 is unsafe for maildir, and with softupdates, so is ffs."
http://www.irbs.net/internet/postfix/0202/0358.html
Yes,

It's also true that any form of write-caching is unsafe, so disable
the caches on your SCSI and ATA hard drives.  Simply accept the
terrible performance hit if you want super-reliability.
Also, make sure you have redundant power supplies, UPSes and a diesel
generator out back to cover power problems.
In reality, anything comes with a certain amount of risk, and that
statement is too vague to be useful.
To my knowledge, ext3 is not unsafe by nature, it is simply unsafe
by default because the default mount is async - which will generally
be corrupted in the event of hardware failure.
UFS+softupdates generally survives hardware failure without corruption,
although it has a funny habit of losing files that were saved right
before the failure.  Result being that you could lose emails.
However ... even a sync mount can become corrupt in the event of
hardware failure, although it's much less likely.
So you need to determine the risk level you're willing to accept as
well as the performance you require.  And you probably need to do more
research than accepting that one-line statement, as it's too vague to
properly describe the potential risk/benefits.
This reminds me of the days when DOS first got disk-caching via a
TSR (what was the name of that thing) and all the IT folks kept saying
"Don't use it, it's dangerous" without understanding why it was
dangerous.  I used it anyway, because it improved performance
considerably.
Also, this is off-topic for -CURRENT, please remove -CURRENT from the
CCs if you respond.  I'm redirecting to -QUESTIONS for future discussion.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


mod_perl

2003-07-23 Thread Andy Harrison
-BEGIN PGP SIGNED MESSAGE-

I'd like to install mod_perl from ports on freebsd, but even if I do something
as simple as 'make extract' it complains:

Error: you don't have the right version of perl in /usr/bin.

This is correct, I want to install it against the version of perl in
/usr/local/bin *not* against the version in /usr/bin.

Any advice?

I cannot use the 'use.perl' script because that takes over the /usr/bin/perl
binary which I must leave untouched.



~~ 
Andy Harrison

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8

iQCVAwUBPx6olVPEkLgodAWVAQExLgQAp07lJMh3McSuhkjsNvZsJux8P99o641e
IDKQ5Y1/ktTJVmcBENDaolJ92jY2juJWxqIfNOwJOe68OgTV+ELN2fBDU7Xs4Snk
+u99EkyPIFK7Kh5PI5jhl3Yseg8q5J+fn4GAzIie8sVcFQZe29uTLM7YyS34HGqi
abe2kLp7BTU=
=pAoR
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: help with ide cd burner

2003-07-23 Thread sascha . pawlowski
> I am trying to use xcdroast with my ide burner but it cat see it. I 
> think i need to enable scsi emulation ...well according to some links on 
> google but anyway i cant find how to do this in the handbook.  Would 
> someone please inform on  how to achieve this.
> 
> Thanks in advance.
> 
> ps: both my burner, dvd, and cdrom are on the ide bus.
> 

Do you have 'device atapicam' in your kernel configuration?

Bye,
Sascha

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


Re: windowmaker problem

2003-07-23 Thread Andy Harrison
-BEGIN PGP SIGNED MESSAGE-


~
On 23-Jul-2003, marlon corleone wrote message "windowmaker problem"
~
> bash-2.05b$ pkg_info | grep -i windowmaker
> wmtop-0.84  Windowmaker dock app to display
> top 3 CPU consuming process
> bash-2.05b$ windowmaker
> bash: windowmaker: command not found
> 
> 
> why wont windowmaker run? i did install the packaged,
> as you can see. i hope anyone got a tip.


Why do you say you have installed the package?  Since pkg_info doesn't show it,
we can see that you have *not* installed Window Maker, although you appear to
have successfully installed the wmtop dock app.

Also, as someone pointed out already, the binary is wmaker, not windowmaker. 
And you need to be sure you've run wmaker.inst while logged in as your regular
login account first.



~~ 
Andy Harrison

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8

iQCVAwUBPx6lAVPEkLgodAWVAQEbegP/V8J9a2bM6u5wx4YzHS69M9eso4aQNmuQ
XhJKk0JL6DriEt29p6REuicxmZZabNjvjZDAGxN7rXn7zTgOXIAANfyJT+P9P0P+
iTyXOUeyhgZ3OHErsqM6yBmdguyrUKQfKsiLfjid7jXtWkQcnOer8w8phofI4hOC
JGzMjPD7H64=
=Yn9E
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Crash with bpf

2003-07-23 Thread Andrea Venturoli
Hello.
I've got a production server which keeps crashing if I use bpfs to much.
I usually only use bpf0 for dhcp server, but if I start e.g. snort and ntop, the 
machine will soon reboot. The same
happens if I run tcpdump.

uname -a gives:

FreeBSD x..zz 4.7-RELEASE-p9 FreeBSD 4.7-RELEASE-p9 #2: Sat Mar 22 
19:25:28 CET 2003
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/X  i386


The hardware is an Athlon with 128MB RAM, 4 SCSI HD building two mirrored vinum 
volumes and two Intel NIC (one of which
is currently unused, but was when it all began and probably will be again soon).

The problem has started to show after an upgrade to 4.6 or 4.7 I believe (but I cannot 
recall exactly).
I might as well try an upgrade to 4.8, but I'd rather have more insight.

Following is the output of bt from gdb. Anyone can suggest where do I look next?


#0  dumpsys () at ../../kern/kern_shutdown.c:487
#1  0xc015b2ef in boot (howto=260) at ../../kern/kern_shutdown.c:316
#2  0xc015b714 in poweroff_wait (junk=0xc02594cc, howto=-1071280145)
at ../../kern/kern_shutdown.c:595
#3  0xc021c30a in trap_fatal (frame=0xc8344abc, eva=3230566052)
at ../../i386/i386/trap.c:974
#4  0xc021bfdd in trap_pfault (frame=0xc8344abc, usermode=0, eva=3230566052)
at ../../i386/i386/trap.c:867
#5  0xc021bbc7 in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16,
  tf_edi = 6704128, tf_esi = 1, tf_ebp = -936097008, tf_isp = -936097048,
  tf_ebx = -1065849344, tf_edx = -1066233856, tf_ecx = -1607974912,
  tf_eax = 1832612, tf_trapno = 12, tf_err = 2, tf_eip = -1072206401,
  tf_cs = 8, tf_eflags = 66066, tf_esp = -1066083072, tf_ss = -1066180606})
at ../../i386/i386/trap.c:466
#6  0xc0176dbf in m_getcl (how=1, type=1, flags=2)
at ../../kern/uipc_mbuf.c:589
#7  0xc012f2e7 in fxp_add_rfabuf (sc=0xc0a54e00, oldm=0xc074dd00)
at ../../dev/fxp/if_fxp.c:1867
#8  0xc012df28 in fxp_intr_body (sc=0xc0a54e00, statack=64 '@', count=-1)
at ../../dev/fxp/if_fxp.c:1327
#9  0xc012de3d in fxp_intr (xsc=0xc0a54e00) at ../../dev/fxp/if_fxp.c:1228
#10 0xc0211ec2 in vec10 ()
#11 0xc0182eb3 in biowait (bp=0xc3394184) at ../../kern/vfs_bio.c:2638
#12 0xc018081d in bread (vp=0xc7fc00c0, blkno=360576, size=8192, cred=0x0,
bpp=0xc8344c6c) at ../../kern/vfs_bio.c:525
#13 0xc01cc5c2 in ffs_update (vp=0xc8256700, waitfor=0)
at ../../ufs/ffs/ffs_inode.c:99
#14 0xc01d5fed in ffs_fsync (ap=0xc8344cd0) at ../../ufs/ffs/ffs_vnops.c:273
#15 0xc01d48cb in ffs_sync (mp=0xc0b99400, waitfor=2, cred=0xc0731900,
p=0xc02b94e0) at vnode_if.h:558
#16 0xc018b0df in sync (p=0xc02b94e0, uap=0x0) at ../../kern/vfs_syscalls.c:576
#17 0xc015b08a in boot (howto=256) at ../../kern/kern_shutdown.c:235
#18 0xc015b714 in poweroff_wait (junk=0xc02594cc, howto=-1071280145)
at ../../kern/kern_shutdown.c:595
#19 0xc021c30a in trap_fatal (frame=0xc8344df0, eva=3230566052)
at ../../i386/i386/trap.c:974
#20 0xc021bfdd in trap_pfault (frame=0xc8344df0, usermode=0, eva=3230566052)
at ../../i386/i386/trap.c:867
#21 0xc021bbc7 in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16, tf_edi = 0,
  tf_esi = -1065680640, tf_ebp = -936096172, tf_isp = -936096228,
  tf_ebx = -1065680640, tf_edx = -1066233856, tf_ecx = -1607974912,
  tf_eax = 1832612, tf_trapno = 12, tf_err = 2, tf_eip = -1072194409,
  tf_cs = 8, tf_eflags = 66066, tf_esp = -1058056832, tf_ss = -947913056})
at ../../i386/i386/trap.c:466
#22 0xc0179c97 in sosend (so=0xc7c168c0, addr=0x0, uio=0xc8344ed4, top=0x0,
control=0x0, flags=0, p=0xc77ffea0) at ../../kern/uipc_socket.c:567
#23 0xc016d624 in soo_write (fp=0xc0ef5580, uio=0xc8344ed4, cred=0xc0c2e800,
flags=0, p=0xc77ffea0) at ../../kern/sys_socket.c:81
#24 0xc016a2b5 in dofilewrite (p=0xc77ffea0, fp=0xc0ef5580, fd=3,
buf=0x8092000, nbyte=8240, offset=-1, flags=0) at ../../sys/file.h:162
#25 0xc016a16e in write (p=0xc77ffea0, uap=0xc8344f80)
at ../../kern/sys_generic.c:329
#26 0xc021c5b9 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47,
  tf_edi = 671784156, tf_esi = 8240, tf_ebp = -1077937636,
  tf_isp = -936095788, tf_ebx = 671771728, tf_edx = 671784156, tf_ecx = 3,
  tf_eax = 4, tf_trapno = 0, tf_err = 2, tf_eip = 673124360, tf_cs = 31,
  tf_eflags = 646, tf_esp = -1077937680, tf_ss = 47})
at ../../i386/i386/trap.c:1175
#27 0xc02109b5 in Xint0x80_syscall ()
#28 0x8050a5c in ?? ()
#29 0x804e065 in ?? ()
#30 0x804d413 in ?? ()
#31 0x804c0bd in ?? ()





 bye & Thanks
av.



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


Re: Installing FreeBSD onto Vinum-volumes?

2003-07-23 Thread Kirk Strauser
At 2003-07-23T13:51:28Z, Eivind Olsen <[EMAIL PROTECTED]> writes:

> There's no data on the disks that I want/have to keep. Is it at all
> possible to configure Vinum and then install FreeBSD or will I have to
> install FreeBSD first and then "convert" to Vinum-volumes by manually
> editing the disklabel (with bsdlabel), calculating offsets etc.?

I've had great success with configuring an initial tiny partition as '/' and
doing a minimal installation (and I mean *minimal*, as in, there's nothing
else you can remove and still have it boot).  The first step after booting
the new system is then configuring vinum, adding volumes for /usr, /var, and
so on, and moving the (small!) amount of data from the "physical" filesystem
to their vinum counterparts.  Once that's up, I do a more complete install
with /stand/sysinstall.

Out of curiosity, what offsets have you had to calculate?
-- 
Kirk Strauser


pgp0.pgp
Description: PGP signature


Re: windowmaker problem

2003-07-23 Thread Lukas Ertl
[ removed freebsd-isp@ from CC-list ]

> > yOn Wed, 23 Jul 2003, marlon corleone wrote:
> >
> > > bash-2.05b$ pkg_info | grep -i windowmaker
> > > wmtop-0.84  Windowmaker dock app to display
> > > top 3 CPU consuming process
> > > bash-2.05b$ windowmaker
> > > bash: windowmaker: command not found

You didn't install windowmaker, just wmtop (which is an applet for the
windowmaker dock).

If you want to run wmtop, just type "wmtop" in an xterm.

If you want to install windowmaker, then cd /usr/ports/x11-wm/windowmaker
&& make install. Then you can put "exec wmaker" into your ~/.xinitrc or
your ~/.xsession.

regards,
le

-- 
Lukas Ertl eMail: [EMAIL PROTECTED]
UNIX Systemadministrator   Tel.:  (+43 1) 4277-14073
Vienna University Computer Center  Fax.:  (+43 1) 4277-9140
University of Vienna   http://mailbox.univie.ac.at/~le/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: windowmaker problem

2003-07-23 Thread Michael E. Mercer
Don't know much about bash, but do you need to update your shell's path?

For instance, running "rehash" under csh will tell the shell to 
update its list of executables found in the path.

HTH
Michael

On Wed, 2003-07-23 at 08:32, Rus Foster wrote:
> yOn Wed, 23 Jul 2003, marlon corleone wrote:
> 
> > bash-2.05b$ pkg_info | grep -i windowmaker
> > wmtop-0.84  Windowmaker dock app to display
> > top 3 CPU consuming process
> > bash-2.05b$ windowmaker
> > bash: windowmaker: command not found
> >
> >
> > why wont windowmaker run? i did install the packaged,
> > as you can see. i hope anyone got a tip.
> 
> Try "wmaker.inst" then wmaker
> 
> Rgds
> 
> Rus Foster

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


Re: mod_php4 build fails on fontconfig?

2003-07-23 Thread Jez Hancock
On Wed, Jul 23, 2003 at 12:05:34PM +0200, Nelis Lamprecht wrote:
> I should probably consult the mod_php mail list for this but I thought
> I'd try my luck here first since this is on FreeBSD 4.7 and I've had
> pretty good responses before from this list.
> 
> I see now mod_php now requires XFree86 libraries ? I am not using X on
> this machine...
I noticed this too... ;/ Not sure what changed -
http://www.freshports.org/lang/php4/ suggests GD support for animated
gifs changed actually... perhaps it was this?
 
How about uninstalling GD and the rebuilding it without support
for X11 or XPM:

cd /usr/ports/gd2 && make -DWITHOUT_X11 -DWITHOUT_XPM clean install

then make clean install the mod_php4 port again?  You could perhaps try
installing /usr/ports/gd instead even, it doesn't look like that port
depends on any X related ports from looking at it's Makefile.

If you wanted to try and resolve the fontconfig issue (which I seem to
remember having as well recently) you could try a make clean install in
/usr/ports/x11-fonts/fontconfig (after cvsupping first).

-- 
Jez

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


Re: windowmaker problem

2003-07-23 Thread Adam
On Wed, 2003-07-23 at 08:29, marlon corleone wrote:
> bash-2.05b$ pkg_info | grep -i windowmaker
> wmtop-0.84  Windowmaker dock app to display
> top 3 CPU consuming process
> bash-2.05b$ windowmaker
> bash: windowmaker: command not found
> 
> 
> why wont windowmaker run? i did install the packaged,
> as you can see. i hope anyone got a tip.

Ah-hem, you do *not* have windowmaker installed. You have wmtop
installed. Read!

cd /usr/ports/x11-wm/windowmaker; make install clean

-- 
Adam <[EMAIL PROTECTED]>

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


Re: ppp connection problem

2003-07-23 Thread Adam
On Wed, 2003-07-23 at 09:10, Brian Henning wrote:
> I am connecting to my isp with the following ppp.conf using the command
> >ppp -auto isp
> when i run the command i usually connect on the second try.
> for some reason the connection drops after the first try, but my 
> true problem is i can ping internal ips and not ips outside the network.
> I think my problem is with my default route is not setup properly.

Removing the 'set ifaddr' line fixed some weird problems for me.
However, I use ppp for PPPoE. It might be worth a try, though. I know
several people that have removed that line successfully.

-- 
Adam <[EMAIL PROTECTED]>

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


Re: windowmaker problem

2003-07-23 Thread Adam
On Wed, 2003-07-23 at 08:29, marlon corleone wrote:
> bash-2.05b$ pkg_info | grep -i windowmaker
> wmtop-0.84  Windowmaker dock app to display
> top 3 CPU consuming process
> bash-2.05b$ windowmaker
> bash: windowmaker: command not found
> 
> 
> why wont windowmaker run? i did install the packaged,
> as you can see. i hope anyone got a tip.

Ah-hem, you do *not* have windowmaker installed. You have wmtop
installed. Read!

cd /usr/ports/x11-wm/windowmaker; make install clean

-- 
Adam <[EMAIL PROTECTED]>

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


Installing FreeBSD onto Vinum-volumes?

2003-07-23 Thread Eivind Olsen
Hello.

I'm about to install a new machine which will have 2 IDE-disks. I'd like to 
mirror some volumes between those disks while other volumes should be 
striped.
I'd like to do this with FreeBSD 5.1.

There's no data on the disks that I want/have to keep. Is it at all 
possible to configure Vinum and then install FreeBSD or will I have to 
install FreeBSD first and then "convert" to Vinum-volumes by manually 
editing the disklabel (with bsdlabel), calculating offsets etc.?

In other words, is there an easy way to do this? :)

(I already tried installing FreeBSD and then "converting" to Vinum but 
failed miserably and am now looking for an easy way out.)

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


problems do configure monitor in my notebook

2003-07-23 Thread EDISON PIGNATON DE FREITAS
Hi,

  I have a notebook Satellite 3000-214, and now I want to install the
freeBSD SO, together with windows XP that came with my notebook. I made a
partition to install the new SO, and I with the FreeBSD install program I 
made
the swap and FS partitions. I manage to install the system, but the graphic 
mode
doesn't work anyway! I tryed all, but I didn't manage put it in work! even 
the
mouse (USB - a thing that I thought that could be difficult to set in this
system...) works in text mode... I tryed to setup in the sysinstall the
XF86Config, and after in text mode with the vi. I think that the problem is 
with
the is the configuration of the monitor, in the horizsync and vertRefresh
parameters I tryed many confs that I found in the internet... h: 31,5- 
62;
v: 30-50 ... and many other combinations... but it doesn't work!  When I try
"startx", apper in the many thin vertical shining color lines on the 
monitor.
Could you give a help?
 Thank you,
Edison Pignaton de Freitas.
_
MSN Messenger: converse com os seus amigos online.  
http://messenger.msn.com.br

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


ppp connection problem

2003-07-23 Thread Brian Henning
Greetings all:

I am connecting to my isp with the following ppp.conf using the command
>ppp -auto isp
when i run the command i usually connect on the second try.
for some reason the connection drops after the first try, but my 
true problem is i can ping internal ips and not ips outside the network.
I think my problem is with my default route is not setup properly.

here is a snip of my ifconfig, for some reason i have two tun devices.
i think that is caused by trying to dial up twice? any thought on 
how to setup my default route properly?

Thanks,

brian

ifconfig

tun0: flags=8051 mtu 1500
inet 199.17.4.229 --> 199.17.4.4 netmask 0xff00
Opened by PID 111
tun1: flags=8051 mtu 1500
inet 10.0.0.1 --> 10.0.0.2 netmask 0xff00
Opened by PID 121



Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
default199.17.4.4UGSc4 2620   tun0
10.0.0.2   10.0.0.1   UH  00   tun1
127.0.0.1  127.0.0.1  UH  00lo0
199.17.4.4199.17.4.229  UH  40   tun0


/etc/ppp/ppp.conf
-
default:
  set device /dev/cuaa1
  set speed 115200
  set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
   \"\" AT OK-AT-OK ATE1Q0 OK \\dATDP\\T TIMEOUT 40 CONNECT"
  set timeout 180
  enable dns

isp:
  set phone xxx
  set authname xxx
  set authkey xxx
  set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
  add default HISADDR
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: windowmaker problem

2003-07-23 Thread John Morgan Salomon
Well, the pkg_info should display something like

windowmaker-0.80.2  GNUStep-compliant NeXTStep window manager clone

and the command is /usr/X11R6/bin/wmaker

wmtop is just an app that docks under Windowmaker.  You want to
install /usr/ports/x11-wm/windowmaker.
Cheers,

-Jhon

marlon corleone wrote:

bash-2.05b$ pkg_info | grep -i windowmaker
wmtop-0.84  Windowmaker dock app to display
top 3 CPU consuming process
bash-2.05b$ windowmaker
bash: windowmaker: command not found
why wont windowmaker run? i did install the packaged,
as you can see. i hope anyone got a tip.
thanks

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
 

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


Interrupts percentage high + packetloss

2003-07-23 Thread Feczak Szabolcs
Hi,

there is a gw on 100mbit bandwidth, and interrupt is 
damn high on it even though the bandwidth utilization is only
about 20%, and it is an AMD 2Ghz machine with 0,5Gb of DDR Ram
though the network card is a D-Link DL10050 (one pci card
with 4 ports), so maybe this is the problem, you will let me
know

I have queried with some commands the system stats, 
let me know if someone interested in any other details
and which command gives me the result.

Any ideas why is this percentage so high ? Or how can I
see this in more detail ? I wouldn't be excited about it,
but packet loss occour (I can see if I ping the machine 
from outside network), it's running a quake server behind
this gw and it has quiet much amount of "LAG"


last pid:  1162;  load averages:  0.42,  0.10,  0.03up 0+03:10:57  21:53:35
30 processes:  2 running, 28 sleeping
CPU states: 36.7% user,  0.0% nice, 10.5% system, 37.5% interrupt, 15.2% idle
Mem: 10M Active, 12M Inact, 22M Wired, 10M Buf, 456M Free
Swap: 1024M Total, 1024M Free


I have checked with trafshow
It was 2680 pkt/sec 2128450 bytes/sec
so about 2mbyte/sec ~20mbit


netstat

NameMtu Network   Address  Ipkts IerrsOpkts Oerrs  Coll
ste0*  1500   00:05:5d:e6:0c:3d0 00 0 0
ste1   1500   00:05:5d:e6:0c:3e  5978838 0  6481883 0 0
ste1   1500 localnet/21   gw.localnet  13771 - 5785 - -
ste2   1500   00:05:5d:e6:0c:3f76912 065964 0 0
ste2   1500 dmz/21 gw.dmz 554 - 6339 - -
ste3   1500   00:05:5d:e6:0c:40  6606007 0  6035123 0 0
ste3   1500 outside   www.dmz44190 -41819 - -
ste3   1500 gwgw 3536 -0 - -
lo0   163844 04 0 0
lo0   16384 your-net  localhost.localnet   0 -0 - -

iostat
  tty ad0 acd0 cpu
 tin tout  KB/t tps  MB/s   KB/t tps  MB/s  us ni sy in id
   0  137 15.95   0  0.00   0.00   0  0.00   0  0  0  6 94


here is the dmesg output

Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.1-RELEASE #0: Mon Jun 30 17:47:48 GMT 2003
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/kernelke
Preloaded elf kernel "/boot/kernel/kernel" at 0xc038b000.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 1797286592 Hz
CPU: AMD Athlon(tm) XP 2200+ (1797.29-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x681  Stepping = 1
  
Features=0x383fbff
  AMD Features=0xc040
real memory  = 536805376 (511 MB)
avail memory = 517505024 (493 MB)
Pentium Pro MTRR support enabled
npx0:  on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
Using $PIR table, 11 entries at 0xc00fdeb0
pcib0:  at pcibus 0 on motherboard
pci0:  on pcib0
pci0:  at device 0.1 (no driver attached)
pci0:  at device 0.2 (no driver attached)
pci0:  at device 0.3 (no driver attached)
pci0:  at device 0.4 (no driver attached)
pci0:  at device 0.5 (no driver attached)
isab0:  at device 1.0 on pci0
isa0:  on isab0
pci0:  at device 1.1 (no driver attached)
pcib1:  at device 8.0 on pci0
pci1:  on pcib1
pcib2:  at device 6.0 on pci1
pci2:  on pcib2
ste0:  port 0xd000-0xd07f irq 11 at device 4.0 on pci2
ste0: Ethernet address: 00:05:5d:e6:0c:3d
miibus0:  on ste0
ukphy0:  on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ste1:  port 0xd400-0xd47f irq 5 at device 5.0 on pci2
ste1: Ethernet address: 00:05:5d:e6:0c:3e
miibus1:  on ste1
ukphy1:  on miibus1
ukphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ste2:  port 0xd800-0xd87f irq 12 at device 6.0 on pci2
ste2: Ethernet address: 00:05:5d:e6:0c:3f
miibus2:  on ste2
ukphy2:  on miibus2
ukphy2:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ste3:  port 0xdc00-0xdc7f irq 10 at device 7.0 on pci2
ste3: Ethernet address: 00:05:5d:e6:0c:40
miibus3:  on ste3
ukphy3:  on miibus3
ukphy3:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci1:  at device 10.0 (no driver attached)
atapci0:  port 0xf000-0xf00f at device 9.0 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pcib3:  at device 30.0 on pci0
pci3:  on pcib3
orm0:  at iomem 0xc-0xc7fff on isa0
atkbdc0:  at port 0x64,0x60 on isa0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
unknown:  can't assign resources (port)
Timecounters tick every 10.000 msec
ipfw2 initialized, divert disabled, rule-based forwarding enabled, default to deny, 
logging unlimited
DUMMYNET initialized (011031)
IP Filter: v3.4.31 initialized.  Default = pass all, Logging = enabled
ad0: 57277MB  [116374/16/63] at ata0-master UDMA133
ac

Re: windowmaker problem

2003-07-23 Thread Rus Foster
yOn Wed, 23 Jul 2003, marlon corleone wrote:

> bash-2.05b$ pkg_info | grep -i windowmaker
> wmtop-0.84  Windowmaker dock app to display
> top 3 CPU consuming process
> bash-2.05b$ windowmaker
> bash: windowmaker: command not found
>
>
> why wont windowmaker run? i did install the packaged,
> as you can see. i hope anyone got a tip.

Try "wmaker.inst" then wmaker

Rgds

Rus Foster
-- 
www: http://jvds.com   | Virtual Servers from just $15/mo
MSNM: [EMAIL PROTECTED] | Totally Customizable Technology
e: [EMAIL PROTECTED]   | FreeBSD & Linux
   10% donation to FreeBSD.org on each purchase
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


windowmaker problem

2003-07-23 Thread marlon corleone
bash-2.05b$ pkg_info | grep -i windowmaker
wmtop-0.84  Windowmaker dock app to display
top 3 CPU consuming process
bash-2.05b$ windowmaker
bash: windowmaker: command not found


why wont windowmaker run? i did install the packaged,
as you can see. i hope anyone got a tip.

thanks

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


How to drive an NE2000 compatible isa card

2003-07-23 Thread Zhang Le
Hello, 
  I have an NE2000 (10M) compatible isa card with
io=0x300 irq=5 (under win98).
  But I fail to drive it under a FreeBSD 4.8. I have
recompiled kernel with ed
  support. dmesg does not contain recognition message
and 
  kldstat -v |grep ed gives:
pci/ed
145 isa/ed
146 pccard/ed
147 ed/miibus

  How to drive my NE2000 card, any tips?


=
Sincerely yours,
   Zhang Le

_
Do You Yahoo!? 
相见不如聊天!不出门一样面对面!网络摄像头对对派送中~赶快用你的雅虎电邮帐号参与吧……
http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.messenger.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Apache help

2003-07-23 Thread Vitali Malicky

- Original Message -
From: "Adam" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 22, 2003 11:36 PM
Subject: Re: Apache help


> On Mon, 2003-07-21 at 16:33, Dzevad Fazlic wrote:
> > I just installed freeBSD 4.8 with apache 1.3.27
> > Everthing works perfect but when   i shutdown system or when i startup
system
> > i am receiving this apache error
> > (/usr/local/etc/rc.d/apache.sh:120: Syntax error :Unterminated quoted
string )

Selfobvious!
file /usr/local/etc/rc.d/apache.sh
line 120
check it! may be you forgot to terminate quoting: " or '


> > Can somebudy help please
> > But if i start apache with this command   on shell  > apachectl start <
> > It will work fine
>
> Just a thought, did you ever edit that script with a Win32 text editor?
> Those kind of weird errors are frequently caused by Win32 terminating
> characters. Might be worth checking out, just to rule it out.

Or just when copying text files from windows to UNIX-like, copy them in
ASCII mode so that not to have "^M" at the end of each line... or develop
good habits and begin to edit scripts in "vi" or so...

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

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


Re: BIND 9

2003-07-23 Thread Vitali Malicky


> Hello:
Hi,

> I'm trying to configure both a master and slave DNS on the same
> machine. My approach is to run the master by setting named_enable="YES"
> and it will use the config file in /etc/named. To start the slave I
> will In rc.local and it would use the config files in /etc/named/slave.
> Does this seems ok? Is there a better way.

I can't follow your point... Are you going to run TWO named daemons? I can't
see why you're doing this. master and slave are configured in named.conf and
doesn't matter where you're going to start the daemon from, besides, the
named daemon can process both master and slave zone at the same time, you
don't have to run TWO named daemons.

try to make yourself clearer, I suspect I failed to understand the idea...
:(

as for starting named from rc.conf here is a record from my rc.conf

### BIND 9.1.2
named_enable="YES"
named_program="/usr/local/sbin/named"
named_flags="-t /etc/namedb"
###


--
Error Code=-1 Continue?
  Yes | No
--


P.S. How to jail named read in handbooks on www.freebsd.org


>
> Also, does anyone have any pointers to info on BIND/DNS. I have the
> book, seen the freebsd pages and article. Thanks.
> Cheers,
> Tony
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

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


Re: intalling mysql on bsd5.0

2003-07-23 Thread Vitali Malicky


> Hi,
Hi,

>
> While installing mysql on freebsd5.0 (scripts/mysql_install_db) i
> encountered the following error:
> -
> Installing all prepared tables
> /usr/libexec/ld-elf.so.1: Shared object "libc_r.so.4" not found
> Installation of grant tables failed
> 

What mysql did you installed? From the precompiled packadges downloaded from
one of the mirrors of mysql.com?


> How can i get rid of this problem.

If so, then you can't. Becouse the precompiled version of mysql for 5.0
doesn't exist as yet. Just take the source and compile it by yourself.

--
Error Code=-1 Continue?
  Yes | No
--


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

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


  1   2   >