Re: Sun revokes FreeBSD license for Java

2005-01-07 Thread David Gerard
Ted Mittelstaedt ([EMAIL PROTECTED]) [050107 17:37]:
 David Gerard
  Ted Mittelstaedt ([EMAIL PROTECTED]) [050106 06:29]:

 It's of course quite legal for end users to download the JDK directly
   from Sun and compile it on FreeBSD themselves and then use it.

  The main problem with this approach is that it requires a 
  ridiculous amount
  of jumping through hoops - first you have to install the Linux
  compatibility interface and libraries (20 megabyte download and a 
  reboot?),

 Are you sure your not talking about the BINARY distributions?  I
 was referring the the source here:
 http://www.sun.com/software/communitysource/j2se/java2/download.html
 Only the Java Cryptography Extension is unavailable as source.  More info
 is of course available on the FreeBSD Java mailing list.


I'm talking about installing from ports, which goes and compiles all three
things (Linux compatibility, Linux Java, FreeBSD Java), I thought.


- d.



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


Re: sendmail update

2005-01-07 Thread Giorgos Keramidas
On 2005-01-07 17:38, Olivier Nicole [EMAIL PROTECTED] wrote:

 I have a mail server running sendmail with a very customised
 configuration. So far I have compiled/installed my own copy of
 sendmail. If I update the system, it will re-install a standard
 sendmail.

 Now if I want the update procedure to regenerate my customised
 sendmail, where in FreeBSD sendmail hierarchy should I put my own
 cf/cf/sendmail.mc and devtools/Site/site.config.m4 ?

The /usr/share/sendmail/cf stuff is copied from that tree to their
destination by the Makefile in /usr/src/share/sendmail.

I would probably put the extra files in /usr/src/share/sendmail and
modify the Makefile of that directory accordingly.

- Giorgos

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


Problem when SSH-ing to FreeBSD 5.3 using PuTTY?

2005-01-07 Thread Olaf Greve
Hi all,
On two distinct machines (both running FreeBSD 5.3 release, one is the 
AMD-64 version, the other is the i386 version) I am experiencing 
problems when trying to SSH to the machine using PuTTY.

PuTTY shows the login prompt just fine, but when entering the proper 
username/password (yes, I am positive I typed it correctly -multiple 
times, in fact- :) ). Yet, for some reason this combination does not 
seem to get accepted.

Does anyone know the reason for this (note: I am not starting the SSH 
daemon from inetd)? Is there perhaps some (new) setting that changed 
between 5.2.1 and 5.3 that causes this, or am I doing something else 
terribly wrong? :)

Thanks in advance for any answers, and cheers!
Olafo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem when SSH-ing to FreeBSD 5.3 using PuTTY?

2005-01-07 Thread Hexren
OG Hi all,

OG On two distinct machines (both running FreeBSD 5.3 release, one is the 
OG AMD-64 version, the other is the i386 version) I am experiencing 
OG problems when trying to SSH to the machine using PuTTY.

OG PuTTY shows the login prompt just fine, but when entering the proper 
OG username/password (yes, I am positive I typed it correctly -multiple 
OG times, in fact- :) ). Yet, for some reason this combination does not 
OG seem to get accepted.

OG Does anyone know the reason for this (note: I am not starting the SSH 
OG daemon from inetd)? Is there perhaps some (new) setting that changed 
OG between 5.2.1 and 5.3 that causes this, or am I doing something else 
OG terribly wrong? :)

OG Thanks in advance for any answers, and cheers!
OG Olafo
OG ___
OG freebsd-questions@freebsd.org mailing list
OG http://lists.freebsd.org/mailman/listinfo/freebsd-questions
OG To unsubscribe, send any mail to [EMAIL PROTECTED]

-

Look in /etc/ssh/sshd_conf for the setting PasswordAuthentication I
think the default changed from yes to no.

HExren

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


Re: tcsh, colorful prompt

2005-01-07 Thread Thanos Tsouanas
On Fri, Jan 07, 2005 at 04:06:59AM +0100, Mario Hoerich wrote:
 # Thanos Tsouanas:
  I dont really care for the color of the prompt, but I would like
  to see what i type (input) with a specific color.
 [...]
  In short, i would like the color to end upon \n...
 
 I think you can do this with
 
 alias postcmd 'echo ESC[0m'
 
 For the ESC character, press ctrl-v and then esc
 (which inserts a ^[-character as literal). 

thanks!

tput sgr0 also does the trick :)

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


RE: Problem when SSH-ing to FreeBSD 5.3 using PuTTY?

2005-01-07 Thread Subhro


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of Olaf Greve
 Sent: Friday, January 07, 2005 16:53
 To: freebsd-questions@freebsd.org
 Subject: Problem when SSH-ing to FreeBSD 5.3 using PuTTY?
 
 Hi all,
 
 On two distinct machines (both running FreeBSD 5.3 release, one is the
 AMD-64 version, the other is the i386 version) I am experiencing
 problems when trying to SSH to the machine using PuTTY.
 
 PuTTY shows the login prompt just fine, but when entering the proper
 username/password (yes, I am positive I typed it correctly -multiple
 times, in fact- :) ). Yet, for some reason this combination does not
 seem to get accepted.
 
 Does anyone know the reason for this (note: I am not starting the SSH
 daemon from inetd)? Is there perhaps some (new) setting that changed
 between 5.2.1 and 5.3 that causes this, or am I doing something else
 terribly wrong? :)
 
 Thanks in advance for any answers, and cheers!
 Olafo
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-
 [EMAIL PROTECTED] 

Can we have the putty connect logs? Also is anything shown up in the
syslogs? Are you sure the host is not in the deny list? Last but not the
least, I would prefer a S/Key authentication more than a normal interactive
password based authentication. Have you tried that?

Regards
S.

Indian Institute of Information Technology
Subhro Sankha Kar
Block AQ-13/1, Sector V
Salt Lake City
PIN 700091
India


smime.p7s
Description: S/MIME cryptographic signature


apachectl oddness

2005-01-07 Thread Robin Becker
I'm running standard freeBSD 4.9 and am port upgrading apache2. I think the old 
version was 2.50_3 and the new is 2.52_4. In the latest build I have added 
WITH_THREADS=1 as I need this for mod_python.

I notice now that apachectl startssl has problems reading the pass phrase. I 
normally do this through the web using ssh/su and find that my putty terminal 
gets locked up when I enter the phrase at the prompt.

The apachectl startssl fails for the first pass phrase entry at the console, but 
the second seems to work. I had to kill the previously hung httpd process.

Experimenting shows that
echo pass phrase | apachectl startssl
works fine even through ssh. Am I stupid or doing something wrong?
--
Robin Becker
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


similar dmassage tool for freebsd?

2005-01-07 Thread Didier Wiroth
Hi,
For openbsd there is a tool called dmassage . From the original doc:
dmassage parses the dmesg of your OpenBSD system, and can do three things with 
that information:
a) make the kernel boot faster
b)  reduce kernel size
c)  show all devices in a tree-like hierarchy 

Does a similar tool exist for freebsd which can do point b) and c)

thx
didier



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


Re: sk0: discard oversize frame (ether type ....) [SOLVED]

2005-01-07 Thread mario . lobo
The upgrade to 5-CURRENT did it.

sk0 now works fine !

On 5 Jan 2005 at 11:14, Bjoern A. Zeeb bzeeb-lists wrote:

 Doing it right now!!
 
 Thanks,
 
 -- 
//|  //||
   // | // ||
 -//--//---|| ARIO LOBO
 //  //||
 -
 [EMAIL PROTECTED]
 http://www.ipad.com.br
 
 On 5 Jan 2005 at 12:58, Bjoern A. Zeeb wrote:
 
  please update to RELENG_5; it's fixed there already:)
  
  -- 
  Greetings
  Bjoern A. Zeeb  bzeeb at Zabbadoz dot NeT
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 

-- 
   //|  //||
  // | // ||
-//--//---|| ARIO LOBO
//  //||
-
[EMAIL PROTECTED]
http://www.ipad.com.br

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


netstat odd behavior

2005-01-07 Thread mario . lobo
Hello;

On all installations of FreeBSD I´ve ever done in the past,

netstat -an

displays LISTENing servers and any tcp connection in any state.

On the 5.3 I have installed here ( updated to RELENG_5_3 + build/installworld 
), this command only
shows only this;


Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address  Foreign Address(state)
udp4   0  0  *.514  *.*
Active UNIX domain sockets
Address  Type   Recv-Q Send-QInode Conn Refs  Nextref Addr
c38d01a4 stream  0  0 c3de8738000 
/db/mysql/mysql.sock
c38d1000 stream  0  0 c3883c60000 
/var/run/devd.pipe
c38d0ec4 dgram   0  0 c3883210000 /var/run/log


I have ssh, sendmail, ftpd and mysql daemons running, LISTENing and WORKING.

Would anybody know why they are not showing on the output of netstat?

Thanks,

--
   //|  //||
  // | // ||
-//--//---|| ARIO LOBO
//  //||
-
[EMAIL PROTECTED]
http://www.ipad.com.br

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


Sil 3114 RAID controller issues with FreeBSD 5.3 Release AMD-64

2005-01-07 Thread Olaf Greve
Hi,
A client of mine asked me to install their AMD-64 machine as a MySQL 
database server. Totally against my strong suggestion to use a proper 
SCSI hardware RAID 10 solution (or at least a hardware SATA RAID 
solution), they insist on using the internal Sil 3114 software RAID 
controller in RAID 1 mode.

