Re: switching from linux to freebsd

2006-08-02 Thread Erik Norgaard

Yuan, Jue wrote:

On Tuesday 01 August 2006 23:18, Erik Nørgaard wrote:

Yuan, Jue wrote:

What about the first question? curious too :-)

http://lists.freebsd.org/pipermail/freebsd-questions/

is a good bookmark to have when you accidentially delete a post you
later want to look at.


Hi.

Thanks for your reply first.

To be frank, I just don't get what you mean. I don't see any previous post of 
this thread that talking about the first question. Am I wrong?


If you refered to STFW, then I could get your idea. And after google, gvinum 
is the substitue, right? :-)


I thought you wanted to know what the first question was (since I had 
deleted that from my reply), if you had accidentially deleted OP.


Obviously, I didn't answer it because I don't have the answer, so asking 
me for the answer to the first question is pretty much useless. If this 
was what you meant, the reply is: sit back and see if someone else 
responds on that.


Cheers

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


Re: Gotta start somewhere ... how many of us are really out there?

2006-08-02 Thread Ted Mittelstaedt

- Original Message - 
From: Nikolas Britton [EMAIL PROTECTED]
To: Ted Mittelstaedt [EMAIL PROTECTED]
Cc: Robert Huff [EMAIL PROTECTED]; Xiao-Yong Jin
[EMAIL PROTECTED]; freebsd-questions@freebsd.org; User Freebsd
[EMAIL PROTECTED]
Sent: Tuesday, August 01, 2006 1:12 PM
Subject: Re: Gotta start somewhere ... how many of us are really out there?


 On 8/1/06, Ted Mittelstaedt [EMAIL PROTECTED] wrote:
  Why not just add in the patch in kern/65627 and run the CPU serial
number
  through
  your hash?

 Because you can still fake the dam thing,

Why fake it when you can merely not supply it in the first place?

There are valid uses for unique host ID's other than this marketing
reporting scheme.  I was merely pointing out to the OP that it is
not particularly difficult (as he was arguing) to get unique ID's out
of a FreeBSD system, I was not commenting on the scheme he
wanted them for.

Ted

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


octave - problem with fsolve

2006-08-02 Thread Malcolm Kay
I installed octave-2.1.73 under FreeBSD 5.4
using the FreeBSD ports.
This seems to be a very useful mathematical
processor.

Unfortunately the 'fsolve' function seems 
not to work. It seems always to return the
given starting point value and a status of -1.

Is this a known issue?
Does anyone have this working under FreeBSD 5.x?

I see some reference to problems with fsolve when this was first  
converted to a runtime loadable .oct module rather than built in 
to the octave core. However I wonder whether the problem may 
actually be in one of the library ports on which octave depends; 
I'm thinking particularly of the libraries created by the atlas 
port.

Does anyone have any information, suggestions, ideas or fixes for 
this problem? I've explored the internet with respect to this 
problem but not turned up anything useful.

Any response would be appreciated.

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


Re: iir(4) driver (Was: Re: Safe card to replace for ICP Vortex GDT851...)

2006-08-02 Thread Patrick M. Hausen
Hi, Scott!

 Ok guys, time for a small breather here.  All these claims about
 EoE and orphanage and whatnot are a bit premature and underinformed.

I only stated that according to ICP Vortex Germany the
GDT products are EOE and ICP Vortex will not provide an
updated driver for FreeBSD. Nothing more.
I talked to the person on the phone right before I sent my mail
to the list.

And that orphanage part depended on a big IF nobody is willing
to work on it.

Regards,

Patrick M. Hausen
Leiter Netzwerke und Sicherheit
-- 
punkt.de GmbH Internet - Dienstleistungen - Beratung
Vorholzstr. 25Tel. 0721 9109 -0 Fax: -100
76137 Karlsruhe   http://punkt.de
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: switching from linux to freebsd

2006-08-02 Thread Yuan, Jue
On Wednesday 02 August 2006 14:23, Erik Norgaard wrote:

  On Tuesday 01 August 2006 23:18, Erik Nørgaard wrote:

 I thought you wanted to know what the first question was (since I had
 deleted that from my reply), if you had accidentially deleted OP.

 Obviously, I didn't answer it because I don't have the answer, so asking
 me for the answer to the first question is pretty much useless. If this
 was what you meant, the reply is: sit back and see if someone else
 responds on that.


I got it. It is my misunderstanding. Thanks for your kindly explanation. :-)

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


Re: spamfilter

2006-08-02 Thread jdow

Precisely how is this different from the basic SpamAssassin capabilities
either via MySQL or via user accounts? I use per user BAYES filtering
and per user rules and scores on the machine here.

{^_^}   Joanne
- Original Message - 
From: User Freebsd [EMAIL PROTECTED]





If you want a truly user-friendly spam/virus solution, check out:

 http://www.renaissoft.com/maia/

I have this backing 200 VPS, including postgresql.org itself, and its 
literally a dream, as it allows *each user* to individually tailor their 
settings ...


On Wed, 2 Aug 2006, Olivier Nicole wrote:


1) spamd (part of SpamAssassin) is written in perl.  This is
fine for a workstation, not so much for a high-volume mail server.


SpamAssassin itself is written in Perl... But it can be run on a
remote server, it does not have to be on the machine running sendmail.


2) installing spamass-milter requires rebuilding sendmail.  (I
have no idea about other MTAs.)  This usually sounds more
frightening than it is, but can still lead to complications.


I think stock sendmail is installed with milter, so it is only a
matter aof configuration, not of compiling.

Olivier


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


Re: best way to copy from one fbsd box to another

2006-08-02 Thread Nikolas Britton

On 8/1/06, John Nielsen [EMAIL PROTECTED] wrote:

On Tuesday 01 August 2006 14:04, Bill Moran wrote:
 In response to David Banning [EMAIL PROTECTED]:
  I am installing a new server and have to copy many files from old server
  to new. I have connected a windows box to each via samba, and am dragging
  from one to the other via the windows box.
 
  This might seem like a silly question, but what is the way to copy
  -directly- from one fbsd box to another?

 Usually NFS or scp.  There are other choices, though.

For many situations my favorite is tar+netcat (w/ optional bzip2 compression).

On the destination host:
cd /some/path
nc -l 1234 | tar -xjvf -

And on the source host:
cd /some/path
tar -cjvf - relative/path/to/source/dir | nc destip 1234

If you don't want compression leave out the 'j' flag in both calls to tar.

scp is your best bet if you need encryption though (take note of the -r and -C
flags).



I'll 2nd netcat... one of the most versatile tool I've come across in
UNIX land!

http://www.securitydocs.com/library/3376
http://www.rajeevnet.com/hacks_hints/os_clone/os_cloning.html
http://www.stearns.org/doc/nc-intro.current.html

One thing I'd like to add to Johns comment is to not use compression
if your on a GigE network, The overhead required to do this will max
out the CPU, the net effect being very slow transfer rates. It also
helps to not use tar -v, you will miss error messages if you use -v
because the SNR is very low, it consumes CPU time too.


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


Re: Using dnscache locally with FBSD 6.x

2006-08-02 Thread Mark Powell

On Tue, 1 Aug 2006, Bill Moran wrote:


   However, I use svscan to start up dnscache, and that starts very late in
the boot. That means I can't just have the single nameserver 127.0.0.1
line in resolv.conf, as every lookup would timeout until dnscache started.
That means I need to replace resolv.conf early in the boot with the
addresses of remote dns caches:


Have you investigated the possibility of moving svscan's startup earlier in
the boot sequence?  I don't know whether the svscan startup script is rcng
compliant yet, but if it is, you could move it to /etc/rc.d and move it
_way_ up in the startup sequence.


I think it is rcng compliant. However, once in /etc/rc.d, how is the order 
of execution determined? I expect I will need to get it to run about the 
same time that named is usually started.



Another option is to put addresses that need to resolve before svscan has
started into /etc/hosts so that they don't need DNS.  This could be
a maintenance nightmare, though, if there are many addresses.


That sounds like a nightmare :(
  Cheers.






--
Mark Powell - UNIX System Administrator - The University of Salford
Information Services Division, Clifford Whitworth Building,
Salford University, Manchester, M5 4WT, UK.
Tel: +44 161 295 4837  Fax: +44 161 295 5888  www.pgp.com for PGP key
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


devd problem?

2006-08-02 Thread Johnny Choque
Hi all,

I has been testing the execution of some commands after inserting and
removing a wireless pc card, using the rules of devd.conf and I've noticed
quite a strange behavior with devd.

I have used it in debug mode, thus running 'devd -dD', in order to see the
rules that will be happening. Specifically, the rules in devd.conf that I
want to monitor are the following ones:

detach 0 {
media-type 802.11;
action /etc/pccard_ether $device-name stop; };

attach 0 {
media-type 802.11;
action /etc/pccard_ether $device-name start; };


After the Wireless pc card is inserted, the 'devd -dD' command shows the
following
messages:

Processing event '+wi0 manufacturer=0x0156 product=0x0002 cisvendor=Lucent
Technologies cisproduct=WaveLAN/IEEE function_type=6 at function=0
manufacturer=0x0156 product=0x0002 cisvendor=Lucent Technologies
cisproduct=WaveLAN/IEEE function_type=6 on pccard0'
Pushing table
setting device-name=wi0
setting manufacturer=0x0156
setting product=0x0002
setting cisvendor=Lucent Technologies
setting cisproduct=WaveLAN/IEEE
setting function_type=6
Processing attach event
Testing device-name=wi0 against ^ed50
Testing device-name=wi0 against ^ubt[0-9]+ Testing device-name=wi0 against
^ukbd0 Testing device-name=wi0 against ^ums[0-9]+ Testing media type of wi0
against 0x20 wi0 has media type 0x80 Testing media type of wi0 against 0x80
wi0 has media type 0x80 Executing '/etc/pccard_ether wi0 start'
Popping table

As you can see, the command pccard_ether, which is included in the attach
section is successfully run but, after removing the wireless pc card, the
rules that are included in the detach section do not happen to run, as
showed in the following
messages:

Processing event '-wi0 manufacturer=0x0156 product=0x0002 cisvendor=Lucent
Technologies cisproduct=WaveLAN/IEEE function_type=6 at function=0
manufacturer=0x0156 product=0x0002 cisvendor=Lucent Technologies
cisproduct=WaveLAN/IEEE function_type=6 on pccard0'
Pushing table
setting device-name=wi0
setting manufacturer=0x0156
setting product=0x0002
setting cisvendor=Lucent Technologies
setting cisproduct=WaveLAN/IEEE
setting function_type=6
Processing detach event
Testing device-name=wi0 against ^ed50
Testing device-name=wi0 against ^ubt[0-9]+ Testing device-name=wi0 against
^ukbd0 Testing media type of wi0 against 0x20 Testing media type of wi0
against 0x80 Popping table

I was expecting a similar behaviour of devd as the one I saw when I inserted
the pc card, but the message:

Executing '/etc/pccard_ether wi0 stop'

doesn't appear and for this reason I think that the rule of the detach
section does not run.
Does anybody know which may be the problem? What I need to do is executing a
particular application upon the removal of the pc card, do you know how can
I do that?

Cheers,

Johnny

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


Understanding top and memory usage

2006-08-02 Thread Philip Radford

Hi All,

This is a question which probably applies to all unix based OS as well as 
FreeBSD.


When using the top command I get the following in regards to memory usage.

Mem: 223M Active, 970M Inact, 175M Wired, 50M Cache, 112M Buf, 73M Free
Swap: 3029M Total, 12K Used, 3029M Free

Can someone advise me which figure relates to actual physical memory which 
is available. I can't work out if it is the 970M Inact or the 73M Free (i.e. 
the last figure).


Any advise greatfully received.

Thanks

Regards
Phil.


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


gcc: cpp pre-defined variables

2006-08-02 Thread Lorin Lund

How can I find all the variables that are pre-defined in the pre-processor.

Do these come from a configuration file? Or are the compiled in to cpp when
it is ported to a platform?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: a good web statistics port?

2006-08-02 Thread Simon Phoenix
On Wednesday 02 August 2006 04:48, Jonathan Horne wrote:
 something other than webalizer?  i would really prefer awstats, but its
 been in command injection limbo forever.  can someone recommand something
 better than webalizer, that is preferrably searchable and sortable, etc
 etc?

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

I`m not sure what do You need.
May be Analog: 
http://www.analog.cx/

--
Best regards,
Simon Phoenix (Phoenix Lab.)
KeyID: 0x2569D30B
Fingerprint: 78FC 5C40 07CC D331 148E CC79 84B8 D514 2569 D30B


pgpYrFoinYtas.pgp
Description: PGP signature


Re: Running Windows Server in a VM?

2006-08-02 Thread Simon Phoenix
On Tuesday 01 August 2006 20:41, Atom Powers wrote:
 Simple question: Has anybody had any success running Windows Server
 2003 in a VM on FreeBSD?

 If so, which VM product did you use?

Windows Server 2003 Enterprise Edition run under QEMU 0.8.1 fine. (FreeBSD 
6.1-STABLE)

--
Best regards,
Simon Phoenix (Phoenix Lab.)
KeyID: 0x2569D30B
Fingerprint: 78FC 5C40 07CC D331 148E CC79 84B8 D514 2569 D30B


pgp7IIciIrFXw.pgp
Description: PGP signature


Changing user password from command line

2006-08-02 Thread Mike Fern

Dear all,
Does anybody know a program which is able to change user password from
command line?
We can add a user using single line pw (pw useradd), but i need
ability to set the password also, instead of old command passwd user
and then writing to stdin.

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


Re: FreeBSD = Free Software?

2006-08-02 Thread Harald Muehlboeck
Dylan Rogers [EMAIL PROTECTED] writes:

 Does FreeBSD contain only free software?

see  http://en.wikipedia.org/wiki/FreeBSD#License

FreeBSD contains software licensed under BSD-License, LGPL, GPL (which
restricts redistribution without making the source code available),
IP-FILTER (which does not expictly allow to make changes to the code),
Sendmail, ISC-Licensed Software like BIND, ...

It depends on your point of view, if you call these licenses »free«.

Maybe you will prefer OpenBSD:
http://en.wikipedia.org/wiki/OpenBSD#Licensing 
http://www.openbsd.org/faq/faq1.html#ReallyFree

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


kernel debug questions: dual serial consolegdb

2006-08-02 Thread Eugeny Kuzakov

hi guys!


I have some problems w/ promise SATAII tx2plus and blutooth stack under
-current-stable.
I want enable serial console then run gdb at time of kernel panics/etc...

I have entered following:

1. /boot/loader.conf:
...
comconsole_speed=115200
console=comconsole
...

2. cat /boot.config (I also tried -D -h)
-h


I can see output if FreeBSD loader, but:

  1. I cann't see kerel output to console on the serial console.
  2. I cann't control gdb on serial console in case of panic

Thank you.

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


Re: need help troubleshooting man

2006-08-02 Thread Matti J. Karki

On 8/1/06, Jonathan Horne [EMAIL PROTECTED] wrote:

i remember a thread from a few weeks back, that i followed closely, but
was never able to resolve my issue as the original poster did.  i have a
6.1-STABLE system that the bulk of my mans to not work, but some that are
recently installed from ports are working.  can someone guide me thru
trouble shooting this issue?



I managed to get this kind of situation by installing first the
minimal set (or distribution) and then installing everything else
from the ports. The minimal installation set does not have man pages.
To get small - but fully functional - installation, I had to install
the User set, which contains the required binaries and all relevant
documentation files. Maybe re-running the sysinstall and selecting
appropriate distribution set could help?


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


Re: Unable to Print

2006-08-02 Thread Gerard Seibert
Garance A Drosehn wrote:

 On August 1/2006, I (Garance) wrote:
 
 Check to see if you have multiple versions of 'lpr'
 running.  *If* you do, then the results that you see
 will probably depend on which version you run.
 
 What I meant to say was:  Check to see if you have
 multiple versions of `lpr' *installed*.  See what
 you get from the command:
 
  type -a lpr

