nss_ldap leaving sockets open

2008-09-03 Thread Jeremy Johnston
I seem to have encountered a rather annoying and puzzling problem, I am 
running nss_ldap on 7.0-STABLE with openldap-server 2.4.11 on the same 
server. I have nss_ldap configured to connect over a unix socket. This 
works great except for the fact it seems the connections are never being 
closed. When I checked earlier today with (netstat -n | grep -c 
slapd.sock) it reported 441 instances.


I have bind_policy set to soft and nss_connect_policy set to oneshot and 
this still seems to be occuring.


Any hints or clues on what may be causing this would be greatly appreciated.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to compare 2 images from command line

2008-09-03 Thread DA Forsyth
On 2 Sep 2008 , [EMAIL PROTECTED] entreated about
 freebsd-questions Digest, Vol 231, Issue 5:

  Yes, there's a huge difference between testing differences in images and 
  testing differences in files.  What do you mean by ...know if the 
  display is working correctly.?
  
  Andrew
 
 I want to determine if Mplayer is working correctly. The best way to be 
 sure is to check if the display on the screen is changing. That's the 
 purpose of the screenshots. The screenshots are taken by Nagios every 5 
 minutes and the new screenshot is compared with the preceding one. But, 
 by now, it doesn't work because every tool we try is seeing a diffence 
 between 2 identical images.

JPG format will always be different because of the 
encoding/compression.  I think you need to save to an uncompressed 
format like BMP.  Maybe PNG has a mode that will work too.  BMP has 
no info headers, just the raw data, so that won't be affected by the 
time of the save (at the least).


--
   DA Fo rsythNetwork Supervisor
Principal Technical Officer -- Institute for Water Research
http://www.ru.ac.za/institutes/iwr/


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


Re: problem running named

2008-09-03 Thread Sebastian Tymków
Hello,

What is on logs ?
What do you have in your /etc/rc.conf for named ?

Best regards,

Shamrock

2008/9/3 Richard Yang [EMAIL PROTECTED]

 Hello,

 When I tried /etc/rc.d/named forcestart, i got
 ./named: WARNING: run_rc_command: cannot run /etc/namedb/named

 what does it mean and how do i fix this?
 thanx

 --

 Best Regards

 Richard Yang
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 ___
 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]


IPFW In FreeBSD

2008-09-03 Thread Marcel Grandemange
Ok so I know this is a newbie question..

But ive for years now wanted to know how to only nat certain traffic or maby
only across a certain ip.

Ive tried many examples all not working.. Maby im just doing something
stupid..

 

But, below is a example of a machine that is natting everything on em0.

Id like to know how to change that to everything on say 196.212.65.186
instead of entire interface.

Or better yet..

Stop natting everything and say only nat web traffic.

 

Im having issues where certain traffic is being nated that MUSTN be!

 

Would be REALLY greatfull for input and working examples!

 

00013  6613581  1024484770 fwd 127.0.0.1,3128 tcp from not me to not me
dst-port 80 via em1

00015 3678  424024 fwd 127.0.0.1,3128 tcp from not me to not me
dst-port 8080 via em1

00025 24596697 12747712371 divert 8668 ip from any to any via em0

006000   0 deny ip from any to 196.212.65.186 dst-port 3306
via em0

006000   0 deny ip from any to 196.212.65.187 dst-port 3306
via em0

006007 408 deny ip from any to 196.212.65.187 dst-port 22
via em0

006000   0 deny ip from any to 196.212.65.187 dst-port 199
via em0

006000   0 deny ip from any to me dst-port 3401 via em0

006000   0 deny ip from any to 192.168.239.1 dst-port 3306
via em1

00600  883   49232 deny icmp from any to 196.212.65.187 via em0

006608620239746084 deny udp from me to any dst-port 520 not via em1

00700 46353458 25934143975 allow ip from any to any

655350   0 deny ip from any to any

 

 

em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500

options=19bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4

ether 00:30:48:90:c8:28

inet 196.212.65.186 netmask 0xfff8 broadcast 196.212.65.191

inet 196.212.65.187 netmask 0xfff8 broadcast 196.212.65.191

media: Ethernet autoselect (100baseTX full-duplex)

status: active

 

 

#Nat

natd_enable=YES   # Enable NATD function

natd_flags=-dynamic

natd_interface=em0# interface name of public Internet NIC

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


Setting an environment var at boot

2008-09-03 Thread Nicolas Letellier
Hello,

I have an env var to set for mysqld (UMASK_DIR). 
Today, I set it in /usr/local/etc/rc.d/mysql-server, but it's a bad
idea. When I want to upgrade my mysql5-server port, the file will be
overwritten.

I want to set it in a file loaded a machine boot. This var must be
exported and accessible for my services runned in /etc/rc.d
and /usr/local/etc/rc.d

What file do you advice?

Thanks.

Regards,

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


FreeBSD7 and realtek 8111C

2008-09-03 Thread Andrey Slusar
Hello!
I have the motherboard with realtek 8111C LAN Card.
On FreeBSD6.3 it's card is work fine with driver from realtek wesite -
rtl_bsd_drv_v175.tgz archive.
Build this driver on 7.0-STABLE is not work. I'm hacked this and
driver is compile without problems, but LAN card works is very
unstable - system hang,
when i'm downoad file ~10 seconds. Maybe there are people who can
bring to mind my hack? I'm attached driver and patch.

-- 
Regards,
Andrey.


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

Re: Setting an environment var at boot

2008-09-03 Thread Polytropon
On Wed, 3 Sep 2008 10:49:25 +0200, Nicolas Letellier [EMAIL PROTECTED] wrote:
 What file do you advice?

Unclean, but maybe early enough in the boot process: /etc/rc.local.
This file won't be touched at port's or system's update.

Much more unclean, but certainly earlier: /etc/rc itself. Thile file
is examined during system update.


-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: starting sysinstall at boot time

2008-09-03 Thread joel
Quoting Artis Caune [EMAIL PROTECTED]:
Hi Artis,


Thank you for your quick answer,

/sbin/init is actualy replaced by sysinstall because it is
not present on the mfsroot thus sysinstall is launched instead
of init.

Best regards,
Joel Levee.

 On Tue, Sep 2, 2008 at 12:49 PM,  [EMAIL PROTECTED] wrote:
 
  Hi,
 
  Something seems magic in freebsd: I am looking for what does start
  sysinstall at boot time when I boot from the installation CD.
  The only thing related to systinstall is the setting of the init_path
 variable
  in the loader.rc file but it is in comment thus the loader should finish
  by launchinig init as usual so what does make it launch sysinstall instead?

 I think /sbin/init is replaced with sysinstall.


  As you may guess, my goal is to create an customized installation CD in
  order to install a network appliance wich embedds freebsd.

 I also use custom install script, and I replace /etc/rc on mfs image.




 --
 regards,
 Artis Caune

 . CCNA
 |
 ' didii FreeBSD



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


Re: 32-bit fbsd binaries on amd64 (we can already run 32bit linux/fc4 stuff, so this should work, right?)

2008-09-03 Thread Saša Stupar
 On Thu, Aug 28, 2008 at 5:16 PM, Wojciech Puchar
 [EMAIL PROTECTED] wrote:
 Now, I'm sure, as usual, I'm being naive, but:

 1) We can run 32-bit linux on amd64, so do we have 32-bit freebsd libs
 already?

 yes.


 2) If we don't have the 32-bit libs, is it possible to steal them

 base system's 32-bit libs are installed by default, for older version
 through compat6x,5x,4x

 directly from the corresponding i386 freebsd (as long as we haven't
 rebuilt our kernel too many times), or should we in all cases be
 building them (is there a wiki?  I'm sure setting the CFLAGS for

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


 As you may have guessed, I'm not terribly expert.  I managed to get
 this far (which is to say embarrassingly not far):

 ELF interpreter /libexec/ld-elf32.so.1 not found
 Abort trap: 6

 The only thing I see in libexec is ld-elf.so.1 - is it possible to do
 a standard sysinstall without any of the 32-bit stuff, or am I just a
 symlink short of a load?  If so, is there a metaport of 32-bit stuff,
 or do I have to take the leap and make buildworld?

 Steve
 ___


I had the same issue. Just use sysinstall and install lib32 from
Distribution. Mine 64bit install was also installed without 32bit
libraries because I use minimal installation and then everything else from
the ports.

Sasa


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


Re: starting sysinstall at boot time

2008-09-03 Thread joel
Quoting Manolis Kiagias [EMAIL PROTECTED]:
Hi Manolis

Thank you very much for you quick and accurate answer.
I had mounted the mfsroot but I did not notice that init was not
present. So now every thins is clear and not magic at all.

Best regards,
Joel Levee

 [EMAIL PROTECTED] wrote:
  Hi,
 
  Something seems magic in freebsd: I am looking for what does start
  sysinstall at boot time when I boot from the installation CD.
  The only thing related to systinstall is the setting of the init_path
 variable
  in the loader.rc file but it is in comment thus the loader should finish
  by launchinig init as usual so what does make it launch sysinstall instead?
 
  I also examined /etc/ttys which is used by init but this file is standard
  and I do not find anything that could tell init to start sysinstall instead
  of getty!
 
  As you may guess, my goal is to create an customized installation CD in
  order to install a network appliance wich embedds freebsd.
 
  Sincerily,
  Joel Levee
 
 
 

 This is a tricky one, kind of black magic ;)

 Seriously, it is quite simple:

 You correctly located the init_path variable. This contains the
 following (on a 6.3-RELEASE CD I have handy at the moment):


