Re: Memory leak?

2006-02-13 Thread Erik Norgaard

Robert Leftwich wrote:

After running some number crunching for the last twelve hours I noticed
my box starting to use swap. Given that it has 4gb in it (of which 3gb
is available, see my other email for that issue) and I know that the app
never uses more than around 1gb I was surprised. Looking at the numbers
from top I was even more surprised, there seems to be a significant
chunk of memory unaccounted for (from memory when I checked after a
couple of hours the inactive memory was around 1300M with Free in the
400M range, everything basically totalling to around the 3gb mark as
expected). The app is driven by a script and is only running for around
1/2 hr per dataset after which it shuts down and restarts on a new
dataset, so all memory should be freed up/made inactive after each
restart, no? 


Mem: 274M Active, 227M Inact, 263M Wired, 95M Cache, 214M Buf, 4536K
Free
Swap: 4068M Total, 707M Used, 3361M Free, 17% Inuse

real memory  = 3221159936 (3071 MB)
avail memory = 3106529280 (2962 MB)

What's the best way to track down more information as to the cause of
this problem?


Do you run other applications also?

There was a discussion on CURRENT@ some weeks ago about a memory leak 
that turned out to be firefox with some extensions, updates are 
available now.


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


Re: File verification script

2006-02-13 Thread Kristian Vaaf

At 15:40 12.02.2006, Lowell Gilbert wrote:

Kristian Vaaf [EMAIL PROTECTED] writes:

 I need a simple script that uses CFV to report on broken MP3 albums.
 All my MP3 albums contain an .sfv file that list MP3 tracks with their
 CRC values.

There are a bunch of them in ports, under the security category.


In my previous e-mail I wrote:

 The reason I'd prefer something as simple as this, is because most SFV
 validation tools are so bloated with useless features.

That includes the SFV tools in ports.

I just want a simple script that uses cfv to verify MP3 albums,
the same way I showed you my other script that uses cfv to seal my MP3 albums.

Thanks,
Vaaf

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


How to ensure one blank line on top of ASCII files?

2006-02-13 Thread Kristian Vaaf


Hello!

I need to make sure all my ASCII files start with one blank line.

I just need to know what command to use,
I've written the rest of the script to do this for me:

--

for file in `find -s . -type f -not -name .*`; do

if file -b $file | grep -q 'text'; then

What to put here? :)

echo $file: Done

fi

done

--

Thanks! :)
Vaaf

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


Upgrading 4.8 - 6.0

2006-02-13 Thread gandalf


 Hello Guys,

I would like to upgrade my server from 4.8 to 6.0. I think I know how to 
upgrade a system, I already did that for 4.3-4.8. I need the upgrade 
because some ports starting to throw errors and refuse to build. :-(

It is a production server and I need to be careful. I have some questions:

1. Is it okay to use 6.0 for the production server? (I already have 
another 6.0 and tested it with various apps; it looks good but...)
2. The server is using a special .so file that was compiled for 4.8. We 
do not have the sources. Will this shared lib work with 6.0?

3. Should I upgrade to 5.4 first, or can I upgrade directly from 4.8 to 6.0?
4. Is there any special documentation that I must read before I upgrade 
to 6.0?


Thanks,

  Laszlo

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


Re: Upgrading 4.8 - 6.0

2006-02-13 Thread Alec Berryman
gandalf on 2006-02-13 10:11:12 +0100:

 2. The server is using a special .so file that was compiled for
 4.8. We do not have the sources. Will this shared lib work with 6.0?

Probably with the compat4x port, but you'll want to test it out.

 3. Should I upgrade to 5.4 first, or can I upgrade directly from 4.8
 to 6.0?

Yes, no.



pgppg1HDVJwBL.pgp
Description: PGP signature


lprps: ioctl(TIOCFLUSH): Operation not permitted

2006-02-13 Thread Bjarne Wichmann Petersen
Hi

I did something stuppid and messed up my lpd-setup. I looked around in KDE's 
Printer Manager in administrator-mode, and even though I didn't apply any 
changes it activated cupsd (should it do that?) which in turn overwrote 
my /etc/printcap. Now I can't get back to the old and working setup.

I've removed /usr/local/etc/rc.d/cups.sh, so /etc/printcap doesn't get 
overwritten any more.

Though I don't have a copy of my /etc/printcap I found older copy (which might 
be identical) which have worked in the past:

laserjet|lp|ps|PS|S|hp|HP LaserJet 1200:\
 :sh:sd=/var/spool/lpd/laserjet:\
 :lp=/dev/lpt0:\
 :mx#0:\
 :if=/usr/local/libexec/psif:

The psif-filter is installed and at that location.

lpd is up and running.

Now, if I try to print anything I get this errormessage in console/syslog:

eb 13 09:50:46 desktop lprps[842]: laserjet: ioctl(TIOCFLUSH): Operation not 
supported by device
Feb 13 09:50:46 desktop lpd[836]: laserjet: job could not be printed 
(cfA010desktop.home)

I've tried to fiddle around with lptcontrol and gets tiocflush-errors for all 
switches but -s.

I have NO idea for where to look next. Google doesn't turn up anything useful 
on tiocflush and I have no idea what it means.

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


FreeBSD installing on PC w/ Intel 64bit CPU

2006-02-13 Thread Albert yu
Dear Support,

Nice to meet you all first.
I have a question on Hardware compatability while installing FreeBSD 4.8 on
some newly built PCs.
May I know is FreeBSD version 4.8 support Intel 64bit CPU w/ 915GV chipset
Motherboard ?

As I am gonna run some programs that can only be installed on version 4.8.
And i am worrying the OS version do not work on this configuration.

Thankyou alot for your help first.
--
Have a nice day
From Albert
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Memory leak?

2006-02-13 Thread Robert Leftwich

On Mon, 13 Feb 2006 09:29:03 +0100, Erik Norgaard
[EMAIL PROTECTED] said:
 
 Do you run other applications also?
 
 There was a discussion on CURRENT@ some weeks ago about a memory leak 
 that turned out to be firefox with some extensions, updates are 
 available now.
 

Unfortunately no, its cli only, no x, pretty much just Postgres and
Python and C :-(

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


Interested in selling retail freeBSD sets

2006-02-13 Thread René Luckow - Cortex Systems
Hi

We're interested in selling freeBSD along with a range of other OS
distributions on our website, which caters the European market.

How would we going about obtaining these?

Kind regards,
 
René Luckow
Technical  Sales Consultant
 
Cortex Systems
Snoldelev Bygade 59
DK4621 Gadstrup
Denmark
 
E-mail: [EMAIL PROTECTED]
WWW: http://cortexsystems.dk



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


need help with pcmcia wireless network card

2006-02-13 Thread Teemu Korhonen
I have a laptop with freebsd-6.0 and I've got everything working except my  
Buffalo WLI-CB-G54S wireless network card.
When I insert the card I get following message cardbus0: network at  
device 0.0 (no driver attached)


I found two pages that seems to be instructions to get the card working:

http://geocities.yahoo.co.jp/gl/stealth_daemon/view?.date=20050623.utc=1133948970

http://geocities.yahoo.co.jp/gl/stealth_daemon/view?.date=20051207.utc=1133982628

as they are japan, I can't get but the main idea.

So far the ndisgen doesn't work it fails to build the .ko file, but I've  
had better luck with ndiscvt which made and if_ndis.ko


both ndis.ko and if_ndis.ko are loaded, but I get no new devices and still  
get the no driver attached message.


I have no idea what to do now and I really need to get that card working.  
Ideas anyone?

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


Long list of stale dependencies for tomcat55 port

2006-02-13 Thread Ashley Moran
Does anyone know how my Tomcat installation on a 5.4 box has ended up 
including the following as tomcat dependencies?

atk-1.10.3
libXft-2.1.7
xorg-fonts-encodings-6.9.0_1
desktop-file-utils-0.10_3
pango-1.10.3
glib-2.8.6
cairo-1.0.2_1
gtk-2.8.12
mozilla-1.7.12_5,2
tiff-3.8.0
bitstream-vera-1.10_2

I don't even know what half of them do.  I've deleted all the stale 
dependencies because freshports.org says the only run-time dependency is 
java/jdk14 (jdk15 on my machine).  Is this right?

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


Re: How to ensure one blank line on top of ASCII files?

2006-02-13 Thread Norberto Meijome
Kristian Vaaf wrote:
 
 Hello!
 
 I need to make sure all my ASCII files start with one blank line.
 
 I just need to know what command to use,
 I've written the rest of the script to do this for me:
 
 -- 
 

echo   MY_BLANK_LINE.txt

 for file in `find -s . -type f -not -name .*`; do
 
 if file -b $file | grep -q 'text'; then
 

mv $file $file.tmp
cat MY_BLANK_LINE.txt $file.tmp  $file
rm -f $file.tmp 

 echo $file: Done
 
 fi
 
 done

rm -f MY_BLANK_LINE.txt


There possibly are far more elegant solutions...but that should work.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: need help with pcmcia wireless network card

2006-02-13 Thread Beech Rintoul
On Monday 13 February 2006 02:25, Teemu Korhonen wrote:
 I have a laptop with freebsd-6.0 and I've got everything working except my
 Buffalo WLI-CB-G54S wireless network card.
 When I insert the card I get following message cardbus0: network at
 device 0.0 (no driver attached)

 I found two pages that seems to be instructions to get the card working:

 http://geocities.yahoo.co.jp/gl/stealth_daemon/view?.date=20050623.utc=113
3948970

 http://geocities.yahoo.co.jp/gl/stealth_daemon/view?.date=20051207.utc=113
3982628

 as they are japan, I can't get but the main idea.

 So far the ndisgen doesn't work it fails to build the .ko file, but I've
 had better luck with ndiscvt which made and if_ndis.ko

 both ndis.ko and if_ndis.ko are loaded, but I get no new devices and still
 get the no driver attached message.

 I have no idea what to do now and I really need to get that card working.
 Ideas anyone?

What does pciconf -lv say about that card?

Beech

-- 

---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | Alaska Paradise Travel
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
---













pgpkFZCcEPbWZ.pgp
Description: PGP signature


Re: need help with pcmcia wireless network card

2006-02-13 Thread Fabian Keil
Teemu Korhonen [EMAIL PROTECTED] wrote:

 I have a laptop with freebsd-6.0 and I've got everything working
 except my Buffalo WLI-CB-G54S wireless network card.
 When I insert the card I get following message cardbus0: network
 at device 0.0 (no driver attached)
 
 I found two pages that seems to be instructions to get the card
 working:
 
 http://geocities.yahoo.co.jp/gl/stealth_daemon/view?.date=20050623.utc=1133948970
 
 http://geocities.yahoo.co.jp/gl/stealth_daemon/view?.date=20051207.utc=1133982628
 
 as they are japan, I can't get but the main idea.
 
 So far the ndisgen doesn't work it fails to build the .ko file, but
 I've had better luck with ndiscvt which made and if_ndis.ko

You don't have to build if_ndis.ko and ndis.ko manually,
they should already be present in /boot/kernel.

If ndisgen doesn't work you usually get an error message.
Without knowing the error message and how you got it,
it's hard to tell what's wrong.
 
Try running ndisgen /path/to/INF /path/to/SYS
an press return a few times. Afterwards you should
either have the kernel module containing the firmware,
or a reason why the build failed.

Fabian
-- 
http://www.fabiankeil.de/


signature.asc
Description: PGP signature


6.0-release hanging without a clue (gmirror related?)

2006-02-13 Thread Ville Lundberg
Hi,

I have a 6.0-release-p4 system that is hanging constantly after about a
week of uptime. Nothing is printed to the logs - it just hangs, the HD
light is stuck on. I don't know if anything is printed out on the console,
as the system is at client's premises.

The system is a Epox 4PDA3I mb (Intel ICH5 disc controller), Pentium 4
2,6GHz, 1Gb ram, 2 x WD Raptor 36,7Gb SATA harddrives on gmirror. It is
very lightly stressed, as it's used for one database application only.

Actually, I don't know if the system freezes completely, as it is used
only thru Apache - these crashes are noticed by client when the app no
longer responses. After a cold reboot, gmirror loses one of the hds
(component broken, skipping).

I have two theories: 1) gmirror (or fbsd sata stuff) is the cause for
crash. The HD light thing is what makes me suspect this (hd action when
freezing). And, when rebuilding the mirror, it failed with WRITE_DMA
timeouts. I cleaned the first and last blocks of the failing hd, and then
I was able to add it back to the mirror. Manufacturer disk diagnostics did
not report any errors on either hds - so the cold reboot is the cause of
dropping the hd from gmirror.

2) Apache 1.3.34, MySQL 4.1.16, mod_perl 1.29, Perl (don't remember exact
version, but pkg_add -r perl from 6.0-release), is the fault. The system
was upgraded recently when the new hds were installed, from FB 4.10-rel,
Apache 1.3.19 (no mod_perl), MySQL 4.0.18 to the above mentioned. With
4.10, it was rock solid with nice uptimes like 176 days until maintenance
had to reboot it...

Anyone have ideas how to get to the bottom of the problem - to know why it
freezes in the first place? Or know if any of the software versions
mentioned above have some issues? I can provide dmesg and such if wanted.
  --Ville



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


make buildworld fails

2006-02-13 Thread gandalf


 Hello,

I have this file /etc/sup.sys:

*default host=cvsup.hu.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_6
*default delete use-rel-suffix
*default compress
src-all


Then I traverse to /usr and execute this command:

cvsup /etc/sup.sys

After successful checkout, I do

cd /usr/src
make buildworld

This is what I get:

--
 Building an up-to-date make(1)
--
rm -f .depend
mkdep -f .depend -a-I/usr/src/usr.bin/make 
-DMAKE_VERSION=\5200408120\ -D__FBSDID=__RCSID -DDEFSHELLNAME=\sh\  
/usr/src/usr.bin/make/arch.c /usr/src/usr.bin/make/buf.c 
/usr/src/usr.bin/make/cond.c /usr/src/usr.bin/make/dir.c 
/usr/src/usr.bin/make/for.c /usr/src/usr.bin/make/hash.c 
/usr/src/usr.bin/make/hash_tables.c /usr/src/usr.bin/make/job.c 
/usr/src/usr.bin/make/lst.c /usr/src/usr.bin/make/main.c 
/usr/src/usr.bin/make/make.c /usr/src/usr.bin/make/parse.c 
/usr/src/usr.bin/make/proc.c /usr/src/usr.bin/make/shell.c 
/usr/src/usr.bin/make/str.c /usr/src/usr.bin/make/suff.c 
/usr/src/usr.bin/make/targ.c /usr/src/usr.bin/make/util.c 
/usr/src/usr.bin/make/var.c

In file included from /usr/src/usr.bin/make/arch.c:107:
/usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
In file included from /usr/src/usr.bin/make/cond.c:59:
/usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
In file included from /usr/src/usr.bin/make/dir.c:97:
/usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
In file included from /usr/src/usr.bin/make/for.c:55:
/usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
In file included from /usr/src/usr.bin/make/job.c:131:
/usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
In file included from /usr/src/usr.bin/make/main.c:84:
/usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
In file included from /usr/src/usr.bin/make/make.c:80:
/usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
In file included from /usr/src/usr.bin/make/parse.c:86:
/usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
In file included from /usr/src/usr.bin/make/str.c:49:
/usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
In file included from /usr/src/usr.bin/make/suff.c:102:
/usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
In file included from /usr/src/usr.bin/make/targ.c:84:
/usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
In file included from /usr/src/usr.bin/make/util.c:59:
/usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
In file included from /usr/src/usr.bin/make/var.c:96:
/usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
mkdep: compile failed
*** Error code 1

Stop in /usr/src/usr.bin/make.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


What am I doing wrong?

Additional questions:

- Can I upgrade from 4.8 to 6.0 in one step? Or should I upgrade to 5.4 
first?

- I have a .so file for 4.8. I do not have the sources, will it work on 6.0?

Thanks,

  Laszlo


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


Re: need help with pcmcia wireless network card

2006-02-13 Thread Teemu Korhonen
Fabian Keil [EMAIL PROTECTED] wrote Mon, 13 Feb 2006 13:48:50  
+0200:



Teemu Korhonen [EMAIL PROTECTED] wrote:


I have a laptop with freebsd-6.0 and I've got everything working
except my Buffalo WLI-CB-G54S wireless network card.
When I insert the card I get following message cardbus0: network
at device 0.0 (no driver attached)

I found two pages that seems to be instructions to get the card
working:

http://geocities.yahoo.co.jp/gl/stealth_daemon/view?.date=20050623.utc=1133948970

http://geocities.yahoo.co.jp/gl/stealth_daemon/view?.date=20051207.utc=1133982628

as they are japan, I can't get but the main idea.

So far the ndisgen doesn't work it fails to build the .ko file, but
I've had better luck with ndiscvt which made and if_ndis.ko


You don't have to build if_ndis.ko and ndis.ko manually,
they should already be present in /boot/kernel.

If ndisgen doesn't work you usually get an error message.
Without knowing the error message and how you got it,
it's hard to tell what's wrong.
Try running ndisgen /path/to/INF /path/to/SYS
an press return a few times. Afterwards you should
either have the kernel module containing the firmware,
or a reason why the build failed.

Fabian


It gives lots of errors, here's a grab:

Building kernel module... In file included from  
/usr/share/misc/windrv_stub.c:57:

