The FreeBSD Diary: 2005-12-18 - 2006-01-07

2006-01-08 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 

These are the articles posted during this period:

29-Dec : What RAID-1 setup should I use for FreeBSD 6.0?
 This is the desciption 
 http://freebsddiary.org/freebsd-6.0-disk-timings.php?2

28-Dec : FreeBSD 6.0-RC1 - yes, I know this is late
 The first step in cross-compiling
 http://freebsddiary.org/freebsd-6.0-rc1.php?2

22-Dec : Configuring IPsec on your XP Professional laptop
 You've done your FreeBSD, now do your XP 
 http://freebsddiary.org/ipsec-wireless-xp.php?2


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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


Re: Extremly interesting df output. Help, please.

2006-01-08 Thread Александр Деревянко


-Original Message-
From: Александр Деревянко [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Date: Mon, 02 Jan 2006 11:19:30 +0300
Subject: Extremly interesting df output. Help, please.

 
 Hello All !
 
 I'm using FreeBSD 5.4.
 
 Today i have received daily output from my home computer.
 That's it:
 
 Disk status:
 Filesystem  1K-blocksUsed  Avail Capacity  Mounted on
 /dev/ad0s1a253678   36946 19643816%/
 devfs   1   1  0   100%/dev
 /dev/ad0s1d   9206302 -17592178674642 1759218710 -207704820%/usr
 
 Immidiatly, i have connected to it and see the same numbers in df output.
 Yesterday output is OK.
 
 Yesterday the computer rebooted spontaneously, and processed with background 
 fsck.
 
 Does anybody have the same expirience?
 
 Best regards,
 Alexander.

At least one bug with similar symptoms was fixed in later branches of FreeBSD. 
 
Can you check whether this still happens on 6.0?

After reboot the df output returns to normal:
Filesystem  1K-blocksUsed   Avail Capacity  Mounted on
/dev/ad0s1a253678   35874  19751015%/
devfs   1   1   0   100%/dev
/dev/ad0s1d   9206302 7379230 109056887%/usr

So the problem is solved. I can't repeat it, so can't check if it happends 
in 6.0

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: freebsd.org email

2006-01-08 Thread Jonathan Chen
On Sat, Jan 07, 2006 at 03:16:33PM +0500, Imran Imtiaz wrote:
 
 Can I get an email address on @freebsd.org ?

Sure! You just need to submit enough good code of quality.
-- 
Jonathan Chen  |  To do is to be  -- Nietzsche
[EMAIL PROTECTED] |  To be is to do  -- Sartre 
   |  Scooby do be do -- Scooby
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


multi port modem cards for FreeBSD

2006-01-08 Thread Omer Faruk Sen
Hi, 

I will install a fax server using hylafax on FreeBSD. This fax server must 
handle at least 8 fax-modem attached to it. For this I think I need a serial 
port multiplier or PCI based fax-modem cards which has at least 8 ports 
fax-modem chip. For FreeBSD 6.0 which hardware do I have to use for not 
having any driver specific problems. Can you recommend me one that works 
with hylafax and FreeBSD? 

Any suggestions? 


---
Omer Faruk Sen
http://www.EnderUNIX.ORG
Software Development Team @ Turkey
http://www.Faruk.NET
For Public key: http://www.enderunix.org/ofsen/ofsen.asc
*** 


AcikAcademy published a Turkish TCP/IP Book
Acik Akademi'nin yeni kitabini duydunuz mu?
http://www.acikakademi.com/catalog/tcpip/ 



Life is trouble.. Only Death is not!
 -Alexis Zorba
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[2]: freebsd 6 - amount of total visible memory is decreasing constantly

2006-01-08 Thread Ilya E Veretenkin
 Problem: Total amount of visible memory is decreasing constantly
 [ ... ]
 As you can see, memory which was visible using top utility decreased
 from 3224 to 3195 Megabytes in less than 2 hours. And this process
 will continue to the point, where swapping begins.
 Server during this monitoring was running MySql4 + Apache1.3 under heavy
 load.

 Pay attention to sysctl kern.malloc or sysctl vm.zone periodicly, and see
 whether some part of the kernel is leaking memory.

All seems to be OK with 'sysctl kern.malloc' and 'sysctl vm.zone':
there are no any suspiciously high values. All of kern.malloc values
in MemUse field are =1024K. Only two: SWAP=2189K and devbuf=8003K are above 
1024K
limit(but this seems to be ok too)

What is the source of information which is used by 'top' utility for
displaying memory statistics? May be, if I look into this source, I
would probably get more clear picture of what is going on?

Here is the kern.malloc output:
kern.malloc:
Type  InUse MemUse HighUse Requests  Size(s)
linux10 1K   -   10  64
DEVFS 9 1K   -   10  16,256
 atkbddev 2 1K   -2  64
   DEVFS3   12131K   -  122  256
 nexusdev 2 1K   -2  16
   DEVFS1   11156K   -  111  512
 I/O APIC 3 3K   -3  512,2048
  USB32 5K   -   32  16,32,64,128,256,512
  memdesc 1 4K   -1  4096
   USBdev 3 2K   -9  16,512
VM pgdata 2   129K   -2  128
  entropy  102464K   - 1024  64
 PCI Link30 3K   -   30  16,128
  UMAHash 3   133K   -   15  512,1024,2048,4096
UFS mount1278K   -   12  512,2048,4096
  UFS dirhash   37886K   -  897  16,32,64,128,256,512,2048,4096
  pagedep10   130K   -13498  128
 inodedep94   536K   -   193143  256
   newblk 1 1K   -   998678  64,512
bmsafemap 9 1K   -23038  64
  allocdirect40 5K   -   721507  128
 indirdep 7 1K   -14771  64
   allocindir20 3K   -   277170  128
 freefrag 3 1K   -   469886  64
 freeblks15 4K   -58943  256
 freefile17 2K   -   113514  64
   diradd52 4K   -   120056  64
mkdir 0 0K   -  782  64
   dirrem16 1K   -   120272  64
newdirblk 0 0K   -  112  32
 savedino 0 0K   -65214  256
 p1003.1b 1 1K   -1  16
   NFS daemon 1 1K   -1  512
 syncache 112K   -1
hostcache 148K   -1
  IpFw/IpAcct 3 1K   -3  64,128
 in_multi 3 1K   -3  64
 routetbl   14867K   - 2489  32,64,128,256,512
   lo 1 1K   -1  32
   arpcom 2 1K   -2  32
clone 416K   -4  4096
ifnet 4 7K   -4  512,2048
   ifaddr27 8K   -   27  32,64,512,4096
  ether_multi12 1K   -   14  16,64
  BPF 3 1K   -3  128
mount81 9K   -  156  16,32,64,128,256,1024,2048
   vnodes 1 1K   -1  256
 VFS hash 1   512K   -1
cluster_save buffer 0 0K   -99819  64,128
 vfscache 1  1024K   -1
   BIO buffer 0 0K   - 2004  2048
  acpidev74 5K   -   74  64
   soname 6 1K   -  6490905  16,32,128
  pcb20 9K   - 3714  16,32,64,128,4096
 mbuf_tag 0 0K   -156956650  32,64
 ptys 7 2K   -7  256
 ttys  1057   155K   -   231047  128,1024
  shm 116K   -1
  sem 4 8K   -4  1024,2048,4096
  msg 430K   -4  2048,4096
 ioctlops 0 0K   -   964986  16,32,64,256,512,1024,2048,4096
  iov23 3K   - 96143176  16,32,64,128,256
   Unitno12 1K   -  2749506  32,64
   turnstiles   997   125K   - 2437  128
taskqueue 6 2K   -6  256
   CAM periph 1 1K   -1  256
 sleep queues   99763K   - 2437  64
 sbuf 0 0K   - 3588  16,32,64,128,256,512,1024,2048,4096
  CAM SIM 1 1K   -1  128
 rman   17322K   -  604  16,128
CAM queue 3 1K   -3  16
  acpisem23 3K   -   23  128
 kobj   177   708K   -  220  4096
CAM dev queue 1 1K   -1  128
 eventhandler31 4K   -   31  64,256
  devstat2245K   -   22  32,4096

Re: Spamcop listed - need help to diagnose why

2006-01-08 Thread Ceri Davies


On 8 Jan 2006, at 05:03, Ted Mittelstaedt wrote:





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Robert Slade
Sent: Friday, January 06, 2006 11:24 PM
To: David Banning
Cc: [EMAIL PROTECTED]
Subject: Re: Spamcop listed - need help to diagnose why



There is your problem TMDA is most likely the cause. Such  
programmes are
in effect adding to the spam problem. Nearly all spam has a forged  
from

address and all programmes such as TMDA do is send a challenge to an
innocent 3rd party. Whist it looks like it reduces your spam all  
you do
is in effect spam someone else. When your e-mail address has been  
used
in a spam run by a spammer and you start getting 10s of these  
challenge

an hour it is quite easy to report 1 my accident. If you look at the
Spamcop reporting page you will see a warning about just this  
situation.


I suppose that the real answer is to stop compounding the spam  
problem

and use a combination of spamassassin and block lists.

BTW I make it a point never to respond to challenges.



Ditto, and for the same reasons.  I've removed David from the cc
list on this for that reason as well.

Also we need to be aware of another trick that spammers have
figured out, that applies to anyone running multiple MX records on
a domain (I don't know if David is in that situation)

Normally if a domain has a single mailserver processing incoming
mail, there's a single MX record pointing to a single machine.   But
in many cases it's desirable to relay mail through a prefilter system
before it gets to the actual mailserver.  In those cases a common
trick is to block the highest priority MX host off with an access
list.  Senders try the highest priority, it fails, they then go to
the next highest priority host which is the relay host.  That host
gets it, does it's thing, then tries to send it to the highest
priority server which should work since the access list permits that
server.  This technique has been mentioned in the sendmail book
among others.


Yes, but that is actually massively rude.  The hosts listed in a  
domain's MX record are supposed to be hosts willing to exchange mail  
for that domain, so listing ones that are not it just wasting  
everyone's time and resources.


If you want to have such a prefilter system, there is no need to list  
the end system in the MX records; just use an internal route to do that.


Ceri



PGP.sig
Description: This is a digitally signed message part


saving wireless setting

2006-01-08 Thread Imran Imtiaz
How can I save the setting of my wireless lan card e.g ip, ssid etc cause every 
time i reboot my system i have to reconfigure my system.

regards,
Imran Imtiaz

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


Re: good blogging port?

2006-01-08 Thread Reko Turja
- Original Message - 
From: Derek Musselmann [EMAIL PROTECTED]

To: [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Saturday, January 07, 2006 8:47 PM
Subject: Re: good blogging port?


The best blogging software for php/pgsql in my opinion is 
Serendipity.  It has a great plugin architecture and works very well.




Serendipidy seconded. Additional bonus is keeping the system completely 
Stallman-free ;)


-Reko 


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


Re: internet on two lan cards

2006-01-08 Thread Lowell Gilbert
Imran Imtiaz [EMAIL PROTECTED] writes:

 I have three lan cards on my system on which two lan cards have the
 alive ip now what i want is that how can i gave them different
 gateways cause i want some traffic to be passed from one lan card
 (one internet connection of isp) and some other traffic to be passed
 from other lan card (internet of other companies isp) how is it
 possibe this is some sort of load balancing ?

There are many approaches; what applies to your case depends on your
specific requirements.  Such things have been discussed heavily; see
the archives of the mailing list.  If it handles your situation, just
setting routes for specific destinations is the easiest solution.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: turning off IPv6 in kernel

2006-01-08 Thread Lowell Gilbert
fbsd_user [EMAIL PROTECTED] writes:

 if I comment out the ipv6net statement in the kernel source and recompile,
 how do I tell ipfilter and the ports not to include ipv6 support?

make.conf(5) has a knob for this, but individual ports may have their
own separate knobs.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: good blogging port?

2006-01-08 Thread dick hoogendijk
On Sat, 07 Jan 2006 19:44:29 +0100
Kristian Vaaf [EMAIL PROTECTED] wrote:

 www.textpattern.com -- by far the best CMS.

True! But as you may well know, textpattern is far more than blog
software. It's what the name says: content management system. It does a
great job though. I dropped wordpress for it ;-)

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.0 ++ The Power to Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Sparc vs i386 architecture

2006-01-08 Thread Danial Thom


--- Robert Slade [EMAIL PROTECTED] wrote:

 On Sun, 2006-01-08 at 04:51, Ted Mittelstaedt
 wrote:
  What machine code exploits currently exist
 for FreeBSD on the i386
  other than the F00F bug, which has already
 been patched out?
  I wasn't aware of any.
  
  Ted
  
  -Original Message-
  From: [EMAIL PROTECTED]
 
 [mailto:[EMAIL PROTECTED]
 Behalf Of Michael
  Bernstein
  Sent: Saturday, January 07, 2006 1:53 PM
  To: Robert Slade; jasonharback
  Cc: freebsd-questions@freebsd.org
  Subject: Sparc vs i386 architecture
  
  
  Hi group, I was just wondering if there's an
 advantage to
  running FreeBSD on
  a SPARC than compared with a regular PC.
 Obviously the architecture is
  different (CISC vs RISC). How ever you can
 purchase a higher
  powered PC box
  for less money than it would cost for a
 SPARC.
  
  The main advantage I'm seeing here is for
 security. It's going
  to be harder
  to break into a SPARC running FreeBSD than
 an Intel/Amd running
  FreeBSD b/c
  most machine code exploits will be for the
 i386 type architecture.
  
  Any insights are much appreciated.
  
  Michael
  
  
  - Original Message -
  From: Robert Slade [EMAIL PROTECTED]
  To: jasonharback
 [EMAIL PROTECTED]
  Cc: freebsd-questions@freebsd.org
  Sent: Saturday, January 07, 2006 2:43 AM
  Subject: Re: Sparc dual boot problems
  
  
   On Sat, 2006-01-07 at 03:47, jasonharback
 wrote:
Here's the situation
   
   
   
The machine is a SUN ULTRA 5 and I have
 4 IDE devices. I am
  new to SUN
  hardware I know much more about PC's.  The
 first device primary
  master is
  the cdrom which Solaris 10 and FreeBSD were
 successfully installed from.
  Currently Solaris 10 which is the primary
 slave is the default
  boot device.
  FreeBSD is installed on the primary slave
 drive.  I am used to
  the FreeBSD
  install on a PC and during that install it
 gave time for configuring the
  boot loader but I can't find it on the
 recent Sparc FreeBSD
  edition?  During
  the partition process it says I will have
 the option to
  configure the boot
  loader latter.  Right now I can't boot
 FreeBSD and I have no idea how to
  configure this machine to make it dual boot?
  I would like to
  have Solaris
  10 as the primary O/S, FreeBSD as the
 secondary and Sparc Linux
  on the third
  hd.
   
   
   
Can you please help?
   
Jason Harback
  
   Jason,
  
   You don't need to use a boot loader with
 the U5, just boot to
  the promt
   (Stop A). Then just type boot followed by
 the alias of the slice you
   want to boot.
  
   Rob
  
 
 Ted,
 
 Good point. However, in my case I'm using the
 sparc (its a U10) because
 it there. I originally got it as I needed to
 find out about
 Solaris/Sparc. It was lying in the back of a
 cupboard so when I started
 to investigate replacements for a domain based
 on W2k using FBSD I
 dusted it off and I'm using it for the BDC. The
 only thing I really
 noticed is the disk(s) are slow compared (SUN's
 IDE) to the PDC which
 has a fast scsi setup. Given the choice I think
 I would still go for a
 good sparc from Ebay over a i386.
 
 Rob

Frankly, people who spend $9000. worth of time
dicking around with some old piece of junk to
avoid buying a $400. computer crack me up. :)



__ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 

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


Re: Programming Book(s)

2006-01-08 Thread JD Arnold

Giorgos Keramidas wrote:

On 2006-01-07 15:25, JD Arnold [EMAIL PROTECTED] wrote:

Danial Thom wrote:

--- Nicolas Blais [EMAIL PROTECTED] wrote:

On January 2, 2006 04:52 pm, Sean wrote:

Sean wrote:

Looking for recommendations on any Unix programming books.  I have
been out of things for a while so I would put my skill level back
to the beginning.

I forgot to mention that I wish to work withC/C++

There's a free C++ book which is great:
http://mindview.net/Books/TICPP/ThinkingInCPP2e.html
You can also buy the hardcopy on Amazon.

I'd recommend learning C before C++. In order to be an effective unix
programmer you must master the C language, as you'll have to examine
and modify code in C to do anything substantial.  Virtually all major
programs and kernels are 'C' based.

I think, in general, this is wrong.


I think, in general, this is right.


And I think many professionals also feel that learning C++ is the
way to go.  If you just learning, you might as well start with
C++. For many good reasons, see Stroustrup's answer himself:

http://public.research.att.com/~bs/learn.html


Which essentially boils down to learn C++ it's better and easier to
learn.  I very much disagree, but this is another flamewar, I guess.

Danial is right that there are many large programs out there that are
written in C, not C++.  This means that just learning C++ and hoping to
cope with it when an 11,000,000-line monster, written in plain C,
comes along is just not going to cut it.

Thus, learn both is a good answer, but I understand that this may be
quite impossible some times.


Jeez, you make it sound like the difference between C and C++ is like
the difference between learning English or learning Russian. I find it
difficult, if not impossible. to believe that someone who knew C++ would
be in any way shape or form be forced to cope with any gazillion line
C program. They'd probably be itching to do it better and more safely,
but if they were even the slightest bit proficient in C++, they'd know
pretty quickly what was going on in any C program. And the opposite is
absolutely not true.

--
Jonathan Arnold (mailto:[EMAIL PROTECTED])
Daemon Dancing in the Dark, a FreeBSD weblog:
   http://freebsd.amazingdev.com/blog/

UNIX is user-friendly. It's just a bit picky about who its friends are.

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


Re: Programming Book(s)

2006-01-08 Thread JD Arnold

Danial Thom wrote:


--- Michael P. Soulier
[EMAIL PROTECTED] wrote:


On 07/01/06 Jorge Biquez said:


Hello all. Very interesting comments and

suggestions.

I hope my question does not seems too off
topic. Do you think the path to 

follow for developing applications for the
new PDA, Smartphones, Ipaq and 

similar devices it is the same? C or C++? I
have some friends that said it 

is the only way but I am not sure of that.

Any experiences or comments.?

With the kind of hardware that can be put into
a device like that these days,
it's hard to tell, but I tend to see C/C++.
Occasionally I see Java, sometimes
Python. 


There is no rule for this, you simply use the
right tool for the job.



Am I the only one that has noticed that virtually
everything written in Java sucks? I don't
understand why its used. Is having a program that
sucks on multiple platforms really an advantage
over having a program that is good on 1 or 2
platforms? I really don't get it.


You should read Joel Spotsky's diatribe against Java Schools, where
many colleges are stooping to teaching in Java, leaving most students
woefully unprepared for the real world, and making it hard for someone
to separate the wheat from the chaff when it comes to hiring:

http://www.joelonsoftware.com/articles/ThePerilsofJavaSchools.html

--
Jonathan Arnold (mailto:[EMAIL PROTECTED])
Daemon Dancing in the Dark, a FreeBSD weblog:
   http://freebsd.amazingdev.com/blog/

UNIX is user-friendly. It's just a bit picky about who its friends are.

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


Re: multi port modem cards for FreeBSD

2006-01-08 Thread Wojciech Puchar
I will install a fax server using hylafax on FreeBSD. This fax server must 
handle at least 8 fax-modem attached to it. For this I think I need a serial 
port multiplier or PCI based fax-modem cards which has at least 8 ports 
fax-modem chip. For FreeBSD 6.0 which hardware do I have to use for not 
having any driver specific problems. Can you recommend me one that works with 
hylafax and FreeBSD? 
Any suggestions?


cheap multiport PCI cards works fine, at least for me (i have TITAN 800H).

you may consider buying USB-RS232 or USB-doubleRS232 converters, or even 
better - USB modems.


make sure your USB modem is Hayes compatible which simply means that 
behaves like serial modem with AT* commands

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


Re: FreeBSD ftpd Windows compatibility

2006-01-08 Thread Wojciech Puchar

are there any solutions?


As this is a FreeBSD list, you may not get useful answers to
questions about how to use various third-party Windows
applications. Maybe asking the companies that sold you the


i do not want to get answer about windows.

i just would like what's the difference between FreeBSD ftpd and NetBSD 
ftpd and proftpd that only first make that problem.



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


Re: Sparc vs i386 architecture

2006-01-08 Thread Wojciech Puchar

Hi group, I was just wondering if there's an advantage to running FreeBSD on
a SPARC than compared with a regular PC. Obviously the architecture is
different (CISC vs RISC). How ever you can purchase a higher powered PC box
for less money than it would cost for a SPARC.


user Opteron/Athlon64 - better than both :)