Now, this 'cost reduction' from them backfires, as FreeBSD 5.3 Release 
AMD-64 does not properly recognise this controller. First, it locks up 
when booting with ACPI enabled (easily fixable by either disabling ACPI 
in the BIOS, or by booting without ACPI), then the bootstrap loader 
first seemingly does recognise the RAID 1 array (at least it states 
something to the effect of Drive C from BIOS..., but when the 
installation CD-ROM has booted, lo and behold! It does not see both 
drives as an array, but as separate drives!

I looked around a bit on the Internet, and seemingly this issue started 
to occur around mid june last year with FreeBSD 5.3 versions for these 
type of Silicon RAID controllers.

Now, of course I am still trying to get my client to do it properly and 
forget this el-cheapo RAID solution and simply buy a hardware RAID 
controller, but if I can't succeed in convincing them, I'd really like 
to enable the RAID array of this controller after all.

Does anyone know how this can be achieved? Is it possible to patch the 
device driver once FreeBSD is installed, and somehow get FreeBSD to 
build the RAID array?

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


Re: Remote upgrade possible?

2005-01-07 Thread Mike Jeays
On Thu, 2005-01-06 at 23:26, Tabor Kelly wrote:
 Laurence Sanford wrote:
  Joseph Koenig (jWeb) wrote:
 
 snip
 
  This is possible, however you are always taking a chance when you 
  installworld without going to single user mode first. That said, I make 
  a habit out of pushing my luck with systems I have in front of me by 
  going so far as to make installworld while using an xterm in X-windows. 
 
 I routinely use 'portupgrade -rRN' in xterm, in X-Windows to install new 
 ports on my box. The second to last time I did this, one of the ports 
 what was upgraded was xterm. And it worked! Can anybody explain to my 
 why nothing bad happened? Am I running a risk when I do this?

This seems pretty safe to me. When xterm gets invoked, the whole of the
code gets loaded into memory for execution, and there is no reason why
it would look at the disk copy again.  If you upgrade the xterm binary,
nothing will happen to xterms that are already running.  If you create
new ones, you will get the new version.  I am more surprised that there
are still any udpdates being made to xterm - it must have been
essentially stable for years now.


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


RE: Sun revokes FreeBSD license for Java

2005-01-07 Thread Mike Jeays

 Only the Java Cryptography Extension is unavailable as source.  More info
 is of course available on the FreeBSD Java mailing list.

So why would anyone trust it?

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


Re: netstat odd behavior

2005-01-07 Thread Simon Barner
[EMAIL PROTECTED] wrote:
 On all installations of FreeBSD I?ve ever done in the past,
 
 netstat -an
 
 displays LISTENing servers and any tcp connection in any state.
 
 On the 5.3 I have installed here ( updated to RELENG_5_3 + build/installworld 
 ), this command only
 shows only this;

[ no tcp servers ]

I had the same problem, updating to RELENG_5 fixed it for me.

Simon


pgpL82y1lbSKC.pgp
Description: PGP signature


Re: clearing space

2005-01-07 Thread Marty Landman
At 12:36 AM 1/7/2005, [EMAIL PROTECTED] wrote:
It does.  You might want to try something like:
du -x / | sort -rn | head -15
to figure out wheer your diskspace has gone.
Ok, I've cleared half the space by rm -r /root/.cpan.
Now I have
# df
Filesystem  1K-blocks   Used  Avail Capacity  Mounted on
/dev/ad0s1a128990  60094  5857851%/
/dev/ad0s1f257998  81790 15557034%/tmp
/dev/ad1s1e   2030062 926976 94068250%/usr
/dev/ad0s1e257998   2110 235250 1%/var
procfs  4  4  0   100%/proc
and
# du -x / | sort -rn | head -15
60093   /
15052   /root
13750   /root/nmap-3.50
12600   /sbin
6318/modules.old
6318/modules
4378/bin
2766/stand
1942/root/nmap-3.50/nsock
1908/root/nmap-3.50/nsock/src
1380/etc
1174/root/nmap-3.50/libpcre
1058/root/nmap-3.50/libpcap-possiblymodified
888 /root/nmap-3.50/nbase
764 /root/nmap-3.50/docs
Let's say I want to
mv /sbin /usr/sbin
mv /root /usr/root
How problematic can this become? I can anticipate at least having to revise 
perl scripts that reference the sendmail path, although

ln -s /usr/sbin/sendmail /sbin/sendmail
will avoid having to 'fix' source code, right?
Marty
Marty Landman, Face 2 Interface Inc. 845-679-9387
Search  Sort Easily: http://face2interface.com/Products/FormATable.shtml
Web Installed Formmail: http://face2interface.com/formINSTal
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: clearing space

2005-01-07 Thread Peter Risdon
On Fri, 2005-01-07 at 07:53 -0500, Marty Landman wrote:
 At 12:36 AM 1/7/2005, [EMAIL PROTECTED] wrote:
 
 It does.  You might want to try something like:
 
 du -x / | sort -rn | head -15
 
 to figure out wheer your diskspace has gone.
 
 Ok, I've cleared half the space by rm -r /root/.cpan.
 
 Now I have
 
 # df
 Filesystem  1K-blocks   Used  Avail Capacity  Mounted on
 /dev/ad0s1a128990  60094  5857851%/
 /dev/ad0s1f257998  81790 15557034%/tmp
 /dev/ad1s1e   2030062 926976 94068250%/usr
 /dev/ad0s1e257998   2110 235250 1%/var
 procfs  4  4  0   100%/proc
 
 
 and
 
 # du -x / | sort -rn | head -15
 60093   /
 15052   /root
 13750   /root/nmap-3.50
 12600   /sbin
 6318/modules.old
 6318/modules
 4378/bin
 2766/stand
 1942/root/nmap-3.50/nsock
 1908/root/nmap-3.50/nsock/src
 1380/etc
 1174/root/nmap-3.50/libpcre
 1058/root/nmap-3.50/libpcap-possiblymodified
 888 /root/nmap-3.50/nbase
 764 /root/nmap-3.50/docs
 
 
 Let's say I want to
 
 mv /sbin /usr/sbin
 mv /root /usr/root
 
 How problematic can this become? I can anticipate at least having to revise 
 perl scripts that reference the sendmail path, although
 
 ln -s /usr/sbin/sendmail /sbin/sendmail
 
 will avoid having to 'fix' source code, right?

How about:

#mv /sbin /usr/sbin
#ln -s /usr/sbin /sbin
#mv /root /usr/root
#ln -s /usr/root /root

Peter.

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


Bind 9.3.0 Server on Freebsd

2005-01-07 Thread Volker Lieder
Hello list,
i need to install a DNS-Server for more than 1000 Domains, official 
internet DNS-Server.
I tried out to install a bind 9.3.0, but after i start the server a few 
minutes later
it don't answers any dns-requests. Has someone an idea where i  find 
information to
tune my dns-server?

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


Re: Sil 3114 RAID controller issues with FreeBSD 5.3 Release AMD-64

2005-01-07 Thread Erik Trulsson
On Fri, Jan 07, 2005 at 01:16:35PM +0100, Olaf Greve wrote:
 Hi,
 
 A client of mine asked me to install their AMD-64 machine as a MySQL 
 database server. Totally against my strong suggestion to use a proper 
 SCSI hardware RAID 10 solution (or at least a hardware SATA RAID 
 solution), they insist on using the internal Sil 3114 software RAID 
 controller in RAID 1 mode.
 
 Now, this 'cost reduction' from them backfires, as FreeBSD 5.3 Release 
 AMD-64 does not properly recognise this controller. First, it locks up 
 when booting with ACPI enabled (easily fixable by either disabling ACPI 
 in the BIOS, or by booting without ACPI), then the bootstrap loader 
 first seemingly does recognise the RAID 1 array (at least it states 
 something to the effect of Drive C from BIOS..., but when the 
 installation CD-ROM has booted, lo and behold! It does not see both 
 drives as an array, but as separate drives!
 
 I looked around a bit on the Internet, and seemingly this issue started 
 to occur around mid june last year with FreeBSD 5.3 versions for these 
 type of Silicon RAID controllers.
 
 Now, of course I am still trying to get my client to do it properly and 
 forget this el-cheapo RAID solution and simply buy a hardware RAID 
 controller, but if I can't succeed in convincing them, I'd really like 
 to enable the RAID array of this controller after all.
 
 Does anyone know how this can be achieved? Is it possible to patch the 
 device driver once FreeBSD is installed, and somehow get FreeBSD to 
 build the RAID array?

I don't think FreeBSD supports the SiI 3114 as a RAID controller, but
only as a normal controller.  All the RAID stuff for that controller is
done in software anyway, but FreeBSD needs to know what format the BIOS
uses for a RAID setup, and it doesn't.

I guess you could set up a pure software RAID-1 solution using vinum,
but not having done that myself I can't say for sure. See
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/vinum-vinum.html
for information on how to use and setup vinum.



-- 
Insert your favourite quote here.
Erik Trulsson
[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: burning 5.3-RELEASE CDs

2005-01-07 Thread Joshua Lokken
On Fri, 7 Jan 2005 02:31:37 -0600 (CST), Scott Bennett
[EMAIL PROTECTED] wrote:
 On Thu Jan  6 09:58:55 2005 Jerry McAllister [EMAIL PROTECTED]
 wrote:
 
   On Wed, 05 Jan 2005 18:55:10 -0700 Danny MacMillan
  [EMAIL PROTECTED] wrote:
 
  On Wed, Jan 05, 2005 at 06:35:43PM -0600, Scott Bennett wrote:
On Wed, 05 Jan 2005 12:37:41 -0700 Danny MacMillan
   [EMAIL PROTECTED] wrote:
  
   This is not intuitive, but you do not want to use the make a
   bootable CD function of Sonic RecordNow! to make a bootable CD.
  
On what basis is the above statement made if you haven't used
   Sonic RecordNow! ?  It certainly looks to me as though the green
   button is the *only* way to burn an image (not counting making an
   exact copy of
  
  On the basis of your characterizing the little green button as being
  for making a bootable CD, and my understanding of that function in
  alternative software.  In short:  I misunderstood.  I apologize for
  the misdirection.
  
   Oh.  That was because, if one places the cursor over the green
  button, a box appears temporarily bearing a line that says, Click
  here to make this CD/DVD bootable.  And, as noted in a different
  posting in this thread, that button brings up a browser panel for
  choosing an image file (but not displaying .iso files among the
  choices) to burn in making the bootable disk.
 
 Just an additional note for clarity:   If I understand - and I don't
 have the rest of the thread so I may be missing something - you want
 to make a bootable CD of one of the ISO images.
 
 In that case, you do NOT want to use any of the options on your local
 machine to create a bootable CD because the ISO image is already a
 bootable image.   It needs merely to be written raw to the media.
 
 When your utility asks if you want to create a bootable CD, it is
 asking if you want it to add a boot record for it and the other pointers
 to the file to make it bootable.   Since the FreeeBSD ISO already has
 that stuff in it, you don't want it done again.  So, choose the options
 that just write the data image directly to the CD with no additions.
 
 No, no.  This is wrong.  You missed the explanation I posted regarding
 Sonic RecordNow!, as well as an earlier one by Robin Becker.  The green
 button is the only way to tell the application that the file(s) it is to
 burn is/are image file(s), and it doesn't know that .iso files are a type
 of image file, so it doesn't list them in its browser unless you tell it
 to display *all* files in the chosen directory.

Obviously, this Sonic RecordNow? software isn't working well for you.
Have you considered any of the alternatives that burn isos without
problems; Nero, Alcohol, Fireburner ?

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


Re: Howto check the hard disk bad sectors in FreeBSD?

2005-01-07 Thread Curtis Almond
You can do a simple dd command to read the entire disk. If bad sectors
are found during the dd you should see ATA error messages spewing to
the console and written in /var/log/messages.


On Wed, 5 Jan 2005 13:13:18 +0800, Unreal HSHH [EMAIL PROTECTED] wrote:
 Hi,
 
 I have one harddisk installed in FreeBSD.
 And I want to check if any bad sectors on it.
 How can I do ? It seems the fsck can't do this.
 ___
 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: clearing space

2005-01-07 Thread Joshua Lokken
On Fri, 07 Jan 2005 13:05:42 +, Peter Risdon
[EMAIL PROTECTED] wrote:
 On Fri, 2005-01-07 at 07:53 -0500, Marty Landman wrote:
  Let's say I want to
 
  mv /sbin /usr/sbin
  mv /root /usr/root
 
  How problematic can this become? I can anticipate at least having to revise
  perl scripts that reference the sendmail path, although
 
  ln -s /usr/sbin/sendmail /sbin/sendmail
 
  will avoid having to 'fix' source code, right?
 
 How about:
 
 #mv /sbin /usr/sbin
 #ln -s /usr/sbin /sbin
 #mv /root /usr/root
 #ln -s /usr/root /root

Or just stop logging in as root, setup a user account for 
admin tasks, and learn to use sudo ;) 


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


Re: failover for http

2005-01-07 Thread M
On Jan 7, 2005, at 5:17 AM, RYAN vAN GINNEKEN wrote:
Does anyone know of a good package or howto that covers the failover 
topic??  I have found lots of stuff on google but hard to know if 
these progs do what i need.   There has to be something in the ports 
that archive this spread with wackmole maybe seems very complex and 
not even sure it will suit my needs???

I have 2 server in different locations with different ip's is it 
possible to have these servers back each other up?  I have read ip on 
the cheap from the Unix hacks book but it does not seem to cover the 
different location and ip issue.
Please a point in the right direction would be great.

The best solutions for this are based on your switching hardware which 
will integrate with your DNS. Foundry has a feature of some products 
called GSLB (Global Server Load Balancing?), but that's not going to 
happen on the cheap. There are several patent issues to deal with in 
creating something to do that which may be why no one has built similar 
features in to PF or IPF

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


Re: clearing space

2005-01-07 Thread Marty Landman
At 08:55 AM 1/7/2005, Joshua Lokken wrote:
On Fri, 07 Jan 2005 13:05:42 +, Peter Risdon
 How about:

 #mv /sbin /usr/sbin
 #ln -s /usr/sbin /sbin
 #mv /root /usr/root
 #ln -s /usr/root /root
I've run into a little bit of trouble here. I ssh into my fbsd box as user 
marty in group wheel, then su - as needed.

As you'll see below, I wasn't able to set up the link for /root and now 
can't su to root either.


# mv /sbin /usr/sbin
# ln -s /usr/sbin /sbin
# mv /root /usr/root
# ls -s /usr/root /root
ls: /root: No such file or directory
/usr/root:
total 1294
   2 .cpan 2 .profile 14 mbox
   2 .cshrc2 .rnd  2 msg.txt
   2 .fetchmailrc  2 .ssh  0 msg.txt~
   4 .history  2 exec  4 nmap-3.50
   2 .klogin   2 ipfw.ac.list   1248 nmap-3.50.tar.bz2
   2 .login2 kernels
# ls -l /
total 10857
-rw-r--r--   1 root  wheel  802 Apr  3  2003 .cshrc
-rw-r--r--   1 root  wheel  251 Apr  3  2003 .profile
-r--r--r--   1 root  wheel 4735 Apr  3  2003 COPYRIGHT
drwxr-xr-x   2 root  wheel 1024 Feb  9  2004 bin
drwxr-xr-x   3 root  wheel  512 Feb  9  2004 boot
drwxr-xr-x   2 root  wheel  512 Feb  9  2004 cdrom
lrwxr-xr-x   1 root  wheel   10 Feb  9  2004 compat - usr/compat
drwxr-xr-x   3 root  wheel17920 Feb 16  2004 dev
drwxr-xr-x   2 root  wheel  512 Feb  9  2004 dist
drwxr-xr-x  16 root  wheel 2048 Jun 16  2004 etc
lrwxrwxrwx   1 root  wheel9 Feb  9  2004 home - /usr/home
-r-xr-xr-x   1 root  wheel  2736474 Feb 18  2004 kernel
-r-xr-xr-x   1 root  wheel  4122347 Apr  3  2003 kernel.GENERIC
-r-xr-xr-x   1 root  wheel  4122347 Apr  3  2003 kernel.old
drwxr-xr-x   3 root  wheel  512 Feb  9  2004 mnt
drwxr-xr-x   2 root  wheel 4096 Feb 18  2004 modules
drwxr-xr-x   2 root  wheel 4096 Feb 18  2004 modules.old
dr-xr-xr-x   1 root  wheel  512 Jan  7 09:13 proc
lrwxr-xr-x   1 root  wheel9 Jan  7 09:11 sbin - /usr/sbin
drwxr-xr-x   5 root  wheel 1024 Feb  9  2004 stand
lrwxr-xr-x   1 root  wheel   12 Feb 18  2004 sys - /usr/src/sys
drwxrwxrwt   9 root  wheel 1024 Jan  7 03:05 tmp
drwxr-xr-x  19 root  wheel  512 Jan  7 09:12 usr
drwxr-xr-x  21 root  wheel  512 Mar  1  2004 var
# exit
logout
%su -
Password:
su: no directory
%id
uid=1000(marty) gid=0(wheel) groups=0(wheel), 31(guest)
%ls -l /usr
total 52
--   1 root  wheel   111 Dec 31  1969 @LongLink
drwxr-xr-x   3 root  wheel   512 Feb 16  2004 X11R6
drwxr-xr-x   2 root  wheel  7168 Feb 18  2004 bin
drwxr-xr-x   3 root  wheel   512 Feb  9  2004 compat
drwxr-xr-x   3 root  wheel   512 Feb  9  2004 games
drwxr-xr-x   9 root  wheel   512 Jun 16  2004 guide
drwxr-xr-x   6 root  wheel   512 Feb  9  2004 home
drwxr-xr-x  41 root  wheel  4096 Feb  9  2004 include
drwxr-xr-x   4 root  wheel  6144 Apr  3  2003 lib
drwxr-xr-x   9 root  wheel   512 Apr  3  2003 libdata
drwxr-xr-x   8 root  wheel  1536 Feb  9  2004 libexec
drwxr-xr-x  16 root  wheel   512 Feb 29  2004 local
drwxr-xr-x   2 root  wheel   512 Feb  9  2004 obj
drwxr-xr-x  60 root  wheel  1536 Feb 16  2004 ports
drwxr-xr-x   7 root  wheel   512 Jan  7 07:42 root
drwxr-xr-x   3 root  wheel  4608 Jan  7 09:11 sbin
drwxr-xr-x  27 root  wheel   512 Apr  3  2003 share
drwxr-xr-x   7 root  wheel   512 Feb 18  2004 src
%ln -s /usr/root /root
ln: /root: Permission denied
%su -
Password:
su: no directory
%

Or just stop logging in as root, setup a user account for admin tasks, and 
learn to use sudo ;)
That's next on the list, once I get use of root back so I can install the 
sudo port (this was a mini-iso install).

Thanks, this started as (I'd thought) very minor and is becoming 
consciousness expanding. Great end of the week project.

Marty
Marty Landman, Face 2 Interface Inc. 845-679-9387
Search  Sort Easily: http://face2interface.com/Products/FormATable.shtml
Web Installed Formmail: http://face2interface.com/formINSTal
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: clearing space

2005-01-07 Thread Peter Risdon
On Fri, 2005-01-07 at 09:24 -0500, Marty Landman wrote:
 At 08:55 AM 1/7/2005, Joshua Lokken wrote:
 On Fri, 07 Jan 2005 13:05:42 +, Peter Risdon
 
   How about:
  
   #mv /sbin /usr/sbin
   #ln -s /usr/sbin /sbin
   #mv /root /usr/root
   #ln -s /usr/root /root
 
 I've run into a little bit of trouble here. I ssh into my fbsd box as user 
 marty in group wheel, then su - as needed.
 
 As you'll see below, I wasn't able to set up the link for /root and now 
 can't su to root either.
 
 
 
 # mv /sbin /usr/sbin
 # ln -s /usr/sbin /sbin
 # mv /root /usr/root
 # ls -s /usr/root /root

Typo here: ls instead of ln - that's why there's no link.

Do you have physical access to the machine?

Peter.


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


Re: Problem when SSH-ing to FreeBSD 5.3 using PuTTY?

2005-01-07 Thread Jon Krause
From: Olafo

: Hi all,
:
: On two distinct machines (both running FreeBSD 5.3 release, one is the
: AMD-64 version, the other is the i386 version) I am experiencing
: problems when trying to SSH to the machine using PuTTY.
:
: PuTTY shows the login prompt just fine, but when entering the proper
: username/password (yes, I am positive I typed it correctly -multiple
: times, in fact- :) ). Yet, for some reason this combination does not
: seem to get accepted.
:
: Does anyone know the reason for this (note: I am not starting the SSH
: daemon from inetd)? Is there perhaps some (new) setting that changed
: between 5.2.1 and 5.3 that causes this, or am I doing something else
: terribly wrong? :)
:
: Thanks in advance for any answers, and cheers!
: Olafo
:
##

Olafo,
You did not state the version of Putty you are using.
Try the latest version, (release 0.56) I beleive.
There was a problem in earlier versions of Putty with keyboard-interactive
method of authentication.

Best, Jon


___
: 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: clearing space

2005-01-07 Thread Tabor Kelly
Peter Risdon wrote:
How about:
#mv /sbin /usr/sbin
#ln -s /usr/sbin /sbin
#mv /root /usr/root
#ln -s /usr/root /root
Isn't this a bad idea if you ever have to boot to single user mode and 
only have / mounted?

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


Re: clearing space

2005-01-07 Thread Marty Landman
At 09:30 AM 1/7/2005, Peter Risdon wrote:

 # mv /sbin /usr/sbin
 # ln -s /usr/sbin /sbin
 # mv /root /usr/root
 # ls -s /usr/root /root
Typo here: ls instead of ln - that's why there's no link.
Oh man, could I be any stupider?
Do you have physical access to the machine?
Yep, haven't used the console in many months. Wonder what my Chucky screen 
saver looks like nowadays.

How do I get back on with root permissions from the console so I create the 
needed link?

Marty
Marty Landman, Face 2 Interface Inc. 845-679-9387
Search  Sort Easily: http://face2interface.com/Products/FormATable.shtml
Web Installed Formmail: http://face2interface.com/formINSTal
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


network slows 1000x

2005-01-07 Thread Blake Freeburg
Hello,

  I have a Duron based FreeBSD box (4.10-current) that I am using as a nat box. 
Kernel is recompiled with options. 

  When a lot of traffic flows across the interface from internal to external 
networks, I find that the natd appears to get congested, making ping times to 
the next hop (still on my network) go from .1 ms to 1000s of ms. 

  Rebooting fixes it

  Nothing is reported in dmesg (I upgraded from 4.6 where I saw this problem) 
then there would be this message about queue lengths...

  The relavent devices are...
  xl0: 3Com 3c905-TX Fast Etherlink XL port 0xc800-0xc83f irq 5 at device 
11.0 on pci0
  vr0: VIA VT6102 Rhine II 10/100BaseTX port 0xe400-0xe4ff mem 
0xe0117000-0xe01170ff irq 11 at device 18.0 on pci0

  This happens once a day there abouts (depends on what's been moved between 
internal and external networks. 

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


Re: network slows 1000x

2005-01-07 Thread albi
Blake Freeburg wrote:
  When a lot of traffic flows across the interface from internal to external networks, I find that the natd appears to get congested, making ping times to the next hop (still on my network) go from .1 ms to 1000s of ms. 

  Rebooting fixes it
--- cut -
  This happens once a day there abouts (depends on what's been moved between internal and external networks. 
i've seen a box with 2 NICs where 1 NIC needed a reboot every 2 or 3 
days (replaced it when the problem was clear), i think the logfiles
(on M0n0wall) mentioned corrupted memory on the NIC, so perhaps it's due
to failure of one of your networkcards ?

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


Re: Problem when SSH-ing to FreeBSD 5.3 using PuTTY?

2005-01-07 Thread Olaf Greve
Hi Jon,
You did not state the version of Putty you are using.
Hmmm, good one. I just checked and it is version 0.50.
Try the latest version, (release 0.56) I beleive.
There was a problem in earlier versions of Putty with keyboard-interactive
method of authentication.
I'll give that a shot. It's quite interesting that it would work with
fbsd 5.2.1 (and earlier) and not with fbsd 5.3, but it might indeed be
the culprit.
Either way: after the weekend I shall let you guys know what the culprit
was. :)
Cheerz and 'ave a good weekend!
Olafo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sil 3114 RAID controller issues with FreeBSD 5.3 Release AMD-64

2005-01-07 Thread Olaf Greve
Hi Erik,
Thanks for your answer!
I don't think FreeBSD supports the SiI 3114 as a RAID controller, but
only as a normal controller.  All the RAID stuff for that controller is
done in software anyway, but FreeBSD needs to know what format the BIOS
uses for a RAID setup, and it doesn't.
Indeed that is what I also fear, hence my reluctance at having to spend
much time trying to figure out a way to enable this controller for RAID
purposes, whereas it is an -IMO- bad choice anyway to use this for their
RAID strategy. :(((
I guess you could set up a pure software RAID-1 solution using vinum,
but not having done that myself I can't say for sure. See
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/vinum-vinum.html
for information on how to use and setup vinum.
Yes, that would probably be another option. Again it would have the same
downside though: I've never done this before, so I'll have to spend time
getting that going. In this case, time IS money, so that's why I'm
trying to convince my client to better spend that money (and my time) on
simply buying a supported hardware RAID controller, which really is a
win-win situation for both my client and myself. However, somehow I've
not yet been able to drive that argument home, so who knows...:/
Oh well, enough of this rant - surely someday they'll see the light.
Until then, I'll just continue to scream in the desert. ;)
Cheerz!
Olafo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


possible issue with pam

2005-01-07 Thread KC Somaratne
On Tue, Dec 02, 2003 at 11:17:41PM -0500, Barry Hawkins wrote:
 List,
  Hello.  I have recently begun to encounter an issue with changing 
 passwords on my 5.1 installation.  I haven't touched anything on it for 
 a few months, and the last change-related activity I had were some 
 portupgrade tasks to rid myself of the libintl.so.4 issue solved with 
 portupgrade -R gettext back around September 2003.  I am wondering if 
 anyone has experienced an issue similar to mine.
  When I attempt to use passwd to change my password, I get the 
 following upon successfully re-typing the password:
 
 passwd: entry inconsistent
 passwd: pam_chauthtok(): error in service module
 
  If anyone has insight on this I would be grateful.  A search of the 
 list for pam_chauthtok only revealed one person asking a similar 
 question related to yppasswd.

 Compare your /etc/pam.d configuration against the sources in
 /usr/src/etc/pam.d to make sure you have not damaged your pam
 configuration by mis-merging changes.  Also make sure you have no
 /etc/pam.conf file, which was removed a long time ago.
 
 Kris

Hi Kris,

I've had a similar issue with a FreeBSD 5.2.1-RELEASE box for an
account belonging to the 'wheel' group. I last changed the password
for this account successfully roughly two months ago and since then I
haven't changed anything at all.

Now when I try to change the password for this account using root it
prompts me with the below error message.

  root:/etc#passwd user_name
  Changing local password for user_name
  New Password:
  Retype New Password:
  passwd: entry inconsistent
  passwd: pam_chauthtok(): error in service module

I get the same error message when trying to change the password using
the same account as well.

I have carefully verified that I did indeed enter the same string for
the password verification. I have done the checks you have recommended
in the above mail.

The only differences are the /etc/pam.d has an additional file 'ftp'.
The /usr/src/etc/pam.d contain two additional files Makefile 
convert.pl.

Appreciate any suggestions on what might be causing this behaviour and
how I might be able to resolve the problem. Also, is this at all any
sign of my system being compromised?

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


Re: clearing space

2005-01-07 Thread Peter Risdon
On Fri, 2005-01-07 at 06:39 -0800, Tabor Kelly wrote:
 Peter Risdon wrote:
  How about:
  
  #mv /sbin /usr/sbin
  #ln -s /usr/sbin /sbin
  #mv /root /usr/root
  #ln -s /usr/root /root
 
 Isn't this a bad idea if you ever have to boot to single user mode and 
 only have / mounted?
 

I have a system I need to hose this weekend anyway, so checked first. I
moved the /root directory to /usr/root, then exited from su - and su
still worked. Then I rebooted into single user mode and got a shell. So
it seemed fine, if mildly inadvisable.

Therefore, as far as I can see and I did check, you can boot into single
user mode without a /root directory.

Peter.

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


Re: clearing space

2005-01-07 Thread Peter Risdon
On Fri, 2005-01-07 at 09:48 -0500, Marty Landman wrote:
 At 09:30 AM 1/7/2005, Peter Risdon wrote:
  
   # mv /sbin /usr/sbin
   # ln -s /usr/sbin /sbin
   # mv /root /usr/root
   # ls -s /usr/root /root
 
 Typo here: ls instead of ln - that's why there's no link.
 
 Oh man, could I be any stupider?
 
 Do you have physical access to the machine?
 
 Yep, haven't used the console in many months. Wonder what my Chucky screen 
 saver looks like nowadays.
 
 How do I get back on with root permissions from the console so I create the 
 needed link?


Boot into single user mode. As I say in another post in this thread, I
did check this before giving you the advice.

Pre 5.x you hit any key, then type:

boot -s

at the boot prompt. In 5.x you get a menu.

Peter.

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


[no subject]

2005-01-07 Thread nova
Hello freebsd-questions,

  Hello, I would like to know there is in FreeBSD a support of such
  file systems as RiserFS or XFS, this file systems supporting of
  Gentoo. Thank for attention !

-- 
Best regards,
 nova  mailto:[EMAIL PROTECTED]

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


openoffice on 5.3-RELEASE

2005-01-07 Thread Duane Winner
Hello,
Has anybody been able to get OpenOffice installed from port on 5.3-RELEASE ?
I am running 5.3-RELEASE-p2 (Xorg and JDK1.4.2p7 also installed)
Yesterday, I attempted:
# portinstall openoffice
and chose editors/openoffice-1.1
14 hours later...
the output looked like it built cleanly, but during the install phase it 
bombed with:

./install.sh not found
error code 127
Sigh..it's always OpenOffice that gives me headaches.
I tried to just do a pkg_add -rv openoffice and that got me 
openoffice-1.1.2, which I guess I could live with until it gets fixed, 
but then I discovered during 'openoffice-1.1.2-setup' that characters 
were overlapping in all of the dialogs and menus. I don't know if that 
was a problem with my display or the character set/language, but I just 
ripped out the package in frustration.

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


Re: clearing space

2005-01-07 Thread Tabor Kelly
Peter Risdon wrote:
snip
#mv /sbin /usr/sbin
#ln -s /usr/sbin /sbin
 

I have a system I need to hose this weekend anyway, so checked first. I
moved the /root directory to /usr/root, then exited from su - and su
still worked. Then I rebooted into single user mode and got a shell. So
it seemed fine, if mildly inadvisable.
Therefore, as far as I can see and I did check, you can boot into single
user mode without a /root directory.
Peter.
I was in reference to the /sbin moving to /usr/sbin.
--
Tabor Kelly
[EMAIL PROTECTED]
http://tabor.taborandtashell.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: openoffice on 5.3-RELEASE

2005-01-07 Thread albi
Duane Winner wrote:
Sigh..it's always OpenOffice that gives me headaches.
I tried to just do a pkg_add -rv openoffice and that got me 
openoffice-1.1.2, which I guess I could live with until it gets fixed, 
but then I discovered during 'openoffice-1.1.2-setup' that characters 
were overlapping in all of the dialogs and menus. I don't know if that 
was a problem with my display or the character set/language, but I just 
ripped out the package in frustration.
there's more info here : http://porting.openoffice.org/freebsd/
build-instructions, known problems and alternative downloads
one other thing to try is running OOo through linux-emulation
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: source control question

2005-01-07 Thread
Robert William Vesterman wrote:
Does anyone know of a source control system that is not so 
directory-centric? Most of the ones I've seen seem to have a base 
assumption that, more or less, directory == project.
But in reality, a directory could be a project, or part of a project, 
or part of many projects, or merely structural (i.e. merely to 
organize subdirectories, any of which may or may not be used in any 
number of projects, each project of which is not necessarily 
completely contained in the structural parent directory).  And a 
project may span many directories, each of which is not necessarily 
anywhere near the others in the overall repository tree structure, and 
whose repository tree neighbors are not necessarily parts of the 
same project.

For example, you may have top level repository things like work and 
personal, which are completely structural.  And maybe utils, which 
you might use in both work and personal projects.  And then if you use 
some Java, and do the standard way of making packages 
(com.mydomain.blah.blah.blah), you'll probably have a java directory 
outside of work and personal, having a whole tree of 
subdirectories, any of which may be a complete project, part of a 
project, part of many projects, et cetera.  And a project may be 
spread across personal and java and utils and any number of 
other organizational things.

I'm sure there are ways to bend things like Subversion into kind of 
behaving the way I want, but are there any systems that are actually 
designed with this concept in mind?

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


Suggest to take a look at Perforce (www.perforce.com). It is commercial, 
but have free two-user license, and you can obtain free license for 
open-source development.
Personally, i have use it and it works very well for me.

From my point of view, it have the following advantage:
1. It can be easily used by command-line oriented geeks.
2. It have a nice client-interface program for untrained point-and-click 
document-writers.
All other advantages is described on it's site.

Disadvantages:
1. Unicode (multilanguage) development is not perfect.
As i know, the FreeBSD development was made in this SCM system.
Best regards,
Alexander Derevianko.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: clearing space

2005-01-07 Thread Marty Landman
At 10:15 AM 1/7/2005, Peter Risdon wrote:
Boot into single user mode.
This has become a problem. Took a working keyboard from another box and it 
won't work. Unless by some weird chance I should reboot first.

But shouldn't the keyboard, if the ps2 port is working properly, at least 
have numlock and caps lock light up when pressing those keys?

Anything else I can do here? I have moved /root to /usr/root and logged off 
root, stupidly. Now can't get back on as root to create the link back to 
/root. Am logged on as a member of group wheel, and don't have the other 
type of keyboard handy.

Have one idea. Samba is set up and I can access from my windows 
workstation. If I change

[look]
   path = /
   read only = yes
   public = yes
to read only = no temporarily, just long enough to move /usr/root back to 
/root that'd do it, maybe?

Only thing is, do I need to su - to restart samba?
Marty
Marty Landman, Face 2 Interface Inc. 845-679-9387
Search  Sort Easily: http://face2interface.com/Products/FormATable.shtml
Web Installed Formmail: http://face2interface.com/formINSTal
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: slow sendmail starting on a lan

2005-01-07 Thread Joshua Lokken
On Thu, 6 Jan 2005 19:50:39 -0600, Vulpes Velox [EMAIL PROTECTED] wrote:
 Here I am running into is this... sendmail is taking for ever to start
 on a box. My main server has no problem, but this box takes a long
 time starting sendmail.
 
 Here are the related config files and ect for the box it is slow on.
 The only difference is a this one has a few less services enabled on
 it than server and the server has actual nameservers configured. This
 box uses a dns proxy/cache on the server for dns.
 
 Any ideas?
 
 /etc/hosts
 ::1 localhost localhost.
 127.0.0.1   localhost localhost.
 
 /etc/nsswitch.conf
 group: nis files
 hosts: nis files dns
 networks: files
 passwd: nis [unavail=continue] files
 shells: nis files
 
 ypcat of hosts
 192.168.0.3 fennec fennec.
 192.168.0.2 vixen42 vixen42.
 
 /etc/resolve.conf
 nameserver  192.168.0.2
 
 /etc/rc.conf
 defaultrouter=192.168.0.1
 hostname=fennec
 ifconfig_xl0=inet 192.168.0.3  netmask 255.255.255.0
 inetd_enable=YES
 linux_enable=YES
 moused_enable=YES
 nfs_client_enable=YES
 nfs_server_enable=YES
 sshd_enable=YES
 usbd_enable=NO
 nis_client_enable=YES
 rpcbind_enable=YES
 nisdomainname=Vulpes
 inetd_enable=YES
 #lpd_enable=YES

This may be completely irrelevant, but I don't see
sendmail_enable=YES in /etc/rc.conf


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


Re: openoffice on 5.3-RELEASE

2005-01-07 Thread albi
albi wrote:
there's more info here : http://porting.openoffice.org/freebsd/
build-instructions, known problems and alternative downloads
on the webpage above mentioned the link that says :
OOo 1.1.3 for 4.10 and 1.1.2 for 5.2.1-RELEASE
actually has OOo 1.1.3 for 5.3 for download
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how do I permit ordinary users to mound SCSI devices ?

2005-01-07 Thread Lowell Gilbert
Kevin Smith [EMAIL PROTECTED] writes:

 Matthias Buelow wrote:
 
  Kevin Smith wrote:
 
  How do I permit ordinary users to mound SCSI devices ?
 
  As suggested in the FAQ, section 9, I am able to allow members of
  operator group mount the cdrom by setting sysctl -w vfs.usrmount=1
  This does not appear to work with SCSI devices.  (ex: /dev/da0s2)
  I get the error:
mount -t msdos /dev/da0s2 ~/ipod
  msdosfs: /dev/da0s2: Permission denied
 
 
  the last time I was bitten by that issue, the mount point had to be
  owned by the user (group write access apparently isn't enough).
  that's a bit of a problem with things like gui mounters and I hope
  that that behaviour will be changed sometime in the future.  at
  least I can't see any security problems with a user being able to
  mount over a mountpoint where he only has group write access.
 
 
 I thought that was the case, but I created a directory in the user's
 home directory (as that user) and used it as the mount point and it
 still does not permit it  (see example above: ~/ipod is owned by the
 user).  It works with the cdrom device though- i can mount that as a
 regular operator user.

Sounds like the users don't have permissions on /dev/da0s2 but do have
permissions on /dev/acd0.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


gif interface with IPSec spontaneously stopping working

2005-01-07 Thread Chris Martin
I have to machines on a community wireless network with static IP addresses.
These machines are used to form a VPN over the CWN, providing a secure
routed path between two private networks. To secure the link I am using gif
interfaces at each end to form the tunnel, and then we are using IPsec with
a pre-shared key.

This link seems very stable for a couple of days, but then it will just stop
without any warning or errors. When I do a tcp dump at the physical
interface (not the virtual gif interface) I see the ISAKMP messages being
exchanged between the racoon daemons on each box:

02:20:20.948965 10.192.8.1.isakmp  10.192.9.33.isakmp: isakmp: phase 1 I
agg: [|sa]
02:20:20.966082 10.192.9.33.isakmp  10.192.8.1.isakmp: isakmp: phase 1 R
agg: [|sa]
02:20:21.036640 10.192.8.1.isakmp  10.192.9.33.isakmp: isakmp: phase 1 I
agg:
(hash: len=20)
02:20:21.065342 10.192.8.1.isakmp  10.192.9.33.isakmp: isakmp: phase
2/others I oakley-quick[E]: [encrypted hash]
02:20:21.069884 10.192.9.33.isakmp  10.192.8.1.isakmp: isakmp: phase
2/others R oakley-quick[E]: [encrypted hash]
02:20:21.077303 10.192.8.1.isakmp  10.192.9.33.isakmp: isakmp: phase
2/others I oakley-quick[E]: [encrypted hash]

But then the data doesn't start to flow. If I go and destroy the gif
interface and then re-create it with the same settings it comes back
straight away, and I see the exact same pattern of isakmp packets. 

Can anyone suggest what could be wrong? The machines are running 5.2.1 p9
and p11(I am building the world and kernel for 5.3 on each box now), but
assuming an upgrade to 5.3 doesn't resolve the issue, where can I start with
the investigation to find why the interface is dropping out? Is there a way
to get error logging or diagnostics out of gif interfaces? Does it sound
more like an interface or IPsec issue?

I hope someone can help!

Thanks,

Chris Martin


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


Re: clearing space

2005-01-07 Thread Peter Risdon
On Fri, 2005-01-07 at 07:39 -0800, Tabor Kelly wrote:
 Peter Risdon wrote:
 
 snip
 
 #mv /sbin /usr/sbin
 #ln -s /usr/sbin /sbin
[...]
 
 I was in reference to the /sbin moving to /usr/sbin.
 

Yes, that's a very good point, which I'd missed completely.

/sbin/mount

Peter.

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


Re: FreeBSD on Sun SPARC 20

2005-01-07 Thread Matthias Buelow
Ted Mittelstaedt wrote:
Also, with a Sparc 20 try to load a copy of Solaris 2.6 rather than a later
copy, it will run faster and Sun still releases patches for it.
Hmm, I don't know if that's worth it.  I run Solaris 9 on an SS20 (2x 
60MHz SM61, 224MB RAM) and am very satisfied with its performance.  I 
have run Solaris 2.5.1 aswell as 7, 8 and 9 on various SS5 (all 110mhz 
MicroSparc, ~128mb RAM average), and Solaris 9 seemed to me to be the 
best performing system on that old hardware (of course it always pays to 
disable some of the crud that it normally starts at boot, but that holds 
for all SunOSen).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


find her then meet her

2005-01-07 Thread botulinMejia
The plexiglas annale. Shejesse consecrate. He tragicomic crystalline colony 
cauchy campfire



Bang a damsel 2nite :


http://pillsloomth.com/sse/














stp plz : pillsloomth.com/xyp/


The musket approval comparison .
She pdp salk pedigree cobol canticle .
chain metronome stamina venal shrink bale .
qatar contraption axiology .
The cameramen checkup cenozoic pull jump .
She folklore circus confectionery calorie retinue cassiopeia . And
amaze hughes warmonger fair lovelace anorthosite .
She pidgin benefit monkish .and
o'brien aplomb desist sicken yap .
The pappy ehrlich coleridge dunham opacity .
downpour godwin shadflower audiovisual .and
intention maggie mantic macromolecular ham .
mansion yale asunder sprung daly .
The wedge formulaic viscosity .
She drunkard bismark gassy compote cody .
The locutor passivate councilman .
chartres ken paw emotional dixie positron .

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


netatalk, NFS, OS X and backup

2005-01-07 Thread Alan Curtis
I need some advice about integrating my FreeBSD server with some Macs 
running OS X.

I have a server running FreeBSD 5.3 with NFS and netatalk enabled, a 
Powerbook G4 running OS X 10.3.7 and they are connected through a 
wireless network. I used the Powerbook to administer the server using 
ssh, which works well. I would also like to use the server to backup 
files (for multiple users) from the Powerbook. I have played around 
with both NFS and netatalk (afpd) and both seem to be working, in that 
I can manually mount the shares on the Powerbook. I have got the NFS 
share to automount on the Powerbook but not the afp share. I can copy 
files to and from both the nfs and afp mounted shares, including 
resource forks. I have played with various backup utilities including 
rsync, psync and rdiff-backup with varying degrees of success.

Some observations/questions
1. netatalk afp seems consistently and significantly faster than nfs. 
Is this to be expected or might I have a problem with nfs? If so how do 
I diagnose and fix it?

2. I would prefer to use nfs, because I can automount it on the 
Powerbook and run a cron (actually anacron) script to backup the 
multiple users. I haven't yet worked out how (or if) I can do this with 
afp (this is really a Mac question I know).

3. I would like to use a backup scheme which is automatic, invisible to 
the user, yet configured in a way that the archive can be navigated, 
and files appear in folders on the Mac finder in a consistent way (with 
resource forks set up correctly).

All of this seems almost possible, yet I don't seem to have got it just 
right yet. Has anyone one any insight they can spread or experiences 
they can share of a similar set up?

Alan

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


Re: clearing space

2005-01-07 Thread Peter Risdon
On Fri, 2005-01-07 at 10:41 -0500, Marty Landman wrote:
 At 10:15 AM 1/7/2005, Peter Risdon wrote:
 
 Boot into single user mode.

Scratch that.

 
 This has become a problem. Took a working keyboard from another box and it 
 won't work. Unless by some weird chance I should reboot first.
 

This happens, but don't just reboot.

 
 Have one idea. Samba is set up and I can access from my windows 
 workstation. If I change
 

That won't work.

No - you ought to be able to su to root still. I checked this before the
original answer because, although I wasn't recommending your directory
moves, just telling you how to avoid linking individual binaries and
files by doing the whole directory, I didn't even want to do that if I
thought it would cause a prob like this.

If you can boot onto a FreeBSD CDROM it'd be easy to fix this. Can you?

Peter.

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


Re: my lame attempt at a shell script...

2005-01-07 Thread Tom Vilot
Eric F Crist wrote:
What is the point of the { } around some variables? 

It's not strictly necessary, except in some cases. i.e:
m=34
echo $m
You don't need it there.
But you would want it here:
f=/var/filename
fname=${f//name/name2}
It's when you need to differentiate the variable name from operations 
around it ... for want of a better explanation 


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


FreeBSD trashed after installing Win98SE in lower partition - what to do?

2005-01-07 Thread John
My questions have to do with the mess I have left after trying to do
a dual-boot system with Win98SE and FreeBSD 4.9+.

After running the FreeBSD system for nearly a year, and loving it,
I finally got around to digging up the media I needed to do the
Win98SE install, and my FreeBSD partition is now unbootable.  This,
obviously, is very disturbing.

I'll start off with an overview, and then providing increasingly
greater detail.

1) Install a placeholder C: partition of just under 2Gb for
   future Windows installation.
2) Install FreeBSD in the remaining 65% of the drive, run
   happily for a year
3) Fail in installing FreeBSD 5.2.1 in the placeholder Windows
   partition, rendering computer unusable (BootMgr just beeps)
4) Recreate the Windows boot partition type by hand - the C: drive is now
   gone, but FreeBSD works for weeks.
5) Finally get around to digging up and installing a copy of Windows 98SE.
6) Reinstall BootMgr, so helpfully ripped out by Windows.
FreeBSD now blows up on trying to boot.  Windows 98 works (well, as
well as 98SE ever works).

The questions I'm going to get to and need answers for, based on the
details to follow are
1) What did I do wrong(other than using an MS-operating system, that's
   just a series of unfortunate events which are unavoidable)?
