Re: Poll: What's the best audio player

2007-02-14 Thread Christian Walther

On 13/02/07, Chris [EMAIL PROTECTED] wrote:

What is the best audio (MP3/OGG/Etc) to use under Gnome?


I was one of those Gnome-supporters and -lovers, too. Until I recently
came to the conclusion that there isn't this one particularly good
desktop environment. On the contrary, some Apps are good in KDE, while
others just rock in Gnome.
So i compiled KDE from ports.

To answer your question:
- Quod Libet and Rythmbox both had problems with my setup: Older
machine, audio library being mounted via NFS. Both didn't manage to
scan the library fast enough. This is not to say, that both needed
more than 2,5 hours or crashed. Python based players aren't an option
for me, especially when they rescan the entire library on startup.
- xmms and bmp(x) don't behave correctly. They have a window
management on their own. This is just bad, especially when you're on a
tiled WM just as ion3, wmii...
- I like cmus one the command line. Needs a bit to get used to it, but
you'll love it if you love vi.
- Right know I'm using Amarok (yes, the KDE audio player). I like
listening to Podcasts and Internet radio streams, and both are handled
quite nicely.

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


Re: kernel: vr0: discard oversize frame

2007-02-14 Thread Josh Paetzel
On Tuesday 13 February 2007 23:47, sai wrote:
 (apologies if this is an inappropriate list for this, I am
 relatively new to FreeBSD )

 I get this error quite frequently  on my pf firewall running 6.2
 and it leads to loss of internet access.
 kernel: vr0: discard oversize frame (ether type 710a flags 3 len
 1532

  max 1514)

 vr0 is connected to my ISPs cable modem, ip address is provided by
 DHCP. Whenever I get this oversized (or maybe malformed) packet I
 need to reboot my machine to get back online, though sometimes just
 resetting (down,  then up) the ethernet port works also.

 The machine also has rl ethernet cards and they also suffer from
 the same problem. It is not possible to change the ethernet cards
 as the machine is an appliance.

 Any pointers/suggestions/help?

 sai

I don't have any vr or rl cards, but see if you can increase the MTU 
on them.  See the ifconfig manpage for details on how to do so.  
Obviously you'd want to set it to at least 1532. :)

-- 
Thanks,

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


Re: How can I manually turn off the HDD?

2007-02-14 Thread Daniel Rudy
At about the time of 2/13/2007 10:58 AM, Chuck Swiger stated the following:
 On Feb 13, 2007, at 7:47 AM, [EMAIL PROTECTED] wrote:
 How can I turn off the HDD? .. and leave the buffers in the memory,  
 until the RAM is full .. then spin up the drive, write out the  
 data, then it turn off again.
 
 ENOTSUPPORTED, at least with FreeBSD.  Note that Apple has done a lot  
 of work to facilitate drive spindown for power-saving reasons for  
 their laptops, so MacOS X will make a reasonable attempt to spindown  
 the drives until really needed
 

There is a port called ataidle that you may want to look at.  It
programs the HDD to spin down after a specified timeout.

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


Re: [SOLVED] php5-mysql? (with added bonus for snort)

2007-02-14 Thread Roger Olofsson



Roger Olofsson skrev:

Dear Mailing List,

As usual I would like to thank the replies I go to my earlier questions 
and I will try and step up and answer the ones I can.


Now for my question,

After a recent buildworld/portupgrade everything seems to be up to date 
except a few and among those are php5-extensions and to be more precise 
php5-mysql.


php5-mysql and php5-extensions reports
configure: error: mysql configure failed. Please check config.log for 
more information.

===  Script configure failed unexpectedly.
Please report the problem to [EMAIL PROTECTED]

The requisites are met, all the following are ok:

Requires: autoconf-2.59_2, libiconv-1.9.2_2, libxml2-2.6.27, m4-1.4.8_1, 
mysql-client-5.0.33, perl-5.8.8, php5-5.2.1, pkg-config-0.21


autoconf reports autoconf-2.13.000227_5 as well as 2.59_2, could this be 
the problem?


I tried make deinstall ; make install of php5 and of mysql (both client 
and server) but no luck so far.


What can I do?

Grateful for any answers!

Greetings

/Roger




This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --with-mysql=/usr/local --with-zlib-dir=/usr 
--with-php-config=/usr/local/bin/php-config --prefix=/usr/local 
i386-portbld-freebsd6.2

## - ##
## Platform. ##
## - ##

hostname = scomber.salt.sea
uname -m = i386
uname -r = 6.2-STABLE
uname -s = FreeBSD
uname -v = FreeBSD 6.2-STABLE #0: Sat Feb 10 10:48:02 CET 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SCOMBER 


/usr/bin/uname -p = i386
/bin/uname -X = unknown

/bin/arch  = unknown
/usr/bin/arch -k   = unknown
/usr/convex/getsysinfo = unknown
hostinfo   = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown

PATH: /usr/local/libexec/autoconf259
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/games
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/X11R6/bin
PATH: /root/bin


## --- ##
## Core tests. ##
## --- ##

