Re: log file rotation

2006-01-23 Thread Jason King
That was the problem. I fixed the $T00 to @T00 and it works like a charm
now. I don't know how that got in there to begin with. It has been
working fine. Anyway, thanks and cheers.

Jason

On Tue, 2006-01-17 at 15:15 -0500, Garance A Drosehn wrote:
 At 9:23 AM -0600 1/17/06, Jason King wrote:
 
 On Tue, 2006-01-17 at 09:16 -0600, David Kelly wrote:
   On Tue, Jan 17, 2006 at 07:23:25AM -0600, Jason King wrote:
Hmm, when I run newsyslog I get the following message:
   
[EMAIL PROTECTED] newsyslog -vv
newsyslog: malformed 'at' value:
 /var/log/clamd.log  640  3 *$T00
BJ /var/run/clamd.pid  1
   
   
Any ideas?
 
Use @T00 rather than $T00
 
 It is already @T00. I don't know why it appears as a $ in the email.
 Just did a copy paste. Go figure on that one. Any other thoughts?
 
 If newsyslog is saying that's a bad 'at' value, then there is
 *something* wrong with that line.  Maybe there's some non-printing
 character in it, which might be why we see $T00 instead of @T00.
 But as long as newsyslog thinks there is something wrong with the
 'at' value on that line, then it will not rotate the files.  Maybe
 you have multiple lines for the same logfile, one with $T00 and
 one with @T00.
 
 Also, you don't need to specify the '1' at the end, since that is
 just SIGHUP, and newsyslog defaults to using SIGHUP unless you give
 it some other value.  Including the '1' should not cause any problem,
 though.
 

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


Re: log file rotation

2006-01-17 Thread Jason King
The only thing that was different was on my maillog line the end of the
line had only J instead of JC. I'll add that and see if that makes any
difference.

Thanks,
Jason

On Mon, 2006-01-16 at 13:27 -0800, Dan O'Connor wrote:
  My maillog and daillog files have stopped rotating everyday like they
  use to. I have 2 FBSD machines that have stopped these files from
  rotating as of Dec 15th. I have no idea what could have caused two
  different machines to have the same thing happen to them. The entry in
  my newsyslog.conf file is correct. There is no reason these files
  shouldn't be rotating daily like before. Anyone have any ideas on what
  to look for?
 
 Only thing I can think of is to check /etc/newsyslog.conf and make sure 
 the lines
 
 /var/log/daily.log  640  7 *@T00  JN
 /var/log/maillog640  7 *@T00  JC
 
 are still there.
 
 ~Dan
 
 

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


Re: New FreeBSD 6.0 system advice sought

2006-01-17 Thread Jason King
I would stay with the apache 1.3 branch because of some compatibility
issues with the 2.0 branch. I would certainly move to at least the v4
branch of MySQL. I haven't tried any of my webapps with v5 yet because
of some strange SQL errors I was getting while installing one of them
with MySQL v5. It doesn't matter what order you install them in.

Jason

On Mon, 2006-01-16 at 23:39 -0500, JD Arnold wrote:
 So, I'm building a replacement 6.0 system from the bare metal, moving
 over my 4.11 server data after I'm done.  I've started from a minimal 
 installation, and I'm looking for some input.
 
 1] Apache - do I stay with 1.3 or move on up to the 2.x branch?
 
 2] MySQL - do I stay with the 3.x (!), or move to the v4 or v5 branch?
 
 3] What would be the best order to do the installation, or does it matter?
 
 * Apache
 * MySQL
 * mod_php5
 
 I'm really just running it as a web server, with php  MySQL support and
 not much else.
 

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


Re: log file rotation

2006-01-17 Thread Jason King
Hmm, when I run newsyslog I get the following message:

[EMAIL PROTECTED] newsyslog -vv
newsyslog: malformed 'at' value:
/var/log/clamd.log  640  3 *$T00
BJ /var/run/clamd.pid  1


Any ideas?

