Re: sendmail issue

2003-03-24 Thread William Palfreman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, 24 Mar 2003 [EMAIL PROTECTED] wrote:

 I think this is what you wanted to see.  The time between issuing
 sendmail -bs and the greeting being posted is so large (we are
 talking several minutes here) that I thought it was not working at
 all. As you can see it does work, if you are prepared to wait.

That sounds so much like a DNS timeout.  What does your /etc/resolv.conf
say?  Can you ping the nameservers listed in it, if they are at all?  If
so, can you look up domains -

$ host www.google.com ip.address.here

Also, try a public nameserver - this one is a Freeserve.com one:

$ host www.google.com 195.92.195.94

Finally, can you ping offsite, e.g. ping 195.92.195.94
That should at least prove things are ok at the IP level.

Extrafinally, how about we move this to [EMAIL PROTECTED]  I've
added to the CC.

Bill.

- -- 
W. Palfreman.   I'm looking for a job:
Tel: 0771 355 0354  http://www.palfreman.com/william/ for my CV.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+fw21lEOQDkvPqLYRAsSUAJ4zwJCP7D0SPPwHlzopWW7Z5uZbxACfeJM/
Nw/bwSRak74fxD73lF3uCWw=
=RSu5
-END PGP SIGNATURE-

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Setting MTU at bootup

2003-03-24 Thread Justin F. Knotzke


   Hi,

   How do I set the mtu for a given interface at bootup?

   Thanks

   Justin.

-- 
Justin F. Knotzke
[EMAIL PROTECTED]
http://www.shampoo.ca

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


CLI audio recorder

2003-03-24 Thread Ian Moore
Hi,
Can anyone recommend a command line-based audio recorder. I'm looking for 
something that can be run from a cron job to record 44.1kHz stereo 16-bit 
audio for an hour, then be killed off and restarted straight away (so that it 
produces hour long files continously).
Also a CLI based mp3 converter so that the recorded files can be mp3ed at the 
the end of each hour.
Cheers,
Ian

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Setting MTU at bootup

2003-03-24 Thread Volker Kindermann
How do I set the mtu for a given interface at bootup?

man ifconfig

and then edit /etc/rc.conf and add the parameter to the corresponding
interface

 -volker


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


OpenSSL obstacle to PostgreSQL Installation

2003-03-24 Thread Tamir Halperin
I'm not able to install PostgreSQL 7.3.2 from ports because I get the following error 
after having just installed openssl-0.9.7a_2. openssl shows up in /var/db/pkg.

When I try to make in /usr/ports/databases/postgresql7 I get the following error:

This port requires the OpenSSL library, which is part of the FreeBSD crypto 
distribution but not installed on your machine. Please see the OpenSSL section in 
the handbook (at ...) for instructions on how to obtain and install the FreeBSD 
OpenSSL distribution.
*** Error code 1

Stop.

On a different list I received the following advice and acted upon it but the above 
error persists:

This is because libcrypto had its shlib version bumped from .2 to .3
after OpenSSL's last round of security bugs.  If you symlink
libcrypto.so.2 to libcrypto.so, you should be okay.  -sc

Tamir

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Changed targets, /dev MAKEDEV problem

2003-03-24 Thread Laurent Delfosse
Hi,
I have read through the 21.4 section of the Handbook to try
and figure this out, but have not been able to completely fix my box:
I recently decided to reorganize my disks in my Athlon/IDE
FreeBSD4.7 system.  I removed the primary master disk, since it was all
Windows, and changed the remaining FreeBSD disk to be the master.  This
of course changed the target of the disk.  I was able to boot the fixit
disk and remake the ad0s1* partitions, which were / /var and /usr, however
my swap and 2 other large partitions were ad1s3b, ad1s2e and ad1s4e
respectively, and I cannot get my system to remake them, even with
MAKEDEV ad0s2|s3|s4 etc  All that it shows is ad0s2, s3, s4 without
any slices in the /dev directory.  From the address, I think I could
predict/manually make the devices, but I'm not sure how to do it.
Does anyone have any ideas?  fdisk sees the other partitions
inside FBSD.

Thanks,

Laurent
-- 
Laurent Delfosse
[EMAIL PROTECTED]
http://www.delfosse.com/delfosse
Do or do not, there is no try. -Yoda

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


LVM / Vinum

2003-03-24 Thread james
Hi

I'm new to FreeBSD but not new to UNIX or storage. First of all I must say 
that FreeBSD looks rather polished, more like a commercial offering than 
a volunteer effort! :)

I'm very used to using LVM on Linux, AIX, HP/UX etc, and I want to be able 
to similar stuff on fbsd. I've had a play with Vinum, and I'm just 
wondering if there are any other alternatives?

I like the LVM way of having a pool of physical volumes, and having the 
LVM subsystem take care of physical placement of logical volumes. In 
Vimun, it seems to me that you have to explicitly state what disks you 
would like to use for a volume.

Also, is it possible to extend / shrink volumes once they have been 
created?

Cheers,

James


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


linking math/octave against different readline

2003-03-24 Thread Joan Picanyol i Puig
Hi,

math/octave does not build on -stable, since it needs a newer readline
version, and the configure script fails (cd /usr/ports/math/octave 
make will show you). So I installed a local version
of readline (readline-4.3) and tried linking against it using LDFLAGS
and CPPFLAGS. The configure script does not fail anymore (since
CPPFLAGS has my readline's version include directory), but the program
is still linked against the system's readline:

ldd src/octave | grep readline
libreadline.so.4 = /usr/lib/libreadline.so.4 (0x2874e000)

And leads to runtime failure:
octave:1 help
/usr/libexec/ld-elf.so.1: src/octave: Undefined symbol
rl_get_screen_size

Setting LD_LIBRARY_PATH to my readline's lib directory works, but I'd
like to avoid it. So how can I force the linker to ignore
/usr/lib/libreadline.so.4 when linking?

tks
-- 
pica

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Problems running wget on FreeBSD 4.7

2003-03-24 Thread Paul Hamilton
Hi all,

I have two different versions of wget on different FreeBSD 4.7 (upgraded)
servers.  They all run, but one of them:

# pkg_info -r wget-1.8.2_1

Information for wget-1.8.2_1:

Depends on:
Dependency: libiconv-1.8_1
Dependency: expat-1.95.5
Dependency: gettext-0.11.5_1

has problems with  the '--glob=on' option.  I use a script to download
McAfee files, the relevant line is:

/usr/local/bin/wget -nr --glob=on -N --passive-ftp
ftp://ftp.nai.com/pub/antivirus/superdat/intel/sdat4???.exe;

Which when run gives:

-
--21:19:27--  ftp://ftp.nai.com/pub/antivirus/superdat/intel/sdat4???.exe
   = `.listing'
Resolving ftp.nai.com... done.
Connecting to ftp.nai.com[161.69.201.238]:21... connected.
Logging in as anonymous ... Logged in!
== SYST ... done.== PWD ... done.
== TYPE I ... done.  == CWD /pub/antivirus/superdat/intel ... done.
== PASV ... done.== LIST ... done.

[ =  ] 157
153.32K/s

21:19:31 (153.32 KB/s) - `.listing' saved [157]

--21:19:31--  ftp://ftp.nai.com/pub/antivirus/superdat/intel/sdat4???.exe
   = `sdat4???.exe'
== CWD not required.
== PASV ... done.== RETR sdat4 ...
No such file `sdat4'.
-

Which when run using wget-1.7_3 I get:

-
--21:21:39--  ftp://ftp.nai.com/pub/antivirus/superdat/intel/sdat4???.exe
   = `.listing'
Connecting to ftp.nai.com:21... connected!
Logging in as anonymous ... Logged in!
== SYST ... done.== PWD ... done.
== TYPE I ... done.  == CWD /pub/antivirus/superdat/intel ... done.
== EPSV ...
Cannot initiate EPSV transfer.
== PASV ... done.== LIST ... done.

0K@ 153.32 KB/s

21:21:45 (76.66 KB/s) - `.listing' saved [157]

Removed `.listing'.
Remote file no newer than local file `sdat4253.exe' -- not retrieving.
-
Which is ok, as I already have downloaded it.

My question is (eventually), has the globing function changed between the
different versions, or is the globing function broken?  Or am I missing
something deeper?

Cheers,

Paul Hamilton


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Sendmail questions

2003-03-24 Thread Andreas Widerøe Andersen
I've got two questions:

1. I've been getting this error all day on both of my FreeBSD servers 
(different physic location and version - 4.7 STABLE and 4.8 RC): ... did 
not issue MAIL/EXPN/VRFY/ETRN during connection to MTA. I'm seing this in 
my /var/log/maillog file and since the problems occured around 04.30 this 
morning I haven't received any mails. Can anyone please explain to me 
what's going on? Both servers have been delivering mail for a long 
problem-free time. I'm running Sendmail 8.12.7 (patched) and 8.12.8.

2. When the mail server isn't sending out mail or relaying, all mail sent 
from localhost end up in here: /var/spool/clientmqueue. How can I manually 
send these mails off later?

Thanks!
Andreas
---
Andreas Widerøe Andersen [EMAIL PROTECTED]
Pragma AS
http://www.pragma.no 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Load testing tool with apache ?

2003-03-24 Thread Thomas von Hassel
Some time ago i found a small webserver load generator that apparently 
came with apache. Anyone know what its called, or am i imagining stuff ?

/thomas

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Okano Mouse

2003-03-24 Thread Pierrick Brossin
Hey!

It's been now a lng while that I'm trying to make my stupid mouse's wheel
work under XFree
on FreeBSD (tried on 4.7 and 5.0).
It's an Okano TM-512 mouse.

I received that mouse from someone who got it in Germany and it seems it's
impossible to find
Okano's website!
So I assume it's some kind of working/cheap/unknown mouse :)

I tried the ZAxisMapping trick, I tried to set the mouse up in rc.conf and use
sysmouse in X config file.
And a lot of other stuff!

Do you have any advise or thing I could test to make the wheel work ?

Are there cases where it's impossible to make it work ?

Thanks

ps: I tried the mouse under winblows at work and the wheel works.

-- 
Pierrick Brossin
IT Swiss - QUARK Media House
6a Puits Godet, 2000 Neuchatel, Switzerland
Mail Prof: [EMAIL PROTECTED] Mail Priv: [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Load testing tool with apache ?

2003-03-24 Thread Edmond Baroud
apache bench. binary is called 'ab'.
$apache_home/sbin , this is the default path.

Ed.

On Mon, 24 Mar 2003 15:43:11 +0100
Thomas von Hassel [EMAIL PROTECTED] wrote:

 Some time ago i found a small webserver load generator that apparently 
 came with apache. Anyone know what its called, or am i imagining stuff ?
 
 /thomas
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message


-- 
Edmond Baroud 
UNIX Systems Admin mailto:[EMAIL PROTECTED]
Fingerprint  140F 5FD5 3FDD 45D9 226D  9602 8C3D EAFB 4E19 BEF9
UNIX is very user friendly, it's just picky about who its friends are.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: INND hangs after upgrade to 4.8PRE

2003-03-24 Thread James F . Hranicky
On Sun, 23 Mar 2003 12:20:59 +0200
Vallo Kallaste [EMAIL PROTECTED] wrote:

 You are tracking INN mailing list, do you? There seems to be quite a lot
 of discussion about ovbd in the last two weeks or so. Basically, it's
 broken and as it seems nobody has ever got ovbd to work reliably, no
 matter what bdb version they used.

I haven't been -- when I sent the mail I figured it was something in the
FBSD networking stack that would cause a hang so bad.

Funny, it worked for me for at least 4 years until I upgraded to DB4.

I'll check out the list, thanks.

Jim

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Load testing tool with apache ?

2003-03-24 Thread Dirk-Willem van Gulik


On Mon, 24 Mar 2003, Thomas von Hassel wrote:

 Some time ago i found a small webserver load generator that apparently
 came with apache. Anyone know what its called, or am i imagining stuff ?

'ab'

it is usually in 'support' or in bin.

Dw


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Okano Mouse

2003-03-24 Thread Willie Viljoen
On Monday 24 March 2003 16:56, someone, possibly Pierrick Brossin, typed:
 Hey!

Hello :)

 I received that mouse from someone who got it in Germany and it seems
 it's impossible to find
 Okano's website!
 So I assume it's some kind of working/cheap/unknown mouse :)

Doesn't really matter, most weird-brand PS/2 mice these days either use 
some odd Logitech or MS IntelliMouse Explorer PS/2 compatible protocol. I 
have a Sahara mouse (completely unknown outside South Africa) which works 
perfectly.

 I tried the ZAxisMapping trick, I tried to set the mouse up in rc.conf
 and use sysmouse in X config file.
 And a lot of other stuff!

You might want to update the tricks you are trying, some things have changed 
since the HOWTOs and documentation was written, sadly, most people get it 
working and leave it at that, neglecting to update the docs.

 Do you have any advise or thing I could test to make the wheel work ?

Here are some snip-outs from my configuration files. The Sahara mouse has 
three buttons, of which the wheel is one, and two thumb buttons on the 
side. I have managed to get all of it working with these:

#/etc/rc.conf:
moused_enable=YES
moused_port=/dev/psm0
moused_type=auto
moused_flags=-z 4

Pay special attention to the -z flag, you'll see why just a few paragraphs 
down...

#/etc/X11/XF86Config:
Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/sysmouse
Option  Buttons 7
Option  SampleRate 1500
Option  Resolution 1024
EndSection

If you do not have the thumb buttons, simply changing the 7 to a 5 in the 
buttons option should set it up for your mouse. The sample rate and 
resolution tweaks are there because my mouse is optical, and they help a 
great deal. If your mouse is optical, check its manual for optimal 
settings, if it's rubber ball mechanics, you should be able to take those 
out completely.

Note the absence of ZAxisMapping. This is because it's nolonger needed if 
you pass the -z switch to moused(8), which is the proper way of doing this 
on BSD these days. A setting of -z 4 means to map buttons 4 and 5, you can 
have finer controle over this too, check the moused(8) man page for 
details.

Hope this helps
Will

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


help with firewall log message

2003-03-24 Thread Darryl Hoar
Greetings,
I am running 4.4-stable on my firewall.
I have set it up using www.schlacter.com
as a guide.

I keep getting this message very minute in my
firewall log.  I need to decipher this and if its
normal, quit logging it as it's filling up my
firewall log.

here's the entry:


Mar 24 08:06:43 darryl ipmon[98]: 08:06:42.283459 xl0 @0:3 b
10.0.0.1,router -
10.0.0.255,router PR udp len 20 72  IN

what does it mean ?
Also, is there a good reference that would allow a user
to break  down the message and understand it ?

thanks,
Darryl


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: help with firewall log message

2003-03-24 Thread Willie Viljoen
On Monday 24 March 2003 17:34, someone, possibly Darryl Hoar, typed:
 Mar 24 08:06:43 darryl ipmon[98]: 08:06:42.283459 xl0 @0:3 b
 10.0.0.1,router -
 10.0.0.255,router PR udp len 20 72  IN

 what does it mean ?

I'd say it looks like what ever 10.0.0.1 is, is either running routed/gated, 
or is a hardware router. Either way, it's trying to do UDP RIP 
advertisements to the local broadcast address, to try and discover other 
routers on the network. If 10.0.0.1 is your firewall, and you don't need 
routed/gated (if you only have a default route out of there, you don't), 
you can disable it with /stand/sysinstall, in the networking options.

Will

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Okano Mouse

2003-03-24 Thread Pierrick Brossin
Hi!

First of all, thanx for your answer!

 Doesn't really matter, most weird-brand PS/2 mice these days either use 
 some odd Logitech or MS IntelliMouse Explorer PS/2 compatible protocol. I 
 have a Sahara mouse (completely unknown outside South Africa) which works 
 perfectly.

Hope mine will have the wheel working someday :)

 #/etc/rc.conf:
 moused_enable=YES
 moused_port=/dev/psm0
 moused_type=auto
 moused_flags=-z 4

Should the mouse's wheel work on console ?
Because I can move the cursor (as I could before) but the wheel is not working...

 Pay special attention to the -z flag, you'll see why just a few paragraphs 
 down...

I checked the man!

 #/etc/X11/XF86Config:
 Section InputDevice
 Identifier  Mouse0
 Driver  mouse
 Option  Protocol auto
 Option  Device /dev/sysmouse
 Option  Buttons 7
 Option  SampleRate 1500
 Option  Resolution 1024
 EndSection

Wheel still not working under X.

 The sample rate and 
 resolution tweaks are there because my mouse is optical, and they help a 
 great deal. If your mouse is optical, check its manual for optimal 
 settings, if it's rubber ball mechanics, you should be able to take those 
 out completely.

I received no manual with it. It's real some kind of noname hardware!

 Note the absence of ZAxisMapping. This is because it's nolonger needed if 
 you pass the -z switch to moused(8), which is the proper way of doing this 
 on BSD these days. A setting of -z 4 means to map buttons 4 and 5, you can 
 have finer controle over this too, check the moused(8) man page for 
 details.

OK Didn't know that!

Thanx again and hope someone will be able to help :)