./windrv.h:746: error: excess elements in char array initializer
./windrv.h:746: error: (near initialization for `ndis_regvals[239].nc_val')
./windrv.h:747: warning: braces around scalar initializer
./windrv.h:747: warning: (near initialization for  
`ndis_regvals[239].nc_val[0]')
./windrv.h:747: warning: initialization makes integer from pointer without  
a cast

./windrv.h:747: error: initializer element is not computable at load time
./windrv.h:747: error: (near initialization for  
`ndis_regvals[239].nc_val[0]')

./windrv.h:747: error: excess elements in struct initializer
./windrv.h:747: error: (near initialization for `ndis_regvals[239].nc_val')
./windrv.h:747: error: excess elements in struct initializer
./windrv.h:747: error: (near initialization for `ndis_regvals[239].nc_val')
./windrv.h:748: warning: braces around scalar initializer
./windrv.h:748: warning: (near initialization for  
`ndis_regvals[239].nc_idx')
./windrv.h:748: warning: initialization makes integer from pointer without  
a cast

./windrv.h:749: warning: excess elements in scalar initializer
./windrv.h:749: warning: (near initialization for  
`ndis_regvals[239].nc_idx')

./windrv.h:750: warning: braces around scalar initializer
./windrv.h:750: warning: (near initialization for  
`ndis_regvals[239].nc_idx')
./windrv.h:750: warning: initialization makes integer from pointer without  
a cast

./windrv.h:750: warning: excess elements in scalar initializer
./windrv.h:750: warning: (near initialization for  
`ndis_regvals[239].nc_idx')

./windrv.h:750: warning: excess elements in scalar initializer
./windrv.h:750: warning: (near initialization for  
`ndis_regvals[239].nc_idx')

./windrv.h:751: error: extra brace group at end of initializer
./windrv.h:751: error: (near initialization for `ndis_regvals[239]')
./windrv.h:753: error: extra brace group at end of initializer
./windrv.h:753: error: (near initialization for `ndis_regvals[239]')
./windrv.h:753: warning: excess elements in struct initializer
./windrv.h:753: warning: (near initialization for `ndis_regvals[239]')
./windrv.h:754: error: extra brace group at end of initializer
./windrv.h:754: error: (near initialization for `ndis_regvals[239]')
./windrv.h:756: error: extra brace group at end of initializer
./windrv.h:756: error: (near initialization for `ndis_regvals[239]')
./windrv.h:756: warning: excess elements in struct initializer
./windrv.h:756: warning: (near initialization for `ndis_regvals[239]')
./windrv.h:757: error: extra brace group at end of initializer
./windrv.h:757: error: (near initialization for `ndis_regvals[239]')
./windrv.h:759: error: extra brace group at end of initializer
./windrv.h:759: error: (near initialization for `ndis_regvals[239]')
./windrv.h:759: warning: excess elements in struct initializer
./windrv.h:759: warning: (near initialization for `ndis_regvals[239]')
./windrv.h:760: error: extra brace group at end of initializer
./windrv.h:760: error: (near initialization for `ndis_regvals[239]')
./windrv.h:762: error: extra brace group at end of initializer
./windrv.h:762: error: (near initialization for `ndis_regvals[239]')
./windrv.h:762: warning: excess elements in struct initializer
./windrv.h:762: warning: (near initialization for `ndis_regvals[239]')
./windrv.h:763: error: extra brace group at end of initializer
./windrv.h:763: error: (near initialization for `ndis_regvals[239]')
./windrv.h:765: error: extra brace group at end of initializer
./windrv.h:765: error: (near initialization for `ndis_regvals[239]')
./windrv.h:765: warning: excess elements in struct initializer
./windrv.h:765: warning: (near initialization for `ndis_regvals[239]')

Re: need help with pcmcia wireless network card

2006-02-13 Thread Teemu Korhonen
Beech Rintoul [EMAIL PROTECTED] wrote Mon, 13 Feb 2006 13:42:58  
+0200:



On Monday 13 February 2006 02:25, Teemu Korhonen wrote:
I have a laptop with freebsd-6.0 and I've got everything working except  
my

Buffalo WLI-CB-G54S wireless network card.
When I insert the card I get following message cardbus0: network at
device 0.0 (no driver attached)

I found two pages that seems to be instructions to get the card working:

http://geocities.yahoo.co.jp/gl/stealth_daemon/view?.date=20050623.utc=113
3948970

http://geocities.yahoo.co.jp/gl/stealth_daemon/view?.date=20051207.utc=113
3982628

as they are japan, I can't get but the main idea.

So far the ndisgen doesn't work it fails to build the .ko file, but I've
had better luck with ndiscvt which made and if_ndis.ko

both ndis.ko and if_ndis.ko are loaded, but I get no new devices and  
still

get the no driver attached message.

I have no idea what to do now and I really need to get that card  
working.

Ideas anyone?


What does pciconf -lv say about that card?

Beech



pciconf doesn't say anything about a pccard, but this seems related:

[EMAIL PROTECTED]:0:0: class=0x028000 card=0x032e1154 chip=0x432014e4 rev=0x03  
hdr=0x00

vendor   = 'Broadcom Corporation'
device   = 'BCM4306 802.11b/g Wireless LAN Controller'
class= network



If that is info of the card, then it's all wrong. It's supposed to be  
Buffalo WLI-CB-G54S



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


IntelSRCS16 SATA RAID Controller

2006-02-13 Thread Beastie

Dear List..

Is there any compatibility issue regarding IntelSRCS16 SATA RAID 
Controller with FreeBSD-6.0 Stable ?
I'm planning to buy one, but first, ask for experience user in this list 
for it's compatibility and performance.

Please enlight me.

regards
reza

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


Re: FreeBSD installing on PC w/ Intel 64bit CPU

2006-02-13 Thread Chuck Swiger
Albert yu wrote:
 I have a question on Hardware compatability while installing FreeBSD 4.8 on
 some newly built PCs.
 May I know is FreeBSD version 4.8 support Intel 64bit CPU w/ 915GV chipset
 Motherboard ?

I think the answer is no, I believe 64-bit support was added around 5.2.1:

http://www.freebsd.org/platforms/amd64/motherboards.html

 As I am gonna run some programs that can only be installed on version 4.8.
 And i am worrying the OS version do not work on this configuration.

You should try to obtain newer programs.  4.8 isn't supported.

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


Re: Interested in selling retail freeBSD sets

2006-02-13 Thread Chuck Swiger
René Luckow - Cortex Systems wrote:
 We're interested in selling freeBSD along with a range of other OS
 distributions on our website, which caters the European market.

OK.  Have fun...

 How would we going about obtaining these?

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

If you wanted to become a FreeBSD mirror, see here:

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/hubs/index.html

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


More tomcat wierdness

2006-02-13 Thread Ashley Moran
I've reinstalled Tomcat (now in www/tomcat55) because it was going mental 
(100% CPU) and now the stop/start isn't working through the rc.d script.

Tomcat starts and records the PID in /var/run/tomcat55.pid.  But when I call 
the script with stop I get an error saying tomcat not started? check pid 
file, or something to that effect.

[EMAIL PROTECTED] ls -lad /var/run/. /var/run/tomcat55.pid
drwxr-xr-x  5 root  wheel  512 Feb 13 12:10 /var/run/.
-rw-r--r--  1 www   wheel6 Feb 13 12:22 /var/run/tomcat55.pid

It worked fine when it was running off the old www/jakarta-tomcat55 port - I 
don't know if anything has changed.

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


Sendmail - IMAP-UW - Cyrus-SASL2 - SMTPAUTH problems

2006-02-13 Thread Greg Groth
I'm trying to set up a FreeBSD 6.0 box as a mail server, and while 
everything seems to be working OK for the most part, I have run into two 
issues that I cannot resolve (I'm new to BSD, please bear with me). Install 
went as follows:  Installed via FTP last night along with src - Sources for 
everything,


IMAP-UW was compiled via ports with WITH_SSL_AND_PLAINTEXT enabled (same for 
cclient), OpenSSL, Cyrus-SASL2  Cyrus-SASL2-saslauthd were compiled via 
ports with no flags.


Sendmail was installed with the base install and recompiled (after SASL2 was 
up and running) with the following options added to make.conf:


# SASL (cyrus-sasl v2) sendmail build flags...
SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2
# Adding to enable alternate port (smtps) for sendmail...
SENDMAIL_CFLAGS+= -D_FFR_SMTP_SSL

I followed the instructions I found at 
http://www.bsdconspiracy.net/howto/sendmail.html, and had no problems with 
the install except for Sendmail.  After recompiling sendmail, I added the 
following lines to the mail.server.mc file:


define(`confAUTH_MECHANISMS',`PLAIN LOGIN')dnl
TRUST_AUTH_MECH(`PLAIN LOGIN')dnl
define(`CERT_DIR', `/etc/mail/certs')dnl
define(`confCACERT_PATH', `CERT_DIR')dnl
define(`confCACERT', `CERT_DIR/mycert.pem')dnl
define(`confSERVER_CERT', `CERT_DIR/mycert.pem')dnl
define(`confSERVER_KEY', `CERT_DIR/mykey.pem')dnl
define(`confCLIENT_CERT', `CERT_DIR/mycert.pem')dnl
define(`confCLIENT_KEY', `CERT_DIR/mykey.pem')dnl
DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl
DAEMON_OPTIONS(`Port=smtps, Name=TLSMTA, M=s')dnl

After running (in /etc/mail) make clean, make cf, make install, make 
restart, SMTP no longer works, and I find the following in maillog and 
messages


Feb 12 20:25:55 mail sm-mta[1213]: daemon IPv4: problem creating SMTP socket
Feb 12 20:26:00 mail sm-mta[1213]: NOQUEUE: SYSERR(root): opendaemonsocket: 
daemon IPv4: cannot bind: Address already in use


When I try and stop sendmail, I get a message that the pid for Sendmail 
cannot be found.  I end up killing the missing Sendmail daemon using 
KSysGuard


If I remove this line - DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl from the 
mail.server.mc file, make cf, make install, make restart, sendmail starts 
normally.  When trying to access from another machine on my network, I can 
only connect on port 25 without a secure connection (I'm using Thunderbird 
for this), although SMTP-AUTH is working correctly.


Any ideas on what I might need to do to get SSL / SMTP-AUTH working on SMTP? 
 I took a look at the instructions in the handbook, but they were written 
for SASL1.  Running netstat shows smtps listening on 465, but when I try to 
telnet to that port, the server drops the connection.


My second problem is rather simple, after I create an IMAP folder, I am 
unable to delete it using a remote client.  Thunderbird responds with The 
mail server responded: RENAME failed: Can't create mailbox node 
/home/User/Trash/: File exists.  Nothing shows up in any of the server logs 
though.


Hopefully this is the right list for these questions, if not, could someone 
please direct me to the correct one?  Any advice anyone can give me on 
either of these problems would be greatly appreciated.


Greg Groth

_
Is your PC infected? Get a FREE online computer virus scan from McAfee® 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


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


SMP ATA woes on 6.0-RELEASE

2006-02-13 Thread Steve Coles
I have a strange deterministic boot problem with ATA devices on 2-way dell
precision machines which boot from their SCSI disks. I have 4 of these
boxes, and the only difference is the add-in ATA controller in the affected
box.

A good summary would be which kernels work:
 
a) GENERIC from the distribution boots fine (uniprocessor)
b) GENERIC built from 6.0-RELEASE boots fine
c) SMP built from 6.0-RELEASE hangs during the ATA probe of my disks
d) custom SMP kernel built from 6.0-RELEASE with no ATA options/devices
boots fine
e) custom SMP kernel built from 6.0-RELEASE with ATA options/devices hangs
as in c) above

.. It gets weirder

F) custom SMP kernel built from 6.0-RELEASE with no ATA options/devices
boots fine (same as option d) above, then I load the ata modules from my
normal login shell:

$ kldload atapci (loads ata.ko etc )
$ Kldload atadisk

.. And it produces a stable, fast, ATA disk subsystem

G) custom SMP kernel built from 6.0-RELEASE with no ATA options/devices
boots fine (option d) above with a

atapci_load=YES
atadisk_load=YES

In loader.conf produces the same hang as c)

So...I presume the problem is related to the fact that the second CPU must
be launched else the ATA code gets confused with my ATA subsystem (Naieve
explanation of facts)

Q: Is this a known bug ?
Q: If it is, is it fixed in -STABLE ?
Q: If so - when is a good cvsup date that gives me a fixed ata driver with a
stable stable

Help is much appreciated

Cheers

Steve


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


Re: Firefox-1.5.0.1 not starting after successfull instalation

2006-02-13 Thread Goran Gajic


Hi,

Have you tried rm -rf ~/.mozilla and then staring firefox?
I have experienced same problem and solved it by removing old .mozilla 
everything seems ok.


Regards,
gg.


Hi,

I encountered same problem, Firefox doesn't want start.
It took some (not short) time but I've installed new Firefox-1.5.0.1
successfully, without errors after all.
Unfortunately, I cannot start it now. It simply ends earlier then it 
starts.

Nothing happens:

#/usr/X11R6/bin
#./firefox
#

I've started it as root and also tried another user but result is the 
same 

:(

Could someone help???

Thanks in advance.

Rgds,
Vlado


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


qpopper/gdbm

2006-02-13 Thread J.D. Bronson

I am trying to compile qpopper (from src) and use APOP with the gdbm database.

gdbm was installed from ports and works fine.

I setup my env as such:

LDFLAGS=-L/usr/lib -L/usr/local/lib -R/usr/lib -R/usr/local/lib

and ldconfig shows gdbm:
# ldconfig -r | grep gdbm
86:-lgdbm.3 = /usr/local/lib/libgdbm.so.3

I ran ./configure --enable-apop
...
...
checking ndbm.h usability... yes
checking ndbm.h presence... yes
checking for ndbm.h... yes
checking gdbm.h usability... yes
checking gdbm.h presence... yes
checking for gdbm.h... yes
checking dbm.h usability... no
checking dbm.h presence... no
checking for dbm.h... no
checking for pam_authenticate in -lpam... yes
checking which database manager to use ... checking gdbm ... checking 
for gdbm_open in -lgdbm... yes

found gdbm

so configure detected this

but then when I ran 'make',
the build fails!

/usr/bin/gcc -c -I.. -I.. -I.  -I../mmangle -I../common   -O2 -pipe 
-mtune=pentium4 -idirafter /usr/local/include -freg-struct-return 
-DHAVE_CONFIG_H  -DFREEBSD -DUNIX popauth.c -o popauth.o
/usr/bin/gcc  -o popauth base64.o scram.o md5.o  hmac.o 
popauth.o  -lgdbm  ../common/libcommon.a

/usr/bin/ld: cannot find -lgdbm
*** Error code 1

Stop in /tmp/qpopper4.1a2/popper.
*** Error code 1


Can anyone point something out to me as to how to get ld to find 
-lgdbm when ldconfig and configure already picked it up?


-JD

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


Firewall/Web server difficulties

2006-02-13 Thread Brian Bobowski
All right. I've got my firewall up and running, and my workstation can 
get almost anywhere it needs to just fine.


The lone exception being the web server located on the firewall machine 
itself.


I can access it by directly referencing the private-interface IP, but if 
my workstation tries to get to the public-interface IP, nothing happens. 
Can't even ping it. ICMP and port 80 TCP should both be allowed from 
anywhere... but they're not getting through. (So far as I can tell, it's 
not just me who's unable to access these.)


Does NAT simply not allow for servers to be running on the machine that 
performs it? I know it's not ideal, but I don't have the room to install 
another machine even if that were in my budget. I've set up NAT and IPFW 
per the directions in the handbook, and aside from that one difficulty, 
everything seems to be working.


Please reply off the list.

Thanks in advance,

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


IPFILTER rule error

2006-02-13 Thread Maxim Vetrov

Hi,

I'm running FreeBSD 6.0, IPFilter 4.1.8(416).

Setting line for rpc outbound calls

pass out quick on rl0 \
 proto udp from any to any port = sunrpc keep state group 20

gives me this error:

ioctl (add/insert rule): No such process

What is the process i'm missing?

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


Re: IPFILTER rule error

2006-02-13 Thread Giorgos Keramidas
On 2006-02-14 10:09, Maxim Vetrov [EMAIL PROTECTED] wrote:
 Hi,

 I'm running FreeBSD 6.0, IPFilter 4.1.8(416).

 Setting line for rpc outbound calls

 pass out quick on rl0 \
  proto udp from any to any port = sunrpc keep state group 20

 gives me this error:

 ioctl (add/insert rule): No such process

 What is the process i'm missing?

Don't copy/paste just one line.  Show us the exact options you used in
your `/etc/rc.conf' file, and be *very* specific about the steps you
took to enable that rule.

Otherwise, we can only guess what's wrong.  You don't want us to guess
wrong, do you?

- Giorgos

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


Re: Contents of freebsd-questions Digest, Vol 123, Issue 19 ([PATCH] (/usr/lib/libxpg4.so.3 missing - Did I miss a memo?)

2006-02-13 Thread Trix Farrar
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, 10 Feb 2006 15:37:56 -0500, Kris Kennaway wrote:

 On Fri, Feb 10, 2006 at 02:02:17PM -0600, Trix Farrar wrote:
  On my network, I have several hosts that were originally installed with
  FreeBSD 5.2.1-RELEASE, 5.3-RELEASE, and 5.4-RELEASE.  All of these have
  been updated now to 6.0-RELEASE-p4.  One host was originally installed
  from 6.0-RELEASE media and subsequently updated to p4.  All works well.
  
  I took a cue from The FreeBSD Handbook; 21.5 Tracking for Multiple
  Machines, and have a central build host for the network.  On this
  machine, I do my make buildworld, make buildkernel and building of
  packages to ports.  That way I can just install port packages on the
  non-build machine.
 
 If you do this, you need to make sure you're generating compatible
 binaries.  In this case, you seem to be generating binaries that are
 targetted for an older release than FreeBSD 6.0.  In order to run 5.x
 binaries on FreeBSD 6.0, you need to install the compat5x port and
 build with the corresponding kernel option.
 
  * How can I know whether or not it is save to delete libxpg4.a,
  libxpg4.so, libxpg4.so.3, and libxpg4_p.a from /usr/lib on the machines
  where they are present?
 
 Use the libchk port.
 
  * Why would bacula (or anything else, for that matter) even try to link
  to this library in the first place?  (Ok, I'll admit that I'm being lazy
  on this one because I haven't really researched it yet)
 
 I'm guessing you are running an old 5.x binary from before the
 removal.  A 6.0 binary of bacula indeed will not try to link to this
 nonexistent library.
 

I think I found the answer, at least as it relates to Bacula:

libxpg4.so.3 used to be built up until FreeBSD 5.4, so a system that was
originally installed before 6.0 would have that library lying around
because it doesn't get deleted in the process of upgrading to/through
5.0-RELEASE.  6.0 systems, no longer have the source for this library
(because it has been a dummy to satisfy link dependencies for some
time), so it is no longer built or installed.

Bacula's configure.in script specifically adds a link to libxpg4 as part
of the build processes - - even though there are no functions to call in
this library.

On a 6.0 system, this would silently fail and all would be well.  On
pre-6.0 system, this would silently succeed and all would be well.  It's
when you try to cross systems that problems pop up.

By applying the attached patch (which deletes 3 lines from
autoconf/configure.in), the entire issue goes away.

Would this be an issue for a PR or just a note to the Bacula developers?
 The lines I propose to delete are commented as a FreeBSD-specific hook.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD8JUtUn6S0hqD4tsRApolAKCoi93ZUsGgIhdzLD8IxyY6ZuEgygCbBGxw
cggOIgfqSqJ2nIY/TVNKfKc=
=Nh0n
-END PGP SIGNATURE-
diff -ru bacula-1.38.5-old/autoconf/configure.in bacula-1.38.5/autoconf/configure.in
--- bacula-1.38.5-old/autoconf/configure.in	Wed Dec 14 15:43:16 2005
+++ bacula-1.38.5/autoconf/configure.in	Mon Feb 13 08:10:57 2006
@@ -1557,9 +1557,6 @@
 # AC_FUNC_FNMATCHdnl use local version
 
 
-dnl# FreeBSD needs to link libxpg4
-AC_CHECK_LIB(xpg4, setlocale, [LIBS=$LIBS -lxpg4])
-AC_CHECK_LIB(intl, gettext, [LIBS=$LIBS -lintl])
 
 
 AC_CHECK_LIB(sun, getpwnam)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Firewall/Web server difficulties

2006-02-13 Thread Norberto Meijome
Brian Bobowski wrote:
 All right. I've got my firewall up and running, and my workstation can
 get almost anywhere it needs to just fine.

you dont' say if you are using ipfw, ipf , pf


 I can access it by directly referencing the private-interface IP, but if
 my workstation tries to get to the public-interface IP, nothing happens.
 Can't even ping it. ICMP and port 80 TCP should both be allowed from
 anywhere... but they're not getting through.

(Assuming all your rules are ok...) AFAIK, you can't access the external
 interface of a NAT'ed system from the LAN side. Simply use a DNS inside
that resolves the name you try to access to the internal interface
instead of the external. this is FAQ, i think...


 (So far as I can tell, it's
 not just me who's unable to access these.)

meaning others in your LAN? or others in the WAN?

 Does NAT simply not allow for servers to be running on the machine that
 performs it? I know it's not ideal, but I don't have the room to install
 another machine even if that were in my budget. I've set up NAT and IPFW
 per the directions in the handbook, and aside from that one difficulty,
 everything seems to be working.
 
 Please reply off the list.
CCing the list for the benefit of everyone else :)

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


Re: IPFILTER rule error

2006-02-13 Thread Erik Norgaard

Maxim Vetrov wrote:

Hi,

I'm running FreeBSD 6.0, IPFilter 4.1.8(416).

Setting line for rpc outbound calls

pass out quick on rl0 \
 proto udp from any to any port = sunrpc keep state group 20

gives me this error:

ioctl (add/insert rule): No such process

What is the process i'm missing?


Do you have that group? or maybe sunrpc is not in /etc/services - better 
try to write the port number. It will help to show the whole ruleset.


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


Re: Firewall/Web server difficulties

2006-02-13 Thread Brian Bobowski

Norberto Meijome wrote:


Brian Bobowski wrote:
 


All right. I've got my firewall up and running, and my workstation can
get almost anywhere it needs to just fine.
   



you dont' say if you are using ipfw, ipf , pf

 


Sure I do. IPFW; mentioned lower down.


I can access it by directly referencing the private-interface IP, but if
my workstation tries to get to the public-interface IP, nothing happens.
Can't even ping it. ICMP and port 80 TCP should both be allowed from
anywhere... but they're not getting through.
   


(Assuming all your rules are ok...) AFAIK, you can't access the external
interface of a NAT'ed system from the LAN side. Simply use a DNS inside
that resolves the name you try to access to the internal interface
instead of the external. this is FAQ, i think...

 

I'm poking at that now, yes. I had difficulty getting it to work with 
virtual hosts... but I can at least reference it by the private-side IP 
address and get places.



(So far as I can tell, it's
not just me who's unable to access these.)
   


meaning others in your LAN? or others in the WAN?
 


WAN. People have tried pinging and browsing, with no success.


Does NAT simply not allow for servers to be running on the machine that
performs it? I know it's not ideal, but I don't have the room to install
another machine even if that were in my budget. I've set up NAT and IPFW
per the directions in the handbook, and aside from that one difficulty,
everything seems to be working.

Please reply off the list.
   


CCing the list for the benefit of everyone else :)

Beto

 


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


Re: make buildworld fails

2006-02-13 Thread Kevin Kinsey

gandalf wrote:



 Hello,

I have this file /etc/sup.sys:

*default host=cvsup.hu.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_6
*default delete use-rel-suffix
*default compress
src-all


Then I traverse to /usr and execute this command:

cvsup /etc/sup.sys

After successful checkout, I do

cd /usr/src
make buildworld

This is what I get:

--
 Building an up-to-date make(1)
--
rm -f .depend
mkdep -f .depend -a-I/usr/src/usr.bin/make 
-DMAKE_VERSION=\5200408120\ -D__FBSDID=__RCSID 
-DDEFSHELLNAME=\sh\  /usr/src/usr.bin/make/arch.c 
/usr/src/usr.bin/make/buf.c /usr/src/usr.bin/make/cond.c 
/usr/src/usr.bin/make/dir.c /usr/src/usr.bin/make/for.c 
/usr/src/usr.bin/make/hash.c /usr/src/usr.bin/make/hash_tables.c 
/usr/src/usr.bin/make/job.c /usr/src/usr.bin/make/lst.c 
/usr/src/usr.bin/make/main.c /usr/src/usr.bin/make/make.c 
/usr/src/usr.bin/make/parse.c /usr/src/usr.bin/make/proc.c 
/usr/src/usr.bin/make/shell.c /usr/src/usr.bin/make/str.c 
/usr/src/usr.bin/make/suff.c /usr/src/usr.bin/make/targ.c 
/usr/src/usr.bin/make/util.c /usr/src/usr.bin/make/var.c

In file included from /usr/src/usr.bin/make/arch.c:107:
/usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
In file included from /usr/src/usr.bin/make/cond.c:59:
/usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
In file included from /usr/src/usr.bin/make/dir.c:97:
/usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
In file included from /usr/src/usr.bin/make/for.c:55:
/usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
In file included from /usr/src/usr.bin/make/job.c:131:
/usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
In file included from /usr/src/usr.bin/make/main.c:84:
/usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
In file included from /usr/src/usr.bin/make/make.c:80:
/usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
In file included from /usr/src/usr.bin/make/parse.c:86:
/usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
In file included from /usr/src/usr.bin/make/str.c:49:
/usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
In file included from /usr/src/usr.bin/make/suff.c:102:
/usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
In file included from /usr/src/usr.bin/make/targ.c:84:
/usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
In file included from /usr/src/usr.bin/make/util.c:59:
/usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
In file included from /usr/src/usr.bin/make/var.c:96:
/usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
mkdep: compile failed
*** Error code 1

Stop in /usr/src/usr.bin/make.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


What am I doing wrong?



Possibly, and I say possibly, and this isn't to be taken personally:
diving in before depth of the water. ;-)

At the very least, you should have run mergemaster -p before
make buildworld as this is a giant step (e.g. 4.8-4.11)..  Did you?

Probably the issue is simply the huge distance in time/development
between 4.8 and 6.0.  See below.


Additional questions:

- Can I upgrade from 4.8 to 6.0 in one step? Or should I upgrade to 
5.4 first?



Probably not.  A fresh install would have a benefit: you could re-format
your disks as UFS2.  However, some people have been able to get from 4.11 to
5.X with cvsup/buildworld, and the 5.X - 6.X jump is a piece of 
cake.  You

just have to do the jump from 4 to 5 carefully, and from a much more recent
4.X codebase than 4.8 .

- I have a .so file for 4.8. I do not have the sources, will it work 
on 6.0?




Dunno.  Probably not natively, but maybe; there is, of course, the 
COMPAT_FREEBSD4

stuff, too.


Thanks,

  Laszlo



Here's what I would try.  Upgrade to RELENG_4 via the cvsup/buildworld 
process,

read Bruce Mah's 4.11-5.X Migration Guide, and be sure and include
mergemaster -p in your buildworld cycle.

HTH,

Kevin Kinsey

--
In the next world, you're on your own.


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


Re: Firewall/Web server difficulties

2006-02-13 Thread Norberto Meijome
Brian Bobowski wrote:
 Norberto Meijome wrote:
 
 Brian Bobowski wrote:
  

 All right. I've got my firewall up and running, and my workstation can
 get almost anywhere it needs to just fine.
   

 you dont' say if you are using ipfw, ipf , pf

  

 Sure I do. IPFW; mentioned lower down.
sorry my bad

 I can access it by directly referencing the private-interface IP, but if
 my workstation tries to get to the public-interface IP, nothing happens.
 Can't even ping it. ICMP and port 80 TCP should both be allowed from
 anywhere... but they're not getting through.
   
 (Assuming all your rules are ok...) AFAIK, you can't access the external
 interface of a NAT'ed system from the LAN side. Simply use a DNS inside
 that resolves the name you try to access to the internal interface
 instead of the external. this is FAQ, i think...

  

 I'm poking at that now, yes. I had difficulty getting it to work with
 virtual hosts... but I can at least reference it by the private-side IP
 address and get places.

assuming you are using Apache, you can use * for Ip address and let it
be name-based virt host.

 (So far as I can tell, it's
 not just me who's unable to access these.)
   
 meaning others in your LAN? or others in the WAN?
  

 WAN. People have tried pinging and browsing, with no success.

then I would review the rules...

good luck

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


Re: Contents of freebsd-questions Digest, Vol 123, Issue 19 ([PATCH] (/usr/lib/libxpg4.so.3 missing - Did I miss a memo?)

2006-02-13 Thread Dan Langille
On 13 Feb 2006 at 8:18, Trix Farrar wrote:

 On Fri, 10 Feb 2006 15:37:56 -0500, Kris Kennaway wrote:
 
  On Fri, Feb 10, 2006 at 02:02:17PM -0600, Trix Farrar wrote:
   On my network, I have several hosts that were originally installed with
   FreeBSD 5.2.1-RELEASE, 5.3-RELEASE, and 5.4-RELEASE.  All of these have
   been updated now to 6.0-RELEASE-p4.  One host was originally installed
   from 6.0-RELEASE media and subsequently updated to p4.  All works well.
   
   I took a cue from The FreeBSD Handbook; 21.5 Tracking for Multiple
   Machines, and have a central build host for the network.  On this
   machine, I do my make buildworld, make buildkernel and building of
   packages to ports.  That way I can just install port packages on the
   non-build machine.
  
  If you do this, you need to make sure you're generating compatible
  binaries.  In this case, you seem to be generating binaries that are
  targetted for an older release than FreeBSD 6.0.  In order to run 5.x
  binaries on FreeBSD 6.0, you need to install the compat5x port and
  build with the corresponding kernel option.
  
   * How can I know whether or not it is save to delete libxpg4.a,
   libxpg4.so, libxpg4.so.3, and libxpg4_p.a from /usr/lib on the machines
   where they are present?
  
  Use the libchk port.
  
   * Why would bacula (or anything else, for that matter) even try to link
   to this library in the first place?  (Ok, I'll admit that I'm being lazy
   on this one because I haven't really researched it yet)
  
  I'm guessing you are running an old 5.x binary from before the
  removal.  A 6.0 binary of bacula indeed will not try to link to this
  nonexistent library.
  
 
 I think I found the answer, at least as it relates to Bacula:
 
 libxpg4.so.3 used to be built up until FreeBSD 5.4, so a system that was
 originally installed before 6.0 would have that library lying around
 because it doesn't get deleted in the process of upgrading to/through
 5.0-RELEASE.  6.0 systems, no longer have the source for this library
 (because it has been a dummy to satisfy link dependencies for some
 time), so it is no longer built or installed.
 
 Bacula's configure.in script specifically adds a link to libxpg4 as part
 of the build processes - - even though there are no functions to call in
 this library.
 
 On a 6.0 system, this would silently fail and all would be well.  On
 pre-6.0 system, this would silently succeed and all would be well.  It's
 when you try to cross systems that problems pop up.
 
 By applying the attached patch (which deletes 3 lines from
 autoconf/configure.in), the entire issue goes away.
 
 Would this be an issue for a PR or just a note to the Bacula developers?
  The lines I propose to delete are commented as a FreeBSD-specific hook.

We could add it a patch for the port in the short term, but pass it 
along to the Bacula project as well.

-- 
Dan Langille : Software Developer looking for work
my resume: http://www.freebsddiary.org/dan_langille.php


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


Re: SMP ATA woes on 6.0-RELEASE

2006-02-13 Thread Danial Thom


--- Steve Coles [EMAIL PROTECTED] wrote:

 I have a strange deterministic boot problem
 with ATA devices on 2-way dell
 precision machines which boot from their SCSI
 disks. I have 4 of these
 boxes, and the only difference is the add-in
 ATA controller in the affected
 box.
 
 A good summary would be which kernels work:
  
 a) GENERIC from the distribution boots fine
 (uniprocessor)
 b) GENERIC built from 6.0-RELEASE boots fine
 c) SMP built from 6.0-RELEASE hangs during the
 ATA probe of my disks
 d) custom SMP kernel built from 6.0-RELEASE
 with no ATA options/devices
 boots fine
 e) custom SMP kernel built from 6.0-RELEASE
 with ATA options/devices hangs
 as in c) above
 
 .. It gets weirder
 
 F) custom SMP kernel built from 6.0-RELEASE
 with no ATA options/devices
 boots fine (same as option d) above, then I
 load the ata modules from my
 normal login shell:
 
 $ kldload atapci (loads ata.ko etc )
 $ Kldload atadisk
 
 .. And it produces a stable, fast, ATA disk
 subsystem
 
 G) custom SMP kernel built from 6.0-RELEASE
 with no ATA options/devices
 boots fine (option d) above with a
 
 atapci_load=YES
 atadisk_load=YES
 
 In loader.conf produces the same hang as c)
 
 So...I presume the problem is related to the
 fact that the second CPU must
 be launched else the ATA code gets confused
 with my ATA subsystem (Naieve
 explanation of facts)
 
 Q: Is this a known bug ?
 Q: If it is, is it fixed in -STABLE ?
 Q: If so - when is a good cvsup date that gives
 me a fixed ata driver with a
 stable stable
 
 Help is much appreciated
 
 Cheers
 
 Steve
 

Why would someone buy such an expensive bunch of
hardware and then run an untested, highly suspect
O/S on it? Its mind-boggling...

DT

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


video/x-ms-asf-plugin for firefox

2006-02-13 Thread Alessandro Buono

Hi did you had an answer on this plug in?
I am getting crazy and can find no answer...

Thanks in advance,
Kind regards.

Alessandro Buono.





___ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it

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


core dump with dump command in single user mode

2006-02-13 Thread Joe Auty

Hello,

Following the instructions here: http://www.unixcities.com/howto/ 
index.html  I did a:


dump -0f - /usr | restore -rf - /backup/usr


And after a while (after copying .56% of my files), gave me the  
following error:


no space for string table

asked me if I want to abort, I said no, and it core dumped.

It did this while in single user mode with the volumes on both of my  
hard drives mounted (I was trying to dump from one HD to the other).


What do you suggest I do?







---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


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


kinit and Cannot Verify Certificate Error...

2006-02-13 Thread JP
Hello,
   
  I am attempting perform the following command to ensure that my client can 
access the KDC:
   
  %kinit [EMAIL PROTECTED]
[EMAIL PROTECTED]'s Password: xxx
   
  But I keep getting this failure message.  I've attempted this on 2 other 
FreeBSD 6.0 boxes and the same error occurs. 
  
kinit: krb5_get_init_creds: Cannot verify certificate

  Thanks,
  JP


-
Relax. Yahoo! Mail virus scanning helps detect nasty viruses!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD compiles to what POSIX or XPG?

2006-02-13 Thread Lowell Gilbert
Göran Nilsson [EMAIL PROTECTED] writes:

 I have tried google, and tried bsdfourms. Now I'll put my hope to
 this list instead.
 
 Does FreeBSD compiles to the POSIX or X/Open Portability Guide
 XPG/1, /2, /3, /4 standards?  I have found out that
 Aix,HP-UX,Solaris are three of them that compiles to this standard.
 So all systems that goes under Unix follow these standars.
 
 I would be very interestead of a link to a document saying weither
 or not FreeBSD compiles to any of the above mentioned standards.

The FreeBSD standards group tries to keep FreeBSD in compliance, but
nobody is about to pay the large fees needed to *certify* compliance.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Help needed - Hard lockups and reboots on laptop

2006-02-13 Thread Norberto Meijome
(sending again, i think the list server rejected the big attachments)
Hi all,
I've been running FBSD 6 on my laptop(hardware and software specs below)
for the last 3 weeks. I have been experiencing spontaneous reboots (NOT
panics, just blip, off it goes to restart), lockups and some app crashes
(mainly Thunderbird, dont think it's related, but might as well mention it).

- Reboots: usually related to using smbfs. If I have a remote share
mounted and I get disconnected, trying to access this share either
completely locks up OR reboots (not all the time, but scarily often).

- Lockups are FAR more common: they seem to happen when I come back from
a resume (about 4 to 6 out of 10 times it locks up), sometimes when I
bring a network interface up or down, trying to shut down from within an
xterm, or from the shutdown/reboot menu in WDM.  My latest one was when
the battery hit 2% and I heard the warning (not sure if it was from apmd
or gkrellm2 battery plugin it just went beep...lockup).

- Machine is a Toshiba Tecra A2, 2 x 512 Kingston RAM, 80 GB Seagate
Momentus drive (new, but same problems with a 60GB Seagate drive too).
Have been using this machine with same specs (except a 60 GB Fujitsu
drive) for over a year with Windows XP Pro and had practically no issues
AT ALL.

- I have tried kernel with and without APIC , APM as module or built in
(currently built in). ACPI detects a bunch of stuff but it panics on
resume (the drive doesn't seem to go into sleep and it comes back all
confused  :-)  ). I've posted on this issue before to this list.

- APM seems to be working a bit better after a small hack of mine -
added a wall cmd to the resume...that seems,SO FAR, to prevent the most
common of lockups on resume. toshctl port works quite well.

- Kernel is 6.1-Prerelease from Feb 10th (local time). BIOS is latest
from Toshiba's site (v 1.40) . Changing settings in BIOS (mainly
peripherals managed by OS or BIOS) doesn't make any noticeable difference.

- Attached are my make.conf, rc.conf, /boot/loader.conf.local , current
sysctl.

- I'm using GELI for swap partition and my work data (on a file backed
md device) - but all these problems pre-date use of GELI (though not
presence of GELI in kernel)
- I'm using the latest versions (as per ports) of Xorg, fluxbox-devel,
gkrellm2, samba3 - pkg list attached.

- Despite my preference for FreeBSD, Windows is starting to look like a
better option stability-wise  :(  Is there anything I can do to improve
the stability of this machine?

Any suggestions for compile options? Suggestions for brands / models of
laptops that are KNOWN to work fine with FBSD would be greatly
appreciated too.


TIA!!!
Beto

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

Re: Re[2]: CD installation and file flags

2006-02-13 Thread Lowell Gilbert
Alex Renn [EMAIL PROTECTED] writes:

 Hello Lowell Gilbert!

Hello!

[Don't top-post, please.]

 SUID/SGID files in my default installation do not have any flags set:
 
 $ uname -a
 FreeBSD  6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov  3 09:36:13 UTC 2005 
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
 $ ls -alo `which su`
 -r-sr-xr-x  1 root  wheel  - 11992 Nov  3 08:11 /usr/bin/su
 
 That's why I'm asking about this.
 I think there should be some flags set by default.

Hmm, yes.  The distribution tar files don't seem to have flags set.
The tar documentation claims that it can handle file flags, but
I've never tried it (the Gnu tar, which FreeBSD used until fairly
recently, does not).  From a quick look, the missing flags seem to
be an artifact of the packaging process.  Sorry about missing that
earlier; flags are set on suid files by the source build/install
process, and I haven't done a new install in a long time.

If you source-upgrade the system, you'll get the flags set.
However, if you are interested in this as a security measure, I
recommend setting up your own mtree(1) specification to set the
flags that *you* want.  That will also allow you to use that same
specification to check that the flags have remained the way you
want them set.

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


Re: File verification script

2006-02-13 Thread Lowell Gilbert
Kristian Vaaf [EMAIL PROTECTED] writes:

 I just want a simple script that uses cfv to verify MP3 albums,
 the same way I showed you my other script that uses cfv to seal my MP3 albums.

Well, cksfv seems to be appropriate for that application.  

I haven't actually tried any of these myself; 
mtree(1) works fine for me. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Undefined Symbol resVgaShared after upgrade to xorg 6.9

2006-02-13 Thread Tom Grove
I did a portupgrade this weekend and today my screen res went to 
1024x768...that's not my normal resolution.  I did some tinkering and 
found that no drivers showed up in xorgcfg when I try to setup my card.  
I looked at some logs and found this error message:


Undefined symbol resVgaShared


I'm not really sure what it means and was wondering if anyone else ran 
into similar problems? I'm running 6-stable and have an ATI radeon 
mobile card. In 6.8 everything worked fine...only after the upgrade did 
I start having problems.


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


Re: Unable to Startx Following Upgrade--Error in Locking Authority File

2006-02-13 Thread Lowell Gilbert
Bob Perry [EMAIL PROTECTED] writes:

 Not sure if I updated folks on this but the problem persists.  (E-mail
 problems).  I've since requested assistance from the gnome and x11
 mailing list since the problem started following recent upgrades to
 those ports.

The base system has added some /tmp-cleaning at boot time,
specifically to clear out X-related directories.  Updating your system
to (for example) 6-STABLE may make things work automatically.
Alternatively, you could turn on the old /tmp cleaning, which will
just wipe the whole directory.  If you have a single-user system, the
security risks aren't really an issue.  

Or you could use a memory disk for /tmp.  That will (obviously) clear
your whole /tmp automatically on a reboot.  I do that on my desktops,
by setting the tmpmfs and tmpsize variables in rc.conf(5).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: #:Failed to force tx and rx idle state

2006-02-13 Thread Lowell Gilbert
Thiago Esteves [EMAIL PROTECTED] writes:

  --- Lowell Gilbert
 [EMAIL PROTECTED] escreveu: 
  Thiago Esteves [EMAIL PROTECTED] writes:
  
Hi, I've had troubles with a ethernet adapter
  dc It send the mensage :::

 = dc0: Failed to force tx and rx idle
  state=

 ::: What's it?
  
  It tried and failed to reset the MAC controller.
  What other symptoms are you seeing?
   
 
  I started the DHCP client but It doesn't obtain a IP
 address. I tried to configure the IP address manually
 but It daesn't function...

I've never seen that from a dc(4) card except for a time where it
turned out that the hardware had failed.

There are a number of entries in the BUGS section of the dc manual;
check those out and try to determine if they affect you.  Also, try
setting the media type and options explicitly to match whatever the 
card is connected to, and see if you can establish link.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Long list of stale dependencies for tomcat55 port

2006-02-13 Thread Ceri Davies


On 13 Feb 2006, at 11:28, Ashley Moran wrote:


Does anyone know how my Tomcat installation on a 5.4 box has ended up
including the following as tomcat dependencies?

atk-1.10.3
libXft-2.1.7
xorg-fonts-encodings-6.9.0_1
desktop-file-utils-0.10_3
pango-1.10.3
glib-2.8.6
cairo-1.0.2_1
gtk-2.8.12
mozilla-1.7.12_5,2
tiff-3.8.0
bitstream-vera-1.10_2


Nope.


I don't even know what half of them do.  I've deleted all the stale
dependencies because freshports.org says the only run-time  
dependency is

java/jdk14 (jdk15 on my machine).  Is this right?


According to make, yes:

[EMAIL PROTECTED]/www/tomcat55} % make -V RUN_DEPENDS
/usr/local/jdk1.4.2/bin/java:/usr/ports/java/jdk14

Ceri
--
That must be wonderful!  I don't understand it at all.
  -- Moliere





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


Re: make buildworld fails

2006-02-13 Thread László Nagy




Here's what I would try.  Upgrade to RELENG_4 via the cvsup/buildworld 
process,

read Bruce Mah's 4.11-5.X Migration Guide, and be sure and include
mergemaster -p in your buildworld cycle.


Can you tell me where is that migration guide? When I google for it, I 
only get posts about that guide. But where is the guide itself?


Another problem: I only have remote access to that machine. Is it 
possible to upgrade to 5.X without booting into single user mode?
Yes, theoretically, I shouldn't do that but I'm in Hungary and the 
computer is in the US...

Thanks,

 Laszlo

 
___

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


Re: More tomcat wierdness

2006-02-13 Thread Ceri Davies


On 13 Feb 2006, at 13:00, Ashley Moran wrote:

I've reinstalled Tomcat (now in www/tomcat55) because it was going  
mental
(100% CPU) and now the stop/start isn't working through the rc.d  
script.


Tomcat starts and records the PID in /var/run/tomcat55.pid.  But  
when I call
the script with stop I get an error saying tomcat not started?  
check pid

file, or something to that effect.

[EMAIL PROTECTED] ls -lad /var/run/. /var/run/tomcat55.pid
drwxr-xr-x  5 root  wheel  512 Feb 13 12:10 /var/run/.
-rw-r--r--  1 www   wheel6 Feb 13 12:22 /var/run/tomcat55.pid

It worked fine when it was running off the old www/jakarta-tomcat55  
port - I

don't know if anything has changed.


sh -x /usr/local/etc/rc.d/tomcat55.sh stop may shed some light.

Ceri
--
That must be wonderful!  I don't understand it at all.
  -- Moliere





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


Re: SMP ATA woes on 6.0-RELEASE

2006-02-13 Thread Lowell Gilbert
Steve Coles [EMAIL PROTECTED] writes:

 I have a strange deterministic boot problem with ATA devices on 2-way dell
 precision machines which boot from their SCSI disks. I have 4 of these
 boxes, and the only difference is the add-in ATA controller in the affected
 box.
 
 A good summary would be which kernels work:
  
 a) GENERIC from the distribution boots fine (uniprocessor)
 b) GENERIC built from 6.0-RELEASE boots fine
 c) SMP built from 6.0-RELEASE hangs during the ATA probe of my disks
 d) custom SMP kernel built from 6.0-RELEASE with no ATA options/devices
 boots fine
 e) custom SMP kernel built from 6.0-RELEASE with ATA options/devices hangs
 as in c) above
 
 .. It gets weirder
 
 F) custom SMP kernel built from 6.0-RELEASE with no ATA options/devices
 boots fine (same as option d) above, then I load the ata modules from my
 normal login shell:
 
 $ kldload atapci (loads ata.ko etc )
 $ Kldload atadisk
 
 .. And it produces a stable, fast, ATA disk subsystem
 
 G) custom SMP kernel built from 6.0-RELEASE with no ATA options/devices
 boots fine (option d) above with a
 
 atapci_load=YES
 atadisk_load=YES
 
 In loader.conf produces the same hang as c)
 
 So...I presume the problem is related to the fact that the second CPU must
 be launched else the ATA code gets confused with my ATA subsystem (Naieve
 explanation of facts)
 
 Q: Is this a known bug ?
 Q: If it is, is it fixed in -STABLE ?
 Q: If so - when is a good cvsup date that gives me a fixed ata driver with a
 stable stable

I'm not sure about exactly the situation you are seeing, but there do
seem to have been a number of changes related to ATA interactions with
SMP, added since 6.0.  If this system isn't in production yet, try
just updating to the latest -STABLE.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: More tomcat wierdness

2006-02-13 Thread Lowell Gilbert
Ashley Moran [EMAIL PROTECTED] writes:

 I've reinstalled Tomcat (now in www/tomcat55) because it was going mental 
 (100% CPU) and now the stop/start isn't working through the rc.d script.
 
 Tomcat starts and records the PID in /var/run/tomcat55.pid.  But when I call 
 the script with stop I get an error saying tomcat not started? check pid 
 file, or something to that effect.
 
 [EMAIL PROTECTED] ls -lad /var/run/. /var/run/tomcat55.pid
 drwxr-xr-x  5 root  wheel  512 Feb 13 12:10 /var/run/.
 -rw-r--r--  1 www   wheel6 Feb 13 12:22 /var/run/tomcat55.pid
 
 It worked fine when it was running off the old www/jakarta-tomcat55 port - I 
 don't know if anything has changed.

Maybe these are the changes in the UPDATING file?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Syslog-NG at Boot (WAS: Re: cvs commit: ports/sysutils/syslog-ng Makefile distinfo pkg-plist)

2006-02-13 Thread Brian A. Seklecki



might expect to talk to it.  I assume you put syslogng_enable=YES into
/etc/rc.conf? as well as syslogd_enable=NO.  (Or, it might work just 

to

change syslogd_program=/path/to/syslogngd and not bother with changing
anything else).

--Alex



Just to clarify, even the latest src/etc/rc.d/syslogd at:

http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/rc.d/syslogd?rev=1.11content-type=text/x-cvsweb-markup

Specially hard-codes /usr/sbin/$program as the executable, thus setting:

syslogd_program=/usr/local/sbin/syslog-ng
syslogd_flags=-p /var/run/syslog.pid
syslogd_enable=YES

Has no effect at startup.  It starts the system syslogd(8).

*HOWEVER*, after the boot process is complete, /etc/rc.d/syslogd begins to 
honor syslogd_program= (start, stop, status).


It's very strange.  Perhaps a more rc(8) compliant syslog-ng.sh.example 
should be packaged up?


~lava

On Thu, 7 Jul 2005, Roman Bogorodskiy wrote:


novel   2005-07-07 18:57:24 UTC

 FreeBSD ports repository

 Modified files:
   sysutils/syslog-ng   Makefile distinfo pkg-plist
 Log:
 - Update to 1.6.8 that fixes some bugs
 - Fix potential broke as authors move old versions to old/ directory
 - Make NOPORTDOCS work

 PR: 83102
 Submitted by:   Vsevolod Stakhov [EMAIL PROTECTED]
 Approved by:Vince Valenti (maintainer)

 Revision  ChangesPath
 1.27  +3 -2  ports/sysutils/syslog-ng/Makefile
 1.19  +2 -2  ports/sysutils/syslog-ng/distinfo
 1.3   +14 -14ports/sysutils/syslog-ng/pkg-plist
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]



l8*
-lava

x.25 - minix - bitnet - plan9 - 110 bps - ASR 33 - base8
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: need help with pcmcia wireless network card

2006-02-13 Thread Teemu Korhonen
Okay. I've got it sorted out. I found some instructions here,  
http://dannyman.toldme.com/2005/01/05/freebsd-howto-ndisulate-windows-drivers/


I used Dell drivers with ndisgen instead of Buffalo's and got it working.

Thanks for kicking me in the right direction :)


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


Re: Flash Plugin for Firefox

2006-02-13 Thread Lowell Gilbert
Chris Maness [EMAIL PROTECTED] writes:

 What do I use for a flash plugin for Firefox?  The auto plugin
 installer do-dad choked (I guess it was expecting linux)

Try the www/linuxpluginwrapper port, along with the
www/linux-flashplugin6 port.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Undefined Symbol resVgaShared after upgrade to xorg 6.9

2006-02-13 Thread Kevin Kinsey

Tom Grove wrote:


I did a portupgrade this weekend and today my screen
res went to 1024x768...that's not my normal resolution.
I did some tinkering and found that no drivers showed
up in xorgcfg when I try to setup my card.  I looked at
some logs and found this error message:

Undefined symbol resVgaShared


I'm not really sure what it means and was wondering
if anyone else ran into similar problems? I'm running 6-stable
and have an ATI radeon mobile card. In 6.8 everything worked
fine...only after the upgrade did I start having problems.

-Tom



Wow, I didn't know 6.8 was even out! /crash-boom
 --- gee, what kinda guy makes fun of typos?  Please
   forgive my obvious trolling :-) and let's move on...

