Re: NFS Problems...

2003-06-05 Thread supote
> There shouldn't BE a /home2 on HTTPD but I figured out what
> happened. I
> copied /etc/group /etc/passwd /etc/pwd.db 
> and /etc/master.passwd from NFSD
> to HTTPD to sync users and passwords and forgot to edit the 
> home dir with
> vipw. I just did a global search and replace of /home2 to /home 
> and
> rebuilt the pwd.db and it mounted fine and apache now 
> serves "public_html"
> from the users shells.

> However, on reboot it doesn't mount from /etc/fstab, I have to 
mount it
> manually for some reason. So now I'm down to the one NFS 
problem.

> on NFSD: (/etc/exports)
> /home2   -maproot=0 -alldirs httpd

> on HTTPD: (/etc/fstab)
> NFSD:/home2  /home   nfs rw,bg   0   0

> 
> mount NFSD:/home2 /home

> Works fine until I reboot. Shouldn't it mount by itself like it used 
to?
> What am I missing now? Why doesn't HTTPD mount
> NFSD:/home2 on /home when
> it reboots?

> TIA

Hi,
   In your fstab, what is the "bg" purpose ? I never seen this option
before. Make sure such option is usable.

Pote


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


Re: 4.8 stable make installworld problems

2003-06-04 Thread supote
> Hello,

> I've CVSuped to 4.8-STABLE  a day ago, did buildworld, > > 
buildkernel and
> installkernel   without   any  problems,  but  when  I  tried  to  do
> installworld I've got the following:

> [...]

What is CVS tag you cvsed ? Letting others know you may get
the answer faster.



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


Where I can find boot's dmesg

2005-01-27 Thread Supote Leelasupphakorn
Hi list,
  I'm currently use FreeBSD-5.2 and just wondered where I can
see the dmesg in the time I booted my box up.
TIA,
pjn
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


what's wrong with my swap partition ?

2005-01-27 Thread Supote Leelasupphakorn
Hi list,
  I owned 2 boxes of FreeBSD 4.x and just noticed that the output
of command "swapinfo" are strange coz there are two lines of swap
entry like below. What's wrong with my 2nd boxes and how do I do
with this ?
--- snip from the 1st box ---
Device  1K-blocks UsedAvail Capacity  Type
/dev/ad0s1b   2081152  172  2080980 0%Interleaved
--- snip from the 2nd box ---
Device  1K-blocks UsedAvail Capacity  Type
/dev/ad0s1b   1032144   64  1032080 0%Interleaved
/dev/ad0s1b   10321440  1032144 0%Interleaved  <-- 
why does it repeat again ?
Total 2064288   64  2064224 0%

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


Re: Where I can find boot's dmesg

2005-01-27 Thread Supote Leelasupphakorn
Hi cali,
  Sorry for my bad English. I mean how can I find the booting message
that shown at boot time before login: prompt such as
CPU  MHz
Memory  KBytes

PCI .
ATA 
CDROM .

and  blah blah blah.
TIA,
pjn
Original Message Follows
From: "cali" <[EMAIL PROTECTED]>
To: "Supote Leelasupphakorn" 
<[EMAIL PROTECTED]>,
Subject: Re: Where I can find boot's dmesg
Date: Thu, 27 Jan 2005 10:12:53 -
MIME-Version: 1.0
Received: from sun13.bham.ac.uk ([147.188.128.145]) by mc1-f40.hotmail.com 
with Microsoft SMTPSVC(6.0.3790.211); Thu, 27 Jan 2005 02:12:42 -0800
Received: from [147.188.128.127] (helo=bham.ac.uk)by sun13.bham.ac.uk with 
esmtp (Exim 4.10)id 1Cu6dl-0007kv-00for [EMAIL PROTECTED]; Thu, 27 Jan 
2005 10:12:41 +
Received: from sci-fs1.bham.ac.uk ([147.188.118.71])by bham.ac.uk with esmtp 
(Exim 4.24)id 1Cu6dl-uS-Rqfor [EMAIL PROTECTED]; Thu, 27 Jan 2005 
10:12:41 +
Received: from SPECULUSHX1THE not authenticated [147.188.140.4]by 
sci-fs1.bham.ac.uk with NetMail SMTP Agent $Revision: 1.1.1.1 $ on Novell 
NetWare;Thu, 27 Jan 2005 10:12:41 +
X-Message-Info: JGTYoYF78jHJzY85TGb75oU2mn0aUaeSYCEE2gP0Eiw=
References: <[EMAIL PROTECTED]>
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-BHAM-CUBE-wlist: LOCAL sci-fs1.bham.ac.uk
X-BHAM-CUBE-processed: yes
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 27 Jan 2005 10:12:42.0999 (UTC) 
FILETIME=[BD547870:01C50458]

Hi list,
  I'm currently use FreeBSD-5.2 and just wondered where I can
see the dmesg in the time I booted my box up.
In the time? You want it to occur with the same timing that it did at 
bootup?

otherwise just type
dmesg
but surely you know this since you know it is called dmesg?  are you asking 
for something else?

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


Re: what's wrong with my swap partition ?

2005-01-27 Thread Supote Leelasupphakorn
Hi list,
  If so, what do I do next coz there is no command "swapoff"
in such box. It's 4.10-RELEASE. But I'm pretty sure that I've
never run command "swapon" maually or I miss something.
TIA,
pjn

Original Message Follows
From: Kris Kennaway <[EMAIL PROTECTED]>
To: Supote Leelasupphakorn <[EMAIL PROTECTED]>
CC: freebsd-questions@freebsd.org
Subject: Re: what's wrong with my swap partition ?
Date: Thu, 27 Jan 2005 11:21:22 -0800
MIME-Version: 1.0
Received: from MC6-F35.hotmail.com ([65.54.252.171]) by imc1-s34.hotmail.com 
with Microsoft SMTPSVC(6.0.3790.211); Thu, 27 Jan 2005 11:22:18 -0800
Received: from obsecurity.dyndns.org ([69.199.47.57]) by MC6-F35.hotmail.com 
with Microsoft SMTPSVC(6.0.3790.211); Thu, 27 Jan 2005 11:22:14 -0800
Received: by obsecurity.dyndns.org (Postfix, from userid 1000)id 02D79511C0; 
Thu, 27 Jan 2005 11:21:22 -0800 (PST)
X-Message-Info: JGTYoYF78jGFNiwjAdX72D19x8shvxqNU/8SidkywB8=
References: <[EMAIL PROTECTED]>
User-Agent: Mutt/1.4.2.1i
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 27 Jan 2005 19:22:15.0302 (UTC) 
FILETIME=[825AA260:01C504A5]

On Thu, Jan 27, 2005 at 05:23:38PM +0700, Supote Leelasupphakorn wrote:
> Hi list,
>
>   I owned 2 boxes of FreeBSD 4.x and just noticed that the output
> of command "swapinfo" are strange coz there are two lines of swap
> entry like below. What's wrong with my 2nd boxes and how do I do
> with this ?
>
> --- snip from the 1st box ---
> Device  1K-blocks UsedAvail Capacity  Type
> /dev/ad0s1b   2081152  172  2080980 0%Interleaved
>
>
> --- snip from the 2nd box ---
> Device  1K-blocks UsedAvail Capacity  Type
> /dev/ad0s1b   1032144   64  1032080 0%Interleaved
> /dev/ad0s1b   10321440  1032144 0%Interleaved  
<--
> why does it repeat again ?
> Total 2064288   64  2064224 0%

Maybe you ran swapon twice?
Kris
<< attach3 >>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: what's wrong with my swap partition ?

2005-01-27 Thread Supote Leelasupphakorn
From: Kris Kennaway <[EMAIL PROTECTED]>
To: Supote Leelasupphakorn <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED], freebsd-questions@freebsd.org
Subject: Re: what's wrong with my swap partition ?
Date: Thu, 27 Jan 2005 19:44:53 -0800
MIME-Version: 1.0
Received: from obsecurity.dyndns.org ([69.199.47.57]) by 
mc7-f19.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Thu, 27 Jan 2005 
19:45:25 -0800
Received: by obsecurity.dyndns.org (Postfix, from userid 1000)id 
53E1351286; Thu, 27 Jan 2005 19:44:53 -0800 (PST)
X-Message-Info: JGTYoYF78jH4Dzl+c7qLiybMBgCxL5JH1IbN1klzfnk=
References: <[EMAIL PROTECTED]> 
<[EMAIL PROTECTED]>
User-Agent: Mutt/1.4.2.1i
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 28 Jan 2005 03:45:25.0462 (UTC) 
FILETIME=[CD177760:01C504EB]

On Fri, Jan 28, 2005 at 10:27:42AM +0700, Supote Leelasupphakorn wrote:
> Hi list,
>
>   If so, what do I do next coz there is no command "swapoff"
> in such box. It's 4.10-RELEASE. But I'm pretty sure that I've
> never run command "swapon" maually or I miss something.
Does it persist after rebooting?  5.3 does have swapoff, btw.
Kris
<< attach3 >>
Hi list,
  Thanks for your reply. This box is currently in production environment so
