Unable to start NFS server from FreeBSD Jail environment.

2003-10-31 Thread Prashant Sarma

Hi everybody,

I am relatively new to FreeBSD, so please pardon me
if this question is not appropriate for this mailing
list. My question pertains to FreeBSD jail
environments.

I am unable start an NFS server from within a 
FreeBSD jail. I have configured the jail environment
to allow sshd and telnet, but I am unable to export
file systems from the jail.

My logs and configuration are as follows:

/var/log/messages (Jail Environment):

Oct 31 09:36:00 emulite2 mountd[210]: can't delete
exports for /
Oct 31 09:36:00 emulite2 mountd[210]: can't delete
exports for /usr/testbed
Oct 31 09:36:00 emulite2 mountd[210]: can't delete
exports for /ops-jail
Oct 31 09:36:00 emulite2 mountd[210]: can't delete
exports for /var
Oct 31 09:36:00 emulite2 mountd[210]: can't change
attributes for /usr
Oct 31 09:36:00 emulite2 mountd[210]: bad exports list
line /usr   -alldirs   leaningtower
Oct 31 09:36:00 emulite2 nfsd:[230]: nfssvc: Operation
not permitted
Oct 31 09:36:00 emulite2 nfsd:[231]: nfssvc: Operation
not permitted
Oct 31 09:36:00 emulite2 nfsd:[214]: can't Add UDP
socket
Oct 31 09:36:00 emulite2 nfsiod:[237]: nfssvc:
Operation not permitted
Oct 31 09:36:00 emulite2 nfsiod:[238]: nfssvc:
Operation not permitted

CONFIGURATION:

Parent Machine: Pentium 1.5 GHz., 3Com (xl0) 10/100
interface, FreeBSD 4.8-RELEASE

Jail Environment: Runs on an independent hard disk,
mounted by the Parent, has network connectivity
(network interface is aliased from Parent's
interface),
successfully runs sshd. 

Here is an 'rpcinfo -p' done on the jail:

102   tcp111  portmapper
102   udp111  portmapper
153   udp   1008  mountd
153   tcp   1021  mountd
151   udp   1008  mountd
151   tcp   1021  mountd
132   udp   2049  nfs
133   udp   2049  nfs
1000241   udp998  status
1000241   tcp   1020  status

Here is the Jail's  /etc/exports file:
/usr-alldirsleaningtower

I would would appreciate any advice/pointers in this 
regard.

Thank you,

Prashant

__
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Want to be a member of Free BSD

2003-03-08 Thread Prashant Sarma

Visit the following webpage.

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/x29.html

~Prashant

On Sat, 8 Mar 2003, Md. Mohebullah wrote:

 Dear Sir,

 I want to be a member of your free BSD user group. Please suggest me how
 come I become a member.

 Your nice co-operation will highly appreciated.

 Thanks  regards.

 Md. Mohebullah

 _
 Protect your PC - get McAfee.com VirusScan Online
 http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


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



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


mbufs not being freed.

2003-03-07 Thread Prashant Sarma

Hello All,

I am facing a peculiar problem with the mbufs for the network traffic
not being freed on my FreeBSD 4.7-RELEASE-p7 machine. I used to run
FreeBSD 4.3 but after rebooting recently, the mbuf count (netstat -m)
would keep going up until there was no space left for the packets
arriving on the interfaces. I thought that this could be because of the
older version of FreeBSD and upgraded to 4.7, but still no luck.

Increasing the space for mbuf clusters (kern.ipc.nmbclusters)
and mbufs (kern.ipc.nmbufs) only postpones the problem.

When the mbufs are all used up, I get the following error:

xl0: no memory for rx list -- packet dropped!

and the machine stops responding to all network traffic including
pings.


SPECS:

The machine in question is a Dell PC with a 1.5 GHz processor and 512
MB RAM. It has 2 interfaces, a 3 Com builtin on the motherboard
and a PCI Netgear card. It runs a name server, web server and
MySQL server.

Here are a snippets of relevant information:

dmesg:

Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.7-RELEASE-p7 #0: Thu Mar  6 12:32:53 EST 2003

CPU: Pentium 4 (1495.16-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf12  Stepping = 2

dc0: 82c169 PNIC 10/100BaseTX port 0xdc00-0xdcff mem
0xff7ffc00-0xff7ffcff irq 11 at device 7.0 on pci2
dc0: Ethernet address: 00:02:e3:09:10:bb
xl0: 3Com 3c905C-TX Fast Etherlink XL port 0xd880-0xd8ff mem
0xff7ff800-0xff7ff87f irq 11 at device 12.0 on pci2
xl0: Ethernet address: 00:06:5b:55:03:95

***

netstat -m:

5149/5168/65536 mbufs in use (current/peak/max):
  2607 mbufs allocated to data
2542 mbufs allocated to socket names and addresses
64/346/32768 mbuf clusters in use (current/peak/max)
1984 Kbytes allocated to network (2% of mb_map in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines

Any suggestions about what might be causing this and how to solve this?

Regards,

Prashant Sarma
Lexington, KY



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