Re: moving /home to new drive

2007-07-18 Thread Zbigniew Szalbot

Hello again,

On Wed, 18 Jul 2007 12:46:36 +0700 (ICT), Olivier Nicole [EMAIL PROTECTED]
wrote:
 Or do I need to delete the
 symlink first and only then try to mount the new drive as /home?
 
 - delete the symlink
OK
 - create a directory /home
Do I create it on the existing drive and

 - mount the new drive
then mount the new drive? I just want to make sure I unders

 - copy the files
 
 You cannot mount a disk on a symlink and you cannot mount a disk until
 you have created the mount point.
And what about samba? I just realized I will need to alter sama
configuration becasue current /usr/home is available as a network share.
Thank you once again!


-- 
Zbigniew Szalbot

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


Re: moving /home to new drive

2007-07-18 Thread Beech Rintoul
On Tuesday 17 July 2007, Zbigniew Szalbot said:
 Hello again,

 On Wed, 18 Jul 2007 12:46:36 +0700 (ICT), Olivier Nicole
 [EMAIL PROTECTED]

 wrote:
  Or do I need to delete the
  symlink first and only then try to mount the new drive as /home?
 
  - delete the symlink

 OK

  - create a directory /home

 Do I create it on the existing drive and

  - mount the new drive

 then mount the new drive? I just want to make sure I unders

  - copy the files
 
  You cannot mount a disk on a symlink and you cannot mount a disk
  until you have created the mount point.

 And what about samba? I just realized I will need to alter sama
 configuration becasue current /usr/home is available as a network
 share. Thank you once again!

Copy the contents of home to your new drive. Delete everything 
inside /usr/home. Mount the new disk to /usr/home. Keeps your tree 
the same.

Beech

-- 
---
Beech Rintoul - FreeBSD Developer - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail   | http://www.freebsd.org
 X  - NO Word docs in e-mail | Latest Release:
/ \  - http://www.FreeBSD.org/releases/6.2R/announce.html
---



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


Re: moving /home to new drive