I can't reboot it now. But if nothing terrible I will leave it for the next 
booting.
Hope it's no harmful with my box :-)

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


why must boot in single mode.

2004-12-15 Thread Supote Leelasupphakorn
Hi all
  I'm using FreeBSD 4.[89] for a few years. So far I upgraded my release to 
security branch
by following the instructions in /usr/src/Makefile and after finished, my 
box is running fine.
Only one thing that I ignored - rebooting in single mode but because I am 
not at the box's
console.

  Could anyone clarify me why we have to (according to comment in 
/usr/src/Makefile)
reboot in single mode ? Is it necessary ?

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


Each version of apache lunched date.

2004-12-17 Thread Supote Leelasupphakorn
Hi all,
  I'm currently completing some maintenance documents at my office and need 
to know
The launch date of each version of apache in the past (especially 1.3.28 & 
1.3.27).
My question is how or where can I found the apache's history file (yeah, 
launched date
included).

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


Able to mount samba but it's empty

2005-01-07 Thread Supote Leelasupphakorn
Hi all,
  I'm using 4.8-RELEASE-p15 and Samba-2.2.8a for mounting
shared directory on Windows2000 (NTFS). So far the disk on
Windows2000 is only 120 GB and mounting is successful.
  But after I changed a disk to 200GB, I can sucessfully mount
both 120GB and 200GB (I mean no any error message are
displayed) but I can't see any file in the mount point of 200GB
disk. I googled for a while but no any answer useful.  Is there
any problem with 200 GB disk on Samba-2.2.8 OR it's time to
upgraded the Samba's version OR I missed something ?
TIA
pjn
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Able to mount samba but it's empty

2005-01-07 Thread Supote Leelasupphakorn
Hi list,
  But I do enable bigLba in Windows' registry already,
As I can use full of 200 GB capacity disk. The problem
occurred only when it was mounted Windows's disk
from FreeBSD with command: mount_smbfs, I found
nothing in the mount point.
Any comments are welcome
TIA
Original Message Follows
From: Danny MacMillan <[EMAIL PROTECTED]>
To: Supote Leelasupphakorn <[EMAIL PROTECTED]>
CC: freebsd-questions@freebsd.org
Subject: Re: Able to mount samba but it's empty
Date: Fri, 07 Jan 2005 13:20:42 -0700
On Fri, Jan 07, 2005 at 04:44:02PM +0700, Supote Leelasupphakorn wrote:
>
> Hi all,
>
>   I'm using 4.8-RELEASE-p15 and Samba-2.2.8a for mounting
> shared directory on Windows2000 (NTFS). So far the disk on
> Windows2000 is only 120 GB and mounting is successful.
>
>   But after I changed a disk to 200GB, I can sucessfully mount
> both 120GB and 200GB (I mean no any error message are
> displayed) but I can't see any file in the mount point of 200GB
> disk. I googled for a while but no any answer useful.  Is there
> any problem with 200 GB disk on Samba-2.2.8 OR it's time to
> upgraded the Samba's version OR I missed something ?
Is the disk in the machine running Windows 2000?  If so, you will want
to ensure that you have enabled Big LBA support on the Windows side,
if you haven't already.  There's a 137GB barrier in Windows 2k that can
cause major data loss, as I learned the hard way.  I don't know if it
has any impact on Samba, but since the drives are on either side of the
barrier it's worth looking into.
http://support.microsoft.com/kb/305098/EN-US/
If you haven't enabled this yet, do it.  If you don't you will lose
data, you will lose data, you will lose data.  Even if you haven't
lost data yet, you will.  It might not make Samba work, but it will
make Windows 2000 work.
--
Danny
P.S.  I'm not kidding.  If you love your data (and who doesn't), go
enable 48 bit LBA.
___
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]"


What's the "bridged" option in ipfw's man page ?

2004-05-24 Thread Supote Leelasupphakorn
Hi... lists,

  I've read the "ipfw" man page and in the "RULE OPTION"
There is "bridged" option there. I'm currently set the
bridge-base firewall so my question is what's the bridged
packets and how much I take advantage from this option ?

TIA,
pjn


Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


P4B533 vs DDR Ram 400 MHz

2005-06-03 Thread Supote Leelasupphakorn

Hi, lists

 I own the Asus P4B533 mainboard for a year and it is using DDR-266 MHz.
I want to add more memory with DDR-400 MHz. Have any one had experience
on this situation.

  What I would like to know is "Is there any problem if I will use DDR-400 
MHz

with mainboard Asus P4B533. Any comment is welcome.

TIA,
Pjn

_
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


Re: P4B533 vs DDR Ram 400 MHz

2005-06-03 Thread Supote Lee

Hi,

  Yes, it's so if you refer to Asus official website. But today I've just 
added

such memory into a P4B533 box at my office. It can bootup and has no
problem today so I think that I can't totally believe its document on
Asus's web site - Must give them a try.

  But I want to know that "is there any issue in the LONG
TERM".

TIA
pjn


From: Dmitry Mityugov <[EMAIL PROTECTED]>
Reply-To: Dmitry Mityugov <[EMAIL PROTECTED]>
To: Supote Leelasupphakorn <[EMAIL PROTECTED]>
CC: freebsd-questions@freebsd.org
Subject: Re: P4B533 vs DDR Ram 400 MHz
Date: Fri, 3 Jun 2005 16:10:13 +0400

On 6/3/05, Supote Leelasupphakorn wrote:
> Hi, lists
>
>   I own the Asus P4B533 mainboard for a year and it is using DDR-266 
MHz.

> I want to add more memory with DDR-400 MHz. Have any one had experience
> on this situation.
>
>What I would like to know is "Is there any problem if I will use 
DDR-400

> MHz
> with mainboard Asus P4B533. Any comment is welcome.

If I read specifications at the end of
http://usa.asus.com/mb/socket478/p4b533/overview.htm correctly, this
motherboard does not support DDR-400 (PC3200) memory.

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


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


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


P4B533 vs DDR Ram 400 MHz

2005-06-03 Thread Supote Lee



Hi,

Yes, it's so if you refer to Asus official website. But today I've
just added
such memory into a P4B533 box at my office. It can bootup and has no
problem today so I think that I can't totally believe its document on
Asus's web site - Must give them a try.

But I want to know that "is there any issue in the LONG
TERM".



Apart from it not being supported by Asus ?

Considering the fact that DDR-400 will simply run on a lower frequency
and possibly not quite-so-good performance as you would expect from a
DDR-400 stick, I don't expect any problems.

It's backwards compatible.

Gr,

Nils.


Hi all

  What if I using both of them together ? I mean using both
DDR-266 and DDR-400 at the same time. Can I ?


pjn

_
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


Bridging and IPFW

2005-06-03 Thread Supote Lee


  I'm not so sure about your case. But as for as I know, all coming 
traffics
catch the first rule ( as you stated .. any MAC any) before the second 
one
so only the counter of the first rule is increment. No more for the second 
rule.


pjn


Yes and no. In any case, I have tried assigning them different rule 
numbers

but it doesn't change anything. Second one still doesn't get looked at.



George


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


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


What do this wired dmesg mean ?

2005-06-05 Thread Supote Lee

Hi list,

  I have a box for apache webserver and running fine for
years. Today I've just found the kernel message below:

--- snipped ---
/kernel: ata1-slave: ATA identify retries exceeded
/kernel: ata1-master: ATA identify retries exceeded

xl0: transmission error: 90
xl0: tx underrun, increasing tx start threshold to 120 bytes
xl0: transmission error: 90
xl0: tx underrun, increasing tx start threshold to 180 bytes
--- snipped ---

 Could anybody tell me what wrong is this box ?

TIA
pjn

_
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


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


why can't I get FreeBSD-RELEASE-p14 with this cvsup file ?

2004-03-07 Thread Supote Leelasupphakorn
Hi all

   I've cvsup with below supfile. After finished,
The file:/usr/src/sys/conf/newvers.sh say 

#   @(#)newvers.sh  8.1 (Berkeley) 4/20/94
# $FreeBSD: src/sys/conf/newvers.sh,v 1.44.2.29.2.15 2003/11/27
16:34:21 nectar Exp $

TYPE="FreeBSD"
REVISION="4.8"
BRANCH="RELEASE-p14"
RELEASE="${REVISION}-${BRANCH}"
VERSION="${TYPE} ${RELEASE}"

   Even I specificed date in supfile (the date is from Security
Advisory: FreeBSD-SA-04:02.shmat), it's RELEASE-p14 not
RELEASE-p15. Why and how do I get previous branch of source
tree.

##
# My supfile.
##
*default host=cvsup2.jp.freebsd.org
*default base=/usr/local/etc
*default prefix=/usr
*default release=cvs date=2004.02.04.18.01.18 tag=RELENG_4_8
*default delete use-rel-suffix
*default compress
src-all