I just tried running apsfilter again. It successfully printed out a test
page. However, when I told it to install the information into the
/etc/printcap file, this error message was displayed:

Aug  2 06:58:51 seibercom checkpc[27640]: lp: Checkwrite: fcntl F_SETFL of 
'/dev/null' failed - Inappropriate ioctl for device
** done.

What is that all about?

This is the contents of the /etc/printcap file:

# APS1_BEGIN:printer1
# - don't delete start label for apsfilter printer1
# - no other printer defines between BEGIN and END LABEL
lp|bj8pa06n.upp;r=600x600;q=high;c=full;p=letter;m=auto:\
:lp=/dev/null:\
:if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/lp:\
:lf=/var/spool/lpd/lp/log:\
:af=/var/spool/lpd/lp/acct:\
:mx#0:\
:sh:
# APS1_END - don't delete this

-- 

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


Re: Unable to Print

2006-08-02 Thread Gerard Seibert
Garance A Drosehn wrote:

 On August 1/2006, I (Garance) wrote:
 
 Check to see if you have multiple versions of 'lpr'
 running.  *If* you do, then the results that you see
 will probably depend on which version you run.
 
 What I meant to say was:  Check to see if you have
 multiple versions of `lpr' *installed*.  See what
 you get from the command:
 
  type -a lpr

OK, first of all, I just installed LPRng and had it replace my base lpr
system. However, the same error message is repeated.

type -a lpr
lpr is /usr/local/bin/lpr
lpr is /usr/bin/lpr

type lpr
lpr is hashed (/usr/local/bin/lpr)

OK, so now what do I do?

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


Re: portsdb output and portaudit question

2006-08-02 Thread Gerard
jan gestre [EMAIL PROTECTED]

  the box's running for almost 2 months now setup as webmail server, the
  only thing i removed was the linux compatible applications since i have no
  plans of installing linux. i ran pkgdb -F and pkgdb -fu to no avail, after
  doing cvsup this morning, ran portsdb -Uu, i still see those message looking
  for packages that wasn't even installed. i don't see any strange behavior
  for the server except those mentioned here. could these be detrimental?

I have no idea. However, if the system appears to be stable then I
assume you could just ignore it. I guess removing things from the base
installation was not such a good idea though.


-- 
+==+
|\  _,,,---,,_ |   Gerard Seibert
Zzz /,`.-'`'-.  ;-;;,_ | [EMAIL PROTECTED]
   |,4-  ) )-,_. ,\ (  `'-'| icq: 95653152  FAX: (845) 228-1602
  '---''(_/--'  `-'\_) |   //This Space Available//
+==+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Firefox 1.5.0.5 port build error

2006-08-02 Thread Matthew Seaman
On Tue, Aug 01, 2006 at 01:11:27PM +0530, Chandan Haldar wrote:
 Having another crack at building firefox 1.5 on FreeBSD 6.0 Release...
 Anyone knows what this cryptic error could be due to?  Thanks in advance.
 
 Chandan
 
 
 ===  Extracting for firefox-1.5.0.5,1
 = Checksum OK for firefox-1.5.0.5-source.tar.bz2.
 ===   firefox-1.5.0.5,1 depends on file: /usr/local/bin/perl5.8.7 - found
 ===  Patching for firefox-1.5.0.5,1
 ===   firefox-1.5.0.5,1 depends on file: /usr/local/bin/perl5.8.7 - found
 ===  Applying FreeBSD patches for firefox-1.5.0.5,1
 -e: not found
 *** Error code 127
 
 Stop in /home/newports/www/firefox.

This is usually a symptom of not updating the whole ports tree.  If I
remember correctly, the trouble is caused by a missing definition of
one of the standard command variables from /usr/ports/Mk/bsd.port.mk.
In this case it seems it would be one of either the SED or the
REINPLACE_CMD --

happy-idiot-talk:...ports/www/firefox:% grep -e '-e ' Makefile
@${SED} -e 's|@FIREFOX_ICON@|${FIREFOX_ICON}|' \
@${REINPLACE_CMD} -e
'/accessibility.typeaheadfind.enablesound/s/true/false/ ;
\

So make(1) is trying to run '-e' as a command, and that doesn't work.

From the firefox port directory, try running:

make -V SED -V REINPLACE_CMD

If the result is not the same as this:

happy-idiot-talk:...ports/www/firefox:% make -V SED -V REINPLACE_CMD 
/usr/bin/sed
/usr/bin/sed -i.bak

then you need to track down exactly where SED or REINPLACE_CMD are
being mangled, and fix that.  Check for potential breakage in
/etc/make.conf, and use cvsup or portsnap or your method of choice to
grab a clean copy of the whole ports tree.

 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


pgpHZ2LyM3N9G.pgp
Description: PGP signature


Re: a good web statistics port?

2006-08-02 Thread Bill Moran
In response to Jonathan Horne [EMAIL PROTECTED]:

 i would really prefer awstats, but its been 
 in command injection limbo forever.

awstats isn't nearly as dangerous as the advisories make it out.  The
last few security problems only apply to systems where awstats is
configured to allow you to updated the statistics from the web browser.
This is not the default configuration on FreeBSD.  Personally, I don't
need up to the minute stats, so all the machines it runs on for me
just update it from cron every night.  In that configuration, it's not
vulnerable to anything.

I believe this has been the case with the last 2 or 3 security problems
that have been announced for awstats.  I'm not aware of any security
issues if you have the web-update disabled.

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


Re: Using dnscache locally with FBSD 6.x

2006-08-02 Thread Bill Moran
In response to Mark Powell [EMAIL PROTECTED]:

 On Tue, 1 Aug 2006, Bill Moran wrote:
 
 However, I use svscan to start up dnscache, and that starts very late in
  the boot. That means I can't just have the single nameserver 127.0.0.1
  line in resolv.conf, as every lookup would timeout until dnscache started.
  That means I need to replace resolv.conf early in the boot with the
  addresses of remote dns caches:
 
  Have you investigated the possibility of moving svscan's startup earlier in
  the boot sequence?  I don't know whether the svscan startup script is rcng
  compliant yet, but if it is, you could move it to /etc/rc.d and move it
  _way_ up in the startup sequence.
 
 I think it is rcng compliant. However, once in /etc/rc.d, how is the order 
 of execution determined? I expect I will need to get it to run about the 
 same time that named is usually started.

Have a look at the man page for rcorder.  IIRC, that covers it pretty well.

  Another option is to put addresses that need to resolve before svscan has
  started into /etc/hosts so that they don't need DNS.  This could be
  a maintenance nightmare, though, if there are many addresses.
 
 That sounds like a nightmare :(
Cheers.

It was a thought.

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


Weird result of portupgrade -aRr concerning pkgconfig or is it pkg-config?

2006-08-02 Thread Bobby Knight


HelloNewly installed 6.1. Barely touched ports so one would expect it to 
work, yet it fails brutally for me as  a new user when I do portupgrade -arR 
just to upgrade a few packages.I have no clue why and what to do so I am 
hoping someone here knows. Can't  see what I have done wrong. I have followed 
the available ports docs/mans slavishly.

That is always cvsup ports and do a portsdb -Fu; portaudit -Fa before upgrade 
as  well as read UPDATING.The info I've managed to gather is listed below. 
I don't want to retry the  installation and maybe screw up things more before I 
ask you guys. Problem  seems to be with pkg-config or pkgconfig... 
pkgconfig puzzles me. There

exits no port of this in the tree yet it somehow is a package now.

 

Thanks.syscons buffer contents related to error I could get:---  
Installing the new version via the port  ===  Installing for pkg-config-0.20_2 
 ===   Generating temporary packing list  ===  Checking if devel/pkg-config 
already installed  ===   pkg-config-0.20_2 is already installedYou may 
wish to ``make deinstall'' and install this port againby ``make 
reinstall'' to upgrade it properly.If you really wish to overwrite the 
old port of devel/pkg-configwithout deleting it first, set the variable 
FORCE_PKG_REGISTERin your environment or the make install command 
line.  *** Error code 1Stop in /usr/ports/devel/pkg-config.  *** Error code 
1Stop in /usr/ports/devel/pkg-config.  ** Command failed [exit code 1]: 
/usr/bin/script -qa  /tmp/portupgrade42339.5 env PORT_UPGRADE=yes make 
PORT_UPGRADE=yes reinstall  egrep: /var/db/pkg/pkgconfig-0.20/+CONTENTS: No 
such file or directory  ---  Restoring the old version  **
 Fix the installation problem and try again.  [Updating the pkgdb 
format:bdb_btree in /var/db/pkg ... - 45 packages  found (-0 +1) . done]  
---  Skipping 'devel/pkg-config' (pkg-config-0.20_2) because it has  already 
failedportversion -vl :fontconfig-2.3.2_3,1  needs 
updating (port has 2.3.2_5,1)  linux_base-8-8.0_14   needs updating 
(port has 8.0_16)  pkgconfig-0.20needs updating (port has 
0.20_2)  xorg-clients-6.9.0_2  needs updating (port has 6.9.0_3)  
xorg-printserver-6.9.0needs updating (port has 6.9.0_1)  
xorg-server-6.9.0_1   needs updating (port has 6.9.0_4)  
xorg-vfbserver-6.9.0  needs updating (port has 6.9.0_1)  xterm-206_1   
needs updating (port has 215)pkg_info:bash-3.1.17  
   The GNU Project's Bourne Again SHell  bitstream-vera-1.10_2 Bitstream Vera 
TrueType font collection  cvsup-without-gui-16.1h_2 General network file 
distribution system
  optimized for   CVS  db41-4.1.25_3   The Berkeley DB package, revision 
4.1  expat-2.0.0_1   XML 1.0 parser written in C  fontconfig-2.3.2_3,1 An 
XML-based font configuration API for X Windows  freetype2-2.1.10_3  A free and 
portable TrueType font rendering engine  gettext-0.14.5_2GNU gettext 
package  gmake-3.81_1GNU version of 'make' utility  imake-6.9.0 
Imake and other utilities from X.Org  jpeg-6b_4   IJG's jpeg 
compression utilities  libXft-2.1.7_1  A client-sided font API for X 
applications  libdrm-2.0.2Userspace interface to kernel Direct 
Rendering Module  servi  libiconv-1.9.2_2A character set conversion library 
 libtool-1.5.22_2Generic shared library support script  links-2.1.p21,1 
Lynx-like text WWW browser  linux_base-8-8.0_14 Base set of packages needed in 
Linux mode (for  i386/amd64)  lynx-ssl-2.8.5_2A non-graphical, text-based 
World-Wide Web client with  SSL  pcre-6.7Perl Compatible
 Regular Expressions library  perl-5.8.8  Practical Extraction and 
Report Language  pkg-config-0.20_2   A utility to retrieve information about 
installed  libraries  pkgconfig-0.20  A utility to retrieve information 
about installed  libraries  png-1.2.12_1Library for manipulating PNG 
images  portaudit-0.5.11Checks installed ports against a list of security  
vulnerabi  portupgrade-2.1.3.2_2,2 FreeBSD ports/packages administration and  
management too  l s  ruby-1.8.4_9,1  An object-oriented interpreted 
scripting language  ruby18-bdb-0.5.9_2  Ruby interface to Sleepycat's Berkeley 
DB revision 2  or lat  tiff-3.8.2  Tools and library routines for 
working with TIFF  images  xorg-clients-6.9.0_2 X client programs and related 
files from X.Org  xorg-documents-6.9.0 Documentation of X11 protocol and 
libraries from  X.Org  xorg-fonts-100dpi-6.9.0_1 X.Org 100dpi bitmap fonts  
xorg-fonts-75dpi-6.9.0_1 X.Org 75dpi bitmap fonts 
 xorg-fonts-cyrillic-6.9.0_1 X.Org Cyrillic bitmap fonts  
xorg-fonts-encodings-6.9.0_1 X.Org font encoding files  
xorg-fonts-miscbitmaps-6.9.0_1 X.Org miscellaneous bitmap fonts  
xorg-fonts-truetype-6.9.0 X.Org TrueType fonts  xorg-fonts-type1-6.9.0 X.Org 
Type1 fonts  

Re: watchdog question.

2006-08-02 Thread Alex Zbyslaw

Bill Moran wrote:


RW [EMAIL PROTECTED] wrote:

 


On Tuesday 01 August 2006 20:39, Efren Bravo wrote:
   


Hi,

I've a freeBSD box and I've been seeing this
message for several months: sis0 watchdog
timeout.

The box has two ethernet cards, sis0 (100mb) and
vr0 (10mb).

The messages isn't frequent but yesterday it got
my attention. What does this mean?
 


from  sis(4)
sis%d: watchdog timeout  The device has stopped responding to the net-
work, or there is a problem with the network connection (e.g. a cable
fault).
   



I've seen this frequently with sis cards.  My opinion is that all sis
cards are cheapo crap, and watchdog timer is a workaround to try to make
them work in spite of being crap.  I've seen sis cards in Windows machines
and they perform lousy there as well.
 

I always got these errors on sis cards too - always ignored then.  
Worked fine for me on a lightly loaded network.


If you start getting real symptoms - card locking up for example - then 
you;ll have to get a better network card.  But unless and until that 
happens I would ignore it.


--Alex


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


Re: spamfilter

2006-08-02 Thread hackmiester (Hunter Fuller)


On 1 August 2006, at 22:55, User Freebsd wrote:



If you want a truly user-friendly spam/virus solution, check out:

 http://www.renaissoft.com/maia/

I have this backing 200 VPS, including postgresql.org itself, and  
its literally a dream

Misuse of literally - but I can second that recommendation :-P

, as it allows *each user* to individually tailor their settings ...

On Wed, 2 Aug 2006, Olivier Nicole wrote:


1) spamd (part of SpamAssassin) is written in perl.  This is
fine for a workstation, not so much for a high-volume mail server.


SpamAssassin itself is written in Perl... But it can be run on a
remote server, it does not have to be on the machine running  
sendmail.



2) installing spamass-milter requires rebuilding sendmail.  (I
have no idea about other MTAs.)  This usually sounds more
frightening than it is, but can still lead to complications.


