RE: SIngle User Mode Help

2004-03-05 Thread Joe Pokupec
Thanks for the many posts guys. I understand the concept of mounting the
/usr partition. Actually, the "mount -a" worked even though the fstab was
mucked up. I didn't realize that single user mode doesn't mount the slices
by default... but it all makes sense now.

Thanks

Joe

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jerry McAllister
Sent: Friday, March 05, 2004 7:55 AM
To: Joshua Lokken
Cc: [EMAIL PROTECTED]
Subject: Re: SIngle User Mode Help

> 
> * Jerry McAllister <[EMAIL PROTECTED]> [2004-03-06 02:42]:
> > > 
> > > Hey Guys,
> > > 
> > > I'm constantly botching up my fstab file and the system will fail to
boot
> > > correctly. I've learned to create a working fstab and call is
fstab.orig
> > > which I can overwrite the botched file if I end up in Single User
Mode...
> > 
> > You're right to make a copy before tinkering.
> > 
> > > I can't find any info on Single User Mode to help me:
> > > 
> > > - I use mount -u / to mount the filesystem as read/write
> > 
> > That is correct, but, of course, it only gets the root (/) filesystem
> > mounted.   You may need stuff on other ones, especially /usr.
> > 
> > Try doing 
> >fsck /usr or   fsck  /dev/d0s1f 
> >mount /usror   mount /dev/d0s1f /usr   or whatever slice and
> >   partition you have /usr on
> > 
> > > - I cannot access any editors like vi or pico (my personal) favorite
once in
> > > single user mode... Why?
> > 
> 
> Or, to make things easier:
> 
> prompt# fsck -p

Except this might not work if he has bollixed up his fstab as indicated
in the original question.

> prompt# mount -u /
> prompt# mount -a -tufs

This might not wokr either with a bad fstab.

but doing it for specific devices to specific mount points should work
even with a messed up fstab.

jerry