#init_path=/sbin/init:/sbin/oinit:/sbin/init.bak:/rescue/init:/stand/sysinstall

 This is commented out, but the values shown are the built-in defaults.

 Now, if you take a look at the CD filesystem structure, *there is* an
 /sbin/init and there is *no* /stand/sysinstall. So, you would assume
 that init would run first.

 However, here comes the caveat:

 The root filesystem when you boot your installation media, is  *not* the
 CD-ROM itself. Look at /boot/loader.conf:

 mfsroot_load=YES
 mfsroot_type=mfs_root
 mfsroot_name=/boot/mfsroot

 You will find /boot/mfsroot.gz as the file that acts as the root filesystem.
 You can actually examine the contents of this if you mount it using
 mdconfig (assuming you mounted your install CD on /cdrom):

 cp /cdrom/boot/mfsroot.gz /tmp
 cd /tmp
 unzip mfsroot.gz (Can probably be mounted compressed(?), did not check)
 mdconfig -f mfsroot md0
 mount /dev/md0 /mnt

 Check the contents of /mnt:

 bin   boot  dev   etc   mnt   sbin  stand var

 sbin is a symbolic link to stand. There is no '/stand/init' in , but
 '/stand/sysinstall' exists. Therefore, sysinstall executes ;)



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


pkg_create

2008-09-03 Thread Matias Surdi
I've a directory tree structure in /usr/local from wich I'd like to 
create a package.


How are pkg_create arguments supposed to be?

Where can I find an example?

I've read the manpage, but an example would be really usefull.

Thanks for your help again.

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


Re: Cron Question

2008-09-03 Thread Derek Ragona

At 10:45 AM 9/2/2008, ElihuJ wrote:


Hi all. I have a question about cron jobs that seem to be running to long or
with multiple copies of itself. For example, I have a backup script that I
run that seems to make multiple copies of itself. If I view the running
processes I see numerous instances of the same cron job. Is there something
I can do to limit this from happening? When it does, it drains my CPU and
some of my other processes are non responsive. Any help would be
appreciated. Thank you.
--
View this message in context: 
http://www.nabble.com/Cron-Question-tp19272656p19272656.html

Sent from the freebsd-questions mailing list archive at Nabble.com.


For longer running jobs I do a couple things.  I use a file to be sure only 
one instance is running, but I also add signal handling.  The following is 
written for ksh, but can be adapted to sh if needed:


=
#!/usr/local/bin/ksh
# uncomment the following line for debugging
#set -x


RUNNING_FILE=RUNNING_FILE=/tmp/my_cronjob_running
LOGFILE=LOGFILE=/tmp/my_cronjob.log
[EMAIL PROTECTED]
MAIL=/usr/bin/mail
TOUCH=/usr/bin/touch
RM=/bin/rm


# Print an epilog string and clear the RUNNING_FILE
function epilog {
  echo We are all done scanning.  $LOGFILE
$MAIL -s MyCronjob Report $SENDTO  $LOGFILE
if [ -f $RUNNING_FILE ]; then
$RM $RUNNING_FILE;
fi
}

function got_signal {
  echo Got a signal  $LOGFILE
  epilog
  exit
}


# Here pointers to signal handling subroutines are set
trap got_signal TERM HUP INT QUIT

if [ -f $RUNNING_FILE ]; then
echo mycronjob is already running
else
$TOUCH $RUNNING_FILE
$RM $LOGFILE
$TOUCH $LOGFILE
#   add your job to be done here . . .
#
epilog
fi

=


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


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

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


Re: pkg_create

2008-09-03 Thread Manolis Kiagias

Matias Surdi wrote:
I've a directory tree structure in /usr/local from wich I'd like to 
create a package.


How are pkg_create arguments supposed to be?

Where can I find an example?

I've read the manpage, but an example would be really usefull.

Thanks for your help again.



pkg_create can create packages from your installed ports (or packages), 
it will not create a mega-package of all your system, if thats is what 
you are looking for. Of course, you can instruct pkg_create to create 
packages for *all* your installed programs.


Typical use is something like:

pkg_create -Rb foo-1.2.3_4

(get the exact package version for foo by running pkg_info -Ix foo)

The -R flag will cause packages to be created for all dependencies of 
foo as well.  If you wish to create packages for everything you got 
installed, you may try something like the following simple script (run 
as root to avoid weird permission errors in some cases):


for i in `pkg_info -Ea`; do
 pkg_create -b $i
done

(no need for -R here, since you are doing all packages anyway)

Bear in mind some ports can not be packaged due to licensing issues and 
some others may behave erratically (i.e. sysutils/screen).

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


Re: pkg_create

2008-09-03 Thread Matthias Apitz
El día Wednesday, September 03, 2008 a las 01:48:57PM +0300, Manolis Kiagias 
escribió:

 Matias Surdi wrote:
 I've a directory tree structure in /usr/local from wich I'd like to 
 create a package.
 
 How are pkg_create arguments supposed to be?
 
 Where can I find an example?
 
 I've read the manpage, but an example would be really usefull.
 
 Thanks for your help again.
 
 
 pkg_create can create packages from your installed ports (or packages), 
 it will not create a mega-package of all your system, if thats is what 
 you are looking for. Of course, you can instruct pkg_create to create 
 packages for *all* your installed programs.
 
 Typical use is something like:
 
 pkg_create -Rb foo-1.2.3_4

...

I've until now only used the above mentioned form to create package
files from installed packages to installe them into another computer;

but, if I understand the man-page of pkg_create(1) correctly, one can
also create with this packages from the files in the file system;

create a package with 'pkg_create -Rb foo-1.2.3_4' and have a look into
the resulting tar file foo-1.2.3_4.tbz; this will give you an idea of
what you must provide on the command line for building a package from
certain files; this is what I would start with;

hih

matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
We should all learn from the peoples of The Netherlands, France and Ireland.
Aprendamos todos de los pueblos de Holanda, Francia e Irlanda.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Dragon Player plays video but with no sound

2008-09-03 Thread Warren Liddell
Ever since i installed FreeBSD 7.0 and KDE4 dragon player will play the video 
files but with no sound, is there any switch or config that i may be missing 
as to why this is occuring?  atm im having to use VLC to be abel to watch any 
moves in full screen with sound.

Sound works with many other apps and is loaded in the kernel.

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


Re: Google Chrome

2008-09-03 Thread RW
On Tue, 02 Sep 2008 16:16:08 -0800
Peter Giessel [EMAIL PROTECTED] wrote:


 And Safari is based on KDE's Konquerer (which already runs on
 FreeBSD), so with a FreeBSD version of Chrome, you would essentially
 have Konquerer ported to Apple, ported to Microsoft, ported to Linux,
 ported back to FreeBSD

They've based their rendering on WebKit, but there's a lot more to
Chrome than that:

http://www.google.com/googlebooks/chrome/

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


Re: Google Chrome

2008-09-03 Thread Ivan Voras
RW wrote:
 On Tue, 02 Sep 2008 16:16:08 -0800
 Peter Giessel [EMAIL PROTECTED] wrote:
 
 
 And Safari is based on KDE's Konquerer (which already runs on
 FreeBSD), so with a FreeBSD version of Chrome, you would essentially
 have Konquerer ported to Apple, ported to Microsoft, ported to Linux,
 ported back to FreeBSD
 
 They've based their rendering on WebKit, but there's a lot more to
 Chrome than that:
 
 http://www.google.com/googlebooks/chrome/
 
 I think it looks very interesting.

I think it would be in beta for decades :) There's just so much thing
they said they'll do that would be very complicated to implement - their
multiprocessing model instead of multithreading for example. To me it
looks like they will soon find out that there's a reason todays browsers
behave like they to - the platform (HTML, CSS, JS, Flash...) is very
complex.



signature.asc
Description: OpenPGP digital signature


Re: Google Chrome

2008-09-03 Thread Wojciech Puchar

I think it would be in beta for decades :) There's just so much thing
they said they'll do that would be very complicated to implement - their
multiprocessing model instead of multithreading for example. To me it
looks like they will soon find out that there's a reason todays browsers
behave like they to - the platform (HTML, CSS, JS, Flash...) is very
complex.



anyway what a point of using google software having other alternatives.

do you really like to everything be controlled by one company? google 
mail, google news, google browser, even google documents.


within few years - google WWW (incompatible with normal).


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