I think stock sendmail is installed with milter, so it is only a
matter aof configuration, not of compiling.

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





Marc G. Fournier   Hub.Org Networking Services (http:// 
www.hub.org)
Email . [EMAIL PROTECTED]  MSN .  
[EMAIL PROTECTED]

Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions- 
[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: Gotta start somewhere ... how many of us are really out there?

2006-08-02 Thread Alex Zbyslaw

Atom Powers wrote:



It's still going to take you at least a release to get it into the
base install. But if you can find a way to use the portsnap data and
get useful information out of the cvsup data you can probably get
numbers now with an error margin as low as 8% to 15%.


Hey, I said that a week ago!  Guess I agree with you :-)

Not quite convinced by the error margin, but as long as you count too 
low then I see no problem.  If, as Nikolas pointed out, a URL-based 
reporting scheme can be bombarded with fakes, as a vendor I would not 
want to listen to any numbers it produced.


But the question then goes back to: can you make any kind of count out 
of cvsup servers?  Someone already said they thought you couldn't.


At the end of the day, I think that unique IP address is as close as 
it's possible to get to host count.  It will undercount NATed hosts and 
networks with single cvsup/portsnap distribution points, and will 
overcount variable IP addresses.  The latter, I think matters the least 
as long as you do your stats over a short enough period (e.g. 1 month).  
That wouldn't overcount much and deliberate faking would be hard and 
limited (how many IP addresses can one faker get access to?).


Then, as long as the methodology is clearly explained along with any 
stats, you'd have the ammunition to persuade vendors (we hope).


--Alex




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


Re: Changing user password from command line

2006-08-02 Thread Simon Phoenix
On Wednesday 02 August 2006 12:48, Mike Fern wrote:
 Dear all,
 Does anybody know a program which is able to change user password from
 command line?
 We can add a user using single line pw (pw useradd), but i need
 ability to set the password also, instead of old command passwd user
 and then writing to stdin.

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

man pw

Look for -h option description.

--
Best regards,
Simon Phoenix (Phoenix Lab.)
KeyID: 0x2569D30B
Fingerprint: 78FC 5C40 07CC D331 148E CC79 84B8 D514 2569 D30B


pgpMMVqhr24Rc.pgp
Description: PGP signature


Re: watchdog question.

2006-08-02 Thread efrenba
 On Tuesday 01 August 2006 20:39, Efren Bravo wrote:
 Hi,

 I've a freeBSD box and I've been seeing this
 message for several months: sis0 watchdog
 timeout.

 The box has two ethernet cards, sis0 (100mb) and
 vr0 (10mb).

 The messages isn't frequent but yesterday it got
 my attention. What does this mean?

 from  sis(4)
  sis%d: watchdog timeout  The device has stopped responding to the
 net-
  work, or there is a problem with the network connection (e.g. a cable
  fault).

The motherboard is http://www.eprom.com/home/Microstar/ms7005.htm

The PC has been up for 119 days and nobody have reported me a network
interruption.

I've just changed the cable, so I'll wait to see if the system raises more
watchdog messages. In the console I see only two messages: april 20 | july
4.

Thanks to all 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]


Re: watchdog question.

2006-08-02 Thread Bill Moran
In response to [EMAIL PROTECTED]:

  On Tuesday 01 August 2006 20:39, Efren Bravo wrote:
  Hi,
 
  I've a freeBSD box and I've been seeing this
  message for several months: sis0 watchdog
  timeout.
 
  The box has two ethernet cards, sis0 (100mb) and
  vr0 (10mb).
 
  The messages isn't frequent but yesterday it got
  my attention. What does this mean?
 
  from  sis(4)
   sis%d: watchdog timeout  The device has stopped responding to the
  net-
   work, or there is a problem with the network connection (e.g. a cable
   fault).
 
 The motherboard is http://www.eprom.com/home/Microstar/ms7005.htm
 
 The PC has been up for 119 days and nobody have reported me a network
 interruption.
 
 I've just changed the cable, so I'll wait to see if the system raises more
 watchdog messages. In the console I see only two messages: april 20 | july
 4.

It won't help.  I wouldn't waste your time if I were you.  I've dealt with
these MSI boards in the past, and they're cheap luhsuh.

Again, my understanding is that the ethernet card is crap, and occasionally
just wedges of its own accord.  After a few milliseconds, the watchdog goes
off and triggers a hardware reset.  A few packets get dropped and need
resent, but TCP is a reliable protocol so nobody notices.

Want to see just how bad the card is?  Do some performance tests and see how
close to the theoretical network maximum you can get on data transfers.  If
I remember correctly, we only got about 50% of was the card _should_ have
been able to accomplish.

The difference between the drivers provided by SIS and those built in to
FreeBSD is that the SiS drivers for Windows will never tell you what's going
on, whereas the FreeBSD drivers will log every time a hardware reset is
required.

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


Re: Problems with MySQL since upgrade

2006-08-02 Thread Richard Morse


On Aug 1, 2006, at 9:24 AM, Richard Morse wrote:

Hi!  I recently updated MySQL to version 5.0.22 using the ports  
system (portupgrade -r -R mysql-\*).  Previous to this, MySQL was  
behaving perfectly normally.  Since the upgrade, I have found that  
every so often -- sometimes two or three times a day, sometimes  
every other day, but no more often than that -- one of the  
databases MySQL is hosting starts misbehaving, MySQL starts  
climbing in processor usage, and I have to restart MySQL to  
recover.  By misbehaving, I mean that some subset of queries to  
this database start not returning -- they take forever.  By  
climbing in processor usage, I mean that my load averages, which  
normally sit around 0, start going up to 3, 5, even 7.


- How can I determine what query it is that is causing this to  
happen?  I have turned on the log files by adding the following  
line to /etc/rc.conf:


Hi!  Since this time, I have, I think, found what query is causing  
the problem:


SELECT u.*, s.* FROM users u INNER JOIN sessions s ON u.uid = s.uid  
WHERE s.sid = d9fe25949f79f2c767a0d237b4fdf841 AND u.status  3  
LIMIT 0, 1


How can I determine _why_ this is causing MySQL to hang/enter some  
kind of infinite loop?


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


Re: Need Advice for Tuning NFS to place nice with a Netapp

2006-08-02 Thread Freminlins

Nicole,

On 02/08/06, N. Harrington [EMAIL PROTECTED] wrote:


Hi
I have several web servers that are attached to a
Netapp (network appliance) unit via NFS-3. A few
servers are 5.5 and a few are 6.1 for comparison
testing. All seem to have lousy performance.



We have a similar setup and it runs smoothly.

Can you define lousy performance ?

Can you give more details on your network? Are you using Gig ethernet? And
over what medium?

Can you also try just copying a 100MB file from the filer to one of the web
servers and record the time?

Are you running nfsiod?

When

going through the issues with Netapp, the reasons
given were that we have too many GettAdr/Lookup
requests compared to actual reads. So all the NFS IOPS
are being used up by these requests. As soon as the
webservers get busy,  requests pile up.

I have tried everything I can think of. The web
servers are even mounted read only with no help.

My current mount options are:
filer:/vol/fvol31/home/13/13  nfs
ro,noatime,-r=32768,-T,-b,-R0,-i,-D2,-L 0  0



Mounting noatime for web servers is a good idea but... your noatime option
has no effect on NFS mounts (check out the mount man page). You need vol
options no_atime_update on the NetApp.

Any advice for sysctl tunes or anything else would be

much appreciatted!

Thanks

  Nicole



One last thing - are you female?! In a UNIX newsgroup?!

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


Telecom

2006-08-02 Thread root

Dear All,

Can we use FreeBSD in Telecom industry? If I want to build an Internet  
Backbone which connect across country in asia. Is it suitable? How is  
its stability of routing compare to Cisco?


Rgds,

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


2 Gateways.

2006-08-02 Thread Лукьяненко Александр
Hi, all!

Problem: PC with FreeBSD, there are 2 gateway GW1 and GW2, GW1 is
default.
Need: Queries that come from GW2 goes through GW2, not through
default.
How can I do it?

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


Re: Weird result of portupgrade -aRr concerning pkgconfig or is it pkg-config?

2006-08-02 Thread Kevin Monceaux
Bobby,

On Wed, Aug 02, 2006 at 02:22:18PM +0200, Bobby Knight wrote:
  
 HelloNewly installed 6.1. 

I recently said hello to a newly installed FreeBSD 6.1 myself.

 Barely touched ports so one would expect it to work, 

That sounds like a reasonable expectation for FreeBSD.  I'm new to FreeBSD
myself.  For the most part I've found it quite stable.  I've been a Linux
user for years(since the 1.x kernel days) and after only a few days of
tinkering with FreeBSD on a test box I'm just about ready to switch my main
box over to FreeBSD.

 yet it fails brutally for me as  a new user when I do portupgrade -arR
 just to upgrade a few packages.

I experienced a similar failure to the one you describe, although I didn't
find it all that brutal.  After a few tries I managed to get past it.

 I have no clue why and what to do so I am hoping someone here knows. 

I don't really have a clue as to why myself but I'll tell you what worked
for me.  There may be a better solution to this and if so hopefully someone
with more knowledge than I will point it out.  To improve your chances of
getting the answers you need you might want to consider paying attention to
the guidelines posted occasionally, especially the part about including line
breaks.  Such a post can be found at:

http://Lists.FreeBSD.org/pipermail/freebsd-questions/2006-July/126199.html

Reformatting your post so I could reply to it took a bit of time.  Since I
had a similar problem I took the time to reformat your message and reply to
it with the hope that it will encourage someone who might not otherwise have
repiled to provide more information and a better solution to the problem.

 Can't see what I have done wrong. 

My guess is you haven't done anything wrong.  I had the same problem.  

 That is always cvsup ports and do a portsdb -Fu; portaudit -Fa before
 upgrade as well as read UPDATING.

I use portsnap myself and just installed portupgrade and portaudit
yesterday.  I'm still learning all the proper steps necessary to keep my
system up to date.

 Checking if devel/pkg-config already installed  ===   pkg-config-0.20_2
 is already installed
 You may wish to ``make deinstall'' and install this port again by ``make
 reinstall'' to upgrade it properly.

I tried a 'make deinstall' then 'make reinstall' as the error message
suggested.  It didn't help.  Then, I tried a 'make deinstall' followed by a
'portupgrade -aRr' which appeared to get around the problem.  Portupgrade
installed the version of pkg-config it really wanted and upgraded
everything successfully.


Kevin
http://www.RawFedDogs.net
http://www.WacoAgilityGroup.org
Bruceville, TX

Si hoc legere scis nimium eruditionis habes.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Weird result of portupgrade -aRr concerning pkgconfig or is it pkg-config?

2006-08-02 Thread RW
On Wednesday 02 August 2006 13:22, Bobby Knight wrote:
 HelloNewly installed 6.1. Barely touched ports so one would expect it
 to work, yet it fails brutally for me as  a new user when I do portupgrade
 -arR just to upgrade a few packages.I have no clue why and what to do
 so I am hoping someone here knows. Can't  see what I have done wrong. I
 have followed the available ports docs/mans slavishly.

 That is always cvsup ports and do a portsdb -Fu; portaudit -Fa before
 upgrade as  well as read UPDATING.The info I've managed to gather is
 listed below. I don't want to retry the  installation and maybe screw up
 things more before I ask you guys. Problem  seems to be with pkg-config or
 pkgconfig... pkgconfig puzzles me. There

 exits no port of this in the tree yet it somehow is a package now.

$ grep  pkgconfig /usr/ports/MOVED
devel/pkgconfig|devel/pkg-config|2006-05-27|Renamed to use real vendor package 
name

You can probably just pkg_delete pkgconfig, and fix-up the dependencies. 
Between the two you probably need to install the new version.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems with MySQL since upgrade

2006-08-02 Thread Jim Stapleton

Not sure, seems more of a mysql question, but here's some guesses I
have for diagnostics.

could you run these queries?

SELECT COUNT(*) FROM users WHERE status  3
SELECT COUNT(*) FROM sessiions WHERE sid = d9fe25949f79f2c767a0d237b4fdf841
SELECT COUNT(*) FROM FROM users u INNER JOIN sessions s ON u.uid =
s.uid WHERE s.sid = d9fe25949f79f2c767a0d237b4fdf841 AND u.status 
3

-Jim Stapleton



On 8/2/06, Richard Morse [EMAIL PROTECTED] wrote:


On Aug 1, 2006, at 9:24 AM, Richard Morse wrote:

 Hi!  I recently updated MySQL to version 5.0.22 using the ports
 system (portupgrade -r -R mysql-\*).  Previous to this, MySQL was
 behaving perfectly normally.  Since the upgrade, I have found that
 every so often -- sometimes two or three times a day, sometimes
 every other day, but no more often than that -- one of the
 databases MySQL is hosting starts misbehaving, MySQL starts
 climbing in processor usage, and I have to restart MySQL to
 recover.  By misbehaving, I mean that some subset of queries to
 this database start not returning -- they take forever.  By
 climbing in processor usage, I mean that my load averages, which
 normally sit around 0, start going up to 3, 5, even 7.

 - How can I determine what query it is that is causing this to
 happen?  I have turned on the log files by adding the following
 line to /etc/rc.conf:

Hi!  Since this time, I have, I think, found what query is causing
the problem:

SELECT u.*, s.* FROM users u INNER JOIN sessions s ON u.uid = s.uid
WHERE s.sid = d9fe25949f79f2c767a0d237b4fdf841 AND u.status  3
LIMIT 0, 1

How can I determine _why_ this is causing MySQL to hang/enter some
kind of infinite loop?

Thanks,
Ricky
___
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: gcc: cpp pre-defined variables

2006-08-02 Thread Chuck Swiger

Lorin Lund wrote:

How can I find all the variables that are pre-defined in the pre-processor.

Do these come from a configuration file? Or are the compiled in to cpp when
it is ported to a platform?


Something like:

touch test.h; cpp -dM test.h

...will show you all of the predefined macros.  These are compiled into the 
compiler when the toolchain is built.


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


Re: Understanding top and memory usage

2006-08-02 Thread Chuck Swiger

Philip Radford wrote:
[ ... ]

When using the top command I get the following in regards to memory usage.

Mem: 223M Active, 970M Inact, 175M Wired, 50M Cache, 112M Buf, 73M Free
Swap: 3029M Total, 12K Used, 3029M Free

Can someone advise me which figure relates to actual physical memory 
which is available. I can't work out if it is the 970M Inact or the 73M 
Free (i.e. the last figure).


The 73MB free is the amount of completely unused physical RAM available, but 
the system can use memory from the 970MB of inactive if needed to run new 
programs, otherwise that serves as a cache of already-accessed process and 
file data.


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


anyone have any luck on installing FreeBSD on a SATA drive on an Adaptec 1205SA card?

2006-08-02 Thread Jim Stapleton

I got this thinking adaptec would make their own chip, turns out it is
a SiL 3112 (I got it to hopefully end the issues I was having with the
SiL 2114 on my motherboard, turns out I just ended up with more).

Anyway, while this new chip fixed the issues of write errors in
windows, BSD cannot boot with the card installed, except in safe mode,
and even then the installer hanges at random intervals. Any fix
suggestions?

The motherboard is an ABit NF7-S. The drive is a Seagate and was used
for a FreeBSD install on an ASUS A8N-E motherboard, quite
successfully.

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


options VESA SC_PIXEL_MODE

2006-08-02 Thread dick hoogendijk
I followed some advice on how to get higher resolutions on the console
for my 1280x1024 LCD monitor.

I recompiled the kernel with
options VESA
options SC_PIXEL_MODE

After a vidcontrol MODE_282 I get a 1280x1024 console.
Nice, but the characters are just fat compared to the chars I get in
Xorg running the same resolution setting (those terminal chars are very
sharp).

Furthermore it feels as though the screen has become a little slower
then without vesa and sc_pixel_mode (in the console). Can this be? Or
is this just my imagination.

The console resolution has to be delt with because the default font is
really HUGE ;-)

Question: is VESA the way to go or is it better to leave this out of
the kernel and do just something with the buildin -f (font) in
vidcontrol. I have font8x8/8x14/8x16 in my /etc/rc.conf

Your comments and advise please.
 
-- 
dick -- http://nagual.nl/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.1 ++ 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: Problems with MySQL since upgrade

2006-08-02 Thread Richard Morse
Hi!  All of these queries worked just fine, without causing any  
problems.


As this is more of a mysql issue, do you have any suggestions where  
it would be best for me to query them?


Thanks,
Ricky

On Aug 2, 2006, at 9:36 AM, Jim Stapleton wrote:


Not sure, seems more of a mysql question, but here's some guesses I
have for diagnostics.

could you run these queries?

SELECT COUNT(*) FROM users WHERE status  3
SELECT COUNT(*) FROM sessiions WHERE sid =  
d9fe25949f79f2c767a0d237b4fdf841

SELECT COUNT(*) FROM FROM users u INNER JOIN sessions s ON u.uid =
s.uid WHERE s.sid = d9fe25949f79f2c767a0d237b4fdf841 AND u.status 
3

-Jim Stapleton



On 8/2/06, Richard Morse [EMAIL PROTECTED] wrote:


On Aug 1, 2006, at 9:24 AM, Richard Morse wrote:

 Hi!  I recently updated MySQL to version 5.0.22 using the ports
 system (portupgrade -r -R mysql-\*).  Previous to this, MySQL was
 behaving perfectly normally.  Since the upgrade, I have found that
 every so often -- sometimes two or three times a day, sometimes
 every other day, but no more often than that -- one of the
 databases MySQL is hosting starts misbehaving, MySQL starts
 climbing in processor usage, and I have to restart MySQL to
 recover.  By misbehaving, I mean that some subset of queries to
 this database start not returning -- they take forever.  By
 climbing in processor usage, I mean that my load averages, which
 normally sit around 0, start going up to 3, 5, even 7.

 - How can I determine what query it is that is causing this to
 happen?  I have turned on the log files by adding the following
 line to /etc/rc.conf:

Hi!  Since this time, I have, I think, found what query is causing
the problem:

SELECT u.*, s.* FROM users u INNER JOIN sessions s ON u.uid = s.uid
WHERE s.sid = d9fe25949f79f2c767a0d237b4fdf841 AND u.status  3
LIMIT 0, 1