On Mon, 2006-01-16 at 15:48 -0600, David Kelly wrote:
 On Mon, Jan 16, 2006 at 02:50:16PM -0600, Jason King wrote:
  My maillog and daillog files have stopped rotating everyday like they
  use to. I have 2 FBSD machines that have stopped these files from
  rotating as of Dec 15th. I have no idea what could have caused two
  different machines to have the same thing happen to them. The entry in
  my newsyslog.conf file is correct. There is no reason these files
  shouldn't be rotating daily like before. Anyone have any ideas on what
  to look for?
 
 Try running newsyslog manually. If that works then its supposed to be
 run every hour on the hour out of /etc/crontab.
 

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


Re: log file rotation

2006-01-17 Thread Jason King
It is already @T00. I don't know why it appears as a $ in the email.
Just did a copy paste. Go figure on that one. Any other thoughts?

On Tue, 2006-01-17 at 09:16 -0600, David Kelly wrote:
 On Tue, Jan 17, 2006 at 07:23:25AM -0600, Jason King wrote:
  Hmm, when I run newsyslog I get the following message:
  
  [EMAIL PROTECTED] newsyslog -vv
  newsyslog: malformed 'at' value:
  /var/log/clamd.log  640  3 *$T00
  BJ /var/run/clamd.pid  1
  
  
  Any ideas?
 
 Use @T00 rather than $T00
 

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


log file rotation

2006-01-16 Thread Jason King
My maillog and daillog files have stopped rotating everyday like they
use to. I have 2 FBSD machines that have stopped these files from
rotating as of Dec 15th. I have no idea what could have caused two
different machines to have the same thing happen to them. The entry in
my newsyslog.conf file is correct. There is no reason these files
shouldn't be rotating daily like before. Anyone have any ideas on what
to look for?

Thanks

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


Software RAID1

2005-09-15 Thread Jason King
I am having trouble with THESE instructions:
http://people.freebsd.org/~rse/mirror/

I'm trying to create a RAID1 system with FreeBSD and the instructions
are not working. I'm getting this error:

mail# gmirror insert gm0 /dev/da0
Cannot access provider da0.

The command is trying to add the first disk /dev/da0 to the mirror gm0.
Has anyone else had success at creating a RAID1 mirror on FreeBSD. If
so, please let me know how you did it because these instructions are not
working at all.

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


Re: Software RAID1

2005-09-15 Thread Jason King
The instructions say to use ad0 and ad1 as the /dev names but those
devices don't exist on my server. The device names are da0 and da1. I'd
be glad to post anything you wish, but I don't know what the dmesg is,
or how I get it. Can you tell me where I can get that information?

Jason
 
Andrea Venturoli wrote:

 Jason King wrote:

 I am having trouble with THESE instructions:
 http://people.freebsd.org/~rse/mirror/

 I'm trying to create a RAID1 system with FreeBSD and the instructions
 are not working. I'm getting this error:

 mail# gmirror insert gm0 /dev/da0
 Cannot access provider da0.

 The command is trying to add the first disk /dev/da0 to the mirror gm0.
 Has anyone else had success at creating a RAID1 mirror on FreeBSD. If
 so, please let me know how you did it because these instructions are not
 working at all.


 I used that tutorial on different machines and it has always worked.
 Maybe you have to substitute da0 with something else, that depends on
 your hardware. Can you provide a your dmesg at boot time?

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

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


Re: Software RAID1

2005-09-15 Thread Jason King
So can I assume that these instructions will work with any device? I
realized that I didn't double check this:

especially in the
line for the boot loader where ad(1,a) -- da(1,a).

I didn't double check that. I'll follow through the instructions again
and make the correct change this time and we'll see what happens. I
don't have a problem until I have to reboot. That is when the
instructions want you to dd the first disk then add the first disk to
the gm0 mirror. Both commands give me errors. THe dd command right after
reboot gives command not allowed. And the gmirror add command give
can't access provider. I'll try again and let the list know what happens.

Jason

Jerry McAllister wrote:

The instructions say to use ad0 and ad1 as the /dev names but those
devices don't exist on my server. The device names are da0 and da1. I'd
be glad to post anything you wish, but I don't know what the dmesg is,
or how I get it. Can you tell me where I can get that information?



ado, ad1adnn are IDE devices.   da0, da1dann are SCSI devices.
Use whichever you have.

jerry

  

Jason
 
Andrea Venturoli wrote:



Jason King wrote:

  

I am having trouble with THESE instructions:
http://people.freebsd.org/~rse/mirror/

