Re: Server Problem

2006-12-19 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jonathan Horne wrote:
 On Monday 18 December 2006 16:51, ossama abdel-haleem wrote:
 Dear Sir,
   I have HP Proliant ML 370 G4 server with dual Processors 3.6 intel xeon
 and HP Smart RAID controller (Config=RAID5) (146GB * 6) + (4 GB Of RAM.)
 The server working as application server (Tailored Software) based on
 POSTGRESQL server. I installed the FreeBSD 6.1 to serve 100 users with the
 application so - after period of time I found an error message appeared on
 the server : Kern. Maxfiles Limit Exceeded By UID 1001, Please See Tuning
 (7).

   What is the problem? Can You Help Me because after this message appears
 the server activities down.

   Thanks
   Ossama Abdel Haleem
 
 i think you must be referring to.  on my system, the default setting can be 
 seen, like this:
 
 [EMAIL PROTECTED] ~]$ sysctl -a|grep kern.maxfiles
 kern.maxfiles: 12328
 
 in order to raise this, a line would be added to /boot/loader.conf, like this:
 kern.maxfiles=24576
 
 hth,
 jonathan

Either that, or if someone has too many files open they need to be
limited. login.conf(5) provides more information about that, along with
limits(1) and tuning(7), and the handbook chapter:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-kernel-limits.html.

That value is a bit low though, and you should be safe in doubling or
quadrupling it.

- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFh6k7EnKyINQw/HARAqcrAJ90A7E86K81BN1glF2tSny7FcugKgCgnn3z
cnGFhSGrNCEdrMPFCezN4kA=
=PgHo
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: geli load key before rootfs is mounted

2006-12-19 Thread Chris

I think you maybe running into a bug in 6.1 where the keyboard wont respond
during the boot process. Of course you don't notice because keystrokes have
no visual feedback at password input.

Try adding this line to /boot/device.hint on your boot media:

hint.kbdmux.0.disabled=1

I'm booting an encrypted root file system fine with GELI.

On 18/12/06, Alin-Adrian Anton [EMAIL PROTECTED] wrote:

I've been playing around with geli and I was wondering if anyone
managed to actually use the feature which loads the keyfile before the
root filesystem is mounted.

Specifically, to use something similar in /boot/loader.conf:

geli_da1s3a_keyfile0_load=YES
geli_da1s3a_keyfile0_type=da1s3a:geli_keyfile0
geli_da1s3a_keyfile0_name=/boot/keys/da1s3a.key

If it worked, please let me know. I couldn't do it on a 6.1-REL0.
(keeps saying password is wrong, probably because it doesn't see the
keyfile). Of course, the .key file is on unencrypted media.

I appreciate your time and suggestions.

Thanks,

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


Re: Local DNS Caching not caching on external interface

2006-12-19 Thread Chad Gross

On 12/17/06, Tek Bahadur Limbu [EMAIL PROTECTED] wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, 15 Dec 2006 08:25:41 -0500
Chad Gross [EMAIL PROTECTED] wrote:

 On 12/15/06, Tek Bahadur Limbu [EMAIL PROTECTED] wrote:
 
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  On Thu, 14 Dec 2006 08:34:11 -0500
  Chad Gross [EMAIL PROTECTED] wrote:
 
   On 12/14/06, Tek Bahadur Limbu [EMAIL PROTECTED] wrote:
   
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
   
On Thu, 14 Dec 2006 01:08:11 -0800
Christopher Cowart [EMAIL PROTECTED] wrote:
   
 On 14:57 Thu 14 Dec , Tek Bahadur Limbu wrote:
  Dear All,
 
  I am very new to Bind and FreeBSD.
 
  I have just configured a Local DNS server using the built-in
  Bind 9.3.1 on a FreeBSD 5.4 machine.
 
  My problem is that the machine can cache queries on the
  localhost and loop back (127.0.0.1) interface only.
 
  I have a public static IP on this machine too and I can't
  seem to query the caching name server from my local network.
 
  In Linux, this is no problem. I just can't seem to get Bind
  to work as in my local network. It works only on the
  loopback interface.

 The default /etc/namedb/named.conf configuration file for BIND
 says:

 | // If named is being used only as a local resolver, this is
 | a safe default. // For named to be accessible to the
 | network, comment this option, specify // the proper IP
 | address, or delete this option. listen-on   { 127.0.0.1; };

 It looks like if you comment out that option, it will listen
 on * by default. You could also add the other IP address on
 which you want named to listen.

 --
 Chris Cowart
 Network and Infrastructure Systems Administrator
 RSSP-IT, UC Berkeley
 May all your pushes be popped

   
Dear Chris,
   
Thank you for your help. I did comment and added my public
static IP like the following:
   
   
listen-on   { 202.x.x.x; }; # My Static IP
   
Now when I do from my local PC:
   
dig yahoo.com @202.x.x.x , I can do DNS lookups.
   
But when I try doing that from another computer on my network, I
can't do any DNS lookups.
   
   
Is that anything that I miss?
   
   
- --
   
   
With best regards and good wishes,
   
Yours sincerely,
   
Tek Bahadur Limbu
   
(TAG/TDG Group)
Jwl Systems Department
   
Worldlink Communications Pvt. Ltd.
   
Jawalakhel, Nepal
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (FreeBSD)
   
iD8DBQFFgT8ZVrOl+eVhOvYRAn8OAJwOOC6+C8mnY+YBP+1GxG2uDTfWpgCfTFr1
168ArGMkI0+9Qj/MpzFbmUo=
=p9RV
-END PGP SIGNATURE-
___
  
  
  
   You have to tell the other machines on your network to use the IP
   of the local DNS server for domain name resolution. If you are
   using DHCP you can configure your DHCP server to give this
   information with the IP. Otherwise you must manually do it, which
   will be different between operating systems.
  
   HINT: In FreeBSD add the IP of the DNS server to /etc/resolve.conf
  
   Chad
  
 
 
  Dear Chad,
 
  I just get the following logs while troubleshooting with tcpdump.
 
  local nameserver IP: 202.102.5.100
  network PC IP: 202.102.5.50
 
  When I do a nslookup of yahoo and google from network PC using the
  local caching nameserver, I only get this on the caching nameserver.
 
  13:23:58.707604 IP 202.102.5.50.44778  202.102.5.100.53:  56955+ A?
  google.com. (28)
  13:23:32.899379 IP 202.102.5.50.40229  202.102.5.100.53:  47636+ A?
  yahoo.com. (27)
 
 
  Note: Please note that the above Static IPs are just arbitrary
  values.
 
  Can you please shed some light on this issue?
 
  - --
 
 
  With best regards and good wishes,
 
  Yours sincerely,
 
  Tek Bahadur Limbu
 
  (TAG/TDG Group)
  Jwl Systems Department
 
  Worldlink Communications Pvt. Ltd.
 
  Jawalakhel, Nepal
  -BEGIN PGP SIGNATURE-
  Version: GnuPG v1.4.2.2 (FreeBSD)
 
  iD8DBQFFglUsVrOl+eVhOvYRAsmMAJ9sb0fGdKiPp89CszMg5dXkvteojQCfdk0e
  fW0ofW8HJYq4RZXuROX7zPw=
  =5Ieg
  -END PGP SIGNATURE-
 

 Tek,

 Can you please post your Bind configuration files?

 Have you done a tcpdump or wireshark capture on both machines while
 issuing the resolution request? Could you please do that as well and
 post the results?

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


Hi Chad,

I have pasted my named.conf file below:


options {
directory   /etc/namedb;
pid-file/var/run/named/pid;
dump-file   /var/dump/named_dump.db;
statistics-file /var/stats/named.stats;

// If named is being used only as a local resolver, this is a safe
default. 

Inventory (asset) tracking software?

2006-12-19 Thread Moss Luzader
Did you ever get a response to the following inquiry?  I'm looking for
the exact same thing.
Open Source is definitely better, but the business just wants something
to work.
 
Hello,
I'm tapping into this vast group of knowledgeable people to see
if 
someone out there has a solution to a problem I've been trying to tackle

for a couple of weeks now. I need a way to track inventory, but not in a

traditional way. We aren't selling anything, rather, all of this stays 
internal.
We have a data center which is constantly expanding in terms of 
capacity. We have large amounts of hardware on site, and new hardware 
arriving all the time. We currently have no good way to track things 
such as what hard drive that came in is in what server, and if we had to

replace one, what the RMA date is on it, and which one we replaced it 
with. I would like something capable of the following:

1) We can add in new inventory as it arrives.
2) We can indicate what server the parts go into, and also look at the 
server and see what parts are in it.
3) Tasks can be added to the system requesting a new server be built and

what parts should be in the server (single cpu, dual, 2 drives, 5 
drives, raid controler, X sticks of Y size ram, etc) that will take 
current inventory into account.
4) Track inventory on hand  (obviously).
5) Track RMA's on items.

Things it would be nice to have:

1) The ability to work with some form of bar code scanner.
2) The ability to print serial number stickers to add to hardware for 
internal tracking.
3) Lifetime maintenance records - what parts have gone into or come out 
of a machine over it's service life.
4) Mark an inventory item or server object as tested/burned in.

I would like to find something open source, it can run either on as a 
desktop application, or a web application. If there's something out 
there that does this that isn't open source, that's fine too. Don't not 
recommend something just because it's expensive - I'm all about 
supporting open source projects, but the company is footing the bill, 
and they just want something that works. My research has turned up a few

commercial packages that do parts of this, but not all of it, and 
nothing really integrates, so I haven't found a real solution, but I 
can't imagine that this doesn't exist.

Thanks in advance for the help.
 
Moss Luzader
IT Manager
Newisys, A Sanmina-SCI Company
6200 Bridgepoint Parkway
Bldg 4, Suite 100
Austin, Tx 78730
Office: 512-634-5588
Cell:512-569-5463
FAX:   512-634-5725
 

CONFIDENTIALITY
This e-mail message and any attachments thereto, is intended only for use by 
the addressee(s) named herein and may contain legally privileged and/or 
confidential information. If you are not the intended recipient of this e-mail 
message, you are hereby notified that any dissemination, distribution or 
copying of this e-mail message, and any attachments thereto, is strictly 
prohibited.  If you have received this e-mail message in error, please 
immediately notify the sender and permanently delete the original and any 
copies of this email and any prints thereof.
ABSENT AN EXPRESS STATEMENT TO THE CONTRARY HEREINABOVE, THIS E-MAIL IS NOT 
INTENDED AS A SUBSTITUTE FOR A WRITING.  Notwithstanding the Uniform Electronic 
Transactions Act or the applicability of any other law of similar substance and 
effect, absent an express statement to the contrary hereinabove, this e-mail 
message its contents, and any attachments hereto are not intended to represent 
an offer or acceptance to enter into a contract and are not otherwise intended 
to bind the sender, Sanmina-SCI Corporation (or any of its subsidiaries), or 
any other person or entity.
_
Scanned by Sanmina-SCI eShield  
_
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: if_nfe on nVidia chipset

2006-12-19 Thread Palle Girgensohn
--On söndag, december 17, 2006 01.06.24 +0900 Shigeaki Tagashira 
[EMAIL PROTECTED] wrote:



I have the same one. And if_nfe works well on it, in both FreeBSD
6.2-PRERELEASE and 7-CURRENT. Please try to initialize if_nfe using
ifconfig command;
# ifconfig nfe1 down; ifconfig nfe1 up

---
S. Tagashira


Hi Tagashira-san,

Tried a lot of stuff, up and down and also debug flag, but nothing helps.

ifconfig says media: Ethernet autoselect (none)

I can ping the interface itself, but nothing else.

Any ideas?

Regards,
Palle






Palle Girgensohn wrote:

Hi! Sorry for the cross post, I'd love to know if I can get this working
or not.

Regards,
Palle

-- Forwarded Message --
Date: tisdag, december 12, 2006 18.52.35 +0100
From: Palle Girgensohn [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: if_nfe on Asus M2N-SLI deluxe?

Hi!

Does anybody know if if_nfe should work on the above motherboard? I
snached the patch for FreeBSD-6.2 from
http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html and
tried it. The kernel and ifconfig seems happy, but it does not work;
ifconfig reports active but ifconfig reports:

nfe0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500
   options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
   ether 00:17:31:86:aa:31
   media: Ethernet autoselect (none)
   status: no carrier
nfe1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
   inet6 fe80::217:31ff:fe86:b4c6%nfe1 prefixlen 64 scopeid 0x4
inet 192.168.1.191 netmask 0xff00 broadcast 192.168.1.255
   ether 00:17:31:86:b4:c6
   media: Ethernet autoselect (none)
   status: active
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
   inet6 ::1 prefixlen 128inet6 fe80::1%lo0 prefixlen 64
scopeid 0x5inet 127.0.0.1 netmask 0xff00
The media part of nfe1 looks bad, eh?

Is it supposed to work? How can I help to get it working?

FreeBSD 6.2-stable, around RC1. Enclosed is a dmesg. Anything else
needed?

/Palle



-- End Forwarded Message --






Subject:
if_nfe on Asus M2N-SLI deluxe?
From:
Palle Girgensohn [EMAIL PROTECTED]
Date:
Tue, 12 Dec 2006 18:52:35 +0100
To:
[EMAIL PROTECTED]

To:
[EMAIL PROTECTED]
CC:
[EMAIL PROTECTED]


Hi!

Does anybody know if if_nfe should work on the above motherboard? I
snached the patch for FreeBSD-6.2 from
http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html and
tried it. The kernel and ifconfig seems happy, but it does not work;
ifconfig reports active but ifconfig reports:

nfe0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500
   options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
   ether 00:17:31:86:aa:31
   media: Ethernet autoselect (none)
   status: no carrier
nfe1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
   inet6 fe80::217:31ff:fe86:b4c6%nfe1 prefixlen 64 scopeid
0x4   inet 192.168.1.191 netmask 0xff00 broadcast 192.168.1.255
   ether 00:17:31:86:b4:c6
   media: Ethernet autoselect (none)
   status: active
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
   inet6 ::1 prefixlen 128   inet6 fe80::1%lo0 prefixlen 64
scopeid 0x5   inet 127.0.0.1 netmask 0xff00
The media part of nfe1 looks bad, eh?

Is it supposed to work? How can I help to get it working?

FreeBSD 6.2-stable, around RC1. Enclosed is a dmesg. Anything else
needed?

/Palle





Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-PRERELEASE #0: Wed Nov 29 11:57:06 CET 2006
[EMAIL PROTECTED]:/usr/obj/.a/banan/usr/src/sys/WORKSTATI
ON Timecounter i8254 frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) 64 Processor 3500+ (2210.20-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x40ff2  Stepping = 2
  Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG
  E,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2
  Features2=0x2001SSE3,CX16
  AMD Features=0xea500800SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow+,3DNow
  AMD Features2=0x1dLAHF,b2,b3,CR8
real memory  = 2146369536 (2046 MB)
avail memory = 2091245568 (1994 MB)
ACPI APIC Table: Nvidia AWRDACPI
ioapic0 Version 1.1 irqs 0-23 on motherboard
acpi0: Nvidia AWRDACPI on motherboard
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi0: Power Button (fixed)
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0
cpu0: ACPI 

Re: acrobatviewer

2006-12-19 Thread Stevan Tiefert
Am Montag, 18. Dezember 2006 23:54 schrieb Wood, Russell:
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:owner-freebsd-
  [EMAIL PROTECTED] On Behalf Of Stevan Tiefert
  Sent: Tuesday, 19 December 2006 2:44 AM
  To: freebsd-questions@freebsd.org
  Subject: acrobatviewer
 
  Hello,
 
  I have installed acrobatviewer-1.1 and diablo-jre-1.5.0.07.01_1.
  Each time I want to use acrobatviewer, this message appears:
 
  $ AcrobatViewer
  expr: illegal option -- r
  usage: expr [-e] expression
  $ AcrobatViewer redbook.pdf
  expr: illegal option -- r
  usage: expr [-e] expression
  $
 
  An idea what is happening here?
 
  With regards
  Stevan Tiefert

 Have you tried xpdf?

 Regards,
 Russell Wood


 DISCLAIMER:
 Disclaimer.  This e-mail is private and confidential. If you are not the
 intended recipient, please advise us by return e-mail immediately, and
 delete the e-mail and any attachments without using or disclosing the
 contents in any way. The views expressed in this e-mail are those of the
 author, and do not represent those of this company unless this is clearly
 indicated. You should scan this e-mail and any attachments for viruses.
 This company accepts no liability for any direct or indirect damage or loss
 resulting from the use of any attachments to this e-mail.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
Hello,

no I haven't tried xpdf...

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


Re: unique hardware identification

2006-12-19 Thread Nathan Vidican

Koen Martens wrote:

Hi All,

I was wondering, if something like a unique hardware identification
would be possible on FreeBSD.

I'd like a machine to authenticate to a server, for which it will
need a unique identification. Problem is, it should be generated
automatically and not easy to fake / detect without already having
root access to the box.

I'm thinking of something like combining serial numbers from
CPU/disks for example, but there does not seem to be a clear way to
obtain these (not all cpu's even have a serial number in there).

I am just inquiring if someone on this list has an idea that might
help with this problem.

Gr,

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


  


Might I suggest, that if the software requires network usage - simply 
identify by mac address. A lot of software we use now, accesses a 
license server via the network, and authenticates clients based on their 
MAC address, (which, allthough possible to spoof - is not easy for the 
typical end-user).



--
Nathan Vidican
[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: acrobatviewer

2006-12-19 Thread Nathan Vidican

Stevan Tiefert wrote:

Am Montag, 18. Dezember 2006 23:54 schrieb Wood, Russell:
  

-Original Message-
From: [EMAIL PROTECTED] [mailto:owner-freebsd-
[EMAIL PROTECTED] On Behalf Of Stevan Tiefert
Sent: Tuesday, 19 December 2006 2:44 AM
To: freebsd-questions@freebsd.org
Subject: acrobatviewer

Hello,

I have installed acrobatviewer-1.1 and diablo-jre-1.5.0.07.01_1.
Each time I want to use acrobatviewer, this message appears:

$ AcrobatViewer
expr: illegal option -- r
usage: expr [-e] expression
$ AcrobatViewer redbook.pdf
expr: illegal option -- r
usage: expr [-e] expression
$

An idea what is happening here?

With regards
Stevan Tiefert
  

Have you tried xpdf?

Regards,
Russell Wood


DISCLAIMER:
Disclaimer.  This e-mail is private and confidential. If you are not the
intended recipient, please advise us by return e-mail immediately, and
delete the e-mail and any attachments without using or disclosing the
contents in any way. The views expressed in this e-mail are those of the
author, and do not represent those of this company unless this is clearly
indicated. You should scan this e-mail and any attachments for viruses.
This company accepts no liability for any direct or indirect damage or loss
resulting from the use of any attachments to this e-mail.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]


Hello,

no I haven't tried xpdf...

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


  


KPDF (KDE's PDF Viewer) works great ;) - using amd64/6.2-RC1 and KDE 
from ports


--
Nathan Vidican
[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: acrobatviewer

2006-12-19 Thread Stevan Tiefert
Am Dienstag, 19. Dezember 2006 19:33 schrieb Nathan Vidican:
 Stevan Tiefert wrote:
  Am Montag, 18. Dezember 2006 23:54 schrieb Wood, Russell:
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:owner-freebsd-
  [EMAIL PROTECTED] On Behalf Of Stevan Tiefert
  Sent: Tuesday, 19 December 2006 2:44 AM
  To: freebsd-questions@freebsd.org
  Subject: acrobatviewer
 
  Hello,
 
  I have installed acrobatviewer-1.1 and diablo-jre-1.5.0.07.01_1.
  Each time I want to use acrobatviewer, this message appears:
 
  $ AcrobatViewer
  expr: illegal option -- r
  usage: expr [-e] expression
  $ AcrobatViewer redbook.pdf
  expr: illegal option -- r
  usage: expr [-e] expression
  $
 
  An idea what is happening here?
 
  With regards
  Stevan Tiefert
 
  Have you tried xpdf?
 
  Regards,
  Russell Wood
 
 
  DISCLAIMER:
  Disclaimer.  This e-mail is private and confidential. If you are not the
  intended recipient, please advise us by return e-mail immediately, and
  delete the e-mail and any attachments without using or disclosing the
  contents in any way. The views expressed in this e-mail are those of the
  author, and do not represent those of this company unless this is
  clearly indicated. You should scan this e-mail and any attachments for
  viruses. This company accepts no liability for any direct or indirect
  damage or loss resulting from the use of any attachments to this e-mail.
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 
  Hello,
 
  no I haven't tried xpdf...
 
  Regards
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]

 KPDF (KDE's PDF Viewer) works great ;) - using amd64/6.2-RC1 and KDE
 from ports

 --
 Nathan Vidican
 [EMAIL PROTECTED]


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

this thread is confusing me... An example: If I ever would have a problem with 
the FreeBSD-Kernel you would suggest me to use a linux-kernel?

I have a problem with acrobatviewer... I wanted maybe a hint or solution with 
my problem and not alternatives.

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


Re: acrobatviewer

2006-12-19 Thread Garrett Cooper

Stevan Tiefert wrote:

Am Dienstag, 19. Dezember 2006 19:33 schrieb Nathan Vidican:
  

Stevan Tiefert wrote:


Am Montag, 18. Dezember 2006 23:54 schrieb Wood, Russell:
  

-Original Message-
From: [EMAIL PROTECTED] [mailto:owner-freebsd-
[EMAIL PROTECTED] On Behalf Of Stevan Tiefert
Sent: Tuesday, 19 December 2006 2:44 AM
To: freebsd-questions@freebsd.org
Subject: acrobatviewer

Hello,

I have installed acrobatviewer-1.1 and diablo-jre-1.5.0.07.01_1.
Each time I want to use acrobatviewer, this message appears:

$ AcrobatViewer
expr: illegal option -- r
usage: expr [-e] expression
$ AcrobatViewer redbook.pdf
expr: illegal option -- r
usage: expr [-e] expression
$

An idea what is happening here?

With regards
Stevan Tiefert
  

Have you tried xpdf?

Regards,
Russell Wood


DISCLAIMER:
Disclaimer.  This e-mail is private and confidential. If you are not the
intended recipient, please advise us by return e-mail immediately, and
delete the e-mail and any attachments without using or disclosing the
contents in any way. The views expressed in this e-mail are those of the
author, and do not represent those of this company unless this is
clearly indicated. You should scan this e-mail and any attachments for
viruses. This company accepts no liability for any direct or indirect
damage or loss resulting from the use of any attachments to this e-mail.


Hello,

no I haven't tried xpdf...

Regards
  

KPDF (KDE's PDF Viewer) works great ;) - using amd64/6.2-RC1 and KDE
from ports

--
Nathan Vidican
[EMAIL PROTECTED]


Hello,

this thread is confusing me... An example: If I ever would have a problem with 
the FreeBSD-Kernel you would suggest me to use a linux-kernel?


I have a problem with acrobatviewer... I wanted maybe a hint or solution with 
my problem and not alternatives.


Regards.
   I agree. (probably going to get flamed, but oh well..) Why in the 
heck do people offer other solutions when things don't work instead of 
solving the actual problem?
   env says what? I'm particularly interested with what you have for 
your shell because that might be a point of issue, as the problem listed 
above is with a shell script of some kind (expr is a common shell command).

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


samba configure failure looking for libldap

2006-12-19 Thread Jeff Dickens

Here's a different samba build failure...

.
.
.

checking for LDAP support... yes
checking ldap.h usability... yes
checking ldap.h presence... yes
checking for ldap.h... yes
checking lber.h usability... yes
checking lber.h presence... yes
checking for lber.h... yes
checking for ber_scanf in -llber... yes
checking for ldap_init in -lldap... no
checking for ldap_set_rebind_proc... no
checking whether ldap_set_rebind_proc takes 3 arguments... 3
checking for ldap_dn2ad_canonical... no
configure: error: libldap is needed for LDAP support
===  Script configure failed unexpectedly.
Please report the problem to [EMAIL PROTECTED] [maintainer] and attach the
/usr/ports/net/samba3/work/samba-3.0.23d/source/config.log including the
output of the failure of your make command. Also, it might be a good idea to
provide an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/net/samba3.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portinstall.85198.0 make

** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
   ! net/samba3(configure error)
---  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
plover#

plover# pkg_info | grep ldap
openldap-sasl-client-2.3.27 Open source LDAP client implementation with 
SASL2 support

openldap-server-2.3.30_1 Open source LDAP server implementation
p5-perl-ldap-0.33   A Client interface to LDAP servers
smbldap-tools-0.9.2a Useful package for managing users and groups in a 
LDAP dire

plover#

plover# find / -name 'libldap*' -print
/usr/local/lib/libldap-2.3.so
/usr/local/lib/libldap-2.3.so.2
/usr/local/lib/libldap.a
/usr/local/lib/libldap.la
/usr/local/lib/libldap.so
/usr/local/lib/libldap_r-2.3.so
/usr/local/lib/libldap_r-2.3.so.2
/usr/local/lib/libldap_r.a
/usr/local/lib/libldap_r.la
/usr/local/lib/libldap_r.so




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


getting logs from jails

2006-12-19 Thread Andrikó Tamás

Hi list,

I have a FreeBSD host connected to the Internet via ADSL and a LAN behind
that, and a fat (full install) jail inside that.

Is there possible to set up the jail to provide access for a road warrior to
the lan by a pptp vpn.

The problem is that, i have only one interface and one IP in the jail, and I
have limited possibilities
to do some magic with the network settings inside a jail.

Of course the vpn traffic would be forwarded from the ext interfaces to the
jail.

Any help would be greatly appreciate

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


Re: acrobatviewer

2006-12-19 Thread Stevan Tiefert
Am Dienstag, 19. Dezember 2006 20:47 schrieb Garrett Cooper:

 I agree. (probably going to get flamed, but oh well..) Why in the
 heck do people offer other solutions when things don't work instead of
 solving the actual problem?
 env says what? I'm particularly interested with what you have for
 your shell because that might be a point of issue, as the problem listed
 above is with a shell script of some kind (expr is a common shell command).
 -Garrett
 ___

$ AcrobatViewer redbook.pdf
expr: illegal option -- r
usage: expr [-e] expression
$

That is happening,... after that I done following:

$ sh -x /usr/local/bin/AcrobatViewer redbook.pdf 2 error
$ cat error | grep expr
+ expr lrwxr-xr-x  1 root  wheel  54 19 Dez 21:34 
AcrobatViewer - /usr/local/share/java/AdobeAcrobatViewer/AcrobatViewer : 
.*[\]\(.*\)
+ expr  /usr/local/share/java/AdobeAcrobatViewer/AcrobatViewer : \(.*\).*/
+ expr  /usr/local/share/java/AdobeAcrobatViewer/AcrobatViewer : .*/\(.*\)
+ expr -r-xr-xr-x  1 root  wheel  17170 19 Dez 21:34 
AcrobatViewer : .*[\]\(.*\)
expr: illegal option -- r
usage: expr [-e] expression
+ expr acrobat.jar:lax.jar : \(.*\).*[$]ENV_CLASSPATH
+ expr acrobat.jar:lax.jar : .*[$]\(.*\)
+ expr acrobat.jar : \([/]\)
+ expr 1 + 1
+ expr lax.jar : \([/]\)
+ expr 2 + 1
+ expr 3 + 1
+ expr /usr/local/bin/javavm : .*/\(.*\)
$

You see, at the 4th time expr was called in the script the error appears!!!

My debugging knowlegde is not so great to know what to do to repair the 
script!!!

The port print/acrobatviewer is very small! Please install the port to read 
the shell-script AcrobatViewer.

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


Your message to plucker-list awaits moderator approval

2006-12-19 Thread plucker-list-admin
Your mail to 'plucker-list' with the subject

Delivery reports about your e-mail

Is being held until the list moderator can review it for approval.

The reason it is being held:

Post by non-member to a members-only list

Either the message will get posted to the list, or you will receive
notification of the moderator's decision.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Printing.

2006-12-19 Thread Greg Groth
Is there any consensus on which method I should use to enable printing 
on my 6.1 desktop?  The printer in question is an old HP Deskjet 500.  I 
recall there being issues regarding cups in the not too distant past, 
and am wondering if I should look at something else.  I'm running KDE 
(and sometimes Gnome), and looking to be able to print from Firefox, 
opera-linux, bluefish  openoffice.  I would also like to set it up to 
be able to be a network share via Samba. Any advice would be greatly 
appreciated.


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


Re: Printing.

2006-12-19 Thread Stevan Tiefert
Am Dienstag, 19. Dezember 2006 22:38 schrieb Greg Groth:
 Is there any consensus on which method I should use to enable printing
 on my 6.1 desktop?  The printer in question is an old HP Deskjet 500.  I
 recall there being issues regarding cups in the not too distant past,
 and am wondering if I should look at something else.  I'm running KDE
 (and sometimes Gnome), and looking to be able to print from Firefox,
 opera-linux, bluefish  openoffice.  I would also like to set it up to
 be able to be a network share via Samba. Any advice would be greatly
 appreciated.

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

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing.html

When you finished all steps you will be able to print whatever and whereever 
you want...

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


RE: acrobatviewer

2006-12-19 Thread Wood, Russell
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of Stevan Tiefert
 Sent: Wednesday, 20 December 2006 3:43 AM
 To: freebsd-questions@freebsd.org
 Cc: Nathan Vidican
 Subject: Re: acrobatviewer
 
 Am Dienstag, 19. Dezember 2006 19:33 schrieb Nathan Vidican:
  Stevan Tiefert wrote:
   Am Montag, 18. Dezember 2006 23:54 schrieb Wood, Russell:
   -Original Message-
   From: [EMAIL PROTECTED] [mailto:owner-freebsd-
   [EMAIL PROTECTED] On Behalf Of Stevan Tiefert
   Sent: Tuesday, 19 December 2006 2:44 AM
   To: freebsd-questions@freebsd.org
   Subject: acrobatviewer
  
   Hello,
  
   I have installed acrobatviewer-1.1 and diablo-jre-1.5.0.07.01_1.
   Each time I want to use acrobatviewer, this message appears:
  
   $ AcrobatViewer
   expr: illegal option -- r
   usage: expr [-e] expression
   $ AcrobatViewer redbook.pdf
   expr: illegal option -- r
   usage: expr [-e] expression
   $
  
   An idea what is happening here?
  
   With regards
   Stevan Tiefert
  
   Have you tried xpdf?
  
   Regards,
   Russell Wood
  
  
   DISCLAIMER:
   Disclaimer.  This e-mail is private and confidential. If you are
not
 the
   intended recipient, please advise us by return e-mail
immediately,
 and
   delete the e-mail and any attachments without using or disclosing
the
   contents in any way. The views expressed in this e-mail are those
of
 the
   author, and do not represent those of this company unless this is
   clearly indicated. You should scan this e-mail and any
attachments
 for
   viruses. This company accepts no liability for any direct or
indirect
   damage or loss resulting from the use of any attachments to this
e-
 mail.
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to
   [EMAIL PROTECTED]
  
   Hello,
  
   no I haven't tried xpdf...
  
   Regards
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to
   [EMAIL PROTECTED]
 
  KPDF (KDE's PDF Viewer) works great ;) - using amd64/6.2-RC1 and KDE
  from ports
 
  --
  Nathan Vidican
  [EMAIL PROTECTED]
 
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 Hello,
 
 this thread is confusing me... An example: If I ever would have a
problem
 with
 the FreeBSD-Kernel you would suggest me to use a linux-kernel?
 
 I have a problem with acrobatviewer... I wanted maybe a hint or
solution
 with
 my problem and not alternatives.
 
 Regards.

Well, I have never used acrobatviewer so I'm not familiar with it's
failures. However, since I have only ever used xpdf - never had any
problems with it - I thought that maybe you'd never heard of it and
might want to give it a try.

Good luck.

Regards,
Russell Wood


DISCLAIMER:
Disclaimer.  This e-mail is private and confidential. If you are not the 
intended recipient, please advise us by return e-mail immediately, and delete 
the e-mail and any attachments without using or disclosing the contents in any 
way. The views expressed in this e-mail are those of the author, and do not 
represent those of this company unless this is clearly indicated. You should 
scan this e-mail and any attachments for viruses. This company accepts no 
liability for any direct or indirect damage or loss resulting from the use of 
any attachments to this e-mail.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: acrobatviewer

2006-12-19 Thread Garrett Cooper

On Dec 19, 2006, at 1:25 PM, Stevan Tiefert wrote:


Am Dienstag, 19. Dezember 2006 20:47 schrieb Garrett Cooper:


I agree. (probably going to get flamed, but oh well..) Why in the
heck do people offer other solutions when things don't work  
instead of

solving the actual problem?
env says what? I'm particularly interested with what you have for
your shell because that might be a point of issue, as the problem  
listed
above is with a shell script of some kind (expr is a common shell  
command).

-Garrett
___


$ AcrobatViewer redbook.pdf
expr: illegal option -- r
usage: expr [-e] expression
$

That is happening,... after that I done following:

$ sh -x /usr/local/bin/AcrobatViewer redbook.pdf 2 error
$ cat error | grep expr
+ expr lrwxr-xr-x  1 root  wheel  54 19 Dez 21:34
AcrobatViewer - /usr/local/share/java/AdobeAcrobatViewer/ 
AcrobatViewer : .*[\]\(.*\)
+ expr  /usr/local/share/java/AdobeAcrobatViewer/AcrobatViewer : \ 
(.*\).*/
+ expr  /usr/local/share/java/AdobeAcrobatViewer/AcrobatViewer : .*/ 
\(.*\)

+ expr -r-xr-xr-x  1 root  wheel  17170 19 Dez 21:34
AcrobatViewer : .*[\]\(.*\)
expr: illegal option -- r
usage: expr [-e] expression
+ expr acrobat.jar:lax.jar : \(.*\).*[$]ENV_CLASSPATH
+ expr acrobat.jar:lax.jar : .*[$]\(.*\)
+ expr acrobat.jar : \([/]\)
+ expr 1 + 1
+ expr lax.jar : \([/]\)
+ expr 2 + 1
+ expr 3 + 1
+ expr /usr/local/bin/javavm : .*/\(.*\)
$

You see, at the 4th time expr was called in the script the error  
appears!!!


My debugging knowlegde is not so great to know what to do to repair  
the

script!!!

The port print/acrobatviewer is very small! Please install the port  
to read

the shell-script AcrobatViewer.

Regards
Stevan Tiefert


I'll take a look when I get back in an hour.. Hopefully I can get  
Java installed tonight, at least.. I hate Java. Lol.

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


Re: Printing.

2006-12-19 Thread Garrett Cooper

On Dec 19, 2006, at 1:38 PM, Greg Groth wrote:

Is there any consensus on which method I should use to enable  
printing on my 6.1 desktop?  The printer in question is an old HP  
Deskjet 500.  I recall there being issues regarding cups in the not  
too distant past, and am wondering if I should look at something  
else.  I'm running KDE (and sometimes Gnome), and looking to be  
able to print from Firefox, opera-linux, bluefish  openoffice.  I  
would also like to set it up to be able to be a network share via  
Samba. Any advice would be greatly appreciated.


Best regards,
Greg Groth


Configuring Samba (aka Windows filesharing on Unix) is pretty  
straightforward. See: http://www.freebsd.org/doc/en_US.ISO8859-1/ 
books/handbook/network-samba.html.

-Garrett

PS Would you happen to work at Greg's Garage for Imports in the  
Seattle area? Just curious..

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


undeliverable mail

2006-12-19 Thread Beastie MRA
Dear All.

For past few days, my MX receive thousand of undeliverable message
destinated for my non existent user at my domain.
This message source come from valid and well configured (almost) smtp
server on internet.
I'ts waste my internet b/w, cause my MX will reject with non existent
user message.
I'll try spamd on my firewall and greylist on my MX (postfix), but still
no effective, and i cannot block undeliverable
message as RFC rules

Is there any way i can fix this ?
Please help

regards
Reza

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


Re: var out of space

2006-12-19 Thread Bradley Giesbrecht

Thanks for all help.

uname says FreeBSD 4.10-SECURITY

Looks like I should do a fresh install. What's a bugger is this  
server does dns (bind 8) and web hosting (Apache 1.3) for a few  
hundred domains.


I can backup the zone and web data no problem but I've only installed  
FreeBSD a few times while looking for a replacement for Gentoo.


I need to get this right.

This server will only be doing dns and some minor (low hit) web hosting.

I will do my own homework and google like hell before I do this but  
I'd like to ask here on this list what version of FreeBSD I should go  
with

if there is a good howto for a combo bind/apache/php/mysql build.

Thanks for sharing your valuable time.

//Brad

On Dec 16, 2006, at 11:31 PM, Bradley Giesbrecht wrote:


Hello,


I inherited a freebsd installation with a var slice/mount that is  
to small and filling up all the time.


What type of info should I provide to allow someone to help me with  
a solution?


I would very much prefer to not install another drive just for /var.

/usr has plenty of space. Can I mount var off of /usr?

Here is the output of df for starters:

/dev/ad0s1a128990  119970-1298   101%/
/dev/ad0s1f257998  1852465211478%/tmp
/dev/ad0s1g 112755734 4533434 99201842 4%/usr
/dev/ad0s1e257998  2069563040487%/var
procfs  4   40   100%/proc


and ls -la at / looks like this:

-rw-r--r--   2 root  wheel  802 May 25  2004 .cshrc
-rw-r--r--   2 root  wheel  251 May 25  2004 .profile
-r--r--r--   1 root  wheel 6355 May 25  2004 COPYRIGHT
drwxr-xr-x   2 root  wheel 1024 Nov 29 17:39 bin
drwxr-xr-x   3 root  wheel  512 Nov  5 15:27 boot
drwxr-xr-x   2 root  wheel  512 Jan 16  2005 cdrom
lrwxr-xr-x   1 root  wheel   10 Jan 16  2005 compat - usr/compat
drwxr-xr-x   3 root  wheel20480 Jan 16  2005 dev
drwxr-xr-x  16 root  wheel 2560 Dec  1 16:11 etc
lrwxrwxrwx   1 root  wheel9 Jan 16  2005 home - /usr/home
-r-xr-xr-x   1 root  wheel  4344469 Nov  5 13:22 kernel
-r-xr-xr-x   1 root  wheel  4344469 Nov  5 13:22 kernel.GENERIC
drwxr-xr-x   2 root  wheel  512 May 25  2004 mnt
drwxr-xr-x   2 root  wheel 4608 Nov  5 13:22 modules
dr-xr-xr-x   1 root  wheel  512 Dec 17 01:10 proc
drwxr-xr-x   3 root  wheel  512 Nov  5 13:36 root
drwxr-xr-x   2 root  wheel 2048 Nov  5 15:27 sbin
drwxr-xr-x   4 root  wheel 1024 Jan 16  2005 stand
lrwxr-xr-x   1 root  wheel   11 Nov  5 15:27 sys - usr/src/sys
drw---   7 root  wheel 2048 Dec 17 01:09 tmp
drwxr-xr-x  18 root  wheel  512 Jan 16  2005 usr
drwxr-xr-x  21 root  wheel  512 Nov  6 11:54 var


Thanks for any help,
Brad

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions- 
[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: var out of space

2006-12-19 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Bradley Giesbrecht wrote:
 Thanks for all help.
 
 uname says FreeBSD 4.10-SECURITY
 
 Looks like I should do a fresh install. What's a bugger is this server
 does dns (bind 8) and web hosting (Apache 1.3) for a few hundred domains.
 
 I can backup the zone and web data no problem but I've only installed
 FreeBSD a few times while looking for a replacement for Gentoo.
 
 I need to get this right.
 
 This server will only be doing dns and some minor (low hit) web hosting.
 
 I will do my own homework and google like hell before I do this but I'd
 like to ask here on this list what version of FreeBSD I should go with
 if there is a good howto for a combo bind/apache/php/mysql build.
 
 Thanks for sharing your valuable time.
 
 //Brad
 
 On Dec 16, 2006, at 11:31 PM, Bradley Giesbrecht wrote:
 
 Hello,


 I inherited a freebsd installation with a var slice/mount that is to
 small and filling up all the time.

 What type of info should I provide to allow someone to help me with a
 solution?

 I would very much prefer to not install another drive just for /var.

 /usr has plenty of space. Can I mount var off of /usr?

 Here is the output of df for starters:

 /dev/ad0s1a128990  119970-1298   101%/
 /dev/ad0s1f257998  1852465211478%/tmp
 /dev/ad0s1g 112755734 4533434 99201842 4%/usr
 /dev/ad0s1e257998  2069563040487%/var
 procfs  4   40   100%/proc


 and ls -la at / looks like this:

 -rw-r--r--   2 root  wheel  802 May 25  2004 .cshrc
 -rw-r--r--   2 root  wheel  251 May 25  2004 .profile
 -r--r--r--   1 root  wheel 6355 May 25  2004 COPYRIGHT
 drwxr-xr-x   2 root  wheel 1024 Nov 29 17:39 bin
 drwxr-xr-x   3 root  wheel  512 Nov  5 15:27 boot
 drwxr-xr-x   2 root  wheel  512 Jan 16  2005 cdrom
 lrwxr-xr-x   1 root  wheel   10 Jan 16  2005 compat - usr/compat
 drwxr-xr-x   3 root  wheel20480 Jan 16  2005 dev
 drwxr-xr-x  16 root  wheel 2560 Dec  1 16:11 etc
 lrwxrwxrwx   1 root  wheel9 Jan 16  2005 home - /usr/home
 -r-xr-xr-x   1 root  wheel  4344469 Nov  5 13:22 kernel
 -r-xr-xr-x   1 root  wheel  4344469 Nov  5 13:22 kernel.GENERIC
 drwxr-xr-x   2 root  wheel  512 May 25  2004 mnt
 drwxr-xr-x   2 root  wheel 4608 Nov  5 13:22 modules
 dr-xr-xr-x   1 root  wheel  512 Dec 17 01:10 proc
 drwxr-xr-x   3 root  wheel  512 Nov  5 13:36 root
 drwxr-xr-x   2 root  wheel 2048 Nov  5 15:27 sbin
 drwxr-xr-x   4 root  wheel 1024 Jan 16  2005 stand
 lrwxr-xr-x   1 root  wheel   11 Nov  5 15:27 sys - usr/src/sys
 drw---   7 root  wheel 2048 Dec 17 01:09 tmp
 drwxr-xr-x  18 root  wheel  512 Jan 16  2005 usr
 drwxr-xr-x  21 root  wheel  512 Nov  6 11:54 var


 Thanks for any help,
 Brad

Brad,
Just get the latest stable (6.x); it's a good, solid release. New
version of 6.x is coming out soon though (6.2) FYI.
- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFiKSFEnKyINQw/HARAhh7AJ9dorBmPBOqSC2k9JEGcyochy63jgCfZlu0
Y0pq72/YB/2AlWdjlxN7aPw=
=6vJ1
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: undeliverable mail

2006-12-19 Thread Beastie MRA
On Dec 20, 2006 10:31 AM, Bill Vermillion [EMAIL PROTECTED] wrote:

It's Wed, Dec 20, 2006 at 09:26 . I'm in a small dim room with
doors labeled Dungeon and Forbidden. There is noise, the door
marked Dungeon flies open and Beastie MRA SHOUTS:

Dear All.

For past few days, my MX receive thousand of undeliverable message
destinated for my non existent user at my domain.
This message source come from valid and well configured (almost) smtp
server on internet.
I'ts waste my internet b/w, cause my MX will reject with non existent
user message.
I'll try spamd on my firewall and greylist on my MX (postfix), but
still
no effective, and i cannot block undeliverable
message as RFC rules

Is there any way i can fix this ?
Please help

I use the virtusertable in sendmail, and I have my valid addresses,
such as [EMAIL PROTECTED] bv and then for after that is
a line of @wjv.com nouser.

And nouser is defined in aliases as nouser: /dev/null

On one of the mail servers I maintain I just checked and I
had 260,000+ messages routed to *file* in the maillog - which
shows up as mailer=*file* in the logs. That maillog rotates
every night at midnight.

Is not really a freebsd-net problem so I removed that from the
reply to line.

Bill

--
Bill Vermillion - bv @ wjv . com

Thanks  for response...

but this virtusertable will not stop SMTP server in internet to keep
send you undeliverable message.
I assume someone doing nasty with forged and use my domain email to send
his spam message to non existing user.
and i got undeliverable message.
Is there any clue ??
Oh.. i forget to mention i use 4.11-STABLE for my MX

regards
Reza



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


Re: undeliverable mail

2006-12-19 Thread Bill Vermillion
It's Wed, Dec 20, 2006 at 09:26 . I'm in a small dim room with
doors labeled Dungeon and Forbidden. There is noise, the door
marked Dungeon flies open and Beastie MRA SHOUTS:

 Dear All.
 
 For past few days, my MX receive thousand of undeliverable message
 destinated for my non existent user at my domain.
 This message source come from valid and well configured (almost) smtp
 server on internet.
 I'ts waste my internet b/w, cause my MX will reject with non existent
 user message.
 I'll try spamd on my firewall and greylist on my MX (postfix), but still
 no effective, and i cannot block undeliverable
 message as RFC rules
 
 Is there any way i can fix this ?
 Please help

I use the virtusertable in sendmail, and I have my valid addresses,
such as   [EMAIL PROTECTED]  bv  and then for after that is
a line of   @wjv.comnouser.

And nouser is defined in aliases as   nouser:   /dev/null

On one of the mail servers I maintain I just checked and I
had 260,000+ messages routed to *file* in the maillog - which
shows up as  mailer=*file*  in the logs.   That maillog rotates
every night at midnight.

Is not really a freebsd-net problem so I removed that from the
reply to line.

Bill

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


Re: freebsd mount windows or vise versa

2006-12-19 Thread Jonathan Arnold

Tsu-Fan Cheng wrote:

hi people,
  does anyone know how to mount and read/write freebsd/windows disk from
windows/freebsd? mount_ntfs command can only read, it there some app that
can write as well? thanks!!


You can check out UFS Explorer, which claims to be able to r/w UFS partitions
from Windows: http://www.ufsexplorer.com/index.php

I haven't tried it yet, but the project ntfs-3g looks like a promising attempt
to r/w NTFS partitions: http://www.ntfs-3g.org/

--
Jonathan Arnold (mailto:[EMAIL PROTECTED])
Daemon Dancing in the Dark, a FreeBSD weblog:
http://freebsd.amazingdev.com/blog/

UNIX is user-friendly. It's just a bit picky about who its friends are.

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


Network Drivers for FreeBSD5.4

2006-12-19 Thread Abhijit Kumbhar

Hi,

I m writing a virtual ethernet interface for FreeBSD5.4.I went through the
documentation on Writing FreeBSD Device Drivers and depending on the
loopback interface code developved a code similar to loopback interface but
with interface type as ethernet.The module is getting compiled without error
but when i m trying to load it m getting the error as file not found.

So can i get some more documentation on Network Device Drivers to refer .
Also the documentation about Bill Paul's network drivers.Please let me know
asap.

Waiting for reply.

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


SCSI Tape Drive Problems

2006-12-19 Thread Mark Kane
Hi everyone. I'm experiencing some problems with two tape drives
attached to this machine. Here is the situation:

I first tried backing up 17GB of data using cpio to a six tape DDS-4
autoloader with a fresh 20GB/40GB Fuji tape. It stopped writing after
about 9GB and gave the following error message on the command line,
but didn't output anything to /var/log/messages:

Internal overflow, aborting

If I try to use tar instead of cpio and backup the same 17GB directory
to the same 20GB native tape, it will give a tape full error way before
completing. 

With that six tape autoloader, I have tried with two different brand new
DDS-4 20/40 tapes, and the unit itself is brand new from the factory
and has only written a few GB so far (mainly smaller files, which
seemed to work fine).

I then tried backing up the same 17GB directory to a Sun DLT 4000 single
tape unit with a 20GB/40GB tape using cpio. It wrote about 250MB and
then quit with a Found End of Volume error. It outputted a lot of
errors to /var/log/messages which can be found here:

http://tntpowerhost.com/mixx941/freebsd/sun_tape_errors_1.log

I did another test on the same Sun DLT 4000 with a smaller 1.5GB
directory and a different tape. This time it wrote about 550MB and then
gave the same Found End of Volume message as before. This time there
were even more errors in /var/log/messages:

http://tntpowerhost.com/mixx941/freebsd/sun_tape_errors_2.log

I also tested with the smaller 1.5GB directory to the DDS-4 autoloader,
however that did complete without error.

At this point I was running 6.2-PRERELEASE #18: Wed Nov 15 11:12:09
from last month, so today I cvsupped to RELENG_6 and rebuilt. 

Trying the same 1.5GB directory using the Sun DLT 4000 after the update
resulted in it writing about 200MB of data and then stopping with the
Found end of volume message again, as well as errors
in /var/log/messages (however not as many this time):

http://tntpowerhost.com/mixx941/freebsd/sun_tape_errors_3.log

Any suggestions on what to check or any ideas on how to proceed would
be great. I don't think it's both tape drives failing or bad tapes
because pretty much the same thing happens with two different drives
(one of which is completely new), and four different tapes (two of those
completely new). I suppose it could be a problem with the SCSI
controller (Adaptec 2940U2W), but I'd like to rule out any software
issues before having to buy any additional hardware.

Thanks very much in advance.

-Mark
Dmesg: http://tntpowerhost.com/mixx941/freebsd/dmesg.121906

-- 
Internet Radio:
Party107 (Trance/Electronic) - http://www.party107.com
Rock 101.9 The Edge (Rock) - http://www.rock1019.net

IRC:
MIXXnet IRC Network - irc.mixxnet.net (Nick: MIXX941)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Confused with jails (ezjail) and mergemaster

2006-12-19 Thread Doug Poland
Hello,

Sorry for the confusion here, but I just am not getting it ...

I have just built and installed world on a 6.1-STABLE i386 machine and
run mergemaster.  For the jails, I have run:

root# ezjail-admin update -i

and it performed an installworld.  Cool so far.

What about mergemaster on the jails?  Do I need to run mergemaster on
the basejail and each jail instance?

root# mergemaster -D /usr/jails/basejail 
root# mergemaster -D /usr/jails/jail-01 
root# mergemaster -D /usr/jails/jail-99

Or just mergemaster on basejail?  If I do just run mergemaster on
basejail, how do the config file changes make it into the individual
jails?  Ezjail is a great utility but running mergemaster on every jail
instance seems daunting, not to mention the potential problems with
end-user modified config files.

Many thanks for clarification, pointers, slaps upside the head, etc.


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


Re: acrobatviewer

2006-12-19 Thread Warren Block

Stevan Tiefert wrote:

I have installed acrobatviewer-1.1 and diablo-jre-1.5.0.07.01_1.
Each time I want to use acrobatviewer, this message appears:

$ AcrobatViewer
expr: illegal option -- r
usage: expr [-e] expression
$ AcrobatViewer redbook.pdf
expr: illegal option -- r
usage: expr [-e] expression
$


[Suggestions of using xpdf or kpdf...]

this thread is confusing me... An example: If I ever would have a 
problem with the FreeBSD-Kernel you would suggest me to use a 
linux-kernel?


I have a problem with acrobatviewer... I wanted maybe a hint or 
solution with my problem and not alternatives.


Some people would read your question as What can I use to view PDFs? 
They're trying to help.  Nobody has suggested acroread yet, which also 
works.


As to your original question, there are several problems with with 
escaping and quoting in the AcrobatViewer shell script.  That whole 
script is a problem.  What it's supposed to do is set up an environment 
to actually run the Java code.


You can run it directly:

java -cp acrobat.jar com.adobe.acrobat.Viewer 
Exception in thread main java.lang.NoClassDefFoundError: com/apple/mrj/MRJAboutHandler


(The same error shows up when you run the LAX version set up by the 
shell script.)


Web searching led to this:

http://groups.google.com/group/comp.lang.java.programmer/msg/a49b39f4960fca76?dmode=source

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


Re: SCSI Tape Drive Problems

2006-12-19 Thread Dan Nelson
In the last episode (Dec 19), Mark Kane said:
 Hi everyone. I'm experiencing some problems with two tape drives
 attached to this machine. Here is the situation:
 
 I then tried backing up the same 17GB directory to a Sun DLT 4000
 single tape unit with a 20GB/40GB tape using cpio. It wrote about
 250MB and then quit with a Found End of Volume error. It outputted
 a lot of errors to /var/log/messages which can be found here:
 
 http://tntpowerhost.com/mixx941/freebsd/sun_tape_errors_1.log

Timeouts and unexpected busfree errors like these are indicative of
cabling or termination problems.  I don't think DLTs auto-terminate,
for example, so try putting an external terminator on the 2nd plug on
the back of the unit (or if it's an internal drive with one plug,
terminate the cable the drive's plugged into).  Once you get those
errors sorted out, see whether you still get incorrect volume full
messages.

Completely unrelated, but it's interesting that the string SCBs in
those logs got translated to SCDel!  I've never seen
Backspace-Delete conversion like that before :)

-- 
Dan Nelson
[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: SCSI Tape Drive Problems

2006-12-19 Thread Ted Mittelstaedt
That's hardware, most likely scsi termination issues or cabling issues.

I have seen these errors lots of times when using a high speed scsi
controller
on a tape drive.  Sometimes you can play with the settings on the
controller or flip switches on the drive to get things to work, sometimes
you can use better cables and get things to work, usually I just
go get an older, slower scsi controller.  There's a computer recycler
here that has stacks of aha 2940's  (not the ultra ones) for a couple
bucks a card.

Ted

- Original Message - 
From: Mark Kane [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Tuesday, December 19, 2006 8:16 PM
Subject: SCSI Tape Drive Problems


 Hi everyone. I'm experiencing some problems with two tape drives
 attached to this machine. Here is the situation:

 I first tried backing up 17GB of data using cpio to a six tape DDS-4
 autoloader with a fresh 20GB/40GB Fuji tape. It stopped writing after
 about 9GB and gave the following error message on the command line,
 but didn't output anything to /var/log/messages:

 Internal overflow, aborting

 If I try to use tar instead of cpio and backup the same 17GB directory
 to the same 20GB native tape, it will give a tape full error way before
 completing.

 With that six tape autoloader, I have tried with two different brand new
 DDS-4 20/40 tapes, and the unit itself is brand new from the factory
 and has only written a few GB so far (mainly smaller files, which
 seemed to work fine).

 I then tried backing up the same 17GB directory to a Sun DLT 4000 single
 tape unit with a 20GB/40GB tape using cpio. It wrote about 250MB and
 then quit with a Found End of Volume error. It outputted a lot of
 errors to /var/log/messages which can be found here:

 http://tntpowerhost.com/mixx941/freebsd/sun_tape_errors_1.log

 I did another test on the same Sun DLT 4000 with a smaller 1.5GB
 directory and a different tape. This time it wrote about 550MB and then
 gave the same Found End of Volume message as before. This time there
 were even more errors in /var/log/messages:

 http://tntpowerhost.com/mixx941/freebsd/sun_tape_errors_2.log

 I also tested with the smaller 1.5GB directory to the DDS-4 autoloader,
 however that did complete without error.

 At this point I was running 6.2-PRERELEASE #18: Wed Nov 15 11:12:09
 from last month, so today I cvsupped to RELENG_6 and rebuilt.

 Trying the same 1.5GB directory using the Sun DLT 4000 after the update
 resulted in it writing about 200MB of data and then stopping with the
 Found end of volume message again, as well as errors
 in /var/log/messages (however not as many this time):

 http://tntpowerhost.com/mixx941/freebsd/sun_tape_errors_3.log

 Any suggestions on what to check or any ideas on how to proceed would
 be great. I don't think it's both tape drives failing or bad tapes
 because pretty much the same thing happens with two different drives
 (one of which is completely new), and four different tapes (two of those
 completely new). I suppose it could be a problem with the SCSI
 controller (Adaptec 2940U2W), but I'd like to rule out any software
 issues before having to buy any additional hardware.

 Thanks very much in advance.

 -Mark
 Dmesg: http://tntpowerhost.com/mixx941/freebsd/dmesg.121906

 -- 
 Internet Radio:
 Party107 (Trance/Electronic) - http://www.party107.com
 Rock 101.9 The Edge (Rock) - http://www.rock1019.net

 IRC:
 MIXXnet IRC Network - irc.mixxnet.net (Nick: MIXX941)
 ___
 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: Network Drivers for FreeBSD5.4

2006-12-19 Thread Girish Venkatachalam
On Wed, Dec 20, 2006 at 09:57:17AM +0530, Abhijit Kumbhar wrote:
 Hi,
 
 I m writing a virtual ethernet interface for FreeBSD5.4.I went through the
 documentation on Writing FreeBSD Device Drivers and depending on the
 loopback interface code developved a code similar to loopback interface but
 with interface type as ethernet.The module is getting compiled without error
 but when i m trying to load it m getting the error as file not found.
 
 So can i get some more documentation on Network Device Drivers to refer .
 Also the documentation about Bill Paul's network drivers.Please let me know
 asap.

Something tells me this question should be in hackers@

Don't you think so? :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: undeliverable mail

2006-12-19 Thread Matthew Seaman
Beastie MRA wrote:
 On Dec 20, 2006 10:31 AM, Bill Vermillion [EMAIL PROTECTED] wrote:
 
 It's Wed, Dec 20, 2006 at 09:26 . I'm in a small dim room with
 doors labeled Dungeon and Forbidden. There is noise, the door
 marked Dungeon flies open and Beastie MRA SHOUTS:

 Dear All.

 For past few days, my MX receive thousand of undeliverable message
 destinated for my non existent user at my domain.
 This message source come from valid and well configured (almost) smtp
 server on internet.
 I'ts waste my internet b/w, cause my MX will reject with non existent
 user message.
 I'll try spamd on my firewall and greylist on my MX (postfix), but
 still
 no effective, and i cannot block undeliverable
 message as RFC rules

 Is there any way i can fix this ?
 Please help
 I use the virtusertable in sendmail, and I have my valid addresses,
 such as [EMAIL PROTECTED] bv and then for after that is
 a line of @wjv.com nouser.

 And nouser is defined in aliases as nouser: /dev/null

 On one of the mail servers I maintain I just checked and I
 had 260,000+ messages routed to *file* in the maillog - which
 shows up as mailer=*file* in the logs. That maillog rotates
 every night at midnight.

 Is not really a freebsd-net problem so I removed that from the
 reply to line.

 Bill

 --
 Bill Vermillion - bv @ wjv . com
 
 Thanks  for response...
 
 but this virtusertable will not stop SMTP server in internet to keep
 send you undeliverable message.
 I assume someone doing nasty with forged and use my domain email to send
 his spam message to non existing user.
 and i got undeliverable message.
 Is there any clue ??
 Oh.. i forget to mention i use 4.11-STABLE for my MX

Hmmm... SPF records are a good tool against this sort of thing.
Perhaps if you change from:

mra.co.id.   v=spf1 mx 

to

mra.co.id.   v=spf1 mx -all

That means that SPF compliant mail servers should refuse to accept
messages (ie. a hard fail) from any machine other than the MXes for
mra.co.id  See http://www.openspf.org/SPF_Record_Syntax for the full
story on SPF records.

It's not a 100% solution and it will take the spammers some time to
realise that forging your address in their e-mails is much less
effective.  On the positive side, it will mean that many mailservers
reject the incoming spam during the SMTP dialog so you'll get fewer
bounce messages.

This problem exposes an architectural flaw in many e-mail server
setups.  Either all of the MXes for a domain have to be able to verify
addresses on incoming e-mails and reject any non-existent destinations
during the SMTP dialog, or (like Bill does above) once a message has
been accepted by any of the mail servers for your domain, it should
never be bounced back to the (probably forged) mail address in the
headers because the recipient doesn't exist.  Bouncing for other reasons,
(like eg. mailbox over quota) does not generally add to the overall spam
load.  Normally a very simple site with just one server will get that right,
but a more complex site with several MXes and various SMTP routers etc.
internally will frequently not.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: Local DNS Caching not caching on external interface

2006-12-19 Thread Tek Bahadur Limbu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Hi Chad,

Well I am please to inform you that the local DNS caching server is
working fine now.
I had made a mistake in my IPFW rules in the workstations that were
querying the local DNS caching server.

The DNS caching server was indeed sending DNS name look up results but
my workstations were not accepting it.

Anyway, I would like to thank you and all FreeBSD users once again for
your support and help. I will update you all if I face any problems
again.



 On Tue, 19 Dec 2006 08:47:48 -0500
Chad Gross [EMAIL PROTECTED] wrote:

 On 12/17/06, Tek Bahadur Limbu [EMAIL PROTECTED] wrote:
 
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  On Fri, 15 Dec 2006 08:25:41 -0500
  Chad Gross [EMAIL PROTECTED] wrote:
 
   On 12/15/06, Tek Bahadur Limbu [EMAIL PROTECTED] wrote:
   
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
   
On Thu, 14 Dec 2006 08:34:11 -0500
Chad Gross [EMAIL PROTECTED] wrote:
   
 On 12/14/06, Tek Bahadur Limbu [EMAIL PROTECTED] wrote:
 
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  On Thu, 14 Dec 2006 01:08:11 -0800
  Christopher Cowart [EMAIL PROTECTED] wrote:
 
   On 14:57 Thu 14 Dec , Tek Bahadur Limbu wrote:
Dear All,
   
I am very new to Bind and FreeBSD.
   
I have just configured a Local DNS server using the
built-in Bind 9.3.1 on a FreeBSD 5.4 machine.
   
My problem is that the machine can cache queries on the
localhost and loop back (127.0.0.1) interface only.
   
I have a public static IP on this machine too and I
can't seem to query the caching name server from my
local network.
   
In Linux, this is no problem. I just can't seem to get
Bind to work as in my local network. It works only on
the loopback interface.
  
   The default /etc/namedb/named.conf configuration file for
   BIND says:
  
   | // If named is being used only as a local resolver,
   | this is a safe default. // For named to be accessible
   | to the network, comment this option, specify // the
   | proper IP address, or delete this option. listen-on
   | { 127.0.0.1; };
  
   It looks like if you comment out that option, it will
   listen on * by default. You could also add the other IP
   address on which you want named to listen.
  
   --
   Chris Cowart
   Network and Infrastructure Systems Administrator
   RSSP-IT, UC Berkeley
   May all your pushes be popped
  
 
  Dear Chris,
 
  Thank you for your help. I did comment and added my public
  static IP like the following:
 
 
  listen-on   { 202.x.x.x; }; # My Static IP
 
  Now when I do from my local PC:
 
  dig yahoo.com @202.x.x.x , I can do DNS lookups.
 
  But when I try doing that from another computer on my
  network, I can't do any DNS lookups.
 
 
  Is that anything that I miss?
 
 
  - --
 
 
  With best regards and good wishes,
 
  Yours sincerely,
 
  Tek Bahadur Limbu
 
  (TAG/TDG Group)
  Jwl Systems Department
 
  Worldlink Communications Pvt. Ltd.
 
  Jawalakhel, Nepal
  -BEGIN PGP SIGNATURE-
  Version: GnuPG v1.4.2.2 (FreeBSD)
 
  iD8DBQFFgT8ZVrOl+eVhOvYRAn8OAJwOOC6+C8mnY+YBP
  +1GxG2uDTfWpgCfTFr1 168ArGMkI0+9Qj/MpzFbmUo=
  =p9RV
  -END PGP SIGNATURE-
  ___



 You have to tell the other machines on your network to use
 the IP of the local DNS server for domain name resolution. If
 you are using DHCP you can configure your DHCP server to give
 this information with the IP. Otherwise you must manually do
 it, which will be different between operating systems.

 HINT: In FreeBSD add the IP of the DNS server
 to /etc/resolve.conf

 Chad

   
   
Dear Chad,
   
I just get the following logs while troubleshooting with
tcpdump.
   
local nameserver IP: 202.102.5.100
network PC IP: 202.102.5.50
   
When I do a nslookup of yahoo and google from network PC using
the local caching nameserver, I only get this on the caching
nameserver.
   
13:23:58.707604 IP 202.102.5.50.44778  202.102.5.100.53:  56955
+ A? google.com. (28)
13:23:32.899379 IP 202.102.5.50.40229  202.102.5.100.53:  47636
+ A? yahoo.com. (27)
   
   
Note: Please note that the above Static IPs are just arbitrary
values.
   
Can you please shed some light on this issue?
   
- --
   
   
With best regards and good wishes,
   
Yours sincerely,
   
Tek Bahadur Limbu
   
(TAG/TDG Group)
Jwl Systems Department
   
Worldlink Communications Pvt. Ltd.
   
Jawalakhel, Nepal
-BEGIN PGP SIGNATURE-