Re: Instant reboot with FreeBSD 6.3 and > 2GB RAM

2008-05-21 Thread Vivek Khera


On May 21, 2008, at 4:01 AM, [EMAIL PROTECTED] wrote:

some users of FreeNAS which is based on FreeBSD 6.3 reported instant  
reboots on systems with > 2GB RAM (most of them use 4GB). The reboot  
occurs right after displaying the FreeBSD loader menu. Most of them  
told me that they can boot if they reduce RAM to <= 2GB.


For what it's worth, I have run several systems with 4GB RAM on  
FreeBSD/i386 6.3.  The only i386 I have left with this much RAM was  
recently upgraded to 7.0; the rest of my large RAM systems run FreeBSD/ 
amd64.


I didn't see anything obviously bad in your kernel config.

By the way, thanks for making FreeNAS... I use it on my home NFS/AFP  
server to great success... the only thing I wish it included was the  
amrstat binary to test my LSI RAID controller status (I just copy it  
from another 6.3 system I have and it works).


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


Re: aaccli doesn't work with AOC-LPZCR2 (Supermicro)

2007-03-14 Thread Vivek Khera


On Mar 13, 2007, at 5:44 AM, Thomas Vogt wrote:


FreeBSD (6.2 and Current) boots and works perfectly. Only the storage
control program from port/sysutils/aaccli doesn't work with this
controller.

aaccli open aac0:
Command Error: 

Is there a way to check the status from the Raid without it? Perhaps
with the linux aaccli? I doubt that adaptec is releasing a new aaccli
for freebsd soon.


Yes, this is a problem for all modern adaptec RAID bios.  I've been  
trying to get Scott Long to work on a monitoring solution for these  
newer cards and he expressed interest, but the project seems to have  
fallen off of his short list... Perhaps I shall ping him again.


Care to share the consulting fee?




=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.MailerMailer, LLC Rockville, MD
http://www.MailerMailer.com/ +1-301-869-4449 x806




Re: Problems with pgsql 8.0.4 & freebsd 6: partially solved

2006-01-24 Thread Vivek Khera


On Jan 24, 2006, at 7:47 AM, Vittorio wrote:


Yesterday, I upgraded freebsd from 5.4 to 6 via
the CD (the iso was downloaded from ftp.freebsd.org).


I've done this many times with no problems.

However.

You serve yourself very well by recompiling all your ports or  
reinstalling the packages to be the ones built against 6.0.  This is  
especially necessary for libraries and programs that link against  
those libraries and those programs that dynamically load extensions  
(such as postgres).  Otherwise you're forcing two copies of libc to  
load at the same time in some cases and that causes no end of confusion.




Re: Anti-Virus?

2004-03-02 Thread Vivek Khera
>>>>> "AB" == Andrew Boothman <[EMAIL PROTECTED]> writes:

AB> If you're looking for something to scan email I constantly hear good
AB> things about Vexira MailArmor
AB> <http://www.centralcommand.com/mailserver_products.html>, thet also do
AB> a normal file scanner too.

The MailArmor product cannot be used as a normal file scanner.  At
least that was the case last summer.  The command line vexira scanner
integrates nicely with amavisd-new for mail scanning.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.Khera Communications, Inc.
Internet: [EMAIL PROTECTED]   Rockville, MD  +1-301-869-4449 x806
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Anti-Virus?

2004-03-02 Thread Vivek Khera
>>>>> "MW" == Mark Weisman <[EMAIL PROTECTED]> writes:

MW> Anyone know of a good Anti-virus software that works on FBSD?

There are several.  Commercial ones include vexira and sophos (we use
vexira, but sophos was just as good technically in our tests), and the
free one we use is clamav (from ports tree).

google is your friend!

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.Khera Communications, Inc.
Internet: [EMAIL PROTECTED]   Rockville, MD  +1-301-869-4449 x806
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Headless System via serial port?