2) Do I have any viable options other than just reinstalling at
   this point (in which case, I might as well just go with 5.3
   and be done with it)?
3) Will this happen again if I need to reinstall Win98se?  What if
   I install XP?  Do I need to make any adjustments to my fdisk
   partitions ward off problems in the future?
4) Is there any action I can take to help prevent others from
   experiencing the pain I have just unwittingly inflicted on myself?

In a little greater detail, this is what I did:

1) Partition and format a placeholder C: drive of just under 2Gb
   (1980Mb) in the first part of the disk, and format a C: drive there.
2) Install FreeBSD 4.9-RELEASE on the rest of the drive, and
   use CVSup on a different computer to track things for awhile
   (That's how I got to stable+). Run happily for a nearly a
   year, with KDE, OpenOffice, and other fun toys and productive
   tools.
3) Decide that, since I'm not using the Windows partition yet
   anyway, maybe it would be fun and productive to install
   FreeBSD 5.2.1 in that partition to see if some of the laptop-specific
   things that don't in FreeBSD 4 (like suspend/resume, automatic
   battery monitoring, etc).  This process failed, because
   FreeBSD 5.2.1, even though it would BOOT from the CD-ROM drive,
   would not recognize it once the MFS system was up and running!
   I tried again with an NFS install after booting the MFS
   system, but that hung after having scribbled on the 
   disk (still don't know why - gave up.  This, incidentally,
   wiped out the original Win98SE C drive formatting, which
   may, ultimately, have been a part of my problems, or maybe it
   has nothing to do with it - any insight here would be appreciated.)