Anyway, I'd like to have seen a little more information in
your posting:

  ---is xorg the only thing that got upgraded?
  ---what window manager/environment are you using?
   *Was it upgraded?
  ---what does your xorg configuration file say in re:
   *driver
   *screen definitions
  ---what is your normal resolution?

IANAE, but I'd wonder if, since X seems to at least
run, if the issue isn't resVgaShared so much as
a change somewhere else.  Gnome, KDE and I think
XFCE all do some X management themselves (as do
some others, probably) and a change in your WM might
have caused your screen resolution to change also

Of course, either of us could be barking up the wrong
tree on this one.

Kevin Kinsey

--
You may be infinitely smaller than some things,
but you're infinitely larger than others.


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


Re: Flash Plugin for Firefox

2006-02-13 Thread Chris Maness



Lowell Gilbert wrote:

Chris Maness [EMAIL PROTECTED] writes:

  

What do I use for a flash plugin for Firefox?  The auto plugin
installer do-dad choked (I guess it was expecting linux)



Try the www/linuxpluginwrapper port, along with the
www/linux-flashplugin6 port.
  
It installed OK but firefox is still complaining that it does not have 
the correct plug in.

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


Re: Interested in selling retail freeBSD sets

2006-02-13 Thread Robert Slade
On Mon, 2006-02-13 at 11:21, René Luckow - Cortex Systems wrote:
 Hi
 
 We're interested in selling freeBSD along with a range of other OS
 distributions on our website, which caters the European market.
 
 How would we going about obtaining these?
 
 Kind regards,
  
 René Luckow
 Technical  Sales Consultant
  
 Cortex Systems
 Snoldelev Bygade 59
 DK4621 Gadstrup
 Denmark
  
 E-mail: [EMAIL PROTECTED]
 WWW: http://cortexsystems.dk
 
 
 