2003-12-16 Thread Vivek Khera
>>>>> "MS" == Minnesota Slinky <[EMAIL PROTECTED]> writes:

MS> terminal.  Everything loaded fine, until the login prompt.  Last thing I
MS> saw was the current time and date on hyperterm.  On the monitor was the
MS> login screen.  I couldn't even log in via ssh.  If I boot with a
MS> keyboard/mouse, I get a normal system and I can log in via ssh.

you need to tell the system to offer a login prompt on the serial
line.  edit your /etc/ttys and enable the ttyd0 and "kill -HUP 1" to
activate your changes.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.Khera Communications, Inc.
Internet: [EMAIL PROTECTED]   Rockville, MD   +1-869-4449x806
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: machdep.hlt_logical_cpus

2003-11-11 Thread Vivek Khera
>>>>> "LG" == Lowell Gilbert <[EMAIL PROTECTED]> writes:

>> daemon# sysctl machdep.hlt_logical_cpus=0
>> sysctl: unknown oid 'machdep.hlt_logical_cpus'

LG> Funny, it looks like it should be there as long as SMP is defined.
LG> Maybe you didn't actually get the bits as of the release?

I noticed something on one system on which I was trying this.  If the
BIOS has "logical cpu" disabled, then there is no HTT available, and
subsequently the machdep.hlt_logical_cpus is non-existent.  When I
went into the BIOS and enabled the logical cpus, the MIB showed up on
the next boot, and the system thinks it has 4 CPUs now :-)


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.Khera Communications, Inc.
Internet: [EMAIL PROTECTED]   Rockville, MD   +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Firewall for VoIP box

2003-10-31 Thread Vivek Khera
>>>>> "DM" == Dmitry Mishchenko <[EMAIL PROTECTED]> writes:

DM> - second card has another real IP (lets say 65.1.1.2) and connected to
DM> Quintum VoIP box.

Personally, I would *never* put my quintum on a public IP even with a
firewall in front of it  i run mine inside a NAT'd LAN, and let
remote sites access it via the VPN, so they also have inside-the-LAN
IP numbers.


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.Khera Communications, Inc.
Internet: [EMAIL PROTECTED]   Rockville, MD   +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: PostFix error

2003-10-29 Thread Vivek Khera
>>>>> "w" == whizkid  <[EMAIL PROTECTED]> writes:

w> this is the source of the bh errors.  I will disable this command and see
w> if I get any more errors.  Thanks for pointing me in the right direction. 
w> Is there a way to do this is PostFix or is this done automatically?

When you installed the port, did you read the pkg-message it printed
out?  It tells you what to add to your periodic.conf.

Anyhow, postfix doesn't periodic maintenance like this, so you don't
need to replace it with some equivalent function.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.Khera Communications, Inc.
Internet: [EMAIL PROTECTED]   Rockville, MD   +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 20TB Storage System

2003-09-04 Thread Vivek Khera
>>>>> "PK" == Poul-Henning Kamp <[EMAIL PROTECTED]> writes:


PK> I am not sure I would advocate 64k blocks yet.

PK> I tend to stick with 32k block, 4k fragment myself.

At what file system size do you recommend bumping the block size?

I've got a 226Gb RAID array and right now it is using the default
newfs parameters.  The intended use is for the postgres data directory
(ie, fair number of relatively large files).

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.Khera Communications, Inc.
Internet: [EMAIL PROTECTED]   Rockville, MD   +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Unable to install mailman from ports

2003-09-03 Thread Vivek Khera
>>>>> "HR" == Heinrich Rebehn <[EMAIL PROTECTED]> writes:

HR> Hi list,
HR> I am trying to install mailman from the ports tree.
HR> Make install ends with:

Works for me with the latest python port installed...

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.Khera Communications, Inc.
Internet: [EMAIL PROTECTED]   Rockville, MD   +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Virus Scanners

2003-08-04 Thread Vivek Khera
>>>>> "JP" == Johan Paul <[EMAIL PROTECTED]> writes:

JP> Thank's for pointing this out! I installed it with sysinstall
JP> successfully and the version that got installed on my 4.8 box was
JP> 0.54. It seems that the 'freshclam' util doesn't support mirror sites

First, use the ports tree to update your clamav.  The packages look to
be out of date.

Sure it does mirrors.  See the /usr/local/share/clamav directory...

My only gripe with clamav is that there is a test in it for "iframe
exploits" which I believe is too liberal.  it frequently on triggers
my nightly maillog scan summary message which identify messages
already blocked for iframe exploits...  so i had to whitelist root@ in
my amavisd config to allow viruses thru.


Anyhow it has been updating for me without fail for quite some time.
Here's the latest entries from the update log.

--
Checking for a new database - started at Sat Aug  2 00:17:01 2003
viruses.db is up to date.
Database updated (containing in total  signatures).
Database updated from clamav.elektrapro.com.
--
Checking for a new database - started at Sat Aug  2 12:17:00 2003
viruses.db is up to date.
viruses.db2 is up to date.
--
Checking for a new database - started at Sun Aug  3 00:17:00 2003
viruses.db is up to date.
Database updated (containing in total 8891 signatures).
Database updated from clamav.elektrapro.com.
--
Checking for a new database - started at Sun Aug  3 12:17:00 2003
viruses.db is up to date.
viruses.db2 is up to date.
--
Checking for a new database - started at Mon Aug  4 00:17:00 2003
viruses.db is up to date.
Database updated (containing in total 8890 signatures).
Database updated from clamav.elektrapro.com.
--
Checking for a new database - started at Mon Aug  4 12:17:00 2003
viruses.db is up to date.
viruses.db2 is up to date.



-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.Khera Communications, Inc.
Internet: [EMAIL PROTECTED]   Rockville, MD   +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Virus Scanners

2003-07-24 Thread Vivek Khera
>>>>> "DS" == Derrick Schimcek  writes:

DS> What are the best virus scanners for freebsd?

We've been using vexira (server version, not mail scanner version) in
conjunction with amavisd-new to scan incoming email.  It will also
scan files on the disk.  Not that there are any freebsd viruses, but
our peecee clients do read mail and share the disk drive.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.Khera Communications, Inc.
Internet: [EMAIL PROTECTED]   Rockville, MD   +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: About domain name registrars

2003-06-25 Thread Vivek Khera
>>>>> "CH" == Chris Hill <[EMAIL PROTECTED]> writes:

CH> Lots of people recommend godaddy.com, but I've been using gandi.net. 
CH> They will host your DNS free. It's 12 euro per year, and you can do all

I use gandi as well, however for the last 2 months or so their support
line has been a black hole (well, you get an auto-ack, but nothing
after that).  I've got one domain wedged in transfer limbo and cannot
get any assistance...  Once the domains are on their service, it is
just fine.


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.Khera Communications, Inc.
Internet: [EMAIL PROTECTED]   Rockville, MD   +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Root Servers - Nameserver Update.

2003-01-21 Thread Vivek Khera
>>>>> "GP" == Grant Peel <[EMAIL PROTECTED]> writes:

GP> 1) Does anyone KNOW when the root servers update DNS for hosts (NS's)?

GP> 2) We were planning to change the DNS about 11:00 P.M. this Saturday, Taking

This requires advanced planning on the order of the TTLs of your
domain records.  First thing is to update your zones to cut the TTL
down to a few hours or even minutes.  You need to do this so that the
current TTL expires *before* your intended move.  If your current TTL
is 7 days, you're too late ;-(

Just before moving, issue the NS record updates with your registrar.
Hopefully you use a registrar that lets you do this dynamically via
the web.  It usually won't take effect for at least a day as the
top-level zone files are not updated but once per day, I believe.

If you have secondary DNS servers that are outside your network that
is moving (this is a prime example of why this is recommended), be
sure to update your DNS server and have the secondary fetch a copy of
the new zone file.