2007-07-18 Thread Norberto Meijome
On Wed, 18 Jul 2007 12:46:36 +0700 (ICT)
Olivier Nicole [EMAIL PROTECTED] wrote:

 From: Olivier Nicole [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org
 Subject: Re: moving /home to new drive
 Date: Wed, 18 Jul 2007 12:46:36 +0700 (ICT)
 Sender: [EMAIL PROTECTED]
 
  Or do I need to delete the
  symlink first and only then try to mount the new drive as /home?  
 
 - delete the symlink
 - create a directory /home
 - mount the new drive
 - copy the files

- verify the copy is successful
- mv /usr/home /usr/home_old

- create a symlink from /usr/home to /home - i DONT know whether this is 
necessary or not, but if you want to keep things as seamless as possible, you'd 
need it (i dont even know what is supposed to be the real path - i thought 
/usr/home was the real thing and /home just a shortcut).

- test /home 
- when happy, delete /usr/home_old (else you wont have made any room in the 
other drive ;) 


BTW, why not just 

- mv /usr/home /usr/home_old
- mkdir /home
- mount [new_drive] /home
- copy -r /usr/home_old/* /usr/home/  ( make sure you use an appropriate 
command for copying the data - cp does not handle special files correctly - 
check the archives for discussions on this subject).

- test and deleted old copy ?

B

_
{Beto|Norberto|Numard} Meijome

Which is worse: ignorance or apathy?
Don't know. Don't care.

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cursor key behavior with Firefox

2007-07-18 Thread Norberto Meijome
On Tue, 17 Jul 2007 08:39:03 -0700
Rob Lytle [EMAIL PROTECTED] wrote:

 I know this isn't a Firefox list, but perhaps someone can save me some
 time.  When I use the down arrow, rather than scrolling, it takes me
 right to the bottom of the page.
 Same behavior in Vista and FreeBSD.

arrow key down works fine here.  have you tried a different keyboard? 

btw, u can use the scroll wheel of your mouse to scroll as well. - pg up + pg 
dn work as well for larger jumps.

_
{Beto|Norberto|Numard} Meijome

Intelligence: Finding an error in a Knuth text.
Stupidity: Cashing that $2.56 check you got.

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: moving /home to new drive

2007-07-18 Thread Garrett Cooper

Zbigniew Szalbot wrote:

Hello again,

On Wed, 18 Jul 2007 12:46:36 +0700 (ICT), Olivier Nicole [EMAIL PROTECTED]
wrote:
  

Or do I need to delete the
symlink first and only then try to mount the new drive as /home?
  

- delete the symlink


OK
  

- create a directory /home


Do I create it on the existing drive and

  

- mount the new drive


then mount the new drive? I just want to make sure I unders

  

- copy the files

You cannot mount a disk on a symlink and you cannot mount a disk until
you have created the mount point.


And what about samba? I just realized I will need to alter sama
configuration becasue current /usr/home is available as a network share.
Thank you once again!
  


1. Mount new disk to temporary location.
2. Copy files over to disk.
3. Update /etc/fstab while files are being copied.
4. Drop into single user mode (if production machine), and login as root 
(just to avoid possible errors in programs :)..).

5. Delete files in /usr/home
6. Mount new drive at /usr/home.

   I know it's a long set of steps, but it's complete list.
   If /usr/home is a symlink you could just symlink to the permanent 
mountpoint after 3., and forgo doing 4. - 6.

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


Re: moving /home to new drive

2007-07-18 Thread Olivier Nicole
 4. Drop into single user mode (if production machine), and login as root 
 (just to avoid possible errors in programs :)..).

on production machine I woul deven copy in single user mode, just to
prevent a user to be modifying a file when copying.

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


FreeBSD 7.0-CURRENT, firefox 2.0.x, and flash

2007-07-18 Thread Philip M. Gollucci

Hi,

I've tried this on and off over the years and I think I saw it work once 
back in the days of 4.9 or so.


googling turns up things for 6.x, and firefox 1.5.

ls -1 | egrep 'firefox|flash'
firefox-2.0.0.4,1/
flashplugin-mozilla-0.4.13_1/
libflash-0.4.13_2/

What next ?

IMHO this should be a handbook section.  If someone wants to help me 
out, I'll write the section.


uname -a
FreeBSD home.p6m7g8.net 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Wed Jul 11 
01:51:57 EDT 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/HOME  i386


If its matters, I'm using Xorg 7.2 and all its mysteries.

At the moment, my /etc/libmap.conf is empty

Thanks
--

Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Senior System Admin - Riderway, Inc. http://riderway.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OT: PC VGA

2007-07-18 Thread Norberto Meijome
On Wed, 18 Jul 2007 03:33:31 +0200
Fredrik Tolf [EMAIL PROTECTED] wrote:

 of things (hardware standards in general)? I've been googling around
 quite a bit without being able to find anything good.

(not in any order in particular)

- Google 
- http://www.howstuffworks.com/
- Wikipedia - http://en.wikipedia.org/wiki/VGA
- A lot of the hardware standards have associations / working groups behind 
them , where you can find the specs and other info. Google is your friend again 
here.


_
{Beto|Norberto|Numard} Meijome

Linux is for people who hate Windows, BSD is for people who love UNIX.

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: moving /home to new drive

2007-07-18 Thread Norberto Meijome
On Wed, 18 Jul 2007 08:05:19 +0200
Zbigniew Szalbot [EMAIL PROTECTED] wrote:

 And what about samba? I just realized I will need to alter sama
 configuration becasue current /usr/home is available as a network share.
 Thank you once again

don't kill /usr/home  :) symlink back to it, or just mount the new drive in it 
- nothing wrong with having a disk mounted in a mount point which is part of 
the filesystem of another disk - as long as they are mounted in the right order 
during the boot process (eg, i wouldnt put /var/ under /usr/ , for 
example... )

_
{Beto|Norberto|Numard} Meijome

Imagination is more important than knowledge.
  Albert Einstein, On Science

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Remote Desktop tool for FreeBSD

2007-07-18 Thread simon butsana
Hi,
   
  Does anyone know of a remote X client that can be used to establish a remote 
X session with a FreeBSD box. 
  As an example, I would greatly like to test a tool with features similar to 
Microsoft's Remote Desktop.
   
  Thanks,
   
  Simon

Roger Olofsson [EMAIL PROTECTED] a écrit :
  

Steve Franks skrev:
 I just had this problem this week - drives are fine until you access
 one and then disappears.
 
 Checked my bios monitor page and 12V was only 11.8V. Changing from a
 300W to a 500W power supply magically fixed the problem...
 
 I don't claim that this is necessarily your problem, but it caught me
 off-guard and it's worth looking at.
 
 Steve
 
 On 7/16/07, Roger Olofsson wrote:
 Dear mailing list,

 I have 2 IBM HDs and one WD HD (ata) in an old pc and for some reason
 FBSD 6.2 can't find the IBMs on a warm-boot. Cold-boot is fine and, the
 WD is fine.

 The motherboard is an old Aopen AX34 and all settings are default except
 for ACPI that's off.

 The first thought that came to mind was that one of the IBMs are going
 bad, but, I find it very unlikely that both HDs are doing it. One is a
 120 and one is an 80gigger but both 'vanish' on warm-boot.

 Some other setting in bios than ACPI?

 Grateful for any answer,

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

 
 

Thank you for your answer. I'll check the PSU and if necessary replace it.

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



Simon-Pierre Butsana
  [EMAIL PROTECTED]
   
  I do not fear computers. I fear the lack of them.  —Isaac Asimov 
   

   
-
 Découvrez le blog Yahoo! Mail : dernières nouveautés, astuces, conseils.. et 
vos réactions !
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: moving /home to new drive

2007-07-18 Thread Zbigniew Szalbot

Hello,

 don't kill /usr/home  :) symlink back to it, or just mount the new drive
 in it - nothing wrong with having a disk mounted in a mount point which
is
 part of the filesystem of another disk - as long as they are mounted in
the
 right order during the boot process (eg, i wouldnt put /var/ under
 /usr/ , for example... )

OK. So the procedure could be as follows (?):

1. mv -R /usr/home /usr/home-old
2. rm /home (deleting the symlink)
3. mount /dev/ad3s1c /usr/home
4. cp -pR /usr/home-old/ /usr/home/
5. ln -s /home /usr/home

Is the procedure OK?

One last question - what about fstab file? I guess I need to edit it so
that next time while booting the system, it will mount the new drive as
/usr/home?

Thank you very much!

-- 
Zbigniew Szalbot

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


Re: Remote Desktop tool for FreeBSD

2007-07-18 Thread Garrett Cooper

simon butsana wrote:

Hi,
   
  Does anyone know of a remote X client that can be used to establish a remote X session with a FreeBSD box. 
  As an example, I would greatly like to test a tool with features similar to Microsoft's Remote Desktop.
   
  Thanks,
   
  Simon


Roger Olofsson [EMAIL PROTECTED] a écrit :
  


Steve Franks skrev:
  

I just had this problem this week - drives are fine until you access
one and then disappears.

Checked my bios monitor page and 12V was only 11.8V. Changing from a
300W to a 500W power supply magically fixed the problem...

I don't claim that this is necessarily your problem, but it caught me
off-guard and it's worth looking at.

Steve

On 7/16/07, Roger Olofsson wrote:


Dear mailing list,

I have 2 IBM HDs and one WD HD (ata) in an old pc and for some reason
FBSD 6.2 can't find the IBMs on a warm-boot. Cold-boot is fine and, the
WD is fine.

The motherboard is an old Aopen AX34 and all settings are default except
for ACPI that's off.

The first thought that came to mind was that one of the IBMs are going
bad, but, I find it very unlikely that both HDs are doing it. One is a
120 and one is an 80gigger but both 'vanish' on warm-boot.

Some other setting in bios than ACPI?

Grateful for any answer,

/Roger


   Don't hijack other's threads. It's not polite.
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: moving /home to new drive

2007-07-18 Thread Garrett Cooper

Zbigniew Szalbot wrote:

Hello,

  

don't kill /usr/home  :) symlink back to it, or just mount the new drive
in it - nothing wrong with having a disk mounted in a mount point which


is
  

part of the filesystem of another disk - as long as they are mounted in


the
  

right order during the boot process (eg, i wouldnt put /var/ under
/usr/ , for example... )



OK. So the procedure could be as follows (?):

1. mv -R /usr/home /usr/home-old
2. rm /home (deleting the symlink)
3. mount /dev/ad3s1c /usr/home
4. cp -pR /usr/home-old/ /usr/home/
5. ln -s /home /usr/home

Is the procedure OK?

One last question - what about fstab file? I guess I need to edit it so
that next time while booting the system, it will mount the new drive as
/usr/home?

Thank you very much!

  


   Try this instead:

1. mount /dev/ad3s1c /usr/home-new
2. cp -pR /usr/home/* /usr/home/.* /usr/home-new
3. umount /dev/ad3s1c
4. rm -Rf /usr/home/* /usr/home/.*
5. mount /dev/ad3s1c /usr/home

   Don't forget to add /dev/ad3s1c to fstab later on.
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE : Re: Remote Desktop tool for FreeBSD

2007-07-18 Thread simon butsana
Hi Garett,
   
  I apologize if you saw that as an offense. I never intended to hijack 
anyone's thread, and you will probably notice that I changed the subject 
(although I missed to remove the email body).
   
  Kind regards,
   
  Simon 

Garrett Cooper [EMAIL PROTECTED] a écrit :
  simon butsana wrote:
 Hi,
 
 Does anyone know of a remote X client that can be used to establish a remote 
 X session with a FreeBSD box. 
 As an example, I would greatly like to test a tool with features similar to 
 Microsoft's Remote Desktop.
 
 Thanks,
 
 Simon

 Roger Olofsson a écrit :
 

 Steve Franks skrev:
 
 I just had this problem this week - drives are fine until you access
 one and then disappears.

 Checked my bios monitor page and 12V was only 11.8V. Changing from a
 300W to a 500W power supply magically fixed the problem...

 I don't claim that this is necessarily your problem, but it caught me
 off-guard and it's worth looking at.

 Steve

 On 7/16/07, Roger Olofsson wrote:
 
 Dear mailing list,

 I have 2 IBM HDs and one WD HD (ata) in an old pc and for some reason
 FBSD 6.2 can't find the IBMs on a warm-boot. Cold-boot is fine and, the
 WD is fine.

 The motherboard is an old Aopen AX34 and all settings are default except
 for ACPI that's off.

 The first thought that came to mind was that one of the IBMs are going
 bad, but, I find it very unlikely that both HDs are doing it. One is a
 120 and one is an 80gigger but both 'vanish' on warm-boot.

 Some other setting in bios than ACPI?

 Grateful for any answer,

 /Roger

Don't hijack other's threads. It's not polite.
-Garrett



Simon-Pierre Butsana
  [EMAIL PROTECTED]
   
  I do not fear computers. I fear the lack of them.  —Isaac Asimov 
   

   
-
 Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Strange df output, including non-mounts

2007-07-18 Thread Robin Vleij

Hi guys,

In the daily run output, the disk status always starts to look a bit 
strange on one of my machines. I think this starts after about three 
weeks of uptime.


It never seems to cause any serious problems, but today I decided to 
find out why this happens. :) I couldn't find any answers on Google (or 
the list archives, which search function seems to be broken).


df (both in the daily run and manual df -hi) starts showing mountpoints 
that are not mountpoints. Like var/spool and usr/local. Why these 
suddenly show up in the df output I'd like to know... :)


The output looks like this:

Disk status:
df: libexec stats possibly stale
df: lib stats possibly stale
df: usr/lib stats possibly stale
df: usr/sbin stats possibly stale
df: usr/share stats possibly stale
df: usr/bin stats possibly stale
df: usr/man stats possibly stale
df: usr/X11R6 stats possibly stale
df: usr/libexec stats possibly stale
df: usr/local/bin stats possibly stale
df: usr/local/lib stats possibly stale
df: var/spool stats possibly stale
df: var/lib stats possibly stale
df: var/run stats possibly stale
df: var/log stats possibly stale
df: jacco stats possibly stale
df: tmp stats possibly stale
df: dev stats possibly stale
df: bin stats possibly stale
df: proc stats possibly stale
Filesystem 1K-blocks Used Avail Capacity  Mounted on
/dev/da0s1a   5076307953238748817%/
devfs  11 0   100%/dev
/dev/da0s1d   5076305877040825013%/tmp
/dev/da0s1f 13694960  5729928   686943645%/usr
/dev/da0s1e  1506190  124450014119690%/var_local
devfs  11 0   100%/var/named/dev
procfs 44 0   100%/proc
/libexec  5076307953238748817%libexec
/lib  5076307953238748817%lib
/usr/lib13694960  5729862   686950245%usr/lib
/usr/sbin   13694960  5729862   686950245%usr/sbin
/usr/share  13694960  5729862   686950245%usr/share
/usr/bin13694960  5729862   686950245%usr/bin
/usr/man13694960  5729862   686950245%usr/man
/usr/X11R6  13694960  5729862   686950245%usr/X11R6
/usr/libexec13694960  5729862   686950245%usr/libexec
/usr/local/bin  13694960  5729862   686950245%usr/local/bin
/usr/local/lib  13694960  5729862   686950245%usr/local/lib
/var/spool  83886080  3969332  79916748 5%var/spool
/var/lib83886080  3969332  79916748 5%var/lib
/var/run83886080  3969332  79916748 5%var/run
/var/log83886080  3969332  79916748 5%var/log
/home/jail251658240 41213716 21044452416% jail
/tmp  50763030598436422 7%tmp
/dev   11 0   100%dev
/bin  5076307953238748817%bin
/proc  44 0   100%proc

Anyone seen this or has any ideas?

I'm thinking maybe some threshold is reached which makes those points 
show up (inode free% or something else). But I can't seem to find any 
info on that in the manpages for df or the handbook.


--
F/X Services
Managed Hosting
http://www.fx-services.com | http://www.fxs.se
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: RE : Re: Remote Desktop tool for FreeBSD

2007-07-18 Thread Chad Perrin
On Wed, Jul 18, 2007 at 11:06:01AM +0200, simon butsana wrote:
 Hi Garett,

   I apologize if you saw that as an offense. I never intended to hijack 
 anyone's thread, and you will probably notice that I changed the subject 
 (although I missed to remove the email body).


The key problem in this case seems to be that, rather than creating an
email from scratch with the freebsd-questions address as the recipient,
you hit reply.  Emails actually kinda keep track of whether they're in
response to other emails, ane which emails those are.  Many of us use
mail clients that make use of that to enhance our ability to deal with
email efficiently, and when you hit reply when you're starting a whole
new discussion topic you end up with your email being slotted into a
thread dedicated to a different topic.  As such, you end up hijacking
a thread.  Rule of thumb: Unless you're actually replying to something
someone else said, don't use the reply button in your email client.

As for your question: read up on X forwarding with the ssh tool.  If
you need further help beyond that, *please* start a new thread and ask
there.  I'll try to keep an eye out for such a thread so I can reply if I
have some help to offer.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Baltasar Gracian: A wise man gets more from his enemies than a fool from
his friends.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ipnat + mysql replication

2007-07-18 Thread John Fitzgerald

Hi,

I have 4 FreeBSD servers in one location. A firewall/nat load balances
between two web servers which hits a database server for content (also
behind firewall/nat). The database server replicates from a remote
location (outgoing connection), where the admin interface resides
(different facility). The problem I'm having is that it's a fairly
well-trafficked site. The ipnat entries table fills up quickly (30,000
I think is the max), and so I have to ipnat -F fairly often (every 5
minutes or so). The problem with this is that it kills any outgoing
connections (like my mysql replication). Is there a way I can set the
expiration for ipnat table entries, or setup mysql replication rules
in ipnat.conf that will be ignored when ipnat -F is issued?

Thanks,

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


Re: ipnat + mysql replication

2007-07-18 Thread Olivier Nicole
 I have 4 FreeBSD servers in one location. A firewall/nat load balances
 between two web servers which hits a database server for content (also
 behind firewall/nat). The database server replicates from a remote
 location (outgoing connection), where the admin interface resides
 (different facility). The problem I'm having is that it's a fairly
 well-trafficked site. The ipnat entries table fills up quickly (30,000
 I think is the max), and so I have to ipnat -F fairly often (every 5
 minutes or so). The problem with this is that it kills any outgoing
 connections (like my mysql replication). Is there a way I can set the
 expiration for ipnat table entries, or setup mysql replication rules
 in ipnat.conf that will be ignored when ipnat -F is issued?

rdr has and age option to define a different time out, the redirection
for load ballencing could have a very short time out, causing your
ipnat entries to exprire quickly.

Just a guess, I never used it, but seen it from the manual.

Another, more heavy solution, but maybe more robust, would be to have
dual NIC in your mysql server and add a second firewall/nat.
The mysql replication going through the second NIC and firewall.

Bests,

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


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

2007-07-18 Thread Feargal Reilly
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.


-- 
Feargal Reilly, Chief Techie, FBI.
PGP Key: 0xBD252C01 (expires: 2006-11-30)
Web: http://www.fbi.ie/ | Tel: +353.14988588 | Fax: +353.14988489
Communications House, 11 Sallymount Avenue, Ranelagh, Dublin 6.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Disklabel, partition d is usable or not ?

2007-07-18 Thread Gabriel Linder

Hi,

This may sound as a dumb question, but during my 6.2-RELEASE (i386) 
setup I notice the following in the handbook :
 Remember [...] that partitions b, c, and d have conventional meanings 
that you should adhere to.


But the partition d is used by sysinstall (with both automatic defaults 
and manual setup), maybe this entry should be fixed if d has no more 
special meaning ?


Please note that this is the first time I use FreeBSD and this 
mailing-list :-)

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


freebsd-update question

2007-07-18 Thread n j

Hello,

while updating my FreeBSD box, freebsd-update reported:

Looking up update.FreeBSD.org mirrors... 1 mirrors found.
Fetching metadata signature from update1.FreeBSD.org... done.
...
No updates needed to update system to 6.2-RELEASE-p6.

However, uname -a reveals:

FreeBSD my.hostname.here 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Thu
Apr 26 17:55:55 UTC 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386

which suggests that my system is still running 6.2-RELEASE-p4, not
6.2-RELEASE-p6 that I guess it should be running. The box was rebooted
a couple of times, but still reports the same.

My question: am I reading something wrong here or is there a problem
with freebsd-update? More specifically, is the problem that the system
is running SMP?

Thanks for any input!

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


Re: cron job every 5 hours

2007-07-18 Thread RW
On Tue, 17 Jul 2007 21:53:22 -0700
Garrett Cooper [EMAIL PROTECTED] wrote:

 Shell scripts with sleep won't give you exactly the 5 hours you 
 desire, but should come close (within 1-5 seconds of actual time 
 depending on your host PC's precision, and whether or not your RTC 
 battery is dead ;)..).

I don't think the RTC battery being dead would affect sleep times. 5
hours in 1970 (or whenever) are the the same length as 5 hours now.

If you want to anything more complex than can be achieved with cron,
it's probably better to install one of the cron replacement ports,
such as fcron. I don't see any reason why one of these couldn't run
in parallel with the existing cron, or you can turn-off cron in rc.conf.

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


Re: Disklabel, partition d is usable or not ?

2007-07-18 Thread Roland Smith
On Wed, Jul 18, 2007 at 12:44:02PM +0200, Gabriel Linder wrote:
 Hi,
 
 This may sound as a dumb question, but during my 6.2-RELEASE (i386) setup I 
 notice the following in the handbook :
  Remember [...] that partitions b, c, and d have conventional meanings 
 that you should adhere to.
 
 But the partition d is used by sysinstall (with both automatic defaults and 
 manual setup), maybe this entry should be fixed if d has no more special 
 meaning ?

I think you're right. The 'b' partition is usually used for swap space,
while the 'c' partition represents the whole disk. The 'd' partition can
be used normally, AFAIK. Additionally, only the 'a' partition can be
booted from, IIRC.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgptQUAQi7KXD.pgp
Description: PGP signature


Re: freebsd-update question

2007-07-18 Thread Roland Smith
On Wed, Jul 18, 2007 at 01:46:51PM +0200, n j wrote:
 Hello,
 
 while updating my FreeBSD box, freebsd-update reported:
 
 Looking up update.FreeBSD.org mirrors... 1 mirrors found.
 Fetching metadata signature from update1.FreeBSD.org... done.
 ...
 No updates needed to update system to 6.2-RELEASE-p6.
 
 However, uname -a reveals:
 
 FreeBSD my.hostname.here 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Thu
 Apr 26 17:55:55 UTC 2007
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386
 
 which suggests that my system is still running 6.2-RELEASE-p4, not
 6.2-RELEASE-p6 that I guess it should be running. The box was rebooted
 a couple of times, but still reports the same.
 
 My question: am I reading something wrong here or is there a problem
 with freebsd-update? More specifically, is the problem that the system
 is running SMP?

The cause for this confusion is the fact that patches 5 and 6 were for a
userland utility (file) and a library (libarchive), not for the kernel.

So for these patches, the kernel (which contains the release-level
string) isn't rebuilt and so it isn't updated. 

The only ways to fix this are:

1) change the update mechanism to update the kernel(s) version string
2) rebuild the kernel locally.

Whether 1 is appropriate is up to the maintainer, I guess. You could
submit a problem report about it with the send-pr tool.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpppJlWFA7D7.pgp
Description: PGP signature


Re: RE : Re: Remote Desktop tool for FreeBSD

2007-07-18 Thread Mario Augusto Mania

VNC

2007/7/18, Chad Perrin [EMAIL PROTECTED]:

On Wed, Jul 18, 2007 at 11:06:01AM +0200, simon butsana wrote:
 Hi Garett,

   I apologize if you saw that as an offense. I never intended to hijack 
anyone's thread, and you will probably notice that I changed the subject (although 
I missed to remove the email body).


The key problem in this case seems to be that, rather than creating an
email from scratch with the freebsd-questions address as the recipient,
you hit reply.  Emails actually kinda keep track of whether they're in
response to other emails, ane which emails those are.  Many of us use
mail clients that make use of that to enhance our ability to deal with
email efficiently, and when you hit reply when you're starting a whole
new discussion topic you end up with your email being slotted into a
thread dedicated to a different topic.  As such, you end up hijacking
a thread.  Rule of thumb: Unless you're actually replying to something
someone else said, don't use the reply button in your email client.

As for your question: read up on X forwarding with the ssh tool.  If
you need further help beyond that, *please* start a new thread and ask
there.  I'll try to keep an eye out for such a thread so I can reply if I
have some help to offer.

--
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Baltasar Gracian: A wise man gets more from his enemies than a fool from
his friends.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




--
Atenciosmente

Mario Augusto Mania m3BSD
---
[EMAIL PROTECTED]
Cel.: (43) 9938-9629
Msn: [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Upgrading SpamAssassin 3.1.6 - 3.2.1

2007-07-18 Thread Alex Pietjouw
Hey all,
 
I'm running a FreeBSD 6.2-Release machine with sendmail, clamav and 
SpamAssassin 3.1.6 which is working great.
I've recently updated my ports collection with CVS and pkg_version told me 
that there's a new SpamAssassin version available in the ports.
(Weird thing btw, the portversion command tells me there is no need to 
upgrade!)
Anyway, is it safe to use portupgrade on the p5-Mail-SpamAssassin port? Did 
anyone already do this and did they ecnounter any problems?
It's pretty vital that my server keeps running!
 
Cheerz!
 
-aLex Pietjouw




-
Formex ICT
Moordrecht
KvK: 24337303

De informatie, die deze e-mail en de daaraan gekoppelde bestanden bevat, is 
vertrouwelijk en kan wettelijk beschermd zijn. De informatie is alleen bestemd 
voor de persoon of de organisatie waaraan deze informatie is gericht. In geval 
u niet de gerechtigde ontvanger bent, dan wijs ik u erop dat het openen, 
kopieren, distribueren of handelen in relatie tot de inhoud van deze e-mail en 
de daaraan gekoppelde bestanden niet toegestaan is en mogelijk strafbaar kan 
zijn.
Formex ICT is niet aansprakelijk voor onjuiste en onvolledige overdracht van de 
inhoud van de e-mail en de daaraan gekoppelde bestanden, noch is Formex ICT 
aansprakelijk voor enige vertraging in de verzending.
In geval u (bij vergissing) een e-mail ontvangt, welke niet voor u is bestemd, 
neemt u dan direct contact op met Formex ICT en vermeld daarbij de afzender en 
het e-mail adres. Verwijder de e-mail daarna onmiddellijk. Wees u er van bewust 
dat Formex ICT niet aansprakelijk is voor virussen. Het is uw eigen 
verantwoordelijkheid de e-mail en de daaraan gekoppelde bestanden te 
controleren op virussen. Op basis van communicatie via de e-mail kunnen nooit 
namens Formex ICT contracten geacht worden te zijn gesloten.
-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Upgrading SpamAssassin 3.1.6 - 3.2.1

2007-07-18 Thread Robert Huff

Alex Pietjouw writes:

  I'm running a FreeBSD 6.2-Release machine with sendmail, clamav
  and SpamAssassin 3.1.6 which is working great.

I'm running a similar setup on a -CURRENT machine with no
problems.


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


Re: Upgrading SpamAssassin 3.1.6 - 3.2.1

2007-07-18 Thread Peter Boosten

Alex Pietjouw wrote:
 Hey all,
  
 I'm running a FreeBSD 6.2-Release machine with sendmail, clamav and 
 SpamAssassin 3.1.6 which is working great.
 I've recently updated my ports collection with CVS and pkg_version told me 
 that there's a new SpamAssassin version available in the ports.
 (Weird thing btw, the portversion command tells me there is no need to 
 upgrade!)
 Anyway, is it safe to use portupgrade on the p5-Mail-SpamAssassin port? 
 Did anyone already do this and did they ecnounter any problems?
 It's pretty vital that my server keeps running!
  

Did you update your INDEX-6 as well when updating the ports tree?

from /usr/ports
#make fetchindex

My spamassassin was upgraded to 3.2.1  ages ago...

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


creating ftp users!

2007-07-18 Thread Gollapati, Kishore (GE Indust, ES Europe, consultant)
Hi 

I am using windows 2003 server. I want to limiting ftp users to their 
respective home dir. i have seen your reply 

You can do this simply by creating a file /etc/ftpchroot and putting all the 
usernames in there. 

Can you please tell more on this

Regards
Kishore

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


Re: creating ftp users!

2007-07-18 Thread Schiz0

On 7/18/07, Gollapati, Kishore (GE Indust, ES Europe, consultant)
[EMAIL PROTECTED] wrote:

Hi

I am using windows 2003 server. I want to limiting ftp users to their 
respective home dir. i have seen your reply

You can do this simply by creating a file /etc/ftpchroot and putting all the 
usernames in there. 

Can you please tell more on this

Regards
Kishore

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



Wait a second...you want to know how to add FTP users to a Windows 2003 Server?

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


Re: creating ftp users!

2007-07-18 Thread Olivier Nicole
 I am using windows 2003 server. I want to limiting ftp users to
 their respective home dir. i have seen your reply
 
 You can do this simply by creating a file /etc/ftpchroot and
 putting all the usernames in there. 

Chroot is a Unix thing, no way you can apply to Windaube.

That said, chroot is a way to run an application, like ftp, so that it
changes the root of the disk hierarchyL once you have chroot'ed to
some point in the directory tree, you cannot see what is above this
point, there is no way to come back, no cd .., tit is like the new
directory tree starts at the chroot'ed point. So if you chroot at the
user home dir, the user can only see his one directory.

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


Re: creating ftp users!

2007-07-18 Thread Andrew Gould
 - Original Message 
 From: Gollapati, Kishore (GE Indust, ES Europe, consultant) [EMAIL 
 PROTECTED]
 To: freebsd-questions@freebsd.org
 Sent: Wednesday, July 18, 2007 7:22:43 AM
 Subject: creating ftp users!
 
 Hi 
 
 I am using windows 2003 server. I want to limiting ftp users to their 
 respective home dir. i have seen your reply 
 
 You can do this simply by creating a file /etc/ftpchroot and putting all the 
 usernames in there. 
 
 Can you please tell more on this
 
 Regards
 Kishore
 _

Step 1.  Replace the operating system on the server (Windows Server 2003) with 
FreeBSD 6.2.
 During the installation, select the option to activate inetd and 
uncomment the ftp line
 in /etc/inetd.conf.


Step 2.  Login as root and create your users using the command 'adduser'.

Step 3.  Using a text editor, such as vi, create the file /etc/ftpchroot and 
add each user name on

its own line.

Best of luck,

Andrew L. Gould



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


Test Mail

2007-07-18 Thread prasanna . arasu


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


Re: RE : Re: Remote Desktop tool for FreeBSD

2007-07-18 Thread A.Rymkus
Hi, simon.

You wrote at 18 июля 2007 г., 13:06:01:

[skipped]

   You have to use TightVNC port, it's located in /usr/ports/net/tightvnc/

-- 
WBR, A.Rymkus

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


Re: moving /home to new drive

2007-07-18 Thread Jerry McAllister

 
 Hello,
 
 I have just installed an additional drive to my FreeBSD 6.2-RELEASE-p6
 machine. I'd like to use this drive exclusively for /home.
 
 Currently /home is a link to /usr/home. Can I just mount (haven't done it
 yet) the new drive with the mount point /home then delete the symlink (?)
 and move the files from /usr/home to /home? Or do I need to delete the
 symlink first and only then try to mount the new drive as /home?

You should remove the symlink first, otherwise the mount will go
over it and then you won't be able to rm it and later it will
still exist if the mount is not made and you will see again the
old stuff.

 
 Can it break something? Is the procudure safe? Thank you in advance!
 

Well, I wonder what you might have in the old /home  (/usr/home)
that you want to keep.   You will need to move this stuff to
the new /home some way.  Since the old one is not a file system
unto itself, you will not be about to use dump (well you could
in a certain way, but) so, probably you will want to use tar with a -P.

jerry

 -- 
 Zbigniew Szalbot
 
 ___
 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: Upgrading SpamAssassin 3.1.6 - 3.2.1

2007-07-18 Thread Alex Pietjouw
 Peter Boosten [EMAIL PROTECTED] Wednesday 18 July 2007 14:51:24 

Alex Pietjouw wrote:
 Hey all,
  
 I'm running a FreeBSD 6.2-Release machine with sendmail, clamav and 
 SpamAssassin 3.1.6 which is working great.
 I've recently updated my ports collection with CVS and pkg_version told me 
 that there's a new SpamAssassin version available in the ports.
 (Weird thing btw, the portversion command tells me there is no need to 
 upgrade!)
 Anyway, is it safe to use portupgrade on the p5-Mail-SpamAssassin port? 
 Did anyone already do this and did they ecnounter any problems?
 It's pretty vital that my server keeps running!
  

Did you update your INDEX-6 as well when updating the ports tree?

from /usr/ports
#make fetchindex
 
I just did this, and it fixes the inconsistency between pkg_version and 
portversion. Thanks for the tip!

My spamassassin was upgraded to 3.2.1  ages ago...
 
Ages huh? :-) 2007-06-11: SpamAssassin 3.2.1 and 3.1.9 released!

 
Cheerz!
 
-aLex Pietjouw.




-
Formex ICT
Moordrecht
KvK: 24337303

De informatie, die deze e-mail en de daaraan gekoppelde bestanden bevat, is 
vertrouwelijk en kan wettelijk beschermd zijn. De informatie is alleen bestemd 
voor de persoon of de organisatie waaraan deze informatie is gericht. In geval 
u niet de gerechtigde ontvanger bent, dan wijs ik u erop dat het openen, 
kopieren, distribueren of handelen in relatie tot de inhoud van deze e-mail en 
de daaraan gekoppelde bestanden niet toegestaan is en mogelijk strafbaar kan 
zijn.
Formex ICT is niet aansprakelijk voor onjuiste en onvolledige overdracht van de 
inhoud van de e-mail en de daaraan gekoppelde bestanden, noch is Formex ICT 
aansprakelijk voor enige vertraging in de verzending.
In geval u (bij vergissing) een e-mail ontvangt, welke niet voor u is bestemd, 
neemt u dan direct contact op met Formex ICT en vermeld daarbij de afzender en 
het e-mail adres. Verwijder de e-mail daarna onmiddellijk. Wees u er van bewust 
dat Formex ICT niet aansprakelijk is voor virussen. Het is uw eigen 
verantwoordelijkheid de e-mail en de daaraan gekoppelde bestanden te 
controleren op virussen. Op basis van communicatie via de e-mail kunnen nooit 
namens Formex ICT contracten geacht worden te zijn gesloten.
-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How do you backup an encrypted geli partition?

2007-07-18 Thread Neil Gruending

Hi there,

If I created an encrypted partition using geli, is it possible back it
up to another machine and still keep in encrypted? I want to use geli
for my subversion repository and then back it up to an offsite host
(hopefully using something like rsync).

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



Re: creating ftp users!

2007-07-18 Thread Zbigniew Szalbot

Hello,

  During the installation, select the option to activate inetd
 and uncomment the ftp line
  in /etc/inetd.conf.
 
 
 Step 2.  Login as root and create your users using the command 'adduser'.
 
 Step 3.  Using a text editor, such as vi, create the file /etc/ftpchroot
 and add each user name on

I hope I am not hijacking this thread but using this opportunity I would
like to ask if a similar thing could be applied to scp connections? 

BTW - contrary to the original poster I am using FreeBSD ;)

Thanks!

-- 
Zbigniew Szalbot

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


Re: creating ftp users!

2007-07-18 Thread Yuri Pankov
On Wed, Jul 18, 2007 at 05:30:23PM +0200, Zbigniew Szalbot wrote:
 
 Hello,
 
   During the installation, select the option to activate inetd
  and uncomment the ftp line
   in /etc/inetd.conf.
  
  
  Step 2.  Login as root and create your users using the command 'adduser'.
  
  Step 3.  Using a text editor, such as vi, create the file /etc/ftpchroot
  and add each user name on
 
 I hope I am not hijacking this thread but using this opportunity I would
 like to ask if a similar thing could be applied to scp connections? 
 
 BTW - contrary to the original poster I am using FreeBSD ;)
 
 Thanks!
 
 -- 
 Zbigniew Szalbot
 

Install shells/scponly with WITH_SCP_CHROOT defined, and follow
instructions given to you by pkg-message.


HTH,
Yuri


pgpWkrSKVm0Yy.pgp
Description: PGP signature


Re: freebsd-update question

2007-07-18 Thread n j

The cause for this confusion is the fact that patches 5 and 6 were for a
userland utility (file) and a library (libarchive), not for the kernel.
So for these patches, the kernel (which contains the release-level
string) isn't rebuilt and so it isn't updated.

1) change the update mechanism to update the kernel(s) version string


Roland,

thank you very much for the information.

Digging a little deeper, I discovered two sysctl variables that
contain this information:

kern.osrelease: 6.2-RELEASE-p4
kern.version: FreeBSD 6.2-RELEASE-p4 #0: Thu Apr 26 17:40:53 UTC 2007

And the sysctl(8) man page reveals:

Name  TypeChangeable
kern.osrelease stringno
kern.version stringno

meaning that it is probably impossible to change these values without
indeed recompiling the kernel.

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


Re: Can't do an make installworld

2007-07-18 Thread Paul Hoffman

At 4:12 PM +1200 7/18/07, Jonathan Chen wrote:

On Tue, Jul 17, 2007 at 03:49:02PM -0700, Paul Hoffman wrote:

 At 5:38 PM -0500 7/17/07, Shaun Meyer wrote:
 On Tue, July 17, 2007 4:14 pm, Paul Hoffman wrote:
  Any help would be appreciated here. I'm on a clean 6.1-RELEASE sysem.
  I created /home/pxe. I cd'd to /usr/src. I gave 'make installworld
  DESTDIR=/home/pxe'. It ends with:
  . . .
 
 
 Worked fine on my 6.2 just now.

 Interestingly, after I sent this, I tried it on a 6.0 system, and had
 the same problem (with fewer files):

 --
  Installing everything
 --
 cd /usr/src; make -f Makefile.inc1 install
 === share/info (install)
 === include (install)
 creating osreldate.h from newvers.sh
 touch: not found
 *** Error code 127


This is commonly caused by a bad date. Check the system time.


That doesn't seem to be it. The system time is fine, and none of the 
files in /usr/src/include have funny times (either in the future or 
near 1970).


Any other clues? Does 'make installworld DESTDIR=/home/something' 
work for other people running 6.1-RELEASE?

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


Invalid or unrecognized AC97 codec in Creative/Ensoniq CT5880 sound

2007-07-18 Thread Thomas Mueller
I have a problem with onboard sound on a Gigabyte GA-7DXR motherboard, am
trying to determine if the fault is with the software drivers, or if the
AC97 codec is really dead or not there.  I have Linux (Slackware 11.0)
installed, also FreeBSD 6.2, have also made and run live CDs for NetBSD 2007
(v4 beta), Mepis (Linux), OliveBSD (based on OpenBSD), and the DOSDRV on the
CD also doesn't work (no specific messages there).  I  have never had any
sound at all with this motherboard/sound card and am getting ready to buy an
add-on PCI sound card (or USB?).  CPU is AMD Athlon 1400 MHz, I have 40 GB 
Western Digital hard drive.  Other installed OS, besides Linux and FreeBSD,
is DR-DOS 7.03.  I have a logical partition where I could install a 180-day
evaluation version of MS-Windows Server 2003 from a CD that I received in the
mail unsolicited, or could install NetBSD 3.1.  I show the pertinent portions 
of the dmesg files, or /var/log/syslog in the case of Slackware.

Following is from FreeBSD 6.2 installation dmesg:

pcm0: Creative CT5880-D port 0xd400-0xd43f irq 10 at device 14.0 on pci0
pcm0: AC97 reset timed out.
pcm0: ac97 codec invalid or not present (id == 0)
device_attach: pcm0 attach returned 6

Following is from NetBSD 2007 live CD dmesg:

eap0: interrupting at irq 10
eap0: ac97: unknown (0x) codec; no 3D stereo
audio0 at eap0: full duplex, mmap, independent
midi0 at eap0: AudioPCI MIDI UART
puc0 at pci0 dev 15 function 0: US Robotics (3Com) 3CP5609 PCI 16550 Modem (com)

Following is from OliveBSD live CD:

eap0 at pci0 dev 14 function 0 Ensoniq CT5880 rev 0x03: irq 10
eap0: eap1371_read_codec timeout 2
ac97: codec id not read
audio0 at eap0
midi0 at eap0: AudioPCI MIDI UART

Following is from Mepis (Linux) live CD:

[17179612.82] ALSA /usr/src/modules/alsa-driver/pci/ac97/ac97_codec.c:2060: 
AC'97 0 access is not valid [0x0], removing mixer.
[17179612.836000] ACPI: PCI interrupt for device :00:0e.0 disabled
[17179612.836000] ENS1371: probe of :00:0e.0 failed with error -5
[17179613.10] fuse init (API version 7.8)

With Slackware (Linux) installation, nothing about sound card showed in 
dmesg, but the info showed in /var/log/syslog:

Jul 16 08:55:33 darkstar kernel: ALSA ac97_codec.c:1919: AC'97 0 access is not 
valid [0x0], removing mixer.
Jul 16 08:55:33 darkstar insmod: 
/lib/modules/2.4.33.3/kernel/sound/pci/snd-ens1371.o.gz: init_module: No such 
device
Jul 16 08:55:33 darkstar insmod: 
/lib/modules/2.4.33.3/kernel/sound/pci/snd-ens1371.o.gz: Hint: insmod errors 
can be caused by incorrect module parameters, including invalid IO or IRQ 
parameters.   You may find more information in syslog or the output from 
dmesg
Jul 16 08:55:33 darkstar insmod: 
/lib/modules/2.4.33.3/kernel/sound/pci/snd-ens1371.o.gz: insmod snd-ens1371 
failed

and these lines were repeated many times, as if once weren't enough.

Should I just go ahead and buy a PCI sound card, or is there any sense in
making any further attempts with Linux, NetBSD, FreeBSD, or the 180-day
evaluation version of Windows Server 2003?  I feel like I'm just beating a
dead horse, or dead sound chip/AC97 codec.

Tom

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


Re: moving /home to new drive

2007-07-18 Thread Jerry McAllister
On Wed, Jul 18, 2007 at 11:03:04AM -0400, Jerry McAllister wrote:

 
  
  Hello,
  
  I have just installed an additional drive to my FreeBSD 6.2-RELEASE-p6
  machine. I'd like to use this drive exclusively for /home.
  
  Currently /home is a link to /usr/home. Can I just mount (haven't done it
  yet) the new drive with the mount point /home then delete the symlink (?)
  and move the files from /usr/home to /home? Or do I need to delete the
  symlink first and only then try to mount the new drive as /home?
 
 You should remove the symlink first, otherwise the mount will go
 over it and then you won't be able to rm it and later it will
 still exist if the mount is not made and you will see again the
 old stuff.

Sorry, I just got off a 12 hour flight.   
The part that says you should remove the symlink first is correct.
The explanation applies to directories that become mount points
but not quite the same to symlinks.

Then, after you remove the symlink, you have to create a mountpoint
by doing a mkdir /home

jerry

 
  Can it break something? Is the procudure safe? Thank you in advance!
  

It is safe.  It won't break anything.   But, as mentioned, don't
forget to move your files and directories from /usr/home to the
new /home after you get it there.

jerry


 
 Well, I wonder what you might have in the old /home  (/usr/home)
 that you want to keep.   You will need to move this stuff to
 the new /home some way.  Since the old one is not a file system
 unto itself, you will not be about to use dump (well you could
 in a certain way, but) so, probably you will want to use tar with a -P.
 
 jerry
 
  -- 
  Zbigniew Szalbot
  
  ___
  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]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: RE : Re: Remote Desktop tool for FreeBSD

2007-07-18 Thread Garrett Cooper

simon butsana wrote:

Hi Garett,
 
I apologize if you saw that as an offense. I never intended to hijack 
anyone's thread, and you will probably notice that I changed the 
subject (although I missed to remove the email body).
 
Kind regards,
 
Simon 


*/Garrett Cooper [EMAIL PROTECTED]/* a écrit :

simon butsana wrote:
 Hi,

 Does anyone know of a remote X client that can be used to
establish a remote X session with a FreeBSD box.
 As an example, I would greatly like to test a tool with features
similar to Microsoft's Remote Desktop.

 Thanks,

 Simon

 Roger Olofsson a écrit :


 Steve Franks skrev:

 I just had this problem this week - drives are fine until you
access
 one and then disappears.

 Checked my bios monitor page and 12V was only 11.8V. Changing
from a
 300W to a 500W power supply magically fixed the problem...

 I don't claim that this is necessarily your problem, but it
caught me
 off-guard and it's worth looking at.

 Steve

 On 7/16/07, Roger Olofsson wrote:

 Dear mailing list,

 I have 2 IBM HDs and one WD HD (ata) in an old pc and for some
reason
 FBSD 6.2 can't find the IBMs on a warm-boot. Cold-boot is fine
and, the
 WD is fine.

 The motherboard is an old Aopen AX34 and all settings are
default except
 for ACPI that's off.

 The first thought that came to mind was that one of the IBMs
are going
 bad, but, I find it very unlikely that both HDs are doing it.
One is a
 120 and one is an 80gigger but both 'vanish' on warm-boot.

 Some other setting in bios than ACPI?

 Grateful for any answer,

 /Roger

Don't hijack other's threads. It's not polite.
-Garrett



   Sorry for putting it so bluntly but I was trying to get a message 
across.


   Hijacking others threads unfortunately results in 2 things happening:

1. Posters getting confused.
2. Mailman getting confused and continuing the existing thread of 
discussion off the original thread -- which is harder to navigate in the 
archives.


   As for remote access tools, look into nomachinex, X11 forwarding and 
VNC. There's a variety of discussion in the archives (last discussion on 
this topic was back in either April or May I think..).


   Cheers and best of luck,

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


Re: Shipping?

2007-07-18 Thread Prakash Poudyal

Thank you  {Beto|Norberto|Numard} Meijome
you know I had been gone through the handbook already, but I want to see the
magazines related to freebsd but could not found either. So you anybody know
about it please send to me.

Prakash

On 7/18/07, Norberto Meijome [EMAIL PROTECTED] wrote:


On Tue, 17 Jul 2007 23:29:50 +0545
Prakash Poudyal [EMAIL PROTECTED] wrote:

 Hi {Beto|Norberto|Numard} Meijome

 Can you send some document for me as well like for the johan kihahu. I
also
 wants to do some research in freebsd as well. So can you send the
document
 related to the freebsd  for me  would be much  more fruitful for me.

 Thank you
 Prakash
 From Nepal

Hi Prakash,
documentation is freely available on the internet - in particular the
FreeBSD
Handbook is available at
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html
but it is also available with the FreeBSD install CD

if you mean other than documentation, let me know and we'll see what we
can do.

B
_
{Beto|Norberto|Numard} Meijome

Everything is interesting if you go into it deeply enough
  Richard Feynman

I speak for myself, not my employer. Contents may be hot. Slippery when
wet.
Reading disclaimers makes you go blind. Writing them is worse. You have
been
Warned.


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


Re: How do you backup an encrypted geli partition?

2007-07-18 Thread RW
On Wed, 18 Jul 2007 08:02:53 -0700
Neil Gruending [EMAIL PROTECTED] wrote:

 Hi there,
 
 If I created an encrypted partition using geli, is it possible back it
 up to another machine and still keep in encrypted? I want to use geli
 for my subversion repository and then back it up to an offsite host
 (hopefully using something like rsync).

Short of taking a disk image, no. But once it's mounted it's no
different from any other partition, so there's nothing to stop you
rsynching to another encrypted partition or creating an encrypted
archive.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: moving /home to new drive

2007-07-18 Thread RW
On Wed, 18 Jul 2007 11:03:04 -0400
Jerry McAllister [EMAIL PROTECTED] wrote:

 Since the old one is not a file system
 unto itself, you will not be about to use dump (well you could
 in a certain way, but) so, probably you will want to use tar with a
 -P.

One problem with tar and cp is that they can't properly copy sparse
file like dump|restore can, so in certain cases data can blow-up in
size. 

cpio claims to be be able to recreate sparse files, but I found that
when I tried this on mlnet data, some of the download
percentage-complete figures dropped, suggesting it hadn't got it right.
___
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-CURRENT/Xorg 7.2: nv driver without OpenGL?

2007-07-18 Thread RW
On Tue, 17 Jul 2007 14:58:07 +
O. Hartmann [EMAIL PROTECTED] wrote:

 Hello List.
 I run into a problems after upgrading a box from FreeBSD
 6.2-STABLE/i386 with Xorg 7.2 to FreeBSD 7.0-CURRENT/i386 with Xorg
 7.2.
 
 Stellarium 0.8.2 as taken from the ports is frequently used by my 
 department to produce some scenic pictures and Stellarium ran quite
 well on my box on FreeBSD 6.2-STABLE and Xorg 7.2. After changing OS
 to FreeBSD 7.0-CURRENT/i386 and recompiling everything Stellarium
 quits working immediately after startup with this error message:
 
   ---
 [ This is Stellarium 0.8.2 - http://www.stellarium.org ]
 [ Copyright (C) 2000-2006 Fabien Chereau et al ]
   ---
 Warning: Couldn't set 1024x768 video mode (X11 driver not configured 
 with OpenGL), retrying with stencil size 0
 Error: Couldn't set 1024x768 video mode: X11 driver not configured
 with OpenGL!
 
 This happens with every resolution I try to start the application.
 
 I checked the nv-X-driver for my nVidia graphics board and realized
 it isn't built with OpebGL support anymore as it was/seemed to be 
 previously (Stellarium ran quite well prior to the OS change).

Are you sure that you were previously using the nv driver rather than
the nvidia driver?

AFAIK nv has never had any OpenGL support. x11/nvidia-driver is the
manufacturers own driver, with 3-d hardware support.
___
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-CURRENT/Xorg 7.2: nv driver without OpenGL?

2007-07-18 Thread O. Hartmann

RW wrote:

On Tue, 17 Jul 2007 14:58:07 +
O. Hartmann [EMAIL PROTECTED] wrote:

  

Hello List.
I run into a problems after upgrading a box from FreeBSD
6.2-STABLE/i386 with Xorg 7.2 to FreeBSD 7.0-CURRENT/i386 with Xorg
7.2.

Stellarium 0.8.2 as taken from the ports is frequently used by my 
department to produce some scenic pictures and Stellarium ran quite

well on my box on FreeBSD 6.2-STABLE and Xorg 7.2. After changing OS
to FreeBSD 7.0-CURRENT/i386 and recompiling everything Stellarium
quits working immediately after startup with this error message:

  ---
[ This is Stellarium 0.8.2 - http://www.stellarium.org ]
[ Copyright (C) 2000-2006 Fabien Chereau et al ]
  ---
Warning: Couldn't set 1024x768 video mode (X11 driver not configured 
with OpenGL), retrying with stencil size 0

Error: Couldn't set 1024x768 video mode: X11 driver not configured
with OpenGL!

This happens with every resolution I try to start the application.

I checked the nv-X-driver for my nVidia graphics board and realized
it isn't built with OpebGL support anymore as it was/seemed to be 
previously (Stellarium ran quite well prior to the OS change).



Are you sure that you were previously using the nv driver rather than
the nvidia driver?

AFAIK nv has never had any OpenGL support. x11/nvidia-driver is the
manufacturers own driver, with 3-d hardware support.
  


Hello.
I never used the nVidia BLOB, I was always with the open source driver. 
So, if nv never have had OpenGL support the error that occurs to me 
must be related to something else. But what?



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


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

2007-07-18 Thread Bazy
Oliver Peter wrote:
 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.

   

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?
I think through milter is the fastest solution, and if the milter
crashes, the mail won't just get scanned, but if a smtpd_proxy_filter
crashes, the mail will wait in queue and will not be delivered to dbmail.

# clamav-milter
smtpd_milters = unix:/var/run/clamav/clmilter.sock
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Firefox 2.0.0.4/Thunderbird 2.0.0.4 do not install on FreeBSD 7.0-CURRENT/amd64 UP

2007-07-18 Thread O. Hartmann

Manfred Antar wrote:

At 08:06 AM 7/17/2007, you wrote:
  

A week ago I did a buildworld and after rebooting I tried to start either Firefox 2.0.04 
and Thunderbird 2.0.0.4 as they are both standard applications of my daily work. Both 
applications did not start, via top(1) I recognized on both clients a STATE  
ucond.
Well, I thought this could be due to a newer kernel and userland so I simply recompiled both 
Firefox and Thunderbird - with no success. Both installation processes get stuck in 
=== Building chrome's registry ...  and never come back.

I do have two other boxes running FreeBSD 7.0-CURRENT, one i386 SMP and another 
amd64 SMP and on both neither Firefox 2.0.0.4 nor Thunderbird 2.0.0.4 show that 
weird 'ucond' STATE in top(). I never dared recompiling both applications so i 
can not say whether the problem is related to the one box (UP).

Does anyone have recognized this problem? How to fix it? Without having the specific 
port installed, how can I rebuild every dependency? If the port is already 
installed, someone simply need to type 'portupgrade -vrRf port, but is there 
any 'make' equivalent in the native ports-directory?

Regards,
Oliver



Hi I had the same problem on a i386 up machine.
I just tried it again and it worked.
I changed the config options:
cd /usr/ports/www/firefox
make config
I had  OPTIMIZED_CFLAGS checked and i changed that to unchecked and it built 
and installed fine.
Manfred
  


I regret, not to me ...
Tried to compile several stuff around with the OS native CFLAGS 
settings, but without success. If this means I need to recompile every 
port due to the problem I can't compile all firefox-relevant ports 
automaticaaly, this evolves towards a severe problem :-(


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


daily report

2007-07-18 Thread Jean-Paul Natola
Hi everyone,

Before rebuilding my 5.5 server  to the 6.2
I used to get daily reports emailed from the machine to me
security run output
daily run output

and on Saturday's 
a weekly run output
Cleaning up kernel database files:

Rebuilding locate database:

Rebuilding whatis database:

-- End of weekly output --


What / where do I need to enable to get this again?


Thanks


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


Re: daily report

2007-07-18 Thread Roland Smith
On Wed, Jul 18, 2007 at 02:21:25PM -0400, Jean-Paul Natola wrote:
 Hi everyone,
 
 Before rebuilding my 5.5 server  to the 6.2
 I used to get daily reports emailed from the machine to me
 security run output
 daily run output

 What / where do I need to enable to get this again?

You need to put the following in /etc/periodic.conf;

# Where to store/send output of periodic runs.
daily_output=yourusername
weekly_output=yourusername
monthly_output=yourusername
daily_status_security_inline=YES

Where 'yourusername' needs the obvious replacement.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgp9eCTcPdP88.pgp
Description: PGP signature


detection materielle probleme for new installation

2007-07-18 Thread Marezki
Good morning,
excuses my english is bad, but i must use it.
i want install freebsd. I have three partitions: 7, 48 and 97 gbytes. On
the first, windows server 2003 for learning server.
the second for my documents. The third is marqued unknown but i want use
it for BSD.
Cpu amd athlon64 3200, motherboard: asus A8 nvm csm, 2 hdd sata, 160 gb
each one, the first is hitashi the second is maxtor. memory 1.024 gb.
I have 3 cd(s) rom. 1: bootonly 386 version freebsd 6.1 the second is
bootonly but version 6.2 for amd 64 and the third is (cd1 et cd2)
complete iso for the 386 version 6.1.
When i launch the cd for installation, i am quested and choose
installation whit out ACPI, and have disabled Acpi on the bios.
The system runs and detect the material (peripherals etc...) but when it
arrive just before the end of material detection, it stops and i have this:
module_register_init: MOD_LOAD (amr_linux,0806205D0,0) error 6.
please help:
i dont know what is error 6, what is module_register_init. I dont know
what is the problem.

Thank you for your answer.
In french documentation, I dont find what i do to configure for example
a peripheral, how i must do.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: daily report

2007-07-18 Thread fbsd2
Its activated as part of the standard install and by default goes to root
account.
You can alias root to your private email address to get those reports sent
to you.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jean-Paul Natola
Sent: Wednesday, July 18, 2007 2:21 PM
To: [EMAIL PROTECTED]
Subject: daily report

Hi everyone,

Before rebuilding my 5.5 server  to the 6.2
I used to get daily reports emailed from the machine to me
security run output
daily run output

and on Saturday's
a weekly run output
Cleaning up kernel database files:

Rebuilding locate database:

Rebuilding whatis database:

-- End of weekly output --


What / where do I need to enable to get this again?


Thanks


Jean-Paul
___
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: detection materielle probleme for new installation

2007-07-18 Thread Eric Masson
Marezki [EMAIL PROTECTED] writes:

Hi,

 When i launch the cd for installation, i am quested and choose
 installation whit out ACPI, and have disabled Acpi on the bios.

You'd better enable acpi in the bios and try to boot with acpi module.

 i dont know what is error 6, what is module_register_init. I dont know
 what is the problem.

Seems there's a problem with amr.ko and amr_linux.ko (ami megaraid
driver)

Try to boot with acpi enabled, recent mainboards need it most of the
times.

-- 
 J'ai appris il y a deux heures par un journaliste que cybercable.faq n'était
 pas
 un newsgroup public. je commence à comprendre pourquoi personne n'est au
 courant de l'escroquerie que nous vivons actuellement.
 -+- DM in : GNU - Le quatrième pouvoir au secours du neuneu -+-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


4.11 p19 on a hosted web site

2007-07-18 Thread clubturbo

Hello Everyone.
I have a domain hosted on a vary large Visa CISP compliant host in the US of 
A.

Right now there software is
freebsd 4.11-release p19
mysql 4.0
php4
osCommerce 2.2 ms2.

I am wondering if this is something
i need to worry about intil thay get
up to speed on the above said software.

I know alot has changed the above software,
mainly the freebsd 4.11 to 6.2 jump.
but should i give a hoot about this as for
my online CC processing ?
Dont know where to post this
as it has taken me this long to ask here at all.


Thank you everyone 


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


Re: 4.11 p19 on a hosted web site

2007-07-18 Thread Roland Smith
On Wed, Jul 18, 2007 at 02:15:33PM -0700, [EMAIL PROTECTED] wrote:
 Hello Everyone.
 I have a domain hosted on a vary large Visa CISP compliant host in the US 
 of A.
 Right now there software is
 freebsd 4.11-release p19
 mysql 4.0
 php4
 osCommerce 2.2 ms2.
 
 I am wondering if this is something
 i need to worry about intil thay get
 up to speed on the above said software.

Both FreeBSD 4.x and php4 are not supported anymore. Bugs and
vulnerabilities in this software will not be fixed anymore. Mysql 4.0 is
also over four years old.

In short, you're running unmaintained and old software, which probably
has known bugs and vulnerabilities. 

I would worry.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpizBwNESiKl.pgp
Description: PGP signature


Re: Dual head video cards

2007-07-18 Thread dgmm
On Tuesday 17 July 2007, Josh Paetzel wrote:
 On Tuesday 17 July 2007, dgmm wrote:
  Are there any gotchas I should look out for when purchasing a
  dual head video card?
 
  I'm currently looking for a cheap NVidia card with both analogue
  and digital output to use my old 21 CRT and the new 19 LCD but,
  as usual, there's very little info other than for Windows in the
  write ups/reviews.
 
  I've never used dual head before so I'm concerned that some cards
  might share resources to the extent that they are windows only .
  Maybe I'm seeing potential problems that aren't there?
 
  Budget is tight so I don't want to screw up the purchase.  Cheap
  is word I'm looking for :-)

 You'll need to use the binary nvidia drivers, the open source nv
 driver doesn't support dual-head at all.  So you run in to a couple
 of gotchas there.  The first being that the nvidia drivers are i386
 only, they aren't available for AMD64, and the second is that
 twinview has a sort of odd behavior when you use different
 resolutions on each monitor.  It's hard to describe but the driver
 basically pretends that the resolutions are the same and then only
 draws what can be displayed of the smaller one, so there's desktop
 outside of the monitor that you can drag windows in to but obviously
 can't see.

 With regards to cards I've used the recent nvidia drivers and
 dual-head with everything from an fx5500 PCI card to 6200LE to 6600GT
 to 7200 cards.  I've used the legacy drivers with various 4x00ti
 cards.

 Here are links to cards I've personally used with dual head in the sub
 $50 range USD.

 pci-e
 http://www.newegg.com/Product/Product.aspx?Item=N82E16814121080

 agp
 http://www.newegg.com/Product/Product.aspx?Item=N82E16814127290

Thanks both to you and to Yuri for the quick and useful replies.  Not having 
looked at dual head before I was unaware that the open source driver didn't 
do it.  I'm sure I'd have found out eventually but you guys have saved me 
some head scratching time ;-)

Screen res will be 1280x1024 on both and I'm using an i386 system.

I'll probably end up with either a 6200 or maybe a 7600 if the budget will 
stretch.

Thanks again.

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


ClamAV Plugin and claws-mail-2.10.0_1

2007-07-18 Thread Gerard

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


I am unable to load the 'clamav plug-in' for claws-mail. Attempting to 
hangs the system. Using 'truss' I am presented with this error message 
when I attempt to load the plug-in:


Fatal error 'Thread is not system scope.
' at line 319 in file /usr/src/lib/libpthread/thread/thr_sig.c (errno = 0)

I have no idea what that means. Googling has not turned up a definitive 
answer. This is on a FreeBSD-6.2 system.


I can supply the full output of the log if anyone wants to look at it.

- -- 
Gerard

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFGnpPH6DWTaTcTwMkRAgtEAKCqqHBz3UEH2OZ+sgeeSXX28jJTPQCgqIcA
/gyqfOaA+HaikEB31ugAHW8=
=ZR6f
-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]


FreeBSD 6.2-STABLE apache 2.2.4 = bad performance. Help!

2007-07-18 Thread Michael Vaughn

Hello everyone,

I am contacting -performance, -questions, and -hackers in the hope someone
helps me troubleshoot a problem with FreeBSD 6.2 and apache 2.2.4


uname:
FreeBSD 6.2-STABLE Fri Jun 22 12:17:03 UTC 2007 amd64

installed php modules:
php5-5.2.3 PHP Scripting Language (Apache Module and CLI)
php5-gd-5.2.3 The gd shared extension for php
php5-mysql-5.2.3 The mysql shared extension for php
php5-pcre-5.2.3 The pcre shared extension for php
php5-session-5.2.3 The session shared extension for php
php5-simplexml-5.2.3 The simplexml shared extension for php
php5-tokenizer-5.2.3 The tokenizer shared extension for php
php5-xml-5.2.3 The xml shared extension for php

apache version:
apache-2.2.4_2 Version 2.2 of Apache web server with prefork MPM.


system:
real memory = 5100273664 (4864 MB)
avail memory = 4120178688 (3929 MB)

CPU: Intel(R) Xeon(TM) CPU 2.66GHz (2666.78-MHz K8-class CPU)
Logical CPUs per core: 2
FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs



The problem:

Right after starting apache, the loads on the server will climb to 10-40's
and the application will become unacceptably slow. This will go on until few
users are using the said application. (note: other servers running older
FreeBSD versions on dual cpus running the same code don't exhibit this
system% problem) top shows more than 60% of the CPU time is spent on system:

CPU states: 19.9% user, 0.0% nice, 73.7% system, 1.7% interrupt, 4.7% idle
Mem: 398M Active, 2226M Inact, 253M Wired, 202M Cache, 214M Buf, 567M Free

The apache processes look like:
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
56882 www 1 103 0 139M 17516K select 0 0:03 12.66% httpd
56862 www 1 100 0 139M 21168K CPU2 6 0:06 11.87% httpd
56830 www 1 99 0 138M 19684K select 2 0:09 10.76% httpd
56887 www 1 105 0 139M 17488K select 6 0:01 10.49% httpd
56852 www 1 99 0 138M 20352K select 4 0:06 10.26% httpd
56889 www 1 106 0 139M 17548K select 6 0:01 10.04% httpd
56894 www 1 109 0 139M 17024K select 6 0:01 9.79% httpd
56839 www 1 99 0 138M 21216K select 6 0:06 9.36% httpd
56866 www 1 99 0 138M 17664K select 6 0:04 9.36% httpd
56890 www 1 108 0 138M 16180K select 4 0:01 9.29% httpd
56848 www 1 99 0 138M 20460K select 2 0:06 9.27% httpd
56865 www 1 99 0 138M 18920K select 2 0:05 9.23% httpd
56883 www 1 102 0 138M 16744K select 4 0:02 8.99% httpd
56870 www 1 100 0 139M 18440K select 2 0:03 8.86% httpd
56850 www 1 98 0 138M 21284K select 6 0:05 8.84% httpd
56860 www 1 99 0 138M 19584K select 0 0:05 8.70% httpd
56864 www 1 99 0 139M 18028K select 2 0:04 8.23% httpd
56854 www 1 99 0 138M 20696K select 6 0:05 8.23% httpd
56853 www 1 98 0 138M 19564K select 4 0:06 8.11% httpd
56835 www 1 98 0 139M 20276K CPU6 4 0:07 8.10% httpd
56849 www 1 98 0 138M 19532K select 0 0:05 7.95% httpd
56851 www 1 98 0 139M 20252K select 4 0:05 7.35% httpd
56888 www 1 4 0 139M 17100K sbwait 6 0:01 7.31% httpd
56869 www 1 100 0 139M 18632K select 4 0:02 6.75% httpd
56861 www 1 98 0 139M 18404K select 0 0:04 6.58% httpd
56863 www 1 98 0 139M 20220K select 2 0:03 6.40% httpd
56867 www 1 99 0 138M 17452K select 6 0:03 6.39% httpd
56868 www 1 99 0 138M 18376K select 0 0:03 6.20% httpd
56893 www 1 107 0 138M 12964K select 0 0:00 5.62% httpd
56878 www 1 100 0 138M 16732K select 6 0:02 5.27% httpd
56881 www 1 100 0 138M 16288K select 6 0:01 2.18% httpd


I had to lower MaxClients on apache substancially from 128 to 32, or loads
would quickly go to 40+. (Other servers with dual cpus instead of quad and
apache 1.3 on freebsd 6.0 don't have this problem)


vmstat 1:
procs memory page disks faults cpu
r b w avm fre flt re pi po fr sr ad4 ad6 in sy cs us sy id
0 1 0 1380860 787212 1365 0 0 0 1312 1 0 0 486 559 842 13 22 65
1 1 0 1384588 787128 2724 0 0 0 2581 0 0 88 3038 82956 48776 19 38 43
4 1 0 1399232 782936 3328 0 0 0 2112 0 0 97 3592 101093 66497 24 50 26
0 1 2 1400200 781628 3726 0 0 0 2910 0 0 99 3529 100289 81531 23 58 19
19 1 0 1404000 778556 2263 0 0 0 1141 0 0 62 2964 73572 101432 19 76 5
15 1 1 1402452 776800 2499 0 0 0 1714 0 7 74 2965 68441 102276 19 78 3
15 1 0 1401548 777112 2213 0 0 0 2103 0 0 42 2491 105584 109418 15 79 6
8 1 1 1403324 778856 2606 0 0 0 2748 0 0 84 2996 75288 91676 22 76 2
0 1 3 1396864 781344 2764 0 0 0 3010 0 0 86 3393 90765 85952 25 70 5
1 2 0 1395520 782604 2774 0 0 0 2978 0 0 79 3195 88251 92623 20 63 17
6 1 0 1396096 781832 2641 0 0 0 2195 0 1 82 3347 96322 55942 21 42 37

iostat 1:
tty ad4 ad6 ad8 cpu
tin tout KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us ni sy in id
0 28 13.94 4 0.06 16.13 48 0.75 13.94 4 0.06 13 0 21 1 65
0 231 0.00 0 0.00 16.00 68 1.06 0.00 0 0.00 19 0 74 1 5
0 77 0.00 0 0.00 16.00 90 1.40 0.00 0 0.00 17 0 77 2 4
0 77 0.50 1 0.00 16.00 46 0.72 0.50 1 0.00 14 0 82 1 4
0 77 0.00 0 0.00 16.00 83 1.30 0.00 0 0.00 21 0 65 2 12
0 77 0.00 0 0.00 16.00 37 0.58 0.00 0 0.00 18 0 76 1 5
0 77 0.00 0 0.00 16.00 82 1.28 0.00 0 0.00 20 0 74 2 4
0 77 0.00 0 0.00 16.00 68 1.06 0.00 0 0.00 21 0 47 2 30
0 77 0.00 0 0.00 16.00 61 0.95 0.00 0 0.00 20 

Re: FreeBSD 6.2-STABLE apache 2.2.4 = bad performance. Help!

2007-07-18 Thread Chuck Swiger

On Jul 18, 2007, at 3:12 PM, Michael Vaughn wrote:

Hello everyone,


Hi--

I am contacting -performance, -questions, and -hackers in the hope  
someone

helps me troubleshoot a problem with FreeBSD 6.2 and apache 2.2.4


Please don't cross-post between multiple FreeBSD lists; pick the most  
appropriate one.


[ ... ]
Right after starting apache, the loads on the server will climb to  
10-40's
and the application will become unacceptably slow. This will go on  
until few
users are using the said application. (note: other servers running  
older

FreeBSD versions on dual cpus running the same code don't exhibit this
system% problem) top shows more than 60% of the CPU time is spent  
on system:


CPU states: 19.9% user, 0.0% nice, 73.7% system, 1.7% interrupt,  
4.7% idle
Mem: 398M Active, 2226M Inact, 253M Wired, 202M Cache, 214M Buf,  
567M Free


The apache processes look like:
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
56882 www 1 103 0 139M 17516K select 0 0:03 12.66% httpd
56862 www 1 100 0 139M 21168K CPU2 6 0:06 11.87% httpd
56830 www 1 99 0 138M 19684K select 2 0:09 10.76% httpd
56887 www 1 105 0 139M 17488K select 6 0:01 10.49% httpd

[ ... ]

Your Apache processes are huge; mine typically stay under 20MB in  
VSIZE even with PHP loaded (this is Apache-2.0.59 + PHP 4.4.7 or PHP  
5.2.x).  I suspect your PHP app(s) are leaking memory or otherwise  
have some significant problems with the way they are coded.


I had to lower MaxClients on apache substancially from 128 to 32,  
or loads
would quickly go to 40+. (Other servers with dual cpus instead of  
quad and

apache 1.3 on freebsd 6.0 don't have this problem)


The fact that your server starts dogging out around 40 processes is  
not surprising-- 40 * ~140MB per httpd child = 5600 MB, which exceeds  
the available physical memory in the system, at which point you start  
swapping excessively and the performance is going to plummet.


You will have to find a way to make those httpd children smaller or  
else reduce the max number you run to 30 or less.


Now this web application isn't the best code out there, but this is  
a quad
cpu server and it's performing a lot worse than some servers I have  
running

with 6.0 with apache 1.3 for over 400 days.

Am I the only one getting terrible performance with apache2 on  
FreeBSD 6 ?


Apache-2.0 + PHP does just fine for me; I'm not sure that Apache-2.2  
+ PHP5 has been as well tested or is as lightweight in resources as  
the older Apache 1.3 or 2.0 flavors are.  It might be worth  
downgrading to an older Apache to test things out, but it really does  
sound like the web app you've got is the problem more than FreeBSD 6  
or the rest of your infrastructure


--
-Chuck

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


Fwd: FreeBSD 6.2-STABLE apache 2.2.4 = bad performance. Help!

2007-07-18 Thread Michael Vaughn

On 7/19/07, Chuck Swiger [EMAIL PROTECTED] wrote:


On Jul 18, 2007, at 3:12 PM, Michael Vaughn wrote:
 Hello everyone,

Hi--

 I am contacting -performance, -questions, and -hackers in the hope
 someone
 helps me troubleshoot a problem with FreeBSD 6.2 and apache 2.2.4

Please don't cross-post between multiple FreeBSD lists; pick the most
appropriate one.

[ ... ]
 Right after starting apache, the loads on the server will climb to
 10-40's
 and the application will become unacceptably slow. This will go on
 until few
 users are using the said application. (note: other servers running
 older
 FreeBSD versions on dual cpus running the same code don't exhibit this
 system% problem) top shows more than 60% of the CPU time is spent
 on system:

 CPU states: 19.9% user, 0.0% nice, 73.7% system, 1.7% interrupt,
 4.7% idle
 Mem: 398M Active, 2226M Inact, 253M Wired, 202M Cache, 214M Buf,
 567M Free

 The apache processes look like:
 PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
 56882 www 1 103 0 139M 17516K select 0 0:03 12.66% httpd
 56862 www 1 100 0 139M 21168K CPU2 6 0:06 11.87% httpd
 56830 www 1 99 0 138M 19684K select 2 0:09 10.76% httpd
 56887 www 1 105 0 139M 17488K select 6 0:01 10.49% httpd
[ ... ]

Your Apache processes are huge; mine typically stay under 20MB in
VSIZE even with PHP loaded (this is Apache-2.0.59 + PHP 4.4.7 or PHP
5.2.x).  I suspect your PHP app(s) are leaking memory or otherwise
have some significant problems with the way they are coded.





The SIZE is huge; What they really use is about 20-30Mb as would be

expected.






I had to lower MaxClients on apache substancially from 128 to 32,
 or loads
 would quickly go to 40+. (Other servers with dual cpus instead of
 quad and
 apache 1.3 on freebsd 6.0 don't have this problem)

The fact that your server starts dogging out around 40 processes is
not surprising-- 40 * ~140MB per httpd child = 5600 MB, which exceeds
the available physical memory in the system, at which point you start
swapping excessively and the performance is going to plummet.



Swap: 8000M Total, 8000M Free



You will have to find a way to make those httpd children smaller or

else reduce the max number you run to 30 or less.



I have tried disabling pecl-APC and I already have most of the modules
commented out on
httpd.conf.

Nothing special running, other than php  extensions, and mod_security2. The
least I got was 70Mb per child.


Now this web application isn't the best code out there, but this is
 a quad
 cpu server and it's performing a lot worse than some servers I have
 running
 with 6.0 with apache 1.3 for over 400 days.

 Am I the only one getting terrible performance with apache2 on
 FreeBSD 6 ?

Apache-2.0 + PHP does just fine for me; I'm not sure that Apache-2.2
+ PHP5 has been as well tested or is as lightweight in resources as
the older Apache 1.3 or 2.0 flavors are.  It might be worth
downgrading to an older Apache to test things out, but it really does
sound like the web app you've got is the problem more than FreeBSD 6
or the rest of your infrastructure

I might give 2.0 a go; I felt this was worth mentioning because most of
the cpu time is spent on system, even with just 32 MaxClients.



Do note I mentioned the same app runs on inferior, with loads of 0-4 (not
optimal, but there is no noticeable slowdown there) on FreeBSD 6.0/i386
apache 1.3 (this is 6.2-STABLE/amd64 apache 2.2.4), and that is also part of
the reason I went ahead and mailed the list. It doesn't make sense that a
server with twice the ram, twice the processors and a recent OS version is
spending 70% of the time in system% whereas the old servers running for 400+
days spend about 25% in system%.


Thanks for your reply.





Also

--

-Chuck



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


Re: FreeBSD 6.2-STABLE apache 2.2.4 = bad performance. Help!

2007-07-18 Thread Chuck Swiger

On Jul 18, 2007, at 4:15 PM, Michael Vaughn wrote:

Your Apache processes are huge; mine typically stay under 20MB in
VSIZE even with PHP loaded (this is Apache-2.0.59 + PHP 4.4.7 or PHP
5.2.x).  I suspect your PHP app(s) are leaking memory or otherwise
have some significant problems with the way they are coded.


The SIZE is huge; What they really use is about 20-30Mb as would be  
expected.


I tend to see 20MB VSIZE and 15-18 MB RES; 140MB VSIZE and 20MB RES  
means 120MB is either swapped out, allocated but never referenced, or  
in inactive memory state.


That memory profile of your apache is surprising and resembles only a  
few cases I ran into, where people were writing huge Perl+DBD/DBI  
scripts via mod_perl that inflated RAM usage significantly and caused  
similar problems until some sanity checking and limiting of result  
sets was implemented in their code.



 I had to lower MaxClients on apache substancially from 128 to 32,
 or loads would quickly go to 40+. (Other servers with dual cpus  
instead of

 quad and apache 1.3 on freebsd 6.0 don't have this problem)

The fact that your server starts dogging out around 40 processes is
not surprising-- 40 * ~140MB per httpd child = 5600 MB, which exceeds
the available physical memory in the system, at which point you start
swapping excessively and the performance is going to plummet.


Swap: 8000M Total, 8000M Free


OK-- was this under your 30+ simultaneous clients load where you  
start seeing problems, or was this at a point where the system was  
closer to idle?



 Am I the only one getting terrible performance with apache2 on
 FreeBSD 6 ?

Apache-2.0 + PHP does just fine for me; I'm not sure that Apache-2.2
+ PHP5 has been as well tested or is as lightweight in resources as
the older Apache 1.3 or 2.0 flavors are.  It might be worth
downgrading to an older Apache to test things out, but it really does
sound like the web app you've got is the problem more than FreeBSD 6
or the rest of your infrastructure


I might give 2.0 a go; I felt this was worth mentioning because  
most of the cpu time is spent on system, even with just 32 MaxClients.


 Do note I mentioned the same app runs on inferior, with loads of  
0-4 (not optimal, but there is no noticeable slowdown there) on  
FreeBSD 6.0/i386 apache 1.3 (this is 6.2-STABLE/amd64 apache  
2.2.4), and that is also part of the reason I went ahead and mailed  
the list. It doesn't make sense that a server with twice the ram,  
twice the processors and a recent OS version is spending 70% of the  
time in system% whereas the old servers running for 400+ days spend  
about 25% in system%.


True enough.  There's a fair difference in memory profile between the  
32-bit x86 flavor of FreeBSD and the AMD64 flavor, although I  
wouldn't expect it to result in such an extreme difference.  It'd be  
interesting to see how the 32-bit version of 6.2 does and whether it  
makes a noticable change, if you get a chance to switch out for  
testing...


--
-Chuck

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


Re: FreeBSD 6.2-STABLE apache 2.2.4 = bad performance. Help!

2007-07-18 Thread Michael Vaughn

On 7/19/07, Chuck Swiger [EMAIL PROTECTED] wrote:


On Jul 18, 2007, at 4:15 PM, Michael Vaughn wrote:
 Your Apache processes are huge; mine typically stay under 20MB in
 VSIZE even with PHP loaded (this is Apache-2.0.59 + PHP 4.4.7 or PHP
 5.2.x).  I suspect your PHP app(s) are leaking memory or otherwise
 have some significant problems with the way they are coded.

 The SIZE is huge; What they really use is about 20-30Mb as would be
 expected.

I tend to see 20MB VSIZE and 15-18 MB RES; 140MB VSIZE and 20MB RES
means 120MB is either swapped out, allocated but never referenced, or
in inactive memory state.



With apache 1.3 I see about 80K size and 35-40K RES (on a 6.2-STABLE
server as of Mon
Feb 26 02:46:31 UTC 2007, dual cpu i386).

That memory profile of your apache is surprising and resembles only a

few cases I ran into, where people were writing huge Perl+DBD/DBI
scripts via mod_perl that inflated RAM usage significantly and caused
similar problems until some sanity checking and limiting of result
sets was implemented in their code.



60M come from pecl-APC (apc.shm_size
= 60), which I've tried setting at 30, and disabling via apc.enabled=0
, both to no avail.

I have, as mentioned before, disabled all the apache modules I did not
need (a quick grep ^LoadModule and ^#LoadModule shows 35 enabled vs 16
disabled) .


 I had to lower MaxClients on apache substancially from 128 to 32,

  or loads would quickly go to 40+. (Other servers with dual cpus
 instead of
  quad and apache 1.3 on freebsd 6.0 don't have this problem)

 The fact that your server starts dogging out around 40 processes is
 not surprising-- 40 * ~140MB per httpd child = 5600 MB, which exceeds
 the available physical memory in the system, at which point you start
 swapping excessively and the performance is going to plummet.

 Swap: 8000M Total, 8000M Free

OK-- was this under your 30+ simultaneous clients load where you
start seeing problems, or was this at a point where the system was
closer to idle?




CPU states: 15.6% user, 0.0% nice, 79.2% system, 0.8% interrupt, 4,4%
idleSwap: 8000M Total,
8000M Free

Taken right now, with a load of 10.18 and 34 apache processes. Swap was the
first thing I checked, it *never* gets used at all.

Compare with the other server on 6.2-STABLE/i386 apache 1.3:

CPU states: 15.4% user, 0.0% nice, 21.3% system, 2.1% interrupt, 61.2% idle

Huge difference, and the server that's performing well is more loaded than
the one with problems, running on inferior hardware (2cpu vs 4cpu).






 Am I the only one getting terrible performance with apache2 on

  FreeBSD 6 ?

 Apache-2.0 + PHP does just fine for me; I'm not sure that Apache-2.2
 + PHP5 has been as well tested or is as lightweight in resources as
 the older Apache 1.3 or 2.0 flavors are.  It might be worth
 downgrading to an older Apache to test things out, but it really does
 sound like the web app you've got is the problem more than FreeBSD 6
 or the rest of your infrastructure

 I might give 2.0 a go; I felt this was worth mentioning because
 most of the cpu time is spent on system, even with just 32 MaxClients.

  Do note I mentioned the same app runs on inferior, with loads of
 0-4 (not optimal, but there is no noticeable slowdown there) on
 FreeBSD 6.0/i386 apache 1.3 (this is 6.2-STABLE/amd64 apache
 2.2.4), and that is also part of the reason I went ahead and mailed
 the list. It doesn't make sense that a server with twice the ram,
 twice the processors and a recent OS version is spending 70% of the
 time in system% whereas the old servers running for 400+ days spend
 about 25% in system%.

True enough.  There's a fair difference in memory profile between the
32-bit x86 flavor of FreeBSD and the AMD64 flavor, although I
wouldn't expect it to result in such an extreme difference.  It'd be
interesting to see how the 32-bit version of 6.2 does and whether it
makes a noticable change, if you get a chance to switch out for
testing...



I can't trash this server and install the i386 version on it.

Tthe closer I have is the 6.2-STABLE
server (exact date mentioned above) which runs on a dual xeon with
4GB ram, on i386. That one is way more loaded and the load is usually
around 1-4, without noticeable slowdowns.


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


Re: Remote Desktop tool for FreeBSD

2007-07-18 Thread Ivan Carey

simon butsana wrote:

Hi,
   
  Does anyone know of a remote X client that can be used to establish a remote X session with a FreeBSD box. 
  As an example, I would greatly like to test a tool with features similar to Microsoft's Remote Desktop.
   
  Thanks,
   
  Simon


Roger Olofsson [EMAIL PROTECTED] a écrit :
  


Steve Franks skrev:
  

I just had this problem this week - drives are fine until you access
one and then disappears.

Checked my bios monitor page and 12V was only 11.8V. Changing from a
300W to a 500W power supply magically fixed the problem...

I don't claim that this is necessarily your problem, but it caught me
off-guard and it's worth looking at.

Steve

On 7/16/07, Roger Olofsson wrote:


Dear mailing list,

I have 2 IBM HDs and one WD HD (ata) in an old pc and for some reason
FBSD 6.2 can't find the IBMs on a warm-boot. Cold-boot is fine and, the
WD is fine.

The motherboard is an old Aopen AX34 and all settings are default except
for ACPI that's off.

The first thought that came to mind was that one of the IBMs are going
bad, but, I find it very unlikely that both HDs are doing it. One is a
120 and one is an 80gigger but both 'vanish' on warm-boot.

Some other setting in bios than ACPI?

Grateful for any answer,

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


  



Thank you for your answer. I'll check the PSU and if necessary replace it.

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



Simon-Pierre Butsana
  [EMAIL PROTECTED]
   
  I do not fear computers. I fear the lack of them.  —Isaac Asimov 
   

   
-

 Découvrez le blog Yahoo! Mail : dernières nouveautés, astuces, conseils.. et 
vos réactions !
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

.

  

Simon,
I use x11vnc and kdm on the server and tightvnc on the client.

This setup works very well.

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


Re: lang/php5 port present no options within sysinstall

2007-07-18 Thread Balin Hansen

I figured out that doing make config in /usr/ports/lang/php5 would bring
up the screen the handbook was referring to. I'm guessing perhaps that
somehow sysinstall sets that configuration for me automatically. eg: when I
install apache web server I would assume that sysinstally would set the
option to build mod_php. I was given the impression that I had to build
apache and php5 from source which is something I'd be willing to do but like
I was hinting at in my previous message I remember a time when sysinstall
would just sort of do it all for me. Then again, I think that might have
been through some apache+mod_php type package available in a previous
versions.

-Balin


On 7/17/07, Lowell Gilbert [EMAIL PROTECTED] wrote:


Balin Hansen [EMAIL PROTECTED] writes:

 According to your handbook under the Apache HTTP Server section
sysinstall
 is supposed to present me with an OPTIONS menu when I try to install
 lang/php5 but it never has and I've been pulling my hair out
 trying reinstall from scratch, etc. I noticed that I can build php from
 /usr/ports/lang/php5 but I remember a time when adding mod_php to an
apache
 install wasn't nearly this complicated. Any thoughts?

You probably set the options already.  Try make config and see man
ports for a more detailed explanation.  [Your explanation isn't clear
enough for me to understand exactly what you're trying to do, so my
advice is unfortunately general.]


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


how to qwery txt records in dns

2007-07-18 Thread george
I would like to ask how do I retrieve a txt record from DNS?

 

I tried…

 

Type=txt

Type=TXT

Type=any

 

And none of them get my text record.

 

Another question I have is I installed dkim-milter but the maillog

Shows an error saying unknown signature algorithm rsa-sha256.

I am using openssl .98e

 

Thanks list.!

 

George

 


No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.476 / Virus Database: 269.10.8/906 - Release Date: 7/17/2007
6:30 PM
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Shipping?

2007-07-18 Thread Norberto Meijome
On Wed, 18 Jul 2007 22:18:57 +0545
Prakash Poudyal [EMAIL PROTECTED] wrote:

 So you anybody know
 about it please send to me.

sorry, I dont 'have any print material available.

_
{Beto|Norberto|Numard} Meijome

The only people that never change are the stupid and the dead
  Jorge Luis Borges.

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cursor key behavior with Firefox

2007-07-18 Thread Norberto Meijome
On Wed, 18 Jul 2007 06:22:40 -0700
Rob Lytle [EMAIL PROTECTED] wrote:
 
 On 7/17/07, Norberto Meijome [EMAIL PROTECTED] wrote:
  On Tue, 17 Jul 2007 08:39:03 -0700
  Rob Lytle [EMAIL PROTECTED] wrote:
 
   I know this isn't a Firefox list, but perhaps someone can save me some
   time.  When I use the down arrow, rather than scrolling, it takes me
   right to the bottom of the page.
   Same behavior in Vista and FreeBSD.
 
  arrow key down works fine here.  have you tried a different keyboard?
 
  btw, u can use the scroll wheel of your mouse to scroll as well. - pg up + 
  pg dn work as well for larger jumps.

hi Rob,
Please keep the mailing list in CC - otherwise everyone will know of your 
problem, but not of how you fixed it. I've added the list again.

Also, please don't top post - it makes following the thread quite annoying. - 
fixed in this reply.


 Hitting F7 was the key. 

to do what? unblock the arrows? scroll? 

 Firefox must just interact differently with
 different computers/keyboards.
 
 Rob.

hmm... i dont think so..i'm using ffox on laptops and normal PS2 / USB 
keyboards across MS-Win and freebsd with no differences. The only differences 
are sometimes found in OSX... 

what keyboard are you using btw?
_
{Beto|Norberto|Numard} Meijome

In my opinion, we don't devote nearly enough scientific research to finding a 
cure for jerks. 
  Calvin

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


/dev/random in jails

2007-07-18 Thread Tech Valley Internet - Tony Kivits

Hello,

I am attempting to run portions (if not all) of the software called 
HSphere inside of jailed subsystems of FreeBSD.  I am able to create 
the jails no problem but the devices /dev/random and /dev/urandom are 
not created automatically in the jail despite the fact that a handful 
of other devices are mounted correctly when the jail is created.


Is there a specific reason for these devices not being created in a 
jail or is there a way to create these devices so that they will be 
available inside a jail?


Any help on this would be much appreciated.

Thank you,

Tony

___
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 qwery txt records in dns

2007-07-18 Thread CK

george wrote:

I would like to ask how do I retrieve a txt record from DNS?


[EMAIL PROTECTED] ~] dig iog.org.ua txt

;  DiG 9.2.3  iog.org.ua txt
;; global options:  printcmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 18333
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0

;; QUESTION SECTION:
;iog.org.ua.IN  TXT

;; ANSWER SECTION:
iog.org.ua. 86400   IN  TXT v=spf1 a mx ~all

;; AUTHORITY SECTION:
iog.org.ua. 86400   IN  NS  ns2.afraid.org.
iog.org.ua. 86400   IN  NS  tazek.iog.org.ua.

;; Query time: 2357 msec
;; SERVER: 10.10.10.7#53(10.10.10.7)
;; WHEN: Thu Jul 19 04:47:01 2007
;; MSG SIZE  rcvd: 105
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: creating ftp users!

2007-07-18 Thread Norberto Meijome
On Wed, 18 Jul 2007 19:32:36 +0400
Yuri Pankov [EMAIL PROTECTED] wrote:

  I hope I am not hijacking this thread but using this opportunity I would
  like to ask if a similar thing could be applied to scp connections? 
  
  BTW - contrary to the original poster I am using FreeBSD ;)
  
 Install shells/scponly with WITH_SCP_CHROOT defined, and follow
 instructions given to you by pkg-message.

indeed, this works very well and the creation of users + chroots is (or can be) 
mostly scripted.

_
{Beto|Norberto|Numard} Meijome

Quantum Logic Chicken:
  The chicken is distributed probabalistically on all sides of the
  road until you observe it on the side of your course.

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make package-recursive

2007-07-18 Thread Vinny

Nejc ©koberne wrote:

Hello,

I would like to create a custom set of packages, so that they will
be installable to my other FreeBSD boxen.

As I understand, I have to use 'make package-recursive', but I have
some problems with it:

1. Is there a way to tell 'make package-recursive' not to _install_
   package, but only build it? It is annonying and time-consuming
   to deinstall every package after it is installed.


[snip]

Not quite what you want but this little python script
will build packages of all currently installed ports.

(Watch out for any wrapping of code)

=== 8 ==
#!/usr/bin/env python
# make_packages.py
#
# Script to create packages for currently installed ports/packages.
# Will build packages in the current working directory so a
# 'cd /usr/ports/packages/All' command would be useful before running it.
#
# Usage: script make_packages.log  make_packages.py /var/db/pkg/*
#

# needed modules
import sys, os

pkg_create = /usr/sbin/pkg_create
print '==='

dash_b = '-b'

for name in sys.argv[1:]:

#print :: , name
pkg_name = name.split('/')[-1]
print Installed package:, pkg_name

# run pkg_create command, capture errors but don't stop
print Command: , pkg_create, dash_b, pkg_name
status = os.spawnv(os.P_WAIT, pkg_create, [pkg_create, dash_b, 
pkg_name])

print Status:, status

== 8 ===

Enjoy.

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


Re: /dev/random in jails

2007-07-18 Thread Christopher Cowart
On Wed, Jul 18, 2007 at 06:30:50PM -0700, Tech Valley Internet - Tony Kivits 
wrote:
 I am attempting to run portions (if not all) of the software called 
 HSphere inside of jailed subsystems of FreeBSD.  I am able to create 
 the jails no problem but the devices /dev/random and /dev/urandom are 
 not created automatically in the jail despite the fact that a handful 
 of other devices are mounted correctly when the jail is created.
 
 Is there a specific reason for these devices not being created in a 
 jail or is there a way to create these devices so that they will be 
 available inside a jail?

We run bind instances in FreeBSD jails. This is how we get /dev/random:

| # /etc/devfs.rules:
| [devfsrules_thin_jail=100]
| add include $devfsrules_hide_all
| add include $devfsrules_unhide_basic

| # /etc/rc.conf:
| jail_cachingdns_devfs_enable=YES
| jail_cachingdns_devfs_ruleset=devfsrules_thin_jail

HTH,

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


signature.asc
Description: Digital signature


freebsd6.2Release shutdown problem

2007-07-18 Thread Zhang hw

I have upgraded my FreeBSD from 6.1 to 6.2-RELEASE-p6, and my xorg if update
to version 7.2, the wm is fvwm2.4. Every time after I have been working in
the fvwm environment and quited to the console, input shutdown -p now , the
console return me the  final message:
Automatic reboot in 15seconds press a key on the console to reboot
Press a key on the console to reboot or switch off the system now
What should I do then? should I took off the computer power then? Or allow
it reboot automatic? If it reboot automaticly to a console and input
shutdown -p now immediately without any other operate, the system will
shut off crrectly include taking off the power.
Who can tell me how to deal with this problem ?
Thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /dev/random in jails

2007-07-18 Thread Tech Valley Internet - Tony Kivits

At 07:32 PM 7/18/2007, Christopher Cowart wrote:
On Wed, Jul 18, 2007 at 06:30:50PM -0700, Tech Valley Internet - 
Tony Kivits wrote:

 I am attempting to run portions (if not all) of the software called
 HSphere inside of jailed subsystems of FreeBSD.  I am able to create
 the jails no problem but the devices /dev/random and /dev/urandom are
 not created automatically in the jail despite the fact that a handful
 of other devices are mounted correctly when the jail is created.

 Is there a specific reason for these devices not being created in a
 jail or is there a way to create these devices so that they will be
 available inside a jail?

We run bind instances in FreeBSD jails. This is how we get /dev/random:

| # /etc/devfs.rules:
| [devfsrules_thin_jail=100]
| add include $devfsrules_hide_all
| add include $devfsrules_unhide_basic

| # /etc/rc.conf:
| jail_cachingdns_devfs_enable=YES
| jail_cachingdns_devfs_ruleset=devfsrules_thin_jail

HTH,

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





Thanks Chris,

So if my jail is called cp, the only thing that I would have to 
change from your scripts would be replace to replace cachingdns with cp?


Tony 


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


Re: /dev/random in jails

2007-07-18 Thread Christopher Cowart
On Wed, Jul 18, 2007 at 08:34:21PM -0700, Tech Valley Internet - Tony Kivits 
wrote:
 At 07:32 PM 7/18/2007, Christopher Cowart wrote:
 On Wed, Jul 18, 2007 at 06:30:50PM -0700, Tech Valley Internet - 
 Tony Kivits wrote:
  I am attempting to run portions (if not all) of the software called
  HSphere inside of jailed subsystems of FreeBSD.  I am able to create
  the jails no problem but the devices /dev/random and /dev/urandom are
  not created automatically in the jail despite the fact that a handful
  of other devices are mounted correctly when the jail is created.
 
  Is there a specific reason for these devices not being created in a
  jail or is there a way to create these devices so that they will be
  available inside a jail?
 
 We run bind instances in FreeBSD jails. This is how we get /dev/random:
 
 | # /etc/devfs.rules:
 | [devfsrules_thin_jail=100]
 | add include $devfsrules_hide_all
 | add include $devfsrules_unhide_basic
 
 | # /etc/rc.conf:
 | jail_cachingdns_devfs_enable=YES
 | jail_cachingdns_devfs_ruleset=devfsrules_thin_jail
 
 Thanks Chris,
 
 So if my jail is called cp, the only thing that I would have to 
 change from your scripts would be replace to replace cachingdns with cp?

Yes. Are you configuring the jail via /etc/rc.conf already? Are you
using the rc script /etc/rc.d/jail to start your jails?

My complete config from /etc/rc.conf is:

| # Enable jails
| jail_enable=YES
| jail_list=cachingdns
| 
| # Caching-nameserver jail
| jail_cachingdns_hostname=ns1.example.com
| jail_cachingdns_ip=192.0.2.15
| jail_cachingdns_interface=bge0
| jail_cachingdns_rootdir=/var/jails/caching-dns
| jail_cachingdns_exec=/usr/local/sbin/named
| jail_cachingdns_devfs_enable=YES
| jail_cachingdns_devfs_ruleset=devfsrules_thin_jail

You can replace cachingdns with cp or whatever else you want. You can
also create multiple jails with different names.

I don't know if you're following the typical FreeBSD jail documentation
which gives you a complete FreeBSD installation inside the jail. Given
that I only need to run named, I have not done that.

Are you trying to run a complete FreeBSD install that allows user logins
inside your jail? Or are you simply trying to jail a single process? My
example above jails the single process named, and does not have an OS
install inside the jail's root.

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


signature.asc
Description: Digital signature


Roundcube Install Problem

2007-07-18 Thread Dantavious
Hi,
I am having difficulties installing Roundcube.  I have correctly setup all the 
pertinet information that is needed to use the application according to the 
directions. My problem arising when I attempt to browse to the page and login 
in. I get a roundcube webgage that is garbled. I have squirrelmail running 
just fine now so i dont think that it is a server issue. I even tried chmoded 
777 the entire directory at one point for troubleshooting purposes.  Anyone 
else having this problem? Any workaround? 
Derrick

apache-2.2.4_2  Version 2.2 of Apache web server with prefork MPM.

php-suhosin-0.9.20  A PHP extension that implements high-level protections
php5-5.2.3  PHP Scripting Language (Apache Module and CLI)
php5-bz2-5.2.3  The bz2 shared extension for php
php5-ctype-5.2.3The ctype shared extension for php
php5-dom-5.2.3  The dom shared extension for php
php5-extensions-1.1 A meta-port to install PHP extensions
php5-ftp-5.2.3  The ftp shared extension for php
php5-gd-5.2.3   The gd shared extension for php
php5-gettext-5.2.3  The gettext shared extension for php
php5-iconv-5.2.3The iconv shared extension for php
php5-imap-5.2.3 The imap shared extension for php
php5-mbstring-5.2.3 The mbstring shared extension for php
php5-mcrypt-5.2.3   The mcrypt shared extension for php
php5-mhash-5.2.3The mhash shared extension for php
php5-ming-5.2.3 The ming shared extension for php
php5-mysql-5.2.3The mysql shared extension for php
php5-mysqli-5.2.3   The mysqli shared extension for php
php5-ncurses-5.2.3  The ncurses shared extension for php
php5-openssl-5.2.3  The openssl shared extension for php
php5-pcre-5.2.3 The pcre shared extension for php
php5-pdo-5.2.3  The pdo shared extension for php
php5-pdo_sqlite-5.2.3 The pdo_sqlite shared extension for php
php5-posix-5.2.3_3  The posix shared extension for php
php5-readline-5.2.3 The readline shared extension for php
php5-session-5.2.3  The session shared extension for php
php5-simplexml-5.2.3 The simplexml shared extension for php
php5-soap-5.2.3 The soap shared extension for php
php5-sockets-5.2.3  The sockets shared extension for php
php5-spl-5.2.3  The spl shared extension for php
php5-sqlite-5.2.3   The sqlite shared extension for php
php5-tokenizer-5.2.3 The tokenizer shared extension for php
php5-xml-5.2.3  The xml shared extension for php
php5-xmlwriter-5.2.3 The xmlwriter shared extension for php
php5-zlib-5.2.3 The zlib shared extension for php
phpMyAdmin-2.10.2   A set of PHP-scripts to manage MySQL over the web
phpsecinfo-0.2.1A PHP environment security auditing toool

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


Re: /dev/random in jails

2007-07-18 Thread Tech Valley Internet - Tony Kivits

At 08:42 PM 7/18/2007, Christopher Cowart wrote:
On Wed, Jul 18, 2007 at 08:34:21PM -0700, Tech Valley Internet - 
Tony Kivits wrote:

 At 07:32 PM 7/18/2007, Christopher Cowart wrote:
 On Wed, Jul 18, 2007 at 06:30:50PM -0700, Tech Valley Internet -
 Tony Kivits wrote:
  I am attempting to run portions (if not all) of the software called
  HSphere inside of jailed subsystems of FreeBSD.  I am able to create
  the jails no problem but the devices /dev/random and /dev/urandom are
  not created automatically in the jail despite the fact that a handful
  of other devices are mounted correctly when the jail is created.
 
  Is there a specific reason for these devices not being created in a
  jail or is there a way to create these devices so that they will be
  available inside a jail?
 
 We run bind instances in FreeBSD jails. This is how we get /dev/random:
 
 | # /etc/devfs.rules:
 | [devfsrules_thin_jail=100]
 | add include $devfsrules_hide_all
 | add include $devfsrules_unhide_basic
 
 | # /etc/rc.conf:
 | jail_cachingdns_devfs_enable=YES
 | jail_cachingdns_devfs_ruleset=devfsrules_thin_jail
 
 Thanks Chris,

 So if my jail is called cp, the only thing that I would have to
 change from your scripts would be replace to replace cachingdns 
with cp?


Yes. Are you configuring the jail via /etc/rc.conf already? Are you
using the rc script /etc/rc.d/jail to start your jails?

My complete config from /etc/rc.conf is:

| # Enable jails
| jail_enable=YES
| jail_list=cachingdns
|
| # Caching-nameserver jail
| jail_cachingdns_hostname=ns1.example.com
| jail_cachingdns_ip=192.0.2.15
| jail_cachingdns_interface=bge0
| jail_cachingdns_rootdir=/var/jails/caching-dns
| jail_cachingdns_exec=/usr/local/sbin/named
| jail_cachingdns_devfs_enable=YES
| jail_cachingdns_devfs_ruleset=devfsrules_thin_jail

You can replace cachingdns with cp or whatever else you want. You can
also create multiple jails with different names.

I don't know if you're following the typical FreeBSD jail documentation
which gives you a complete FreeBSD installation inside the jail. Given
that I only need to run named, I have not done that.

Are you trying to run a complete FreeBSD install that allows user logins
inside your jail? Or are you simply trying to jail a single process? My
example above jails the single process named, and does not have an OS
install inside the jail's root.

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



Thanks Chris,

I am doing a complete OS inside the jail and am starting it through 
the rc.conf.


I have modified the devfs.rules so that they are now passing random 
and urandom as devices.  But the installation software is still 
reporting that /dev/random is not working properly.  Do you know of a 
way that I can test /dev/random to see if it is actually working?


Thanks again,

Tony 


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


Re: /dev/random in jails

2007-07-18 Thread Christopher Cowart
On Wed, Jul 18, 2007 at 09:41:35PM -0700, Tech Valley Internet - Tony Kivits 
wrote:
At 08:42 PM 7/18/2007, Christopher Cowart wrote:
On Wed, Jul 18, 2007 at 08:34:21PM -0700, Tech Valley Internet - 
Tony Kivits wrote:
At 07:32 PM 7/18/2007, Christopher Cowart wrote:
On Wed, Jul 18, 2007 at 06:30:50PM -0700, Tech Valley Internet -
Tony Kivits wrote:
 I am attempting to run portions (if not all) of the software called
 HSphere inside of jailed subsystems of FreeBSD.  I am able to create
 the jails no problem but the devices /dev/random and /dev/urandom are
 not created automatically in the jail despite the fact that a handful
 of other devices are mounted correctly when the jail is created.

 Is there a specific reason for these devices not being created in a
 jail or is there a way to create these devices so that they will be
 available inside a jail?

We run bind instances in FreeBSD jails. This is how we get /dev/random:

| # /etc/devfs.rules:
| [devfsrules_thin_jail=100]
| add include $devfsrules_hide_all
| add include $devfsrules_unhide_basic

| # /etc/rc.conf:
| jail_cachingdns_devfs_enable=YES
| jail_cachingdns_devfs_ruleset=devfsrules_thin_jail

 Thanks Chris,

 So if my jail is called cp, the only thing that I would have to
 change from your scripts would be replace to replace cachingdns 
with cp?

Yes. Are you configuring the jail via /etc/rc.conf already? Are you
using the rc script /etc/rc.d/jail to start your jails?

My complete config from /etc/rc.conf is:

| # Enable jails
| jail_enable=YES
| jail_list=cachingdns
|
| # Caching-nameserver jail
| jail_cachingdns_hostname=ns1.example.com
| jail_cachingdns_ip=192.0.2.15
| jail_cachingdns_interface=bge0
| jail_cachingdns_rootdir=/var/jails/caching-dns
| jail_cachingdns_exec=/usr/local/sbin/named
| jail_cachingdns_devfs_enable=YES
| jail_cachingdns_devfs_ruleset=devfsrules_thin_jail

You can replace cachingdns with cp or whatever else you want. You can
also create multiple jails with different names.

I don't know if you're following the typical FreeBSD jail documentation
which gives you a complete FreeBSD installation inside the jail. Given
that I only need to run named, I have not done that.

Are you trying to run a complete FreeBSD install that allows user logins
inside your jail? Or are you simply trying to jail a single process? My
example above jails the single process named, and does not have an OS
install inside the jail's root.

 I am doing a complete OS inside the jail and am starting it through 
 the rc.conf.

The default devfs ruleset for jails (devfsrules_jail, found in
/etc/defaults/devfs.rules) should work fine for you then. Perhaps try
specifying that ruleset explicitly?

 I have modified the devfs.rules so that they are now passing random 
 and urandom as devices.  But the installation software is still 
 reporting that /dev/random is not working properly.  Do you know of a 
 way that I can test /dev/random to see if it is actually working?

$ ls -l caching-dns/dev/random
crw-rw-rw-  1 root wheel 0, 8 Jul  3 18:08 caching-dns/dev/random

$ dd if=/dev/random bs=1 count=12 2/dev/null | openssl base64
Should give you a base64 encoding of some random data (base64 to prevent
it from messing up your terminal) if /dev/random is working.

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


signature.asc
Description: Digital signature


Re: /dev/random in jails

2007-07-18 Thread Christopher Cowart
On Wed, Jul 18, 2007 at 09:49:12PM -0700, Christopher Cowart wrote:
 $ dd if=/dev/random bs=1 count=12 2/dev/null | openssl base64
 Should give you a base64 encoding of some random data (base64 to prevent
 it from messing up your terminal) if /dev/random is working.

I meant to point if=jailroot/dev/random. Testing /dev/random for the
host OS isn't going to be too meaningful.

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


signature.asc
Description: Digital signature


Re: /dev/random in jails

2007-07-18 Thread Tech Valley Internet - Tony Kivits

At 09:50 PM 7/18/2007, Christopher Cowart wrote:

On Wed, Jul 18, 2007 at 09:49:12PM -0700, Christopher Cowart wrote:
 $ dd if=/dev/random bs=1 count=12 2/dev/null | openssl base64
 Should give you a base64 encoding of some random data (base64 to prevent
 it from messing up your terminal) if /dev/random is working.

I meant to point if=jailroot/dev/random. Testing /dev/random for the
host OS isn't going to be too meaningful.

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



Thanks Chris,

I figured out what you meant.  ;)

I think with all my playing I managed to put a symlink in the dev 
directory that I can't get out.


I will try to do a reinstall of the machine and try all the 
suggestions on a clean environment.


Tony 


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


Re: Roundcube Install Problem

2007-07-18 Thread Zbigniew Szalbot

Hello,

On Thu, 19 Jul 2007 00:16:01 -0400, Dantavious [EMAIL PROTECTED]
wrote:
   Hi,
 I am having difficulties installing Roundcube.  I have correctly setup
all
 the
 pertinet information that is needed to use the application according to
 the
 directions. My problem arising when I attempt to browse to the page and
 login
 in. I get a roundcube webgage that is garbled. I have squirrelmail
running
 just fine now so i dont think that it is a server issue. I even tried
 chmoded
 777 the entire directory at one point for troubleshooting purposes. 
 Anyone
 else having this problem? Any workaround?
 Derrick
 
 apache-2.2.4_2  Version 2.2 of Apache web server with prefork MPM.
 
 php-suhosin-0.9.20  A PHP extension that implements high-level
protections
 php5-5.2.3  PHP Scripting Language (Apache Module and CLI)

I had the same problem with RoundCube. I do not know its cause. I had to
downgrade php to 4.4.7 and now all works well. It may be worth contacting
the roundcube mailing list.

-- 
Zbigniew Szalbot

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


Re: Roundcube Install Problem

2007-07-18 Thread Norberto Meijome
On Thu, 19 Jul 2007 00:16:01 -0400
Dantavious [EMAIL PROTECTED] wrote:

 I am having difficulties installing Roundcube.  I have correctly setup all 
 the 
 pertinet information that is needed to use the application according to the 
 directions. My problem arising when I attempt to browse to the page and login 
 in. I get a roundcube webgage that is garbled.

Hi Dantavious,
how is it garbled?  

_
{Beto|Norberto|Numard} Meijome

Outside of a dog, a book is man's best friend. 
 Inside of a dog, it's too dark to read.
  Groucho Marx

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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

2007-07-18 Thread Darek M

Tek Bahadur Limbu wrote:
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!!


Thanking you...


You should also consider that DSPAM, fully trained, can grow very 
large.  I use a single username for a dozen email boxes, and the 
database is 3.5GB.  Though you can trim it by dropping tokens that 
aren't as accurate, or aren't as frequently used, it could still become 
big, especially with a lot of users.



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


Re: shared object needed by courier MTA

2007-07-18 Thread Norberto Meijome
On Tue, 17 Jul 2007 08:41:08 -0700 (PDT)
johan Hartono [EMAIL PROTECTED] wrote:

 
 Dear all,
 
  
 
 I was trying to make a working mail server using freebsd5.5-release and 
 courier MTA suites.

(you should move up to 6.x if you can, specially since it's a new installation )

 
 What I need from this box basically are pop3 server, smtpserver, web admin 
 and webmail.
 
 I install FreeBSD using #8216;developer#8217; canned andpull out 
 #8216;ports#8217; packages.
 
 After the installation, I add these packages using pkg_addcommand in the 
 exact order.
 
  
 
 'libltdl-1.5.22_2'
 
 'libexecinfo-1.1_1.tbz'
 
 'mime-support-3.39.1'
 
 'pcre-7.1'
 
 'm4-1.4.9'
 
 'perl-5.8.8'
 
 'gmake-3.81_2'
 
 'gettext-0.16.1_3'
 
 'libiconv-1.9.2_2'
 
 'libtool-1.5.22_2'
 
 'help2man_1.36.4_1'
 
 'P5-gettext-1.05_1'
 
 'P5-Net-CIDR-0.11'
 
 'sysconftool-0.15'
 
 'autoconf-2.59_2'
 
 'automake-1.9.6_1'
 
 'pkg-config-0.21'
 
 'glib-2.12.12_2'
 
 'gamin-0.1.8_1'
 
 'courier-authlib-base-0.59.3'
 
 'courier-0.54.0'
 
  
 
 Every time I try to check the installation using showmodulescommand, I got 
 this message
 

where is this command 'showmodules' from ? 

 
 #8220;/libexec/ld-elf.so.1: Shared objectlibstdc++.so.5 not found, 
 required by showmodules#8221;

I'm running 6.2-STABLE and I have libstdc++ as part of the base OS:

/usr/lib/libstdc++.so.5

I don't know whether 5.5 had libstdc++.so.5 - you can check in /usr/lib/ to see 
what version is there. I think the problem stems from the fact that you used 
binary packages (pkg_add -r) rather than building from source via the ports 
system. Other than upgrading the OS to 6.x, you can try to see if those 
packages you need are included in the 5.5 CD . Or build from source.

 
  
 
 Can anyone point out what sins I have done badly and how towork around this 
 problem?
 
  
 
 I#8217;m very sorry for my poor language since English isnot my native 
 language.

your English is fine :)

 
  
 
 I very appreciate any help you could give me.
 
  
 
 Best regards
 
  
 
 Johan Hartono
 
 

 -
 Choose the right car based on your needs.  Check out Yahoo! Autos new Car 
 Finder tool.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


_
{Beto|Norberto|Numard} Meijome

Which is worse: ignorance or apathy?
Don't know. Don't care.

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd6.2Release shutdown problem

2007-07-18 Thread Zhang hw

Last time, there was a mistake in the message, the return message should be
:
Automatic reboot in 15 seconds press a key on the console to abort,here is
abort not reboot. And after perssing a key,  the message below will
show:
Press a key on the console to reboot or switch off the system
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]