How can I determine _why_ this is causing MySQL to hang/enter some
kind of infinite loop?

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



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions- 
[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: Weird result of portupgrade -aRr concerning pkgconfig or is it pkg-config?

2006-08-02 Thread Kevin Monceaux
On Wed, Aug 02, 2006 at 02:34:46PM +0100, RW wrote:
 
 $ grep  pkgconfig /usr/ports/MOVED
 devel/pkgconfig|devel/pkg-config|2006-05-27|Renamed to use real vendor
 package name
 
 You can probably just pkg_delete pkgconfig, and fix-up the dependencies. 
 Between the two you probably need to install the new version.

Would:

portupgrade -f -o pkgconfig pkg-config 

be the correct way to fix such a problem?


Kevin
http://www.RawFedDogs.net
http://www.WacoAgilityGroup.org
Bruceville, TX

Si hoc legere scis nimium eruditionis habes.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems with MySQL since upgrade

2006-08-02 Thread Jim Stapleton

I thought there were mysql forums, but I am not sure.

In the queries I gave you, none of the results were too large I take
it (not above the low thousands)?

-Jim Stapleton

On 8/2/06, Richard Morse [EMAIL PROTECTED] wrote:

Hi!  All of these queries worked just fine, without causing any
problems.

As this is more of a mysql issue, do you have any suggestions where
it would be best for me to query them?

Thanks,
Ricky

On Aug 2, 2006, at 9:36 AM, Jim Stapleton wrote:

 Not sure, seems more of a mysql question, but here's some guesses I
 have for diagnostics.

 could you run these queries?

 SELECT COUNT(*) FROM users WHERE status  3
 SELECT COUNT(*) FROM sessiions WHERE sid =
 d9fe25949f79f2c767a0d237b4fdf841
 SELECT COUNT(*) FROM FROM users u INNER JOIN sessions s ON u.uid =
 s.uid WHERE s.sid = d9fe25949f79f2c767a0d237b4fdf841 AND u.status 
 3

 -Jim Stapleton



 On 8/2/06, Richard Morse [EMAIL PROTECTED] wrote:

 On Aug 1, 2006, at 9:24 AM, Richard Morse wrote:

  Hi!  I recently updated MySQL to version 5.0.22 using the ports
  system (portupgrade -r -R mysql-\*).  Previous to this, MySQL was
  behaving perfectly normally.  Since the upgrade, I have found that
  every so often -- sometimes two or three times a day, sometimes
  every other day, but no more often than that -- one of the
  databases MySQL is hosting starts misbehaving, MySQL starts
  climbing in processor usage, and I have to restart MySQL to
  recover.  By misbehaving, I mean that some subset of queries to
  this database start not returning -- they take forever.  By
  climbing in processor usage, I mean that my load averages, which
  normally sit around 0, start going up to 3, 5, even 7.
 
  - How can I determine what query it is that is causing this to
  happen?  I have turned on the log files by adding the following
  line to /etc/rc.conf:

 Hi!  Since this time, I have, I think, found what query is causing
 the problem:

 SELECT u.*, s.* FROM users u INNER JOIN sessions s ON u.uid = s.uid
 WHERE s.sid = d9fe25949f79f2c767a0d237b4fdf841 AND u.status  3
 LIMIT 0, 1

 How can I determine _why_ this is causing MySQL to hang/enter some
 kind of infinite loop?

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

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-
 [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: SATA Cables Suck!

2006-08-02 Thread Eric
On 1 Aug 2006 at 17:23, Nikolas Britton wrote:

 The number one problem I've had with SATA RAIDs has been the cables! 4
 times I've lost arrays because the cables came loose or some other
 stupid problem with the cables.
 
 I need a vendor that has high quality latching SATA-II cables. Also...
 what can we do with the old cables to fix them... super glue them
 on?... Here's a question... Are all SATA cables rated for SATA-II?
 I've never seen a definitive answer to this question and newegg.com
 does not sells SATA-II cables... Also does the spec call for
 shielded cables?
 
 frustrated, need a place to unload thanks.
 
 

I think Western Digital makes securelock cables that snap in place pretty well. 
might be worth 
a look. 

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


Re: Problems with MySQL since upgrade

2006-08-02 Thread Richard Morse
No, they were all normal (the latter two were 0, the first was about  
110).  FWIW, the query usually proceeds normally; it's only when it  
doesn't that things go bad.


I'm wondering if this is a problem with threads -- I've been doing  
research, and a number of places say that there are threading issues  
on FreeBSD 5 with MySQL thread when using the standard threading  
library.  I'm going to recompile MySQL with the linuxpthreads option,  
and see if that stops this...


Thanks,
Ricky

On Aug 2, 2006, at 10:00 AM, Jim Stapleton wrote:


I thought there were mysql forums, but I am not sure.

In the queries I gave you, none of the results were too large I take
it (not above the low thousands)?

-Jim Stapleton

On 8/2/06, Richard Morse [EMAIL PROTECTED] wrote:

Hi!  All of these queries worked just fine, without causing any
problems.

As this is more of a mysql issue, do you have any suggestions where
it would be best for me to query them?

Thanks,
Ricky

On Aug 2, 2006, at 9:36 AM, Jim Stapleton wrote:

 Not sure, seems more of a mysql question, but here's some guesses I
 have for diagnostics.

 could you run these queries?

 SELECT COUNT(*) FROM users WHERE status  3
 SELECT COUNT(*) FROM sessiions WHERE sid =
 d9fe25949f79f2c767a0d237b4fdf841
 SELECT COUNT(*) FROM FROM users u INNER JOIN sessions s ON u.uid =
 s.uid WHERE s.sid = d9fe25949f79f2c767a0d237b4fdf841 AND  
u.status 

 3

 -Jim Stapleton



 On 8/2/06, Richard Morse [EMAIL PROTECTED] wrote:

 On Aug 1, 2006, at 9:24 AM, Richard Morse wrote:

  Hi!  I recently updated MySQL to version 5.0.22 using the ports
  system (portupgrade -r -R mysql-\*).  Previous to this, MySQL  
was
  behaving perfectly normally.  Since the upgrade, I have found  
that

  every so often -- sometimes two or three times a day, sometimes
  every other day, but no more often than that -- one of the
  databases MySQL is hosting starts misbehaving, MySQL starts
  climbing in processor usage, and I have to restart MySQL to
  recover.  By misbehaving, I mean that some subset of  
queries to

  this database start not returning -- they take forever.  By
  climbing in processor usage, I mean that my load averages, which
  normally sit around 0, start going up to 3, 5, even 7.
 
  - How can I determine what query it is that is causing this to
  happen?  I have turned on the log files by adding the following
  line to /etc/rc.conf:

 Hi!  Since this time, I have, I think, found what query is causing
 the problem:

 SELECT u.*, s.* FROM users u INNER JOIN sessions s ON u.uid =  
s.uid

 WHERE s.sid = d9fe25949f79f2c767a0d237b4fdf841 AND u.status  3
 LIMIT 0, 1

 How can I determine _why_ this is causing MySQL to hang/enter some
 kind of infinite loop?

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

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



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


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


Broadcom BCM5780 NIC on fujitsu primergy 220 server

2006-08-02 Thread ovidiu ene

Hi, I've found this post:
http://www.mail-archive.com/freebsd-net@freebsd.org/msg19247.html

It seems that support for BCM5780 was added into bge driver, in  
CURRENT, so i've cvsuped, and tried, and still not working. Anybody  
have an ideea howto solve this problem?


(I have a Fujitsu Primergy RX 220 server with 2xbcm5780 gigabyte nics)


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


Re: SATA Cables Suck!

2006-08-02 Thread Jim Stapleton

I have SATA one cables/connectors, and they do come loose when
fiddling in the case, but otherwise they are fine (when the case is
closed and the machine is running. However, I do prefer the locking
cables and jacks in SATA II.


You might look at Newegg as your vendor, I believe I saw some there:
http://www.newegg.com. Alternatively, I got some SATAII cables from,
oddly enough, Microcenter, that were good priced and worked well.

-Jim Stapleton


On 8/2/06, Eric [EMAIL PROTECTED] wrote:

On 1 Aug 2006 at 17:23, Nikolas Britton wrote:

 The number one problem I've had with SATA RAIDs has been the cables! 4
 times I've lost arrays because the cables came loose or some other
 stupid problem with the cables.

 I need a vendor that has high quality latching SATA-II cables. Also...
 what can we do with the old cables to fix them... super glue them
 on?... Here's a question... Are all SATA cables rated for SATA-II?
 I've never seen a definitive answer to this question and newegg.com
 does not sells SATA-II cables... Also does the spec call for
 shielded cables?

 frustrated, need a place to unload thanks.



I think Western Digital makes securelock cables that snap in place pretty well. 
might be worth
a look.

Eric
___
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]


removing large files (lost+found)

2006-08-02 Thread Scott Oertel
Yesterday after an fsck a file was placed in the lost+found folder which 
size was exactly the size of the drive (450gb). What is the safest way 
to remove this file?




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


RE: Replacing windows XP at home.

2006-08-02 Thread Joshua Lewis

   I am actually not looking for a Windows look alike. I am simply
   replacing my XP system with a BSD solution. I am looking for a fast
   easy to configure and fun WM. I am absolutely looking for something
   new to use. not Windows like. That is why I was looking at
   enlightenment and fluxbox. but there are just so many I was hoping to
   get ideas as to why one would choose one over the other. Other then
   personal preference. I have been using enlightenment for about a week
   and perhaps it is something I did but my resolution is stuck at
   1600x1280 at 65Hz. My monitor keeps getting mad at me and telling me
   that is not the recommended solution. I have been trying to figure out
   how to change it and I have updated the xorg.conf as the handbook says
   but it still defaults. Unless anyone has an idea why I am going to
   switch to fluxbox and see how that feels.



   I did want to mention that I do agree with your point. I am looking
   for something new and I am looking to experiment with other ways of
   doing things. But at the same time I would like a little eye candy.
   After all with today's power full systems there is nothing wrong with
   waisting a few CPU cycles to make the experience a little more
   enjoyable.



   I will certainly give XFCE a try I have seen allot of recommendations
   for that as well.
   Sincerely,
   Joshua Lewis

  Original Message 
 Subject: Re: Replacing windows XP at home.
 From: Andrew Gould [EMAIL PROTECTED]
 Date: Tue, August 01, 2006 12:27 pm
 To: Jerry McAllister [EMAIL PROTECTED],
 [EMAIL PROTECTED]
 Cc: Joshua Lewis [EMAIL PROTECTED],
 freebsd-questions@freebsd.org
 --- Jerry McAllister [EMAIL PROTECTED]
 wrote:
  
   Joshua Lewis wrote:
   
   Would I be better off just going with Gnome
  or KDE? I realize once I
   start installing apps that I will probably
  wind up installing
   something that uses Gnome or KDE libraries so
  I am going to wind up
   bloating my system any ways right?
   
  
   Look at them both and make a choice if you like
  either.
   I tried both in the past, but found they were not
  for me for various
   reasons, so I went looking,  also tried Xfce as
  has been mentioned, but
   I decided I wanted to try something really
  different from things that
   seemed Windows like.
  
   Tried WindowMaker and have been using it now for a
  long time. Here is
   the url www.windowmaker.info if you are
  interested.
   As you requested lean and fast, little slow
  getting started, only
   because it is very different in the approach of
  say Gnome, KDE, or Xfce,
   but once you get used to it, works great. I also
  like dock apps, which
   you can get more info at http://dockapps.org/
 
  Gee, I just use AfterStep.   Of course, that isn't
  really an MS-Win
  environment replacement.  It doesn't even attempt to
  be.   But then I
  really do not want to have the look and feel of
  MS-Win.I want something
  more straight-forward and less icky.
 
  jerry
 
   Good Luck,
   Sean
 This is a good point here.  Whereas it's good to have
 something familiar for immediate productivity, it's
 also good to explore different options to experience
 benefits/drawbacks that you hadn't considered before.
 In *nix (includind BSD's and Linux), you're not
 limited to one window manager.  You can install
 several and use whichever matches your mood at the
 time.
 I used to use KDE and Gnome simply because the menus
 contained so many applications that were new to me.
 Once I knew which applications I wanted to use, I
 switched to XFCE because it's faster.  I still use
 XFCE for my office productivity; but I'm still
 experimenting with icewm and windowmaker on an older
 computer because they feel so much faster.
 Definitely choose a window manager that will give you
 a  positive experience now; but take time to browse
 *nix's other offerings.  If you don't try new things,
 how can you make an informed decision?
 Andrew L. Gould
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: removing large files (lost+found)

2006-08-02 Thread Dan Nelson
In the last episode (Aug 02), Scott Oertel said:
 Yesterday after an fsck a file was placed in the lost+found folder which 
 size was exactly the size of the drive (450gb). What is the safest way 
 to remove this file?

If its timestamp updates when you touch a file on the main filesystem,
it's most likely a snapshot file, either leftover from a failed
background fsck, or manually created by you with mksnap_ffs.  You can
just delete it.

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


Re: removing large files (lost+found)

2006-08-02 Thread Scott Oertel

Dan Nelson wrote:

In the last episode (Aug 02), Scott Oertel said:
  
Yesterday after an fsck a file was placed in the lost+found folder which 
size was exactly the size of the drive (450gb). What is the safest way 
to remove this file?



If its timestamp updates when you touch a file on the main filesystem,
it's most likely a snapshot file, either leftover from a failed
background fsck, or manually created by you with mksnap_ffs.  You can
just delete it.

  
The time stamp doesn't update, it gives an error: touch: #0005: 
Operation not permitted



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


Re: Telecom

2006-08-02 Thread RW
On Wednesday 02 August 2006 14:14, [EMAIL PROTECTED] wrote:
 Dear All,

 Can we use FreeBSD in Telecom industry? If I want to build an Internet
 Backbone which connect across country in asia. Is it suitable? How is
 its stability of routing compare to Cisco?

Internet  backbone router don't run packets through conventional network 
stacks, they run the packets through asics or special network processors. 
FreeBSD could run on the control processor of such a router, but it would 
need a considerable amount of additional proprietory software and microcode.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Weird result of portupgrade -aRr concerning pkgconfig or is it pkg-config?

2006-08-02 Thread RW
On Wednesday 02 August 2006 15:00, Kevin Monceaux wrote:
 On Wed, Aug 02, 2006 at 02:34:46PM +0100, RW wrote:
  $ grep  pkgconfig /usr/ports/MOVED
  devel/pkgconfig|devel/pkg-config|2006-05-27|Renamed to use real vendor
  package name
 
  You can probably just pkg_delete pkgconfig, and fix-up the dependencies.
  Between the two you probably need to install the new version.

 Would:

 portupgrade -f -o pkgconfig pkg-config

 be the correct way to fix such a problem?

probably, I don't use portupgrade  much myself.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: piperd in top

2006-08-02 Thread DAve

Dan Nelson wrote:

In the last episode (Aug 01), DAve said:

We are in the process of getting a good hammering of spam. I've been
watching my mail gateways and they are keeping up well enough. But
looking at top I am seeing a lot of processes with state of piperd.


Piperd means the process is waiting on a read from a pipe.  You can use
lsof to determine what process is at the other end of the pipe (run
lsof, find your process, find the PIPE fd, then find the other process
with the same 0x value).



Excellent, thank you. May I ask where you found that info. I looked but 
came up empty. I'd like to know the meanings of some other states not 
mentioned in the man pages. Such as nanslp, *GIANT, kqread, etc.


Thanks,

DAve

--
Three years now I've asked Google why they don't have a
logo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing for
Veterans?

Maybe they forgot who made that choice possible.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: removing large files (lost+found)

2006-08-02 Thread Dan Nelson
In the last episode (Aug 02), Scott Oertel said:
 Dan Nelson wrote:
 In the last episode (Aug 02), Scott Oertel said:
 Yesterday after an fsck a file was placed in the lost+found folder
 which size was exactly the size of the drive (450gb). What is the
 safest way to remove this file?
 
 If its timestamp updates when you touch a file on the main
 filesystem, it's most likely a snapshot file, either leftover from a
 failed background fsck, or manually created by you with mksnap_ffs. 
 You can just delete it.

 The time stamp doesn't update, it gives an error: touch: #0005:
 Operation not permitted

I mean touch some other file :)

But I just remembered the correct way to determine if a file is a
snapshot: ls -lo.  If the flags field contains the word snapshot
for that file, it's a snapshot.

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


Re: Replacing windows XP at home.

2006-08-02 Thread Nikolas Britton

On 8/2/06, Joshua Lewis [EMAIL PROTECTED] wrote:


   I am actually not looking for a Windows look alike. I am simply
   replacing my XP system with a BSD solution. I am looking for a fast
   easy to configure and fun WM. I am absolutely looking for something
   new to use. not Windows like. That is why I was looking at
   enlightenment and fluxbox. but there are just so many I was hoping to
   get ideas as to why one would choose one over the other. Other then
   personal preference. I have been using enlightenment for about a week
   and perhaps it is something I did but my resolution is stuck at
   1600x1280 at 65Hz. My monitor keeps getting mad at me and telling me
   that is not the recommended solution. I have been trying to figure out
   how to change it and I have updated the xorg.conf as the handbook says
   but it still defaults. Unless anyone has an idea why I am going to
   switch to fluxbox and see how that feels.



   I did want to mention that I do agree with your point. I am looking
   for something new and I am looking to experiment with other ways of
   doing things. But at the same time I would like a little eye candy.
   After all with today's power full systems there is nothing wrong with
   waisting a few CPU cycles to make the experience a little more
   enjoyable.



   I will certainly give XFCE a try I have seen allot of recommendations
   for that as well.
   Sincerely,
   Joshua Lewis




/etc/X11/xorg.conf should look sorta like this, yours should have more
Display SubSections in it:

Section Screen
   Identifier Screen0
   Device Card0
   MonitorMonitor0
   DefaultDepth 24
   SubSection Display
   Viewport   0 0
   Depth 24
   Modes   1280x1024
   EndSubSection
EndSection



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


Re: removing large files (lost+found)

2006-08-02 Thread Scott Oertel

Dan Nelson wrote:

In the last episode (Aug 02), Scott Oertel said:
  

Dan Nelson wrote:


In the last episode (Aug 02), Scott Oertel said:
  

Yesterday after an fsck a file was placed in the lost+found folder
which size was exactly the size of the drive (450gb). What is the
safest way to remove this file?


If its timestamp updates when you touch a file on the main
filesystem, it's most likely a snapshot file, either leftover from a
failed background fsck, or manually created by you with mksnap_ffs. 
You can just delete it.
  

The time stamp doesn't update, it gives an error: touch: #0005:
Operation not permitted



I mean touch some other file :)

But I just remembered the correct way to determine if a file is a
snapshot: ls -lo.  If the flags field contains the word snapshot
for that file, it's a snapshot.

  
Good call, yeah.. it is a snap shot file, I suppose I'll try and remove 
it, hopefully removing a 450GB file doesn't lock up the system..

# ls -lo
-r  1 root   operator  snapshot 482801995408 Jul 31 
05:52 #0005


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


Re: piperd in top

2006-08-02 Thread Dan Nelson
In the last episode (Aug 02), DAve said:
 Dan Nelson wrote:
 In the last episode (Aug 01), DAve said:
 We are in the process of getting a good hammering of spam. I've
 been watching my mail gateways and they are keeping up well enough.
 But looking at top I am seeing a lot of processes with state of
 piperd.
 
 Piperd means the process is waiting on a read from a pipe.  You can
 use lsof to determine what process is at the other end of the pipe
 (run lsof, find your process, find the PIPE fd, then find the other
 process with the same 0x value).
 
 Excellent, thank you. May I ask where you found that info. I looked
 but came up empty. I'd like to know the meanings of some other states
 not mentioned in the man pages. Such as nanslp, *GIANT, kqread, etc.

The only place wait states are documented is the source, basically. 
There are many hundreds of them.  States with an asterisk are mutexes
To find the code related to piperd:

find /usr/src/sys -name *.c | xargs grep -n piperd

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


Re: options VESA SC_PIXEL_MODE

2006-08-02 Thread Simon Phoenix
On Wednesday 02 August 2006 16:58, dick hoogendijk wrote:
 I followed some advice on how to get higher resolutions on the console
 for my 1280x1024 LCD monitor.

 I recompiled the kernel with
 options VESA
 options SC_PIXEL_MODE

 After a vidcontrol MODE_282 I get a 1280x1024 console.
 Nice, but the characters are just fat compared to the chars I get in
 Xorg running the same resolution setting (those terminal chars are very
 sharp).

 Furthermore it feels as though the screen has become a little slower
 then without vesa and sc_pixel_mode (in the console). Can this be? Or
 is this just my imagination.

 The console resolution has to be delt with because the default font is
 really HUGE ;-)

 Question: is VESA the way to go or is it better to leave this out of
 the kernel and do just something with the buildin -f (font) in
 vidcontrol. I have font8x8/8x14/8x16 in my /etc/rc.conf

 Your comments and advise please.


Maybe other mode from vidcontrol -i mode will be suitable for You.

-- 
Best regards,
Simon Phoenix (Phoenix Lab.)
---
KeyID: 0x2569D30B
Fingerprint: 78FC 5C40 07CC D331 148E CC79 84B8 D514 2569 D30B
---


pgpS7oC9tpa0A.pgp
Description: PGP signature


Re: Replacing windows XP at home.

2006-08-02 Thread Matthew Seaman
On Wed, Aug 02, 2006 at 08:56:33AM -0700, Joshua Lewis wrote:

 Other then
personal preference. I have been using enlightenment for about a week
and perhaps it is something I did but my resolution is stuck at
1600x1280 at 65Hz. My monitor keeps getting mad at me and telling me
that is not the recommended solution. I have been trying to figure out
how to change it and I have updated the xorg.conf as the handbook says
but it still defaults. Unless anyone has an idea why I am going to
switch to fluxbox and see how that feels.

Display resolution is independant of the window manager you choose.
As you say, you've looked at xorg.conf, and that's the right place
to go to fix this problem.

The automatic X -config stuff tends to get you the largest screen
real-estate that X thinks your graphics card and monitor are capable
of supporting.  In the past that often meant running at a lower colour
depth (which tends not to be a problem nowadays when 64MB is
considered a small quantity of graphics memory) or running at a lower
refresh rate (much more likely to be a problem).