Any help is appreciated.
Pote,



Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: why can't I get FreeBSD-RELEASE-p14 with this cvsup file ?

2004-03-08 Thread Supote Leelasupphakorn
Hi, Kris

   My objective is I want to get FreeBSD security branch
( 4.8-RELEASE-p15 ) and as the Security Advisory in
www.freebsd.org
(ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-04:02.shmat.asc)
stated that source tree after 2004-02-04 18:01:18 is corrected
so I specified above date in supfile but still get only
4.8-RELEASE-p14. Why isn't it 4.8-RELEASE-p15 ?

TIA,
Pote


 --- Kris Kennaway <[EMAIL PROTECTED]> wrote: > On Mon, Mar
08, 2004 at 07:16:36AM +, Supote
> Leelasupphakorn wrote:
> > Hi all
> > 
> >I've cvsup with below supfile. After finished,
> > The file:/usr/src/sys/conf/newvers.sh say 
> > 
> > #   @(#)newvers.sh  8.1 (Berkeley) 4/20/94
> > # $FreeBSD: src/sys/conf/newvers.sh,v 1.44.2.29.2.15
> 2003/11/27
> > 16:34:21 nectar Exp $
> > 
> > TYPE="FreeBSD"
> > REVISION="4.8"
> > BRANCH="RELEASE-p14"
> > RELEASE="${REVISION}-${BRANCH}"
> > VERSION="${TYPE} ${RELEASE}"
> > 
> >Even I specificed date in supfile (the date is from
> Security
> > Advisory: FreeBSD-SA-04:02.shmat), it's RELEASE-p14 not
> > RELEASE-p15. Why and how do I get previous branch of source
> > tree.
> > 
> > ##
> > # My supfile.
> > ##
> > *default host=cvsup2.jp.freebsd.org
> > *default base=/usr/local/etc
> > *default prefix=/usr
> > *default release=cvs date=2004.02.04.18.01.18 tag=RELENG_4_8
> > *default delete use-rel-suffix
> > *default compress
> > src-all
> 
> What are you trying to do?  You have specified a date to cvsup
> to, so
> you'll get the contents of the source tree at that point in
> time.  If
> you want a later date, specify it, or just don't specify a
> date at all
> if you want the latest revision on that branch.
> 
> Kris
> 

> ATTACHMENT part 2 application/pgp-signature 
 


Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: why can't I get FreeBSD-RELEASE-p14 with this cvsup file ?

2004-03-08 Thread Supote Leelasupphakorn

> You're specifying a date string right down to the precise
>second that
> the patches were applied to the tree, which I think is
confusing
> cvsup, and getting you the state of things just before the
update.
> All you need to do is specify a date *after* the patches went
> into the
> tree, but before the next set of patches.  Try:

> date=3D2004.02.05.12.00.00

> The next commits to RELENG_4_8 were as a result of
> FreeBSD-SA-04:04.tcp.asc, which went into the tree at
2004-03-> 02
> 17:27:47 UTC so you're no danger of overshooting and getting
> 4.8-RELEASE-p16.
>
>   Cheers,
>
>   Matthew