4) The system was now unusable.  BootMgr would just beep at
   me, regardless of whether I picked F1 or F2.
   I used the bootable CD sysinstall program to manually change
   the partition type of the first back to 12 as it had
   been when when the placeholder DOS/Win98 filesystem lived
   there.  The system was now, apparently, back to normal.
   Although there was nothing to boot in the F1 partition, F2
   brought up my FreeBSD 4.9+ system just fine.  I had had
   the DOS/Windows partition mounted as an msdos filesystem
   and I had to remove that from /etc/fstab, but otherwise,
   it seemed fine and I used it for weeks.
5) My son got some Windoze software for Christmas that would
   not run on our old Windoze desktop, so I finally got around
   to installing Windows 98SE, which installed and runs fine.
6) Windows so helpfully overwrote the MBR, eliminating the
   BootMgr.  I used the bootable CD and sysinstall AGAIN to
   restore BootMgr
7) FreeBSD blows chunks when it tries to boot.

That covers the sequence of events in more detail, so let's go deep
with information and what I've done since.

The hardware is a Compaq Armada M700 laptop with a Pentium-III 650,
320Mb of RAM, and a 6Gb hard drive (Toshiba MK6015MAP) with a
kernel-reported geometry of c12416, h15, and s63, and a Compaq
CRN-8241B CD-ROM.

When I try to boot FreeBSD, this is what happens:

BTX loader 1.00 TX version is 1.01
Console: internal video/keyboard
BIOS drive A: is disk0
BIOS drive C: is disk1
BIOS 639kB/326592kB available memory

FreeBSD/i386 bootstrap loader, Revision 0.8
([EMAIL PROTECTED], Tue Feb 17 15:17:21 CST 2004)
Loading /boot/defaults/loader.conf
/kernel text=0x1a3573 data=0x2820c+0x1b8e8 syms=[0x4+02a7e0+0x4+0x31327]
-
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [kernel]...
/
int=000d  err=f18c  efl=00010002  eip=0011f405
eax=002a6580  ebx=002e8074  ecx=  edx=00027520
esi=00343b84  edi=002e8074  

Re: my lame attempt at a shell script...

2005-01-07 Thread Giorgos Keramidas
On 2005-01-07 09:36, Tom Vilot [EMAIL PROTECTED] wrote:
Eric F Crist wrote:
 What is the point of the { } around some variables?

 It's not strictly necessary, except in some cases. i.e:

 m=34
 echo $m

 You don't need it there.

 But you would want it here:

 f=/var/filename
 fname=${f//name/name2}

Or when characters adjacent to the variable name may be difficult to
separate from the name itself:

disk=ad0
slice=${disk}s1
partition=${slice}a
#
echo ${disk} ${partition} ${slice}

- Giorgos

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


Re: Supermicro Hardware and FreeBSD

2005-01-07 Thread Tom Vilot
[EMAIL PROTECTED] wrote:
You guys couldnt even sweep up after the original FreeBSD team. What a 
travesty. And apparently there aren't any technically capable 
people using FreeBSD anymore, because they all seem very happy 
with an O/S that is substantially slower than it was before. What a waste.

You're on AOL. You demonstrate your incredible technical savvy with each 
post from that address.

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


Re: FreeBSD trashed after installing Win98SE in lower partition - what to do?

2005-01-07 Thread Henrik Hudson
 The questions I'm going to get to and need answers for, based on the
 details to follow are
 1) What did I do wrong(other than using an MS-operating system, that's
just a series of unfortunate events which are unavoidable)?