In order to override the resolution presented to you, you can edit the
last section in xorg.conf, the Screen section.  There's two things
you can add to this section that help.  First you can force the colour
depth of the monitor to 24bits.  Your graphics card might support
32bits, but that isn't actually any higher colour resolution than
24bits -- the extra 8bits is used for fancy stuff like z-buffering or
alpha (transparency).  Secondly, you can tell X what your preferred
screen resolution is.  On my system, I like to run at 1600x1200.  The
monitor will do 1920x1440 but it's not really a supported resolution
according to the manufacturers and the low refresh rate is annoying.
So I have the following in my xorg.conf:

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
DefaultDepth 24
SubSection Display
Viewport   0 0
Depth 1
Modes 1600x1200 1920x1440 1280x1024 1152x864
EndSubSection
SubSection Display
Viewport   0 0
Depth 4
Modes 1600x1200 1920x1440 1280x1024 1152x864
EndSubSection
SubSection Display
Viewport   0 0
Depth 8
Modes 1600x1200 1920x1440 1280x1024 1152x864
EndSubSection
SubSection Display
Viewport   0 0
Depth 15
Modes 1600x1200 1920x1440 1280x1024 1152x864
EndSubSection
SubSection Display
Viewport   0 0
Depth 16
Modes 1600x1200 1920x1440 1280x1024 1152x864
EndSubSection
SubSection Display
Viewport   0 0
Depth 24
Modes 1600x1200 1920x1440 1280x1024 1152x864
EndSubSection
EndSection
 
ie. add the 'DefaultDepth 24' and 'Modes ...' lines.  The modes lines
give alternate resolutions that you can cycle through using
Ctrl-Alt-KP_Plus or Ctrl-Alt-KP_Minus (ie + or - from the numeric
keypad, not the ones on the top row of the main set of keys).

Also, look at /var/log/Xorg.N.log which will tell you what modes your
system thinks are workable, even if you put something a little too
ambitious in the config file.

  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


pgpf67tOqQq0z.pgp
Description: PGP signature


Re: piperd in top

2006-08-02 Thread Alex Zbyslaw

Dan Nelson wrote:


In the last episode (Aug 02), DAve said:
 


Dan Nelson wrote:
   


In the last episode (Aug 01), DAve said:
 


We are in the process of getting a good hammering of spam. I've
been watching my mail gateways and they are keeping up well enough.
But looking at top I am seeing a lot of processes with state of
piperd.
   


Piperd means the process is waiting on a read from a pipe.  You can
use lsof to determine what process is at the other end of the pipe
(run lsof, find your process, find the PIPE fd, then find the other
process with the same 0x value).
 


Excellent, thank you. May I ask where you found that info. I looked
but came up empty. I'd like to know the meanings of some other states
not mentioned in the man pages. Such as nanslp, *GIANT, kqread, etc.
   



The only place wait states are documented is the source, basically. 
There are many hundreds of them.  States with an asterisk are mutexes

To find the code related to piperd:

find /usr/src/sys -name *.c | xargs grep -n piperd

 

Or you could search the archive of questions@ where many of the more 
common states where elucidated just a couple months ago and Giorgos 
provided a good description of the UPPER CASE states.


--Alex


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


Systrace port status?

2006-08-02 Thread Michael Dexter


Hello,

Does anyone know the status of the port of systrace to FreeBSD?

The project page does not appear to be updated and the author has not 
replied to my e-mail.


Thanks,

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


Re: Gotta start somewhere ... how many of us are really out there?

2006-08-02 Thread Nikolas Britton

On 8/2/06, Alex Zbyslaw [EMAIL PROTECTED] wrote:

Atom Powers wrote:


 It's still going to take you at least a release to get it into the
 base install. But if you can find a way to use the portsnap data and
 get useful information out of the cvsup data you can probably get
 numbers now with an error margin as low as 8% to 15%.

Hey, I said that a week ago!  Guess I agree with you :-)

Not quite convinced by the error margin, but as long as you count too
low then I see no problem.  If, as Nikolas pointed out, a URL-based
reporting scheme can be bombarded with fakes, as a vendor I would not
want to listen to any numbers it produced.

But the question then goes back to: can you make any kind of count out
of cvsup servers?  Someone already said they thought you couldn't.

At the end of the day, I think that unique IP address is as close as
it's possible to get to host count.  It will undercount NATed hosts and
networks with single cvsup/portsnap distribution points, and will
overcount variable IP addresses.  The latter, I think matters the least
as long as you do your stats over a short enough period (e.g. 1 month).
That wouldn't overcount much and deliberate faking would be hard and
limited (how many IP addresses can one faker get access to?).

Then, as long as the methodology is clearly explained along with any
stats, you'd have the ammunition to persuade vendors (we hope).

--Alex



The problem with cvsup (I use cvsup.) is the error margin. The closer
we get to release dates the more I use cvsup, It's a side effect of
running -STABLE. anyways... back to the fakers...

Lets think about the usage patterns of a typical faker vs NAT:

Faker:
* All from one IP address.
* Sequential requests.
* Scripted, so each request should be timed perfectly with the one
before and the one after it.
* Thousands of requests.

NATed Boxes:
* All from one IP address.
* Parallel requests.
* Not scripted, requests should be more random.
* Hundreds of requests?

Also I seem to remember a way to detect NATed boxes:
http://www.google.com/search?client=operarls=enq=detecting+NATsourceid=operaie=utf-8oe=utf-8



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


Re: Need Advice for Tuning NFS to place nice with a Netapp

2006-08-02 Thread N. Harrington
--- Freminlins [EMAIL PROTECTED] wrote:
 Nicole,
 
 On 02/08/06, N. Harrington [EMAIL PROTECTED]
 wrote:
 
  Hi
  I have several web servers that are attached to a
  Netapp (network appliance) unit via NFS-3. A few
  servers are 5.5 and a few are 6.1 for comparison
  testing. All seem to have lousy performance.
 
 
 We have a similar setup and it runs smoothly.

 Cool! Can you share with me what sort of settings you
use on your boxes? sysctl/kerneltunes/mount options?

 It has taken me a over a month to even get to speak
to someone high enough up he food chain at Netapp to
not say FreeBSD - that's a version of Linux right?
 
 Can you define lousy performance ?

 The web server replies (using either Apache and
Lighthttpd) seem to max out at about 17mb/s. Response
time for the web server will rise gradually, then
suddenly become 10-20seconds for a reply. Much like a
backup on a highway. They claim that the netapp unit
is spending too much time dealing with file
information IOPS than actual transfer of files.
However even on a non in-use server, if I make a
request for a file, that heavy file access seems
normal.
IE:
GtAttr Lookup Rdlink   Read  Write Rename Access 
Rddir
 0  0  0  0  0  0  0  0
 248  160  0  4  0  0236  0
 0  0  0  0  0  0  0  0
 
 Can you give more details on your network? Are you
 using Gig ethernet? And
 over what medium?

 Yes, 4X GigE from the filer via a Vif and trunking on
the switch. A nice 10Gb ready HP unit. I have asked if
using the Vif and trunking could have any effects but
been assured it should not. It does mean I cannot use
jumbo frames. But since web pages and images are
small, I don't think there would be any benefit.
 
 Can you also try just copying a 100MB file from the
 filer to one of the web
 servers and record the time?

 9907187 bytes/sec for a 16M file.
 It will transfer in nanotime. So, I believe that
eliminates network performance as an issue.

 Are you running nfsiod?

Yes, I show 4 instances running.

 When
  going through the issues with Netapp, the reasons
  given were that we have too many GettAdr/Lookup
  requests compared to actual reads. So all the NFS
 IOPS
  are being used up by these requests. As soon as
 the
  webservers get busy,  requests pile up.
 
  I have tried everything I can think of. The web
  servers are even mounted read only with no help.
 
  My current mount options are:
  filer:/vol/fvol31/home/13/13  nfs
  ro,noatime,-r=32768,-T,-b,-R0,-i,-D2,-L 0  0
 
 
 Mounting noatime for web servers is a good idea
 but... your noatime option
 has no effect on NFS mounts (check out the mount man
 page). You need vol
 options no_atime_update on the NetApp.

 Hmm. Drat. We have some web servers that do nothing
but send out data, but some that are used for
uploading and file manipulation. I will have to make
sure that global of an option will not effect what
they do.

 
 Any advice for sysctl tunes or anything else would
 be
  much appreciatted!
 
  Thanks
 
Nicole
 
 
 One last thing - are you female?! In a UNIX
 newsgroup?!

 Yup :)
 Oh, and yes, I do play the drums :)

 Frem.
 


 Thanks for your assistance!!

  Nicole



The Large Print Giveth And The Small Print Taketh Away
 -- Anon

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


Re: options VESA SC_PIXEL_MODE

2006-08-02 Thread Nikolas Britton

On 8/2/06, dick hoogendijk [EMAIL PROTECTED] wrote:

I followed some advice on how to get higher resolutions on the console
for my 1280x1024 LCD monitor.

I recompiled the kernel with
options VESA
options SC_PIXEL_MODE

After a vidcontrol MODE_282 I get a 1280x1024 console.
Nice, but the characters are just fat compared to the chars I get in
Xorg running the same resolution setting (those terminal chars are very
sharp).



This is typical of LCD and notebook screens in any OS. It a limitation
of the display technology. Try another mode vidcontrol -i mode that
has a smaller fonts. You could try forcing the font size smaller but I
don't know how to do that. What about MODE_279?


Furthermore it feels as though the screen has become a little slower
then without vesa and sc_pixel_mode (in the console). Can this be? Or
is this just my imagination.



It's not your imagination.


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


Re: best way to copy from one fbsd box to another

2006-08-02 Thread Frank Shute
On Tue, Aug 01, 2006 at 01:52:09PM -0400, David Banning wrote:

 I am installing a new server and have to copy many files from old server
 to new. I have connected a windows box to each via samba, and am dragging
 from one to the other via the windows box.
 
 This might seem like a silly question, but what is the way to copy
 -directly- from one fbsd box to another?

I use a combination of scp and rsync. scp for odd files and rsync for
directories.

-- 

 Frank 


echo f r a n k @ e s p e r a n c e - l i n u x . c o . u k | sed 's/ //g'

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


Re: Gotta start somewhere ... how many of us are really out there?

2006-08-02 Thread Alex Zbyslaw

Nikolas Britton wrote:


On 8/2/06, Alex Zbyslaw [EMAIL PROTECTED] wrote:



But the question then goes back to: can you make any kind of count out
of cvsup servers?  Someone already said they thought you couldn't.

At the end of the day, I think that unique IP address is as close as
it's possible to get to host count.  It will undercount NATed hosts and
networks with single cvsup/portsnap distribution points, and will
overcount variable IP addresses.  The latter, I think matters the least
as long as you do your stats over a short enough period (e.g. 1 month).
That wouldn't overcount much and deliberate faking would be hard and
limited (how many IP addresses can one faker get access to?).



The problem with cvsup (I use cvsup.) is the error margin. The closer
we get to release dates the more I use cvsup, It's a side effect of
running -STABLE. anyways... back to the fakers...

Lets think about the usage patterns of a typical faker vs NAT:

Faker:
* All from one IP address.
* Sequential requests.
* Scripted, so each request should be timed perfectly with the one
before and the one after it.
* Thousands of requests.

NATed Boxes:
* All from one IP address.
* Parallel requests.
* Not scripted, requests should be more random.
* Hundreds of requests?


But if what you are counting is IP addresses then you faker has achieved 
nothing.  You're not counting connections, but IP addresses.  Yes, you 
undercount NATed and yes you undercount when distribution points are 
used, but I don't see any easy way to fake, at least not on the scale of 
a URL.  Yes, if you happen to have 200 IP addresses, you could probably 
assign each in turn to your BSD box and cvsup, but this seems less 
likely to me, and is inherently limited.


Sometimes I cvsup three times a day - in which case all are likely to 
come from same IP.  Sometimes I cvsup once a month or less, in which 
case looking at statistics only over the last month will tend to flatten 
any effect from variable IPs.


It's far from perfect, but unless you want each installation to have its 
own license number and a GenuineFreeBSD program which enforces unique 
license numbers somehow, I don't think there is a perfect answer.  I'm 
guessing no-one in their right might does want this kind of enforcement ;-)


--Alex


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


Unable to print

2006-08-02 Thread Gerard Seibert
I know I posted earlier about this; however, since then I have gathered 
more information.


First, I installed LPRng and had it replace the base system. I rebooted 
the system and it started up fine. However, I still cannot print. I can 
print from within 'apsfilter' but that is it. The printer is attached to a 
WinXP machine. I did have printing working until I updated to version 6.1. 
After that, it broke.


Output of Apsfilter program:

Your choice:
** creating printcap entry for printer aps1...
   creating spooldir ...
   creating samba config file ...
   read protect password information...
   remember SETUP settings in printers apsfilterrc file...
Aug  2 14:15:53 seibercom checkpc[89703]: lp: Checkwrite: fcntl F_SETFL of '/dev
/null' failed - Inappropriate ioctl for device
Aug  2 14:15:53 seibercom checkpc[89703]: aps1: Checkwrite: fcntl F_SETFL of '/d
ev/null' failed - Inappropriate ioctl for device
** done.

=
Output of checkpc -fV

LPRng-3.8.28, Copyright 1988-2003 Patrick Powell, [EMAIL PROTECTED]
Checking for configuration files '/etc/lpd.conf'
  found '/etc/lpd.conf', mod 0100444
Checking for printcap files '/etc/printcap'
Checking for lpd only printcap files '/etc/lpd/lpd_printcap'
 DaemonUID 1, DaemonGID 1
Using Config file '/etc/lpd.conf'
LPD lockfile '/var/run/lpd.515'

.names
 :lp=lp

.all
 :lp

#Printcap Information
lp|bj8pa06n.upp;r=600x600;q=high;c=full;p=letter;m=auto
 :af=/var/spool/lpd/lp/acct
 :if=/usr/local/etc/apsfilter/basedir/bin/apsfilter
 :lf=/var/spool/lpd/lp/log
 :lp=/dev/null
 :mx#0
 :sd=/var/spool/lpd/lp
 :sh