> 
> just like pre-buildworld...
> 
> -- 
> Joshua
> 
> Another war ... must it always be so?  How many comrades have we lost
> in this way? ...  Obedience.  Duty.  Death, and more death ...
>   -- Romulan Commander, "Balance of Terror", stardate 1709.2
> ___
> [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: Problems (Still) Mounting CDROM

2004-03-05 Thread Chuck McManis
As far as your kernel is concerned there is no CDROM drive attached to it.

You should see something like:

atapci0:  port 
0xf000-0xf00f,0-0x3,0-0x7,0-0x3,0-0x7 irq 0 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
... snip ...
sio1: type 16550A
ppc0: parallel port not found.
ad0: DMA limited to UDMA33, non-ATA66 cable or device
ad0: 76319MB  [155061/16/63] at ata0-master UDMA33
acd0: CDROM  at ata1-master PIO4
... snip ...

Note that the last line identifies the CDROM. Now the most common cause of 
this problem is that the CDROM is set as a "SLAVE" on the ATA bus and there 
is no master on that bus. Or sometimes its set as Master w/Slave Present 
and its waiting for the slave to ack before it does. Either way, its one of 
(in order of likelyness):

drive is mis-jumpered
drive is mis-cabled
drive is dead
HTH
--Chuck
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


.Xdefaults info (global xterm resizing continued)

2004-03-05 Thread Aaron Peterson
sorry to start a new thread.  i accidentally deleted all my mail from the
main thread.

check out "man xrdb" and the following links

https://engineering.purdue.edu/ECN/Resources/KnowledgeBase/Docs/20020202104217

http://www.saao.ac.za/unix/node73.html

(these were at the top of my search results on google for the term
".Xdefaults".  Often you can find all the information you need using
google.)

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


Problems (Still) Mounting CDROM

2004-03-05 Thread Rishi Chopra
Here's what happens:

usha# mount_cd9660 /dev/acd0 /mnt
mount_cd9660: /dev/acd0: No such file or directory
Here's the dmesg (Kernel config and Fstab also included below):

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: Sat Dec 13 07:05:15 PST 2003
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/VISION
Preloaded elf kernel "/boot/kernel/kernel" at 0xc068f000.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 119752863 Hz
CPU: Pentium/P54C (119.75-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x525  Stepping = 5
  Features=0x1bf
real memory  = 100663296 (96 MB)
avail memory = 90685440 (86 MB)
Intel Pentium detected, installing workaround for F00F bug
npx0:  on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
pcib0:  at pcibus 0 on motherboard
pci0:  on pcib0
isab0:  at device 7.0 on pci0
isa0:  on isab0
atapci0:  port 0xffa0-0xffaf at device 7.1 
on pci0
atapci0: Busmastering DMA not supported
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0:  at device 13.0 (no driver attached)
asr0:  mem 0xf000-0xf7ff irq 5 at 
device 14.0 on pci0
asr0: major=154
asr0: ADAPTEC 2400A FW Rev. 3A0L, 4 channel, 256 CCBs, Protocol I2O
pcib1:  at device 14.1 on pci0
pci1:  on pcib1
rl0:  port 0xf880-0xf8ff mem 
0xfffbfc00-0xfffbfc7f irq 9 at device 15.0 on pci0
rl0: Ethernet address: 00:00:b4:91:28:03
miibus0:  on rl0
rlphy0:  on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl1:  port 0xfc00-0xfcff mem 
0xfffb7c00-0xfffb7cff irq 10 at device 16.0 on pci0
rl1: Realtek 8139B detected. Warning, this may be unstable in autoselect 
mode
rl1: Ethernet address: 00:50:fc:21:df:8f
miibus1:  on rl1
rlphy1:  on miibus1
rlphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
orm0:  at iomem 
0xed000-0xedfff,0xc8000-0xcdfff,0xc-0xc7fff on isa0
pmtimer0 on isa0
atkbdc0:  at port 0x64,0x60 on isa0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
fdc0:  at port 
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0:  at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0:  on ppc0
plip0:  on ppbus0
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
Timecounters tick every 10.000 msec
ipfw2 initialized, divert enabled, rule-based forwarding enabled, 
default to deny, logging disabled
da0 at asr0 bus 0 target 0 lun 0
da0:  Fixed Direct Access SCSI-2 device
da0: 572202MB (1171869696 512 byte sectors: 255H 63S/T 72945C)
Mounting root from ufs:/dev/da0s1a
WARNING: / was not properly dismounted
WARNING: /usr was not properly dismounted
WARNING: /var was not properly dismounted

Kernel config file shows the following:

options CD9660  #ISO 9660 Filesystem
device  atapicd # ATAPI CDROM drives
device  cd  # CD
/etc/fstab:

/dev/acd0  /cdrom  cd9660  ro,noauto   0   0

/dev/acd0c is also absent.

How do I mount the CDROM?  Also, I'm unable to boot from CDROM despite 
their being a BIOS option to do so.  Any ideas what the problem is?

--
Rishi Chopra
http://www.ocf.berkeley.edu/~rchopra
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Getting Cut-Off

2004-03-05 Thread Rishi Chopra
I have two machines in my loft (a FreeBSD server and a Win2k box) 
connected via CAT5 crossover cable.

I connect to the FreeBSD machine via SSH, and use secure file transfer 
to upload/download from the machine.

In the last week, the FreeBSD machine has dropped my connection on 3 
seperate occasions.  I'll queue up some work and leave the machine 
unattended, only to return at a later time and find that the connection 
has been closed.

No one else has physical access to the area when this occurs; can anyone 
tell me what's going on or what I need to do in order to keep from being 
disconnected in the future?

Unfortunately the file transfer client portion of SSH Secure Shell is 
very poor at resuming queued work, so this is starting to cause me an 
inconvinience.

--
Rishi Chopra
http://www.ocf.berkeley.edu/~rchopra
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Adaptec 2410SA starts doing this: aac0: COMMAND 0xc551a7e8 TIMEOUT AFTER 147 SECONDS (Modified by Chad Leigh -- Shire.NetLLC)

2004-03-05 Thread Chad Leigh -- Shire.Net LLC
On Mar 5, 2004, at 10:05 PM, Scott Long wrote:

On Sun, 29 Feb 2004, Chad Leigh -- Shire.Net LLC wrote:
I originally sent this to -questions, but got no response.  I hope 
this
is a good place to send this.  While the drives and controller are
SATA, the driver is the SCSI aac driver for the adaptec raid, hence
this group.  I would appreciate any attempts to help me understand 
what
is going on.  I have flashed the latest BIOS and Firmware into the 
card
and upgraded FBSD to 5.2.1-RELEASE and it still has this problem
suddenly.  Rebooting, etc have no effect.
I would appreciate being directly cc: ed on any replies, as I am
subscribed to -questions but not -scsi
thanks
I rarely read the freebsd-questions@ list, but you are welcome to 
email me
directly with aac driver questions.  See below:

I am responding directly to Scott on this and will post the final 
results for the archives

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


Re: New Users Learning FreeBSD

2004-03-05 Thread Chuck McManis
At 12:42 PM 3/6/2004, Joshua Lokken wrote:
It doesn't seem like a splash screen can really tell you
much about the quality of a piece of software or an OS.
No it can't, and for end users its all they care about. Which is "how long 
before I can start using this thing?"

To put it in perspective, the best way to start USING FreeBSD as opposed to 
acquiring it to develop with, is probably to by an Apple machine with OS-X 
installed. All the integration is handled for you. It pains me that there 
isn't an organization of Apple's caliber providing a complete FreeBSD 
workstation product that I could load on any machine with a simple install.

--Chuck

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


Re: Can't mount cd9660 file system.

2004-03-05 Thread Kris Kennaway
On Fri, Mar 05, 2004 at 10:39:02PM -0500, David wrote:
> Hi, everyone. I'm using freeBSD 5.1
> 
> I am having trouble mounting a cd9660 file system. I've
> done this hundredths of times with no problems. But
> for the first time, I am burning the iso image to dvd
> medium. A dvd+r  exactly...

Do you have cd9660 support enabled in your kernel?

Kris


pgp0.pgp
Description: PGP signature


Re: Adaptec 2410SA starts doing this: aac0: COMMAND 0xc551a7e8 TIMEOUT AFTER 147 SECONDS (Modified by Chad Leigh -- Shire.Net LLC)

2004-03-05 Thread Scott Long
On Sun, 29 Feb 2004, Chad Leigh -- Shire.Net LLC wrote:
> I originally sent this to -questions, but got no response.  I hope this
> is a good place to send this.  While the drives and controller are
> SATA, the driver is the SCSI aac driver for the adaptec raid, hence
> this group.  I would appreciate any attempts to help me understand what
> is going on.  I have flashed the latest BIOS and Firmware into the card
> and upgraded FBSD to 5.2.1-RELEASE and it still has this problem
> suddenly.  Rebooting, etc have no effect.
> I would appreciate being directly cc: ed on any replies, as I am
> subscribed to -questions but not -scsi
> thanks

I rarely read the freebsd-questions@ list, but you are welcome to email me
directly with aac driver questions.  See below:

>
> Hi
>
> I have an Adaptec 2410SA RAID card with 3 drives attached, 2 in a RAID
> 1 array and one as a separate disk.  This has been working under
> 5.2-RELEASE in my test server for some time now.  However, for some
> reason the machine locked up (may not be related) and I had to do a
> hard reset.
>
> Now the machine, when it tries to check the two aacd volumes on this
> controller, starts printing out this message below every 20 seconds or
> so and the disk volumes cannot be used.  Each new IO attempt triggers a
> new set of these messages.  The hex number after the COMMAND word is
> different for each new IO request but of course stays the same for
> repeated messages relating to the same original IO request
>
> aac0: COMMAND 0xc551a7e8 TIMEOUT AFTER 147 SECONDS
>
> I have googled on this and similar posts related to 2120S controllers
> all seemed to have different causes and fixes...
>

I thought that 5.2.1 would have fixed all of this.  This isn't good.

> Any hints or ideas on what is causing this?  I can get into the
> controller at POST time and it checks out...

Can you boot the machine at all?  If so, could I feed you some patches to
help diagnose the problem?

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


Re: ruby1.8 segmentation fault

2004-03-05 Thread Steve Ireland

- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 05, 2004 22:11
Subject: ruby1.8 segmentation fault


> Hi BSDers, I read the ports/UPDATING about ruby stuff and do
accordingly,
> after reinstall portupgrade, I did "portupgrade -fr
> /usr/ports/land/ruby16" and here it goes:
>
> [Updating the pkgdb  in /var/db/pkg ... - 435
packages
> found (-22 +61) (...)/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:467:
[BUG]
> Segmentation fault
> ruby 1.8.1 (2003-12-25) [i386-freebsd4]
>
> Abort (core dumped)
>
> dont' have the balls the mess with this stuff, so...any idea?
>
>
> Eureka!
>
> Best regards
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

Hello,

There is a problem with portupgrade. See http://freebsd.kde.org for the
solution that worked for me.

HTH,

Steve

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


Re: FreeBSD 5.2.1 and Bluetooth

2004-03-05 Thread Peter Schuller
> We will shortly be starting some development with bluetooth and I'm
> looking to setting up a workstation dedicated for that.  This
> workstation will also be used for palm os development since that is part of
> the same project so the workstation needs to be somewhat stable for
> that.  Is the bluetooth support in FreeBSD 5.x well developed?  The main
> protocols we need are RFCOMM and HID support.  I've heard some problems
> with FreeBSD 5.2 as far as stability, but are they mostly fixed in
> FreeBSD 5.2.1 or should I just go with Debian Linux for all of this.

FWIW I have successfully connected to the internet via GPRS over bluetooth 
with a Nokia 7650 and the built-in USB adapter in the IBM T40p. It seems to 
run stable (well except for the buggy-in-general phone). Dunno about HID 
though.

-- 
/ Peter Schuller, InfiDyne Technologies HB

PGP userID: 0xE9758B7D or 'Peter Schuller <[EMAIL PROTECTED]>'
Key retrieval: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org

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


SENDER ! Virus found in message from you !

2004-03-05 Thread virus
You sent to user perry message with VIRUS .

Wiadomosc, ktora wyslales na adres perry
zawierala WIRUSA.


KAV Report:

document_excel.pif  infected: I-Worm.NetSky.d 


Wiadomosc wygenerowana automatycznie !

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


Re: xterm

2004-03-05 Thread Sergey 'DoubleF' Zaharchenko
On Sat, 6 Mar 2004 19:21:24 +0800
Stephen Liu <[EMAIL PROTECTED]> probably wrote:

> - snip -
> > you might check into setting options for xterm in the .Xdefaults
> > file of your home directory...
> 
> Hi Aaron,
> 
> Kindly advise where can I find .Xdefaults.  I found
> /home/user/.Xauthority but I can' read it

The last time I used .Xdefaults it was named .Xresources:) If there
isn't one, create it.

$ cat ~/.Xresources
.xterm.vt100.deleteIsDEL: true
.xterm.vt100.eightBitOutput: true
.xterm.vt100.font: -xos4-terminus-bold-r-normal--24-240-72-72-c-120-koi8-r

The '.xterm.vt100.font' is what you need to change to use another
default font. Naturally, you can use xfontsel to generate a `fontline'
for you. 

Be sure to put an `xrdb ~/.Xresources' line in your
.xsession/.xinitrc/whatever X startup script.

Changes will be applied on next login (to apply them earlier, run the
xrdb command manually). HTH,

-- 
DoubleF
"But don't you worry, its for a cause -- feeding global corporations
paws."



pgp0.pgp
Description: PGP signature


mount floppy/cdrom on diskless PC: "vfsload: Exec format error"

2004-03-05 Thread Rob


Hi,

I have a diskless PC with a floppy and CDrom drive.
I can create a dos floppy without a problem, but the mount fails:
  # /usr/sbin/fdformat /dev/fd0.1440
  Format 1440K floppy `/dev/fd0.1440'? (y/n): y
  Processing  done.
  # /sbin/disklabel -B -r -w /dev/fd0 fd1440
  # /sbin/newfs_msdos /dev/fd0
  /dev/fd0: 2840 sectors in 355 FAT12 clusters (4096 bytes/cluster)
  bps=512 spc=8 res=1 nft=2 rde=512 sec=2880 mid=0xf0 spf=2 spt=18 hds=2 hid=0
  # mount_msdos /dev/fd0c /mnt
  mount_msdos: vfsload(msdos): Exec format error
Same problem occurs for a CDrom:

  # mount -t cd9660 /dev/acd0c /cdrom
  cd9660: vfsload(cd9660): Exec format error
The diskless machine has:
  /modules/msdos.ko
  /modules/cd9660.ko
Probably related to this are these lines in /var/log/messages:
  Mar  6 13:09:33 diskless //kernel: link_elf: symbol s_lock_init undefined
Any ideas what's going wrong here?

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


segmentation fault - jdk4

2004-03-05 Thread Ricardo Britto
Hi,

I'm running 5.2.1 Release version of FreeBSD, gcc 3.3.3 and I'm 
getting the same error when trying to compile JDK 1.4 from ports:
 
*any_file_that_changes.c or .h*: *number_that_changes*: compiler
error: segmentation fault


I've searched for information and people say that could be problems
with gcc or hardware (memory for eg.). I tried to install new version
of gcc (3.4.0) and still continues using the older (3.3.3), tried the
3.2 and the error continues.

About the hardware...everything seems to be fine.
Do you have any suggestions?
people through net didn't find any reasonable cause.

I appreciate your attention,

Best regards,

Ricardo

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


Re: Important notify about your e-mail account.

2004-03-05 Thread auto reply
THIS IS AN AUTOMATED RESPONSE. 
Thank you for your interest in Segue Software.  Please note that the email address 
[EMAIL PROTECTED] is not accepting incoming messages. 

If you need assistance with a technical issue, please contact Technical Support at: 

http://www.segue.com/html/s_tech/s_contact.htm 

If you have a sales, licensing, or non-technical question, please contact Customer 
Service at: 

http://www.segue.com/html/s_tech/s_contact_cust_service.htm


Customer Service will be closed on the following days in observance of the holidays: 

Memorial Day: 05/31/04
Independence Day: 07/05/04 (Observance)
Labor Day: 09/06/04
Thanksgiving Day: 11/25/04
Day After Thanksgiving: 11/26/04
Christmas Day: 12/24/04 (Observance)
 
Please note that our regular business hours are Monday-Friday, 9:00am to 6:00pm 
Eastern Time.  
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Can't mount cd9660 file system.

2004-03-05 Thread David
Hi, everyone. I'm using freeBSD 5.1

I am having trouble mounting a cd9660 file system. I've
done this hundredths of times with no problems. But
for the first time, I am burning the iso image to dvd
medium. A dvd+r  exactly...

First, I created the image with the mkisofs command:

mkisofs -J -R -o backup.iso /win

The file size is 2.4G. 

Then, I use the burncd command:

burncd -f /dev/acd0 -s 2 dvdrw backup.iso fixate

No error messages...

Next,  I typed mount -t cd9660 /dev/acd0 /iso and gotten this  message:
cd9660: Invalid argument

then I type mount_cd9960 /dev/acd0 /iso and 
mount /cdrom, but got the same mesaage as above.

If you have any comments, I syrely appreciate it.
Thanks


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


ruby1.8 segmentation fault

2004-03-05 Thread tscheng
Hi BSDers, I read the ports/UPDATING about ruby stuff and do accordingly,
after reinstall portupgrade, I did "portupgrade -fr
/usr/ports/land/ruby16" and here it goes:

[Updating the pkgdb  in /var/db/pkg ... - 435 packages
found (-22 +61) (...)/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:467: [BUG]
Segmentation fault
ruby 1.8.1 (2003-12-25) [i386-freebsd4]

Abort (core dumped)

dont' have the balls the mess with this stuff, so...any idea?


Eureka!

Best regards

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


speedy-CGI and Command 'apxs -q CC' failed

2004-03-05 Thread Noah

Hi!

FreeBSD-STABLE

errors building CGI-SpeedyCGI-2.22 from /usr/ports  - any clues what I am
doing wrong here?


===>  Configuring for p5-CGI-SpeedyCGI-2.22
ERROR: Command 'apxs -q CC' failed.
*** Error code 2

Stop in /usr/ports/www/p5-CGI-SpeedyCGI.



thanks in advance,

Noah

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



Re: xterm

2004-03-05 Thread Stephen Liu
- snip -
> you might check into setting options for xterm in the .Xdefaults file of
> your home directory...

Hi Aaron,

Kindly advise where can I find .Xdefaults.  I found /home/user/.Xauthority
but I can' read it

TIA

B.R.
Stephen Liu

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


Re: xterm

2004-03-05 Thread Stephen Liu
- snip -
> You can add the fontsize as a parameter when you invoke it, like this:
>
> xterm -fn 
>
> I use 'xterm -fn 9x15' on a high res monitor and set it (along with some
> other params) in my window manager (blackbox) menu config.

Hi Ed,

Where can I find "window manager"?  From 'Control Center' ok KDE?

# menu config
menu: Command not found.
# menuconfig
menuconfig: Command not found

Kindly advise.  TIA

B.R.
Stephen Liu

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


Re: PowerChute Plus

2004-03-05 Thread K.S.Selvarajan
Dear Vulpes Velox,

Thank you very much for your E-Mail. Really what I need that the system
should be get switched off at a prescribed time and switched on at
prescribed time with out user intervention. The said PowerChute is capable
enough to do so. Anyhow, I would try the modules indicated by you. Further,
I would like to mention that the PwerChute Plus from APC works on a daemon,
I don't know it needs Linux Kernel modules.

Selvarajan


- Original Message -
From: "Vulpes Velox" <[EMAIL PROTECTED]>
To: "K.S.Selvarajan" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, March 05, 2004 8:58 PM
Subject: Re: PowerChute Plus


> On Fri, 5 Mar 2004 15:30:45 +0600
> "K.S.Selvarajan" <[EMAIL PROTECTED]> wrote:
>
> > Advise me to install APC PowerChute Plus 4.5.2.1 on FreeBSD 5.1 or
> > later. PowerChute 4.5.2_1 is  for Red Hat 6.1 or 6.2
> >
> > The other version of PowerChute 4.5.3_1 is for Red Hat 7.2
> >
> > Which is suitable for our FreeBSD with available Linux Emulators.
>
>
http://www.freshports.org/search.php?query=ups&search=go&num=10&stype=name&m
ethod=match&deleted=excludedeleted&start=11&casesensitivity=caseinsensitive
>
> You may find that handy... a listing of some ports for UPS work.
>
> Linux kernel modules can't be used on FreeBSD. Only binaries can be.
>

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


Re: GUI-related questions.

2004-03-05 Thread Chris
On Friday 05 March 2004 07:40 pm, Gary Kline wrote:
>
>   The err stated that I should pkg_delete 3.1.4 first; that
>   KDE-3.2.0 was trying to install in the same place.
>   A few hours ago I tried pkg_add to install this.  It found
>   kde but not kde3.  Using mozilla I found there was no
>   "Package" under KDE3.
>
>   (I can see myself wasting dozens of hours playing around
>with all these toys...  Got to watch it :)
>
>   gary


In order to install KDE 3.2.0, you do indeed need to pkg_delete ALL (and 
that's the key) ALL related KDE libs.

By typing 
/usr/local/sbin/pkgdb -fuF && /usr/local/sbin/portversion -vL= > tmp
you will pump the results to the file tmp.
Read through that file and note ALL KDE libs. pkg_delete them all by hand, 
then install KDE.

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


Re: GUI-related questions.

2004-03-05 Thread Gary Kline
On Fri, Mar 05, 2004 at 04:29:41PM -0600, Vulpes Velox wrote:
> On Fri, 5 Mar 2004 00:51:41 -0800
> Gary Kline <[EMAIL PROTECTED]> wrote:
> 
> > 
> > Hi,
> > 
> > Before I launch into my new DNS server, I thought I'd try
> > Gnome and KDE.  I still do most things in terminals, by
> > CLI rather than GUI.  Here I use ctwm and have my workspaces
> > configured with many xterms/workspace.  I've hand-coded at
> > least three different sized xterms.  Is there a way of having
> > various sized terms in Gnome andor KDE?
> 
> Same as under any other window manager... put the mouse over the
> window, hold down alt, right-click and drag till you like it. In Xterm
> you can easily change the font size by holding down control and right
> clicking on it.
> 

Thanks.  KDE|Gnome allow various-sized terms and fonts;
it's seriously kool.  Probably coded/saved in XML somewhere.



> > Another issue is that somehow I lost libintl.so.5.  What
> > builds this library?  I borrowed it from another server;
> > it was in one of the compat libs, IIRC. 
> 
> Long Story short... this happens when the gettext got updated... I am
> guessing you cvsuped and then did a portupgrade -a or something... You
> can fix this quickly by finding the libintl.so.6, iirc the newest one,
> and create a sym link pointing to it from libintl.so.5... or you could
> recompile all apps that depend on it by doing a portupgrade -rRf
> gettext...


X wouldn't come up without this library.  Both startx and
xdm blew up whereas a week earlier (after having scp'd 
linintl.so.5) startx brought up Gnome as root just fine.
(I'm learning as I play around... .)

> 
> > The CD's I installed 5.2 from have KDE-3.1.4; for some reason
> > the latest rev of KDE refuses to upgrade.  I was using
> > portupgrade, remotely.  Any idea why 3.2.0 won't install?
> 
> What is the error?


The err stated that I should pkg_delete 3.1.4 first; that
KDE-3.2.0 was trying to install in the same place.  
A few hours ago I tried pkg_add to install this.  It found
kde but not kde3.  Using mozilla I found there was no
"Package" under KDE3.

(I can see myself wasting dozens of hours playing around 
 with all these toys...  Got to watch it :)

gary


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

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


Re: Upgrading from 4.7 to 5.2.1 buildworld errors

2004-03-05 Thread Kris Kennaway
On Fri, Mar 05, 2004 at 01:28:25PM -0600, Ray Seals wrote:
> I have a 4.7 machine that I installed the 5.2.1 sources on (ie. copied
> the /usr/src directory from a fresh installed 5.2.1 machine).  
> 
> When I do a make buildworld I get an error about "no target to make"
> when it starts stage 4.1 (building includes).  
> 
> This is a production box and I don't want to build it from scratch is
> there a way for me to get the 5.2.1 sources on the box and do an upgrade
> that way?

There are a number of ways to obtain and install FreeBSD - see the
handbook for comprehensive instructions.

Kris


pgp0.pgp
Description: PGP signature


Re: make install problem

2004-03-05 Thread Kris Kennaway
On Sat, Mar 06, 2004 at 01:43:00AM +0800, [EMAIL PROTECTED] wrote:
> im in the middle of a
> 
> #make deinstall
> #make reinstall
> 
> of py-bittorrent, so i can download things using this fantastic tool.
> 
> unfortunately, it seems like when i run that, or a #make all install clean,
> it shows this:
> 
> >> wxPythonSrc-2.4.2.4.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
> >> Attempting to fetch from http://eu.dl.sourceforge.net/wxpython/.
> fetch: http://eu.dl.sourceforge.net/wxpython/wxPythonSrc-2.4.2.4.tar.gz:
> Requested Range Not Satisfiable
> >> Attempting to fetch from http://us.dl.sourceforge.net/wxpython/.
> fetch: http://us.dl.sourceforge.net/wxpython/wxPythonSrc-2.4.2.4.tar.gz:
> Requested Range Not Satisfiable
> >> Attempting to fetch from ftp://ftp.kddlabs.co.jp/sourceforge/wxpython/.
> fetch:
> ftp://ftp.kddlabs.co.jp/sourceforge/wxpython/wxPythonSrc-2.4.2.4.tar.gz:
> Operation timed out

Try either doing a 'make distclean' first to remove any corrupted
copies of the distfile you may have, and if that still fails then you
can fetch a known-good copy from ftp.freebsd.org by setting
MASTER_SITE_OVERRIDE or MASTER_SITE_BACKUP in /etc/make.conf (compare
to the example make.conf file to see how).

> This is strange becasue this machine serves as a web server and has no
> problem with that.  The problem is that it cannot seem to connect with the
> outside world.  I can't even use ftp, whereas before i did that all the
> time.

Well, if you can't use FTP at *all* then that's your root problem.
You'll need to do some more debugging to track down what is going
wrong.  e.g. use verbose modes on ftp clients, tcpdump, check network
settings, any proxy settings, etc.

Kris


pgp0.pgp
Description: PGP signature


Re: How can I rebuild prots databases?

2004-03-05 Thread Kris Kennaway
On Fri, Mar 05, 2004 at 03:06:18PM -0500, stan wrote:
> On Fri, Mar 05, 2004 at 05:09:06AM -0800, Kris Kennaway wrote:
> > On Fri, Mar 05, 2004 at 07:18:45AM -0500, stan wrote:
> > 
> > > > > > > I'm getting things like this when I run portupgrade:
> > > > > > > 
> > > > > > > !  (pgaccess-0.98.6)(missing origin)
> > > > > > > !  (acroread-3.02)  (missing origin)
> > > > > > > !  (netscape-wrapper-2000.07.07)(missing origin)
> > 
> > > Well I spent about 3 hours yesterday afternoon filling in package names to pkgdb 
> > > -F's prompts,
> > > and I still can't get portupfrade to work :-)
> > 
> > OK, that's a different problem than you told us about above.
> > 
> > Please be more specific: in what way does portupgrade not work for
> > you?  Include sample output showing the problem(s).
> 
> OK, look at this session:
> 
> 
> Script started on Fri Mar  5 13:15:11 2004
> You have mail.
> wateral# runsocks portupgrade -arR -l /home/stan/report
> cd: can't cd to /usr/ports/X11/XFree86-4
> make: don't know how to make all-depends-list. Stop
> 
> ^C
> Interrupted.
> wateral# 
> wateral# ^Dexit
> 
> Script done on Fri Mar  5 13:34:03 2004
> 
> As you can see, it just hangs there. That's 19 minutes with just the first
> error, which is caused by a typo in my setting up things by hand (should be
> x11, not X11). pkgd is not allowing me to fix that either.
> 
> Any sugestiosn?

For each package that has been set to the wrong location, use the -o
option to portupgrade (perhaps with the -f option) to rebuild it from
the correct location.

Kris

pgp0.pgp
Description: PGP signature


"The Complete FreeBSD": errata and addenda

2004-03-05 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

"The Complete FreeBSD" has been through a total of five editions, including its
predecessor "Installing and Running FreeBSD".  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Have you found a problem with the book, or maybe something confusing?  Please
let me know: I'm constantly updating it.

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


How to get best results from FreeBSD-questions

2004-03-05 Thread Greg Lehey
How to get the best results from FreeBSD questions.
===

Last update $Date: 2003/03/09 22:09:31 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions, -newbies or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the "newcomers"), and also those who answer the
questions (the "hackers").

   Note that the term "hacker" has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is "cracker", but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst other things, it
told you how to unsubscribe.  Here's a typical message:

  Welcome to the freebsd-questions mailing list!

  If you ever want to remove yourself from this mailing list,
  you can send mail to "[EMAIL PROTECTED]" with the following command
  in the body of your email message:

  unsubscribe freebsd-questions Greg Lehey <[EMAIL PROTECTED]>

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send "how to" questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  FreeBSD-questions.  If that's the case, you'll have to figure out
  which one it is and get your name taken off that one.  If you're
  not sure which one it might be, check the headers of the
  messages you receive from freebsd-questions: maybe there's a
  clue there.

If you've done all this, and you still can't figure out what's going
on, send a message to [EMAIL PROTECTED], and he will sort things
out for you.  Don't send a message to FreeBSD-questions: they can't
help you.

III: Should I ask -questions, -newbies or -hackers?
===

Two mailing lists handle general questions about FreeBSD,
FreeBSD-questions and FreeBSD-hackers.  In addition, the
FreeBSD-newbies l

Re: Where to find e2fsck?

2004-03-05 Thread Vulpes Velox
On Fri, 5 Mar 2004 22:02:30 +0200
Kyryll A Mirnenko <[EMAIL PROTECTED]> wrote:

>   There's very stupid problem when using EXT2[3]FS partitions
>   read-write on 
> FreeBSD that after power failure you have nothing to check it (e.g. 
> apropriate fsck) and can't use it rw any more (I've no linux on my
> machine for a year, the partition is one left from it's
> installation) - kernel denies it's mounting rw till it's CLEAR falg
> is set.
>   So, where to find e2fsck for FreeBSD?
>   One more question: kernel comments're saying ext2fs support is not
>   updated 
> frequently. Is there an alternative ext2fs (and better ext3fs) 3rd
> party support for FreeBSD?

Check out sysutils/e2fsprogs. It includes...

sbin/badblocks
sbin/blkid
sbin/debugfs
sbin/dumpe2fs
sbin/e2fsck
sbin/e2image
sbin/e2label
sbin/findfs
sbin/fsck.ext2
sbin/fsck.ext3
sbin/fsck_ext2fs
sbin/logsave
sbin/mke2fs
sbin/mkfs.ext2
sbin/mkfs.ext3
sbin/mklost+found
sbin/resize2fs
sbin/tune2fs
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


in FreeBSD-4.5R: nl_langinfo() - where is it?

2004-03-05 Thread Charles Bacon
I've downloaded the FreeBSD 4.5-version of OpenOffice.org1.1.0 -
this is the second version of OpenOffice.org I've tried.
Incanting openoffice-1.1 (or any of the symlinks which point to it)
results in the message
  /usr/libexec/ld-elf.so.1:
  /usr/local/OpenOffice.org1.1.0/program/libsal.so.3: Undefined symbol
  "nl_langinfo"

I built my kernel with options COMPAT_LINUX and P1003_1B (not sure if
either matters), and installed everything from the 4.5 CD.  Or did I?
I expect "RTFM you fool!" but really am a bit over my head.  Help?

Chuck Bacon - [EMAIL PROTECTED]
"After all, computers have rights too!" - Ernst Bacon, 1898-1990

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


Re: GUI-related questions.

2004-03-05 Thread Vulpes Velox
On Fri, 5 Mar 2004 00:51:41 -0800
Gary Kline <[EMAIL PROTECTED]> wrote:

> 
>   Hi,
> 
>   Before I launch into my new DNS server, I thought I'd try
>   Gnome and KDE.  I still do most things in terminals, by
>   CLI rather than GUI.  Here I use ctwm and have my workspaces
>   configured with many xterms/workspace.  I've hand-coded at
>   least three different sized xterms.  Is there a way of having
>   various sized terms in Gnome andor KDE?

Same as under any other window manager... put the mouse over the
window, hold down alt, right-click and drag till you like it. In Xterm
you can easily change the font size by holding down control and right
clicking on it.

>   Another issue is that somehow I lost libintl.so.5.  What
>   builds this library?  I borrowed it from another server;
>   it was in one of the compat libs, IIRC. 

Long Story short... this happens when the gettext got updated... I am
guessing you cvsuped and then did a portupgrade -a or something... You
can fix this quickly by finding the libintl.so.6, iirc the newest one,
and create a sym link pointing to it from libintl.so.5... or you could
recompile all apps that depend on it by doing a portupgrade -rRf
gettext...

>   The CD's I installed 5.2 from have KDE-3.1.4; for some reason
>   the latest rev of KDE refuses to upgrade.  I was using
>   portupgrade, remotely.  Any idea why 3.2.0 won't install?

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


Building Packages - Links to Tutorials?

2004-03-05 Thread Drew Tomlinson
I have a "faster" machine that I'd like to use to build packages and 
then install those packages on my "slower" machine.  I'm looking for 
links to info describing this process and some best practices.  I'm 
familiar with using portupgrade to build and install ports.  I've read 
the portupgrade man pages and see options to build and install packages 
but am not understanding how to put it all together.

Any links appreciated.

Thanks,

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


Re: Where to find e2fsck?

2004-03-05 Thread Jeremy Faulkner
Kyryll A Mirnenko wrote:
  There's very stupid problem when using EXT2[3]FS partitions read-write on 
FreeBSD that after power failure you have nothing to check it (e.g. 
apropriate fsck) and can't use it rw any more (I've no linux on my machine 
for a year, the partition is one left from it's installation) - kernel denies 
it's mounting rw till it's CLEAR falg is set.
  So, where to find e2fsck for FreeBSD?
  One more question: kernel comments're saying ext2fs support is not updated 
frequently. Is there an alternative ext2fs (and better ext3fs) 3rd party 
support for FreeBSD?

ports/sysutils/e2fsprogs

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


Re: Where to find e2fsck?

2004-03-05 Thread albi
On Fri, 5 Mar 2004 22:02:30 +0200
Kyryll A Mirnenko <[EMAIL PROTECTED]> wrote:

>   There's very stupid problem when using EXT2[3]FS partitions
>   read-write on 
> FreeBSD that after power failure you have nothing to check it (e.g. 
> apropriate fsck) and can't use it rw any more (I've no linux on my
> machine for a year, the partition is one left from it's installation)
> - kernel denies it's mounting rw till it's CLEAR falg is set.
>   So, where to find e2fsck for FreeBSD?

why don't you use a knoppix-cdrom in this case ? (or a Linux Live-cd
where the iso-image is less than 700 Mb to download)
http://www.linuxiso.org -> knoppix

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


Partition Magic-like UFS drives manager

2004-03-05 Thread Kyryll A Mirnenko
  I really need UFS / FFS (internal slices) manager able to move & merge both 
BIOS UFS partitions & slices inside it. Does anyone know such tool?

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


Questions regarding Sendmail on FreeBSD

2004-03-05 Thread Jason Williams
Hello everyone.

I've been playing with Sendmail for a couple of weeks now and I feel pretty 
comfortable with it. Lately, what i've done is just download the source 
code for sendmail and build and compile as needed. It still works fine.

However, I have some questions about how Sendmail comes setup default on a 
FreeBSD system. For instance, there are quite a few directories and 
locations of where sendmail items are located and im confused as to why 
everything is where it is and why there are duplicate files.

For instance:

mail# find / -type d -name sendmail -print
/usr/libexec/sendmail
/usr/share/sendmail
/usr/src/contrib/sendmail
/usr/src/contrib/sendmail/include/sendmail
/usr/src/etc/sendmail
/usr/src/share/sendmail
/usr/src/usr.sbin/sendmail
Doing a quick scan of some of the directories:

mail# ls -la /usr/share/sendmail/cf/
total 202
drwxr-xr-x  11 root  wheel 512 Mar  5 04:58 .
drwxr-xr-x   3 root  wheel 512 Mar  5 04:58 ..
-r--r--r--   1 root  wheel  174953 Oct 27 07:25 README
drwxr-xr-x   2 root  wheel1024 Mar  5 04:58 cf
drwxr-xr-x   2 root  wheel 512 Mar  5 04:58 domain
drwxr-xr-x   2 root  wheel1536 Mar  5 04:58 feature
drwxr-xr-x   2 root  wheel 512 Mar  5 04:58 hack
drwxr-xr-x   2 root  wheel 512 Mar  5 04:58 m4
drwxr-xr-x   2 root  wheel 512 Mar  5 04:58 mailer
drwxr-xr-x   2 root  wheel1024 Mar  5 04:58 ostype
-r--r--r--   1 root  wheel6273 Oct 27 07:25 sendmail.schema
drwxr-xr-x   2 root  wheel 512 Mar  5 04:58 sh
drwxr-xr-x   2 root  wheel 512 Mar  5 04:58 siteconfig
mail# ls -l /usr/src/contrib/sendmail/
total 604
-rw-r--r--   1 root  wheel 321 Aug 27  2000 FAQ
-rw-r--r--   1 root  wheel2290 Mar 29  2003 FREEBSD-upgrade
-rw-r--r--   1 root  wheel1952 Jun 20  2002 INSTALL
-rw-r--r--   1 root  wheel   10346 Feb 13  2003 KNOWNBUGS
-rw-r--r--   1 root  wheel4117 Jun 20  2002 LICENSE
-rw-r--r--   1 root  wheel 966 Mar 25  2002 Makefile
-rw-r--r--   1 root  wheel   57708 Mar  3  2003 PGPKEYS
-rw-r--r--   1 root  wheel   18089 Feb 13  2003 README
-rw-r--r--   1 root  wheel  455225 Mar 29  2003 RELEASE_NOTES
drwxr-xr-x  11 root  wheel 512 Mar  5 13:24 cf
drwxr-xr-x   2 root  wheel1024 Mar  5 13:24 contrib
drwxr-xr-x   3 root  wheel 512 Mar  5 13:24 doc
drwxr-xr-x   2 root  wheel 512 Mar  5 13:24 editmap
drwxr-xr-x   6 root  wheel 512 Mar  5 13:24 include
drwxr-xr-x   3 root  wheel 512 Mar  5 13:24 libmilter
drwxr-xr-x   2 root  wheel2048 Mar  5 13:24 libsm
drwxr-xr-x   2 root  wheel 512 Mar  5 13:24 libsmdb
drwxr-xr-x   2 root  wheel 512 Mar  5 13:24 libsmutil
drwxr-xr-x   2 root  wheel 512 Mar  5 13:24 mail.local
drwxr-xr-x   2 root  wheel 512 Mar  5 13:24 mailstats
drwxr-xr-x   2 root  wheel 512 Mar  5 13:24 makemap
drwxr-xr-x   2 root  wheel 512 Mar  5 13:24 praliases
drwxr-xr-x   2 root  wheel 512 Mar  5 13:24 rmail
drwxr-xr-x   2 root  wheel 512 Mar  5 13:24 smrsh
drwxr-xr-x   2 root  wheel1536 Mar  5 13:24 src
drwxr-xr-x   2 root  wheel 512 Mar  5 13:24 test
drwxr-xr-x   2 root  wheel 512 Mar  5 13:24 vacation
mail# ls -la /usr/src/etc/sendmail/
total 18
drwxr-xr-x   2 root  wheel   512 Mar  5 13:24 .
drwxr-xr-x  14 root  wheel  2048 Mar  5 13:24 ..
-rw-r--r--   1 root  wheel  3364 Sep  4  2003 Makefile
-rw-r--r--   1 root  wheel  4144 Apr 24  2003 freebsd.mc
-rw-r--r--   1 root  wheel  2236 Mar 29  2002 freefall.mc
As you can see, there are a couple of 'cf' directories.
Let's not forget about /etc/mail either.
I'm a bit confused on why everything is spread out the way it is and was 
looking for some feedback to help me understand this more.
For instance, if I was to install a patch (lets say the patch if you dont 
have 8.12.10) I would need to navigate to the source directory for the 
default sendmail on FreeBSD...where is that directory?

I appreciate the help. Right now, im just trying to understand this as im 
trying to decide whether to use the source tarball for install, or the 
ports tree (love ports!).

Thanks,

Jason

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


Accessing Oracle8i Data on a FreeBSD System

2004-03-05 Thread Martin McCormick
I have just been thrust in to unknown waters when it comes to
data bases.  I will be writing scripts which live on a FreeBSD Unix
system and which will query a Pinnacle server on another host.

The only oracle client for FreeBSD is oracle7-client.  There
is also oracle7 support in the current port of php, but nothing that
says oracle8I.

There is a linux distribution available on the Oracle web
site called linux81701.tar, but it appears to be for those wishing to
run an oracle8I server.

What we are trying to do is:
Receive data from the oracle data base on the Pinnacle server, process
the data, and be able to set or clear flags on data we send back to
the Pinnacle server.

My question is what tools do I actually need under FreeBSD
Unix to access the Pinnacle server's oracle8i data?

We presently use freetds to do exactly this sort of thing with
data in a MSsql data base on yet a different platform.

The only thing I am bewildered about right now is how to or
maybe whether it is possible to access the oracle8I DB?

Many thanks to all.

Martin McCormick WB5AGZ  Stillwater, OK 
OSU Information Technology Division Network Operations Group
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Where to find e2fsck?

2004-03-05 Thread Kyryll A Mirnenko
  There's very stupid problem when using EXT2[3]FS partitions read-write on 
FreeBSD that after power failure you have nothing to check it (e.g. 
apropriate fsck) and can't use it rw any more (I've no linux on my machine 
for a year, the partition is one left from it's installation) - kernel denies 
it's mounting rw till it's CLEAR falg is set.
  So, where to find e2fsck for FreeBSD?
  One more question: kernel comments're saying ext2fs support is not updated 
frequently. Is there an alternative ext2fs (and better ext3fs) 3rd party 
support for FreeBSD?

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


FreeBSD scanning slides

2004-03-05 Thread Dave
Hi folks,

I'm looking to replace an old scanner which died.  It has a white light
and colour scanning element and worked well enough for me to scan in
negatives and slides without any special addons etc.

I've been through the list at www.sane-project.org to see what might be my
best low cost replacement since I'd very much like it to work with FreeBSD
to reduce my depandacny on Windows, but after spending a great deal of
time searching I'm find it almost impossible to identify which scanners
use a white light and not that horrible RGB flashing LED thing (which I
have experience of and is not suitable for transparencies.

Price *is* an object, so I'm hoping some of you people may be able to
suggest a suitable FreeBSD/Sane compatible scanner for me which is low in
cost.  Note that I'm in the UK and am prepared to search ebay.co.uk etc
for second hand units.

Thanks

Dave

-- 
Any speling misteaks are the reult of a bad insallation of mod_spelink.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: x86 install routines

2004-03-05 Thread Jerry McAllister
> 
> What's the problem with making this freebsd easy to install from the prompt?
> I am curious, is writing install routines for the x86 desktop difficult? 
> and what
> exactly is the difficulty.
> Let me know, I am more than happy to help the project.

Are you talking about installing FreeBSD or Xfree86?   or what?

If you want to contribute, then create your stuff and submit it?

By the way, Xfree86 is somewhat distinct from FreeBSD.
FreeBSD is the OS and people optionally install and 
configure Xfree86 on it.

jerry

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


Re: xterm

2004-03-05 Thread Ed Budd
On Fri, 05 Mar 2004 16:42:26 -0500
"Gerald S. Stoller" <[EMAIL PROTECTED]> wrote:

>   I use  xterm  a lot and I always set the font size to
> tiny  which requires (to my current knowledge) an additional
> action (this action is particularly reprehensible to me because
> it requires that I use both hands, one on the mouse and one on
> the keyboard) after the window is opened.  Is there anyway I
> can specify this along with the  xterm  invocation, say by
> setting an environment variable appropriately?
> 
> _
> Get business advice and resources to improve your work life, from
> bCentral. http://special.msn.com/bcentral/loudclear.armx
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

Hi,

You can add the fontsize as a parameter when you invoke it, like this:

xterm -fn 

I use 'xterm -fn 9x15' on a high res monitor and set it (along with some
other params) in my window manager (blackbox) menu config.

EB


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


Re: GUI-related questions.

2004-03-05 Thread Lee Harr
  Before I launch into my new DNS server, I thought I'd try
  Gnome and KDE.  I still do most things in terminals, by
  CLI rather than GUI.  Here I use ctwm and have my workspaces
  configured with many xterms/workspace.  I've hand-coded at
  least three different sized xterms.  Is there a way of having
  various sized terms in Gnome andor KDE?
Well, I suppose the simplest way would be to continue using the
same hand-coded xterm configurations that you are using now.
If you want to use konsole or gnome-terminal, those can certainly
be resized. I think they understand the same flags xterm uses.
KDE will also remember the layout of your setup so that you do
not need to rearrange things the next time you log in. (gnome
may do that too... I am not familiar with it)

  Another issue is that somehow I lost libintl.so.5.  What
  builds this library?  I borrowed it from another server;
  it was in one of the compat libs, IIRC.
devel/gettext

I found it like this ...

cd /var/db/pkg
grep -r libintl *
although there may be better ways to do that :o)


  The CD's I installed 5.2 from have KDE-3.1.4; for some reason
  the latest rev of KDE refuses to upgrade.  I was using
  portupgrade, remotely.  Any idea why 3.2.0 won't install?
What was your process?
Did you read this ...
http://freebsd.kde.org/instructions.php
?
_
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: Qpopper & SSL

2004-03-05 Thread Joshua Lokken
* Filmbetyg - Pelle Andersson <[EMAIL PROTECTED]> [2004-03-06 15:04]:
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html#CURRENT
> 
> 
> - Original Message - 
> From: "Joshua Lokken" <[EMAIL PROTECTED]>
> To: "Pelle Andersson (SPD Systems AB)" <[EMAIL PROTECTED]>
> Sent: Saturday, March 06, 2004 3:19 PM
> Subject: Re: Qpopper & SSL
> 
> 
> > * Pelle Andersson (SPD Systems AB) <[EMAIL PROTECTED]> [2004-03-05 20:43]:
> > > Hi!
> > >
> > > Want to get Qpopper to work with SSL on a FreeBSD 4.9.
> > >
> > > I'm using:
> > > FreeBSD 4.9 CURRENT-p3
> > >
> >
> > What is FreeBSD 4.9 CURRENT?  It seems to go against the
> > understanding I have about the development branches...
> > Can anyone enlighten me on this?
> >

OK.  My understanding was that the development branch of
the 4.x line was called STABLE, and the development branch
of 5.x was called CURRENT...hmm.  Time to check the archives...

-- 
Joshua

... The prejudices people feel about each other disappear when then get
to know each other.
-- Kirk, "Elaan of Troyius", stardate 4372.5
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


x86 install routines

2004-03-05 Thread patrick
What's the problem with making this freebsd easy to install from the prompt?
I am curious, is writing install routines for the x86 desktop difficult? 
and what
exactly is the difficulty.
Let me know, I am more than happy to help the project.

Cordially,

Patrick Sadler

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


Re: xterm

2004-03-05 Thread Aaron Peterson
>   I use  xterm  a lot and I always set the font size to
> tiny  which requires (to my current knowledge) an additional
> action (this action is particularly reprehensible to me because
> it requires that I use both hands, one on the mouse and one on
> the keyboard) after the window is opened.  Is there anyway I
> can specify this along with the  xterm  invocation, say by
> setting an environment variable appropriately?

you might check into setting options for xterm in the .Xdefaults file of
your home directory...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


xterm

2004-03-05 Thread Gerald S. Stoller
I use  xterm  a lot and I always set the font size to
tiny  which requires (to my current knowledge) an additional
action (this action is particularly reprehensible to me because
it requires that I use both hands, one on the mouse and one on
the keyboard) after the window is opened.  Is there anyway I
can specify this along with the  xterm  invocation, say by
setting an environment variable appropriately?
_
Get business advice and resources to improve your work life, from bCentral. 
http://special.msn.com/bcentral/loudclear.armx

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


Re: New Users Learning FreeBSD

2004-03-05 Thread Joshua Lokken
* Charles McManis <[EMAIL PROTECTED]> [2004-03-06 11:48]:
> My less than complimentary thought is that they all suck, but that's only 
> because 99% of the developers who are writing code for *Linux/*BSD don't 
> really care about the "new user experience." They care about whatever it is 
> they are developing. 
> 
> Thus the difference between say "standard install" from a FreeBSD distro CD 
> and sticking a Windows XP install CD into your computer is vastly different 
> in favor of the Microsoft product. 

OTOH, this is a good example of why I was initially attracted
to FreeBSD.  I would much rather know just what's going on
during an installation than knowing only that "Installation
will complete in 37 minutes..."  When I see that, my first
thought is, 'what the heck could possibly be taking 37 minutes?'
But, of course, I can't find out.  All I get are repeating messages
about how Windows XP is going to revolutionize my desktop experience.
What is that?  No, to most people, ncurses isn't as pretty as a
Windows GUI, but give me sysinstall anyday.

> In a weird and scary way I helped contribute to this because I worked at Sun 
> back in the day when Sun was doing a 386 based workstation and the folks who 
> worked in Chelmsford were trying to put a much better "face" on SunOS 
> (4.0.2). Like other people in the systems group I was fairly disparaging 
> about "gratuitous changes" to hide unnecessary things from the user (Sun East 
> had a splash screen with a "thermometer" display like you see in Win9x/NT/XP 
> these days. I didn't realize just how ahead of the game they were. I look 
> back today and realize I made a big mistake by not being more supportive of 
> their efforts.

It doesn't seem like a splash screen can really tell you
much about the quality of a piece of software or an OS.
 
> To your direct question, I think newbies should install something tha someone 
> they know has already installed and become experienced on. Otherwise the 
> initial frustration of not being to get anywhere until it "clicks" can really 

OTOH, the initial frustration may just drive you to
read the manual, a good idea when starting off with
any piece of technology.  My newbie experience has
been (while frustrating at times) supremely rewarding
due to the hard work of the folks that have put
together the FreeBSD documentation, official and
otherwise. 

The folks here at questions are extremely helpful,
too.  Another resource that makes my newbie experience
a positive one.

> turn them off to the thought of Open Source based systems. A friend of mine, 
> an engineer, spent a really rough day trying to get FreeBSD running on his 
> laptop. Debian Linux however came right up. I've been more successful getting 
> NetBSD and FreeBSD running, but I've got a BSD background so don't count as a 
> "newbie" so much (grumpy old fart perhaps, but not a newbie :-)
> 
> --Chuck

Yes, I would agree that FreeBSD is not for the faint-
of-heart, but it's also really not that 'difficult'
to use.  Again, some reading is NECESSARY.  If you
want an absolute lack-of-effort install, then yes,
perhaps Windows XP is a good choice of OS, however,
if you're curious about FreeBSD, which the OP obviously
is, then by all means, jump on in!  The water's great!

> On Friday 05 March 2004 00:16, Loren M. Lang wrote:
> > I am curious what some newbies experiences were with FreeBSD who have
> > have no unix experience before.  I have someone that I might be setting
> > up a unix workstation of some kind for and I'm debating whether I should
> > use FreeBSD or some Linux distro like mandrake or debian.  I will be
> > there most of the time to help if needed as this is for work and will
> > not be his home desktop, at least not yet.  He only have some experience
> > with using dos and windoze, but he does have some technical background
> > with computers.


-- 
Joshua

There's another way to survive.  Mutual trust -- and help.
-- Kirk, "Day of the Dove", stardate unknown
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How can I rebuild prots databases?

2004-03-05 Thread stan
On Fri, Mar 05, 2004 at 05:09:06AM -0800, Kris Kennaway wrote:
> On Fri, Mar 05, 2004 at 07:18:45AM -0500, stan wrote:
> 
> > > > > > I'm getting things like this when I run portupgrade:
> > > > > > 
> > > > > > !  (pgaccess-0.98.6)(missing origin)
> > > > > > !  (acroread-3.02)  (missing origin)
> > > > > > !  (netscape-wrapper-2000.07.07)(missing origin)
> 
> > Well I spent about 3 hours yesterday afternoon filling in package names to pkgdb 
> > -F's prompts,
> > and I still can't get portupfrade to work :-)
> 
> OK, that's a different problem than you told us about above.
> 
> Please be more specific: in what way does portupgrade not work for
> you?  Include sample output showing the problem(s).

OK, look at this session:


Script started on Fri Mar  5 13:15:11 2004
You have mail.
wateral# runsocks portupgrade -arR -l /home/stan/report
cd: can't cd to /usr/ports/X11/XFree86-4
make: don't know how to make all-depends-list. Stop

^C
Interrupted.
wateral# 
wateral# ^Dexit

Script done on Fri Mar  5 13:34:03 2004

As you can see, it just hangs there. That's 19 minutes with just the first
error, which is caused by a typo in my setting up things by hand (should be
x11, not X11). pkgd is not allowing me to fix that either.

Any sugestiosn?


-- 
"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]"


Re: New Users Learning FreeBSD

2004-03-05 Thread Charles McManis
My less than complimentary thought is that they all suck, but that's only 
because 99% of the developers who are writing code for *Linux/*BSD don't 
really care about the "new user experience." They care about whatever it is 
they are developing. 

Thus the difference between say "standard install" from a FreeBSD distro CD 
and sticking a Windows XP install CD into your computer is vastly different 
in favor of the Microsoft product. 

In a weird and scary way I helped contribute to this because I worked at Sun 
back in the day when Sun was doing a 386 based workstation and the folks who 
worked in Chelmsford were trying to put a much better "face" on SunOS 
(4.0.2). Like other people in the systems group I was fairly disparaging 
about "gratuitous changes" to hide unnecessary things from the user (Sun East 
had a splash screen with a "thermometer" display like you see in Win9x/NT/XP 
these days. I didn't realize just how ahead of the game they were. I look 
back today and realize I made a big mistake by not being more supportive of 
their efforts.

To your direct question, I think newbies should install something tha someone 
they know has already installed and become experienced on. Otherwise the 
initial frustration of not being to get anywhere until it "clicks" can really 
turn them off to the thought of Open Source based systems. A friend of mine, 
an engineer, spent a really rough day trying to get FreeBSD running on his 
laptop. Debian Linux however came right up. I've been more successful getting 
NetBSD and FreeBSD running, but I've got a BSD background so don't count as a 
"newbie" so much (grumpy old fart perhaps, but not a newbie :-)

--Chuck

On Friday 05 March 2004 00:16, Loren M. Lang wrote:
> I am curious what some newbies experiences were with FreeBSD who have
> have no unix experience before.  I have someone that I might be setting
> up a unix workstation of some kind for and I'm debating whether I should
> use FreeBSD or some Linux distro like mandrake or debian.  I will be
> there most of the time to help if needed as this is for work and will
> not be his home desktop, at least not yet.  He only have some experience
> with using dos and windoze, but he does have some technical background
> with computers.

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


Antivir doesn't work on local 5.x file system, but works fine on mounted ...

2004-03-05 Thread George Swentek
Antivir ( http://www.antivir.de/ ) - a popular antivirus scanner
doesn't work on local file system in Freebsd 5.X


The result from FreeBSD 4.9 system:
[EMAIL PROTECTED]:~$antivir -s  /var/log/
AntiVir / FreeBSD Version 2.1.0-9
Copyright (c) 1994-2004 by H+BEDV Datentechnik GmbH.
All rights reserved.
...
- scan results -
 directories:2
   files:   14
  alerts:0
   scan time: 00:00:01


Files are 14 and everything is OK.
--
The result from FreeBSD 5.1 system:
su-2.05b# antivir -s /var/log/
AntiVir / FreeBSD Version 2.1.0-9
Copyright (c) 1994-2004 by H+BEDV Datentechnik GmbH.
All rights reserved.
...
- scan results -
 directories:1
   files:0
  alerts:0
   scan time: 00:00:01



Files are 0 and it seems that antivir doesn't recognize the files in the file 
system.I'v noticed this behaviour since the early 5.0 distribution. 

The strange thing about all this stuff is that antivir is working fine
on mounted file system, even it is FreeBSD 5.X on it, but still refuse to scan files 
mounted on / 
That's the reason I post this message here.
What is the difference between / and mounted file system, even if they are from the 
same
installation media..

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


Upgrading from 4.7 to 5.2.1 buildworld errors

2004-03-05 Thread Ray Seals
I have a 4.7 machine that I installed the 5.2.1 sources on (ie. copied
the /usr/src directory from a fresh installed 5.2.1 machine).  

When I do a make buildworld I get an error about "no target to make"
when it starts stage 4.1 (building includes).  

This is a production box and I don't want to build it from scratch is
there a way for me to get the 5.2.1 sources on the box and do an upgrade
that way?

Ray

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


Boot time, init? getty repeated too many times

2004-03-05 Thread Peter Leftwich
Hi everyone and happy Friday.

When I boot my FreeBSD box, I think init is giving an error that
getty repeated too many times and that it will halt for 30 seconds.

Is there a simple fix for this?  I am not getting a login prompt and
AFAIK the other vtty's are not accessible.  The system locks up.

--
Peter Leftwich, President & Founder
Video2Video Services
Box 13692, La Jolla, CA, 92039, USA
http://Www.Video2Video.Com



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


RE: New Users Learning FreeBSD

2004-03-05 Thread Remko Lodder
You know,

Every OS is 'difficult' to learn. However the freebsd handbooks and other
docs , on the site
are very very informative which can tell you whatever you want, and a good
FAQ
And ofcourse We are there to help you (Questions mailing list, and the
others ;))

Cheers

--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl Dutch community for helping newcomers on the
hackerscene

mrtg.grunn.org Dutch mirror of MRTG

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Vulpes Velox
Verzonden: vrijdag 5 maart 2004 15:55
Aan: Loren M. Lang
CC: FreeBSD Mailing list
Onderwerp: Re: New Users Learning FreeBSD


On Fri, 5 Mar 2004 00:16:09 -0800
"Loren M. Lang" <[EMAIL PROTECTED]> wrote:

> I am curious what some newbies experiences were with FreeBSD who
> have have no unix experience before.  I have someone that I might be
> setting up a unix workstation of some kind for and I'm debating
> whether I should use FreeBSD or some Linux distro like mandrake or
> debian.  I will be there most of the time to help if needed as this
> is for work and will not be his home desktop, at least not yet.  He
> only have some experience with using dos and windoze, but he does
> have some technical background with computers.

FreeBSD was my the first UNIX like system I've ever used... I found
the documentation to be very useful. As long as your willing to read,
it is easy :)
___
[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: 1 processor vs. 2

2004-03-05 Thread Charles Swiger
On Mar 5, 2004, at 5:57 AM, Jan Grant wrote:
How did you come to this conclusion? For a RAID 5 with a single parity
drive, the reason you zero the disks out completely on initialisation 
is
to set up the integrity of the parity check. Then any update to any
RAID5 with single parity requires a read of two drives (the target
sector and the corresponding parity drive), an in-memory exclusive or
against the new data, and two writes. Reads and writes can be in
parallel.
You're right, which means I came to my conclusion wrongly, I guess.  
:-)  Part of this was because I was also thinking about how the array 
behaves after a failure, as you mention next:

The "work" for parity updates only scales linearly with number of disks
if you use a naive parity algorithm. Or, obviously, if a drive fails.
Even using a non-naive :-) algorithm, RAID-5 writes still take somewhat 
more work than RAID-1 writes do in terms of I/O ops.

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


Re: SIngle User Mode Help

2004-03-05 Thread Joshua Lokken
* Jerry McAllister <[EMAIL PROTECTED]> [2004-03-06 06:00]:
> > 
> > > > Hey Guys,
> > > > 
> > > > I'm constantly botching up my fstab file and the system will fail to boot
> > > You're right to make a copy before tinkering.
> > > 
> > > That is correct, but, of course, it only gets the root (/) filesystem
> > > mounted.   You may need stuff on other ones, especially /usr.
> > > 
> > > Try doing 
> > >fsck /usr or   fsck  /dev/d0s1f 
> > >mount /usror   mount /dev/d0s1f /usr   or whatever slice and
> > >   partition you have /usr on
> > > 
> > 
> > Or, to make things easier:
> > 
> > prompt# fsck -p
> 
> Except this might not work if he has bollixed up his fstab as indicated
> in the original question.
> 
> > prompt# mount -u /
> > prompt# mount -a -tufs
> 
> This might not wokr either with a bad fstab.
> 
> but doing it for specific devices to specific mount points should work
> even with a messed up fstab.
> 
> jerry

Oh, yeah!  Good point ;)

-- 
Joshua

Is not that the nature of men and women -- that the pleasure is in the
learning of each other?
-- Natira, the High Priestess of Yonada, "For the World is
   Hollow and I Have Touched the Sky", stardate 5476.3.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sparc classic

2004-03-05 Thread Erik Trulsson
On Fri, Mar 05, 2004 at 11:15:09AM -0600, Brian Henning wrote:
> Is there a port of freebsd that will run on a sparc classic?
> I only see one for 64 bit sparc on the ftp site.

No.  FreeBSD currently does not support 32-bit Sparc machines, and
AFAIK such support is not planned for the future either.
You could try NetBSD instead. I am fairly sure that works fine on both
32- and 64-bit Sparcs.

-- 

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


make install problem

2004-03-05 Thread rfa
im in the middle of a

#make deinstall
#make reinstall

of py-bittorrent, so i can download things using this fantastic tool.

unfortunately, it seems like when i run that, or a #make all install clean,
it shows this:

>> wxPythonSrc-2.4.2.4.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
>> Attempting to fetch from http://eu.dl.sourceforge.net/wxpython/.
fetch: http://eu.dl.sourceforge.net/wxpython/wxPythonSrc-2.4.2.4.tar.gz:
Requested Range Not Satisfiable
>> Attempting to fetch from http://us.dl.sourceforge.net/wxpython/.
fetch: http://us.dl.sourceforge.net/wxpython/wxPythonSrc-2.4.2.4.tar.gz:
Requested Range Not Satisfiable
>> Attempting to fetch from ftp://ftp.kddlabs.co.jp/sourceforge/wxpython/.
fetch:
ftp://ftp.kddlabs.co.jp/sourceforge/wxpython/wxPythonSrc-2.4.2.4.tar.gz:
Operation timed out

I only recently saw this Requested Range Not Satisfiable message and was
wondering why until only recently it went Operation Timed out.

I don't remember doing anything strange to this box, although i did do a
cvsup to keep all my sources up to date.

This is strange becasue this machine serves as a web server and has no
problem with that.  The problem is that it cannot seem to connect with the
outside world.  I can't even use ftp, whereas before i did that all the
time.

Anyone got any ideas?

btw this is running 4.8 stable with apache1.3 , mysql 3.23, and php4

Yours,

Rommel






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


Re: sparc classic

2004-03-05 Thread Tillman Hodgson
On Fri, Mar 05, 2004 at 11:15:09AM -0600, Brian Henning wrote:
> Is there a port of freebsd that will run on a sparc classic?
> I only see one for 64 bit sparc on the ftp site.

No, there isn't. Sparc64 works wonderfully, however.

http://www.freebsd.org/releases/5.2.1R/hardware.html

I suspect that you'll end up running NetBSD, OpenBSD or a Linux variant
on that box. I looked into it a while back because I like old Sun gear,
but I like having a homogenous environment even more :-)

-T


-- 
Special knowledge can be a terrible disadvantage if it leads you too far along 
a path that you cannot explain anymore.
- Mentat Admonition
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


make install problem

2004-03-05 Thread rfa
im in the middle of a

#make deinstall
#make reinstall

of py-bittorrent, so i can download things using this fantastic tool.

unfortunately, it seems like when i run that, or a #make all install clean,
it shows this:

>> wxPythonSrc-2.4.2.4.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
>> Attempting to fetch from http://eu.dl.sourceforge.net/wxpython/.
fetch: http://eu.dl.sourceforge.net/wxpython/wxPythonSrc-2.4.2.4.tar.gz:
Requested Range Not Satisfiable
>> Attempting to fetch from http://us.dl.sourceforge.net/wxpython/.
fetch: http://us.dl.sourceforge.net/wxpython/wxPythonSrc-2.4.2.4.tar.gz:
Requested Range Not Satisfiable
>> Attempting to fetch from ftp://ftp.kddlabs.co.jp/sourceforge/wxpython/.
fetch:
ftp://ftp.kddlabs.co.jp/sourceforge/wxpython/wxPythonSrc-2.4.2.4.tar.gz:
Operation timed out

I only recently saw this Requested Range Not Satisfiable message and was
wondering why until only recently it went Operation Timed out.

I don't remember doing anything strange to this box, although i did do a
cvsup to keep all my sources up to date.

This is strange becasue this machine serves as a web server and has no
problem with that.  The problem is that it cannot seem to connect with the
outside world.  I can't even use ftp, whereas before i did that all the
time.

Anyone got any ideas?


Yours,

Rommel






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


Re: fxp autoselect problem

2004-03-05 Thread Joshua Lokken
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2004-03-06 03:00]:
> Hello,
> 
> I have a problem with the fxp driver in FreeBSD4.9 RELEASE.
> The switch is 100Mbit full duplex but it seems the handshake with my
> network card does not work correctly.
> 
> fxp0: flags=8843 mtu 1500
> media: Ethernet autoselect (100baseTX)
> status: active
> 
> The network throughput is very slow ( 8kbit/sec).
> 
> Is there a way to force the driver to 100 Mbit full duplex and disable the
> autoselect ?


See the fxp(4) man page for additional ifconfig options
you can pass to the driver... eg.

(in /etc/rc.conf)

ifconfig_fxp0="inet 10.0.0.1 netmask 255.255.255.0 \
media 100BaseTX mediaopts full-duplex"

-- 
Joshua

"What terrible way to die."
"There are no good ways."
-- Sulu and Kirk, "That Which Survives", stardate unknown
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


sparc classic

2004-03-05 Thread Brian Henning
Is there a port of freebsd that will run on a sparc classic?
I only see one for 64 bit sparc on the ftp site.

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


Re: Networking problem UPDATED

2004-03-05 Thread Chris Dillon
On Thu, 4 Mar 2004, Steve Ireland wrote:

> The two interfaces are on different subnets: 192.168.0.0/24 and
> 192.168.10.0/24. You need to either add a static route between them
> or change their netmasks to at least a /21.

Huh?  They _must_ be on different subnets.  You can't route one subnet
across multiple network interfaces.  Besides, a router always knows
how to route packets between its own directly-attached networks, no
additional routes are necessary.

The problem here is that a route needs to be added for 192.168.10.0/24
-> 192.168.0.100 in the upstream router(s), since the upstream
router(s) do not currently know to send any packets destined for
192.168.10.0/24 to 192.168.0.100 for delivery.  The upstream router is
currently sending these packets to its own default gateway, which is
likely even further upstream.  IP routers aren't mind-readers, you
have to tell them exactly where to send packets, but usually that is
very simple.

Running a routing protocol (such as RIP) on both the FreeBSD box in
question and the upstream router(s) would automatically add the same
route for you, but that is unnecessary in such a simple network
configuration.

-- 
 Chris Dillon - cdillon(at)wolves.k12.mo.us
 FreeBSD: The fastest, most open, and most stable OS on the planet
 - Available for IA32, IA64, AMD64, PC98, Alpha, and UltraSPARC architectures
 - PowerPC, ARM, MIPS, and S/390 under development
 - http://www.freebsd.org

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?

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


Re: PowerChute Plus

2004-03-05 Thread Vulpes Velox
On Fri, 5 Mar 2004 15:30:45 +0600
"K.S.Selvarajan" <[EMAIL PROTECTED]> wrote:

> Advise me to install APC PowerChute Plus 4.5.2.1 on FreeBSD 5.1 or
> later. PowerChute 4.5.2_1 is  for Red Hat 6.1 or 6.2 
> 
> The other version of PowerChute 4.5.3_1 is for Red Hat 7.2
> 
> Which is suitable for our FreeBSD with available Linux Emulators.

http://www.freshports.org/search.php?query=ups&search=go&num=10&stype=name&method=match&deleted=excludedeleted&start=11&casesensitivity=caseinsensitive

You may find that handy... a listing of some ports for UPS work.

Linux kernel modules can't be used on FreeBSD. Only binaries can be.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: New Users Learning FreeBSD

2004-03-05 Thread Vulpes Velox
On Fri, 5 Mar 2004 00:16:09 -0800
"Loren M. Lang" <[EMAIL PROTECTED]> wrote:

> I am curious what some newbies experiences were with FreeBSD who
> have have no unix experience before.  I have someone that I might be
> setting up a unix workstation of some kind for and I'm debating
> whether I should use FreeBSD or some Linux distro like mandrake or
> debian.  I will be there most of the time to help if needed as this
> is for work and will not be his home desktop, at least not yet.  He
> only have some experience with using dos and windoze, but he does
> have some technical background with computers.

FreeBSD was my the first UNIX like system I've ever used... I found
the documentation to be very useful. As long as your willing to read,
it is easy :)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: SIngle User Mode Help

2004-03-05 Thread Jerry McAllister
> 
> * Jerry McAllister <[EMAIL PROTECTED]> [2004-03-06 02:42]:
> > > 
> > > Hey Guys,
> > > 
> > > I'm constantly botching up my fstab file and the system will fail to boot
> > > correctly. I've learned to create a working fstab and call is fstab.orig
> > > which I can overwrite the botched file if I end up in Single User Mode...
> > 
> > You're right to make a copy before tinkering.
> > 
> > > I can't find any info on Single User Mode to help me:
> > > 
> > > - I use mount -u / to mount the filesystem as read/write
> > 
> > That is correct, but, of course, it only gets the root (/) filesystem
> > mounted.   You may need stuff on other ones, especially /usr.
> > 
> > Try doing 
> >fsck /usr or   fsck  /dev/d0s1f 
> >mount /usror   mount /dev/d0s1f /usr   or whatever slice and
> >   partition you have /usr on
> > 
> > > - I cannot access any editors like vi or pico (my personal) favorite once in
> > > single user mode... Why?
> > 
> 
> Or, to make things easier:
> 
> prompt# fsck -p

Except this might not work if he has bollixed up his fstab as indicated
in the original question.

> prompt# mount -u /
> prompt# mount -a -tufs

This might not wokr either with a bad fstab.

but doing it for specific devices to specific mount points should work
even with a messed up fstab.

jerry

> 
> just like pre-buildworld...
> 
> -- 
> Joshua
> 
> Another war ... must it always be so?  How many comrades have we lost
> in this way? ...  Obedience.  Duty.  Death, and more death ...
>   -- Romulan Commander, "Balance of Terror", stardate 1709.2
> ___
> [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: SIngle User Mode Help

2004-03-05 Thread Joshua Lokken
* Jerry McAllister <[EMAIL PROTECTED]> [2004-03-06 02:42]:
> > 
> > Hey Guys,
> > 
> > I'm constantly botching up my fstab file and the system will fail to boot
> > correctly. I've learned to create a working fstab and call is fstab.orig
> > which I can overwrite the botched file if I end up in Single User Mode...
> 
> You're right to make a copy before tinkering.
> 
> > I can't find any info on Single User Mode to help me:
> > 
> > - I use mount -u / to mount the filesystem as read/write
> 
> That is correct, but, of course, it only gets the root (/) filesystem
> mounted.   You may need stuff on other ones, especially /usr.
> 
> Try doing 
>fsck /usr
>mount /usror   mount /dev/d0s1f /usr   or whatever slice and
>   partition you have /usr on
> 
> > - I cannot access any editors like vi or pico (my personal) favorite once in
> > single user mode... Why?
> 

Or, to make things easier:

prompt# fsck -p
prompt# mount -u /
prompt# mount -a -tufs

just like pre-buildworld...

-- 
Joshua

Another war ... must it always be so?  How many comrades have we lost
in this way? ...  Obedience.  Duty.  Death, and more death ...
-- Romulan Commander, "Balance of Terror", stardate 1709.2
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


address CD drive differently between 4.8 and 4.9

2004-03-05 Thread Chris McMahon
Hello... 
 I'm mounting FreeBSD from a USB CD device.  This
doesn't happen automatically; at a "mountroot" prompt,
in 4.8, I had to type "cd9660:cd0" and it worked.  
For 4.9, the necessary command changed-- but I
can't remember what it is!  That is, it's
"mountroot>cd9660:???".  
 If someone could help my memory a bit, I would
appreciate it... 
  -Chris 

__
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Binary file created in / with same name as root password,

2004-03-05 Thread Jerry McAllister
> 
> 
> On Thu, Mar 04, 2004 at 11:18:38PM -0500, Bob Johnson wrote:
> > On Thursday 04 March 2004 04:13 pm, Jonathan Neill  > <[EMAIL PROTECTED]>> wrote:
> > > Apologies if this is a stupid question and I should RTFM, but
> > > something on my Freebsd-5.1 box is creating a binary file in / with
> > > the same name as my root password and I was curious as to what
> > > exactly this might be. (I always SSH into the box on a regular user
> > > then su root to do work.)
> >=20
> > That depends.  Is your password "entropy"?
> 
> If not, tell us what it is so we can figure out what is creating it :-)

And so we can get in to your machine and "fix" it for you.
We're all helpful people out here on the net.

jerry

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


Re: filesystem

2004-03-05 Thread Jerry McAllister
> 
> Hi, I can't seem to edit or create files under any other directory other than /usr, 
> /var, or /home (and there respective subdirectories) even as root.  i get the error: 
> filesystem full.
> 
> I have an 80 gig HD and a fresh install of FreeBSD, so i know my hd is not full. 
> perhaps this has something to do with the partitioning scheme.  I am new to FreeBSD, 
> but I have been a linux user for some time, so i am basically familiar with commands.
> 
> I cannot create a new user(tried kuser/ adduser and sysinstall util)
> I cannot edit any system files under /etc.
> I cannot create any new directories under / and copy anything into them.
> in fact, I cannot do anything unless it entails writing to /usr, /var or /home.

Well, you may have a big enough disk, but one of your file systems is
not big enough or has too much garbage in it.  The most likely one
is the root file system (/).   

First use df(1)  to check your mounted disk file systems
  df -kor  df -Hif you prefer

Then cd to the overrun filesystem (probably /) and use du(1) to
track down what is overfilling it.
Example:
  cd /
  du -sk *
find three xxx.core files and /tmp  using up most of the space
  rm *.core
  mkdir /home/ofl.tmp(for offload tmp)
  cd /tmp
  rm -r *
  cd /
  ln -s /home/ofl.tmp /tmp

Now you should have lots of room in /

Alternatively, some people use /var/tmp for their /tmp or put it 
wherever they have lots of space.  I create a separate file system for it.
That way it is independant of other file systems having to be mounted
if I need scratch space while in single user mode.

If it isn't core files and /tmp, then you might have to pursue the
du checks a little farther down the directory trees.  Remember that
when you are in /, all the other file systems are rooted their.  You
only need investigate things that are not in the other file systems.

jerry
> 
> Thanks for your help
> Jeff
> 
> __
> Introducing the New Netscape Internet Service. 
> Only $9.95 a month -- Sign up today at http://isp.netscape.com/register
> 
> Netscape. Just the Net You Need. 
> 
> New! Netscape Toolbar for Internet Explorer
> Search from anywhere on the Web and block those annoying pop-ups.
> Download now at http://channels.netscape.com/ns/search/install.jsp
> ___
> [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: Jail setup

2004-03-05 Thread Chris Meyers
On Fri, 2004-03-05 at 00:57, Harald Schmalzbauer wrote:
> ...cut...
> > Things seem to be fine. I can see the jailed environment and everything
> > looks fine. I log out and then try to set up the last configuations so I
> > can ssh in and run sendmail. In the non-jail /etc/rc.conf I added the
> > following lines:
> >
> > ifconfig_fxp0_alias0="10.0.0.203 netmask 255.255.255.0"
> 
> This is wrong. The jail can only have one IP so netmask has to be 0x 
> (255.255.255.255)
> Do you have something like this on the host?
> fconfig_fxp0="inet 10.0.0.202  netmask 0xff00" #host
> ifconfig_fxp_alias0="inet 10.0.0.203 netmask 0x"#jail 1 
...cut again...
> 
> Change the IP like I wrote above and everything should be fine.
> 
> -Harry

This all worked (thank you Harry), but now I have a slightly different
problem. I can ssh to the jail, but I get the following message:

Warning: no access to tty (Bad file descriptor). Thus no job control in
this shell. You can use the 'fetch' command to retrieve files over ftp
or http. 
fetch http://www.freebsd.org/index.html
will download the front page of the FreeBSD web site.

I figured this had something to do with my MAKEDEV problem so after
re-reading the jail manpage (thanks albi) I found the following:

mount_devfs devfs /usr/jail/dev

Now I can ssh to the 10.0.0.203 address without problem. This is OK, but
not ideal. I am wondering if there is something I need to do to set up
the devfs in the jail permanantly, or do I have to run the mount_devfs
command every time I start the jail. I was planning on writing a
/usr/local/etc/rc.d shell script to start the jail on boot up anyway, so
adding the mount command to that isn't a big deal, I was just wondering
if there was another way.

Thanks,
Chris


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


fxp autoselect problem

2004-03-05 Thread David . Bauer
Hello,

I have a problem with the fxp driver in FreeBSD4.9 RELEASE.
The switch is 100Mbit full duplex but it seems the handshake with my
network card does not work correctly.

fxp0: flags=8843 mtu 1500
media: Ethernet autoselect (100baseTX)
status: active

The network throughput is very slow ( 8kbit/sec).

Is there a way to force the driver to 100 Mbit full duplex and disable the
autoselect ?

Thanks so lot,
David.



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


Re: SIngle User Mode Help

2004-03-05 Thread Jerry McAllister
> 
> Hey Guys,
> 
> I'm constantly botching up my fstab file and the system will fail to boot
> correctly. I've learned to create a working fstab and call is fstab.orig
> which I can overwrite the botched file if I end up in Single User Mode...

You're right to make a copy before tinkering.

> I can't find any info on Single User Mode to help me:
> 
> - I use mount -u / to mount the filesystem as read/write

That is correct, but, of course, it only gets the root (/) filesystem
mounted.   You may need stuff on other ones, especially /usr.

Try doing 
   fsck /usr
   mount /usror   mount /dev/d0s1f /usr   or whatever slice and
  partition you have /usr on

> - I cannot access any editors like vi or pico (my personal) favorite once in
> single user mode... Why?

Probably they are in the /usr file system.   I usually put a copy of vi
in /bin  which should stay in root and not be farmed out somewhere.
Then I can get at it when things are all bollixed up.

> - I can't use the locate command, because the /usr/libexec/locate.updatedb
> script is not accessible

Also, it is /usr which isn't mounted.

> - I can't su because this is not a recognized command

That is also in /usr, but you don't need it because in single user mode
you are already root.

> Can anyone shed any light on how I can actually edit (preferably using pico)
> my fstab file once I'm in "botch" mode?

Learn vi for use in such circumstances or maybe ee.  You don't want to
have to depend on having one of those bloatware editors working when
you have problems in single user.

Light's above,

jerry

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


Re: Dual-boot FreeBSD 4.x/5.x

2004-03-05 Thread Jerry McAllister
> 
> 
> Is it possible to dual boot FreeBSD 4.9 and 5.2.1 on one system, each
> using a different / partition, but sharing the same /usr partition for
> example?  I'd really like to try out some of the features of 5.x, but be
> able to easily go back to 4.9 if I find it too unstable.

I don't think you could really "share" a /usr partition between
the two systems.  There are too many differences.   Anyway, you
could not install binaries for one and expect them to run in the
other.

jerry

> 
> --=20
> I sense much NT in you.
> NT leads to Bluescreen.
> Bluescreen leads to downtime.
> Downtime leads to suffering.
> NT is the path to the darkside.
> Powerful Unix is.
> 
> Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
> Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
> =20
> 
> --A6N2fC+uXW/VQSAv
> Content-Type: application/pgp-signature
> Content-Disposition: inline
> 
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.2.1 (GNU/Linux)
> 
> iD8DBQFASGAu+vN6RuSjKAwRAnFPAJsFN+NEhYvV3AjC4t7zFkohUQ058wCfXZv4
> QZOAD3SHkCKHf3LRgzz/JyA=
> =SDSf
> -END PGP SIGNATURE-
> 
> --A6N2fC+uXW/VQSAv--
> 

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


Re: apache log files rotation

2004-03-05 Thread Uwe Doering
Dave McCammon wrote:
--- fbsd_user <[EMAIL PROTECTED]> wrote:
Can apache logs be rotated by /etc/newsyslog.conf?
If not, how is it normally done?
___
Here is the relevent portion of my newsyslog.conf

/var/log/httpd-access.log 640  14*$D0   Z 
 /var/run/httpd.pid
/var/log/httpd-error.log  640  14*$D0   Z 
 /var/run/httpd.pid

"man newsyslog" for more info on the fields.
Just a hint in case you plan on running a web statistics program over 
the access log: add 'B' to the flags column for 'httpd-access.log', 
resulting in 'BZ'.  This will omit the 'logfile turned over due to ...' 
lines generated by 'newsyslog', which the statistics program may 
otherwise complain about.

   Uwe
--
Uwe Doering |  EscapeBox - Managed On-Demand UNIX Servers
[EMAIL PROTECTED]  |  http://www.escapebox.net
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mysql in a jail

2004-03-05 Thread Uwe Doering
[EMAIL PROTECTED] wrote:
I have a system running four jails. MySQL is running in two of the jails and I
am trying to add it to a 3rd jail. Starting the server gets the message:
  040302 19:34:15  mysql started
  040302 19:34:15  Can't start server : Bind on unix socket: Permission denied
  040302 19:34:15  Do you already have another mysqld server running on socket:
   /tmp/mysql.sock ?
  040302 19:34:15  Aborting
  040302 19:34:15  /usr/local/libexec/mysqld: Shutdown Complete
  040302 19:34:15  mysqld ended
The new jail was created by copying the file tree from a jail that had the
desired configuration and then doing clean-up as required. In response to the
error I tried configuring mysqld to use a different port and socket file. That
did not fix the problem. I had forgotten the other two mysql's are using port
3306 and /tmp/mysql.sock.
[...]
Are you sure that each jail runs on its own, unique IP address?  If not, 
port binding conflicts are to be expected.  You cannot have multiple 
MySQL daemons on the same IP address/port combination, regardless of 
whether they run inside jails or not.

   Uwe
--
Uwe Doering |  EscapeBox - Managed On-Demand UNIX Servers
[EMAIL PROTECTED]  |  http://www.escapebox.net
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


make of Cyrus-sasl fails

2004-03-05 Thread Guy Van Sanden
I tried to make Cyrus-sasl, but I failed like this:
(My system is FreeBSD 5.2.1 with MIT Kerberos)

cc -Wall -W -O -pipe -mcpu=pentiumpro -L/usr/local/lib -L/usr/lib
-rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -L/usr/local/lib
-L/usr/local/lib -o saslauthd saslauthd.o mechanisms.o auth_dce.o
auth_getpwent.o auth_krb5.o auth_krb4.o auth_pam.o auth_rimap.o
auth_shadow.o auth_sia.o -L/usr/local/lib -lgssapi_krb5 -lkrb5
-lk5crypto -lcom_err -lcrypt -lpam  -Wl,--rpath -Wl,/usr/local/lib
-Wl,--rpath -Wl,/usr/lib -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath
-Wl,/usr/lib
/usr/local/lib/libkrb5.so: warning: mktemp() possibly used unsafely;
consider using mkstemp()
auth_krb5.o: In function `k5support_verify_tgt':
auth_krb5.o(.text+0xe6): undefined reference to `krb5_data_zero'
*** Error code 1

Stop in /usr/ports/security/cyrus-sasl/work/cyrus-sasl-1.5.28/saslauthd.
*** Error code 1

Stop in /usr/ports/security/cyrus-sasl/work/cyrus-sasl-1.5.28.
*** Error code 1

Stop in /usr/ports/security/cyrus-sasl/work/cyrus-sasl-1.5.28.
*** Error code 1

Stop in /usr/ports/security/cyrus-sasl.
*** Error code 1

Stop in /usr/ports/security/cyrus-sasl.

Am I doing something wrong?

-- 
__  

  Guy Van Sanden 
  http://unixmafia.port5.com  

  Registered Linux user #249404 - September 1997
__

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


Re: Binary file created in / with same name as root password, seemingly sporadically

2004-03-05 Thread Kris Kennaway
On Fri, Mar 05, 2004 at 05:11:49AM -0800, Kris Kennaway wrote:
> On Fri, Mar 05, 2004 at 06:27:04AM -0600, Jonathan Neill wrote:
> > Why yes, as a matter of fact it is^H^Hwas...
> > 
> > Something special about it?
> 
> Only that it's a spectacularly bad password that happens to coincide
> with an unrelated FreeBSD file.  I hope your new root password isn't
> "COPYRIGHT" or "kernel" :-)

You know, there's something deeply ironic about using the low-entropy
word "entropy" for what should be a high-entropy password, then
reducing the entropy still further by posting to a public mailing list
with a clue to what it is.  Moreover, your confusion surrounds the
/entropy file, which is used by the system to store high-quality
entropy data for seeding purposes.

:-)

Kris0`&$31U2A?7+_0)&5SQ%,HK2G-+[;T_DP),)[/#N\WP2.VP2P,EME8BZDGF





pgp0.pgp
Description: PGP signature


Re: filesystem

2004-03-05 Thread Ion-Mihai Tetcu

[ 72 chars / line, please ]

On Fri, 05 Mar 2004 00:44:06 -0500
[EMAIL PROTECTED] wrote:

> Hi, I can't seem to edit or create files under any other directory
> other than /usr, /var, or /home (and there respective subdirectories)
> even as root.  i get the error: filesystem full.
> 
> I have an 80 gig HD and a fresh install of FreeBSD, so i know my hd is
> not full. perhaps this has something to do with the partitioning
> scheme.  I am new to FreeBSD, but I have been a linux user for some
> time, so i am basically familiar with commands.
> 
> I cannot create a new user(tried kuser/ adduser and sysinstall util)
> I cannot edit any system files under /etc.
> I cannot create any new directories under / and copy anything into
> them. in fact, I cannot do anything unless it entails writing to /usr,
> /var or /home.

Well, your / partition is full. You can edit on /var, /usr, /home
because they are on separate partitions. You have to find out why is
full; du(1) is your frient for that. If you don't have a partition
mounted on /tmp then this is your answer. See what is in /tmp, delete
what is not needed, symlink /tmp to /var/tmp.

-- 
IOnut
Unregistered ;) FreeBSD user

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