gigabyte GA-71XE4 (single amd athlon cpu motherboard

2008-09-03 Thread jonathan michaels
greetings all,

i just repaired my old machine by replacing the damaged motherboard
with these items

motherboard: Gigabyte GA-71XE4 (chipset AMD-75?, with single AMD Athlon cpu)
audio:   Creative SB PCI 128 (CT-4815)
video:   nVidia GeForce 4 MX440 SE
nic: D-Link DFE-530TX+ 10/100BaseTX (be replaced with intel 10/100)

freebsd v5.2 and 5.3 boots no problems works well but freebsd v7 locks
solid right when it get to teh load image to/from md0 device this
happens when i use teh -release cdrom to install freebsd.

i looked on google and on marc tying for gigabyte/ga-71xe4 and various
combinations of teh whole chain of bits, also tried specific freebsd
lists (-hardware and -questions) and drew blanks .. guess this will
change that .. grin.

after a bit of thinking i tried booting in 'Safe mode it booted
properly and went on to complete the installation and is now working as
well as i have seen freebsd work on my other machines.

after starting to use safe mode i had no further problems witht eh
boot/startup lockups.

another thing thats confused me is how freebsd can work out the ide
cable is teh wrong one, dose it really make that much difference ??

i have attached the /var/run/dmesg.run and cut down version of
/var/log/messages.

please reply to address in headers .. i'm not subscribed to questions-


some light would be appreciated on this whole acpi issue and if i need
nvidia drivers to make teh video card work in normal/text mode ??

much thanks and kind regards

jonathan


/var/run/dmesg.run

Copyright (c) 1992-2008 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) Processor (1009.95-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x642  Stepping = 2
  
Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
  AMD Features=0xc0440800SYSCALL,b18,MMX+,3DNow!+,3DNow!
real memory  = 805240832 (767 MB)
avail memory = 773992448 (738 MB)
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 19:59:27)
cpu0 on motherboard
pcib0: AMD-751 host to PCI bridge pcibus 0 on motherboard
pir0: PCI Interrupt Routing Table: 7 Entries on motherboard
pci0: PCI bus on pcib0
agp0: AMD 751 host to AGP bridge on hostb0
pcib1: PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
vgapci0: VGA-compatible display mem 
0xee00-0xeeff,0xd800-0xdfff,0xe5c8-0xe5cf irq 11 at 
device 5.0 on pci1
isab0: PCI-ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
atapci0: AMD 756 UDMA66 controller port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 7.1 on pci0
ata0: ATA channel 0 on atapci0
ata0: [ITHREAD]
ata1: ATA channel 1 on atapci0
pci0: bridge at device 7.3 (no driver attached)
ohci0: AMD-756 USB Controller mem 0xefffe000-0xefffefff irq 9 at device 7.4 
on pci0
ohci0: [GIANT-LOCKED]
ohci0: [ITHREAD]
usb0: OHCI version 1.0, legacy support
usb0: AMD-756 USB Controller on ohci0
usb0: USB revision 1.0
uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb0
uhub0: 4 ports with 4 removable, self powered
rl0: D-Link DFE-530TX+ 10/100BaseTX port 0xdc00-0xdcff mem 
0xef00-0xefff irq 11 at device 9.0 on pci0
miibus0: MII bus on rl0
rlphy0: RealTek internal media interface PHY 0 on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:05:5d:d5:23:f3
rl0: [ITHREAD]
pcm0: Creative CT5880-C port 0xde00-0xde3f irq 10 at device 10.0 on pci0
pcm0: SigmaTel STAC9721/23 AC97 Codec
pcm0: [ITHREAD]
pcm0: Playback: DAC1,DAC2 / Record: ADC
pmtimer0 on isa0
atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model Generic PS/2 mouse, device ID 0
fdc0: Enhanced floppy controller at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: [FILTER]
ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
ppbus0: Parallel port bus on ppc0
ppbus0: [ITHREAD]
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
ppc0: [GIANT-LOCKED]
ppc0: [ITHREAD]
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio0: [FILTER]
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
sio1: [FILTER]
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 

Re: FreeBSD7 and realtek 8111C

2008-09-03 Thread Jason Lenthe

Andrey Slusar wrote:
 Hello!
 I have the motherboard with realtek 8111C LAN Card.
 On FreeBSD6.3 it's card is work fine with driver from realtek wesite -
 rtl_bsd_drv_v175.tgz archive.
 Build this driver on 7.0-STABLE is not work. I'm hacked this and
 driver is compile without problems, but LAN card works is very
 unstable - system hang,
 when i'm downoad file ~10 seconds. Maybe there are people who can
 bring to mind my hack? I'm attached driver and patch.

I have this board on an Intel D945GCNL motherboard and the driver that 
comes with FreeBSD 7 works just fine for me.  Why are you trying to use 
the driver from the website?


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


Re: Cron Question

2008-09-03 Thread ElihuJ

Thank you for the help. I changed the script to run Weekly instead of Daily.
If it was starting while it was still running, this should fix it. I'll post
my progress, and thank you again.
-- 
View this message in context: 
http://www.nabble.com/Cron-Question-tp19272656p19287970.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


Re: FreeBSD7 and realtek 8111C

2008-09-03 Thread Popof Popof
Hi,
I have a ASRock Wolfdale1333-GLAN/M2, and I use it in order to run FreeNAS.
FreeNAS is based on FreeBSD in order to simply provide a NAS solution.
With the version of FreeNAS based on FreeBSD 6.3 the NIC wasn't recognize, I
had to download those drivers and to compile them in order to make my NIC
working on FreeNAS.
When I tried the version based on FreeBSD 7 the system doesn't recognize my
NIC. I load the module that i made for my NIC, the system recognize my NIC
but when i tried to assign to it an ip address its stops to work.

Jason, what is the name of the device that you use? Maybe this card isn't
support with the realtek driver on FreeBSD 7 but its use another one. Mine
is rl.

2008/9/3 Jason Lenthe [EMAIL PROTECTED]

 Andrey Slusar wrote:
  Hello!
  I have the motherboard with realtek 8111C LAN Card.
  On FreeBSD6.3 it's card is work fine with driver from realtek wesite -
  rtl_bsd_drv_v175.tgz archive.
  Build this driver on 7.0-STABLE is not work. I'm hacked this and
  driver is compile without problems, but LAN card works is very
  unstable - system hang,
  when i'm downoad file ~10 seconds. Maybe there are people who can
  bring to mind my hack? I'm attached driver and patch.

 I have this board on an Intel D945GCNL motherboard and the driver that
 comes with FreeBSD 7 works just fine for me.  Why are you trying to use the
 driver from the website?

 ___
 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: gigabyte GA-71XE4 (single amd athlon cpu motherboard

2008-09-03 Thread Volodymyr Kostyrko

jonathan michaels wrote:

greetings all,



freebsd v5.2 and 5.3 boots no problems works well but freebsd v7 locks
solid right when it get to teh load image to/from md0 device this
happens when i use teh -release cdrom to install freebsd.


How exactly do you load your image?

--
Sphinx of black quartz judge my vow.

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


Re: Setting an environment var at boot

2008-09-03 Thread RW
On Wed, 3 Sep 2008 11:28:14 +0200
Polytropon [EMAIL PROTECTED] wrote:

 On Wed, 3 Sep 2008 10:49:25 +0200, Nicolas Letellier
 [EMAIL PROTECTED] wrote:
  What file do you advice?
 
 Unclean, but maybe early enough in the boot process: /etc/rc.local.
 This file won't be touched at port's or system's update.

I don't think that would work, since rc.local is sourced from a
subshell.


 Much more unclean, but certainly earlier: /etc/rc itself. Thile file
 is examined during system update.
 
 

I've not tried it myself, but I think you could probably just export the
variable in rc.conf (provided that the value isn't required in the rc.d
script itself, for initialization, before run_rc_command is executed). 

You can also put per script configuration in the file

   /etc/rc.conf.d/name

where name is whatever the rc.d script sets as name.

 


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


vmware tools for ESX Server 3.5

2008-09-03 Thread B. Cook

Hello,

I am setting up FreeBSD 7.0 and he is asking about the vmware-tools.

Ports has some things, but I am not sure what I need, and neither is he.

Can anyone tell me what it needs?

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


Re: pkg_create

2008-09-03 Thread Ivan Voras
Matias Surdi wrote:
 I've a directory tree structure in /usr/local from wich I'd like to
 create a package.
 
 How are pkg_create arguments supposed to be?
 
 Where can I find an example?
 
 I've read the manpage, but an example would be really usefull.
 
 Thanks for your help again.

Though it's theoretically possible, don't use pkg_create on a bunch of
files you scattered on the file system to create a package. a) it's hard
to do right by hand and b) you'll probably create an incorrect package.

What you can do (and this is much easier) is write a port for your
application(s), see
http://www.freebsd.org/doc/en/books/porters-handbook/ and then create a
binary package from that port using make package.

(You do not need to submit the port or your source to anyone but you
must have it on your computer to create the package).



signature.asc
Description: OpenPGP digital signature


Re: FreeBSD7 and realtek 8111C

2008-09-03 Thread Andrey Slusar
2008/9/3 Jason Lenthe [EMAIL PROTECTED]:
 Andrey Slusar wrote:
 Hello!
 I have the motherboard with realtek 8111C LAN Card.
 On FreeBSD6.3 it's card is work fine with driver from realtek wesite -
 rtl_bsd_drv_v175.tgz archive.
 Build this driver on 7.0-STABLE is not work. I'm hacked this and
 driver is compile without problems, but LAN card works is very
 unstable - system hang,
 when i'm downoad file ~10 seconds. Maybe there are people who can
 bring to mind my hack? I'm attached driver and patch.

 I have this board on an Intel D945GCNL motherboard and the driver that comes
 with FreeBSD 7 works just fine for me.  Why are you trying to use the driver
 from the website?

This NIC is unsupported. May bee on you motherboard the realtek 8111B
card, not C.
8111B is works fine.
See this PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=123123

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


Re: FreeBSD7 and realtek 8111C

2008-09-03 Thread Jason Lenthe

Popof Popof wrote:


Jason, what is the name of the device that you use? Maybe this card isn't
support with the realtek driver on FreeBSD 7 but its use another one. Mine
is rl.



My mistake.  I'm using 8111B not 8111C.  Sorry.

re0: RealTek 8168/8111B PCIe Gigabit Ethernet port 0x1000-0x10ff mem 
0x9000-0x9fff irq 17 at device 0.0 on pci2


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


Re: FreeBSD7 and realtek 8111C

2008-09-03 Thread Popof Popof
Have you tried this patch instead of the Realtek driver ?
Did you get the same problems that described ?