To... Matthew

   Recently, I used below supfile (date after corrected date
stated in Security Advisory but I can't get the branch I
would like to get (4.8-RELEASE-p15). Anyway I can get most
updated
branch version (4.8-RELEASE-p16). Is it the my system date/time
issue ?


*default host=203.170.198.61
*default base=/usr/local/etc
*default prefix=/usr1
*default release=cvs date=2004.02.05.12.00.00 tag=RELENG_4_8
*default delete use-rel-suffix
*default compress
src-all


TIA,
Pote


Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


CVSup issue (again) !

2004-03-09 Thread Supote Leelasupphakorn
To... Matthew


   As we concerned yesterday, I've experiment cvsup many time
and noticed that I must specific 

  *date=release=cvs date=2004.02.05.18.01.18 tag=RELENG_4_8

(which is one day after "Security Advisory" annouced)
in supfile so I will got 4.8-RELEASE-p15 as I want and it
matched with this line in file:src/sys/conf/newvers.sh

  $FreeBSD: src/sys/conf/newvers.sh,v 1.44.2.29.2.16 2004/02/05
18:01:18 nectar Exp $

but as you can see the "Security Advisory" said

 Security Advisory 
Topic:  shmat reference counting bug

Category:   core
Module: kernel
Announced:  2004-02-05
Credits:Joost Pol <[EMAIL PROTECTED]>
Affects:All FreeBSD releases
Corrected:  2004-02-04 18:00:40 UTC (RELENG_4)
2004-02-04 18:00:47 UTC (RELENG_5_2,
5.2-RELEASE-p2)
2004-02-04 18:00:55 UTC (RELENG_5_1,
5.1-RELEASE-p14)
2004-02-04 18:01:03 UTC (RELENG_5_0,
5.0-RELEASE-p20)
2004-02-04 18:01:10 UTC (RELENG_4_9,
4.9-RELEASE-p2)
2004-02-04 18:01:18 UTC (RELENG_4_8,
4.8-RELEASE-p15)
2004-02-04 18:01:25 UTC (RELENG_4_7,
4.7-RELEASE-p25)
CVE Name:   CAN-2004-0114
FreeBSD only:   NO

   Why is the date from file:src/sys/conf/newvers.sh is one day
delay from
the "Secuiry Advisory" or I missed something ?



TIA,
Pote




Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Ask about software package system issue.

2004-03-16 Thread Supote Leelasupphakorn
To... All

   How I know which software package is for
freebsd-5 or freebsd-4 ?

TIA,
Pote


Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: MYSQL startup error

2004-03-18 Thread Supote Leelasupphakorn
 --- Gareth Bailey <[EMAIL PROTECTED]> wrote: > I am running
5.2 Release, and have recently installed
> mysql-4.0.18 server. I
> first made a default install by issuing the following commands
> in the port:
> 
> $ make
> # make install
> $ cd /var/db/mysql && mysql_db_install
> 
> Worked perfectly when i started up with:
> $ mysqld_safe &
> 
> Then i decided i wanted to reinstall with DB_DIR=/usr/db/mysql
> I made deinstall and clean in the port. I removed the /var/db
> directory
> manually. I then did the following in an attempt to install
> the DB_DIR in
> /usr/db/mysql:
> 
> # mkdir /usr/db/mysql
> # chown -R mysql /usr/db
> #chgrp -R mysql /usr/db
> $ make DB_DIR=/usr/db/mysql
> # make DB_DIR=/usr/db/mysql install
> 
> I encountered the following two problems:
> 
> 1. Crontab complained with the following message:
> 
> "mkdir: /var/db/entropy: Permission denied
> /usr/libexec/save-entropy[45954]: The entropy directory
> /var/db/entropy does
> not exist, and cannot be created. Therefore no entropy can be
> saved."
> 
> I solved this by creating /var/db/entropy and chowned and
> chgrped to mysql
> (don't know if that was right.)
> 
> 2. I can't start mysqld_safe using command 'mysqld_safe &'. I
> get the
> following errors...
> 
>  when i try as normal user:
> "/usr/local/bin/mysqld_safe: cannot create
> /usr/db/mysql/server.err:
> Permission denied"
> 
> when i try from  root:
> "server# Starting mysqld daemon with databases from
> /usr/db/mysql
> 040318 09:51:58  mysqld ended"
> 
> I had a look at server.err in /usr/db/mysql and i found the
> following line:
> 
> "040318  9:51:56  Fatal error: Can't open privilege tables:
> Can't find file:
> './mysql/host.frm' (errno: 13)"
> 
> Please advise. Any assistance will be very much appreciated.
> Thank you
> Gareth

After you re-install, have you run the script: mysql_db_install 
again ? That script is for prepare core database in data 
directory (in this case is /usr/db/mysql) and then don't forget
to chown and chgrp /usr/db/mysql as well.






Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


How can I log message via syslog ?

2004-03-18 Thread Supote Leelasupphakorn
Hi, all

   Sorry for my Englist. I have a shell script let say
script.sh and I would like to log logging message for
that script by using syslog. What're step accomplish this
this and how syslog look like ?

TIA,
Pote


Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 4.7 release

2004-03-18 Thread Supote Leelasupphakorn
 --- Jeronimo Romero <[EMAIL PROTECTED]> wrote: > 
> 
> Does anyone know where 4.7 released iso can be obtained
> from???
> I checked the main ftp site at freebsd.org and only 4.8 was
> available...
> 
> Any hints would be appreciated. Thanks.
> 

To...Jeronimo Romero

   What's the reason that you want to install the previous 
version ( vulnerabilities ) I don't know but if you really
need them I suggest you CVSup from the CVSup server using below
supfile.

--- cut here ---
*default host=203.170.198.61
*default base=/usr/local/etc
*default prefix=/usr1
*default release=cvs tag=RELENG_4_7_0_RELEASE
*default delete use-rel-suffix

*default compress

src-all

--- cut here ---

then
# cvsup 

Pote


Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


why can't I implement syslog ?

2004-03-19 Thread Supote Leelasupphakorn
Hi all,

   I would like to log my message by using syslog so I altered
/etc/syslog.conf like below (kill and re-start syslogd as well)

# file: /etc/syslog.conf 
-- snip ---

local1.debug/var/log/myScript.log


  and in a shell script I use 

# /usr/bin/logger -i -p local1.debug -t myScript "this is a
testing log message."

after I run above script nothing  to file:/var/log/myScript.log.
Why not or
I miss something ?


TIA,
Pote

=

-
   Pote :-)
   [EMAIL PROTECTED]
-


Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


How can I do this on DHCP server ?

2004-03-20 Thread Supote Leelasupphakorn
Hi list,

   I've set up a DHCP server but I'd like to know
which address (from address pool) hasn't assigned
to any machine. Is there command line to accomplish
this.

PS. I use ISC-DHCP v.3 installed from ports.

TIA,
Pote


Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: FreeBSD 4.9 freezes

2004-03-21 Thread Supote Leelasupphakorn
To...

   Have you tried press "SCROLL LOCK" once ? Maybe during
your "make" running, you unintendly pressed such button
so your keyboard is locked. Try to press "SCROLL LOCK" again.

Cheers,
Pote

 --- "Jesse A. Coddington" <[EMAIL PROTECTED]> wrote: >
Here's an example of what happens.
> 
>  
> 
> ns1# top
> 
>  
> 
> last pid:   153;  load averages:  0.00,  0.00,  0.00
> up 0+00:19:34  01:10:31
> 
> 20 processes:  2 running, 18 sleeping
> 
> CPU states:  0.0% user,  0.0% nice,  0.0% system,  0.0%
> interrupt,  100%
> idle
> 
> Mem: 6164K Active, 11M Inact, 24M Wired, 4K Cache, 5072K Buf,
> 1449M Free
> 
> Swap: 1500M Total, 1500M Free
> 
>  
> 
>   PID USERNAME PRI NICE  SIZERES STATETIME   WCPU   
> CPU COMMAND
> 
>   135 root  28   0  1904K  1180K RUN  0:00  0.00% 
> 0.00% top
> 
>   119 jesse 28   0  5708K  2468K RUN  0:00  0.00% 
> 0.00% sshd
> 
>   121 root  18   0  1280K   960K pause0:00  0.00% 
> 0.00% csh
> 
>   117 root   2   0  5708K  2408K sbwait   0:00  0.00% 
> 0.00% sshd
> 
>85 root   2   0  3052K  2204K select   0:00  0.00% 
> 0.00% sendmail
> 
>71 root   2   0   984K   712K select   0:00  0.00% 
> 0.00% syslogd
> 
>80 root  10   0  1024K   768K nanslp   0:00  0.00% 
> 0.00% cron
> 
>   120 jesse 10   0   636K   444K wait 0:00  0.00% 
> 0.00% sh
> 
>   109 root   3   0   952K   656K ttyin0:00  0.00% 
> 0.00% getty
> 
>   112 root   3   0   952K   656K ttyin0:00  0.00% 
> 0.00% getty
> 
>   115 root   3   0   952K   656K ttyin0:00  0.00% 
> 0.00% getty
> 
>   113 root   3   0   952K   656K ttyin0:00  0.00% 
> 0.00% getty
> 
>   116 root   3   0   952K   656K ttyin0:00  0.00% 
> 0.00% getty
> 
>   111 root   3   0   952K   656K ttyin0:00  0.00% 
> 0.00% getty
> 
>   110 root   3   0   952K   656K ttyin0:00  0.00% 
> 0.00% getty
> 
>   114 root   3   0   952K   656K ttyin0:00  0.00% 
> 0.00% getty
> 
>82 root   2   0  3012K  2108K select   0:00  0.00% 
> 0.00% sshd
> 
>88 smmsp 18   0  2932K  2208K pause0:00  0.00% 
> 0.00% sendmail
> 
>78 root   2   0  1056K   704K select   0:00  0.00% 
> 0.00% inetd
> 
>26 root  18   0   212K96K pause0:00  0.00% 
> 0.00% adjkerntz
> 
>  
> 
>  
> 
> ns1# top
> 
>  
> 
> This will just sit there and do nothing.  This isn't just
> limited to top.
> It's stopped responding while doing makes of ports, cvsuping,
> etc.
> 
>  
> 
> Thank you,
> 
> Jesse A. Coddington



Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: maxproc is automatically adjusted?

2004-03-23 Thread Supote Leelasupphakorn
 --- Mipam <[EMAIL PROTECTED]> wrote: > Hi,
> 
> I noticed that kern.maxproc was different than i expected.
> Same goes for maxusers. It seems FreeBSD sizes these values
> according to
> your system? I couldnt find any info upon this, whether this
> is happening
> and how and on bases upon what it sizes these sysctl's.
> Can anybody give me more info on this?
> Bye,
> 
> Mipam.


To...

   See file LINT on your src tree
there are some explanation about that.

Maybe this help,
Pote



Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Why can't I mount NFS ?

2004-03-31 Thread Supote Leelasupphakorn
Hi all,

   I want to export 
1. /mnt/xx/aa
2. /mnt/xx/bb
3. /mnt/xx/cc

from machine:A to machine:B. On B I can mount /mnt/xx/aa and
/mnt/xx/bb successful except /mnt/xx/cc, why or I missed 
something ? Below is some information may be useful.

--- /etc/export on machine:A ---
/mnt/xx/aa   -ro,quiet   B
/mnt/xx/bb   -ro,quiet   B
/mnt/xx/cc   -ro,quiet   B

--- output of `df -lh` on machine:A ---
/dev/ad1s1e   110G29G73G28%/mnt/xx/aa
/dev/ad2s1e   110G29G72G29%/mnt/xx/bb


TIA
Pote


Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


How can I remove this file ?

2004-04-09 Thread Supote Leelasupphakorn
Hi lists

  How can I delete file named prefix with "-" ?

TIA
Pote



Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


How can I correct this in postfix ?

2004-04-15 Thread Supote Leelasupphakorn
Hi lists,

   I use postfix as my mail server, and today, from output
of command "postqueue -p" I saw one mail unable to send out.
I found that the destination of email is correct and I want
to correct this. How can I do that ? Anybody know ?

TIA,
Pote


Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How can I correct this in postfix ?

2004-04-16 Thread Supote Leelasupphakorn
Hi Will,

   The destination address I saw from the output of command
"postqueue -p" is "[EMAIL PROTECTED]" so I think it's must be
sender's typo and I wound like to correct to, absolutely yes,
"[EMAIL PROTECTED]".

   I try to alter the queue file in /var/spool/postfix (spool
directory of postfix) then flush mail queue with "postqueue -f"
and I saw the logging message in /var/log/message say below


Apr 16 11:45:54 arch-lab postfix/showq[90136]: warning:
deferred/6/632EA43B: unexpected EOF in data, record type 0
length 114
Apr 16 11:46:02 arch-lab postfix/qmgr[192]: 632EA43B:
from=<[EMAIL PROTECTED]>, size=1923, nrcpt=1 (queue active)
Apr 16 11:46:02 arch-lab postfix/qmgr[192]: warning:
active/6/632EA43B: unexpected EOF in data, record type 0 length
114
Apr 16 11:46:02 arch-lab postfix/qmgr[192]: warning: 632EA43B:
envelope records out of order
Apr 16 11:46:02 arch-lab postfix/qmgr[192]: warning: saving
corrupt file "632EA43B" from queue "active" to queue "corrupt"

   I mean I've just corrupted queue file. So I'd like to know
the elegant method to correct something in queue file. Do you
know one ?


TIA,
Pote

 --- Bill Campbell <[EMAIL PROTECTED]> wrote: > On Fri, Apr
16, 2004, Supote Leelasupphakorn wrote:
> >Hi lists,
> >
> >   I use postfix as my mail server, and today, from output
> >of command "postqueue -p" I saw one mail unable to send out.
> >I found that the destination of email is correct and I want
> >to correct this. How can I do that ? Anybody know ?
> 
> Why isn't it going out?  Often this is a inaccessible MX
> server
> or bad DNS.
> 
> Bill



Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: DNS question...

2003-08-19 Thread Supote Leelasupphakorn
Hi, 

Have you try "host" command ?

  host 

Maybe DNS takes a couple day for propagation.
If this is the case try later in next 2-3 days.

Cheers,
 --- Xpression <[EMAIL PROTECTED]> wrote: > Hi list, I'm
getting a problem with my DNS, I'm running 4.7 +
> named, the
> config files are teorically well, but when I tried to get
> access from
> outside (of the network) to my ftp site, no returns records,
> when I tried
> with the real IP, everything's fine, any suggestion...???
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]" 


Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: IP Problems

2003-08-21 Thread Supote Leelasupphakorn

 --- Ben Dover <[EMAIL PROTECTED]> wrote: >OK, this