RE: filesystem

2004-03-05 Thread Remko Lodder
what's in df -h ?

can you preview it here?
Perhaps you have too many big files in your / partition,

Cheers

--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl Dutch community for helping newcomers on the
hackerscene

mrtg.grunn.org Dutch mirror of MRTG

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]
Verzonden: vrijdag 5 maart 2004 6:44
Aan: [EMAIL PROTECTED]
Onderwerp: filesystem


Hi, I can't seem to edit or create files under any other directory other
than /usr, /var, or /home (and there respective subdirectories) even as
root.  i get the error: filesystem full.

I have an 80 gig HD and a fresh install of FreeBSD, so i know my hd is not
full. perhaps this has something to do with the partitioning scheme.  I am
new to FreeBSD, but I have been a linux user for some time, so i am
basically familiar with commands.

I cannot create a new user(tried kuser/ adduser and sysinstall util)
I cannot edit any system files under /etc.
I cannot create any new directories under / and copy anything into them.
in fact, I cannot do anything unless it entails writing to /usr, /var or
/home.

Thanks for your help
Jeff

__
Introducing the New Netscape Internet Service.
Only $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp
___
[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]"


PowerChute Plus

2004-03-05 Thread K.S.Selvarajan
Advise me to install APC PowerChute Plus 4.5.2.1 on FreeBSD 5.1 or later. PowerChute 
4.5.2_1 is  for Red Hat 6.1 or 6.2 