2008/9/3 Andrey Slusar [EMAIL PROTECTED]

 2008/9/3 Jason Lenthe [EMAIL PROTECTED]:
  Andrey Slusar wrote:
  Hello!
  I have the motherboard with realtek 8111C LAN Card.
  On FreeBSD6.3 it's card is work fine with driver from realtek wesite -
  rtl_bsd_drv_v175.tgz archive.
  Build this driver on 7.0-STABLE is not work. I'm hacked this and
  driver is compile without problems, but LAN card works is very
  unstable - system hang,
  when i'm downoad file ~10 seconds. Maybe there are people who can
  bring to mind my hack? I'm attached driver and patch.
 
  I have this board on an Intel D945GCNL motherboard and the driver that
 comes
  with FreeBSD 7 works just fine for me.  Why are you trying to use the
 driver
  from the website?

 This NIC is unsupported. May bee on you motherboard the realtek 8111B
 card, not C.
 8111B is works fine.
 See this PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=123123

 --
 Regards,
 Andrey.
 ___
 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: FreeBSD7 and realtek 8111C

2008-09-03 Thread Andrey Slusar
2008/9/3 Popof Popof [EMAIL PROTECTED]:
 Have you tried this patch instead of the Realtek driver ?
 Did you get the same problems that described ?

 Yes,  re0: MII without any phy!

 See this PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=123123

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


Re: Google Chrome

2008-09-03 Thread Gerard
On Wed, 03 Sep 2008 13:55:39 +0200
Ivan Voras [EMAIL PROTECTED] wrote:

[snip]

 I think it would be in beta for decades :) There's just so much thing
 they said they'll do that would be very complicated to implement -
 their multiprocessing model instead of multithreading for example. To
 me it looks like they will soon find out that there's a reason todays
 browsers behave like they to - the platform (HTML, CSS, JS, Flash...)
 is very complex.

Google has had this Beta-4-Ever frame of mind for years now. They
virtually never release a final product; thus effectively covering
their 'ass' with the word BETA when something goes wrong or doesn't
work as expected or required by RFC's, etc.

In any case, this little tidbit looks rather interesting.

http://yro.slashdot.org/article.pl?sid=08/09/03/0247205from=rss

-- 
Gerard
[EMAIL PROTECTED]

The thrill is here, but it won't last long
You'd better have your fun before it moves along...


signature.asc
Description: PGP signature


Re: cannot make/mount ext2 partition

2008-09-03 Thread Jim
 I'm trying to create an EXT2 partition so I can share files between
 FreeBSD and any other operating system I put on the computer, without
 the limitations of FAT32.

 My kernel config is the generic kernel, with a bunch of SCSI, RAID and
 network drivers, MD_ROOT and NFS_ROOT commented out.

 However, once I'm done making the partition, I can't mount it. When I
 try mounting it, I get the following error.
 mount: /dev/ad8s1 : Operation not supported by device

[...]
 [EMAIL PROTECTED] ~]$ sudo mount -t ext2 /dev/ad8s1 /mnt


Solved, I needed to use ext2fs, not ext2.

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


Re: Google Chrome

2008-09-03 Thread RW
On Wed, 3 Sep 2008 13:59:28 +0200 (CEST)
Wojciech Puchar [EMAIL PROTECTED] wrote:

 anyway what a point of using google software having other
 alternatives.
 
 do you really like to everything be controlled by one company? google 
 mail, google news, google browser, even google documents.
 
 within few years - google WWW (incompatible with normal).

For most people that's already happened, except that it's Adobe-Flash
WWW. Google's approach of open-source software, and open-extensions,
leading to new standards, sounds a lot better to me.



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


Re: pkg_create

2008-09-03 Thread Matias Surdi

Ivan Voras escribió:

Matias Surdi wrote:

I've a directory tree structure in /usr/local from wich I'd like to
create a package.

How are pkg_create arguments supposed to be?

Where can I find an example?

I've read the manpage, but an example would be really usefull.

Thanks for your help again.


Though it's theoretically possible, don't use pkg_create on a bunch of
files you scattered on the file system to create a package. a) it's hard
to do right by hand and b) you'll probably create an incorrect package.

What you can do (and this is much easier) is write a port for your
application(s), see
http://www.freebsd.org/doc/en/books/porters-handbook/ and then create a
binary package from that port using make package.

(You do not need to submit the port or your source to anyone but you
must have it on your computer to create the package).




Thanks, this will do the job.


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


Re: Google Chrome

2008-09-03 Thread David Kelly
On Wed, Sep 03, 2008 at 03:13:35PM +0100, RW wrote:
 
 For most people that's already happened, except that it's Adobe-Flash
 WWW. Google's approach of open-source software, and open-extensions,
 leading to new standards, sounds a lot better to me.

What about this?
http://www.theregister.co.uk/2008/09/03/google_chrome_eula_sucks/

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: smtp authentication

2008-09-03 Thread Lokadamus

David Southwell wrote:

Hi

 I am really ignorant about this issue.

I am running postfix on freebsd 7.0 using a dynamic IP address and am getting 
requests to turn on smtp authentication for outgoing mails to reach servers 
such as yahoo.com but do not know how to do it.


I am using kmail as a client.

If anyone could point me in the right direction I would be most grateful.

Thank you

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

  

Google can help
http://www.google.de/search?q=postfix+smtp+authenticationie=utf-8oe=utf-8aq=trls=org.mozilla:de:officialclient=firefox-a

http://postfix.state-of-mind.de/patrick.koetter/smtpauth/
Sektion 16 
http://postfix.state-of-mind.de/patrick.koetter/smtpauth/smtp_auth_mailservers.html 
looks interesting.



Hope, it work.



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


Re: Google Chrome

2008-09-03 Thread RW
On Wed, 3 Sep 2008 09:39:01 -0500
David Kelly [EMAIL PROTECTED] wrote:

 On Wed, Sep 03, 2008 at 03:13:35PM +0100, RW wrote:
  
  For most people that's already happened, except that it's
  Adobe-Flash WWW. Google's approach of open-source software, and
  open-extensions, leading to new standards, sounds a lot better to
  me.
 
 What about this?
 http://www.theregister.co.uk/2008/09/03/google_chrome_eula_sucks/


That's for the binary. AFAIK the source is BSD licensed, with
some third-party components under other open-source licences. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IPFW In FreeBSD

2008-09-03 Thread Christopher Cowart
Marcel Grandemange wrote:
 Ok so I know this is a newbie question..
 
 But ive for years now wanted to know how to only nat certain traffic or maby
 only across a certain ip.
 
 Ive tried many examples all not working.. Maby im just doing something
 stupid..
 
 But, below is a example of a machine that is natting everything on em0.
 
 Id like to know how to change that to everything on say 196.212.65.186
 instead of entire interface.
 
 Or better yet..
 
 Stop natting everything and say only nat web traffic.
 
 Im having issues where certain traffic is being nated that MUSTN be!

If you're running 7.0, you can ditch divert and use the built-in NAT
functionality (you can probably replace the nat rules for divert rules).

You can use source and destination ports and addresses when deciding
what to have ipfw divert/nat. They're rules just like any others. 

Here's what I do:

/etc/ipfw.rules:

| CMD=/sbin/ipfw -q add
| 
| # Configure NAT
| /sbin/ipfw -q nat 1 config if inet log reset unreg_only same_ports \
| redirect_port tcp 10.1.10.20:80 80 \
| redirect_port tcp 10.1.10.20:443 443
| 
| # loopback
| $CMD allow all from any to any via lo0
| $CMD deny log all from 127.0.0.0/8 to any
| 
| # Anti-spoof
| $CMD deny log all from any to any not verrevpath in
| 
| # Catch proto 41 without NATing
| $CMD allow ipv6 from any to me
| 
| # Allow this box to initiate unNATed outbound connections
| $CMD allow ip from me to any keep-state
| 
| # NAT
| $CMD nat 1 ip4 from any to me in via inet
| $CMD nat 1 ip4 from 10.1.10.0/24 to not me out via inet
| 
| # ICMP
| $CMD allow icmp from any to any
| 
| # SSH From local nets
| $CMD allow tcp from 10.1.10.0/24 to me ssh
| 
| # DNS from local nets
| $CMD allow udp from 10.1.10.0/24 to me domain
| 
| # DHCP from local nets
| $CMD allow udp from any to me bootps in via bridge0
| $CMD allow udp from 0.0.0.0 to 255.255.255.255 bootps in via bridge0
| 
| # Deny anything else destined to me
| $CMD deny log ip from any to me
| 
| # But forward any other traffic
| $CMD allow ip4 from any to any

-- 
Chris Cowart
Network Technical Lead
Network  Infrastructure Services, RSSP-IT
UC Berkeley


pgpkl8dhBai1t.pgp
Description: PGP signature


/: write failed, filesystem is full

2008-09-03 Thread Nikola Knežević

Hi,
I'm trying to install FreeBSD 7.0 on our new server (Intel Xeon 2x4- 
core machine), which has a 250GB SATAII disk. I used -bootonly CD  
image, and assigned whole disk to FreeBSD. Breakdown is:

/ - 2GB
swap - 4GB
/var - 9GB
/tmp - 4GB
/usr - 213GB

As soon as I start copying files from FTP, this is the error I get:
/: write failed, filesystem is full

This shouldn't happen, since sysinstall did newfs on these partitions.

What to do?

I'll now try to run livefs disk, to see what is happening there.

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


Re: vmware tools for ESX Server 3.5

2008-09-03 Thread John Nielsen
On Wednesday 03 September 2008, B. Cook wrote:
 I am setting up FreeBSD 7.0 and he is asking about the vmware-tools.

 Ports has some things, but I am not sure what I need, and neither is he.

 Can anyone tell me what it needs?

I usually create VM's with the Intel gigabit vNIC's which can use 
FreeBSD's em driver. Since Xorg includes the vmmouse and vmware video 
drivers already, the main things you should be looking for are the 
memory balloon driver and the guestd service. In the past I have gotten 
these to work by using the supplied tools (on the CD image that 
is inserted when you select Install VMware tools from the host). 
However it is much easier nowadays to use the free version in 
ports/emulators/open-vm-tools (or open-vm-tools-nox11).

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


