installing GNOME 2.14

2006-09-21 Thread azhar freebsd

hi
i am new about freebsd . recently  i  am tried to install GNOME
2.14executing the following command
# pkg_add -r gnome2
but when i check the install package it shows as follows .

[EMAIL PROTECTED] | grep gnome2
gnome2-2.10.2   The "meta-port" for the GNOME 2 integrated X11 desktop
[EMAIL PROTECTED]

why ? it seems i failed to install the latest one (gnome 2.14). can anybody
tell me how to install that
?



[EMAIL PROTECTED] -a
FreeBSD belagelo.com 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov  3 09:36:13
UTC 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Default file creation permissions

2006-09-21 Thread Aitor San Juan
Hi List,

I have a shell script whose execution is scheduled by CRON. The command 
scheduled is of the form:

50 23 * * 1-5 /apps/batch/cronjobs/bd_backup.sh > 
/apps/batch/logs/bd_backup.log 2>&1

This shell script runs under the id of root. The file permissions of the log 
file created are 644 (owner: root, group: wheel). I'd like that the file 
permissions of the log created be 600 (or 640 maximum). How could I accomplish 
this? This is probably related to "umask", but I don't dare changing anything 
in case that change could affect some other security configuration as a side 
effect.

What would you recommend?

Any hint or suggestion would be highly appreciated.

Thanks in advance.

Aitor.


 LEGEZKO OHARRA / AVISO LEGAL / LEGAL ADVICE * 
Mezu honek isilpeko informazioa gorde dezake, edo jabea duena, edota legez 
babestuta dagoena. Zuri zuzendua ez bada, bidali duenari esan eta ezabatu, 
inori berbidali edo gorde gabe, legeak debekatzen duelako mezuak erabiltzea 
baimenik gabe. 
--
Este mensaje puede contener información confidencial, en propiedad o legalmente 
protegida. Si usted no es el destinatario, le rogamos lo comunique al remitente 
y proceda a borrarlo, sin reenviarlo ni conservarlo, ya que su uso no 
autorizado está prohibido legalmente.
--
This message may contain confidential, proprietary or legally privileged 
information. If you are not the intended recipient of this message, please 
notify it to the sender and delete without resending or backing it, as it is 
legally prohibited.
**
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


can't find my hard drive

2006-09-21 Thread Brett McLain

Hmm they're both SATA drives set as masters.  I tried some more today 
and i'm still unable to do it.  There seems no way to make it recognize 
it.  It would SEEM that it doesn't recognize the drive when the cd 
begins its setup.  I'm not 100% sure on thatalthough i know for 
sure its in the BIOS and working properly and fine.  Its already set up 
with a partition in fat 32anyone have some ideas?

-Brett

Derek Ragona wrote:


>To use the second drive you will probably need to also change a switch 
or 
>jumper on the drive changing it from a slave drive to a master.  At 
that 
>point the BIOS should show it correctly as a master drive.  In most 
BIOS 
>these days there is a setting for boot device order, you may need to 
check 
>that the second drive is in that list.
>
> -Derek
>
>
>
>
>At 04:49 PM 9/20/2006, Brett J McLain wrote:
>>Er yeah sorry, I mean BIOS not registry haha.  It shows up fine...when 
I 
>>tried unplugging my main 80gb drive, I tried booting twice to the other 
>>drive and it would just sit there after attempting to detect DMI 
settings 
>>or some such other thing.  I found it odd because I expected an 
"Operating 
>>System Not Found" error.
>>
>>-Brett
>>
>>
>>Derek Ragona wrote:
>>>Does the second drive show up correctly in your BIOS?  Or are you using 
a 
>>>device driver to use the drive with windows?
>>>
>>> -Derek
>>>
>>>
>>>At 03:42 PM 9/20/2006, Brett McLain wrote:
Hi, i've got a Windows XP pro computer with two drives.  Ones a 80gb
western digital raptor, and the other is a 7200.10 seagate 320gb drive.
  The 320 gb drive has two partitionsone thats 29.5 gb and is in
fat32 mode (i'm hoping to use it for freebsd) and then the rest is for
my media.  My boot and copy of xp are on the raptor.  I'm trying to
install freebsd 6.1 release but its not seeing my other drive (i don't
think?) all I can see at the install screen is my raptor drive.  I even
tried unplugging my main raptor drive and installing to the seagate,
but it says no drives found.  It discovers it in the registry and
stuffanyone have some ideas?

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

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.
>>
>>
>>--
>>This message has been scanned for viruses and
>>dangerous content by MailScanner, and is
>>believed to be clean.
>>MailScanner thanks transtec Computers for their support.
>>
>
>-- 
>This message has been scanned for viruses and
>dangerous content by MailScanner, and is
>believed to be clean.
>MailScanner thanks transtec Computers for their support.
>
>___
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: can't find my hard drive

2006-09-21 Thread Derek Ragona
I would verify your installation using the utilities from the manufacturer 
of the second hard disk.  You should be able to download a bootable iso 
with the utility and boot that to verify your drive is properly installed.


-Derek


At 02:17 AM 9/21/2006, Brett McLain wrote:


Hmm they're both SATA drives set as masters.  I tried some more today
and i'm still unable to do it.  There seems no way to make it recognize
it.  It would SEEM that it doesn't recognize the drive when the cd
begins its setup.  I'm not 100% sure on thatalthough i know for
sure its in the BIOS and working properly and fine.  Its already set up
with a partition in fat 32anyone have some ideas?

-Brett

Derek Ragona wrote:


>To use the second drive you will probably need to also change a switch
or
>jumper on the drive changing it from a slave drive to a master.  At
that
>point the BIOS should show it correctly as a master drive.  In most
BIOS
>these days there is a setting for boot device order, you may need to
check
>that the second drive is in that list.
>
> -Derek
>
>
>
>
>At 04:49 PM 9/20/2006, Brett J McLain wrote:
>>Er yeah sorry, I mean BIOS not registry haha.  It shows up fine...when
I
>>tried unplugging my main 80gb drive, I tried booting twice to the other
>>drive and it would just sit there after attempting to detect DMI
settings
>>or some such other thing.  I found it odd because I expected an
"Operating
>>System Not Found" error.
>>
>>-Brett
>>
>>
>>Derek Ragona wrote:
>>>Does the second drive show up correctly in your BIOS?  Or are you using
a
>>>device driver to use the drive with windows?
>>>
>>> -Derek
>>>
>>>
>>>At 03:42 PM 9/20/2006, Brett McLain wrote:
Hi, i've got a Windows XP pro computer with two drives.  Ones a 80gb
western digital raptor, and the other is a 7200.10 seagate 320gb drive.
  The 320 gb drive has two partitionsone thats 29.5 gb and is in
fat32 mode (i'm hoping to use it for freebsd) and then the rest is for
my media.  My boot and copy of xp are on the raptor.  I'm trying to
install freebsd 6.1 release but its not seeing my other drive (i don't
think?) all I can see at the install screen is my raptor drive.  I even
tried unplugging my main raptor drive and installing to the seagate,
but it says no drives found.  It discovers it in the registry and
stuffanyone have some ideas?

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

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.
>>
>>
>>--
>>This message has been scanned for viruses and
>>dangerous content by MailScanner, and is
>>believed to be clean.
>>MailScanner thanks transtec Computers for their support.
>>
>
>--
>This message has been scanned for viruses and
>dangerous content by MailScanner, and is
>believed to be clean.
>MailScanner thanks transtec Computers for their support.
>
>___
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: FreeBSD 6.1 hangs at mountroot> during bootup

2006-09-21 Thread Derek Ragona

I have seen this in a few situations:
1.) the BIOS is set to not allow boot area writes
2.) The root partition is outside the first 1024 cylinders.  This was on 
older hardware that didn't do good geometry translation on big drives.

3.) moved the root partition to another slice

-Derek

At 06:47 PM 9/20/2006, Mike Peirson wrote:

Hi all,
First off, I'm new to FreeBSD and this mailinglist so I hope I am in the 
right place. Anyways, right now I am having some problems with FreeBSD 
booting up. I have tried to install 3 times now and keep getting the same 
error. When I try to boot into FreeBSD, this eventually comes up:


Manual root filesystem specification:
  : Mount  using filesystem 
   eg. ufs:da0s1a
  ? List valid disk boot devices
abort manual input
Mountroot>

This seems to be a prompt where I need to specify the location of the root 
partition, but the problem here is that it hangs or freezes and I cannot 
input any text. At first I thought it may be a result of FreeBSD not 
properly recognizing my HDD's geometry but I manually fixed that and it 
still is giving me this same issue. If anyone has had a similar problem or 
knows how to fix this I would greatly appreciate any help. I looked 
through the Handbook and googled this but I haven't found a solution yet.

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

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: FreeBSD 6.1 hangs at mountroot> during bootup

2006-09-21 Thread Mike Peirson

Odhiambo Washington wrote:

* On 20/09/06 16:47 -0700, Mike Peirson wrote:
| Hi all,
| First off, I'm new to FreeBSD and this mailinglist so I hope I am in the 
| right place. Anyways, right now I am having some problems with FreeBSD 
| booting up. I have tried to install 3 times now and keep getting the 
| same error. When I try to boot into FreeBSD, this eventually comes up:
| 
| Manual root filesystem specification:
|   : Mount  using filesystem 
| 

|eg. ufs:da0s1a
|   ? List valid disk boot devices
| abort manual input
| Mountroot>
| 
| This seems to be a prompt where I need to specify the location of the 
| root partition, but the problem here is that it hangs or freezes and I 
| cannot input any text. At first I thought it may be a result of FreeBSD 
| not properly recognizing my HDD's geometry but I manually fixed that and 
| it still is giving me this same issue. If anyone has had a similar 
| problem or knows how to fix this I would greatly appreciate any help. I 
| looked through the Handbook and googled this but I haven't found a 
| solution yet.


Any further details about your hardware specs in general?


-Wash

http://www.netmeister.org/news/learn2quote.html

DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+==+
|\  _,,,---,,_ | Odhiambo Washington<[EMAIL PROTECTED]>
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+

A man wrapped up in himself makes a very small package.

Nothing out of the ordinary.. I've got a Abit VT7 socket 478 mother 
board with an Intel P4. Standard Western Digital 120GB HDD. I've got 
video and keyboard/mouse running through a KVM switch, so after reading 
what Greg posted.. I can see why I would be having issues with inputing 
any text at the mountroot> prompt.


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


Re: FreeBSD 6.1 hangs at mountroot> during bootup

2006-09-21 Thread Mike Peirson

Greg 'groggy' Lehey wrote:

On Thursday, 21 September 2006 at  7:43:44 +0300, Odhiambo Washington wrote:

* On 20/09/06 16:47 -0700, Mike Peirson wrote:

Hi all,
First off, I'm new to FreeBSD and this mailinglist so I hope I am in the
right place. Anyways, right now I am having some problems with FreeBSD
booting up. I have tried to install 3 times now and keep getting the
same error. When I try to boot into FreeBSD, this eventually comes up:

Manual root filesystem specification:
  : Mount  using filesystem

   eg. ufs:da0s1a
  ? List valid disk boot devices
abort manual input
Mountroot>

This seems to be a prompt where I need to specify the location of the
root partition, but the problem here is that it hangs or freezes and I
cannot input any text.

Any further details about your hardware specs in general?


This is a keyboard problem.  The background is that the boot process
uses a different keyboard driver from the final kernel, and that it's
much more finicky than the kernel version.  It seems to have got worse
in the last few years.  I've found that a USB keyboard will do better,
but YMMV.


At first I thought it may be a result of FreeBSD not properly
recognizing my HDD's geometry but I manually fixed that and it
still is giving me this same issue. If anyone has had a similar
problem or knows how to fix this I would greatly appreciate any
help. I looked through the Handbook and googled this but I haven't
found a solution yet.


The background for the *message* (not the apparent freeze) is that
your root file system can't be found.  This happens typically when you
change the device name.  For example, my situation is that I'm doing
development with a SATA disk drive and moving it from system to
system.  On my machine the root file system shows up as /dev/ad4s1a;
on the other machine it's /dev/ad0s1a.

It's probably worth putting in a PR about this problem.

Greg
--
See complete headers for address and phone numbers.


About the keyboard.. I have it running through a KVM switch, would this 
also cause any problems? I booted into safemode and noticed that the 
problem with inputting text was nonexistant. I am not sure why it  can't 
find my root filesystem. I haven't changed the device name or moved 
anything around at all. BTW, is there any way I can get into FreeBSD 
(maybe via the install disc?) to get a detailed printout of my FreeBSD 
slice? Posting that on here may be of some use.

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


Re: FreeBSD 6.1 hangs at mountroot> during bootup

2006-09-21 Thread Derek Ragona
Some kvm's can be problematic, you may want to just plug a keyboard into 
the server for now.


You can boot the CD and at a shell prompt run fdisk.  You can give it the 
argument for the other drive to see that drive's partition table.


-Derek



At 03:30 AM 9/21/2006, Mike Peirson wrote:

Greg 'groggy' Lehey wrote:

On Thursday, 21 September 2006 at  7:43:44 +0300, Odhiambo Washington wrote:

* On 20/09/06 16:47 -0700, Mike Peirson wrote:

Hi all,
First off, I'm new to FreeBSD and this mailinglist so I hope I am in the
right place. Anyways, right now I am having some problems with FreeBSD
booting up. I have tried to install 3 times now and keep getting the
same error. When I try to boot into FreeBSD, this eventually comes up:

Manual root filesystem specification:
  : Mount  using filesystem

   eg. ufs:da0s1a
  ? List valid disk boot devices
abort manual input
Mountroot>

This seems to be a prompt where I need to specify the location of the
root partition, but the problem here is that it hangs or freezes and I
cannot input any text.

Any further details about your hardware specs in general?

This is a keyboard problem.  The background is that the boot process
uses a different keyboard driver from the final kernel, and that it's
much more finicky than the kernel version.  It seems to have got worse
in the last few years.  I've found that a USB keyboard will do better,
but YMMV.


At first I thought it may be a result of FreeBSD not properly
recognizing my HDD's geometry but I manually fixed that and it
still is giving me this same issue. If anyone has had a similar
problem or knows how to fix this I would greatly appreciate any
help. I looked through the Handbook and googled this but I haven't
found a solution yet.