Rene,

FreeBSD is what it says free. Please see
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/introduction.html

As I understand it, you are free to redistribute it provided that you do
not claim to have produced it nor charge for it. You can charge for
producing the CDs though.

You can obtain the iso images to produce the CDs from the FreeBSD site.

Rob 



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


FreeBSD Windows Boot?

2006-02-13 Thread Chris Maness
If for what ever reason the FreeBSD boot loader does load windows, is 
there a way to repair the windows boot sector?  I remember trying this 
in the past with ill results.

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


Re: More tomcat wierdness

2006-02-13 Thread Jonathan Chen
On Mon, Feb 13, 2006 at 01:00:37PM +, Ashley Moran wrote:
 I've reinstalled Tomcat (now in www/tomcat55) because it was going mental 
 (100% CPU) and now the stop/start isn't working through the rc.d script.
 
 Tomcat starts and records the PID in /var/run/tomcat55.pid.  But when I call 
 the script with stop I get an error saying tomcat not started? check pid 
 file, or something to that effect.
 
 [EMAIL PROTECTED] ls -lad /var/run/. /var/run/tomcat55.pid
 drwxr-xr-x  5 root  wheel  512 Feb 13 12:10 /var/run/.
 -rw-r--r--  1 www   wheel6 Feb 13 12:22 /var/run/tomcat55.pid
 
 It worked fine when it was running off the old www/jakarta-tomcat55 port - I 
 don't know if anything has changed.