[6.3/Apache22] Right way to compile worker MPM?

2008-09-03 Thread Gilles
Hello

I'm trying to compile the latest ports of Apache22 with support for
the worker MPM so that each child process spawns thread. I'd like to
see if performance improves compared to the prefork model.

Although I checked the THREADS/Enable threads support in APR item in
make config, the resulting binary says this:

# pkg_info | grep apache   
apache-2.2.9_3  Version 2.2.x of Apache web server with prefork
MPM.

Should I edit the makefile file manually to get worked MPM?

Thank you.

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


Re: Setting an environment var at boot

2008-09-03 Thread Nikolaj Thygesen

Nicolas Letellier wrote:

Hello,

I have an env var to set for mysqld (UMASK_DIR). 
Today, I set it in /usr/local/etc/rc.d/mysql-server, but it's a bad

idea. When I want to upgrade my mysql5-server port, the file will be
overwritten.

I want to set it in a file loaded a machine boot. This var must be
exported and accessible for my services runned in /etc/rc.d
and /usr/local/etc/rc.d

What file do you advice?

Thanks.

Regards,

  

Wouldn't this go into '/etc/login.conf'?

N :o)

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


Segmentation fault Apache-2.2.9

2008-09-03 Thread Gerard
I continue to see varying amounts of chatter in the 'httpd-error.log'
file. This is a snipped of what is being written to the file.


**

[Wed Sep 03 06:59:31 2008] [notice] Digest: generating secret for digest 
authentication ...
[Wed Sep 03 06:59:31 2008] [notice] Digest: done
[Wed Sep 03 06:59:32 2008] [notice] Apache/2.2.9 (FreeBSD) mod_ssl/2.2.9 
OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.6 with Suhosin-Patch configured -- resuming 
normal operations
[Wed Sep 03 08:28:11 2008] [notice] child pid 1039 exit signal Segmentation 
fault (11)
[Wed Sep 03 08:56:01 2008] [notice] child pid 989 exit signal Segmentation 
fault (11)
[Wed Sep 03 09:29:00 2008] [notice] child pid 1692 exit signal Segmentation 
fault (11)
[Wed Sep 03 09:29:31 2008] [notice] child pid 990 exit signal Segmentation 
fault (11)


**

Some days there may be twenty or more 'segmentation fault' messages. How
can I debug this to see what is crashing and why? Everything appears to
be operating correctly.


-- 
Gerard
[EMAIL PROTECTED]

All men profess honesty as long as they can.
To believe all men honest would be folly.
To believe none so is something worse.

John Quincy Adams


signature.asc
Description: PGP signature


Re: [6.3/Apache22] Right way to compile worker MPM?

2008-09-03 Thread Michael Powell
Gilles wrote:

 Hello
 
 I'm trying to compile the latest ports of Apache22 with support for
 the worker MPM so that each child process spawns thread. I'd like to
 see if performance improves compared to the prefork model.
 
 Although I checked the THREADS/Enable threads support in APR item in
 make config, the resulting binary says this:

This has nothing to do with enabling worker.
 
 # pkg_info | grep apache
 apache-2.2.9_3  Version 2.2.x of Apache web server with prefork
 MPM.

apachectl -l will also list the core modules built in at compile time.

 Should I edit the makefile file manually to get worked MPM?
 

No need. Edit /etc/make.conf. Example from mine:

#For Apache-2.2.9 Build
WITH_MPM=event
WITH_THREADS=yes
WITHOUT_AUTHN_MODULES=yes
WITH_CUSTOM_AUTHZ=authz_host
WITHOUT_DAV_MODULES=yes
WITHOUT_LDAP_MODULES=yes
#WITH_PROXY_MODULES=yes
#WITHOUT_SUEXEC_MODULES=yes
WITH_THREADS_MODULES=yes
WITH_CACHE_MODULES=yes
WITH_SSL_MODULES=yes
WITH_AUTH_MODULES=yes
WITH_MISC_MODULES=yes
WITH_CUSTOM_EXPERIMENTAL=ext_filter

You can still adjust overrides for some of these items in the make config
command, IIRC. It can also be passed on the command line, but I do this so
subsequent portupgrades reproduce the build environment automagically.

Of course, you'll want worker instead of event. I'm just giving event a look
see. One problem is that worker/event mpm is not recommended for use with
mod_php as some pieces of PHP is not thread safe. So running PHP as FastCGI
with mod_fcgid is what I'm currently playing around with for test purposes.
YMMV 

-Mike


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


Re: Google Chrome

2008-09-03 Thread Edwin L. Culp

Jona Joachim [EMAIL PROTECTED] escribió:


On 2008-09-02, Vlad GURDIGA [EMAIL PROTECTED] wrote:

On Wed, Sep 3, 2008 at 12:14 AM, Beech Rintoul [EMAIL PROTECTED] wrote:

On Tuesday 02 September 2008, Vlad GURDIGA said:

Hello,

In Google Chrome System requirements
(http://www.google.com/support/chrome/bin/answer.py?answer=95411to
pic=14660) they say that a Linux version is going to appear. And in
the Download and install help article
(http://www.google.com/support/chrome/bin/answer.py?answer=95346qu
ery=open-sourcetopic=type=) they say that it is open-source.

Does this mean that is hope we'll have a FreeBSD version?


If someone steps up and rolls and submits the port. You're welcome to
volunteer :-)


I'd be glad to, but I'm afraid I do not have the skills for that... :-(


Once it runs on Linux it shouldn't be too difficult to port it to FreeBSD.
However it doesn't run on Linux ATM according to what I've read.


Has anyone tried to install it using wine?  I tried but it just hung  
after agreeing to the license.


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


portupgrade / ruby18 is eating up all CPU [FreeBSD 7.0-RELEASE-p3 amd64]

2008-09-03 Thread Oliver Peter
Hi,

Something seems to be wrong with my current 7.0/amd64 setup.

# sudo portupgrade -Rra

Sometimes portupgrade stops while Updating the portsdb [1].
OK, actually it doesn't really stop, with top I see that the
ruby18 process is eating up the whole CPU[2].

In the current case it's about p5-Socket6 - but it seems that
it isn't about the port, it's more about the portsdb.

When I try to restart (CTRL-C) and run portupgrade again it
hangs at the same point Updating the portsdb.
Only when I manually force an update of the portsdb it goes
through:

# sudo pkgdb -fu

But than it will randomly hang again in the whole portupgrade
run at one of the next updates of the portsdb...

I'm able reproduce this problem within a jail and on a regular
host system, with portupgrade and portupgrade-devel.

At this moment I'm suffering an interrupt storm on that machine,
but I already had the problem before.  The machine works fine,
no performance impact or something like that.
All described here 
http://lists.freebsd.org/pipermail/freebsd-acpi/2008-September/005095.html

% uname -a
FreeBSD nemesis.charlie.mouhaha.de 7.0-RELEASE-p3 FreeBSD 
7.0-RELEASE-p3 #7: Thu Aug 14 20:09:36 BST 2008 [EMAIL 
PROTECTED]:/usr/obj/usr/src/sys/CHARLIE  amd64

% portupgrade --version
portupgrade 2.4.6

% ruby18 --version
ruby 1.8.6 (2008-08-11 patchlevel 287) [amd64-freebsd7]

Cheers
Ollie

[1] sudo portupgrade -Rra
...
[Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 313 packages found 
(-0 +1) . done]
---  Upgrading 'p5-Socket6-0.20' to 'p5-Socket6-0.22' (net/p5-Socket6)
---  Building '/usr/ports/net/p5-Socket6'
===  Cleaning for p5-Socket6-0.22
= Socket6-0.22.tar.gz doesn't seem to exist in /var/ports/distfiles/.
= Attempting to fetch from 
ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/Socket6/.
Socket6-0.22.tar.gz   100% of   56 kB  314 kBps
===  Extracting for p5-Socket6-0.22
= MD5 Checksum OK for Socket6-0.22.tar.gz.
= SHA256 Checksum OK for Socket6-0.22.tar.gz.
===   p5-Socket6-0.22 depends on file: /usr/local/bin/perl5.8.8 - found
===  Patching for p5-Socket6-0.22
===   p5-Socket6-0.22 depends on file: /usr/local/bin/perl5.8.8 - found
===   p5-Socket6-0.22 depends on file: /usr/local/bin/perl5.8.8 - found
===  Configuring for p5-Socket6-0.22
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether your Perl5 have PL_sv_undef... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for getaddrinfo... yes
checking for getnameinfo... yes
checking for gethostbyname2... yes
checking for getipnodebyname... yes
checking for getipnodebyaddr... yes
checking for inet_pton... yes
checking for inet_ntop... yes
checking whether you have sa_len in struct sockaddr... yes
checking whether you have sin6_scope_id in struct sockaddr_in6... yes
checking for socklen_t... yes
configure: creating ./config.status
config.status: creating config.pl
config.status: creating gailookup.pl
config.status: creating config.h
Checking if your kit is complete...
Looks good
Writing Makefile for Socket6
===  Building for p5-Socket6-0.22
cp Socket6.pm blib/lib/Socket6.pm
/usr/local/bin/perl5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/ExtUtils/xsubpp 
-noprototypes -typemap /usr/local/lib/perl5/5.8.8/ExtUtils/typemap  Socket6.xs 
 Socket6.xsc  mv Socket6.xsc Socket6.c