is difficult to explain and my problem is probably
> bigger than 
> what I have found but here goes.  I have a dedicated 5.1
> FreeBSD box and 
> when I did a dmesg I received a repeating message as follows:
> arplookup 66.246.xx.1 failed: host is not on local network
>This peaked my curiosity so I pinged the bank of IP's I
> have in the range 
> of that IP and I was able to ping them with a response.
>Something quick I can do to test to see if the IP will bind
> is compile an 
> IRC bouncer.  I found the bouncer would not bind to the IP
> 66.246.xx.185 as 
> a normal account user and the bouncer would not function.  If
> I SU to root 
> and start the bouncer the IP would bind and the bouncer would
> function 
> correctly.  It should be noted that the bouncer was compiled
> as the normal 
> account user.
>I have two different sets of IP's on my box and I have
> added them in the 
> rc.conf in the following way:
> ifconfig_sis0_alias10="inet 209.123.xx.200 netmask
> 255.255.255.255"
> ifconfig_sis0_alias11="inet 66.246.xx.185 netmask
> 255.255.255.255"
>Do I have the IP's added wrong in rc.conf?  What am I doing
> wrong? Why do 
> I receive the dmesg which appears to be an error?  Any
> assistance would be 
> appreciated.

Hi, Ben

   What's the output of command "netstat -nr" ?

Cheers,



Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How can I subnetting my network ?

2003-08-23 Thread Supote Leelasupphakorn
 --- Lowell Gilbert <[EMAIL PROTECTED]>
wrote: > Supote Leelasupphakorn <[EMAIL PROTECTED]> writes:
> 
> >If I will assign public IP address to all 
> >interfaces, is it neccessary that I must
> >inform the upstream router's administrator 
> >to add my subnet in routing table of upstream
> >router ?
> 
> Yes; if you actually "own" your own subnet and the upstream
> administrator will agree to route it at all.
> 
> If not, you'll need NAT.
> ___


   If I can't tell the upstream router's administrator,
is there other way to make all of client behind firewall
to able to comminucate with other on internet.

Thanks in advance,
Pote





Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


How DBA solved overload problem ?

2003-09-18 Thread Supote Leelasupphakorn
To all,

   As a newly DBA, I really don't know how I deal with
this problem. My problem is not so long ago, my database
server seem to overloaded. It take me a time to find
the cause of problem. I realize that some program don't
queried wiht inappropriated SQL statement. I mean they're
not efficient one.

AS DBA how do you solved this problem?

Thanks in advance,


Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Problem with adding more swap !

2003-10-13 Thread Supote Leelasupphakorn
Hi, all

   The documents on freebsd's website suggest that,
as a system grows, it's recommended for adding more
swap paritition to system. My questions are: Does
it mean adding another swap to disk or to slice ?


The disk structure: 

ad0s1 --> ad0s1a   /  (boot from here)
  --> ad0s1b   swap
  --> ad0s1e   /var
  --> ad0s1f   /tmp
  --> ad0s1g   /usr

ad0s2 --> ad0s2e   /usr1  (data)

Do I need to add another swap partition as "ad0s2b" ?

TIA,
pjn



Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problem with adding more swap !

2003-10-13 Thread Supote Leelasupphakorn
Hi, 

  I've heard if there are many disks on one machine