There were several changes relating to the use of rc-scripts over the
`old-way' of tomcatctl binaries. I suggest you Cc: the maintainer of
the project.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
 Beer. Now there's a temporary solution.
   - Homer Simpson
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Interested in selling retail freeBSD sets

2006-02-13 Thread Charles Swiger

On Feb 13, 2006, at 12:48 PM, Robert Slade wrote:
As I understand it, you are free to redistribute it provided that  
you do

not claim to have produced it nor charge for it. You can charge for
producing the CDs though.


You are welcome to charge as much for FreeBSD as you like, actually.

Of course, you can't stop someone from downloading FreeBSD themselves  
for free (or for the cost of bandwidth, anyway), so in effect, people  
charge a reasonable amount for putting together a nice CD/jewel case  
because that's what the market is willing to pay for


--
-Chuck

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


Re: FreeBSD Windows Boot?

2006-02-13 Thread Jerry McAllister
 
 If for what ever reason the FreeBSD boot loader does load windows, is 
 there a way to repair the windows boot sector?  I remember trying this 
 in the past with ill results.

Probably depends on what is wrong.
Probably there is some MS utility that can repair it.
Someone else will have to talk the MS stuff.

Make sure you understand the different parts. 
Your terminology wanders a bit.

The FreeBSD MBR and not the boot loader would be the only part
that has anything to do with booting a Windos or any non FreeBSD OS.
I think that is what you mean by boot loader though.
The MBR only just recognized that the slice is bootable and reads
in the boot sector and turns over control to it.   It does nothing
else with the Win sector or loader.

jerry

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

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


Re: How to ensure one blank line on top of ASCII files?

2006-02-13 Thread Kristian Vaaf

At 12:42 13.02.2006, Norberto Meijome wrote:

Kristian Vaaf wrote:

 Hello!

 I need to make sure all my ASCII files start with one blank line.

 I just need to know what command to use,
 I've written the rest of the script to do this for me:

 --


echo   MY_BLANK_LINE.txt

 for file in `find -s . -type f -not -name .*`; do

 if file -b $file | grep -q 'text'; then

mv $file $file.tmp
cat MY_BLANK_LINE.txt $file.tmp  $file
rm -f $file.tmp

 echo $file: Done

 fi

 done

rm -f MY_BLANK_LINE.txt


There possibly are far more elegant solutions...but that should work.


I think I will look out for a more elegant approach :)
If I fail to find one, I will use your suggestion.
Thanks though, it kinda taught me a thing or two about shell programming.

All the best,
Fafa

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


Help with strange web server problem

2006-02-13 Thread Jerry Bell
It's hit or miss, but the first time someone visits the web site, they get
a server not found page.  On hitting refresh, they get the page - no
problems.  If I wait a while and try again, I get the same problem.

The problem appears to be something in the initial communication with the
web server.  Using tcpdump, I can see that the PC connects to the web
server and sends the GET request, but the server closes the connection
abruptly.  Comparing that flow to a normal session, I see that there are
some extra packets between the initial SYN and the sending of the GET
phrase that do not exist during a successful session.

I'm running 5.4-STABLE FreeBSD 5.4-STABLE #0: Thu Aug 18 (built from the
stable source as of that day).
I'm using apache 1.3.34.  I was on 1.3.33 and rebuilt the port to see if
that was the problem.

I'm not sure if this is an apache problem or a FreeBSD problem.  Any
suggestions on further troubleshooting or known issues?

Thank you!

Jerry

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


Re: Help with strange web server problem

2006-02-13 Thread Joe Auty

I think Ive seen this before too...

Is it possible that FreeBSD spins down the hard drive after  
inactivity, and the server doesn't always spin up the HD with a  
network request like this?




On Feb 13, 2006, at 7:58 AM, Jerry Bell wrote:

It's hit or miss, but the first time someone visits the web site,  
they get

a server not found page.  On hitting refresh, they get the page - no
problems.  If I wait a while and try again, I get the same problem.

The problem appears to be something in the initial communication  
with the

web server.  Using tcpdump, I can see that the PC connects to the web
server and sends the GET request, but the server closes the connection
abruptly.  Comparing that flow to a normal session, I see that  
there are

some extra packets between the initial SYN and the sending of the GET
phrase that do not exist during a successful session.

I'm running 5.4-STABLE FreeBSD 5.4-STABLE #0: Thu Aug 18 (built  
from the

stable source as of that day).
I'm using apache 1.3.34.  I was on 1.3.33 and rebuilt the port to  
see if

that was the problem.

I'm not sure if this is an apache problem or a FreeBSD problem.  Any
suggestions on further troubleshooting or known issues?

Thank you!

Jerry

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


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


Re: Samba vulnerability make problem

2006-02-13 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Feb 12 Robert Slade spake forth boldly:


Was trying to setup apsfilter to be able to print to my
winbox printer. Got as far as the follwing:

===   apsfilter-7.2.6_2 depends on executable: smbclient - not found
===Verifying install for smbclient in /usr/ports/net/samba
===  samba-2.2.12_2 has known vulnerabilities:
= samba -- integer overflow vulnerability.
Reference: 
http://www.FreeBSD.org/ports/portaudit/3b3676be-52e1-11d9-a9e7-0001020eed82.html
= Please update your ports tree and try again.
*** Error code 1

Stop in /usr/ports/net/samba.
*** Error code 1

Stop in /usr/ports/print/apsfilter.
*** Error code 1

Stop in /usr/ports/print/apsfilter.

Script done on Sat Feb 11 20:01:52 2006

I've got portaudit installed  the database was just updated
several days ago, as well as the ports with portsnap  portupgrade.
Have checked the last week or so of the cvs mailing list for samba
 found nothing, so I didn't rerun portsnap  portupgrade. Already
so many dependencies installed for apsfilter, I hated to update
anything else right in the middle of all of this. Tried running the
make command with -DIGNORE_VULNERABILITIES but still no dice. Any
advice, pointers to reading up on it, help, appreciated.
Denny White


Denny,

Samba3 is in the ports try that instead.




Thanks for the advice, Robert. Did it. Found the proper printer
driver  set it up. Took a long time to connect to an ftp server
that had it (in case someone else has to do the same thing, don't
cancel, it'll find a server eventually that has it). Apsfilter
is setup now. Still have to fiddle with Samba settings. Had it
setup once before a long time back when I was running FreeBSD
4.7, I believe, on my old laptop. It'll just take some patience
 tinkering. Thanks again for the help.
Denny White

Please do not CC me. Already subscribed to mailing list.

GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (OpenBSD)

iD8DBQFD8IKPy0Ty5RZE55oRAu1hAJ9ypH21sKLDpQTM/kEAPh7UaybbUQCgumT4
K0x0NSNGaQgPBOoECGHoZz8=
=uPNE
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


The FreeBSD 6.0 ISO cd...

2006-02-13 Thread sergio lenzi
Hello

I am a FreeBSD user  for a long time, but now
I have a question about the ISO cdrom 

In FreeBSD 6.0-release, disk1 iso image 
it shows mounted in my FreeBSD release
the folowing information from mount...

Filesystem 1K-blocks   Used Avail Capacity  Mounted on
/dev/acd0 588840 588840 0   100%/cdrom

a command du -s   shows 1013144
[EMAIL PROTECTED] du -s .
1013144 .

=
If I copy the contents of the cdrom to another
directory in the file system it shows 1013144 too...

I need to make a new cd1 with xorg version 6.9.0
and some packages for my own use... but I was
unable to rebuild the cd... with an 600Mb size...

My question is:
Where can I find a documentation about the way
the FreeBSD 6.0 release cd1  is built

I try the make buildworld and make release but
it does not build the iso image

The ducumentation on the handbook and in internet
is about the 5.x or 4.x 

Please thanks for any help.

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


Re: LDAP authentication problems

2006-02-13 Thread Igor Robul
On Sun, Feb 12, 2006 at 03:44:54PM +0100, Pavel Duda wrote:
 Now I have tried to do
 'id testuser'
You need nss_ldap too. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Flash Plugin for Firefox

2006-02-13 Thread Lowell Gilbert
Chris Maness [EMAIL PROTECTED] writes:

 Lowell Gilbert wrote:
  Chris Maness [EMAIL PROTECTED] writes:
 
 
  What do I use for a flash plugin for Firefox?  The auto plugin
  installer do-dad choked (I guess it was expecting linux)
 
 
  Try the www/linuxpluginwrapper port, along with the
  www/linux-flashplugin6 port.
 
 It installed OK but firefox is still complaining that it does not have
 the correct plug in.

Is the linux-flashplugin6 port installed (or some other version of
Linux flashplugin, but 6 is the best choice)?  Did you configure your
libmap.conf as the port recommended?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Flash Plugin for Firefox

2006-02-13 Thread Peter

--- Chris Maness [EMAIL PROTECTED] wrote:

 
 
 Lowell Gilbert wrote:
  Chris Maness [EMAIL PROTECTED] writes:
 

  What do I use for a flash plugin for Firefox?  The auto plugin
  installer do-dad choked (I guess it was expecting linux)
  
 
  Try the www/linuxpluginwrapper port, along with the
  www/linux-flashplugin6 port.

 It installed OK but firefox is still complaining that it does not have 
 the correct plug in.

http://unix.derkeiler.com/Newsgroups/comp.unix.bsd.freebsd.misc/2005-09/0258.html






__ 
Find your next car at http://autos.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: The FreeBSD 6.0 ISO cd...

2006-02-13 Thread Lowell Gilbert
sergio lenzi [EMAIL PROTECTED] writes:

 I need to make a new cd1 with xorg version 6.9.0
 and some packages for my own use... but I was
 unable to rebuild the cd... with an 600Mb size...
 
 My question is:
 Where can I find a documentation about the way
 the FreeBSD 6.0 release cd1  is built

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


Re: Help with strange web server problem

2006-02-13 Thread Jerry Bell
It's certainly possible.  This is a Dell PE 750, and I didn't do anything
in bios or in FreeBSD to enable that, so I'm thinking it might not be
that, but I'll investigate it.

Thanks!

Jerry
 I think Ive seen this before too...

 Is it possible that FreeBSD spins down the hard drive after
 inactivity, and the server doesn't always spin up the HD with a
 network request like this?



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


Re: Help with strange web server problem

2006-02-13 Thread Ken Stevenson

Jerry Bell wrote:

It's hit or miss, but the first time someone visits the web site, they get
a server not found page.  On hitting refresh, they get the page - no
problems.  If I wait a while and try again, I get the same problem.

The problem appears to be something in the initial communication with the
web server.  Using tcpdump, I can see that the PC connects to the web
server and sends the GET request, but the server closes the connection
abruptly.  Comparing that flow to a normal session, I see that there are
some extra packets between the initial SYN and the sending of the GET
phrase that do not exist during a successful session.

I'm running 5.4-STABLE FreeBSD 5.4-STABLE #0: Thu Aug 18 (built from the
stable source as of that day).
I'm using apache 1.3.34.  I was on 1.3.33 and rebuilt the port to see if
that was the problem.

I'm not sure if this is an apache problem or a FreeBSD problem.  Any
suggestions on further troubleshooting or known issues?

Thank you!

Jerry

On a couple of occasions, I've had a similar problem that was the 
result of Apache having multiple processes running, and 1 of the 
running processes was failing while all the others were okay.


Try refreshing about 20 times and see if the problem comes and goes or 
if it only occurs on the first connection.


In any event, restarting Apache fixed the problem for me.

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


Re: Help Installing FreeBSD 6.0 with GUI

2006-02-13 Thread Igor Robul
On Sat, Feb 11, 2006 at 07:36:08AM +, Robert Slade wrote:
 There are some minor issues with nvida video 3d cards but there are
 nvida drivers for BSD. ATI cards are a bit more of a problem. In both
 cases search the mailing list archives the info is there.
I dont see any problems with ATI Radeon 9200 on my home PC, except I
cant play linux-enemyterritory with it :-). X.org driver just work,
also you can have good 3D performance (at least with glxgears :-) ) if
you'll install graphics/dri port.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help with strange web server problem

2006-02-13 Thread Joe Auty

So ACPI is disabled?


On Feb 13, 2006, at 2:37 PM, Jerry Bell wrote:

It's certainly possible.  This is a Dell PE 750, and I didn't do  
anything

in bios or in FreeBSD to enable that, so I'm thinking it might not be
that, but I'll investigate it.

Thanks!

Jerry

I think Ive seen this before too...

Is it possible that FreeBSD spins down the hard drive after
inactivity, and the server doesn't always spin up the HD with a
network request like this?




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


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


Re: Help with strange web server problem

2006-02-13 Thread Charles Swiger

On Feb 13, 2006, at 7:58 AM, Jerry Bell wrote:
It's hit or miss, but the first time someone visits the web site,  
they get

a server not found page.  On hitting refresh, they get the page - no
problems.  If I wait a while and try again, I get the same problem.


Path MTU problem?

The problem appears to be something in the initial communication  
with the

web server.  Using tcpdump, I can see that the PC connects to the web
server and sends the GET request, but the server closes the connection
abruptly.  Comparing that flow to a normal session, I see that  
there are

some extra packets between the initial SYN and the sending of the GET
phrase that do not exist during a successful session.


The details would help.  :-)  Or you could tell us what the server is  
so we could try hitting it ourselves...


--
-Chuck

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


FBSD 6.0 kernel panic on boot

2006-02-13 Thread Joe Auty

Hello,

I'm testing 6.0 on my test machine, and even in safe mode the machine  
kernel panics on boot. Where is the file that contains the kernel  
panic dumps, and where should I send my report to?






---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


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


Re: randomized source IP for userland app?!

2006-02-13 Thread Igor Robul
On Fri, Feb 10, 2006 at 11:46:42PM +0100, Wojciech Puchar wrote:
 is it possible for userland application (or many of then) for TCP 
 connections to select it's source IP address from a list random or 
 round-robin way? (say 2-4 different IP's)
socket() with SOCK_RAW as 3rd parameter.

you need to be root to run this app.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Firewall/Web server difficulties

2006-02-13 Thread Brian Bobowski

Norberto Meijome wrote:


Brian Bobowski wrote:
 


I'm poking at that now, yes. I had difficulty getting it to work with
virtual hosts... but I can at least reference it by the private-side IP
address and get places.
   



assuming you are using Apache, you can use * for Ip address and let it
be name-based virt host.
 

Already running thus. DNS seems to be the problem, then. (Which I'll 
poke at later assuming hosting alternatives don't work out.)



WAN. People have tried pinging and browsing, with no success.
   



then I would review the rules...
 

Relevant rules text(and based on both startup text and behaviour of the 
firewall for other tasks, I know the rules file is being parsed) 
excerpted below:


---
cmd=ipfw -q add
pif=rl0 #Interface which opens to the WAN; NAT interface
prif=ed0 #LAN interface, private-side
ks=keep-state

# More stuff here...

$cmd 400 allow udp from 24.226.1.121 to me 68 in via $pif # DHCP server
$cmd 401 allow tcp from any to me 80 in via $pif # Apache
$cmd 402 allow tcp from any to me 22 in via $pif # SSH
$cmd 403 allow icmp from any to me in via $pif # For testing; 
low-traffic, not worried about ping floods at this time

---

The firewall's DHCP requests are working fine, so #400 is working 
properly. Other machines, however, cannot see it.


These firewall rules are essentially a slightly-modified copy of the 
first example NAT ruleset in the handbook's IPFW section. The 
modifications consist of extending the 'good-tcpo' variable to a few 
more ports I want to use, putting more entries for my ISP's DNS servers, 
adding DHCP outbound and inbound permission 967 and 68) like the second 
example has, and adding port 22 and ICMP in the above set.


That's one problem. The other is DNS. I'm still looking through the 
named.conf file and poking at the settings given for a secondary 
server... all I really want is a caching server that will first look at 
my own /etc/hosts file (where the domain names which refer to this 
machine are specified by their private-facing address).


Any assistance, as always, appreciated. Especially with the first 
problem. (Off-list as I can't keep up with the volume of list delivery.)


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


Re: Help with strange web server problem

2006-02-13 Thread Jerry Bell
I didn't want to spam the link out, but it's www.musiclodge.com.  I will
gather the capture data from working and non working sessions and send it
out.

Thanks!

 On Feb 13, 2006, at 7:58 AM, Jerry Bell wrote:
 It's hit or miss, but the first time someone visits the web site,
 they get
 a server not found page.  On hitting refresh, they get the page - no
 problems.  If I wait a while and try again, I get the same problem.

 Path MTU problem?

 The problem appears to be something in the initial communication
 with the
 web server.  Using tcpdump, I can see that the PC connects to the web
 server and sends the GET request, but the server closes the connection
 abruptly.  Comparing that flow to a normal session, I see that
 there are
 some extra packets between the initial SYN and the sending of the GET
 phrase that do not exist during a successful session.

 The details would help.  :-)  Or you could tell us what the server is
 so we could try hitting it ourselves...

 --
 -Chuck




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


Re: Help with strange web server problem

2006-02-13 Thread Jerry Bell
 So ACPI is disabled?
I'm assuming it's enabled.  Can that be a problem?


Aug 29 12:04:46 www syslogd: kernel boot file is /boot/kernel/kernel
Aug 29 12:04:46 www kernel: Copyright (c) 1992-2005 The FreeBSD Project.
Aug 29 12:04:46 www kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988,
1989, 1991, 1992, 1993, 1994
Aug 29 12:04:46 www kernel: The Regents of the University of California.
All rights reserved.
Aug 29 12:04:46 www kernel: FreeBSD 5.4-STABLE #0: Thu Aug 18 07:49:41 UTC
2005
Aug 29 12:04:46 www kernel: [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Aug 29 12:04:46 www kernel: Timecounter i8254 frequency 1193182 Hz
quality 0
Aug 29 12:04:46 www kernel: CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz
(2800.12-MHz 686-class CPU)
Aug 29 12:04:46 www kernel: Origin = GenuineIntel  Id = 0xf41  Stepping = 1
Aug 29 12:04:46 www kernel:
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
Aug 29 12:04:46 www kernel: Hyperthreading: 2 logical CPUs
Aug 29 12:04:46 www kernel: real memory  = 536608768 (511 MB)
Aug 29 12:04:46 www kernel: avail memory = 515444736 (491 MB)
Aug 29 12:04:46 www kernel: ACPI APIC Table: DELL   PE750   
Aug 29 12:04:46 www kernel: ioapic0: Changing APIC ID to 2
Aug 29 12:04:46 www kernel: ioapic1: Changing APIC ID to 3
Aug 29 12:04:46 www kernel: ioapic0 Version 2.0 irqs 0-23 on motherboard
Aug 29 12:04:46 www kernel: ioapic1 Version 2.0 irqs 24-47 on motherboard
Aug 29 12:04:46 www kernel: npx0: math processor on motherboard
Aug 29 12:04:46 www kernel: npx0: INT 16 interface
Aug 29 12:04:46 www kernel: acpi0: DELL PE750 on motherboard
Aug 29 12:04:46 www kernel: acpi0: Power Button (fixed)
Aug 29 12:04:46 www kernel: Timecounter ACPI-fast frequency 3579545 Hz
quality 1000
Aug 29 12:04:46 www kernel: acpi_timer0: 24-bit timer at 3.579545MHz
port 0x808-0x80b on acpi0
Aug 29 12:04:46 www kernel: cpu0: ACPI CPU on acpi0
Aug 29 12:04:46 www kernel: pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff
on acpi0
Aug 29 12:04:46 www kernel: pci0: ACPI PCI bus on pcib0
Aug 29 12:04:46 www kernel: pcib1: ACPI PCI-PCI bridge at device 3.0 on
pci0
Aug 29 12:04:46 www kernel: pci1: ACPI PCI bus on pcib1
Aug 29 12:04:46 www kernel: em0: Intel(R) PRO/1000 Network Connection,
Version - 1.7.35 port 0xece0-0xecff mem 0xfe2e-0xfe2f irq 18 at
device 1.0 on pci1
Aug 29 12:04:46 www kernel: em0: Ethernet address: 00:12:3f:ec:f4:90
Aug 29 12:04:46 www kernel: em0:  Speed:N/A  Duplex:N/A
Aug 29 12:04:46 www kernel: pcib2: ACPI PCI-PCI bridge at device 28.0 on
pci0
Aug 29 12:04:46 www kernel: pci2: ACPI PCI bus on pcib2
Aug 29 12:04:46 www kernel: aac0: Dell CERC SATA RAID 2 mem
0xf400-0xf7ff irq 24 at device 1.0 on pci2
Aug 29 12:04:46 www kernel: aac0: Unknown processor 100MHz, 48MB cache
memory, optional battery not installed
Aug 29 12:04:46 www kernel: aac0: Kernel 4.1-0, Build 7406, S/N c540d4
Aug 29 12:04:46 www kernel: aac0: Supported
Options=1097cWCACHE,DATA64,HOSTTIME,RAID50,WINDOW4GB,SOFTERR,ALARM
Aug 29 12:04:46 www kernel: uhci0: UHCI (generic) USB controller port
0xcce0-0xccff irq 16 at device 29.0 on pci0
Aug 29 12:04:46 www kernel: usb0: UHCI (generic) USB controller on uhci0
Aug 29 12:04:46 www kernel: usb0: USB revision 1.0
Aug 29 12:04:46 www kernel: uhub0: Intel UHCI root hub, class 9/0, rev
1.00/1.00, addr 1
Aug 29 12:04:46 www kernel: uhub0: 2 ports with 2 removable, self powered
Aug 29 12:04:46 www kernel: uhci1: UHCI (generic) USB controller port
0xccc0-0xccdf irq 19 at device 29.1 on pci0
Aug 29 12:04:46 www kernel: usb1: UHCI (generic) USB controller on uhci1
Aug 29 12:04:46 www kernel: usb1: USB revision 1.0
Aug 29 12:04:46 www kernel: uhub1: Intel UHCI root hub, class 9/0, rev
1.00/1.00, addr 1
Aug 29 12:04:46 www kernel: uhub1: 2 ports with 2 removable, self powered
Aug 29 12:04:46 www kernel: pci0: base peripheral at device 29.4 (no
driver attached)
Aug 29 12:04:46 www kernel: pci0: base peripheral, interrupt controller
at device 29.5 (no driver attached)
Aug 29 12:04:46 www kernel: pci0: serial bus, USB at device 29.7 (no
driver attached)
Aug 29 12:04:46 www kernel: pcib3: ACPI PCI-PCI bridge at device 30.0 on
pci0
Aug 29 12:04:46 www kernel: pci3: ACPI PCI bus on pcib3
Aug 29 12:04:46 www kernel: em1: Intel(R) PRO/1000 Network Connection,
Version - 1.7.35 port 0xdcc0-0xdcff mem 0xfdee-0xfdef irq 21 at
device 2.0 on pci3
Aug 29 12:04:46 www kernel: em1: Ethernet address: 00:12:3f:ec:f4:91
Aug 29 12:04:46 www kernel: em1:  Speed:N/A  Duplex:N/A
Aug 29 12:04:46 www kernel: pci3: display, VGA at device 14.0 (no driver
attached)
Aug 29 12:04:46 www kernel: isab0: PCI-ISA bridge at device 31.0 on pci0
Aug 29 12:04:46 www kernel: isa0: ISA bus on isab0
Aug 29 12:04:46 www kernel: atapci0: Intel 6300ESB SATA150 controller
port 0xfea0-0xfeaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.2 on
pci0
Aug 29 12:04:46 www kernel: ata0: channel #0 on atapci0
Aug 29 12:04:46 www kernel: ata1: 

Re: Help with strange web server problem

2006-02-13 Thread Joe Auty
I'm hardly on expert on these sorts of things, but I *believe* that  
ACPI is responsible for power management stuff, including possibly  
spinning down your hard drive after inactivity. Try restarting with  
ACPI enabled (which you can do on your boot menu), or disable ACPI  
within your BIOS for a while to see if this helps.. certainly can't  
hurt to try.





On Feb 13, 2006, at 3:15 PM, Jerry Bell wrote:


So ACPI is disabled?

I'm assuming it's enabled.  Can that be a problem?


Aug 29 12:04:46 www syslogd: kernel boot file is /boot/kernel/kernel
Aug 29 12:04:46 www kernel: Copyright (c) 1992-2005 The FreeBSD  
Project.
Aug 29 12:04:46 www kernel: Copyright (c) 1979, 1980, 1983, 1986,  
1988,

1989, 1991, 1992, 1993, 1994
Aug 29 12:04:46 www kernel: The Regents of the University of  
California.

All rights reserved.
Aug 29 12:04:46 www kernel: FreeBSD 5.4-STABLE #0: Thu Aug 18  
07:49:41 UTC

2005
Aug 29 12:04:46 www kernel: [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Aug 29 12:04:46 www kernel: Timecounter i8254 frequency 1193182 Hz
quality 0
Aug 29 12:04:46 www kernel: CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz
(2800.12-MHz 686-class CPU)
Aug 29 12:04:46 www kernel: Origin = GenuineIntel  Id = 0xf41   
Stepping = 1

Aug 29 12:04:46 www kernel:
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,P 
GE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE 


Aug 29 12:04:46 www kernel: Hyperthreading: 2 logical CPUs
Aug 29 12:04:46 www kernel: real memory  = 536608768 (511 MB)
Aug 29 12:04:46 www kernel: avail memory = 515444736 (491 MB)
Aug 29 12:04:46 www kernel: ACPI APIC Table: DELL   PE750   
Aug 29 12:04:46 www kernel: ioapic0: Changing APIC ID to 2
Aug 29 12:04:46 www kernel: ioapic1: Changing APIC ID to 3
Aug 29 12:04:46 www kernel: ioapic0 Version 2.0 irqs 0-23 on  
motherboard
Aug 29 12:04:46 www kernel: ioapic1 Version 2.0 irqs 24-47 on  
motherboard

Aug 29 12:04:46 www kernel: npx0: math processor on motherboard
Aug 29 12:04:46 www kernel: npx0: INT 16 interface
Aug 29 12:04:46 www kernel: acpi0: DELL PE750 on motherboard
Aug 29 12:04:46 www kernel: acpi0: Power Button (fixed)
Aug 29 12:04:46 www kernel: Timecounter ACPI-fast frequency  
3579545 Hz

quality 1000
Aug 29 12:04:46 www kernel: acpi_timer0: 24-bit timer at 3.579545MHz
port 0x808-0x80b on acpi0
Aug 29 12:04:46 www kernel: cpu0: ACPI CPU on acpi0
Aug 29 12:04:46 www kernel: pcib0: ACPI Host-PCI bridge port  
0xcf8-0xcff

on acpi0
Aug 29 12:04:46 www kernel: pci0: ACPI PCI bus on pcib0
Aug 29 12:04:46 www kernel: pcib1: ACPI PCI-PCI bridge at device  
3.0 on

pci0
Aug 29 12:04:46 www kernel: pci1: ACPI PCI bus on pcib1
Aug 29 12:04:46 www kernel: em0: Intel(R) PRO/1000 Network  
Connection,
Version - 1.7.35 port 0xece0-0xecff mem 0xfe2e-0xfe2f irq  
18 at

device 1.0 on pci1
Aug 29 12:04:46 www kernel: em0: Ethernet address: 00:12:3f:ec:f4:90
Aug 29 12:04:46 www kernel: em0:  Speed:N/A  Duplex:N/A
Aug 29 12:04:46 www kernel: pcib2: ACPI PCI-PCI bridge at device  
28.0 on

pci0
Aug 29 12:04:46 www kernel: pci2: ACPI PCI bus on pcib2
Aug 29 12:04:46 www kernel: aac0: Dell CERC SATA RAID 2 mem
0xf400-0xf7ff irq 24 at device 1.0 on pci2
Aug 29 12:04:46 www kernel: aac0: Unknown processor 100MHz, 48MB cache
memory, optional battery not installed
Aug 29 12:04:46 www kernel: aac0: Kernel 4.1-0, Build 7406, S/N c540d4
Aug 29 12:04:46 www kernel: aac0: Supported
Options=1097cWCACHE,DATA64,HOSTTIME,RAID50,WINDOW4GB,SOFTERR,ALARM
Aug 29 12:04:46 www kernel: uhci0: UHCI (generic) USB controller  
port

0xcce0-0xccff irq 16 at device 29.0 on pci0
Aug 29 12:04:46 www kernel: usb0: UHCI (generic) USB controller  
on uhci0

Aug 29 12:04:46 www kernel: usb0: USB revision 1.0
Aug 29 12:04:46 www kernel: uhub0: Intel UHCI root hub, class 9/0, rev
1.00/1.00, addr 1
Aug 29 12:04:46 www kernel: uhub0: 2 ports with 2 removable, self  
powered
Aug 29 12:04:46 www kernel: uhci1: UHCI (generic) USB controller  
port

0xccc0-0xccdf irq 19 at device 29.1 on pci0
Aug 29 12:04:46 www kernel: usb1: UHCI (generic) USB controller  
on uhci1

Aug 29 12:04:46 www kernel: usb1: USB revision 1.0
Aug 29 12:04:46 www kernel: uhub1: Intel UHCI root hub, class 9/0, rev
1.00/1.00, addr 1
Aug 29 12:04:46 www kernel: uhub1: 2 ports with 2 removable, self  
powered

Aug 29 12:04:46 www kernel: pci0: base peripheral at device 29.4 (no
driver attached)
Aug 29 12:04:46 www kernel: pci0: base peripheral, interrupt  
controller

at device 29.5 (no driver attached)
Aug 29 12:04:46 www kernel: pci0: serial bus, USB at device 29.7 (no
driver attached)
Aug 29 12:04:46 www kernel: pcib3: ACPI PCI-PCI bridge at device  
30.0 on

pci0
Aug 29 12:04:46 www kernel: pci3: ACPI PCI bus on pcib3
Aug 29 12:04:46 www kernel: em1: Intel(R) PRO/1000 Network  
Connection,
Version - 1.7.35 port 0xdcc0-0xdcff mem 0xfdee-0xfdef irq  
21 at

device 2.0 on pci3
Aug 29 12:04:46 www kernel: em1: Ethernet address: 00:12:3f:ec:f4:91
Aug 29 12:04:46 

Re: Help with strange web server problem

2006-02-13 Thread Jerry Bell
I will give that a try.

Thank you for your help!

Jerry
 I'm hardly on expert on these sorts of things, but I *believe* that
 ACPI is responsible for power management stuff, including possibly
 spinning down your hard drive after inactivity. Try restarting with
 ACPI enabled (which you can do on your boot menu), or disable ACPI
 within your BIOS for a while to see if this helps.. certainly can't
 hurt to try.




 On Feb 13, 2006, at 3:15 PM, Jerry Bell wrote:

 So ACPI is disabled?
 I'm assuming it's enabled.  Can that be a problem?


 Aug 29 12:04:46 www syslogd: kernel boot file is /boot/kernel/kernel
 Aug 29 12:04:46 www kernel: Copyright (c) 1992-2005 The FreeBSD
 Project.
 Aug 29 12:04:46 www kernel: Copyright (c) 1979, 1980, 1983, 1986,
 1988,
 1989, 1991, 1992, 1993, 1994
 Aug 29 12:04:46 www kernel: The Regents of the University of
 California.
 All rights reserved.
 Aug 29 12:04:46 www kernel: FreeBSD 5.4-STABLE #0: Thu Aug 18
 07:49:41 UTC
 2005
 Aug 29 12:04:46 www kernel: [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
 Aug 29 12:04:46 www kernel: Timecounter i8254 frequency 1193182 Hz
 quality 0
 Aug 29 12:04:46 www kernel: CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz
 (2800.12-MHz 686-class CPU)
 Aug 29 12:04:46 www kernel: Origin = GenuineIntel  Id = 0xf41
 Stepping = 1
 Aug 29 12:04:46 www kernel:
 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,P
 GE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
 
 Aug 29 12:04:46 www kernel: Hyperthreading: 2 logical CPUs
 Aug 29 12:04:46 www kernel: real memory  = 536608768 (511 MB)
 Aug 29 12:04:46 www kernel: avail memory = 515444736 (491 MB)
 Aug 29 12:04:46 www kernel: ACPI APIC Table: DELL   PE750   
 Aug 29 12:04:46 www kernel: ioapic0: Changing APIC ID to 2
 Aug 29 12:04:46 www kernel: ioapic1: Changing APIC ID to 3
 Aug 29 12:04:46 www kernel: ioapic0 Version 2.0 irqs 0-23 on
 motherboard
 Aug 29 12:04:46 www kernel: ioapic1 Version 2.0 irqs 24-47 on
 motherboard
 Aug 29 12:04:46 www kernel: npx0: math processor on motherboard
 Aug 29 12:04:46 www kernel: npx0: INT 16 interface
 Aug 29 12:04:46 www kernel: acpi0: DELL PE750 on motherboard
 Aug 29 12:04:46 www kernel: acpi0: Power Button (fixed)
 Aug 29 12:04:46 www kernel: Timecounter ACPI-fast frequency
 3579545 Hz
 quality 1000
 Aug 29 12:04:46 www kernel: acpi_timer0: 24-bit timer at 3.579545MHz
 port 0x808-0x80b on acpi0
 Aug 29 12:04:46 www kernel: cpu0: ACPI CPU on acpi0
 Aug 29 12:04:46 www kernel: pcib0: ACPI Host-PCI bridge port
 0xcf8-0xcff
 on acpi0
 Aug 29 12:04:46 www kernel: pci0: ACPI PCI bus on pcib0
 Aug 29 12:04:46 www kernel: pcib1: ACPI PCI-PCI bridge at device
 3.0 on
 pci0
 Aug 29 12:04:46 www kernel: pci1: ACPI PCI bus on pcib1
 Aug 29 12:04:46 www kernel: em0: Intel(R) PRO/1000 Network
 Connection,
 Version - 1.7.35 port 0xece0-0xecff mem 0xfe2e-0xfe2f irq
 18 at
 device 1.0 on pci1
 Aug 29 12:04:46 www kernel: em0: Ethernet address: 00:12:3f:ec:f4:90
 Aug 29 12:04:46 www kernel: em0:  Speed:N/A  Duplex:N/A
 Aug 29 12:04:46 www kernel: pcib2: ACPI PCI-PCI bridge at device
 28.0 on
 pci0
 Aug 29 12:04:46 www kernel: pci2: ACPI PCI bus on pcib2
 Aug 29 12:04:46 www kernel: aac0: Dell CERC SATA RAID 2 mem
 0xf400-0xf7ff irq 24 at device 1.0 on pci2
 Aug 29 12:04:46 www kernel: aac0: Unknown processor 100MHz, 48MB cache
 memory, optional battery not installed
 Aug 29 12:04:46 www kernel: aac0: Kernel 4.1-0, Build 7406, S/N c540d4
 Aug 29 12:04:46 www kernel: aac0: Supported
 Options=1097cWCACHE,DATA64,HOSTTIME,RAID50,WINDOW4GB,SOFTERR,ALARM
 Aug 29 12:04:46 www kernel: uhci0: UHCI (generic) USB controller
 port
 0xcce0-0xccff irq 16 at device 29.0 on pci0
 Aug 29 12:04:46 www kernel: usb0: UHCI (generic) USB controller
 on uhci0
 Aug 29 12:04:46 www kernel: usb0: USB revision 1.0
 Aug 29 12:04:46 www kernel: uhub0: Intel UHCI root hub, class 9/0, rev
 1.00/1.00, addr 1
 Aug 29 12:04:46 www kernel: uhub0: 2 ports with 2 removable, self
 powered
 Aug 29 12:04:46 www kernel: uhci1: UHCI (generic) USB controller
 port
 0xccc0-0xccdf irq 19 at device 29.1 on pci0
 Aug 29 12:04:46 www kernel: usb1: UHCI (generic) USB controller
 on uhci1
 Aug 29 12:04:46 www kernel: usb1: USB revision 1.0
 Aug 29 12:04:46 www kernel: uhub1: Intel UHCI root hub, class 9/0, rev
 1.00/1.00, addr 1
 Aug 29 12:04:46 www kernel: uhub1: 2 ports with 2 removable, self
 powered
 Aug 29 12:04:46 www kernel: pci0: base peripheral at device 29.4 (no
 driver attached)
 Aug 29 12:04:46 www kernel: pci0: base peripheral, interrupt
 controller
 at device 29.5 (no driver attached)
 Aug 29 12:04:46 www kernel: pci0: serial bus, USB at device 29.7 (no
 driver attached)
 Aug 29 12:04:46 www kernel: pcib3: ACPI PCI-PCI bridge at device
 30.0 on
 pci0
 Aug 29 12:04:46 www kernel: pci3: ACPI PCI bus on pcib3
 Aug 29 12:04:46 www kernel: em1: Intel(R) PRO/1000 Network
 Connection,
 Version - 1.7.35 port 0xdcc0-0xdcff mem 0xfdee-0xfdef irq
 21 at
 device 2.0 on 

Re: Help with strange web server problem

2006-02-13 Thread Joe Auty
Some software (such as VMWare) will only work with ACPI disabled  
anyway. Even in our Mac labs here, we disable all Energy Saver  
settings - it just isn't worth the hassle, especially when there  
isn't much to gain on a Desktop machine, IMHO.



On Feb 13, 2006, at 3:21 PM, Jerry Bell wrote:


I will give that a try.

Thank you for your help!

Jerry

I'm hardly on expert on these sorts of things, but I *believe* that
ACPI is responsible for power management stuff, including possibly
spinning down your hard drive after inactivity. Try restarting with
ACPI enabled (which you can do on your boot menu), or disable ACPI
within your BIOS for a while to see if this helps.. certainly can't
hurt to try.




On Feb 13, 2006, at 3:15 PM, Jerry Bell wrote:


So ACPI is disabled?

I'm assuming it's enabled.  Can that be a problem?


Aug 29 12:04:46 www syslogd: kernel boot file is /boot/kernel/kernel
Aug 29 12:04:46 www kernel: Copyright (c) 1992-2005 The FreeBSD
Project.
Aug 29 12:04:46 www kernel: Copyright (c) 1979, 1980, 1983, 1986,
1988,
1989, 1991, 1992, 1993, 1994
Aug 29 12:04:46 www kernel: The Regents of the University of
California.
All rights reserved.
Aug 29 12:04:46 www kernel: FreeBSD 5.4-STABLE #0: Thu Aug 18
07:49:41 UTC
2005
Aug 29 12:04:46 www kernel: [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Aug 29 12:04:46 www kernel: Timecounter i8254 frequency 1193182 Hz
quality 0
Aug 29 12:04:46 www kernel: CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz
(2800.12-MHz 686-class CPU)
Aug 29 12:04:46 www kernel: Origin = GenuineIntel  Id = 0xf41
Stepping = 1
Aug 29 12:04:46 www kernel:
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR 
,P
GE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,P 
BE



Aug 29 12:04:46 www kernel: Hyperthreading: 2 logical CPUs
Aug 29 12:04:46 www kernel: real memory  = 536608768 (511 MB)
Aug 29 12:04:46 www kernel: avail memory = 515444736 (491 MB)
Aug 29 12:04:46 www kernel: ACPI APIC Table: DELL   PE750   
Aug 29 12:04:46 www kernel: ioapic0: Changing APIC ID to 2
Aug 29 12:04:46 www kernel: ioapic1: Changing APIC ID to 3
Aug 29 12:04:46 www kernel: ioapic0 Version 2.0 irqs 0-23 on
motherboard
Aug 29 12:04:46 www kernel: ioapic1 Version 2.0 irqs 24-47 on
motherboard
Aug 29 12:04:46 www kernel: npx0: math processor on motherboard
Aug 29 12:04:46 www kernel: npx0: INT 16 interface
Aug 29 12:04:46 www kernel: acpi0: DELL PE750 on motherboard
Aug 29 12:04:46 www kernel: acpi0: Power Button (fixed)
Aug 29 12:04:46 www kernel: Timecounter ACPI-fast frequency
3579545 Hz
quality 1000
Aug 29 12:04:46 www kernel: acpi_timer0: 24-bit timer at  
3.579545MHz

port 0x808-0x80b on acpi0
Aug 29 12:04:46 www kernel: cpu0: ACPI CPU on acpi0
Aug 29 12:04:46 www kernel: pcib0: ACPI Host-PCI bridge port
0xcf8-0xcff
on acpi0
Aug 29 12:04:46 www kernel: pci0: ACPI PCI bus on pcib0
Aug 29 12:04:46 www kernel: pcib1: ACPI PCI-PCI bridge at device
3.0 on
pci0
Aug 29 12:04:46 www kernel: pci1: ACPI PCI bus on pcib1
Aug 29 12:04:46 www kernel: em0: Intel(R) PRO/1000 Network
Connection,
Version - 1.7.35 port 0xece0-0xecff mem 0xfe2e-0xfe2f irq
18 at
device 1.0 on pci1
Aug 29 12:04:46 www kernel: em0: Ethernet address: 00:12:3f:ec:f4:90
Aug 29 12:04:46 www kernel: em0:  Speed:N/A  Duplex:N/A
Aug 29 12:04:46 www kernel: pcib2: ACPI PCI-PCI bridge at device
28.0 on
pci0
Aug 29 12:04:46 www kernel: pci2: ACPI PCI bus on pcib2
Aug 29 12:04:46 www kernel: aac0: Dell CERC SATA RAID 2 mem
0xf400-0xf7ff irq 24 at device 1.0 on pci2
Aug 29 12:04:46 www kernel: aac0: Unknown processor 100MHz, 48MB  
cache

memory, optional battery not installed
Aug 29 12:04:46 www kernel: aac0: Kernel 4.1-0, Build 7406, S/N  
c540d4

Aug 29 12:04:46 www kernel: aac0: Supported
Options=1097cWCACHE,DATA64,HOSTTIME,RAID50,WINDOW4GB,SOFTERR,ALARM
Aug 29 12:04:46 www kernel: uhci0: UHCI (generic) USB controller
port
0xcce0-0xccff irq 16 at device 29.0 on pci0
Aug 29 12:04:46 www kernel: usb0: UHCI (generic) USB controller
on uhci0
Aug 29 12:04:46 www kernel: usb0: USB revision 1.0
Aug 29 12:04:46 www kernel: uhub0: Intel UHCI root hub, class  
9/0, rev

1.00/1.00, addr 1
Aug 29 12:04:46 www kernel: uhub0: 2 ports with 2 removable, self
powered
Aug 29 12:04:46 www kernel: uhci1: UHCI (generic) USB controller
port
0xccc0-0xccdf irq 19 at device 29.1 on pci0
Aug 29 12:04:46 www kernel: usb1: UHCI (generic) USB controller
on uhci1
Aug 29 12:04:46 www kernel: usb1: USB revision 1.0
Aug 29 12:04:46 www kernel: uhub1: Intel UHCI root hub, class  
9/0, rev

1.00/1.00, addr 1
Aug 29 12:04:46 www kernel: uhub1: 2 ports with 2 removable, self
powered
Aug 29 12:04:46 www kernel: pci0: base peripheral at device  
29.4 (no

driver attached)
Aug 29 12:04:46 www kernel: pci0: base peripheral, interrupt
controller
at device 29.5 (no driver attached)
Aug 29 12:04:46 www kernel: pci0: serial bus, USB at device  
29.7 (no

driver attached)
Aug 29 12:04:46 www kernel: pcib3: ACPI PCI-PCI bridge at device
30.0 on
pci0

Re: File verification script

2006-02-13 Thread Kristian Vaaf

At 16:24 13.02.2006, Lowell Gilbert wrote:

Kristian Vaaf [EMAIL PROTECTED] writes:

 I just want a simple script that uses cfv to verify MP3 albums,
 the same way I showed you my other script that uses cfv to seal 
my MP3 albums.


Well, cksfv seems to be appropriate for that application.

I haven't actually tried any of these myself;
mtree(1) works fine for me.


I know how to search the ports.
Thanks though.

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


RE: Sendmail - IMAP-UW - Cyrus-SASL2 - SMTPAUTH problems

2006-02-13 Thread Kirk Davis
Hi Greg,
 
 I'm trying to set up a FreeBSD 6.0 box as a mail server, and while 
 everything seems to be working OK for the most part, I have 
 run into two 
 issues that I cannot resolve (I'm new to BSD, please bear 
 with me). Install 
 went as follows:  Installed via FTP last night along with 
 src - Sources for 
 everything,
 
 IMAP-UW was compiled via ports with WITH_SSL_AND_PLAINTEXT 
 enabled (same for 
 cclient), OpenSSL, Cyrus-SASL2  Cyrus-SASL2-saslauthd were 
 compiled via 
 ports with no flags.
 
 Sendmail was installed with the base install and recompiled 
 (after SASL2 was 
 up and running) with the following options added to make.conf:
 
 # SASL (cyrus-sasl v2) sendmail build flags...
 SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2
 SENDMAIL_LDFLAGS=-L/usr/local/lib
 SENDMAIL_LDADD=-lsasl2
 # Adding to enable alternate port (smtps) for sendmail...
 SENDMAIL_CFLAGS+= -D_FFR_SMTP_SSL
 
 I followed the instructions I found at 
 http://www.bsdconspiracy.net/howto/sendmail.html, and had no 
 problems with 
 the install except for Sendmail.  After recompiling sendmail, 
 I added the 
 following lines to the mail.server.mc file:
 
 define(`confAUTH_MECHANISMS',`PLAIN LOGIN')dnl
 TRUST_AUTH_MECH(`PLAIN LOGIN')dnl
 define(`CERT_DIR', `/etc/mail/certs')dnl
 define(`confCACERT_PATH', `CERT_DIR')dnl
 define(`confCACERT', `CERT_DIR/mycert.pem')dnl
 define(`confSERVER_CERT', `CERT_DIR/mycert.pem')dnl
 define(`confSERVER_KEY', `CERT_DIR/mykey.pem')dnl
 define(`confCLIENT_CERT', `CERT_DIR/mycert.pem')dnl
 define(`confCLIENT_KEY', `CERT_DIR/mykey.pem')dnl
 DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl

This is your problem.  The above line sets up the Sendmail daemon to
listen on port 25 but the standard mc file distributed with FreeBSD also
sets up a DAEMON port (it's at the end of the MC file).

Here is what my DAEMON_OPTIONS lines look like.  These should be the
only DAEMON_OPTIONS lines in the mc file.
dnl Enable for both IPv4 and IPv6 (optional)
DAEMON_OPTIONS(`Name=IPv4, Family=inet')
DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O')
DAEMON_OPTIONS(`Port=smtps, Name=TLSMTA, M=s')dnl


 DAEMON_OPTIONS(`Port=smtps, Name=TLSMTA, M=s')dnl
 
 After running (in /etc/mail) make clean, make cf, make 
 install, make 
 restart, SMTP no longer works, and I find the following in 
 maillog and 
 messages
 
 Feb 12 20:25:55 mail sm-mta[1213]: daemon IPv4: problem 
 creating SMTP socket
 Feb 12 20:26:00 mail sm-mta[1213]: NOQUEUE: SYSERR(root): 
 opendaemonsocket: 
 daemon IPv4: cannot bind: Address already in use
 
 When I try and stop sendmail, I get a message that the pid 
 for Sendmail 
 cannot be found.  I end up killing the missing Sendmail daemon using 
 KSysGuard
 
 If I remove this line - DAEMON_OPTIONS(`Port=smtp, 
 Name=MTA')dnl from the 
 mail.server.mc file, make cf, make install, make restart, 
 sendmail starts 
 normally.  When trying to access from another machine on my 
 network, I can 
 only connect on port 25 without a secure connection (I'm 
 using Thunderbird 
 for this), although SMTP-AUTH is working correctly.

Have you tried to setup your mail client to connect to port 465?  This
is the smtps (SMTP SSL) port.


 Any ideas on what I might need to do to get SSL / SMTP-AUTH 
 working on SMTP? 
   I took a look at the instructions in the handbook, but they 
 were written 
 for SASL1.  Running netstat shows smtps listening on 465, but 
 when I try to 
 telnet to that port, the server drops the connection.

Hmm... It should connect but you will not see anything since it is
expecting an SSL connection.

 My second problem is rather simple, after I create an IMAP 
 folder, I am 
 unable to delete it using a remote client.  Thunderbird 
 responds with The 
 mail server responded: RENAME failed: Can't create mailbox node 
 /home/User/Trash/: File exists.  Nothing shows up in any of 
 the server logs 
 though.

I have not seen this problem although I have it setup for an office of
Outlook users.  I would check the permissions on the folders in the user
home directory.  This is where the IMAP user forlders are by default.  I
usually setup the clients to use the base imap if Mail and then create a
Mail directory in the user home directory.  That way the mail folders
don't get messed up with the user stuff.

 
 Hopefully this is the right list for these questions, if not, 
 could someone 
 please direct me to the correct one?  Any advice anyone can 
 give me on 
 either of these problems would be greatly appreciated.
 

 Kirk
Kirk Davis
Senior Network Analyst, ITS
Edmonton Public Schools
1-780-429-8308
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Flash Plugin for Firefox

2006-02-13 Thread Beech Rintoul
On Monday 13 February 2006 08:03, Lowell Gilbert wrote:
 Chris Maness [EMAIL PROTECTED] writes:
  What do I use for a flash plugin for Firefox?  The auto plugin

Try my how-to located here:

http://akparadise.byethost33.com/freebsd/linuxpluginwrapper_how_to.txt

Beech

-- 

---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | Alaska Paradise Travel
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
---













pgp1nceCStdZV.pgp
Description: PGP signature


Re: Memory leak?

2006-02-13 Thread David Scheidt
On Mon, Feb 13, 2006 at 09:30:17PM +1100, Robert Leftwich wrote:
 From: Robert Leftwich [EMAIL PROTECTED]
 
 On Mon, 13 Feb 2006 09:29:03 +0100, Erik Norgaard
 [EMAIL PROTECTED] said:
  
  Do you run other applications also?
  
  There was a discussion on CURRENT@ some weeks ago about a memory leak 
  that turned out to be firefox with some extensions, updates are 
  available now.
  
 
 Unfortunately no, its cli only, no x, pretty much just Postgres and
 Python and C :-(

I've seen (very, very, very, very) large memory leaks on long-lived
Python processes.  I haven't looked at it to figure out if it's
python, some module, or the application doing something stupid.  But
the processes will grow until they hit their limits.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help with strange web server problem

2006-02-13 Thread Charles Swiger

On Feb 13, 2006, at 3:12 PM, Jerry Bell wrote:
I didn't want to spam the link out, but it's www.musiclodge.com.  I  
will
gather the capture data from working and non working sessions and  
send it

out.


Well, I can confirm the behavior you've described.

It looks somewhat like a stateful firewall or is in the way and is  
generating an RST, even while your webserver tries to generate a  
response.  However, once the firewall sees the outbound traffic, it  
seems to create a dynamic rule which lets the traffic from subsequent  
connections through:


5-pan# tcpdump -tnXs 0 host www.musiclodge.com
tcpdump: verbose output suppressed, use -v or -vv for full protocol  
decode

listening on en0, link-type EN10MB (Ethernet), capture size 65535 bytes
IP 199.103.21.238.50740  63.175.100.44.80: S 2282569549:2282569549 
(0) win 65535 mss 1460,nop,wscale 0,nop,nop,timestamp 1159441862 0
0x:  4510 003c 4653 4000 4006 7328 c767 15ee  E..[EMAIL PROTECTED]@.s 
(.g..
0x0010:  3faf 642c c634 0050 880d 3f4d    ?.d,.4.P..? 
M
0x0020:  a002  815f  0204 05b4 0103  
0300  ._..

0x0030:  0101 080a 451b adc6  E...
IP 63.175.100.44.80  199.103.21.238.50740: S 2634350592:2634350592 
(0) ack 2282569550 win 65535
0x:  4500 0028  4000 2506 d49f 3faf 642c  E..([EMAIL PROTECTED] 
%...?.d,
0x0010:  c767 15ee 0050 c634 9d05  880d 3f4e  .g...P. 
4..?N
0x0020:  5012  03bc     1b60   
P..`

0x0030:  2678 x
IP 199.103.21.238.50740  63.175.100.44.80: . ack 1 win 65535
0x:  4510 0028 4655 4000 4006 733a c767 15ee  E.. 
([EMAIL PROTECTED]@.s:.g..
0x0010:  3faf 642c c634 0050 880d 3f4e 9d05 0001  ?.d,.4.P..? 
N

0x0020:  5010  03bd   P...

3-way handshake is completed here, next traffic should be from my  
machine making the GET /, request, but instead your machine sends  
another ACK:


IP 63.175.100.44.80  199.103.21.238.50740: S 2238145710:2238145710 
(0) ack 2282569550 win 65535 mss 1460,nop,wscale 1,nop,nop,timestamp  
1453026167 1159441862
0x:  4500 003c 57fa 4000 3206 6f91 3faf 642c  E..[EMAIL PROTECTED] 
2.o.?.d,
0x0010:  c767 15ee 0050 c634 8567 64ae 880d 3f4e  .g...P. 
4.gd...?N
0x0020:  a012  9cdb  0204 05b4 0103  
0301  
0x0030:  0101 080a 569b 6b77 451b adc6 9345  
1153  V.kwEE.S


Interesting that the previous ack had no TCP options set, whereas  
this one does include a timestamp in response.


IP 199.103.21.238.50740  63.175.100.44.80: . ack 396204883 win 65535  
nop,nop,timestamp 1159441863 1453026167
0x:  4510 0034 4656 4000 4006 732d c767 15ee  E.. 
[EMAIL PROTECTED]@.s-.g..
0x0010:  3faf 642c c634 0050 880d 3f4e 9d05 0001  ?.d,.4.P..? 
N
0x0020:  8010  8157  0101 080a 451b  
adc7  .W..E...

0x0030:  569b 6b77V.kw

Where did sequence # 396204883 come from?  And your side follows up  
with a pair of connection resets, and a normal ACK packet, too.


IP 63.175.100.44.80  199.103.21.238.50740: R 2634350593:2634350593 
(0) win 0
0x:  4500 0028 b6f6 4000 3206 10a9 3faf 642c  E..([EMAIL PROTECTED] 
2...?.d,
0x0010:  c767 15ee 0050 c634 9d05 0001    .g...P. 
4
0x0020:  5004  cb24     f3fa  P 
$..

0x0030:  5489 T.
IP 63.175.100.44.80  199.103.21.238.50740: R 2634350593:2634350593 
(0) win 0
0x:  4500 0028 4bfc 4000 3206 7ba3 3faf 642c  E..([EMAIL PROTECTED] 
{.?.d,
0x0010:  c767 15ee 0050 c634 9d05 0001    .g...P. 
4
0x0020:  5004  cb24     abb8  P 
$..

0x0030:  c9be ..
IP 63.175.100.44.80  199.103.21.238.50740: S 2238145710:2238145710 
(0) ack 2282569550 win 65535 mss 1460,nop,wscale 1,nop,nop,timestamp  
1453026467 1159441862
0x:  4500 003c 3a9d 4000 3206 8cee 3faf 642c  E..:[EMAIL PROTECTED] 
2...?.d,
0x0010:  c767 15ee 0050 c634 8567 64ae 880d 3f4e  .g...P. 
4.gd...?N
0x0020:  a012  9baf  0204 05b4 0103  
0301  
0x0030:  0101 080a 569b 6ca3 451b adc6 bdd6  
d7c9  V.l.E...


...and my side closes, too.  Something is badly confused.

IP 199.103.21.238.50740  63.175.100.44.80: R 2282569550:2282569550 
(0) win 0
0x:  4500 0028 465a 4000 4006 7345 c767 15ee  E.. 
([EMAIL PROTECTED]@.sE.g..
0x0010:  3faf 642c c634 0050 880d 3f4e    ?.d,.4.P..? 
N

0x0020:  5004  a0cf   P...

---

When I repeat the connection attempt a few seconds later:

IP 199.103.21.238.50743  63.175.100.44.80: S 262625798:262625798(0)  
win 

Re: Sendmail - IMAP-UW - Cyrus-SASL2 - SMTPAUTH problems

2006-02-13 Thread Joe Auty

Hey Greg,

Sorry if this completely throws a monkey wrench into your plans, but  
I feel inspired to interject since I once had a nearly identical  
setup as you...


I switched to Postfix and Courier-IMAP since I found that performance  
of large mailboxes in IMAP-UW was pretty poor, especially over web- 
based email where messages are not cached. I switched to Postfix  
because it is so much more simple and straight forward than Sendmail.  
You should have no problems switching to Postfix, since it is  
basically Sendmail with a nicer wrapper/configuration.


Just food for thought.


On Feb 13, 2006, at 4:25 PM, Kirk Davis wrote:


Hi Greg,


I'm trying to set up a FreeBSD 6.0 box as a mail server, and while
everything seems to be working OK for the most part, I have
run into two
issues that I cannot resolve (I'm new to BSD, please bear
with me). Install
went as follows:  Installed via FTP last night along with
src - Sources for
everything,

IMAP-UW was compiled via ports with WITH_SSL_AND_PLAINTEXT
enabled (same for
cclient), OpenSSL, Cyrus-SASL2  Cyrus-SASL2-saslauthd were
compiled via
ports with no flags.

Sendmail was installed with the base install and recompiled
(after SASL2 was
up and running) with the following options added to make.conf:

# SASL (cyrus-sasl v2) sendmail build flags...
SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2
# Adding to enable alternate port (smtps) for sendmail...
SENDMAIL_CFLAGS+= -D_FFR_SMTP_SSL

I followed the instructions I found at
http://www.bsdconspiracy.net/howto/sendmail.html, and had no
problems with
the install except for Sendmail.  After recompiling sendmail,
I added the
following lines to the mail.server.mc file:

define(`confAUTH_MECHANISMS',`PLAIN LOGIN')dnl
TRUST_AUTH_MECH(`PLAIN LOGIN')dnl
define(`CERT_DIR', `/etc/mail/certs')dnl
define(`confCACERT_PATH', `CERT_DIR')dnl
define(`confCACERT', `CERT_DIR/mycert.pem')dnl
define(`confSERVER_CERT', `CERT_DIR/mycert.pem')dnl
define(`confSERVER_KEY', `CERT_DIR/mykey.pem')dnl
define(`confCLIENT_CERT', `CERT_DIR/mycert.pem')dnl
define(`confCLIENT_KEY', `CERT_DIR/mykey.pem')dnl
DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl


This is your problem.  The above line sets up the Sendmail daemon to
listen on port 25 but the standard mc file distributed with FreeBSD  
also

sets up a DAEMON port (it's at the end of the MC file).

Here is what my DAEMON_OPTIONS lines look like.  These should be the
only DAEMON_OPTIONS lines in the mc file.
dnl Enable for both IPv4 and IPv6 (optional)
DAEMON_OPTIONS(`Name=IPv4, Family=inet')
DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O')
DAEMON_OPTIONS(`Port=smtps, Name=TLSMTA, M=s')dnl



DAEMON_OPTIONS(`Port=smtps, Name=TLSMTA, M=s')dnl

After running (in /etc/mail) make clean, make cf, make
install, make
restart, SMTP no longer works, and I find the following in
maillog and
messages

Feb 12 20:25:55 mail sm-mta[1213]: daemon IPv4: problem
creating SMTP socket
Feb 12 20:26:00 mail sm-mta[1213]: NOQUEUE: SYSERR(root):
opendaemonsocket:
daemon IPv4: cannot bind: Address already in use

When I try and stop sendmail, I get a message that the pid
for Sendmail
cannot be found.  I end up killing the missing Sendmail daemon using
KSysGuard

If I remove this line - DAEMON_OPTIONS(`Port=smtp,
Name=MTA')dnl from the
mail.server.mc file, make cf, make install, make restart,
sendmail starts
normally.  When trying to access from another machine on my
network, I can
only connect on port 25 without a secure connection (I'm
using Thunderbird
for this), although SMTP-AUTH is working correctly.


Have you tried to setup your mail client to connect to port 465?  This
is the smtps (SMTP SSL) port.



Any ideas on what I might need to do to get SSL / SMTP-AUTH
working on SMTP?
  I took a look at the instructions in the handbook, but they
were written
for SASL1.  Running netstat shows smtps listening on 465, but
when I try to
telnet to that port, the server drops the connection.


Hmm... It should connect but you will not see anything since it is
expecting an SSL connection.


My second problem is rather simple, after I create an IMAP
folder, I am
unable to delete it using a remote client.  Thunderbird
responds with The
mail server responded: RENAME failed: Can't create mailbox node
/home/User/Trash/: File exists.  Nothing shows up in any of
the server logs
though.


I have not seen this problem although I have it setup for an office of
Outlook users.  I would check the permissions on the folders in the  
user
home directory.  This is where the IMAP user forlders are by  
default.  I
usually setup the clients to use the base imap if Mail and then  
create a

Mail directory in the user home directory.  That way the mail folders
don't get messed up with the user stuff.



Hopefully this is the right list for these questions, if not,
could someone
please direct me to the correct one?  Any advice anyone can
give me on
either of these problems would be 

Re: Memory leak?

2006-02-13 Thread Charles Swiger

On Feb 13, 2006, at 4:40 PM, David Scheidt wrote:

Unfortunately no, its cli only, no x, pretty much just Postgres and
Python and C :-(


I've seen (very, very, very, very) large memory leaks on long-lived
Python processes.  I haven't looked at it to figure out if it's
python, some module, or the application doing something stupid.  But
the processes will grow until they hit their limits.


For contrast, I've got a Python-based daemon which handles 100K to 1  
million logfile lines a day and spits them into a processing/ 
reporting system using either XMLRPC or SOAP, and it stays up for  
months without leaking memory or changing in size.


As I said earlier, top -o size will identify the process(es) which  
is/are using excessive memory.


--
-Chuck

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


Re: Help with strange web server problem

2006-02-13 Thread Gerard Seibert
Jerry Bell wrote:

 I didn't want to spam the link out, but it's www.musiclodge.com.  I will
 gather the capture data from working and non working sessions and send it
 out.
 
 Thanks!
 
  On Feb 13, 2006, at 7:58 AM, Jerry Bell wrote:
  It's hit or miss, but the first time someone visits the web site,
  they get
  a server not found page.  On hitting refresh, they get the page - no
  problems.  If I wait a while and try again, I get the same problem.
 
  Path MTU problem?
 
  The problem appears to be something in the initial communication
  with the
  web server.  Using tcpdump, I can see that the PC connects to the web
  server and sends the GET request, but the server closes the connection
  abruptly.  Comparing that flow to a normal session, I see that
  there are
  some extra packets between the initial SYN and the sending of the GET
  phrase that do not exist during a successful session.
 
  The details would help.  :-)  Or you could tell us what the server is
  so we could try hitting it ourselves...
 
  --
  -Chuck

I just tried visiting the site five times in the past few minutes
without incident. That probably does not help you very much though. I
am using FF, the latest version if that means anything.

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


Re: pear problem

2006-02-13 Thread Albert Shih
 Le 12/02/2006 à 00:22:41+0100, Uwe Laverenz a écrit
 On Fri, Feb 10, 2006 at 10:25:12PM +0100, Albert Shih wrote:
 
  On a FreeBSD 5.4-p8 I've a problem to install pear ports.
 
 Do you use nss-ldap/pam-ldap on this machine?

yes.

 
  the ports install stop with core dump (php.core).
  
  Anyone have this problem ?
 
 Several people have reported problems like this, all of them use
 nss-ldap. I could get around the problem when I disabled 2 php4-modules:
 imagick and xslt (just commented them out in
 /usr/local/etc/php/extensions.ini).

Lots of thanks.

Bests regards.

--
Albert SHIH
Universite de Paris 7 (Denis DIDEROT)
U.F.R. de Mathematiques.
7 ième étage, plateau D, bureau 10
Heure local/Local time:
Mon Feb 13 23:00:50 CET 2006
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Memory leak?

2006-02-13 Thread Robert Leftwich

On Mon, 13 Feb 2006 16:40:54 -0500, David Scheidt [EMAIL PROTECTED]
said:
 
 I've seen (very, very, very, very) large memory leaks on long-lived
 Python processes.  I haven't looked at it to figure out if it's
 python, some module, or the application doing something stupid.  But
 the processes will grow until they hit their limits.

What's your definition of long-lived? My scenario is that I'm processing
a particular dataset in Python which is launched by a shell script, once
finished (after 30-35mins) the Python app completes and the shell script
launches another instance on a new dataset. All memory allocated by the
finished Python app should be freed/made inactive shouldn't it?

Here's some more data:

After a reboot this is what top says:

Mem: 45M Active, 13M Inact, 61M Wired, 4K Cache, 60M Buf, 2842M Free
Swap: 4068M Total, 4068M Free

which totals 3021M

After 1 dataset it is:

Mem: 107M Active, 1919M Inact, 158M Wired, 16K Cache, 214M Buf, 570M
Free
Swap: 4068M Total, 4068M Free

which totals 2968M

While running on the 6th dataset:

Mem: 1032M Active, 1045M Inact, 260M Wired, 145M Cache, 214M Buf,
4664K Free
Swap: 4068M Total, 108K Used, 4068M Free

which totals 2700.6M

Are my assumptions incorrect, should the totals displayed by top be at
least approximately equal?

Robert



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


horde on freebsd6

2006-02-13 Thread Dave

Hello,
   I've got php4 and apache installed on freebsd6 with several php4 
extensions. Now i want to install horde and imp to test them out while 
atempting to decide if horde would be suitable as a webmail solution. I try 
the install via ports, but pear always stops saying the port requires the 
cli or cgi version of php, but i have a conflicting port installed. I've 
already got php4 installed, does anyone have a workaround for this?

Thanks.
Dave.

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


Re: FreeBSD Windows Boot?

2006-02-13 Thread Gerard Seibert
Jerry McAllister wrote:

  
  If for what ever reason the FreeBSD boot loader does load windows, is 
  there a way to repair the windows boot sector?  I remember trying this 
  in the past with ill results.
 
 Probably depends on what is wrong.
 Probably there is some MS utility that can repair it.
 Someone else will have to talk the MS stuff.
 
 Make sure you understand the different parts. 
 Your terminology wanders a bit.
 
 The FreeBSD MBR and not the boot loader would be the only part
 that has anything to do with booting a Windos or any non FreeBSD OS.
 I think that is what you mean by boot loader though.
 The MBR only just recognized that the slice is bootable and reads
 in the boot sector and turns over control to it.   It does nothing
 else with the Win sector or loader.
 
 jerry


I could be wrong, but I believe using the MS version of 'fdisk' fixes
the problem. Run this command from the C: prompt:

fdisk /mbr

See if that corrects the problem.

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


Re: Memory leak?

2006-02-13 Thread Charles Swiger

On Feb 13, 2006, at 5:13 PM, Robert Leftwich wrote:

After 1 dataset it is:

Mem: 107M Active, 1919M Inact, 158M Wired, 16K Cache, 214M Buf,  
570M

Free
Swap: 4068M Total, 4068M Free

which totals 2968M

While running on the 6th dataset:

Mem: 1032M Active, 1045M Inact, 260M Wired, 145M Cache, 214M Buf,
4664K Free
Swap: 4068M Total, 108K Used, 4068M Free

which totals 2700.6M


Possibly your database is using lots of SysV shared memory, which  
would explain why wired is going up so much, otherwise perhaps  
something in the kernel is leaking.  sysctl kern.malloc might be  
interesting to consider.



Are my assumptions incorrect, should the totals displayed by top be at
least approximately equal?


Exclude the buf entry from your math, that will be closer.  You  
should be looking further down at the SIZE column to see which  
processes are using so much RAM...


--
-Chuck

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


Re: Memory leak?

2006-02-13 Thread Robert Leftwich

On Mon, 13 Feb 2006 17:58:07 -0500, Charles Swiger [EMAIL PROTECTED]
said:
 On Feb 13, 2006, at 5:13 PM, Robert Leftwich wrote:
 
 Possibly your database is using lots of SysV shared memory, which  
 would explain why wired is going up so much, otherwise perhaps  
 something in the kernel is leaking.  sysctl kern.malloc might be  
 interesting to consider.

What should I be looking for? 

The maximum MemUse is  devbuf  2039  8340K, the max InUse is  sysctloid 
3613   176K.

 
  Are my assumptions incorrect, should the totals displayed by top be at
  least approximately equal?
 
 Exclude the buf entry from your math, that will be closer.  You  
 should be looking further down at the SIZE column to see which  
 processes are using so much RAM...
 

I can't see anything that explains the discrepancy. Below is the top -o
size after a reboot, followed by the current top after 8 datasets (the
extra python process is the analysis app - at a low memory usage point):

(Note that the original 2 python processes are web servers and that I
have 3 postgres clusters running on different ports, pending a move to
separate machines - assuming I can solve this problem)

  PID USERNAME  THR PRI NICE   SIZERES STATE  C   TIME   WCPU
  COMMAND
  599 msf 1   40 75256K 25408K accept 1   0:00  0.00% python
  582 msf 1  760 53772K  5580K select 0   0:00  0.00%
  postgres
  575 msf 1  760 53748K  5288K select 0   0:00  0.00%
  postgres
  588 msf 1  760 53588K  5360K select 0   0:00  0.00%
  postgres
  574 msf 1  760 53564K  5060K select 0   0:00  0.00%
  postgres
  586 msf 1  760 52140K 14988K select 0   0:00  0.00% python
  601 root1   40 29388K  3944K sbwait 1   0:00  0.00% sshd
  604 msf 1  760 29364K  3996K select 1   0:00  0.00% sshd
  578 msf 1  760 29224K  5472K select 0   0:00  0.00%
  postgres
  576 msf 1  760 29216K  5372K select 0   0:00  0.00%
  postgres
  583 msf 1  760 20488K  5224K select 0   0:00  0.00%
  postgres
  589 msf 1  760 20488K  4988K select 0   0:00  0.00%
  postgres
  579 msf 1  760 20484K  5220K select 0   0:00  0.00%
  postgres
  580 msf 1  810 19548K  5284K select 1   0:00  0.00%
  postgres
  584 msf 1  770 19536K  5260K select 1   0:00  0.00%
  postgres
  590 msf 1  760 19512K  5012K select 1   0:00  0.00%
  postgres


  PID USERNAME  THR PRI NICE   SIZERES STATE  C   TIME   WCPU
  COMMAND
 2256 msf 4  200 83228K 31876K kserel 1   0:01  0.00% python
 2257 msf 1   40 56340K 19836K sbwait 1   0:00  0.00%
 postgres
  582 msf 1  760 53920K 36916K select 0   0:11  0.00%
  postgres
  575 msf 1  760 53748K  3948K select 0   0:00  0.00%
  postgres
  588 msf 1  760 53708K 36704K select 0   0:03  0.00%
  postgres
  574 msf 1  760 53564K  3856K select 0   0:00  0.00%
  postgres
  586 msf 1  760 52140K 13912K select 0   0:00  0.00% python
 2641 root1   40 29388K  2876K sbwait 1   0:00  0.00% sshd
 2644 msf 1  760 29364K  2904K select 1   0:00  0.00% sshd
  578 msf 1  760 29224K  4140K select 0   0:02  0.00%
  postgres
  576 msf 1  760 29216K  4048K select 0   0:00  0.00%
  postgres
  583 msf 1  760 20488K  3940K select 0   0:00  0.00%
  postgres
  589 msf 1  760 20488K  3808K select 0   0:00  0.00%
  postgres
  579 msf 1  760 20484K  3896K select 0   0:00  0.00%
  postgres
  580 msf 1  810 19548K  3960K select 1   0:00  0.00%
  postgres
  584 msf 1  760 19536K  3936K select 1   0:00  0.00%
  postgres
  590 msf 1  760 19512K  3828K select 1   0:00  0.00%
  postgres

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


Re: horde on freebsd6

2006-02-13 Thread Philip Hallstrom

Hello,
  I've got php4 and apache installed on freebsd6 with several php4 
extensions. Now i want to install horde and imp to test them out while 
atempting to decide if horde would be suitable as a webmail solution. I try 
the install via ports, but pear always stops saying the port requires the cli 
or cgi version of php, but i have a conflicting port installed. I've already 
got php4 installed, does anyone have a workaround for this?

Thanks.


Not that I've done it, but /usr/ports/devel/pear/Makefile has this in it:

WANT_PHP_SCR=   yes

And in /usr/ports/Mk/bsd.php.mk there are these:

# WANT_PHP_CLI=yes  - Want the CLI version of PHP.
# WANT_PHP_CGI=yes  - Want the CGI version of PHP.
# WANT_PHP_MOD=yes  - Want the Apache Module for PHP.
# WANT_PHP_SCR=yes  - Want the CLI or the CGI version of PHP.
# WANT_PHP_WEB=yes  - Want the Apache Module or the CGI version of PHP.
# You may combine multiple WANT_PHP_* knobs.

So maybe it's as simple as:

make install WANT_PHP_MOD=yes

Maybe...

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


Re: Memory leak?

2006-02-13 Thread Robert Leftwich

On Tue, 14 Feb 2006 11:00:46 +1100, Robert Leftwich
 
 I can't see anything that explains the discrepancy. Below is the top -o
 size after a reboot, followed by the current top after 8 datasets (the
 extra python process is the analysis app - at a low memory usage point):

Oops, just noticed that the analysis app was at a *really* low memory
usage point, i.e. it wasn't running at all, having spat the dummy on
some bad data! So there wasn't any extra python app.

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


  1   2   >