As a rule of thumb don't install Windows AFTER a BSD / Linux. It really could 
care less about boot partitions. Windows2000 and XP you can modify the 
bootloader to load BSD, but I don't know about Win98. It's been a LONG 
time :)

 2) Do I have any viable options other than just reinstalling at
this point (in which case, I might as well just go with 5.3
and be done with it)?

Probably your partition is still there, it just doesn't know how to get to it. 
I don't remember the specifics, but you should be able to just rebuild the 
boot MBR.

 3) Will this happen again if I need to reinstall Win98se?  What if
I install XP?  Do I need to make any adjustments to my fdisk
partitions ward off problems in the future?

In this day an age if you HAVE to have Windows, then XP is the only way to go.

 4) Is there any action I can take to help prevent others from
experiencing the pain I have just unwittingly inflicted on myself?

Install Windows first and then BSD. If you have to install afterwards, the XP 
bootloader is pretty painless if you want to have a option to boot FreeBSD 
from it.


Henrik
-- 
Henrik Hudson
[EMAIL PROTECTED]

There is a fine line between
fishing and just standing on 
the shore like an idiot.
  -Unknown
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 3ware Esclade 7006-2

2005-01-07 Thread Mike Tancsa
At 02:37 AM 07/01/2005, Justin England wrote:
- Original Message - From: Mike Tancsa [EMAIL PROTECTED]
To: Justin England [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Wednesday, January 05, 2005 8:19 PM
Subject: Re: 3ware Esclade 7006-2

On Mon, 3 Jan 2005 23:01:31 -0700, in sentex.lists.freebsd.questions
you wrote:
I have downloaded the CLI util and the 3dm2 web interface from 3ware.com 
and have been trouble getting them to work.
Its not totally obvious, but to connect to the 3dmd2, you need to talk
to it via https, not http. So if you have it on the default port of
888, try
https://127.0.0.1
and not
http://127.0.0.1

Thanks for the tip... but still didn't work.  I have set the port to 80, 
just to make sure it wasn't a browser issue

Use the default 888.  It seems to get confused occasionally when its not on 
that port (although I have a few RELENG_4 boxes on non standard ports that 
work fine). I have a couple of boxes running RELENG_5 on the 7xxx and 8xxx 
without issue with the 3dm2 daemon

What is the output of
# openssl s_client  -host 127.0.0.1 -port 888
Assuming you have it bound to all addresses and listening on the default 
port of 888.

Once connected, type GET / HTTP/1.0
You should see
GET / HTTP/1.0
HTTP/1.1 200 OK
Server: 3ware/2.0
Connection: close
Content-Type: text/html
Content-Length: 757
html
head
meta http-equiv=Pragma content=no-cache
script
var cur_controller = 0;
var cur_unit = -2;
var lastmessage = 
var who = 1;
function init()
{
  window.menu.document.location.replace(/menu.html);
  setTimeout(window.content.document.location.replace('/page0.html?c=0'), 
500);
}
/script
title3ware 3DM2 - ns6.recycle.net - Summary/title
/head
noscriptYou must enable JavaScript for 3DM2 to run properly/noscript
frameset frameborder=no rows=138,* onLoad=init()
  frame name=menu scrolling=no noresize src=/blank.html
  frame name=content src=/blank.html
  noframes
body
  pThis page uses frames, but your browser doesn't support them./p
/body
  /noframes
/frameset
/html
closed

---Mike
, but it still doesn't work. Again, anybody have any success running the 
3ware.com download of 3dm2 using a 7006-2 Esclade controller running the 
5.3-RELEASE twe driver?



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


Re: clearing space

2005-01-07 Thread Marty Landman
At 11:32 AM 1/7/2005, Peter Risdon wrote:
On Fri, 2005-01-07 at 10:41 -0500, Marty Landman wrote:

 This has become a problem. Took a working keyboard from another box and it
 won't work. Unless by some weird chance I should reboot first.

This happens, but don't just reboot.
Peter, are you saying that it's possible my keyboard isn't working because 
the console hasn't been used for a very long time? If so, why isn't 
rebooting the easiest thing to do?

 Have one idea. Samba is set up and I can access from my windows
 workstation. If I change
That won't work.
I realized that after sending the msg. Because Samba doesn't override the 
permissions on / which are rwxr-xr-x, right?

What about toor? Isn't that a fallback to root? I've never understood what 
that was about... you're likely getting a good idea of my skill level about 
now. :)

No - you ought to be able to su to root still.
But how?
%su -
Password:
su: no directory
%

I checked this before the original answer because, although I wasn't 
recommending your directory moves, just telling you how to avoid linking 
individual binaries and files by doing the whole directory, I didn't even 
want to do that if I
thought it would cause a prob like this.
Hey it's all a learning experience. Fact is it's not even keeping me from 
doing the work I was originally out to do... don't need root for that.

What clobbered the space on my / - besides having too small an allocation - 
was using Perl's cpan shell. By deleting /root/.cpan recursively I've fixed 
that issue. The greater issue is, as has been said, learning to do this on 
another directory like /usr.

If you can boot onto a FreeBSD CDROM it'd be easy to fix this. Can you?
I still have the 4.8 mini-iso the system was installed with. But I need the 
console to do this right? Any way I can be sure that the ps2 port/mobo 
isn't what's really shot? Or does it even matter?

Marty
Marty Landman, Face 2 Interface Inc. 845-679-9387
Search  Sort Easily: http://face2interface.com/Products/FormATable.shtml
Web Installed Formmail: http://face2interface.com/formINSTal
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to get best results from FreeBSD-questions

2005-01-07 Thread Greg Lehey

How to get the best results from FreeBSD questions.
===

Last update $Date: 2004/09/19 02:40:48 $

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

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

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

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

=

Contents:

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

I: Introduction
===

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

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

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

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

II:  How to unsubscribe from FreeBSD-questions
==

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

  Welcome to the freebsd-questions@freebsd.org mailing list!

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED]
  
(obviously, substitute your mail address for [EMAIL PROTECTED]).  You can
also make such adjustments via email by sending a message to:

  [EMAIL PROTECTED]
  
with the word 'help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including
changing the password, itself) or to unsubscribe.
  
Normally, Mailman will remind you of your freebsd.org mailing list
passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

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

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

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

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

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

  2.  You're subscribed to a mailing list which is subscribed to
  

The Complete FreeBSD: errata and addenda

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

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

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

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


Re: openoffice on 5.3-RELEASE

2005-01-07 Thread Duane Winner
Thanks! I was able to find OOo_1.1.3_FreeBSD53Intel_install.tbz and get 
that installed and working.
I still had the bad user interface fonts, but I found that to be a 
problem with my xorg config, and I (mostly) fixed it. I sitll have some 
minor 'ticks' snuggled inside my r's, n's, e's and g characters, but not 
nearly as bad as before. I just started using Xorg over Xfree86 this 
week, and apparantly, font handling, or at least the ports are a little 
different.

Just a couple more questions:
If I keep my ports tree cvsup'd every day, I'm going to have:
openoffice-1.1.3  needs updating (port has 1.1.3_1)
We generally do a portupgrade -a to upgrade ports unless 
/usr/ports/UPDATING affects us. How can I get around the openoffice 
discrepency since a portupgrade -a will always try build it again and 
end up failing?

Also, what are the folks up on ootranslation.services doing to get this 
package built that can't be done with the source for 1.1.3_1 on 5.3, why 
can't this port on 5.3, and if it is failing, shouldn't it be marked as 
'broken' on 5.3?

Thanks for any info.
Cheers,
DW
albi wrote:
albi wrote:
there's more info here : http://porting.openoffice.org/freebsd/
build-instructions, known problems and alternative downloads

on the webpage above mentioned the link that says :
OOo 1.1.3 for 4.10 and 1.1.2 for 5.2.1-RELEASE
actually has OOo 1.1.3 for 5.3 for download
___
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: clearing space

2005-01-07 Thread Peter Risdon
On Fri, 2005-01-07 at 11:59 -0500, Marty Landman wrote:
 At 11:32 AM 1/7/2005, Peter Risdon wrote:
 On Fri, 2005-01-07 at 10:41 -0500, Marty Landman wrote:
 
  
   This has become a problem. Took a working keyboard from another box and it
   won't work. Unless by some weird chance I should reboot first.
  
 
 This happens, but don't just reboot.
 
 Peter, are you saying that it's possible my keyboard isn't working because 
 the console hasn't been used for a very long time? If so, why isn't 
 rebooting the easiest thing to do?

Sort of. Sometimes, not often, just plugging a ps2 keyboard into a
running machine won't work. It's also capable, even more rarely, of
damaging the motherboard.

[...]
 
 No - you ought to be able to su to root still.
 
 But how?
 
 %su -
 Password:
 su: no directory
 %

I still have the machine on which I moved /root available and here's
what happens:

-bash-2.05b$ ls /
COPYRIGHT   dev kernel.GENERIC  nonexistent stand
bin distkernel.old  procsys
bootetc mnt razor-agent.log tmp
cdrom   homemodules sbinusr
compat  kernel  modules.old service var
-bash-2.05b$ su
Password:
%ls /
.cshrc  compat  kernel.GENERIC  proctmp
.profiledev kernel.old  razor-agent.log usr
COPYRIGHT   distmnt sbinvar
bin etc modules service
boothomemodules.old stand
cdrom   kernel  nonexistent sys
%pwd
/usr/home/peter
% 

One thing that does occur to me: what is your user's shell and, if it
isn't bash, do you have bash installed? And have you changed the root
shell from csh? I suspect the latter.


[...]
 If you can boot onto a FreeBSD CDROM it'd be easy to fix this. Can you?
 
 I still have the 4.8 mini-iso the system was installed with. But I need the 
 console to do this right? Any way I can be sure that the ps2 port/mobo 
 isn't what's really shot? Or does it even matter?

The keyboard will almost certainly work after a reboot. If not, you've
got other worries with that machine anyway. You can get a shell with
root privileges from sysinstall and make your link. Move /sbin back,
though. This was a bad thing to relocate.

Peter.

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


IPFW and whois lookup

2005-01-07 Thread V Foulk
Hello,

I have recently setup IPFW on a test box, and
found that (for the most part) it was pretty straight
forward.  Every rule and service on the box seems to work
great, except for one problem I haven't been able to track
down.  Regardless of the settings, even when set to open as
default with only the allow all from any to any rule, whois and
hostname lookups fail.

This problem prevented clamav from updating, and a whole 
slew of other minor issues that pop up in the logs.  I was hoping
someone may be able to point out something that I may have missed?

When IPFW is enabled:
When the service uses the local NS, a manual whois gives:
whois: connect(): No route to host

When the service uses the upstream NS, a manual whois gives:
whois: com.whois-servers.net: hostname nor servname provided, or not known

(NS as set in resolv.conf)

The only way I can make the error 'go away' is to disable ipfw in rc.conf
and reboot.

I am certain that this is just a silly oversight on my part.
The machine is running FreeBSD 5.2.1-RELEASE-p13, please let me know if
there
is any other information I can provide that will be useful. Thank you very
much,
in advance, for the help.

VF

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


GTK error with SciTE.

2005-01-07 Thread Rod Person
I'm trying to use SciTE and when ever I start it I get the following error...
I've tried this on 2 seperate FBSD machines one running 5.3 release and the 
other running a 5.3 rc 2 (I think). Both get the same error. I been trying to 
figure this out for sometime and can't seem to find anything about it

SciTE

(SciTE:98139): GLib-GObject-WARNING **: specified class size for type 
`Scintilla' is smaller than the parent type's `GtkContainer' class size

(SciTE:98139): Gtk-CRITICAL **: file gtktypeutils.c: line 100 (gtk_type_new): 
assertion `GTK_TYPE_IS_OBJECT (type)' failed

(SciTE:98139): Gtk-WARNING **: invalid cast from (NULL) pointer to `(unknown)'

(SciTE:98139): GLib-GObject-WARNING **: specified class size for type 
`Scintilla' is smaller than the parent type's `GtkContainer' class size
Segmentation fault (core dumped)
-- 
Rod


If you stay the same long enough you'll be in 
 style some day again.  Cren Dog 


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


Re: Remote upgrade possible?

2005-01-07 Thread Danny MacMillan
On Fri, Jan 07, 2005 at 07:25:02AM -0500, Mike Jeays wrote:
 On Thu, 2005-01-06 at 23:26, Tabor Kelly wrote:
  
  I routinely use 'portupgrade -rRN' in xterm, in X-Windows to
  install new ports on my box. The second to last time I did this,
  one of the ports what was upgraded was xterm. And it worked! Can
  anybody explain to my why nothing bad happened? Am I running a
  risk when I do this?
 
 This seems pretty safe to me. When xterm gets invoked, the whole of the
 code gets loaded into memory for execution, and there is no reason why
 it would look at the disk copy again.  If you upgrade the xterm binary,

I haven't looked at the code, but your assertion is extremely unlikely.
I really want to say impossible but as I said, I haven't looked at
the code.  If FreeBSD loaded entire executable images into RAM when
starting new processes, it would perform very poorly.  What is more
likely is that the kernel keeps the image file open during program
execution.  When the xterm binary is replaced, the old binary is still
on disk in its old location, it just doesn't have any directory
entries pointing to it.  Since the kernel still has the file open it
won't be overwritten.  Hence the kernel can and will still load
pages from the old image.  This is a function of the same behaviour
that causes df and du output to differ in some cases.

The lsof(8) utility seems to bear this out, as each process seems to
keep each image (program and shared object files) open during
execution.

A new instance of xterm would use the new, upgraded binary.

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


SCSI HD issue ...

2005-01-07 Thread Tom Vilot
Picking up on that SCSI hardware problem I posted about earlier ...
I'm in the process of installing a second HD which will,
hopefully, be the replacement for the one I believe is flaky.
I've installed the second drive. I used dd to copy over
to each partition (Yes, I know this is not the right way
to do that ... I'll be using dump or tar next time.
Thanks to Subhro for pointing that out...)
However ... Now I have the following situation:
da2 is the bad disc that I am  still using.
da0 is going to be the new disc.
Somehow, I have managed to replace da2s1a with
da0s1a as the / partition:
/dev/da0s1a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/da2s1e on /tmp (ufs, local, soft-updates)
/dev/da2s1f on /usr (ufs, NFS exported, local, soft-updates)
/dev/da2s1d on /var (ufs, local, soft-updates)
procfs on /proc (procfs, local)
/dev/ad0 on /usr/share/archive (ufs, NFS exported, local)
I'm not sure how to put it back.
My fstab is:
# DeviceMountpoint  FStype  Options Dump
Pass#
/dev/da2s1b noneswapsw  0   0
/dev/da2s1a /   ufs rw  1   1
/dev/da2s1e /tmpufs rw  2   2
/dev/da2s1f /usrufs rw  2   2
/dev/da2s1d /varufs rw  2   2
/dev/acd0   /cdrom  cd9660  ro,noauto   0   0
/dev/acd1   /dvdram ufs rw,noauto   0   0
proc/proc   procfs  rw  0   0
/dev/ad0/usr/share/archive  ufs rw  0   0

I'm guessing I need to configure the boot loader 
but I'm a little unclear on how I do that.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Network monitoring software

2005-01-07 Thread freebsduser
Hiya folks, I'm looking for some network monitoring software. I've tried zabbix 
and jffnms but neither of them functioned after being configured or installing.