AMD made RISC-like architecture that just runs i386-like code (i386+more 
registers and few extra instructions, while lots of mostly-unused 
instructions emulated).


possible latest SUN processor may be comparable in speed at 100 times 
higher price :)


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


Re: Sparc vs i386 architecture

2006-01-08 Thread Gerard Seibert
Danial Thom [EMAIL PROTECTED]

 Frankly, people who spend $9000. worth of time
 dicking around with some old piece of junk to
 avoid buying a $400. computer crack me up. :)

Yes, it is amassing. I have a friend who has spent thousands of dollars
keeping his old car running. He could have purchased a new one with a
new warranty, etc. and have saved all that money, but he refused. For
some individuals, the challenge is the real thrill that they crave.

-- 
Gerard Seibert
[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: Sparc vs i386 architecture

2006-01-08 Thread Wojciech Puchar


Yes, it is amassing. I have a friend who has spent thousands of dollars
keeping his old car running. He could have purchased a new one with a
new warranty, etc. and have saved all that money, but he refused. For
some individuals, the challenge is the real thrill that they crave.


and SUN itself sells AMD64 based machines with their solaris. Of course 
they won't say Yes our SPARC processor isn't worth of buying and 
producing, because AMD made it better and much cheaper

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


Which is the best open source C/C++ IDE out there?

2006-01-08 Thread Kiffin Gish
I've played around with Anjuta and Code::Blocks and was wondering what
is the preferred open source C/C++ IDE available for advanced users.

Pros and cons etc. would be greatly appreciated.

-- 
Kiffin Gish [EMAIL PROTECTED]

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


rshd, rlogind, .rhosts question

2006-01-08 Thread Wojciech Puchar

i use this widely with NetBSD and now try with FreeBSD

rlogin/rlogind works the same - all OK. if host is entered in .rhosts then 
it logs in without password


rsh -l login host command worked fine too in NetBSD same way - no asking 
for password if .rhosts consist of my host and user name.


in FreeBSD rsh doesn't work that way, always ask for password.

what's the difference? how to fix it?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Server vendor specific mailing lists ...

2006-01-08 Thread Chuck Swiger

Marc G. Fournier wrote:
Not sure who best to send this to, but figured I'd send it publicly to 
see also if others think this idea might have merit ...


Basically, I'm just about to take possession of my first HP server ... 
my biggest 'fear' is that HP doesn't support FreeBSD, but from posts 
I've seen here, that shouldn't be a problem ... what I'd love to see is 
a 'vendor specific' mailing list where ppl can more easily tap others 
brains for their experiences ... a FreeBSD user support group for 
{IBM,HP,Dell} servers, that a FreeBSD user can turn to knowing that 
others on that list are using their vendor of choice for their servers 
...


FreeBSD attempts to support all reasonably functional hardware; there isn't a 
great deal of difference between a Dell and an HP except for which RAID system 
and NIC they come with.


You might find that mentioning the specific model you have would produce more 
useful feedback.  You might also find asking the freebsd-isp list would produce 
responses more oriented towards people rackrounting and using LOM/remote 
management tools...


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


Re: rshd, rlogind, .rhosts question

2006-01-08 Thread Chuck Swiger

Wojciech Puchar wrote:

i use this widely with NetBSD and now try with FreeBSD

rlogin/rlogind works the same - all OK. if host is entered in .rhosts 
then it logs in without password


rsh -l login host command worked fine too in NetBSD same way - no asking 
for password if .rhosts consist of my host and user name.


in FreeBSD rsh doesn't work that way, always ask for password.

what's the difference? how to fix it?


FreeBSD's rsh may really be ssh?  In any event, use ssh-keygen to set up some 
keys, and copy them to authorized_keys, and use that to permit password-less 
login between machines securely.


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


Re: Which is the best open source C/C++ IDE out there?

2006-01-08 Thread Ross Lonstein
On Sun, Jan 08, 2006 at 04:43:49PM +0100, Kiffin Gish wrote:
 I've played around with Anjuta and Code::Blocks and was wondering what
 is the preferred open source C/C++ IDE available for advanced users.

*cough* xemacs *cough*

 Pros and cons etc. would be greatly appreciated.

Flame away :)

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