cc -c-O2 -fno-strict-aliasing -pipe -march=athlon64 -O2 
-fno-strict-aliasing -pipe -march=athlon64-DVERSION=\0.22\  
-DXS_VERSION=\0.22\ -DPIC -fPIC -I/usr/local/lib/perl5/5.8.8/mach/CORE   
Socket6.c
Running Mkbootstrap for Socket6 ()
chmod 644 Socket6.bs
rm -f blib/arch/auto/Socket6/Socket6.so
cc  -shared  -L/usr/local/lib Socket6.o  -o blib/arch/auto/Socket6/Socket6.so
chmod 755 blib/arch/auto/Socket6/Socket6.so
cp Socket6.bs blib/arch/auto/Socket6/Socket6.bs
chmod 644 blib/arch/auto/Socket6/Socket6.bs
[Updating the portsdb format:bdb_btree in /var/db/pkg ... - 19084
port entries
found 
.1000.2000.3000.4000.5000.6000.7000.8000.9000.1.11000.12000.13000.14000.15000.16000.17000.18000.19000
 .
done]

[2] top
  PID USERNAME   THR PRI NICE   SIZERES STATE  C   TIME   WCPU COMMAND
12123 root 1 1180 68636K 39552K CPU1   1 191:27 100.00% ruby18
...

[3] dmesg
Copyright (c) 1992-2008 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. 

Logo

2008-09-03 Thread Albert Cervin

Hi!

I'm just wondering if it is okay to use your logo (the one at the top of 
your homepage) on our webpage. We use FreeBSD on our server and are very 
happy with it so we wanted to put Powered by:  and then the logo at 
the bottom of our admin page. Is that okay to do?


Best regards and thanks for a great OS!
Albert Cervin
www.cavalince.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mysql

2008-09-03 Thread Mad Unix
I need to replicate MySQL DB of mulltiple server on SiteA to my DR-Site
Site_B... all DB
are alocated on RHEL,SuSE,Centos,Debian, FreeBSD servers.
I need a script to take Multiple MySql DataBase Backup and then import to
SiteB, the replica
can be done as cold or hotbackup and cron it
-- 
Madunix_at_Gmail
Sysadmin

Computers are useless. They can only give you answers - Pablo Picasso
Never trust a computer you can't throw out a window. - Steve Wozniak
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Segmentation fault Apache-2.2.9