The background for the *message* (not the apparent freeze) is that
your root file system can't be found.  This happens typically when you
change the device name.  For example, my situation is that I'm doing
development with a SATA disk drive and moving it from system to
system.  On my machine the root file system shows up as /dev/ad4s1a;
on the other machine it's /dev/ad0s1a.
It's probably worth putting in a PR about this problem.
Greg
--
See complete headers for address and phone numbers.


About the keyboard.. I have it running through a KVM switch, would this 
also cause any problems? I booted into safemode and noticed that the 
problem with inputting text was nonexistant. I am not sure why it  can't 
find my root filesystem. I haven't changed the device name or moved 
anything around at all. BTW, is there any way I can get into FreeBSD 
(maybe via the install disc?) to get a detailed printout of my FreeBSD 
slice? Posting that on here may be of some use.

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

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


ataraid/fsck glitch on upgrade from 5.5 to 6-stable?

2006-09-21 Thread Andrew Reilly
Hi all,

I ran into an unexpected problem today, when I tried to do
an in-place upgrade from FreeBSD 5.5 (actually RELENG_5) to
6-STABLE, following the procedure in /usr/src/UPDATING.

The buildworld and buildkernel went without a hitch, and
installkernel was fine, too.

When I rebooted to single-user, though, the fsck -p step
reported that my /usr partition was bad, and unfixable.
Something about not being able to find a good superblock, but I
didn't copy down the details.  The root partition was OK,
though, so I upgraded the mount to r/w and moved /boot/kernel
out of the way to /boot/kernel.6 and moved /boot/kernel.old back
to /boot/kernel, and rebooted back to multi-user in 5.5.  The
system claimed that /usr had not been unmounted properly, and
fired off a background fsck, which finished without finding any
problems.

I tried this twice (since fsck had given the /usr partition a
clean bill of health again), and it failed the same way the
second time.

Any thoughts on what could be going wrong?

This is a server, using ataraid to bind a pair of SATA drives
into a mirrored pair.  I had good success previously, with an
in-place upgrade of my workstation from RELENG_5 to RELENG_6,
but that wasn't using ataraid.

Details:

The top of dmesg.boot says:

FreeBSD 5.5-STABLE #1: Thu Sep 21 08:23:18 EST 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CORVUS
ACPI APIC Table: 
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (2992.52-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf43  Stepping = 3
  
Features=0xbfebfbff
  Hyperthreading: 2 logical CPUs
real memory  = 1065242624 (1015 MB)
avail memory = 1032859648 (985 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1

and the parts related to the disk controllers says:
atapci0:  port 
0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
atapci1:  port 
0xc400-0xc40f,0xc480-0xc483,0xc800-0xc807,0xc880-0xc883,0xcc00-0xcc07 irq 19 at 
device 31.2 on pci0
ata2: channel #0 on atapci1
ata3: channel #1 on atapci1

and the drives:
acd0: DVDROM  at ata0-master PIO4
ad4: 76319MB  [155061/16/63] at ata2-master SATA150
ad6: 76319MB  [155061/16/63] at ata3-master SATA150
ar0: 76319MB  [9729/255/63] status: READY subdisks:
 disk0 READY on ad4 at ata2-master
 disk1 READY on ad6 at ata3-master

fdisk says:
*** Working on device /dev/ar0 ***
parameters extracted from in-core disklabel are:
cylinders=9729 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=9729 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 156296322 (76316 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:

The data for partition 3 is:

The data for partition 4 is:



and bsdlabel ar0s1 says:
# /dev/ar0s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:   52428804.2BSD 2048 16384 32776
  b:  4126128   524288  swap
  c: 1562963220unused0 0 # "raw" part, don't 
edit
  d:   524288  46504164.2BSD 2048 16384 32776
  e:   524288  51747044.2BSD 2048 16384 32776
  f: 150597330  56989924.2BSD 2048 16384 28552

and /etc/fstab says:
# DeviceMountpoint  FStype  Options DumpPass#
/dev/ar0s1b noneswapsw  0   0
/dev/ar0s1a /   ufs rw  1   1
/dev/ar0s1e /tmpufs rw  2   2
/dev/ar0s1f /usrufs rw  2   2
/dev/ar0s1d /varufs rw  2   2
/dev/acd0   /cdrom  cd9660  ro,noauto   0   0

and df says:
Filesystem  1K-blocks UsedAvail Capacity  Mounted on
/dev/ar0s1a25367860566   17281826%/
devfs   110   100%/dev
/dev/ar0s1e25367810266   223118 4%/tmp
/dev/ar0s1f  72924656 23641878 4344880635%/usr
/dev/ar0s1d25367894556   13882841%/var

Would anything else be useful?

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


Re: FreeBSD 6.1 hangs at mountroot> during bootup

2006-09-21 Thread Dominique Goncalves

Hi,

On 9/21/06, Mike Peirson <[EMAIL PROTECTED]> wrote:

Hi all,
First off, I'm new to FreeBSD and this mailinglist so I hope I am in the
right place. Anyways, right now I am having some problems with FreeBSD
booting up. I have tried to install 3 times now and keep getting the
same error. When I try to boot into FreeBSD, this eventually comes up:

 Manual root filesystem specification:
   : Mount  using filesystem

eg. ufs:da0s1a
   ? List valid disk boot devices
 abort manual input
 Mountroot>

This seems to be a prompt where I need to specify the location of the
root partition, but the problem here is that it hangs or freezes and I
cannot input any text. At first I thought it may be a result of FreeBSD
not properly recognizing my HDD's geometry but I manually fixed that and
it still is giving me this same issue. If anyone has had a similar
problem or knows how to fix this I would greatly appreciate any help. I
looked through the Handbook and googled this but I haven't found a
solution yet.
--
Michael Peirson
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"



I guess you are using 6.1-RELEASE if so It's a bug in kbdmux, it was
solved after in FreeBSD-STABLE. Booting in 'Safe mode'  from the
beastie menu, should workarround your hang problem.

HTH

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


Re: geom - help ...

2006-09-21 Thread R. B. Riddick
--- Matthew Seaman <[EMAIL PROTECTED]> wrote:
> Marc G. Fournier wrote:
> > 
> > So, again, if I'm reading through things correctly, I'll have to do
> > something like:
> > 
> > gstripe st1 da1 da2
> > gstripe st2 da3 da4
> > gmirror drive st1 st2
> > newfs drive
> 
> That's the wrong way round, I think.  If you lose a drive, then you've
> the whole of one of your stripes and have no resilience.  Shouldn't you
> rather stripe the mirrors:
> 
>gmirror gm0 da1 da2
>gmirror gm1 da3 da4
>gstripe gs0 gm0 gm1
>newfs gs0
> 
> This way if you lose a drive then only one of your gmirrors loses
> resilience and the other half of your disk space is unaffected.
> 
Yup!
In the case
  M(S(a,b),S(c,d))
the content
  on 'a' and 'c'
and
  on 'b' and 'd'
would be identical, so that the u had to do it handish and efficient or
automatically and inefficient in case of a disk failure.

I personally put the boot-stuff on a gmirror (no striping).
So u might want to use something like this:
  M(a1,c1) for /
  S(b1,d1) for /not-so-important
  S(M(a2,c2),M(b2,d2)) for /usr/home

By the way: A correct syntax would be
  gmirror label -b load gm0 da1s1a da3s1a
  gmirror label -b load gm1 da1s2d da3s2d
  gmirror label -b load gm2 da2s2d da4s2d
  gstripe label -s 65536 gs0 da2s1d da4s1d
  gstripe label -s 65536 gs1 mirror/gm1 mirror/gm2

Oh! And I am experimenting with my geom_raid5 implementation... But it is quite
slow in write to UFS (but non-concurrrent write to raw-device is quite fast
already). U can download it here (but it is quite difficult to integrate - many
files have to be changed handish):
  http://home.tiscali.de/cmdr_faako/geom_raid5.tbz
:-)

-A

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


Re: Default file creation permissions

2006-09-21 Thread Gerard Seibert
Aitor San Juan wrote:

> I have a shell script whose execution is scheduled by CRON. The
> command scheduled is of the form:
> 
> 50 23 * * 1-5 /apps/batch/cronjobs/bd_backup.sh >
> /apps/batch/logs/bd_backup.log 2>&1
> 
> This shell script runs under the id of root. The file permissions of
> the log file created are 644 (owner: root, group: wheel). I'd like that
> the file permissions of the log created be 600 (or 640 maximum). How
> could I accomplish this? This is probably related to "umask", but I
> don't dare changing anything in case that change could affect some
> other security configuration as a side effect.
> 
> What would you recommend?

I have a few shell scripts that are run from CRON also. To accomplish
what you want, I have 'chmod' and 'chown' commands in the scripts.
Perhaps you might be able to incorporate something like that into yours.

-- 
Gerard

 "Health experts in Europe now say one carrot a day can keep you free of
 colon cancer. You know, I just hope they mean you eat it."
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


nested labels

2006-09-21 Thread Jeffrey Katz
I have hit the limit of 8 disklabels per slice.  Supposedly, one can 
create lables within a label, thus overcoming this limit.  I googled 
everything but could only find references to gpt-- nothing about nested 
labels or partitions.  Can anyone detail the steps involved in setting up 
nested labels or partitions?


P.S.  I am a BSD newbie, coming to BSD from Linux.

Jeffrey Owen Katz, Ph.D.

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


Re: geom - help ...

2006-09-21 Thread Ivan Voras

Marc G. Fournier wrote:

Basically, I have 5x72G drives ... I'd *love* to do RAID5 with them, but 
that doesn't appear to be available right now


Maybe you could try geom_raid3 instead? It's pretty nice, especially for 
databases. The only caveat is that you cannot boot off it if you use all 
the drives. Maybe raid3(3 drives for data)+mirror(2 disks for system) 
will be useful to you (since you can boot a mirrored drive).


(note that geom_raid3 is not RAID3 as theoretically defined, but more 
like RAID4).


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


RE: Default file creation permissions

2006-09-21 Thread Aitor San Juan
Thanks for your reply, Gerard.

As you can see, the log file is not created from within the shell script. It's 
created as the redirection of the output, so your suggestion implies modifying 
the shell script source code. That script calls some other scripts too and 
imports other scripts which define some predefined common functions with common 
behaviour among all the shell scripts developed. This means that is this case 
the backup script is called by CRON but there's also the possibility of 
invoking it manually (for example in the need of a backup out of the normal 
scheduled time). When invoked manually, the results are shown in the screen to 
the user... You know, the script is not isolated, it's part of a bigger 
infrastructure behinf the scene, hidden to some users which may invoke batch 
script from within menus (with no command line access).

I'd like to find another solution, having to modify the shell script in the 
last resort.

Thanks in advance.

-Mensaje original-
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] nombre de Gerard Seibert
Enviado el: jueves, 21 de septiembre de 2006 11:39
Para: freebsd-questions@freebsd.org
Asunto: Re: Default file creation permissions


Aitor San Juan wrote:

> I have a shell script whose execution is scheduled by CRON. The
> command scheduled is of the form:
> 
> 50 23 * * 1-5 /apps/batch/cronjobs/bd_backup.sh >
> /apps/batch/logs/bd_backup.log 2>&1
> 
> This shell script runs under the id of root. The file permissions of
> the log file created are 644 (owner: root, group: wheel). I'd like that
> the file permissions of the log created be 600 (or 640 maximum). How
> could I accomplish this? This is probably related to "umask", but I
> don't dare changing anything in case that change could affect some
> other security configuration as a side effect.
> 
> What would you recommend?

I have a few shell scripts that are run from CRON also. To accomplish
what you want, I have 'chmod' and 'chown' commands in the scripts.
Perhaps you might be able to incorporate something like that into yours.

-- 
Gerard


 LEGEZKO OHARRA / AVISO LEGAL / LEGAL ADVICE * 
Mezu honek isilpeko informazioa gorde dezake, edo jabea duena, edota legez 
babestuta dagoena. Zuri zuzendua ez bada, bidali duenari esan eta ezabatu, 
inori berbidali edo gorde gabe, legeak debekatzen duelako mezuak erabiltzea 
baimenik gabe. 
--
Este mensaje puede contener información confidencial, en propiedad o legalmente 
protegida. Si usted no es el destinatario, le rogamos lo comunique al remitente 
y proceda a borrarlo, sin reenviarlo ni conservarlo, ya que su uso no 
autorizado está prohibido legalmente.
--
This message may contain confidential, proprietary or legally privileged 
information. If you are not the intended recipient of this message, please 
notify it to the sender and delete without resending or backing it, as it is 
legally prohibited.
**
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: gmirror HD failure detection

2006-09-21 Thread Alex Zbyslaw

Robin Becker wrote:


Dave wrote:


Hi,
   I've got smartd going on a gmirror system, however when smartd 
starts up it says it can't find the various drives. I've tried both 
the autodetection line as well as specifying the individual drives. 
If this does work i'd like to know about it as i believe i might have 
one failing drive, but am not sure which one.

Thanks.
Dave.




well as root I can certainly run smartctl -a /dev/ad4 (or /dev/ad6) so 
I assume smartd could.


I like the idea of using gmirror status -s , but I don't know what the 
results would be if one of the disks were going bad. Would it change 
from COMPLETE to DEGRADED suddenly?


I would expect gmirror to report a problem when a disk gad *gone* bad.  
Going bad from a SMART point of view can mean, for example, too high a 
rate of read retries or too many bad sectors remapped.  At that point 
the drive is technically working, so there is nothing technically wrong 
with the array status.  In such a case SMART would just be telling you 
that the disk is likely to go kablooey soon; time for backups, new drive 
etc. etc.


Something like gmirror status -s you can presumably run even every five 
minutes from cron; if you weed out the good results you'll only get 
email if something does go wrong.


Use both approaches since they tell you different things which just 
happen some of the time to coincide.


--Alex


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


Re: nested labels

2006-09-21 Thread Andrew Pantyukhin

On 9/21/06, Jeffrey Katz <[EMAIL PROTECTED]> wrote:

I have hit the limit of 8 disklabels per slice.  Supposedly, one can
create lables within a label, thus overcoming this limit.  I googled
everything but could only find references to gpt-- nothing about nested
labels or partitions.  Can anyone detail the steps involved in setting up
nested labels or partitions?


You might want to have a look at glabel(8), or maybe gnop(8),
or even http://wiki.freebsd.org/gvirstor
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: nested labels

2006-09-21 Thread Alex Zbyslaw

On 9/21/06, Jeffrey Katz <[EMAIL PROTECTED]> wrote:


I have hit the limit of 8 disklabels per slice.  Supposedly, one can
create lables within a label, thus overcoming this limit.  I googled
everything but could only find references to gpt-- nothing about nested
labels or partitions.  Can anyone detail the steps involved in setting up
nested labels or partitions? 


There was a discussion on hackers@ recently which mentioned nested 
labels.  Have a search of the archives.


Personally I wouldn't touch that solution with a 10ft pole.

You explain far too little about *why* you have run out of partitions 
and what your current disk setup is like.  Another option to consider is 
logical/extended slices (DOS partitions).  Inside one of those you can 
create more FreeBSD slices.  The only caveat is that I believe 
sysinstall will not recognise them so you are down to bsdlabelling them 
by hand (but you are with nested labels as well); or you can forget 
labelling them and just use each slice as a partition.


Another solution: buy another disk.  Slightly wasteful, but by far the 
easiest.


--Alex


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


Re: help please

2006-09-21 Thread Daniel Gerzo
Hello Hèrvé,

Wednesday, September 20, 2006, 10:49:31 PM, you wrote:

> Hi everybody,

> I recently install freebsd 5.4, bind9, isc-dhcp-server, openldap on my
> machine.
> DNS server is working oke, but since I'm running ipfw firewall on the 
> machine, my windows client (internet Explorer kan reach my
> freeBsd webserver.
> can anyone tell me wich protocol and port I have to open up on my ipfw
> firewall
> so that windows client kan reach my webserver

80/tcp

-- 
Best regards,
 Danielmailto:[EMAIL PROTECTED]

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


Re: help please

2006-09-21 Thread Erik Norgaard

Hèrvé Simplice van der Eijk wrote:

Hi everybody,

I recently install freebsd 5.4, bind9, isc-dhcp-server, openldap on my 
machine.
DNS server is working oke, but since I'm running ipfw firewall on the 
machine, my windows client (internet Explorer kan reach my

freeBsd webserver.
can anyone tell me wich protocol and port I have to open up on my ipfw 
firewall

so that windows client kan reach my webserver


Are you actually running a web server? given your list above it seems not.

Secondly, I'm a bit surprised if you can successfully setup bind, dhcpd 
and ldap but not figure out which port the web service is running on... 
Heard about sockstat or /etc/services?


Cheers, Erik

--
Ph: +34.666334818  web: http://www.locolomo.org
X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Default file creation permissions

2006-09-21 Thread Alex Zbyslaw

Aitor San Juan wrote:


I have a shell script whose execution is scheduled by CRON. The
command scheduled is of the form:

50 23 * * 1-5 /apps/batch/cronjobs/bd_backup.sh >
/apps/batch/logs/bd_backup.log 2>&1

This shell script runs under the id of root. The file permissions of
the log file created are 644 (owner: root, group: wheel). I'd like that
the file permissions of the log created be 600 (or 640 maximum). How
could I accomplish this? This is probably related to "umask", but I
don't dare changing anything in case that change could affect some
other security configuration as a side effect.

What would you recommend?
 


One solution: write a simple wrapper shell script for this which:
   a) creates the backup.log file, deleting any existing (> backup.log 
would probably do)
   b) changes the permissions to the ones you want with chmod, chgrps 
etc. etc.
   c) runs   /apps/batch/cronjobs/bd_backup.sh >> 
