Is Device pooling / HZ option Documented anywhere

2005-11-01 Thread Sunil Sunder Raj

Hi,
Is  Device pooling / HZ option documented anywhere. I am in the process of 
upgrading my firewall to freebsd 5.4 tuned for network performance. Need 
further information regarding Device pooling / HZ.


-Sunil Sunder Raj


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


Re: Freebsd pxeboot problem

2005-05-26 Thread Sunil Sunder Raj

Hi,

10.0.0.10 is my dhcp server and 10.0.0.24 is the dynamic ip offered by the 
dhcp server.


Below is the DHCP debug output

DHCPDISCOVER from 00:07:e9:2f:45:55 via rl0
DHCPOFFER on 10.0.0.24 to 00:07:e9:2f:45:55 via rl0
DHCPREQUEST for 10.0.0.24 (10.0.0.10) from 00:07:e9:2f:45:55 via rl0
DHCPACK on 10.0.0.24 to 00:07:e9:2f:45:55 via rl0
DHCPDISCOVER from 00:07:e9:2f:45:55 via rl0
DHCPOFFER on 10.0.0.24 to 00:07:e9:2f:45:55 via rl0
DHCPREQUEST for 192.168.102.110 (192.168.102.1) from 00:07:e9:2f:45:55 via 
rl0: ignored (not authoritative).


The first 4 lines are the communication between the rom pxe and the dhcp 
server. The last 3 lines are the communication between the downloaded 
pxeboot and the dhcp server. The downloaded pxeboot does not seem to retain 
the ip address offered by DHCP. Any don't know where it got 192.168.102.110 
(192.168.102.1) from.


Has anyone faced this problem before.

Regards
Sunil Sunder Raj



From: Nathan Kinkade [EMAIL PROTECTED]
Reply-To: Nathan Kinkade [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED], freebsd-questions@freebsd.org
Subject: Re: Freebsd pxeboot problem
Date: Tue, 24 May 2005 19:30:28 +0100

On Mon, May 23, 2005 at 04:52:18PM +, Sunil Sunder Raj wrote:
 Hi,
 Was trying to install freebsd 5.3 via pxeboot. The Dhcp server leases 
the

 Ip address, the tftp server is located fine and the pxeboot file gets
 downloaded at the client end. But this pxeboot is not getting the proper
 server path and gateway ip.

 It is always falling to the default /pxeroot server path (as programmed 
in
 the pxe.c file) and don't know where it gets the gateway ip as 
192.168.102.1


 Display I get
 
 pxe_open: server addr: This is proper. The Dhcp/Tftp server ip
 pxe_open: server path: /pxeroot --- default server
 path. This is not what I defined in my dhcpd.conf
 pxe_open: gateway ip: 192.168.102.1 --- Don't know where it 
got

 it from. This is not what I defined in my dhcpd.conf
snip

What is defined in your dhcpd.conf file?  I think you may need two
perameters:

option root-path nfsserver:/diskless/root/path/
next-server yourserver

You may not need next-server if it's the same machine as the DHCP
server.

Nathan
 attach3 



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


Re: Freebsd pxeboot problem

2005-05-24 Thread Sunil Sunder Raj

Hi,

Below are all the details I can provide you.

dhcpd.conf
==

ddns-update-style none;
option routers 10.0.0.1;

subnet 10.0.0.0 netmask 255.255.255.0 {
 range 10.0.0.22 10.0.0.24;
 option subnet-mask 255.255.255.0;
 option broadcast-address 10.0.0.255;
 option domain-name-servers 202.54.1.30, 202.54.1.18;
 option domain-name xyz.com;
 default-lease-time 2592000;
 max-lease-time 2592000;
 next-server 10.0.0.10;
 server-name xyz.com;
 server-identifier 10.0.0.10;
 option root-path /usr/local/exports/freebsd5.4;
 filename boot/pxeboot;
}



/etc/exports

/usr/local/exports/freebsd5.4 -ro


/etc/inetd.conf
===
tftpdgram   udp waitroot/usr/libexec/tftpd  tftpd -l 
/usr/local/exports/freebsd5.4




# strings /usr/local/exports/freebsd5.4/boot/pxeboot | grep nfs
boot.nfsroot.server
boot.nfsroot.path
boot.nfsroot.nfshandle
no rootpath, no nfs
/usr/src/lib/libstand/nfs.c
nfsread: short packet, %d  %ld




# ls -l /usr/local/exports/freebsd5.4
total 1292
-r--r--r--   1 root  wheel 801 May  8 07:05 .cshrc
-r--r--r--   1 root  wheel1458 May  8 10:38 .profile
dr-xr-xr-x  18 root  wheel 512 May  8 10:38 5.4-RELEASE
-r--r--r--   1 root  wheel6192 May  8 07:05 COPYRIGHT
-r--r--r--   1 root  wheel   18133 May  8 10:38 ERRATA.HTM
-r--r--r--   1 root  wheel   10109 May  8 10:38 ERRATA.TXT
-r--r--r--   1 root  wheel  125891 May  8 10:38 HARDWARE.HTM
-r--r--r--   1 root  wheel   74414 May  8 10:38 HARDWARE.TXT
-r--r--r--   1 root  wheel   76334 May  8 10:38 INSTALL.HTM
-r--r--r--   1 root  wheel   56771 May  8 10:38 INSTALL.TXT
-r--r--r--   1 root  wheel   46766 May  8 10:38 MIGRATE5.HTM
-r--r--r--   1 root  wheel   31732 May  8 10:38 MIGRATE5.TXT
-r--r--r--   1 root  wheel   20445 May  8 10:38 README.HTM
-r--r--r--   1 root  wheel   14798 May  8 10:38 README.TXT
-r--r--r--   1 root  wheel   47258 May  8 10:38 RELNOTES.HTM
-r--r--r--   1 root  wheel   24167 May  8 10:38 RELNOTES.TXT
dr-xr-xr-x   2 root  wheel1024 May  8 07:01 bin
dr-xr-xr-x   5 root  wheel 512 May 23 01:02 boot
-r--r--r--   1 root  wheel2048 May  8 10:47 boot.catalog
-r--r--r--   1 root  wheel  39 May  8 10:38 cdrom.inf
dr-xr-xr-x   2 root  wheel 512 May  8 07:00 dev
-r--r--r--   1 root  wheel2971 May  8 10:38 docbook.css
dr-xr-xr-x  17 root  wheel2048 May  8 07:05 etc
-r--r--r--   1 root  wheel  685246 May  8 10:44 filename.txt
dr-xr-xr-x   2 root  wheel 512 May  8 10:38 floppies
dr-xr-xr-x   3 root  wheel1024 May  8 07:02 lib
dr-xr-xr-x   2 root  wheel 512 May  8 07:01 libexec
dr-xr-xr-x   2 root  wheel 512 May  8 07:00 mnt
dr-xr-xr-x  14 root  wheel 512 May  8 10:44 packages
dr-xr-xr-x   2 root  wheel 512 May  8 07:00 proc
dr-xr-xr-x   2 root  wheel2560 May  8 07:02 rescue
dr-xr-xr-x   2 root  wheel 512 May  8 07:05 root
dr-xr-xr-x   2 root  wheel2560 May  8 07:04 sbin
lrwxrwxrwx   1 root  wheel   7 May 22 19:03 stand - /rescue
lrwxrwxrwx   1 root  wheel  11 May 22 19:03 sys - usr/src/sys
dr-xr-xr-x   2 root  wheel 512 May  8 07:00 tmp
dr-xr-xr-x   5 root  wheel1024 Jul 13  2003 tools
dr-xr-xr-x  13 root  wheel 512 May  8 10:26 usr
dr-xr-xr-x  20 root  wheel 512 May  8 10:26 var




# ls -l /usr/local/exports/freebsd5.4/boot
total 1668
-r--r--r--  1 rootwheel 7007 May  8 07:03 beastie.4th
-r--r--r--  1 rootwheel 8192 May  8 07:03 boot
-r--r--r--  1 rootwheel  512 May  8 07:03 boot0
-r--r--r--  1 rootwheel  512 May  8 07:03 boot0sio
-r--r--r--  1 rootwheel  512 May  8 07:03 boot1
-r--r--r--  1 rootwheel 7680 May  8 07:03 boot2
-r--r--r--  1 rootwheel 1184 May  8 07:03 cdboot
dr-xr-xr-x  2 rootwheel  512 May  8 07:03 defaults
-r--r--r--  1 rootwheel 1982 May  8 07:05 device.hints
-r--r--r--  1 rootwheel 2249 May  8 07:03 frames.4th
dr-xr-xr-x  2 rootwheel 8192 May  8 10:21 kernel
-r-xr-xr-x  1 manage  wheel   212992 May 23 23:23 loader
-r--r--r--  1 rootwheel 7772 May  8 07:03 loader.4th
-r--r--r--  1 rootwheel  107 May 22 19:29 loader.conf
-r--r--r--  1 rootwheel13893 May  8 07:03 loader.help
-r--r--r--  1 rootwheel  370 May  8 07:03 loader.rc
-r--r--r--  1 rootwheel  512 May  8 07:03 mbr
-r--r--r--  1 rootwheel  1082571 May  8 10:38 mfsroot.gz
dr-xr-xr-x  2 rootwheel  512 May  8 07:00 modules
-rw-r--r--  1 manage  wheel   215040 May 23 23:23 pxeboot
-r--r--r--  1 rootwheel  692 May  8 07:03 screen.4th
-r--r--r--  1 rootwheel36440 May  8 07:03 support.4th



# cat /usr/local/exports/freebsd5.4/boot/loader.conf
mfsroot_load=YES
mfsroot_type=mfs_root
mfsroot_name=/boot/mfsroot
vfs.root.mountfrom=ufs:/dev/md0c


Regards
Sunil Sunder Raj




From: Eric Anderson [EMAIL PROTECTED]
To: Sunil Sunder Raj [EMAIL PROTECTED]
CC: freebsd-questions@freebsd.org, [EMAIL PROTECTED]
Subject: Re: Freebsd pxeboot problem
Date: Mon, 23 May 2005 13:15:16 -0500

Sunil

Freebsd pxeboot problem

2005-05-23 Thread Sunil Sunder Raj

Hi,
Was trying to install freebsd 5.3 via pxeboot. The Dhcp server leases the Ip 
address, the tftp server is located fine and the pxeboot file gets 
downloaded at the client end. But this pxeboot is not getting the proper 
server path and gateway ip.


It is always falling to the default /pxeroot server path (as programmed in 
the pxe.c file) and don't know where it gets the gateway ip as 192.168.102.1


Display I get

pxe_open: server addr: This is proper. The Dhcp/Tftp server ip
pxe_open: server path: /pxeroot --- default server path. 
This is not what I defined in my dhcpd.conf
pxe_open: gateway ip: 192.168.102.1 --- Don't know where it got 
it from. This is not what I defined in my dhcpd.conf