it's good (in respect of performance) for adding swap
parition on multiple drive, what does this mean
(if that's true) ?

  My box has six IDE drives two on primary, two on 
secondary and two connected via IDE controller.

TIA,
pjn


 --- Jerry McAllister <[EMAIL PROTECTED]> wrote: > > 
> > Hi, all
> > 
> >The documents on freebsd's website suggest that,
> > as a system grows, it's recommended for adding more
> > swap paritition to system. My questions are: Does
> > it mean adding another swap to disk or to slice ?
> > 
> > 
> > The disk structure: 
> > 
> > ad0s1 --> ad0s1a   /  (boot from here)
> >   --> ad0s1b   swap
> >   --> ad0s1e   /var
> >   --> ad0s1f   /tmp
> >   --> ad0s1g   /usr
> > 
> > ad0s2 --> ad0s2e   /usr1  (data)
> > 
> > Do I need to add another swap partition as "ad0s2b" ?
> 
> Hmmm.   I am not quite sure why you would have made two
> separate
> slices on the one disk for FreeBSD instead of having another
> partition on slice-1, but...
> 
> Anyway, what do you mean 'as a system grows'?   Unless you
> have some
> very memory hungry applications or large numbers of processes
> that 
> hang around but don't really need a lot of processor time,
> generally 
> you figure swap size needs by memory size.   You want at least
> more
> than your physical memory and 2X to 2-1/2X physical memory is
> the
> typical rule of thumb.   If you already meet that, don't worry
> about,
> unless you have some other indication that you are running out
> of
> combined memory/swap (page) space.   NOTE that the virtual
> memory
> system uses swap space for its paging.  Typically, not much
> actual
> swapping really happens, though it can if there are a lot of
> processes
> not doing anything.
> 
> You can make a file pretty much anywhere there is room and set
> things
> up to swap to it, but that should be considered only a
> temporary solution.   
> The better thing is to make either a larger s1b or make an s2b
> partition 
> for swap (or add a disk - ad1s1b, + whatever) as you say.
> 
> In either case (enlarging s1b or making an s2b), unless you
> have space
> left in one of those slices that you did not already use up in
> the
> existing partitions,  it means redoing the filesystems already
> on the 
> slice.  That means backing up everything on the slice,
> repartitioning, 
> newfsing and restoring everything.  So, given this, it would
> probably 
> be a good time to rethink your whole disk layout and go from
> there.
> Maybe it would also be a good time to go to an additional or
> larger
> disk as well.
> 
> jerry
> 
> > 
> > TIA,
> > pjn 


Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Have anyone seen this benchmark ?

2003-10-20 Thread Supote Leelasupphakorn
Hi, all

  I saw this on www.OsNews.com
(http://bulk.fefe.de/scalability/)
but no FreeBSD_4. Is there any benchmark between linux-2.6 and
FreeBSD_4 in various aspects.

Or any comments are welcome,
pjn


Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


what dose the command "chflags" used for ?

2003-06-18 Thread Supote Leelasupphakorn
Dear all,

   Because we have the command "chmod" for change the
permissions of
files so what does the command "chflags" used for and
what suituation 
I must use it ?

Thanks in advance,


Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: what dose the command "chflags" used for ?

2003-06-18 Thread Supote Leelasupphakorn
>> Dear all,
>> 
>>Because we have the command "chmod" for change
the
>> permissions of
>> files so what does the command "chflags" used for
and
>> what suituation 
>> I must use it ?

>chflags is used to set system flags on files you
don't want to be
>modified accidentally - most commonly the 'noschg'
flag stops a file
>from being deleted by a normal user.

>See the man page for more details, and also the -o
option to 'ls' (which
>shows flag settings for files.

but "chmod 600  do the same thing why does
"chflags" come to play ?


Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


what does /dev/ad0s use for ?

2003-06-19 Thread Supote Leelasupphakorn
Hi, all 

  In addtion to files named /dev/ad0sX (where "x" is
slice number) in /dev
those I can mount it usually, there is "/dev/ad0s1"
(has no partition label).

  My question is when and what this device file is use
for?

Thanks for any explaination.



Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Granting access on MySQL

2003-06-22 Thread Supote Leelasupphakorn
> Hello,

> I need to grant a user access to a database. How can
I do it?

> This is what I've tried:

> mysql> grant all on databasename.* to username;

> I got no error messages, but I after connecting as >
the user, I couldn't use the database.

Hi,
  Finally, don't forget to "flush privileges" or
restart
your mysql daemon after you granted permissions.

Cheer,



Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Why must I use firewall ?

2003-06-24 Thread Supote Leelasupphakorn
Hi, all

   So far, I known firewall is a choice when I want 
to protect my boxes from crackers but my question is
if I closed the service I don't use (such as port 25
for STMP) so the cracker out there can't attack,
what's the reason "firewall" come to play ?

Thanks in advance,


Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Help: can't send email from my box.

2003-06-25 Thread Supote Leelasupphakorn
Hi, all

I have tried below

  echo "this is my testing email" | mail -s "1st mail" [EMAIL PROTECTED]

but no luck. /var/log/maillog show me that 

[EMAIL PROTECTED], ctladdr=pjn (1001/1001), delay=00:00:00, xdelay=00:00:00,
mailer=relay, pri=30040, relay=localhost.mytestdomain.com [127.0.0.1],
dsn=4.0.0, stat=Deferred: Connection refused by localhost.mytestdomain.com

My question are
1. Is it possible for sending emails from the host that hasn't run "sendmail"
on it.
2. It seem "mail" try to connect SMTP on localhost.mytestdomain.com.  If I want
"mail" connect to SMTP on the remote host (@mydomain.com's mail server),  or
say I want to change my "outgoing mail host". How can I do this ?

Thanks in advance,




Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: SSH login banner: IP address instead of DNS name

2003-07-01 Thread Supote Leelasupphakorn
> Hi again. When I SSH into my 4.8 box, the first line of the banner is:
> Last login: Mon Jun 30 19:31:44 2003 from 15-characters-of-a-host-name
> That DNS name is truncated to 15 characters. I would much prefer an 
> IP address. What do I need to change to get this?

> --Paul Hoffman

You can alter sshd's banner at the directive named "Banner"
in the file "c/sshd/sshd_config".

Cheer,




Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


how many bytes send out of my box?

2003-07-08 Thread Supote Leelasupphakorn
  Can I find out how many byte my box is
send out via each ethernet interface?

Thanks in advance,


Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Can vi edit binary file in hex format?

2003-07-08 Thread Supote Leelasupphakorn
   Is there option that enable standard vi (accompany wiht FreeBSD)
for editing binary file in hex format ?

Thanks in advance,



Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Can't get splash scr working - arg

2003-07-10 Thread Supote Leelasupphakorn
In-Reply-To: <[EMAIL PROTECTED]>
References:  <[EMAIL PROTECTED]>

Hi,

   Have you edited /boot/loader.conf (see loader.conf(5))
and include the following lines:

   splash_bmp_load="YES"
   bitmap_load="YES"
   bitmap_name="mysplash.bmp"

for more information refer to 'man splash'

GoodLuck, 



Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Can't get splash scr working - arg

2003-07-14 Thread Supote Leelasupphakorn
 --- Kevin Berrien <[EMAIL PROTECTED]> wrote: > 4.8 has the following
> 
> /boot/loader.conf
> /boot/defaults/loader.conf
> 
> I edited both, and configured both individually.. with no success.
> 
> :::sample from /boot/loader.conf
> 
> userconfig_script_load="YES"
> splash_bmp_load="YES"
> bitmap_load="YES"
> bitmap_name="splash.bmp"
> 
> :::sample from /boot/defaults/loader.conf
> 
> loader_conf_files="/boot/device.hints /boot/loader.conf 
> /boot/loader.conf.local /boot/nextboot.conf"
> 
> verbose_loading="NO"# Set to YES for verbose loader output
> 
> 
> ##
> ###  Splash screen configuration  
> ##
> 
> splash_bmp_load="YES"# Set this to YES for bmp splash screen!
> splash_pcx_load="NO"# Set this to YES for pcx splash screen!
> vesa_load="NO"# Set this to YES to load the vesa module
> bitmap_load="YES"# Set this to YES if you want splash
> bitmap_name="/boot/splash.bmp"# Set this to the name of the bmp or pcx
> file
> bitmap_type="splash_image_data"
> 
> Like I said, tried every combination, the stuff off that well know 
> splash website (refers to 3.2) and some of the oddities with 5.0 
> (placement of bitmap file).
> 
> Anyone have any suggestion?  Install is stock 4.8-Stable except for a 
> slimmed down kernel I compiled.  I'm not aware of any kernel option 
> related to the slash.  Also, is there a way I can get a verbose logging 
> of the boot process so I can track this down.  Not that it's a big deal, 
> but when I dig into a new OS like this, if I can't do it - I make my 
> self succeed in order to learn the os better, or toss it aside as 
> non-mature.
> 

  According to the comment in file "/boot/defaults/loader.conf", the file 
"/boot/defaults/loader.conf" must be untouched but edit whatever you want in
"/boot/loader.conf" instead.

  I recommend you should restore the original version of
"/boot/defaults/loader.conf" first, append vesa_load="YES" line in 
your /boot/loader.conf and use only 320*200 size of images (according to 'man 
splash') such as

--> /boot/loader.conf

userconfig_script_load="YES"
vesa_load="YES"
splash_bmp_load="YES"
bitmap_load="YES"
bitmap_name=""

After done, it must be work for you.
Cheer,
  




Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: firewall

2003-07-14 Thread Supote Leelasupphakorn
 --- RYAN vAN GINNEKEN <[EMAIL PROTECTED]> wrote: 
> ipfw /etc/rc.fw4
> gives me
> ipfw: bad arguments, for usage summary ``ipfw''
> 
> need to start my firewall without rebooting
> 
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]" 

  Sorry that I can't help you now but it would better if you show the content
of file: /etc/rc.fw4 too.

Try to post again,



Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Make buildworld failure...no inodes free! Do I have to pay?

2003-07-15 Thread Supote Leelasupphakorn
 --- [EMAIL PROTECTED] wrote: > Hi all,
> Damn mbworld failed.
> I did note that after dropping to su mode fsck -p
> did not much more than
> reports
> /dev/ad0s1a :NO WRITE ACCESS
> /dev/ad0s1A :UNEXPECTED INCONSISTENCY ;RUN FSCK
> MANUALLY
> 
> Then the script from makebuild showed up
> usr : create/symlink failed, no inodes free
> Then the wheels fell of the wagon!
> 
> I tried fsck / but NO WRITE still
> I tried mount -a /
> then fsck /
> But no dice...
> If only I knew what the... I was doing.
> Help required and gratefully acknowledged
> 
> Keith
> 


   This is not much useful but perhaps give you the
direction.

   It seems size of / (root partition) is too small.
Try to delete the unused files there. You can see your
number of free inode(in %) from the output of 
command "df -i". 

Cheers,

 



Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /var/run/ pid files

2003-07-15 Thread Supote Leelasupphakorn
 --- Ronny Hippler <[EMAIL PROTECTED]> wrote: >
Hello,
>   What controls the creation of the pid files in the
> /var/run/ directory? 
> every time I shut down I get the error: bftpd.pid:
> No such file or directory
> therefore I am not getting a clean shutdown on
> bftpd, no biggie but annoying. I 
> am starting this via /usr/local/etc/rc.d/bftpd.sh
> which is below. when I look in 
> /var/run/ there obviously is no pid file but there
> is a bftpd directory which is 
> empty. Is this an error in the script or in the
> program? TIA
> 
> #!/bin/sh -
> 
> #initialization/shutdown script for bftpd
> 
>case "$1" in
>start)
>/usr/local/sbin/bftpd -d && echo
> -n ' bftpd'
>;;
>stop)
>kill `cat /var/run/bftpd.pid` &&
> echo -n ' bftpdf'
>;;
>*)
>echo "unknown option: $1 - should
> be 'start' or 'stop'" >&2
>;;
>esac
> 
> 
> 
> 
> 
Hi, 

   Let me guest the application you was running(bftpd)
is the one installed from port. Find out who is
MAINTAINER
(found in Makefile of each port) and let he knows.

Cheer,



Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: help

2003-07-19 Thread Supote Leelasupphakorn
 --- Palash Agarwal <[EMAIL PROTECTED]> wrote: > I
am having trouble finding the download location
> for freebsd. I have
> searched the ftp site but i do not know which file
> to download. I am also
> unable to access the readme's in the ftp server.
> Please help me!
> ___

Hi, 

   Hearing that you would like to start learning
freebsd but no one help is truly saddens me.
If you have bootable-CDROM drive and are planning to
install via CDROM, here is the
bootable CDROM image file.

ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/
(for i386 or IBM compatible)
ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/
(for UltraSPARC®)


There are many versions of freebsd image file.
Depending to your hardware and which version 
you would like to install.


Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Ask about BSD's history.

2003-07-20 Thread Supote Leelasupphakorn
Hi, all

   I'm now interested in BSD's history and have read
some of article from INTERNET. But because English 
isn't my mother language so I havn't cleared
in the point of 

  1. What is the result of lawsuit between BSDi (maybe
include UC Berkeley) and USL in the early of 1970s ?
  2. The article I've read talk about six files.
What's
the matter ?
  3. and anything else you would like to tell anyone.

Could anyone explain me ? (Plain English is
appreciated)
Thanks in advances,



Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Ask about BSD's history.

2003-07-20 Thread Supote Leelasupphakorn
I read from
http://www.extremetech.com/article2/0,3973,555398,00.asp.

Thank you very much,



Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Can I subnet my network like this ?

2003-07-30 Thread Supote Leelasupphakorn
Hi, all

   I would like to verify my knowledge
by building the network like below but not
sure whether it's impossible for subnetting
like this - say, from Gateway no2, is divided
to 172.16.0.0/16 and 172.17.0.0/16 subnet.

   I heard that it isn't recommend or
impossible (not sure again) to use FIRST or
LAST subnet in the allocated IP address pool,
is it?

  Section no.1 is existed and I own the Gateway no.2.
My plan is enable NAT on it by following the
instruction in FreeBSD handbook. Any comments are
welcome.

  
   |
   | if_1 = 202.xx.xx.xx
  |---||
  | Gateway no.1  || section 1
  |---||
   | if_2 = 10.0.0.1   |
   | 
   |   |
   | if_1 = 10.0.0.254 |
  |---| if_2 = 172.16.0.1/16   | section 2
  | Gateway no.2  ||
  |---||
   | if_3 = 172.17.0.1/16  |
   |   |


Thanks in advance,



Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problem mounting hdd?

