Re: Upgrading Jails

2009-01-19 Thread Oliver Peter
On Fri, Jan 16, 2009 at 06:06:49AM -0800, David Allen wrote:
 I have a test system where I've accumulated a large number of jails.  To
 update them (I'm not using the method outlined in the Handbook), I'd like
 to avoid mounting /usr/src and /usr/obj within each and then jexec-ing a
 shell but instead, perform everything on the host system directly.  Would
 the following be appropriate?

Why bother with updating each jail and waste diskspace when you can
have ezjail (sysutils/ezjail) to create and update your jails in one
go?

-- 
Oliver PETER, email: oli...@peter.de.com, ICQ# 113969174
If it feels good, you're doing something wrong.
  -- Coach McTavish
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: iwi config help

2008-12-12 Thread Oliver Peter
On Fri, Dec 12, 2008 at 11:29:05AM +, AN wrote:
 I'm trying to configure a wireless adapter on an IBM Thinkpad R51, and 
 need some help.  I followed the iwi man page, but the card is not 
 recognized.  I have the following in /boot/loader.conf:
 cat /boot/loader.conf
 
 if_iwi_load=YES
 wlan_load=YES
 firmware_load=YES
 loader_logo=beastie
 snd_ich_load=YES
 
 kldstat shows:
 Id Refs AddressSize Name
   1   18 0xc040 7c7990   kernel
   21 0xc0bc8000 e6e4 if_iwi.ko
   32 0xc0bd7000 2f9c firmware.ko
   41 0xc0bda000 6994 snd_ich.ko
   52 0xc0be1000 239e8sound.ko
   61 0xc0c05000 5c838acpi.ko
   71 0xc5547000 19000linux.ko
   81 0xc5706000 1e000radeon.ko
   91 0xc5724000 e000 drm.ko
 
   pkg_info | grep iwi
 iwi-firmware-kmod-3.0_3 Intel PRO/Wireless 2200 Firmware Kernel Module

Which version of FreeBSD are you running?

Since 7.0-RELEASE, iwi-firmware is included in the base system,
but you need to set the correct kernel environment variable
to accept the license:

   
http://www.freebsd.org/cgi/man.cgi?query=iwiapropos=0sektion=0manpath=FreeBSD+7.0-RELEASEformat=html

-- 
Oliver PETER, email: oli...@peter.de.com, ICQ# 113969174
If it feels good, you're doing something wrong.
  -- Coach McTavish
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problems moving my jails (mv: Operation not permitted)

2008-10-04 Thread Oliver Peter
On Sat, Oct 04, 2008 at 08:35:27PM +0200, Redd Vinylene wrote:
 Hello hello! I need to move my jails from /usr/jail to /home/jail. The
 latter is where all my diskspace is. Not all files seem to want to
 move though?

Maybe the whole case is worth it to give ezjail a try.
The newest release has some nice features to move/backup jails.

http://www.freshports.org/sysutils/ezjail/

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
If it feels good, you're doing something wrong.
  -- Coach McTavish
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: geli and soft-updates

2008-09-22 Thread Oliver Peter
On Sat, Sep 20, 2008 at 09:45:29PM -0400, Vinny wrote:
 ...
  P.S. Anyone running ZFS on multiple geli providers?
  
  as above.
 
 Does that mean you are/aren't or have/haven't run
 ZFS on top of, say, 3 geli encrypted disks?  I'm curious
 as to whether there are many people who have tried it,
 and use it.

I'm using ZFS on geli on my production server with 2 SATA2 disks.
Just create and attach the geli devices in /dev and then create
a zpool i.e. with 

  # zpool create crypt /dev/ad3.eli /dev/ad6.eli

Works splendid.

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
If it feels good, you're doing something wrong.
  -- Coach McTavish
___
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 play www.last.fm on FreeBSD?

2008-09-22 Thread Oliver Peter
On Sun, Sep 21, 2008 at 11:11:50PM -0700, Gary Kline wrote:
 
   I can't listen to last.fm with firefox2 or firefox3--and parts of
   ff3 don't get loaded.  With the KDE3 browser, same thing; it
   won't recognize last.fm.  Nutshell: what do I need to do to
   play songs from last.fm here [FBSD]?

I think you need the flash plugin for that.
Have you tried it with the flashplugin7 in ports?

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
If it feels good, you're doing something wrong.
  -- Coach McTavish
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Audio Production

2008-09-13 Thread Oliver Peter
On Fri, Sep 12, 2008 at 08:23:16PM +0200, m cassar wrote:
 Does anyone here use freebsd for serious audio/video production work? or
 know if there is some kind of community?
 
 i have seen ubuntu studio for a general idea outside windows/osx, but prefer
 fbsd over linux. and found most programs in ports, but i would like to find
 out more about kernel optimization in that respect and what goes into that
 type of dedicated setup.
 
 i am running 7-stable with a custom kernel, where i only added vesa, and
 removed some scsi and network drivers i don't have from the generic kernel,
 but i figure there must be more settings to tweak than what i saw there in
 the generic file.  would there be more settings somewhere else or would you
 add them to the kernconf file?

I think it does not depend on your kernel configuration - checkout the
portstree for the software you need:

  % cd /usr/ports
  % make search key=$MY_MULTIMEDIA_SOFTWARE

Furthermore you should checkout the hardware/release notes for
7.0 and/or 7.1:

http://www.freebsd.org/where.html
 
 my setup works fairly decent for desktop use, but seems kinda sluggish with
 even basic multimedia.

IMO FreeBSD is not made for that kind of multimedia machine -
it's not about the software, it's more about the drivers.
FreeBSD has a focus on network and stability, not to support your brandnew
7:1 soundhardware or the latest ATI SLI graphics card for $500...

I prefer FreeBSD over Linux as well, but I think you should go for a
dual-boot installation.  :)
I've heard very good things about Ubuntu Studio and believe that
the hardware support for your needs is better.
 
 p.s. on a different note while i'm here, how do you go from 7.1 prerelease
 to 7.1 release when it is out? when/how do you tell when you stop using
 stable-supfile and start using standard-supfile?