\
Can't load 'kernel'

Below is what I read in the pxe.c file
===
   /*
* Do a bootp/dhcp request to find out where our
* NFS/TFTP server is.  Even if we dont get back
* the proper information, fall back to the server
* which brought us to life and a default rootpath.
*/

   if (!rootpath[1])
   strcpy(rootpath, PXENFSROOTPATH);

Has anyone faced this problem.

Regards
Sunil Sunder Raj


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


Freebsd remote install howto

2005-01-02 Thread Sunil Sunder Raj
Hi,
Had to install freebsd on a machine without a floppy disk nor a cd drive. 
This machine is on the lan. Is there any way I can install freebsd from 
another freebsd machine in the lan.

Regards
SSR
_
Redefine team work. Discover your true potential. 
http://www.microsoft.com/india/office/experience/ With the MS product suite.

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


RE: FreeBSD 4.7 Syslogs

2004-05-16 Thread Sunil Sunder Raj
Hi,
Just give 777 permissions to /var/log/messages
Regards
SSR

From: Matt \Cyber Dog\ LaPlante [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: FreeBSD 4.7 Syslogs
Date: Sat, 15 May 2004 16:38:54 -0400
/var/run/dmesg.boot:

Copyright (c) 1992-2002 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 4.7-RELEASE-p15 #2: Sat Sep 27 11:04:10 EDT 2003
Timecounter i8254  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (1004.52-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x68a  Stepping = 10
Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,
CMOV,PAT,PSE36,MMX,FXSR,SSE
real memory  = 2147467264 (2097136K bytes)
config di sn0
No such device: sn0
Invalid command or syntax.  Type `?' for help.
config di lnc0
No such device: lnc0
Invalid command or syntax.  Type `?' for help.
config di ie0
No such device: ie0
Invalid command or syntax.  Type `?' for help.
config di fe0
No such device: fe0
Invalid command or syntax.  Type `?' for help.
config di ed0
No such device: ed0
Invalid command or syntax.  Type `?' for help.
config di cs0
No such device: cs0
Invalid command or syntax.  Type `?' for help.
config q
avail memory = 2087624704 (2038696K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 - irq 0
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  3, version: 0x00040011, at 0xfee0
 cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee0
 io0 (APIC): apic id:  2, version: 0x00178011, at 0xfec0
Preloaded elf kernel kernel at 0xc03d1000.
Preloaded userconfig_script /boot/kernel.conf at 0xc03d109c.
netsmb_dev: loaded
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 7 entries at 0xc00f12d0
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Host to PCI bridge on motherboard
IOAPIC #0 intpin 18 - irq 2
IOAPIC #0 intpin 16 - irq 4
IOAPIC #0 intpin 19 - irq 10
pci0: PCI bus on pcib0
agp0: VIA 82C691 (Apollo Pro) host to PCI bridge mem 
0xfc00-0xfdff
at device 0.0 on pci0
pcib2: VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge at device 1.0 on
pci0
pci1: PCI bus on pcib2
isab0: VIA 82C686 PCI-ISA bridge at device 4.0 on pci0
isa0: ISA bus on isab0
atapci0: VIA 82C686 ATA100 controller port 0xd800-0xd80f at device 4.1 on
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: VIA 83C572 USB controller at 4.2 irq 2
pci0: VIA 83C572 USB controller at 4.3 irq 2
pci0: unknown card (vendor=0x1106, dev=0x3057) at 4.4
xl0: 3Com 3c905C-TX Fast Etherlink XL port 0xb800-0xb87f mem
0xef00-0xef7f irq 2 at device 10.0 on pci0
xl0: Ethernet address: 00:04:75:72:64:cb
miibus0: MII bus on xl0
ukphy0: Generic IEEE 802.3u media interface on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0: S3 Savage 4 graphics accelerator at 12.0 irq 4
twe0: 3ware Storage Controller port 0xb400-0xb40f mem
0xed80-0xedff,0xee00-0xee0f irq 10 at device 13.0 on pci0
twe0: 4 ports, Firmware FE7X 1.03.09.027, BIOS BE7X 1.07.02.002
pcib1: Host to PCI bridge on motherboard
pci2: PCI bus on pcib1
orm0: Option ROMs at iomem 0xc-0xcafff,0xcc000-0xccfff on isa0
fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5 drive on fdc0 drive 0
atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250
sio1: configured irq 3 not in bitmap of probed irqs 0
ppc0: parallel port not found.
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
SMP: AP CPU #1 Launched!
ad0: 39266MB IC35L040AVER07-0 [79780/16/63] at ata0-master UDMA100
ad2: 117246MB Maxtor 4G120J6 [238216/16/63] at ata1-master UDMA100
twed0: TwinStor, Normal on twe0
twed0: 95395MB (195369520 sectors)
twe0: command interrupt
Mounting root from ufs:/dev/ad0s1a

/etc/rc.conf:

# -- sysinstall generated deltas -- # Wed Apr  3 17:02:40 2002
# Created: Wed Apr  3 17:02:40 2002
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
kern_securelevel_enable=NO
linux_enable=YES
moused_type=auto
nfs_reserved_port_only=YES
saver=logo
sshd_enable=YES

# use ssh from openssh port instead of default

Re: FreeBSD 4.7 Syslogs

2004-05-16 Thread Sunil Sunder Raj
Hi,
I did not mean to change the permissions to 777 permanently. Just to come to 
a conclusion on whether it is a permission problem. As 90% unix problems are 
related to permissions.

Regards
SSR

From: Shaun T. Erickson [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: FreeBSD 4.7 Syslogs
Date: Sun, 16 May 2004 09:47:01 -0400
Sunil Sunder Raj wrote:
Just give 777 permissions to /var/log/messages
This is BAD advice, and you should NOT follow it. If you do, you will give 
anyone the ability to modify or delete your log entries, which yoou do NOT 
want. Find and fix the actual problem; don't bypass the symptom with 
something that reduces system security.

	-ste
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Is your PC infected? Get a FREE online computer virus scan from McAfee® 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

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


RE: Move a locked file

2004-05-14 Thread Sunil Sunder Raj
Hi,
Just check fstat for teh locked file and kill the process which is holding 
it.

Regards
SSR
From: Michael Alexander [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Move a locked file
Date: Thu, 13 May 2004 09:09:30 -0700
Hi All:
I have a multi-boot 3 unix box I'm toying with. I was using the Debian
partition as my main work station for a while... till I broke it. I have
some e-mails and addresses on that partition I would like to export to
the other partitions, perhaps even create a permanent reference file to
share system wide. The main problem I have, beside the fact that, in my
lust for UNIX POWER, I keep breaking things:), is that the Evolution
files in my mostly-dead Debian partition are locked and resist any
attempt to move them. Any thoughts on gaining access to these files to
copy or move them?
 BTW I'm thinking of using Knoppix as my recovery tool, and the boot
error on Debian is:
Enter runlevel 5
ID 1 respawning too fast; waite for five minute.
ID 2 respawning too fast; waite for five minute.
ID 3 respawning too fast; waite for five minute.
ID 4 respawning too fast; waite for five minute.
ID 5 respawning too fast; waite for five minute.
ID 6 respawning too fast; waite for five minute.


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Post Classifieds on MSN classifieds. http://go.msnserver.com/IN/44045.asp 
Buy and Sell on MSN Classifieds.

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


smbfs 4 Gb file limit.

2004-05-11 Thread Sunil Sunder Raj
Hi,
I was using smbfs on one of our Freebsd servers to mount a 800 GB
raid of a  win2k server with NTFS partition. Mounting seems to be great,
but when I try to copy a 18GB file from the freebsd server to the windows
server, strangely after 4GB it gives time out. Is there any fix for this. I 
was advised to follow some other mailing list but in vain. If there is some 
change in source code needed I am willing to do so.

The command I am using
---
# mount_smbfs //[EMAIL PROTECTED]/home5 /home5
terabyte1 is my win2k server with netbios enabled.
Uname output on my unix server
-
FreeBSD backupbrain 4.6-RELEASE FreeBSD 4.6-RELEASE #0: Tue Jun 11
06:14:12 GMT 2002
[EMAIL PROTECTED]:/usr/src/sys/compile/GENERIC  i386
Is any patch available to fix this problem.

Regards
SSR
_
Seized by wanderlust? Have the best vacation ever. 
http://www.msn.co.in/Travel/ Team up with MSN Travel!

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


RE: redirecting /tmp

2004-03-05 Thread Sunil Sunder Raj
Hi,

Stop all processess.
# rm -rf /tmp
# mkdir /usr/tmp
# chmod 1777 /usr/tmp
# ln -s /usr/tmp /tmp
Restart all processess.

Regards
SSR
_
Easiest Money Transfer to India. Send Money To 6000 Indian Towns. 
http://go.msnserver.com/IN/42198.asp Easiest Way To Send Money Home!

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


RE: Apache

2004-03-03 Thread Sunil Sunder Raj
Hi,
The value in the servername variable should resolv properly to an IP 
address. Set the value in the /etc/hosts file OR get it resolved by your DBS 
server.

Regards
SSR

From: Michael Banta [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Apache
Date: Tue, 2 Mar 2004 17:03:24 -0500
Hello.

I just installed Apache wilthout error.  I started apache and did a ps aux. 
 It appears to be running fine.  However I cannot bring up the default 
webpage.  Doing lynx localhost does not work.  I set the Servername 
variable in the config file to localhost, just to test.  Everything appears 
to be in order.  Any suggestions?

Thanks
Mike
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Contact brides  grooms FREE! http://www.shaadi.com/ptnr.php?ptnr=hmltag 
Only on www.shaadi.com. Register now!

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


RE: Free space wierdness

2004-02-05 Thread Sunil Sunder Raj
Hi,
A process running on your server might have created a large temporary file 
which was occupyng space and which got deleted when the server got a reboot.

Regards
SSR

From: Herbert Wolverson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Free space wierdness
Date: Thu, 5 Feb 2004 15:12:07 -0600
I have a system running FreeBSD 4.9-RELEASE. It primarily functions as a 
firewall and
router, and is generally pretty lightly loaded (load averages around 0.2). 
It
is a low end system (P200, 64mb RAM, 2 gig hard drive), and is generally
stable as a rock.

The system has drives setup as follows:
/   256M (UFS)
/usr1.2gb (UFS+Softupdates)
(/var and /tmp are linked onto /usr/var and /usr/tmp respectively)
This morning I noticed that the / partition was at 108% utilization,
and df -h looked like this (approximately):
FilesystemSize   Used  Avail Capacity  Mounted on
/dev/ad0s1a   252M   256M  -8M108% /
Oddly, du -h -d1 -x showed only a total of 29Mb used on the partition!
The output looked like this:
su-2.05b# du -h -d1 -x
 68K./dev
2.0K./usr
2.7M./stand
1.3M./etc
512B./proc
4.0M./bin
542K./boot
2.0K./mnt
6.4M./modules
 30K./root
 12M./sbin
4.0K./tmp
4.0K./oldvar
 29M.
When I rebooted the system (without deleting any files), df -h showed
the following:
FilesystemSize   Used  Avail Capacity  Mounted on
/dev/ad0s1a   252M29M   203M12%/
This is good, since the correct amount of free space now shows, and the
server is back to running perfectly. Can anyone shed any light as to why
this discrepancy happened in the first place? I'd love to know what I can 
do to avoid ever having to worry
about this again!

Thanks,
Herbert Wolverson,
The Turner Stephenson Group, Inc.
http://www.tsghelp.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Marriage? Join BharatMatrimony.com. 
http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?74

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


RE: apache is seg faulting. why ?

2004-01-30 Thread Sunil Sunder Raj
Hi,

Disable mod-php and test. If you find php to be the culprit, check new php 
scripts running on the server.

Regards
SSR

From: julien Beauviala [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: apache is seg faulting. why ?
Date: Fri, 30 Jan 2004 13:40:34 +0100
Hello,

since about four days, the daily security logs are reporting
the following :
 pid 72041 (httpd), uid 80: exited on signal 11
 pid 72040 (httpd), uid 80: exited on signal 11
 pid 72099 (httpd), uid 80: exited on signal 11
 pid 72039 (httpd), uid 80: exited on signal 11
 pid 74202 (httpd), uid 80: exited on signal 11
[etc... lots of lines]
When I look at /var/log/messages I find :

Jan 30 10:53:49 webserver /kernel: pid 20682 (httpd), uid 80: exited on 
signal 11
Jan 30 11:43:29 webserver /kernel: pid 24874 (httpd), uid 80: exited on 
signal 11
Jan 30 13:12:37 webserver /kernel: pid 32084 (httpd), uid 80: exited on 
signal 11
Jan 30 13:20:49 webserver /kernel: pid 32628 (httpd), uid 80: exited on 
signal 11
Jan 30 13:20:54 webserver /kernel: pid 32605 (httpd), uid 80: exited on 
signal 11
Jan 30 13:21:01 webserver /kernel: pid 32629 (httpd), uid 80: exited on 
signal 11

No idea what is going on, it started four days ago for no reason
I can guess. In the apache logs I find no actions that would be in sync 
with
those timestamps. Google was not much help either.

How should I go about investigating this ? How can I find out more infos 
about
what is causing this ?

I'm puzzled and a bit worried. Many thanks for any hints.

j.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
MSN Hotmail now on your Mobile phone. 
http://server1.msn.co.in/sp03/mobilesms/ Click here.

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


RE: mysql

2004-01-23 Thread Sunil Sunder Raj
Hi,
Yes. You need to change the port on which both listen to.
Regards
SSR

From: Brian H [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: mysql
Date: Fri, 23 Jan 2004 16:25:37 -0600
Is it possible for mysql 3.x and mysql 4.x to co-exist on the same machine.
I currently have mysql 4.x installed and some ports require mysql 3.x.
thanks,
brian
_
Scope out the new MSN Plus Internet Software — optimizes dial-up to the 
max!   http://join.msn.com/?pgmarket=en-uspage=byoa/plusST=1

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
MSN Hotmail now on your Mobile phone. 
http://server1.msn.co.in/sp03/mobilesms/ Click here.

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


RE: System Startup Messages

2004-01-23 Thread Sunil Sunder Raj
Hi,

/var/run/dmesg.boot is the file you need.

Regards
SSR

From: Rishi Chopra [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: System Startup Messages
Date: Fri, 23 Jan 2004 21:54:37 -0800
I'm running a FreeBSD machine with no head (e.g. no monitor installed to 
the machine).

Is there a way to view the statup messages from the system once the machine 
is up and running via SSH?  What is the name of the file that would have 
the messages (specifically any output sent to the terminal with regards to 
detecting and installing devices)?

--
Rishi Chopra
http://www.ocf.berkeley.edu/~rchopra
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Sports buff? This hot new channel is for you! http://www.msn.co.in/sports/ 
Get on the inside of all the action!

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


RE: replacing named 8 with 9

2003-12-23 Thread Sunil Sunder Raj
Hi,

1) Install Bind 9

2) Make secret keys using rndcontrol
a) grep -i irq /var/run/dmesg.boot
choose IRQ's that have a lot of interrupts.
b) Run # rndcontrol -s IRQ for each choosen interrupt.
c) add it to rc.conf to enable after reboot
rand_irqs=3 7 11.
3) Generate the keys
a) # rndc-confgen -a -c /usr/local/etc/rndc.key
# chmod 600 /usr/local/etc/rndc.key
# chown bind:bind /usr/local/etc/rndc.key
# vi /usr/local/etc/rndc.key
b) Copy the key statement
key rndc-key {
algorithm hmac-md5;
secret xxx;
};
c) # cp /usr/local/etc/rndc.conf.sample /usr/local/etc/rndc.conf
 # chmod 600 /usr/local/etc/rndc.conf