Then move the network, bring it all up again, and you should be good
to go.  If your TTL is shorter than the move time only some *really*
broken remote sites won't notice in time.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.Khera Communications, Inc.
Internet: [EMAIL PROTECTED]   Rockville, MD   +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: kde3.05 port

2002-12-02 Thread Vivek Khera
>>>>> "DH" == Dick Hoogendijk <[EMAIL PROTECTED]> writes:

DH> My question is: is it better to install the complete (renewed and old)
DH> packages for kde3? If so, how do I force teh reinstall of already
DH> installed packages?

My solution:

portupgrade -Rrv kde

go home for the night.  in the morning, shutdown kdm and restart it.


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.Khera Communications, Inc.
Internet: [EMAIL PROTECTED]   Rockville, MD   +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Printing with Opera

2002-12-02 Thread Vivek Khera
>>>>> "TP" == Travis Poppe <[EMAIL PROTECTED]> writes:

TP> I recently installed apsfilter from the FreeBSD ports sytem, and seem
TP> to have successfully configured a local printer, and a remote samba
TP> printer using the apsfilter setup script.

Some apps are wired for A4 sized pages.  Be sure to configure them to
use the proper US Letter sized paper.


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.Khera Communications, Inc.
Internet: [EMAIL PROTECTED]   Rockville, MD   +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Mail to News software suggestions?

2002-11-26 Thread Vivek Khera
>>>>> "DL" == Doug Lee <[EMAIL PROTECTED]> writes:

DL> I want to read busy mailing lists with nn or trn.  I have space to
DL> store the messages as news articles locally.  I'm looking for a
DL> system that will take incoming list mail and deposit it in "newsgroups"
DL> I create for them on this machine.  I use procmail, so it would be

Download and read the commentary in

 http://www.cpan.org/authors/id/V/VK/VKHERA/mail2news-1.14

I use this gateway to read the freebsd lists, and various other high
volume lists that a few of us read here.  I keep archives for 6
months, but that's all configured via my INN installation.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.Khera Communications, Inc.
Internet: [EMAIL PROTECTED]   Rockville, MD   +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: OSS drivers from 4Front

2002-11-22 Thread Vivek Khera
>>>>> "VK" == Vivek Khera <[EMAIL PROTECTED]> writes:

>>>>> "JB" == John Bleichert <[EMAIL PROTECTED]> writes:
JB> Is anybody using the OSS sound drivers from 4Front? If so, are they any 

VK> They work.  Never used them for anything but playback.  My ESS-Solo
VK> card is now supported by the pcm driver for that, so I turned off the
VK> 4front drivers yesterday in preference to the pcm driver.

Check that.  I just switched back since the pcm driver causes xemacs
to lockup every time it tries to make a sound.  With the 4Front
drivers, it works just like it should: xemacs makes the expected
sounds (as do all other apps).

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.Khera Communications, Inc.
Internet: [EMAIL PROTECTED]   Rockville, MD   +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: OSS drivers from 4Front

2002-11-21 Thread Vivek Khera
>>>>> "JB" == John Bleichert <[EMAIL PROTECTED]> writes:

JB> Is anybody using the OSS sound drivers from 4Front? If so, are they any 
JB> good? I'm trying to do some recording and mixing in BSD (using 
JB> Audacity) and I'm getting whacked by the lack of full-duplex support in 
JB> the native drivers for my sound card.

They work.  Never used them for anything but playback.  My ESS-Solo
card is now supported by the pcm driver for that, so I turned off the
4front drivers yesterday in preference to the pcm driver.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.Khera Communications, Inc.
Internet: [EMAIL PROTECTED]   Rockville, MD   +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: [Fwd: Cleaning up /]

2002-11-06 Thread Vivek Khera
>>>>> "DN" == Dan Nelson <[EMAIL PROTECTED]> writes:

DN> In the last episode (Nov 05), I am Insane said:
>> That's been my normal experience, / doesn't change in size except for a 
>> small amount when I install important / major programs and even then it 
>> usually isn't affected. However, I recently installed a few CPAN modules 

DN> Using CPAN ends up creating a huge ~/.cpan cache directory in root's
DN> home.  You can install those modules from ports/packages instead.

You can always configure CPAN to use an alternative directory, like
/var/cpan or some such.

Also, if your /tmp is not a separate file system, you're gonna use up
space in your / directory.  Personally, I make /tmp an MFS file
system.


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.Khera Communications, Inc.
Internet: [EMAIL PROTECTED]   Rockville, MD   +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: TSIG with BIND requires chmod+chgrp /etc/namedb

2002-11-05 Thread Vivek Khera
>>>>> "DL" == Dan Langille <[EMAIL PROTECTED]> writes:

DL> It appears that using TSIG with BIND for secondary domains requires a 
DL> chmod and chgrp of /etc/namedb.
 [ ... ]
DL> I don't really liked having to change the permission of /etc/namedb 
DL> especially as that will be necessary for people runnning secondary 
DL> DNS for me.

This looks like a re-run of a posting you made a while back, but what
I do is just tell named.conf that /etc/namedb/secondaries is my main
directory, and that directory has write permissions for bind already.
I then use "../master/foo.com" as the directory for any master zones I
host.

What this accomplishes is that the TSIG temp files are written in the
secondaries subdirectory, and no other directories can be written to
by bind, preserving the sandbox.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.Khera Communications, Inc.
Internet: [EMAIL PROTECTED]   Rockville, MD   +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: samba printing stopped after upgrade to 2.2.6

2002-10-30 Thread Vivek Khera
> "JR" == Jens Rehsack <[EMAIL PROTECTED]> writes:

JR> It's most a good thing sending your patch directly to David
JR> Chapman (maintainer).  He's very fast commiting bug fixes :-)

Did that, too. ;-)

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: samba printing stopped after upgrade to 2.2.6

2002-10-29 Thread Vivek Khera
> "JR" == Jens Rehsack <[EMAIL PROTECTED]> writes:

>> Ah. The port Makefile probably needs to be tweaked a bit then.  It
>> looks like samba will use cups if it can find it.  Try this:
>> 

JR> Your patch isn't required. But instead adding a line
JR> 'WITHOUT_CUPS=yes' into /etc/make.conf adding a line
JR> 'SAMBA_OPTIONS=\"WITHOUT_CUPS\"' is recommented. Have a look into
JR> ports/samba/scripts/configure.samba for other possible options.

Yes, it is necessary, if you have the CUPS libraries sitting on your
machine.  The default for the configure program is auto-detect CUPS.
In this case, we explicity want to disable it, so we need to pass
the --disable-cups flag to configure to tell it not to use the libs
even if they exist.

JR> Thanks for the hint with the CUPS behaviour. It should be checked ...

Yes.  I filed a bug report in Jitterbug.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: samba printing stopped after upgrade to 2.2.6

2002-10-28 Thread Vivek Khera
> "DN" == Dan Nelson <[EMAIL PROTECTED]> writes:

DN> Ah. The port Makefile probably needs to be tweaked a bit then.  It
DN> looks like samba will use cups if it can find it.  Try this:

Thanks for the patch.  I ended up just deleting cups_base since it was
not needed for any other port on my system.  Looks like a Samba bug if
it ignores bsd style printing if CUPS is linked...

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: samba printing stopped after upgrade to 2.2.6

2002-10-28 Thread Vivek Khera
> "GAD" == Garance A Drosihn  writes:

GAD> Some of that is just guessing on my part, but it sounds pretty
GAD> plausible.  I would suggest that you see if CUPS is installed.
GAD> Also check to see if it is a recent install.  If so, then
GAD> /usr/local/sbin/pkg_deinstall cups
GAD> and then try the samba-without-cups install once again.