Checking printcap info
Checking printer 'lp'
 Checking directory: '/var/spool/lpd/lp'
   directory '/'
   directory '//var'
   directory '//var/spool'
   directory '//var/spool/lpd'
   directory '//var/spool/lpd/lp'
  checking 'control.pr' file
  checking 'status.pr' file
  checking 'status' file
  checking '/var/spool/lpd/lp/log' file
  checking '/var/spool/lpd/lp/acct' file
2006-08-02-14:22:11.152 seibercom lp: Checkwrite: fcntl F_SETFL of '/dev/null' 
failed - Inappropriate ioctl for device
Warning - lp: cannot open lp device '/dev/null' - Inappropriate ioctl for device
  'if' filter '/usr/local/etc/apsfilter/basedir/bin/apsfilter'
executable '/usr/local/etc/apsfilter/basedir/bin/apsfilter'


=
lpc status lp

Printer   Printing Spooling Jobs  Server Subserver Redirect 
Status/(Debug)
[EMAIL PROTECTED]enabled  enabled0nonenone

=

Output: lpr -P lp /etc/printcap

lpr: Connection refused

=

Output: lpr /etc/print

lpr: Error - scheduler not responding!


The first entry above:

Aug  2 14:15:53 seibercom checkpc[89703]: lp: Checkwrite: fcntl F_SETFL of 
'/dev/null' failed - Inappropriate ioctl for device


is probably where the problem is. However, I am not sure what I am suppose 
to do to correct it.



--
Gerard Seibert
[EMAIL PROTECTED]

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


Re: Will 'top' display cpu stats per cpu on SMP systems?

2006-08-02 Thread Lowell Gilbert
joe mcguckin [EMAIL PROTECTED] writes:

 Similar to top on Linux ?

The layout is somewhat different, but yes.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Adding To Path

2006-08-02 Thread Lowell Gilbert
beno [EMAIL PROTECTED] writes:

 Hi;
 I went to set env of my path to add another folder. Everything
 *seemed* to work fine (it added, I checked) until I shelled out and
 back in. Then it was gone! Here's what I tried:

 FreeBSD 5.3September 1, 1999
 FreeBSD 5.3
 server167# echo $shell
 /bin/csh
 server167# echo $path
 /sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin
 /usr/local/bin /usr/X11R6/bin /root/bin
 server167#
 server167# setenv PATH
 /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/usr/local/bin/ezmlm
 server167# echo $path
 /sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin
 /usr/local/bin /usr/X11R6/bin /root/bin /usr/local/bin/ezmlm
 server167# exit
 $ su
 Password:
 server167# echo $path
 /sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin
 /usr/local/bin /usr/X11R6/bin /root/bin

 So, what happened to my ezmlm dir? Please help.

Did you mean to use the -m option?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Gotta start somewhere ... how many of us are really out there?

2006-08-02 Thread Nikolas Britton

On 8/2/06, Alex Zbyslaw [EMAIL PROTECTED] wrote:

Nikolas Britton wrote:

 On 8/2/06, Alex Zbyslaw [EMAIL PROTECTED] wrote:


 But the question then goes back to: can you make any kind of count out
 of cvsup servers?  Someone already said they thought you couldn't.

 At the end of the day, I think that unique IP address is as close as
 it's possible to get to host count.  It will undercount NATed hosts and
 networks with single cvsup/portsnap distribution points, and will
 overcount variable IP addresses.  The latter, I think matters the least
 as long as you do your stats over a short enough period (e.g. 1 month).
 That wouldn't overcount much and deliberate faking would be hard and
 limited (how many IP addresses can one faker get access to?).


 The problem with cvsup (I use cvsup.) is the error margin. The closer
 we get to release dates the more I use cvsup, It's a side effect of
 running -STABLE. anyways... back to the fakers...

 Lets think about the usage patterns of a typical faker vs NAT:

 Faker:
 * All from one IP address.
 * Sequential requests.
 * Scripted, so each request should be timed perfectly with the one
 before and the one after it.
 * Thousands of requests.

 NATed Boxes:
 * All from one IP address.
 * Parallel requests.
 * Not scripted, requests should be more random.
 * Hundreds of requests?

But if what you are counting is IP addresses then you faker has achieved
nothing.  You're not counting connections, but IP addresses.  Yes, you
undercount NATed and yes you undercount when distribution points are
used, but I don't see any easy way to fake, at least not on the scale of
a URL.  Yes, if you happen to have 200 IP addresses, you could probably
assign each in turn to your BSD box and cvsup, but this seems less
likely to me, and is inherently limited.

Sometimes I cvsup three times a day - in which case all are likely to
come from same IP.  Sometimes I cvsup once a month or less, in which
case looking at statistics only over the last month will tend to flatten
any effect from variable IPs.

It's far from perfect, but unless you want each installation to have its
own license number and a GenuineFreeBSD program which enforces unique
license numbers somehow, I don't think there is a perfect answer.  I'm
guessing no-one in their right might does want this kind of enforcement ;-)



This may sound dumb but why don't we just put a registration link on
the FreeBSD main page... or registration in sysinstall. Isn't this
how everyone else handles the problem?


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


no stable zsh available in ports

2006-08-02 Thread beno0028

On 29 August 2005 the port shells/zsh-devel was removed
(http://www.freebsd.org/cgi/getmsg.cgi?fetch=1078555+0+/usr/local/www/db/text/2005/cvs-all/20050904.cvs-all).

Perhaps as a consequence, on 30 April 2006 the port shells/zsh was changed from
version 4.2.6 of the stable branch to version 4.3.2 of the zsh development
branch
(http://www.freebsd.org/cgi/getmsg.cgi?fetch=551139+0+/usr/local/www/db/text/2006/cvs-all/20060507.cvs-all).

After 3 months of struggling to use this new, relatively buggy version, I
finally have time to address what I see as a problem.  The solution, in my
opinion, is to reinstate the shells/zsh-devel port for the development branch
and have the stable branch, appropriate for unambitious end-users like me, on
shells/zsh.

Before bringing this up in my first-ever problem report, I wanted to do as the
article Writing FreeBSD Problem Reports recommends: If your problem has not
been discussed on the lists, you might try posting a message about it and
waiting a few days to see if someone can spot something you have overlooked.

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


Office msg system

2006-08-02 Thread Mark Busby
Looking for suggestions on a web based msg system for an office. People are in 
and out quite a bit, they need to be able to log in from the road. Prefer 
email, notes, and maybe bulletin board to notify just a group or everyone in 
case of a disaster. 
  Ability to link into cell phone text msg system would be nice.   
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Mysql from ports

2006-08-02 Thread Ron Clark

   Good day all,

I am building a new server and need Mys= ql. I have tried to install
   4.1 server and 5.0 server. Both error out durin= g the build. I try to
   restart the install and it installs, but then will no= t start because
   /var/log/mysql directory does not exist. I create the direc= tory and
   try to restart, to no avail.

Is there a version of My= sql that can be installed with out errors?
   Are there steps that  am mi= ssing to make this run? I have installed
   Mysql from ports before with no er= rors, so this is new.

Thanks in advance,

   Ron C

   Fr= eeBSD 5.5-STABLE #0: Tue Aug  1 17:59:18 CDT 2006
   [DEL: :DEL]
   ___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Office msg system

2006-08-02 Thread Eric
Mark Busby wrote:
 Looking for suggestions on a web based msg system for an office. People are 
 in and out quite a bit, they need to be able to log in from the road. Prefer 
 email, notes, and maybe bulletin board to notify just a group or everyone in 
 case of a disaster. 
   Ability to link into cell phone text msg system would be nice.   

check out horde + imp + nag, etc. it should do most of what you want and
i think they have a mobile version of imp as well, tho i do not use it

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


Re: Need Advice for Tuning NFS to place nice with a Netapp

2006-08-02 Thread Freminlins

On 02/08/06, N. Harrington [EMAIL PROTECTED] wrote:

Cool! Can you share with me what sort of settings you

use on your boxes? sysctl/kerneltunes/mount options?



This may be a disappointment to you but... I didn't have to do anything :-(
All I have is rw on the client.

It has taken me a over a month to even get to speak

to someone high enough up he food chain at Netapp to
not say FreeBSD - that's a version of Linux right?



It depends who you speak to. There are people at NetApp who know about
FreeBSD.

The web server replies (using either Apache and

Lighthttpd) seem to max out at about 17mb/s. Response
time for the web server will rise gradually, then
suddenly become 10-20seconds for a reply. Much like a
backup on a highway. They claim that the netapp unit
is spending too much time dealing with file
information IOPS than actual transfer of files.
However even on a non in-use server, if I make a
request for a file, that heavy file access seems
normal.
IE:
GtAttr Lookup Rdlink   Read  Write Rename Access
Rddir
0  0  0  0  0  0  0  0
248  160  0  4  0  0236  0
0  0  0  0  0  0  0  0



I would dispute NetApp's claim. NetApp filers are very capable at doing NFS
operations. Static files tend to sit usefully in the buffer cache on web
servers.  So unless you are doing something really odd with your web servers
I would tend to disagree with NetApp.

I've just looked on one of our POP3 servers (mounting NetApps). POP3 causes
far more random access than our web servers. As such it doesn't sit in the
buffer cache very long.

We have much higher figures than yours and absolutely no performance
problems.

Yes, 4X GigE from the filer via a Vif and trunking on

the switch. A nice 10Gb ready HP unit. I have asked if
using the Vif and trunking could have any effects but
been assured it should not. It does mean I cannot use
jumbo frames. But since web pages and images are
small, I don't think there would be any benefit.



There is nothing wrong in theory with that setup. But is may not be what you
want. Try it with just one GigE interface.

You're right - you probably don't need jumbo frames.

Which interface does the HP unit have? Also, have a look at netstat -in. Are
there any IErrs or OErrs or Coll? Paste the results here!

9907187 bytes/sec for a 16M file.

It will transfer in nanotime. So, I believe that
eliminates network performance as an issue.



Well, not really. The figure above is showing  10MB a second. That's not
quite Fast Ethernet speed. If you are pushing 17mb (I guess that's megabits)
that's not really a problem though.

I've just tested this on the same POP3 server above, using dd to write a
file onto a NetApp and I get 10889359 a second. And this machine is busy.
Also, it is mounting the NetApp over Fast Ethernet.

Hmm. Drat. We have some web servers that do nothing

but send out data, but some that are used for
uploading and file manipulation. I will have to make
sure that global of an option will not effect what
they do.



It is a per volume option. And frankly I've never seen much use for atime.
It's useful sometimes, but not a lot.

Can you also put in the output of nfsstat -W -c 2. Maybe it's best to put
this up on the web somewhere as it's wide, and it's not easy to read in
email. Let it run for a minute or so, and if possible do two runs. One
during the OK time, the other during the problem time.

I would go back to basics. One GigE interface. Just rw mount options, and
start testing. By testing I mean measuring. NFS tuning is fiddly. I've been
using NetApps with FreeBSD for 5 years. It is a good combination.

Can you also post the output of sysctl -a|grep nfs. But don't start fiddling
with them yet!



One last thing - are you female?! In a UNIX
 newsgroup?!

Yup :)
Oh, and yes, I do play the drums :)



Oh gawd.  Whatever next? :-)

Thanks for your assistance!!


  Nicole




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


Re: Gotta start somewhere ... how many of us are really out there?

2006-08-02 Thread Alex Zbyslaw

Nikolas Britton wrote:


This may sound dumb but why don't we just put a registration link on
the FreeBSD main page... or registration in sysinstall. Isn't this
how everyone else handles the problem?

Not on the home page, I would suggest, because a) opt-in registrations 
have really low take-up and b) you want to count systems, not users.  
Who would register once per machine they run?  How could you tell if 
they were lying?  I imagine I could *easily* rustle up a dozen or more 
email addresses and then claim, say 20?  100? hosts per address.


Sysinstall is an option, but then you only get to count from the point 
where you get your change into a new release, and only count from that 
release forward.  Every host running any older version is guaranteed to 
be missed.  Eventually, you will start to get some kind of count, but 
again you will suffer from people who hate registering.  Whether that 
will outnumber hosts lost to other counting methods, I could only guess.


And anything upgraded using cvsup would be missed too.

--Alex


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


Re: Mysql from ports

2006-08-02 Thread Eric
Ron Clark wrote:
Good day all,
 
 I am building a new server and need Mys=l. I have tried to install
4.1 server and 5.0 server. Both error out durin= the build. I try to
restart the install and it installs, but then will no= start because
/var/log/mysql directory does not exist. I create the direc=ory and
try to restart, to no avail.
 
 Is there a version of My=ql that can be installed with out errors?
Are there steps that  am mi=sing to make this run? I have installed
Mysql from ports before with no er=ors, so this is new.
 
 Thanks in advance,
 
Ron C
 

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


Re: Office msg system

2006-08-02 Thread bsd
 Looking for suggestions on a web based msg system for an office. People
 are in and out quite a bit, they need to be able to log in from the road.
 Prefer email, notes, and maybe bulletin board to notify just a group or
 everyone in case of a disaster.
   Ability to link into cell phone text msg system would be nice.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]


You might like to have a look at http://www.egroupware.org/. It maybe a
bit overkill but it is very flexible and works well.

Rob

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


Re: Mysql from ports

2006-08-02 Thread Gerard Seibert
Ron Clark wrote:

  Good day all,
 
 I am building a new server and need Mysql. I have tried to install
4.1 server and 5.0 server. Both error out during the build. I try to
restart the install and it installs, but then will not start because
/var/log/mysql directory does not exist. I create the directory and
try to restart, to no avail.
 
 Is there a version of Mysql that can be installed with out errors?
Are there steps that  am missing to make this run? I have installed
Mysql from ports before with no errors, so this is new.
 
 Thanks in advance,

I have MySQL-5 installed. It worked without incident. Might I suggest
the following.

If you have portsclean installed, part of the portupgrade package,
please read the manual for it and run it.

portsclean -CLP should do the trick. Then update your ports tree. I
would recommend 'portsnap' but that decision is up to you.

Then navigate to databases/mysql51-server

I would recommend that you delete that directory you created manually.
It probably has the wrong permissions, etc. and will cause a build
problem.

Do the regular make install  make clean and you should be good to go.

Place: mysql_enable=YES in the /etc/rc.conf file and then either
reboot or run the rc.d file: /usr/local/etc/rc.d/mysql-server start and
it will create the directories it requires. You still have to create a
use though.