Your're following -STABLE, aka RELENG_7.
After 7.1-RELEASE is out you will have to follow  RELENG_7_1 is what
you want (if you don't want to follow -STABLE anymore). 

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
If it feels good, you're doing something wrong.
  -- Coach McTavish
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Audio Production

2008-09-13 Thread Oliver Peter
On Sat, Sep 13, 2008 at 03:06:05PM +0200, m cassar wrote:
 On Sat, Sep 13, 2008 at 12:15 PM, Oliver Peter [EMAIL PROTECTED] wrote:
 ...
 I got this impression since i had  a pcbsd install on another disk and it
 had slightly better performance than my fbsd 7, which i only wanted to get
 up and running asap and kinda sloppy. (pcbsd 1.5.1, with base 6.3, which i
 think doesn't fully support dual cores).

I'm pretty sure it does fully support dual core.
Only the SMP performance is not as good as it is in 7-STABLE.
Since then the scheduler has changed as well (SCHED_4BSD - SCHED_ULE).

 ...
 ok, so when 7.1 is released, there will still be a relative stable branch,
 right? i think i will sit on 7,1, release for a while when out.

Yes, RELENG_7 will still be available after 7.1 has been released.
-RELEASE is taken from RELENG_x every ~6 month:

 http://www.freebsd.org/releng/index.html#freeze

Cheers.

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
If it feels good, you're doing something wrong.
  -- Coach McTavish
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Audio Production

2008-09-13 Thread Oliver Peter
I forgot to add:

On Sat, Sep 13, 2008 at 03:06:05PM +0200, m cassar wrote:
 
 BTW, and related to fbsd kind of being younger than linux, i had an amd64
 version at some point, of freebsd, and couldn't install wine because it is
 based on 32bit windows or what have you. it works on ubuntu studio (64) fine
 and i am also under the impression that anything linux can do, freebsd can
 do; and it's just a matter of time. I'm just glad i didn't have to wipe fbsd
 to install ubuntu.

Yes, at this moment it is not possible to use wine within an amd64 environment,
and yes, it is also true that other operating systems support wine/64.

There are a lot more i368-only ports.

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
If it feels good, you're doing something wrong.
  -- Coach McTavish
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd 7.0 and jail

2008-09-09 Thread Oliver Peter
On Mon, Sep 08, 2008 at 11:28:09AM -0700, gahn wrote:
 Hello:
 
 I am trying to build jails on 7.0 system and got errors:
 
 /
 
  Installing everything
 --
 cd /usr/src; make -f Makefile.inc1 install
 === share/info (install)
 === lib (install)
 === lib/csu/i386-elf (install)
 gcc -O2 -fno-strict-aliasing -pipe  -I/usr/src/lib/csu/i386-elf/../common  
 -I/usr/src/lib/csu/i386-elf/../../libc/include -Wsystem-headers -Wall 
 -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes 
 -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual 
 -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter 
 -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls 
 -Wno-pointer-sign -c crt1.c
 gcc:No such file or directory
 *** Error code 1
 
 Stop in /usr/src/lib/csu/i386-elf.
 *** Error code 1
 
 Stop in /usr/src/lib.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 ///
 
 looks like the code of jail is broken, did anyone have similar problem?
 
 I am working in an environment that is able to use freebsd-update script.

Check your date:
   http://unix.derkeiler.com/Mailing-Lists/FreeBSD/stable/2003-05/0059.html

Btw. you don't have to build jails by yourself.
You can use sysutils/ezjail to install, update and manage your jails.
ezjail can use source or the prebuilt ftp packages to setup the jail.

   http://erdgeist.org/arts/software/ezjail/

Great piece of software.

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
If it feels good, you're doing something wrong.
  -- Coach McTavish
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pf to block against DDoS?

2008-09-04 Thread Oliver Peter
On Thu, Sep 04, 2008 at 09:23:09PM +0200, Redd Vinylene wrote:
 Hello hello!
 
 I was quite shocked today when I heard I could use pf to block against DDoS
 attacks, using Stateful Tracking Options,
 http://www.openbsd.org/faq/pf/filter.html#stateopts.
 
 But does anybody have any nice setups of this they'd want to share?
 
 Much obliged, and thanks.

... nice cross-post.

I can recommend reading through this as well:
  http://www.bgnett.no/~peter/pf/en/bruteforce.html

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
If it feels good, you're doing something wrong.
  -- Coach McTavish
___
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
: ATI EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 on usb5
uhub5: 10 ports with 10 removable, self powered
pci0: serial bus, SMBus at device 20.0 (no driver attached)
atapci1: ATI IXP600 UDMA133 controller port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 20.1 on pci0
ata0: ATA channel 0 on atapci1
ata0: [ITHREAD]
isab0: PCI-ISA bridge at device 20.3 on pci0
isa0: ISA bus on isab0
pcib3: ACPI PCI-PCI bridge at device 20.4 on pci0
pci3: ACPI PCI bus on pcib3
acpi_button0: Power Button on acpi0
sio0: configured irq 3 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: configured irq 3 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: 16550A-compatible COM port port 0x2f8-0x2ff irq 3 flags 0x10 on acpi0
sio0: type 16550A
sio0: [FILTER]
atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
orm0: ISA Option ROM at iomem 0xcd800-0xce7ff on isa0
ppc0: cannot reserve I/O port range
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
WARNING: ZFS is considered to be an experimental feature in FreeBSD.
Timecounters tick every 1.000 msec
hptrr: no controller detected.
ZFS filesystem version 6
ZFS storage pool version 6
ad4: 476940MB SAMSUNG HD501LJ CR100-12 at ata2-master UDMA33
ad6: 476940MB SAMSUNG HD501LJ CR100-12 at ata3-master UDMA33
SMP: AP CPU #1 Launched!
Trying to mount root from zfs:tank
re0: link state changed to UP
cryptosoft0: software crypto on motherboard

--
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
I like to con people. And I like to insult people.
 If you combine con  insult, you get consult!  -- Dogbert

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


Re: K3b dosent detect either of my burners

2008-08-29 Thread Oliver Peter
On Fri, Aug 29, 2008 at 09:58:39PM +1000, Warren Liddell wrote:
 I have gone through the info from various sites, handbooks, email archives 
 and 
 yet still k3b doesnt detect neither 1 of my 2 SATA Burners .. i use FreeBSD 
 7.0-STABLE KDE4 AMD64. below r the 2 burners as they appear in dmesg.
 
 acd0: DVDR TSSTcorp CDDVDW SH-S203D/SB00 at ata2-master SATA150 
   
  
 acd1: DVDR ATAPI DVD A DH20A3S/9P56 at ata3-master SATA150 

Can you try to load the 'atapicam' module?

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
I like to con people. And I like to insult people.
 If you combine con  insult, you get consult!  -- Dogbert


pgpLXvntW4PdT.pgp
Description: PGP signature


Re: Can I run ntpd in a jail?

2008-02-02 Thread Oliver Peter
On Thu, Jan 31, 2008 at 01:35:55AM -0800, Rudy wrote:
 ...
 Can ntpd update the system clock from within a jail?

That is not possible.
You have to update the system clock on the host system.

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave.  Even drones can fly away.
 The Queen is their slave.


pgp1yefDk33BU.pgp
Description: PGP signature


Re: Building kernel with DEBUG

2008-02-02 Thread Oliver Peter
On Fri, Feb 01, 2008 at 10:06:19AM -0500, Gerard wrote:
 Near the top of the /usr/src/sys/i386/GENERIC file, is the line:
 
 makeoptions DEBUG=-g  # Build kernel with gdb(1) debug symbols
 
 Is this line really necessary? If I don't intend to ever debug a
 kernel, why should I leave it? It would seem like I could
 save some time compiling a kernel if I just remove or commented out
 that line.

I'm sure that the time you took to write this mail was much more than
you will save by removing the debug symbol...  Maybe sometimes you do
intend to debug your kernel because your machine crashed, you don't
know why, ask this list  and a FreeBSD developer ask about the
kernel-dump...  But maybe not.

Good luck.  :-)

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave.  Even drones can fly away.
 The Queen is their slave.


pgpJWMgPYsRXL.pgp
Description: PGP signature


Re: USB / umass / automount

2008-01-23 Thread Oliver Peter
On Tue, Jan 22, 2008 at 07:13:17PM -0500, Chris Hill wrote:
 On Tue, 22 Jan 2008, David Alanis wrote:
 Quoting Oliver Peter [EMAIL PROTECTED]:
 Hi,
 What is currently the best way to attach and detach umass-devices
 automatically?
 Bye
 Oliver
 --
 Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
 Worker bees can leave.  Even drones can fly away.
 The Queen is their slave.
 
 Could you just edit your fstab to have:
 
 /dev/umass-device /umass /umass-type auto 0 0

 This will not make the auto-mounter daemon happen; rather, it will cause 
 the system to try to mount /dev/umass-device at boot time. If the umass 
 device is not connected at boot time, the system will need manual 
 intervention in order to boot. Probably not what the OP wants. Besides, 
 auto is the default anyway.

Thanks for your answers!

That's not exactly what I want - I thought about to plug e.g. an
usb-stick into my machine, let it mount via amd and after I detach the
device from my machine amd should umount the devices automatically.

Is this possible?

AFAIR bad things happen when a mounted usb-devices disappears...

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave.  Even drones can fly away.
 The Queen is their slave.


pgpLeHUZErBaY.pgp
Description: PGP signature


USB / umass / automount

2008-01-22 Thread Oliver Peter
Hi,

What is currently the best way to attach and detach umass-devices
automatically?

Bye
Oliver

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave.  Even drones can fly away.
 The Queen is their slave.


pgp6dOGpuYMWL.pgp
Description: PGP signature


GELI / rtorrent / 250GB USB storage / 7.0-BETA4 = Crypto WRITE request failed

2008-01-04 Thread Oliver Peter
: Crypto WRITE request failed (error=5). 
da0.eli[WRITE(offset=157223976960, length=49152)]
GEOM_ELI: g_eli_read_done() failed da0.eli[READ(offset=123481669632, 
length=32768)]
g_vfs_done():da0.eli[WRITE(offset=65536, length=4096)]error = 5
g_vfs_done():da0.eli[WRITE(offset=5636096, length=12288)]error = 5
g_vfs_done():da0.eli[WRITE(offset=90105315328, length=16384)]error = 5
g_vfs_done():da0.eli[WRITE(offset=102119522304, length=16384)]error = 5
g_vfs_done():da0.eli[WRITE(offset=110953201664, length=16384)]error = 5
g_vfs_done():da0.eli[WRITE(offset=111260352512, length=16384)]error = 5
g_vfs_done():da0.eli[WRITE(offset=156889153536, length=16384)]error = 5
g_vfs_done():da0.eli[WRITE(offset=157223944192, length=16384)]error = 5
g_vfs_done():da0.eli[WRITE(offset=157223960576, length=16384)]error = 5
g_vfs_done():da0.eli[WRITE(offset=157223976960, length=49152)]error = 5
g_vfs_done():da0.eli[READ(offset=123481669632, length=32768)]error = 5
vnode_pager_getpages: I/O read error
vm_fault: pager read error, pid 41232 (rtorrent)
pid 41232 (rtorrent), uid 1001: exited on signal 6

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave.  Even drones can fly away.
 The Queen is their slave.


pgpasSaK28fse.pgp
Description: PGP signature


Re: Fluxbox Themes on FreeBSD Question

2007-11-23 Thread Oliver Peter
On Mon, Nov 19, 2007 at 12:19:40PM -, Graham Bentley wrote:
 Hi All,
 
 Does anyone remmeber from ages ago there was a theme
 pack tarball knocking about for Fluxbox - must have had about 20 themes in 
 it, some with backgrounds. 
 I have Googled about and looked at the ones in ports but thats not them.
 
 Anyone know where I might find this now such along time
 has passed (probably 3-4 years ago!) Maybe it was on a
 Mandrake repo 

Mandrake?!?  :)