Re: hyperactive dhclient?

2006-01-08 Thread Lowell Gilbert
Robert Huff [EMAIL PROTECTED] writes:

   Normally, I expect dhclient to run at startup and then
 disappear into the background.
   Today - in the process of diagnosing other troubles - I ran
 into this from top:
 
 last pid: 48344;  load averages:  3.30,  2.85,  2.46up 0+19:50:53  
 14:17:04
 127 processes: 3 running, 122 sleeping, 1 zombie, 1 lock
 CPU states: 42.4% user, 12.5% nice, 42.4% system,  2.7% interrupt,  0.0% idle
 Mem: 146M Active, 22M Inact, 100M Wired, 2560K Cache, 60M Buf, 222M Free
 Swap: 2048M Total, 310M Used, 1738M Free, 15% Inuse, 156K In
 
   PID USERNAMETHR PRI NICE   SIZERES STATETIME   WCPU COMMAND
   226 _dhcp 1 1110  1528K   268K *Giant  31:04 12.74% dhclient
 
 
   Now I assume *Giant means the Giant Lock ... which is another
 thing I've never seen before.  Not for dhclient, and not for
 anything else.

I don't think that tells you much other than that dhclient is waiting
to acquire the giant lock.  Which is probably for access to the
network card -- my guess would be that you are using a NIC that hasn't
been rewritten for fine-grained locking.

   Gut reaction says this is not a good thing.  On the other hand
 my gut reaction has often been wrong.  Is there a legitimate reason
 for this much activity?  If not, how do I figure out what's broken?
   (I'm running
 
 FreeBSD 7.0-CURRENT #0: Wed Jan  4 13:41:21 EST 20
 
   but this is as much a question about dhcp as it is about
 any particular version.)