Ciao!

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


Need help using ssh/netcat to proxy udp

2006-08-02 Thread Doug Poland
Hello,

I'm trying to use ssh and netcat to forward dns queries from a
6.1-STABLE workstation to a remote 6.1-STABLE DNS server.  I was
inspired by the information supplied at:

 http://zarb.org/~gc/html/udp-in-ssh-tunneling.html

The methodology is elegant and simple, but I'm unable to get it
working.  Here's what I've done:

local#  ssh -L 6667:localhost:6667 server.foo.com

server# rndc trace
server# rndc querylog

server# mkfifo /tmp/fifo
server# nc -l -p 6667  /tmp/fifo | nc -u 127.0.0.1 53  /tmp/fifo

local# mkfifo /tmp/fifo
local# nc -l -u -p 53  /tmp/fifo | nc localhost 6667  /tmp/fifo

local# echo nameserver 127.0.0.1  /etc/resolv.conf
local# dig www.freebsd.org

;  DiG 9.3.2  www.freebsd.org
;; global options:  printcmd
;; connection timed out; no servers could be reached


I see nothing in the server's named.run file and dig reports the
server wasn't reached.  Also, I'm unable to ctrl-C out of either nc
command local or remote.

What am I doing wrong?


--
Regards,
Doug

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


upgrade port, a couple of questions

2006-08-02 Thread Efren Bravo
Hi,

How can I see which ports depend on
libgmp-4.1.4_1?  
  
If I upgrade it, the applications that are using
the old libgmp would be affected?

Thanks...

Efren Bravo.
-
Fight back spam! Download the Blue Frog.
http://www.bluesecurity.com/register/s?user=ZWZyZW5iYQ%3D%3D



__ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.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: upgrade port, a couple of questions

2006-08-02 Thread Nicolas Blais
On Wednesday 02 August 2006 17:27, Efren Bravo wrote:
 Hi,

 How can I see which ports depend on
 libgmp-4.1.4_1?

 If I upgrade it, the applications that are using
 the old libgmp would be affected?

 Thanks...

 Efren Bravo.

If you go into /var/db/pkg/libgmp-4.1.4_1 you'll see a file called 
+REQUIRED_BY. Read it (cat +REQUIRED_BY) to see which ports require libgmp.

You usually do not have to rebuild those ports unless there was a major change 
in the library. It's up to you to know if you need to rebuild them or not.

Nicolas.

-- 
FreeBSD 7.0-CURRENT #11: Sun Jul 30 12:12:59 EDT 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A 
PGP? : http://www.clkroot.net/security/nb_root.asc


pgp9Odg1ciaY8.pgp
Description: PGP signature


17 or 19

2006-08-02 Thread dick hoogendijk
Two LCD screens. Both have the same resolution (1280x1024)
The 19 is $100 more expensive as the 17
What would to your opinions be the right thing to do.
Go for the 17 or the larger (but probably a little less crystal sharp)
19 one. I'm not that rich. Probably my doubts are rooted in this;-)
Thanks for any advice.

-- 
dick -- http://nagual.nl/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.1 +++ 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: upgrade port, a couple of questions

2006-08-02 Thread Scott Oertel

Nicolas Blais wrote:

On Wednesday 02 August 2006 17:27, Efren Bravo wrote:
  

Hi,

How can I see which ports depend on
libgmp-4.1.4_1?

If I upgrade it, the applications that are using
the old libgmp would be affected?

Thanks...

Efren Bravo.



If you go into /var/db/pkg/libgmp-4.1.4_1 you'll see a file called 
+REQUIRED_BY. Read it (cat +REQUIRED_BY) to see which ports require libgmp.


You usually do not have to rebuild those ports unless there was a major change 
in the library. It's up to you to know if you need to rebuild them or not.


Nicolas.

  
This is a question i've had for a while, so this (+REQUIRED_BY) checks 
what depends on libgmp, how do you check what libgmp depends on?



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


Re: Mysql from ports

2006-08-02 Thread Ron Clark

   Yes, ports tree is current. I just ran cvsup yesterday.

   That= sould be current enough, right?

   Ron
   On Wed= Aug 2 16:25 , Eric sent:

 Ron Clark wrote:
 
  Good day all,
 
 
 
  I am building a new server and need Mys=l. I have tried to
 insta= ll
 
  4.1 server and 5.0 server. Both error out durin= the build.
 I try= to
 
  restart the install and it installs, but then will no=
 start beca= use
 
  /var/log/mysql directory does not exist. I create the
 direc=ory a= nd
 
  try to restart, to no avail.
 
 
 
  Is there a version of My=ql that can be installed with out
 error= s?
 
  Are there steps that am mi=sing to make this run? I have
 install= ed
 
  Mysql from ports before with no er=ors, so this is new.
 
 
 
  Thanks in advance,
 
 
 
  Ron C
 
 
 
 
 is your ports tree current?
 
 ___
 
 [EMAIL PROTECTED] mailing list
 
 [2]Ma= ilScanner has detected a possible fraud attempt from
 .. claiming to be
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 
 To unsubscribe, send any mail to [3]freebsd-questions- [EMAIL PROTECTED]
 

   
   
References

   1. 3Djavascript:top.opencompose('freebsd-questions@freebsd.org','',''   2. 
file://localhost/tmp/3D../parse.pl?redirect=http%3A%2F%2Flists.free   3. 
3Djavascript:top.opencompos___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 17 or 19

2006-08-02 Thread Jerry McAllister
 
 Two LCD screens. Both have the same resolution (1280x1024)
 The 19 is $100 more expensive as the 17
 What would to your opinions be the right thing to do.
 Go for the 17 or the larger (but probably a little less crystal sharp)
 19 one. I'm not that rich. Probably my doubts are rooted in this;-)
 Thanks for any advice.

If the quality is good, go for the bigger one.
Then you can set back a little instead of hunching
forward to see the little stuff.   The sharpness will
be so much better than an old CRT that the tiny difference
in sharpness will not be meaningful.

jerry

 
 -- 
 dick -- http://nagual.nl/ -- PGP/GnuPG key: F86289CE
 ++ Running FreeBSD 6.1 +++ 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]
 

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


Re: upgrade port, a couple of questions

2006-08-02 Thread Chris Whitehouse

Scott Oertel wrote:

Nicolas Blais wrote:

On Wednesday 02 August 2006 17:27, Efren Bravo wrote:
 

Hi,

How can I see which ports depend on
libgmp-4.1.4_1?

If I upgrade it, the applications that are using
the old libgmp would be affected?

Thanks...

Efren Bravo.



If you go into /var/db/pkg/libgmp-4.1.4_1 you'll see a file called 
+REQUIRED_BY. Read it (cat +REQUIRED_BY) to see which ports require 
libgmp.


You usually do not have to rebuild those ports unless there was a 
major change in the library. It's up to you to know if you need to 
rebuild them or not.


Nicolas.

  
This is a question i've had for a while, so this (+REQUIRED_BY) checks 
what depends on libgmp, how do you check what libgmp depends on?



pkg_info?

 -r  Show the list of packages on which each package depends.

 -R  Show the list of installed packages which require each 
package.


Also I've found portmanager copes pretty well with most dependencies.

Chris






Scott.
___
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: 17 or 19

2006-08-02 Thread Chad Leigh -- Shire.Net LLC


On Aug 2, 2006, at 4:25 PM, Jerry McAllister wrote:



Two LCD screens. Both have the same resolution (1280x1024)
The 19 is $100 more expensive as the 17
What would to your opinions be the right thing to do.
Go for the 17 or the larger (but probably a little less crystal  
sharp)

19 one. I'm not that rich. Probably my doubts are rooted in this;-)
Thanks for any advice.


If the quality is good, go for the bigger one.
Then you can set back a little instead of hunching
forward to see the little stuff.   The sharpness will
be so much better than an old CRT that the tiny difference
in sharpness will not be meaningful.


It all depends on your eyes :-)

I don't know what the costs are in Holland but you may want to see if  
you can find a 19 widescreen (1440x900) screen...   I just got one  
from Hanns-G for $180 and it is quite nice and in the same ballpark  
as standard 19 but with more usable space.


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: need help troubleshooting man

2006-08-02 Thread Jonathan Horne
On Wednesday 02 August 2006 05:14, Matti J. Karki wrote:
 On 8/1/06, Jonathan Horne [EMAIL PROTECTED] wrote:
  i remember a thread from a few weeks back, that i followed closely, but
  was never able to resolve my issue as the original poster did.  i have a
  6.1-STABLE system that the bulk of my mans to not work, but some that are
  recently installed from ports are working.  can someone guide me thru
  trouble shooting this issue?

 I managed to get this kind of situation by installing first the
 minimal set (or distribution) and then installing everything else
 from the ports. The minimal installation set does not have man pages.
 To get small - but fully functional - installation, I had to install
 the User set, which contains the required binaries and all relevant
 documentation files. Maybe re-running the sysinstall and selecting
 appropriate distribution set could help?


 -Matti

well, i thought about that for a moment, and i wasnt able to come to any real 
conclusion.

1) i have only one box that is running STABLE, and its my x/kde workstation.  
this is also my only computer with half-broken man pages.
2) i have several production and development servers (no desktops), and they 
are all RELENG.  all my releng boxes have working man pages.

what do i need to check between my working releng and my stable workstation to 
find the difference in why the stable has broken mans?

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


4TB filesystem

2006-08-02 Thread Lutz Rabing
hi all,

is someone still working on the bigdisk project? it becomes
more an more easy to create disk arrays bigger than 2TB ... it 
would be a really nice to have feature.

lutz


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


Re: need help troubleshooting man

2006-08-02 Thread Jonathan Horne
On Wednesday 02 August 2006 18:03, Jonathan Horne wrote:
 1) i have only one box that is running STABLE, and its my x/kde
 workstation.   this is also my only computer with half-broken man pages.
 2) i have several production and development servers (no desktops), and
 they are all RELENG.  all my releng boxes have working man pages.

i neglected to mention that *all* of my systems were installed as minimal, 
reguardless if they ended up as releng servers or stable workstation.

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


qauestion using ed.

2006-08-02 Thread Gary Kline

Guys,

How, pray tel, do I use ed to delete 23 lines?  I can find foo
with /foo, but then .,20d or .,+20d or .,+20 d don't work.

Anybody?

gary





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

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


Re: Gotta start somewhere ... how many of us are really out there?

2006-08-02 Thread User Freebsd

On Wed, 2 Aug 2006, Nikolas Britton wrote:

This may sound dumb but why don't we just put a registration link on the 
FreeBSD main page... or registration in sysinstall. Isn't this how 
everyone else handles the problem?


User A installs FreeBSD, registers, works with it for a week, finds he 
isn't getting anything done with it, wipes the drive and goes to something 
else ...


User B installs FreeBSD 5.x, registers, works with it for a while and 
decides to CVSup to -CURRENT, so now we have an artificially high # of 6.x 
installs, and an artificially low # of 7.x installs ... nobody looks to be 
moving to 7.x, therefore why support it from a vendors perspective ...



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


Re: Changing user password from command line

2006-08-02 Thread Greg 'groggy' Lehey
On Wednesday,  2 August 2006 at 16:48:48 +0700, Mike Fern wrote:
 Dear all,
 Does anybody know a program which is able to change user password from
 command line?

Of course.  I thought it was the only way.

   $ man -k password
   passwd(1), yppasswd(1)   - modify a user's password

From that man page:

   HISTORY
A passwd command appeared in Version 6 ATT UNIX.

By comparison, pw(8) is a newcomer.  In fact, the passwd command was
in the Third Edition of Research UNIX, back in 1973.

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


pgp5G59PoWghy.pgp
Description: PGP signature


Re: Changing user password from command line

2006-08-02 Thread Greg 'groggy' Lehey
On Wednesday,  2 August 2006 at 15:53:07 +0300, Simon Phoenix wrote:
 On Wednesday 02 August 2006 12:48, Mike Fern wrote:
 Dear all,
 Does anybody know a program which is able to change user password from
 command line?
 We can add a user using single line pw (pw useradd), but i need
 ability to set the password also, instead of old command passwd user
 and then writing to stdin.

 man pw

 Look for -h option description.

The advantage of using passwd(1) is that it is available on all
UNIX-like systems (pw(8) isn't), and that it's easier to use.

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


pgpnS57kbPgut.pgp
Description: PGP signature


Re: 17 or 19

2006-08-02 Thread Nikolas Britton

On 8/2/06, dick hoogendijk [EMAIL PROTECTED] wrote:

Two LCD screens. Both have the same resolution (1280x1024)
The 19 is $100 more expensive as the 17
What would to your opinions be the right thing to do.
Go for the 17 or the larger (but probably a little less crystal sharp)
19 one. I'm not that rich. Probably my doubts are rooted in this;-)
Thanks for any advice.



Me? I'd go for two monster 22 inch CRTs, or three 19 inch CRTs.


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


Re: qauestion using ed.

2006-08-02 Thread Bill Campbell
On Wed, Aug 02, 2006, Gary Kline wrote:

   Guys,

   How, pray tel, do I use ed to delete 23 lines?  I can find foo
   with /foo, but then .,20d or .,+20d or .,+20 d don't work.

.,.+20d

dotcommadot+20d

If you use the ``ex'' invocation of vi(m), ``20dd'' should do it.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

``Perhaps, when committing your first federal crime, it would be unwise to
slap your name and address on it and mail it to 10,000 people.'' --Dogbert
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Changing user password from command line

2006-08-02 Thread Micah

Greg 'groggy' Lehey wrote:

On Wednesday,  2 August 2006 at 15:53:07 +0300, Simon Phoenix wrote:

On Wednesday 02 August 2006 12:48, Mike Fern wrote:

Dear all,
Does anybody know a program which is able to change user password from
command line?
We can add a user using single line pw (pw useradd), but i need
ability to set the password also, instead of old command passwd user
and then writing to stdin.

man pw

Look for -h option description.


The advantage of using passwd(1) is that it is available on all
UNIX-like systems (pw(8) isn't), and that it's easier to use.


pw's ability to alter password files in directories other than /etc 
comes in handy sometimes. Unless there's an undocumented way to do this 
with passwd.


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


  1   2   >