If anybody has any success stories I would like to hear about any of them so I 
can look at other packages in ports net and net-mgmt.

Thanks.

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


Re: apachectl oddness

2005-01-07 Thread Robin Becker
Robin Becker wrote:
I'm running standard freeBSD 4.9 and am port upgrading apache2. I think 
the old version was 2.50_3 and the new is 2.52_4. In the latest build I 
have added WITH_THREADS=1 as I need this for mod_python.

I notice now that apachectl startssl has problems reading the pass 
phrase. I normally do this through the web using ssh/su and find that my 
putty terminal gets locked up when I enter the phrase at the prompt.

The apachectl startssl fails for the first pass phrase entry at the 
console, but the second seems to work. I had to kill the previously hung 
httpd process.

Experimenting shows that
echo pass phrase | apachectl startssl
works fine even through ssh. Am I stupid or doing something wrong?
Seems that the problem is caused by using WITH_THREADS=1. For various reasons I 
needed to reinstall without threads and now see that the pass phrase entry works 
fine.
--
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: clearing space

2005-01-07 Thread Marty Landman
At 12:20 PM 1/7/2005, Peter Risdon wrote:

 No - you ought to be able to su to root still.
Live and learn. That worked, guess I can read up on su myself to understand 
the difference.

One thing that does occur to me: what is your user's shell and, if it
isn't bash, do you have bash installed? And have you changed the root
shell from csh? I suspect the latter.
I'm not even aware of how to know the answers to these.
 If you can boot onto a FreeBSD CDROM it'd be easy to fix this.
No need now, is there?
The keyboard will almost certainly work after a reboot.
That's good to know.
If not, you've got other worries with that machine anyway.
True enough.
You can get a shell with root privileges from sysinstall and make your link.
Got onto root with su, instead of su - which as you already know was 
failing on me.

Move /sbin back, though. This was a bad thing to relocate.
Done. Now I have
# df
Filesystem  1K-blocks   Used  Avail Capacity  Mounted on
/dev/ad0s1a128990  54998  6367446%/
/dev/ad0s1f257998  81790 15557034%/tmp
/dev/ad1s1e   2030062 936170 93148850%/usr
/dev/ad0s1e257998   2122 235238 1%/var
which should be fine for my present needs.
Funny thing was that the Perl package I wanted to install with cpan - 
MIME::Lite is a standalone that doesn't apparently require cpan to install 
if you have the source, which I do. Darned thing didn't work out for me 
anyway so it's plan B. Been a plan b kinda day.

Marty
Marty Landman, Face 2 Interface Inc. 845-679-9387
Search  Sort Easily: http://face2interface.com/Products/FormATable.shtml
Web Installed Formmail: http://face2interface.com/formINSTal
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: openoffice on 5.3-RELEASE

2005-01-07 Thread Benjamin Walkenhorst
I was too lazy to wait for the thin to build, so I downloaded the binary 
package.
Works fine. =)

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


make sudo failed

2005-01-07 Thread Marty Landman
A previous thread mentioned sudo as a good way for me to get out of the 
habit of su - so much. I just tried to install and this is what I got, 
don't know what to make of it (pardon the pun) or what to do next.


# make build  make install  rehash  which sudo
/usr/sbin/sysctl: not found
/usr/ports/Mk/bsd.port.mk, line 797: warning: /usr/sbin/sysctl -n 
kern.osreldate returned non-zero status
 sudo-1.6.6.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
 Attempting to fetch from http://www.sudo.ws/sudo/dist/.
fetch: http://www.sudo.ws/sudo/dist/sudo-1.6.6.tar.gz: Not Found
 Attempting to fetch from ftp://ftp.cs.colorado.edu/pub/sysadmin/sudo/.
fetch: ftp://ftp.cs.colorado.edu/pub/sysadmin/sudo/sudo-1.6.6.tar.gz: File 
unavailable (e.g., file not found, no access)
 Attempting to fetch from ftp://ftp.stikman.com/pub/sudo/.
Receiving sudo-1.6.6.tar.gz (333074 bytes): 100% (ETA 00:00)
333074 bytes transferred in 112.4 seconds (2.89 kBps)
===  Extracting for sudo-1.6.6_1
md5: not found
*** Error code 127

Stop in /usr/ports/security/sudo.

Marty
Marty Landman, Face 2 Interface Inc. 845-679-9387
Search  Sort Easily: http://face2interface.com/Products/FormATable.shtml
Web Installed Formmail: http://face2interface.com/formINSTal
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: copying from DVD drive causes crash: vm_fault: pager readerror, pid 13421 (cp) on FreeBSD 5.3-STABLE

2005-01-07 Thread Christoph Steigmeier
Hello
I observe a similiar behaviour here on an ASUS Laptop with a
MATSHITAUJ-831D/1.00 DVD-RW Drive. Altough only with DVD's, but not with 
CD's. Installed is FreeBSD 5.3-RELEASE-p2. The only difference to the 
GENERIC kernel is that I added the device atapicam to the kernel. The 
failure occures with both way accessing the drive (acd0 and cd0).

If you need more output, pls. tell me.
Chris

On Thu, 6 Jan 2005, O. Hartmann wrote:
Daniel O'Connor schrieb:
On Thu, 6 Jan 2005 23:16, O. Hartmann wrote:
Doing dd from the DVD drive (NEC ND 3500AG/2.18) fails in a corrupt
image afterwards, copying with 'cp' from a inserted CD triggers the
shown error and box dies immediately:
Jan  6 12:17:20 edda kernel: cd9660: RockRidge Extension
Jan  6 12:17:50 edda kernel: acd0: FAILURE - READ_BIG ILLEGAL REQUEST
asc=0x64 ascq=0x00 error=4ABORTED
Jan  6 12:18:07 edda last message repeated 3 times
Jan  6 12:29:44 edda kernel: cd9660: RockRidge Extension
Jan  6 12:30:54 edda kernel: acd0: FAILURE - READ_BIG MEDIUM ERROR
asc=0x11 ascq=0x00 error=4ABORTED
Jan  6 12:30:54 edda kernel: vm_fault: pager read error, pid 13421 (cp)
Jan  6 12:30:58 edda kernel: acd0: FAILURE - READ_BIG MEDIUM ERROR
asc=0x11 ascq=0x00 error=4ABORTED
Jan  6 12:30:58 edda kernel: vm_fault: pager read error, pid 13421 (cp)
Jan  6 12:31:01 edda kernel: acd0: FAILURE - READ_BIG MEDIUM ERROR
asc=0x11 ascq=0x00 error=4ABORTED
Jan  6 12:31:01 edda kernel: vm_fault: pager read error, pid 13421 (cp)
Jan  6 12:31:08 edda kernel: acd0: FAILURE - READ_BIG MEDIUM ERROR
asc=0x11 ascq=0x00 error=4ABORTED
Jan  6 12:31:08 edda kernel: vm_fault: pager read error, pid 13421 (cp)
Jan  6 12:31:19 edda kernel: acd0: FAILURE - READ_BIG MEDIUM ERROR
asc=0x11 ascq=0x00 error=4A
Same happens when trying to to a 'tar ztf file.foo' (tar archive located
on DVD) - FreeBSD dies and freezes immediately.
Does it panic or hang?
The DVD has errors on it which is why you can't read it.. Obviously the OS 
crashing when presented with bad media is not a good thing :)


The box hang.
The media is all right, I tried it on a FreeBSD 4.10 box and a Windows box 
(equipted with the
same DVD-RW drive, running on a different hardware platform).

Writing 'clear' images to the drive results in corrupted media, either DVD 
and/or CD-R/W.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
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: make sudo failed

2005-01-07 Thread Matteo Santori
Marty Landman wrote:
A previous thread mentioned sudo as a good way for me to get out of 
the habit of su - so much. I just tried to install and this is what I 
got, don't know what to make of it (pardon the pun) or what to do next.


# make build  make install  rehash  which sudo
/usr/sbin/sysctl: not found
/usr/ports/Mk/bsd.port.mk, line 797: warning: /usr/sbin/sysctl -n 
kern.osreldate returned non-zero status
 sudo-1.6.6.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
 Attempting to fetch from http://www.sudo.ws/sudo/dist/.
fetch: http://www.sudo.ws/sudo/dist/sudo-1.6.6.tar.gz: Not Found
 Attempting to fetch from ftp://ftp.cs.colorado.edu/pub/sysadmin/sudo/.
fetch: ftp://ftp.cs.colorado.edu/pub/sysadmin/sudo/sudo-1.6.6.tar.gz: 
File unavailable (e.g., file not found, no access)
 Attempting to fetch from ftp://ftp.stikman.com/pub/sudo/.
Receiving sudo-1.6.6.tar.gz (333074 bytes): 100% (ETA 00:00)
333074 bytes transferred in 112.4 seconds (2.89 kBps)
=== Extracting for sudo-1.6.6_1
md5: not found
*** Error code 127

Stop in /usr/ports/security/sudo.

Marty
Marty Landman, Face 2 Interface Inc. 845-679-9387
Search  Sort Easily: http://face2interface.com/Products/FormATable.shtml
Web Installed Formmail: http://face2interface.com/formINSTal
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

Problem releated with some md5 control. Try to check what's wrong or try 
to get the pkg.

What is interesting is
../usr/sbin/sysctl: not found
/usr/ports/Mk/bsd.port.mk, line 797: warning: /usr/sbin/sysctl -n 
kern.osreldate returned non-zero status

why it's trying to search sysctl is such path?



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


Re: openoffice on 5.3-RELEASE

2005-01-07 Thread albi
Duane Winner wrote:
Thanks! I was able to find OOo_1.1.3_FreeBSD53Intel_install.tbz and get 
that installed and working.
nice
I still had the bad user interface fonts, but I found that to be a 
problem with my xorg config, and I (mostly) fixed it. I sitll have some 
minor 'ticks' snuggled inside my r's, n's, e's and g characters, but not 
nearly as bad as before. I just started using Xorg over Xfree86 this 
week, and apparantly, font handling, or at least the ports are a little 
different.

i'm using 5.3 on the desktop (daily), and i have no problems with it at 
all, but then again i've installed this from a 5.3 RELEASE cdrom,
and that has xorg as default

perhaps you have to reinstall (portupgrade -rf) a few fonts ?
Just a couple more questions:
If I keep my ports tree cvsup'd every day, I'm going to have:
openoffice-1.1.3  needs updating (port has 1.1.3_1)
We generally do a portupgrade -a to upgrade ports unless 
/usr/ports/UPDATING affects us. How can I get around the openoffice 
discrepency since a portupgrade -a will always try build it again and 
end up failing?
a dirty solution is to press ctrl-c when OOo tries to build, i know from 
experience that portupgrade simply continues with the rest without any 
complaints :)

but i assume in the Makefile (in the OOo-portsdir) one can put an IGNORE 
somewhere

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


Re: clearing space

2005-01-07 Thread Robert Huff


Marty Landman writes:

  Ok, I've cleared half the space by rm -r /root/.cpan.

yay!

  # du -x / | sort -rn | head -15
  60093   /
  15052   /root
  13750   /root/nmap-3.50

Did you somehow install nmap under root, or use it as the root
build directory?  And if so, was that intentional?
Make sure nmap is installed in the appropriate place, and the
delete this?

  6318/modules.old

Assuming your system is stable, you can probably delete this.


Robert Huff


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


Re: Remote upgrade possible?

2005-01-07 Thread M
On Jan 7, 2005, at 12:33 PM, Danny MacMillan wrote:
I haven't looked at the code, but your assertion is extremely unlikely.
I really want to say impossible but as I said, I haven't looked at
the code.  If FreeBSD loaded entire executable images into RAM when
starting new processes, it would perform very poorly.  What is more
likely is that the kernel keeps the image file open during program
execution.  When the xterm binary is replaced, the old binary is still
on disk in its old location, it just doesn't have any directory
entries pointing to it.  Since the kernel still has the file open it
won't be overwritten.  Hence the kernel can and will still load
pages from the old image.  This is a function of the same behaviour
that causes df and du output to differ in some cases.
The lsof(8) utility seems to bear this out, as each process seems to
keep each image (program and shared object files) open during
execution.
A new instance of xterm would use the new, upgraded binary.
When you run a program the program that runs the new one makes a copy 
of itself in the process table and they share code pages. This is done 
through fork(). At that point the new process, called the child, calls 
one of the exec() function calls which in turn calls a single syscall, 
execve(). execve() uses namei() to get the vnode pointer. Each vnode 
pointer has three ference counts, v_usecount, v_holdcnt and 
v_writecount. A vnode is not recycled until both the usecount and 
holdcnt are 0. When namei() is called it calls VREF() which is vref() 
which does

vp-v_usecount++;
so if it's running the page can't be recycled from a point in time 
before the program actually is loaded in to memory. execve() calls 
exec_map_first_page(). Without tearing this apart I'm going to guess 
that this memory maps the first page of text (code) through the VM 
subsystem as evidenced by the conspicuous calls to vm_page*() functions 
so I'd conclude the file is memory mapped. Presuming it turns out the 
command you're calling isn't a shell script or other script execve() 
cleans up the environment so file descriptors and signal handlers don't 
get shared, the processes environment is setup, lets the calling 
(forking) process know it can continue on it's merry way, sets uid/gid 
if necessary/possible, and it looks like the scheduler takes care of 
the rest  (I'll be honest here, the code seems to trail off here so far 
as I can tell in to parts that are jumped to in case of error). In any 
case we have a increased usecount.

Now we are going to unlink that file and create a new one.
After some basic checks (you can't remove the root of a file system for 
example) unlink() will call VOP_REMOVE() which calls vrele() which 
deincrements the usecount when it's greater than one, which in this 
case it MUST be because the xterm process has one count on it and the 
file entry has another (hard links to the file may have additional 
counts on it).

Therefore it appears that you can unlink the file, it will remain on 
the disk to serve the memory mapped image used for the running process 
and install a new copy. I'm going to presume when a process exits it 
de-increments the usecount for the vnode, which, when 0 should put the 
page on the free list.

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


Moving *directories*, like sbin, root, of / to /usr (was Re: clearing space)

2005-01-07 Thread Parv
in message [EMAIL PROTECTED],
wrote Marty Landman thusly...

 Let's say I want to
 
 mv /sbin /usr/sbin
 mv /root /usr/root
 
 How problematic can this become?

You should know there already is one /usr/sbin ... which will be
late if you had already mv(1)'d as root w/o -i option.

You should not have any problems moving /root to elsewhere other
than those related to mount  single user, well, use.


  - Parv

-- 

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


Re: netstat odd behavior

2005-01-07 Thread mario . lobo
Tried that before posting. this is what I get

Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address  Foreign Address(state)
udp4   0  0  *.514  *.*