Hard to say.  I'd start by looking at the traffic it's sending and
receiving.  A clue is likely to turn up there...

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which is the best open source C/C++ IDE out there?

2006-01-08 Thread Michael P. Soulier
On 08/01/06 Ross Lonstein said:

 *cough* xemacs *cough*

Great OS, but he wanted an editor. ;-)

 Flame away :)

Hey, you asked for it. :)

Mike
-- 
Michael P. Soulier [EMAIL PROTECTED]
Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction.
--Albert Einstein


pgpeB1YkU9K3G.pgp
Description: PGP signature


premission denied executing a script

2006-01-08 Thread RJ
Hi,
  
   I'm testing a program that wasn't installed from ports, Xweb from 
sourceforge. Anyway, whenever I try to execute the script using /bin, ./bin,  
/full path/bin I get permission denied even if I chown -R root:wheel. 

   Where or, does the system log what the script is trying to do? I can't find 
anything in my error logs.

  Regards   No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.15/223 - Release Date: 06/01/2006

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

Re: Which is the best open source C/C++ IDE out there?

2006-01-08 Thread Kiffin Gish
On Sun, 2006-01-08 at 12:26 -0500, Michael P. Soulier wrote:
 On 08/01/06 Ross Lonstein said:
 
  *cough* xemacs *cough*
 
 Great OS, but he wanted an editor. ;-)
 
  Flame away :)
 
 Hey, you asked for it. :)
 
 Mike

Yes please: an editor plus integrated compile/build and debugger.

-- 
Kiffin Gish [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: premission denied executing a script

2006-01-08 Thread Ceri Davies


On 8 Jan 2006, at 17:09, RJ wrote:


Hi,

   I'm testing a program that wasn't installed from ports, Xweb  
from sourceforge. Anyway, whenever I try to execute the script  
using /bin, ./bin,  /full path/bin I get permission denied even if  
I chown -R root:wheel.


The script probably doesn't have the execute bit set: try chmod +x  
script.sh or whatever.


Ceri


PGP.sig
Description: This is a digitally signed message part


Re: rshd, rlogind, .rhosts question

2006-01-08 Thread Wojciech Puchar


what's the difference? how to fix it?


FreeBSD's rsh may really be ssh?  In any event, use ssh-keygen to set up some 
keys, and copy them to authorized_keys, and use that to permit password-less 
login between machines securely.

NO I MEAN RSH not ssh. and i DO use rsh/rlogin not ssh

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


Re: premission denied executing a script

2006-01-08 Thread RJ
Thanks Ceri but, it didn't solve my problem.
The script starts with #!/usr/src/bin/sh and I've tried changing it to
#!/bin/sh (no quotes). The end result is still permission denied.

 Does the system log what the script is trying to do? I can't find anything
so far.


- Original Message - 
From: Ceri Davies [EMAIL PROTECTED]
To: RJ [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Sunday, January 08, 2006 12:51 PM
Subject: Re: premission denied executing a script




-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.15/223 - Release Date: 06/01/2006

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


Re: Which is the best open source C/C++ IDE out there?

2006-01-08 Thread Frank Staals

Kiffin Gish wrote:


I've played around with Anjuta and Code::Blocks and was wondering what
is the preferred open source C/C++ IDE available for advanced users.

Pros and cons etc. would be greatly appreciated.

 

What would be the best IDE can I nor anybody else on this list tell you, 
it's a matter of taste. Anyway: I think anjuta is a realy nice IDE, it 
has a lot of features and it runs pretty fast, so that would be my tip. 
You can also try Eclipse + CDT plugin, which also seems to be a great 
developement tool, I haven't used the CDT plugin, but I'm using eclipse 
for java and it works realy great, allthough Eclipse does require a fast 
computer.


Good luck finding an IDE which YOU like,

--
-Frank Staals


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


Re: pkg_add question

2006-01-08 Thread László Nagy

Andrew P. wrote:


On 1/5/06, László Nagy [EMAIL PROTECTED] wrote:
 


 Hello All,

I tried to install the Xorg server and xfce4 from the binary
distribution, using

pkg_add -r

I could setup the Xorg server, but I cannot use xfce. When I run

startxfce4

then I get the following message:

/libexec/ld-elf.so.1: Shared object libobject-2.0.so.0 not found,
required by xfce4-sesion.

I read somewhere that I need to update glib. But I cannot do this with
pkg_add.

pkg_add -r glib

tells me that glib (or an older version of it) is already installed. Now
I'm trying to upgrade glib with

portupgrade -r glib

and probably it will work. But it will take a long time to recompile
every package that I have in binary format. The big advantage of using
pkg_add is that I do not need to recompile everything from the ports
tree. I have a slow machine and limited disk space. But it looks like I
have no choice. Upgrading glib from the ports will cause many packages
to be downloaded and recompiled from source. I could not find any way to
update my packages in binary form. If there is a way, please help me
finding it.

Thanks,

  Les

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

   



portupgrade -PP will only use binary packages. Try
portupagrade -aPP
 


Whew! :-) You are my man!
I'm going to use portupgrade instead of pkg_add, from this point. :-)
Thank you!

  Les


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


dns lookups lagging server

2006-01-08 Thread Steve

Hello,

I've been running FreeBSD 5.3 on an Intel Celeron server at home for about 
a year flawlessly.  The server is behind a linksys router on a Speakeasy 
DSL connection.  The server is used for internal network backups and do a 
small amount of web/email hosting.  Just yesterday afternoon however, when 
I tried to ssh into the box from the private side of the network, the 
connection timed out.  Several times.  Out of curiosity I tried to ftp to 
the box and that connection timed out as well.  Apache was running and the 
box still served webpages, but it was extremely slow - on the order of 
minutes to process and return even simple static pages.  The only thing 
that wasn't laggy and seemd to work okay was email and samba.


I hooked up a monitor and keyboard to the server and was able to log 
in.  top, ps and lsof commands didn't show anything out of the ordinary 
with the box and it seemed quiet normal.  I tried to establish an ssh 
session, which worked after a long delay.


So all the internet services setup on the box were running, just very slow, 
to the point where connections would timeout.


Eventually, I turned off dns lookup in sshd_config.  When I tried a ssh 
session after doing that, it worked right away.  I turned off dns lookup 
related commands in apache and proftpd and those services responded 
normally again (no significant lag or connection timeout errors).


So from the actions I took, it seems like there is a problem with the 
various services trying to do dns look ups on users who try to connect to 
the box somehow.  Since the problem started with no apparent involvement on 
my part (I had neither installed or uninstalled any applications, etc.), 
should I assume there is a dns server problem with my ISP?  The desktops 
here at home don't have a problem with dns themselves - it just seems to be 
the FreeBSD server.


What else should I be doing to diagnose the problem?

Steve Bopple
www.digitalbluesky.net 



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


Userland PPP MSS miscalculation?

2006-01-08 Thread Steve Bernacki
I think that I've stumbled upon a miscalculation that userland-PPP makes
when mssfixup is enabled and I wanted to run it by a larger audience
before I submitted a problem report.

By default, FreeBSD calculates the TCP MSS value of a new TCP connection by
taking the MTU of the egress interface and subtracting 40 -- 20 for ip
headers, and 20 for tcp headers.  Thus, A TCP SYN packet exiting an
interface with an MTU of 1500 will have an MSS of 1460.  Well behaved TCP
implementations seem to know that MSS is a value that does NOT include any
TCP options; the number of bytes that TCP options consume are effectively
subtracted from the agreed-upon MSS value.  So, for a full packet
(1500mtu/1460mss) with 12 bytes of TCP options, the maximum data payload
size is 1448.  1448 (payload) + 12 (TCP options) + 20 (TCP headers) + 20 (IP
headers) = 1500.

In userland-PPP, the MSS value of an outgoing TCP SYN packet is calculated
as such:

tcpmss.c: line 73:  [tcpmss.c,v 1.7.2.1]
#define MAXMSS(mtu) ((mtu) - sizeof(struct ip) - sizeof(struct tcphdr) - 12)

A change was made on 6/29/2004 to tcpmss.c to subtract 12 from the MAXMSS
calculation (See 
http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/ppp/tcpmss.c.diff?r1=1.6r2=1.7f=h.
According to the PR report that caused the change (bin/32717), this was done
to pad additional space for TCP options that might be present.  The author,
Koji Mori, presents a test case that involves connecting to www.netbsd.org,
but I suspect that the bug was actually in NetBSD's MSS calculation,
although I've not done any research to see if this is the case.

By removing the -12 from the MAXMSS calculation and recompiling ppp,
outgoing SYN packets on my PPPoE-connected system now have an MSS value of
1452, which works perfectly well.  With the -12 included, the MSS is
calculated as 1440.  This works perfectly well of course, but it wastes 12
extra bytes that could be included in a packet's payload.

Am I missing something here, or is my evaluation correct?  If it is correct,
I'll go ahead and submit a PR to revert the -12 change.

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


Re: Which is the best open source C/C++ IDE out there?

2006-01-08 Thread Luke Bakken
   *cough* xemacs *cough*
 
  Great OS, but he wanted an editor. ;-)
 
   Flame away :)
 
  Hey, you asked for it. :)
 
  Mike

 Yes please: an editor plus integrated compile/build and debugger.