Maybe you mean the  Sid Pack ?
http://fluxbox.sourceforge.net/themes.php

-- 
Oliver PETER, eMail: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave.  Even drones can fly away.
 The Queen is their slave.


pgpa1zajYiTt8.pgp
Description: PGP signature


Re: evolution slow on 7.0

2007-11-16 Thread Oliver Peter
On Wed, Nov 14, 2007 at 03:45:28PM -0700, James wrote:
 Hi folks,
 
 first, I know the subject line is a goldmine for jokes, but I couldn't
 think of a better way to phrase it.
 
 Ever since I moved to FreeBSD 7.0, the evolution mail client has become
 ridiculously slow for me. It takes two or three minutes to start up,
 right clicking on a folder takes several minutes to display a context
 menu etc
 
 My install process was as follows:
 
 1. backup my home directory from a FreeBSD 6.2 install
 2. Format the hard drive
 3. Install 7.0 beta 1.5
 4. csup sources and install beta 2.0
 5. pkg_add xorg, gnome etc -- evolution was slow as a dog from this
 6. portsnap fetch extract
 7. follow the instructions in UPDATING for updating gnome
 
 I tried cd /usr/ports/mail/evolution  make deinstall  make
 reinstall, to see if something had simply gone wrong during the build,
 but nothing changed.
 
 Any ideas?

An random idea:  What scheduler are you using in your kernel
configuration?  Do you already use  SCHED_ULE  ?

-- 
Oliver PETER, eMail: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave.  Even drones can fly away.
 The Queen is their slave.


pgpGtbEOLkPrQ.pgp
Description: PGP signature


Re: a curious jails question

2007-11-16 Thread Oliver Peter
On Thu, Nov 15, 2007 at 05:15:01PM +0100, Wojciech Puchar wrote:
 ive been building jails for a while, and have always used the canonical 
 method as listed out in the handbook.  today, i tried something new.  i 
 have read that instead of doing:
 
 make world ...
 make distribution ...
 
 that you can instead:
 
 make installworld ...
 make distribution ...
 
 i know even better - make one jail and copy in to another.
 
 first - get base distribution (possibly more) and unpack it.
 
 even better - make common /usr and use mount_nullfs on each jail

Or even better:  Let ezjail (sysutils/ezjail) handle this job.

-- 
Oliver PETER, eMail: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave.  Even drones can fly away.
 The Queen is their slave.


pgp5etKK3ckRn.pgp
Description: PGP signature


Re: evolution slow on 7.0

2007-11-16 Thread Oliver Peter
On Fri, Nov 16, 2007 at 09:19:56AM -0700, James Harrison wrote:
   ...
   Any ideas?
  
  An random idea:  What scheduler are you using in your kernel
  configuration?  Do you already use  SCHED_ULE  ?
  
 
 I built it according to defaults, so I've got the GENERIC kernel running
 right now. As such, I don't know the answer to your question, but if you
 tell me how to check I'll get back to you :)

Since RELENG_7s GENERIC still comes with SCHED_4BSD I assume that you
still have the old one.

To be sure you can verify this by:

  % sysctl kern.sched.name

In your case it should be:

  kern.sched.name: 4BSD

To switch to the new you have to build a new kernel.

Pretty good described here:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html

Just be sure to replace

  options SCHED_4BSD  # 4BSD scheduler

With

  options SCHED_ULE   # ULE scheduler

In my case it resolved some mouse and audio problems under X.Org.
Don't know if evolution is affected, too, but you can give it a
chance anyway.

-- 
Oliver PETER, eMail: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave.  Even drones can fly away.
 The Queen is their slave.


pgpszsEhsgXMl.pgp
Description: PGP signature


Re: multiple postgresql servers in multiple jails?

2007-10-26 Thread Oliver Peter
On Thu, Oct 25, 2007 at 04:38:53PM +0200, Oliver Fromme wrote:
 Oliver Peter wrote:
   Oliver Fromme wrote:
Oliver Peter wrote:
 ...
 Can you please give the output from ipcs -M and ipcs -p?

Here you go:

% sudo ipcs -M
shminfo:
shmmax:134217728(max shared memory segment size)
shmmin:1(min shared memory segment size)
shmmni:  192(max number of shared memory identifiers)
shmseg:  128(max shared memory segments per process)
shmall:65536(max amount of shared memory in pages)


% sudo ipcs -p
Message Queues:
T   ID  KEY MODEOWNERGROUP   LSPID
LRPID