I'm trying to create a RAID1 system with FreeBSD and the instructions
are not working. I'm getting this error:

mail# gmirror insert gm0 /dev/da0
Cannot access provider da0.

The command is trying to add the first disk /dev/da0 to the mirror gm0.
Has anyone else had success at creating a RAID1 mirror on FreeBSD. If
so, please let me know how you did it because these instructions are not
working at all.


I used that tutorial on different machines and it has always worked.
Maybe you have to substitute da0 with something else, that depends on
your hardware. Can you provide a your dmesg at boot time?

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

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




  

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


Re: Software RAID1

2005-09-15 Thread Jason King
Ok, I made the correction and I'm still getting these errors:

mail# dd if=/dev/zero of=/dev/da0 bs=512 count=79
dd: /dev/da0: Operation not permitted
mail# gmirror configure -a gm0
mail# gmirror insert gm0 /dev/da0
Cannot access provider da0.

You can see from the above what section I am working on. It doesn't make
sense to me. I'm following the instructions verbatim. I only created one
slice and one partition. Any other ideas?

Jason

Jerry McAllister wrote:

The instructions say to use ad0 and ad1 as the /dev names but those
devices don't exist on my server. The device names are da0 and da1. I'd
be glad to post anything you wish, but I don't know what the dmesg is,
or how I get it. Can you tell me where I can get that information?



ado, ad1adnn are IDE devices.   da0, da1dann are SCSI devices.
Use whichever you have.

jerry

  

Jason
 
Andrea Venturoli wrote:



Jason King wrote:

  

I am having trouble with THESE instructions:
http://people.freebsd.org/~rse/mirror/

I'm trying to create a RAID1 system with FreeBSD and the instructions
are not working. I'm getting this error:

mail# gmirror insert gm0 /dev/da0
Cannot access provider da0.

The command is trying to add the first disk /dev/da0 to the mirror gm0.
Has anyone else had success at creating a RAID1 mirror on FreeBSD. If
so, please let me know how you did it because these instructions are not
working at all.


I used that tutorial on different machines and it has always worked.
Maybe you have to substitute da0 with something else, that depends on
your hardware. Can you provide a your dmesg at boot time?

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

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




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

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


Re: Software RAID1

2005-09-15 Thread Jason King
 
inet6 ::1 prefixlen 128 
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 
add net default: gateway 192.168.1.1
Additional routing options:
.
Starting devd.
Mounting NFS file systems:
.
Starting syslogd.
NFS access cache time=2
ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib
a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout
Starting usbd.
Starting local daemons:
.
Updating motd
.
Configuring syscons:
 blanktime
.
Starting sshd.
Initial i386 initialization:
.
Additional ABI support:
 linux
.
Starting cron.
Local package initialization:
.
Additional TCP options:
.
Starting background file system checks in 60 seconds.

Wed Sep 14 14:02:41 EDT 2005
Sep 14 14:03:03 mail su: jking to root on /dev/ttyp0



Andrea Venturoli wrote:

 Jason King wrote:

 I am having trouble with THESE instructions:
 http://people.freebsd.org/~rse/mirror/

 I'm trying to create a RAID1 system with FreeBSD and the instructions
 are not working. I'm getting this error:

 mail# gmirror insert gm0 /dev/da0
 Cannot access provider da0.

 The command is trying to add the first disk /dev/da0 to the mirror gm0.
 Has anyone else had success at creating a RAID1 mirror on FreeBSD. If
 so, please let me know how you did it because these instructions are not
 working at all.


 I used that tutorial on different machines and it has always worked.
 Maybe you have to substitute da0 with something else, that depends on
 your hardware. Can you provide a your dmesg at boot time?

  bye
 av.

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


Re: Software RAID1

2005-09-15 Thread Jason King
Also, I noticed that this command:

sed -e 's/dev\/ad0/dev\/mirror\/gm0/g' /mnt/etc/fstab.orig /mnt/etc/fstab

Doesn't seem to do anything to the fstab file on the second disk. Isn't it 
suppose to be changing something?

Jason



Jerry McAllister wrote:

The instructions say to use ad0 and ad1 as the /dev names but those
devices don't exist on my server. The device names are da0 and da1. I'd
be glad to post anything you wish, but I don't know what the dmesg is,
or how I get it. Can you tell me where I can get that information?