vim, emacs + make + gcc is all you need.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem installing gmake

2006-01-08 Thread apix
Hello.

While installing qmake ( dependancy for gcc-3.4 ) the make exited with
an error while compiling the file glob.c in the make
/usr/ports/devel/gmake/work/make-3.80/glob derectory.

The output form the make, including the error is:

if cc -DHAVE_CONFIG_H -I. -I. -I..-I/usr/local/include  -O2 -pipe
-finline-functions -fmove-all-movables  -frename-registers
-fomit-frame-pointer -W -Wall -ansi -pedantic -Wbad-function-cast
-Wcast-align  -Wcast-qual -Wchar-subscripts -Winline 
-Wmissing-prototypes -Wnested-externs -Wpointer-arith 
-Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings
-march=pentium4 -MT glob.o -MD -MP -MF .deps/glob.Tpo  -c -o glob.o
`test -f 'glob.c' || echo './'`glob.c;  then mv .deps/glob.Tpo
.deps/glob.Po;  else rm -f .deps/glob.Tpo; exit 1;  fi
glob.c:195: warning: function declaration isn't a prototype
glob.c:287: warning: redundant redeclaration of 'getlogin'
/usr/include/unistd.h:342: warning: previous declaration of 'getlogin' was here
glob.c:294: error: syntax error before const
glob.c:315: error: syntax error before const
glob.c: In function `glob':
glob.c:395: warning: ISO C90 forbids variable-size array `onealt'
glob.c:500: warning: comparison between signed and unsigned
glob.c:853: warning: implicit declaration of function `__glob_pattern_p'
glob.c:853: warning: nested extern declaration of `__glob_pattern_p'
glob.c:871: warning: comparison between signed and unsigned
glob.c:922: warning: comparison between signed and unsigned
glob.c:949: warning: comparison between signed and unsigned
glob.c:1011: warning: comparison between signed and unsigned
glob.c:1029: warning: comparison between signed and unsigned
glob.c:1052: warning: comparison between signed and unsigned
glob.c: In function `globfree':
glob.c:1072: warning: comparison between signed and unsigned
glob.c: At top level:
glob.c:1173: warning: function declaration isn't a prototype
glob.c: In function `glob_in_dir':
glob.c:1412: warning: declaration of 'save' shadows a previous local
glob.c:1231: warning: shadowed declaration is here
*** Error code 1

I have updated my port tree with the latest snapshot. Any ideas ???
--
  Ack and you shall receive.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: premission denied executing a script

2006-01-08 Thread Ceri Davies
On Sun, Jan 08, 2006 at 01:11:07PM -0500, RJ wrote:
 Thanks Ceri but, it didn't solve my problem.
 The script starts with #!/usr/src/bin/sh and I've tried changing it to
 #!/bin/sh (no quotes). The end result is still permission denied.
 
  Does the system log what the script is trying to do? I can't find anything
 so far.

No.  What does ls -l /bin/sh /the/script say?

Ceri
-- 
Only two things are infinite, the universe and human stupidity, and I'm
not sure about the former.-- Einstein (attrib.)


pgpYKqFy636ow.pgp
Description: PGP signature


Re: Sparc vs i386 architecture

2006-01-08 Thread Danial Thom


--- Wojciech Puchar [EMAIL PROTECTED]
wrote:

  Hi group, I was just wondering if there's an
 advantage to running FreeBSD on
  a SPARC than compared with a regular PC.
 Obviously the architecture is
  different (CISC vs RISC). How ever you can
 purchase a higher powered PC box
  for less money than it would cost for a
 SPARC.
 
 user Opteron/Athlon64 - better than both :)
 
 AMD made RISC-like architecture that just runs
 i386-like code (i386+more 
 registers and few extra instructions, while
 lots of mostly-unused 
 instructions emulated).

Thats hilarious, a reduced instruction set
processor that has extra instructions! Good one!

DT



__ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 

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


Re: Which is the best open source C/C++ IDE out there?

2006-01-08 Thread Danial Thom


--- Kiffin Gish [EMAIL PROTECTED] wrote:

 I've played around with Anjuta and Code::Blocks
 and was wondering what
 is the preferred open source C/C++ IDE
 available for advanced users.
 
 Pros and cons etc. would be greatly
 appreciated.
 

This is obviously a trick question, because real
programmers don't use IDEs. Case Closed.



__ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 

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


RE: /dev/eth0 question [FC4]

2006-01-08 Thread Peter Leftwich

On Sat, 7 Jan 2006, Ted Mittelstaedt wrote:
He probably thinks the competence level on this list is higher.  Kind of 
makes you wonder why he's running their OS. ;-)

Ted


Bingo!  *grins* I would really truly rather be running FreeBSD right now, 
but the SUPER extra EASY GUI installer for FC4 was just SO MUCH SIMPLER and 
inviting, and if I may venture to say... even easier than any M$FT one.