The other version of PowerChute 4.5.3_1 is for Red Hat 7.2

Which is suitable for our FreeBSD with available Linux Emulators.

With regards

Selvarajan

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


filesystem

2004-03-05 Thread gRaPneLL
Hi, I can't seem to edit or create files under any other directory other than /usr, 
/var, or /home (and there respective subdirectories) even as root.  i get the error: 
filesystem full.

I have an 80 gig HD and a fresh install of FreeBSD, so i know my hd is not full. 
perhaps this has something to do with the partitioning scheme.  I am new to FreeBSD, 
but I have been a linux user for some time, so i am basically familiar with commands.

I cannot create a new user(tried kuser/ adduser and sysinstall util)
I cannot edit any system files under /etc.
I cannot create any new directories under / and copy anything into them.
in fact, I cannot do anything unless it entails writing to /usr, /var or /home.

Thanks for your help
Jeff

__
Introducing the New Netscape Internet Service. 
Only $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need. 

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


help

2004-03-05 Thread Umair Hussain
hi ...
im using wana use pppoE its not that i cannot configure the thng ive got 
evrythng done with ppp.conf n my modem also getting connected now i need 
to get sum accounting done on my users which r on windows offcourse i 
wana use a radius server so can ne1 out there plz help me out with this 
problem how do i get database to verify the users logging on to the server 
using Ic Radius or free radius ...

