ntp problem

2009-04-20 Thread Lisa Casey
Hi,

Running FreeBSD 5.3  IN /etc/ntp.conf I have:

server time.nist.gov prefer
server tock.gpsclock.com
driftfile /etc/ntp.drift
logfile /var/log/ntp.log

If I run ntpdate from a prompt, I get the following  error message:

# ntpdate
20 Apr 12:02:08 ntpdate[50109]: no servers can be used, exiting

But if I type:

ntpdate time.nist.gov   it will update the time. Is there something wrong with 
my /etc/ntp.conf file?

Lisa Casey
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ntp problem

2009-04-20 Thread Lisa Casey

Thanks guys,

I did have ntpd and ntpdate confused. I have things working now. 


Lisa

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


Question about entry in auth.log

2008-11-14 Thread Lisa Casey

Hi,

I run several FreeBSD servers. Today I noticed  an entry in the auth.log on 
one of them that concerns me. The entry is this:


Nov 12 15:44:29 mail sshd[30160]: Accepted keyboard-interactive/pam for 
michael from 89.123.165.3 po

rt 55185 ssh2

There is a user michael on the system, but whoever was doing this was not 
him.


I am assuming someone tried to break in using a valid username (michael) but 
with an incorrect password. So I just conducted an experiment to see if I 
could replicate that log entry using another valid username: mandy. I ssh'ed 
into the server, gave mandy as the username with an incorrect password. The 
auth.log entry for that attempt is this:


Nov 14 19:44:54 mail sshd[96194]: Failed password for mandy from 
72.155.127.223 port 51919 ssh2


and when I used something called keyboard interactive as the primary 
authentication method in my ssh client, I get this:


sshd[96348]: error: PAM: authentication error for mandy from 72.155.127.223

Nothing about Accepted keyboard-interactive/pam.  What does Accepted 
keyboard-interactive/pam mean?


Also, in my ssh client, for authentication methods I have a choice of 
password, publickey or keyboard interactive. I've always used password, and 
never even noticed that keyboard interactive before. What is that?


Thanks,

Lisa Casey


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


Re: Question about entry in auth.log

2008-11-14 Thread Lisa Casey



On Fri, 14 Nov 2008, Tom Marchand wrote:


Or michael is vacationing in Romania.


Very odd. Sigh, Michael is not vacationing in Romania. Doubt he's ever 
been there. I got rid of the michael account (it wasn't used anyway), and 
downloaded a new copy of chkrootkit, installed it and ran it along with 
chklastlog and chkwtmp. Nothing was found. Pehaps this was a harmless 
enough prank? Anything else I ought to look at? Fortunately the michael 
account did not have te ability to su to root.


Lisa

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


OT: procmail/joe job question

2008-04-21 Thread Lisa Casey

Hi,

I know this is a FreeBSD group but a lot of you use procmail and I need
some help in a hurry if I can get it.

My domain evidently got joe jobbed yesterday, and my customers are getting
hundreds of MAILER-DAEMON type messages. Needless to say, they are not
happy.

I figured I could use procmail to temporarily discard MAILER-DAEMON messages
until whatever's going on stops. I don't know much about writing procmail
recipes, but I can google for them. I've tried a variety of things in
/etc/procmailrc, but none are working - MAILER-DAEMON messages are still
being delivered to mail boxes. This is what I've tried:


:0:
* ^FROM_MAILER
/dev/null

:0:
* ^from.*mailer.*daemon
/dev/null

:0:
* ^From:.*MAILER.*DAEMON
/dev/null


:0:
* [EMAIL PROTECTED]
* ^From:.*MAILER-DAEMON
/dev/null

What am I doing wrong, and is there a better way than this to deal with the
back scatter fromn this joe job?

Thanks,

Lisa Casey

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


Daylight Savings time

2008-03-01 Thread Lisa Casey
Hi,

I suspect my FreeBSD 5.2 system isn't going to handle the change to Daylight 
Savings Time correctly next weekend:

zdump -v /etc/localtime | grep 2008
/etc/localtime  Sun Apr  6 06:59:59 2008 UTC = Sun Apr  6 01:59:59 2008 EST 
isdst=0 gmtoff=-18000
/etc/localtime  Sun Apr  6 07:00:00 2008 UTC = Sun Apr  6 03:00:00 2008 EDT 
isdst=1 gmtoff=-14400
/etc/localtime  Sun Oct 26 05:59:59 2008 UTC = Sun Oct 26 01:59:59 2008 EDT 
isdst=1 gmtoff=-14400
/etc/localtime  Sun Oct 26 06:00:00 2008 UTC = Sun Oct 26 01:00:00 2008 EST 
isdst=0 gmtoff=-18000

Could someone help me remember the steps I need to take to correct this?

Thanks,

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


Re: Daylight Savings time

2008-03-01 Thread Lisa Casey

Hi again,

- Original Message - 
From: Erik Trulsson

To: Lisa Casey
Cc: freebsd-questions@freebsd.org
Sent: Saturday, March 01, 2008 4:04 PM
Subject: Re: Daylight Savings time


Install the misc/zoneinfo port, which will install an updated zoneinfo 
file on your

machine, and then run tzsetup(8) to update /etc/localtime.


I think that's the info I was looking for. I ran tzsetup, but of course that 
did no good. I'll install the port first. Thanks.


Lisa Casey





--
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED] 


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


Re: Webmail

2007-12-14 Thread Lisa Casey
 - Original Message - 
 From: Satria Bramana

 To: freebsd-questions@freebsd.org
 Sent: Thursday, December 13, 2007 9:44 PM
 Subject: Webmail




 Can anyone who had experience running a web-based e-mail give suggestion
 what package to use? I will only use it for study purpose, so I need one 
that
 easy to configure and help me understand the big picture about 
mailserver..

 Thank you very much..



I've used Null Web Mail  (http://nullwebmail.sourceforge.net/webmail/)   for 
several years. It's a very basic webmail program written in C, and it's 
pretty simple to  configure and install. It doesn't have all of the features 
that some more sophisticated web mail programs have, but what I like most 
about it is it just basically works well. We encourage our users to POP 
their mail anyway so we don't need the bells   whistles of some of the 
more full featured web mail programs.


Lisa Casey 


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


OT: Procmail not recognising /etc/procmailrc?

2007-10-12 Thread Lisa Casey
Hi,

This is kind of off topic for this list, but I know a lot of FreeBSD Admins use 
Procmail, so hopefully someone here can help.

I'm running procmail 3.22 on FreeBSD. I verified that procmail does work on my 
system by following the testing your procmail installation in the ii Procmail 
Quick Start. Procmail worked flawlessly in processing a .procmailrc file in my 
home directory. Problem is, I can't seem to get it to do what is in my 
/etc/procmailrc file. Either procmail doesn't recognise the /etc/procmailrc 
file, or my syntax in that file is wrong.

I'm using spamassassin, and I want to send email that gets a very high spam 
score to /dev/null.  In the headers of these high scoring emails, there's a 
line like this:

X-Spam-Score: 25.762 (*)

My /etc/procmail.rc file looks like this:

mail# more /etc/procmailrc
# Directory for storing procmail configuration and log files
# You can name this environment variable anything you like
# (for example PROCMAILDIR) or, if you prefer, don't set it
# (but then don't refer to it!)
# PMDIR=/etc/Procmail

# LOGFILE should be specified ASAP so everything below it is logged
# Put ## before LOGFILE if you want no logging (not recommended)
LOGFILE=/var/log/pmlog

# To insert a blank line between each message's log entry, 
# uncomment next two lines (this is helpful for debugging)
LOG=


LOGABSTRACT=all
  
# Set to yes when debugging; VERBOSE default is no
VERBOSE=yes

# Replace $HOME/Msgs with your mailbox directory
# Mutt and elm use $HOME/Mail
# Pine uses $HOME/mail
# Netscape Messenger uses $HOME/nsmail
# Some NNTP clients, such as slrn  nn, use $HOME/News
# Mailboxes in maildir format are often put in $HOME/Maildir
#
# IMPORTANT: Upon reading an instruction that contains MAILDIR=,
#Procmail does a chdir to $MAILDIR and
#relative paths are relative to $MAILDIR
# MAILDIR=$HOME/mail   # Make sure this directory exists!
  
   
 End Variables section; Begin Processing section   