{Doesn't get why Linux doesn't use ufs, instead of ext2 and ext3 for FS's!}

--
Peter Leftwich, Owner
Video2Video Services
Box 13692, La Jolla, CA, 92039, USA
http://Www.Video2Video.Com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: System segfaulting / panicking a lot after kernel upgrade

2006-01-08 Thread Garrett Cooper

Figured out what it was. It was just a stick of RAM that went south.
-Garrett

On Jan 7, 2006, at 11:19 PM, Garrett Cooper wrote:


Hello again,
	I've reinstalled FreeBSD 6.0 on my celeron box recently, and after  
a kernel upgrade my system seems to be segfaulting a lot during  
compilations and has panicked quite a few times. First thing that  
pops into my mind is bad RAM, but I also changed the CPU arch to  
pentium3 (which I thought was valid for my Tualatin 1.2 GHz  
Celeron), and upped the optimization level to -O2. Could that  
possibly have anything to do with the issues I am seeing? I also  
added quite a few modules to WITHOUT_MODULES, which I didn't think  
would cause a problem, but I'm not a pro at maneuvering around the  
FreeBSD kernel yet...

Thanks in advance,
-Garrett

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


Re: Which is the best open source C/C++ IDE out there?

2006-01-08 Thread Vladimir Tsvetkov
 This is obviously a trick question, because real
 programmers don't use IDEs. Case Closed.

I'm not a real programmer, but UNIX is a great developer environment.
It's a tool based environment.
Small tools, strong cohesion in what they are designed for, easy ways
to combine them to form more complex tasks.
Good documentation too.
Actually you don't need anything else, you don't need a colourfull IDE. But...
Maybe only few, really exceptional people can benefit and grok the
power of this kind of environments.
To me the ideal IDE is actually a toolkit:
- Source Editor, preferably with a object browser or other kind of a
source browser. An autocomplete functionallity could increase
productivity too - this could increase quality if we measure quality
of code by the low number of syntax mistakes, but this could also be a
threat to quality letting the programmer write without reading
carefully what is written - code bloating.
- Compiler with a debugger. We must discuss about the pros. and cons.
of a grafic debugger versus a text-mode debugger. The things are
getting really messy when it comes up to debugging multithreading code
and I really don't know what is the ultimate tool for this task.
- A build tool. Ant or make will suffice.
- Source control tools. CVS, SVN etc.
- Documentation tools. POD, Doxygen, Javadoc or something else.
- Unit testing framework. This is not always a tool. This could be a
language extension, or  a testing API.
- Other tools.

You don't need to put everything together in a single swissknife-tool,
but this could be convenient in some cases.

IDE vs. Toolbased Environments ???

Which is more productive and how to measure productiveness?

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


adding virtual webmail users, freebsd6

2006-01-08 Thread Dave

Hello,
   I'm setting up a webmail solution on freebsd6. So far i've got the 
underlying MTA Postfix working. I've installed Squirrelmail from ports so 
far all of this installed fine. Now i want to give another user an 
administrative function, adding virtual users, so that i won't have to 
manually add real users whenever a new account is needed. Is this doable?

Thanks.
Dave.

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


Re: Server vendor specific mailing lists ...

2006-01-08 Thread lars
Chuck Swiger [EMAIL PROTECTED] wrote:
 Marc G. Fournier wrote:
 Not sure who best to send this to, but figured I'd send it publicly to 
 see also if others think this idea might have merit ...
 
 Basically, I'm just about to take possession of my first HP server ... 
 my biggest 'fear' is that HP doesn't support FreeBSD, but from posts 
 I've seen here, that shouldn't be a problem ... what I'd love to see is 
 a 'vendor specific' mailing list where ppl can more easily tap others 
 brains for their experiences ... a FreeBSD user support group for 
 {IBM,HP,Dell} servers, that a FreeBSD user can turn to knowing that 
 others on that list are using their vendor of choice for their servers 
 ...
 
 FreeBSD attempts to support all reasonably functional hardware; there isn't 
 a great deal of difference between a Dell and an HP except for which RAID 
 system and NIC they come with.
 
 You might find that mentioning the specific model you have would produce 
 more useful feedback.  You might also find asking the freebsd-isp list 
 would produce responses more oriented towards people rackrounting and using 
 LOM/remote management tools...
And then there's also the FreeBSD ProLiant mailing list:
http://lists.freebsd.org/mailman/listinfo/freebsd-proliant
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which is the best open source C/C++ IDE out there?

2006-01-08 Thread Michael P. Soulier
On 08/01/06 Vladimir Tsvetkov said:

 To me the ideal IDE is actually a toolkit:

I believe Unix's original name was PTB, the Programmer's ToolBox. Hence why
Unix usually _is_ my IDE.

Mike
-- 
Michael P. Soulier [EMAIL PROTECTED]
Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction.
--Albert Einstein


pgpAYxmlXVtDY.pgp
Description: PGP signature


Extremely slow authentication via SSH on FreeBSD 6.0

2006-01-08 Thread Garrett Cooper
	I'm having a hard time authenticating after upgrading the kernel and  
some packages, and I was wondering if someone could help me out with  
this issue. I marked the trouble points and included my sshd_config.


Output:
shiina:~ gcooper$ ssh -v hoover
OpenSSH_3.8.1p1, OpenSSL 0.9.7i 14 Oct 2005
debug1: Reading configuration data /etc/ssh_config
debug1: Connecting to hoover [192.168.0.22] port 22.
debug1: Connection established.
debug1: identity file /Users/gcooper/.ssh/identity type -1
debug1: identity file /Users/gcooper/.ssh/id_rsa type -1
debug1: identity file /Users/gcooper/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version  
OpenSSH_4.2p1 FreeBSD-20050903

debug1: match: OpenSSH_4.2p1 FreeBSD-20050903 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.8.1p1
debug1: An invalid name was supplied
Configuration file does not specify default realm

debug1: An invalid name was supplied
A parameter was malformed
Validation error

debug1: An invalid name was supplied
Configuration file does not specify default realm

debug1: An invalid name was supplied
A parameter was malformed
Validation error

debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server-client aes128-cbc hmac-md5 none
debug1: kex: client-server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(102410248192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'hoover' is known and matches the DSA host key.
debug1: Found key in /Users/gcooper/.ssh/known_hosts:29
debug1: ssh_dss_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
#ssh hangs here for about 30 seconds.
debug1: Authentications that can continue: password
debug1: Next authentication method: password
[EMAIL PROTECTED]'s password:

Thanks!
-Garrett



sshd_config
Description: Binary data
___
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 you install wx-config in FreeBSD?

2006-01-08 Thread JD Arnold

bob self wrote:

I'm running FreeBSD 6.0 and have installed
wxgtk2-2.6.2_1 and wxgtk2-common-2.6.2.

VLC runs fine so I know that wxwidges is installed correctly. But I want 
to install the wxsamples
and compile them. I copied wxsamples manually and try to compile using a 
script from an older
freebsd system but it wants wx-config and I can't find out how to get 
that installed using the

ports. Which port would include that?


wx-config is in the wxWidgets port, only it is named using the version
of wxgtk:

/usr/X11R6/bin/wxgtk2-2.6-config

I guess maybe they don't want to overwrite any existing wx-config, but I
suppose it would be nice if the port installer checked for it, and if it
didn't exist, create it using a link. You should do that (as root):

# cd /usr/X11R6/bin
# ln wx-gtk2-2.6-config wx-config

You can find out whether it got intalled by the wxgtk port by using 
pkg_info:


# pkg_info -xL wxgtk | grep bin

would should show where the -config and the wxrc got installed.

BTW, I talk about the pkg_info option in a recent post on my blog. Thanks
to Dru from OnLamp.com for showing me this very cool option, something I've
always wondered about, as sometimes it can be very mysterious as to what and
where a port might install stuff.

--
Jonathan Arnold (mailto:[EMAIL PROTECTED])
Daemon Dancing in the Dark, a FreeBSD weblog:
  http://freebsd.amazingdev.com/blog/

UNIX is user-friendly. It's just a bit picky about who its friends are.

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


5.4, /etc/default/make.conf

2006-01-08 Thread Thiago Esteves
Hi,   I' from Brazil.
   
  Why isn't there /etc/default/make.conf on FreeBSD 5.4 ?
   
  ThanksThiago
   
   


-
 Yahoo! doce lar. Faça do Yahoo! sua homepage.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


portmanager core dumps

2006-01-08 Thread Robert Marella
Good Afternoon

At times when in a hurry or not thinking as fast as my fingers, I try
to run portupgrade -s | grep OLD from a regular user account instead
of sudo portupgrade -s | grep OLD. 

I would expect portupgrade to insult my intelligence and question my
heritage  or is that question my intelligence and insult my
heritage. Well, it doesn't do either. It core dumps. This will happen
on more than one system running 6 Stable and the updated portmanager.

[EMAIL PROTECTED] ~ pkg_info | grep portmanager
portmanager-0.4.1_4 FreeBSD installed ports status and safe update
utility

Thanks

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


Re: Server vendor specific mailing lists ...

2006-01-08 Thread Marc G. Fournier

On Sun, 8 Jan 2006, lars wrote:


Chuck Swiger [EMAIL PROTECTED] wrote:

Marc G. Fournier wrote:

Not sure who best to send this to, but figured I'd send it publicly to
see also if others think this idea might have merit ...

Basically, I'm just about to take possession of my first HP server ...
my biggest 'fear' is that HP doesn't support FreeBSD, but from posts
I've seen here, that shouldn't be a problem ... what I'd love to see is
a 'vendor specific' mailing list where ppl can more easily tap others
brains for their experiences ... a FreeBSD user support group for
{IBM,HP,Dell} servers, that a FreeBSD user can turn to knowing that
others on that list are using their vendor of choice for their servers
...


FreeBSD attempts to support all reasonably functional hardware; there isn't
a great deal of difference between a Dell and an HP except for which RAID
system and NIC they come with.

You might find that mentioning the specific model you have would produce
more useful feedback.  You might also find asking the freebsd-isp list
would produce responses more oriented towards people rackrounting and using
LOM/remote management tools...

And then there's also the FreeBSD ProLiant mailing list:
http://lists.freebsd.org/mailman/listinfo/freebsd-proliant


Very quiet list, but exactly what I'm looking for ... thanks ;)


Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email: [EMAIL PROTECTED]   Yahoo!: yscrappy  ICQ: 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: adding virtual webmail users, freebsd6

2006-01-08 Thread Derek Musselmann
Yes, it is doable with postfix and it's not too complicated.  You'll  
basically need a database for the backend (mysql, postgresql) and a  
few config changes to postfix.


There are several tutorials available on the postfix website:
http://www.postfix.org/docs.html

-
Derek Musselmann
http://www.disflux.com



On Jan 8, 2006, at 3:54 PM, Dave wrote:


Hello,
   I'm setting up a webmail solution on freebsd6. So far i've got  
the underlying MTA Postfix working. I've installed Squirrelmail  
from ports so far all of this installed fine. Now i want to give  
another user an administrative function, adding virtual users, so  
that i won't have to manually add real users whenever a new account  
is needed. Is this doable?

Thanks.
Dave.



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


Re: Extremely slow authentication via SSH on FreeBSD 6.0

2006-01-08 Thread Derek Musselmann

On Jan 8, 2006, at 7:21 PM, Garrett Cooper wrote:
	I'm having a hard time authenticating after upgrading the kernel  
and some packages, and I was wondering if someone could help me out  
with this issue. I marked the trouble points and included my  
sshd_config.


I noticed in your sshd_config that you have:

# Change to yes to enable built-in password authentication.
PasswordAuthentication yes
PermitEmptyPasswords no

# Change to no to disable PAM authentication
ChallengeResponseAuthentication no


By default, ssh uses PAM for authentication.  By commenting those  
lines out, it doesn't mean that password checking won't be done, just  
that it will be handled with PAM.


And then later in the file you have:
UsePAM yes

Try commenting out the PasswordAuthentication, PermitEmptyPasswords,  
and ChallengeResponse lines.


-
Derek Musselmann
http://www.disflux.com



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


Setting up a FreeBSD gateway (more detail) and IPFW

2006-01-08 Thread Brian Bobowski
Thanks to those who replied to my previous call for help. Now I think 
it's time I actually provide some relevant detail.


I've got two computers - one is my workstation, one is my server / 
gateway-to-be. My outside connection is via a hub to a cable modem; 
currently I have my workstation rigged directly to it with no problems.


I'll go over what I've done so far, and hope that if I've made a glaring 
error someone will be able to point it out.


- I have two NICs: ed0 and rl0. ed0 will be connected to my workstation, 
rl0 to the hub and thence the Internet.
- I've configured a custom kernel per the directions in the handbook on 
NAT - that is, IPFIREWALL and IPDIVERT are in there.

- I have the various options set in rc.conf, with natd_interface=rl0.
- To set up the NICs, I have ifconfig_ed0=192.168.0.1 and 
ifconfig_rl0=DHCP. I'll set my workstation to use 192.168.0.2 if I can 
figure out why it's locking my NIC / IP settings(that's a WinXP issue).
- In my named.conf, under forwarders, I set one of my ISP's DNS servers. 
(Is it possible, and if so, beneficial, to put more than one entry 
there? My ISP gives me four.) I'm only running a caching DNS, so I 
otherwise left named.conf alone.

- I've run the make-localhost script in /etc/namedb.
- I've put named_enable=YES in rc.conf as well.

Ideally, I'd like to be able to leave my workstation's network settings 
alone, and set up DHCP; however, a look over the ports suggests that's 
far more trouble than it's worth for a single client that doesn't really 
need such flexibility.


I don't have any servers running on my workstation, so I've no need to 
allow traffic from the 'net to get through the firewall to the 
LAN(servers on the gateway itself are another matter). However, the 
firewall is still my biggest challenge.


To get set up and running, since I don't currently know the ports for 
every single thing I might use(and some things I telnet to are on 
nonstandard ports anyway) I'm probably going to use the example ruleset 
#2 for IPFW with NAT, except that until such time as I know a little 
more detail about what I need to block, I'll be assuming that anything 
from the workstation is good traffic. That rule, however, is causing me 
some concern, and I'd like to confirm that it has a good chance of 
working before I go to the smoke test.


Thus, inserting at the appropriate point into the last example given on

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-ipfw.html

the best I can cobble together is:

$cmd allow all from 192.168.0.2 to any out via $pif setup keep-state

Will this allow my workstation unhindered access to the Internet without 
opening it to every single inbound port? I'm a little confused here.


I don't think I need anything but Apache (i.e. port 80 TCP) and SSL (22 
TCP) inbound; the MySQL server is strictly internal, so the stock 
ruleset otherwise seems pretty good to me. I can open up secure HTTP if 
I get that working, based on the rules already there.