thanks

_
The new MSN 8: advanced junk mail protection and 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]"


Re: Binary file created in / with same name as root password, seemingly sporadically

2004-03-05 Thread Kris Kennaway
On Fri, Mar 05, 2004 at 06:27:04AM -0600, Jonathan Neill wrote:
> Why yes, as a matter of fact it is^H^Hwas...
> 
> Something special about it?

Only that it's a spectacularly bad password that happens to coincide
with an unrelated FreeBSD file.  I hope your new root password isn't
"COPYRIGHT" or "kernel" :-)

Kris


pgp0.pgp
Description: PGP signature


Re: How can I rebuild prots databases?

2004-03-05 Thread Kris Kennaway
On Fri, Mar 05, 2004 at 07:18:45AM -0500, stan wrote:

> > > > > I'm getting things like this when I run portupgrade:
> > > > > 
> > > > > !  (pgaccess-0.98.6)(missing origin)
> > > > > !  (acroread-3.02)  (missing origin)
> > > > > !  (netscape-wrapper-2000.07.07)(missing origin)

> Well I spent about 3 hours yesterday afternoon filling in package names to pkgdb 
> -F's prompts,
> and I still can't get portupfrade to work :-)

OK, that's a different problem than you told us about above.

Please be more specific: in what way does portupgrade not work for
you?  Include sample output showing the problem(s).