Shared Memory:
T   ID  KEY MODEOWNERGROUPCPID 
LPID
m65536  5432001 --rw---   70   70 1064 
1064
m   131073  5473001 --rw--- 1073   70 6293 
6293
m   131074  5472001 --rw--- 1072   70 6545 
6545
m   131075  5471001 --rw--- 1071   70 6797 
6797

Semaphores:
T   ID  KEY MODEOWNERGROUP
s65536  5432001 --rw---   70   70
s65537  5432002 --rw---   70   70
s65538  5432003 --rw---   70   70
s65539  5432004 --rw---   70   70
s65540  5432005 --rw---   70   70
s65541  5432006 --rw---   70   70
s65542  5432007 --rw---   70   70
s   131079  5473001 --rw--- 1073   70
s   131080  5473002 --rw--- 1073   70
s   131081  5473003 --rw--- 1073   70
s   131082  5473004 --rw--- 1073   70
s   131083  5473005 --rw--- 1073   70
s   131084  5473006 --rw--- 1073   70
s   131085  5473007 --rw--- 1073   70
s   131086  5472001 --rw--- 1072   70
s   131087  5471001 --rw--- 1071   70
s   131088  5471002 --rw--- 1071   70
s   131089  5471003 --rw--- 1071   70
s   131090  5471004 --rw--- 1071   70
s   131091  5471005 --rw--- 1071   70
s   131092  5471006 --rw--- 1071   70
s   131093  5471007 --rw--- 1071   70


% sudo ipcs -bm
Shared Memory:
T   ID  KEY MODEOWNERGROUP   SEGSZ
m65536  5432001 --rw---   70   70 38076416
m   131073  5473001 --rw--- 1073   70 38076416
m   131074  5472001 --rw--- 1072   70  1654784
m   131075  5471001 --rw--- 1071   70 38076416


% ./jps | grep postgres
 1  1064 70  /usr/local/bin/postgres -D /usr/local/pgsql/data
 1  1068 70  postgres: writer process(postgres)
 1  1069 70  postgres: stats collector process(postgres)
 5  6293 1073/usr/local/bin/postgres -D /usr/local/pgsql/data
 5  6295 1073postgres: writer process(postgres)
 5  6296 1073postgres: stats collector process(postgres)
 6  6545 1072/usr/local/bin/postgres -D /usr/local/pgsql/data
 6  6547 1072postgres: writer process(postgres)
 6  6548 1072postgres: stats collector process(postgres)
 7  6797 1071/usr/local/bin/postgres -D /usr/local/pgsql/data
 7  6799 1071postgres: writer process(postgres)
 7  6800 1071postgres: stats collector process(postgres)

 The jps script could be useful:
 
 http://www.secnetix.de/~olli/scripts/jps

Excellent stuff there :)

-- 
Oliver PETER, eMail: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave.  Even drones can fly away.
 The Queen is their slave.


pgpydrXIvrEZl.pgp
Description: PGP signature


Re: multiple postgresql servers in multiple jails?

2007-10-26 Thread Oliver Peter
On Fri, Oct 26, 2007 at 11:30:57AM +0300, Anton - Valqk wrote:
 You can alternatively set the SEM* and SHMMAX in the loader.conf.
 I have a server runing two pgs.
 
 # cat /boot/loader.conf
 kern.ipc.semmni=256
 kern.ipc.semmns=512
 kern.ipc.semmnu=256
 kern.ipc.semmap=256

Thanks buddy.
Currently I try it with 4  :)  Is this a bad idea?

Do you have the servers running within seperated jails?

-- 
Oliver PETER, eMail: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave.  Even drones can fly away.
 The Queen is their slave.


pgpRlnueruUgG.pgp
Description: PGP signature


Re: multiple postgresql servers in multiple jails?

2007-10-24 Thread Oliver Peter
On Tue, Oct 23, 2007 at 10:06:08PM +0200, Oliver Fromme wrote:
 Oliver Peter wrote:
   Does anybody have a running system with more than one jail hosting
   more than one postgres server?
 
 Yes, you must configure them to use different port numbers,
 because the SysV IPC IDs are derived from the port number.
 If you try to run both servers with the default port, you'll
 get a conflict.  Configure different port numbers, and it
 will work.

Thanks for that hint.  After changing the port numbers for each
instance to a different one, it works - but only at first glance.
After making some test creates and inserts to all servers at the same
time I receive the 'out of memory' messages again...
Different UIDs, different ports, same error.

 By the way, the PostgreSQL developers do _not_ recommend to
 run multiple servers on the same machine, because of bad
 efficiency.  It is much better (performance-wise) to run
 all databases within the same server engine.  PostgreSQL
 has all the authentication and permission features you need
 to separate multiple databases within a single server, so
 there is really no need to use multiple jails.

Of course I understand that.  But I would like to setup a test server
in a different jail beside my production jail/pgsql-server to be sure
not to crash my production server.
Performance does not matter (at this time in this specific case of
course!).

 I have these on a machine with a single PostgreSQL server,
 as per recommendations of the developers:
 
 options SHMMAXPGS=65536
 options SEMMAP=1024
 options SEMMNI=64
 options SEMMNS=1024
 options SEMUME=64
 options SEMMNU=128

Is this a good recommendation for a machine with only 1GB of RAM?

-- 
Oliver PETER, eMail: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave.  Even drones can fly away.
 The Queen is their slave.


pgpn9ie4anGY4.pgp
Description: PGP signature


multiple postgresql servers in multiple jails?

2007-10-23 Thread Oliver Peter
Does anybody have a running system with more than one jail hosting
more than one postgres server?

I can only have one pgsql database on one host at all.  I already
tried to increase the shared memory off my machine with additional
kernel [1] and sysctl parameters [2] and I also tried to change
the numeric UID directly in the jails into a seperate one.  Same
errors.

Of course I already have defined  jail_sysvipc_allow=YES  in
rc.conf.  I have this issue on 6.2-RELEASE-p8 and 8.0-CURRENT with
postgresql-server-8.2.5_1.


% psql
psql: FATAL:  semctl(458753, 15, SETVAL, 0) failed: Invalid argument


Or some fun with perl/DBD

Out of memory during request for 108 bytes, total sbrk() is 534585344 bytes!
Out of memory during request for 288 bytes, total sbrk() is 534585344 bytes!
Out of memory during request for 288 bytes, total sbrk() is 534585344 bytes!


[1]
options SYSVSHM
options SYSVSEM
options SYSVMSG
options SHMMAXPGS=65536
options SEMMNI=40
options SEMMNS=240
options SEMUME=40
options SEMMNU=120

[2] http://www.freebsddiary.org/jail-multiple.php

-- 
Oliver PETER, eMail: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave.  Even drones can fly away.
 The Queen is their slave.


pgpssv1uBVp3M.pgp
Description: PGP signature


Re: Integrating Postfix + Amavisd-new + Clamav + DSpam + DBmail

2007-07-22 Thread Oliver Peter
On Wed, Jul 18, 2007 at 03:56:45AM +0300, Bazy wrote:
 Oliver Peter wrote:
 ...
 I'm using it with MySQL, my database is only 900MB with 15000 mails and
 it works fine.
 
 How did you integrate clamav with postfix?

Clamav doesn't talk to postfix directly - Amavisd-new will call
Clamav.  Dunno if this is the best way.  Indeed it's very slow on my
pentium3.

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgpMQXiT8bEp7.pgp
Description: PGP signature


Re: Integrating Postfix + Amavisd-new + Clamav + DSpam + DBmail