-- 
Pierrick Brossin
IT Swiss - QUARK Media House
6a Puits Godet, 2000 Neuchatel, Switzerland
Mail Prof: [EMAIL PROTECTED] Mail Priv: [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


RE: help with firewall log message

2003-03-24 Thread Yonatan Bokovza
 -Original Message-
 From: Darryl Hoar [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 24, 2003 17:35
 To: [EMAIL PROTECTED]
 Subject: help with firewall log message
 
 
 Greetings,
snip
 what does it mean ?
 Also, is there a good reference that would allow a user
 to break  down the message and understand it ?

/usr/share/examples/ipfilter/ipf-howto.txt

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Okano Mouse

2003-03-24 Thread Willie Viljoen
On Monday 24 March 2003 17:55, someone, possibly Pierrick Brossin, typed:
 Hi!

Hey there,

 First of all, thanx for your answer!

No problem :)

 Should the mouse's wheel work on console ?
 Because I can move the cursor (as I could before) but the wheel is not
 working...

Nope, moused just doesn't know what to do with it, but you have to tell 
moused about it with -z, otherwise it forgets to forward the wheel data 
to X :)

 Wheel still not working under X.

Weird...

 I received no manual with it. It's real some kind of noname hardware!

Eek, you're on your own there I'm afraid :)

Does the output from dmesg mention the mouse at all? Maybe we can identify 
it from there...

Will

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Kylix 2 on FreeBSD

2003-03-24 Thread Simon Barner
 I've just tried to get Kylix 2 Open Edition running on FreeBSD 4.6 and the 
 Linux 7.1 package.  After jumping through a few hoops getting libraries up to 
 snuff and paths straight, I'm at the point of executing startkylix which 
 runs kylix.  The error I receive is:
 
 modify_ldt : Function not implemented

I don't whether this is supported in linux compatibility mode, but I can imagine
that the options USER_LDT in your kernel config is a prerequisite in case it
is.

Simon


signature.asc
Description: Digital signature


squid performance and kernel tuneables

2003-03-24 Thread L. Jankok
Hi folks,

Having to migrate a proxy server from a ultra sparc (u10) to
FreeBSD I am looking for the appropriate kernel tuneables.  
The new system will run FreeBSD 4.7 Stable on a SMP machine
with two very fast scsi disks and 1 1/2 GB of RAM. 

I did a man tuning, read the relevant sections on the freebsd handbook
searched google and looked at the faq at www.squid-cache.org.

This is what I have so far;

kern.maxfiles:  ==  65536
kern.maxfilesperproc:   ==  32768
kern.ipc.somaxconn: ==  8192
kern.ipc.nmbclusters:   ==  131072
net.inet.ip.portrange.last: ==  3
net.inet.tcp.sendspace: ==  65535
net.inet.tcp.recvspace: ==  65535
net.inet.tcp.delayed_ack:   ==  0
net.inet.udp.maxdgram:  ==  57344
net.inet.udp.recvspace: ==  65535
kern.ipc.shm_use_phys:  ==  1
vfs.write_behind:   ==  shouldn't this be turned off for web cache 
systems ?
kern.ipc.shm_use_phys:  ==  ok set explicitely, no undesirable overhead
vfs.vmiodirenable:  ==  ok set explicitely, cache as much directories 
as you can

For diskd the FAQ on www.squid-cache.org is clear about the kernel tuneables.
It is the above settings which I want to know more about.


My question to the list is as follows;

Are there any kernel tuneables paramater above which are set wrong or which are plain
irrelevant for a high performance http proxy server on FreeBSD ? and are there any 
relevant
parameters (besides that for diskd) which are not included in the above list ?
The system will be a dedicated http proxy server processing approximately 236 GB a 
month
and like 216426 request per hour.


tnx,

Lucio Jankok

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


kernel tuning and Squid performance

2003-03-24 Thread L. Jankok
Hi folks,

Having to migrate a Proxy server from an Ultra SPARC (u10) 
to FreeBSD I was looking for similar kernel tunables as 
the ones I tuned on Solaris.
The new system is running FreeBSD 4.7 Stable on a SMP 
machine with two very fast SCSI disks and 1 GB of RAM. 

I did a man tuning, read the relevant sections on the
FreeBSD handbook, searched google and looked at the
relevant sections of the FAQ on www.squid-cache.org.

This is what I have done so far;

/boot/load.conf
kern.ipc.nmbclusters=131072

/etc/sysctlt.conf
kern.maxfiles=65536
kern.maxfilesperproc=32768
kern.ipc.somaxconn=8192
net.inet.ip.portrange.last=3
net.inet.tcp.sendspace=65535
net.inet.tcp.recvspace=65535
net.inet.tcp.slowstart_flightsize=2
net.inet.udp.maxdgram=57344
net.inet.udp.recvspace=65535
kern.ipc.shm_use_phys=1 #ok no undesirable overhead
vfs.vmiodirenable=1 #ok set explicitly, cache as much directories 
as you can
# harden the stack a bit
net.inet.icmp.drop_redirect=1
net.inet.icmp.log_redirect=1
net.inet.ip.redirect=0
net.inet.ip.sourceroute=0
net.inet.ip.accept_sourceroute=0
net.link.ether.inet.max_age=1200#ok set explicitly
net.inet.icmp.bmcastecho=0  #ok set explicitly

The system is a dedicated web Proxy server processing approximately
236 GB a month.
During peak hours the total request per seconds is nearby 65 and the
client_http.all_median_svc_time = 0.045193 seconds. 
During peak hours the average load is around 0.50.

The above tuning has a considerably effect on the performance of the
web cache server and it is performing like expected.

Lucio Jankok

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Personal development CVS question

2003-03-24 Thread Steve Bertrand
I have developed a project for use at my ISP, which I have been keeping in
my CVS repository (as I do all of my projects). CVS is working great, but
I have a somewhat unrelated question, which I would apprecieate
redirection if required.

The current state of my app is ready for production, so I would like to
take a snapshot of it as is, then implement it. I would like to leave this
snapshot alone, and further develop in other aspects of the program now.
Am I correct with this method?:

- commit my current source and branch as RELEASE
- download RELEASE onto production server and put into use

- further work will continue normally, and the RELEASE branch will not be
affected

- when I am ready for the new features, I can re-branch to a new RELEASE,
redownload onto production and repeat

- if changes are made and required into RELEASE, I can merge at that time.

Tks for any assistance!

Steve


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: OpenSSL obstacle to PostgreSQL Installation

2003-03-24 Thread Mike Meyer
In [EMAIL PROTECTED], Tamir Halperin [EMAIL PROTECTED] typed:
 I'm not able to install PostgreSQL 7.3.2 from ports because I get the following 
 error after having just installed openssl-0.9.7a_2. openssl shows up in /var/db/pkg.
 
 When I try to make in /usr/ports/databases/postgresql7 I get the following error:
 
 This port requires the OpenSSL library, which is part of the FreeBSD crypto 
 distribution but not installed on your machine. Please see the OpenSSL section in 
 the handbook (at ...) for instructions on how to obtain and install the FreeBSD 
 OpenSSL distribution.
 *** Error code 1
 
 Stop.

You get that message if you are building a port that needs SSL on a
recent enough version of FreeBSD, and don't have a
/usr/lib/libcrypto.so. The version number doesn't matter.

Assuming you don't have libcrypto.so, did you try the handbook and
following the directions there for installing the OpenSSL
distribution?

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


ftp proxy with cache

2003-03-24 Thread Max Clark
Hi all,

I am looking to configure a ftp proxy for use over a low speed link. I would
like to be able to ftp upload from a local lan connected client to this
proxy, have the proxy server connect to the ftp server, spool the data
transfer, and upload for as long as it takes over the link, giving the lan
connect pc a fast session and the apearance of a fast transfer.

Are there any proxy servers out there that do this? If not how would one
build something like this?

Thanks in advance,
Max


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Forcing memory detection with MAXMEM?

2003-03-24 Thread Willie Viljoen
Hey,

After much struggle with the Asus P3V133 running an Intel processor with 
weird multiplier lock (mentioned on -hardware a few weeks back), I've 
fitted a second hand Abit BE6 I managed to pick up cheap...

This thing has an ugly intel BX chipset which only recognizes half of my RAM 
(two 256MB modules read as 128MB each). This is a known issue with the BX.

If I set MAXMEM in my kernel configuration to force FreeBSD to detect 512MB, 
would it work, despite the BX being crap?

Will
-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


crashdumping on massive amounts of RAM

2003-03-24 Thread The Anarcat
Hi.

I am fortunate enough to have a box with a lot (by my standards) of
RAM:

real memory  = 1207877632 (1151 MB)
avail memory = 1166782464 (1112 MB)

Now the problem I have is I'd like to debug the panic()s I'm seeing
now and then on this box, since I'm running 5.0. :) But it seems I
need at least as much swap as I need RAM to do this.

So I just want to make sure there is no other way to crashdump this
RAM than making a gigantic 1GB swap area. The worst is that I really
don't need 1GB of *swap*!! 1GB of RAM is fine. All processes run in
main memory, but 1GB of swap? That would *suck*. ;) I have 250MB right
now and I already think it's too much.

Any brilliant ideas to work around this?

A.

PS: yes, I've read dumpon(8) and I think there's no real way out of
this... 