/apps/batch/logs/bd_backup.log 2>&1

 I.e. appends output to the file you just blanked.

Two solution:  Always use >> in your cron job, then set up the 
backup.log to be rotated through newsyslog which can set the permissions 
correctly.  You probably need to create a balnk file with the correct 
permission once to seed the the process or use newsyslog -C.  See the 
man page for more info.



Solution one is easier, solution two also gets you a more permanent 
record of how the command ran, rather than losing it every day.


--Alex


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


Re: geom - help ...

2006-09-21 Thread Pawel Jakub Dawidek
On Thu, Sep 21, 2006 at 11:49:20AM +0200, Ivan Voras wrote:
> Marc G. Fournier wrote:
> 
> >Basically, I have 5x72G drives ... I'd *love* to do RAID5 with them, but 
> >that doesn't appear to be available right now
> 
> Maybe you could try geom_raid3 instead? It's pretty nice, especially for 
> databases. The only caveat is that you cannot boot off it if you use all the 
> drives. Maybe raid3(3 
> drives for data)+mirror(2 disks for system) will be useful to you (since you 
> can boot a mirrored drive).
> 
> (note that geom_raid3 is not RAID3 as theoretically defined, but more like 
> RAID4).

This is RAID3, RAID4 is totally different.

-- 
Pawel Jakub Dawidek   http://www.wheel.pl
[EMAIL PROTECTED]   http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!


pgphQi3Z4pHYM.pgp
Description: PGP signature


downloading Free BSD

2006-09-21 Thread Ryan and Sabrina Tardi
What do I do with the ISO files once they are downloaded?  Do I burn
them directly to a CD then use the CD to install?  Forgive me for my
ignorance of ISO files!
 
Ryan and Sabrina Tardi
155 Calder Rd.
St. Andrews, MB R1A 4B6
H 204.785.9781
C 204.799.3968
[EMAIL PROTECTED]
 

-- 
Internal Virus Database is out-of-date.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.3/447 - Release Date: 13.09.06
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: installing GNOME 2.14

2006-09-21 Thread michael johnson

On 9/21/06, azhar freebsd <[EMAIL PROTECTED]> wrote:


hi
i am new about freebsd . recently  i  am tried to install GNOME
2.14executing the following command
# pkg_add -r gnome2
but when i check the install package it shows as follows .

[EMAIL PROTECTED] | grep gnome2
gnome2-2.10.2   The "meta-port" for the GNOME 2 integrated X11 desktop
[EMAIL PROTECTED]

why ? it seems i failed to install the latest one (gnome 2.14). can
anybody
tell me how to install that
?



[EMAIL PROTECTED] -a
FreeBSD belagelo.com 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov  3
09:36:13
UTC 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
[EMAIL PROTECTED]




^^^ The reason you have gnome 2.10 is because gnome 2.10 is what shipped
with 6.0-RELEASE.

see http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html
and http://www.freebsd.org/gnome/docs/faq214.html for directions to keep
your ports up to date and upgrade gnome.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: downloading Free BSD

2006-09-21 Thread Jona Joachim
Ryan and Sabrina Tardi wrote:
> What do I do with the ISO files once they are downloaded?  Do I burn
> them directly to a CD then use the CD to install?

Hi and welcome to FreeBSD!

Yes, you use your favorite CD burning software like Nero or CloneCD and
tell it to burn the ISO to the CD. This is a very common procedure and
should be well documented in the software manual.

After having done this you should read the FreeBSD Handbook:
http://www.freebsd.org/doc/handbook/
It should answer most of your questions.

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


what happened to /dev/cuaa0

2006-09-21 Thread KHOO Guan_Chen
I installed FreeBSD 6.0 on an old compaq 500 desktop a few weeks ago 
and am now interested in connecting to the internet with dial up 
modem.  But when I gave the command pppd (as root), I got the error 
"unregnized option /dev/cuaa0". Sure enough I could not find 
/dev/cuaa(0,1). I could only find /dev/cuad(0,1) Changing to 
/dev/cuad0 in my options file was not help


Could some kind soul tell me what to do.

Thanks alot

Richard KHOO Guan Chen

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


Re: downloading Free BSD

2006-09-21 Thread Armin Pirkovitsch
Ryan and Sabrina Tardi wrote:
> What do I do with the ISO files once they are downloaded?  Do I burn
> them directly to a CD then use the CD to install?  Forgive me for my
> ignorance of ISO files!

correct.
the 1st iso/cd is bootable and contains most of the basic programs.

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


Re: geom - help ...

2006-09-21 Thread Joerg Pernfuss
On Thu, 21 Sep 2006 06:37:53 +0100
Matthew Seaman <[EMAIL PROTECTED]> wrote:

> Marc G. Fournier wrote:
> > So, again, if I'm reading through things correctly, I'll have to do
> > something like:
> > 
> > gstripe st1 da1 da2
> > gstripe st2 da3 da4
> > gmirror drive st1 st2
> > newfs drive
> 
> That's the wrong way round, I think.

Not exactly. This is RAID 0+1 (mirrored stripes) as he said.
What you described is RAID10 (striped mirrors). And as you pointed
out, if one has the choice, going with 10 is better for most cases,
as the failure case behaviour is much better.
It can have better performance in some cases though - at the cost
of reliability.


Jörg
-- 
| /"\   ASCII ribbon   |  GnuPG Key ID | e86d b753 3deb e749 6c3a |
| \ / campaign against |0xbbcaad24 | 5706 1f7d 6cfd bbca ad24 |
|  XHTML in email  |.the next sentence is true.   |
| / \ and news | .the previous sentence was a lie.|


signature.asc
Description: PGP signature
!DSPAM:45129812886361680728247!___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: geom - help ...

2006-09-21 Thread Ivan Voras
Pawel Jakub Dawidek wrote:

> This is RAID3, RAID4 is totally different.

They are similar, at least in definitions I could find. Both use a
dedicated parity disk, RAID3 stripes "bytes" while RAID3 stripes
"blocks". Because geom_raid3 stripes at sector level, I think it's more
similar to RAID4.

Of course, I'm willing to be educated on the subject :)

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


Re: cu

2006-09-21 Thread Lowell Gilbert
"Saifi" <[EMAIL PROTECTED]> writes:

> I am using cu to connect to a device on a serial port (/dev/cuaa0)
>
> How do I setup the option to "capture output to a file" ?

How about script(1)?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Using FreeBSD as a router

2006-09-21 Thread Elijah Savage

Robert Fitzpatrick wrote:
It's time to upgrade my old Cisco 10Mbps router and I am seriously 
considering using FreeBSD. I have found some solutions and wonder what 
one would recommend here on the list...


Solution 1: http://tomclegg.net/256-router
Solution 2: http://m0n0.ch/wall/index.php

I want to duplicate my Cisco setup. It has 4 Ethernet ports with the 
WAN subnet assigned to the WAN port and 3 different subnets assigned 
to each of the remaining 3 ports leading to their VLANs on the switch. 
Looking for advise from those who have used the above solutions and 
their experiences.


Thanks in advance!

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


Monowall is very nice, I have a pentium pro 200 with 256 meg of ram on a 
6meg small business circuit with 3 vpn tunnels to remote sites that have 
a Cisco 831, cisco pix 501, and cisco pix515. The server runs at about 
10% average and it took literally about 10 minutes to set all of this 
up. The problem you may have with monoowall and I need to refresh myself 
with the documentation again but I believe it only supports 3 network 
interfaces. If you populate the box with Intel pro 1000 gigabit network 
cards they do support vlan tagging though. Good luck and let us know 
what you might end up with.

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


Re: How "real time" is FreeBSD?

2006-09-21 Thread RW
On Thursday 21 September 2006 06:12, Walt Pawley wrote:
> At 11:47 PM -0500 9/20/06, W. D. wrote:
> >Just reading this about Linux on ZDNet and was wondering:
> > >nn>
>
> Cybernetic floobydust, IMHO.

If you read what the banker says: " for each thousandth of a second that its 
trading software can act faster than competitors' software, the company would 
see $100 million a year in new revenue."

It seems to me that they are really misunderstanding the problem. What they 
need is a system that's fast most of the time, rather than one that meets an 
arbitary deadline all the time. In other words they need a fast system, not a 
realtime system.

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


Re: mail to root

2006-09-21 Thread Roger 'Rocky' Vetterberg
jekillen wrote:
> Hello again;
> I have a question about how mail from the system is generated for root.
> This question was prompted when I edited the Postfix aliases file and
> ran newaliases, then did postfix reload, assuming the mail system was
> running. I was informed that Postfix was not running. So the question,
> how does mail generated by the system get delivered to the root account?
> Here is my motive:
> I have a server that I want to run headless. I want to be able to retrieve
> mail to root from another machine via ssh login (on the same private net
> work number/netmask 255.255.255.0). I cannot login to the system as
> root over ssh. I don't know if I can read root mail with su (as wheel group
> member). I tried this but maybe I'm not using the appropriate parameter.
> Or maybe there isn't any. I don't know where to look for an answer to this
> question, other than this knowledgeable group.Oh, man mail maybe?
> Thanks in advance
> Jeff K

I suggest you use .forward to get root's mail to another account.
As root, do this:
echo username >> /root/.forward

That should forward root's mail to whatever username you specified.

--
R

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


Re: FreeBSD 6.1 hangs at mountroot> during bootup

2006-09-21 Thread Jerry McAllister
On Wed, Sep 20, 2006 at 04:47:19PM -0700, Mike Peirson wrote:

> Hi all,
> First off, I'm new to FreeBSD and this mailinglist so I hope I am in the 
> right place. Anyways, right now I am having some problems with FreeBSD 
> booting up. I have tried to install 3 times now and keep getting the 
> same error. When I try to boot into FreeBSD, this eventually comes up:
> 
> Manual root filesystem specification:
>   : Mount  using filesystem 
> 
>eg. ufs:da0s1a
>   ? List valid disk boot devices
> abort manual input
> Mountroot>
> 

Hmmm.   this looks like there is no boot sector available.  I haven't
seen messages before just exactly like this, but sort of.

Maybe it would help if you described the sequence of things you
did or tried, such as for the install.

Which version did you install?
Did you initiate the install (boot) from a CD?  If not, what?
Did you choose to use the FreeBSD MBR?
Did you create a FreeBSD slice in sysinstall?
Did you mark that slice as bootable?
Did you create partitions within that FreeBSD slice?
Did you choose which things to install?
Did it appear to load things properly?

After installation finished and you got the congradulations message,
what did you do?

jerry

> This seems to be a prompt where I need to specify the location of the 
> root partition, but the problem here is that it hangs or freezes and I 
> cannot input any text. At first I thought it may be a result of FreeBSD 
> not properly recognizing my HDD's geometry but I manually fixed that and 
> it still is giving me this same issue. If anyone has had a similar 
> problem or knows how to fix this I would greatly appreciate any help. I 
> looked through the Handbook and googled this but I haven't found a 
> solution yet.
> -- 
> Michael Peirson
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: how to add flags to ifconfig at boot

2006-09-21 Thread Bill Schoolcraft
--- David Kelly <[EMAIL PROTECTED]> wrote:

> On Mon, Sep 18, 2006 at 12:38:30PM -0400, Robert Huff wrote:
> > 
> > David Kelly writes:
> > 
> > >  Or if one needs to ifconfig earlier in the startup process then
> put
> > >  one's script in /etc/start_if.em0
> > 
> > It is my understanding (and experience) this only works when
> > 
> > ifconfig_em0=""
> > 
> > in /etc/rc.conf.
> 
> True only if your options for ifconfig in rc.conf would clear or
> override whatever it is you put in /etc/start_if_em0. As long as its
> something that can be done with multiple ifconfigs then all is fine.
> 
> For example this works fine in /etc/start_if.xl0:
> 
> #!/bin/sh
> ifconfig xl0 lladdr 00:01:23:45:67:89
> 
> with this in rc.conf:
> ifconfig_xl0="DHCP"
> 
> -- 
> David Kelly N4HHE, [EMAIL PROTECTED]

Thank you very much for the above info David, I've always been
challenged with my (encrypted) wireless card though, and usually have
my own manual script that I run.  Always wanted to have it start
"automagically" when/if it is the card I'm using.

(question)

Besides the single line you have in /etc/rc.conf above to instruct DHCP
to be used, can one place all the following somehow in rc.conf or will
I have to get this going in a script location?

Currently I give my card a static ip but would like to have it grab
it's ipaddr by DHCP, here is the majority of the script, omitted are my
ping tests of the gateway at the end.

TIA
#

#!/bin/sh
ifconfig wi0 ssid nwname
ifconfig wi0 wepmode on
ifconfig wi0 192.168.1.222 broadcast 192.168.1.255 netmask
255.255.255.0
ifconfig wi0 up
wicontrol wi0 wepkey 0x1465466964
route add default 192.168.1.1

#




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


Re: mail to root

2006-09-21 Thread backyard


--- Roger 'Rocky' Vetterberg <[EMAIL PROTECTED]> wrote:

> jekillen wrote:
> > Hello again;
> > I have a question about how mail from the system
> is generated for root.
> > This question was prompted when I edited the
> Postfix aliases file and
> > ran newaliases, then did postfix reload, assuming
> the mail system was
> > running. I was informed that Postfix was not
> running. So the question,
> > how does mail generated by the system get
> delivered to the root account?
> > Here is my motive:
> > I have a server that I want to run headless. I
> want to be able to retrieve
> > mail to root from another machine via ssh login
> (on the same private net
> > work number/netmask 255.255.255.0). I cannot login
> to the system as
> > root over ssh. I don't know if I can read root
> mail with su (as wheel group
> > member). I tried this but maybe I'm not using the
> appropriate parameter.

su - root 
will load up roots environment and let you check his
mail. At least that worked for me last night...

> > Or maybe there isn't any. I don't know where to
> look for an answer to this
> > question, other than this knowledgeable
> group.Oh, man mail maybe?
> > Thanks in advance
> > Jeff K
> 
> I suggest you use .forward to get root's mail to
> another account.
> As root, do this:
>   echo username >> /root/.forward
> 
> That should forward root's mail to whatever username
> you specified.

probably the best solution for a headless box, then
you don't have to su'in in to the machine. Nor risk
snoops gaining the password of all passwords...

> 
> --
> R
> 


-brian

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


Re: downloading Free BSD

2006-09-21 Thread Jerry McAllister
On Wed, Sep 20, 2006 at 09:29:11PM -0500, Ryan and Sabrina Tardi wrote:

> What do I do with the ISO files once they are downloaded?  Do I burn
> them directly to a CD then use the CD to install?  Forgive me for my
> ignorance of ISO files!

Exactly correct.
Burn them directly to a CD.
They are already bootable ISOs, so don't use any parameters on the
burner to convert them to ISOs or make them bootable.

Have fun. 

jerry

>  
> Ryan and Sabrina Tardi
> 155 Calder Rd.
> St. Andrews, MB R1A 4B6
> H 204.785.9781
> C 204.799.3968
> [EMAIL PROTECTED]
> 
> -- 
> Internal Virus Database is out-of-date.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.12.3/447 - Release Date: 13.09.06
>  
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: what happened to /dev/cuaa0

2006-09-21 Thread Dan Nelson
In the last episode (Sep 21), KHOO Guan_Chen said:
> I installed FreeBSD 6.0 on an old compaq 500 desktop a few weeks ago 
> and am now interested in connecting to the internet with dial up 
> modem.  But when I gave the command pppd (as root), I got the error 
> "unregnized option /dev/cuaa0". Sure enough I could not find 
> /dev/cuaa(0,1). I could only find /dev/cuad(0,1) Changing to 
> /dev/cuad0 in my options file was not help
> 
> Could some kind soul tell me what to do.

Switching to cuad* should have worked.  sio(4) was the only driver
where the cua* and tty* devices had different letters, so the cuaa*
devices were renamed in 6.0 to match their ttyd* counterparts.  If
you're using an internal modem, if may be a "Winmodem" requiring a
special driver.  The comms/ltmdm port may help here.  If it's an
external modem, try cuad1.

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


Re: How "real time" is FreeBSD?

2006-09-21 Thread backyard


--- RW <[EMAIL PROTECTED]> wrote:

> On Thursday 21 September 2006 06:12, Walt Pawley
> wrote:
> > At 11:47 PM -0500 9/20/06, W. D. wrote:
> > >Just reading this about Linux on ZDNet and was
> wondering:
> >
>
> > >nn>
> >
> > Cybernetic floobydust, IMHO.
> 
> If you read what the banker says: " for each
> thousandth of a second that its 
> trading software can act faster than competitors'
> software, the company would 
> see $100 million a year in new revenue."
> 

and for every extra trade they do they change the
stock price faster and faster making them more money.
They're creating the money by manipulating the market
faster; the market doesn't create itself... How can
they even quantify this so called loss when their
trading is constantly changing the state of the
market.


> It seems to me that they are really misunderstanding
> the problem. What they 
> need is a system that's fast most of the time,
> rather than one that meets an 
> arbitary deadline all the time. In other words they
> need a fast system, not a 
> realtime system.
> 

I would imagine an extra 100 million would buy quite a
dusy of a system at that... processing data at a rate
of 1000 Hz doesn't seem to suggest a real-time system
is required when the average clock is 1 million times
faster then that. its not like they're doing FFT's on
a Radar signal, to determine if its a bogey and arming
the appropriate countermeasures so they can be
deployed the second the blip appears on the operators
screen.


-brian 

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


Re: what happened to /dev/cuaa0

2006-09-21 Thread Anton Shterenlikht
> Switching to cuad* should have worked.  sio(4) was the only driver
> where the cua* and tty* devices had different letters, so the cuaa*
> devices were renamed in 6.0 to match their ttyd* counterparts.  If
> you're using an internal modem, if may be a "Winmodem" requiring a
> special driver.  The comms/ltmdm port may help here.  If it's an
> external modem, try cuad1.

After reading Section 22.2.2.2.2 of the Handbook my understaning is that
the same serial port can be addressed as either /dev/ttydN or /dev/cuadN.
Is that correct?

I'm confused by the "Call-in" - "Call-out" terminology. I have an
external modem connected to 1st serial port, and I use it as /dev/ttyd0.
Does it mean it becomes a call-in device?

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


Re: How "real time" is FreeBSD?

2006-09-21 Thread Jerry McAllister
On Thu, Sep 21, 2006 at 08:21:10AM -0700, backyard wrote:

> --- RW <[EMAIL PROTECTED]> wrote:
> 
> > On Thursday 21 September 2006 06:12, Walt Pawley
> > wrote:
> > > At 11:47 PM -0500 9/20/06, W. D. wrote:
> > > >Just reading this about Linux on ZDNet and was
> > wondering:
> > >
> > > > >nn>
> > >
> > > Cybernetic floobydust, IMHO.
> > 
> > If you read what the banker says: " for each
> > thousandth of a second that its 
> > trading software can act faster than competitors'
> > software, the company would 
> > see $100 million a year in new revenue."
> 
> and for every extra trade they do they change the
> stock price faster and faster making them more money.
> They're creating the money by manipulating the market
> faster; the market doesn't create itself... How can
> they even quantify this so called loss when their
> trading is constantly changing the state of the
> market.

Yes, Mr Heisenberg...

> > It seems to me that they are really misunderstanding
> > the problem. What they 
> > need is a system that's fast most of the time,
> > rather than one that meets an 
> > arbitary deadline all the time. In other words they
> > need a fast system, not a 
> > realtime system.
> > 
> 
> I would imagine an extra 100 million would buy quite a
> dusy of a system at that... processing data at a rate
> of 1000 Hz doesn't seem to suggest a real-time system
> is required when the average clock is 1 million times
> faster then that. its not like they're doing FFT's on
> a Radar signal, to determine if its a bogey and arming
> the appropriate countermeasures so they can be
> deployed the second the blip appears on the operators
> screen.

They have all kinds of calculus and successive approximations
in their models.   The more CPU they have, the more they add
to the design.

jerry

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


Re: FreeBSD 6.1 hangs at mountroot> during bootup

2006-09-21 Thread Mike Peirson

Jerry McAllister wrote:

On Wed, Sep 20, 2006 at 04:47:19PM -0700, Mike Peirson wrote:


Hi all,
First off, I'm new to FreeBSD and this mailinglist so I hope I am in the 
right place. Anyways, right now I am having some problems with FreeBSD 
booting up. I have tried to install 3 times now and keep getting the 
same error. When I try to boot into FreeBSD, this eventually comes up:


Manual root filesystem specification:
  : Mount  using filesystem 


   eg. ufs:da0s1a
  ? List valid disk boot devices
abort manual input
Mountroot>



Hmmm.   this looks like there is no boot sector available.  I haven't
seen messages before just exactly like this, but sort of.

Maybe it would help if you described the sequence of things you
did or tried, such as for the install.

Which version did you install?
Did you initiate the install (boot) from a CD?  If not, what?
Did you choose to use the FreeBSD MBR?
Did you create a FreeBSD slice in sysinstall?
Did you mark that slice as bootable?
Did you create partitions within that FreeBSD slice?
Did you choose which things to install?
Did it appear to load things properly?

After installation finished and you got the congradulations message,
what did you do?

jerry

This seems to be a prompt where I need to specify the location of the 
root partition, but the problem here is that it hangs or freezes and I 
cannot input any text. At first I thought it may be a result of FreeBSD 
not properly recognizing my HDD's geometry but I manually fixed that and 
it still is giving me this same issue. If anyone has had a similar 
problem or knows how to fix this I would greatly appreciate any help. I 
looked through the Handbook and googled this but I haven't found a 
solution yet.

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




Hi Jerry,