:0:
* ^X-Spam-Score: [2-9][0-9] 
/dev/null
 
:0:
* ^spam,[2-9][0-9]
/dev/null
 
  
# INCLUDERC=$PMDIR/rc.testing
# INCLUDERC=/etc/rc.testing
INCLUDERC=/etc/rc.renattach

When I receive an email with a spam score above 20, it is delivered, not sent 
to /dev/null. Also, procmail is not logging at all, even though with this 
procmailrc it ought to be logging verbosely in /var/log/pmlog

By the way, the permissions and ownership of /etc/procmailrc is-rw-r--r--  
1 root  wheel
and of /var/log/pmlog:   -rw-rw-rw-   1 root  wheel

How can I figure out why this isn't working?

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


Re: OT: Procmail not recognising /etc/procmailrc?

2007-10-12 Thread Lisa Casey
Hi John,

 As with most FreeBSD ports, procmail on FreeBSD looks under 
 /usr/local/etc for its configuration information. Just use that path 
 instead of /etc in any  non-FreeBSD documentation you encounter and you 
 should be fine.

Thanks - procmail's cranking along now! I appreciate it.

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


FreeBsd e-mail question

2007-10-03 Thread Lisa Casey

Hi,

I'm running Sendmail and Qpopper on FreeBsd. (And perhaps I ought to be 
asking  this on the Qpopper list, but hopefully someone here knows an 
answer). We have all of our mailboxes in mbox format in /var/mail. When a 
customer pops his mail for the first time it creates a file .username.pop in 
/var/mail which never goes away, it remains as a zero byte file. It's quite 
useful as we can tell from the timestamp on it when the customer last popped 
his mail.


The problem comes in when a customer cancels his account. We remove users by 
rmuser username. That command removes the user from the password file, 
removes his home directory and removes the mailspool. What it doesn't do is 
to remove the .username.pop file associated with that mailbox. This isn't a 
problem unless we add another account with the same username. The new 
account cannot pop his mail because he gets the following  error messge:


-ERR [SYS/PERM] Temporary drop /var/mail/.jjvc.pop not owned by jjvc.

If I take a look at /var/mail/.jjvc.pop it isn't owned by anyone, the 
ownership of the file is the group number of the original jjvc.


-rw-rw   1 1473 mail 0 Sep 11 19:15 
.jjvc.pop


Is there anyway to have rmuser remover the mail drop file associated with 
that account also, or am I just going to have to remove these manually?


Thanks,

Lisa Casey


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


passwd file and user accounts

2007-07-07 Thread Lisa Casey

Hi,

This is probably a stupid question, but I'll ask it anyway...

I have a Red Hat Linux system I need to get rid of. It is currently doing 
e-mail for approximately 700 users and is also doing radius authentication. 
I have setup a new FreeBSD computer to take it's place. I have everything 
setup now on the FreeBSD computer except for the user accounts and 
mailboxes. The mailboxes aren't a problem, I've used tar to move mailboxes 
before.


I suppose I cannot simply copy /etc/passwd, /etc/group and /home from the 
Redhat computer to the FreeBSD computer due to the password hash in 
/etc/passwd. Am I correct on this?  Would it be possible to copy /etc/passwd 
then (before the new system goes live) reset all the passwords with the 
passwd command? That might be easier than adding in close to 700 accounts 
using adduser.  Does anyone  have a better idea of how I might go about 
doing this?


Thanks,

Lisa Casey



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


Adding a new command

2007-07-07 Thread Lisa Casey

Hi,

Once I get this new system going I promise I'll quit pestering you folks 
:-)


Got another question. This should be simple to answer. I've done this before 
but can't seem to replicate it this morning. I have a few scripts my 
employees use to do things such as add a new radius user, restart the radius 
server and tail the radius log file. The most simple one is radlog.  The 
file radlog contains the line:

tail -f  /var/log/radius.log

I need to be able to type radlog from anywhere on the system and have it 
work.