2008-09-03 Thread Michael Powell
Gerard wrote:

 I continue to see varying amounts of chatter in the 'httpd-error.log'
 file. This is a snipped of what is being written to the file.
 
 
 **
 
 [Wed Sep 03 06:59:31 2008] [notice] Digest: generating secret for digest
 [authentication ... Wed Sep 03 06:59:31 2008] [notice] Digest: done
 [Wed Sep 03 06:59:32 2008] [notice] Apache/2.2.9 (FreeBSD) mod_ssl/2.2.9
 [OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.6 with Suhosin-Patch configured --
 [resuming normal operations Wed Sep 03 08:28:11 2008] [notice] child pid
 [1039 exit signal Segmentation fault (11) Wed Sep 03 08:56:01 2008]
 [[notice] child pid 989 exit signal Segmentation fault (11) Wed Sep 03
 [09:29:00 2008] [notice] child pid 1692 exit signal Segmentation fault
 [(11) Wed Sep 03 09:29:31 2008] [notice] child pid 990 exit signal
 [Segmentation fault (11)
 
 
 **
 
 Some days there may be twenty or more 'segmentation fault' messages. How
 can I debug this to see what is crashing and why? Everything appears to
 be operating correctly.
 
 

Easiest thing to try quickly as a stab in the dark is to comment out
extension=hash.so in your extensions.ini and restart apache. I and others
have had trouble with this one. However, when this particular problem
surfaced for me Apache wouldn't start at all, so maybe you're seeing
something else. This is just a quick rule out a possible, but deeper
investigation is probably warranted in your case.

If this doesn't make any difference you can crank up the logging levels in
both the Apache config and the php.ini both. Instructions are in the
commented out sections of the relevant files. Careful here especially with
the php.ini as you don't want the output showing to surfers.

Sometimes truss can be a potentially helpful utility. The -f switch will
allow it to look at child processes as they fork. truss -f -p [The root
Apache PID]

-Mike
 

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


Re: Google Chrome

2008-09-03 Thread Gerard
On Wed, 3 Sep 2008 19:03:51 +0100
RW [EMAIL PROTECTED] wrote:

 On Wed, 3 Sep 2008 09:39:01 -0500
 David Kelly [EMAIL PROTECTED] wrote:
 
  On Wed, Sep 03, 2008 at 03:13:35PM +0100, RW wrote:  
   
   For most people that's already happened, except that it's
   Adobe-Flash WWW. Google's approach of open-source software, and
   open-extensions, leading to new standards, sounds a lot better to
   me.  
  
  What about this?
  http://www.theregister.co.uk/2008/09/03/google_chrome_eula_sucks/  
 
 
 That's for the binary. AFAIK the source is BSD licensed, with
 some third-party components under other open-source licences. 

Well, it did not take Google long to get on noticed:

http://www.us-cert.gov/current/index.html#google_chrome_vulnerability

I think I will pass on the whole Google 'browser' concept.

-- 
Gerard
[EMAIL PROTECTED]

All is well that ends well.

John Heywood


signature.asc
Description: PGP signature


Current status of SEBSD / how to build FLASK system on top of current FreeBSD?

2008-09-03 Thread Stefan Dalibor
Hello,
could someone knowledgeable please give some information on the status
of SEBSD?

I have found the project page beneath the TrustedBSD homepage, but it
seems a bit abandoned (no release since 2006, no mailing list traffic).

Is SEBSD an integral part of the current standard kernel, or do I have
to apply the patch as indicated on the homepage?  And will the patch
work with 7.0-RELENG or CURRENT?

Should SEBSD be no longer actively maintained, how do I build the
equivalence of an SELinux system on top of FreeBSD?
I.e., which of the MAC modules should I use, so that the SELinux Reference
Policy can be loaded and enforced?

Thanks a lot!

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


Re: mysql

2008-09-03 Thread Derek Belrose


On Sep 3, 2008, at 2:49 PM, Mad Unix wrote:

I need to replicate MySQL DB of mulltiple server on SiteA to my DR- 
Site

Site_B... all DB
are alocated on RHEL,SuSE,Centos,Debian, FreeBSD servers.
I need a script to take Multiple MySql DataBase Backup and then  
import to

SiteB, the replica
can be done as cold or hotbackup and cron it


Do you want replication or to copy the binary databases?  You can just  
copy the databases:  shut the server down, copy the database files  
over using scp.  Or, you can set up replication where anytime you  
write to Site A you write to Site B.


The latter is more work to setup but it's near instant replication  
while the prior is done at a scheduled time.


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


Re: Logo

2008-09-03 Thread Vincent Hoffman
In short yes
from http://www.freebsdfoundation.org/documents/Guidelines.shtml

Please note that the following Terms and Conditions are intended to
cover typical situations, in a general way, but that there may be
special circumstances, which, in the judgment of the Foundation, result
in different or additional requirements for your use of the Marks. Any
individual, organization, or company may use the  Marks to show support
for the Project or as part of a notice to users that your product
incorporates the FreeBSD operating system. On websites, the Marks should
always link to http://www.freebsdfoundation.org or
http://www.freebsd.org. You may not use the Marks in any way which is
unlawful, threatening, libelous, defamatory, obscene, scandalous,
inflammatory, pornographic, or profane, or in any other way that could
give rise to any civil or criminal liability under the law or otherwise
diminish the goodwill and integrity of the Marks. The Marks may not be
used on product packaging or to promote products and services, or to
create the impression of an endorsement or certification unless you
comply with all of the following

See http://www.freebsd.org/logo.html
Also see http://www.freebsd.org/art.html
for older stuff.

Vince

Albert Cervin wrote:
 Hi!

 I'm just wondering if it is okay to use your logo (the one at the top
 of your homepage) on our webpage. We use FreeBSD on our server and are
 very happy with it so we wanted to put Powered by:  and then the
 logo at the bottom of our admin page. Is that okay to do?

 Best regards and thanks for a great OS!
 Albert Cervin
 www.cavalince.com
 ___
 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]


Large Professor Album Launch Party this Friday!

2008-09-03 Thread The Doctor's Orders

   [hea=]

   The Doctor's Orders 23
   Large Professor Album Launch Party

   [=]
   This Friday 5th September 2008
   @ Herbal, 10-14 kingsland Rd, London E2

   Large Professor (Main Source)
   J-Sands (Lone Catalysts) Live
   Dan Greenpeace, Spin Doctor, Martin Lodge (Push FM)  Andy Bird (Body
   Music)

   All advance tickets are gone so you are gonna have to come pay £10= on
   the door.
   You know it makes sense!

   We had so many of you enter the competition for tickets and CDs that
   we have had to pull two names from the mailout and two from the
   facebook competition.
   The lucky winners are Alexandra Becker, Chima Anya, Nick Armatage 
   Louis Curtis.

   [1]Facebook Event
 _

   ON THE REAL
   8pm-3am THIS FRIDAY 19th September   Bringing you true school Hip-Hop  Soul
   from Prince  Premier to Motown  Mos Def

   Bobbito aka Kool Bob Love
   (Rock Steady Crew / NYC)

   [=]
   @ Bar Rumba, 36 Shaftesbury Avenue, London W1
   (Picadilly Tube)
   Free B4 9.30pm / £5 B4 10.30pm / £10 After

   [2]Check Out The Pics Of The Last Party!
   With Resident DJs
   Shortee Blitz (Kiss FM / Extended Players)
   DJ MK (Kiss FM / Roots Manuva)
   Spin Doctor (The Doctor's Orders)
The FREE B-Boy Cypher hosted by
   Skeg (Breakin Bread) DJ Hooch (Funkin' Pussy)
   Bobbito has nearly as many pseudonyms as he does rolls in the extended
   world of Hip-Hop. Whether you call him Boogie, Bob, Cucumber Slice,
   Kool Bob Love or like his mum does Bobbito one thing is guaranteed you
   are talking to a true Hip-Hop renaissance man. Since making his name
   through the legendary Stretch Armstrong  Bobbito show which
   introduced the world to the previously unknown  unsigned Wu Tang
   Clan, Big Pun,  Nas, to name just a few, he has gone on to record TV
   shows, adverts, write columns  books, edit magazines and so much
   more. The one constant thread behind all of his activities has been
   his love of Hip-Hop. As a signed up member of New York's legendary
   Rock Steady Crew there is nowhere he feels more at home than behind a
   set of decks blessing the crowd with classic underground Hip-Hop,
   Latin Funk and of course B-Boy breaks. Get ready to get sweaty!

   In honour of Bobbito and his contribution to sneaker culture we have
   Nike ID doing thier thing on the night helping you design those
   totally exclusive one off pair of kicks you have always wanted so make
   sure you bring ya creative juices!
   for more party details checkout [3]www= .thedoctorsorders.com
to be removed from the Doctors Orders list reply with unsubscribe as
   the subject

References

   1. 3Dhttp://www.facebook.com/event.php?eid=20948953719;
   2. 3Dhttp://www.thedoctorsorders.com/gallery.html   3. 
3Dhttp://www.thedoctorsorders.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


error: symbol ether_poll_register undefined

2008-09-03 Thread Nikola Knežević

Hi guys,

I'm trying to port Click modular router to FreeBSD 7.0. Along the way,  
I changed it quite a bit, but I managed to get it to compile. Well,  
when I try to load it (via sudo make load), this is what I get:


link_elf_obj: symbol ether_poll_register undefined
kldload: /usr/home/knl/work/mx-dfly/core/module/mxcore.ko: Unsupported  
file type


What am I missing? I assume that ether_poll_register should be in the  
kernel.


objdump -x -d mxcore.ko gives me a bunch of '*UND*', like _vn_lock,  
but they exist in the kernel.


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


Re: /: write failed, filesystem is full

2008-09-03 Thread Wojciech Puchar




On Wed, 3 Sep 2008, Nikola Knežević wrote:


Hi,
I'm trying to install FreeBSD 7.0 on our new server (Intel Xeon 2x4-core 
machine), which has a 250GB SATAII disk. I used -bootonly CD image, and 
assigned whole disk to FreeBSD. Breakdown is:

/ - 2GB
swap - 4GB
/var - 9GB
/tmp - 4GB
/usr - 213GB

As soon as I start copying files from FTP, this is the error I get:
/: write failed, filesystem is full



at install disk / is ramdisk.

something is wrong there. while i do prefer single partition+swap setup, 
your is fine.___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Google Chrome

2008-09-03 Thread Wojciech Puchar

For most people that's already happened, except that it's Adobe-Flash
WWW. Google's approach of open-source software, and open-extensions,
leading to new standards, sounds a lot better to me.


except it leads to google-everything. not even a bit better than 
microsoft-everything

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


which gray is best for print?

2008-09-03 Thread Gary Kline
This is for any webmaster types:  which color gray (in hex, #xx)
is best for a site that has probably very long articles?  I've googled
around and found various grays such as #696969 or #708090, but I
haven't found anything that really fits what I want.  URL, anybody?
Or if there is a color-chooser in ports, that too, altho I haven't found
anything in ports/x11 or ports/www.

To prevent boredom, two shades of deep gray or blue-gray would be besy.

tia,

gary



-- 
 Gary Kline  [EMAIL PROTECTED]  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


Re: /: write failed, filesystem is full

2008-09-03 Thread Polytropon
On Wed, 3 Sep 2008 17:30:58 +0200, Nikola Knežević [EMAIL PROTECTED] wrote:
 Hi,
 I'm trying to install FreeBSD 7.0 on our new server (Intel Xeon 2x4- 
 core machine), which has a 250GB SATAII disk. I used -bootonly CD  
 image, and assigned whole disk to FreeBSD. Breakdown is:
 / - 2GB
 swap - 4GB
 /var - 9GB
 /tmp - 4GB
 /usr - 213GB
 
 As soon as I start copying files from FTP, this is the error I get:
 /: write failed, filesystem is full
 
 This shouldn't happen, since sysinstall did newfs on these partitions.
 
 What to do?

Something went wrong when specifying the disks where the OS
is to be installed to. As it has already been mentioned, /
is placed on a RAM disk. Extraction of the OS's components
has to go to the mountpoints where your correctly created
partitions reside (which are more than big enough, especially
regarding /, I think).

Did you do the installation via the sysinstall utility? If
not, make sure the correct mount points are given for the
software installation, e. g.

/dev/ad0s1a - /mnt/
/dev/ad0s1d - /mnt/tmp
/dev/ad0s1e - /mnt/var
/dev/ad0s1f - /mnt/usr
/dev/ad0s1g - /mnt/home

The structures in / (/bin, /usr/local etc.) are not the
structures you want to have on the disk you're installing on.



PS. Where's your /home partition? :-)





-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: which gray is best for print?

2008-09-03 Thread Polytropon
On Wed, 3 Sep 2008 16:14:42 -0700, Gary Kline [EMAIL PROTECTED] wrote:
 Or if there is a color-chooser in ports, that too, altho I haven't found
 anything in ports/x11 or ports/www.

You may check /usr/ports/x11/xcolorsel, allthough I prefer the
color choosing dialog of Gimp which provides a hex readout of
the selected color, as well as the RGB or CMY values (last one
interesting if you want to print something).


-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Google Chrome

2008-09-03 Thread Christopher Arnold

Jona Joachim [EMAIL PROTECTED] escribió:


On 2008-09-02, Vlad GURDIGA [EMAIL PROTECTED] wrote:
On Wed, Sep 3, 2008 at 12:14 AM, Beech Rintoul [EMAIL PROTECTED] 

wrote:

On Tuesday 02 September 2008, Vlad GURDIGA said:

Hello,

In Google Chrome System requirements
(http://www.google.com/support/chrome/bin/answer.py?answer=95411to
pic=14660) they say that a Linux version is going to appear. And in
the Download and install help article
(http://www.google.com/support/chrome/bin/answer.py?answer=95346qu
ery=open-sourcetopic=type=) they say that it is open-source.

Does this mean that is hope we'll have a FreeBSD version?


If someone steps up and rolls and submits the port. You're welcome to
volunteer :-)


I'd be glad to, but I'm afraid I do not have the skills for that... :-(


Once it runs on Linux it shouldn't be too difficult to port it to FreeBSD.
However it doesn't run on Linux ATM according to what I've read.


Has anyone tried to install it using wine?  I tried but it just hung
after agreeing to the license.

I managed to get past slashdot's first redirect and Chrome started to 
render the page.


I have written down my experience and what was needed here:
http://www.arnold.se/chris/


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


KDE4 and plasma icons

2008-09-03 Thread Eduardo Cerejo
Just installed kde4 on FBSD 7-stable and I start it I get the plasma with some 
icons like the trash icon but all of them are a simple file icon with a 
question mark on them.  I try to change them and tells me that I don't have 
enough permissions to do it but I own every kde directory in my home directory 
though.  Has anyone experienced this thing?

-- 
E. J. Cerejo [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: which gray is best for print?

2008-09-03 Thread Gary Kline
On Wed September 3 2008 16:26:07 Polytropon wrote:
 On Wed, 3 Sep 2008 16:14:42 -0700, Gary Kline [EMAIL PROTECTED] wrote:
  Or if there is a color-chooser in ports, that too, altho I haven't found
  anything in ports/x11 or ports/www.

 You may check /usr/ports/x11/xcolorsel, allthough I prefer the
 color choosing dialog of Gimp which provides a hex readout of
 the selected color, as well as the RGB or CMY values (last one
 interesting if you want to print something).

Yeah, you were right about the xcolorsel being less useful than the GIMP.  I 
typed in 66 and found others that were as nice.  Then found a 
december.com site with more info.  33 is a named and safe color or ink.

Still more to back and look at, read up on. 

dank sehr viel!  [i hope:)]



-- 
Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Logo

2008-09-03 Thread Lowell Gilbert
Albert Cervin [EMAIL PROTECTED] writes:

 I'm just wondering if it is okay to use your logo (the one at the top
 of your homepage) on our webpage. We use FreeBSD on our server and are
 very happy with it so we wanted to put Powered by:  and then the
 logo at the bottom of our admin page. Is that okay to do?

If you installed Apache from a FreeBSD port, you got some FreeBSD
logos along with it that you can use freely for this purpose.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Google Chrome

2008-09-03 Thread RW
On Thu, 4 Sep 2008 00:47:34 +0200 (CEST)
Wojciech Puchar [EMAIL PROTECTED] wrote:

  For most people that's already happened, except that it's
  Adobe-Flash WWW. Google's approach of open-source software, and
  open-extensions, leading to new standards, sounds a lot better to
  me.
 
 except it leads to google-everything. not even a bit better than 
 microsoft-everything

There's a lot of difference. Microsoft has always tried to undermine
standards because standards give its competitors a more level-playing
field, which is what Google needs for its webapps to compete with
Microsoft's desktop applications. I don't see how that's bad for
anyone except Microsoft.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ThinkPad 3.0GHz: can anybody verify?

2008-09-03 Thread Gary Kline

Folks,

I'm looking at a 3GHz ThinkPad w/out any OS.  It's got 
at most 512M memory and only 40G drive.  The guy I'm going to
have upgrade this l'top thinks it will take a 160GB drive easily.
Also that the RAM might max out at just 2GB.  

Any fellow TP-people onlist who know if my friend is right?

-- 
 Gary Kline  [EMAIL PROTECTED]  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


cd and rm a directory with '^M'

2008-09-03 Thread Noah

Hi there,

I had rsync create a directory with a '^M' in it.

how do I rm -rf the directory?

Cheers,

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


Re: ThinkPad 3.0GHz: can anybody verify?

2008-09-03 Thread Kurt Buff
I got a Thinkpad T61 back in May/June that had 4gig factory-installed.
Dual core, but only 2.2GHz - I could've gotten a faster proc, but I
wasn't willing to pay the price. I did splurge on a 120gbyte 7200rpm
drive, though. Came with SUSE on it, too, but I've got it dual booting
with FreeBSD 7 amd64. Works great, except that the native FireFox and
all other web browsers I've tried crash (no core, nothing, it just
disappears) on the javascript on a lot of web sites, including gmail.
Haven't had the time to pursue that one very much, though I've asked
on this list a few times.