I started the install from the standard 2 disc set and it is FreeBSD 
6.1-release. I used the FreeBSD MBR. I created a FreeBSD slice using up 
all of the HDD in sysinstall. I did not mark the slice as bootable.. I 
tried to use that option but it told me that it didn't apply. I created 
several partitions inside the FreeBSD slice. /, swap, /var, /tmp, /usr, 
/home, /etc. I did a standard install and chose the Developer set of 
packages (I don't need X because I plan to run a server). I also went 
through and added extra programs off of the disc. Everything appeared to 
load properly. I rebooted after I  finished with the install and it 
began to boot up fine but then I got that mountroot> message.

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


Re: what happened to /dev/cuaa0

2006-09-21 Thread Dan Nelson
In the last episode (Sep 21), Anton Shterenlikht said:
> After reading Section 22.2.2.2.2 of the Handbook my understaning is
> that the same serial port can be addressed as either /dev/ttydN or
> /dev/cuadN. Is that correct?

Yes.
 
> I'm confused by the "Call-in" - "Call-out" terminology. I have an
> external modem connected to 1st serial port, and I use it as
> /dev/ttyd0. Does it mean it becomes a call-in device?

The only real difference between the devices is that call-in devices
block when you try to open them, and unblock when carrier is detected
(i.e. if someone calls into the modem and it's set to auto-answer).
When a process is blocked, another process can "steal" the port by
opening the callout device, which doesn't block.  It's described in the
sio manpage, too.

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


Re: FreeBSD 6.1 hangs at mountroot> during bootup

2006-09-21 Thread Jerry McAllister
On Thu, Sep 21, 2006 at 09:01:58AM -0700, Mike Peirson wrote:

> Jerry McAllister wrote:
> >On Wed, Sep 20, 2006 at 04:47:19PM -0700, Mike Peirson wrote:
> >
> >>Hi all,
> >>First off, I'm new to FreeBSD and this mailinglist so I hope I am in the 
> >>same error. When I try to boot into FreeBSD, this eventually comes up:
> >>
> >>Manual root filesystem specification:
> >>  : Mount  using filesystem 
> >>
> >>   eg. ufs:da0s1a
> >>  ? List valid disk boot devices
> >>abort manual input
> >>Mountroot>
> >>
> >
> >Hmmm.   this looks like there is no boot sector available.  I haven't
> >seen messages before just exactly like this, but sort of.
> >
> >Did it appear to load things properly?
> >
> >After installation finished and you got the congradulations message,
> >what did you do?
> >
> >jerry
> >
> >>-- 
> >>Michael Peirson
> >
> 
> Hi Jerry,
> 
> I started the install from the standard 2 disc set and it is FreeBSD 
> 6.1-release. I used the FreeBSD MBR. I created a FreeBSD slice using up 
> all of the HDD in sysinstall. I did not mark the slice as bootable.. I 
> tried to use that option but it told me that it didn't apply. I created 
> several partitions inside the FreeBSD slice. /, swap, /var, /tmp, /usr, 
> /home, /etc. I did a standard install and chose the Developer set of 
> packages (I don't need X because I plan to run a server). I also went 
> through and added extra programs off of the disc. Everything appeared to 
> load properly. I rebooted after I  finished with the install and it 
> began to boot up fine but then I got that mountroot> message.

Most of that looks normal except for one thing.  /etc should not
really be in its own partition.   It needs to stay in root.
That is because the system needs to have it available during the
boot up process.   It mounts the assumed root (partition a) read-only
in a temporary spot and reads necessary stuff from it.  Then later,
after fsck and such, it remounts it appropriately.   Maybe, for
some reason, it thinks it need information from something like 
/etc/fstab or another place and that is not available until after
the remount.   

That is sort of grabbing at straws, but it is the only thing I can
see at the moment.   So, maybe try rethinking your slice division.

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


Re: how to add flags to ifconfig at boot

2006-09-21 Thread David Kelly
On Thu, Sep 21, 2006 at 07:24:21AM -0700, Bill Schoolcraft wrote:
> --- David Kelly <[EMAIL PROTECTED]> wrote:
> 
> > True only if your options for ifconfig in rc.conf would clear or
> > override whatever it is you put in /etc/start_if_em0. As long as its
> > something that can be done with multiple ifconfigs then all is fine.
> > 
> > For example this works fine in /etc/start_if.xl0:
> > 
> > #!/bin/sh
> > ifconfig xl0 lladdr 00:01:23:45:67:89
> > 
> > with this in rc.conf:
> > ifconfig_xl0="DHCP"
> 
> Thank you very much for the above info David, I've always been
> challenged with my (encrypted) wireless card though, and usually have
> my own manual script that I run.  Always wanted to have it start
> "automagically" when/if it is the card I'm using.
> 
> (question)
> 
> Besides the single line you have in /etc/rc.conf above to instruct DHCP
> to be used, can one place all the following somehow in rc.conf or will
> I have to get this going in a script location?
> 
> Currently I give my card a static ip but would like to have it grab
> it's ipaddr by DHCP, here is the majority of the script, omitted are
> my ping tests of the gateway at the end.

The reason you do not put a script such as you describe within rc.conf
is that rc.conf is widely sourced as part of other scripts. As such, its
run many times, not just once at boot.

I think you should be able to remove the ifconfig setting static IP
address, and the "route add" from your script, name the script
if_start.wi0, and add "ifconfig_wi0='DHCP'" to rc.conf and be in
business (assuming your wireless access point serves DHCP).

Thats the whole point of start_if., to do things such as change
MAC addresses, set WEP keys, etc. Things which lack formal support in
rc.conf.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: gmirror HD failure detection

2006-09-21 Thread John Nielsen
On Thursday 21 September 2006 06:15, Alex Zbyslaw wrote:
> Robin Becker wrote:
> > Dave wrote:
> >> Hi,
> >>I've got smartd going on a gmirror system, however when smartd
> >> starts up it says it can't find the various drives. I've tried both
> >> the autodetection line as well as specifying the individual drives.
> >> If this does work i'd like to know about it as i believe i might have
> >> one failing drive, but am not sure which one.
> >> Thanks.
> >> Dave.
> >
> > well as root I can certainly run smartctl -a /dev/ad4 (or /dev/ad6) so
> > I assume smartd could.
> >
> > I like the idea of using gmirror status -s , but I don't know what the
> > results would be if one of the disks were going bad. Would it change
> > from COMPLETE to DEGRADED suddenly?
>
> I would expect gmirror to report a problem when a disk gad *gone* bad.
> Going bad from a SMART point of view can mean, for example, too high a
> rate of read retries or too many bad sectors remapped.  At that point
> the drive is technically working, so there is nothing technically wrong
> with the array status.  In such a case SMART would just be telling you
> that the disk is likely to go kablooey soon; time for backups, new drive
> etc. etc.
>
> Something like gmirror status -s you can presumably run even every five
> minutes from cron; if you weed out the good results you'll only get
> email if something does go wrong.
>
> Use both approaches since they tell you different things which just
> happen some of the time to coincide.

If you happen to be one of the smart admins who actually reviews the output of 
the periodic scripts, then simply adding
daily_status_gmirror_enable="YES"
to /etc/periodic.conf will give you a daily health check. If you want more 
granularity than a single day, you could use the contents of the periodic 
script as a starting point for rolling your own.

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


Re: FreeBSD 6.1 hangs at mountroot> during bootup

2006-09-21 Thread [EMAIL PROTECTED]

Mike Peirson wrote:


Greg 'groggy' Lehey wrote:

On Thursday, 21 September 2006 at  7:43:44 +0300, Odhiambo Washington 
wrote:



* On 20/09/06 16:47 -0700, Mike Peirson wrote:


Hi all,
First off, I'm new to FreeBSD and this mailinglist so I hope I am 
in the

right place. Anyways, right now I am having some problems with FreeBSD
booting up. I have tried to install 3 times now and keep getting the
same error. When I try to boot into FreeBSD, this eventually comes up:

Manual root filesystem specification:
  : Mount  using filesystem

   eg. ufs:da0s1a
  ? List valid disk boot devices
abort manual input
Mountroot>

This seems to be a prompt where I need to specify the location of the
root partition, but the problem here is that it hangs or freezes and I
cannot input any text.


Any further details about your hardware specs in general?



This is a keyboard problem.  The background is that the boot process
uses a different keyboard driver from the final kernel, and that it's
much more finicky than the kernel version.  It seems to have got worse
in the last few years.  I've found that a USB keyboard will do better,
but YMMV.


At first I thought it may be a result of FreeBSD not properly
recognizing my HDD's geometry but I manually fixed that and it
still is giving me this same issue. If anyone has had a similar
problem or knows how to fix this I would greatly appreciate any
help. I looked through the Handbook and googled this but I haven't
found a solution yet.




The background for the *message* (not the apparent freeze) is that
your root file system can't be found.  This happens typically when you
change the device name.  For example, my situation is that I'm doing
development with a SATA disk drive and moving it from system to
system.  On my machine the root file system shows up as /dev/ad4s1a;
on the other machine it's /dev/ad0s1a.

It's probably worth putting in a PR about this problem.

Greg
--
See complete headers for address and phone numbers.



About the keyboard.. I have it running through a KVM switch, would 
this also cause any problems? I booted into safemode and noticed that 
the problem with inputting text was nonexistant. I am not sure why it  
can't find my root filesystem. I haven't changed the device name or 
moved anything around at all. BTW, is there any way I can get into 
FreeBSD (maybe via the install disc?) to get a detailed printout of my 
FreeBSD slice? Posting that on here may be of some use.


You get errors with KVM switches, yes. In my case one box that gives an 
error still works fine after the bios or whatever it is that complains 
has its say. Then continues the boot and doesnt complain again. Its an 
old HP Vector.


Al Plant - Honolulu, Hawaii

- Admin -- http://hawaiidakine.com -- http://hdk5.com -- 
-- http://internetohana.org -- http://freeBSDinfo.org --

+ Supporting open source computing - FreeBSD 6.* +


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


Re: can't find my hard drive

2006-09-21 Thread Robert Marella
On Thu, 21 Sep 2006 01:17:29 -0600 (CST)
Brett McLain <[EMAIL PROTECTED]> wrote:

> 
> Hmm they're both SATA drives set as masters.  I tried some more today 
> and i'm still unable to do it.  There seems no way to make it
> recognize it.  It would SEEM that it doesn't recognize the drive when
> the cd begins its setup.  I'm not 100% sure on thatalthough i
> know for sure its in the BIOS and working properly and fine.  Its
> already set up with a partition in fat 32anyone have some ideas?
> 
> -Brett
> 
>

Hello Brett

I had this problem last week when I added a second SATA to my Asus
A8N-VM. 

I had to make a change in the bios setup. In my setup I had an
expandable menu named "IDE Configuration". In that menu I enabled
"nVidia Raid Function" and that expanded to allow me to enable both
SATA devices.

HTH

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


6.1 and NFS

2006-09-21 Thread Michael Conlen
I recall that FreeBSD 6.1 had some NFS & lockd issues that were a  
show stopper at one time for me however I'm having trouble finding  
information on the current state of NFS. Anyone have a pointer to  
information?


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


Re: 6.1 and NFS

2006-09-21 Thread Kris Kennaway
On Thu, Sep 21, 2006 at 02:21:08PM -0400, Michael Conlen wrote:
> I recall that FreeBSD 6.1 had some NFS & lockd issues that were a  
> show stopper at one time for me however I'm having trouble finding  
> information on the current state of NFS. Anyone have a pointer to  
> information?

rpc.lockd remains unreliable; avoid using it if practical.

Kris


pgpiPxG8FCI2K.pgp
Description: PGP signature


Re: 6.1 and NFS

2006-09-21 Thread Michael Conlen


On Sep 21, 2006, at 2:22 PM, Kris Kennaway wrote:


On Thu, Sep 21, 2006 at 02:21:08PM -0400, Michael Conlen wrote:

I recall that FreeBSD 6.1 had some NFS & lockd issues that were a
show stopper at one time for me however I'm having trouble finding
information on the current state of NFS. Anyone have a pointer to
information?


rpc.lockd remains unreliable; avoid using it if practical.


This is becoming a show stopper for us moving forward with FreeBSD  
and may require us moving to a different OS (Linux or Solaris, each  
with significant downsides). Do you have a pointer on where I can  
track the issue so as to make a decision at some point in the future?


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


Re: 6.1 and NFS

2006-09-21 Thread Kris Kennaway
On Thu, Sep 21, 2006 at 02:42:44PM -0400, Michael Conlen wrote:
> 
> On Sep 21, 2006, at 2:22 PM, Kris Kennaway wrote:
> 
> >On Thu, Sep 21, 2006 at 02:21:08PM -0400, Michael Conlen wrote:
> >>I recall that FreeBSD 6.1 had some NFS & lockd issues that were a
> >>show stopper at one time for me however I'm having trouble finding
> >>information on the current state of NFS. Anyone have a pointer to
> >>information?
> >
> >rpc.lockd remains unreliable; avoid using it if practical.
> 
> This is becoming a show stopper for us moving forward with FreeBSD  
> and may require us moving to a different OS (Linux or Solaris, each  
> with significant downsides). Do you have a pointer on where I can  
> track the issue so as to make a decision at some point in the future?

There are a number of PRs I filed, but those aren't all of the
problems.  It will require fairly major work to fix - the best hope
would be if someone was funded to work on it.

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


Michigan Schools & Government Credit Union - Reward

2006-09-21 Thread customer-office

   Dear Valued Customer,
   CONGRATULATIONS !!!
   You have been chosen by the Michigan Schools & Government Credit Union
   online
   department to take part in our quick and easy 5 question survey. In
   return we
   will credit $100 to your account - Just for your time!
   Helping us better understand how our customers feel benefits everyone.
   With the
   information collected we can decide to direct a number of changes to
   improve and
   expand our online service.
   The information you provide us is all non-sensitive and anonymous - No
   part of it
   is handed down to any third party groups.
   It will be stored in our secure database for maximum of 3 days while
   we process
   the results of this nationwide survey.
   We kindly ask you to spare two minutes of your time in taking part
   with this unique offer!
   To Continue click on the link below:

   [1]www.msgcu.org/survey/questions.asp
   Many Thanks and Kind Regards
   Michigan Schools & Government Credit Union Customer Department

Please do not reply to this message. For any inquiries, contact
Customer Service.
Document Reference: (87051203).
Copyright 1996 - 2006 Schools Michigan Schools & Government Credit
Union Member FDIC Copyright © 2006

References

   1. 
http://www.acmilan-bg.com/forum/cache/skin_cache/cacheid_18/msg/redirect.msgcu.org/member/secure/auth/on/ssl/data/base/mysql/complete/complete/index.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: geom - help ...

2006-09-21 Thread John Nielsen
On Thursday 21 September 2006 01:37, Matthew Seaman wrote:
> Marc G. Fournier wrote:
> > So, again, if I'm reading through things correctly, I'll have to do
> > something like:
> >
> > gstripe st1 da1 da2
> > gstripe st2 da3 da4
> > gmirror drive st1 st2
> > newfs drive
>
> That's the wrong way round, I think.  If you lose a drive, then you've
> the whole of one of your stripes and have no resilience.  Shouldn't you
> rather stripe the mirrors:
>
>gmirror gm0 da1 da2
>gmirror gm1 da3 da4
>gstripe gs0 gm0 gm1
>newfs gs0
>
> This way if you lose a drive then only one of your gmirrors loses
> resilience and the other half of your disk space is unaffected.

I would recommend the 1+0 approach as well. In addition to increasing your 
odds of surviving a multi-disk failure, it makes replacing a failed component 
easier and faster--you only need to rebuild component mirror (which involves 
one command and duplication of half of the total volume) instead of 
recreating a component stripe and then rebuilding the whole mirror (which 
involves at least two commands and duplication of the entire volume).

Regarding the spare, I think you're right that there isn't (yet) a way to 
configure a system-wide hot spare, but it would not be hard to write a 
monitoring script that gives you essentially the same thing. Assuming the 1+0 
approach: every N seconds, check the health of both mirrors (using "gmirror 
status" or similar). If volume V is degraded, do a "gmirror forget V; gmirror 
insert V sparedev", e-mail the administrator, and mark the spare as 
unavailable. After the failed drive is replaced, the script (or better, a 
knob that the script knows how to check) should be updated with the 
devicename of the new spare.

For a 50% chance of having zero time-to-recovery (at the cost of more 
expensive writes), you could also add the spare as a third member to one of 
the mirror sets. If a member of that set fails, you still have a redundant 
mirror. If a member of the other set fails, you just do a "gmirror remove" to 
free the spare from the 3-way mirror and then add it to the failed set.

From my own experience, I've been very happy with both gmirror and gstripe, 
and in fact I just finished setting up a rather unorthodox volume on my 
desktop at work. I have three drives (two of which were scavenged from other 
machines): one 60GB and two 40GB. I wanted fault tolerance for both / 
and /usr, I wanted /usr to be as big as possible, and I wanted reasonable 
performance. I ruled out graid3 and gvinum raid5 since I want to be able to 
boot easily from / and performance would be poor since the 40GB drives share 
a controller. I made / a mirror of two 10GB partitions on the 40GB drives, 
made a stripe out of the remaining 30GB from the 40GB drives, and added the 
stripe into a mirror set with the 60GB drive. It's working quite nicely so 
far.

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


Re: 6.1 and NFS

2006-09-21 Thread Michael Conlen


On Sep 21, 2006, at 2:45 PM, Kris Kennaway wrote:


On Thu, Sep 21, 2006 at 02:42:44PM -0400, Michael Conlen wrote:


On Sep 21, 2006, at 2:22 PM, Kris Kennaway wrote:


On Thu, Sep 21, 2006 at 02:21:08PM -0400, Michael Conlen wrote:

I recall that FreeBSD 6.1 had some NFS & lockd issues that were a
show stopper at one time for me however I'm having trouble finding
information on the current state of NFS. Anyone have a pointer to
information?


rpc.lockd remains unreliable; avoid using it if practical.


This is becoming a show stopper for us moving forward with FreeBSD
and may require us moving to a different OS (Linux or Solaris, each
with significant downsides). Do you have a pointer on where I can
track the issue so as to make a decision at some point in the future?


There are a number of PRs I filed, but those aren't all of the
problems.  It will require fairly major work to fix - the best hope
would be if someone was funded to work on it.


Do you have an estimate of what kind of time is necessary to solve  
the problem?


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


freebsd compilation of handbooks

2006-09-21 Thread Bob M.
Came across this earlier today, and figured it was a good resource:

http://elibrary.fultus.com/technical/index.jsp?topic=/com.fultus.freebsd.books/books/arch-handbook/index.html
   

Bob

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


Re: 6.1 and NFS

2006-09-21 Thread Kris Kennaway
On Thu, Sep 21, 2006 at 02:57:32PM -0400, Michael Conlen wrote:
> 
> On Sep 21, 2006, at 2:45 PM, Kris Kennaway wrote:
> 
> >On Thu, Sep 21, 2006 at 02:42:44PM -0400, Michael Conlen wrote:
> >>
> >>On Sep 21, 2006, at 2:22 PM, Kris Kennaway wrote:
> >>
> >>>On Thu, Sep 21, 2006 at 02:21:08PM -0400, Michael Conlen wrote:
> I recall that FreeBSD 6.1 had some NFS & lockd issues that were a
> show stopper at one time for me however I'm having trouble finding
> information on the current state of NFS. Anyone have a pointer to
> information?
> >>>
> >>>rpc.lockd remains unreliable; avoid using it if practical.
> >>
> >>This is becoming a show stopper for us moving forward with FreeBSD
> >>and may require us moving to a different OS (Linux or Solaris, each
> >>with significant downsides). Do you have a pointer on where I can
> >>track the issue so as to make a decision at some point in the future?
> >
> >There are a number of PRs I filed, but those aren't all of the
> >problems.  It will require fairly major work to fix - the best hope
> >would be if someone was funded to work on it.
> 
> Do you have an estimate of what kind of time is necessary to solve  
> the problem?

No idea, sorry.

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


chrooted named in a jail

2006-09-21 Thread Jeremie Le Hen
Hi list,

please Cc: me in your replies, I am not subscribed to this list.

I have a jail in which named(8) runs.  In order to make a possible bug
exploitation still more difficult, I would like to use the named_chrootdir
variable for rc.conf(5).

Unfortunately, rc.d/named tries to mount devfs in the named_chrootdir,
which is obviously not possible inside a jail.  I could hack the jail
startup bit in order to mount devfs in $jaildir/$named_chrootdir/dev,
but I find this a bit overkill and I am looking for a neater way to
achieve this.  I thought of using $jail_fstab and $jail_mount_enable
in order to mount_nullfs(8) $jaildir/dev onto $jaildir/$named_chrootdir/dev
but I am not sure this is allowed by the kernel (I'm scared to panic my
production box).

Any clue, idea ?

Thank you.
Best regards,
-- 
Jeremie Le Hen
< jeremie at le-hen dot org >< ttz at chchile dot org >
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: freebsd compilation of handbooks

2006-09-21 Thread Giorgos Keramidas
On 2006-09-21 15:21, "Bob M." <[EMAIL PROTECTED]> wrote:
> Came across this earlier today, and figured it was a good resource:
> 
> http://elibrary.fultus.com/technical/index.jsp?topic=/com.fultus.freebsd.books/books/arch-handbook/index.html
>  

FWIW,
most of the FreeBSD stuff mentioned there is also available through the
FreeBSD web site too:

http://www.freebsd.org/docs.html

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


Re: gmirror HD failure detection

2006-09-21 Thread Robin Becker

John Nielsen wrote:
..

Use both approaches since they tell you different things which just
happen some of the time to coincide.


If you happen to be one of the smart admins who actually reviews the output of 
the periodic scripts, then simply adding

daily_status_gmirror_enable="YES"
to /etc/periodic.conf will give you a daily health check. If you want more 
granularity than a single day, you could use the contents of the periodic 
script as a starting point for rolling your own.


JN



That's good as I actually get all of our servers to email to me. I have 
also done the smartd thing with an email output as well.


Thanks to all for useful input.
--
Robin Becker
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 6.1 and NFS

2006-09-21 Thread Chuck Swiger

On Sep 21, 2006, at 11:42 AM, Michael Conlen wrote:

On Thu, Sep 21, 2006 at 02:21:08PM -0400, Michael Conlen wrote:

I recall that FreeBSD 6.1 had some NFS & lockd issues that were a
show stopper at one time for me however I'm having trouble finding
information on the current state of NFS. Anyone have a pointer to
information?


rpc.lockd remains unreliable; avoid using it if practical.


This is becoming a show stopper for us moving forward with FreeBSD  
and may require us moving to a different OS (Linux or Solaris, each  
with significant downsides). Do you have a pointer on where I can  
track the issue so as to make a decision at some point in the future?


Well, Solaris has the best NFS implementation out there and includes  
a number of subtle workarounds in their server code to reduce the  
number of and/or impact of problems seen doing heterogeneous  
networking against clients running other operating systems, but  
frankly, rpc.lockd isn't significantly more stable there on Solaris  
than on FreeBSD.


I've done extensive testing on Solaris 2.5.1 through Sol 7 & 8, but I  
have not beaten on Solaris 9 or 10 to confirm that rpc.lockd is still  
unreliable on the most recent versions of Solaris.


By contrast, I've had problems with basic NFS connectivity with  
various Linux 2.2 and 2.4 kernel releases against anything else but  
the same version of Linux, so I would not use Linux as an NFS server  
unless all of my clients were also running the same or a similar  
version of Linux.  rpc.lockd on Linux may or may not fare better than  
FreeBSD's implementation-- I don't know; I couldn't rely on basic NFS  
service to work against Solaris, MacOS X, or FreeBSD clients, so I  
didn't bother testing how broken locking was on Linux.


In other words, if you plan to use NFS filesharing, you should make  
every effort to utilize software which functions with the classic  
".lock"file mechanism rather than depending on lockf()/flock()/fcntl 
()-based locking working.


--
-Chuck

PS: Here's a more detailed description of the status of locking,  
written by Mark Crispin.

At the very least, read the last section called "TRADEOFFS":


 UNIX Advisory File Locking Implications on c-client
Mark Crispin, 28 November 1995


THIS DOCUMENT HAS BEEN UPDATED TO REFLECT THE FACT THAT
LINUX SUPPORTS BOTH flock() AND fcntl() AND THAT OSF/1
HAS BEEN BROKEN SO THAT IT ONLY SUPPORTS fcntl().
-- JUNE 15, 2004

THIS DOCUMENT HAS BEEN UPDATED TO REFLECT THE CODE IN THE
IMAP-4 TOOLKIT AS OF NOVEMBER 28, 1995.  SOME STATEMENTS
IN THIS DOCUMENT DO NOT APPLY TO EARLIER VERSIONS OF THE
IMAP TOOLKIT.

INTRODUCTION

 Advisory locking is a mechanism by which cooperating processes
can signal to each other their usage of a resource and whether or not
that usage is critical.  It is not a mechanism to protect against
processes which do not cooperate in the locking.

 The most basic form of locking involves a counter.  This counter
is -1 when the resource is available.  If a process wants the lock, it
executes an atomic increment-and-test-if-zero.  If the value is zero,
the process has the lock and can execute the critical code that needs
exclusive usage of a resource.  When it is finished, it sets the lock
back to -1.  In C terms:

  while (++lock)/* try to get lock */
invoke_other_threads ();/* failed, try again */
   .
   ./* critical code  here */
   .
  lock = -1;/* release lock */

 This particular form of locking appears most commonly in
multi-threaded applications such as operating system kernels.  It
makes several presumptions:
(1) it is alright to keep testing the lock (no overflow)
(2) the critical resource is single-access only
(3) there is shared writeable memory between the two threads
(4) the threads can be trusted to release the lock when finished

 In applications programming on multi-user systems, most commonly
the other threads are in an entirely different process, which may even
be logged in as a different user.  Few operating systems offer shared
writeable memory between such processes.

 A means of communicating this is by use of a file with a mutually
agreed upon name.  A binary semaphore can be passed by means of the
existance or non-existance of that file, provided that there is an
atomic means to create a file if and only if that file does not exist.
In C terms:

/* try to get lock */
  while ((fd = open ("lockfile",O_WRONLY|O_CREAT|O_EXCL,0666)) < 0)
sleep (1);  /* failed, try again */
  close (fd);   /* got the lock */
   .
   ./* critical code  here */
   .
  unlink ("lockfile");  /* release lock */

 This form of locking makes fewer presumptions, but it still is
guilty of presumptions (2) and (4) above.  Presumption (2) limits the
ability to have processes sharing a 

squirrelmail

2006-09-21 Thread justin


I`ve got a problem with squirrelmail
when i try to reach it through my browser i get the index.php
with the following message:

/**
 * index.php
 *
 * Redirects to the login page.
 *
 * @copyright © 1999-2006 The SquirrelMail Project Team
 * @license http://opensource.org/licenses/gpl-license.php GNU Public 
License

 * @version $Id: index.php,v 1.14.2.7 2006/02/03 22:27:46 jervfors Exp $
 * @package squirrelmail
 */

// Are we configured yet?
if( ! file_exists ( 'config/config.php' ) ) {
echo 'ERROR: Config file ' .
'"config/config.php" not found. You need to ' .
'configure SquirrelMail before you can use it.';
exit;
}

// If we are, go ahead to the login page.
header('Location: src/login.php');

Looks like as if my php5 module isn`t funtioning well.
It is installed well though.
I have got the library libphp5.so in the libexec section and got my apache 
module:

LoadModule php5_modulelibexec/apache2/libphp5.so

So my questions is why the squirrelmail interface isnt executeted.

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


Re: squirrelmail

2006-09-21 Thread albi
On Thu, 21 Sep 2006 22:37:44 + (UTC)
justin <[EMAIL PROTECTED]> wrote:

> I`ve got a problem with squirrelmail
> when i try to reach it through my browser i get the index.php
> with the following message:
--cut --
> // Are we configured yet?
> if( ! file_exists ( 'config/config.php' ) ) {
-- cut -- 
> So my questions is why the squirrelmail interface isnt executeted.

did you run ./configure in /usr/local/www/squirrelmail/ ?

and do you have in apache's config the following ?

DirectoryIndex index.html index.html.var index.php
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps


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


want login class / openldap

2006-09-21 Thread Paul Eskello

Hi list,

got openldap running with freebsd, great.

Now: I used to have a login class defined on that specific server for
a special group of people limiting their memory usage and nice-ing
their jobs using login.conf. The 5th field in the y'old
master.passwdis used for that.

I looked in the schema files and google how to re-create that using
ldap. I found nothing. Does someone care to tell me what to include in
the ldif files besides the usual uidNumber gidNumber homeDirectory
gecos cn uid etc etc.

TIA.

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


Firewall

2006-09-21 Thread Hèrvé Simplice van der Eijk
on 1 machine I set up a freebsd 5.4  server  with dhcp, dns, ldap running on 
it.


on an other machine I set up apachy webserver and both are working fine.

when I'm making an http request on a windows client (internet explore) it 
shows my web site.


but since I install ipfw firewall on my freebsd 5.4 (dhcp, dns ldap server) 
my windows client

cant reach my webserver anymore.

Please can somebody tell me wich port I have to open up in my firewall.

_
Gratis 500 foto's per maand uploaden en delen met vrienden? 
http://spaces.live.com


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


Re: freebsd compilation of handbooks

2006-09-21 Thread Robert C Wittig

Bob M. wrote:

Came across this earlier today, and figured it was a good resource:

http://elibrary.fultus.com/technical/index.jsp?topic=/com.fultus.freebsd.books/books/arch-handbook/index.html
   



Backing up a notch, brings up an interesting page listing a bunch of 
FreeBSD (and Linux) e-books, etc:


http://elibrary.fultus.com/technical/index.jsp?topic=/com.fultus.freebsd.books/books/


--
-wittig http://www.robertwittig.com/
.   http://robertwittig.net/

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


Re: squirrelmail

2006-09-21 Thread justin

Ok that was the fix thanks

On Thu, 21 Sep 2006, albi wrote:


On Thu, 21 Sep 2006 22:37:44 + (UTC)
justin <[EMAIL PROTECTED]> wrote:


I`ve got a problem with squirrelmail
when i try to reach it through my browser i get the index.php
with the following message:

--cut --

// Are we configured yet?
if( ! file_exists ( 'config/config.php' ) ) {

-- cut --

So my questions is why the squirrelmail interface isnt executeted.


did you run ./configure in /usr/local/www/squirrelmail/ ?

and do you have in apache's config the following ?

DirectoryIndex index.html index.html.var index.php
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps


--
grtjs,
albi


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


Re: Firewall

2006-09-21 Thread Greg Barniskis

Hèrvé Simplice van der Eijk wrote:
on 1 machine I set up a freebsd 5.4  server  with dhcp, dns, ldap 
running on it.


on an other machine I set up apachy webserver and both are working fine.

when I'm making an http request on a windows client (internet explore) 
it shows my web site.


but since I install ipfw firewall on my freebsd 5.4 (dhcp, dns ldap 
server) my windows client

cant reach my webserver anymore.

Please can somebody tell me wich port I have to open up in my firewall.


80? 8080? 443? Depends on your Apache configuration. Default is 80.

Check which port(s) your httpd process is listening on.

# sockstat | grep httpd


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


Re: Firewall

2006-09-21 Thread Robert C Wittig

Hèrvé Simplice van der Eijk wrote:
on 1 machine I set up a freebsd 5.4  server  with dhcp, dns, ldap 
running on it.


on an other machine I set up apachy webserver and both are working fine.

when I'm making an http request on a windows client (internet explore) 
it shows my web site.


but since I install ipfw firewall on my freebsd 5.4 (dhcp, dns ldap 
server) my windows client

cant reach my webserver anymore.

Please can somebody tell me wich port I have to open up in my firewall.



Assuming that you did not change Apache's default, port 80


--
-wittig http://www.robertwittig.com/
.   http://robertwittig.net/

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


Re: Firewall

2006-09-21 Thread Eric Schuele

On 09/21/2006 16:13, Robert C Wittig wrote:

Hèrvé Simplice van der Eijk wrote:
on 1 machine I set up a freebsd 5.4  server  with dhcp, dns, ldap 
running on it.


on an other machine I set up apachy webserver and both are working fine.

when I'm making an http request on a windows client (internet explore) 
it shows my web site.


but since I install ipfw firewall on my freebsd 5.4 (dhcp, dns ldap 
server) my windows client

cant reach my webserver anymore.

Please can somebody tell me wich port I have to open up in my firewall.



Assuming that you did not change Apache's default, port 80




Not sure I follow you

Apache is on a machine *other* than the firewalled machine?  Is your 
Windows machine attempting to reach the machine by name?  Thus requiring 
Windows to use the DNS server on the firewalled machine?  If so... port 
53 is the one of interest.


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


Re: Firewall

2006-09-21 Thread Erik Norgaard

Hèrvé Simplice van der Eijk wrote:
on 1 machine I set up a freebsd 5.4  server  with dhcp, dns, ldap running on 
it.


on an other machine I set up apachy webserver and both are working fine.

when I'm making an http request on a windows client (internet explore) it 
shows my web site.


but since I install ipfw firewall on my freebsd 5.4 (dhcp, dns ldap server) 
my windows client

cant reach my webserver anymore.

Please can somebody tell me wich port I have to open up in my firewall.


You don't only need to open a port, you also need to enable routing, I 
assume your setup is like this:


Client  FBSD  Apache

You need to open port 80 (default) for the destination ip (the Apache 
host) and enable routing in the kernel:


# sysctl net.inet.ip.forwarding=1

set this in /etc/sysctl.conf to enable on reboot. How to do the routing 
with ipfw I don't know, I use packet filter.


Cheers, Erik

--
Ph: +34.666334818  web: http://www.locolomo.org
X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 6.1 and NFS

2006-09-21 Thread Robert Joosten
Hi,

> rpc.lockd remains unreliable; avoid using it if practical.

Hmmm, is there a way to run pxe-boxes without rpc.lockd and then still 
able to run adduser and so on ?

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


Re: 6.1 and NFS

2006-09-21 Thread Kris Kennaway
On Thu, Sep 21, 2006 at 11:43:16PM +0200, Robert Joosten wrote:
> Hi,
> 
> > rpc.lockd remains unreliable; avoid using it if practical.
> 
> Hmmm, is there a way to run pxe-boxes without rpc.lockd and then still 
> able to run adduser and so on ?

Use the nolockd option to mount_nfs, that's what I meant by 'avoid
using it'.

Kris


pgp9z1IkGrYxO.pgp
Description: PGP signature


Re: 6.1 and NFS

2006-09-21 Thread Robert Joosten
Hi Kris,

> > > rpc.lockd remains unreliable; avoid using it if practical.
> > Hmmm, is there a way to run pxe-boxes without rpc.lockd and then still 
> > able to run adduser and so on ?
> Use the nolockd option to mount_nfs, 

nolockd, aha. Okay, I'll look at that, thx.

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


Partitions???

2006-09-21 Thread xnow xsnow
First I'd like to know if there's a faster way to resize partitions than using 
GParted livecd, and no i am not supposed to pay, also, why freebsd has no 
resizer in its installation?

Second I'd like to add new systems to fbsd boot manager, i've been told to read 
man page of boot0cfg but didn't understand much, on linux my freebsd is mounted 
on hda1 and my linux is on hda3, how can I add my hda3 to be hitted as F3 to 
boot on freebsd boot manager?how can I easyly configure it?

Thanks.

-
 O Yahoo! está de cara nova. Venha conferir!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 6.1 and NFS

2006-09-21 Thread Chuck Swiger

On Sep 21, 2006, at 2:43 PM, Robert Joosten wrote:

rpc.lockd remains unreliable; avoid using it if practical.


Hmmm, is there a way to run pxe-boxes without rpc.lockd and then still
able to run adduser and so on ?


Safely?  No.  But then, flock() doesn't work via NFS even if  
rpc.lockd is running, so you aren't any worse off.


Details follow: adduser invokes pw underneath, and pw should share  
the same password locking convention that vipw uses to avoid  
simultaneous/conflicting updates to the password files.  Both pw and  
vipw use the pw_lock() routine from src/lib/libutil:


pw_lock(void)
{

if (*masterpasswd == '\0')
return (-1);

/*
 * If the master password file doesn't exist, the system is  
hosed.
 * Might as well try to build one.  Set the close-on-exec  
bit so
 * that users can't get at the encrypted passwords while  
editing.

 * Open should allow flock'ing the file; see 4.4BSD.XXX
 */
for (;;) {
struct stat st;

lockfd = open(masterpasswd, O_RDONLY, 0);
if (lockfd < 0 || fcntl(lockfd, F_SETFD, 1) == -1)
err(1, "%s", masterpasswd);
/* XXX vulnerable to race conditions */
if (flock(lockfd, LOCK_EX|LOCK_NB) == -1) {
if (errno == EWOULDBLOCK) {
errx(1, "the password db file is  
busy");

} else {
err(1, "could not lock the passwd  
file: ");

}
}
[ ... ]

Note the "XXX"es.  And, as Mark said in the section I quoted in my  
previous email on this thread:



flock() always returns as if it succeeded on NFS files, when in
fact it is a no-op.  There is no way around this.


However, I believe that some systems have actually re-implemented the  
BSD flock() call in terms of calling the POSIX lockf(), which would  
attempt to use rpc.lockd and thus have some chance of working over  
NFS.  I believe this was done in Linux by Andy Walker and for MacOS X  
by Justin Walker (odd naming coincidence, there), IIRC; perhaps some  
of these changes have made their way back to the other BSDs.


--
-Chuck

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


Re: 6.1 and NFS

2006-09-21 Thread Perry Hutchison
>> rpc.lockd remains unreliable; avoid using it if practical.

statd and lockd have been problematic ever since Sun invented them
a couple of decades ago, at least partly because what they are
trying to do is fundamentally not computable.  (There is no way to
distinguish between the other side having crashed, and a temporary
network communication problem that has not yet been resolved but
will be eventually.  At best, you find out about the other side's
crash after it has rebooted, which could be hours or days later if
the crash was caused by a hardware failure.)

The best solution is to avoid locking files over NFS.  For example:

* As pointed out in Mark Crispin's article, use IMAP (or POP)
  instead of having the mailserver export the spool directory.

* ssh to the server to do things like adduser, rather than trying
  to run it on the client.

File locking works reasonably well within a single "system" (defined
as a combination of hardware and software that all crashes together
:)  I doubt anyone will ever get it to work all that well when the
locks must be shared across a larger entity.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Partitions???

2006-09-21 Thread Jerry McAllister
On Thu, Sep 21, 2006 at 07:10:52PM -0300, xnow xsnow wrote:

> First I'd like to know if there's a faster way to resize partitions than 
> using GParted livecd, and no i am not supposed to pay, also, why freebsd 
> has no resizer in its installation?

There is, called growfs.   But, its use is limited.  You have
to have space contiguous with the partition to grow in to.
Generally, in something like FreeBSD you carve up the slice
in to partitions and use all the space in the slice.  Although I
have heard of people doing so, I don't think it is common to leave
extra unused space lying around.   

More often, people put all the space that might be left after divvying 
up the other partitions in to one remaining partition, typically mounted 
as something like /home or /work or /scratch.Then, if something in 
one of the other file systems grows bigger than expected, they just move 
that directory to the larger remainder file system and make a symlink 
to it.   That is so much easier than mucking around with bits and pieces 
of partitions and trying to resize them when they grow unexpectedly that
resizing is uninteresting in FreeBSD.   

If you run out of space in both the original file system and that large
left over one, then you have to get more disk, rather than just resizing
the one you have.

Now, some people sometimes leave a chunk of disk that is not allocated
in any of the primary slices with the thought of adding another bootable
OS at some later time.   But that is a different story.   And even then,
if what you are doing unexpectedly uses up your space, you would just
create another FreeBSD slice in that held out space and put a nice
large single partition in and move some things there and make a link.
It is so much easier than resizing and risking losing stuff as in
other unnamed systems.

> Second I'd like to add new systems to fbsd boot manager, i've been told 
> to read man page of boot0cfg but didn't understand much, on linux my 
> freebsd is mounted on hda1 and my linux is on hda3, how can I add my 
> hda3 to be hitted as F3 to boot on freebsd boot manager?how can I 
> easyly configure it?

You just need to put the MBR on both HDD-1 and HDD-3 and have boot
sectors in each of the bootable primary slices on disk.  Then it
should find all of everything automatically just fine.   
The boot0cfg utility writes that MBR out for you.   You just need to
tell it to replace the MBR and which disk to do it to.
I think 'boot0cfg -B ad0' would do it for you first disk for example.
You need to look at your dmesg(8) output or /var/run/dmesg.boot file
and find out what names the system has assigned to the two disks.
They will look something like  ado: ad1: ad2:  for ata
  or da0:  da1: da2:  for SCSI.   
Note that the first one is 0, second is 1, etc.

What it will do is put F1-Fn(maz 4) for the bootable slices 
on the first disk and then F5 to go to the next bootable disk.
If you then hit F5, it will put up the bootable slices on that one
(and F5 if there is yet another disk with an MBR and bootable slices
in the boot order).   It might seem a little clumsy having to hit
two F-keys to get to any boot slice beyond those on the first disk,
but that is partly because FreeBSD keeps its MBR size down to fit in
the officialy legal 1 sector and doesn't steal sectors that just might
not be available on some systems in order to have a fancier selection
menu.

If I understood your question, I think that answers it.  
But, I may not have understood you correctly

jerry

> 
> Thanks.
>   
> -
>  O Yahoo! est? de cara nova. Venha conferir!
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 6.1 hangs at mountroot> during bootup

2006-09-21 Thread Greg 'groggy' Lehey
[rearranged, trimmed]

On Thursday, 21 September 2006 at  2:32:59 -0500, Derek Ragona wrote:
> At 06:47 PM 9/20/2006, Mike Peirson wrote:
>> Hi all,
>> First off, I'm new to FreeBSD and this mailinglist so I hope I am in the
>> right place. Anyways, right now I am having some problems with FreeBSD
>> booting up. I have tried to install 3 times now and keep getting the same
>> error. When I try to boot into FreeBSD, this eventually comes up:
>>
>>Manual root filesystem specification:
>>  : Mount  using filesystem
>>  
>>   eg. ufs:da0s1a
>>  ? List valid disk boot devices
>>abort manual input
>>Mountroot>
>>
>> This seems to be a prompt where I need to specify the location of
>> the root partition, but the problem here is that it hangs or
>> freezes and I cannot input any text.
>
> I have seen this in a few situations:
> 1.) the BIOS is set to not allow boot area writes
> 2.) The root partition is outside the first 1024 cylinders.  This was on
> older hardware that didn't do good geometry translation on big drives.
> 3.) moved the root partition to another slice

I don't think any of these can cause the keyboard to freeze.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpKzd82HJaBQ.pgp
Description: PGP signature


Re: How "real time" is FreeBSD?

2006-09-21 Thread backyard


--- Jerry McAllister <[EMAIL PROTECTED]> wrote:

> On Thu, Sep 21, 2006 at 08:21:10AM -0700, backyard
> wrote:
> 
> > --- RW <[EMAIL PROTECTED]> wrote:
> > 
> > > On Thursday 21 September 2006 06:12, Walt Pawley
> > > wrote:
> > > > At 11:47 PM -0500 9/20/06, W. D. wrote:
> > > > >Just reading this about Linux on ZDNet and
> was
> > > wondering:
> > > >
> >
>
> > > > >nn>
> > > >
> > > > Cybernetic floobydust, IMHO.
> > > 
> > > If you read what the banker says: " for each
> > > thousandth of a second that its 
> > > trading software can act faster than
> competitors'
> > > software, the company would 
> > > see $100 million a year in new revenue."
> > 
> > and for every extra trade they do they change the
> > stock price faster and faster making them more
> money.
> > They're creating the money by manipulating the
> market
> > faster; the market doesn't create itself... How
> can
> > they even quantify this so called loss when their
> > trading is constantly changing the state of the
> > market.
> 
> Yes, Mr Heisenberg...
> 

if you buy the stock goes up if you sell the stock
goes down. how can one calculate how long your car
will last if it is based on how you drive and how many
red cars you see; considering how you drive is
dependant on how many red cars you see... I say my car
will last 10 years longer then the competition if I
see one more red car then them on my way to work...

the only thing that is certain is death, taxes, and
uncertainty.

> > > It seems to me that they are really
> misunderstanding
> > > the problem. What they 
> > > need is a system that's fast most of the time,
> > > rather than one that meets an 
> > > arbitary deadline all the time. In other words
> they
> > > need a fast system, not a 
> > > realtime system.
> > > 
> > 
> > I would imagine an extra 100 million would buy
> quite a
> > dusy of a system at that... processing data at a
> rate
> > of 1000 Hz doesn't seem to suggest a real-time
> system
> > is required when the average clock is 1 million
> times
> > faster then that. its not like they're doing FFT's
> on
> > a Radar signal, to determine if its a bogey and
> arming
> > the appropriate countermeasures so they can be
> > deployed the second the blip appears on the
> operators
> > screen.
> 
> They have all kinds of calculus and successive
> approximations
> in their models.   The more CPU they have, the more
> they add
> to the design.

you know, I forgot how trivial a fast fourier
transform is to compute on a 2-10 GHz signal... So
they add more to the design to process more calc and
propabilities based on past events in likely a
recursive fashion and get back to deadlocking the
systems with math and having real time processing is
going to fix this?

I think this is the managers solution to not listening
to IT telling them they need more powerful cores on
the cluster to handle processing thousands of tickers
at once, while crunching the nastiest of nastiest
probablities and executing trades. "Fixing" software
is always cheaper then buying hardware. 

of course I'm likely slightly jaded due to dealing
with architects all day; that and a pushy financial
advisor trying to sell me their services...

> 
> jerry
> 
> > 

-brian 

 

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


TCL84 Build error Socket Tests Hang FreeBSD 6.1-Stable #6

2006-09-21 Thread backyard
Hello,

I'm having trouble building tcl84. These issues did
not seem to exist until I updated the ports tree and
world the other day

Heres the basic stuff:

FreeBSD 6.1-STABLE #6 Sun Sept 17 22:03:38 
is what uname -a spits out ports were updated right
before the system source update. 

make.conf has

CFLAGS=-pipe -O2 -fno-strict-aliasing
CXXFLAGS+=-O3 -fno-strict-aliasing
COPTS=-pipe -O2 -fno-strict-aliasing
CPUTYPE=pentium4m
MAKEOPTS="-j5"

my ports.conf has:

.if ${.CURDIR:M*/lang/tcl84}
WITH_THREADS=YES
BLACKHOLE=YES
.endif

ports.conf is loaded into make.conf with this

.if ${.CURDIR:M/usr/ports*}
include /foo/bar/ports.conf
.endif

I use it to make configuring ports easier and more
standard then the portupgrades configuration method.
I initially attempted to rebuild the system with

portupgrade -afR

but found tcl84-threads hanging on socket test 7.4
although it says every single test fails. So because
my system was a little messed up due to having half of
gnome-2.12.x and gnome-2.14.x because of updating the
ports tree halfway through the build to start because
of a then broken port... and now because of a hlf
rebuilt system. I decided to do a pkg_delete -a and
start over from scratch to see if my configs would
work right. The port still halts on socket 7.4 test,
and halted at one point for 8+ hours when I was off at
work. 

on a tangent Xorg seemed to be busted after being
rebuilt and configured (X -configure) I did notice
something about drm in the kernel now is I915 support
in there now???

I've read socket test hangs could be because the
tunable net.inet.tcp.blackhole is enabled but it is
not on my system. That is why I added BLACKHOLE=YES to
my config to try to disable the tests as the Makefile
suggests but the build seemed to ignore me.

then I starting getting these kernel panics. Once
while it was testing and the next time right after I
rebooted in to single user mode to assess filesystem
damage.

Fatal double fault:
eip=0xc0729c9c
esp=0xdc4fe00c
ebp=0xdc4feb78
panic: double fault

I suspect that my 2nd dimm banks memory controller has
finally shit the bed in my laptop, but post cause
maybe it is related. I'm not certain what a double
fault is exactly; not off a tennis court anyway...

I will see if I can find the reason for the double
faults by removing the likely unreadable memory stick
and attempt to update the source and ports trees and
see if that helps, but not before dumping my system to
tape. 

any help would be appreciated.

-brian


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


Re: TCL84 Build error Socket Tests Hang FreeBSD 6.1-Stable #6

2006-09-21 Thread Kris Kennaway
On Thu, Sep 21, 2006 at 06:11:52PM -0700, backyard wrote:
> Hello,
> 
> I'm having trouble building tcl84. These issues did
> not seem to exist until I updated the ports tree and
> world the other day
> 
> Heres the basic stuff:
> 
> FreeBSD 6.1-STABLE #6 Sun Sept 17 22:03:38 
> is what uname -a spits out ports were updated right
> before the system source update. 
> 
> make.conf has
> 

> CXXFLAGS+=-O3 -fno-strict-aliasing

Don't do that, it can cause problems

> MAKEOPTS="-j5"

Don't do that, it can cause problems

kris

pgpYJ9lxjmgGW.pgp
Description: PGP signature


Re: TCL84 Build error Socket Tests Hang FreeBSD 6.1-Stable #6

2006-09-21 Thread backyard


--- Kris Kennaway <[EMAIL PROTECTED]> wrote:

> On Thu, Sep 21, 2006 at 06:11:52PM -0700, backyard
> wrote:
> > Hello,
> > 
> > I'm having trouble building tcl84. These issues
> did
> > not seem to exist until I updated the ports tree
> and
> > world the other day
> > 
> > Heres the basic stuff:
> > 
> > FreeBSD 6.1-STABLE #6 Sun Sept 17 22:03:38 
> > is what uname -a spits out ports were updated
> right
> > before the system source update. 
> > 
> > make.conf has
> > 
> 
> > CXXFLAGS+=-O3 -fno-strict-aliasing
> 
> Don't do that, it can cause problems

can you be a little more specific? I was just using 
CXXFLAGS+=-O3 
before I thought the aliasing issues because of type
casting could cause issues and so -fno-strict-aliasing
was what you had to do to make optimization above
level 1 work rigt. At least thats what reading about
-fno-strict-aliasing seemed to get at with FreeBSD
specifically. 

should it be
CXXFLAGS+=
dafaulting to O2 with no strict aliasing? given my 
CFLAGS=-pipe -O2 -fno-strict-aliasing

> 
> > MAKEOPTS="-j5"
> 
> Don't do that, it can cause problems

I know doing 
make -j5 buildworld or buildkernel or just about
anything else would/used to puke things. But I haven't
seen any issues with MAKEOPTS doing that. Perhaps
until now? I know specifically make -j5 on the shell
would cause the build to skip the build and fail on
the install or skip the build of the objects and fail
on linking the uncompiled library.


> 
> kris

dazed confused and ignorant...


-brian

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


next episode, continuing saga

2006-09-21 Thread jekillen

Hello again;
With FreeBSD and in general, If the monitor is turned off
is it safe to disconnect it from the machine while the machine
is running?
AMD64 socket 754 with separate PCI video card on ECS
motherboard; no Xwindows installed. if it makes a difference.

want to run the machine headless without shutting it down to
switch the monitor to another machine.

Thanks to the gracious responses on previous queries
I don't have to buy another KVM switch.
Jeff K

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


Re: TCL84 Build error Socket Tests Hang FreeBSD 6.1-Stable #6

2006-09-21 Thread Kris Kennaway
On Thu, Sep 21, 2006 at 06:29:52PM -0700, backyard wrote:
> 
> 
> --- Kris Kennaway <[EMAIL PROTECTED]> wrote:
> 
> > On Thu, Sep 21, 2006 at 06:11:52PM -0700, backyard
> > wrote:
> > > Hello,
> > > 
> > > I'm having trouble building tcl84. These issues
> > did
> > > not seem to exist until I updated the ports tree
> > and
> > > world the other day
> > > 
> > > Heres the basic stuff:
> > > 
> > > FreeBSD 6.1-STABLE #6 Sun Sept 17 22:03:38 
> > > is what uname -a spits out ports were updated
> > right
> > > before the system source update. 
> > > 
> > > make.conf has
> > > 
> > 
> > > CXXFLAGS+=-O3 -fno-strict-aliasing
> > 
> > Don't do that, it can cause problems
> 
> can you be a little more specific? I was just using 
> CXXFLAGS+=-O3 
> before I thought the aliasing issues because of type
> casting could cause issues and so -fno-strict-aliasing
> was what you had to do to make optimization above
> level 1 work rigt. At least thats what reading about
> -fno-strict-aliasing seemed to get at with FreeBSD
> specifically. 
> 
> should it be
> CXXFLAGS+=
> dafaulting to O2 with no strict aliasing? given my 
> CFLAGS=-pipe -O2 -fno-strict-aliasing

Just use the defaults (which is currently the same as your CFLAGS).

> > > MAKEOPTS="-j5"
> > 
> > Don't do that, it can cause problems
> 
> I know doing 
> make -j5 buildworld or buildkernel or just about
> anything else would/used to puke things. But I haven't
> seen any issues with MAKEOPTS doing that. Perhaps
> until now? I know specifically make -j5 on the shell
> would cause the build to skip the build and fail on
> the install or skip the build of the objects and fail
> on linking the uncompiled library.

The base system is fine, but many ports of third party software fail
to build (or the build misbehaves) with make -j.

Kris


pgpZjkWgO0Qov.pgp
Description: PGP signature


Re: TCL84 Build error Socket Tests Hang FreeBSD 6.1-Stable #6

2006-09-21 Thread backyard


--- Kris Kennaway <[EMAIL PROTECTED]> wrote:

> On Thu, Sep 21, 2006 at 06:29:52PM -0700, backyard
> wrote:
> > 
> > 
> > --- Kris Kennaway <[EMAIL PROTECTED]> wrote:
> > 
> > > On Thu, Sep 21, 2006 at 06:11:52PM -0700,
> backyard
> > > wrote:
> > > > Hello,
> > > > 
> > > > I'm having trouble building tcl84. These
> issues
> > > did
> > > > not seem to exist until I updated the ports
> tree
> > > and
> > > > world the other day
> > > > 
> > > > Heres the basic stuff:
> > > > 
> > > > FreeBSD 6.1-STABLE #6 Sun Sept 17 22:03:38 
> > > > is what uname -a spits out ports were updated
> > > right
> > > > before the system source update. 
> > > > 
> > > > make.conf has
> > > > 
> > > 
> > > > CXXFLAGS+=-O3 -fno-strict-aliasing
> > > 
> > > Don't do that, it can cause problems
> > 
> > can you be a little more specific? I was just
> using 
> > CXXFLAGS+=-O3 
> > before I thought the aliasing issues because of
> type
> > casting could cause issues and so
> -fno-strict-aliasing
> > was what you had to do to make optimization above
> > level 1 work rigt. At least thats what reading
> about
> > -fno-strict-aliasing seemed to get at with FreeBSD
> > specifically. 
> > 
> > should it be
> > CXXFLAGS+=
> > dafaulting to O2 with no strict aliasing? given my
> 
> > CFLAGS=-pipe -O2 -fno-strict-aliasing
> 
> Just use the defaults (which is currently the same
> as your CFLAGS).
> 
> > > > MAKEOPTS="-j5"
> > > 
> > > Don't do that, it can cause problems
> > 
> > I know doing 
> > make -j5 buildworld or buildkernel or just about
> > anything else would/used to puke things. But I
> haven't
> > seen any issues with MAKEOPTS doing that. Perhaps
> > until now? I know specifically make -j5 on the
> shell
> > would cause the build to skip the build and fail
> on
> > the install or skip the build of the objects and
> fail
> > on linking the uncompiled library.
> 
> The base system is fine, but many ports of third
> party software fail
> to build (or the build misbehaves) with make -j.
> 
> Kris
> 

well I'll see if I have any better luck with the more
conservative CXXFLAGS and the removal of -j5 from
MAKEOPTS. 

I have a conditional build directive for the system
build so I can update ports and sys separately as
having SUPFILE and PORTSUPFILE set seems to update
both whether I'm in /usr/ports or /usr/sys with a
"make update". If -j5 is safe for the FreeBSD build
I'll cut Makeopts into that knob, I hope thats the
right way to use that term...

thanks

-brian

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


Zabbix Port

2006-09-21 Thread David Schulz

Hello,

The /usr/ports/net-mgmt/zabbix Port consists out of two components,  
Server and Agent. I would like to install the Agent only, so it  
shouldnt need all these large dependencies such as mysql etc, but i  
cant figure out how to do that. I skimmed trough the Makefile, 	and  
it mentions things about ZABBIX_AGENT_ONLY , but i can figure out how  
to turn that knob. Can anyone tell me please?


Thanks a lot,
David

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


Re: next episode, continuing saga

2006-09-21 Thread Bill Moran
jekillen <[EMAIL PROTECTED]> wrote:

> Hello again;
> With FreeBSD and in general, If the monitor is turned off
> is it safe to disconnect it from the machine while the machine
> is running?
> AMD64 socket 754 with separate PCI video card on ECS
> motherboard; no Xwindows installed. if it makes a difference.
> 
> want to run the machine headless without shutting it down to
> switch the monitor to another machine.

Yes.  It's safe to do that with any OS I'm familiar with.

-- 
Bill Moran

Someting happened or something.

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


Re: Zabbix Port

2006-09-21 Thread Norberto Meijome
On Fri, 22 Sep 2006 09:56:58 +0800
David Schulz <[EMAIL PROTECTED]> wrote:

> The /usr/ports/net-mgmt/zabbix Port consists out of two components,  
> Server and Agent. I would like to install the Agent only, so it  
> shouldnt need all these large dependencies such as mysql etc, but i  
> cant figure out how to do that. I skimmed trough the Makefile,and  
> it mentions things about ZABBIX_AGENT_ONLY , but i can figure out how  
> to turn that knob. Can anyone tell me please?

Hi David,
you need to define the value you see in the makefile when building the port.
so,

cd /usr/ports/net-mgmt/zabbix
sudo make -DZABBIX_AGENT_ONLY install

and you should be set. You can check the output of the build and figure out if
something is not going to plans...

B

_
{Beto|Norberto|Numard} Meijome

"Everything is interesting if you go into it deeply enough"
  Richard Feynman

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Partitions???

2006-09-21 Thread xnow xsnow
"Now, some people sometimes leave a chunk of disk that is not allocated
in any of the primary slices with the thought of adding another bootable
OS at some later time.   But that is a different story.   And even then,
if what you are doing unexpectedly uses up your space, you would just
create another FreeBSD slice in that held out space and put a nice
large single partition in and move some things there and make a link.
It is so much easier than resizing and risking losing stuff as in
other unnamed systems."
   
  Yea, more like that...I have many machines in my work, they have linux 
reiserfs partitions, ext3...some FAT32, ntfs, and they are in full disk, and i 
want to install fbsd there without any lose of any data.
   
  When you said "you should create another fbsd slice(...) then make a link" 
but these machines have no fbsd partition and never had, nor any other 
partition besides the only one used by this other system, like a 60GB disk with 
full with only only partition, like fat32.
   
  I think growfs wouldn't help then.
   
  
   
  I understood that 'boot0cfg -B ad0' would try to detect all of it automatic, 
and yes in my situation it is ad0.
   
  But since we have many different systems here, I am afraid some of them don't 
get detected, is there any possibility?like windows xp, windows 98, solaris, 
linux, I don't even know all of them, and if so, any of them don't get detected 
automatic after boot0cfg -B ad0 i would not have any idea of what to do.
   
  On linux we have /etc/lilo.conf which i have manually full acess and makes me 
be able to add anything, on fbsd i don't know...
   
  But if you tell me it is able to detect anything automatic, I'd leave this 
fear away and have fun tomorrow.
   
  Thanks for your reply.


-
 Yahoo! Search
 Música para ver e ouvir: You're Beautiful, do James Blunt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Zabbix Port

2006-09-21 Thread Charles Trevor

Norberto Meijome wrote:

On Fri, 22 Sep 2006 09:56:58 +0800
David Schulz <[EMAIL PROTECTED]> wrote:

The /usr/ports/net-mgmt/zabbix Port consists out of two components,  
Server and Agent. I would like to install the Agent only, so it  
shouldnt need all these large dependencies such as mysql etc, but i  
cant figure out how to do that. I skimmed trough the Makefile, 	and  
it mentions things about ZABBIX_AGENT_ONLY , but i can figure out how  
to turn that knob. Can anyone tell me please?


Hi David,
you need to define the value you see in the makefile when building the port.
so,

cd /usr/ports/net-mgmt/zabbix
sudo make -DZABBIX_AGENT_ONLY install

and you should be set. You can check the output of the build and figure out if
something is not going to plans...

B




David,

Perhaps an easier alternative would be to use 
/usr/ports/net/zabbix-agent, which will gve you the client install only. 
  If done this way portupgrade et al shouldnt revert to building the 
full package, which they seem to if you use a make flag to build the 
client portion only.


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