Please send replies directly to me.

Thanks in advance,

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


Where do I find libm.so.2

2006-01-08 Thread wbs
I am interested in running a+ (from www.aplusdev.org).  They
have a FreeBSD binary.  But when I try to run it I get an
error message about being unable to find libm.so.2.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


notebook keyboard configuration under Xorg

2006-01-08 Thread wbs
When I type - either in generic X oor Gnome - I sometimes 
get duplicate letters showing up.  I haven't a clue where to
turrn.  My notebook is a Toshiba Satelite Pro 6100.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portmanager core dumps

2006-01-08 Thread Michael C. Shultz
On Sunday 08 January 2006 18:30, Robert Marella wrote:
 Good Afternoon

 At times when in a hurry or not thinking as fast as my fingers, I try
 to run portupgrade -s | grep OLD from a regular user account instead
 of sudo portupgrade -s | grep OLD.

do you mean portmanager -s | grep OLD by any chance?

 I would expect portupgrade to insult my intelligence and question my
 heritage  or is that question my intelligence and insult my
 heritage. Well, it doesn't do either. It core dumps. This will happen
 on more than one system running 6 Stable and the updated portmanager.

 [EMAIL PROTECTED] ~ pkg_info | grep portmanager
 portmanager-0.4.1_4 FreeBSD installed ports status and safe update
 utility

 Thanks

 Robert

Portmanager will only run as root, I'll make a note/bug to check error 
handling when someone attempts to run it as a normal user.

-Mike

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


Re: Where do I find libm.so.2

2006-01-08 Thread Giorgos Keramidas
On 2006-01-08 22:35, [EMAIL PROTECTED] wrote:
 I am interested in running a+ (from www.aplusdev.org).  They
 have a FreeBSD binary.  But when I try to run it I get an error
 message about being unable to find libm.so.2.

This is an older version of the libm.so library.  You can get a
copy of it by installing the misc/compat4x port.

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


Cannot remove old log files

2006-01-08 Thread Paulino Calderon
Hello.
I am currently moving to a new log administration policy, the problem
is that there are some old logs that I would like to delete but I
can't, the error is the typical Operation not permitted although I
am trying to do this as root, the file's permissions are ok and there
are no special file flag activated or anything, any ideas?

suckea# uname -a
FreeBSD suckea.com 5.3-SECURITY FreeBSD 5.3-SECURITY #0: Wed Jul 20
06:22:23 UTC 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