I put the file radlog in /bin   (/bin and  /sbin are all in my shell's 
path). Ownership is root/wheel  permissions are 555 (I've tried 700 and 
777 - these don't need write access though). But when I type radlog I get 
command not found. I can type ./bin/radlog and it works but I don't want 
that. I thought if the file was in my path and if it was executable just 
typing the name of the file from anywhere would work but evidently I'm 
overlooking something. What?


Thanks,

Lisa Casey

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


New FreeBSD installation

2007-07-04 Thread Lisa Casey

Hi,

First, thanks for the help I got from this list when I was having problems 
getting FreeBSD to install on a new system. Hard drive cabling was the 
problem - got that fixed.


I have FreeBSD up and running now. I have a couple of questions. When I 
installed FreeBSD, it automatically installed Sendmail 8.13. I installed 
cyrus-sasl2 and cyrus-sasl2-saslauthd from ports because I need SMTP auth. 
Sendmail is running on the box:


# ps waux | grep sendmail
smmsp 20613  0.0  0.1  3440 2800  ??  Is2:53PM   0:00.00 sendmail: Queue 
[EMAIL PROTECTED]:30:00 for /var/spool/clientmqueue (sendmail)
root  20615  0.0  0.2  4400 3692  ??  Ss2:54PM   0:00.03 sendmail: 
accepting connections (sendmail)


but I cannot send mail through this server using Outlook Express on the 
Windows computer on my desk (I get a generic error message about the 
connection to the server has failed nor can I telnet to port 25 on this 
server. I  have noticed that there isn't anything in /etc/rc.conf regarding 
sendmail (no SENDMAIL_ENABLE=YES  etc.) but since sendmail is starting 
from rc.d perhaps there shouldn't be anything in rc.conf? I'm not sure where 
to begin trying to figure out why I can't send mail or telnet to port 25. 
What am I overlooking here?


Also, when I installed FreeBSD, I installed SSH. Unfortunately, at first I 
put the wrong IP address on this machine (it conflicted with another server 
I currently have running). I fixed that. In /var/messages, however, I'm 
seeing this every 10 minutes or so:


Jul  4 16:12:14 mail inetd[423]: ssh/tcp: bind: Address already in use

I don't know if this is because I initially setup this server with the wrong 
IP address on the ethernet interface (and ssh is trying to bind to this 
wrong IP) or if I'm getting this message because ssh is being started from 
both rc.d (there is a script  in there for ssh) and from /etc/rc.conf 
(/etc/rc.conf contains sshd_enable=YES)


Thanks for the help,

Lisa CAsey



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


Problem installing FreeBSD 5.3

2007-07-03 Thread Lisa Casey

Hi,

I am attempting to install FreeBSD 5.3 (because that's the latest distro I 
have CD's for) on a brand new system with a 80 G harddrive and 2 G RAM.


I boot from Disk 1 of the 5.3 disk set and choose to begin a standard 
installation. Next is the fdisk utility to partition the drive. The first 
thing  I get is a message which states:


WARNING: A geometry of 155061/16/63 for ad0 is incorrect. Using a more 
likely geometry. If this geometry is incorrect or if you are unsure whether 
or not it's correct, please consult the hardware guide in the documentation 
submenu or use the (G)eometry command to change it now.


Even if I go to bios and use the values bios gives for the harddrive 
(38309/16/255) I still get the same message about incorrect geometry.


I can choose OK and get past this.  I choose to devote the entire disk to 
FreeBSD, and install the FreeBSD boot manager. Next I need to partition my 
drive. The defaults won't do at all (this machine  is to be a radius server 
 mail server and the default size of /var is too small). I chose 2000M for 
/, 4000M for swap (using 2 x RAM), 200M for /tmp, 20,000M for /usr and the 
remainder for /var.


Next I chose to install full sources, binaries  docs and to install the 
Ports collection.


I chose to install from CD then hit OK to start copying files but I get 
this error:


Unable to find device node for /dev/ad0s1b in /dev. The creation of file 
systems will be aborted.


ad0s1b is my swap partition. I changed the size of swap to 2000M thinking 
perhaps it was too large but I get the same error about unable to find 
device node.


I've googled this but haven't found anything that helped me resolve this. 
Any body on this list know what I need to do to get FreeBSD installed on 
this drive?


Thanks,

Lisa Casey


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


Re: deleting old mails

2007-05-31 Thread Lisa Casey

Hi,

I've used archmbox for a long time on a Sendmail server with no problems at 
all. Dunno if you'll have the same experience with Postfix, but as far as 
I'm concerned, archmbox works very well.


Lisa Casey
jellico.com, Inc.

- Original Message - 
From: Thierry Lacoste

To: freebsd-questions@freebsd.org
Sent: Thursday, May 31, 2007 4:21 PM
Subject: deleting old mails


I'm running a postfix server on FreeBSD 6.1 and I'd like to have
a cronjob which deletes old mails from mboxes in /var/mail.

I tried mail/archivemail but it cannot create it's lock file
in /var/mail because it runs as the user owning the mailbox
on which it operates.

I also tried mail/archmbox but I'm wondering if it is safe
to use it while postfix is running. Quoting the manual:

  A few words about locking. There has been a discussion  about 
archmbox
  handles  file locking. The answer is simple: no mailbox is ever 
locked.
  The reason behind this behavior is that I want archmbox to be as 
least
  invasive  as  possible, so other kind of checks are performed to 
ensure
  that no data is lost (mailbox has changed/mailbox is in use by 
another

  program). I will surely add some locking mechanism in the future.

Any help would be appreciated.

Regards,
Thierry.

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



--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.472 / Virus Database: 269.8.4/825 - Release Date: 5/30/2007 
3:03 PM 


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


Re: Determining daylight savings changes on BSD

2007-02-22 Thread Lisa Casey
Hi,

I just read through this entire thread and I have a couple of questions. I have 
several FreeBSD 5.4 systems. I did the date -r commands as suggested on one of 
these systems and it doesn't appear to switch over to daylight savings time on 
Sunday March 11 at 2 AM. 

I looked in /usr/ports/misc but there isn't a zoneinfo port (on this system). I 
searched a bit and found this:

radius# find / -name zoneinfo -print
/usr/share/zoneinfo
/usr/compat/linux/usr/share/zoneinfo
radius# find / -name tzsetup -print
/usr/sbin/tzsetup

Here's my question. tzsetup seems to already be on this system. I have not used 
it before, so am unfamiliar with it. Can I just run that now and make whatever 
changes are necessary to fix this system so that it recognises daylight savings 
changes? Or am I going to have to download some updated zone files first?  In 
this thread, someone suggested doing the following:

cd /usr/src/share/zoneinfo
fetch ftp://elsie.nci.nih.gov/pub/tzdata2007a.tar.gz
tar -zxvf tzdata2007a.tar.gz
make
make install

cp -f /usr/share/zoneinfo/America/Los_Angeles
/etc/localtime
chmod 444 /etc/localtime

I have attempted that, but when I unzip/untar tzdata2007b.tar.gz (there isn't 
an a file there anymore, just the b one), I get several files but there is 
no target for the make command.

Are there any special considerations any of you might be aware of depending on 
what function my freebsd servers are serving? One does radius authentication 
using Free Radius, another is our web server (Apache2) and primary DNS (Bind 
9), a third is a mail server (Sendmail).

I'm sorry - I'm just kinda confused as to how I ought to handle this issue.

Thanks,

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


Problem with my server

2006-12-28 Thread Lisa Casey

Hi,

I'm running freeradius on FreeBSD 5.3 I noticed a problem in my radius logs 
a little while ago. In my messages log I saw the following:


Dec 28 03:11:42 radius kernel: pid 53251 (cp), uid 0 inumber 8 on /tmp: 
filesystem full
Dec 28 03:11:55 radius kernel: pid 52711 (perl), uid 0 inumber 7 on /tmp: 
filesystem full


I rebooted the system and it seems to be OK now. I am comcerned though 
because I don't really know what might cause /tmp to fill up and what I 
might do to prevent that. I don't know what df showed before the reboot, but 
the /tmp file system is fine now:


Filesystem  1K-blocksUsedAvail Capacity  Mounted on
/dev/ad0s1a253678  124276   10910853%/
devfs   1   10   100%/dev
/dev/ad0s1e253678  22   233362 0%/tmp
/dev/ad0s1f  36493196 2114040 31459702 6%/usr
/dev/ad0s1d396526   47528   31727613%/var
devfs   1   10   100%/var/named/dev

I realise this might be a pretty vague question, but what might cause /tmp 
to get full? This server is used for radius authentication, email for a few 
(~ 50) users and it runs bind as a slave DNS server.


Thanks for any input.

Lisa Casey

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


Moving /var/mail

2006-12-01 Thread Lisa Casey

Hi,

I want to move /var/mail to /usr/var/mail, then symlink /var/mail to 
/usr/var/mail to free up space on my (too small on this machine) /var. Of 
course, I wish to maintain file permissions, ownerships, etc. I decided to 
try a dry run using a user home directory first to make sure this would work 
right. Good thing I did...


I created /usr/kellyw  and attempted to copy the contents of  /home/kellyw/ 
to it. First of all, I tried tar cvpf /usr/kellyw/kellyw.tar /home/kellyw/


When I unpack the tar file, I wind up with /usr/kellyw/home/kellyw/*  Not 
what I wanted. I wanted all of the files in /home/kellyw/ to wind up in 
/usr/kellyw/


So I then tried to just copy the files using cp -p but I can't get the 
syntax right on that:


# cd /home/kellyw
# ls -l
total 16
-rw-r--r--  1 kellyw  kellyw  767 Aug 18 14:52 .cshrc
-rw-r--r--  1 kellyw  kellyw  248 Aug 18 14:52 .login
-rw-r--r--  1 kellyw  kellyw  158 Aug 18 14:52 .login_conf
-rw---  1 kellyw  kellyw  373 Aug 18 14:52 .mail_aliases
-rw-r--r--  1 kellyw  kellyw  331 Aug 18 14:52 .mailrc
-rw-r--r--  1 kellyw  kellyw  797 Aug 18 14:52 .profile
-rw---  1 kellyw  kellyw  276 Aug 18 14:52 .rhosts
-rw-r--r--  1 kellyw  kellyw  975 Aug 18 14:52 .shrc
# cp -p /home/kellyw/* /usr/kellyw/*
cp: No match.
# cp -p /home/kellyw/ /usr/kellyw/
cp: /home/kellyw/ is a directory (not copied).
# cp -p /home/kellyw/*.* /usr/kellyw/*.*
cp: No match.

Can someone help me out with my syntax? The tar method would probably be 
better (I guess) though I don't really care  which method I use as long as 
it works (and preserves permissions, etc.). There are only about 60 
mailboxes on this system.


Thanks,

Lisa Casey

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


Re: Moving /var/mail

2006-12-01 Thread Lisa Casey


Hi Phillip,

I'm a little confused... if you want to move /var/mail to /usr/var/mail 
why are you messing around with /home at all?


As I said - that was a dry run to see if this would work the way I thought 
it would (it didn't). I'ld rather practice with a users home directory that 
isn't important than risk screwing up people's mail boxes.



This is what I would do...

... stop your smtp program
... stop your pop/imap program
tar zcvpf /tmp/varmail.tpgz /var/mail
mkdir -p /usr/var
mv /var/mail /usr/var/mail
ln -s /usr/var/mail /var/mail
... restart your smtp/pop/imap programs...


Thanks. I'll try this tomorrow. On a users home directory first...

Lisa Casey

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


Re: Simple Mailing List with Sendmail

2006-09-09 Thread Lisa Casey
Hi,

Unless you can find a way to keep anyone else from sending mail to this list,  
I don't reccomend doing this.

We tried this several years ago as a way to send an email to all of our ISP 
customers at once and quickly discovered that if one (or more) computer on the 
list had a virus then everyone on the list started receiving virus containing 
email. Now, of course, we stop viruses at the server level before they reach 
the mail boxes but even so, you can see how problems can crop up doing a 
mailing list this way.

There are better ways. Someone mentioned Mailman. Also, do your students pop 
their mail? If so, do you use Qpopper as your POP3 server? If you do, you might 
look at Qpopper's bulletins feature. That is how we solved this problem. 

Lisa Casey
 
  - Original Message - 
  From: P.U.Kruppa 
  To: freebsd-questions@freebsd.org 
  Sent: Saturday, September 09, 2006 7:40 AM
  Subject: Simple Mailing List with Sendmail


  Hi,

  I am experimenting with a simple mailing list setup for some (15 
  - 20) of my students, i.e. I put a line like this

  maths: user1, user2, user3, ..., /var/mail_archive/maths

  into my /etc/mail/aliases . The last entry produces a kind of 
  archive file.

  Does anyone know an - equally simple - method to exclude/block 
  everyone else from using this list? Of course, Sendmail users 
  different from maths shouldn't be affected.

  Thanks and regards,

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


Re: e-mail from cron

2006-08-24 Thread Lisa Casey

Hi All,

Thanks for all of your help. Creating /etc/periodic.conf  with the 
appropriate data did the trick. I appreciate it.


Lisa Casey

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


e-mail from cron

2006-08-23 Thread Lisa Casey

Hi,

This ought to be a fairly simple question, but I've googled and can't really 
find the answer.


I'ld like to have the reports from the system cron jobs (daily run output, 
security run output, weekly run output and monthly run output) sent to an 
e-mail address other than root, but I want all  the postmaster stuff 
(mailer-daemon emails, etc.) to continue going to root (so I don't 
particularly want to just forward root's mail somewhere using the aliases 
file).


In /etc/crontab, I changed this:

# Perform daily/weekly/monthly maintenance.
1   3   *   *   *   rootperiodic daily
15  4   *   *   6   rootperiodic weekly
30  5   1   *   *   rootperiodic monthly
#

to this:

# Perform daily/weekly/monthly maintenance.
1   3   *   *   *   rootperiodic daily  21 | 
sendmail [EMAIL PROTECTED]
15  4   *   *   6   rootperiodic weekly 21 | 
sendmail [EMAIL PROTECTED]
30  5   1   *   *   rootperiodic monthly 21 | 
sendmail [EMAIL PROTECTED]

#

but all I get is a blank email sent to [EMAIL PROTECTED]

What's the best way to accomplish this?

Thanks,

Lisa Casey

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


Tuning FreeBSD

2006-08-19 Thread Lisa Casey
Hi Folksm

I'm getting these on a FreeBSD 5.3 box:

Aug 19 15:46:32 radius sm-mta[12850]: k7JJk1rt012776: SYSERR(UID0): fill_fd:
disconnect: cannot open /dev/null:
 Too many open files in system
Aug 19 15:46:40 radius kernel: kern.maxfiles limit exceeded by uid 0, please
see tuning(7).
Aug 19 15:46:40 radius kernel: kern.maxfiles limit exceeded by uid 0, please
see tuning(7).
Aug 19 15:46:35 radius sm-mta[12784]: k7JJk7F0012784: SYSERR(UID0): queueup:
cannot create queue file ./qfk7JJk
7F0012784, euid=0, fd=-1, fp=0x0: Too many open files in system

I checked, and the system shows:

radius# sysctl kern.maxfiles
kern.maxfiles: 1416
radius# sysctl kern.maxusers
kern.maxusers: 43

I googled and read that kern.maxfiles is dependent upon kern.maxusers and
that I shou;d raise maxusers which I tried to do via sysctl:
radius# sysctl -w kern.maxusers=50
sysctl: oid 'kern.maxusers' is a read only tunable
sysctl: Tunable values are set in /boot/loader.conf

My /boot/loader.conf is a zero byte length file.

How can I fix this too many open files problem?

Thanks,

Lisa Casey

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


Re: Tuning FreeBSD

2006-08-19 Thread Lisa Casey
Thanks. I set kern.maxusers in loader.conf and that seems to have helped. I
hated seeing stuff like that on a weekend!

Lisa Casey

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


rsync on Freebsd 5.3

2006-08-18 Thread Lisa Casey

Hi,

I am trying to transfer all files in /var/mail from one Freebsd 5.3 machine 
(oldfreebsd.com) to another (newfreebsd.com). I decided to use rsync for 
this since it would preserve ownership, permissions, etc. I made sure rsync 
was installed on both machines. Neither machine had an /etc/rsyncd.conf or 
/etc/rsyncd.motd file. On newfreebsd.com I created /etc/rsyncd.conf thusly:


motd file = /etc/rsyncd.motd
max connections = 1
hosts allow = 208.44.xx.xx

(The IP address is that of oldfreebsd.com)

On newfreebsd.com, I created rsyncd.motd with the words Authorized Users 
Only in it.


as a test, I'm just trying to rsync /var/mail/lisa from oldfreebsd.com to 
newfreebsd.com. When that works I'll do all of /var/mail/


on oldfreebsd.com I cd /var/mail, then  type:  rsync lisa 
newfreebsd.com:/var/mail/


and get this:

connect to host newfreebsd.com port 22: Connection refused
rsync: connection unexpectedly closed (0 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(348)

Anyone know what might be wrong? Or can anyone suggest a better way of 
moving these mail boxes?


Thanks,

Lisa Casey


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


Re: Bind problem

2006-07-11 Thread Lisa Casey

Hi,



The installed bind is not in /usr/local/bin that is where the port is
installed.  You might want to do a:
# which bind

and set rc.conf to the right value for the program.

-Derek


At 04:34 PM 7/10/2006, Lisa Casey wrote:


- Original Message - From: Jonathan Chen [EMAIL PROTECTED]
To: Lisa Casey [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Monday, July 10, 2006 3:43 PM
Subject: Re: Bind problem



Did you remember to add:
   named_program=/usr/local/sbin/named
to /etc/rc.conf?


Yes. /etc/rc.conf has the following lines for named:

named_enable=YES
named_program=/usr/local/sbin/named
named_flags=-u bind -g bind -c /etc/namedb/named.conf


Lisa Casey



This actually didn't quite answer the problem, but it did lead me in the 
right direction to solve it.


which bind, of course, doesn't work and which named just gives me the path 
to the named executable as given in /etc.rc.conf  But, this got me to 
thinking so I did a find / -name named -print   And found something 
interesting. I have named executables in both /usr/local/sbin and  /usr/sbin 
So I changed the line in /etc/rc.conf that read: 
named_program=/usr/local/sbin/named  to named_program=/usr/sbin/named 
and rebooted the box.  So far, so good. named -v  gives me BIND 9.3.0 and in 
/var/messages the reboot info shows the same when named loads:


Jul 11 13:40:50 netlink kernel: Mounting root from ufs:/dev/da0s1a
Jul 11 13:40:50 netlink named[293]: starting BIND 9.3.0 -u bind -c 
/etc/namedb/n

amed.conf -t /var/named
Jul 11 13:40:51 netlink named[293]: command channel listening on 
127.0.0.1#953


(It's also picking  up the command channel, so I guess I did that right).

I have one last problem (or at least I hope so!). I maybe ought to ask this 
in a bind newsgroup, but there are enough folks on this list running bind on 
FreeBSD that someone  ought to know. Evidently Bind 9 doesn't like my zone 
files whereas Bind 8 was OK with them. A little background:  My main domain 
name is jellico.comI also host several virtual domains using IP based 
virtual domains in Apache2. So each of my virtual domains has been assigned 
an IP address out of my Class C.   In /etc/namedb/M (the directory where I 
keep my zone files that this  DNS server is master for) I have (among other 
zones) jellico.com.db which is my forward file for the domain and 
26.44.208.in-addr.arpa  which is the reverse zone file for the domain. I 
have always had my virtual domains configured into my forward file 
(jellico.com.db) so as to  enable forward DNS resolution on those. They are 
configured into jellico.com.db like this:


jellico.tn.us.  IN  A   208.44.26.225
multi-226   IN  A   208.44.26.226
multi-227   IN  A   208.44.26.227
multi-228   IN  A   208.44.26.228
multi-229   IN  A   208.44.26.229
multi-230   IN  A   208.44.26.230
tspma.com.  IN  A   208.44.26.231
copperhill.com. IN  A   208.44.26.232
multi-233   IN  A   208.44.26.233
www.jellico.net.IN  A   208.44.26.234
multi-235   IN  A   208.44.26.235
stair-way-to-heaven.com.IN  A   208.44.26.236
multi-237   IN  A   208.44.26.237
kcsvo.com.  IN  A   208.44.26.238
multi-239   IN  A   208.44.26.239
multi-240   IN  A   208.44.26.240
wingsofvictorychurch.org.   IN  A   208.44.26.241
multi-242   IN  A   208.44.26.242
multi-243   IN  A   208.44.26.243

There are a few others, but you get the idea. I have also always had my 
virtual domains setup in my reverse file so as to enable reverse DNS 
resolution on these. This section of my reverse file looks like so:


225 IN  PTR jellico.tn.us.
226 IN  PTR multi-226.jellico.com.
227 IN  PTR multi-227.jellico.com.
228 IN  PTR multi-228.jellico.com.
229 IN  PTR multi-229.jellico.com.
230 IN  PTR multi-230.jellico.com.
231 IN  PTR tspma.com.
232 IN  PTR copperhill.com.
233 IN  PTR multi-233.jellico.com.
234 IN  PTR www.jellico.net.
234 IN  PTR multi-234.jellico.com.
235 IN  PTR multi-235.jellicocom.
236 IN  PTR stairway-to-heaven.com.

Bind 9 is OK with my reverse file, but it doesn't like any entry in my 
forward file that ends in a dot (so as not to append jellico.com to it). 
When I rebooted the box, as soon as the nameserver loads I get these error 
messages in /var/messages:


Jul 11 13:40:51 netlink named[293]: M/jellico.com.db:222: ignoring 
out-of-zone d

ata (mail.campbellcounty.com)
Jul 11 13:40:51 netlink named[293]: M/jellico.com.db:224: ignoring 
out-of-zone d

ata (campbellcounty.com)
Jul 11 13:40:51 netlink named[293]: M/jellico.com.db:522: ignoring 
out-of-zone d

ata (jellico.tn.us)
Jul 11 13:40:51 netlink named[293]: M/jellico.com.db:528: ignoring 
out

Bind problem

2006-07-10 Thread Lisa Casey

Hi All,

I seem to have a bit of a problem with my Bind installation on FreeBSD 5.3. 
When I first setup this box, I installed the Bind 8.4 from the ports. Soon 
afterwards, I decided to go with Bind 9 so I installed that from the ports. 
Now Bind seems to have an identity problem.


When I boot the box I get this in /var/log/messages:

Jul 10 15:05:32 netlink named[292]: starting (/etc/namedb/named.conf). 
named 8.
4.4 Thu Sep 22 14:07:24 EDT 2005 
[EMAIL PROTECTED]:/usr/ports/dns/

bind84/work/src/bin/named
Jul 10 15:05:32 netlink named[292]: limit files set to fdlimit (1024)
Jul 10 15:05:32 netlink named[292]: /etc/namedb/named.conf:104: Ignoring 
BIND 9

inet control clause
Jul 10 15:05:32 netlink named[293]: Ready to answer queries.

When I do a named -v to see which version of Bind is running I get this:

netlink# named -v
BIND 9.3.0


ndc (a Bind 8 program) doesn't work, I get this error:

netlink# ndc
Type   help  -or-   /h   if you need help.
ndc help
(builtin) start - start the server
(builtin) restart - stop server if any, start a new one
ndc: error: ctl_client: evConnect(fd 3): No such file or directory
ndc: error: cannot connect to command channel (/var/run/ndc)

And rndc doesn't work either:

netlink# rndc stop
rndc: connect failed: connection refused
netlink# rndc start
rndc: connect failed: connection refused
netlink# rndc status
rndc: connect failed: connection refused

I'm not exactly sure how I created this mess, but what would be the best way 
to fix this? I really want to be running Bind 9.


Thanks,

Lisa Casey

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


Re: Bind problem

2006-07-10 Thread Lisa Casey


- Original Message - 
From: Jonathan Chen [EMAIL PROTECTED]

To: Lisa Casey [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Monday, July 10, 2006 3:43 PM
Subject: Re: Bind problem



Did you remember to add:

   named_program=/usr/local/sbin/named

to /etc/rc.conf?


Yes. /etc/rc.conf has the following lines for named:

named_enable=YES
named_program=/usr/local/sbin/named
named_flags=-u bind -g bind -c /etc/namedb/named.conf


Lisa Casey

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


Updating ports

2006-03-14 Thread Lisa Casey

Hi Folks,

I might be a bit confused here. If so, I'm sure you'll tell me about it ;-)

I'm running FreeBSD 5.3. I want to update my ports. So I went to the FreeBSD 
handbook and started reading up on how to do that. According to what I read, 
I need to install cvsup then create a supfile. OK, so far so good. I  just 
now installed cvsup-without-gui  (I'm not running any kind of gui - this is 
a server).


I don't want to update my entire system from FreeBSD 5.3 to something else 
then do all the make world stuff (although it would be a good idea for me to 
learn how to do that someday - I just want to update my ports). I got 
started on this because I wanted to install webmin but I noticed that, in my 
ports collection the version of webmin is 1.150 whereas the current webmin 
port at Freshports is version 1.260_2.  I figured it would be a good idea 
just to go ahead and update my ports first before installing webmin so I 
could install the latest version from ports rather than downloading the 
tar.gz  and installing it that way.


Next I need the supfile. I took a look at 
/usr/share/examples/cvsup/standard-supfile (I think that's what I want) but 
that looks like something that is going to upgrade the entire system (as I 
said - probably a good idea but I just don't want to do that now, I just 
want to update my ports).


Can't I just update the ports without updating the entire system? If so, am 
I going about it the right way or am I just plain confused? If I am going 
about it the right way then I think there's something about the supfile that 
I obviously don't understand.


I'ld appreciate it if someone on this list could straighten out my thinking.

Thanks,

Lisa Casey

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


Re: Updating ports

2006-03-14 Thread Lisa Casey



Can't I just update the ports without updating the entire system?


Yes.  Look at /usr/share/examples/cvsup/ports-supfile

You _are_ on the right track, and you can do what you want.


Thanks Bill. Duh, I was looking right at that and didn't see the 
ports-supfile. I'll go take a look now.


Lisa Casey

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


Re: Updating ports

2006-03-14 Thread Lisa Casey

Hi again,

One last question and I think I'll be good to go:

In my ports-supfile, I've changed the host to one that is local to me in the 
USA. Do I need to make any changes to

*default release=cvs tag=.
*default delete use-rel-suffix
Or can I just leave these as the defaults? I understand everything else in 
ports-supfile.


Thanks again,

Lisa Casey

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


Re: Updating ports

2006-03-14 Thread Lisa Casey

Hi,


Nope, you're good to go


It worked. Now I have an updated ports collection and I'm feeling pleased 
with myself :-)


Thanks guys.

Lisa Casey

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


Getting a new server

2006-02-01 Thread Lisa Casey

Hi,

My company (a medium sized ISP) has decided to replace one of our mail 
servers. We need more CPU power, memory, etc. My boss is talking about 
getting 2 good size hard drives with a raid card to mirror these. I was 
planning to install FreeBSD 5.3 (because that's the latest distro I have 
CD's for) unless anyone has a good reason why not.


I'll be installing Sendmail, mimedefang/spamassassin (somewhat CPU 
intensive), bind (for  a caching name server), Qpopper, procmail. We 
currently have 500 - 600 mail accounts on the current server, and plan to 
move these to the new server plus use the new one for growth (I don't know 
how quickly new mail accounts will be added, but say 20 to 50 accounts per 
month.


What would you folks reccomend as far as hardware goes? Hard drive size, CPU 
type,  amount of RAM, etc.?


Thanks for the input.

Lisa Casey

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


Re: Getting a new server

2006-02-01 Thread Lisa Casey

Hi Gabor,



I'd suggest using courier-imap or something else instead of qpopper. 
Afaik, qpopper supports only the mailbox format, which is slower and less 
secure than the maildir format used by modern pop3/imap servers. 
Courier-imap has a pop3 and an imap part, both of them have SSL support 
and are easily configurable. Your company migth benefit from running an 
imap server too. It has a bunch of advantages over pop3, so this might 
make your users feel more appreciated.


I agree you have a pointg here, my main concerns are:

1) I'm used to Sendmail/Qpopper. I'm used to installing these, maintaining 
these and troubleshooting these. I also want changing over the mail server 
to be as seamless as possible for our customers. So I don't really want to 
add a Courier-imap learning curve (for both myself and my customers) right 
on top of things.


2) I also am used to (and kind of like) having all of the mailboxes in one 
location on the system (/var/mail/). How much of a performance hit is there 
in mbox mailboxes vs mdir format mailboxes?


Lisa Casey

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


Re: Question about Bind

2005-09-22 Thread Lisa Casey, Webmaster

Hi,

Thank you all for putting up with me. Everythings working now and both bind 
and apache start on boot up.


Lisa Casey

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


Question about Bind

2005-09-21 Thread Lisa Casey

Hi Folks,

I seem to have basically screwed things up, so maybe I can get some help 
getting straightened out.


For a long time, I ran apache 2 and bind 8.2.5 on FreeBSD 3.2. Granted 3.2 
is old, my server was getting older, so I set up a new box and installed 
FreeBSD 5.3


I did not realise installing FreeBSD would automatically install Bind 9.3. I 
figured if I needed to run bind I'ld have to install it. I didn't want to 
make too many changes at once so I installed bind 8.4 from ports.


Now I  seem to have both bind 8.4 and bind 9.3 installed. Probably not a 
good situation.


What I suppose I ought to do is to uninstall the bind 8.4 and keep the bind 
9.3. How do I do that? I have never worked with ports before (although I 
think I'll like it once I get used to it).


Also - and this is a biggie. named and   apache do not start on bootup and I 
NEED this to happen. I have asked for help on this on this list and on the 
bind usenet group and implemented the syggestions I got but if I reboot the 
box named and apache do not start. I have to start these manually.


My /etc/rc.conf looks like this:


# This file now contains just the overrides from /etc/defaults/rc.conf.
# Please make all changes to this file, not to /etc/defaults/rc.conf.

# Enable network daemons for user convenience.
# Created: Thu Sep 15 14:11:28 2005

# -- sysinstall generated deltas -- # Thu Sep 15 09:29:00 2005
# Created: Thu Sep 15 09:29:00 2005
# 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.
defaultrouter=63.162.128.1
hostname=netlink.jellico.com
ifconfig_fxp0=inet 63.162.128.4  netmask 255.255.254.0
inetd_enable=YES
linux_enable=YES
usbd_enable=YES
apache_enable=YES
named_enable=YES
named_program=/usr/local/sbin/named
named_flags=-u bind -g bind -c /usr/local/etc/named.conf

When I reboot I see this in /var/log/messages:

Sep 21 17:02:00 netlink named[291]: starting (/usr/local/etc/named.conf). 
named
8.4.4 Thu Sep 15 16:42:34 EDT 2005 
[EMAIL PROTECTED]:/usr/ports/dns/

bind84/work/src/bin/named
Sep 21 17:02:00 netlink named[291]: limit files set to fdlimit (1024)
Sep 21 17:02:00 netlink named[291]: can't open '/usr/local/etc/named.conf'
Sep 21 17:02:00 netlink named[291]: can't open '/usr/local/etc/named.conf'

So I log on, start named manually and it starts:

Sep 21 17:02:14 netlink su: lisa to root on /dev/ttyp0
Sep 21 17:02:52 netlink named[495]: starting (/usr/local/etc/named.conf). 
named
8.4.4 Thu Sep 15 16:42:34 EDT 2005 
[EMAIL PROTECTED]:/usr/ports/dns/

bind84/work/src/bin/named
Sep 21 17:02:52 netlink named[495]: limit files set to fdlimit (1024)
Sep 21 17:02:53 netlink named[496]: Ready to answer queries.


What is wrong here? I'm sorry to keep bugging  you guys but I need to get 
this fixed.


Also: I have the Complete FreeBSD third edition, but I don't think it is 
going to be as useful for FreeBSD 5.3 as it was for FreeBSD 3.2. 
Reccomendations for a good book to help me with the 5.3??



Thank you so much,

Lisa Casey

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


Bind not starting on startup on new system

2005-09-20 Thread Lisa Casey

Hi,

I migrated my web server and DNS server from a FreeBSD 3.2 box  to a new 
FreeBSD 5.3 box last week. I think I have most of the kinks worked out but I 
just ran across a biggie.


The old box was running Bind 8.2.x. On the new box I set up Bind 8.4. I'll 
migrate to Bind 9 soon, but not now during this transition.


We shut the system down so we could move it back to our equipment closet. 
When it came back up, named did not start up automatically (I NEED that to 
happen). I looked in /etc/rc.conf on the old 3.2 box and copied the entries 
pertaining to Bind into /etc/rc.conf on the new 5.3 box. These entries in 
rc.conf are:


named_enable=YES
named_program=/usr/sbin/named
named_flags=-u bind -g bind -c /etc/namedb/named.conf

(I adjusted the path in that last line, evidently on 5.3 named.conf is in 
/usr/local/etc). But named still does not restart on a reboot. What needs to 
go into /etc/rc.conf for this to happen?


I looked in /var/log/messages but saw nothing from the reboot. There are 
entries in /var/log/messages from when I manually started it after the 
server booted. It shows this:


Sep 20 17:26:59 netlink named[557]: starting (/usr/local/etc/named.conf). 
named
8.4.4 Thu Sep 15 16:42:34 EDT 2005 
[EMAIL PROTECTED]:/usr/ports/dns/

bind84/work/src/bin/named
Sep 20 17:26:59 netlink named[557]: limit files set to fdlimit (1024)
Sep 20 17:26:59 netlink named[557]: db_load could not open: localhost.rev: 
No su

ch file or directory
Sep 20 17:26:59 netlink named[558]: Ready to answer queries.

Where should localhost.rev be?  On my 3.2 box it is in /etc/namedb and this 
is where I have it on the 5.3 box. It is obviously looking for it elsewhere.


Thanks,

Lisa CAsey



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.0/103 - Release Date: 9/15/2005

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


Re: Bind not starting on startup on new system

2005-09-20 Thread Lisa Casey

Hi Jeff,

- Original Message - 
From: jdyke [EMAIL PROTECTED]

To: Lisa Casey [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Tuesday, September 20, 2005 6:03 PM
Subject: Re: Bind not starting on startup on new system


The only place it should be looking for it is in the path that named.conf 
is pointing to it.  which if its the default is /etc/namedb/master.  Is it 
there, or if not, where is named.conf looking for it.


This seems obvious and i'm sure you've looked, but i hit a very similar 
issue a few days agoand it was pointing to not path, which would be 
/etc/namedb.


Thanks, that solved that problem. I had overlooked the obvious answer. 
named.conf
's default directory is /etc/namedb but I had localhost.rev in /etc/namedb/M 
(which is my master directory). I copied it to /etc/namedb, that should fix 
that.


Appreciate it.

Lisa CAsey



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.0/103 - Release Date: 9/15/2005

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


Re: Can I do this?

2005-09-16 Thread Lisa Casey

Hi Erik (and everyone else who has responded to this thread),

Thanks for all the help. I think switching the boxes will go pretty 
smoothly.


Erik asked:


Regarding your previous questions: Are you installing bind from ports? 
bind9 is in base on 5.x. It has slightly different config syntax.


Yes, I installed bind from the ports. I noticed the ports had bind8, bind84 
and bind9. I thought about going with the 9, but since I'm currently running 
bind 8.2.5,   I decided I'm making enough changes now as it is so I went 
with the bind84 in ports (still an upgrade to what I had, albeit a  minor 
one).


Thanks again,

Lisa Casey



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.0/103 - Release Date: 9/15/2005

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


Can I do this?

2005-09-15 Thread Lisa Casey

Hi,

I want to replace a computer running FreeBSD 3.2 with one running FreeBSD 
5.3. The 3.2 computer is currently used as a web server and a DNS server. I 
have installed FreeBSD 5.3 and am currently adding the Apache2.50 port.


Once I add the Apache web server and Bind, can I then just copy config files 
from the old system to the new one? With Apache: can I copy  httpd.conf from 
the old system to the new then move my htdocs directory to the new system? 
For Bind, could I just copy named.conf  from the old  system to the new then 
copy my zone files over to the new system?


Thanks,

Lisa Casey



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.0/103 - Release Date: 9/15/2005

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


Re: Can I do this?

2005-09-15 Thread Lisa Casey
Hi,

I posted earlier today about setting up a FreeBSD 5.3 box to replace a 3.2
box. I've got the 5.3 set up on a different IP address (for now) and apache
and bind seem to be working OK. All the web sites and DNS zone files are
transferred over. Tomorrow I need to change the IP address of this box to
the IP that the 3.2 box is currently on, remove the 3.2 box from the network
and make sure the new one actually does OK in production.

What's the quickest  easiest way to change the IP address on the new 5.3
box? Should I do it via /stand/sysinstall or should I change it in
/etc/rc.conf and /etc/hosts (or do I need to do something with ifconfig -
which I'm least comfortable with).

Thanks,

Lisa Casey

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


Make kernel fails

2005-09-14 Thread Lisa Casey
Hi,

I'm running FreeBSD 3.2 on this particular box (yes, I know it's old, I know I 
should be running 4.x or 5.x but  that's beside the point). I'm rebuilding my 
kernel to include pseudo-device vn support. I modified the GENERIC kernel, 
config ran OK, make depend ran OK but make stops with this:

make: don't know how to make ../../sys/param.h. Stop

My kernel configuration is below. By the way - any other comments on what I 
might have wrong here or how I might improve this kernel any are welcome - I 
haven't rebuilt a kernel in a number of years so I feel a bit rusty here.

Thanks,

Lisa Casey


#
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
#
# JELLICO kernel built 9/14/05 with vn support (Vnode driver)
#
# For more information read the handbook part System Administration -
# Configuring the FreeBSD Kernel - The Configuration File.
# The handbook is available in /usr/share/doc/handbook or online as
# latest version from the FreeBSD World Wide Web server
# URL:http://www.FreeBSD.ORG/
#
# An exhaustive list of options and more detailed explanations of the
# device lines is present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
#   $Id: GENERIC,v 1.143.2.12 1999/05/14 15:12:26 jkh Exp $

machine i386
# cpu   I386_CPU
# cpu   I486_CPU
cpu I586_CPU
# cpu   I686_CPU
ident   JELLICO
maxusers48

options MATH_EMULATE#Support for x87 emulation
options INET#InterNETworking
options FFS #Berkeley Fast Filesystem
options FFS_ROOT#FFS usable as root device [keep this!]
options MFS #Memory Filesystem
options MFS_ROOT#MFS usable as root device, MFS req'ed
options NFS #Network Filesystem
options NFS_ROOT#NFS usable as root device, NFS req'ed
options MSDOSFS #MSDOS Filesystem
options CD9660#ISO 9660 Filesystem
options CD9660_ROOT   #CD-ROM usable as root. CD9660 req'ed
options PROCFS  #Process filesystem
options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]
options SCSI_DELAY=15000#Be pessimistic about Joe SCSI device
options UCONSOLE#Allow users to grab the console
options FAILSAFE#Be conservative
options USERCONFIG  #boot -c editor
options VISUAL_USERCONFIG   #visual boot -c editor

config  kernel  root on wd0
# To make an SMP kernel, the next two are needed
#optionsSMP # Symmetric MultiProcessor Kernel
#optionsAPIC_IO # Symmetric (APIC) I/O
# Optionally these may need tweaked, (defaults shown):
#optionsNCPU=2  # number of CPUs
#optionsNBUS=4  # number of busses
#optionsNAPIC=1 # number of IO APICs
#optionsNINTR=24# number of INTs

controller  isa0
controller  pnp0
controller  eisa0
controller  pci0

controller  fdc0at isa? port IO_FD1 bio irq 6 drq 2
diskfd0 at fdc0 drive 0
diskfd1 at fdc0 drive 1

options CMD640# work around CMD640 chip deficiency
controller  wdc0at isa? port IO_WD1 bio irq 14
diskwd0 at wdc0 drive 0
diskwd1 at wdc0 drive 1
controller  wdc1at isa? port IO_WD2 bio irq 15
diskwd2 at wdc1 drive 0
diskwd3 at wdc1 drive 1

options ATAPI   #Enable ATAPI support for IDE bus
options ATAPI_STATIC#Don't do it as an LKM
device  acd0#IDE CD-ROM
device  wfd0#IDE Floppy (e.g. LS-120)

# A single entry for any of these controllers (ncr, ahb, ahc) is
# sufficient for any number of installed devices.
# controllerncr0
# controllerahb0
# controllerahc0
# controllerisp0

# This controller offers a number of configuration options, too many to
# document here  - see the LINT file in this directory and look up the
# dpt0 entry there for much fuller documentation on this.
controller  dpt0

# controlleradv0at isa? port ? cam irq ?
controller  adw0
# controllerbt0 at isa? port ? cam irq ?
# controlleraha0at isa? port ? cam irq ?

# controllerscbus0

# deviceda0

# devicesa0

# devicepass0

# devicecd0 #Only need one of these, the code dynamically gr
ows

# devicewt0 at isa? port 0x300 bio irq 5 drq 1
# devicemcd0at isa? port 0x300 bio irq 10

# controllermatcd0  at isa? port 0x230 bio

# devicescd0at isa? port 0x230 bio

Re: Web forum tools -recomendations please

2005-08-29 Thread Lisa Casey

  - Original Message - 
  From: Vizion 
  To: freebsd-questions@freebsd.org 
  Sent: Monday, August 29, 2005 12:01 PM
  Subject: Web forum tools -recomendations please


  Hi

  I need to install a community forum system running in a apache/freebsd 
  environment. Any software suggestions  ideas and or experiences to share?

  All contributions appreciated


  I like YABB (yet another bulletin board). Easy to install and setup, it's in 
widespread use and there's support available.

  Lisa Casey
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.16/83 - Release Date: 8/26/2005
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Sendmail relaying from network

2005-08-10 Thread Lisa Casey
Hi,

  I have three computers networked together - one Freebsd 5.4 and two
  WinXP boxes.

  I cannot get Sendmail to relay messages from the two WinXP boxes. I
  continue to receive an error message that relaying is not allowed. The
  only way I can get it to work is to use the FEATURE(`promiscuous_relay')
  directive. That is risky, and therefore I do not want to use it.

  The two WinXP boxes are 192.168.0.3 and 192.168.0.2 respectively. The
  FreeBSD box is names 'ges.seibercom.net' and the main WinXP box is
  'gerard.seibercom.net'. What sort of directive should I be using to
  allow the WinXP box to send mail through Sendmail and still have a
  secure system?   



  Add the IP addresses of the WinXP boxes to /etc/mail/relay-domains

  See http://www.sendmail.org/faq/section3.html#3.27 in the Sendmail FAQ

  Lisa Casey
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.4/66 - Release Date: 8/9/2005
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: ftpchroot

2005-06-03 Thread Lisa Casey


- Original Message - 
From: Denny Jodeit [EMAIL PROTECTED]

To: freebsd-questions@freebsd.org
Sent: Friday, June 03, 2005 3:40 PM
Subject: ftpchroot



Hello,

I'm trying to restrict an ftp user to a particular directory. I've
written an ftpchroot file, as follows:

Username  /var/spool/ftp/ ./Username/photos


After I write the file and restart inetd, I am not able to login to ftp
with this user account at all.
I have RTFM and evidently don't get it...

Thanks in advance for any and all suggestions.

Denny



Maybe  you're trying to do something more complicated than I am, but I have 
ftpchroot  working. My /etc/ftpchroot file just consists of a list of 
usernames, one per line. This effectively restricts the ftp user to his/her 
home directory on the server (the home directory, of course, is owned by the 
user in question).  On your system does the user own the directory you are 
trying to ftpchroot him in? Perhaps that is a requirement...


Lisa Casey



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.5.2 - Release Date: 6/3/2005

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


moving /var/mail to another machine

2005-05-24 Thread Lisa Casey

Hi,

I want to move all of the mailboxes (all of /var/mail/*) on one machine to 
another one across a network. I need to preserve permissions, uid's and 
gud's. (It would probably be good to preserve modification times as well). I 
can move a file using scp, but it doesn't preserve uid/gid


I found this page:  http://www.unixguide.net/ibm/faq/faq1.604.shtml  which 
says I can do either:


$rsh RemoteHost cd TargetDir; tar -cBf - . | tar -xvBf -

or

rcp -rp host1:/dir host2:/dir

I'm trying it using a users home directory first just to make sure I can get 
this right, but so far I'm not having much luck.


Could someone here suggest the best way for me to move these mailboxes (and 
perhaps help me out a little with the actual syntax of the command I would 
use)?


I realise that there will be a problem with mailboxes that don't have 
usernames on the remote system (the system I'm copying the mailboxes to) but 
most of the users currently exist on the remote system, it will be easy 
enough to do a adduser to add in those that aren't already on there.


I hope I'm explaining myself clearly here, it's been a long day already  :-)

Thanks,

Lisa





--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.322 / Virus Database: 266.11.16 - Release Date: 5/24/2005

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


Migrating to a newer version of FreeBSD

2005-05-13 Thread Lisa Casey
Hi Folks,
I have had a Redhat box that was running my radius authentication and 
sendmail. Several weeks ago the hard drive in this box crashed. Naturally 
:-(  I didn't have a backup. This created an emergency - my users could not 
get authenticated and could not get email. I didn't have time to solve this 
problem nicely, so this is what I did.

I had another computer that I had installed FreeBSD 4.6 on some time ago but 
wasn't using for anything. So I hastily installed a radius server, sendmail 
and qpopper on it. Fortunately I had a copy of my radius users file, but we 
had to recreate all of the users on the box  for mail.

Right now my problems are:
1) The version of FreeBSD is just too old. The ports are old and I just 
cannot seem to just download newer ports and install them.

2) The hard drive on this box is too small. I never intended to use it as a 
mail server wehen I set it up, so my var is just way too small.

I have a new large hard drive  I purchased. I intended to install this drive 
as a slave drive in this box and copy everything over to it using dump  
restore following the procedure at: 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NEW-HUGE-DISK

I need to think about this and do it right this time. Doing things in a 
hurry on an emergency basis just causes grief. I don't want to keep the 
FreeBSD 4.6 for obvious reasons. I'm pretty sure I cannot install a 5 
version of FreeBSD on the new drive then dump/restore things over to it.

So here's what I was thinking about doing  I just ordered a copy of FreeBSD 
5.3  I can install the 5.3 on the new drive and get radius authentication 
working on that one quickly and easily. The email is going to be more of a 
problem since users currently have mail in their mail boxes on the 4.6 box 
and, of course, new mail comes in all the time. I can go ahead and get 
Sendmail and Qpopper set up on this new 5.3 box.  What do you think will be 
the best way to migrate the mailboxes over to it so as to cause our users as 
little grief as possible? Since that old redhat drive crashed our users have 
experienced a fair amount of problems and I'ld like to minimize that as much 
as I can on this new transition.

Thanks,
Lisa Casey

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.9 - Release Date: 5/12/2005
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


kernel: file: table is full

2005-05-11 Thread Lisa Casey
Hi,

I am getting this error message ( /kernel: file: table is full) on my
FreeBSD 4.6 box just before the system seems to freeze or lock up.

I googled it then went to the handbook and read that I need to tune
kern.maxfiles in my kernel. My question is:  Is this something I can adjust
using /etc/sysctl.conf? If so (and I think I can) what is the syntax I would
use (I have not had a need to mess with sysctl.conf before).

I am using the generic kernel. How can I know what the value of maxfiles is
currently in my generic kernel and how high might I want to raise it?

Thanks,

Lisa




-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.6 - Release Date: 5/6/2005

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


Re: [Mimedefang] Installing on FreeBSD

2005-05-03 Thread Lisa Casey
Hi,
Ok but this basically sucks. I'm sure I should be installing from ports. But 
I don't seem to be able to do that, and I do know how to install source 
files.

When I try  to do a pkg_add to install the mimedefang  port that I've 
downloaded from freebsd.org, I get this:

radius# pkg_add -r mimedefang.tar.gz
Error: FTP Unable to get 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4
-stable/Latest/mimedefang.tar.gz.tgz: File unavailable (e.g., file not 
found, no
access)
pkg_add: unable to fetch 
`ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-
4-stable/Latest/mimedefang.tar.gz.tgz' by URL

So I moved the tarball over to /usr/ports/distfiles, extracted it and ran 
make. That resulted in:

radius# more distinfo
MD5 (mimedefang-2.51.tar.gz) = 9c4df4ec349e414f893c940ff563bea5
SIZE (mimedefang-2.51.tar.gz) = 302006
radius# make
Makefile, line 53: Malformed conditional (${PERL_LEVEL}  500601)
Makefile, line 53: Need an operator
Makefile, line 55: if-less endif
Makefile, line 55: Need an operator
make: fatal errors encountered -- cannot continue
At this rate it'll be forever before I get mimedefang installed and in the 
meantime I have customers upset because they are receiving unacceptable 
levels of spam. Surely someone can help me out with installing mimedefang 
from source and getting this sendmail stuff I have questions about working.

Of course, if someone  wants to tell me what I'm doing wrong in trying to 
install this as a package and howe to do it right, that would be OK too :-)

I'm going to CC  this to the FreeBSD list in case someone on that list might 
be able to help.

Thanks,
Lisa Casey

- Original Message - 
From: ADNET Ghislain [EMAIL PROTECTED]
To: mimedefang@lists.roaringpenguin.com
Sent: Monday, May 02, 2005 6:28 PM
Subject: Re: [Mimedefang] Installing on FreeBSD


Lisa Casey wrote:
 Hi,

 I need to install Mimedefang on a FreeBSD 4.6 system as the Redhat
 system I was running my mail server on crashed. I've  upgraded perl to
 5.8.6 (it was 5.001 or something like that) and installed the
 necessary perl modules for mimedefang. I have a couple of questions
 though about installing on FreeBSD (this is different from the way my
 Red Hat system was).

 I have Sendmail 8.13 on here. According to the Mimedefang instructions
 I need to make sure I have a queue runner. Does anyone know if
 Sendmail 8.13 will do this automatically? In the mimedefang
 instructions I was reading it said to do this by adding sendmail -Ac
 -qp5m to the init script for Sendmail. On my Red Hat system this was
 in /etc/init.d. I can't find where I should specify this on FreeBSD.

 When I installed my radius server on this FreeBSD system, I put the
 init script for it in /usr/local/etc/rc.d (there's  no sendmail script
 therre). Is this where I should put my mimedefang init script? How
 will I know if this stops  starts mimedefang at the right times? I
 believe mimedefang should start up after Sendmail does and should be
 stopped before Sendmail is.

 Thanks,

 Lisa Casey




Hi lisa,
  You should use the port system to install it on freeBSD, think of it
like the rpm for redhat... :)
regards,
Ghislain.
--
AQUEOS - Service Informatique
1, Rue Albert Einstein
77420 Champs sur marne
Service technique :  [EMAIL PROTECTED]
Service commercial :  [EMAIL PROTECTED]
Tel : 06.63.79.27.38 /  01.64.02.99.37
___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
MIMEDefang@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.0 - Release Date: 4/29/2005

--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.2 - Release Date: 5/2/2005


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.2 - Release Date: 5/2/2005
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Moving /var

2005-04-29 Thread Lisa Casey
Hi,

I could have sworn I've seen some info on moving var onto it's own hard
drive but I vcan't  seem to find it now.

Would anyone happen to know a url?

Thanks,

Lisa




-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.10.3 - Release Date: 4/25/2005

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


Need help with a swap file

2005-04-27 Thread Lisa Casey
Hi,

I think I screwed up. Perhaps someone here can help me. I need more swap
space on my FreeBSD 4.6 box. I followed the directions at
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/adding-swap-space.html
for Creating a swapfile for FreeBSD 4.X.  The example given in the
handbook was for a 64 MG swapfile. I wanted to create a 200 MG swapfile. So
for the command in the example that says:
# dd if=/dev/zero of=/usr/swap0 bs=1024k count=64
I typed instead:
# dd if=/dev/zero of=/usr/swap0 bs=1024k count=200

I put  the swap file info in  rc.conf:

swapfile=/usr/swap0 # aux swapfile

and enabled the swap file (as per the directions) by typing
# vnconfig -e /dev/vn0b /usr/swap0 swap

Before I created the new swapfile, swapinfo gave me this information:

Device 1K-blocks   UsedAvail  Capacity  Type
/dev/ad0s1b   115296   11588   103708 10%   Interleaved

Now swapinfo gives me this:

Device  1K-blocks UsedAvail Capacity  Type
/dev/ad0s1b115296 8136   107160 7%Interleaved
/dev/rvn0b 720   72 0%Interleaved
Total  115368 8136   107232 7%

When I look at the size of the swap0 file I created in /usr, it is not the
200 MG I thought I was getting:

-rw---1 root  wheel  204800 Apr 27 15:58 swap0

How can I undo this and redo it? What do I need to do to do it RIGHT this
time??

Thanks,

Lisa Casey





-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.10.3 - Release Date: 4/25/2005

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