2003-08-14 Thread Supote Leelasupphakorn
 --- mdm mdmd <[EMAIL PROTECTED]> wrote: > Ok i have
freebsd 5.0, and its on a hdd with 2.5 gigs and im
> trying to mount my slave drive that has and msdos filesystem
> with 30 gigs on it.  I use the command mount_msdosfs
> /dev/ad1s1 /slave, but it gives me an error saying something
> about next free block in fsinfo is too large.  I dont remember
> the exact message right now but if you need it i can get it. 
> I used to have RH linux on this and i could mount fine but i
> just switched to freebsd and im not familiar with it yet.  If
> anyone could help id very much appreciate it.
>  
> Thanks,
> pyrodrummer

hi, pyrodrummer

  I see no one reply your message so I think it'd better if
you show exactly the message you saw and/or include the
output of command "fdisk /dev/ad1" too.

Pote



Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Can't delete files after mergemaster.

2003-06-09 Thread Supote Leelasupphakorn
Hello,

   I've already MERGEMASTERed due to updating from 
FREEBSD-4.7 to FREEBSD-4.7-p10. My question is why I 
could't delete /var/tmp/temproot. No matter what's 
about permission because I logged as root.

   What is deny root from delete file ?

Pote

__
Yahoo! Plus - For a better Internet experience
http://uk.promotions.yahoo.com/yplus/yoffer.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Is it neccessary for sending mail from php ?

2003-06-10 Thread Supote Leelasupphakorn
Hello,

   I've install apache+php and would like to use
function:mail() in php to sendmail from my
box(Freebsd). My question is, is it neccessary to
run sendmail or other SMTP-like service on this box 
for able to send (outgoing) mail.

Thanks in advance.

__
Yahoo! Plus - For a better Internet experience
http://uk.promotions.yahoo.com/yplus/yoffer.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


gnitiev@nashe.ru

2003-06-11 Thread Supote Leelasupphakorn
Hello,

   I heard that RELENG_4 is not always able to compile
correctly because it's source are updated so often.
  I recommend you, in production to cvsup only 
RELENG_4_7 or RELENG_4_8 or RELENG_4_X where "X" is 
minor version number.

Cheer,

__
Yahoo! Plus - For a better Internet experience
http://uk.promotions.yahoo.com/yplus/yoffer.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


How to update port collection properly ?

2006-03-09 Thread Supote Lee

Hi all

  I'm currently running FreeBSD.4.11-p14 on by box at home.
Yesterday, I tried to update its ports collection (I mean /usr/port)
with cvsup, then installed Firefox but I can't. "make install clean"
returned me with error.

--- snipped of my supfile ---
*default host=cvsup2.jp.freebsd.org
*default base=/usr/local/etc
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix

# If your network link is a T1 or faster, comment out the following line.
*default compress

ports-all
--- snipped of my supfile ---

  Is my port updating process correct or I miss something ?
Is it necessary for me to run "make index" in /usr/ports ?

TIA
pjn

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


___
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 update port collection properly ?

2006-03-09 Thread Supote Lee




From: Kris Kennaway <[EMAIL PROTECTED]>
To: Supote Lee <[EMAIL PROTECTED]>
CC: freebsd-questions@freebsd.org
Subject: Re: How to update port collection properly ?
Date: Thu, 9 Mar 2006 22:16:49 -0500

On Fri, Mar 10, 2006 at 03:13:56AM +, Supote Lee wrote:
> Hi all
>
>   I'm currently running FreeBSD.4.11-p14 on by box at home.
> Yesterday, I tried to update its ports collection (I mean /usr/port)
> with cvsup, then installed Firefox but I can't. "make install clean"
> returned me with error.

Show us the error.

> --- snipped of my supfile ---
> *default host=cvsup2.jp.freebsd.org
> *default base=/usr/local/etc
> *default prefix=/usr
> *default release=cvs tag=.
> *default delete use-rel-suffix
>
> # If your network link is a T1 or faster, comment out the following 
line.

> *default compress
>
> ports-all
> --- snipped of my supfile ---
>
>   Is my port updating process correct or I miss something ?

Looks OK.

> Is it necessary for me to run "make index" in /usr/ports ?

No, 'make fetchindex' will usually suffice.

Kris



Thanks Kris

  But I wonder why this isn't in the "Handbook" and what is such command
used for ?

TIA
pjn

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


Ask for your recommended system & network monitoring system.

2006-03-14 Thread Supote Leelasupphakorn

Hi all

  I'm currently run FreeBSD 4.11 on my box for a year
and very impress its performance. Now I'd like to monitor
disk space, system and network status of some servers at
work via web-based.

Any monitor tool you are using or recommended ?

TIA
pjn


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


Need explaination for `date` command !

2006-12-16 Thread Supote Leelasuppakorn

Hi lists,

  I am currently using FreeBSD-6.1 for a while. I am in Thailand so
my time zone is GMT+7. Let say the time is 3:00 PM in Thailand.
What I would like to know is

1. What is the output of `date` command I should get ?
2. What is the output of `date -u` command I should get ?

TIA



   Pote  :-)



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


What OID for this? SNMP issue.

2005-07-09 Thread Supote Lee

Hi, lists

  I'm currently implement SNMP (with port net-snmp) for a while.
My question is what OID can I get for monitoring the CPU idle
( or CPU load) ?

Using net-snmp-5.2.1.

TIA
pjn

_
FREE pop-up blocking with the new MSN Toolbar – get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/


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


Shell script in crontab cannot write files into FreeBSD's filesystem. (2nd evised version)

2007-12-05 Thread Supote Leelasuppakorn



Hi all,

   Please anybody help me, I faced the problem with my "crontab".
I tried to run a shell script which will fetch webpage and save it to
a directory by using wget but after few minute I cannot see any file
in such directory

   Below are content of shell script, my crontab and also
file's permission listing.

##
# Output of `crontab -l`
##
SHELL=/bin/sh
MAILTO=pjn
* * * * * . /home/pjn/parseGP/fetchPage.sh



# file: fetchPage.sh

#!/bin/sh
TIMESTAMP=`date "+%Y%m%d-%H%M%S"`
LOGPATH="/home/pjn/parseGP/logs"
/usr/local/bin/wget --no-cache -a ${LOGPATH}/fetch.log -O 
${LOGPATH}/${TIMESTAMP}.html http://www.blahblah.com



# Files' permission

blahHost$
blahHost$ls -ltrd parseGP
drwxr-xr-x 3 pjn pjn 512 Dec 5 14:27 parseGP
blahHost$ls -ltr parseGP/
total 4
drwxr-xr-x 2 pjn pjn 512 Dec 5 15:11 logs
-rwxr--r-- 1 pjn pjn 226 Dec 5 15:21 fetchPage.sh
blahHost$ls -ltr parseGP/logs/
total 0
-rw-r--r-- 1 pjn pjn 0 Dec 5 15:14 fetch.log
blahHost$



TIA
Pote






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


Re: Shell script in crontab cannot write files into FreeBSD's filesystem. (2nd evised version)

2007-12-05 Thread Supote Leelasuppakorn


Hi list,

   Thanks, Derek. You're right. The date command must be the absulute path. Now 
it works.


Thanks for your best answer.

Pote

> 
>>Hi all,
>>
>>Please anybody help me, I faced the problem with my "crontab".
>>I tried to run a shell script which will fetch webpage and save it to
>>a directory by using wget but after few minute I cannot see any file
>>in such directory
>>
>>Below are content of shell script, my crontab and also
>>file's permission listing.
>>
>>##
>># Output of `crontab -l`
>>##
>>SHELL=/bin/sh
>>MAILTO=pjn
>>* * * * * . /home/pjn/parseGP/fetchPage.sh
>>
>>
>>
>># file: fetchPage.sh
>>
>>#!/bin/sh
>>TIMESTAMP=`date "+%Y%m%d-%H%M%S"`
> 
> You are assuming that date is in your path by the above statement.  Never
> assume you have a good path, unless you set it in your script file.  So,
> either setup the path you need or use absolute pathnames such as:
> TIMESTAMP=`/bin/date "+%Y%m%d-%H%M%S"`
> 
> 
>>LOGPATH="/home/pjn/parseGP/logs"
>>/usr/local/bin/wget --no-cache -a ${LOGPATH}/fetch.log -O
>>${LOGPATH}/${TIMESTAMP}.html http://www.blahblah.com
>>
>>
>>
>># Files' permission
>>
>>blahHost$
>>blahHost$ls -ltrd parseGP
>>drwxr-xr-x 3 pjn pjn 512 Dec 5 14:27 parseGP
>>blahHost$ls -ltr parseGP/
>>total 4
>>drwxr-xr-x 2 pjn pjn 512 Dec 5 15:11 logs
>>-rwxr--r-- 1 pjn pjn 226 Dec 5 15:21 fetchPage.sh
>>blahHost$ls -ltr parseGP/logs/
>>total 0
>>-rw-r--r-- 1 pjn pjn 0 Dec 5 15:14 fetch.log
>>blahHost$
>>
>>
>>
>>TIA
>>Pote
> 
> Make sure your script runs correctly outside cron, then test it from inside
> cron.  Add some echo statements so you can see what is executed, such as:
> #!/bin/sh
> TIMESTAMP=`/bin/date "+%Y%m%d-%H%M%S"`
> LOGPATH="/home/pjn/parseGP/logs"
> echo $(TIMESTAMP)
> echo $(LOGPATH)
> echo /usr/local/bin/wget --no-cache -a ${LOGPATH}/fetch.log -O
> /usr/local/bin/wget --no-cache -a ${LOGPATH}/fetch.log -O
> echo ${LOGPATH}/${TIMESTAMP}.html http://www.blahblah.com
> ${LOGPATH}/${TIMESTAMP}.html http://www.blahblah.com
> 
>  -Derek
> 
> 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Shell script in crontab cannot write files into FreeBSD's filesystem.