mybox# ls -lo
[snip]
-rwx--  1 root  wheel  -  78 Dec  6 15:00 auth.log.zzpKVF1
-rwx--  1 root  wheel  -  78 Jan  3 05:00 auth.log.zzr4dZD
-rwx--  1 root  wheel  -  78 Jan  4 17:00 auth.log.zzyP5R0

mybox# rm -rf auth.log.*
[snip]
rm: auth.log.zzr4dZD: Operation not permitted
rm: auth.log.zzyP5R0: Operation not permitted

mybox# uname -a
FreeBSD suckea.com 5.3-SECURITY FreeBSD 5.3-SECURITY #0: Wed Jul 20
06:22:23 UTC 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

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


(no subject)

2006-01-08 Thread n-n
It is hoped that FreeBSD becomes a system like HP-UX. 


--
Yahoo! Mail - supported by 10million people
http://pr.mail.yahoo.co.jp/mail_pr/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


adjkerntz in a jail

2006-01-08 Thread Dave

Hello,
   I'm running apache in a jail on 6.0. Cron is sending me output like:

adjkerntz[33405]: sysctl(put_wallclock): Operation not permitted

Is this entry needed in a jail's crontab to run adjkerntz and if so what 
setting do i have to alter on the host system to make it work?

Thanks.
Dave.

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


Will VMWare 5.5 run on FreeBSD 6.x ?

2006-01-08 Thread Xn Nooby
I notice VMWare 5.5 worked with Redhat 8, and FreeBSD 6 uses Redhat 8 for
its linux emulation.

Does the Linux version of VMWare 5.5 work on FreeBSD 6.x ?

I saw the VM 5.5 toolbox and some kind of guest daemon in the ports tree,
but it didn't look like VMWare 5.5 itself was in there.

I bought VMWare 5.5 for Linux, and assumed I'd have to run Ubuntu to use it,
but I would prefer FreeBSD.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cannot remove old log files

2006-01-08 Thread Giorgos Keramidas
On 2006-01-08 21:57, Paulino Calderon [EMAIL PROTECTED] wrote:
 Hello.
 I am currently moving to a new log administration policy, the problem
 is that there are some old logs that I would like to delete but I
 can't, the error is the typical Operation not permitted although I
 am trying to do this as root, the file's permissions are ok and there
 are no special file flag activated or anything, any ideas?

 suckea# uname -a
 FreeBSD suckea.com 5.3-SECURITY FreeBSD 5.3-SECURITY #0: Wed Jul 20
 06:22:23 UTC 2005
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

 mybox# ls -lo
 [snip]
 -rwx--  1 root  wheel  -  78 Dec  6 15:00 auth.log.zzpKVF1
 -rwx--  1 root  wheel  -  78 Jan  3 05:00 auth.log.zzr4dZD
 -rwx--  1 root  wheel  -  78 Jan  4 17:00 auth.log.zzyP5R0

 mybox# rm -rf auth.log.*
 [snip]
 rm: auth.log.zzr4dZD: Operation not permitted
 rm: auth.log.zzyP5R0: Operation not permitted

Is the partition mounted read-write?

Can you run ktrace on this command and post the output?

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


Re: (no subject)

2006-01-08 Thread Giorgos Keramidas
On 2006-01-09 15:01, n-n [EMAIL PROTECTED] wrote:
 It is hoped that FreeBSD becomes a system like HP-UX.

Hopefully not.

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


php_XML_ParserCreate error

2006-01-08 Thread Mike Sacauskis

Hi

I'm trying to install mambo on a 5.4 release.  I'm running into a 
problem with the mambo editor.  I've traced it to an error in the apache 
log:



/libexec/ld-elf.so.1: /usr/local/lib/php/20020429/xml.so: Undefined 
symbol php_XML_ParserCreate


I did an nm on the xml.so library and the symblols for 
php_XML_ParserCreate are undefined.


6940 t parserInit
U php_XML_ErrorString
U php_XML_ExpatVersion
U php_XML_GetCurrentByteIndex
U php_XML_GetCurrentColumnNumber
U php_XML_GetCurrentLineNumber
U php_XML_GetErrorCode
U php_XML_Parse
U php_XML_ParserCreate
U php_XML_ParserCreateNS
U php_XML_ParserFree
U php_XML_SetCharacterDataHandler
U php_XML_SetDefaultHandler
U php_XML_SetElementHandler
U php_XML_SetEndNamespaceDeclHandler
U php_XML_SetExternalEntityRefHandler
U php_XML_SetNotationDeclHandler
U php_XML_SetProcessingInstructionHandler
U php_XML_SetStartNamespaceDeclHandler
U php_XML_SetUnparsedEntityDeclHandler
U php_XML_SetUserData
U php_error_docref0

There are macros in /usr/ports/lang/php4/work/php-4.4.1/main that map 
the php_XML routines to XML_ routines.  Is this how these symbols are 
supposed to be resolved?  If so is there something that needs to be 
configured to allow this?


These are the ports I have installed:

apache-1.3.34_3 The extremely popular Apache http server. Very fast, 
very

php4-4.4.1_3PHP Scripting Language (Apache Module and CLI)
php4-gd-4.4.1_3 The gd shared extension for php
php4-mysql-4.4.1_3  The mysql shared extension for php
php4-pcre-4.4.1_3   The pcre shared extension for php
php4-session-4.4.1_3 The session shared extension for php
php4-xml-4.4.1_3The xml shared extension for php
php4-zlib-4.4.1_3   The zlib shared extension for php

Any help would be greatly appreciated.

Mike Sacauskis

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


Re: 5.4, /etc/default/make.conf

2006-01-08 Thread Matthew Seaman

Thiago Esteves wrote:


  Why isn't there /etc/default/make.conf on FreeBSD 5.4 ?


Because there's a /usr/share/examples/etc/make.conf instead.

It was moved because unlike the other inhabitants of /etc/default it
had no effect whatsoever on invocations of make(1).

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW


signature.asc
Description: OpenPGP digital signature


speccing an NFS server -- smp good or bad?

2006-01-08 Thread Chad Leigh -- Shire . Net LLC
For a FBSD (or Solaris 10) based server that is only acting as an NFS  
server and nothing else, is there any advantage to using an SMP  
machine?  Any disadvantage?


Does CPU speed play any great factor (ie, use a 1.8ghz opteron  
instead of a 2.2ghz opteron for example)?


I am planning for a Spring project to make an nfs server that serves  
to multiple web servers / application servers using an Areca 1130  
SATA raid card.  I assume lots of RAM for the OS to use to cache  
would be desirable and GB ethernet.


Thanks
Chad


---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net



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


Re: Extremely slow authentication via SSH on FreeBSD 6.0

2006-01-08 Thread Garrett Cooper


On Jan 8, 2006, at 9:10 PM, Derek Musselmann wrote:


On Jan 8, 2006, at 7:21 PM, Garrett Cooper wrote:
	I'm having a hard time authenticating after upgrading the kernel  
and some packages, and I was wondering if someone could help me  
out with this issue. I marked the trouble points and included my  
sshd_config.


I noticed in your sshd_config that you have:

# Change to yes to enable built-in password authentication.
PasswordAuthentication yes
PermitEmptyPasswords no

# Change to no to disable PAM authentication
ChallengeResponseAuthentication no


By default, ssh uses PAM for authentication.  By commenting those  
lines out, it doesn't mean that password checking won't be done,  
just that it will be handled with PAM.


And then later in the file you have:
UsePAM yes

Try commenting out the PasswordAuthentication,  
PermitEmptyPasswords, and ChallengeResponse lines.


-
Derek Musselmann
http://www.disflux.com


Tried exactly that, and it doesn't seem to have change the  
performance, actually =\... It still hangs in the same location,  
strangely enough.

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


FTP stopped working

2006-01-08 Thread Jay O'Brien
I'm embarassed to say that FreeBSD was working so good for me 
that I forgot how to make it work. It was up for over 300 days 
when I rebooted today.

All of a sudden I cannot access the computer via ftp. I have 
been able to do so using WS_FTP Pro on my Windows CP Pro 
computer, but now it doesn't even seem to accept the connect. 
The connect is via a local LAN, using fixed IPs.

Guidance in a troubleshooting mode would really be appreciated.

Thanks,

Jay O'Brien
Rio Linda, CA , USA



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