Kris


pgp0.pgp
Description: PGP signature


Re: REALLY frustrated with ports problem

2004-03-05 Thread Kris Kennaway
On Fri, Mar 05, 2004 at 12:01:36PM +, Jonathon McKitrick wrote:
> 
> Thanks, guys, it was the optimization settings.  I was trying the ones I
> found on the bsd-tuning page, and thought -O3 was okay for non-kernel.

Please be sure to tell whoever wrote the "bsd-tuning" page that
they're giving out bad advice.

Kris


pgp0.pgp
Description: PGP signature


Re: Growing RAID5 (using RAID0).

2004-03-05 Thread Lewis Thompson
On Fri, Mar 05, 2004 at 11:28:17PM +1100, Tony Frank wrote:
> On Thu, Feb 26, 2004 at 02:15:14PM +, Lewis Thompson wrote:
> > i.e. can I create a RAID0 volume from two RAID5 volumes?

> >   I understand this might sound a little odd but if it works it would be
> > the ideal solution for me.  I would also be interested in hearing how
> > other people might have overcome this problem of growing a large RAID5
> > volume.
> 
> As you didnt post anything about your implementation I can only guess.
> If you are using hardware raid5 for each disk set and it cannot do raid0 
> on top you could look at using software raid0 to join the two hardware
> sets. Eg vinum can do raid0 in software over raid5 in hardware.
>  
> If you are doing this purely in software it will depend on what software
> you use.  If using vinum I believe you can only mirror across two (or more)
> raid5 plexes, so probably not what you want to do.