BUGS
 Because the file system layer is already dead by the time a crash dump is
 taken, it is not possible to send crash dumps directly to a file.


Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.0-RELEASE #2: Fri Mar  7 15:05:32 EST 2003
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/LENNII
Preloaded elf kernel /boot/kernel/kernel at 0xc06ea000.
Preloaded elf module /boot/kernel/snd_emu10k1.ko at 0xc06ea0a8.
Preloaded elf module /boot/kernel/snd_pcm.ko at 0xc06ea158.
Preloaded elf module /boot/kernel/radeon.ko at 0xc06ea204.
Preloaded elf module /boot/kernel/acpi.ko at 0xc06ea2b0.
Timecounter i8254  frequency 1193182 Hz
Timecounter TSC  frequency 1008994004 Hz
CPU: AMD Duron(tm) Processor (1008.99-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x670  Stepping = 0
  
Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
  AMD Features=0xc044RSVD,AMIE,DSP,3DNow!
real memory  = 1207877632 (1151 MB)
avail memory = 1166782464 (1112 MB)
Initializing GEOMetry subsystem
Pentium Pro MTRR support enabled
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: ASUS   A7V-133  on motherboard
ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15
Using $PIR table, 9 entries at 0xc00f1750
acpi0: power button is handled as a fixed feature programming model.
Timecounter ACPI-fast  frequency 3579545 Hz
acpi_timer0: 24-bit timer at 3.579545MHz port 0xe408-0xe40b on acpi0
acpi_cpu0: CPU on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: VIA 82C8363 (Apollo KT133A) host to PCI bridge mem 0xe600-0xe7ff at 
device 0.0 on pci0
pcib1: PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
drm0: ATI Radeon QY VE (AGP) port 0xd800-0xd8ff mem 
0xd700-0xd700,0xd800-0xdfff irq 11 at device 0.0 on pci1
info: [drm] AGP at 0xe600 32MB
info: [drm] Initialized radeon 1.1.1 20010405 on minor 0
isab0: PCI-ISA bridge at device 4.0 on pci0
isa0: ISA bus on isab0
atapci0: VIA 82C686 ATA100 controller port 0xb800-0xb80f at device 4.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: VIA 83C572 USB controller port 0xb400-0xb41f irq 9 at device 4.2 on pci0
usb0: VIA 83C572 USB controller on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ugen0: Color FlatbedScanner 22, rev 1.00/1.00, addr 2
uhci1: VIA 83C572 USB controller port 0xb000-0xb01f irq 9 at device 4.3 on pci0
usb1: VIA 83C572 USB controller on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pci0: bridge, PCI-unknown at device 4.4 (no driver attached)
vr0: VIA VT6102 Rhine II 10/100BaseTX port 0x9400-0x94ff mem 0xd680-0xd68000ff 
irq 9 at device 9.0 on pci0
vr0: Ethernet address: 00:50:ba:64:e3:6a
miibus0: MII bus on vr0
ukphy0: Generic IEEE 802.3u media interface on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcm0: Creative EMU10K1 port 0x9000-0x901f irq 5 at device 10.0 on pci0
atapci1: Promise ATA100 controller port 
0x7000-0x703f,0x7400-0x7403,0x7800-0x7807,0x8000-0x8003,0x8400-0x8407 mem 
0xd600-0xd601 irq 10 at device 17.0 on pci0
ata2: at 0x8400 on atapci1
ata3: at 0x7800 on atapci1
fdc0: Enhanced floppy controller (i82077, NE72065 or clone) port 0x3f7,0x3f2-0x3f5 
irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5 drive on fdc0 drive 0
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0
atkbd0: AT Keyboard 

Can't recieve nor send email suddenly. Am I being hacked?

2003-03-24 Thread Tak Pui LOU
I upgraded my sendmail and the whole system to 4.8-RC recently using CVS.
Until yesterday afternoon I recieved a suspicous message, sendmail was
working fine. After that, sendmail was not accepting connections because
there was no root running sendmail to accept connections. I wasn't able to
send out any mail too. I only saw the sendmail queue run as smmsp.

root 129  0.0  1.2  3040 1500  ??  Ss1:15AM   0:02.98 sendmail:
accepting connections (sendmail)
smmsp132  0.0  1.1  2920 1444  ??  Is1:15AM   0:00.05 sendmail:
Queue [EMAIL PROTECTED]:30:00 for /var/spool/clientmqueue (sendmail)

After reboot, I got the above sendmail processes. Was my system hacked by
someone?

---
Lou

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: crashdumping on massive amounts of RAM

2003-03-24 Thread Mike Meyer
In [EMAIL PROTECTED], The Anarcat [EMAIL PROTECTED] typed:
 I am fortunate enough to have a box with a lot (by my standards) of
 RAM:
 
 real memory  = 1207877632 (1151 MB)
 avail memory = 1166782464 (1112 MB)
 
 Now the problem I have is I'd like to debug the panic()s I'm seeing
 now and then on this box, since I'm running 5.0. :) But it seems I
 need at least as much swap as I need RAM to do this.
 
 So I just want to make sure there is no other way to crashdump this
 RAM than making a gigantic 1GB swap area. The worst is that I really
 don't need 1GB of *swap*!! 1GB of RAM is fine. All processes run in
 main memory, but 1GB of swap? That would *suck*. ;) I have 250MB right
 now and I already think it's too much.
 
 Any brilliant ideas to work around this?

Yes - enable the kernel debugging option (DDB) on the kernel, and
debug the running system when it panics.

As for your swap partition - the same thing happens when you run out
of virtual memory either way: processes start dieing. Having a little
swap lets you get a warning of that because you'll start paging things
out which would otherwise live in memory. Unless you're planning on
setting up a warning system that watches for paging activity and
notifies you so you can do something about it, there's probably not
much point in having 250MB of swap on a system with a gigabyte of
ram. In your shoes, I'd seriously consider running without swap.

On the other hand, disk space is so cheap that I always have lots of
swap. Something about the days when I used to recompile LISP systems
on memory-starved machines

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


RE: OpenSSL obstacle to PostgreSQL Installation

2003-03-24 Thread Tamir Halperin
oops!

Good point about the list. I felt the same way (read below :) ).

I don't have an /etc/make.conf but rather an /etc/defaults/make.conf.

Even though I don't think you'll find it very interesting, it is attached for your 
entertainment.

uname -a responds with:
FreeBSD john.brobus.net 4.6-RELEASE FreeBSD 4.6-RELEASE #0: Tue Jun 11 06:14:12 GMT 
2002 [EMAIL PROTECTED]:/usr/src/sys/compile/GENERIC i386

 -Original Message-
 From: Mike Meyer [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 24, 2003 12:15 PM
 To: Tamir Halperin
 Cc: [EMAIL PROTECTED]
 Subject: Re: OpenSSL obstacle to PostgreSQL Installation
 
 
 In [EMAIL PROTECTED], 
 Tamir Halperin [EMAIL PROTECTED] typed:
  I'm not able to install PostgreSQL 7.3.2 from ports because 
 I get the following error after having just installed 
 openssl-0.9.7a_2. openssl shows up in /var/db/pkg.
  
  When I try to make in /usr/ports/databases/postgresql7 I 
 get the following error:
  
  This port requires the OpenSSL library, which is part of 
 the FreeBSD crypto distribution but not installed on your 
 machine. Please see the OpenSSL section in the handbook (at 
 ...) for instructions on how to obtain and install the 
 FreeBSD OpenSSL distribution.
  *** Error code 1
  
  Stop.
 
 You get that message if you are building a port that needs SSL on a
 recent enough version of FreeBSD, and don't have a
 /usr/lib/libcrypto.so. The version number doesn't matter.
 
 Assuming you don't have libcrypto.so, did you try the handbook and
 following the directions there for installing the OpenSSL
 distribution?
 
   mike
 -- 
 Mike Meyer [EMAIL PROTECTED]
http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: crashdumping on massive amounts of RAM

2003-03-24 Thread The Anarcat
On Mon Mar 24, 2003 at 11:59:50AM -0600, Mike Meyer wrote:
 In [EMAIL PROTECTED], The Anarcat [EMAIL PROTECTED] typed:
  I am fortunate enough to have a box with a lot (by my standards) of
  RAM:
  
  real memory  = 1207877632 (1151 MB)
  avail memory = 1166782464 (1112 MB)
  
  Now the problem I have is I'd like to debug the panic()s I'm seeing
  now and then on this box, since I'm running 5.0. :) But it seems I
  need at least as much swap as I need RAM to do this.
  
  So I just want to make sure there is no other way to crashdump this
  RAM than making a gigantic 1GB swap area. The worst is that I really
  don't need 1GB of *swap*!! 1GB of RAM is fine. All processes run in
  main memory, but 1GB of swap? That would *suck*. ;) I have 250MB right
  now and I already think it's too much.
  
  Any brilliant ideas to work around this?
 
 Yes - enable the kernel debugging option (DDB) on the kernel, and
 debug the running system when it panics.

The only problem I see with that is with non-reproducable panics, if I
don't debug *everything* properly the first time, I might not be able
to get back all the data I need.

Also, what usually happens is that the victim sends a basic backtrace
and a developper then asks to print *b or something like that, which
is not possible once the panic is over. :)

 As for your swap partition - the same thing happens when you run out
 of virtual memory either way: processes start dieing. Having a little
 swap lets you get a warning of that because you'll start paging things
 out which would otherwise live in memory. Unless you're planning on
 setting up a warning system that watches for paging activity and
 notifies you so you can do something about it, there's probably not
 much point in having 250MB of swap on a system with a gigabyte of
 ram. In your shoes, I'd seriously consider running without swap.

I've considered it, but I found that I've been able to run over 1GB of
mem, so the 250MB is handy to handle exceptional situations as the
disk slows down allocation.

 On the other hand, disk space is so cheap that I always have lots of
 swap. Something about the days when I used to recompile LISP systems
 on memory-starved machines

Eh. It's a 40GB disk and I really considered putting 1GB of it for
swap.

A.

-- 
Nothing incites to money-crimes like great poverty or great wealth.
- Mark Twain


pgp0.pgp
Description: PGP signature


Freebsd - restarting itself?!

2003-03-24 Thread Steve Warwick
Hi All, 

Is it possible for FreeBSD to shut itself down and restart for no reason?

My machine was restarted last night and my hosting company claims they did
not touch the server or have any problems. This has been going of for a few
months now -- intermittent restarts that no one claims responsibility for.

This is a new machine with the latest OS (4.7) so I can't blame a faulty
power supply or something like -- I have more fans than Britney in the
server, for HD and CPU so I don't think it's a temp problem.


Thoughts, suggestions?

TIA


Steve


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Freebsd - restarting itself?!

2003-03-24 Thread Willie Viljoen
This is a wild guess, but it might be due to kernel panics related to write 
caching (which is on by default since 4.6) Such a panic will happen when 
ever heavy disc load occurs.

Try setting hw.ata.wc=0 in /boot/loader.conf and see if the problem goes 
away.

Will

On Monday 24 March 2003 21:20, someone, possibly Steve Warwick, typed:
 Hi All,

 Is it possible for FreeBSD to shut itself down and restart for no reason?

 My machine was restarted last night and my hosting company claims they
 did not touch the server or have any problems. This has been going of for
 a few months now -- intermittent restarts that no one claims
 responsibility for.

 This is a new machine with the latest OS (4.7) so I can't blame a faulty
 power supply or something like -- I have more fans than Britney in the
 server, for HD and CPU so I don't think it's a temp problem.


 Thoughts, suggestions?

 TIA


 Steve


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


IPF misbehaves on prolonged TCP flood

2003-03-24 Thread Adam
I am running FreeBSD v4.7 on a Athlon 1600+ w/ 512mb RAM. I have
experienced on several occasions where a prolonged TCP flood causes me
to lose the ability to do DNS resolutions. 

My internet connection itself is still working, as my existing
connections are still active. The only thing I've noticed not working is
DNS resolutions. The problem will persist indefinitely unless I rehash
IPF.

This problem has happened twice when backing up my Windows C:\Program
Files directory via FTP to my FreeBSD box. It also happened recently
when some lamer was DDoS'ing my box for ~30 hours or so.

Each time, rehashing IPF fixes the problem instantly. So, IPF has to be
related. Is anyone familiar with such a problem? Any idea what might be
causing it, or how to correct it by adding/removing/modifying a setting
somewhere?

