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

Re: Freebsd pxeboot problem

2005-05-26 Thread Sunil Sunder Raj
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

Re: Freebsd pxeboot problem

2005-05-24 Thread Sunil Sunder Raj
wheel 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

Freebsd pxeboot problem

2005-05-23 Thread Sunil Sunder Raj
(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

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)

Re: FreeBSD 4.7 Syslogs

2004-05-16 Thread Sunil Sunder Raj
: 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

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

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

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.

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

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

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,

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

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

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

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

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

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 ,

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

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

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

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

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

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

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

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

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

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,

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

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

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

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]

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:

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

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

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

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

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

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

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

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

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

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

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

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

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 +

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

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

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

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

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

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:

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

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

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

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