On 7 Jan 2005 at 10:56, Jose Hidalgo Herrera wrote:


 What about
  netstat -anf inet


 El vie, 07-01-2005 a las 09:06 -0300, [EMAIL PROTECTED] escribió:

 Hello;

 On all installations of FreeBSD I´ve ever done in the past,

 netstat -an

 displays LISTENing servers and any tcp connection in any state.

 On the 5.3 I have installed here ( updated to RELENG_5_3 + 
 build/installworld ), this command only
 shows only this;

 
 Active Internet connections (including servers)
 Proto Recv-Q Send-Q  Local Address  Foreign Address(state)
 udp4   0  0  *.514  *.*
 Active UNIX domain sockets
 Address  Type   Recv-Q Send-QInode Conn Refs  Nextref Addr
 c38d01a4 stream  0  0 c3de8738000 
 /db/mysql/mysql.sock
 c38d1000 stream  0  0 c3883c60000 
 /var/run/devd.pipe
 c38d0ec4 dgram   0  0 c3883210000 
 /var/run/log
 

 I have ssh, sendmail, ftpd and mysql daemons running, LISTENing and 
 WORKING.

 Would anybody know why they are not showing on the output of netstat?

 Thanks,



--
   //|  //||
  // | // ||
-//--//---|| ARIO LOBO
//  //||
-
[EMAIL PROTECTED]
http://www.ipad.com.br

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


Re: clearing space

2005-01-07 Thread Marty Landman
At 01:08 PM 1/7/2005, Robert Huff wrote:
Did you somehow install nmap under root, or use it as the root
build directory?  And if so, was that intentional?
Dunno, dunno, and obviously unintentional since I don't know anything about 
it. As much as I hate to plead ignorance in this case anything less would 
be lying.

Make sure nmap is installed in the appropriate place, and the delete this?
What's nmap and where should it be and how do I install it properly?
  6318/modules.old
Delete this after fixing nmap?
Marty
Marty Landman, Face 2 Interface Inc. 845-679-9387
Search  Sort Easily: http://face2interface.com/Products/FormATable.shtml
Web Installed Formmail: http://face2interface.com/formINSTal
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


About ports dist

2005-01-07 Thread Martin Gonzalez
Hi..

I have 2 very quick questions/comment about installation from the FreeBSD CDs, 
and X-window:

When I try to install the X.org distribution, it sends an error message that 
says it cannot find the packages/INDEX on the specified media. I checked on the 
CD 2, and there it is, the full ports collection, but the index file is named 
INDEX-5 instead of INDEX, so I think it might be the problem.

If someone knows how to install all ports from the CDs, can you tell me to this 
mail, I will be very thankful for it..!

The second question is: when I execute 'Xorg' at the prompt, it starts the 
graphics display, but I have no windows nor desktops, nothing but the mouse 
pointer. Do I have to install something else ? (Maybe from ports collection - 
which one?)

I am relatively new to UNIX, my platform is i386, I downloaded the ISO CD 
images from the ftp site and I burned those images to the CDs (I see the 
files/dirs on the CD, not the ISO file itself)

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


Re: make sudo failed

2005-01-07 Thread Marty Landman
At 01:53 PM 1/7/2005, Matteo Santori wrote:
Marty Landman wrote:
A previous thread mentioned sudo as a good way for me to get out of the 
habit of su - so much. I just tried to install and this is what I got, 
don't know what to make of it (pardon the pun) or what to do next.


# make build  make install  rehash  which sudo
/usr/sbin/sysctl: not found
/usr/ports/Mk/bsd.port.mk, line 797: warning: /usr/sbin/sysctl -n 
kern.osreldate returned non-zero status
 sudo-1.6.6.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
 Attempting to fetch from http://www.sudo.ws/sudo/dist/.
fetch: http://www.sudo.ws/sudo/dist/sudo-1.6.6.tar.gz: Not Found
 Attempting to fetch from ftp://ftp.cs.colorado.edu/pub/sysadmin/sudo/.
fetch: ftp://ftp.cs.colorado.edu/pub/sysadmin/sudo/sudo-1.6.6.tar.gz: 
File unavailable (e.g., file not found, no access)
 Attempting to fetch from ftp://ftp.stikman.com/pub/sudo/.
Receiving sudo-1.6.6.tar.gz (333074 bytes): 100% (ETA 00:00)
333074 bytes transferred in 112.4 seconds (2.89 kBps)
=== Extracting for sudo-1.6.6_1
md5: not found
*** Error code 127

Stop in /usr/ports/security/sudo.

Problem releated with some md5 control. Try to check what's wrong or try 
to get the pkg.

What is interesting is
./usr/sbin/sysctl: not found
/usr/ports/Mk/bsd.port.mk, line 797: warning: /usr/sbin/sysctl -n 
kern.osreldate returned non-zero status

why it's trying to search sysctl is such path?
Matteo, not aware of how to deal with this. Could you please be more 
specific? In case this may be related, I'm running 4.8 installed from the 
mini-iso and have never updated the ports collection. Am on dial up so it 
always seemed too duanting a task.

Marty
Marty Landman, Face 2 Interface Inc. 845-679-9387
Search  Sort Easily: http://face2interface.com/Products/FormATable.shtml
Web Installed Formmail: http://face2interface.com/formINSTal
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: About ports dist

2005-01-07 Thread albi
Martin Gonzalez wrote:
When I try to install the X.org distribution, it sends an error message that says it cannot find the packages/INDEX on 
the specified media. I checked on the CD 2, and there it is, the full 
ports collection, but the index file is named INDEX-5
instead of INDEX, so I think it might be the problem.
If someone knows how to install all ports from the CDs, can you tell me to this 
mail, I will be very thankful for it..!
if your machine is connected to the internet you can try :
cd /usr/ports ; make fetchindex
The second question is: when I execute 'Xorg' at the prompt, it starts the graphics display, but I have no windows nor desktops, 
nothing but the mouse pointer. Do I have to install something else ? (Maybe from ports collection - which one?)
try :  Xorg -configure
that should give you a temp. config-file to test, and if that is working
fine copy that config-file to /etc/X11/xorg.conf
(make sure you install a windowmanager (e.g. icewm, fluxbox) or a
desktop-environment like e.g. KDE, Gnome or xfce4)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: netstat odd behavior

2005-01-07 Thread Giorgos Keramidas
On 2005-01-07 15:32, [EMAIL PROTECTED] wrote:
On 7 Jan 2005 at 10:56, Jose Hidalgo Herrera wrote:
El vie, 07-01-2005 a las 09:06 -0300, [EMAIL PROTECTED] escribi?:
 
 Active Internet connections (including servers)
 Proto Recv-Q Send-Q  Local Address  Foreign Address(state)
 udp4   0  0  *.514  *.*
 Active UNIX domain sockets
 Address  Type   Recv-Q Send-QInode Conn Refs  Nextref Addr
 c38d01a4 stream  0  0 c3de8738000 
 /db/mysql/mysql.sock
 c38d1000 stream  0  0 c3883c60000 
 /var/run/devd.pipe
 c38d0ec4 dgram   0  0 c3883210000 
 /var/run/log
 

 I have ssh, sendmail, ftpd and mysql daemons running, LISTENing
 and WORKING.  Would anybody know why they are not showing on the
 output of netstat?

 What about
  netstat -anf inet

 Tried that before posting. this is what I get

 Active Internet connections (including servers)
 Proto Recv-Q Send-Q  Local Address  Foreign Address(state)
 udp4   0  0  *.514  *.*

Are you sure you don't have a kernel and userland that are out of
sync?  You _did_ update both as the instructions in src/UPDATING
suggest, right?

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


Re: IPFW and whois lookup

2005-01-07 Thread Nathan Kinkade
On Fri, Jan 07, 2005 at 10:23:16AM -0700, V Foulk wrote:
 Hello,
 
   I have recently setup IPFW on a test box, and
 found that (for the most part) it was pretty straight
 forward.  Every rule and service on the box seems to work
 great, except for one problem I haven't been able to track
 down.  Regardless of the settings, even when set to open as
 default with only the allow all from any to any rule, whois and
 hostname lookups fail.
 
   This problem prevented clamav from updating, and a whole 
 slew of other minor issues that pop up in the logs.  I was hoping
 someone may be able to point out something that I may have missed?
 
 When IPFW is enabled:
 When the service uses the local NS, a manual whois gives:
 whois: connect(): No route to host
 
 When the service uses the upstream NS, a manual whois gives:
 whois: com.whois-servers.net: hostname nor servname provided, or not known
 
 (NS as set in resolv.conf)
 
 The only way I can make the error 'go away' is to disable ipfw in rc.conf
 and reboot.
 
 I am certain that this is just a silly oversight on my part.
 The machine is running FreeBSD 5.2.1-RELEASE-p13, please let me know if
 there
 is any other information I can provide that will be useful. Thank you very
 much,
 in advance, for the help.
 
 VF

The output of `ipfw list` would be very helpful.

Nathan


pgpCxqlbD0lgz.pgp
Description: PGP signature


Re: openoffice on 5.3-RELEASE

2005-01-07 Thread nbco
On Friday 07 January 2005 17:56, albi wrote:
 Duane Winner wrote:
  We generally do a portupgrade -a to upgrade ports unless
  /usr/ports/UPDATING affects us. How can I get around the openoffice
  discrepency since a portupgrade -a will always try build it again
  and end up failing?
 a dirty solution is to press ctrl-c when OOo tries to build, i know
 from experience that portupgrade simply continues with the rest
 without any complaints :)

Alterntively, set openoffice to be held in pkgtools.conf 
in /usr/local/etc.  I have added the following line:  

HOLD_PKGS = ['openoffice-*']

This entry will prevent portupgrade attempting to upgrade the port.  

If you are using portmanager see this thread to see how to avoid 
portmanager attempting to upgrade a held port:
http://lists.freebsd.org/pipermail/freebsd-questions/2005-January/070055.html

Hope this helps
.nbco


 Portupgrade honours this setting.

 but i assume in the Makefile (in the OOo-portsdir) one can put an
 IGNORE somewhere

 ___
 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: netstat odd behavior

2005-01-07 Thread Nathan Kinkade
On Fri, Jan 07, 2005 at 03:32:47PM -0300, [EMAIL PROTECTED] wrote:

   El vie, 07-01-2005 a las 09:06 -0300, [EMAIL PROTECTED] escribió:
  
   Hello;
  
   On all installations of FreeBSD I´ve ever done in the past,
  
   netstat -an
  
   displays LISTENing servers and any tcp connection in any state.
  
   On the 5.3 I have installed here ( updated to RELENG_5_3 + 
   build/installworld ), this command only
   shows only this;
  
   
   Active Internet connections (including servers)
   Proto Recv-Q Send-Q  Local Address  Foreign Address
   (state)
   udp4   0  0  *.514  *.*
   Active UNIX domain sockets
   Address  Type   Recv-Q Send-QInode Conn Refs  Nextref Addr
   c38d01a4 stream  0  0 c3de8738000 
   /db/mysql/mysql.sock
   c38d1000 stream  0  0 c3883c60000 
   /var/run/devd.pipe
   c38d0ec4 dgram   0  0 c3883210000 
   /var/run/log
   
  
   I have ssh, sendmail, ftpd and mysql daemons running, LISTENing and 
   WORKING.
  
   Would anybody know why they are not showing on the output of netstat?
  
   Thanks,
  
 
  On 7 Jan 2005 at 10:56, Jose Hidalgo Herrera wrote:
  
  
  What about
   netstat -anf inet
 

 Tried that before posting. this is what I get
 
 Active Internet connections (including servers)
 Proto Recv-Q Send-Q  Local Address  Foreign Address(state)
 udp4   0  0  *.514  *.*
 

Try sockstat(1), take a look at the manpage, too.

Nathan


pgpNPu0Vu7yE1.pgp
Description: PGP signature


linux_base

2005-01-07 Thread Warner Joseph

Hi,

I'm running 4.8-RELEASE-p27 and had a question
regarding my current install of linux_base

#portupgrade -l  doesn't reveal this package needs upgrading
but portaudit -a says:

Affected package: linux_base-6.1_6
Type of problem: xpm -- image decoding vulnerabilities.
Reference:
http://www.FreeBSD.org/ports/portaudit/ef253f8b-0727-11d9-b45d-000c41e2cdad
.html

I've followed that url, googled and searched the -questions archive
but can't find any information regarding how to correct this.

Can anyone point me in the right direction?

Thanks

-Joe
 

---
This message and any included attachments are from Siemens Medical Solutions 
USA, Inc. and are intended only for the addressee(s).  
The information contained herein may include trade secrets or privileged or 
otherwise confidential information.  Unauthorized review, forwarding, printing, 
copying, distributing, or using such information is strictly prohibited and may 
be unlawful.  If you received this message in error, or have reason to believe 
you are not authorized to receive it, please promptly delete this message and 
notify the sender by e-mail with a copy to [EMAIL PROTECTED] 

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


Re: About ports dist

2005-01-07 Thread Kris Kennaway
On Sun, Nov 07, 2004 at 12:36:59PM -0600, Martin Gonzalez wrote:
 Hi..
 
 I have 2 very quick questions/comment about installation from the FreeBSD 
 CDs, and X-window:
 

 When I try to install the X.org distribution, it sends an error
 message that says it cannot find the packages/INDEX on the specified
 media. I checked on the CD 2, and there it is, the full ports
 collection, but the index file is named INDEX-5 instead of INDEX, so
 I think it might be the problem.

Looks like you're trying to install packages, not ports.  You forgot
to mention which ISO image you used (some don't have packages, and
there are only a handful of packages on the disc 1 image).  You also
forgot to mention which version of FreeBSD you're using.

Kris

P.S. Please wrap your lines at 70 characters so your emails may be easily read.


pgpEdi1V7SSNI.pgp
Description: PGP signature


Re: Question re: GCC on FreeBSD for AMD64

2005-01-07 Thread Kris Kennaway
On Thu, Jan 06, 2005 at 09:58:07PM +0300, alexei kozlov wrote:
 Hello, Gurus.
 
 My fellow asked me if GCC on FreeBSD for AMD64 supports 64bit memory 
 pointers. He means is it possible to allocate *very* big  (4GB and more) 
 chunks of storage?

This is a function of the FreeBSD kernel, not of the C compiler.  The
answer is 'yes'.

Kris


pgpmLXGMpW4wc.pgp
Description: PGP signature


Re: About ports dist

2005-01-07 Thread Kris Kennaway
On Fri, Jan 07, 2005 at 11:46:01AM -0800, Kris Kennaway wrote:
 On Sun, Nov 07, 2004 at 12:36:59PM -0600, Martin Gonzalez wrote:
  Hi..
  
  I have 2 very quick questions/comment about installation from the FreeBSD 
  CDs, and X-window:
  
 
  When I try to install the X.org distribution, it sends an error
  message that says it cannot find the packages/INDEX on the specified
  media. I checked on the CD 2, and there it is, the full ports
  collection, but the index file is named INDEX-5 instead of INDEX, so
  I think it might be the problem.
 
 Looks like you're trying to install packages, not ports.  You forgot
 to mention which ISO image you used (some don't have packages, and
 there are only a handful of packages on the disc 1 image).  You also
 forgot to mention which version of FreeBSD you're using.
 
 Kris
 
 P.S. Please wrap your lines at 70 characters so your emails may be easily 
 read.

P.P.S. Your clock is wrong.



pgp60spZgzhqy.pgp
Description: PGP signature


Re: netstat odd behavior

2005-01-07 Thread mario . lobo
That´s it !!

I´ve been having trouble with a sk0 gigabit ethernet and updated the kernel to 
5_CURRENT
to update it with jumbo frame support, But userland was updated to RELENG_5_3 
only !!