2007-07-22 Thread Oliver Peter
On Wed, Jul 18, 2007 at 11:35:26AM +0100, Feargal Reilly wrote:
 On Wed, 18 Jul 2007 00:28:08 +0200
 Oliver Peter [EMAIL PROTECTED] wrote:
 
  I think one main 'problem' with dbmail will be that if your db
  crashes or stops working  EVERYTHING  is lost.  You don't have
  these problems in this dimension with a filesystem based
  mailsystem. Primarily you will have to find a good
  backup/failover solution for your database - regardless of
  what system you will use (pgsql, mysql, oracle, mssql...
  SQLlite ...)
  
 
 This is a bit unfair to dbmail - the exact same applies to
 filesystem based mail systems. If you do not have a good
 backup/failover solution, and your filesystem crashes or stops
 working, EVERYTHING is lost.

Of course you're right.  But when you use a database based mail
solution your database can crash and your filesystem can crash.  When
you use a filesystem based system you don't have the additional
db-crash-factor.  Personally I trust my filesystem skills more than my
database skills :)

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgp09omjweeyn.pgp
Description: PGP signature


Re: Integrating Postfix + Amavisd-new + Clamav + DSpam + DBmail

2007-07-22 Thread Oliver Peter
On Wed, Jul 18, 2007 at 12:28:08AM +0200, Oliver Peter wrote:
 ...
 Serious:
 I had a little problem with dbmail and pgsql:
 http://www.mail-archive.com/[EMAIL PROTECTED]/msg11640.html
 
 I haven't tried the new version yet.

I would like to add:

Today I updated dbmail from 2.2.4 to 2.2.5.  Certainly the error above
has been fixed.

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgpdexqhRLAr8.pgp
Description: PGP signature


Re: Integrating Postfix + Amavisd-new + Clamav + DSpam + DBmail

2007-07-17 Thread Oliver Peter
On Sun, Jul 15, 2007 at 05:21:49PM +0545, Tek Bahadur Limbu wrote:
 
 Hi All,
 
 I was wondering if anybody on this list has successfully implemented the 
 following setup on a FreeBSD machine?
 
 Postfix + Amavisd-new + Clamav + DSpam + DBmail (PostgreSQL)
 
 Can I use the following diagram for this?
 
 Postfix -- Amavisd-new -- Clamav -- Amavisd-new -- DSpam -- Postfix 
 -- DBmail-lmtpd -- DBmail-Database?
 
 Is this the correct or optimal setup?
 
 Being relatively new to the world of MTAs, please forgive me for any 
 naive questions.
 
 
 Any pointers, suggestions and tips will be highly appreciated.

I'm using  FreeBSD 6.2-RELEASE-p2 with Postfix, Cyrus-SASL2, amavisd-new, clamav
and dbmail (only IMAP with stunnel) with a pgsql backend.

I would like to switch back to a filesystem based e-mail backend
(maybe dovecot) - feels better to me.  Furthermore I think that dbmail
has no good pgsql support (it has some bugs with IMAP) - 
maybe you would like to try mysql instead (*hirgs*).

If you would like I can show you my configuration files and table
structures.

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgpojaTwg1X57.pgp
Description: PGP signature


Re: Ports Clean

2007-07-17 Thread Oliver Peter
On Fri, Jul 13, 2007 at 01:02:36PM -0400, Grant Peel wrote:
 Hi all,
 
 My ports collection on some of the servers is wasting alot of space.
 
 What would be the best method to 'cleanout' the ports dir without adversly 
 affecting the operation of the rest of the server? 
 
 All of the servers are live production servers.

You can add the following line to your /etc/make.conf

 WRKDIRPREFIX=/usr/obj/ports

This will change the workdir of you portstree to /usr/obj/ports.
No working directory will be created under /usr/ports so you can just
clean up your workdirs with the following command:

rm -rf /usr/obj/ports/*

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgpX7SK8IwzWp.pgp
Description: PGP signature


Re: Integrating Postfix + Amavisd-new + Clamav + DSpam + DBmail

2007-07-17 Thread Oliver Peter
On Wed, Jul 18, 2007 at 01:22:34AM +0545, Tek Bahadur Limbu wrote:
 Oliver Peter wrote:
 ...
 On Sun, Jul 15, 2007 at 05:21:49PM +0545, Tek Bahadur Limbu wrote:
 I would like to switch back to a filesystem based e-mail backend
 (maybe dovecot) - feels better to me.  Furthermore I think that dbmail
 has no good pgsql support (it has some bugs with IMAP) - 
 maybe you would like to try mysql instead (*hirgs*).
 
 I think that I may have to switch back to Mysql then. I heard that 
 PostgreSQL is more scalable than Mysql. But I am not an experienced 
 database user, so, please forgive my little knowledge.

Personally I prefer PostgreSQL.  It works great for me.
In my opinion MySQL is to Postgres like Linux to FreeBSD :)

Serious:
I had a little problem with dbmail and pgsql:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg11640.html

I haven't tried the new version yet.

 Why do you want to switch back to to a filesystem based e-mail backend? 
 I suppose storing emails in a database should be more scalable and 
 flexible in the long run?

Since I'm the only active user of my dbmail setup it's too oversized
for this purpose.  I think I can live with a small filesystem based
postfix setup, too.
Of course it will be more flexible in the long run but I have only a
1,2ghz machine as my main mailserver - simply it is too slow.

 If you would like I can show you my configuration files and table
 structures.
 
 Of course, I would like to see your configuration files. In fact, I am 
 dying to see it.

Hehe, no problem.  You will get them tomorrow.  Promised.
 
 I am planning my current setup to be used for a long term basis in a 
 production environment for a very large user base.
 
 Me and my team are currently just designing and testing it out. It might 
 take some time before we can put this server in production.
 
 Since I am very new to database terminology, how scalable is a database 
 in terms of the data storage size. I mean suppose, we have 2 users 
 each with a quota of 1 GB. What will eventually happen if they all used 
 up their quotas. That will be about 20 TB in size!!

w00t - as you can see I'm just a little sysadmin managing his very own
small mailserver.  I never thought about thousands of user - I never
thought about to have more than 10 user. Hehe.

Well, if you will have such a huge load Postgres would be the best
choice for you.  As far as - I - know it has better methods
regarding failover, master- and slaveserver and of course db clusters.  

I think one main 'problem' with dbmail will be that if your db crashes
or stops working  EVERYTHING  is lost.  You don't have these problems
in this dimension with a filesystem based mailsystem.  Primarily you
will have to find a good backup/failover solution for your database -
regardless of what system you will use (pgsql, mysql, oracle,
mssql... SQLlite ...)

 Thanking you...

Let's see if my small setup will help you tomorrow.  I will get in
touch with you.

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgpg3ccAguB4y.pgp
Description: PGP signature


Re: tftpd problems

2007-06-26 Thread Oliver Peter
On Wed, Jun 20, 2007 at 04:04:56PM -0700, Mike Sweetser - Adhost wrote:
 I'm having problems setting up tftpd on FreeBSD 6.2-RELEASE - our Cisco
 routers cannot connect to the server, and only small files can be
 uploaded.
 
 Here's the line from inetd.conf:
 
 tftpdgram   udp waitroot/usr/libexec/tftpd  tftpd -w
 -l -s /home/tftproot
 
 When TFTPing from a Cisco router, a zero-byte file is created, and then
 a timeout occurs and it errors out.
 
 When TFTPing from a Windows XP machine, only about 20-30 bytes of the
 file are uploaded.  No error is received, it says it completes the
 upload.
 
 Any ideas?

My first try would be to have a look into /var/log/xferlog .

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgpu6g7j3z7sL.pgp
Description: PGP signature


Re: MS exchange alternatives for FreeBSD

2007-06-26 Thread Oliver Peter
On Tue, Jun 26, 2007 at 07:14:59PM +0300, Cheffo wrote:
 Hi list,
 
 I have server running postfix + courier-imap, and I'm looking for 
 someway to add possibility to exchange calendars/contacts/meeting 
 invitations/etc between mail clients.
 
 Can someone recommend calendar, that is compatible with windows clients 
 and can be run under FreeBSD?

% cat /usr/ports/deskutils/sunbird/pkg-descr
The Sunbird Project is a redesign of the Mozilla Calendar component. The goal
is to produce a cross platform standalone calendar application based on
Mozilla's XUL user interface language.

WWW:http://www.mozilla.org/projects/calendar/sunbird.html

I like it :) 
But I'm not sure if you can exchange your inputs with other clients.

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgpzC98gc9YnR.pgp
Description: PGP signature


Re: i have a system that will not installworld.

2007-05-29 Thread Oliver Peter
Hi Jonathan,

On Mon, May 28, 2007 at 10:14:10PM -0500, Jonathan Horne wrote:
 i just did a buildkernel and world, and installing the kernel was normal with 
 no issues.  mergemaster -p, and then when i installworld, i get this:
 
 phoenix# make installworld
 mkdir -p /tmp/install.iA4Zk47v
 for prog in [ awk cap_mkdb cat chflags chmod chown  date echo egrep find grep 
 install-info  ln lockf make mkdir mtree mv pwd_mkdb rm sed sh sysctl  test 
 true uname wc zic; do  cp `which $prog` /tmp/install.iA4Zk47v;  done
 cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386  MACHINE=i386  
 CPUTYPE=  GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin  
 GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font  
 GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac  
 PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/tmp/install.iA4Zk47v
  
 make -f Makefile.inc1 reinstall
 make: Permission denied
 *** Error code 126
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 
 note that im not in single user mode, but personally, ive been doing it in 
 full mode for a long time, and this is the first box thats not performing as 
 expected.does what i posted above make any sense to anyone?  i have 
 already did a rm -rf on /usr/src/* and /usr/obj/* and re-ran the buildworld, 
 same thing both times.  any ideas would be appreciated.

What's your current uname -a and what branch do you use for your cvs
sources?

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgphGj48yM6B0.pgp
Description: PGP signature


Re: i have a system that will not installworld.

2007-05-29 Thread Oliver Peter
On Tue, May 29, 2007 at 12:56:43PM -0500, Jonathan Horne wrote:
 
  Hi Jonathan,
 
  On Mon, May 28, 2007 at 10:14:10PM -0500, Jonathan Horne wrote:
  i just did a buildkernel and world, and installing the kernel was normal 
  with
  no issues.  mergemaster -p, and then when i installworld, i get this:
 
  phoenix# make installworld
  mkdir -p /tmp/install.iA4Zk47v
  for prog in [ awk cap_mkdb cat chflags chmod chown  date echo egrep find 
  grep
  install-info  ln lockf make mkdir mtree mv pwd_mkdb rm sed sh sysctl  test
  true uname wc zic; do  cp `which $prog` /tmp/install.iA4Zk47v;  done
  cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386  MACHINE=i386
  CPUTYPE=  GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin
  GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font
  GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac
  PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/tmp/install.iA4Zk47v
  make -f Makefile.inc1 reinstall
  make: Permission denied
  *** Error code 126
 
  Stop in /usr/src.
  *** Error code 1
 
  Stop in /usr/src.
 
  note that im not in single user mode, but personally, ive been doing it in
  full mode for a long time, and this is the first box thats not performing 
  as
  expected.does what i posted above make any sense to anyone?  i have
  already did a rm -rf on /usr/src/* and /usr/obj/* and re-ran the 
  buildworld,
  same thing both times.  any ideas would be appreciated.
 
  What's your current uname -a and what branch do you use for your cvs
  sources?
 
  --
  Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
  Worker bees can leave. Even drones can fly away. The Queen is their slave.
 
 uname -a :
 FreeBSD phoenix.heavysystems.com 6.2-RELEASE-p5 FreeBSD 6.2-RELEASE-p5 #4: Mon
 May 28 19:19:53 EDT 2007
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PHOENIX  i386
 
 kernel installed successfully, and we rebooted it to see if it would somehow
 clear this up.  ive been checking file system/directory permissions against
 another system that is fine, and so far they all look the same.
 
 supfile is pulling down RELENG_6_2.

What's about your kernel securelevel (% sysctl kern.securelevel) ?

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgpWUYzR33LMx.pgp
Description: PGP signature


Re: Newbie Question: Mail from from cron jobs...

2007-05-16 Thread Oliver Peter
On Tue, May 15, 2007 at 05:38:15PM -0400, Jerry McAllister wrote:
 On Tue, May 15, 2007 at 11:26:03PM +0200, Oliver Peter wrote:
 
  On Tue, May 15, 2007 at 12:26:36PM -0400, Ian Lord wrote:
...
   
   Where can I change the address [EMAIL PROTECTED] to
   [EMAIL PROTECTED] ?
 
 Look in the file /etc/mail/aliases
 
 You can alias root to go to your favorite address.
 Don't forget to run   newaliases(1)   after editing the file.
 
 Of course, doing this will mean that all mail to root will
 go to you.   

Hhm. I thought the problem was that you would like to change the From:
of those e-mails not the To: ?

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgpTl4XpfObMZ.pgp
Description: PGP signature


Re: Startup errors....su:/bin/csh Perm denied..

2007-05-16 Thread Oliver Peter
On Tue, May 15, 2007 at 07:24:27PM -0300, Agus wrote:
 ...
 Here is part of the boot..
 Updating motd
 Starting mysql.
 su: /bin/csh: Permission denied
 Configuring syscons: keymap blanktime.
 Starting sshd.
 can not chdir(/var/spool/clientmqueue/): Permission denied
 Program mode requires special privileges...
 Starting cron.
 Local package initializations...
 Starting inetd.

Interesting. 
Do you see the same when you start/stop it manually?

  # /usr/local/etc/rc.d/mysql-server restart

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgpvxFJ06btaQ.pgp
Description: PGP signature


Re: Find out startup programs execution order..

2007-05-16 Thread Oliver Peter
On Tue, May 15, 2007 at 11:34:15PM -0300, Agus wrote:
 Hi...
 i am trying to solve a problem with an error message during startup..
 su: /bin/csh : Permission Denied
 
 so i am trying to find the way the programs start during boot
 
 thats it
 
 Thanxsss

AFAIK:
Programs under /etc/rc.d/ and /usr/local/etc/rc.d/ start in
alphanumerical order. So you can rename those startup shell scripts
according to your needs.

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgpKRYNhHIrwq.pgp
Description: PGP signature


Re: cannot email to the jail from the host

2007-05-15 Thread Oliver Peter
On Tue, May 08, 2007 at 08:20:24PM -0500, Jonathan Horne wrote:
 i have a host, that runs a jail that is my network's email server.  the host, 
 cannot send mails to the jail.  (host is canopus, jail is pollux)  example:
 
 [EMAIL PROTECTED] ~]$ mail
 No mail for jhorne
 [EMAIL PROTECTED] ~]$ ifconfig|mail [EMAIL PROTECTED]
 
 then, in my host's maillog, i see: 
 
 [EMAIL PROTECTED] ~]$ tail /var/log/maillog|grep sm-mta
 May  8 19:51:24 canopus sm-mta[4523]: l490pONL004523: 
 from=[EMAIL PROTECTED], size=1372, class=0, nrcpts=1, 
 msgid=[EMAIL PROTECTED], proto=ESMTP, 
 daemon=Daemon0, relay=localhost.dfwlp.com [127.0.0.1]
 
 May  8 19:51:24 canopus sm-mta[4524]: l490pONL004523: 
 to=[EMAIL PROTECTED], ctladdr=[EMAIL PROTECTED] (1001/1001), 
 delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31654, relay=local, 
 dsn=2.0.0, stat=Sent
 
 May  8 19:53:46 canopus sm-mta[4554]: l490rjLf004554: 
 from=[EMAIL PROTECTED], size=1372, class=0, nrcpts=1, 
 msgid=[EMAIL PROTECTED], proto=ESMTP, 
 daemon=Daemon0, relay=localhost.dfwlp.com [127.0.0.1]
 
 May  8 19:53:46 canopus sm-mta[4555]: l490rjLf004554: 
 to=[EMAIL PROTECTED], ctladdr=[EMAIL PROTECTED] (1001/1001), 
 delay=00:00:01, xdelay=00:00:00, mailer=local, pri=31654, relay=local, 
 dsn=2.0.0, stat=Sent
 
 and of course, nothing at all in the maillog of pollux.  back on canopus, is 
 the where the email in question has been delivered:
 
 [EMAIL PROTECTED] ~]$ mail
 Mail version 8.1 6/6/93.  Type ? for help.
 /var/mail/jhorne: 1 message 1 unread
 U  1 [EMAIL PROTECTED]  Tue May  8 19:53  41/1723
 
 
 problem appears to be related to canopus using localhost as its relay, 
 possibly amplified by the fact that canopus and pollux share the same mac 
 address.  is there a way around this?  on my host (canopus) i have 
 sendmail_enable=NO in /etc/rc.conf.  also, local DNS is correctly 
 configured, and resolves the correct ip from canopus
 
 im totally stumped here, is there a way around this caveat?
 
 thanks,

I think this is more dns related that jail related - 
Could you please provide me some more details about your dns-, hosts
and ip-configuration?

Have a nice evening.

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgpNpYSL0oAXb.pgp
Description: PGP signature


Re: 7 install

2007-05-15 Thread Oliver Peter
On Tue, May 08, 2007 at 06:31:40PM -0700, User Iam wrote:
 Hi
 
 I am doing a fresh install of 7.0
 
 When I get the part when it asks for install media.
 
 I select  cd/dvd disk
 
 And It claims it can't find it???
 
 
 This is the disk I booted off

Are you sure that you are not using the bootonly CD?

Check this out:
ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/200705/7.0-CURRENT-200705-i386-disc1.iso

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgpMkOcDQCOp6.pgp
Description: PGP signature


Re: Startup errors....su:/bin/csh Perm denied..

2007-05-15 Thread Oliver Peter
On Mon, May 14, 2007 at 08:50:13PM -0300, Agus wrote:
 Hi everybody...i was starting up my bsd when i noticed some errors..
 The first one is right after Starting mysql finishes.
 it says su: /bin/csh: Permission Denied
 Then it loads sshd and right after it finishes loading sshd it says
 can not chdir(/var/spool/clientmqueue/): Permission denied
 Program mode requires special privileges...
 then it finishes loading cron
 inetd...
 
 i didnt install anything,,,i dont know where to look to finde where or which
 program is causing this...
 thanks for your time..
Since mysql is not part of the default installation it seems that you
DID install some additional software and modified your /etc/rc.conf.

Please provide us your rc.conf for further help.

Bye.

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgp45SjWjeSFI.pgp
Description: PGP signature


Re: Newbie Question: Mail from from cron jobs...

2007-05-15 Thread Oliver Peter
On Tue, May 15, 2007 at 12:26:36PM -0400, Ian Lord wrote:
  ...
 
 Where can I change the address [EMAIL PROTECTED] to
 [EMAIL PROTECTED] ?

Did you set up your hostname correctly in /etc/rc.conf ?
Furthermore you need to tell your MTA how your hostname is called.

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgpxSWBHHr9XK.pgp
Description: PGP signature


Re: GELI recovery

2007-04-25 Thread Oliver Peter
On Wed, Apr 25, 2007 at 12:40:50AM -0400, Rat Paranoid wrote:
 Dear All,

Dear Mr. Rat Paranoid,
 
 I badly need your help! I've used GELI encrypted partition on my
 notebook for 5 month but now I can't mount it on startup... it seems
 that I forgot the password (but how is it possible if I enter it each
 time I switch my notebook?!) or something is wrong with GELI
 
 anyway when I created that partition I also created backup key file
 as it was suggested by the manual... Now I've tried to mount the
 partition with that key but it keeps telling me that the password is
 wrong. %(
 
 Is it possible to recover the bloody thing with that backup key?!
 
 Your help would be much appreciated!

You can provide us your dmesg debug output by adding the following lines
to /boot/loader.conf:

kern.geom.eli.debug=3

GELI(8) says:
   Debug level of the ELI GEOM class.  This can be set to a number
   between 0 and 3 inclusive.  If set to 0, minimal debug informa-
   tion is printed.  If set to 3, the maximum amount of debug infor-
   mation is printed.

For yourself you can add:

kern.geom.eli.visible.passphrase=1

GELI(8) says:
If set to 1, the passphrase entered on boot (before the root file
   system is mounted) will be visible.  This possibility should be
   used with caution as the entered passphrase can be logged and
   exposed via dmesg(8).  This variable should be set in
   /boot/loader.conf.

Good luck.

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgpyD6rl6UKp0.pgp
Description: PGP signature


Re: postfix question

2007-04-25 Thread Oliver Peter
On Wed, Apr 25, 2007 at 09:27:48AM +0200, n j wrote:
 Hello,

Hello Nino,
 
 does anybody know is it possible with Postfix to route e-mail based
 on either the inet interface message came from or the sender of a
 message? I'm using Postfix v.2.3.8 on a multihomed machine and have
 two smtpd's defined in master.cf. What I would like is that mail
 submitted through smtpd that is listening on A.B.C.D goes out through
 the smtp client that binds to A.B.C.D and the rest of the mail go
 through the other smtp client. The problem as I see it is that, once
 messages arrive in the queue, it becomes irrelevant where they came
 from and the only routing that is available is recipient-based.
 
 Thanks for any suggestions!

Would it help to pimp your transport map?

#In the case of delivery via SMTP, one  may  specify  host-
#name:service instead of just a host:
#
# example.com  smtp:bar.example:2025

You can replace bar.example with the IP address of the other
interface.
It works with my DBmail configuration.

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgpdLK7vKbf0l.pgp
Description: PGP signature


Re: How do I forward old root emails from the root mailbox to my address?

2007-04-25 Thread Oliver Peter
On Wed, Apr 25, 2007 at 11:11:07AM +0200, Andreas Widere Andersen wrote:
 Hi,
 On one of my FreeBSD servers all system emails to root is stored in the root
 mailbox under /var/mail/root. I have updated my alias file so new mail is
 forwarded to one of my email adresses, but is there a simple way for me to
 send all these old mails in root's mailbox to my email address without
 logging in through pop3/imap?
 
 A command line trick would be perfect.

mutt is your friend.

Open the mbox file with 
  # mutt -R -f /var/mail/root

Then Tag all mails (press 'T' then enter '.') and bounce the tagged
messages (press ';' and thenn 'b') to your personal email address.

That's the easiest way I know.
(Of course you need a running MTA, too)

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgpYI11ZTgbQl.pgp
Description: PGP signature


Re: GELI recovery

2007-04-25 Thread Oliver Peter
On Wed, Apr 25, 2007 at 02:47:26PM -0400, Alexey Kuzmenko wrote:
 I've turned on debugging and visible password with:
 
 kern.geom.eli.debug=3
 kern.geom.eli.visible_passphrase=1

Did you make a reboot?
 
 but have nothing in the dmesg concerning my ad0s2 partition and it
 keeps telling Wrong key for ad0s2. May be I should fsck it before
 doing a geli attachment?

No, of course not. 
You have to attach the geli device before you can perform any action
on it (in your example a fsck).
Otherwise you will completely destroy your crypto device.

If you really have forgotten your password nobody can help you.

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgp3fcrezou9o.pgp
Description: PGP signature


Re: New Config of Jails 4 port NIC with 6.2 stable

2007-04-21 Thread Oliver Peter
On Thu, Apr 19, 2007 at 01:06:18PM -0700, [EMAIL PROTECTED] wrote:
 Hello Everyone! 

Hi dude,

 A FreeBSD Grasshopper needs help.
 
 Working with 
 
 PIII 1Ghz. 
 1/2 gig ram 
 two 80 gig drives
 One 4 port D-link NIC.
 Freebsd 6.2 stable +Gnome  Xorg, webmin installed
 I have comcast with a Netgear wireless router
 
 I would like to configure the above with Jails
 My aim is Local DNS, DHCP, Apache1.3, MySQL 4, PHP4, etc, etc.
 basic web server stuff.

 Not sure where to start!

Have you already looked into the manpage JAIL(8) ?
This is a good starting point to set up your jail.

Because you use -STABLE ezjail (from ports) will be a little bit
tricky to set up. (make release ...)

 I would like to have a one NIC port stay on web.

So your machine plays gateway, (jail)server AND workstation?

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgp4lof1uP2Ti.pgp
Description: PGP signature


Re: Re[2]: New kernel and jail

2007-04-17 Thread Oliver Peter
On Tue, Apr 17, 2007 at 10:51:41AM +0400, Vladimir wrote:
 OP On Fri, Apr 13, 2007 at 09:36:20AM +0400, Vladimir wrote:
  Hi all.
 
 OP Hi Vladimir,
  
  I have FreeBSD 5.4 installed. There is a working jail. 
  I am trying to rebuild a kernel to enable quota support. Therefore
  i?ve added options QUOTA to config file (all other options
  are from GENERIC). When booting with this new kernel jail does not
  start. When i issue at the command prompt:
  jail /opt/jails/www.myhost.ru/ www.myhost.ru xxx.xxx.xxx.xxx /bin/sh
  i get:
  jail: jail: Invalid argument  
  
  There is no messages in log files regarding jail.
  After rebooting with old kernel everything is normal.
 
 OP I can not say much about your problem - but 5.4 is a little bit
 OP outdated. Is it possible for you to make an update to a newer release?
 OP 6.2 would be a good deal.
 OP There are very cute rc-scripts to start/restart/stop your jail(s), too.
 
 No, it is not possible :(
 
 Do i need to perform any actions with the jail when upgrading a kernel
 or the jail must work without any changes?

I think it depends on the changes you made to your kernel.
Usually it works without any problems for me.

I have no jails right here to check out QUOTA and jail under
6.2-RELEASE-p3 but maybe anotherone can help us there.

PS: Why it is not possible for you to make an update? :)

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgp3X2swa1Xkx.pgp
Description: PGP signature


ezjail / 6.2-RELEASE-p3

2007-04-17 Thread Oliver Peter
Dear,

Is there a possibilty to use a self-build release (from source) with
ezjail instead of the ftp-RELEASEs ?
I didn't find prebuilt binary packages for 6.2-RELEASE-p3 on the ftp
sites so I'm thinking about building my own.

Maybe it's interesting for -CURRENT and -STABLE users, too.

Bye
Ollie

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgpZJh8uhEfKh.pgp
Description: PGP signature


jail specific mailinglist?

2007-04-17 Thread Oliver Peter
Dear,

According to my previous email (ezjail / 6.2-RELEASE-p3) I would
like to ask where to post such messages (for best results :-P ).

What's about having a jail secific mailinglist like
[EMAIL PROTECTED] ?

Bye
Ollie

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgppw8Li1buXQ.pgp
Description: PGP signature


Re: jail specific mailinglist?

2007-04-17 Thread Oliver Peter
On Tue, Apr 17, 2007 at 06:44:29PM +0200, Philipp Wuensche wrote:
 Oliver Peter wrote:
  Dear,
  
  According to my previous email (ezjail / 6.2-RELEASE-p3) I would
  like to ask where to post such messages (for best results :-P ).
  
  What's about having a jail secific mailinglist like
  [EMAIL PROTECTED] ?
 
 For ezjail related questions (and sometimes just jail related questions)
 there is already a mainlinglist: [EMAIL PROTECTED] (archive:
 https://elektropost.org/ezmlm-cgi?iss::)

Ok, sure.
But jails are a very powerful feature of freebsd and the official way
(JAIL(8)) is to do this without ezjail.
So I would apreciate if there will be a main mailinglist for jail
specific questions. I saw a lot of jail specific posts on this list
the last weeks and I think it would be more effective to maintain a
primary jail-list to collect all those problems.

IMHO.

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgpdLEYhLzvJz.pgp
Description: PGP signature


Re: New kernel and jail

2007-04-16 Thread Oliver Peter
On Fri, Apr 13, 2007 at 09:36:20AM +0400, Vladimir wrote:
 Hi all.

Hi Vladimir,
 
 I have FreeBSD 5.4 installed. There is a working jail. 
 I am trying to rebuild a kernel to enable quota support. Therefore
 i?ve added options QUOTA to config file (all other options are from 
 GENERIC). When booting with this new kernel jail does not start. When i issue 
 at the command prompt:
 jail /opt/jails/www.myhost.ru/ www.myhost.ru xxx.xxx.xxx.xxx /bin/sh 
 i get:
 jail: jail: Invalid argument  
 
 There is no messages in log files regarding jail.
 After rebooting with old kernel everything is normal.

I can not say much about your problem - but 5.4 is a little bit
outdated. Is it possible for you to make an update to a newer release?
6.2 would be a good deal.
There are very cute rc-scripts to start/restart/stop your jail(s), too.

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgpQgBMrJj2lI.pgp
Description: PGP signature


Re: jail and adjkerntz

2007-02-10 Thread Oliver Peter
On Sat, Feb 10, 2007 at 09:21:33AM +0100, Albert Shih wrote:
 Hi all
 
 I've strange message every 30 min from mail jail (by mail to root) like
 
   adjkerntz[21050]: sysctl(put_wallclock): Operation not permitted
   
 what's that mean ? 

FreeBSD System Manager's Manual   ADJKERNTZ(8)

 adjkerntz -- adjust local time CMOS clock to reflect time zone changes
 and keep current timezone offset for the kernel

You can not do that within a jail.

Just comment out the following line from /etc/crontab:

# Adjust the time zone if the CMOS clock keeps local time, as opposed to
# UTC time.  See adjkerntz(8) for details.
#1,31   0-5 *   *   *   rootadjkerntz -a

-- 
Oliver Peter, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgp90eEduIrA4.pgp
Description: PGP signature