# chown bind:bind /usr/local/etc/rndc.conf
# vi /usr/local/etc/rndc.conf
d) Paste the copied key statement here.
4) In rc.conf
named_enable=YES
named_program=/usr/local/sbin/named
named_flags=-c /etc/namedb/named.conf -u bind
5) In /etc/named.conf
At the top of the file
// Use the key
include /usr/local/etc/rndc.key;
// Control statement
controls {
inet 127.0.0.1 allow { 127.0.0.1; } keys { rndc-key; };
};
6) Check the config
# named-checkconf /etc/namedb/named.conf
7) Start named
# /usr/local/sbin/named -c /etc/namedb/named.conf -u bind
Regards
SSR


From: Paul Phillips [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Subject: replacing named 8 with 9
Date: Sun, 21 Dec 2003 10:41:55 -0600
If I understand correctly, both freeBSD 4.9 and the 5 series use BIND 8.

I would like to replace this with BIND 9.  What is the proper way to do so? 
Do I need to uninstall BIND 8 in some way before using ports or packages to 
install BIND 9?

Thanks
PCP
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Marriage? http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?74 Join 
BharatMatrimony.com for free.

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


Re: Router/Gateway

2003-12-13 Thread Sunil Sunder Raj
Hi,
This is what I usually do.
Here ISPIP is the IP your ISP gave you.

COMPILE FIREWALL WITH
cd /usr/src/sys/i386/conf
cp GENERIC GATEWAY
vi GATEWAY
ident GATEWAY
#ADDED BY SSR STARTS
#TO ENABLE FIREWALL
options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=0
#ID FIELDS IN IP ADDRESS TO BE RANDOM INSTEAD OF INCREMENTAL
options RANDOM_IP_ID
#NATTING
options IPDIVERT
#FOR BANDWIDTH THROTTLING
options DUMMYNET
#ADDED BY SSR ENDS
config -r GATEWAY
cd ../../compile/GATEWAY
make depend
make
make install
reboot
Edit /etc/sysctl.conf
net.inet.ip.forwarding=1
net.inet.ip.check_interface=1
net.inet.tcp.blackhole=2
net.inet.udp.blackhole=1
net.inet.tcp.log_in_vain=2
net.inet.udp.log_in_vain=1
Edit /etc/ipnat.conf
map vr0 10.0.0.1/24 - ISPIP/32 portmap tcp/udp 1:6
map vr0 10.0.0.1/24 - ISPIP/32
Edit /etc/rc.conf
gateway_enable=YES
ifconfig_rl0=inet ISPIP netmask 255.255.255.0
ifconfig_vr0=inet 10.0.0.1 netmask 255.255.255.0
firewall_enable=YES # Set to YES to enable firewall functionality
firewall_script=/etc/rc.firewall # Which script to run to set up the 
firewall
firewall_type=open # Firewall type (see /etc/rc.firewall)
firewall_flags= # Flags passed to ipfw when type is a file
natd_program=/sbin/natd # path to natd, if you want a different one.
natd_enable=YES # Enable natd (if firewall_enable == YES).
natd_interface=rl0 # Public interface or IPaddress to use.
Edit /etc/ipf.rules
pass in all
pass out all
R E B O O T

Regards
SSR

From: horio shoichi [EMAIL PROTECTED]
To: Extech [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: Router/Gateway
Date: Sat, 13 Dec 2003 14:31:48 +0900
On Thu, 11 Dec 2003 13:45:56 +0200
Extech [EMAIL PROTECTED] wrote:
 Hello

 I have looked through the archives and I have read the manual (Advance 
Networking) but could not find specific to address my question.

 I want to set up a FreeBSD 5.x box as a router/gateway on a permanent 
connection with a fixed IP address,
 there will also be other machines with fixed IP addresses (not 
192.168.x.x but proper IP's)
 on this network.

 something like this:

 	To internet exchange on T1 Leased Line
 		   |
 		   |
 		   | dc0 (196.x.x.1)
 		-
 		FreeBSD
 		router/
 		gateway
 		-
 		   | lr0
 		   |
 		   |
 		   |
 		-
 		switch/hub
 		-
 		|	|
 		|	|
   196.x.x.2	|	| 196.x.x.3
 	  	
 	Server 1  	Server 2
 	  	


 Obviously I have to have two network cards in the router/gateway (dc0 
and lr0),
 I assume that I will configure dc0 with my fixed IP, but what do I do 
with lr0?

 Can somebody please point me in the right direction.

 Thanks
 extech


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


A popular solution is the route/gateway not have ip addresses that belong 
to
allocated global ips, and use bridge configuration.

If bridging is inadequate in your case, the thing pretty much depends on
the cloud one hop away from dc0 interface. Describe it (modem/router,
 configuable/not, etc).
horio shoichi

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Don’t miss out on jobs that are not advertised. 
http://go.msnserver.com/IN/38902.asp Post your CV on naukri.com today.

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


RE: port forward

2003-12-02 Thread Sunil Sunder Raj
Hi,

In rc.conf you need
natd_flags=-redirect_port tcp 192.168.0.100:5900 5900
Regards
SSR

From: Peter Kok [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: port forward
Date: Mon, 01 Dec 2003 22:46:43 -0500
--
Hi all
Does freebsd provide port forward when using the nat?

If yes, how can I forward?

I would like to forward the window port (192.168.0.100:5900) to map to
the freebsd (public address:5900)
Thank you very much
Peter
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Download cool KHNH ringtones. Add style to your mobile. 
http://server1.msn.co.in/sp03/gprs/howcani_ring.asp Simply click here.

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


Re: Restricting SSH access to only a users home directory.....

2003-11-24 Thread Sunil Sunder Raj
Hi,
This depends on the shell not ssh configuration. Install rbash and assign it 
to the user having ssh access.

Regards
SSR

From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Restricting SSH access to only a users home directory.
Date: Fri, 21 Nov 2003 00:59:00 -0800 (PST)
Hi there ,

 Can any body tell me how i can restrict an user SSH  to his own home 
directory .
 I am using FreeBSD OpenSSH_2.9 FreeBSD  SSH protocols 1.5/2.0 .

 Any links or  help will be appriciated

Shrikant



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Enjoy shopping online? Get this e credit card. 
http://server1.msn.co.in/features/amex/ It cuts cost  adds value!

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


Re: check NIC status command

2003-11-19 Thread Sunil Sunder Raj
Hi,
ifconfig | grep -i media displays status of the nic
Regards
SSR

From: Peter Kok [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: check NIC status command
Date: Tue, 18 Nov 2003 22:41:24 -0500
Hi all

What command in freebsd I can check the NIC status (full duplex or not)?

I made it in the rc.conf and force NIC in full duplex but why it can't 
communiate to linux as full duplex when using cross cable?

In linux, there is mii-tools

Thank you

_
The new MSN 8: advanced junk mail protection and 2 months FREE*  
http://join.msn.com/?page=dept/bcommpgmarket=en-caRU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Contact brides  grooms FREE! Only on www.shaadi.com. 
http://www.shaadi.com/ptnr.php?ptnr=hmltag Register now!

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


Re: apache install problem

2003-11-13 Thread Sunil Sunder Raj
Hi,
Are you running apache as root user.
If yes.
sockstat | grep 80 and check which process is holding the port. Kill the 
process and restart apache.

Regards
SSR

From: Marty Landman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: apache install problem
Date: Thu, 13 Nov 2003 12:21:23 -0500
I just installed Apache2 and not sure how to proceed, if I'm doing things 
wrong from here or there is some other problem:

$ which apachectl
/usr/local/sbin/apachectl
$ apachectl start
httpd: Could not determine the server's fully qualified domain name, using 
127.0.0.1 for ServerName
(13)Permission denied: make_sock: could not bind to address [::]:80
no listening sockets available, shutting down
Unable to open logs

$



Marty Landman   Face 2 Interface Inc 845-679-9387
Sign On Required: Web membership software for your site
Make a Website: http://face2interface.com/Home/Demo.shtml
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
The Great MSN Sale. Get shopping discounts. http://www.msn.co.in/Shopping 
Win exciting prizes!

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


Re: chroot users

2003-11-13 Thread Sunil Sunder Raj
Hi,
proftp is the best bet. It locks the user in his home directory not allowng 
him to go below his home directory.

Regards
SSR

From: Shawn Guillemette [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: chroot users
Date: Thu, 13 Nov 2003 16:45:58 -0800
I want to chroot users to there home directories so that I can allow them 
to use FTP and not worry about someone going lower then there home dir..



looking for a howto or links that might help out.

Shawn



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Contact brides  grooms FREE! Only on www.shaadi.com. 
http://www.shaadi.com/ptnr.php?ptnr=hmltag Register now!

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


Re: Postfix and SASL2 authentication

2003-11-13 Thread Sunil Sunder Raj
Hi,
Enable verbose logging so that you get readable error messages.
8) ee /usr/local/etc/postfix/master.cf
search for smtpd and append -v.
When your done it should look like this:
# ==
# service type  private unpriv  chroot  wakeup  maxproc command + args
#   (yes)   (yes)   (yes)   (never) (50)
# ==
smtp  inet  n   -   n   -   -   smtpd -v
restart postfix. Without properlogs you cannot cometo a conclusion.

Regards
SSR


From: H. Wade Minter [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Postfix and SASL2 authentication
Date: Thu, 13 Nov 2003 10:48:21 -0500 (EST)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I've been able to get Postfix and SASL1 to authenticate to system accounts
under FreeBSD with no problem, but now I'm trying to use SASL2.  I'm
running into problems.
I built postfix and sasl2 from ports with no problems.  I created
/usr/local/lib/sasl2/smtpd.conf:
pwcheck_method: saslauthd
mech_list: plain login
saslauthd is being run with the -a getpwent flags from /etc/rc.conf.

Postfix is set up to use SASL:

enable_sasl_authentication = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
broken_sasl_auth_clients = yes
However, when I test with a base64-encoded username\0username\0password
string, it doesn't authenticate:
Nov 13 07:46:29 taz postfix/smtpd[327]:  localhost[127.0.0.1]: AUTH PLAIN
bWludGVyAG1pbnRlcgBjaGFuZ2VtZQ==
Nov 13 07:46:29 taz postfix/smtpd[327]: smtpd_sasl_authenticate:
sasl_method PLAIN, init_response bWludGVyAG1pbnRlcgBjaGFuZ2VtZQ==
Nov 13 07:46:29 taz postfix/smtpd[327]: smtpd_sasl_authenticate: decoded
initial response minter
Nov 13 07:46:29 taz postfix/smtpd[327]: warning: SASL authentication
failure: Password verification failed
Nov 13 07:46:29 taz postfix/smtpd[327]: warning: localhost[127.0.0.1]:
SASL PLAIN authentication failed
Nov 13 07:46:29 taz postfix/smtpd[327]:  localhost[127.0.0.1]: 535 Error:
authentication failed
Does anyone know what I'm doing wrong?

- --Wade
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)
iD8DBQE/s6fHo4DwsyRGDscRAtq5AJ9jV/BCr0r8n/Mc6n73Miv07b1NAwCePs5m
uOeXWaE2WlXwBSvWJuW8mfA=
=XVfP
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Contact brides  grooms FREE! Only on www.shaadi.com. 
http://www.shaadi.com/ptnr.php?ptnr=hmltag Register now!

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


Re: what happens when connection is lost ?

2003-11-01 Thread Sunil Sunder Raj
Hi,
You will have to run the configure script with the nohup command.
# nohup configure

This will ignore the SIGHUP and SIGQUIT signal.

Regards
SSR
From: Charles Swiger [EMAIL PROTECTED]
To: M.D. DeWar [EMAIL PROTECTED]
CC: freebsd [EMAIL PROTECTED]
Subject: Re: what happens when connection is lost ?
Date: Fri, 31 Oct 2003 11:58:16 -0500
On Oct 31, 2003, at 11:54 AM, M.D. DeWar wrote:
Hello,
If I am logged in on a FreeBSD machine with ssh.
And doing say a ./configure or make  and I lose connection does that stop
what I was doing ?
In general, yes-- what happens is that a broken connection results in a 
hangup (HUP) signal being sent to the process group containing ssh, your 
shell, and whatever commands might have been running.

data get corrupted etc ?
Generally not.  The point of the HUP signal is to allow processes to shut 
down cleanly.  See man nohup, man signal

--
-Xhuxk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Get Married!  http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?74 Search 
from 7 lakh Brides  Grooms.

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


Re: Disable console notifications

2003-10-16 Thread Sunil Sunder Raj
Hi,

Remove the line
#*.err;kern.debug;auth.notice;mail.crit /dev/console
from /etc/syslog.conf
OR

redirect it to a file
*.err;kern.debug;auth.notice;mail.crit  /var/log/console.log
Regards
SSR

From: Rus Foster [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Disable console notifications
Date: Thu, 16 Oct 2003 12:22:50 +0100 (BST)
Hi,
 What is the quick way to disable console notifications? i.e. to stop the
kernel putting up messages?
Rgds

Rus

--
w: http://www.jvps.com  | Virtual Dedicated Servers from $15/mo
e: [EMAIL PROTECTED]| Dontations made to Debian, FreeBSD
t: +44 7919 373537  | and Slackware
t: 1-888-327-6330   | email: [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Get Married!  http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?74 Search 
from 7 lakh Brides  Grooms.

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


Re: kernel option to increase max open files

2003-10-16 Thread Sunil Sunder Raj
Hi,
Run sysctl -w kern.maxfiles= to what ever value is needed. To get it 
updated at startup you can put a line like kern.maxfiles= in 
/etc/sysctl.conf to have the change on every reboot. You may also have to 
edit /etc/login.conf and adjust any openfiles= lines that might be 
lowering the per-process limit.

By default the openfiles value is unlimited OR infinite.

Regards
SSR

From: John Fox [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: kernel option to increase max open files
Date: Thu, 16 Oct 2003 10:09:14 -0700
Hi, folks.

I've got a 2.2.2 machine which I can't currently upgrade, due to funding
issues.  This machine handles a lot of mail, and I am lately finding
dmesg output to be full of file: table is full messages, and entries
like these in the sendmail log:
   SYSERR(UID0): readqf: cannot open dfAAA29006: Too many open files in \
   system
   SYSERR(UID0): Cannot open hash database /etc/aliases: Too many open \
   files in system
So I figure I need to increase the max number of open files available.

I've looked around, and it appears I have two different options:

1) Kernel option options OPEN_MAX=### which sets the max number
of open files per user (which would be 'root' in this case, as that's who
sendmail runs as).
2) a login.conf class setting assigned to root.  The 'openfiles' setting 
seems
somewhat equivalent to the OPEN_MAX option.  However, I am not certain
that limits set in login.conf apply to a process being run by a user that
didn't log in (sendmail being started by init at boot, rather than from
root's login session).

I welcome any thoughts/advice on this matter, as I don't want to try either
of these changes without having done due diligence.
Thank you,

-John
--
+---+
| John Fox [EMAIL PROTECTED]   |  System Administrator   | InfoStructure   
|
+---+
|Gideon: I thought you said don't hold a grudge.
|
| Galen: I don't. I have no surviving enemies...at all. 
|
| -- Crusdade, _Racing the Night_ 
|
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Buy now! Receive a gold coin on Dhan Teras. 
http://server1.msn.co.in/features/general/dhanteras/index.asp Celebrate 
prosperity!

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


Re: logfile rotate

2003-10-16 Thread Sunil Sunder Raj
Hi,

/etc/newsyslog.conf is the file you need.
For eg.
If you need a file rotated monthly on the first day of the month.
/var/log/MYLOGFILE 600  12* $M1D0 Z
Regards
SSR

From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: logfile rotate
Date: Fri, 17 Oct 2003 11:04:10 +0800
Hello,

What config file is responsible for the rotation of logs? I have a logfile 
I need to rotate every 24 hours (it's not squid's). Thanks in advance.

chael
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Three simple steps. They guarantee your safety. 
http://server1.msn.co.in/features/general/SMBvirus/index.asp Protect 
yourself against the SMB.EXE virus.

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


Re: Problem with adding more swap !

2003-10-13 Thread Sunil Sunder Raj
Hi,

Create a swap file system on a partition where you have excess space.

  dd if=/dev/zero of=/usr/swap0 count=128 bs=1m
  chmod 600 /usr/swap0
  mdconfig -a -t vnode -f /usr/swap0 -u 3
  swapon /dev/md3
You can check the output of swapinfo to confirm. You will have to load the 
swap file system at system startup also.

Regards
SSR

From: Supote Leelasupphakorn [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Problem with adding more swap !
Date: Mon, 13 Oct 2003 10:25:17 +0100 (BST)
Hi, all

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

ad0s1 -- ad0s1a   /  (boot from here)
  -- ad0s1b   swap
  -- ad0s1e   /var
  -- ad0s1f   /tmp
  -- ad0s1g   /usr
ad0s2 -- ad0s2e   /usr1  (data)

Do I need to add another swap partition as ad0s2b ?

TIA,
pjn

Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Contact brides  grooms FREE! http://www.shaadi.com/ptnr.php?ptnr=hmltag 
Only on www.shaadi.com. Register now!

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


Re: sym links

2003-10-02 Thread Sunil Sunder Raj
Hi,

1)  How does one remove a symlink without removing the directory it is
linking to?
--Normal rm command only removes the symlink. It does not remove the 
directory it is pointing to.

2)  How can you make a symlink for a user so that it can be seen while
they are in an FTP session.  Basically, I have a user who cannot see the
symlink I've set up for them...not sure why.
--AFAIK it is not possible. Even then I suppose it depends on teh ftp 
server.

Regards
SSR
_
Contact brides  grooms FREE! http://www.shaadi.com/ptnr.php?ptnr=hmltag 
Only on www.shaadi.com. Register now!

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


Re: Passwd command slow

2003-10-01 Thread Sunil Sunder Raj
Hi,
Try
# ktrace passwd username
# kdump -f ktrace.out
You can find out where the process stuck

Regards
SSR

From: Greg Goodman [EMAIL PROTECTED]
Reply-To: Greg Goodman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Passwd command slow
Date: Tue, 30 Sep 2003 17:51:50 -0700
Hello Everyone,

I have a server running freebsd 4.8.
When you type the command passwd it hangs for more than 2 minutes
before it finally responds and prompts to change an existing users
password.
Can anyone shed some light on this issue?

Thanks for the help.

--
Best regards,
 Greg Goodman  mailto:[EMAIL PROTECTED]
 Chief Technical Officer

  Fastserve Network
   http://www.fastserve.net
  (213)673-4440 ext 204
548 S. Spring St. Suite 1100
   Los Angeles Ca. 90013
   The Net Never Sleeps And Neither Do We
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Answer simple questions. Win a free honeymoon. 
http://server1.msn.co.in/sp03/shaadi/index.asp Sail into the sunset!

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


Re: saslauthd not working?

2003-09-25 Thread Sunil Sunder Raj
Hi,
chmod 777 /usr/local/etc/sasldb
As you are not sure which user is accessing the sasldb file.
Regards
SSR


From: Charlie Schluting [EMAIL PROTECTED]
To: Sunil Sunder Raj [EMAIL PROTECTED]
Subject: Re: saslauthd not working?
Date: Wed, 24 Sep 2003 08:39:14 -0700 (PDT)


It looks like sasldb, because I get errrors like this sometimes:
postfix/smtpd[7944]: unable to open Berkeley db /usr/local/etc/sasldb:
Permission denied
This is strange, because it has permissions set for group mail to rwx.

:)
Thanks for the response,
Charlie
On Wed, 24 Sep 2003, Sunil Sunder Raj wrote:

 Hi,
 What auth module do you want to use (sasldb, mysql).

 Regards
 SSR


 From: Charlie Schluting [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: saslauthd not working?
 Date: Tue, 23 Sep 2003 17:32:33 -0700 (PDT)
 
 Hi,
 
 Trying to configure sasl with postfix.. and I keep getting Login
 Failed
 
 Here's what I have:
 
 telnet localhost 25:
 AUTH PLAIN Y2hhcm...
 535 Error: authentication failed
 
 The maillog simply shows:
 warning: localhost[127.0.0.1]: SASL PLAIN authentication failed
 
 /etc/rc.conf:
 sasl_saslauthd_enable=YES
 sasl_saslauthd_flags=-a getpwent
 
 /usr/local/lib/sasl2/smtpd.conf
 pwcheck_method: saslauthd
 mech_list: plain login
 
 I'm not using pam for anything else, so I figured that this method had
 the best chance of working :)
 Postfix is NOT chrooted, and postfix is in group mail.
 
 Postfix config:
 
   smtpd_sasl_auth_enable = yes
   smtpd_sasl_security_options = noanonymous
   smtpd_sasl_local_domain =
   broken_sasl_auth_clients = yes
 
 Here's the perms on saslauthd:
 drwxrwx---   2 cyrus  mail   512 Sep 23 17:27 saslauthd/
 
 Am I missing anything?
 I tried adding -d to saslauthd_flags in rc.conf. When I started
 saslauthd, it just hung there, like I expected, only, I didn't get any
 output when I tried to login to postfix.
 
 help would be greatly appreciated.
 
 -Charlie
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

 _
 Interact with peers. Learn from experts.
 http://server1.msn.co.in/sp03/teched/index.asp Be tech-empowered!

_
Attention NRIs! Banking worries? 
http://server1.msn.co.in/msnspecials/nriservices/index.asp Get smart tips.

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


Re: error with mysql when doing mysql -u root

2003-09-22 Thread Sunil Sunder Raj
Hi,

Hi,

If you have set a root password, but forgot what it was, you can set a new 
password with the following procedure:

1) Take down the mysqld server by sending a kill (not kill -9) to the mysqld 
server. The pid is stored in a `.pid' file, which is normally in the MySQL 
database directory:

   shell kill `cat /mysql-data-directory/hostname.pid`
   You must be either the Unix root user or the same user mysqld runs 
as to do this.

2) Restart mysqld with the --skip-grant-tables option.
3) Set a new password with the mysqladmin password command:
   shell mysqladmin -u root password 'mynewpassword'

4) Now you can either stop mysqld and restart it normally, or just load the 
privilege tables with:

   shell mysqladmin -h hostname flush-privileges

5) After this, you should be able to connect using the new password.

Alternatively, you can set the new password using the mysql client:

1) Take down and restart mysqld with the --skip-grant-tables option as 
described above.
2) Connect to the mysqld server with:

   shell mysql -u root mysql

3) Issue the following commands in the mysql client:
   mysql UPDATE user SET Password=PASSWORD('mynewpassword') WHERE 
User='root';
   mysql FLUSH PRIVILEGES;

4) After this, you should be able to connect using the new password.
5) You can now stop mysqld and restart it normally.
Regards
SSR
Regards
SSR

From: Shawn Guillemette [EMAIL PROTECTED]
To: Kevin Kinsey [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: error with mysql when doing mysql -u root
Date: Sat, 20 Sep 2003 10:00:39 -0700
like this ?

# mysql -u root -p password
Enter password:
ERROR 1045: Access denied for user: '[EMAIL PROTECTED]' (Using password: YES)
if so is there a way I can reset the root' passwd for mysql?
I have tried mysqladmin -u root passowrd newpassword and get this


Shawn

- Original Message -
From: Kevin Kinsey [EMAIL PROTECTED]
To: Shawn Guillemette [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Saturday, September 20, 2003 6:42 AM
Subject: Re: error with mysql when doing mysql -u root
 On Sat, Sep 20, 2003 at 08:55:30AM -0700, Shawn Guillemette wrote:
  After setting the mysql root user passwd I get this when trying to log
in.
 
  # mysql -u root
  ERROR 1045: Access denied for user: '[EMAIL PROTECTED]' (Using password:
NO)
 
  Just after the install of mysql I had created a database as a test
successfully..
 
 IIRC, it's: 'mysql -u root -p mypassword'

 HTH,

 Kevin Kinsey

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
A chance to meet Aishwarya Rai. http://www.myenjoyzone.com/msn/knk.php3 Win 
lucky prizes.

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


Re: Dummynet Pipes

2003-09-18 Thread Sunil Sunder Raj
Hi,

Check this out

pipe 1 config bw 512kbit/s
queue 1 config pipe 1
add 150 queue 1 all from 78.77.76.21 to any
pipe 2 config bw 512kbit/s
queue 2 config pipe 2
add 151 queue 2 all from any to 78.77.76.21
Regards
SSR

From: Colin Watson [EMAIL PROTECTED]
Reply-To: Colin Watson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Dummynet Pipes
Date: Fri, 12 Sep 2003 15:04:16 +0100
I've got a question about dummynet pipes, basically I've installed two 
rules per user to control their traffic flow:

add 150 pipe 15 ip from 78.77.76.21 to any out
pipe 15 config bw 512Kbit/s queue 10
add 160 pipe 16 ip from any to 78.77.76.21 in
pipe 16 config bw 512Kbit/s queue 10
However, the first (outbound traffic) rule is not kicking in. And the users 
can upload at whatever capcity is on the backbone. Just wondering if I've 
configured it correctly, or if something is missing - Any help appericated.

Colin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Attention NRIs! Banking worries? 
http://server1.msn.co.in/msnspecials/nriservices/index.asp Get smart tips.

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


Re: Partitioning advice (/usr and /home)

2003-09-18 Thread Sunil Sunder Raj
Hi,
No one want the /usr partition to get full. You don't know what users may 
put in the /home partition. So the best option will be create two partitions 
with about 25% to /usr and 75% to the other.

Regards
SSR


From: Guilmot Mike [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Partitioning advice (/usr and /home)
Date: Mon, 15 Sep 2003 13:15:47 +0200
Michael Vondung wrote:
 I'm trying to figure out a decent partitioning layout for a
 workstation. The system has an ~80GB disk. After /, /var, /tmp and
 swap, I have 70GB left. I'm wondering how to split these between /usr
 and /home. Ironically, it is more space than I seem to need. The box
 has only one user (me), I do not have a fast enough connection to
 download large amounts audio or video files. I plan to run the KDE3
 desktop environment with most of its applications (this is still well
 under 1.5GB), assorted other software, Wine, two or three Windows
 apps if they'll run.

 I'm torn between various options here, and would appreciate your
 input:

 35GB for each, /usr and /home
 25GB for /home and 45GB for /home
 70GB for both together (no /home partition)

 Or something completely different? I'd like this to be spacey
 enough so that I won't run out of room at some point in the future,
 but 35GB for /usr seems unrealistically much (there won't be mail on
 this system, it's fed by an IMAP server on a different machine). Then
 again, 35GB for /home seems just as unrealistically much.

 Backup matters aside, is there a significant advantage of having a
 separate /home partition at all? If not, just skipping /home and
 using 70GB for /usr (including /usr/home) might be the most practical
 and flexible approach?

 Thanks.
This might sound stupid, but I did it like this:

Whole partition on /usr, and I made the home directories as:

/usr/home/$USER instead of /home/$USER

And I did not make a special partition for /usr/home, since I did not know
how much space I would need.
Maybe you could try that out too ...
Kind regards,

Guilmot Mike

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Interact with peers. Learn from experts. 
http://server1.msn.co.in/sp03/teched/index.asp Be tech-empowered!

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


Re: Authenticated SMTP

2003-09-09 Thread Sunil Sunder Raj
Hi,
Only two methods I have implemented.
1) OPEN SMTP RELAY - No
2) SMTP AFTER POP - The client need to check his mail first and for a set 
amount of time he can send mail through that same server.
3) The best solution though would be SMTP AFTER AUTH. Setup a seperate 
smtp server which allows any user to relay mail after authenticating 
himself. I have done this using POSTFIX+SASL+MYSQL. Quite robust can handle 
tons of mails.

Regards
SSR


From: Wayne Pascoe [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Authenticated SMTP
Date: Tue, 9 Sep 2003 15:48:22 +0100
Hi all,

I need to provide an SMTP service to someone who travels around thie
world. I can't do this with a specific IP address, as they use a variety
of ISP's in different locations.
To this end, I'd like to setup authenticated SMTP, preferably using
postfix.
I've had a look in the postfix faq and it was a bit vague on this point.
In merely said that you need to force the user to authenticate against a
pop server first, that maintains a postfix compatible access table.
Can anyone point me to a document that explains what pop servers might
be suitable for this task and how to go about setting up this
authentication ?
Regards,

--
Wayne Pascoe
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Do you love to shop? Do it online now. http://www.msn.co.in/shopping Get the 
best deals!

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


Re: can't login as anyone - not even as root!

2003-08-29 Thread Sunil Sunder Raj
Hi,

STEPS
=
As the os(FREEBSD) is starting it will display the following message:
Hit [Enter] to boot immediately, or any other key for command prompt.

Booting [kernel ] in 10 seconds...

You should now ress the space bar, and you will see the following message:

Type '?' for a list of commands, or 'help' for more detailed help.

ok

now type boot -s and press the enter key to start FreeBSD in single user
mode. After the system boots, you should see the statement:
Enter fill pathname of shell or RETURN for /bin/sh:

Press the enter key and you will have a # prompt.

[Mount  the filesystems]

At the command prompt. issue the mount command. This command will mount
all the filesystems listed in your /etc/fstab file.
# mount -t ufs -a

[Change the root password]

Issue the passwd command and you will be prompted to enter a new password
for the root account.
#passwd

New password:
passwd: updating the database...
passwd: done
[Change the manage password]

#passwd manage

#exit
There is no need to reboot the operating system to go to multi-user
mode. The exit command will cause the system to return to multi-user miode
without a reboot.
===


From: Dave Banning [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: can't login as anyone - not even as root!
Date: Thu, 28 Aug 2003 09:20:47 -0700 (PDT)
All of a sudden, I can't login, even as root. I tried to set the
password of root to nil (because I happened to be logged in as root at
the time) and that didn't work either.
Then, thinking that the machine was acting up, I rebooted. Now I am in
deeper. I can't even access the machine.
Any idea why this would happen, or more important, how I can get out?

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Got a wish? Make it come true. 
http://server1.msn.co.in/msnleads/citibankpersonalloan/citibankploanjuly03.asp?type=txt 
Best personal loans!

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


Re: can't login as anyone - not even as root!

2003-08-29 Thread Sunil Sunder Raj
Hi,
If the problem still exists try
get master.passwd from /var/backups
run the command
# pwd_mkdb /etc/master.passwd
Regards
SSR
From: Dave Banning [EMAIL PROTECTED]
To: Sunil Sunder Raj [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: can't login as anyone - not even as root!
Date: Thu, 28 Aug 2003 21:40:20 -0700 (PDT)
Thanks, Sunil for the steps, but I have tried that already.

When I get to the # prompt in single user mode, I cannot use
the passwd command. I get the error;;
passwd: error opening database: /etc/pwd.db: Permission denied
passwd: /etc/master.passwd: unchanged
and permissions are as follows;

# ls -tld /etc
drwxr-xr-x  17  root  wheel  2560  Aug 28 09:16 /etc
# ls -tld /etc/pwd.db
drw---r-- 1 root wheeel  40960 Aug 28 09:12 /etc/pwd.db
I -can- execute vipw and change passwords. It updates all the files
master.passwd, spwd.db, passwd, and pwd.db without error.


__
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
_
Access Hotmail from your mobile now. 
http://server1.msn.co.in/sp03/mobilesms/ Click here.

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


Re: permission

2003-08-21 Thread Sunil Sunder Raj
Hi,
Directory /
   Options Indexes Includes MultiViews ExecCGI FollowSymLinks
   AllowOverride None
/Directory
Regards
SSR
From: GNorm [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: permission
Date: Sat, 16 Aug 2003 18:18:41 -0400
I have installed apache and got it to run, however when I tried to access a 
web address that I have set for virtual hosting I get the following 
message:

Forbidden
You don't have permission to access / on this server.
I assume this error is the results of the permission on the directory 
containing web content. I have looked at the permissions for the default 
web directory and tried those settings, the default site works, the virtual 
sites do not.
As always, any help will be appreciated.

Thanks Lowell, for your help I was able to get the invalid error cleared 
up.

Gregory Norman





___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
ICICI's NRI services. They make life easy. 
http://server1.msn.co.in/msnspecials/nriservices/index.asp Find out more.

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


Re: Apache + Frontpage question

2003-07-30 Thread Sunil Sunder Raj
Hi,

Install apache-fp. Or compile mod_frontpage with apxs.

Regards
SSR

From: Darryl Hoar [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Apache + Frontpage question
Date: Tue, 29 Jul 2003 16:37:25 -0500
Greetings,
I have just be nailed by the sales folks.  They won't listen to reason at
all.
They demand that the webserver (apache) have frontpage extensions and
support subwebs.  I'm going to have to strip my freebsd server down and
install a version of apache that does this support.  What should I do
(/usr/port wise) to facilitate this ?
thanks,
Darryl
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
E-mail just got better. Find out why. 
http://server1.msn.co.in/features/general/extrastorage/index.asp Click here!

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


Re: $ locate httpd.conf

2003-07-27 Thread Sunil Sunder Raj
Hi,
Run  /etc/periodic/weekly/310.locate
Regards
SSR

From: DanB [EMAIL PROTECTED]
To: freebsd [EMAIL PROTECTED]
Subject: $ locate httpd.conf
Date: Sun, 27 Jul 2003 14:03:17 +
When I try to use locate on  my  new box I get this below. What do I
need to do to make it work?
Dan
$ locate httpd.conf
locate: database too small: /var/db/locate.database
$
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
E-mail just got better. Find out why. 
http://server1.msn.co.in/features/general/extrastorage/index.asp Click here!

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


Re: Apache help

2003-07-25 Thread Sunil Sunder Raj
Hi,
There is an error in the shell script apache provides.
The line no.105 should be

   if [ -z ${apache_start} ]; then

check that the double codes are proper.

Regards
SSR

From: Dzevad Fazlic [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Apache help
Date: Mon, 21 Jul 2003 14:33:10 -0600
Hello there
I just installed freeBSD 4.8 with apache 1.3.27
Everthing works perfect but when   i shutdown system or when i startup 
system
i am receiving this apache error
(/usr/local/etc/rc.d/apache.sh:120: Syntax error :Unterminated quoted 
string )
Can somebudy help please
But if i start apache with this command   on shell   apachectl start 
It will work fine
Thanks
Dzevad



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Nagesh Kukunoor's back! With 3 Deewarein. 
http://server1.msn.co.in/sp03/3deewarein/index.asp Win tickets here.

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


Re: redirect_port

2003-07-25 Thread Sunil Sunder Raj
Hi,

/sbin/natd -redirect_port tcp x.x.x.x:z z -redirect_port tcp x.x.x.x:y y -n 
rl0

Regards
SSR
From: Matthew Ryan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: redirect_port
Date: Fri, 25 Jul 2003 02:12:45 +0100
Hi there,

Using nat on my gateway to forward traffic on many ports the same internal 
machine, what is the correct syntax?

redirect_port x.x.x.x zz zz
redirect_port x.x.x.x yy yy
redirect_port x x x x nn nn
or

redirect_port x.x.x.x zz,yy,nn zz,yy,nn

or with some other separator or what?

Thanks - this is driving me up the wall, the only way I can find is to 
redirect a whole range,

redirect_port xx-nn xx-nn

but some of the ports in the range are insecure so that means I have to 
secure the internal machine which kind of defeats the object of having a 
firewall on my external machine in the first place.

Thanks again

Matthew Ryan

[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Travel plans? Click here. http://www.msn.co.in/Travel Sit back  relax!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help! Is this an attack or a virus? Qmail on FBSD is flooding

2003-07-18 Thread Sunil Sunder Raj
Hi,
Please run qmail-qstat and check the qmail queue. There is a simple shell 
script to clean the queue.

Regards
SSR
From: [EMAIL PROTECTED]
To: Free bsd  [EMAIL PROTECTED]
Subject: Help! Is this an attack or a virus? Qmail on FBSD is flooding
Date: Thu, 17 Jul 2003 18:55:55 +1000 (EST)
Hi good people.
I am not the cluiest here.
Suddenly my fbsd 4.7. qmail router/gateway is dead slow and
ps -ax reports all normal procs plus heaps! of procs like...
5567(some flags)  0:00:02 qmail-remote hotmail.com
[EMAIL PROTECTED]
The address is one of my user email accounts on qmail

What is this? Is it possible FBSD has a virus or is it a suddenly
rougue/corrupted qmail.
Wher else can I look to track this down.
I have ipfilter/ipmon/ipnat on it too.
I disconnected router from internal LAN and rebooted and after a while it
started doing it again!
So it is something on the machine.
Help please needed badly...typical..its mission critical in our school
Thanks Keith








___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Polyphonic ringtones. Latest movie trailors. 
http://server1.msn.co.in/sp03/gprs/index.asp On your mobile!

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


Re: Postfix With SASL Authentication?

2003-07-08 Thread Sunil Sunder Raj
Hi,
Create a user using saslpasswd2
Restart the sasl and postfix daemons.
Regards
SSR


From: Drew Tomlinson [EMAIL PROTECTED]
To: Sunil Sunder Raj [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: Postfix With SASL Authentication?
Date: Mon, 7 Jul 2003 10:53:45 -0700
- Original Message -
From: Sunil Sunder Raj [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, July 06, 2003 11:10 PM
Subject: Re: Postfix With SASL Authentication?
 1) Install postfix+sasl
 2) edit /usr/local/lib/sasl2/Sendmail.conf
 pwcheck_method: auxprop
 3) edit /usr/local/lib/sasl2/smtpd.conf
 pwcheck_method: auxprop
 4) edit /usr/local/etc/postfix/main.cf
   smtpd_sasl_auth_enable = yes
   smtpd_sasl_security_options = noanonymous
   smtpd_sasl_local_domain = $myhostname
   broken_sasl_auth_clients = yes
   myhostname = Your hostname comes here
   mydomain = Your hostname comes here
   smtpd_recipient_restrictions =check_sender_access

hash:/usr/local/etc/postfix/spammer,permit_sasl_authenticated,permit_myn
etworks,check_relay_domains

 5) restart postfix and saslauthd
Thank you so much for your response.  I've tried your directions above
but am still having trouble.  This is from my mail log:
Jul  7 10:49:13 blacklamb postfix/smtpd[30531]: warning: SASL
authentication failure: no user in db
And this is from my console:

Jul  7 10:49:13 blacklamb postfix/smtpd[30531]: OTP unavailable because
can't read/write key database /etc/opiekeys: Permission denied
Jul  7 10:49:24 blacklamb authdaemond.plain: unable to resolve symbol:
pam_sm_open_session
Jul  7 10:49:24 blacklamb authdaemond.plain: unable to resolve symbol:
pam_sm_close_session
Jul  7 10:49:28 blacklamb authdaemond.plain: unable to resolve symbol:
pam_sm_open_session
Jul  7 10:49:28 blacklamb authdaemond.plain: unable to resolve symbol:
pam_sm_close_session
Jul  7 10:49:28 blacklamb authdaemond.plain: unable to resolve symbol:
pam_sm_open_session
Jul  7 10:49:28 blacklamb authdaemond.plain: unable to resolve symbol:
pam_sm_close_session
Jul  7 10:49:29 blacklamb authdaemond.plain: unable to resolve symbol:
pam_sm_open_session
Jul  7 10:49:29 blacklamb authdaemond.plain: unable to resolve symbol:
pam_sm_close_session
Do you have any other suggestions?

Thanks,

Drew



_
Watch Hallmark. Enjoy cool movies. 
http://server1.msn.co.in/sp03/hallmark/index.asp Win hot prizes!

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


Re: Postfix With SASL Authentication?

2003-07-07 Thread Sunil Sunder Raj
1) Install postfix+sasl
2) edit /usr/local/lib/sasl2/Sendmail.conf
   pwcheck_method: auxprop
3) edit /usr/local/lib/sasl2/smtpd.conf
   pwcheck_method: auxprop
4) edit /usr/local/etc/postfix/main.cf
 smtpd_sasl_auth_enable = yes
 smtpd_sasl_security_options = noanonymous
 smtpd_sasl_local_domain = $myhostname
 broken_sasl_auth_clients = yes
 myhostname = Your hostname comes here
 mydomain = Your hostname comes here
 smtpd_recipient_restrictions =check_sender_access 
hash:/usr/local/etc/postfix/spammer,permit_sasl_authenticated,permit_mynetworks,check_relay_domains

5) restart postfix and saslauthd

Regards
SSR

From: Drew Tomlinson [EMAIL PROTECTED]
To: FreeBSD Questions [EMAIL PROTECTED]
Subject: Postfix With SASL Authentication?
Date: Sat, 5 Jul 2003 18:58:53 -0700
Can anyone point me to a HOW-TO to enable Postfix to relay for clients
that provide a valid login?  In other words, if I tell my IMAP client
that my outgoing SMTP server requires authentication and provide an
existing username/password combination that exists in /etc/passwd, I
want Postfix to relay the message even if the client isn't defined in
the mynetworks list.
I've searched Google and found that SASL should be able to do this so
I've installed it via the port.  I've also installed the saslauthd port
and recompiled Postfix with SASL support.  Now I think I want to
configure SASL to use PAM?  Anyway, I've found various tidbits on Google
and it seems that lots of people have problems with this.  Is there any
doc that helps one configure this on FBSD?
Thanks,

Drew

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Dress up your desktop! Get the best wallpapers. 
http://server1.msn.co.in/msnchannels/Entertainment/wallpaperhome.asp Just 
click here!

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


Re: system info

2003-07-03 Thread Sunil Sunder Raj
Hi,
/var/run/dmesg.boot is the file you need. Just go through the bootup 
messages in teh file. You will get all the details of your server.

Regards
SSR

From: Morten [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: system info
Date: Thu, 03 Jul 2003 12:00:13 +0200
Hi all,

Is there a command line utility that I can use to get info on installed 
ram, CPU etc?



Cheers,



-Morten

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Reconnect with old pals. Relive the happy times. 
http://www.batchmates.com/msn.asp With just one click.

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


Re: Apache + PHP Issue

2003-06-26 Thread Sunil Sunder Raj
Hi,
Did you add these lines in the httpd.conf file.
   IfModule mod_php4.c
 AddType application/x-httpd-php .php .php3 .php4
 AddType application/x-httpd-php-source .phps .php3s .php4s
   /IfModule
Regards
SSR

From: bryan cassidy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Apache + PHP Issue
Date: Thu, 26 Jun 2003 08:39:54 -0700 (PDT)
Hello, I just installed the mod_php4  + apache ports
and when I create a .php file in a directory say
called test it doesn't ever want to load the script it
wants me to save it on the computer.
http://bsdsys.dyndns.org/test/ when you click on
test.php it wants to Save it not load it. Whats
goin on here?


__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Attention NRIs! Send money home in a jiffy. 
http://server1.msn.co.in/msnleads/citibankrca/citibankrca2.asp

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


Re: bad file descriptor

2003-06-19 Thread Sunil Sunder Raj
Hi,
1) First get the inode no of the file
ls -li #pico29506#
2) find . -inum inode no -delete

Regards
SSR

From: Jaime [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: bad file descriptor
Date: Tue, 17 Jun 2003 09:06:10 -0400 (EDT)
Can anyone explain this?  It looks like I can't delete a given
file.  This file has been causing weird errors with just about everything,
including tar, rm, ls -l, etc.  It resides on a vinum RAID-5 array, which
is the only strange thing I can think of about it.
zeus# ls
#pico29506# .login  .shrc   
cdtashirt.jpg
.addressbook.login_conf 
.spamassassin   cdtashirtstitch.jpg
.addressbook.lu .mail_aliases   December 
2002 Newsletter.docs   dead.letter
.aspell.en.prepl.mailrc Documents   
mail
.aspell.en.pws  .pinerc 
Lawrence.JPGmbox
.aspell.english.prepl   .profileOctober 
2002 Newsletter.doc public_html
.aspell.english.pws .qmail.backup.from.cyrusOctober 
2002 Newsletter.doc.
.cshrc  .rhosts acker
zeus# rm #pico29506#
rm: #pico29506#: Bad file descriptor
zeus# whoami
root

Thanks in advance,
Jaime
To affect the quality of the day, that is the highest of arts.
 - Henry David Thoreau, _Where_I_Live_
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Chill out. Win a Himalayan holiday! 
http://server1.msn.co.in/sp03/summerfun/index.asp

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


Re: passwd

2003-06-06 Thread Sunil Sunder Raj
Hi,
After tracing the passwd command I found these files being referred by the 
command.

/sbin/passwd
/var/run/ld-elf.so.hints
/usr/lib/libkadm.so.3
/usr/lib/libkrb.so.3
/usr/lib/libcrypto.so.1
/usr/lib/libcrypt.so.2
/usr/lib/librpcsvc.so.2
/usr/lib/libcom_err.so.2
/usr/lib/libutil.so.3
/usr/lib/libc.so.4
/usr/lib/libcrypt.so.2
/etc/malloc.conf
/etc/spwd.db
/etc/auth.conf
/dev/tty
/dev/urandom
/etc/master.passwd
/etc/localtime
/etc/passwd
/var/run/log
and access to the users' home directory.

Regards
SSR


From: Mark Redding [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: passwd
Date: Fri, 6 Jun 2003 13:26:44 +0100 (BST)
Hi all,

I'm building a system (FreeBSD 4.7) which upon which I
wish the majority of users to only have extremely
limited access to (ie. to be able to telnet
elsewhere).
One of the things I've done is to chmod o-rwx most
everything in /bin/ /sbin/ /usr/bin/ /usr/sbin/ and
/usr/libexec/
The only commands that users can access now are
passwd and telnet as I've changed permissions to
give them r-x access to these commands, and also to
/usr/libexec/ld.elf*
The problem I have at present is that users can
telnet, but they cannot issue the passwd command
without getting :-
passwd: permission denied

Does anyone know what other commands passwd may be
trying to execute, or of any way I can 'trace' the
program to see what it's trying to do (I've KTRACE
switched OFF in the kernel and have no intention of
switching it on).
thanks in advance,

Mark Redding.

=
Mark W J Redding
__
Yahoo! Plus - For a better Internet experience
http://uk.promotions.yahoo.com/yplus/yoffer.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Looking for love? Yearning for friendship? http://www.msn.co.in/Romance/ 
You're in the right place

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


Re: Repositioning /var | /tmp to avoid disk full condition

2003-06-05 Thread Sunil Sunder Raj
Hi,

# umount /var
# mv /var /usr
# ln -s /usr/var /var
In /etc/fstab remove the line containing /var

Regards
SSR

From: Joseph Maxwell [EMAIL PROTECTED]
To: FreeBSD Users [EMAIL PROTECTED]
Subject: Repositioning /var | /tmp to avoid disk full condition
Date: Sat, 31 May 2003 11:58:23 -0700
Hello,
The 3rd edition of The Complete FreeBSD suggest repositioning the /var
directory ( and even /tmp) to prevent filling up that partition. I
ignored it and did just that today, filled it up. So I attempted the
repositioning with the following recommended command steps and results:
 cd /var
 tar cf - . | (cd /usr/var; tar xf - )
 cd /
 rm -rf /var
 ln -s /usr/var /var
However the  'rm -rf /var' returned

 rm: /var: Device busy

After trying all known tricks to me to remove /var, I concluded that
since it was mounted from the /etc/fstab I should dismount it and remove
the directory (link point ?) and create a soft link there as
recommended. However, on rebooting boot was aborted, was thrown into
single users mode. After some findangling eventually got the system back
up as before with the /var directory, except that now it contains only
the /var/cron and /var/run directories.
The original /var contained

 /var/account:
 /var/at:
 /var/backups:
 /var/crash:
 /var/cron:
 /var/db:
 /var/games:
 /var/log:
 /var/lost+found:
 /var/mail:
 /var/msgs:
 /var/preserve:
 /var/qmail:
 /var/run:
 /var/rwho:
 /var/smtpd:
 /var/spool:
 /var/tmp:
 /var/webmin:
 /var/yp:
How can I restore the full functioning structural integrity as before,
of course the contents of the /usr/var directory was wiped out somwhere
along the way, sans log, sans mail, sans everything. Just want to
continue as before.
Thanks.

--  Joe  --



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Staying fit. It's about being happy! 
http://server1.msn.co.in/features/stayingfit/index.asp Check out the new 
mantra.

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


Re: 4.8-STABLE /dev/null issue

2003-06-04 Thread Sunil Sunder Raj
Hi,
The permissions on /dev/null is changed by some one. Please try
cd /dev
rm null
mknod null c 2 2
chmod 666 null
regards
SSR


From: Scott Kupferschmidt [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: 4.8-STABLE /dev/null issue
Date: Tue, 3 Jun 2003 00:34:58 -0400 (EDT)
Hello,

This may have been previously discussed, but I have yet to find a solution
yet so looking to find some guidance here.
I have a customer who has 2 servers, one is 4.8-RC and the other is
4.8-STABLE.  No problems have been noted on his server with 4.8-RC,
however the one running 4.8-STABLE seems to have some random /dev/null
permission changes and I'm stumped.
He runs a cron script (on both servers) and redirects the output to
/dev/null, and everytime he does it on the 4.8-STABLE the permissions
change from crw-rw-rw- to crw-r--r-- which is rather odd.  Anytime I 'echo
blah /dev/null' just in a regular shell, nothing goes wrong, only when in
cron.
Errors reported in /var/log/maillog are something like this:

Jun  2 21:06:56 diamond sm-msp-queue[97747]: h5316uZO097747: disconnect:
open(/dev/null) failed: Permission denied
Also, cron reports similar:

Subject: Cron [EMAIL PROTECTED] echo blah /dev/null
X-Cron-Env: SHELL=/bin/sh
X-Cron-Env: HOME=/home/sk
X-Cron-Env: PATH=/usr/bin:/bin
X-Cron-Env: LOGNAME=sk
X-Cron-Env: USER=sk
cannot create /dev/null: permission denied

I cvsup'd, rebuilt the world, mergemaster'd the system to the latest and
still experience issues.  Was there a change between 4.8-RC and 4.8-STABLE
that is causing this that I am just overlooking here?
Any advice is greatly appreciated, as of right now I am banging my head.

Sincerely,

Scott Kupferschmidt
ISPrime, Inc.
866.502.4678 ext. 3
AIM: Scott ISPrime - ICQ: 174337249
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
HCL Beanstalk PCs. You could win one. 
http://server1.msn.co.in/sp03/hclbeanstalktour/index.asp Interested?

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


Re: How can I recover the password for root in FreeBSD 4.4

2003-06-04 Thread Sunil Sunder Raj
Hi,

CHANGE ROOT PASSWORD
=
STEPS
=
As the os(FREEBSD) is starting it will display the following message:
Hit [Enter] to boot immediately, or any other key for command prompt.

Booting [kernel ] in 10 seconds...

You should now ress the space bar, and you will see the following message:

Type '?' for a list of commands, or 'help' for more detailed help.

ok

now type boot -s and press the enter key to start FreeBSD in single user
mode. After the system boots, you should see the statement:
Enter fill pathname of shell or RETURN for /bin/sh:

Press the enter key and you will have a # prompt.

[Mount  the filesystems]

At the command prompt. issue the mount command. This command will mount
all the filesystems listed in your /etc/fstab file.
# mount -t ufs -a

[Change the root password]

Issue the passwd command and you will be prompted to enter a new password
for the root account.
#passwd
New password:
passwd: updating the database...
passwd: done
[Change the manage password]

#passwd manage

#exit
There is no need to reboot the operating system to go to multi-user
mode. The exit command will cause the system to return to multi-user miode
without a reboot.
Regards
SSR

From: Simon-Pierre Butsana [EMAIL PROTECTED]
Reply-To: Simon-Pierre Butsana [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: How can I recover the password for root in FreeBSD 4.4
Date: Wed, 4 Jun 2003 09:54:20 +0100
Hi,

I changed yesterday the password for root on my server because I found it 
too simple. Unfortunately I didn't write it and now I just can't remind it. 
I still have access to an account belonging to the wheel group. Is there 
any means to recover or to set a new password for root?
I would appreciate any help on this.
many thanks,

Simon
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Technical writer?. Earn more now! 
http://server1.msn.co.in/msnleads/tis/index.asp Find out how.

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


Re: Mysql

2003-05-30 Thread Sunil Sunder Raj
Hi,
Execute
mysqldump -u root -proot password --all-databases  
WHOLE_DATABASE_DUMP.DMP

Once you reinstall mysql, delete all databases from mysql and then run
cat WHOLE_DATABASE_DUMP.DMP | mysql -u root -proot password
This is a tested method.

Regards
SSR


From: Ian Barnes [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Mysql
Date: Thu, 29 May 2003 18:08:53 +0200
Hi,

I want to remove my mysql installation and re-install from scratch. Now the
problem. I have 6 active databases. How can i make sure that i dont loose
those. And that when i have re-installed, that they work immediatilly ??
I know this is a stupid question but i dont know this sort of thing.

Anyone maybee have a link to a tutorial or something.

Thanks alot.

Ian

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Attention NRIs! Send money to India. 
http://server1.msn.co.in/msnleads/citibankrca/citibankrca2.asp Do it in a 
jiffy!

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


Re: can't pipe to /dev/null ?

2003-03-31 Thread Sunil Sunder Raj
Hi,
Did you try
devnull:  | /dev/null
Cheers
SSR





From: Len Conrad [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: can't pipe to  /dev/null ?
Date: Wed, 19 Mar 2003 11:20:35 -0600
in /etc/aliases:

devnull:  |/dev/null

and:

# ll /dev/null
crw-rw-rw-  1 root  wheel2,   2 Mar 19 11:13 /dev/null
but:

Mar 19 10:55:08 img10 postfix/local[41744]: 671235621: 
to=[EMAIL PROTECTED], relay=local, delay=1, status=bounced (Command 
died with status 1: /dev/null)

... is fixed with:

devnull:  |cat/dev/null

 which gives:

Mar 19 11:13:51 img10 postfix/local[43231]: E5C4A5623: 
to=[EMAIL PROTECTED], relay=local, delay=0, status=sent (delivered to 
command: cat)

Mar 19 11:13:51 img10 postfix/local[43231]: E5C4A5623: 
to=[EMAIL PROTECTED], relay=local, delay=0, status=sent (delivered to 
file: /dev/null)

Piping into /dev/null has worked in the past, wondering why the cat command 
has become necessary?

Len



_
MenAndMice.com/DNS-training: Austin; Chicago; San Jose; Toronto
IMGate.MEIway.com: anti-spam gateway, 95+% effective, free
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


_

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


Re: cron job

2003-03-31 Thread Sunil Sunder Raj
Hi,
In your script try giving the full path of all the commands you are using.
Cheers
SSR





From: Martin Tsanov [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: cron job
Date: Sat, 29 Mar 2003 17:09:01 +0100
Hello

I have a gateway with wireless interface wi0. From time to time it 
hangs down
with the following log entry in /var/log/all.log

Mar 28 22:19:37 morpheus /kernel: wi0: failed to allocate 1594 bytes on NIC
Mar 28 22:19:37 morpheus /kernel: wi0: tx buffer allocation failed
Mar 28 22:19:37 morpheus /kernel: wi0: wi_cmd: busy bit won't clear.
Mar 28 22:19:37 morpheus /kernel: wi0: failed to allocate 1594 bytes on NIC
Mar 28 22:19:37 morpheus /kernel: wi0: mgmt. buffer allocation failed
Mar 28 22:20:42 morpheus /kernel: wi0: wi_cmd: busy bit won't clear.
Mar 28 22:21:42 morpheus /kernel: wi0: wi_cmd: busy bit won't clear.
I tried the following script, placed as a crontab entry to reboot the 
system:

#!/bin/sh

result=`fping 212.50.x.xxx|cut -b 17-21`
result1=alive
if [ $result1 = $result ]; then
echo $result
else
reboot
fi
This script works as expected when envoked from the shell, but when placed
as th following crontab entry:
*/10*   *   *   *   root/root/reb (reb is the 
script name)

the system reboots regardless if 212.50.x.xxx is reachable or not.

What is the difference??? And what am I doing wrong??

I'm tracking FreeBSD 4-STABLE and this is 4.8-RC FreeBSD 4.8-RC #0:

Any help will be appreciated.

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


_
Mobile, masti, magic! Cool ringtones  logos.  http://www.msn.co.in/mobile/ 
Get noticed

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


Re: SMTP Authentication

2003-03-21 Thread Sunil Sunder Raj
Hi,

Please try these steps
1) cd /usr/local/lib/sasl (most probably libkerberos4* files willbe in the 
/usr/local/lib/sasl directory)
2) mkdir libkerberosMOVED
3) mv libkerberos4* libkerberosMOVED

These were what I did.

Cheers
SSR







From: Paul Lathrop [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: SMTP Authentication
Date: Fri, 21 Mar 2003 12:26:41 -0500
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I recently configured the mail server I administrate to do SMTP 
Authentication using sasl. sasl is configured to use PAM for 
authentication, and the smtp PAM service calls pam_mysql. I know it's 
rather convoluted, but it's the only solution that matched my needs. But I 
digress. Shortly after configuring this system, my logs began reporting the 
following error:

Mar 20 00:31:01 rackspace postfix/smtpd[45892]: 
add_plugin(/usr/local/lib/sasl/libkerberos4.so) failed: generic failure

This error repeats upwards of 70 times per day. Unfortunately, I cannot 
track down the cause of this problem. I am not use kerberos anywhere on my 
system, and I cannot find a reference to libkerberos in any of the 
configuration files.

Any ideas what could be causing this error and how I might track it down?

Thank you,
Paul D. Lathrop
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (Darwin)
iD8DBQE+e0s+los2supvBQwRArpJAJ9LHT0se2NrmJdNZvRjVRo/vVgX6gCdFLsr
0dfTMrYK+mnP9W61jgNMBDE=
=FpoJ
-END PGP SIGNATURE-
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


_
Cricket World Cup 2003- News, Views and Match Reports. 
http://server1.msn.co.in/msnspecials/worldcup03/

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


Re: rc.conf

2003-03-21 Thread Sunil Sunder Raj
Hi,
It depends on what parameters you have changed in rc.conf.
For example if you have changed the hostname then go to the /etc directory
grep hostname *
You will find the search resulting in a shell script file. Here it is 
rc.network: hostname ${hostname}

Then just run that shell script.

Cheers
SSR






From: Tiago Andre [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: rc.conf
Date: Fri, 21 Mar 2003 11:09:06 +
How do i compile my rc.conf file?
whidout restar the pc
thanks

_
MSN Oscar: tem um palpite de quem vai ganhar? 
http://www.msn.com.br/oscar/enquete/

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


_
Cricket World Cup 2003- News, Views and Match Reports. 
http://server1.msn.co.in/msnspecials/worldcup03/

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