Yes.  I forgot to specify but this was going to be purely software RAID.
I've recently had a little trouble buying a hardware ATA raid card (I
was shipped an incorrect model and lost out about GBP 100!) so until
then I'm software only.

  I looked at (I think) raidframe (?) and this /appeared/ to support
this functionality but I wasn't sure if it was something Vinum was also
able to do.  It seems you have clarified this for me.

  Thanks a lot!

-lewiz.

-- 
I was so much older then, I'm younger than that now.  --Bob Dylan, 1964.

-| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |-


pgp0.pgp
Description: PGP signature


vmware3 -CURRENT.

2004-03-05 Thread Lewis Thompson
Hi,

I've just CVSupped to -CURRENT in an attempt to learn more about FreeBSD
development in general.

  However, vmware3 no longer works.  I get errors about vmnet1 not
existing, yet I have the appropriate entries in /compat/linux/dev.
However, I /do/ have a vmnet4097 when I run ifconfig.

  I notice that ls -ld /compat/linux/dev/vmnet1 shows:

crw-r--r--  1 root  wheel  149, 0x0081 Mar  5 12:49 /compat/linux/dev/vmnet1

while ls -ld /dev/vmnet1 shows:

crw---  1 root  wheel  226, 0x0011 Mar  5 12:01 /dev/vmnet1

  I searched on the mailing lists and eventually found an old PR