Yeah... it seems that the "Without CUPS" option to Samba doesn't do
the right thing if cups-base is installed (ie, for KDE).

Also, it seems that if Samba is built with CUPS, it doesn't honor the
"printing=bsd" setting and tries to use CUPS anyway.

I just built with cups_base removed and printing seems to work again.

Thanks for the tip.  Luckily the machine running samba doesn't have/need
KDE on it.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: wu-imap question

2002-10-28 Thread Vivek Khera
>>>>> "BM" == Brian McCann <[EMAIL PROTECTED]> writes:

BM> Hi all.  I'm using wu-imapd and I have a small, but annoying, problem.
BM> When I try to add a mailbox in Outlook Express, it of course downloads a
BM> list of folders...however, it returns 65k+ folders...most are files in
BM> the system.  How do I prevent it from searching everywhere, or tell it
BM> specifically where to look for mail folders?  Any ideas?

In your home directory, create a file called .mailboxlist and in it
have your mailbox files one per line:

% cat ~vivek/.mailboxlist
nsmail/Mutual Funds
Trash
Sent
nsmail/Sent
INBOX
Deleted Messages
nsmail/Deleted Messages
%

For example.


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.Khera Communications, Inc.
Internet: [EMAIL PROTECTED]   Rockville, MD   +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: samba printing stopped after upgrade to 2.2.6

2002-10-28 Thread Vivek Khera
> "DN" == Dan Nelson <[EMAIL PROTECTED]> writes:

>> but I have not enabled CUPS in samba at all.  Does anyone know what I
>> need to do to migrate successfully from samba 2.2.5 to 2.2.6?  Here's
>> my config:

DN> When you did the install, you probably just skipped that options dialog
DN> that came up, right?  All the options on that page are "select to
DN> enable", except CUPS which is "select to _disable".  Rebuild samba, and
DN> select the "Without CUPS" line.  Quite annoying.  I work around it by
DN> adding WITHOUT_CUPS=yes in /etc/make.conf, and setting BATCH=yes in
DN> net/samba/Makefile.

CUPS is linked in both 2.2.5 and 2.2.6, but in 2.2.6 it seems to want
to actually *use* it even though I don't configure it.

Also, if I select the "Disable CUPS" flag, all it accomplishes is to
not register the dependency.  CUPS is still linked for some reason.

Does your smbd have cups linked (as reported by ldd)?

Thanks for the help, though.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



samba printing stopped after upgrade to 2.2.6

2002-10-28 Thread Vivek Khera
I upgraded Samba from 2.2.5_3 to 2.2.6 and now printing from Win2k has
stopped working.  Downgrading back to 2.2.5_3 lets printing work
again.  Accessing the disk shares works just fine, still.  Server is
running FreeBSD 4.7-STABLE.

When I start Samba 2.2.6, it reports this:

[2002/10/24 14:22:57, 0] smbd/server.c:main(707)
  smbd version 2.2.6 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
[2002/10/24 14:22:57, 0] printing/print_cups.c:cups_printer_fn(110)
  Unable to connect to CUPS server localhost - Connection refused

but I have not enabled CUPS in samba at all.  Does anyone know what I
need to do to migrate successfully from samba 2.2.5 to 2.2.6?  Here's
my config:

[global]
   security = user
   hosts deny = ALL
   hosts allow = localhost, onceler.kcilink.com, raj.kcilink.com

   preserve case = yes
   short preserve case = yes
   map archive = no
 
   socket options = SO_KEEPALIVE

   locking = yes
   deadtime = 15

   workgroup = KCI
   server string = Yertle Samba Server
   guest account = nobody
   default service = reference

   domain master = yes
   local master = yes 
   preferred master = yes
   os level = 65

   wins support = yes

   time server = True

   printing = bsd
   load printers = yes
   print command = lpr -v -r -P%p %s

[homes]
   comment = Home Directory
   writable = yes
   browseable = no
   public = no
;   create mode = 0644
   create mask = 0755