Thanks,
-- 
Adam [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Freebsd - restarting itself?!

2003-03-24 Thread Adam
On Mon, 2003-03-24 at 14:20, Steve Warwick wrote:
 Hi All, 
 
 Is it possible for FreeBSD to shut itself down and restart for no reason?
 
 My machine was restarted last night and my hosting company claims they did
 not touch the server or have any problems. This has been going of for a few
 months now -- intermittent restarts that no one claims responsibility for.
 
 This is a new machine with the latest OS (4.7) so I can't blame a faulty
 power supply or something like -- I have more fans than Britney in the
 server, for HD and CPU so I don't think it's a temp problem.

Have you checked your logs? Are there any indications of something going
terribly wrong?

Maybe someone has remotely exploited your box and is rebooting it just
to be a bastard?

New machines are not always perfect. In fact, I consider them untested.
I've installed plenty of machines at work that didn't work right out of
the box. So, hardware problems cannot be ruled out just by saying the
machine is new.

-- 
Adam [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: IPF misbehaves on prolonged TCP flood

2003-03-24 Thread Adam
On Mon, 2003-03-24 at 14:33, Adam wrote:
 I am running FreeBSD v4.7 on a Athlon 1600+ w/ 512mb RAM. I have
 experienced on several occasions where a prolonged TCP flood causes me
 to lose the ability to do DNS resolutions. 

Just to clarify: The problem persists for hours even after the flood has
stopped. 

The *only* way (short of rebooting) that I've found to fix the problem
is to rehash IPF: ipf -Fa -FS -vf /etc/ipf.rules -E

-- 
Adam [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Okano Mouse

2003-03-24 Thread Pierrick Brossin
Hey!

  Wheel still not working under X.
 
 Weird...
 Does the output from dmesg mention the mouse at all? Maybe we can identify 
 it from there...

Ok, while I was in the train I thought I forgot to tell you something :)

The computer in question is a SONY laptop which has a touchpad and I'm
connecting the new
mouse to the PS2. So I think XFree doesn't the external mouse but the mouse can
send signal. no ?
My touchpad has two real buttons but no scroll. Only the external mouse has a
scroll.

That's maybe why !

Any idea ?

Thanx

-- 
Pierrick Brossin
IT Swiss - QUARK Media House
6a Puits Godet, 2000 Neuchatel, Switzerland
Mail Prof: [EMAIL PROTECTED] Mail Priv: [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Freebsd - restarting itself?!

2003-03-24 Thread Peter Elsner
Don't rule out hardware just because it is new...  I've had plenty
of new hardware fail on me within the first 24 hours of operation, and
the symptoms can be rebooting or shutting down completely.
What do the log files in /var/log/ say?



At 11:20 AM 3/24/2003 -0800, you wrote:
Hi All,

Is it possible for FreeBSD to shut itself down and restart for no reason?

My machine was restarted last night and my hosting company claims they did
not touch the server or have any problems. This has been going of for a few
months now -- intermittent restarts that no one claims responsibility for.
This is a new machine with the latest OS (4.7) so I can't blame a faulty
power supply or something like -- I have more fans than Britney in the
server, for HD and CPU so I don't think it's a temp problem.
Thoughts, suggestions?

TIA

Steve

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message
--
Peter Elsner [EMAIL PROTECTED]
Vice President Of Customer Service (And System Administrator)
1835 S. Carrier Parkway
Grand Prairie, Texas 75051
(972) 263-2080 - Voice
(972) 263-2082 - Fax
(972) 489-4838 - Cell Phone
(425) 988-8061 - eFax
I worry about my child and the Internet all the time, even though she's
too young to have logged on yet. Here's what I worry about. I worry
that 10 or 15 years from now, she will come to me and say Daddy, where
were you when they took freedom of the press away from the Internet?
-- Mike Godwin
Unix IS user friendly... It's just selective about who its friends are.
System Administration - It's a dirty job, but somebody said I had to do it.
If you receive something that says 'Send this to everyone you know,
pretend you don't know me.
Standard $500/message proofreading fee applies for UCE.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Personal development CVS question

2003-03-24 Thread Jonathan Chen
On Mon, Mar 24, 2003 at 12:04:42PM -0500, Steve Bertrand wrote:

[...]
 Am I correct with this method?:
 
 - commit my current source and branch as RELEASE
 - download RELEASE onto production server and put into use
 
 - further work will continue normally, and the RELEASE branch will not be
 affected
 
 - when I am ready for the new features, I can re-branch to a new RELEASE,
 redownload onto production and repeat
 
 - if changes are made and required into RELEASE, I can merge at that time.

You described pretty much the standard practice.

Cheers.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
 A person should be able to do a small bit of everything,
specialisation is for insects

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Freebsd - restarting itself - followup

2003-03-24 Thread Peter Elsner
Hardware could still be an issue...  It might be a CPU fan going out.

That would explain the reboots.  CPU overheats and then reboots.
If it's been running fine for 4 months, yes, then it's burned in, but
the fan (or some other hardware) might have failed in the mean time.
Peter

At 01:09 PM 3/24/2003 -0800, you wrote:
Hi All,

Thanks to all of you that replied so promptly to my question. However I
think I failed to outline the situation clearly enough so with the responses
so far in mind...
Question was: Is it possible for FreeBSD to shut itself down and restart for
no reason?
- The new server in question has been running at another facility without
any problems for about 4 months so I am assuming it is burned in and
stable.
- The logs (var/log/messages, /var/log/httpd-error.log) do not show any
obvious issues such as kernel panics, just a hard restart (/ not dismounted
correctly)
- As far as I can tell the box has not been exploited -- if someone we
restarting the machine via software then / would dismount correctly.
Further thoughts, suggestions?

TIA

Steve

---
Previous question in full:
My machine was restarted last night and my hosting company claims they did
not touch the server or have any problems. This has been going of for a few
months now -- intermittent restarts that no one claims responsibility for.
This is a new machine with the latest OS (4.7) so I can't blame a faulty
power supply or something like -- I have more fans than Britney in the
server, for HD and CPU so I don't think it's a temp problem.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message
--
Peter Elsner [EMAIL PROTECTED]
Vice President Of Customer Service (And System Administrator)
1835 S. Carrier Parkway
Grand Prairie, Texas 75051
(972) 263-2080 - Voice
(972) 263-2082 - Fax
(972) 489-4838 - Cell Phone
(425) 988-8061 - eFax
I worry about my child and the Internet all the time, even though she's
too young to have logged on yet. Here's what I worry about. I worry
that 10 or 15 years from now, she will come to me and say Daddy, where
were you when they took freedom of the press away from the Internet?
-- Mike Godwin
Unix IS user friendly... It's just selective about who its friends are.
System Administration - It's a dirty job, but somebody said I had to do it.
If you receive something that says 'Send this to everyone you know,
pretend you don't know me.
Standard $500/message proofreading fee applies for UCE.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Freebsd - restarting itself - followup

2003-03-24 Thread Michael K. Smith
Hello Steve:

On Monday, March 24, 2003, at 01:09 PM, Steve Warwick wrote:

Hi All,

Thanks to all of you that replied so promptly to my question. However I
think I failed to outline the situation clearly enough so with the  
responses
so far in mind...

Question was: Is it possible for FreeBSD to shut itself down and  
restart for
no reason?

- The new server in question has been running at another facility  
without
any problems for about 4 months so I am assuming it is burned in and
stable.

- The logs (var/log/messages, /var/log/httpd-error.log) do not show any
obvious issues such as kernel panics, just a hard restart (/ not  
dismounted
correctly)

- As far as I can tell the box has not been exploited -- if someone we
restarting the machine via software then / would dismount correctly.
Further thoughts, suggestions?
I would seriously suspect my provider at this point.  Are they  
supplying you with AC power straight from the wall, or do you have a  
UPS of some sort in line between the power source and your server?  If  
you're running straight, you may want to consider getting a UPS that  
has either SNMP or syslog facility so you can trap out any alarms  
if/when the AC from the wall fails.

Mike

 
--
Michael	K.	Smith		NoaNet
206.219.7116 (work)		206.579.8360 (cell)
[EMAIL PROTECTED]		http://www.noanet.net

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Freebsd - restarting itself - followup

2003-03-24 Thread Josh Paetzel
On Mon, Mar 24, 2003 at 01:09:19PM -0800, Steve Warwick wrote:
 Hi All, 
 
 Thanks to all of you that replied so promptly to my question. However I
 think I failed to outline the situation clearly enough so with the responses
 so far in mind...
 
 Question was: Is it possible for FreeBSD to shut itself down and restart for
 no reason?

No.  If it's restarting, there's a reaon.

 
 - The new server in question has been running at another facility without
 any problems for about 4 months so I am assuming it is burned in and
 stable.
 

Is it possible the box was damaged in transit?

 - The logs (var/log/messages, /var/log/httpd-error.log) do not show any
 obvious issues such as kernel panics, just a hard restart (/ not dismounted
 correctly)
 

So heat related issues are possible, also bad ram, video, or PSU.  I've seen 
all 4 of those cause spontanious reboots with nothing in the logs.


 - As far as I can tell the box has not been exploited -- if someone we
 restarting the machine via software then / would dismount correctly.
 

I'm pretty sure that if I had root on a box I could figure out a way to make 
it reboot as you are describing.  I'm not saying that's feasable, but it could 
happen.


 
 Further thoughts, suggestions?
 
 TIA
 
 
 Steve

I'd also agree with the others who said to suspect the power condition at your 
colo.

Josh


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


RE: OpenSSL obstacle to PostgreSQL Installation

2003-03-24 Thread Mike Meyer
[Context lost to top posting.]

In [EMAIL PROTECTED], Tamir Halperin [EMAIL PROTECTED] typed:
 oops!
 I don't have an /etc/make.conf but rather an /etc/defaults/make.conf.
 Even though I don't think you'll find it very interesting, it is attached for your 
 entertainment.

It looks like you haven't modified anything in it. Which is good - you
should never modify things in /etc/defaults.

 
 uname -a responds with:
 FreeBSD john.brobus.net 4.6-RELEASE FreeBSD 4.6-RELEASE #0: Tue Jun 11 06:14:12 GMT 
 2002 [EMAIL PROTECTED]:/usr/src/sys/compile/GENERIC i386

What do you have for /usr/lib/libcrypto*?

mike

-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


RE: Freebsd - restarting itself - followup

2003-03-24 Thread Derrick Ryalls
 Hi All, 
 
 Thanks to all of you that replied so promptly to my question. 
 However I think I failed to outline the situation clearly 
 enough so with the responses so far in mind...
 
 Question was: Is it possible for FreeBSD to shut itself down 
 and restart for no reason?
 
 - The new server in question has been running at another 
 facility without any problems for about 4 months so I am 
 assuming it is burned in and stable.
 
 - The logs (var/log/messages, /var/log/httpd-error.log) do 
 not show any obvious issues such as kernel panics, just a 
 hard restart (/ not dismounted
 correctly)
 
 - As far as I can tell the box has not been exploited -- if 
 someone we restarting the machine via software then / would 
 dismount correctly.
 


Right now I have the exact same thing happening to one machine.  It is
located offsite (naturally) and about 10 days ago it had a random
shutdown (did not come back up) followed by a random reboot a couple
days later.  It had been running 50-60 days previous.  The shutdown
occurred just after business hours, the reboot at about 4am.  I now have
the machine emailing me at specific intervals to try to narrow things
down.

I have a couple ideas for the both of us.  One is that maybe the machine
is plugged into a faulty power line, something that is borking the
current enough to cause reboots.  Another is that maybe the PSU is dying
prematurely (3mos old for me).

I wish us both good luck.

-Derrick



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: squid performance and kernel tuneables

2003-03-24 Thread synrat

I would say that with that much traffic first thing you don't want to do
is cache anything to the disk. Get a couple of gigabytes of memory, use
as few ACLs as possible, cache dns for squid on the same machine, but
don't use it as dns server for others, setup a logging server or disable
logging, disable everything the requires extra processing.



On Sun, 23 Mar 2003, L. Jankok wrote:

 Hi folks,

 Having to migrate a proxy server from a ultra sparc (u10) to
 FreeBSD I am looking for the appropriate kernel tuneables.
 The new system will run FreeBSD 4.7 Stable on a SMP machine
 with two very fast scsi disks and 1 1/2 GB of RAM.

 I did a man tuning, read the relevant sections on the freebsd handbook
 searched google and looked at the faq at www.squid-cache.org.

 This is what I have so far;

 kern.maxfiles:==  65536
 kern.maxfilesperproc: ==  32768
 kern.ipc.somaxconn:   ==  8192
 kern.ipc.nmbclusters: ==  131072
 net.inet.ip.portrange.last:   ==  3
 net.inet.tcp.sendspace:   ==  65535
 net.inet.tcp.recvspace:   ==  65535
 net.inet.tcp.delayed_ack: ==  0
 net.inet.udp.maxdgram:==  57344
 net.inet.udp.recvspace:   ==  65535
 kern.ipc.shm_use_phys:==  1
 vfs.write_behind: ==  shouldn't this be turned off for web cache 
 systems ?
 kern.ipc.shm_use_phys:==  ok set explicitely, no undesirable 
 overhead
 vfs.vmiodirenable:==  ok set explicitely, cache as much directories 
 as you can

 For diskd the FAQ on www.squid-cache.org is clear about the kernel tuneables.
 It is the above settings which I want to know more about.


 My question to the list is as follows;

 Are there any kernel tuneables paramater above which are set wrong or which are plain
 irrelevant for a high performance http proxy server on FreeBSD ? and are there any 
 relevant
 parameters (besides that for diskd) which are not included in the above list ?
 The system will be a dedicated http proxy server processing approximately 236 GB a 
 month
 and like 216426 request per hour.


 tnx,

 Lucio Jankok

 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: crashdumping on massive amounts of RAM

2003-03-24 Thread Mike Meyer
In [EMAIL PROTECTED], The Anarcat [EMAIL PROTECTED] typed:
 On Mon Mar 24, 2003 at 11:59:50AM -0600, Mike Meyer wrote:
  In [EMAIL PROTECTED], The Anarcat [EMAIL PROTECTED] typed:
   I am fortunate enough to have a box with a lot (by my standards) of
   RAM:
   Any brilliant ideas to work around this?
  Yes - enable the kernel debugging option (DDB) on the kernel, and
  debug the running system when it panics.
 The only problem I see with that is with non-reproducable panics, if I
 don't debug *everything* properly the first time, I might not be able
 to get back all the data I need.

Yup, it's not as handy as having a dump. But dumps happen to swap, so
you have to have a first swap partition that's at least 64K bigger
than main memory.

  As for your swap partition - the same thing happens when you run out
  of virtual memory either way: processes start dieing. Having a little
  swap lets you get a warning of that because you'll start paging things
  out which would otherwise live in memory. Unless you're planning on
  setting up a warning system that watches for paging activity and
  notifies you so you can do something about it, there's probably not
  much point in having 250MB of swap on a system with a gigabyte of
  ram. In your shoes, I'd seriously consider running without swap.
 I've considered it, but I found that I've been able to run over 1GB of
 mem, so the 250MB is handy to handle exceptional situations as the
 disk slows down allocation.

If you've just run through a gigabyte of real ram, how long does an
extra 250mb last you?

  On the other hand, disk space is so cheap that I always have lots of
  swap. Something about the days when I used to recompile LISP systems
  on memory-starved machines
 Eh. It's a 40GB disk and I really considered putting 1GB of it for
 swap.

I've got a gigabyte of swap with only 20GB of real space. Of course, I
use swap for /tmp with an mfs-backed file system.

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Freebsd - restarting itself?!

2003-03-24 Thread dave
At 02:20 PM 3/24/2003, Steve Warwick wrote:
Hi All,

Is it possible for FreeBSD to shut itself down and restart for no reason?
No. It won't happen spontaneously without a reason. The reason is not always
intuitively obvious, but it won't happen without a reason.
I've had FreeBSD servers run for 14-18months without a single reboot. When one
of them starts crashing or rebooting, there is a reason. Recently I  began 
having
this happen on a previously stable machine (no reboot for 9 months) and I
eventually traced it down to a hard drive that began to fail.

I've seen it be RAM, CPU cooling fan, HD, video card. I've learned the hard way
to spend the extra money and buy good hardware. I've got an Intel 
providence dual
ppro MB box that typically will run 12+ months between reboots, only 
rebooting it
when the HD gets full and I need to add another one, or i feel like i 
really want to
reinstall the OS because i wonder if someone cracked it and replaced all the
binaries ;).


My machine was restarted last night and my hosting company claims they did
not touch the server or have any problems. This has been going of for a few
months now -- intermittent restarts that no one claims responsibility for.
If they have the root passwd i'd change it.  UPS is also mandatory.


This is a new machine with the latest OS (4.7) so I can't blame a faulty
power supply or something like -- I have more fans than Britney in the
server, for HD and CPU so I don't think it's a temp problem.
I've actually found that new hardware is more likely to fail than old hardware,
(except perhaps hard drives).  If hard ware doesn't fail initially i've found
it will last until it becomes obsolete. (generally speaking).
I've found this can be a long process to track down. It usually requires 
changing
one thing at a time, and waiting. If you change too many things at once then
you won't know which one made the diff.  I'd start with a root passwd 
change and
make sure I have a good UPS.

good luck
dave


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Personal development CVS question

2003-03-24 Thread Garance A Drosihn
At 12:04 PM -0500 3/24/03, Steve Bertrand wrote:
The current state of my app is ready for production, so I would
like to take a snapshot of it as is, then implement it. I would
like to leave this snapshot alone, and further develop in other
aspects of the program now. Am I correct with this method?:
- commit my current source and branch as RELEASE
- download RELEASE onto production server and put into use
- further work will continue normally, and the RELEASE branch
  will not be affected
- when I am ready for the new features, I can re-branch to a
  new RELEASE, redownload onto production and repeat
You generally want to use a special name for the release branch,
such as RELEASE_1.  When you later want to make a new release,
you name that branch RELEASE_2.  You may still want to work off
the RELEASE_1 branch even though RELEASE_2 has been made.
--
Garance Alistair Drosehn=   [EMAIL PROTECTED]
Senior Systems Programmer   or  [EMAIL PROTECTED]
Rensselaer Polytechnic Instituteor  [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: automatic standby after idle timeout

2003-03-24 Thread Lowell Gilbert
mike mcgranahan [EMAIL PROTECTED] writes:

 thank you for your reply. correct me if i'm wrong, but
 apmd only responds to apm signals sent to it, either
 by the user or by the machine hardware (lid closing or
 opening).

That looks correct.  It should be possible to hack a screensaver to
send such an event; if my kid gives me enough time this week, I'll
take a crack at it.

   also, can anyone describe the apm_saver.ko KLD?  i
   can't seem to find a description of it anywhere.
  
  It turns off the screen.
 
 ahh, thanks.  green_saver also turns off the screen
 (dpms).  are there any differences between apm_saver
 and green_saver?

They use different API, as far as I can see.  

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


freebsd 5.0

2003-03-24 Thread Pandele Stefan Cristian

   Hello, 
 I download freebsd 5.0 release and i have installed it.
please tell me waht is the diffrence between STABLE CURRENT  RELEASE. When
i tried to install the driers for my video card (gf2 gts) i had a message
who sounds like  Cannot install on RELEASE version 
  When is going to apear 5.0 stable version?
Thank you  !


  



--
K Free E-mail http://www.k.ro/
Sarbatorile de Pasti, vacante pentru toti prin http://www.romaniantourism.ro/






To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: crashdumping on massive amounts of RAM

2003-03-24 Thread Lowell Gilbert
The Anarcat [EMAIL PROTECTED] writes:

 Now the problem I have is I'd like to debug the panic()s I'm seeing
 now and then on this box, since I'm running 5.0. :) But it seems I
 need at least as much swap as I need RAM to do this.

You could always tell the kernel it has a lot less RAM, and get a dump
that way.  It might affect the symptoms, of course, but it might not.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: LVM / Vinum

2003-03-24 Thread Greg 'groggy' Lehey
On Monday, 24 March 2003 at 11:39:12 +, james wrote:
 Hi

 I'm new to FreeBSD but not new to UNIX or storage. First of all I must say
 that FreeBSD looks rather polished, more like a commercial offering than
 a volunteer effort! :)

 I'm very used to using LVM on Linux, AIX, HP/UX etc, and I want to be able
 to similar stuff on fbsd. I've had a play with Vinum, and I'm just
 wondering if there are any other alternatives?

There's also RAIDFrame.

 I like the LVM way of having a pool of physical volumes, and having
 the LVM subsystem take care of physical placement of logical
 volumes. In Vimun, it seems to me that you have to explicitly state
 what disks you would like to use for a volume.

Yes, correct.  I don't think of this as a problem.

 Also, is it possible to extend / shrink volumes once they have been
 created?

Yes.  Add or remove subdisks to/from a plex.

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


pgp0.pgp
Description: PGP signature


Re: freebsd 5.0

2003-03-24 Thread Kris Kennaway
On Tue, Mar 25, 2003 at 12:27:54AM +0200, Pandele Stefan Cristian wrote:
 
Hello, 
  I download freebsd 5.0 release and i have installed it.
 please tell me waht is the diffrence between STABLE CURRENT  RELEASE.

Please read the handbook where this question is answered.

 When i tried to install the driers for my video card (gf2 gts) i had
 a message who sounds like  Cannot install on RELEASE version When
 is going to apear 5.0 stable version?

This is a question for the driver developers.

Kris


pgp0.pgp
Description: PGP signature


Help With Dummynet Config

2003-03-24 Thread Drew Tomlinson
I'm trying to setup dummynet for my home network.  I have an 384/128kbps
ADSL connection to the Internet.  What I want to do is give priority to a
100kbps video stream when it's running over other traffic.  The video stream
comes from 192.168.1.3:8080 on my internal network.  I setup the following
rules on my firewall:

# Begin Configure pipe  queues to allow video stream priority

#   Flush before we define
$fwcmd -f queue flush
$fwcmd -f pipe flush

$fwcmd pipe 1 config queue 64Kbyte
$fwcmd queue 1 config pipe 1 weight 90 queue 56KByte
$fwcmd queue 2 config pipe 1 weight 10 queue 8Kbyte

$fwcmd add queue 1 ip from 192.168.1.3 8080 to any
$fwcmd add queue 2 ip from not 192.168.1.3 8080 to any

Now this seems to work as I don't get any errors when the rules load.  I
also notice that I match packets when connecting to the video stream with
the first add queue rule.  However other packets do not match the second
add queue rule and I don't understand why.  I expect that every packet
crossing the firewall that is not part of the video stream to be added to
queue 2.  What am I missing?

I would also appreciate any suggestions on tuning the queue size for my
purpose as I really don't have any understanding other than the defaults are
probably too large for my slow ADSL link.

Thanks for the help,

Drew


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: ftp proxy with cache

2003-03-24 Thread Warren Block
On Mon, 24 Mar 2003, Max Clark wrote:

 I am looking to configure a ftp proxy for use over a low speed link. I would
 like to be able to ftp upload from a local lan connected client to this
 proxy, have the proxy server connect to the ftp server, spool the data
 transfer, and upload for as long as it takes over the link, giving the lan
 connect pc a fast session and the apearance of a fast transfer.

I think squid does this in addition to web proxying and caching.  See
http://www.squid-cache.org.  The port is /usr/ports/www/squid.

-Warren Block * Rapid City, South Dakota USA

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Sendmail questions

2003-03-24 Thread Giorgos Keramidas
On 2003-03-24 15:14, Andreas Wider?e Andersen [EMAIL PROTECTED] wrote:
 I've got two questions:

 1. I've been getting this error all day on both of my FreeBSD
 servers (different physic location and version - 4.7 STABLE and 4.8
 RC): ... did not issue MAIL/EXPN/VRFY/ETRN during connection to
 MTA. I'm seing this in my /var/log/maillog file and since the
 problems occured around 04.30 this morning I haven't received any
 mails. Can anyone please explain to me what's going on? Both servers
 have been delivering mail for a long problem-free time. I'm running
 Sendmail 8.12.7 (patched) and 8.12.8.

What's the deal with the two different version numbers?  Are you
running two different Sendmail versions on the same machine?

 2. When the mail server isn't sending out mail or relaying, all mail
 sent from localhost end up in here: /var/spool/clientmqueue. How can
 I manually send these mails off later?

It looks like one of the sendmail processes that should runn on your
system for mail to work somehow dies.

What does this show?

# ps xauww | grep sendmail

- Giorgos


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


[no subject]

2003-03-24 Thread Adam Farrugia
subscribe

end

Adam Farrugia, 
B.Lang, MCSE
IT Manager,
UQ Foundation, IES
mob: 0413 152 174
mailto:[EMAIL PROTECTED]




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Sendmail questions

2003-03-24 Thread Jeff Jirsa
On Mon, 24 Mar 2003, Andreas [iso-8859-1] Widerøe Andersen wrote:

 I've got two questions:

 1. I've been getting this error all day on both of my FreeBSD servers
 (different physic location and version - 4.7 STABLE and 4.8 RC): ... did
 not issue MAIL/EXPN/VRFY/ETRN during connection to MTA. I'm seing this in
 my /var/log/maillog file and since the problems occured around 04.30 this
 morning I haven't received any mails. Can anyone please explain to me
 what's going on? Both servers have been delivering mail for a long
 problem-free time. I'm running Sendmail 8.12.7 (patched) and 8.12.8.

I see errors like this when people telnet to port 25 and don't do
anything (usually me, checking the version in the banner that's printed).
It's not usually a problem, and I would guess is probably not related to
sendmail dying. Can you simply restart sendmail (sendmail -bd -q1h and
sendmail -Ac -q1h), or will it not restart?

 2. When the mail server isn't sending out mail or relaying, all mail sent
 from localhost end up in here: /var/spool/clientmqueue. How can I manually
 send these mails off later?

Run sendmail -Ac -q1h. This will scan /var/spool/clientmqueue every hour
and flush out anything that's there. If I had a 4.x box around here, I
could give you better instructions to make it start at boot (in 5.0,
sendmail_msp_queue_enable defaults to YES, and rc starts that daemon; I'm
not sure how 4.x handles it).

- Jeff Jirsa


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Personal development CVS question

2003-03-24 Thread Giorgos Keramidas
On 2003-03-24 12:04, Steve Bertrand [EMAIL PROTECTED] wrote:
 I have developed a project for use at my ISP, which I have been keeping in
 my CVS repository (as I do all of my projects). CVS is working great, but
 I have a somewhat unrelated question, which I would apprecieate
 redirection if required.

 The current state of my app is ready for production, so I would like to
 take a snapshot of it as is, then implement it. I would like to leave this
 snapshot alone, and further develop in other aspects of the program now.
 Am I correct with this method?:

 - commit my current source and branch as RELEASE

A tag with RELEASE_1_0 is all you need to be able to extract the
versions of the files as they were at the date of the tagging
(i.e. just before the RELEASE goes out).

A branch is only required if you want to continue development in two,
uhm, `branches'.  The HEAD of every file tracks the latest, most
cutting-edge, bleeding from all edges, version of the file.  The
branch of the release, on the other hand, is only touched when changes
are backported from your experimental, HEAD branch to the release.

 - download RELEASE onto production server and put into use

 - further work will continue normally, and the RELEASE branch will
 not be affected

True.  You have to commit stuff to the release branch to affect it.

 - when I am ready for the new features, I can re-branch to a new
 RELEASE, redownload onto production and repeat

Sounds like a good plan to me.

 - if changes are made and required into RELEASE, I can merge at that
 time.

Yep.  If you create a separate branch for the release version, for
instance with:

$ cvs checkout project
$ cd project
$ cvs tag -r RELEASE_1_0_0_BP

(where _BP means branch point and is a tag, not a branch), then you
can use:

$ cvs checkout -r RELEASE_1_0_0_BP project
$ cd project
$ cvs tag -b RELEASE_1

After this point, you have a RELEASE_1 branch that you can use to make
changes to the 'stable' branch:

$ cvs checkout -r RELEASE_1 project
$ edit some files
$ cvs commit# This will only affect the RELEASE_1 branch

What I describe above is more or less the same policy that FreeBSD
uses to tag and branch versions.  It's described in the ``FreeBSD
Release Engineering'' article, which you can read at:

http://www.FreeBSD.org/doc/en_US.ISO8859-1/articles/releng/

- Giorgos


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Can't get PCI128 sound card to be recognized

2003-03-24 Thread Steve Willoughby
I have an older Pentium system I'd like to just use as a sort of
home entertainment server (read mp3 player for house sound system,
X10, etc).  

I just put in a new PCI128 sound card, but am having trouble
getting it to work.  I think I've got the right set of drivers
enabled, but I get the following at boot time:

 pcm0: unknown revision 4 -- please report to [EMAIL PROTECTED]
 pcm0: Creative CT5880-? port 0xfcc0-0xfcff irq 15 at device 14.0 on pci0
 pcm0: ac97 codec invalid or not present (id == 0)
 device_probe_and_attach: pcm0 attach returned 6

It's currently running FreeBSD 4.5-RELEASE (apparently 5.0-RELEASE
doesn't recognize its hard drives for some reason, so I couldn't
upgrade as part of this exercise, but will try 4.7 next anyway).

It looks to me like the kernel's set up for pcm support, and I did
load the snd_es137x.ko module, but I don't see how to handle the
invalid or missing codec problem.

Anyone else run into this?

TIA,
steve

Full boot log follows:

Mar 21 01:13:36  /kernel: Copyright (c) 1992-2002 The FreeBSD Project.
Mar 21 01:13:36  /kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 
1991, 1992, 1993, 1994
Mar 21 01:13:36  /kernel: The Regents of the University of California. All 
rights reserved.
Mar 21 01:13:36  /kernel: FreeBSD 4.5-RELEASE #1: Fri Mar 21 00:11:15 PST 2003
Mar 21 01:13:37  /kernel: root@:/usr/src/sys/compile/MUSE
Mar 21 01:13:37  /kernel: Timecounter i8254  frequency 1193182 Hz
Mar 21 01:13:37  /kernel: CPU: Pentium/P54C (90.21-MHz 586-class CPU)
Mar 21 01:13:37  /kernel: Origin = GenuineIntel  Id = 0x524  Stepping = 4
Mar 21 01:13:37  /kernel: Features=0x1bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8
Mar 21 01:13:37  /kernel: real memory  = 33554432 (32768K bytes)
Mar 21 01:13:37  /kernel: avail memory = 27652096 (27004K bytes)
Mar 21 01:13:37  /kernel: Preloaded elf kernel kernel at 0xc0504000.
Mar 21 01:13:37  /kernel: Preloaded elf module snd_es137x.ko at 0xc050409c.
Mar 21 01:13:37  /kernel: can't re-use a leaf (es_debug)!
Mar 21 01:13:37  /kernel: Preloaded elf module snd_pcm.ko at 0xc0504140.
Mar 21 01:13:37  /kernel: Intel Pentium detected, installing workaround for 
F00F bug
Mar 21 01:13:37  /kernel: md0: Malloc disk
Mar 21 01:13:37  /kernel: npx0: math processor on motherboard
Mar 21 01:13:37  /kernel: npx0: INT 16 interface
Mar 21 01:13:37  /kernel: pcib0: Host to PCI bridge on motherboard
Mar 21 01:13:37  /kernel: pci0: PCI bus on pcib0
Mar 21 01:13:37  /kernel: ign0 port 0x3f4-0x3f7,0x1f0-0x1f7 at device 1.0 on 
pci0
Mar 21 01:13:37  /kernel: isab0: Intel 82378IB PCI to ISA bridge at device 
2.0 on pci0
Mar 21 01:13:37  /kernel: isa0: ISA bus on isab0
Mar 21 01:13:37  /kernel: pci0: ATI Mach64-GX graphics accelerator at 3.0
Mar 21 01:13:37  /kernel: pci0: ATI Mach64-GU graphics accelerator at 12.0
Mar 21 01:13:37  /kernel: pcm0: unknown revision 4 -- please report to 
[EMAIL PROTECTED]
Mar 21 01:13:37  /kernel: pcm0: Creative CT5880-? port 0xfcc0-0xfcff irq 15 
at device 14.0 on pci0
Mar 21 01:13:37  /kernel: pcm0: ac97 codec invalid or not present (id == 0)
Mar 21 01:13:37  /kernel: device_probe_and_attach: pcm0 attach returned 6
Mar 21 01:13:37  /kernel: orm0: Option ROMs at iomem 
0xc-0xc7fff,0xed000-0xedfff on isa0
Mar 21 01:13:37  /kernel: fdc0: NEC 72065B or clone at port 
0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
Mar 21 01:13:37  /kernel: fdc0: FIFO enabled, 8 bytes threshold
Mar 21 01:13:37  /kernel: fd0: 1440-KB 3.5 drive on fdc0 drive 0
Mar 21 01:13:38  /kernel: ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
Mar 21 01:13:38  /kernel: atkbdc0: Keyboard controller (i8042) at port 
0x60,0x64 on isa0
Mar 21 01:13:38  /kernel: atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
Mar 21 01:13:38  /kernel: kbd0 at atkbd0
Mar 21 01:13:38  /kernel: vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 
0xa-0xb on isa0
Mar 21 01:13:38  /kernel: sc0: System console at flags 0x100 on isa0
Mar 21 01:13:38  /kernel: sc0: VGA 16 virtual consoles, flags=0x300
Mar 21 01:13:38  /kernel: sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
Mar 21 01:13:38  /kernel: sio0: type 16550A
Mar 21 01:13:38  /kernel: sio1 at port 0x2f8-0x2ff irq 3 on isa0
Mar 21 01:13:38  /kernel: sio1: type 16550A
Mar 21 01:13:38  /kernel: ppc0: Parallel port at port 0x378-0x37f irq 7 on 
isa0
Mar 21 01:13:38  /kernel: ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in 
COMPATIBLE mode
Mar 21 01:13:38  /kernel: plip0: PLIP network interface on ppbus0
Mar 21 01:13:38  /kernel: lpt0: Printer on ppbus0
Mar 21 01:13:38  /kernel: lpt0: Interrupt-driven port
Mar 21 01:13:38  /kernel: ppi0: Parallel I/O on ppbus0
Mar 21 01:13:38  /kernel: pca0 at port 0x40 on isa0
Mar 21 01:13:38  /kernel: ad0: 515MB WDC AC2540H [1048/16/63] at ata0-master 
BIOSPIO
Mar 21 01:13:38  /kernel: acd0: CDROM CD-ROM CDU621-D at ata0-slave using 
BIOSPIO
Mar 21 01:13:38  /kernel: Mounting root from ufs:/dev/ad0s1a
Mar 21 01:14:05  login: ROOT LOGIN (root) ON ttyv0
-- 
Steve Willoughby  | The purpose of IT is to seamlessly 

dmesg Analysis

2003-03-24 Thread Bob Perry
I recently upgraded/reinstalled 4.7 RELEASE and apparently lost use of my
SCSI tape backup system.  The dmesg command indicates that FreeBSD found the
controller and tape but I don't understand much more than that.

Does anyone know where I might find some documentation which would explain
output resulting from running dmesg?  For instance, one of the lines reads:
sa0 at adv0 bus 0 target 4 lun 0
?
Just looking for some direction.

Thanks



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: dmesg Analysis

2003-03-24 Thread Josh Paetzel
On Mon, Mar 24, 2003 at 09:08:31PM -0500, Bob Perry wrote:
 I recently upgraded/reinstalled 4.7 RELEASE and apparently lost use of my
 SCSI tape backup system.  The dmesg command indicates that FreeBSD found the
 controller and tape but I don't understand much more than that.
 
 Does anyone know where I might find some documentation which would explain
 output resulting from running dmesg?  For instance, one of the lines reads:
 sa0 at adv0 bus 0 target 4 lun 0
 ?
 Just looking for some direction.
 
 Thanks
 

I don't know of any docs that really explain reading a dmesg in detail, but 
I'd be willing to help you sort your issues if you posted your dmesg.

Josh

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


RE: OpenSSL obstacle to PostgreSQL Installation

2003-03-24 Thread Tamir Halperin
Hi Mike,

It appears that a symlink solved the problem. I did try someone else's symlink 
suggestion but it didn't point to the /usr/lib directory like Dmitry's did.

A brief conversation with Dmitry Morozovsky [mailto:[EMAIL PROTECTED] in the 
pgsql-admin list produced the following:

DM So, possibly, quick hack like 'ln -s 
DM /usr/local/lib/libcrypto.so /usr/lib' may
DM help you.

TH I can't believe it. After two days of scraping around for why it isn't working and 
one command later it works!
TH It's amazing what knowledge will do for a person's outlook on life.
TH The above ln command worked and postgresql 7.3.2 is currently installing.

DM Anyway, please consider upgrading to 4.8 which should be out 
DM of door this week.

He brings up a good point. I'm running something that's over a year behind and I think 
it would benefit me to be at 4.8 or at least 4.7.

Can you point me to a concise document that discusses the upgrade procedure?

Tamir Halperin.

p.s. and thanks again for all the attention. It does a heart good to be cared for by 
all you guys.

 -Original Message-
 From: Mike Meyer [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 24, 2003 4:45 PM
 To: Tamir Halperin
 Cc: [EMAIL PROTECTED]
 Subject: RE: OpenSSL obstacle to PostgreSQL Installation
 
 
 [Context lost to top posting.]
 
 In [EMAIL PROTECTED], 
 Tamir Halperin [EMAIL PROTECTED] typed:
  oops!
  I don't have an /etc/make.conf but rather an 
 /etc/defaults/make.conf.
  Even though I don't think you'll find it very interesting, 
 it is attached for your entertainment.
 
 It looks like you haven't modified anything in it. Which is good - you
 should never modify things in /etc/defaults.
 
  
  uname -a responds with:
  FreeBSD john.brobus.net 4.6-RELEASE FreeBSD 4.6-RELEASE #0: 
 Tue Jun 11 06:14:12 GMT 2002 
 [EMAIL PROTECTED]:/usr/src/sys/compile/GENERIC i386
 
 What do you have for /usr/lib/libcrypto*?
 
   mike
 
 -- 
 Mike Meyer [EMAIL PROTECTED]
http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: SIGPIPE and threaded servers

2003-03-24 Thread Dave Hayes
Dan Nelson [EMAIL PROTECTED] writes:
 In the last episode (Mar 23), Dave Hayes said:
 I have a relatively simple threaded TCP server that services high
 volumes of requests. Currently it appears to randomly crash receiving
 a SIGPIPE.
 
 Attempts to ignore SIGPIPE via the sigaction() semantic only prevent
 me from sending the signal with kill to test whether or not SIGPIPE
 is actually ignored. =/
 Then it's being ignored and your job is done :)

Heh, I have to remember to be excrutiatingly explicit when I ask these
questions. =)
 
 What is going on here?
  From the signal manpage:
  NameDefault Action  Description
  --  ---
  SIGPIPE terminate process   write on a pipe with no reader
 It's doing just what it is supposed to.

But it's not doing what I want it to do.

I don't want my process with all it's threads to terminate if I write
on a pipe with no reader. I want the write() to return EPIPE so I can
handle it there. It's not doing that currently.  Installing a signal
handler doesn't work to get it to do that. Ignoring the signal doesn't
work. I've used both signal() and sigaction() semantics to no avail. 

What do I have to do so that SIGPIPE does not terminate my process?
--
Dave Hayes - Consultant - Altadena CA, USA - [EMAIL PROTECTED] 
 The opinions expressed above are entirely my own 

If you want to shoot for the moon, aim for the sun




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: dmesg Analysis

2003-03-24 Thread Bob Perry
 On Mon, Mar 24, 2003 at 09:08:31PM -0500, Bob Perry wrote:
  I recently upgraded/reinstalled 4.7 RELEASE and apparently lost use of
my
  SCSI tape backup system.  The dmesg command indicates that FreeBSD found
the
  controller and tape but I don't understand much more than that.
 
  Does anyone know where I might find some documentation which would
explain
  output resulting from running dmesg?  For instance, one of the lines
reads:
  sa0 at adv0 bus 0 target 4 lun 0
  ?
  Just looking for some direction.
 
  Thanks
 

 I don't know of any docs that really explain reading a dmesg in detail,
but
 I'd be willing to help you sort your issues if you posted your dmesg.

Thanks Josh,

I have a SCSI Seagate TapeStor system that worked fine under 4.5 RELEASE.
It worked equally as well when I tried a binary upgrade to 4.7.  There were
too many other problems with the upgrade so later I did a complete install
of 4.7.  This is where I found that my tape system no longer responded to
any mt commands.

I ran the command dmesg | grep sa0 for the tape device and got the
following:
sa0 at adv0 bus 0 target 4 lun 0
sa0: Seagate STT2N 6451 Removable Sequential Access SCSI-2
device
sa0: 10,000 MB/s transfers (10,000 MHz, offset 15)

Also ran dmesg | grep adv0 for the controller:
adv0: AdvanSys Ultra SCSI Host Adapter SCSI ID 7, queue depth 240
adv0: AdvanSys ASC3030/50 SCSI controller port 0xb400-0xb4ff mem
0x500-0xd5ff irq 11 at device 12.0 on pci0

My  kernel SCSI controller data reads:
adv0at isa?
My kernel SCSI peripheral data reads:
saSequential Access (tape, etc)

The best I can pull from this is that FreeBSD finds the tape and controller
when it boots.

Thanks again







To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Netcraft Info for abcnews.go.com and FreeBSD

2003-03-24 Thread Bryan Vyhmeister
In looking up some sites on Netcraft, I discovered a bit of an anomaly. 
Check it out at:

http://uptime.netcraft.com/up/graph/?site=abcnews.go.com

How does this kind of anomaly happen? Obviously we have some sort of 
clustered set of servers that are serving up abcnews.go.com using 
Microsoft-IIS/5.0. It appears that they are running Windows 2000. Where 
did the FreeBSD OS fingerprint come from? How does Windows 2000 look 
like FreeBSD? Obviously Microsoft-IIS/5.0 does not run on FreeBSD. 
Could it be that FreeBSD is acting as a firewall or load-distributor? 
Any ideas?

Bryan

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Netcraft Info for abcnews.go.com and FreeBSD

2003-03-24 Thread Anti
On Mon, 24 Mar 2003 18:50:07 -0800
Bryan Vyhmeister [EMAIL PROTECTED] wrote:

 In looking up some sites on Netcraft, I discovered a bit of an anomaly. 
 Check it out at:
 
 http://uptime.netcraft.com/up/graph/?site=abcnews.go.com
 
 How does this kind of anomaly happen? Obviously we have some sort of 
 clustered set of servers that are serving up abcnews.go.com using 
 Microsoft-IIS/5.0. It appears that they are running Windows 2000. Where 
 did the FreeBSD OS fingerprint come from? How does Windows 2000 look 
 like FreeBSD? Obviously Microsoft-IIS/5.0 does not run on FreeBSD. 
 Could it be that FreeBSD is acting as a firewall or load-distributor? 
 Any ideas?
 
 Bryan


maybe it's just not very accurate? it says hp-ux for all my freebsd
servers...

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Netcraft Info for abcnews.go.com and FreeBSD

2003-03-24 Thread Christopher Rosado
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 24 March 2003 07:50 pm, Bryan Vyhmeister wrote:

 http://uptime.netcraft.com/up/graph/?site=abcnews.go.com

 How does this kind of anomaly happen?

On that very same page is the following link:
http://uptime.netcraft.com/up/accuracy.html#impossible

- -- 
Christopher Rosado
Liberalism leads to loss of liberty. - Me
http://groups.yahoo.com/group/logcabinyouth/

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+f8Yjk41LrboeC7gRAo2EAKDW5bxjJc0bHmFS4GhYycVqBmUIwwCfRhMF
2VGcOY2uhf/a2fhnbHtuzN8=
=zgbU
-END PGP SIGNATURE-


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Netcraft Info for abcnews.go.com and FreeBSD

2003-03-24 Thread Bryan Vyhmeister
On Monday, March 24, 2003, at 06:59 PM, Christopher Rosado wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Monday 24 March 2003 07:50 pm, Bryan Vyhmeister wrote:

http://uptime.netcraft.com/up/graph/?site=abcnews.go.com

How does this kind of anomaly happen?
On that very same page is the following link:
http://uptime.netcraft.com/up/accuracy.html#impossible
I guess I should have looked a little more. Interesting anyway. I 
wonder what sort of load balancing solution they are using. Any of you 
using load balancing solutions? I did a search on Google and came up 
with a few things but it was not all that helpful.

Bryan

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: CLI audio recorder

2003-03-24 Thread taxman
On Monday 24 March 2003 06:12 am, Ian Moore wrote:
 Hi,
 Can anyone recommend a command line-based audio recorder. I'm looking for
 something that can be run from a cron job to record 44.1kHz stereo 16-bit
 audio for an hour, then be killed off and restarted straight away (so that
 it produces hour long files continously).

cd /usr/ports
make search key=record   you'll see at least one cli based recorder
the cron job will do the rest if done properly

 Also a CLI based mp3 converter so that the recorded files can be mp3ed at

make search key=mp3   you'll see several that will encode to mp3

then read the pkg-descr files to find the ones that suit you.
gl,

Tim

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Help Troubleshooting Network problem

2003-03-24 Thread Rod Person
Hi all,

I have a DSL connection and a Intel EtherPro 10/100 network card running FreeBSD 4.8 
pre-release.

I have noticed that sometimes when I'm downloading overnight, something like an iso 
image or something large that make ppp load seems to overflow and stop working. 

What happens is that all application that use a network connection lock up. 
Applications such as email web browser etc. I have to Kill the ppp pid and all 
application accessing it and restart them.

I know this isn't the best description but can someone give me an idea on what to look 
at to try and trouble shoot this. I've never had this problem before with any release. 
I've even used 5.0 for awhile on this machine and had no such problem.

Rod

-- 
If you want to terrorize the world, you need the CIA.
  - Ralph McGhee, CIA Operative

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: freebsd 5.0

2003-03-24 Thread taxman
On Monday 24 March 2003 05:27 pm, Pandele Stefan Cristian wrote:
Hello,
  I download freebsd 5.0 release and i have installed it.
 please tell me waht is the diffrence between STABLE CURRENT  RELEASE. When
 i tried to install the driers for my video card (gf2 gts) i had a message
 who sounds like  Cannot install on RELEASE version
   When is going to apear 5.0 stable version?

Like Kris said, and you'll find some of the specific useful links here:
http://mired.org:8080/5.0-not-production.html

Tim

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: dmesg Analysis

2003-03-24 Thread taxman
On Monday 24 March 2003 09:08 pm, Bob Perry wrote:
 I recently upgraded/reinstalled 4.7 RELEASE and apparently lost use of my
 SCSI tape backup system.  The dmesg command indicates that FreeBSD found
 the controller and tape but I don't understand much more than that.

 Does anyone know where I might find some documentation which would explain
 output resulting from running dmesg?  For instance, one of the lines reads:
 sa0 at adv0 bus 0 target 4 lun 0

many (most?) of the items in dmesg are device drivers and have manpages.
so first read man man  then try things like
man -aw sa you'll see:
/usr/share/man/cat8/sa.8.gz (source: /usr/share/man/man8/sa.8.gz)
/usr/share/man/man4/sa.4.gz
 which tells you there are two man pages for sa.  one is what you are looking 
for, one is not, so use
man 4 sa  to see the right one.

repeat that for all the things in dmesg and you'll learn a lot of what you're 
looking for.

This can potentially throw you off by some things that have the same name and 
are not device drivers.  eg man 4 fd  wil not get you the floppy driver, but 
man 4 fdc will.

hth,

Tim

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: dmesg Analysis

2003-03-24 Thread taxman
On Monday 24 March 2003 09:48 pm, Bob Perry wrote:
  On Mon, Mar 24, 2003 at 09:08:31PM -0500, Bob Perry wrote:
   I recently upgraded/reinstalled 4.7 RELEASE and apparently lost use of
 my
   SCSI tape backup system.  The dmesg command indicates that FreeBSD
   found
 the
   controller and tape but I don't understand much more than that.
  
   Does anyone know where I might find some documentation which would
 explain
   output resulting from running dmesg?  For instance, one of the lines
 reads:
   sa0 at adv0 bus 0 target 4 lun 0
 
  I don't know of any docs that really explain reading a dmesg in detail,

 but

  I'd be willing to help you sort your issues if you posted your dmesg.

 Thanks Josh,

 I have a SCSI Seagate TapeStor system that worked fine under 4.5 RELEASE.
 It worked equally as well when I tried a binary upgrade to 4.7.  There were
 too many other problems with the upgrade so later I did a complete install
 of 4.7.  This is where I found that my tape system no longer responded to
 any mt commands.

What errors do you get?  Its always good to include those.

 I ran the command dmesg | grep sa0 for the tape device and got the
 following:
 sa0 at adv0 bus 0 target 4 lun 0
 sa0: Seagate STT2N 6451 Removable Sequential Access SCSI-2
 device
 sa0: 10,000 MB/s transfers (10,000 MHz, offset 15)

 Also ran dmesg | grep adv0 for the controller:
 adv0: AdvanSys Ultra SCSI Host Adapter SCSI ID 7, queue depth 240
 adv0: AdvanSys ASC3030/50 SCSI controller port 0xb400-0xb4ff mem
 0x500-0xd5ff irq 11 at device 12.0 on pci0

 My  kernel SCSI controller data reads:
 adv0at isa?
 My kernel SCSI peripheral data reads:
 saSequential Access (tape, etc)

 The best I can pull from this is that FreeBSD finds the tape and controller
 when it boots.

Yep, that's exactly it.  So since it sees it, I don't have any idea what would 
cause the problem in it not working.  As I mentioned, you'll have to include 
the error.
Since it's not likely a problem in how FreeBSD sees the device, the links on 
how to read dmesg will not help you that much, but hopefully will be 
instructive anyway.

Tim

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: dmesg Analysis

2003-03-24 Thread Bob Perry

- Original Message -
From: taxman [EMAIL PROTECTED]
To: Bob Perry [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, March 24, 2003 11:08 PM
Subject: Re: dmesg Analysis


 On Monday 24 March 2003 09:08 pm, Bob Perry wrote:
  I recently upgraded/reinstalled 4.7 RELEASE and apparently lost use of
my
  SCSI tape backup system.  The dmesg command indicates that FreeBSD found
  the controller and tape but I don't understand much more than that.
 
  Does anyone know where I might find some documentation which would
explain
  output resulting from running dmesg?  For instance, one of the lines
reads:
  sa0 at adv0 bus 0 target 4 lun 0

 many (most?) of the items in dmesg are device drivers and have manpages.
 so first read man man  then try things like
 man -aw sa you'll see:
 /usr/share/man/cat8/sa.8.gz (source: /usr/share/man/man8/sa.8.gz)
 /usr/share/man/man4/sa.4.gz
  which tells you there are two man pages for sa.  one is what you are
looking
 for, one is not, so use
 man 4 sa  to see the right one.

 repeat that for all the things in dmesg and you'll learn a lot of what
you're
 looking for.

I'll pay more attention to the man pages.  Thanks for the input.

 This can potentially throw you off by some things that have the same name
and
 are not device drivers.  eg man 4 fd  wil not get you the floppy driver,
but
 man 4 fdc will.

 hth,

 Tim



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


unloading media programatically

2003-03-24 Thread Jim Pazarena
the eject utility appears to be designed for cd's.
is there something similar for DAT tapes? eject
complains when I try it with my HP DAT.

thanks.

-- 
Jim Pazarena  Box 550 mailto:[EMAIL PROTECTED]
  Queen Charlotte  BC http://www.qcislands.net/paz
  CANADA   V0T 1S0phone:250 559 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


subscribe freebsd-questions

2003-03-24 Thread John McClure
subscribe freebsd-questions

__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


How can I run Dummynet on FreeBSD 4.1.1 Release?

2003-03-24 Thread Ming Zu
I need to run Dummynet and control bandwidth within a
couple of machines which have FreeBSD 4.1.1 Release
installed as the OS. But by the following
instructions:

Build and install dummynet kernel. 
# cd /sys/i386/conf
# config DUMMYNET
# cd ../../compile/DUMMYNET
# make depend
# make install

During the second step, The system gives me an error
and said that it couldn't find DUMMYNET. I couldn't
find Dummynet as well in the computer. 

Could anyone tell me how can I install dummynet?
Thanks so much!

Ming

__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: gcc bug?

2003-03-24 Thread Kirk Strauser
At 2003-03-24T06:28:43Z, milo [EMAIL PROTECTED] writes:

 hi, i can't compile the source code --

What source code?  Specifically, is this part of a make buildworld, or are
you attempting to compile one specific subdirectory of /usr/src?
-- 
Kirk Strauser
In Googlis non est, ergo non est.


pgp0.pgp
Description: PGP signature


Re: Transparent proxy

2003-03-24 Thread P. U. Kruppa
On Sun, 23 Mar 2003, Maarten de Vries wrote:

 Hi,

 On my NAT-box, I'm trying to redirect all http traffic from the desktops
 behind to the squid cache, which is on the same machine.

 The ipfw rule I use that should accomplish this is:

 $ ipfw add 2350 fwd 192.168.1.1 3128 from any to any 80
Try this rule instead
$ ipfw add 2350 fwd 127.0.0.1 tcp from any to any 80 recv rl1
recv rl1  means everything received from nic rl1 - you will have
to put in the device name of your nic instead.

Regards,

Uli.


 And in squid.conf I have:

 http_port 192.168.1.1:3128
 httpd_accel_host virtual
 httpd_accel_port 80
 httpd_accel_with_proxy  on
 httpd_accel_uses_host_header on

 Somehow I must be overlooking something, because although http traffic works
 well on the clients, it isn't being picked up. The firewall- and cachelog
 remain empty...

 Ipfw and Squid work well in all other respects. Any pointers would be much
 appreciated!

 --
 http://unsavoury.net/



 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message


+---+
|Peter Ulrich Kruppa|
|  -  Wuppertal -   |
|  Germany  |
+---+

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: How can I run Dummynet on FreeBSD 4.1.1 Release?

2003-03-24 Thread taxman
On Monday 24 March 2003 11:52 pm, Ming Zu wrote:
 I need to run Dummynet and control bandwidth within a
 couple of machines which have FreeBSD 4.1.1 Release
 installed as the OS. But by the following
 instructions:

 Build and install dummynet kernel.
 # cd /sys/i386/conf
 # config DUMMYNET
 # cd ../../compile/DUMMYNET
 # make depend
 # make install

 During the second step, The system gives me an error
 and said that it couldn't find DUMMYNET. I couldn't
 find Dummynet as well in the computer.

 Could anyone tell me how can I install dummynet?
 Thanks so much!

It seems you've got some reading to do.  see:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html
especially the section on building a custom kernel.

I'm not sure where you got the instructions above, but it seems you missed the 
part about editing the kernel config file.  In the example DUMMYNET is the 
name of the config file after it was edited to include the dummynet option.
See also /usr/src/sys/i386/conf/LINT   and search for the dummynet option.

Tim

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


make index make readmes

2003-03-24 Thread John McClure
Ouch. I've done some searching through the mailing
list archives and I've Googled my google off, and I've
found references to the problem but no real definitive
addressing of it ...

I'm sure this has come up, therefore, but ... My make
index after a cvsup of the ports collection breaks
with a Duplicate INDEX entry. How should I address
this? I'm new to this system and I don't just want to
go poking around.

Also, my make readmes from /usr/ports also breaks in
the Chinese collection with an error along the lines
of arguments list too long.

Argh. Lament.

Any help or insight would, of course, be appreciated.

Thanks in advance.

__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


5.0 In-stalls

2003-03-24 Thread John McClure
I'm trying to install 5.0-RELEASE off of CDs made from
the latest ISO images. Everything proceeds well, up to
a point. The probing looks good, sysinstall seems to
proceed nicely ...

But the install breaks telling me that the filesystem
is full while trying to complete an extract. I
allocate 128MB for the root mount, but when I allocate
more, it still breaks but on a later extract, so the
install seems to proceed futher. I know I'm missing
something obvious.

Thanks for any help and I'll be happy to supply any
necessary info ...

Peace,
GM

__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


RE: Can't get PCI128 sound card to be recognized

2003-03-24 Thread Harald Schmalzbauer
[EMAIL PROTECTED] wrote:
 Cc: [EMAIL PROTECTED]
 Subject: Can't get PCI128 sound card to be recognized

Perhaps you should change your BIOS settings to no PnP OS



 I have an older Pentium system I'd like to just use as a sort of
 home entertainment server (read mp3 player for house sound system,
 X10, etc).

 I just put in a new PCI128 sound card, but am having trouble
 getting it to work.  I think I've got the right set of drivers
 enabled, but I get the following at boot time:

  pcm0: unknown revision 4 -- please report to [EMAIL PROTECTED]
  pcm0: Creative CT5880-? port 0xfcc0-0xfcff irq 15 at device 14.0
  on pci0 pcm0: ac97 codec invalid or not present (id == 0)
  device_probe_and_attach: pcm0 attach returned 6

 It's currently running FreeBSD 4.5-RELEASE (apparently 5.0-RELEASE
 doesn't recognize its hard drives for some reason, so I couldn't
 upgrade as part of this exercise, but will try 4.7 next anyway).

 It looks to me like the kernel's set up for pcm support, and I did
 load the snd_es137x.ko module, but I don't see how to handle the
 invalid or missing codec problem.

 Anyone else run into this?

 TIA,
 steve

 Full boot log follows:

 Mar 21 01:13:36  /kernel: Copyright (c) 1992-2002 The FreeBSD Project.
 Mar 21 01:13:36  /kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988,
 1989, 1991, 1992, 1993, 1994
 Mar 21 01:13:36  /kernel: The Regents of the University of
 California. All rights reserved.
 Mar 21 01:13:36  /kernel: FreeBSD 4.5-RELEASE #1: Fri Mar 21 00:11:15
 PST 2003 Mar 21 01:13:37  /kernel: root@:/usr/src/sys/compile/MUSE
 Mar 21 01:13:37  /kernel: Timecounter i8254  frequency 1193182 Hz
 Mar 21 01:13:37  /kernel: CPU: Pentium/P54C (90.21-MHz 586-class CPU)
 Mar 21 01:13:37  /kernel: Origin = GenuineIntel  Id = 0x524
 Stepping = 4 Mar 21 01:13:37  /kernel:
 Features=0x1bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8 Mar 21 01:13:37
 /kernel: real memory  = 33554432 (32768K bytes) Mar 21 01:13:37
 /kernel: avail memory = 27652096 (27004K bytes) Mar 21 01:13:37
 /kernel: Preloaded elf kernel kernel at 0xc0504000. Mar 21 01:13:37
 /kernel: Preloaded elf module snd_es137x.ko at 0xc050409c. Mar 21
 01:13:37  /kernel: can't re-use a leaf (es_debug)! Mar 21 01:13:37
 /kernel: Preloaded elf module snd_pcm.ko at 0xc0504140. Mar 21
 01:13:37  /kernel: Intel Pentium detected, installing workaround for
 F00F bug Mar 21 01:13:37  /kernel: md0: Malloc disk
 Mar 21 01:13:37  /kernel: npx0: math processor on motherboard
 Mar 21 01:13:37  /kernel: npx0: INT 16 interface
 Mar 21 01:13:37  /kernel: pcib0: Host to PCI bridge on motherboard
 Mar 21 01:13:37  /kernel: pci0: PCI bus on pcib0
 Mar 21 01:13:37  /kernel: ign0 port 0x3f4-0x3f7,0x1f0-0x1f7 at device
 1.0 on pci0
 Mar 21 01:13:37  /kernel: isab0: Intel 82378IB PCI to ISA bridge at
 device
 2.0 on pci0
 Mar 21 01:13:37  /kernel: isa0: ISA bus on isab0
 Mar 21 01:13:37  /kernel: pci0: ATI Mach64-GX graphics accelerator
 at 3.0 Mar 21 01:13:37  /kernel: pci0: ATI Mach64-GU graphics
 accelerator at 12.0 Mar 21 01:13:37  /kernel: pcm0: unknown revision
 4 -- please report to [EMAIL PROTECTED]
 Mar 21 01:13:37  /kernel: pcm0: Creative CT5880-? port
 0xfcc0-0xfcff irq 15 at device 14.0 on pci0
 Mar 21 01:13:37  /kernel: pcm0: ac97 codec invalid or not present (id
 == 0) Mar 21 01:13:37  /kernel: device_probe_and_attach: pcm0 attach
 returned 6 Mar 21 01:13:37  /kernel: orm0: Option ROMs at iomem
 0xc-0xc7fff,0xed000-0xedfff on isa0
 Mar 21 01:13:37  /kernel: fdc0: NEC 72065B or clone at port
 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
 Mar 21 01:13:37  /kernel: fdc0: FIFO enabled, 8 bytes threshold
 Mar 21 01:13:37  /kernel: fd0: 1440-KB 3.5 drive on fdc0 drive 0
 Mar 21 01:13:38  /kernel: ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on
 isa0 Mar 21 01:13:38  /kernel: atkbdc0: Keyboard controller (i8042)
 at port 0x60,0x64 on isa0
 Mar 21 01:13:38  /kernel: atkbd0: AT Keyboard flags 0x1 irq 1 on
 atkbdc0 Mar 21 01:13:38  /kernel: kbd0 at atkbd0
 Mar 21 01:13:38  /kernel: vga0: Generic ISA VGA at port 0x3c0-0x3df
 iomem 0xa-0xb on isa0
 Mar 21 01:13:38  /kernel: sc0: System console at flags 0x100 on isa0
 Mar 21 01:13:38  /kernel: sc0: VGA 16 virtual consoles, flags=0x300
 Mar 21 01:13:38  /kernel: sio0 at port 0x3f8-0x3ff irq 4 flags 0x10
 on isa0 Mar 21 01:13:38  /kernel: sio0: type 16550A
 Mar 21 01:13:38  /kernel: sio1 at port 0x2f8-0x2ff irq 3 on isa0
 Mar 21 01:13:38  /kernel: sio1: type 16550A
 Mar 21 01:13:38  /kernel: ppc0: Parallel port at port 0x378-0x37f
 irq 7 on isa0
 Mar 21 01:13:38  /kernel: ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE)
 in COMPATIBLE mode
 Mar 21 01:13:38  /kernel: plip0: PLIP network interface on ppbus0
 Mar 21 01:13:38  /kernel: lpt0: Printer on ppbus0
 Mar 21 01:13:38  /kernel: lpt0: Interrupt-driven port
 Mar 21 01:13:38  /kernel: ppi0: Parallel I/O on ppbus0
 Mar 21 01:13:38  /kernel: pca0 at port 0x40 on isa0
 Mar 21 01:13:38  /kernel: ad0: 515MB WDC AC2540H [1048/16/63] at
 ata0-master BIOSPIO
 Mar 21 01:13:38  /kernel: 

digiboard multiport serial card author

2003-03-24 Thread target

Hi,

 I was after the email address of the author of the 
digiboard multiport serial card driver.

I was curious to find whether or not it supports
the Acceleport XP card (doenst seem to but I hope it does :) )


thanks!


John Peller

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: gcc bug?

2003-03-24 Thread milo

$ gcc -v
Using builtin specs.
gcc version 2.95.3 20010315 (release) [FreeBSD]

On Mon, Mar 24, 2003 at 01:26:45AM -0500, Adam wrote:
 Subject: Re: gcc bug?
 From: Adam [EMAIL PROTECTED]
 To: milo [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Date: 24 Mar 2003 01:26:45 -0500
 
 On Mon, 2003-03-24 at 01:28, milo wrote:
  hi, i can't compile the source code --
  ...
  any ideas what's wrong?
 
 What version of gcc are you using? 
 If you don't know, type: gcc -v
 
 -- 
 Adam [EMAIL PROTECTED]
 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: gcc bug?

2003-03-24 Thread Adam
On Mon, 2003-03-24 at 22:41, milo wrote:
 $ gcc -v
 Using builtin specs.
 gcc version 2.95.3 20010315 (release) [FreeBSD]
You're a bit outdated:

-$ gcc -v
Using builtin specs.
gcc version 2.95.4 20020320 [FreeBSD]

-- 
Adam [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: SIGPIPE and threaded servers

2003-03-24 Thread Dan Nelson
In the last episode (Mar 24), Dave Hayes said:
 Dan Nelson [EMAIL PROTECTED] writes:
  In the last episode (Mar 23), Dave Hayes said:
   I have a relatively simple threaded TCP server that services high
   volumes of requests. Currently it appears to randomly crash
   receiving a SIGPIPE.
 
 But it's not doing what I want it to do.
 
 I don't want my process with all it's threads to terminate if I write
 on a pipe with no reader. I want the write() to return EPIPE so I can
 handle it there. It's not doing that currently.  Installing a signal
 handler doesn't work to get it to do that. Ignoring the signal
 doesn't work. I've used both signal() and sigaction() semantics to no
 avail.

So what you're saying is that even if you ignore SIGPIPE, your process
still dies with SIGPIPE?  That definitely should not happen, and
probably counts as a kernel bug (signal is not wrapped by libc_r so
threads shouldn't affect anything).

-- 
Dan Nelson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: gcc bug?

2003-03-24 Thread milo

so i need to build/install gcc first before can build the rest?

i'm not sure how to just build contrib/gcc. i tried make contrib/gcc; make install 
contrib/gcc but failed in lib/libcom_err.

:\

--mio

On Mon, Mar 24, 2003 at 10:53:07PM -0500, Adam wrote:
 Subject: Re: gcc bug?
 From: Adam [EMAIL PROTECTED]
 To: milo [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 X-Mailer: Ximian Evolution 1.2.2 
 Date: 24 Mar 2003 22:53:07 -0500
 
 On Mon, 2003-03-24 at 22:41, milo wrote:
  $ gcc -v
  Using builtin specs.
  gcc version 2.95.3 20010315 (release) [FreeBSD]
 You're a bit outdated:
 
 -$ gcc -v
 Using builtin specs.
 gcc version 2.95.4 20020320 [FreeBSD]
 
 -- 
 Adam [EMAIL PROTECTED]
 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Freebsd - restarting itself?!

2003-03-24 Thread Josh Paetzel
On Mon, Mar 24, 2003 at 11:20:56AM -0800, Steve Warwick wrote:
 Hi All, 
 
 Is it possible for FreeBSD to shut itself down and restart for no reason?

Yes.

 
 My machine was restarted last night and my hosting company claims they did
 not touch the server or have any problems. This has been going of for a few
 months now -- intermittent restarts that no one claims responsibility for.
 

The machine is probably rebooting itself.


 This is a new machine with the latest OS (4.7) so I can't blame a faulty
 power supply or something like -- I have more fans than Britney in the
 server, for HD and CPU so I don't think it's a temp problem.
 
 
 Thoughts, suggestions?
 
 TIA
 Steve


Why can't you blame the power supply?  Just because it's new?  It's new is not 
really a valid troubleshooting technique, especially when you have the 
evidence that something is broken staring you in the face.  I'm not trying to 
say you don't have a software issue, but in my experience with FreeBSD, if 
you're having reboots I start looking for faulty hardware right away.  My 
first test is always to swap out the RAM, and then go from there. 

soapbox
One of the things I really like about FreeBSD is that it does not play nicely 
with flakey, old, broken, or otherwise fux0rd hardware.  I don't care if it's 
brand new, worked fine in windows AND linux, or any other excuse, if you are 
seeing reboots that's a pretty good sign there's flakey hardware in the box.
/soapbox

Josh 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Freebsd - restarting itself?!

2003-03-24 Thread Chuck PUP Payne
One more thing check you cpu. You could have a bad fan on the cpu, rebooting
usually mean it's overheating. Are you ovoerclocking the CPU? You could
always as stated faulted hardware. You could put out everything that is not
needed to boot up. Then start replace each part until you find out what is
bad.

Payne

On 3/24/03 2:44 PM, Josh Paetzel [EMAIL PROTECTED] wrote:

 On Mon, Mar 24, 2003 at 11:20:56AM -0800, Steve Warwick wrote:
 Hi All, 
 
 Is it possible for FreeBSD to shut itself down and restart for no reason?
 
 Yes.
 
 
 My machine was restarted last night and my hosting company claims they did
 not touch the server or have any problems. This has been going of for a few
 months now -- intermittent restarts that no one claims responsibility for.
 
 
 The machine is probably rebooting itself.
 
 
 This is a new machine with the latest OS (4.7) so I can't blame a faulty
 power supply or something like -- I have more fans than Britney in the
 server, for HD and CPU so I don't think it's a temp problem.
 
 
 Thoughts, suggestions?
 
 TIA
 Steve
 
 
 Why can't you blame the power supply?  Just because it's new?  It's new is not
 really a valid troubleshooting technique, especially when you have the
 evidence that something is broken staring you in the face.  I'm not trying to
 say you don't have a software issue, but in my experience with FreeBSD, if
 you're having reboots I start looking for faulty hardware right away.  My
 first test is always to swap out the RAM, and then go from there.
 
 soapbox
 One of the things I really like about FreeBSD is that it does not play nicely
 with flakey, old, broken, or otherwise fux0rd hardware.  I don't care if it's
 brand new, worked fine in windows AND linux, or any other excuse, if you are
 seeing reboots that's a pretty good sign there's flakey hardware in the box.
 /soapbox
 
 Josh 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


pkg-config comes from ?

2003-03-24 Thread David Banning
I am compiling galeon2 and I am gettng an error that my pkg-config 
is too old.

Where does it comes from?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: pkg-config comes from ?

2003-03-24 Thread Joe Marcus Clarke
On Mon, 2003-03-24 at 23:52, David Banning wrote:
 I am compiling galeon2 and I am gettng an error that my pkg-config 
 is too old.
 
 Where does it comes from?

It comes from the fact that your pkgconfig is too old.  You should first
update all your ports using sysutils/portupgrade, then install galeon2.

Joe

 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


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


Re: unloading media programatically

2003-03-24 Thread Dan Nelson
In the last episode (Mar 24), Jim Pazarena said:
 the eject utility appears to be designed for cd's.
 is there something similar for DAT tapes? eject
 complains when I try it with my HP DAT.

Try mt offline

-- 
Dan Nelson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: gcc bug?

2003-03-24 Thread Kris Kennaway
On Mon, Mar 24, 2003 at 08:36:05PM -0800, milo wrote:
 
 so i need to build/install gcc first before can build the rest?
 
 i'm not sure how to just build contrib/gcc. i tried make contrib/gcc; make install 
 contrib/gcc but failed in lib/libcom_err.

Update your entire source tree and perform the upgrade procedure
documented in the handbook.

Kris


pgp0.pgp
Description: PGP signature


Re: pkg-config comes from ?

2003-03-24 Thread David Banning
On Mon, Mar 24, 2003 at 11:56:46PM -0500, Joe Marcus Clarke wrote:
 On Mon, 2003-03-24 at 23:52, David Banning wrote:
  I am compiling galeon2 and I am gettng an error that my pkg-config 
  is too old.
  
  Where does it comes from?
 
 It comes from the fact that your pkgconfig is too old.  You should first
 update all your ports using sysutils/portupgrade, then install galeon2.
 
 Joe

My system is not that old;
4.7-STABLE FreeBSD 

My ports was cvsuped last evening.
Is sysutils/portupgrade still necessary?

My question more specifically is, what is the origin of pkg-config?
Is it part of a package that comes from the ports, or is it part of
the main system?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: gcc bug?

2003-03-24 Thread milo
On Mon, Mar 24, 2003 at 09:00:30PM -0800, Kris Kennaway wrote:
 Date: Mon, 24 Mar 2003 21:00:30 -0800
 From: Kris Kennaway [EMAIL PROTECTED]
 To: milo [EMAIL PROTECTED]
 Cc: Adam [EMAIL PROTECTED], [EMAIL PROTECTED]
 Subject: Re: gcc bug?
 
 On Mon, Mar 24, 2003 at 08:36:05PM -0800, milo wrote:
  
  so i need to build/install gcc first before can build the rest?
  
  i'm not sure how to just build contrib/gcc. i tried make contrib/gcc; make install 
  contrib/gcc but failed in lib/libcom_err.
 
 Update your entire source tree and perform the upgrade procedure
 documented in the handbook.
that's what i did and am trying to do but failing as i reported to begin with.

supposedly because my gcc is one minor revision behind, libbz2 won't build.
so i'm trying to rebuild gcc.

thanks-
 
 Kris



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Does FreeBSD 4.X support 802.1Q vlans ?

2003-03-24 Thread joe mcguckin

Thanks.

Joe


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


  1   2   >