I knew about that but the system ran smooth after compiling the new kernel,
I did not think it would make a difference.

My mistake. Thanks for pointing it out, Giorgos.

--
   //|  //||
  // | // ||
-//--//---|| ARIO LOBO
//  //||
-
[EMAIL PROTECTED]
http://www.ipad.com.br


On 7 Jan 2005 at 21:26, Giorgos Keramidas wrote:

 Are you sure you don't have a kernel and userland that are out of
 sync?  You _did_ update both as the instructions in src/UPDATING
 suggest, right?

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


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


Re: linux_base

2005-01-07 Thread Kris Kennaway
On Fri, Jan 07, 2005 at 02:44:39PM -0500, Warner Joseph wrote:
 
 Hi,
 
 I'm running 4.8-RELEASE-p27 and had a question
 regarding my current install of linux_base
 
 #portupgrade -l  doesn't reveal this package needs upgrading
 but portaudit -a says:
 
 Affected package: linux_base-6.1_6
 Type of problem: xpm -- image decoding vulnerabilities.
 Reference:
 http://www.FreeBSD.org/ports/portaudit/ef253f8b-0727-11d9-b45d-000c41e2cdad
 .html
 
 I've followed that url, googled and searched the -questions archive
 but can't find any information regarding how to correct this.
 
 Can anyone point me in the right direction?

linux_base-6 will never have the security vulnerability fixed because
it's not supported by redhat.  linux_base contains redhat 8.x which is
also out of support, but does not currently have security problems.
It will be updated to something more modern after 4.11-RELEASE.

Kris



pgplwleXjssTm.pgp
Description: PGP signature


Re: Someone trying to break in.

2005-01-07 Thread Bill Moran
Sergey Zaharchenko [EMAIL PROTECTED] wrote:

 On Tue, Jan 04, 2005 at 10:06:39AM -0500,
  Bill Moran probably wrote:
  
  Over the holiday I replaced a server that appeared to have been cracked.
  Basically built a replacement with the same services in a sandbox, then
  swapped it with the old one.
  
  The new server seems to be secure, as we're not seeing the spam coming
  off it that the old one was generating, however, I'm seeing a lot of
  messages in the log files.  For example:
  
  Jan  4 07:15:13 mail su: _secure_path: cannot stat 
  /usr/sbin/nologin/.login_conf: Not a directory
 
 It looks like `/usr/sbin/nologin/' is someone's ``home directory'' and
 that someone is trying to su. /usr/sbin/nologin can't be a home
 directory, it must be the shell for some user who isn't supposed to log
 in. /nonexistent should be the home directory. It looks possible that
 your password file specifies /usr/sbin/nologin as a home directory and a
 valid shell for some system user. Maybe you omitted or added an extra
 `:'? Just a guess,

Thanks for the input, Sergey.  That's certainly what's happening.  For
some reason, certain user records are awry.

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


Re: openoffice on 5.3-RELEASE

2005-01-07 Thread Duane Winner

gustaaf wijnands wrote:
Just a couple more questions:
If I keep my ports tree cvsup'd every day, I'm going to have:
openoffice-1.1.3  needs updating (port has 1.1.3_1)
We generally do a portupgrade -a to upgrade ports unless 
/usr/ports/UPDATING affects us. How can I get around the openoffice 
discrepency since a portupgrade -a will always try build it again and 
end up failing?

portupgrade -a -x openoffice-1.1.3 ??
I must be losing it. I looked at the man page twice and didn't see that 
-x switch. Must be Friday or something.
Thanks -- that does it.

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


Re: make sudo failed

2005-01-07 Thread Joshua Lokken
On Fri, 07 Jan 2005 12:48:42 -0500, Marty Landman 
 
 
 # make build  make install  rehash  which sudo
 /usr/sbin/sysctl: not found
 /usr/ports/Mk/bsd.port.mk, line 797: warning: /usr/sbin/sysctl -n
 kern.osreldate returned non-zero status
  sudo-1.6.6.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
  Attempting to fetch from http://www.sudo.ws/sudo/dist/.
 fetch: http://www.sudo.ws/sudo/dist/sudo-1.6.6.tar.gz: Not Found
  Attempting to fetch from ftp://ftp.cs.colorado.edu/pub/sysadmin/sudo/.
 fetch: ftp://ftp.cs.colorado.edu/pub/sysadmin/sudo/sudo-1.6.6.tar.gz: File
 unavailable (e.g., file not found, no access)
  Attempting to fetch from ftp://ftp.stikman.com/pub/sudo/.
 Receiving sudo-1.6.6.tar.gz (333074 bytes): 100% (ETA 00:00)
 333074 bytes transferred in 112.4 seconds (2.89 kBps)
 ===  Extracting for sudo-1.6.6_1
 md5: not found
 *** Error code 127
 
 Stop in /usr/ports/security/sudo.
 
 

Marty, did you move /sbin back to its original place in the
file tree?


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


Re: openoffice on 5.3-RELEASE

2005-01-07 Thread Duane Winner

nbco wrote:
On Friday 07 January 2005 17:56, albi wrote:
 

Duane Winner wrote:
   

We generally do a portupgrade -a to upgrade ports unless
/usr/ports/UPDATING affects us. How can I get around the openoffice
discrepency since a portupgrade -a will always try build it again
and end up failing?
 

a dirty solution is to press ctrl-c when OOo tries to build, i know
from experience that portupgrade simply continues with the rest
without any complaints :)
   

Alterntively, set openoffice to be held in pkgtools.conf 
in /usr/local/etc.  I have added the following line:  

HOLD_PKGS = ['openoffice-*']
This entry will prevent portupgrade attempting to upgrade the port.  
 

Ooohh...I think I like this better than the '-x' switch. I'll have to 
give it a wirl.
Thanks,
DW

If you are using portmanager see this thread to see how to avoid 
portmanager attempting to upgrade a held port:
http://lists.freebsd.org/pipermail/freebsd-questions/2005-January/070055.html

Hope this helps
.nbco
 

Portupgrade honours this setting.
but i assume in the Makefile (in the OOo-portsdir) one can put an
IGNORE somewhere
___
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]
 

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


Re: openoffice on 5.3-RELEASE

2005-01-07 Thread Joshua Lokken
On Fri, 07 Jan 2005 14:58:22 -0500, Duane Winner [EMAIL PROTECTED] wrote:
 
 
 gustaaf wijnands wrote:
 
  Just a couple more questions:
  If I keep my ports tree cvsup'd every day, I'm going to have:
  openoffice-1.1.3  needs updating (port has 1.1.3_1)
 
  We generally do a portupgrade -a to upgrade ports unless
  /usr/ports/UPDATING affects us. How can I get around the openoffice
  discrepency since a portupgrade -a will always try build it again and
  end up failing?
 
 
  portupgrade -a -x openoffice-1.1.3 ??
 
 
 I must be losing it. I looked at the man page twice and didn't see that
 -x switch. Must be Friday or something.
 Thanks -- that does it.
 
 -DW

However, please note the response that mentions using 
HOLD_PKG in /usr/local/etc/pkgtools.conf; that'll save
you from having to use -x at all. 


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


Re: make sudo failed

2005-01-07 Thread Marty Landman
At 02:58 PM 1/7/2005, Joshua Lokken wrote:
On Fri, 07 Jan 2005 12:48:42 -0500, Marty Landman
 

 # make build  make install  rehash  which sudo
 /usr/sbin/sysctl: not found
 /usr/ports/Mk/bsd.port.mk, line 797: warning: /usr/sbin/sysctl -n
 kern.osreldate returned non-zero status
  sudo-1.6.6.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
  Attempting to fetch from http://www.sudo.ws/sudo/dist/.
 fetch: http://www.sudo.ws/sudo/dist/sudo-1.6.6.tar.gz: Not Found
  Attempting to fetch from ftp://ftp.cs.colorado.edu/pub/sysadmin/sudo/.
 fetch: ftp://ftp.cs.colorado.edu/pub/sysadmin/sudo/sudo-1.6.6.tar.gz: File
 unavailable (e.g., file not found, no access)
  Attempting to fetch from ftp://ftp.stikman.com/pub/sudo/.
 Receiving sudo-1.6.6.tar.gz (333074 bytes): 100% (ETA 00:00)
 333074 bytes transferred in 112.4 seconds (2.89 kBps)
 ===  Extracting for sudo-1.6.6_1
 md5: not found
 *** Error code 127

 Stop in /usr/ports/security/sudo.

 
Marty, did you move /sbin back to its original place in the
file tree?
Sure did.
# ls -l /
total 10863
-rw-r--r--   1 root  wheel  802 Apr  3  2003 .cshrc
-rw-r--r--   1 root  wheel  251 Apr  3  2003 .profile
-r--r--r--   1 root  wheel 4735 Apr  3  2003 COPYRIGHT
drwxr-xr-x   2 root  wheel 1024 Feb  9  2004 bin
drwxr-xr-x   3 root  wheel  512 Feb  9  2004 boot
drwxr-xr-x   2 root  wheel  512 Feb  9  2004 cdrom
lrwxr-xr-x   1 root  wheel   10 Feb  9  2004 compat - usr/compat
drwxr-xr-x   3 root  wheel17920 Feb 16  2004 dev
drwxr-xr-x   2 root  wheel  512 Feb  9  2004 dist
drwxr-xr-x  16 root  wheel 2048 Jun 16  2004 etc
lrwxrwxrwx   1 root  wheel9 Feb  9  2004 home - /usr/home
-r-xr-xr-x   1 root  wheel  2736474 Feb 18  2004 kernel
-r-xr-xr-x   1 root  wheel  4122347 Apr  3  2003 kernel.GENERIC
-r-xr-xr-x   1 root  wheel  4122347 Apr  3  2003 kernel.old
drwxr-xr-x   3 root  wheel  512 Feb  9  2004 mnt
drwxr-xr-x   2 root  wheel 4096 Feb 18  2004 modules
drwxr-xr-x   2 root  wheel 4096 Feb 18  2004 modules.old
dr-xr-xr-x   1 root  wheel  512 Jan  7 14:59 proc
lrwxr-xr-x   1 root  wheel9 Jan  7 12:31 root - /usr/root
drwxr-xr-x   3 root  wheel 4608 Jan  7 09:11 sbin
drwxr-xr-x   5 root  wheel 1024 Feb  9  2004 stand
lrwxr-xr-x   1 root  wheel   12 Feb 18  2004 sys - /usr/src/sys
drwxrwxrwt   9 root  wheel 1024 Jan  7 14:53 tmp
drwxr-xr-x  18 root  wheel  512 Jan  7 12:30 usr
drwxr-xr-x  21 root  wheel  512 Mar  1  2004 var
Not root though. Maybe I should put that back too and see if I can build again.
Marty
Marty Landman, Face 2 Interface Inc. 845-679-9387
Search  Sort Easily: http://face2interface.com/Products/FormATable.shtml
Web Installed Formmail: http://face2interface.com/formINSTal
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: linux_base

2005-01-07 Thread Warner Joseph

Thanks Kris, unless I've misunderstood...am I at risk
by using linux_base-6 and if so how can I correct this?

#portupgrade -rR linux_base doesn't do anything and
because of hardware limitations I can't upgrade to a major
release.

-Joe


#-Original Message-
#From: Kris Kennaway [mailto:[EMAIL PROTECTED]
#Sent: Friday, January 07, 2005 12:53 PM
#To: Warner Joseph
#Cc: 'freebsd-questions@freebsd.org'
#Subject: Re: linux_base
#
#
#On Fri, Jan 07, 2005 at 02:44:39PM -0500, Warner Joseph wrote:
# 
# Hi,
# 
# I'm running 4.8-RELEASE-p27 and had a question
# regarding my current install of linux_base
# 
# #portupgrade -l  doesn't reveal this package needs upgrading
# but portaudit -a says:
# 
# Affected package: linux_base-6.1_6
# Type of problem: xpm -- image decoding vulnerabilities.
# Reference:
# 
#http://www.FreeBSD.org/ports/portaudit/ef253f8b#-0727-11d9-b45d
#-000c41e2cdad
# .html
# 
# I've followed that url, googled and searched the -questions archive
# but can't find any information regarding how to correct this.
# 
# Can anyone point me in the right direction?
#
#linux_base-6 will never have the security vulnerability fixed because
#it's not supported by redhat.  linux_base contains redhat 8.x which is
#also out of support, but does not currently have security problems.
#It will be updated to something more modern after 4.11-RELEASE.
#
#Kris
#
#

---
This message and any included attachments are from Siemens Medical Solutions 
USA, Inc. and are intended only for the addressee(s).  
The information contained herein may include trade secrets or privileged or 
otherwise confidential information.  Unauthorized review, forwarding, printing, 
copying, distributing, or using such information is strictly prohibited and may 
be unlawful.  If you received this message in error, or have reason to believe 
you are not authorized to receive it, please promptly delete this message and 
notify the sender by e-mail with a copy to [EMAIL PROTECTED] 

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


Re: Able to mount samba but it's empty

2005-01-07 Thread Danny MacMillan
On Fri, Jan 07, 2005 at 04:44:02PM +0700, Supote Leelasupphakorn wrote:
 
 Hi all,
 
   I'm using 4.8-RELEASE-p15 and Samba-2.2.8a for mounting
 shared directory on Windows2000 (NTFS). So far the disk on
 Windows2000 is only 120 GB and mounting is successful.
 
   But after I changed a disk to 200GB, I can sucessfully mount
 both 120GB and 200GB (I mean no any error message are
 displayed) but I can't see any file in the mount point of 200GB
 disk. I googled for a while but no any answer useful.  Is there
 any problem with 200 GB disk on Samba-2.2.8 OR it's time to
 upgraded the Samba's version OR I missed something ?

Is the disk in the machine running Windows 2000?  If so, you will want
to ensure that you have enabled Big LBA support on the Windows side,
if you haven't already.  There's a 137GB barrier in Windows 2k that can
cause major data loss, as I learned the hard way.  I don't know if it
has any impact on Samba, but since the drives are on either side of the
barrier it's worth looking into.

http://support.microsoft.com/kb/305098/EN-US/

If you haven't enabled this yet, do it.  If you don't you will lose
data, you will lose data, you will lose data.  Even if you haven't
lost data yet, you will.  It might not make Samba work, but it will
make Windows 2000 work.

-- 
Danny

P.S.  I'm not kidding.  If you love your data (and who doesn't), go
enable 48 bit LBA.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: linux_base

2005-01-07 Thread Kris Kennaway
On Fri, Jan 07, 2005 at 03:03:54PM -0500, Warner Joseph wrote:
 
 Thanks Kris, unless I've misunderstood...am I at risk
 by using linux_base-6 and if so how can I correct this?

See the URL you gave me.  You have to switch to linux_base-8.  See
/usr/ports/UPDATING.

 #portupgrade -rR linux_base doesn't do anything and
 because of hardware limitations I can't upgrade to a major
 release.

You don't have to do anything to your FreeBSD release.

Kris


pgpnPDscU0TAQ.pgp
Description: PGP signature


[no subject]

2005-01-07 Thread Kiffin Gish
Does anyone know when Firebird 1.0 will be available as an official port? I
still seem to only be able to build an older 0.9x version.

-- 

Kiffin Rex Gish
Gouda, The Netherlands

 


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


  1   2   >