Kurt

On Wed, Sep 3, 2008 at 6:53 PM, Gary Kline [EMAIL PROTECTED] wrote:

Folks,

I'm looking at a 3GHz ThinkPad w/out any OS.  It's got
at most 512M memory and only 40G drive.  The guy I'm going to
have upgrade this l'top thinks it will take a 160GB drive easily.
Also that the RAM might max out at just 2GB.

Any fellow TP-people onlist who know if my friend is right?

 --
  Gary Kline  [EMAIL PROTECTED]  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ThinkPad 3.0GHz: can anybody verify?

2008-09-03 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Gary Kline wrote:
   Folks,
 
   I'm looking at a 3GHz ThinkPad w/out any OS.  It's got 
   at most 512M memory and only 40G drive.  The guy I'm going to
   have upgrade this l'top thinks it will take a 160GB drive easily.
   Also that the RAM might max out at just 2GB.  
 
   Any fellow TP-people onlist who know if my friend is right?
 

Hi Gary,

What's the laptop's model number (e.g. 2468-8EU or something similar)?
It should be shown on the bottom somewhere.

The IBM and/or Lenovo support sites have a wealth of information where
you can find your answers, but it helps to know the model number first.

Regards,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIv1JB0sRouByUApARAtchAJ4mAeuJBk4lxnrQCj8Y9mrkwj83nwCgv6Mu
HTRMZIPeJyt/gJiKWPcGvSY=
=akk0
-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]


Re: ThinkPad 3.0GHz: can anybody verify?

2008-09-03 Thread Steve Bertrand

Gary Kline wrote:

Folks,

	I'm looking at a 3GHz ThinkPad w/out any OS.  It's got 
	at most 512M memory and only 40G drive.  The guy I'm going to

have upgrade this l'top thinks it will take a 160GB drive easily.
	Also that the RAM might max out at just 2GB.  


Any fellow TP-people onlist who know if my friend is right?


If you specify the model of the laptop, a quick Google or search on IBM 
(Lenovo) website will inform you what the maximum upgrade path on 
hardware is on the box.


With the resources the manufacturers put out freely regarding 
documentation, I say that if you have someone who *thinks* the ThinkPad 
will take certain hardware, you need to walk away, and pay someone 
different who knows how to find out _for sure_ what hardware the box can 
take, and who will be confident in saying and showing why if asked.


Once you have a confident hardware tech, then you will be 
confident/comfortable spending your money there...



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


Re: Maildrop with MySQL look-up?

2008-09-03 Thread Hong
Found out how to do it:

# portinstall mail/maildrop -m WITH_AUTHLIB=YES

Choose MySQL as one of the possible authentication methods in the config
choices.

Hong

On Tue, Sep 02, 2008 at 04:48:33PM -0700, Hong wrote:
 Hi,
 
 How do I enable MySQL look-up when I install maildrop from the port system? I
 looked at the Makefile:
 
 # New ports collection makefile for:maildrop
 # Date created: 16 November 1998
 # Whom: Tom Hukins [EMAIL PROTECTED]
 #
 # $FreeBSD: ports/mail/maildrop/Makefile,v 1.50 2008/08/21 06:17:37 rafan Exp 
 $
 #
 
 # The following compile-time options are available:
 # WITH_AUTHLIB=yes  Enable optional support for Courier Auth Library
 # WITH_FAM=yes  Enable optional support for File Alteration Monitor
 # WITH_GDBM=yes Enable database extensions using GDBM (default: off)
 # MAILDROP_SUID=uid,
 # MAILDROP_SGID=gid   Maildrop will be installed with suid permissions for
 #   MAILDROP_SUID, and sgid permissions for MAILDROP_SGID.
 # MAILDROP_TRUSTED_USERS=user Specify users allowed to use the -d option
 # NO_MAILWRAPPER=yesIf defined, let configure guess which sendmail binary
 #   to use
 
 There doesn't seem to be a way to enable mysql for the maildrop in the port 
 system directly.
 
 Thanks,
 
 Hong
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cd and rm a directory with '^M'

2008-09-03 Thread Giorgos Keramidas
On Wed, 03 Sep 2008 18:51:11 -0700, Noah [EMAIL PROTECTED] wrote:
 Hi there,

 I had rsync create a directory with a '^M' in it.

 how do I rm -rf the directory?

These are a few options:

(1) In most shells, you can type a ^M character as part of a filename by
prefixing the ^M character with ^V.

(2) Use tab completion.  Type the first part of the filename and hit
the TAB key.  The shells which support tab completion will fill in
the remaining bits of the filename in the 'correct' way.

(3) Use a GUI file manager or the `dired' mode of GNU Emacs to delete
the file.

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


Re: cd and rm a directory with '^M'

2008-09-03 Thread Erik Osterholm
On Wed, Sep 03, 2008 at 06:51:11PM -0700, Noah wrote:
 Hi there,
 
 I had rsync create a directory with a '^M' in it.
 
 how do I rm -rf the directory?
 
 Cheers,
 Noah

There are multiple possibilities:
1) Use a shell which supports tab completion, and tab-complete the
entry.
2) Embed the '^M' using '^V''^M' (type ctrl-v then ctrl-m.)
3) Use shell globbing (if the file is abra^Mcadabra, type:
ls abra*
rm abra* (only if the above matched exactly what you want to delete.)

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


cd and rm a directory with '^M'

2008-09-03 Thread Edwin Groothuis
 I had rsync create a directory with a '^M' in it.

Use command-line completion:

[~/xx] [EMAIL PROTECTED]touch foo^Mbar # that's ^V^M
[~/xx] [EMAIL PROTECTED]ls -l
total 0
-rw-r--r--  1 edwin  edwin  0 Sep  4 13:46 foo?bar
[~/xx] [EMAIL PROTECTED]rm foo TAB   # autocompletes to foo^Mbar


-- 
Edwin Groothuis  |Personal website: http://www.mavetju.org
[EMAIL PROTECTED]|  Weblog: http://www.mavetju.org/weblog/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ftp server: create/delete user by web interface

2008-09-03 Thread Martin Schweizer
Hello

I've three FreeBSD 7.0 server. Im looking for a combination where I can 
create/delete etc. ftp users as a non-root user (probably from a template). Do 
you have some hints which combinations works in such a constellation?

Regards,

-- 

Martin Schweizer
[EMAIL PROTECTED]

PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon
Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch;
public key : http://www.pc-service.ch/pgp/public_key.asc; 
fingerprint: EC21 CA4D 5C78 BC2D 73B7  10F9 C1AE 1691 D30F D239;

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


Re: cd and rm a directory with '^M'

2008-09-03 Thread DAve

Edwin Groothuis wrote:

I had rsync create a directory with a '^M' in it.


Use command-line completion:

[~/xx] [EMAIL PROTECTED]touch foo^Mbar  # that's ^V^M
[~/xx] [EMAIL PROTECTED]ls -l
total 0
-rw-r--r--  1 edwin  edwin  0 Sep  4 13:46 foo?bar
[~/xx] [EMAIL PROTECTED]rm foo TAB  # autocompletes to foo^Mbar


If you find yourself on a machine without a full featured shell you can 
delete by the inode number. Chuck Swiger saved my bacon with that trick 
several years ago.


[sysadmin /usr/home/sysadmin]$ touch abc^M
[sysadmin /usr/home/sysadmin]$ ls -i
2449500 abc?   2449511 env.sh
[sysadmin /usr/home/sysadmin]$ find . -type f -inum 2449500 | xargs rm
[sysadmin /usr/home/sysadmin]$ ls -i
2449511 env.sh

I've needed but a few times since then, but when I did...

DAve


--
Don't tell me I'm driving the cart!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Companies Will Pay You To Fill Out Surveys Or Participate In Focus Groups

2008-09-03 Thread gloria grant

Companies need your input in order to be successful. They need to know
what everyday people want in their products, what they prefer, and
what will prompt them to buy the products and services the company
offers. This is called market research. By providing companies with
this information, you are providing them with a valuable service. It
gives them an edge on the competition and aids them in the success of
their products and services.
You will be asked a variety of questions, from where you prefer to
shop to what kind of toothpaste you prefer to use. You'll be asked
about products that you try and products that you buy regularly. The
idea of the questions is to get valuable init, and the sane-genesys man page has warnings about 
pulling the plug on the scanner if the scanning head hits the stops. 
If you were using 32-bit, there's a slim chance of getting the Windows 
scanning software to work under Wine.


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]