[printers]
   comment = HP LJ4 PostScript Printer
   browseable = no
   printable = yes
   public = no
   writable = no
   path = /var/tmp
   create mode = 0600

; the default, if invalid accesses
[reference]
   comment = KCI: Samba LAN manager
   path = /tmp
   public = yes

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Anyone using a Dell Poweredge 1650 1U server?

2002-10-22 Thread Vivek Khera
>>>>> "AG" == Anthony Galella  writes:

AG> I was wondering if anyone is using one of the Dell Poweredge 1650 1U
AG> servers, and what issues they've had with the hardware and FreeBSD 4.X (if
AG> any).
AG> I was looking at getting one loaded with dual CPUs & redundant power
AG> supplies for use as a web/e-mail/mysql server.

I have one 1650, three 1550s (one with dual CPU and hardware RAID),
and one 2450 dual CPU with hardware RAID all of which work just fine.

You need to use the em ethernet driver on the 1650.  When I did the
install, it was not in the GENERIC kernel, but appears to be now, so
it should just work.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.Khera Communications, Inc.
Internet: [EMAIL PROTECTED]   Rockville, MD   +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: vmware

2002-10-16 Thread Vivek Khera

>>>>> "NT" == Nick Tonkin <[EMAIL PROTECTED]> writes:

NT> Excuse me, but did you get networking working with win2k guest on
NT> freebsd?

What I do is disable the netgraph bridging, since I don't like my
interfaces constantly running in permiscous mode, then used NAT on the
host with a private IP space to access the rest of the world.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.Khera Communications, Inc.
Internet: [EMAIL PROTECTED]   Rockville, MD   +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: dilution of /dev/urandom

2002-10-08 Thread Vivek Khera

>>>>> "pf" == parv fm  writes:

pf> in message <[EMAIL PROTECTED]>,
pf> wrote Fernando Gleiser thusly...
>> 
>> It is not good to mess with /dev/[u]random more than what's really
>> needed, because you can exhaust the entropy pool

pf> how does /dev/u?random dilute/exhaust?  that wouldn't have ever
pf> occurred in my naive brain; can't the entropy pool be replenished?

pf> enlighten please.

man 4 random


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.Khera Communications, Inc.
Internet: [EMAIL PROTECTED]   Rockville, MD   +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: linux_base vs linux_base-6?

2002-10-08 Thread Vivek Khera

>>>>> "AK" == Alex Kiesel <[EMAIL PROTECTED]> writes:

AK> On Sat, 2002-10-05 at 04:25, Gary W. Swearingen wrote:
>> Alex Kiesel <[EMAIL PROTECTED]> writes:
>> 
>> > I've not been able to run acroread or sybase-11.0.3 with linux-base-7.
>> 
>> You might have better luck with acroread4 or acroread5.

AK> I had, but I wanted to run acroread5.

My experience was that to use linux-base-7 successfully with acroread4
or acroread5, I had to be running XFree86 4.x or newer.  With XFree
3.x, acroread would drop core or fail in other ways.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.Khera Communications, Inc.
Internet: [EMAIL PROTECTED]   Rockville, MD   +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Dump / soft updates interaction?

2002-07-15 Thread Vivek Khera

>>>>> "RT" == Richard Tobin <[EMAIL PROTECTED]> writes:

>> Yes.  You need to wait for the system to "settle down" before dumping.
RT> Is there any way to wait until a soft-update filesystem is up-to-date -
RT> something like sync (which doesn't wait for soft updates to complete).

RT> Of course you can unmount and remount, but that's not always possible.

The *only* way to guarantee a level 0 dump is complete and accurate is
to do it with the file system unmounted.  For me, that is pretty much
not possible to do (I hate scheduling downtime when I'm awake since it
affects many other users... and I hate waking up at 2am to do it).
Thus, I just live with possibly inconsistent dumps.  Such is life.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.Khera Communications, Inc.
Internet: [EMAIL PROTECTED]   Rockville, MD   +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message