(http://www.freebsd.org/cgi/query-pr.cgi?pr=48608) that seems as though
it might be relevant.

  Any suggestions?  Or am I being optimistic in thinking vmware3 will
run on -CURRENT?

-lewiz.

P.S.
I rebuilt all of the necessary packages after the upgrade.

-- 
I was so much older then, I'm younger than that now.  --Bob Dylan, 1964.

-| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |-


pgp0.pgp
Description: PGP signature


RE: redirecting /tmp

2004-03-05 Thread Sunil Sunder Raj
Hi,

Stop all processess.
# rm -rf /tmp
# mkdir /usr/tmp
# chmod 1777 /usr/tmp
# ln -s /usr/tmp /tmp
Restart all processess.

Regards
SSR
_
Easiest Money Transfer to India. Send Money To 6000 Indian Towns. 
http://go.msnserver.com/IN/42198.asp Easiest Way To Send Money Home!

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


Re: vinum crashed

2004-03-05 Thread Tony Frank
Hi there,

On Thu, Feb 26, 2004 at 09:14:06AM +0100, Axel S. Gruner wrote:
> I setup a disk stripping with two disks and vinum. I was impressed about 
> the quick and easy setup.
> The configuration is, that i installed FreeBSD 5.2.1-RC2 on /, a little 
> bit of swap, and the gave the rest for vinum.
> So the two disks have both a bootable / and /usr and /var is on vinum.
> All went fine and was working.
> Yes, was...
> A colleague of mine went to the server, took the first HD out, and tried 
> to boot. Crash. Single user mode. Thats it. (strange guy...).
> Ok, i put the second HD in, rebooted the server, and still found myself 
> in single user.
> fsck on vinum does not work (but the filesystem wants to do a fsck).
> So i looked at "vinum ls" output an saw that vinum is marked as "crashed".
> 
> After a
> #vinum
> vinum --> start
> 
> the stripping was up again. Happy happy joy joy i thought and i booted 
> into multiuser mode.
> To test it out, i rebooted the machine, and, no more happy happy und no 
> more joy joy, the system boots in single user mode, wants to fsck vinum, 
> can not do that
> 
> Yes, i know, it would be fine to post some error messages, but right now 
> i dont have any access to that machine.
> So, what could be the problem, and how to solve it.
> 
> I appreciate any hints.

Do you include start_vinum="YES" in your /etc/rc.conf ?  It is likely given
information about past working, but maybe it was lost/changed?

After a subdisk has crashed the data is still valid so a 'vinum start' should
bring the plex back online.  This will then give you full access to your 
filesystems.
At that point you should run fsck on the vinum volumes to ensure no errors.

Anytime you start in single user mode you will need to begin with a 
'vinum start' command at least to get vinum going unless you load vinum 
in /etc/loader.conf or something.

To help any further we would need some specific error details.

Regards,

Tony

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


RE: Qpopper & SSL

2004-03-05 Thread Lee Dilkie
 
> I have followed the instruction at various sites about how this
> should be done including eudora.com/qpopper. I have also followed
> alot of instructions on how to make a cert-file (cert.pem) from
> a .key and .crt file. That includes openssh.org. I cannot get it
> to work anyway. --> I must be missing something?!? <--
>  
> I am reciving the errors below in my log files.
>  
> Mar  5 13:00:33 frodo qpopper[390]: Error setting private key PEM file
> /usr/local/etc/qpopper/cert.pem
> Mar  5 13:00:33 frodo qpopper[390]: ...SSL error: error:0906D06C:PEM
> routines:PEM_read_bio:no start line
> Mar  5 13:00:33 frodo qpopper[390]: ...SSL error: error:140B0009:SSL
> routines:SSL_CTX_use_PrivateKey_file:PEM lib
> Mar  5 13:00:33 frodo qpopper[390]: Failed initializing TLS/SSL

The error indicates that Qpopper (OpenSSL actually) is having problems reading the 
private key. Since you are using one file to hold both the private key and the 
certificate you need to be sure it's formatted correctly *and* the private key isn't 
encrypted with a password (when you generated the certifiate request, you did so 
without a password...).

cert.pem shold look like..
-BEGIN RSA PRIVATE KEY-
MIICXgIBAAKB
...
-END RSA PRIVATE KEY-
Certificate:
Data:
Version: 3 (0x2)
...
d1:81
-BEGIN CERTIFICATE-
MIIEATCCA2qgAwIBAgIBCjANBgkqhkiG9...
...
SNSweeFHTZfpnGjjSp9lb258gtGB
-END CERTIFICATE-

You may have mutiple certificate sections. The Certificate: section is only really for 
looks and isn't parsed. It's the BEGIN RSA PRIVATE KEY section that is important, or 
at least the part that is causing this error.

-lee

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


Re: Growing RAID5 (using RAID0).

2004-03-05 Thread Tony Frank
Hi there,

On Thu, Feb 26, 2004 at 02:15:14PM +, Lewis Thompson wrote:
> I've been thinking about this and I'm wondering if it is possible to do
> something like the following:
> 
>   I have an existing RAID5 volume, comprised of just 3 120GB disks.
> However, I've just bought three more 250GB disks that I also want to
> RAID5.
> 
>   I would still like a single volume, comprising the size of the two
> RAID5 volumes.  Could this be possible through the use of RAID0?

In theory, yes.

> i.e. can I create a RAID0 volume from two RAID5 volumes?

Depends on the raid implementation.

>   I understand this might sound a little odd but if it works it would be
> the ideal solution for me.  I would also be interested in hearing how
> other people might have overcome this problem of growing a large RAID5
> volume.

As you didnt post anything about your implementation I can only guess.
If you are using hardware raid5 for each disk set and it cannot do raid0 
on top you could look at using software raid0 to join the two hardware
sets. Eg vinum can do raid0 in software over raid5 in hardware.
 
If you are doing this purely in software it will depend on what software
you use.  If using vinum I believe you can only mirror across two (or more)
raid5 plexes, so probably not what you want to do.

If you want more specific solutions you will need to advise your hardware
and software details including FreeBSD version.

Regards,

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


Re: latest security advisory and 5.1R

2004-03-05 Thread Ion-Mihai Tetcu
On Wed, 3 Mar 2004 13:35:55 -0500
"fbsd_user" <[EMAIL PROTECTED]> wrote:

> Please expand on your comment about 4.10 being the next stable
> release. I take this to mean that 5.2.1 is an long way off from
> moving to the stable branch.  Are you in the inter-circle that
> authorizes the movement of development branch versions to stable
> branch? Just what is the time line for 4.x stable versions and the
> 5.x development versions? Sure would like an idea of the future so I
> can plan the upgrade time line for my environment.


> From: [EMAIL PROTECTED] (Dag-Erling Smørgrav)
> To: Colin Percival <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Subject: Re: Security Officer-supported branches update
> Date: Fri, 05 Mar 2004 12:12:07 +0100
> Message-ID: <[EMAIL PROTECTED]>
> 
>  Colin Percival <[EMAIL PROTECTED]> writes:
>  >+--+
>  >|  Branch  |   Release   |  Estimated EoL  |
>  >|--+-+-|
>  >|RELENG_4  |n/a  |October 31, 2004 |
>  >+--+
> 
>  The actual EoL for RELENG_4 will be much later than that: at least one
>  year, possibly a year and a half, after the release of 4.10, which is
>  due this spring / early summer.
> 
>  DES
>  -- 
>  Dag-Erling Smørgrav - [EMAIL PROTECTED]


-- 
IOnut
Unregistered ;) FreeBSD user

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


Re: Binary file created in / with same name as root password, seemingly sporadically

2004-03-05 Thread Jonathan Neill
Why yes, as a matter of fact it is^H^Hwas...

Something special about it?

> <[EMAIL PROTECTED]>> wrote:
> > Apologies if this is a stupid question and I should RTFM, but
> > something on my Freebsd-5.1 box is creating a binary file in / with
> > the same name as my root password and I was curious as to what
> > exactly this might be. (I always SSH into the box on a regular user
> > then su root to do work.)
> 
> That depends.  Is your password "entropy"?
> 
> - Bob

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


Re: How can I rebuild prots databases?

2004-03-05 Thread stan
On Thu, Mar 04, 2004 at 05:06:29PM -0800, Kris Kennaway wrote:
> On Thu, Mar 04, 2004 at 04:36:21PM -0500, stan wrote:
> > On Thu, Mar 04, 2004 at 11:52:32AM -0800, Kris Kennaway wrote:
> > > On Thu, Mar 04, 2004 at 08:07:54AM -0500, stan wrote:
> > > > I'n updating a bunch of older (around 4.2) machines. On ne of them I seem
> > > > to have managed to toatly muck up the ports dayabases :0(
> > > > 
> > > > I'm getting things like this when I run portupgrade:
> > > > 
> > > > !  (pgaccess-0.98.6)(missing origin)
> > > > !  (acroread-3.02)  (missing origin)
> > > > !  (netscape-wrapper-2000.07.07)(missing origin)
> > > 
> > > Whichever way you go you'll have to either reinstall these ports by
> > > hand or tell portupgrade where they live in the ports tree (see
> > > e.g. the -o flag to portupgrade).  You installed them before the ports
> > > collection started recording the location of the port used to install
> > > the package, so you can rebuild the databases as much as you like, but
> > > it won't fix it :)
> > 
> > 
> > AH, that explains what's goin on.
> > 
> > Is there a way to do this without spending a whole day or so doing things
> > manually?
> 
> I told you above how you'll have to go about solving it.  It shouldn't
> take more than a couple of minutes.

Well I spent about 3 hours yesterday afternoon filling in package names to pkgdb -F's 
prompts,
and I still can't get portupfrade to work :-)

What do I need to delete to just start from scratch, and build this by had?
Is portdb -F the correct way to be building it by hand?


-- 
"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]"


Re: Dual-boot FreeBSD 4.x/5.x

2004-03-05 Thread Ion-Mihai Tetcu
On Fri, 5 Mar 2004 03:10:38 -0800
"Loren M. Lang" <[EMAIL PROTECTED]> wrote:

> Is it possible to dual boot FreeBSD 4.9 and 5.2.1 on one system, each
> using a different / partition, but sharing the same /usr partition for
> example?  I'd really like to try out some of the features of 5.x, but be
> able to easily go back to 4.9 if I find it too unstable.

Not for /, /var, /usr. To many things differ. See the last two week
archives, it has been discussed recently.


-- 
IOnut
Unregistered ;) FreeBSD user

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


Qpopper & SSL

2004-03-05 Thread Pelle Andersson (SPD Systems AB)
Hi!
 
Want to get Qpopper to work with SSL on a FreeBSD 4.9.
 
I have followed the instruction at various sites about how this
should be done including eudora.com/qpopper. I have also followed
alot of instructions on how to make a cert-file (cert.pem) from
a .key and .crt file. That includes openssh.org. I cannot get it
to work anyway. --> I must be missing something?!? <--
 
I am reciving the errors below in my log files.
 
Mar  5 13:00:33 frodo qpopper[390]: Error setting private key PEM file
/usr/local/etc/qpopper/cert.pem
Mar  5 13:00:33 frodo qpopper[390]: ...SSL error: error:0906D06C:PEM
routines:PEM_read_bio:no start line
Mar  5 13:00:33 frodo qpopper[390]: ...SSL error: error:140B0009:SSL
routines:SSL_CTX_use_PrivateKey_file:PEM lib
Mar  5 13:00:33 frodo qpopper[390]: Failed initializing TLS/SSL

I'm starting Qpopper from inetd with the -f command-line option
to read the configfile. The qpopper.config-file contains the
following:

set tls-support = stls
set tls-server-cert-file = /usr/local/etc/qpopper/cert.pem

I'm using:
FreeBSD 4.9 CURRENT-p3
Qpopper 4.05
OpenSSL 0.9.7c

Anyone know where I can find some input about this problems?
Thanks in advance, best regards "Per Anderson"






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


Re: priority-- curious about cpu resouce share

2004-03-05 Thread Zhang Weiwu
Sergey 'DoubleF' Zaharchenko wrote:

On Wed, 03 Mar 2004 00:34:37 +0800
"Zhang Weiwu" <[EMAIL PROTECTED]> probably wrote:
Today I did't experiment on {rt|id}prio(1), just to be interesting. I am 
trying to understand FreeBSD priority mechenism. IMHO realtime/idle 
priority only starvs processes when there is no cpu resource at all. 

To test, I run mpg321 on realtime priority 3, run ppp on realtime 
priority 
4, a little lower than mpg321, and scp over the ppp tunnel on normal 
priority. 

Top(1) shows an average about:
55.2% user,  0.0% nice, 21.5% system, 12.2% interrupt, 11.1% idle
* mpg321 takes average about 70%;
* ppp is seriously slowed down, it takes about 1.5% (normally 17% on full 

speed);
* sshd almost starves; it takes 0.00% (normally 2%) and only transfer 
several bytes once several minutes; the otherside scp prompts "stalled".


sshd doesn't starve CPU, I guess; as you reach it through ppp, and ppp
gets slow, sshd does, too.
I'm the kind of newbie think 11.1% idle cpu time to be free cpu resource, 

because I don't have idle process. I wish to know why, as there are still 

11.1% free cpu resource, ppp and sshd doesn't get this share? 


The most frequent cause is that they don't need the CPU so much as
something else, like disk I/O, etc. Could you please post the whole
output of top (and a snapshot of systat -vmstat, for example)?
Here is my systat -vmstat
=
   2 usersLoad  1.44  0.91  0.42  Mar  5 20:00
   
 
Mem:KBREALVIRTUAL VN PAGER  SWAP PAGER
   Tot   Share  TotShareFree in  out in  out
Act9004214462560 42282232 count
All   221043040  2307048 7032 pages4
Interrupts
Proc:r  p  d  s  wCsw  Trp  Sys  Int  Sof  Flt  6 cow 352 total
  1 33   624  130   96  465   99   37  11312 wire100 0: 
clk
6392 act 1: 
atkb
6.0%Sys   6.3%Intr 33.9%User  0.0%Nice 53.9%Idl 3356 inact86 5: 
sbc0
|||||||||   1452 cache   6: 
fdc0
===+++>   780 free 31 7: 
ppc0
 daefr   128 8: 
rtc
amei Name-cacheDir-cache  29 prcfr 5 11: 
rl0
   Calls hits% hits%   1 react   13: 
npx
  82   72   88   pdwak 2 14: 
ata
  13 zfodpdpgs
Disks   ad0 9 ofodintrn
KB/t  14.1567 %slo-z 5072 buf
tps   251 tfree14 dirtybuf
=

And my top:
=
last pid:  3451;  load averages:  1.01,  0.72,  0.33   up 0+18:29:36  
19:59:22
35 processes:  1 running, 34 sleeping
CPU states: 39.3% user,  0.0% nice,  9.5% system, 20.6% interrupt, 30.6% 
idle
Mem: 6512K Active, 3596K Inact, 11M Wired, 1616K Cache, 5072K Buf, 356K 
Free
Swap: 128M Total, 13M Used, 115M Free, 10% Inuse
   
 
 PID USERNAME   PRI NICE   SIZERES STATETIME   WCPUCPU COMMAND
3445 music   -8 -104  5556K   884K pcmwr1:43 36.08% 36.08% mpg123
2075 root980  3856K  1292K select   7:43  6.79%  6.79% ppp
3448 zhangweiwu  960  6436K  2072K select   0:04  1.61%  1.61% sshd
3451 zhangweiwu  960  2212K  1220K RUN  0:02  0.93%  0.93% top
 211 root960  1812K   228K select   0:23  0.00%  0.00% 
dhclient
 420 root960  3488K   328K select   0:09  0.00%  0.00% sshd
 271 root960  1312K   228K select   0:03  0.00%  0.00% syslogd
 444 root 80  1336K   188K nanslp   0:02  0.00%  0.00% cron
3426 music5  -91  9936K  2704K ttyin0:01  0.00%  0.00% cmp3
3450 zhangweiwu   40  2576K  1124K sbwait   0:01  0.00%  0.00% scp
3446 root 40  6220K  1688K sbwait   0:01  0.00%  0.00% sshd
 373 root960  1236K84K select   0:01  0.00%  0.00% usbd
3415 root 40  6244K 0K sbwait   0:00  0.00%  0.00% 
3420 root 40  6244K   768K sbwait   0:00  0.00%  0.00% sshd
=

Before this vmstat and top snapshoot, I tried ppp+ssh send a file, speed is 
average 40KB/s, cpu is mostly free. And I start the mpg123 at rtprio 20, 
ssh begin to speed down. 10 seconds since the music begin, ssh display 
higovdemo.avi 10% 2064KB 

Re: REALLY frustrated with ports problem

2004-03-05 Thread Jonathon McKitrick

Thanks, guys, it was the optimization settings.  I was trying the ones I
found on the bsd-tuning page, and thought -O3 was okay for non-kernel.

You just helped a MAJOR headache go away.  ;-)

NOTE: Please CC me, as I am not currently subscribed.  Thanks.

jm
-- 
My other computer is your windows box.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD 5.2.1 nVidia Problem

2004-03-05 Thread Irakli
Hi

I had same problem, when I install nvidia driver
on BSD 5.2.1 X can't loads.
The result was garbage and frozen screen
I found your message:

http://docs.freebsd.org/cgi/mid.cgi?3FF95CBD.8060304

and it was help me
thanks

if anybody has same problem:

kernel configuration file:
#device  agp   # support several AGP chipsets
#options SMP   # Symmetric MultiProcessor Kernel
#device  apic  # I/O APIC

XF86Config
Option   "NvAGP"   "1"

loader.conf
nvidia_load="YES"

disabling acpi isn't necessary







__
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


  1   2   >