2007-12-05 Thread Supote Leelasuppakorn

 
Hi all,
 
   Please anybody help me, I faced the problem with my "crontab". I tried to 
run a shell script which will fetch webpage and save it toa directory by using 
wget but after few minute I cannot see any filein such directory
 
   Below are content of shell script, my crontab and also
file's permission listing.
 
###
# The output of `crontab -l`###
SHELL=/bin/shMAILTO=pjn*   *   *   *   *   . 
/home/pjn/parseGP/fetchPage.sh
 
###
# filename: fetchPage.sh###
#!/bin/sh
TIMESTAMP=`date "+%Y%m%d-%H%M%S"`LOGPATH="/home/pjn/parseGP/logs"
/usr/local/bin/wget --no-cache -a ${LOGPATH}/fetch.log -O 
${LOGPATH}/${TIMESTAMP}.html http://www.blahblah.com
 
###
# Files' permission###
blahHost$blahHost$ls -ltrd parseGPdrwxr-xr-x  3 pjn  pjn  512 Dec  5 14:27 
parseGPblahHost$ls -ltr parseGP/total 4drwxr-xr-x  2 pjn  pjn  512 Dec  5 15:11 
logs-rwxr--r--  1 pjn  pjn  226 Dec  5 15:21 fetchPage.shblahHost$ls -ltr 
parseGP/logs/total 0-rw-r--r--  1 pjn  pjn  0 Dec  5 15:14 fetch.logblahHost$
Thanks in advance,Pote
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: buildworld failed

2008-02-02 Thread Supote Leelasuppakorn

 
Hi,
 
   I have ever faced this problem. I suggested you deleting the whole /usr/obj 
then make buildworld again.
 
> Date: Sun, 3 Feb 2008 08:44:59 +0530> From: [EMAIL PROTECTED]> To: 
> freebsd-questions@freebsd.org> Subject: buildworld failed> > Hi,> > I am 
> using FreeBSD Rel 6.3 and cvsup stable. Make buildworld failed for me.> > 
> Here is the log> > 
> -->
>  cc -O2 -fno-strict-aliasing -pipe -march=prescott> 
> -I/usr/src/sbin/gbde/../../sys -DRESCUE -Wsystem-headers -Werror -Wall> 
> -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes> 
> -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual> 
> -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c> 
> /usr/src/sbin/gbde/gbde.c> /usr/src/sbin/gbde/gbde.c: In function 
> `g_read_data':> /usr/src/sbin/gbde/gbde.c:164: warning: implicit declaration 
> of function `read'> /usr/src/sbin/gbde/gbde.c: In function 
> `setup_passphrase':> /usr/src/sbin/gbde/gbde.c:216: warning: implicit 
> declaration of function `close'> /usr/src/sbin/gbde/g
 bde.c: In function `cmd_nuke':> /usr/src/sbin/gbde/gbde.c:391: warning: 
implicit declaration of function `write'> /usr/src/sbin/gbde/gbde.c: In 
function `cmd_init':> /usr/src/sbin/gbde/gbde.c:556: warning: implicit 
declaration of> function `unlink'> /usr/src/sbin/gbde/gbde.c: In function 
`main':> /usr/src/sbin/gbde/gbde.c:801: warning: implicit declaration of> 
function `getopt'> /usr/src/sbin/gbde/gbde.c:804: error: `optarg' undeclared 
(first use> in this function)> /usr/src/sbin/gbde/gbde.c:804: error: (Each 
undeclared identifier is> reported only once> /usr/src/sbin/gbde/gbde.c:804: 
error: for each function it appears in.)> *** Error code 1> > Stop in 
/usr/src/sbin/gbde.> *** Error code 1> > Stop in 
/usr/obj/usr/src/rescue/rescue.> *** Error code 1> > Stop in 
/usr/src/rescue/rescue.> *** Error code 1> > Stop in /usr/src/rescue.> *** 
Error code 1> > Stop in /usr/src.> *** Error code 1> > Stop in /usr/src.> *** 
Error code 1> > Stop in /usr/src.> -
 
>
 > Thanks,> > Venkatesh K> > -- > Venkatesh. K> 
___> 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: buildworld failed

2008-02-03 Thread Supote Leelasuppakorn




Hi,

   I'm not sure you tried below or not.
1. delete both /usr/src and /usr/obj
2. verify your supfile for corret version of SRC you want
3. cvsup STABLE brach again
4. verify cvsup operation and also all src tree in /usr/src
5. then try make buld world again


PS. you'd better attached your supfile. This will give other people more 
information about your problem.

Pote





> Date: Sun, 3 Feb 2008 15:00:36 +0530
> From: [EMAIL PROTECTED]
> To: freebsd-questions@freebsd.org
> Subject: Re: buildworld failed
>
> I did try that too! Still same problem.
>
> Thanks,
>
> Venkatesh K
>
> On Feb 3, 2008 9:50 AM, Supote Leelasuppakorn  wrote:
>>
>>
>> Hi,
>>
>> I have ever faced this problem. I suggested you deleting the whole
>> /usr/obj then make buildworld again.
>>
>>
>>
>>
>>> Date: Sun, 3 Feb 2008 08:44:59 +0530
>>> From: [EMAIL PROTECTED]
>>> To: freebsd-questions@freebsd.org
>>> Subject: buildworld failed
>>
>>
>>>
>>> Hi,
>>>
>>> I am using FreeBSD Rel 6.3 and cvsup stable. Make buildworld failed for
>> me.
>>>
>>> Here is the log
>>>
>>>
>> --
>>> cc -O2 -fno-strict-aliasing -pipe -march=prescott
>>> -I/usr/src/sbin/gbde/../../sys -DRESCUE -Wsystem-headers -Werror -Wall
>>> -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
>>> -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual
>>> -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c
>>> /usr/src/sbin/gbde/gbde.c
>>> /usr/src/sbin/gbde/gbde.c: In function `g_read_data':
>>> /usr/src/sbin/gbde/gbde.c:164: warning: implicit declaration of function
>> `read'
>>> /usr/src/sbin/gbde/gbde.c: In function `setup_passphrase':
>>> /usr/src/sbin/gbde/gbde.c:216: warning: implicit declaration of function
>> `close'
>>> /usr/src/sbin/gbde/gbde.c: In function `cmd_nuke':
>>> /usr/src/sbin/gbde/gbde.c:391: warning: implicit declaration of function
>> `write'
>>> /usr/src/sbin/gbde/gbde.c: In function `cmd_init':
>>> /usr/src/sbin/gbde/gbde.c:556: warning: implicit declaration of
>>> function `unlink'
>>> /usr/src/sbin/gbde/gbde.c: In function `main':
>>> /usr/src/sbin/gbde/gbde.c:801: warning: implicit declaration of
>>> function `getopt'
>>> /usr/src/sbin/gbde/gbde.c:804: error: `optarg' undeclared (first use
>>> in this function)
>>> /usr/src/sbin/gbde/gbde.c:804: error: (Each undeclared identifier is
>>> reported only once
>>> /usr/src/sbin/gbde/gbde.c:804: error: for each function it appears in.)
>>> *** Error code 1
>>>
>>> Stop in /usr/src/sbin/gbde.
>>> *** Error code 1
>>>
>>> Stop in /usr/obj/usr/src/rescue/rescue.
>>> *** Error code 1
>>>
>>> Stop in /usr/src/rescue/rescue.
>>> *** Error code 1
>>>
>>> Stop in /usr/src/rescue.
>>> *** Error code 1
>>>
>>> Stop in /usr/src.
>>> *** Error code 1
>>>
>>> Stop in /usr/src.
>>> *** Error code 1
>>>
>>> Stop in /usr/src.
>>>
>> -
>>>
>>> Thanks,
>>>
>>> Venkatesh K
>>>
>>> --
>>> Venkatesh. K
>>> ___
>>> freebsd-questions@freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>> To unsubscribe, send any mail to
>> "[EMAIL PROTECTED]"
>>
>>
>
>
>
> --
> Venkatesh. K
> ___
> 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]"