ado, ad1adnn are IDE devices.   da0, da1dann are SCSI devices.
Use whichever you have.

jerry

  

Jason
 
Andrea Venturoli wrote:



Jason King wrote:

  

I am having trouble with THESE instructions:
http://people.freebsd.org/~rse/mirror/

I'm trying to create a RAID1 system with FreeBSD and the instructions
are not working. I'm getting this error:

mail# gmirror insert gm0 /dev/da0
Cannot access provider da0.

The command is trying to add the first disk /dev/da0 to the mirror gm0.
Has anyone else had success at creating a RAID1 mirror on FreeBSD. If
so, please let me know how you did it because these instructions are not
working at all.


I used that tutorial on different machines and it has always worked.
Maybe you have to substitute da0 with something else, that depends on
your hardware. Can you provide a your dmesg at boot time?

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

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




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

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


Re: Software RAID1

2005-09-15 Thread Jason King
Appoligies:

Waiting 15 seconds for SCSI devices to settle
da0 at ahc0 bus 0 target 3 lun 0
da0: QUANTUM ATLAS10K3_36_SCA 020W Fixed Direct Access SCSI-3 device 
da0: 160.000MB/s transfers (80.000MHz, offset 127, 16bit), Tagged Queueing 
Enabled
da0: 35074MB (71833096 512 byte sectors: 255H 63S/T 4471C)
da1 at ahc0 bus 0 target 4 lun 0
da1: QUANTUM ATLAS10K3_36_SCA 020W Fixed Direct Access SCSI-3 device 
da1: 160.000MB/s transfers (80.000MHz, offset 127, 16bit), Tagged Queueing 
Enabled
da1: 35074MB (71833096 512 byte sectors: 255H 63S/T 4471C)
GEOM_MIRROR: Device gm0 created (id=2346568249).
GEOM_MIRROR: Device gm0: provider da1 detected.
GEOM_MIRROR: Device gm0: provider da1 activated.
GEOM_MIRROR: Device gm0: provider mirror/gm0 launched.
Mounting root from ufs:/dev/da0s1a



Gayn Winters wrote:

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Jason King
Sent: Thursday, September 15, 2005 10:27 AM
To: Jerry McAllister
Cc: Andrea Venturoli; freebsd-questions@freebsd.org
Subject: Re: Software RAID1


Ok, I made the correction and I'm still getting these errors:

mail# dd if=/dev/zero of=/dev/da0 bs=512 count=79
dd: /dev/da0: Operation not permitted
mail# gmirror configure -a gm0
mail# gmirror insert gm0 /dev/da0
Cannot access provider da0.

You can see from the above what section I am working on. It 
doesn't make
sense to me. I'm following the instructions verbatim. I only 
created one
slice and one partition. Any other ideas?

Jason



Please post the relevant portions of dmesg so that we can see what
hardware (disks and controllers) you've got.

-gayn


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

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


Re: Software RAID1

2005-09-15 Thread Jason King
Man I'm a moron. That sed command was what was screwing me up. I
couldn't see the ad0 until you pointed it out. Thanks so much. I think
that's got it...the synchronization is going onright now.

Jason

Gayn Winters wrote:

  

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Jason King
Sent: Thursday, September 15, 2005 10:37 AM
To: Jerry McAllister
Cc: Andrea Venturoli; freebsd-questions@freebsd.org
Subject: Re: Software RAID1


Also, I noticed that this command:

sed -e 's/dev\/ad0/dev\/mirror\/gm0/g' /mnt/etc/fstab.orig 


/mnt/etc/fstab
  

Doesn't seem to do anything to the fstab file on the second 
disk. Isn't it suppose to be changing something?

Jason




Yes, and you need to replace ad0 -- da0

-gayn


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

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


ftp server

2005-05-17 Thread Jason King
I am unable to get access to the ftp.freebsd.org server. Is it down?

Jason King

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


FTP

2005-05-17 Thread Jason King
Actually, I can get onto the ftp.freebsd.org sitemy pkg_add command 
says this:

Error: FTP Unable to get 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.3-release/Latest/apache13.tbz: 
File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.3-release/Latest/apache13.tbz' 
by URL

Do you know what that means?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]