configure:1500: checking for egrep
configure:1510: result: grep -E
configure:1515: checking for a sed that does not truncate output
configure:1569: result: /usr/bin/sed
configure:1640: checking for i386-portbld-freebsd6.2-gcc
configure:1666: result: cc
configure:1948: checking for C compiler version
configure:1951: cc --version /dev/null 5
cc (GCC) 3.4.6 [FreeBSD] 20060305
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:1954: $? = 0
configure:1956: cc -v /dev/null 5
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.6 [FreeBSD] 20060305
configure:1959: $? = 0
configure:1961: cc -V /dev/null 5
cc: `-V' option must have argument
configure:1964: $? = 1
configure:1987: checking for C compiler default output file name
configure:1990: cc -O2 -fno-strict-aliasing -pipeconftest.c  5
configure:1993: $? = 0
configure:2039: result: a.out
configure:2044: checking whether the C compiler works
configure:2050: ./a.out
configure:2053: $? = 0
configure:2070: result: yes
configure:2077: checking whether we are cross compiling
configure:2079: result: no
configure:2082: checking for suffix of executables
configure:2084: cc -o conftest -O2 -fno-strict-aliasing -pipeconftest.c  5
configure:2087: $? = 0
configure:2112: result: 
configure:2118: checking for suffix of object files

configure:2139: cc -c -O2 -fno-strict-aliasing -pipe   conftest.c 5
configure:2142: $? = 0
configure:2164: result: o
configure:2168: checking whether we are using the GNU C compiler
configure:2192: cc -c -O2 -fno-strict-aliasing -pipe   conftest.c 5
configure:2198: $? = 0
configure:2202: test -z 
			 || test ! -s conftest.err

configure:2205: $? = 0
configure:2208: test -s conftest.o
configure:2211: $? = 0
configure:2224: result: yes
configure:2230: checking whether cc accepts -g
configure:2251: cc -c -g  conftest.c 5
configure:2257: $? = 0
configure:2261: test -z 
			 || test ! -s conftest.err

configure:2264: $? = 0
configure:2267: test -s conftest.o
configure:2270: $? = 0
configure:2281: result: yes
configure:2298: checking for cc option to accept ANSI C
configure:2368: cc  -c -O2 -fno-strict-aliasing -pipe   conftest.c 5
configure:2374: $? = 0
configure:2378: test -z 
			 || test ! -s conftest.err

configure:2381: $? = 0
configure:2384: test -s conftest.o
configure:2387: $? = 0
configure:2405: result: none needed
configure:2423: cc -c -O2 -fno-strict-aliasing -pipe   conftest.c 5
conftest.c:2: error: syntax error before me
configure:2429: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| 

NEED HELP

2007-02-14 Thread Ata ur Rehman Alvi

HELLO

I NEED YOUR HELP REGARDING INSTALLING FREE BSD ON MY NEWLY BOUGHT PC. MY PC
SPECS ARE
P4 D  3.4GHZ, 1024MB DDR2 667 RAM, GIGABYTE MOTHER BOARD 945PL-S3,
NX7300GT-TD256EH VIDEO CARD, SATA 250GB, 7200 RPM ( I DONT KNOW ITS SATA OR
SATA II, CAUZ I DONT KNOW HOW TO CHECK, CAN U PLZ TELL ME.).

I WANT TO INSTALL 6.2-RELEASE-i386-. ON MY PC. I AM TRYING TO READ AND
UNDERSTAND INSTALLATION NOTES. I HAVE DOWNLOADED FOLLOWING ITEMS FROM THIS
LINK   ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.2/ 


Jan 12 2007 14:51 25444352 6.2-RELEASE-i386-bootonly.iso
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.2/6.2-RELEASE-i386-bootonly.iso
Jan 12 2007 14:53601229312 6.2-RELEASE-i386-disc1.iso
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.2/6.2-RELEASE-i386-disc1.iso
Jan 12 2007 14:55670107648 6.2-RELEASE-i386-disc2.iso
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.2/6.2-RELEASE-i386-disc2.iso
Jan 12 2007 14:56197031936 6.2-RELEASE-i386-docs.iso
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.2/6.2-RELEASE-i386-docs.iso
Jan 12 2007 14:57  274 CHECKSUM.MD5
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.2/CHECKSUM.MD5
Jan 12 2007 14:58  414 CHECKSUM.SHA256
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.2/CHECKSUM.SHA256

I AM TOTALLY NEWBIE IN UNIX PLATEFORM. PLEASE HELP ME WITH MY PC SPECS
CAN I INSTALL FREE BSD 6.2 AND RUN IT PROPERLY AND LEARN IT
COMPLETELY.

I WOULD HIGHLY APPRECIATE YOUR HELP.



REGARS



ATA






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


Re: [SOLVED] Help please: how to enable SSH password authentication under FreeBSD 6.2? Solved - but not in an expected way

2007-02-14 Thread Olaf Greve

Hi again,

Well as mentioned yesterday, I couldn't let this one go by without at 
least trying to figure out the real reason, so I experimented somewhat 
further.



The issue of ssh1 vs. ssh2 appears to already be clarified, so I won't
go into it again.


Yes, indeed. I myself yesterday came to realise that I had incorrectly 
used the term SSH1 for password authentication, whereas it's basically 
just a different handshake and encryption protocol. My bad. :p


Then:


It shouldn't.  That's odd, as there's no reason to use SSH1 with FreeBSD
5.4 -- SSH2 worked just fine in 5.X.  I'd investigate your puTTY installation/
config, as it sounds to be corrupt.


Well, I did indeed run the daemon in debug mode, and from the traces I 
gather that the handshaking doesn't work properly. Towards the end of 
the traces, we find:


debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: client-server 3des-cbc hmac-sha1 none
debug1: kex: server-client 3des-cbc hmac-sha1 none
debug1: expecting SSH2_MSG_KEXDH_INIT
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
Connection closed by 192.168.1.103
debug1: do_cleanup
debug1: do_cleanup

And it never (or well, hardly ever) seems to get past that point.

I then checked if perhaps I could configure anything in PuTTY regarding 
the handshaking or so, and found very few options there (all yielding no 
better luck in connecting).


Then, I checked the PuTTY version, and found that it was release-0.50, 
whereas I read you used versions 0.58 and 0.59. D/L-ed version 0.59 and 
that works fine!


Sooo, indeed the PuTTY installation I had was flaky. For some reason it 
did work fine with my FreeBSD 5.4 installation, dunno why ?!?


Good, glad this one is solved and that it turned out to be such a 
trivial thing!


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


Re: Newbie--new install on Core 2 Duo?

2007-02-14 Thread Andreas Rudisch
On Wed, 14 Feb 2007 07:44:57 +0100, Abdullah Ibn Hamad Al-Marri  
[EMAIL PROTECTED] wrote:



Why shall you do the double job by installing the FreeBSD, then
reinstall it after adding SMP option to kernel? Couldn't we get
FreeBSD to install the right kernel based on the number of  the cpu(s)
in the system?


I recently installed FreeBSD 6.2 from scratch and the installer
automagically installed the SMP-kernel. So this feature is already
there.

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


On demand local account creation ?

2007-02-14 Thread Frank Bonnet

Hello

I'm searching for a utility that could manage local ( that is : using adduser 
or similar )
on demand account creation through a web interface on a 6.2 box ?

The ideal software would works when receiving email confirmation :-)


Thanks
___
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

2007-02-14 Thread Andreas Rudisch
On Wed, 14 Feb 2007 08:57:51 +0100, Ata ur Rehman Alvi  
[EMAIL PROTECTED] wrote:



HELLO

I NEED YOUR HELP REGARDING INSTALLING FREE BSD ON MY NEWLY BOUGHT PC.


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

Just read this chapter of the handbook and try not to use capital letters
all time.

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


Re: Newbie--new install on Core 2 Duo?

2007-02-14 Thread Daniel Rudy
At about the time of 2/13/2007 12:07 PM, pete wright stated the following:
 On 2/13/07, Gerard [EMAIL PROTECTED] wrote:
 On Tuesday February 13, 2007 at 01:42:23 (PM) pete wright wrote:


 how would you define correct?  have all systems boot with a SMP
 kernel by default so that machines with multiple processors
 automatically detect all available CPU's?  then what about all the
 users that are using uni-proc systems?

 i think the current state of building a system w/o SMP enabled is
 great.  it's not that hard to do a:

 cd /usr/src
 make buildkernel KERNCONF=SMP
 make installkernel KERNCONF=SMP
 reboot

 this is all covered in the FreeBSD handbook, which all new
 admin's/users should be reading and following closely anyway ;)
 It is also a hugh waste of time. Doing the initial system installation,
 there should be an option at the very least to enable SMP. Installing
 a system, then having to rebuilt and and reinstall it again if counter
 productive.

 The market is moving toward multiple CPUs. The FBSD installation routine
 should embrace that reality and afford it the proper consideration that
 it deserves.

 
 hmm...didn't realize that not loading a SMP kernel by default would
 turn people away from running FreeBSD.  building a kernel is much
 different from reinstalling a system though...
 
 OT, but - I know a fair amount of locations will have a custom kernel,
 and most large sites will script sysinstall to load a custom kernel as
 well.  yet, for junior admins maybe a boot time option allow one to
 load a SMP kernel during the install phase (which would also be the
 kernel the system boot's from after installation) may be helpfull.
 There are currently options to disable ACPI (granted that's a .ko) but
 perhaps there is precedent to do this.
 
 
 anyway, sounds like a good PR :)
 
 -pete
 
 
 

Interesting.

I have a computer here that's a AMD 64 3700 and it's not dual core, but
the board is capable of using a X2 processor, so loads a SMP kernel
anyways.  It seems to work just fine with the single core, single CPU.
The thing is though is that it refers to the CPU as cpu0.  Doing it this
way just might be the future...

Oh, and I didn't tell it to use the SMP kernel.  Sysinstall did that
itself.  So based on this behavior, if the bios reports SMP capable (the
bios shows CPU 0 during the post), then sysinstall loads a SMP kernel?

I have to turn acpi off though otherwise I get dead lock up problems.



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


mfi0 error

2007-02-14 Thread Arek Czereszewski
Hi all,

I have problem with managing SAS RAID with linux-megacli
System:
FreeBSD 7.0-CURRENT on i386
Megacli form ports
linux-megacli-1.01.09 LSI MegaRAID SAS controller management utility

Machine is Fujitsu Siemens TX200 S3 with
LSI Megaraid SAS 8300xlp (I have 5 SATA hd) - this controller work only
under 7.0 CURRENT.

I made raid 5 (via FSC ServerView) and now I try manage array.

If i check logical drive or physical drive (ld/pdinfo)
# megacli -PdInfo -physdrv \[1:1\] -aAll
Enclosure Number: 1
Slot Number: 1
Device Id: 1
Sequence Number: 2
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
Raw Size: 238475MB [0x1d1c5970 Sectors]
Non Coerced Size: 237963MB [0x1d0c5970 Sectors]
Coerced Size: 237952MB [0x1d0c Sectors]
Firmware state: Online
SAS Address(0): 0x12210100
Inquiry Data: ATA WDC WD2500JS-55N2E01 WD-WCANK9026749

As you can see everything is show OK.
But if i try turn any physycal drive to Offline mode or locate drive
system hang and on console I have a lots of messages:

mfi0: command 0xc64595f4 secound 54 timeout

Any idea what is going on?

Regards
Arek

-- 
Arek Czereszewski
arek (at) wup-katowice (dot) pl
UNIX is like a wigwam:
 no windows, no gates, apache inside.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Good synchronisation strategies (especially for the users and groups)?

2007-02-14 Thread Olaf Greve

Hi all,

I hope someone can give me some good advice regarding synchronisation 
strategies between two (very) different FreeBSD installations.


My live server runs FreeBSD 5.4 release AMD-64, and my fallback server 
runs FreeBSD 6.2 release i386.


The drive sizes do not match eiter, as the live machine has an U320 RAID 
10 array, with an array size of 73 Gb, and the fallback machine is 
'lighter' in this respect too, having only a U160 RAID 1 array with an 
array size of 36 Gb. I realise that at present the fallback machine has 
half the HDD storage space of the live server, but that's no problem (as 
the live server's storage space is only used for some 10% or so).


Obviously, ghosting images is no option. ;)

Previously I had set up (through cron) a nightly rsync strategy, (in 
combination with some shell scripts I wrote to directly update the DB, 
etc.) that took care of most of the synchronisation. Rsync was only 
allowed from the fallback's machines' (local) IP address, and the two 
machines were connected through a cross-wire cable with nothing in 
between. The server part of that is still configured, and the client 
part can be reconstructed, if necessary.


However, I seem to recall (not sure, anymore though) having heard and/or 
read (here, perhaps?) that there are better ways to synchronise than 
using rsync...


S, now that the time has arrived to setup a synchronisation 
strategy, I can either recreate an rsync strategy, or choose something 
else (if there are better alternatives). Also, I'd like to be able to 
(safely!) automatically synchronise users and groups that I may 
add/change/delete on the live server.


Regarding the data, the machine is mainly used as a webserver, running 
PHP, MySQL and some other things. For me, it is totally fine if the 
various versions of the installed software are not exactly the same, 
just as long as I can at least synchronise the data itself in a viable way.


Therefore, I hope someone can answer the following questions, and/or 
perhaps point me to some good reading material on the matter:

1) Is rsync a good way to go, or are there better ways to do this?
2) Regarding synching of user and group data: are there special ways to 
do this (i.e. including automatic creation of homedirectories etc.), or 
does one simply manually have to sync the users and groups files (and 
the user directories)?


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


Re: Good synchronisation strategies (especially for the users and groups)?

2007-02-14 Thread Andrea Venturoli

Olaf Greve wrote:

However, I seem to recall (not sure, anymore though) having heard and/or 
read (here, perhaps?) that there are better ways to synchronise than 
using rsync...


I guess you might have heard of ggated (8)  Co. This is quite different 
from rsync and might or might not be suited to your needs and 
configuration. It's more like ghosting in some way and you'll need a 
dedicated partition for our data.
Also, AFAIK, you should not mount your data unless you know the other 
server failed or both are mounting this data read-only.

I never tested this myself, anyway.

What is best for you depends much on how you access your data. Is it 
read-only or read/write?




Also, I'd like to be able to 
(safely!) automatically synchronise users and groups that I may 
add/change/delete on the live server.


I'm using OpenLDAP and nss_ldap for that. Works very well, in that 
syncronization is virtually immediate.
There are some caveats and this will introduce another possible point of 
failure, though.





Regarding the data, the machine is mainly used as a webserver, running 
PHP, MySQL and some other things.


WRT webserver data, it's just plain files, so it falls in the previous 
case. You should look for application level replication for databases.
I don't think PHP matters, but I can't really tell without knowing what 
you really have. Same goes for some other things.





1) Is rsync a good way to go, or are there better ways to do this?


See above, might be, might be not.



2) Regarding synching of user and group data: are there special ways to 
do this (i.e. including automatic creation of homedirectories etc.), or 
does one simply manually have to sync the users and groups files (and 
the user directories)?


See above for user and groups; home directories again fall into the 
filesystem part.



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


Re: FILE RECOVERY

2007-02-14 Thread Igor Robul

Ron Guilmet wrote:

  I have software that will do it in my windows pc, but I'm not really 
interested in what's on the drive as much as I am interested in how to work 
with this.
  

/usr/ports/sysutils/magicrescue
/usr/ports/sysutils/foremost
/usr/ports/graphics/recoverjpeg

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


IBM T60 laptop?

2007-02-14 Thread fbsd

Hi All,

I am looking for a good laptop to put FreeBSD (PCBSD) on. The general 
consensus seems to be that IBM make good units and that the T60 is a 
good choice. But when I look at the three components  that seem to cause 
most trouble in laptops 1. Graphics cards, 2. high definition audio and 
3. wireless cards, the T60 doesn't look so good.


So I'm a bit confused.

Ok, I know that some people are having success with a driver for the 
Intel 3945abg wireless, but it is still in development and not yet in 
the base system yet. In the short term, a wireless card can be used so 
this area can be overcome.


I don't know what is happening on the high definition audio front. I 
think a driver is being worked on but there is no work around until it 
becomes available. So for the moment there is no sound.


All the T60 models have either Intel or ATI graphic cards which don't 
have good support in FreeBSD (so I hear). In fact, a lot of people say 
always go for nVidia cards. This does not seem likely to change.


So the T60 seems to strike out in all three areas. In fact most modern 
laptops have the same problems.


So is my assessment correct? Or is there hope yet for the T60.

Thanks for any input.

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


SSH Lockup

2007-02-14 Thread Indigo

Hello Everyone,
 I just stumbled upon something very strange.
I just installed 6.2 on a machine that was sitting in it's own private  
network behind an older 5.4 machine:


Gateway
- Switch
- Workstation
- FreeBSD_5.4
- FreeBSD_6.2

Things worked fine and I was messing around with hardware and such -  
getting the machine somewhat ready.
Now that it's ready I rearranged the network a bit so I can start  
configuring mailserver and such:


Gateway
- Switch
- Workstation
- Switch
- FreeBSD_5.4
- FreeBSD_6.2

Ever since I did this - I can ping between the two machines and the 6.2  
can connect to 5.4, but I can't SSH to the 6.2 from the 5.4.

Even better - connecting directly from my Workstation works fine.

I tried flushing arp. But I just can't get the 5.4 to talk to 6.2 anymore.
nmap cant find any ports.
I can't find any log messages.
I suppose it's a fault on the 5.4 side - but what kind of error is it?

Do you have any idea of what kind of crazy voodoo can be going on?

Thanks,
Vasek


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


[SOLVED]SSH Lockup

2007-02-14 Thread Indigo

On Wed, 14 Feb 2007 12:21:42 +0100, Indigo [EMAIL PROTECTED] wrote:


Hello Everyone,
  I just stumbled upon something very strange.
I just installed 6.2 on a machine that was sitting in it's own private  
network behind an older 5.4 machine:


Gateway
- Switch
- Workstation
- FreeBSD_5.4
- FreeBSD_6.2

Things worked fine and I was messing around with hardware and such -  
getting the machine somewhat ready.
Now that it's ready I rearranged the network a bit so I can start  
configuring mailserver and such:


Gateway
- Switch
- Workstation
- Switch
- FreeBSD_5.4
- FreeBSD_6.2

Ever since I did this - I can ping between the two machines and the 6.2  
can connect to 5.4, but I can't SSH to the 6.2 from the 5.4.

Even better - connecting directly from my Workstation works fine.

I tried flushing arp. But I just can't get the 5.4 to talk to 6.2  
anymore.

nmap cant find any ports.
I can't find any log messages.
I suppose it's a fault on the 5.4 side - but what kind of error is it?

Do you have any idea of what kind of crazy voodoo can be going on?

Thanks,
Vasek


Just fixed it:
I had the local IP as an alias and public IP as the primary IP.
I switched this and things are okay again.

This won't bug me anymore once I finish my routing. But Im not sure this  
is correct behavior.


rc.conf before:
ifconfig_re0=inet --public--/29
ifconfig_re0_alias0=inet --local--/24
rc.conf after:
ifconfig_re0=inet --local--/24
ifconfig_re0_alias0=inet --public--/29

Or is my configuration wrong?

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


problem with rl network card

2007-02-14 Thread Anatoli Marinov

Hello :),

I have a little problem with my new network card so it does not want to
work with 6.2:

The result:


pciconf -l -v


 class= network

   subclass = ethernet

[EMAIL PROTECTED]:10:0:class=0x02 card=0x chip=0x81391904
rev=0x01 hdr=0x00

   class= network

   subclass = ethernet




uname -a


FreeBSD free.bsd-bg.net 6.2-RELEASE-p1 FreeBSD 6.2-RELEASE-p1 #1: Tue Feb 13
22:44:10 EET 2007
[EMAIL PROTECTED]:/mnt/ad0s1/system/obj/mnt/ad0s1/system/src/sys/MOON_6.2
i386



Kernel config:

device  miibus  # MII bus support

device  fxp # Intel EtherExpress PRO/100B (82557, 82558)

device  ed  # NE[12]000, SMC Ultra, 3c503, DS8390 cards

device  rl  # RealTek 8129/8139



Is there anybody that have idea how I can use this network card under
freebsd……
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: RT36 port WITH_APACHE2

2007-02-14 Thread Matthew Seaman
Joe Auty wrote:
 I figured this out,
 
 My pkgtools.conf make args needed to read:
 
 MAKE_ARGS = {
 snipped
 'www/rt36' = '-DWITH_APACHE2'
   }
 
 rather than:
 
 MAKE_ARGS = {
 snipped
 'www/rt36' = 'WITH_APACHE2'
   }
 
 
 Why is it that some make arguments in this file need the -D while  
 some don't? Hmmm.
 

It's not portupgrade that needs that, but make(1).  You can set make 
variables from the command line, and this is what portupgrade does to
exercise various options while building ports.

The syntax for make is either:

make VARIABLE=value

or 

make -DVARIABLE

where the latter is equivalent to saying

make VARIABLE=1

('D' for 'define')

Translating that into the format used by pkgtools.conf you can write
either:

MAKE_ARGS = {
snipped
'www/rt36' = '-DWITH_APACHE2'
}

or 

MAKE_ARGS = {
snipped
'www/rt36' = 'WITH_APACHE2=1'
}

You can also undefine a variable by:

   make -UVARIABLE

Cheers,

Matthew

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



signature.asc
Description: OpenPGP digital signature


Very Annoying PHP Errors

2007-02-14 Thread Peter Pluta
I recently upgraded to 5.2.1_1. After upgrading (or before not exactly 
sure) I began getting errors ALERT - canary mismatch on efree() - heap 
overflow detected in my Apache logs. Also, certain parts of one of my 
database (mysql) driven sites stopped working. Certain pages just 
stopped working, they return a blank white page. I'm absolutely stumped 
on what it could be. I have tried recompiling php 4-5x with different 
options and re-installing apache etc... Nothing is working. I looked for 
php bug reports, and found this one http://bugs.php.net/bug.php?id=40119 
but it does not really pertain to me. Can anyone give some pointers or 
tips on what to do?


Right now I am thinking of just downgrading to PHP 5.2.0 because that's 
what worked last. Is there an easy way to downgrade ports?


Any feedback, tips, or help would be greatly appreciated.

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


Compile of Python 2.4.4 core dumps

2007-02-14 Thread Rob Gallagher
Hi,

Upgrading to latest version of python24 port (2.4.4), the compilation process
core dumps shortly after it begins. Here is the output leading up to the core
dump:

cc -DNDEBUG -O2 -fno-strict-aliasing -pipe -D__wchar_t=wchar_t 
-DTHREAD_STACK_SIZE=0x2 -fPIC -fno-strict-aliasing -I. 
-I/usr/ports/lang/python24/work/Python-2.4.4/./Include -I/usr/local/include 
-I/usr/ports/lang/python24/work/Python-2.4.4/Include 
-I/usr/ports/lang/python24/work/Python-2.4.4 -c 
/usr/ports/lang/python24/work/Python-2.4.4/Modules/_cursesmodule.c -o 
build/temp.freebsd-6.2-RELEASE-i386-2.4/_cursesmodule.o
cc -shared -pthread -O2 -fno-strict-aliasing -pipe -D__wchar_t=wchar_t 
-DTHREAD_STACK_SIZE=0x2 
build/temp.freebsd-6.2-RELEASE-i386-2.4/_cursesmodule.o -L/usr/local/lib 
-lncurses -o build/lib.freebsd-6.2-RELEASE-i386-2.4/_curses.so
Segmentation fault (core dumped)

I'm running 6.2-RELEASE. I've upgraded another 6.2 box to python 2.4.4 without 
a problem, so I'm thinking the issue must lie with something on this system.

rg

-- 
We have an announcement to make... uh...  on July 4th of this 
 year, America will blow up the moon.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: kernel: vr0: discard oversize frame

2007-02-14 Thread sai

On 2/14/07, Josh Paetzel [EMAIL PROTECTED] wrote:

I don't have any vr or rl cards, but see if you can increase the MTU
on them.  See the ifconfig manpage for details on how to do so.
Obviously you'd want to set it to at least 1532. :)

--
Thanks,

Josh Paetzel



mtu is currently 1500.  ifconfig vr0 mtu 1532 leaves the mtu
unchanged, but  if I try to reduce it then  it does work,
ifconfig vr0 mtu 1498  sets mtu to 1498.  Looks like that 1500 is
the max that the vr driver/card will accept.

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


Re: Very Annoying PHP Errors

2007-02-14 Thread Alain Wolf
On 14.02.2007 12:38, * Peter Pluta wrote:
 I recently upgraded to 5.2.1_1. After upgrading (or before not exactly
 sure) I began getting errors ALERT - canary mismatch on efree() - heap
 overflow detected in my Apache logs. Also, certain parts of one of my
 database (mysql) driven sites stopped working. Certain pages just
 stopped working, they return a blank white page. I'm absolutely stumped
 on what it could be. I have tried recompiling php 4-5x with different
 options and re-installing apache etc... Nothing is working. I looked for
 php bug reports, and found this one http://bugs.php.net/bug.php?id=40119
 but it does not really pertain to me. Can anyone give some pointers or
 tips on what to do?
 
 Right now I am thinking of just downgrading to PHP 5.2.0 because that's
 what worked last. Is there an easy way to downgrade ports?
 
 Any feedback, tips, or help would be greatly appreciated.
 
 Thanks,
 Peter
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 

My php installations have also several and repeating errors, but its
difficult to analyze, because they keep changing.

While updating ports using portmanager or portmaster sometimes
installation of databases/php5-mysql or databases/php5-mysqli fails or
sometimes both but also sometimes both install without errors.

When errors occur, it has to do with missing mysql-client libraries, a
mysql-client port-installation is attempted and fails because
mysql-client is in fact already installed.

By manually deinstalling and reinstalling mysql-client port just before
the php-mysql port and php-mysqli port installation works, but maybe the
next days already same errors occur.

Sometimes all ports installe correctly but afterwards php fails to load
an installed extension (error message refers to missing functions). This
happened once with mysqli-extension, but not mysql and once with
sqlite-extension. Some others too, but I don't recall which ones.
Usually deinstalling and reinstalling the affected extension fixes it.
But there again, I may get the difficulties mentioned above.

So in summary, as a non programming observator, i think somehow
libraries which where successfully installed get lost at some point on
my systems.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Viewing on remote PC

2007-02-14 Thread White Hat
FreeBSD-6.2

I have a FBSD computer that I need to access via ssh from a WinXP machine 
running 'putty'. I am using ssh certificates for authorization. No problem 
there. I can do anything I want when I access the FBSD machine in this manner, 
except run something like KDE or XFCE4. I thought I made all of the required 
changes to the ssh_config and sshd_config as well as 'putty', but evidently not.

Situation:

I have 'startx' set to start 'xfce4' presently. If I type: 'startx' while 
logged in via ssh, xfce4 will start on the FBSD machine just fine. However, on 
the WinXP PC with 'putty', all I see are the start up messages on the screen. 
The actual GUI, etc. never appears. This makes using the program impossible 
from a remote location.

I am sure I am doing something really stupid here. Perhaps someone could point 
me i the right direction.

Thanks!
 
-- 

White Hat 
[EMAIL PROTECTED]


 

Expecting? Get great news right away with email Auto-Check. 
Try the Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Compile of Python 2.4.4 core dumps

2007-02-14 Thread Niclas Zeising

On 2/14/07, Rob Gallagher [EMAIL PROTECTED] wrote:

Hi,

Upgrading to latest version of python24 port (2.4.4), the compilation process
core dumps shortly after it begins. Here is the output leading up to the core
dump:

cc -DNDEBUG -O2 -fno-strict-aliasing -pipe -D__wchar_t=wchar_t 
-DTHREAD_STACK_SIZE=0x2 -fPIC -fno-strict-aliasing -I. 
-I/usr/ports/lang/python24/work/Python-2.4.4/./Include -I/usr/local/include 
-I/usr/ports/lang/python24/work/Python-2.4.4/Include 
-I/usr/ports/lang/python24/work/Python-2.4.4 -c 
/usr/ports/lang/python24/work/Python-2.4.4/Modules/_cursesmodule.c -o 
build/temp.freebsd-6.2-RELEASE-i386-2.4/_cursesmodule.o
cc -shared -pthread -O2 -fno-strict-aliasing -pipe -D__wchar_t=wchar_t 
-DTHREAD_STACK_SIZE=0x2 
build/temp.freebsd-6.2-RELEASE-i386-2.4/_cursesmodule.o -L/usr/local/lib 
-lncurses -o build/lib.freebsd-6.2-RELEASE-i386-2.4/_curses.so
Segmentation fault (core dumped)

I'm running 6.2-RELEASE. I've upgraded another 6.2 box to python 2.4.4 without 
a problem, so I'm thinking the issue must lie with something on this system.

rg



Usually if a compile coredumps it's due to faulty memory or other
hardware. Might be good to check that first. Especially since it
worked flawlessly on another box.
HTH
//Niclas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Viewing on remote PC

2007-02-14 Thread Vince
White Hat wrote:
 FreeBSD-6.2
 
 I have a FBSD computer that I need to access via ssh from a WinXP machine 
 running 'putty'. I am using ssh certificates for authorization. No problem 
 there. I can do anything I want when I access the FBSD machine in this 
 manner, except run something like KDE or XFCE4. I thought I made all of the 
 required changes to the ssh_config and sshd_config as well as 'putty', but 
 evidently not.
 
 Situation:
 
 I have 'startx' set to start 'xfce4' presently. If I type: 'startx' while 
 logged in via ssh, xfce4 will start on the FBSD machine just fine. However, 
 on the WinXP PC with 'putty', all I see are the start up messages on the 
 screen. The actual GUI, etc. never appears. This makes using the program 
 impossible from a remote location.
 
 I am sure I am doing something really stupid here. Perhaps someone could 
 point me i the right direction.
 
 Thanks! 
  
Windows != Xwindows and you need xwindows to display xwindows programs.
what you will need to do is either setup VNC server on your Freebsd
machine and access it via VNC to get a desktop (realvnc, tridia and
tight vnc are in ports,) or install X windows on your windows machine
(and make sure X forwarding is enabled in ssh.) I'd probably VNC as its
easier and faster except on high bandwidth links, but if you really want
Xwindow on your windows machine www.cygwin.com or
http://freedesktop.org/wiki/Xming are a good place to start.


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


Re: pf/ppp timing problem at startup

2007-02-14 Thread RW
On Wed, 14 Feb 2007 07:27:02 +0100
cpghost [EMAIL PROTECTED] wrote:

 There shouldn't be. Here there are. It's on a:
 
   FreeBSD 6.2-STABLE FreeBSD 6.2-STABLE #0: Tue Jan 16 14:45:10 CET
 2007
 
 /etc/ppp/ppp.conf:
 --
 
 default:
  set log Phase Chat LCP IPCP CCP tun command
  ident user-ppp VERSION (built COMPILATIONDATE)
 
 fw-9703:
   set device PPPoE:sis0
...
 
 /etc/rc.conf:
 -
 
 hostname=X
 gateway_enable=YES
 ifconfig_sis0=inet 10.10.0.1 mtu 1460 netmask 255.255.255.0

This looks a bit suspicious, the interface used by PPP isn't supposed
to be configured with an IP address.

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


Re: GMail [and other free email] and these lists?

2007-02-14 Thread Jeff Rollin

On 13/02/07, Ted Mittelstaedt [EMAIL PROTECTED] wrote:



- Original Message -
From: Gerard Seibert [EMAIL PROTECTED]
To: User Questions freebsd-questions@freebsd.org
Sent: Monday, February 12, 2007 2:16 PM
Subject: Re: GMail [and other free email] and these lists?


 On Monday February 12, 2007 at 04:45:44 (PM) Jeff Rollin wrote:


  In what way does Gmail suck?

 1) No White Listing
 2) No configurable SPAM Filtering
 3) Bcc doesn't work
 4) 500 message a day limit.
 5) No PGP or S/MIME support
 6) No able to 'Forward as Attachment'
 7) Doesn't handle 'sig delimiter'
 8) No ability to create or sort to folders.
 9) No IMAP support
 10. Is routinely blacklisted by SORBS, among other blacklisting
services.

 The list just goes on and on. Get on the GMail discussion list and see
 what some of it's users have to say about it. It is good enough for
 someone who's greatest need is writing to Grandma, but that is about it.


Hey, gmail rocks, I use it as a test mail account all of the time.  Not
for
production of course, but for sending test messages there's nothing wrong
with it. ;-)

Could anyone speculate as to why a user on gmail would have the nerve to
bitch about the service?  They are getting what they paid for, after all!
;-)


I will agree that some of these features (or lack of them) are annoying,

however Gmail does have the advantage of being accessible from wherever I
am, and being a whole heck of a lot faster than my ISP's Netmail service,
for example.

I haven't yet found the perfect email service/client, though. Maybe I should
post here when I do!

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


Re: GMail [and other free email] and these lists?

2007-02-14 Thread Andrew Pantyukhin

On 2/14/07, Jeff Rollin [EMAIL PROTECTED] wrote:

I haven't yet found the perfect email service/client,
though. Maybe I should post here when I do!


A personal dedicated box with a dozen of webmail clients
set up, accessible via IMAPv4 + mutt or whatever when you
are tired of web?..
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Dual boot problems (RESOLVED)

2007-02-14 Thread RW
On Tue, 13 Feb 2007 19:46:18 -0800
Garrett Cooper [EMAIL PROTECTED] wrote:

 RW wrote:
  On Tue, 13 Feb 2007 21:51:52 -0500 (EST)
  Questions [EMAIL PROTECTED] wrote:
  
  On Tue, 13 Feb 2007 20:44:03 -0500 (EST)
  Questions [EMAIL PROTECTED] wrote:
 
 
  However,  when I try FreeBSD/amd64, grub won't compile (it's
  architecture is forced to i386 only in the Makefile.  I haven't
  dug into why, but I'm confident there is a reason. Obviously,
  grub becomes a non-option.  Gag has the same limitation of being
  i386 only.
 
  I'm not sure why gag is i386 only, all it does is install a binary
  floppy disk ISO. You can also install it from many Linux live CDs.
  Once it's installed it's independent of the original installation
  medium.
 
 Probably because architecture stuff and bit length in 32-bit is
 half :)? Instruction set's a bit different too. There are some new
 features in the new Intel processors like overflow protection, etc,
 so I wouldn't doubt there are differences in ISA at the assembler
 level.


No, at the point Gag runs, the CPU isn't even 32-bit, let alone 64-bit.

The port just extracts a precompiled ISO file. It won't run on
anything that isn't PC compatible, so it isn't actually platform
independent, but it should run on any CPU with a real mode.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: kernel: vr0: discard oversize frame

2007-02-14 Thread Josh Paetzel
On Wednesday 14 February 2007 06:23, sai wrote:
 On 2/14/07, Josh Paetzel [EMAIL PROTECTED] wrote:
  I don't have any vr or rl cards, but see if you can increase the
  MTU on them.  See the ifconfig manpage for details on how to do
  so. Obviously you'd want to set it to at least 1532. :)
 
  --
  Thanks,
 
  Josh Paetzel

 mtu is currently 1500.  ifconfig vr0 mtu 1532 leaves the mtu
 unchanged, but  if I try to reduce it then  it does work,
 ifconfig vr0 mtu 1498  sets mtu to 1498.  Looks like that 1500 is
 the max that the vr driver/card will accept.

 sai

Probably your best bet at this point is to either get a card that will 
support a larger MTU (ala intel ethernet express), or contact your 
ISP and see if the MTU can be lowered on the modem (unlikely)

-- 
Thanks,

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


Re: phpMyAdmin httpd segmentation fault

2007-02-14 Thread Spil Oss

Terry,

Just solved my php / roundcube problems by removing -funroll-loops
from my CFLAGS in /etc/make.conf. Now I just have CFLAGS= -O2 -pipe

Recollection:
5.2.0   -march=pentium3m -O2 -pipe -funroll-loops   Fail
5.2.0   -march=pentium3 -O -pipe   Success
5.2.1   -march=pentium3m -O2 -pipe -funroll-loops   Fail
Tested:
5.2.1_1 -march=pentium3 -O -pipeSuccess
5.2.1   -march=pentium3m -O -pipe   Success
enable eaccelerator Success
enable suhosin  Success
5.2.1   -march=pentium3m -O2 -pipe  Success
5.2.1   -march=pentium3m -O2 -pipe -funroll-loops   Fail
5.2.1_1 -march=pentium3m -O2 -pipe  Success

So currently running apache-2.2.4 / php5-5.2.1_1 w/ suhosin 0.9.6.2 /
eaccelerator 0.95

rouncube running fine, but phpMyAdmin still won't fly

Kind regards,

Spil

On 13/02/07, Gerard Seibert [EMAIL PROTECTED] wrote:

On Tuesday February 13, 2007 at 06:13:41 (AM) Terry Todd wrote:


 I completed steps 1 through 6 that you suggested below.  Step 6 took
 two whole days to complete.  I had to babysit the blue screens of config.

 Sorry to say it still does the exact same thing.  httpd seg faults
 with no core file whenever the phpMyAdmin/index.php web page is browsed.

Strange! It works perfectly here. Assuming you have nothing strange in
your /etc/make.conf file, I am at a lose as to what the problem is.

Sorry!

--
Gerard
___
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: NEED HELP

2007-02-14 Thread Dak Ghatikachalam

On 2/14/07, Ata ur Rehman Alvi [EMAIL PROTECTED] wrote:


HELLO

I NEED YOUR HELP REGARDING INSTALLING FREE BSD ON MY NEWLY BOUGHT PC. MY
PC
SPECS ARE





P4 D  3.4GHZ, 1024MB DDR2 667 RAM, GIGABYTE MOTHER BOARD 945PL-S3,

NX7300GT-TD256EH VIDEO CARD, SATA 250GB, 7200 RPM ( I DONT KNOW ITS SATA
OR
SATA II, CAUZ I DONT KNOW HOW TO CHECK, CAN U PLZ TELL ME.).

I WANT TO INSTALL 6.2-RELEASE-i386-. ON MY PC. I AM TRYING TO READ AND
UNDERSTAND INSTALLATION NOTES. I HAVE DOWNLOADED FOLLOWING ITEMS FROM THIS
LINK   ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.2/ 


Jan 12 2007 14:51 25444352 6.2-RELEASE-i386-bootonly.iso







ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.2/6.2-RELEASE-i386-bootonly.iso

Jan 12 2007 14:53601229312 6.2-RELEASE-i386-disc1.iso

ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.2/6.2-RELEASE-i386-disc1.iso

Jan 12 2007 14:55670107648 6.2-RELEASE-i386-disc2.iso



Burn these 2 images into cdrom and boot with disk 1, that will boot up the
cdrom, of course you need to  alter the boot sequence in Bios to it boots
via cdrom.

Even before doing anything there refer  to
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html

By the way avoid using  full capital letters or upper case letters on
emails, that just means you are shouting  or yelling or screaming at people
for responses in email.


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


Re: GMail [and other free email] and these lists?

2007-02-14 Thread Christian Walther

On 14/02/07, Andrew Pantyukhin [EMAIL PROTECTED] wrote:

On 2/14/07, Jeff Rollin [EMAIL PROTECTED] wrote:
 I haven't yet found the perfect email service/client,
 though. Maybe I should post here when I do!

A personal dedicated box with a dozen of webmail clients
set up, accessible via IMAPv4 + mutt or whatever when you
are tired of web?..


Been there, done that I'd say... But it's a pain to do system
administration all the day. Years ago this was fun, but nowadays you
have to waste your time with staying up to date with firewall
configurations, bugs and their exploits. New ways for spammers to get
their unwanted mails into my inbox so I need to install new products,
applying patches...
I'm a (Solaris) Sysadmin responsible for several hundred boxes, so
when I come home i want to have some fun with my private machines.
Fighting another round in the war for security in the Internet isn't
fun for me.

Yes, I know, in this case I have to trust that the companies i sign up
with do their job, but I hope that they have departments that dedicate
their time to their tasks.

I consider gmail to be one of the best free mail providers on this
planet. I get more then I paid for. That is to say, I can store nearly
3GB of data on their servers, leaving enough room for even the biggest
mails - and a nice mailing list archive. :-D
Most important is that they don't append commercials to sent mail. And
the ads displayed while in the inbox aren't that noticable.
I had accounts with mail providers such as gmx.net, yahoo, web.de (a
german provider who has won over 40 prices for his freemail service --
don't ask me why). I've seen freemail web sites that were crowded with
ads, or account being limited to 500 mails in total. Ridiculus limits
for attachment sizes. The list goes on and on.
What I really like with google is the label-thing. I don't like mails
being sorted in folders, so it suits me perfectly.

On the other side it's what google can do with my data that makes me
nervous. So nothing is perfect, but for me gmail is the service that
comes closest to it.

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


Re: GMail [and other free email] and these lists?

2007-02-14 Thread Andy Greenwood

On 2/14/07, Christian Walther [EMAIL PROTECTED] wrote:

On 14/02/07, Andrew Pantyukhin [EMAIL PROTECTED] wrote:
 On 2/14/07, Jeff Rollin [EMAIL PROTECTED] wrote:
  I haven't yet found the perfect email service/client,
  though. Maybe I should post here when I do!

 A personal dedicated box with a dozen of webmail clients
 set up, accessible via IMAPv4 + mutt or whatever when you
 are tired of web?..

Been there, done that I'd say... But it's a pain to do system
administration all the day. Years ago this was fun, but nowadays you
have to waste your time with staying up to date with firewall
configurations, bugs and their exploits. New ways for spammers to get
their unwanted mails into my inbox so I need to install new products,
applying patches...
I'm a (Solaris) Sysadmin responsible for several hundred boxes, so
when I come home i want to have some fun with my private machines.
Fighting another round in the war for security in the Internet isn't
fun for me.

Yes, I know, in this case I have to trust that the companies i sign up
with do their job, but I hope that they have departments that dedicate
their time to their tasks.

I consider gmail to be one of the best free mail providers on this
planet. I get more then I paid for. That is to say, I can store nearly
3GB of data on their servers, leaving enough room for even the biggest
mails - and a nice mailing list archive. :-D


I agree completely.I rolled a script that emails my bzipped log files
to gmail too, so I can rotate them out sooner and save that much more
space on my ancient PII.


Most important is that they don't append commercials to sent mail. And
the ads displayed while in the inbox aren't that noticable.
I had accounts with mail providers such as gmx.net, yahoo, web.de (a
german provider who has won over 40 prices for his freemail service --
don't ask me why). I've seen freemail web sites that were crowded with
ads, or account being limited to 500 mails in total. Ridiculus limits
for attachment sizes. The list goes on and on.
What I really like with google is the label-thing. I don't like mails
being sorted in folders, so it suits me perfectly.

On the other side it's what google can do with my data that makes me
nervous. So nothing is perfect, but for me gmail is the service that
comes closest to it.

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




--
--
I'm nerdy in the extreme and whiter than sour cream
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: snd_eny24ht fails to build in kernel [WAS: Creative Sound Blaster X-Fi Xtreme Audio]

2007-02-14 Thread O. Hartmann

Alexander Leidinger wrote:
Quoting O. Hartmann [EMAIL PROTECTED] (from Tue, 13 Feb 
2007 14:57:56 +0100):



All right,
then the question shouldn't be lined up on snd_emu10kx, I saw that this
type of soundcard utilize the CMedia CMI8738 chipset and there is
already a driver called snd_cmi.
The big, bad, ugly question is: will FreeBSD 7.0-CURRENT support any of
the X-Fi soundcards from creative?


No. Creative doesn't provide docs for any product.


This is bad to hear, it reflects a bad attitude of some hardware 
providing companies.





At the moment, I have onboard sound (which is boring) and Soundblaster
Audigy SE, which is NOT supported by FreeBSD 7 and OSS driver for amd64
crashes the box - so need alternatives.


There are some options:
 - usb audio device (I have one from Creative)
 - envy24 based one
   * 
http://www.freebsd.org/cgi/man.cgi?query=snd_envy24apropos=0sektion=0manpath=FreeBSD+7-currentformat=html 

   * 
http://www.freebsd.org/cgi/man.cgi?query=snd_envy24htapropos=0sektion=0manpath=FreeBSD+7-currentformat=html 


 - an used one


Thank you very much for the hint. M-Audio is now in my focus. Hope I 
will have more luck with the 5.1 version.


Nearby, I tried to compile snd_envy24ht/snd_spicds into the kernel 
(FreeBSD 7.0-CURRENT/AMD64, cvsupdated and makeworld yesterday), but the 
sources for this driver fail to compile (made a PR, sorry ahving the PR 
No. not handy). Compiling kernel without this driver and loading it as a 
module works fine for me.


Regards,
Oliver

--
Oliver Hartmann
Freie Universitaet Berlin
Planetologie und Fernerkundung
Malteserstr. 74 - 100/Haus D
D-12249 Berlin
___
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

2007-02-14 Thread Garrett Cooper

Dak Ghatikachalam wrote:

On 2/14/07, Ata ur Rehman Alvi [EMAIL PROTECTED] wrote:


HELLO

I NEED YOUR HELP REGARDING INSTALLING FREE BSD ON MY NEWLY BOUGHT PC. MY
PC
SPECS ARE





P4 D  3.4GHZ, 1024MB DDR2 667 RAM, GIGABYTE MOTHER BOARD 945PL-S3,

NX7300GT-TD256EH VIDEO CARD, SATA 250GB, 7200 RPM ( I DONT KNOW ITS SATA
OR
SATA II, CAUZ I DONT KNOW HOW TO CHECK, CAN U PLZ TELL ME.).

I WANT TO INSTALL 6.2-RELEASE-i386-. ON MY PC. I AM TRYING TO READ AND
UNDERSTAND INSTALLATION NOTES. I HAVE DOWNLOADED FOLLOWING ITEMS FROM 
THIS

LINK   ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.2/ 


Jan 12 2007 14:51 25444352 6.2-RELEASE-i386-bootonly.iso






ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.2/6.2-RELEASE-i386-bootonly.iso 



Jan 12 2007 14:53601229312 6.2-RELEASE-i386-disc1.iso

ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.2/6.2-RELEASE-i386-disc1.iso 



Jan 12 2007 14:55670107648 6.2-RELEASE-i386-disc2.iso



Burn these 2 images into cdrom and boot with disk 1, that will boot up the
cdrom, of course you need to  alter the boot sequence in Bios to it boots
via cdrom.

Even before doing anything there refer  to
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html

By the way avoid using  full capital letters or upper case letters on
emails, that just means you are shouting  or yelling or screaming at people
for responses in email.


regards
Dak


Shouting classifies your message as spam in many cases by spam assassin, 
which means that we won't answer your question in a timely manner.


Watch out for the weekly how to ask question on freebsd-questions 
email--it has all the tips asked for when asking questions on this list 
to make sure stuff gets asked and answered in a timely manner.


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


Re: packet destination from pcap

2007-02-14 Thread nocturnal

Hi

After i wrote the e-mail to the list i figured out how to get the 
ethernet destination address of the packet. I'm not sure but this might 
help me because i need to figure out if the packet is moving towards me 
or away from me on the interface i've chosen. So i can compare this with 
the ethernet address of my chosen interface and figure out where it's 
going.


Stop me if i'm wrong. :)



Med vänliga hälsningar

Stefan Midjich aka nocturnal
[Swehack] http://swehack.se


Giorgos Keramidas wrote:

On 2007-02-04 20:16, nocturnal [EMAIL PROTECTED] wrote:

Hi
I'm sniffing packets with pcap but i need information about where the
packet is going.


This is a decision made by the routing table, so there's no good way to
'guess' where it will go before the packet reaches the outgoing queue of
the IP layer.


I'm thinking i need to open two pcap sessions with two different
filters because the application i'm writing has a need for
distinguishing between packets going to a specified ip-address and
those going from it.


Well, the destination IP address should be easy to grab.  Even if you do
get hold of that though, you may have to listen to multiple pcap
connections to find out where the routing decisions send the packet on
its way out.




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


Re: Poll: What's the best audio player

2007-02-14 Thread Simon Phoenix
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Chris said the following on 13.02.2007 21:33:
 What is the best audio (MP3/OGG/Etc) to use under Gnome?

Audacious is a best for me.

- --
Best regards,
Simon Phoenix (Phoenix Lab.)
- ---
KeyID: 0x2569D30B
Fingerprint: 78FC 5C40 07CC D331 148E CC79 84B8 D514 2569 D30B
- ---
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF0zL9hLjVFCVp0wsRCqHsAJ9l2IaoFVxyUv/QYOT2uQv2s7Ta3gCfYnBj
xqZ6Fb98UKl45VYrAZG5NbI=
=/EqK
-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]


weird routing problem

2007-02-14 Thread Andy Greenwood

My network looks like this:

+--+ +--+ +-+ +--+
| Internet | - | Tiny | - | linksys | - | Behemoth |
+--+ +--+ +-+ +--+
 \
(WiFi)
   \
+-+
| various |
+-+


Tiny is my firewall, and it forwards all ssh and http traffic to
Behemoth. I also forward port 3389 to one of the clients on the
wireless network. I can get into the remote desktop on my machine
running XP and ssh to behemoth from there, but can't from the outside.
Once I am logged into Behemoth, I can't ping anything on the outside.
If I try to ping my default gateway, 192.168.2.1, I get Ping: Sendto:
Host is down If I try to ping anything else, I get Ping: Sendto: No
route to host

[EMAIL PROTECTED] ~]$ ifconfig
dc0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   options=8VLAN_MTU
   inet 192.168.2.10 netmask 0xff00 broadcast 192.168.2.255
   ether 00:0c:41:e2:ae:75
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500
pflog0: flags=0 mtu 33208
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
   inet 127.0.0.1 netmask 0xff00
[EMAIL PROTECTED] ~]$ netstat -rn
Routing tables

Ineternet:
DestinationGatewayFlagsRefs  Use  Netif Expire
default192.168.2.1UGS 0  447dc0
127.0.0.1  127.0.0.1  UH  0  604lo0
192.168.2  link#1 UC  00dc0
192.168.2.1link#1 UHLW22dc0
192.168.2.10   00:0c:41:e2:ae:75  UHLW1   10lo0
168.168.2.100  00:12:17:6a:32:7e  UHLW1 2239dc0623
[EMAIL PROTECTED] ~]$ ping google.com
ping: cannot resolve google.com: Host name lookup failure
[EMAIL PROTECTED] ~]$ ping 64.233.167.99
PING 64.233.167.99 (64.233.167.99): 56 data bytes
ping: sendto: No route to host
ping: sendto: No route to host
^C
--- 64.233.167.99 ping statistics ---
2 packets transmitted, 0 packets recieved, 100% packet loss

The weird thing is that I'm logged into this box over ssh. I shouldn't
be able to connect to the box if there's something wrong with the
routing, correct?

I have already tried setting the mtu to 1400 with no result and
rebooting, also with no result, but I'm really not sure where to go
from here. Any help on this would be much appreciated. I've attached
my pf.conf, but it hasn't changed in a few weeks and this just started
happening a couple days ago. It coincided with me adding my new Wii to
the wireless network, but I can't see how that could've messed up the
routing on Behemoth.

--
--
I'm nerdy in the extreme and whiter than sour cream
# Macro definitions
ext_if = dc0  # replace with actual external interface name i.e., dc0
int_if = dc1  # replace with actual internal interface name i.e., dc1
local_net = 192.168.0.0/16# IP addresses used internally

table bruteforce persist file /var/db/ssh-bruteforce # Table of IP 
addresses blocked by bruteforce

set skip on lo0

scrub all # Scrub Everything

altq on $ext_if bandwidth 250Kb priq queue { tcp_ack, dns, ssh_fast, lan, http, 
ssh_bulk, torrent } # outgoing queues for prioritzation
queue tcp_ack   priority 7 priq # Queue for Tcp ack 
packets - low volume, high speed
queue dns   priority 6 priq # queue for dns queries 
and responses
queue ssh_fast  priority 4 priq # interactive ssh 
traffic
queue lan   priority 3 priq(default)# queue for lan clients
queue http  priority 2 priq # queue for http traffic
queue ssh_bulk  priority 1 priq # Queue for bulk (sftp, 
scp) ssh traffic
queue torrent   priority 0 qlimit 100   # The torrent queue

nat on $ext_if from $local_net - ($ext_if) # nat localnet's packets to the 
firewall's external interface
rdr on $ext_if proto tcp from any to any port { 22, 80 } - 192.168.2.10
rdr on $int_if proto tcp from $local_net to ($int_if) port 22 - 192.168.1.1
rdr on $int_if proto tcp from any to ($ext_if) port { 80, 3150, 49160:49300 } 
- 192.168.2.10
rdr on $ext_if proto tcp from any to any port { 32459, 4662 } - 192.168.2.100
rdr on $ext_if proto udp from any to any port 4672 - 192.168.2.100
rdr on $ext_if proto { tcp, udp } from any to any port 3389 - 192.168.2.100

block log all # Default block rule
block in log quick proto tcp from bruteforce to any port { 22, 80 }

# Antispoof rules
antispoof for $ext_if

# General Rules
pass in log quick on $ext_if inet proto tcp from any to any port 22 \
flags S/SA keep state queue (ssh_bulk, ssh_fast) # pass in ssh logins
pass 

Re: Very Annoying PHP Errors

2007-02-14 Thread Kevin Kinsey

Peter Pluta wrote:
I recently upgraded to 5.2.1_1. After upgrading (or before not exactly 
sure) I began getting errors ALERT - canary mismatch on efree() - heap 
overflow detected in my Apache logs. 


That sounds a tad troubling, and is rather over my head.  It does appear 
that some people believe that recent changes in the Zend Memory Manager 
have been a tad, err, hasty|ill-advised|to be sneered at.


Like I say, way over my head.  Considering 5.2.1 was released six days 
ago, you may have found a new bug!  Congratulations!??


Also, certain parts of one of my 
database (mysql) driven sites stopped working. Certain pages just 
stopped working, they return a blank white page. 


This is indicative of a PHP stop error, with PHP's error_reporting 
directive set to off.  You might try adjusting the value of the 
display_errors directive in php.ini to ON (and restarting apache), or, 
on a page-by-page basis (or in a header file if the PHP site using such 
things), adding the line:


 error_reporting(E_ALL);

 to the top of each affected file.  PHP will most likely tell you 
what the error is from its POV, which might well help you decide what 
course of action to take.  For more info, see:


  www.php.net/error_reporting

Of course, it's possible that you'll simply get the same error - only 
now it's displayed on the page instead of the Apache log.  Perhaps it 
will give a line number or tell what PHP call produced the error ... 
might help a little bit.


I'm absolutely stumped 
on what it could be. I have tried recompiling php 4-5x with different 
options and re-installing apache etc... Nothing is working. I looked for 
php bug reports, and found this one http://bugs.php.net/bug.php?id=40119 
but it does not really pertain to me. Can anyone give some pointers or 
tips on what to do?




Take a deep breath and a cup of {beverage}; chances are pretty good that 
you will find out what's wrong.  Sounds like, according to your 
description above, some problem with the MySQL extension to PHP, or 
PHP's loading of said extension, or the order in which things were 
compiled, or the options in extensions.ini, etc.


Oh, and see above ;-)

Of course, if it's a real live PHP bug, it won't be quite as easy as 
changing an .ini file.


Right now I am thinking of just downgrading to PHP 5.2.0 because that's 
what worked last. Is there an easy way to downgrade ports?




I'd not go there just yet; but, it's possible to use cvsup to get an 
older version of the ports tree, yes.  What kind of a mess you might get 
into as a result, I'm not sure.  It might be possible to uninstall all 
the affected ports and grab packages that were built by the FBSD team 
for 6.2-RELEASE;  they would likely work, although you'll be using an 
older PHP as a result; that's what's maddening about attempting to stay 
ahead of the bad guyz these days.  PHP 5.2.1, for example, is supposed 
to *fix* some potential security problems . . . not cause DOS.




Any feedback, tips, or help would be greatly appreciated.

Thanks,
Peter


Hopefully it's worth something.

Kevin D. Kinsey

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


Re: Dual boot problems

2007-02-14 Thread Jerry McAllister
Howdy,

 Hello,
 This weekend I purchased a laptop with a core2duo processor. The laptop
 came with windows Vista premier. Due to some applications that I require,
 removing Vista and installing FreeBSD is not an issue. (Please leave the
 Vista/Microsoft flames at the door)
 
 When I install FreeBSD/i386,  I can then install grub (instead of
 FreeBSD's bootloader) and I can have grub chainload the Vista
 bootloader.  All works fine.
 
 However,  when I try FreeBSD/amd64, grub won't compile (it's architecture
 is forced to i386 only in the Makefile.  I haven't dug into why, but I'm
 confident there is a reason. Obviously, grub becomes a non-option.  Gag
 has the same limitation of being i386 only.

Do you really need to use Grub to replace the FreeBSD MBR?
I haven't had my hands on Vista yet - in no hurry either - 
but I think it should boot Vista OK.   I've use it for several
other MS versions from Win-95 - Win 2K - Xp-Pro and it works 
just fine.   I haven't heard that any low level boot code (at the
level the MBR works) has been changed in Vista, though I haven't
been out looking yet either.

I would be interested to know if they have changed the BIOS to MBR to
boot sector handoff specs if something has happened to it.

jerry


 Has anyone successfully been able to dual boot Vista + FreeBSD/amd64?  I'm
 eager to have both on the laptop, however I've spent the entire weekend
 scouring google, and reinstalling both freebsd (i386 and amd64 versions)
 and have reinstalled vista at least 8 times.
 
 I've already thought about using the windows bootloader,  but Vista has
 done away with NTLDR/boot.ini in favor of BCD.   editing BCD seems
 non-trivial at best, and frankly I'm getting tired of reinstalling OS's;
 so I thought I'd ask around instead of reinventing the wheel.
 
 
 Thank you in advance for any advice, or input.  Also thanks in advance for
 leaving the irrelevant MS hatred out of the thread.
 
 - Jeff Palmer
 
 
 ___
 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]


Fwd: Poll: What's the best audio player

2007-02-14 Thread Jeff Rollin

-- Forwarded message --
From: Jeff Rollin [EMAIL PROTECTED]
Date: 14-Feb-2007 16:25
Subject: Re: Poll: What's the best audio player
To: [EMAIL PROTECTED]



On 13/02/07, Chris [EMAIL PROTECTED] wrote:


What is the best audio (MP3/OGG/Etc) to use under Gnome?



I don't use GNOME, but if I were I would still be using amaroK unless there
were a compelling reason not to (as in, it didn't work!)

Jeff



--
Now, did you hear the news today?
They say the danger's gone away
But I can hear the marching feet
Moving into the street

Adapted from Genesis, Land of Confusion

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


Re: How can I manually turn off the HDD?

2007-02-14 Thread Steve Franks

I had heard the automounter could accomplish this as well when I was
researching the same topic, but never got around to trying it (had
major problems with a raid driver instead)
Steve

On 2/14/07, Daniel Rudy [EMAIL PROTECTED] wrote:

At about the time of 2/13/2007 10:58 AM, Chuck Swiger stated the following:
 On Feb 13, 2007, at 7:47 AM, [EMAIL PROTECTED] wrote:
 How can I turn off the HDD? .. and leave the buffers in the memory,
 until the RAM is full .. then spin up the drive, write out the
 data, then it turn off again.

 ENOTSUPPORTED, at least with FreeBSD.  Note that Apple has done a lot
 of work to facilitate drive spindown for power-saving reasons for
 their laptops, so MacOS X will make a reasonable attempt to spindown
 the drives until really needed


There is a port called ataidle that you may want to look at.  It
programs the HDD to spin down after a specified timeout.

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




--
Steve Franks, KE7BTE
Staff Engineer
La Palma Devices, LLC
http://www.lapalmadevices.com
(520) 312-0089
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Poll: What's the best audio player

2007-02-14 Thread Peter A. Giessel
On 2007/02/13 10:33, Chris seems to have typed:
 What is the best audio (MP3/OGG/Etc) to use under Gnome?


I use KDE and XFCE, but between MPlayer and XMMS, I much prefer XMMS
for purely audio files.  MPlayer is great for multimedia, but XMMS is
better for purely audio in my opinion.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


i have no share/xsl/docbook/slides/html/param.xsl

2007-02-14 Thread Andrew Wingorodov

Need for slides.

[EMAIL PROTECTED] find  /usr/local/share/xsl/docbook/ | grep param.xsl
/usr/local/share/xsl/docbook/fo/param.xsl
/usr/local/share/xsl/docbook/html/param.xsl
/usr/local/share/xsl/docbook/manpages/param.xsl
/usr/local/share/xsl/docbook/wordml/param.xsl
/usr/local/share/xsl/docbook/xhtml/param.xsl
[EMAIL PROTECTED]

:-(

[EMAIL PROTECTED] pkg_info | grep docbook
docbook-1.3 Meta-port for the different versions of the DocBook DTD
docbook-241_2   V2.4.1 of the DocBook DTD, designed for technical documenta
docbook-3.0_2   V3.0 of the DocBook DTD, designed for technical documentati
docbook-3.1_2   V3.1 of the DocBook DTD, designed for technical documentati
docbook-4.0_2   V4.0 of the DocBook DTD, designed for technical documentati
docbook-4.1_2   V4.1 of the DocBook DTD, designed for technical documentati
docbook-sk-4.1.2_3  XML version of the DocBook DTD version controlled for Scrol
docbook-xml-4.2_1   XML version of the DocBook DTD
docbook-xsl-1.71.1_2 XSL DocBook stylesheets
sdocbook-xml-1.1,1  Simplified DocBook XML DTD

FreeBSD andr.shtrih.local 6.2-RELEASE FreeBSD 6.2-RELEASE #3: Thu Jan
18 11:23:36 MSK 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SHTRIH  i386


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


Re: kernel: vr0: discard oversize frame

2007-02-14 Thread sai

On 2/14/07, Jeffrey Goldberg [EMAIL PROTECTED] wrote:

On Feb 14, 2007, at 6:23 AM, sai wrote:

 mtu is currently 1500.  ifconfig vr0 mtu 1532 leaves the mtu
 unchanged, but  if I try to reduce it then  it does work,
 ifconfig vr0 mtu 1498  sets mtu to 1498.  Looks like that 1500 is
 the max that the vr driver/card will accept.

I have a vr0 with the mtu 1500 and so far (four days only) I've had
no problems.  But I'm not (yet) running pf, and unlike your case, my
mini-ITX box is sitting behind a firewall instead of acting as one.

-j



Searching leads me to believe that this sort of packet is probably
generated by some broken switch/router somewhere on the ISPs network
(maybe a client). However it is worrying that its quite simple to
shutdown a FreeBSD machines network access.

sai




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


Re: GMail [and other free email] and these lists?

2007-02-14 Thread Mike Fern

On 2/14/07, Andy Greenwood [EMAIL PROTECTED] wrote:

I agree completely.I rolled a script that emails my bzipped log files
to gmail too, so I can rotate them out sooner and save that much more
space on my ancient PII.



wow, PII these days..
is anybody still running on 486? :D

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


Re: Dual boot problems

2007-02-14 Thread Jerry McAllister
On Wed, Feb 14, 2007 at 12:04:57PM -0500, Jeff Palmer wrote:

 
 Do you really need to use Grub to replace the FreeBSD MBR?
 I haven't had my hands on Vista yet - in no hurry either -
 but I think it should boot Vista OK.   I've use it for several
 other MS versions from Win-95 - Win 2K - Xp-Pro and it works
 just fine.   I haven't heard that any low level boot code (at the
 level the MBR works) has been changed in Vista, though I haven't
 been out looking yet either.
 
 I would be interested to know if they have changed the BIOS to MBR to
 boot sector handoff specs if something has happened to it.
 
 jerry
 
 
 Jerry,
 
 
 I can confirm the FreeBSD bootloader does *not* work with 
 vista.from my research, it appears vista now writes some kind of 
 signature or hash into the MBR for the bitlocker technology.if 
 you modify the MBR with a bootloader (that doesn't chainload)  then 
 the checksum/hash doesn't match, and vista complains that the 
 drive/data is corrupted.   It will not boot.
 
Geez.  Damn cretins.   Just another attempt to jerk the user around
and strongarm control the use of the system.   

Thanks for the info.

jerry

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


Cannot get freebsd up and running...

2007-02-14 Thread Josh Makler

   !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN I
   first posted this on a FreeBSD help forum, where I was quicklyredirected 
here (I guess this is a serious issue...)
   I'm going to = copy/paste my post here:
   first off my hardware is:
   AMD 3800+
   1GB RAM
   NviDia 7900 GT OC gfx card
   DVDRW/CDRW drive
   ??? Hard drive with windows XP on it (came with the PC...)
   SeaGate ST340810A Hard drive as slave (This one has FreeBSD on it)
   I added on to an EMachines T6536 to get this setup... I cannot find
   any info on my motherboard at all... I think its an American
   Megatrends board though.
   OK, this problem is not a simple one to diagnose, and probably near
impossible to fix.
   when I began to install FreeBSD (Actually PC-BSD, but it is 100% the
   same aside from the installer pretty much...) It gave me errors about
   ACPI (which my PC here does support...) I got through the installer by
   disabling ACPI, but it doesn't work that way when I try to start it
   up.
   these errors were:


   Code:


   ACPI-0397: *** Error: = NsSearchAndEnter: Bad character in ACPI
   name:43005350
   ACPI-0397: = *** Error: looking up[0x430005350] (NON-ASCII)
   in namespace, = AE_BAD_CHARACTER
   ACPI-0204: *** Error: AcpiLoadTables: could not = load namespace:
   AE_BAD_CHARACTER
   ACPI-0213: *** Error: = AcpiLoadTables: Could not load tables:
   AE_BAD_CHARACTER
   ACPI: table = load failed: AE_BAD_CHARACTER
   MADT: ACPI Startup failed with = AE_BAD_CHARACTER

   the other errors are not so easy to describe. They move rapidly down
   the screen, and repeat over and over again until I pull the plug.
   these errors occur when I try to start the system after disabling
   ACPI:


   Code:


   these are for da0 = through da3 (I have no idea what they are at
   all...)
   all the info I = can get from them is
   that they look somewhat like this,
   although = I'm missing a lot and have no way to get the exact
   messages:
   SCSI = Status error (I have no SCSI drives!)
   (da#: umass = -sim:0:0:0:3)
   Not Ready csi-0,aa,55,40
   asc: 3a, 0
   there is a = - pointing to d6 after all of them.

   Windows works fine on this PC, and I had a working linux installation
   prviously as well (although I did get some funky errors too, but it
   just ignored then and moved on without trouble...) So I'm pretty sure
   it's some sort of issue BSD is having with my PC, and not some issue
   with my processor.
   please help, I'd really like to use BSD, and I'm willing to do
   whatever I can to work through this. I Don't mean to sound like a
   newbie, and I'm not, I've used other types of Unix for years, it's
   just this is my first *real* run in with BSD, and this is a pretty new
   computer I'm using... not to mention my first encounter with those
   errors.
   This = is probably ACPI related, but as the second set of errors
   imply, even when = I disable ACPI I am still unable to start the
   system.
   thanks in = advance.
 _

   Free Online Photosharing - = Share your photos online with your
   friends and family!
   Visit [1]http://www.inbox.com/photosh= aring to find out more!

References

   1. 3Dhttp://www.inbox.com/photosharing;
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mail server recomendations

2007-02-14 Thread Apatewna

J65nko wrote:


[big snip]


I use qmail using a combination of setup instructions from various sites 
like http://freebsdrocks.net
www.lifewithqmail.org and applied the combined patch from 
http://qmail.jms1.net/


I am happy so far. The main thing is to build something that you 
understand and are able to provide support for it.
Addmitedly there are many mailserver for dummies guides out there. 
Just be cautious and test-test-test before deployment so that all your 
expectations are met.



RTFM and STFW before anything bad happens

Thanasis Rizoulis
Electronic Computing Systems Engineer
Larissa, Greece
FreeBSD/PCBSD user
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Packet rate limiter

2007-02-14 Thread Chris

On 08/02/07, Peter N. M. Hansteen [EMAIL PROTECTED] wrote:

Jan Sebosik [EMAIL PROTECTED] writes:

 is there any way how to limit packet per second [PPS] rate to specified
 IP (group of IP) ?

The closest I can think of off the top of my head is defining a PF
rule set with queues (ALTQ), however you will be specifying bandwidth,
that is in bits per second (or k,M,G multiples of) of percentage of
available bandwidth, not number of packets.  Your groups of source
addresses could be maintained as tables for easy manipulation.

--
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/
First, we kill all the spammers The Usenet Bard, Twice-forwarded tales
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.
___


I thought PF could do this now as I have seen PF rulesets used to
limit syn flooding via pps rules.

If not it would be good if PF or ipfw got this feature as linux has
had it for a while now and it is a lot more effective then limiting
per bps.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Using newer version of pgp by default

2007-02-14 Thread Gerard Seibert
Freebsd-6.2

I have both  GnuPG v1.4.6 (FreeBSD) and versions 2.0.2 installed. I
wanted to remove the older version; however, it seems that some
programs depend on it.

Both 'sylpheed',  'pine'  and KMail insist on using the older version
for pgp. How can I get them, and any other program that uses pgp to use
the newer version by default?

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


hald/polkitd/dbus XFCE Auto-Mount Problems

2007-02-14 Thread Tom Grove
When I plug in an external USB drive, unplug it without unmounting and 
then plug it back in the system reboots!  I know that this is the wrong 
way to do things but I am surprised that the system totally blows up 
rather than spitting out an error or corrupting the external drive.  Any 
ideas why this is?


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


named: config filename (-c /var/named/etc/namedb/named.conf)

2007-02-14 Thread Noah


Hi,

I am getting a little mixed up here.

I am trying to place the proper switches in my rc.conf file so I can use 
the script from /etc/rc.d/named to start my named process.


what do I have configured wrong?


# grep named /etc/rc.conf
named_enable=YES
named_program=/usr/local/sbin/named
named_flags=-c /var/named/etc/namedb/named.conf
named_chrootdir=/var/named


here is the error from the script:

# /etc/rc.d/named start
Starting named.
named: config filename (-c /var/named/etc/namedb/named.conf) contains 
chroot path (-t /var/named)



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


python24 upgrade failed

2007-02-14 Thread Tsu-Fan Cheng

hi,
 just csup ports and upgrade python24 but failed, here is the message:

case $MAKEFLAGS in  *-s*)  CC='cc' LDSHARED='cc -shared -pthread'
OPT='-DNDEBUG -O2 -fno-strict-aliasing -pipe  -D__wchar_t=wchar_t
-DTHREAD_STACK_SIZE=0x10' ./python -E ./setup.py -q build;;  *)  CC='cc'
LDSHARED='cc -shared -pthread' OPT='-DNDEBUG -O2 -fno-strict-aliasing -pipe
-D__wchar_t=wchar_t  -DTHREAD_STACK_SIZE=0x10' ./python -E ./setup.py
build;;  esac
running build
running build_ext
db.h: found (4, 1) in /usr/local/include/db41
db lib: using (4, 1) db41
Segmentation fault (core dumped)
*** Error code 139


any idea?? thanks!!

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


Re: named: config filename (-c /var/named/etc/namedb/named.conf)

2007-02-14 Thread Chuck Swiger

On Feb 14, 2007, at 11:35 AM, Noah wrote:
[ ... ]

named_flags=-c /var/named/etc/namedb/named.conf
named_chrootdir=/var/named

here is the error from the script:

# /etc/rc.d/named start
Starting named.
named: config filename (-c /var/named/etc/namedb/named.conf)  
contains chroot path (-t /var/named)


The error message seems be reasonably clear.  If you are chroot()'ing  
named under /var/named, then once that happens, the config files  
which actually resides at /var/named/etc/namedb/named.conf will  
appear to named to be at /etc/namedb/named.conf.  Change your  
named_flags accordingly...


--
-Chuck

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


Re: How does gmirror know of a faulty drive

2007-02-14 Thread Brian A. Seklecki


No answers?

I just actually replied to a thread about this.  Apparently there is no 
automatic demotion of a device to DEGRADED.  I just had a provider error 
for a good 5 minutes of SCSI kernel messages (bad sectors, grown defects), 
without any automatic corrective action taken by gmirror(4)


My original message was held of moderation.

~BAS

On Wed, 27 Jul 2005, Ivan Carey wrote:


In FreeBSD 5.3 I have set up 2 drives in RAID-1 format.
How will I know if one of the drives is faulty such as either not working or

has some lost sectors?

Is it possible to have gmirror email me if there is a problem?

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



l8*
-lava (Brian A. Seklecki - Pittsburgh, PA, USA)
   http://www.spiritual-machines.org/

...from back in the heady days when helpdesk meant nothing, diskquota
meant everything, and lives could be bought and sold for a couple of pages
of laser printout - and frequently were.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cannot get freebsd up and running...

2007-02-14 Thread Kevin Kinsey

Josh Makler wrote:
   !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN 
I  first posted this on a FreeBSD help forum, where I was quickly

 redirected here (I guess this is a serious issue...)

Well, I don't wish to offend, but if that message was formatted anything 
like this one, probably nobody at that forum wished to deal with it. 
Like it or not, we don't know you personally, so you are going to be 
judged by the quality of your e-mail.   Your mailer seems pretty 
b0rked, or else you were having a bit of a one off day, as most 
messages to the list don't look this bad.


Ah, perhaps you cut-n-pasted from the forum source?  Still not a great 
move.  All that aside 



I'm going tofirst off my hardware is:
AMD 3800+
1GB RAM
NviDia 7900 GT OC gfx card
DVDRW/CDRW drive
??? Hard drive with windows XP on it (came with the PC...)
SeaGate ST340810A Hard drive as slave (This one has FreeBSD on it)
I added on to an EMachines T6536 to get this setup... I cannot find
any info on my motherboard at all... I think its an American
Megatrends board though.


OK - probably not American Megatrends -- they are a BIOS manufacturer.

EMachines have, in the last 3 or so years, begun to use motherboards 
that are modified for their needs; it may be hard to decide which board 
you have.  Have you tried a resource such as Wim's BIOS or 
motherboards.org or pc911.com to get a *positive* ID on your board?


Almost everything you're discussing here depends on the motherboard.


OK, this problem is not a simple one to diagnose, and probably near

 impossible to fix.

when I began to install FreeBSD (Actually PC-BSD, but it is 100% the
same aside from the installer pretty much...) It gave me errors about
ACPI (which my PC here does support...) I got through the installer by
disabling ACPI, but it doesn't work that way when I try to start it
up.
these errors were:

ACPI-0397: *** Error:name:43005350
ACPI-0397:in namespace,

 ACPI-0204: *** Error: AcpiLoadTables: could notAE_BAD_CHARACTER

ACPI-0213: *** Error:AE_BAD_CHARACTER
ACPI: tableMADT: ACPI Startup failed with 
the other errors are not so easy to describe. They move rapidly down

the screen, and repeat over and over again until I pull the plug.
these errors occur when I try to start the system after disabling
ACPI:



disabling ACPI  ??  How?  In the system's BIOS setup?  If FreeBSD 
doesn't like your ACPI table, you need to tell FreeBSD not to use ACPI.



   these are for da0all...)
   all the info Ithat they look somewhat like this,
   althoughmessages:
   SCSI(da#: umassNot Ready csi-0,aa,55,40
   asc: 3a, 0
   there is a 



Is there supposed to be more to this?

Note that da0 refers generally to a SCSI drive, but could be some 
other device such as a USB drive, scanner, camera, etc.  Unplug 
everything from the computer and try the boot again; do you have the 
same error messages regarding da0?



Windows works fine on this PC, and I had a working linux installation
prviously as well (although I did get some funky errors too, but it
just ignored then and moved on without trouble...) So I'm pretty sure
it's some sort of issue BSD is having with my PC, and not some issue
with my processor.
please help, I'd really like to use BSD, and I'm willing to do
whatever I can to work through this. I Don't mean to sound like a
newbie, and I'm not, I've used other types of Unix for years, it's
just this is my first *real* run in with BSD, and this is a pretty new
computer I'm using... not to mention my first encounter with those
errors.
Thisimply, even whensystem.
thanks in  


err, advance?

Is your system BIOS up-to-date?  It could be that a later BIOS version 
will enable your motherboard to talk turkey with the FBSD ACPI driver.


It's also quite possible that something about your motherboard causes 
FreeBSD to load the wrong ACPI table.  When booting, use the escape to 
loader prompt option, and try these commands:


 set hint.acpi.0.disabled=1
 boot

That may only get you running as in example two above; maybe try this 
the next time to get better error messages:


 set hw.acpi.verbose
 boot

You might also wish to try the following tunables in a similar manner, 
using set at the loader prompt and then boot.


debug.acpi.disabled
debug.acpi.quirks

Lastly, there is a lot of hardware out there, and the FreeBSD Project 
doesn't have the resources to test the OS on every variation.  You might 
consider a different motherboard for this box.


HTH,

Kevin Kinsey

--
You should make a point of trying every experience once -- except
incest and folk-dancing.
-- A. Bax, Farewell My Youth

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


Re: gmirror: degraded, Component ad4 (device gm0) broken, skipping.

2007-02-14 Thread Brian A. Seklecki

gmirror insert gm0 ad4


The big question is:

In your example, ad4 has already been prepped for use in as a component 
in the gmirror by ?


Or will it just overwrite anything on ad4 regardless?

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


FBSD 6.2/i386 samba3 pdc ldap and idealx

2007-02-14 Thread Miguel Angel Miranda
Hi, i have followed the idealx tutorial to the letter, however i get
this error when i try to start slapd:

ambepdc# /usr/local/etc/rc.d/slapd start
Starting slapd.
/usr/local/etc/openldap/slapd.conf: line 74: index type uidNumber
undefined

this is my slapd.conf

ambepdc# cat /usr/local/etc/openldap/slapd.conf
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include /usr/local/etc/openldap/schema/core.schema
include /usr/local/etc/openldap/schema/cosine.schema
include /usr/local/etc/openldap/schema/inetorgperson.schema
include /usr/local/etc/openldap/schema/nis.schema
include /usr/local/etc/openldap/schema/samba.schema

# log
loglevel 4095


# Do not enable referrals until AFTER you have a working directory
# service AND an understanding of referrals.
#referral   ldap://root.openldap.org

pidfile /var/run/openldap/slapd.pid
argsfile/var/run/openldap/slapd.args

# Load dynamic backend modules:
modulepath  /usr/local/libexec/openldap
moduleload  back_bdb
# moduleloadback_ldap
# moduleloadback_ldbm
# moduleloadback_passwd
# moduleloadback_shell

# Sample security restrictions
#   Require integrity protection (prevent hijacking)
#   Require 112-bit (3DES or better) encryption for updates
#   Require 63-bit encryption for simple bind
# security ssf=1 update_ssf=112 simple_bind=64

# Sample access control policy:
#   Root DSE: allow anyone to read it
#   Subschema (sub)entry DSE: allow anyone to read it
#   Other DSEs:
#   Allow self write access
#   Allow authenticated users read access
#   Allow anonymous users to authenticate
#   Directives needed to implement policy:
# access to dn.base= by * read
# access to dn.base=cn=Subschema by * read
# access to *
#   by self write
#   by users read
#   by anonymous auth
#
# if no access controls are present, the default policy
# allows anyone and everyone to read anything but restricts
# updates to rootdn.  (e.g., access to * by * read)
#
# rootdn can always read and write EVERYTHING!

###
# BDB database definitions
###

databasebdb
suffix  dc=sv,dc=amnetcorp,dc=com
rootdn  cn=Manager,dc=sv,dc=amnetcorp,dc=com
# Cleartext passwords, especially for the rootdn, should
# be avoid.  See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw  {SSHA}v6130sVnBx1z/2/c3e7qipTB5Y41TQOu
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd and slap tools.
# Mode 700 recommended.
directory   /var/db/openldap-data

# Indices to maintain
index objectClass, uidNumber, gidNumber eq
index cn, sn, ui, displayName   pres, sub, eq
index memberUid, mail, givennameeq, subinitial
index sambaSID, sambaPrimaryGroupSID, sambaDomainName   eq

# users can authenticate and change their password
access to attrs=userPassword , sambaNTPassword , sambaLMPassword
   by self write
   by anonymous auth
   by * none

# all others attributes are readable to everybody
access to *
  by * read
ambepdc#

I dont knowe what else to do, there are many docs in the net but
everbody seems to prefer the idealx one, what freebsd's special settings
am i missing?

thanks

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


Re: gmirror: degraded, Component ad4 (device gm0) broken, skipping.

2007-02-14 Thread John Nielsen
On Wednesday 14 February 2007 15:13, Brian A. Seklecki wrote:
  gmirror insert gm0 ad4

 The big question is:

 In your example, ad4 has already been prepped for use in as a component
 in the gmirror by ?

 Or will it just overwrite anything on ad4 regardless?

No prep is necessary when using raw devices such as ad4. The insert operation 
will overwrite everything (or the first $VOLUME_SIZE blocks) on ad4 with the 
contents of the mirror.

Obviously if you want to use only a portion of a drive as a gmirror consumer 
then the drive should be fdisk'ed and/or bsdlabel'ed and the device name of 
the slice or partition (e.g. ad4a, ad4s1, or ad4s1a depending) should be used 
instead of ad4 as the gmirror consumer.

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


Re: How does gmirror know of a faulty drive

2007-02-14 Thread John Nielsen
On Wednesday 14 February 2007 15:10, Brian A. Seklecki wrote:
 On Wed, 27 Jul 2005, Ivan Carey wrote:
  In FreeBSD 5.3 I have set up 2 drives in RAID-1 format.
  How will I know if one of the drives is faulty such as either not working
  or
 
  has some lost sectors?
 
  Is it possible to have gmirror email me if there is a problem?

 I just actually replied to a thread about this.  Apparently there is no
 automatic demotion of a device to DEGRADED.  I just had a provider error
 for a good 5 minutes of SCSI kernel messages (bad sectors, grown defects),
 without any automatic corrective action taken by gmirror(4)

In my experience gmirror will automatically detach any consumer that has a 
hard read or write error. (I haven't had occasion to use gmirror with SCSI 
devices yet though, so this could just be limited to ATA.)

Re: e-mail notification, you can get a daily report if you 
set 'daily_status_gmirror_enable=YES' in /etc/periodic.conf. If you'd like 
more frequent checks it wouldn't be hard to put a script together to 
run gmirror status every N minutes from cron, parse the output and forward 
it to you if it said anything but COMPLETE for each provider.

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


Idesk - trash icon

2007-02-14 Thread Olivier Regnier

Hello,

I installed Idesk to show differents icons on my desktop with Openbox 3 
and FreeBSD 6.2. I have a file called trash.lnk with the content:


table Icon
   Caption: Trash
   Icon: /home/olivier/.idesktop/icons/emptytrash.png
   Width: 48
   Height: 48
   X: 347
   Y: 660
   Command[0]: thunar trash:///
   Command[1]: /home/olivier/.scripts/./checktrash.sh
end

and here my script called checktrash.sh : (for the moment, I do not 
erase any files. I test only the presence of files and i post the good 
icon on the desktop.


#!/bin/sh
ls -A /home/olivier/.local/share/Trash/files/ | grep . /dev/null
if [ $? -eq 0 ]; then
   perl -i.bak -pe 's/emptytrash/fulltrash/g' 
/home/olivier/.idesktop/trash.lnk

else
   perl -i.bak -pe 's/fulltrash/emptytrash/g' 
/home/olivier/.idesktop/trash.lnk

fi

When i launch Openbox, the script works fine but i have a problem  when  
i empty  the trash with the mouse, idesk doesn't put up-to-date my icon.


Can you help me please ?

Thank you :)

--
Cheers,
Olivier Regnier

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


Re: GMail [and other free email] and these lists?

2007-02-14 Thread Lord Alabattai

On 2/14/07, Mike Fern [EMAIL PROTECTED] wrote:


On 2/14/07, Andy Greenwood [EMAIL PROTECTED] wrote:

 I agree completely.I rolled a script that emails my bzipped log files
 to gmail too, so I can rotate them out sooner and save that much more
 space on my ancient PII.


wow, PII these days..
is anybody still running on 486? :D



I am. :P As a small router, I does it's work just fine. :D

--
Better to reign in hell, than to serve in heaven. - John Milton, Paradise
Lost
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RAID 10-LUN Question

2007-02-14 Thread Dak Ghatikachalam

Hi Freebsd


We have DELL/EMC CX-300 storage array hardware , Navisphere. , which consist
of  15 Disks 320GB, I am planning to use this for Oracle( Linux) + SQL
server(M$) purpose.

We need to get that redundancy using RAID 10 and  striple for the best
performance.

My thoughts are  take most even number of possible disks( leaving private
system partition area) and create the raid groups and kick a separate LUNS
for MSSQL purpose.

With this hardware config, Do you have any suggestion on getting the best
performance and redundancy in place

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


geom(4)/gmirror(4) automatic device DEGRADED status demotion (WAS:Re: gmirror HD failure detection)

2007-02-14 Thread Brian A. Seklecki

On Wed, 14 Feb 2007, Brian A. Seklecki wrote:


All:

For a while our strategy was to use NRPE2+ a custom nagios check 
(check_raid_fbsdgmirror -- ugly-as-hell Perl, but which I can make 
available  to the public).


However, this morning a drive in a Dell PE1850 (one without a PERC4 
controller) started erroring.  It has just regular old (bad) mpt(4) 
controller.


The problem is that gmirror(4) never marked the drive as failed.

I'd have to tear through the code to find where the logic is for automatic 
demotion of a failed mirror.


Either way, the original thinking behind the Nagios pluging check, was that 
gmirror(4) would have some threshold of failed attempts to write/read from a 
provider disk should lead to flagging a provider as DEGRADED


Its entirely possible that we never had a chance to test it.

Now I have to go back and re-visit all of that.

~BAS

On Wed, 20 Sep 2006, Alex Zbyslaw wrote:


Robin Becker wrote:

After using Dru Lavigne's excellent article http://tinyurl.com/da66a about 
Raid-1 I have a full Raid-1 mirror on a new rack server. I'm wondering if 
anyone can tell me how best to monitor the hardware status to detect 
imminent failure of one of the disks? Do I use something like smartctl in 
a cron or what?


Assuming that the disks support SMART then just read the man page for 
smartd. No need for cron.  You can also schedule short and long tests 
to run in off hours.  smartmontools is easy to uninstall if it doesn't work 
for you. However, this will tell you that a disk is failing (or failed) 
which is not quite the same as array status.  An array (theoretically) 
might be sub-optimal for non-SMART reasons.  Someone familiar with gmirror 
will have to answer that bit... but gmirror status -s looks from the man 
page like it might be interesting and *that* could be run from cron and 
parsed to weed out status OK results.

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


RESOLVED: Connection timed out

2007-02-14 Thread Matthew Pope

Greg,
Your email was very helpful. I isolated the freebsd box, and the win2K 
box on a LAN without connection to the upstream Cisco device, and all 
the connectivity problems went away. I'll be implementing the 'turn off 
STP' on those Cisco ports shortly.

Many thanks,
Matthew
Greg Barniskis wrote:


Matthew Pope wrote:

I find that during the blocking behaviour, when I try and ping the 
windows box, a tcpdump shows that each second ping attempt is 
followed by a response (it appears) from an IPv6 address...



13:30:51.066625 802.1d config 8000.00:30:19:53:05:00.8011 root 
8000.00:30:19:53:05:00 pathcost 0 age 0 max 20 hello 2 fdelay 15
13:30:53.069431 802.1d config 8000.00:30:19:53:05:00.8011 root 
8000.00:30:19:53:05:00 pathcost 0 age 0 max 20 hello 2 fdelay 15



If you're referring to the above samples as appears from IPV6, those 
are Spanning Tree Protocol packets originating from the Cisco switch, 
and are unrelated to your ping test. You will see them on the wire 
frequently even in the absence of any normal IP traffic.


You probably want the following Cisco configuration directive added to 
those switch ports that do not connect the 2900 to other switches:


spanning-tree portfast

The presence of the STP packets may or may not be related to your 
performance issues. They shouldn't be, but some buggy NICs/drivers do 
seem to get freaked out by STP.


When STP is enabled on a switch port, it definitely will delay your 
initial link establishment by 30 seconds or so, when the attached 
computer is first powered up. That alone can confuse things when the 
NIC is trying to negotiate a link speed and the switch is still 
thinking about STP. It's even possible that you're getting a link 
speed/duplex mismatch out of it, and of course that will play holy 
hell with your response time.




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


FTP Servers Down

2007-02-14 Thread Elida Waggoner
Hello I am using the ports tree with the latest BSD release and for some
reason if a package is tried to be downloaded from most the ftp.Freebsd.org
servers and mirrors it fails.  Is there a reason for this or an updated FTP
list somewhere.

Thanks,
Eli







-- 
BEGIN-ANTISPAM-VOTING-LINKS
--
If you are not the CanIt administrator and you think this
message is spam, please give the id 6953 and magic value
1abba3df200a to [EMAIL PROTECTED] to be marked as spam.

Teach CanIt if this mail (ID 6953) is spam:
Spam:/var/www/html/webadd/canit/b.php?c=si=6953m=1abba3df200a
Not spam:/var/www/html/webadd/canit/b.php?c=ni=6953m=1abba3df200a
Forget vote: /var/www/html/webadd/canit/b.php?c=fi=6953m=1abba3df200a
--
END-ANTISPAM-VOTING-LINKS

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


Re: Compile of Python 2.4.4 core dumps

2007-02-14 Thread Rob Gallagher
Hi Niclas,

On Wed, Feb 14, 2007 at 01:54:36PM +0100, Niclas Zeising wrote:
 
 Usually if a compile coredumps it's due to faulty memory or other
 hardware. Might be good to check that first. Especially since it
 worked flawlessly on another box.
 HTH
 //Niclas
 

Thanks for the reply. I'm unsure if it's down to faulty memory because the 
machine is very new
and I don't get core dumps when compiling or running any other software. Also, 
in my experience
hardware faults have caused compiles to behave erraticlly, ie: bombing out at 
random stages in
the build process - this core dump always occurs at exactly the same point 
(compilation of the
curses module).

ps: sorry about not wrapping my lines in the original post! ;-)

rg

-- 
We have an announcement to make... uh...  on July 4th of this 
 year, America will blow up the moon.

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


RE: Newbie--new install on Core 2 Duo?

2007-02-14 Thread Thomas Sparrevohn
Yes GENERIC is SMP - Just installed a QX6700 worked ok from a SMP
perspective 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andreas Rudisch
Sent: 14 February 2007 08:55
To: Abdullah Ibn Hamad Al-Marri; Brian
Cc: User Questions; Dr. Jennifer Nussbaum
Subject: Re: Newbie--new install on Core 2 Duo?

On Wed, 14 Feb 2007 07:44:57 +0100, Abdullah Ibn Hamad Al-Marri  
[EMAIL PROTECTED] wrote:

 Why shall you do the double job by installing the FreeBSD, then
 reinstall it after adding SMP option to kernel? Couldn't we get
 FreeBSD to install the right kernel based on the number of  the cpu(s)
 in the system?

I recently installed FreeBSD 6.2 from scratch and the installer
automagically installed the SMP-kernel. So this feature is already
there.

Andreas
___
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: Viewing on remote PC

2007-02-14 Thread Gerard
On Wednesday February 14, 2007 at 08:02:38 (AM) Vince wrote:

 White Hat wrote:

[snip]

 Windows != Xwindows and you need xwindows to display xwindows programs.
 what you will need to do is either setup VNC server on your Freebsd
 machine and access it via VNC to get a desktop (realvnc, tridia and
 tight vnc are in ports,) or install X windows on your windows machine
 (and make sure X forwarding is enabled in ssh.) I'd probably VNC as its
 easier and faster except on high bandwidth links, but if you really want
 Xwindow on your windows machine www.cygwin.com or
 http://freedesktop.org/wiki/Xming are a good place to start.
 
OK, I installed 'tightvnc' from ports. That went OK.

Then, I started the process by entering: 'vncserver' at the command
prompt on the FBSD machine. The first time this ran it asked for
information which I provided. Now when I invoke it, it runs silently.
This is the contents of the log file it creates.

// Contents of: ~/.vnc/scorpio.seibercom.net:1.log //

14/02/07 10:42:32 Xvnc version TightVNC-1.3.8
14/02/07 10:42:32 Copyright (C) 2000-2006 Constantin Kaplinsky
14/02/07 10:42:32 Copyright (C) 1999 ATT Laboratories Cambridge
14/02/07 10:42:32 All Rights Reserved.
14/02/07 10:42:32 See http://www.tightvnc.com/ for information on TightVNC
14/02/07 10:42:32 Desktop name 'X' (scorpio.seibercom.net:1)
14/02/07 10:42:32 Protocol versions supported: 3.7t, 3.7, 3.3
14/02/07 10:42:32 Listening for VNC connections on TCP port 5901
14/02/07 10:42:32 Listening for HTTP connections on TCP port 5801
14/02/07 10:42:32   URL http://scorpio.seibercom.net:5801

// End Log //

I have the following in the 'putty' configuration

Under SSL / X11, I have this:

X Display location: localhost:0
I have tried with both: Enable X forwarding checked and unchecked
without any difference.

Under SSH / Tunnels, I have this:

L5905 192.168.0.2:5901

I am not sure about the port # 5905. I simply copied it from a example I found.
I have tried 5901, 5900 and 5902 all without success.

There is no notification when I actually log onto the remote machine
other than what I normally receive. If I try: 'startx', all I get is a
lot of text output on the screen, although the application does start on
the remote PC.

Now, I can make a connection via HTTP and do get a login box. In fact,
that seems to be the only way I can make a successful connection.
Therefore, I am positive the VNC is working, just not with putty.

Obviously I am doing something really stupid.

Thanks!

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


origin of system message?

2007-02-14 Thread Robert Huff

The following appears in /var/log/messages:

Feb 14 17:03:50 jerusalem kernel: Connection attempt to UDP 209.6.203.219:1026 
from 202.97.238.130:52821

presumably through the agency of syslog.
What program/process issues this, and at what facility and
level?


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


Re: FTP Servers Down

2007-02-14 Thread pete wright

On 2/14/07, Elida Waggoner [EMAIL PROTECTED] wrote:

Hello I am using the ports tree with the latest BSD release and for some
reason if a package is tried to be downloaded from most the ftp.Freebsd.org
servers and mirrors it fails.  Is there a reason for this or an updated FTP
list somewhere.


hmm...what's the error message you are getting when it tries to grab a
package.  i do not see any issues from where i am, but an error
message will help folks on the list diagnose what's going on your end.

-pete



--
~~o0OO0o~~
Pete Wright
www.nycbug.org
NYC's *BSD User Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: RAID 10-LUN Question

2007-02-14 Thread Derek Ragona
RAID 10 uses even numbered drive sets, usually in 4's, so 4 drives, 8 
drives, 12 drives, etc.  Depending on how 24/7 self-managed you want the 
array, you should plan for at least 2 hot spare drives for fail over.


So in your setup you could have one logical array made up of 12 drives, 
with 2 spares, and one left for the OS.  One consideration in striping is 
the stripe size.  Stripe size effects performance but also storage 
efficiency.  So you want to balance those factors in choosing a stripe size.


One last issue, is make sure you have enough cache on the RAID controller.

-Derek


At 02:54 PM 2/14/2007, Dak Ghatikachalam wrote:

Hi Freebsd


We have DELL/EMC CX-300 storage array hardware , Navisphere. , which consist
of  15 Disks 320GB, I am planning to use this for Oracle( Linux) + SQL
server(M$) purpose.

We need to get that redundancy using RAID 10 and  striple for the best
performance.

My thoughts are  take most even number of possible disks( leaving private
system partition area) and create the raid groups and kick a separate LUNS
for MSSQL purpose.

With this hardware config, Do you have any suggestion on getting the best
performance and redundancy in place

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

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


geom(4)/gmirror(4) automatic device DEGRADED status promotion (WAS:Re: gmirror HD failure detection)

2007-02-14 Thread Brian A. Seklecki


All:

For a while our strategy was to use NRPE2+a custom nagios check 
(check_raid_fbsdgmirror -- ugly as hell Perl but which I can make 
available to the public).


However, this morning a drive in a Dell PE1850 (one without a PERC4 
controller) started erroring.  It has just regular old (bad) mpt(4) 
controller.


The problem is that gmirror(4) never marked the drive as failed.

I'd have to tear through the code to find where the logic is for 
automatic demotion of a failed mirror.


Either way, the original thinking behind the Nagios pluging check, was 
that gmirror(4) would have some threshold of failed attempts to write/read 
from a provider disk should lead to flagging a provider as DEGRADED


Its entirely possible that we never had a chance to test it.

Now I have to go back and re-visit all of that.

~BAS

On Wed, 20 Sep 2006, Alex Zbyslaw wrote:


Robin Becker wrote:

After using Dru Lavigne's excellent article http://tinyurl.com/da66a about 
Raid-1 I have a full Raid-1 mirror on a new rack server. I'm wondering if 
anyone can tell me how best to monitor the hardware status to detect 
imminent failure of one of the disks? Do I use something like smartctl in a 
cron or what?


Assuming that the disks support SMART then just read the man page for smartd. 
No need for cron.  You can also schedule short and long tests to run in 
off hours.  smartmontools is easy to uninstall if it doesn't work for you. 
However, this will tell you that a disk is failing (or failed) which is not 
quite the same as array status.  An array (theoretically)  might be 
sub-optimal for non-SMART reasons.  Someone familiar with gmirror will have 
to answer that bit... but gmirror status -s looks from the man page like it 
might be interesting and *that* could be run from cron and parsed to weed out 
status OK results.


--Alex


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



l8*
-lava (Brian A. Seklecki - Pittsburgh, PA, USA)
   http://www.spiritual-machines.org/

...from back in the heady days when helpdesk meant nothing, diskquota
meant everything, and lives could be bought and sold for a couple of pages
of laser printout - and frequently were.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: origin of system message?

2007-02-14 Thread Robert Huff
Oliver Koch writes:

   Feb 14 17:03:50 jerusalem kernel: Connection attempt to UDP 
 209.6.203.219:1026 from 202.97.238.130:52821
   
  What program/process issues this, and at what facility and
   level?
  
  please check if these two sysctl values are set:
  
  net.inet.tcp.log_in_vain: 1 # Log all incoming TCP connections
  net.inet.udp.log_in_vain: 1 # Log all incoming UDP packets

Both.
I don't want to stop the messages, merely re-direct them.


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


Re: origin of system message?

2007-02-14 Thread Oliver Koch
Hello,

Robert Huff schrieb:

   The following appears in /var/log/messages:
 
 Feb 14 17:03:50 jerusalem kernel: Connection attempt to UDP 
 209.6.203.219:1026 from 202.97.238.130:52821
 
   presumably through the agency of syslog.
   What program/process issues this, and at what facility and
 level?

please check if these two sysctl values are set:

net.inet.tcp.log_in_vain: 1 # Log all incoming TCP connections
net.inet.udp.log_in_vain: 1 # Log all incoming UDP packets

Kind regards,

Oliver

-- 
Oliver Koch  Phone:  +49-(0)5323-72-2626
Computer Center  Fax:+49-(0)5323-72-3536
Clausthal University of Technology   E-Mail: [EMAIL PROTECTED]
Erzstraße 51 Web:  http://www.rz.tu-clausthal.de
38678 Clausthal-Zellerfeld, Germany



signature.asc
Description: OpenPGP digital signature


Pure-ftpd with Mysql, where is the database?

2007-02-14 Thread perikillo

  Hi people.

  I'm testing pure-ftpd from FreeBSD 6.2, i want to test with MySQL
4.1which already is running, i read the docs from the site but didn't
see
anything about  how pure-ftp  authenticated users from Mysql. My both
servers are running but, where is the PureFTPD database inf MySQL?

 Reading some linux manuals a see that they created the database manually,
is the same process? or we have already some database?

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


Re: origin of system message?

2007-02-14 Thread pete wright

On 2/14/07, Robert Huff [EMAIL PROTECTED] wrote:

Oliver Koch writes:

   Feb 14 17:03:50 jerusalem kernel: Connection attempt to UDP 
209.6.203.219:1026 from 202.97.238.130:52821
  
  What program/process issues this, and at what facility and
   level?

  please check if these two sysctl values are set:

  net.inet.tcp.log_in_vain: 1 # Log all incoming TCP connections
  net.inet.udp.log_in_vain: 1 # Log all incoming UDP packets

Both.
I don't want to stop the messages, merely re-direct them.




you can set that up in your syslog.conf(5) file.

-pete


--
~~o0OO0o~~
Pete Wright
www.nycbug.org
NYC's *BSD User Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Pure-ftpd with Mysql, where is the database?

2007-02-14 Thread Peter A. Giessel
On 2007/02/14 13:50, perikillo seems to have typed:
Hi people.
 
I'm testing pure-ftpd from FreeBSD 6.2, i want to test with MySQL
 4.1which already is running, i read the docs from the site but didn't
 see
 anything about  how pure-ftp  authenticated users from Mysql. My both
 servers are running but, where is the PureFTPD database inf MySQL?
 
   Reading some linux manuals a see that they created the database manually,
 is the same process? or we have already some database?
 
   Thanks all for your time!!!

/usr/local/etc/pureftpd-mysql.conf

You can configure the queries however you want/need.

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


Re: origin of system message?

2007-02-14 Thread Robert Huff
pete wright writes:

  Feb 14 17:03:50 jerusalem kernel: Connection attempt to UDP 
 209.6.203.219:1026 from 202.97.238.130:52821
 
 What program/process issues this, and at what facility and
  level?

   I don't want to stop the messages, merely re-direct them.
  
  you can set that up in your syslog.conf(5) file.

pointed look
And in order to do that ... what information do I need?
/pointed look
:-)

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


RE: Very Annoying PHP Errors

2007-02-14 Thread Peter Pluta
I couldn't get error logging to work correctly - I had error_reporting 
commented out, and display_errors = On I also added 
error_reporting(E_ALL); to my header file and the page was just blank... 
What I did was downgraded the php port to 5.2.0 and just re-compiled php 
and all of it's extensions to 5.2.0. The end result was magical my site 
began to work and all the annoying errors disappeared. I believe 5.2.1 
is buggy - reading the Sushion forums many people are complaining about 
certain db connection issues and the ALERT - canary mismatch on efree() 
- heap overflow detected error. I will stick to 5.2.0 for now and 
upgrade when they fix the darn bugs. I'm  using FreeBSD 6.1 with Apache 
2.2.4 and PHP 5.2.0  with Sushion, ipv6 support, and Apache support.


Kevin Kinsey wrote:

Peter Pluta wrote:
I recently upgraded to 5.2.1_1. After upgrading (or before not 
exactly sure) I began getting errors ALERT - canary mismatch on 
efree() - heap overflow detected in my Apache logs. 


That sounds a tad troubling, and is rather over my head.  It does 
appear that some people believe that recent changes in the Zend Memory 
Manager have been a tad, err, hasty|ill-advised|to be sneered at.


Like I say, way over my head.  Considering 5.2.1 was released six days 
ago, you may have found a new bug!  Congratulations!??


Also, certain parts of one of my database (mysql) driven sites 
stopped working. Certain pages just stopped working, they return a 
blank white page. 


This is indicative of a PHP stop error, with PHP's error_reporting 
directive set to off.  You might try adjusting the value of the 
display_errors directive in php.ini to ON (and restarting apache), 
or, on a page-by-page basis (or in a header file if the PHP site using 
such things), adding the line:


 error_reporting(E_ALL);

 to the top of each affected file.  PHP will most likely tell you 
what the error is from its POV, which might well help you decide what 
course of action to take.  For more info, see:


  www.php.net/error_reporting

Of course, it's possible that you'll simply get the same error - only 
now it's displayed on the page instead of the Apache log.  Perhaps it 
will give a line number or tell what PHP call produced the error ... 
might help a little bit.


I'm absolutely stumped on what it could be. I have tried recompiling 
php 4-5x with different options and re-installing apache etc... 
Nothing is working. I looked for php bug reports, and found this one 
http://bugs.php.net/bug.php?id=40119 but it does not really pertain 
to me. Can anyone give some pointers or tips on what to do?




Take a deep breath and a cup of {beverage}; chances are pretty good 
that you will find out what's wrong.  Sounds like, according to your 
description above, some problem with the MySQL extension to PHP, or 
PHP's loading of said extension, or the order in which things were 
compiled, or the options in extensions.ini, etc.


Oh, and see above ;-)

Of course, if it's a real live PHP bug, it won't be quite as easy as 
changing an .ini file.


Right now I am thinking of just downgrading to PHP 5.2.0 because 
that's what worked last. Is there an easy way to downgrade ports?




I'd not go there just yet; but, it's possible to use cvsup to get an 
older version of the ports tree, yes.  What kind of a mess you might 
get into as a result, I'm not sure.  It might be possible to uninstall 
all the affected ports and grab packages that were built by the FBSD 
team for 6.2-RELEASE;  they would likely work, although you'll be 
using an older PHP as a result; that's what's maddening about 
attempting to stay ahead of the bad guyz these days.  PHP 5.2.1, for 
example, is supposed to *fix* some potential security problems . . . 
not cause DOS.




Any feedback, tips, or help would be greatly appreciated.

Thanks,
Peter


Hopefully it's worth something.

Kevin D. Kinsey


My php installations have also several and repeating errors, but its
difficult to analyze, because they keep changing.

While updating ports using portmanager or portmaster sometimes
installation of databases/php5-mysql or databases/php5-mysqli fails or
sometimes both but also sometimes both install without errors.

When errors occur, it has to do with missing mysql-client libraries, a
mysql-client port-installation is attempted and fails because
mysql-client is in fact already installed.

By manually deinstalling and reinstalling mysql-client port just before
the php-mysql port and php-mysqli port installation works, but maybe the
next days already same errors occur.

Sometimes all ports installe correctly but afterwards php fails to load
an installed extension (error message refers to missing functions). This
happened once with mysqli-extension, but not mysql and once with
sqlite-extension. Some others too, but I don't recall which ones.
Usually deinstalling and reinstalling the affected extension fixes it.
But there again, I may get the difficulties mentioned above.

So 

Program / Command global

2007-02-14 Thread RawDevelopment
Hi there,

I just installed screen, very handy. But when I goto use it I have to call
/usr/local/bin/screen

how can I set it so I can just type
screen
?

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


Re: Program / Command global

2007-02-14 Thread Jerry McAllister
On Thu, Feb 15, 2007 at 12:28:02PM +1300, RawDevelopment wrote:

 Hi there,
 
 I just installed screen, very handy. But when I goto use it I have to call
 /usr/local/bin/screen
 
 how can I set it so I can just type
 screen
 ?

Make sure /usr/local/bin is in your path.  eg set you path in your
either .cshrc (for csh/tcsh) or .profile (for sh or bash) file.
If it is already in your path, then you just didn't update your
path after the install.   Either log out and log back in or
do a 'rehash'.

jerry

 
 Thanks :-)
 ___
 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: Viewing on remote PC

2007-02-14 Thread Anuj Singh
Why don't you try tight vnc for this(server running vnc and WinXpee
running vnc client.
http://www.tightvnc.com/

PuTTY (the Telnet and SSH client itself)
  * PSCP (an SCP client, i.e. command-line secure file copy)
  * PSFTP (an SFTP client, i.e. general file transfer sessions much
like FTP)
  * PuTTYtel (a Telnet-only client)
  * Plink (a command-line interface to the PuTTY back ends)
  * Pageant (an SSH authentication agent for PuTTY, PSCP and Plink)
  * PuTTYgen (an RSA and DSA key generation utility). 

From my shell if I login threw 
[EMAIL PROTECTED] ssh -X remote machine
and after logging in 
I can use different X based utilities of remote machine.
[EMAIL PROTECTED] firefox 
   ^Opens firefox browser of remote machine.

regards 
anugunj anuj

On Wed, 2007-02-14 at 04:47 -0800, White Hat wrote:
 FreeBSD-6.2
 
 I have a FBSD computer that I need to access via ssh from a WinXP machine 
 running 'putty'. I am using ssh certificates for authorization. No problem 
 there. I can do anything I want when I access the FBSD machine in this 
 manner, except run something like KDE or XFCE4. I thought I made all of the 
 required changes to the ssh_config and sshd_config as well as 'putty', but 
 evidently not.
 
 Situation:
 
 I have 'startx' set to start 'xfce4' presently. If I type: 'startx' while 
 logged in via ssh, xfce4 will start on the FBSD machine just fine. However, 
 on the WinXP PC with 'putty', all I see are the start up messages on the 
 screen. The actual GUI, etc. never appears. This makes using the program 
 impossible from a remote location.
 
 I am sure I am doing something really stupid here. Perhaps someone could 
 point me i the right direction.
 
 Thanks!
  


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


Re: Visit our store http://www.jayashop.name/store/

2007-02-14 Thread Jaya shop

Jayashop (http://www.jayashop.name/store/)

Has been serving global market since 2005. Through all these years our goal has 
been to deserve the trust of our customers. To do this we knew we must offer 
competitive pricing, but we also knew low prices alone could not make our 
business superior. 

We were determined to combine honest and helpful dealings with the best 
service. We understand that long-term customer satisfaction depended on our 
ability to maintain a knowledgeable and courteous customer service consultants 
assisted by the best support systems.

We feature over 100 product lines at near trade prices and have partnerships 
with industry leaders such as Sony, Toshiba, Fujitsu Siemen's, Acer, HP Compaq, 
IBM, Asus and Samsung. This allows us to offer the very latest technology, 
complete with next day nation-wide delivery (Subject to stock) all backed up by 
our first class customer service.

Our business strategy is simple; to offer a comprehensive range of 
LAPTOPS/NOTEBOOKS, DIGITAL CAMERAS, PLASMA TV, and associated products, provide 
all round value for money, backed up by first class service. Unlike many 
companies we do not hide behind our technology, in fact we actively encourage 
customers to ring our specially trained sales team for advice on any of our 
products. This is why we publish our phone number on every single page of our 
website . In addition to this we offer secure online shopping which is 
available 24 hours a day.

We have a diverse customer base ranging from private buyers to schools, 
hospitals, local government, charities, large corporations and small 
businesses, many of who are repeat customers. customer list . Whether you are 
looking for the latest digital technology or a replacement battery, we are here 
to make that process as simple as possible. Here at Jayashop we have products 
to suit all budgets. We sell new products, and have our own in-house 
technicians who ensure that all refurbished laptops are put through a rigorous 
21 point quality check before being offered for sale. We are so confident in 
the quality of our refurbished Laptops we provide a full years warranty 
completely FREE of charge.

During 2006 we continued to add to our product portfolio and ensure our 
customers had a larger selection of accessories to choose from whatever their 
individual needs.

JayaShop WebStore - sub division of PT. Jaya Real Properti
Gedung Bank Bali Bintaro 3rd Floor
Jl. M.H. Thamrin Blok BI No. 1
PK Niaga Bintaro Jaya Sektor VII
Tangerang 15224
Indonesia

Our Company Registration Number are available upon request.

Brief History
=
Jayashop's emergence into the online market place was no overnight event. Our 
parent company PT. Jaya Real Properti has dealing with over 10 years in 
property and building construction, and gain much reputation by local 
government and worldwide network as well.

Using this firm business foundation a new company was created to sell digital 
electronics and associated products to business users across the world. Since 
2005 both the company and Website have gone from strength to strength adapting 
quickly to service the demands of our customers.

We have connected to different suppliers and manufacturers, and stronghold our 
position on the B2B supply chain management, with our business contacts in Hong 
Kong and China. Jayashop is known for its professional approach to business. 
Our market network is spread over local and international markets. We sell not 
only within Asia but also to America, and Europe.

We offer a competitive price, excellent quality, prompt delivery and great 
after sales services. Jayashop offers some of the best possible prices 
available without comprising quality or service. We deal in many top branded 
items, we are constantly adding to our inventory to insure that our customers 
are always ahead.

We keep a stock levels at steady volumes to insure that our customers orders 
are fore filled in a timely manner.

We have offices in Hong Kong  Indonesia with further representative offices 
opening in Japan, USA, Australia  Canada to achieve a Global Presence and 
maximize local communication between Jayashop and its customers. This will also 
improve on technical support and increasing product ordering turnaround.

With the introduction of new products, increases in staffing levels and further 
investment, Jayashop has managed to position itself as a leading provider of 
specialist technology products through an online medium.

Thank you for taking the time to learn more about our company. If you are happy 
with our service, please tell others. If not please tell us, Thank you.

Please visit our website: http://www.jayashop.name/ or 
http://www.jayashop.name/store/



Regards,

Jayashop
[EMAIL PROTECTED]
Phone : (6221) 710-2-6679 or (6221) 745-2-
Fax   : (6221) 745-2- 



___
freebsd-questions@freebsd.org mailing list

Ksh Shell script security question.

2007-02-14 Thread Dak Ghatikachalam

Hi Freebsd

I am am puzzled how to secure this code when this shell script is being
executed.

${ORACLE_HOME}/bin/sqlplus -s  EOF | tee -a  ${RESTOREFILE}
   connect system/ugo8990d
   set heading off
   set feedback off
   set pagesize 500
   select 'SCN_TO_USE | '||max(next_change#)   from V\$LOG_HISTORY;
   quit
EOF


When I run this code from shell script in /tmp directory it spews file
called /tmp/sh03400.000
in that  I have this entire code visible.

connect system/ugo8990d
set heading off
   set feedback off
   set pagesize 500
   select 'SCN_TO_USE | '||max(next_change#)   from V\$LOG_HISTORY;
   quit

How do I secure that part of code, between
those EOF start and end.

It is just terrible to see the password all shown by the temporary  file the
shell creates,just for security reasons  I dont want any other users in
the system to view my code which contains the password.

If I have long running sql or large program anything I put in between EOF is
shown by these /tmp/sh*  files

Any idea how to secure this

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


serious performance problems with 6.2 Release

2007-02-14 Thread Steven H. Baeighkley

Greetings,

We are having some bizarre performance problems on a freshly installed 
6.2 Release server. This is a supermicro superserver 6022c dual 2.0 Xeon 
with 2GB RAM. These CPUs do support hyperthreading. We have done 
significant testing with both hyperthreading turned on and off in the 
bios and in the OS, to no avail.


The server is configured as a web server with apache 2.2.4 php 5.2.0 and 
ZendOptimizer. We are running proftpd 1.3.1rc1 and perl 5.8.8. We have 
another server running 4.11 with the same exact hardware and software 
versions. We have updated to the newest bios that Supermicro provides.


The trouble is that the 6.2 box performs significantly worse than the 
4.11 server. The load on the 6.2 server is regularly between 2.0 and 
6.0. The load on the 4.11 server is between .57 and 1 despite often 
servicing more connections.


We began this process to upgrade into the 6 tree because 4 is EOL. We 
kept the old 4.11 drive from this machine and when replacing it into the 
box performance is excellent just like our other 4.11 box. We have tired 
multiple tuning variables as recommended by both FreeBSD and apache and 
tried the recommendations in the 6.2 errata as well. The 6.2 errata 
states that kern.ipc.nmbclusters=0 will help the kernel memory 
allocator properly deal with high network traffic. We tried this and 
initially thought that the box was showing wonderful performance, but 
then we realized that the box was not allowing much network access at 
all. A single ssh and proftpd connection were all it would accept. 
Apache wouldn't even start giving a MaxClients error. Removing this 
option returned it to functional though poor performance mode. Are we 
missing something with how to use this variable? IS this expected behavior?


This particular hardware does display some oddities on both machines, 
running either 6.2 or 4.11. We know that FreeBSD has hyperthreading 
turned off by default. We have done some additional testing with 
hyperthreading turned on in the OS, but we wish for it to remain off due 
to security concerns. If we disable hyperthreading in the bios and have 
it disabled in the OS then FreeBSD sees one physical and one logical 
processor (from dmesg) and only uses processor 0. If we enable 
hyperthreading in the bios and leave it disabled in the OS it will show 
4 CPUs but only use 0 and 2. Top will show that there is 50% idle CPU 
despite the fact that the box is 100% loaded, CPU 1 and 3 are idle. We 
would expect that FreeBSD would not see logical processors when 
hyperthreading was disabled in either the BIOS or the OS. This may just 
be a communication problem between the BIOS and FreeBSD, but we don't 
see this behavior on other supermicro servers with hyperthreading.


VMSTAT, NETSTAT, NFSSTAT and FSTAT show similar numbers between both 
servers, certainly nothing that would explain why a single httpd process 
requires 20% of a CPU on the 6.2 box and only 5-7% on the 4.11, but we 
could easily be missing something.  We suspected NFS or disk 
bottlenecks, but ran IOZONE tests and found that the 6.2 box is actually 
having better performance on nfs and disk access. We are running a 
slightly customized SMP kernel with device polling enabled. The only 
bottleneck apears to be CPU usage, which works fine on 4.11.


From what we've read we should not be seeing these performance problems 
with 6.2. So what are we missing? We assume its something stupid that 
will fix this problem quickly and easily, but so far, despite all the 
resources, we have been unable to find a problem with enough in common 
with our own to suggest possible solutions.


Please Help.

thanks
Steve B

--
---
Steven H. Baeighkley - Systems Administrator
Front Range Internet, Inc.
[EMAIL PROTECTED] - (970) 212-0756
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Any way to probe snd card?

2007-02-14 Thread Gary Kline

I'm pretty stunned at how well gnome2 works on my
antique 400MHz backup system.  [[ gnome2-lite wouldn't go, for
some reason [?] ]]  Anyway, I do have a sound card in this
one, but which *.ko I load or compile is the question.  If 
memory serves, I think this has  a Matrox card.  I've tried
adding a few sound [snd_*.ko] files, but no sound.  The OSS
dialogs open, but the tests produce no sound..  Would the sound
card show up in dmesg if there were a sound card hiding? 

Any help out there?  This old box is an HP Kayak XU/XW.

thanks, 

gary


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

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


Re: origin of system message?

2007-02-14 Thread pete wright

On 2/14/07, Robert Huff [EMAIL PROTECTED] wrote:

pete wright writes:

  Feb 14 17:03:50 jerusalem kernel: Connection attempt to UDP 
209.6.203.219:1026 from 202.97.238.130:52821
 
 What program/process issues this, and at what facility and
  level?

   I don't want to stop the messages, merely re-direct them.

  you can set that up in your syslog.conf(5) file.

pointed look
And in order to do that ... what information do I need?
/pointed look
:-)


heh, sorry.  the man page for syslog.conf is pretty helpfull for
setting this stuff up.  the command to read it is man 5 syslog.conf
so that was short hand.  it'll show you how to setup rules for various
log messages and how to route them to different log files(or syslogd
servers).  i suspect you want a log file that'll just contain these
UDP and TCP connection attempts...

-pete

--
~~o0OO0o~~
Pete Wright
www.nycbug.org
NYC's *BSD User Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Cannot get freebsd up and running...

2007-02-14 Thread Richard Simmonds
Message: 1
Date: Wed, 14 Feb 2007 08:47:46 -0800
From: Josh Makler [EMAIL PROTECTED]
Subject: Cannot get freebsd up and running...
To: freebsd-questions@freebsd.org
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=US-ASCII

-- snip --

   ACPI-0213: *** Error:AE_BAD_CHARACTER
   ACPI: tableMADT: ACPI Startup failed with 
   the other errors are not so easy to describe. They move rapidly down
   the screen, and repeat over and over again until I pull the plug.
   these errors occur when I try to start the system after disabling
   ACPI:


In this instance, scroll lock is your friend. One of my favourite FreeBSD
features that Linux doesn't appear to share.


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


Re: phpMyAdmin httpd segmentation fault

2007-02-14 Thread Richard Simmonds
I've just had the phpMyAdmin not starting problem after making changes to
php.ini and adding extensions. It began as a segmentation fault with only
phpMyAdmin and then progressed, as I fiddled with config for
php4-extensions, to breaking php entirely. I too have a modded make.conf
file which I am about to change in accordance with this tip. However, to get
phpMyAdmin working again, take a look at extensions.ini. I found there were
many duplicate lines, including some for extensions I thought I'd added and
then removed. I removed duplicates and moved extension=mysql.so to the
bottom of the list. Reboot and problem solved.

Hope this helps

-

Message: 13
Date: Wed, 14 Feb 2007 15:26:26 +0100
From: Spil Oss [EMAIL PROTECTED]
Subject: Re: phpMyAdmin httpd segmentation fault
To: freebsd-questions@freebsd.org, Terry Todd
[EMAIL PROTECTED]
Message-ID:
[EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Terry,

Just solved my php / roundcube problems by removing -funroll-loops
from my CFLAGS in /etc/make.conf. Now I just have CFLAGS= -O2 -pipe

Recollection:
5.2.0   -march=pentium3m -O2 -pipe -funroll-loops   Fail
5.2.0   -march=pentium3 -O -pipe   Success
5.2.1   -march=pentium3m -O2 -pipe -funroll-loops   Fail
Tested:
5.2.1_1 -march=pentium3 -O -pipeSuccess
5.2.1   -march=pentium3m -O -pipe   Success
enable eaccelerator Success
enable suhosin  Success
5.2.1   -march=pentium3m -O2 -pipe  Success
5.2.1   -march=pentium3m -O2 -pipe -funroll-loops   Fail
5.2.1_1 -march=pentium3m -O2 -pipe  Success

So currently running apache-2.2.4 / php5-5.2.1_1 w/ suhosin 0.9.6.2 /
eaccelerator 0.95

rouncube running fine, but phpMyAdmin still won't fly

Kind regards,

Spil

On 13/02/07, Gerard Seibert [EMAIL PROTECTED] wrote:
 On Tuesday February 13, 2007 at 06:13:41 (AM) Terry Todd wrote:


  I completed steps 1 through 6 that you suggested below.  Step 6 took
  two whole days to complete.  I had to babysit the blue screens of
config.
 
  Sorry to say it still does the exact same thing.  httpd seg faults
  with no core file whenever the phpMyAdmin/index.php web page is browsed.

 Strange! It works perfectly here. Assuming you have nothing strange in
 your /etc/make.conf file, I am at a lose as to what the problem is.

 Sorry!

 --
 Gerard
 ___
 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: Any way to probe snd card?

2007-02-14 Thread Garrett Cooper

Gary Kline wrote:

I'm pretty stunned at how well gnome2 works on my
antique 400MHz backup system.  [[ gnome2-lite wouldn't go, for
some reason [?] ]]  Anyway, I do have a sound card in this
	one, but which *.ko I load or compile is the question.  If 
	memory serves, I think this has  a Matrox card.  I've tried

adding a few sound [snd_*.ko] files, but no sound.  The OSS
dialogs open, but the tests produce no sound..  Would the sound
	card show up in dmesg if there were a sound card hiding? 


Any help out there?  This old box is an HP Kayak XU/XW.

	thanks, 


gary


esound running in the background, maybe? Memory serves me correctly that 
was gnome's sound daemon of choice (ew...).

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


Re: A bit of a silly question - but I am desperate

2007-02-14 Thread Garrett Cooper

Thomas Sparrevohn wrote:
Hi 


My old trusty FreeBSD server just died and naturally that happened days
before the new machine arrived - fortunately I did not lose too much data -
however I did lose my settings and that my problem

Using a ADSL router with NAT and firewall settings (Open on http/https and
outgoings) there was some setting I used to get fetch http://{whatever}; to
work and I cannot remember what it was - The firewall settings has not
changed - but every time I trying to get anything using fetch
http://{bla,bla}; nothing come over - connection is fine 


Can anybody help?

Thanks in advance (PS. I am sure its trivial) - I just cannot remember what
it was 


Regards
	Thomas 


This question is probably better suited for the questions@ list.
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Any way to probe snd card?

2007-02-14 Thread Gary Kline
On Wed, Feb 14, 2007 at 06:38:14PM -0800, Garrett Cooper wrote:
 Gary Kline wrote:
  I'm pretty stunned at how well gnome2 works on my
  antique 400MHz backup system.  [[ gnome2-lite wouldn't go, for
  some reason [?] ]]  Anyway, I do have a sound card in this
  one, but which *.ko I load or compile is the question.  If 
  memory serves, I think this has  a Matrox card.  I've tried
  adding a few sound [snd_*.ko] files, but no sound.  The OSS
  dialogs open, but the tests produce no sound..  Would the sound
  card show up in dmesg if there were a sound card hiding? 
 
  Any help out there?  This old box is an HP Kayak XU/XW.
 
  thanks, 
 
  gary
 
 esound running in the background, maybe? Memory serves me correctly that 
 was gnome's sound daemon of choice (ew...).

A cat /dev/sndstat says that my old AWE64 is there.  (I'm 
doing a make kernel now; be done wee-hours?!)  Anyway a 
kldload [sound|snd_sb16] and the tiny red x is beside the
spkr in the upper right.   Still head-scratching.

Anybody else know what's going on?

gary

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

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

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


Re: Any way to probe snd card?

2007-02-14 Thread Dak Ghatikachalam

On 2/14/07, Gary Kline [EMAIL PROTECTED] wrote:



I'm pretty stunned at how well gnome2 works on my
antique 400MHz backup system.  [[ gnome2-lite wouldn't go, for
some reason [?] ]]  Anyway, I do have a sound card in this
one, but which *.ko I load or compile is the question.  If
memory serves, I think this has  a Matrox card.  I've tried
adding a few sound [snd_*.ko] files, but no sound.  The OSS
dialogs open, but the tests produce no sound..  Would the sound
card show up in dmesg if there were a sound card hiding?

Any help out there?  This old box is an HP Kayak XU/XW.



I solved most of my sound problems by taking actions reading

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html

regards
Dak

   thanks,


gary


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

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


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


Re: RAID 10-LUN Question

2007-02-14 Thread Dak Ghatikachalam

At 02:54 PM 2/14/2007, Dak Ghatikachalam wrote:

Hi Freebsd


We have DELL/EMC CX-300 storage array hardware , Navisphere. , which consist
of  15 Disks 320GB, I am planning to use this for Oracle( Linux) + SQL
server(M$) purpose.

We need to get that redundancy using RAID 10 and  striple for the best
performance.

My thoughts are  take most even number of possible disks( leaving private
system partition area) and create the raid groups and kick a separate LUNS
for MSSQL purpose.

With this hardware config, Do you have any suggestion on getting the best
performance and redundancy in place

Thanks
Dak



On 2/14/07, Derek Ragona [EMAIL PROTECTED] wrote:


 RAID 10 uses even numbered drive sets, usually in 4's, so 4 drives, 8
drives, 12 drives, etc.  Depending on how 24/7 self-managed you want the
array, you should plan for at least 2 hot spare drives for fail over.

So in your setup you could have one logical array made up of 12 drives,
with 2 spares, and one left for the OS.  One consideration in striping is
the stripe size.  Stripe size effects performance but also storage
efficiency.  So you want to balance those factors in choosing a stripe size.



How to determine the stripe size  Dell recommends the OS striped across 5
disks and calls itself system private paritition
How to determine the optimal stripe size, will I be able to ditch  the
current navisphere the Storage Array OS( which is now windows based I t  and
stick Freebsd  in its place. We have got nice GEOM ability now.

Thanks
Dak



One last issue, is make sure you have enough cache on the RAID controller.


-Derek


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


Automatic rsh login to BSD Box

2007-02-14 Thread Ashok TM

Hi

I have 2 BSD boxes, want to acheive automatic rsh  login from one BSD box to
other.
I tried placing host name of the  boxes in .rhosts file  of the boxes under
~root  directory.
This works fine with user account and  I am able to  remotely execute
commands on the other box with rsh.

Eg:
==
rsh  bsd2 df
bsd2 - host
df - command

But with super user account , i get error as
rshd: Login incorrect.   which basically is * Login incorrect.*   No
password file entry for the user name existed or the authentication
procedure described above failed.Though i have password file entry of root
in each of the BSD boxes


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


Question about syscon

2007-02-14 Thread ronggui

Whenever I start the FreeBSD, it takes about one minutes to get the
syscon service ready. Is there any way to speed up the process of
start-up?

--
Ronggui Huang
Department of Sociology
Fudan University, Shanghai, China
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >