Re: disk drive serial number

2007-11-11 Thread David N
On 12/11/2007, Jonathan Horne <[EMAIL PROTECTED]> wrote:
> is there a way to get the serial number from a drive from within the OS?  im
> trying to audit the drives in my file server, but without pulling the thing
> from the rack and cracking it open.  they are just standard sata drives, not
> on any sort of raid controller (ie, i know 3ware cards are capable of pulling
> the drive info).
>
> thanks,
> --
> Jonathan Horne
> http://dfwlpiki.dfwlp.org
> [EMAIL PROTECTED]
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>


Check out smartmonstools in /usr/ports/sysutils/smartmontools
then smartctl -a /dev/ads4 (or what ever your drive is)

=== START OF INFORMATION SECTION ===
Model Family: Seagate Barracuda 7200.7 and 7200.7 Plus family
Device Model: ST3160827AS
Serial Number:
Firmware Version: 3.42
User Capacity:160,041,885,696 bytes
Device is:In smartctl database [for details use: -P show]
ATA Version is:   6
ATA Standard is:  ATA/ATAPI-6 T13 1410D revision 2
Local Time is:Mon Nov 12 10:48:30 2007 EST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===


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


Daily report cannot be emailed to a jailed mail server

2009-10-07 Thread David N
Hi,

FreeBSD 7.2-R box with 10 jails.

The mail server (actually its a mail filter) is hosted on the same
server inside a jail.

I can't seem to get the main server reports to be sent to the mail
filter inside the jail inside the same box.

so.. r...@localhost tries to send an email to some...@anotherdomain.com.au

The MX entry for anotherdomain.com.au points to the mailfilter on the
server (jailed).


I've changed my /etc/mail/aliases to have
root: some...@anotherdomain.com.au
and ran newaliases.

When i try to send an email i get
in /var/log/messages
sm-mta[94682]: n97LeeOw094682: Losing ./qfn97LeeOw094682: savemail panic
Oct  8 08:40:40 server sm-mta[94682]: n97LeeOw094682: SYSERR(root):
savemail: cannot save rejected email anywhere
Oct  8 08:42:30 server sm-mta[94713]: n97LgTYg094713: Losing
./qfn97LgTYg094713: savemail panic
Oct  8 08:42:30 server sm-mta[94713]: n97LgTYg094713: SYSERR(root):
savemail: cannot save rejected email anywhere
Oct  8 08:47:07 server sm-mta[95130]: n97Ll7VV095129: SYSERR(root): MX
list for anotherdomain.com.au. points back to server.net

In /var/log/maillog
n97Ll7VV095129: to=some...@anotherdomain.com.au,
ctladdr= (0/0), delay=00:00:00, xdelay=00:00:00,
mailer=esmtp, pri=30715, relay=anotherdomain.com.au., dsn=5.3.5,
stat=Local configuration error
Oct  8 08:47:07 server sm-mta[95130]: n97Ll7VV095129: n97Ll7VV095130:
DSN: Local configuration error

Anyone have any ideas on how to fix this?

Regards
David N
___
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: Daily report cannot be emailed to a jailed mail server

2009-10-07 Thread David N
2009/10/8 Steve Bertrand :
> David N wrote:
>> Hi,
>>
>> FreeBSD 7.2-R box with 10 jails.
>>
>> The mail server (actually its a mail filter) is hosted on the same
>> server inside a jail.
>>
>> I can't seem to get the main server reports to be sent to the mail
>> filter inside the jail inside the same box.
>>
>> so.. r...@localhost tries to send an email to some...@anotherdomain.com.au
>>
>> The MX entry for anotherdomain.com.au points to the mailfilter on the
>> server (jailed).
>>
>>
>> I've changed my /etc/mail/aliases to have
>> root: some...@anotherdomain.com.au
>> and ran newaliases.
>>
>> When i try to send an email i get
>> in /var/log/messages
>> sm-mta[94682]: n97LeeOw094682: Losing ./qfn97LeeOw094682: savemail panic
>> Oct  8 08:40:40 server sm-mta[94682]: n97LeeOw094682: SYSERR(root):
>> savemail: cannot save rejected email anywhere
>> Oct  8 08:42:30 server sm-mta[94713]: n97LgTYg094713: Losing
>> ./qfn97LgTYg094713: savemail panic
>> Oct  8 08:42:30 server sm-mta[94713]: n97LgTYg094713: SYSERR(root):
>> savemail: cannot save rejected email anywhere
>> Oct  8 08:47:07 server sm-mta[95130]: n97Ll7VV095129: SYSERR(root): MX
>> list for anotherdomain.com.au. points back to server.net
>>
>> In /var/log/maillog
>> n97Ll7VV095129: to=some...@anotherdomain.com.au,
>> ctladdr= (0/0), delay=00:00:00, xdelay=00:00:00,
>> mailer=esmtp, pri=30715, relay=anotherdomain.com.au., dsn=5.3.5,
>> stat=Local configuration error
>> Oct  8 08:47:07 server sm-mta[95130]: n97Ll7VV095129: n97Ll7VV095130:
>> DSN: Local configuration error
>>
>> Anyone have any ideas on how to fix this?
>
> If you hadn't of sanitized the domain names, it would have been easier
> to troubleshoot...
>
> Nonetheless, you can force Sendmail to push email to a different server
> directly (overriding the DNS MX entries) with a 'mailertable' file in
> /etc/mail. Here's one on a secondary MX:
>
> %cat /etc/mail/mailertable
> ibctech.ca      smtp:[smtp.ibctech.ca]
> ipv6canada.com  smtp:[smtp.ipv6canada.com]
> ...
>
> After the file is created, a simple 'make' in /etc/mail will build the
> mailertable.db file for you and take effect immediately (much like
> 'newaliases').
>
> However, it's hard to tell if this recommendation will solve your
> problem though. Without knowing the real domain, we can't perform DNS
> tests against it to get a better understanding of the situation.
>
> Cheers,
>
> Steve
>
>


Thank you so much, it worked =)

My MX records are correct, i could get mail from the outside, but just
couldn't get the daily reports to deliver it.
___
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: Bad sectors: how bad can it be

2009-10-28 Thread David N
2009/10/29 Michaël Grünewald :
> Polytropon wrote:
>>
>> On Tue, 27 Oct 2009 21:05:39 +0100, Michaël Grünewald
>>  wrote:
>>>
>>> I have however a question: How do I verify that a hard-drive is
>>> accurately working if its firmware will hide the bad sectors as long as
>>> possible?
>>
>> I think the smartctl program from ports/smartmontools is a good tool for
>> such verification. As far as I understood,
>> it can read internal error logs from the firmware.
>
> Hi, following your suggestion I used smartmon to get access to the SMART
> data. I have run an extended offline test (with-t offline I think). The test
> reported no error (!) and the bad sectors are now read/writeable (!!). Is it
> safe to think the problem is gone?
>
> # smartctl -l selftest /dev/ad10
>
> === START OF READ SMART DATA SECTION ===
> SMART Self-test log structure revision number 1
> Num  Test_Description    Status                  Remaining LifeTime(hours)
>  LBA_of_first_error
> # 1  Extended offline    Completed without error       00%       458     -
> # 2  Extended offline    Aborted by host               70%       456
> --
> Best regards,
> Michaël
> ___
> 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"
>

I've had this problem before on consumer grade HDD.
* The drive tries to read/write to a sector, it can't, then marks the
sector as bad and preps for remapping
* Remapping may take upto 10 minutes on consumer grade HDD, enterprise
ones usually remap within seconds. so this 10 minute lagg time will
timeout the read/write of the OS.
* Usually a remap is done on reboot or when its done internally and
data is copied (if it can).

If your smartctl says it has used up a spare block
(Reallocated_Sector_Ct), replace the drive ASAP. The drives will tend
to get more and more bad blocks after the the first one is found,
usually because the head is damaging the disks or the head itself is
damaged, or other reasons. If its under warranty they usually replace
is, talk to the manufacturer before hand.

Regards
David N
___
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: Bad sectors: how bad can it be

2009-10-28 Thread David N
2009/10/29 Michaël Grünewald :
> Hello David,
>
> thank you for your comments,
>
> David N wrote:
>>
>> 2009/10/29 Michaël Grünewald :
>>>
>>> === START OF READ SMART DATA SECTION ===
>>> SMART Self-test log structure revision number 1
>>> Num  Test_Description    Status                  Remaining
>>> LifeTime(hours)
>>>  LBA_of_first_error
>>> # 1  Extended offline    Completed without error       00%       458
>>> -
>>> # 2  Extended offline    Aborted by host               70%       456
>
> [...]
>>
>> If your smartctl says it has used up a spare block
>> (Reallocated_Sector_Ct), replace the drive ASAP. The drives will tend
>> to get more and more bad blocks after the the first one is found,
>> usually because the head is damaging the disks or the head itself is
>> damaged, or other reasons. If its under warranty they usually replace
>> is, talk to the manufacturer before hand.
>
>
> I have Reallocated_Sector_Ct=0 for the faulty drive. Where can I find a key
> fo reading all the other exciting numbers listed under the banner
>
> ``SMART Attributes Data Structure revision number: 10
>  Vendor Specific SMART Attributes with Thresholds:'' ?
>
>
> On the hard-drive I use for my backups, a SAMSUNG HD501LJ,  all the numbers
> I read looks fine to me, but I want to be sure. Thus it would be nice have a
> key for the table that `smartctl -a /dev/ad6' outputs. My two other drives,
> I use to store my OS and my data, are MAXTOR STM3250820AS (I do not have a
> RAID setup, it just happens that I have twin hard drives). They both have
> `Reallocated_Sector_Ct=0' but have positive `Raw_Read_Error_Rate',
> `Seek_Error_Rate'. Additionally, the faulty drive has positive
> `Reported_incorrect=119',`Current_Pending_Sector=4294967295' and
> `Offline_Uncorrectable=4294967295'.
>
> As looking for hints on google leads to many threads discussing hard-drive
> failures, I did not find what a pleasant description of the signification of
> these numbers.
> --
> Kind regards,
> Michaël
>
>


More information http://en.wikipedia.org/wiki/S.M.A.R.T.

> `Seek_Error_Rate'. Additionally, the faulty drive has positive
> `Reported_incorrect=119',`Current_Pending_Sector=4294967295' and
> `Offline_Uncorrectable=4294967295'.

It looks like your drive is trying to remap a bad block, but can't
seem to do so. You may need to do a cold boot. Or force a read/write
from that sector to tell the drive to try to remap it again.
dd if=/dev/adX of=/dev/null skip=4294967295 count=1 (Read from the block#)

Looks like your HDD with the positive Current_Pending_Sector and
Offline_Uncorrectable with that is going bad. Once it manages to remap
the block, your Reallocated_Sector_Ct will increase/decrease (depends
on the counter), once it reaches the THRESH counter, its out of blocks
to map.

I would recommend you change HDD as soon as possible.

Regards
David N
___
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"


Nanobsd Memory Backed Disks

2010-01-13 Thread David N
I've been poking around /etc/rc.diskless and other rc's. I can't seem
to find what script loads the md.
Its not in /etc/fstab

Does anyone know where it is?
Also how does nanobsd load the /etc into the md? newfs + cpio?

Regards
David N
___
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: USB HD based backup schemes

2008-04-26 Thread David N
2008/4/27 Jeffrey Goldberg <[EMAIL PROTECTED]>:
> I am hoping that this is on-topic for the questions list.  If not, I
> apologize.
>
>  I have a couple of FreeBSD systems, and I must confess that I haven't set
> systematic back-ups of them.
>
>  I've taken a quick look at both the Bacula and Amanda documentation, but
> for reasons below I'll list why I don't think that they are idea for my
> rather simple situation.
>
>  Each system has less than 20G to be backed up, including OS and ports.  One
> of the systems, dobby, is physically difficult to get to.  I would like
> dobby to be a network client for backup.  The other, kreacher, is more
> conveniently placed, and actually has a cool little USB hard-drive drive
> dock.  I've tested that and it works.  I'd like this other machine
>
>  So far, what I've been doing is running level 0 dumps on both kreacher and
> dobby.  In each case, I've had enough space in /tmp to create dump files in
> /tmp.  When done on kreacher, I've copied them over to a USB drive.  The
> ones from dobby I've scp'ed over to kreacher.
>
>  At worst I could script this, but it I can't be sure I'll always have the
> space in /tmp.  I need to get the mounting of the USB drive clean and stuff
> like that.  Also, always running Level 0 dumps is bad for a number of
> obvious reasons.
>
>  My needs aren't to be able to always have the ability to recover some file
> to the state it was a week ago Thursday.  (I wouldn't mind that, but that's
> not my primary goal).  My primary goal is disaster recovery:  In the event
> of a disk crash, fire, or I really mess up the system.  Kreacher will
> shortly be running mysql-server with a couple of very small databases.
> Otherwise this are pretty static servers (light mail, DNS, DHCP, light
> HTTP).  Neither machine can hold additional disks internally or is otherwise
> expandable.
>
>  Both Amanda seems designed for back-up to tape.  Bacula, frankly, seems too
> complicated.
>
>  I'm sure that I could roll my own with dump or such, but I'm sure that I
> would leave important things out and that this has already been done by
> people who are smarter and more experienced than I am.  So recommendations
> please.
>
>
>  --
>  Jeffrey Goldberghttp://www.goldmark.org/jeff/
>
>  ___
>  freebsd-questions@freebsd.org mailing list
>  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>  To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
>

We used to use RSnapshot http://www.rsnapshot.org/ to backup to an
external disk, its a great tool that also does incremental via hard
links which is a plus.
Its done via rsync, so to recover, you have to reinstall the base OS
and rsync the files back to get it up and running again. It may have
problems locking active files, I've never tested it with a DB before.
But since then, we've moved to bacula.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Can not install ZendOptimizer

2010-10-18 Thread David N
On 11 October 2010 21:25, Phan Quoc Hien  wrote:
> ZendOptimizer seem not support FreeBSD?
>
> On Fri, Oct 8, 2010 at 1:29 AM, Lowell Gilbert <
> freebsd-questions-lo...@be-well.ilk.org> wrote:
>
>> > On Thu, Oct 7, 2010 at 11:55 PM, Ryan Coleman 
>> wrote:
>> >
>> >> Phan,
>> >>
>> >> The solution looks like install PHP 5.2 (/usr/ports/lang/php52) and then
>> >> install /usr/ports/devel/ZendOptimizer.
>> >>
>> Phan Quoc Hien  writes:
>>
>> > Yes, Thank Ryan. But it's not clearly solution.
>>
>> The reason it is a little unclear is that the port warns you about the
>> problem, but the warning sounds like all of 5.x is incompatible with
>> ZendOptimizer (when 5.2 is actually fine).  I spent a few minutes
>> looking at the port, but I couldn't come up with a quick fix for the
>> error message.
>>
>
>
>
> --
> Best regards,
> Mr.Hien
> E-mail: phanquoch...@gmail.com
> Website: www.mrhien.info
> ___
> 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"
>


Zend Optimiser seemed to have dropped support for FreeBSD starting
from FreeBSD >= 7.0 and PHP >= 5.3

http://lists.freebsd.org/pipermail/freebsd-ports/2009-December/058016.html
http://www.zend.com/en/products/guard/system-requirements
___
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"


Portmaster creating packages

2010-10-26 Thread David N
Hi,

I currently use portmaster to do the upgrading of my ports.

Is it possible to use portmaster to create packages of upgrade ports?

I can only see it upgrading via packages only.

Regards
David N
___
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: Portmaster creating packages

2010-10-27 Thread David N
On 27 October 2010 14:57, Christer Solskogen
 wrote:
> On Wed, Oct 27, 2010 at 2:11 AM, David N  wrote:
>> Hi,
>>
>> I currently use portmaster to do the upgrading of my ports.
>>
>> Is it possible to use portmaster to create packages of upgrade ports?
>>
>> I can only see it upgrading via packages only.
>>
>
> Yes, that is possible.
> "MAKE_PACKAGE=gopt" in portmaster.rc . If you read portmasters manpage
> you would have found out that your self.
>
> --
> chs,
>

I did, it was just the old version.
Got the new one installed and saw the -g command line option. Works great =)

Cheers
David N
___
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"


Managing ports on multiple jails

2010-11-01 Thread David N
Hi,

I have multiple jails using ezjails, approx 20.

I'm currently doing
portsnap fetch update
ezjail-admin update -P

then doing a portmaster -Bad on each jail, but its pretty time
consuming, esp when you have to peridically come back and check if its
done and do the next one.

I've tried building packages in one jail and sharing it to all the
other jails. make package-recursive
But sometimes a particular package won't install properly, then I'll
end up building from source again.

Does anyone have any other ways to quickly upgrade multiple jails or
even multiple boxes?

Regards
David N
___
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"


conftest, uid 0: exited on signal 11 - Normal?

2007-07-23 Thread David N

Hi,

pid 96087 (conftest), uid 0: exited on signal 11 (core dumped)

I've been googling around and people say its usually a hardware
problem or memory. I've done memtest86+ on all of them and it returned
fine. (I know it doesn't mean there isn't a problem), HDD SMART is all
good. But I've been getting it only when "make"-ing something or
upgrading a port, other than that, the system is fine and stable.

This happens so far on 3 machines, is this something to worry about or
is it normal?

All three are running 6.2-RELEASE-p4.
pc1 - P4 w/ HT disabled, 512MB ECC RAM, 2x SATA gmirror
pc2 - AMD 3000+, 512MB ECC RAM, 2x SATA gmirror
pc3 - Celeron 2Ghz, 256MB RAM, 1 IDE HDD

on the celeron and AMD i can get the conftest to core dump whilst port
installing the samba-3.0.25a_1,1, it happens near the end of the
initial configuration. I haven't tested it on the P4 yet.

PC1,PC2 machines load is around 0.1 most of the time, its mostly file
serving and light database use.

Are the conftest core dumps anything to worry about?

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


Re: conftest, uid 0: exited on signal 11 - Normal?

2007-07-23 Thread David N

On 23/07/07, Matthew Seaman <[EMAIL PROTECTED]> wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

David N wrote:

> pid 96087 (conftest), uid 0: exited on signal 11 (core dumped)


> Are the conftest core dumps anything to worry about?

Actually, these are deliberate.  GNU autoconf will engineer a SEGV
in a piece of test code in order to test various features of the way
the OS handles that sort of event.

Completely harmless and nothing to worry about at all.

Cheers,

Matthew

- --
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGpGmY8Mjk52CukIwRCGmRAJ4+FH9U2RO7IUgnI5gK5mLlqVIkTACgiMsl
m43qxVR2pNylE/oYuaY9Xb0=
=7+4Q
-END PGP SIGNATURE-



Ohh thanks =) I'm glad the hardware isn't failing.
Looked through the config.log file and pin pointed the segfaulting
part during samba3.

checking if the realpath function allows a NULL argument...
Segmentation fault (core dumped)
no

Sorry about the noise

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


Re: ramdisk on /tmp in jail

2007-08-02 Thread David N
On 02/08/07, David N <[EMAIL PROTECTED]> wrote:
> On 02/08/07, Jorn Argelo <[EMAIL PROTECTED]> wrote:
> > Hi all,
> >
> > I'm trying to get a ramdisk in a jail on /tmp. Doing this by hand by using 
> > the mdmfs(8) utility goes fine. However, now I am trying to get a ramdisk 
> > on /tmp during boot time.
> >
> > I tried using tmpmfs_enable="YES" (with tmpsize) in the rc.conf of the 
> > jail, but if I do that nothing appears to happen. Doing the same on the 
> > host of the server works fine though.
> >
> > What would be the recommended way of achieving this? Should I use the fstab 
> > on the host, or maybe in the jail? Maybe somebody else has a better 
> > suggestion?
> >
> > Thanks a lot in advance.
> >
> > Cheers,
> >
> > Jorn
> >
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> >
>
> Jails have an option for fstab
>
> jail_myjail_fstab="/usr/jails/myjail/etc/fstab"
>
> i think that should work
>
> Cheers
> David N
>
I fogot to mention
jail_myjail_mount_enable="YES"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ramdisk on /tmp in jail

2007-08-02 Thread David N
On 02/08/07, Jorn Argelo <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm trying to get a ramdisk in a jail on /tmp. Doing this by hand by using 
> the mdmfs(8) utility goes fine. However, now I am trying to get a ramdisk on 
> /tmp during boot time.
>
> I tried using tmpmfs_enable="YES" (with tmpsize) in the rc.conf of the jail, 
> but if I do that nothing appears to happen. Doing the same on the host of the 
> server works fine though.
>
> What would be the recommended way of achieving this? Should I use the fstab 
> on the host, or maybe in the jail? Maybe somebody else has a better 
> suggestion?
>
> Thanks a lot in advance.
>
> Cheers,
>
> Jorn
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>

Jails have an option for fstab

jail_myjail_fstab="/usr/jails/myjail/etc/fstab"

i think that should work

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


Re: Mpd (3.x) & mpd4 config and differeces in reconnect/dial behaviour ?

2007-09-24 Thread David N
On 25/09/2007, Alan Tamm <[EMAIL PROTECTED]> wrote:
> Hi everyone!
>
> Since upgrade from 3.x to 4.x I have to manually (re) open the bundle PPPoE
> but I can't afford this system to be offline/needing manual intervention
> from now on. When the connection times out mpd4 just won't reconnect..
>
>
> This (mpd3.x) setup works flawlessly (without reconnection problems):
>
> #mpd.conf
> pppoe:
> new -i ng0 pppoe PPPoE
> set iface addrs 192.168.0.1 192.168.0.2
> set iface route default
> set iface disable on-demand
> set iface idle 0
> set bundle disable multilink
> set bundle authname "secret"
> set link no acfcomp protocomp
> set link disable pap chap
> set link accept chap
> set link mtu 1492
> set link keep-alive 10 60
> set ipcp yes vjcomp
> set ipcp ranges 0.0.0.0/0 0.0.0.0/0
> open iface
>
> #mpd.links
> PPPoE:
> set link type pppoe
> set pppoe iface rl0
> set pppoe service ""
> set pppoe disable incoming
> set pppoe enable originate
>
>
> ## mpd4 --version
> ## Version 4.3
> # (no reconnect)
>
> #mpd.conf
>
> PPPoE:
> # new PPPoE PPPoE
> new -i ng0 PPPoE PPPoE
> set iface route default
> set iface disable on-demand
> set iface idle 0
> set ipcp yes vjcomp
> set ipcp ranges 0.0.0.0/0 0.0.0.0/0
> set bundle disable multilink
> ## set bundle disable noretry
> set auth authname "secret"
> set link no acfcomp protocomp
> set link disable pap chap chap-msv1 chap-msv2 eap
> set link accept chap-md5 chap
> set link keep-alive 5 30
> set link max-redial 0
> open
>
> #mpd.links
> PPPoE:
> set phys type pppoe
> set pppoe iface rl0
> # set pppoe service "whatever"
> set pppoe disable incoming
> set pppoe enable originate
>
>
> #log output:
> Sep 24 20:43:28 secret mpd: [PPPoE] LCP: no reply to 1 echo request(s)
> Sep 24 20:43:33 secret mpd: [PPPoE] LCP: no reply to 2 echo request(s)
> Sep 24 20:43:38 secret mpd: [PPPoE] LCP: no reply to 3 echo request(s)
> Sep 24 20:43:43 secret mpd: [PPPoE] LCP: no reply to 4 echo request(s)
> Sep 24 20:43:48 secret mpd: [PPPoE] LCP: no reply to 5 echo request(s)
> Sep 24 20:43:48 secret mpd: [PPPoE] LCP: peer not responding to echo
> requests
> Sep 24 20:43:48 secret mpd: [PPPoE] LCP: state change Opened --> Stopping
> Sep 24 20:43:48 secret mpd: [PPPoE] AUTH: Accounting data for user : 70
> seconds, 666055 octets in, 83043 octets out
> Sep 24 20:43:48 secret mpd: [PPPoE] Bundle up: 0 links, total bandwidth 9600
> bps
> Sep 24 20:43:48 secret mpd: [PPPoE] IPCP: Close event
> Sep 24 20:43:48 secret mpd: [PPPoE] IPCP: state change Opened --> Closing
> Sep 24 20:43:48 secret mpd: [PPPoE] IPCP: SendTerminateReq #4
> Sep 24 20:43:48 secret mpd: [PPPoE] IPCP: LayerDown
> Sep 24 20:43:49 secret mpd: [PPPoE] IFACE: Down event
> Sep 24 20:43:49 secret mpd: [PPPoE] IPCP: Down event
> Sep 24 20:43:49 secret mpd: [PPPoE] IPCP: LayerFinish
> Sep 24 20:43:49 secret mpd: [PPPoE] No NCPs left. Closing links...
> Sep 24 20:43:49 secret mpd: [PPPoE] closing link "PPPoE"...
> Sep 24 20:43:49 secret mpd: [PPPoE] IPCP: state change Closing --> Initial
> Sep 24 20:43:49 secret mpd: [PPPoE] AUTH: Cleanup
> Sep 24 20:43:49 secret mpd: [PPPoE] LCP: SendTerminateReq #2
> Sep 24 20:43:49 secret mpd: [PPPoE] LCP: LayerDown
> Sep 24 20:43:49 secret mpd: [PPPoE] link: CLOSE event
> Sep 24 20:43:49 secret mpd: [PPPoE] LCP: Close event
> Sep 24 20:43:49 secret mpd: [PPPoE] LCP: state change Stopping --> Closing
> Sep 24 20:43:51 secret mpd: [PPPoE] LCP: SendTerminateReq #3
> Sep 24 20:43:53 secret mpd: [PPPoE] LCP: state change Closing --> Closed
> Sep 24 20:43:53 secret mpd: [PPPoE] LCP: LayerFinish
> Sep 24 20:43:53 secret mpd: [PPPoE] link: DOWN event
> Sep 24 20:43:53 secret mpd: [PPPoE] LCP: Down event
> Sep 24 20:43:53 secret mpd: [PPPoE] LCP: state change Closed --> Initial
>
> Thats it (the problem), after timeout no retry attempt is made !
>
> # quick fix:
> Manual open command for bundle PPPoE
>
> # and log output after open:
>
> Sep 24 20:51:45 secret mpd: [PPPoE] link: OPEN event
> Sep 24 20:51:45 secret mpd: [PPPoE] LCP: Open event
> Sep 24 20:51:45 secret mpd: [PPPoE] LCP: state change Initial --> Starting
> Sep 24 20:51:45 secret mpd: [PPPoE] LCP: LayerStart
> Sep 24 20:51:45 secret mpd: [PPPoE] PPPoE: Connecting to '*'
> Sep 24 20:51:45 secret mpd: PPPoE: rec'd ACNAME "secret"
> Sep 24 20:51:45 secret mpd: [PPPoE] PPPoE: connection successful
> Sep 24 20:51:45 secret mpd: [PPPoE] link: UP event
> Sep 24 20:51:45 secret mpd: [PPPoE] link: origination is local
> Sep 24 20:51:45 secret mpd: [PPPoE] LCP: Up event
> Sep 24 20:51:45 secret mpd: [PPPoE] LCP: state change Starting --> Req-Sent
> Sep 24 20:51:45 secret mpd: [PPPoE] LCP: SendConfigReq #4
> Sep 24 20:51:45 secret mpd: MRU 1492
> Sep 24 20:51:45 secret mpd: MAGICNUM 10c658b6
> Sep 24 20:51:46 secret mpd: [PPPoE] LCP: rec'd Configure Request #20
> (Req-Sent)
> Sep 24 20:51:46 secret mpd: MRU 1492
> Sep 24 20:51:46 secret mpd: AUTHPROTO PAP
> Sep 24 20:51:46 secret mpd: MAGICNUM 022165ca
> Sep 24 20:51:46 secret mpd: [PPPoE] LCP: SendConfigA

Re: Backup advice

2007-05-23 Thread David N

On 24/05/07, Howard Goldstein <[EMAIL PROTECTED]> wrote:

Jason Lixfeld wrote:
> - Other folks dumping to a hard drive at night?  Care to share any of
> your experiences/rationale?

Not with dump/restore.  After using amanda and a tape drive for eons I'm
now happy with a bacula solution to backup 2 freebsds and a windows
machine.  It does incrementals except on Saturday night when it
alternates between a differential (sort of a mass incremental from the
last full) and a full backup to a cheap IDE drive.  Every Sunday I copy
the IDE drive to a USB drive and take it offsite and bring back another
one.

After restoring from scratch - power supply frying the entire RAID array
  on my desktop -STABLE machine - I think the advantages of dump are
certainly there but for my apps, where I don't have any huge sparse
files or a lot of hard links other than whatever gets installed with a
fresh install (if anything) to worry about - they're outweighed by the
convenience of bacula where I can go back to a point in time.  YMMV...

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



We have something similar, we use rsnapshot (/usr/ports/sysutils/rsnapshot/)
http://www.rsnapshot.org/

The first rsnapshot takes up the full amount of space and rsnapshot
there after only takes up the space of those files that have changed.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: isc-dhcp3-server in a jail?

2007-06-04 Thread David N

On 05/06/07, Paul Fraser <[EMAIL PROTECTED]> wrote:

On 6/4/07, Nico -telmich- Schottelius
<[EMAIL PROTECTED]> wrote:
> What's the IP-number in your jail and what's it outside?
>
> I am not sure, whether broadcasts are delivered to the jails or not.
>
> Nico

Hi Nico,

The IP assigned to the host system is 192.168.72.250, with an alias
for 192.168.72.251. The jail is configured with the IP 192.168.72.251.

--
Regards,

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


To get isc-dhcpd in a jail you need to give the jail access to /dev/bpf0

so you have to edit /etc/defaults/devfs.rules
add to the end the unhide rules for bpf eg.
[devfsrules_unhide_bpf=5]
add path bpf0 unhide

[devfsrules_dhcp_jail=6]
add include $devfsrules_hide_all
add include $devfsrules_unhide_basic
add include $devfsrules_unhide_login
add include $devfsrules_unhide_bpf

then in your /etc/rc.conf add
jail__defs_ruleset="devfsrules_dhcp_jail"

and restart the jail.

modify the configuration accordingly though =)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: isc-dhcp3-server in a jail?

2007-06-05 Thread David N

On 05/06/07, Paul Fraser <[EMAIL PROTECTED]> wrote:

On 6/5/07, David N <[EMAIL PROTECTED]> wrote:
> To get isc-dhcpd in a jail you need to give the jail access to /dev/bpf0
>
> so you have to edit /etc/defaults/devfs.rules
> add to the end the unhide rules for bpf eg.
> [devfsrules_unhide_bpf=5]
> add path bpf0 unhide
>
> [devfsrules_dhcp_jail=6]
> add include $devfsrules_hide_all
> add include $devfsrules_unhide_basic
> add include $devfsrules_unhide_login
> add include $devfsrules_unhide_bpf
>
> then in your /etc/rc.conf add
> jail__defs_ruleset="devfsrules_dhcp_jail"
>
> and restart the jail.

Thank you very much David, that's done the trick! I much prefer having
dhcpd sitting in a jail along with a few other network services.

Cheers,

P.

--
Regards,

Paul Fraser
http://furyc0de.net/



np, for the life of me i couldn't get isc-dhcpd working in jails at
all without the bpf0. I tried all the jail patches and everything. Its
the only way i found it to work.

But it does mean that if the dhcpd gets compromised, they'll have
control of the bpf0, not really sure what it does though =)

I'm glad it worked out though

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


Re: Nanobsd Memory Backed Disks

2010-01-13 Thread David N
2010/1/14 M. Warner Losh :
> In message: <4d7dd86f1001130347k75ec7dcfhf6adf2a852210...@mail.gmail.com>
>            David N  writes:
> : I've been poking around /etc/rc.diskless and other rc's. I can't seem
> : to find what script loads the md.
> : Its not in /etc/fstab
> :
> : Does anyone know where it is?
> : Also how does nanobsd load the /etc into the md? newfs + cpio?
>
> The md driver is usually compiled into the kernel. /etc/rc.d/mdconfig
> and /etc/rc.d/mdconfig2 configure the ram disks.  /etc/diskless is
> created as part of the build process, and /etc/rc.initdiskless does
> all the copying magic.
>
> Warner
>

Thanks, I found what I was looking for.

/conf/base/etc
/conf/base/var

the diskless file to enable md
and md_size which determines the md size.

It loads the files from there instead of the actual /etc (before the
/dev/md mount)

Regards
David N
___
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: amd64: Fatal Trap 12 in high load situations

2010-02-06 Thread David N
On 6 February 2010 22:18, ms80  wrote:
> Am Saturday 06 February 2010 11:38:25 schrob Michael Powell:
>> ms80 wrote:
>> > Hi
>> >
>> > I have a problem installing / upgrading FreeBSD 8.0-release on a new
>> > machine.
>> >
>> > The computers specs are:
>> >
>> > cpu: AMD Phenom II X4
>> > board: Gigabyte MA790GPT-UD3H
>> > ram: 4x2GBytes DDR3/1333
>> > hdd: 2xMaxtor STM31000528AS
>> > nic: 4x Intel(R) PRO/1000
>>
>> [snip]
>>
>> > So here are my questions:
>> > 1. Are there any known caveats or quirks regarding my hardware?
>> > 2. What can I do to further investigate this issue
>> > 3. Not fully on topic but might be related: The buildsystem recognizes my
>> > cpu as "686 class cpu" wich is wrong. Are there any switches I can set in
>> > make.conf to have 'make' use the correct values? Currently I'm using a
>> > blank make.conf, meaning it is not present (as it is by default on a
>> > fresh installed system).
>>
>> [snip]
>>
>
> [snip too]
>
>>
>> I believe your problem centers around memory. It may not be designed for
>>  AM3 socket and/or may not be able to handle a higher memory multiplier.
>>  When I first put this motherboard in I attempted to boot from an already
>>  installed OS with the memory multiplier set too high and saw numerous
>>  examples similar to what you are describing. Since I had bought 1600MHz
>>  memory I mistakenly set the multiplier too high. When I set it back to
>>  1333MHz everything was fine. Either the memory multiplier is set too high
>>  for your RAM or it is just the wrong RAM to begin with.
>>
>> As far as make.conf goes I use: CPUTYPE?= k8
>>
>> -Mike
>>
>
>
> Hi
>
> Thank you for your reply.
> I'm using two of this: OCZ3P1333LVAM4GK
> (OCZ DDR3 AMD Edition, rated for 1333MHz at 1.65V). My Board is rated for 1066
> - 1600 MHz memory, and neither the website nor the manual say anything about
> limitations with memory. Anyway: I didn't overclock cpu or memory. I have
> stability and long life in mind, so I try to keep the hardware cool. During
> testing I underclocked the memory with 1066 and 800 MHz which didn't help: The
> machine crashes anyway. The only thing to note is that by default the board
> tries to set 1.5V DDR3 Voltage which is wrong, you have to set it to 1.65V
> manually.
>
> A faulty piece of hardware was the first thing I suspected and I tested among
> other things the memory with memtest86+. This runs fine for 4 passes, without
> any error. As far as I can tell, my memory subsystem is ok.
>
> As for make.conf: thanks, I will set this when I try again.
>
> with best regards
>
> Sven
>
> --
> 00
> ___
> 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"
>

What power supply do you have?
How many watts? brand?

If you have insufficient power, it may cause the system to become unstable.

Regards
David N
___
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: off topic: unmanageable switch?

2009-06-19 Thread David N
2009/6/20 Nikos Vassiliadis :
> Jerry B. Altzman wrote:
>>
>> Do you require Gigabit ethernet or no?
>
> That, I don't know yet... but given that they want to build
> a solid infrastructure that will be worth of using for the
> years to come, most probably yes.
>
> Environmental conditions will be normal, everything will be
> indoor. And I *think* the power levels will be normal as well
> (Wojciech mentioned that D-Links have been sensitive to power
> spikes).
>
> I have found that D-Link are quite cheap and somebody on the
> list suggested them. In that price range TP-LINK is also a
> choice. Anybody advises against TP-LINK?
>
> Thanks a bunch for your answers, Nikos
>
> ___
> 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"
>
We've deployed a few DLink and Linksys unmanaged switches and are
working fine. The only issue with the DLink ones are the external
power supply (4-8 port desktop switches), they are pretty flakey,
usually need a replacement within a few months of operations, but
after buying a replacement from the radio shack/dick smith/jay car...,
they're usually fine.

Linksys switches have a limited lifetime warranty (whatever that
means) on the gigabit 24 port switches.
DLink have about 3 to 5 years depending.
TP Link and Repotec I'm unsure of, the website doesn't list anything
and neither does my supplier. My guess would be 1 year.

The TP Link ones are pretty much no frills, I have a 8 port 10/100 and
can max it out without and problems.

Regards
David N
___
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: Restrict process(es) to single core

2009-06-26 Thread David N
2009/6/27 Chuck Swiger :
> On Jun 26, 2009, at 10:40 AM, Daniel Underwood wrote:
>>
>> Suppose I'm running a multi-threaded program that's utilizing both
>> cores of my CPU.  I'm not interested in it's speed, however, and would
>> like to free up another core for general purpose. Is there a way
>> (without altering/recompiling the program, obviously) to restricting a
>> process and its children to a single core?
>
> The simple way would be to use renice to change the process priority; other
> normal processes you run would get CPU first, but this task would be able to
> use all system resources if nothing else is.  I'm not sure whether FreeBSD
> currently has a way to bind tasks to only running on a subset of available
> CPUs (ie, CPUSETs mechanism in Linux, set CPU affinity in Windows, etc).
>
> Regards,
> --
> -Chuck
>
> ___
> 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"
>

If you're running FreeBSD 7.1 or up, theres a program called cpuset.
man cpuset

I think that's what you're after. Allows binding of process to certain CPUs.

Regards
David N
___
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"


Running rsnapshot via cron reboots the machine

2008-12-15 Thread David N
t says the
HDD are fine.

Regards
David N
___
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: Running rsnapshot via cron reboots the machine

2008-12-17 Thread David N
2008/12/17 Mel :
> On Monday 15 December 2008 18:56:46 David N wrote:
>> Hi,
>>
>> I have a machine
>> AMD Sepron LE-1150
>> ASUS M2A-VM
>> 1GB RAM ECC
>> 2x SATA 300GB
>>
>> in a RAID 1 (gmirror).
>> 7.0-RELEASE-p2 AMD64 generic kernel
>>
>> it was doing backups via bacula to an external disk
>> USB 2.0 SATA disk, and it was working well. (GLabel) /dev/ufs/BackupDisk
>>
>> I changed to rsnapshot recently, with the External HDD in glabel +
>> gjournal (/dev/da0s1.journal -> /dev/ufs/BackupDisk) and it will
>> reboot the machine roughly 30 minutes after the rsnapshot starts via
>> CRON.
>
> Able to get any crash dumps? [1] I doubt it calls reboot system call after 30
> minutes and if it's a heating issue, then it would power down not reboot. So,
> kernel is probably panicing.
>
> [1]
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html
>
> --
> Mel
>
> Problem with today's modular software: they start with the modules
>and never get to the software part.
>
I found something in the vmcore.0

panic: Journal overflow (joffset=499758276096 active=498475869184
inactive=499755984896)
cpuid = 0
Uptime: 16h7m11s

I tried kgdb on on the vmcore but it didn't work, I had -p2 installed,
but compiled p6 so it might of overwrittin things in /usr/obj

[GDB will not be able to debug user-mode threads:
/usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd".
Cannot access memory at address 0x0


The journal was set to 2GB on the 400GB USB attached disk. (/dev/da0)

I just formatted the disk without gjournal and see how that goes. I
guess i can't use gjournal over USB? I have gjournal running on
another server (gmirror + gjournal) and i thrash it pretty hard
without any problems.

Has any new patches for gjournal been included in 7.1?

Thanks for the help
David N
___
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: Running rsnapshot via cron reboots the machine

2008-12-18 Thread David N
2008/12/18 Mel :
> On Wednesday 17 December 2008 11:40:00 David N wrote:
>> 2008/12/17 Mel :
>> > On Monday 15 December 2008 18:56:46 David N wrote:
>> >> Hi,
>> >>
>> >> I have a machine
>> >> AMD Sepron LE-1150
>> >> ASUS M2A-VM
>> >> 1GB RAM ECC
>> >> 2x SATA 300GB
>> >>
>> >> in a RAID 1 (gmirror).
>> >> 7.0-RELEASE-p2 AMD64 generic kernel
>> >>
>> >> it was doing backups via bacula to an external disk
>> >> USB 2.0 SATA disk, and it was working well. (GLabel) /dev/ufs/BackupDisk
>> >>
>> >> I changed to rsnapshot recently, with the External HDD in glabel +
>> >> gjournal (/dev/da0s1.journal -> /dev/ufs/BackupDisk) and it will
>> >> reboot the machine roughly 30 minutes after the rsnapshot starts via
>> >> CRON.
>> >
>> > Able to get any crash dumps? [1] I doubt it calls reboot system call
>> > after 30 minutes and if it's a heating issue, then it would power down
>> > not reboot. So, kernel is probably panicing.
>> >
>> > [1]
>> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kern
>> >eldebug.html
>> >
>> > --
>> > Mel
>> >
>> > Problem with today's modular software: they start with the modules
>> >and never get to the software part.
>>
>> I found something in the vmcore.0
>>
>> panic: Journal overflow (joffset=499758276096 active=498475869184
>> inactive=499755984896)
>> cpuid = 0
>> Uptime: 16h7m11s
>>
>> I tried kgdb on on the vmcore but it didn't work, I had -p2 installed,
>> but compiled p6 so it might of overwrittin things in /usr/obj
>>
>> [GDB will not be able to debug user-mode threads:
>> /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"]
>> GNU gdb 6.1.1 [FreeBSD]
>> Copyright 2004 Free Software Foundation, Inc.
>> GDB is free software, covered by the GNU General Public License, and you
>> are welcome to change it and/or distribute copies of it under certain
>> conditions. Type "show copying" to see the conditions.
>> There is absolutely no warranty for GDB.  Type "show warranty" for details.
>> This GDB was configured as "amd64-marcel-freebsd".
>> Cannot access memory at address 0x0
>>
>>
>> The journal was set to 2GB on the 400GB USB attached disk. (/dev/da0)
>>
>> I just formatted the disk without gjournal and see how that goes. I
>> guess i can't use gjournal over USB? I have gjournal running on
>> another server (gmirror + gjournal) and i thrash it pretty hard
>> without any problems.
>
> It should not panic, but a journal overflow is more likely with USB, cause of
> the lower write speed (the journal fills faster then it's being emptied).
> Your best bet is to reproduce the panic using the sources that match the
> kernel and file a PR and/or post to freebsd-fs list to find out if there are
> people with similar problems/usage cases. It could be a tunable that you
> missed or that it's a known issue.
>
> --
> Mel
>
> Problem with today's modular software: they start with the modules
>and never get to the software part.
>

There are people with similar problems already reported.
http://www.freebsd.org/cgi/query-pr.cgi?pr=127420

I tried the tunables
kern.geom.journal.force_switch=50
kern.geom.journal.cache.switch=75
which made it crash even faster, in a few minutes and even corrupted
the journal. I would test it out more, but its a production server
which needs to be up and running.

At the moment its just UFS+glabel, I'll try again when 7.1 comes out.

Thank you for your help.

Regards
David N
___
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"


Backing Up ZFS

2008-12-18 Thread David N
Hi,

As ZFS is becoming more stable and approaching production ready, how
would one "Backup" ZFS? In terms of backing up to an external media or
storage rather than doing snapshots. In case the the server
spontaneously bursts into flames.

Cost would be my main focus, so backing up to a HDD would be preferable.

I'm just curious at what others are currently doing to back up huge
amounts of data. eg. 2TB and onwards.

1. ZFS -> External HDD (External HDD aren't even big enough to handle
greater than 2TB) Taken offsite daily
2. ZFS -> Another ZFS box (Not sure how you take it off site daily)
3. ZFS -> Remote ZFS using RSync (Living in Australia, there are
limits on data transfer of a few hundred GB per month, to costs are
prohibitive)

Regards
David N
___
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: Using HDD's for ZFS: 'desktop' vs 'raid / enterprise' -edition drives?

2009-01-02 Thread David N
2009/1/3 Frederique Rijsdijk :
> Hi freebsd-questions,
>
> For personal use (photo/video storage), I'm looking into creating a huge
> single ZFS (raidz) volume that will replace my current collection of
> drives used as storage. I'm thinking 4*1TB drives in RAID5(z).
>
> My question is regarding the flavour of drivers that one can choose
> from: Desktop class drives, or the so called RAID/Enterprise class drives.
>
> The difference between the two being the way such a drive handles the
> bad-sector/block handling and remapping. I understand that Desktop class
> drives do all this internally, and this is a process that can take up to
>>
>> 60s (even minutes on some), and during this process the drive is
>
> unavailable to the controller. The RAID edition drives all appoach this
> differently and alot faster, typically before 8 seconds.
>
> How does ZFS handle this? Should I be looking for the RAID class drives
> or can Desktop class drives be used here?
>
> My worry is of course that such a drive (destkop class) will be marked
> defective and thrown out of the raid volume if a remapping of bad
> sectors occurs and the drive will be unresponsive to the controller/ZFS
> for > 8 seconds.
>
> Some drives can be configured in this area, but not all, and there's
> quite a price difference in the two, the desktop class being up to 50%
> cheaper in some cases..
>
> Anybody that can shed some light on this?
>
>
> Thanks,
>
> -- Frederique

Hi,

Before i knew the difference between the two, i got myself a bunch of
"desktop" HDD. From what I've experience, freebsd just drops the
drive. (Currently running in a gmirror config). I'm not sure about
ZFS, but i would assume it would do the same. All you need to the do
reattach the drive and it will sync back up again.

I didn't know the reason why it dropped off, but when i checked the
SMART, it showed 1 bad sector reallocation.

If it happens to a disk with UFS, it crashes and restarts the machine,
UFS doesn't like disappearing drives.

Regards
David N
___
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: GJournal: Out of cache force switch - With lock up

2009-05-12 Thread David N
2009/5/13 David N :
> Hi,
>
> I'm running geom journal in debug and I'm seeing some
>
> GEOM_JOURNAL[1]: No cache, waking up the switcher.
> GEOM_JOURNAL[1]: Out of cache, force switch (used=.. limit=.. )
>
> But on the journal i left 2GB, how come its running out of cache? or
> is that the journal cache that it flushes to disk?
>
>
> I've also managed to lock up the system, and just trying to pin point
> the problem. This is a 7.1R just upgraded to 7.2 with GPT + gmirror +
> gjournal with GENERIC kernel.
> All SSH no data. Local console is locked as well, but the num lock
> light turns on/off.
>
> I had gstat running, and all disk activity went to zero before it locked.
>
> I'm just cp -av from one gmirror to the new gmirror with journal.
>
> I've done it twice so far, with about 1 hour of copying and it'll lock up.
>
>
> Regards
> David N
>

It happened again
GEOM_JOURNAL[1]: Out of cache, force switch (used=175878656 limit=167772160).
GEOM_JOURNAL[1]: Msync time of /usr: 0.156931s
GEOM_JOURNAL[1]: Sync time of /usr: 0.006427s
GEOM_JOURNAL[1]: Cache flush time: 0.267372s
GEOM_JOURNAL[1]: BIO_FLUSH time of mirror/gm0p6: 0.267709s
GEOM_JOURNAL[1]: Data has been copied.
GEOM_JOURNAL[1]: Data has been copied.
GEOM_JOURNAL[1]: Suspend time of /usr: 31.412925s
GEOM_JOURNAL[1]: Starting copy of journal.
GEOM_JOURNAL[1]: Cache flush time: 0.290278s
GEOM_JOURNAL[1]: Cache flush time: 0.000101s
GEOM_JOURNAL[1]: Switch time of mirror/gm0p6: 0.296598s
GEOM_JOURNAL[1]: Msync time of /var: 0.31s
GEOM_JOURNAL[1]: Sync time of /var: 0.48s
GEOM_JOURNAL[1]: Cache flush time: 0.395199s
GEOM_JOURNAL[1]: BIO_FLUSH time of mirror/gm0p5: 0.395694s
GEOM_JOURNAL[1]: Suspend time of /var: 0.000226s
GEOM_JOURNAL[1]: Starting copy of journal.
GEOM_JOURNAL[1]: Cache flush time: 0.708414s
GEOM_JOURNAL[1]: Cache flush time: 0.912773s
GEOM_JOURNAL[1]: Switch time of mirror/gm0p5: 3.372491s
GEOM_JOURNAL[1]: Entire switch time: 35.917632s

managed to copy this before it locked up, the used is greater than the
limit... Is there anything in sysctl i can tune to make it switch
quicker?

The last debug message is Data has been copied.

Regards
David N
___
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"


GJournal: Out of cache force switch - With lock up

2009-05-12 Thread David N
Hi,

I'm running geom journal in debug and I'm seeing some

GEOM_JOURNAL[1]: No cache, waking up the switcher.
GEOM_JOURNAL[1]: Out of cache, force switch (used=.. limit=.. )

But on the journal i left 2GB, how come its running out of cache? or
is that the journal cache that it flushes to disk?


I've also managed to lock up the system, and just trying to pin point
the problem. This is a 7.1R just upgraded to 7.2 with GPT + gmirror +
gjournal with GENERIC kernel.
All SSH no data. Local console is locked as well, but the num lock
light turns on/off.

I had gstat running, and all disk activity went to zero before it locked.

I'm just cp -av from one gmirror to the new gmirror with journal.

I've done it twice so far, with about 1 hour of copying and it'll lock up.


Regards
David N
___
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: whatkind of 19" LCD display??

2008-07-29 Thread David N
2008/7/30 Gary Kline <[EMAIL PROTECTED]>:
> On Tue, Jul 29, 2008 at 01:27:37PM -0500, Preston Hagar wrote:
>> On Tue, Jul 29, 2008 at 9:43 AM, Chuck Robey <[EMAIL PROTECTED]> wrote:
>> > -BEGIN PGP SIGNED MESSAGE-
>> > Hash: SHA1
>> >
>>
>> > I really like the Dell, both because of their outstanding contrast and
>> > brightness, no dead pixels in any of my LCDs, and the fact that they come 
>> > with
>> > multiple interfaces which are switch selectable from the front panel.  The 
>> > old
>> > 20" units had 4 jacks (RCA, S-Video, VGA, and DVI).  Really convenient.  
>> > The new
>> > 24" one, beyond being able to run native 1920X1080 for HiDef Video, it's 
>> > got
>> > about 10 different jacks.  Looks it up the web, the Dell pages describe it 
>> > best,
>> > and the contrast on that 24" has to be seen to be believed.  I actually 
>> > turned
>> > it down!
>>
>> I would second the Dell's, specifically the UltraSharp line.  I have a
>> 19" Ultrasharp as my primary monitor and a 19" Dell "Standard" as a
>> secondary monitor.  The Ultrasharp has DVI and VGA, a built in USB hub
>> and is great to look at.
>
>
>Thanks, Preston.
>
>So:: boiling it down to a make and a line, now Chuck [[ and you ]]
>give thumbs-up on the Dell.  "UltraSharp", rt?
>
>A personal note from the cheapes--er, *thriftiest* guy alive:
>for a new display, price isn' the driving force.  it's quality--
>which includes durabiility, function, &c.  (actually, i wouldn't
>mind 19+.) 20" [[[ and when the hell are we going to join the 18th
>Century and go-metric?! ]]] 20" is about the max since i cram
>as many xterms with tiny fonts as possible.  so
>brightness+contrast matter.   [[ if i could get out easily, i
>might check out the 24" ... but that would only give me LCD-envy!!
>--ah, *life* :-| ]]
>
>
>Anyhow, ao far, i'm looking at the Hanns-G, the Samsung SyncMaster
>(941BW), And possobily the VIewSonic.  And the Dell UltraSharp.
>
>(gReat if Costco has these; but i'll try egghead.com too.)
>
>Anybody here in the States have any other recommmendation,
>plese gimmmee a shout:-)
>
>gary
>
>
>>
>> Preston
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
> --
>  Gary Kline  [EMAIL PROTECTED]  http://www.thought.org  Public Service Unix
>http://jottings.thought.org   http://transfinite.thought.org
>
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>

Hi

I'm a computer parts reseller in Australia (If that actually counts
for anything).

We personally prefer Samsung (3 years on site warranty) for most of
our displays here in the office and to customers.

And please please check the warranty terms, some will say 3 years
onsite, and in fine print, pick up and return, so you'll be out of a
monitor whilst its being repaired.

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


fsync: giving up on dirty - gjournal on 7.0-R

2008-08-12 Thread David N
Hi,

On my FreeBSD 7.0-RELEASE amd64 i get the following in my logs when I
was upgrading my ports via portmaster.

fsync: giving up on dirty
0xff00014745d0: tag devfs, type VCHR
usecount 1, writecount 0, refcount 173 mountedhere 0xff00013b2800
flags ()
v_object 0xff000143f1a0 ref 0 pages 2057
 lock type devfs: EXCL (count 1) by thread 0xff0001302340 (pid 39)
dev mirror/gm0s3.journal
GEOM_JOURNAL: Cannot suspend file system /usr (error=35).

gm0s3.journal has a 2GB journal. Journal and data is on the same disk (mirror)

Is this something to worry about?

Smart for the disks aren't reporting any errors. this is with short
tests and extended tests.


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


Re: fsync: giving up on dirty - gjournal on 7.0-R

2008-08-12 Thread David N
2008/8/13 Vincent Hoffman <[EMAIL PROTECTED]>:
> My understanding is that its nothing to worry about.
>
> http://freebsd.monkey.org/freebsd-stable/200609/msg00020.html
> for example, where [EMAIL PROTECTED] who wrote gjounal says
> "It happens sometimes under load, haven't investigated yet what exactly
> is happening, but you can ignore it for now, it's harmless, it just
> means journal switch will be done a bit later."
>
> Vince
>
> David N wrote:
>>
>> Hi,
>>
>> On my FreeBSD 7.0-RELEASE amd64 i get the following in my logs when I
>> was upgrading my ports via portmaster.
>>
>> fsync: giving up on dirty
>> 0xff00014745d0: tag devfs, type VCHR
>>usecount 1, writecount 0, refcount 173 mountedhere 0xff00013b2800
>>flags ()
>>v_object 0xff000143f1a0 ref 0 pages 2057
>> lock type devfs: EXCL (count 1) by thread 0xff0001302340 (pid 39)
>>dev mirror/gm0s3.journal
>> GEOM_JOURNAL: Cannot suspend file system /usr (error=35).
>>
>> gm0s3.journal has a 2GB journal. Journal and data is on the same disk
>> (mirror)
>>
>> Is this something to worry about?
>>
>> Smart for the disks aren't reporting any errors. this is with short
>> tests and extended tests.
>>
>>
>> Regards
>> David N
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "[EMAIL PROTECTED]"
>>
>
>

Thank you for the info, that puts my mind to rest.

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


Re: Very Slow Samba

2008-08-15 Thread David N
2008/8/15 Mauro Ribeiro - Class Consultoria e Assessoria <[EMAIL PROTECTED]>:
> Hi All,
>
>
>
> I had migrated a Windows 2003 Server to a Samba Server (only for file share)
>
>
>
> We share only the company system. That's a 3mb Delphi .exe and a 1,5mb
> libmysql.dll.
>
>
>
> BTW, the system loads 4 .jpg files from the server.
>
>
>
> On our old Windows Server the system was very fast on Samba is damn slow.
> About 2 mins to load.
>
>
>
> I have no clue on what to do.
>
>
>
> Server Specs: Pentium 4 3.0Ghz 1GB RAM, FreeBSD 7.0-STABLE and Samba
> 3.0.28a.
>
>
>
> Here's is my smb.conf
>
>
>
> [global]
>
>   workgroup = CLASS
>
>   server string = Class Data Server
>
>   security = share
>
>   hosts allow = 192.168.0.
>
>   load printers = yes
>
>   printing = cups
>
>   log file = /var/log/samba/log.%m
>
>   max log size = 150
>
>   socket options = TCP_NODELAY
>
>   interfaces = 192.168.0.0/24
>
>   dns proxy = no
>
>   veto oplock files = /*.exe/*.dll/*.jpg/*.pdf/*.gif/
>
>   oplock break wait time = 1
>
>   debug level = 10
>
>
>
> [Class]
>
>Comment = Class
>
>Browseable = Yes
>
>Writeable = Yes
>
>Force User = root
>
>create mask = 0777
>
>path = /dados/samba/Class
>
>Guest ok = Yes
>
>fake oplocks = yes
>
>
>
>
>
> Best Regards,
>
> Mauro Ribeiro
>
>
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>


Is there a pause when it fetches the files? I had this problem with my
samba servers, its usually related to winbind.

Thats all i can think of.

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


Re: Samba PDC roaming profiles problem

2010-08-02 Thread David N
On 2 August 2010 21:32, Alex de Kruijff  wrote:
> Hi,
>
> I've setup a LDAP backend Samba PDC. I can gain access to shares and
>
> login with a user that is in LDAP, but have a prblem setting up the
> roaming profile stuff. I've been trying to solve this problem for some
> time now, and have tried everything I could think of, but without much
> luck. I keep getting the following error messages:
>
> "Windows cannot locate the server copy of your roaming profile and is
> attempting to log you on with your local profile. Changes to the profile
> will not be copied to the server when you logoff. Plausible causes of
> this error include network problem or insufficient security rights. If
> this problem persists, contact your network administrators. DETAILS -
> The network path was not found."
>
> Followed by:
>
> "Windows cannot find the local profile and is logging on with a tempory
> profiles. Changes to this profile will be lost when you logoff."
>
> Here is my smb.conf:
>
>> [global]
>>     security = user
>>     name resolve order = wins lmhosts hosts bcast
>>     deadtime = 15
>>     map to guest = Never
>>     csc policy = disable
>>     hosts allow = 127. 192.168.
>>     server string =
>>     workgroup = Nieuwegein
>>     time server = yes
>>     wins support = yes
>>     domain master = yes
>>     domain logons = yes
>>    encrypt passwords = yes
>>     local master = yes
>>     logon drive = Z:
>>     logon path = \\%L\profiles\%U
>>     preferred master = yes
>>     os level = 255
>>     encrypt passwords = yes
>>     passdb backend = ldapsam:ldap://localhost/
>>     enable privileges = Yes
>>     pam password change = yes
>>     passwd program = /usr/local/sbin/smbldap-passwd %u
>>     passwd chat = *New*password* %n\n *Retype*new*password* %n\n
>
> *all*authentication*tokens*updated*
>>
>>     unix password sync = Yes
>>     ldap delete dn = Yes
>>     ldap ssl = Off
>>     ldap passwd sync = Yes
>>     ldap admin dn = cn=admin,dc=specialisterren,dc=nl
>>     ldap suffix = dc=specialisterren,dc=nl
>>     ldap group suffix = ou=Groups
>>     ldap idmap suffix = ou=Users
>>     ldap machine suffix = ou=Computers
>>     ldap user suffix = ou=Users
>>     idmap backend = ldap:ldap://localhost
>>     idmap uid = 1-2
>>     idmap gid = 1-2
>>     add user script = /usr/local/sbin/smbldap-useradd -a -m "%u"
>>     delete user script = /usr/local/sbin/smbldap-userdel "%u"
>>     add group script = /usr/local/sbin/smbldap-groupadd -p "%g"
>>     delete group script = /usr/local/sbin/smbldap-groupdel "%g"
>>     add user to group script = /usr/local/sbin/smbldap-groupmod -m
>
> "%u" "%g"
>>
>>     delete user from group script = /usr/local/sbin/smbldap-groupmod
>
> -x "%u" "%g"
>>
>>    set primary group script = /usr/local/sbin/smbldap-usermod -g "%g"
>
> "%u"
>>
>>     add machine script = /usr/local/sbin/smbldap-useradd -w "%u"
>>    template homedir = /home/%U
>>     template shell = /bin/csh
>>    getwd cache = yes
>>    socket options = SO_KEEPALIVE TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=819
>>    use sendfile = yes
>>    mangle prefix = 6 # How to mangle Long Filenames in to 8.3 DOS
>>    log level = 1
>>    log file = /var/log/samba/log.%m
>>    max log size = 50
>>     syslog = 0
>>
>>  [template]
>>  # edited out, has no path
>>
>>  [homes]
>>    comment = Home users
>>    inherit owner = yes
>>    dos filemode = yes
>>    writable = yes
>>    read list = @wheel @"Domain Admins"
>>    valid users = "%S"
>>     create mask = 0740
>>     directory mask = 0750
>>     aio read size = 16384
>>
>>  [netlogon]
>>     comment = Network Logon Service
>>     path = /disk/netlogon
>>     browseable = no
>>     read only = yes
>>     aio read size = 16384
>>
>>  [profiles]
>>     comment = Roaming Profiles Directory
>>     path = /disk/profiles
>>     administrative share = true
>>     browseable = no
>>    writable = yes
>>     create mask = 0600
>>     directory mask = 0700
>>     aio read size = 16384
>>     public = yes
>>     # The root preexec command performs:
>>    # mkdir -pm 750 /disk/profiles/%U-%a; chown %U /disk/profiles/%U-%a
>>     # I started off without this.
>>     root preexec = /root/sbin/profiles.sh %U %a
>>
>> # edited out other shares
>
> ldapsearch gives me:
>>
>>  # tester, Users, specialisterren.nl
>>  dn: uid=tester,ou=Users,dc=specialisterren,dc=nl
>>  objectClass: top
>>  objectClass: person
>>  objectClass: organizationalPerson
>>  objectClass: inetOrgPerson
>>  objectClass: posixAccount
>>  objectClass: shadowAccount
>>  objectClass: sambaSamAccount
>>  cn: tester
>>  sn: tester
>>  givenName: tester
>>  uid: tester
>>  uidNumber: 10005
>>  gidNumber: 513
>>  homeDirectory: /home/tester
>>  loginShell: /bin/sh
>>  gecos: Tes ter
>>  sambaLogonTime: 0
>
> (Edited out the other stuff)
>
> I can acces \\Server\profiles, \\Server\netlogon using my tester
> account. /etc/passwd contains no line with the user tester. And I can
> login under SSH with the tester account.
>

smbfs

2002-11-11 Thread David N Hare
Hi  Ive installed smbfs from ports, and when I went to rename files in
/usr/local/etc  and /usr/local/etc/rc.d  , the conf file and startup
script are not there.

During install I get "smbfs-1.4.1 OS versions subsequent to 440002
include smbfs."  I am assuming that means that everything after 4.0
release include smbfs,  If that is the case why are nsmb.conf and
smbfs.sh not where they are supposed to be.

I did a make deinstall and it said not installed skipping.

I am running 4.7
On two intel servers a l440gx and a stl2  I am trying to mount some
win2k discs on the stl2 machine that acts as a file server for the
l440gx which is running Apache.

I currently have Samba running to the point that I have Icons for the
two bsd boxes on my win2k machine, but have not set up shares yet.

Any pointers or maps to information would be greatly appreciated.
Bowing humbly

David N Hare
http://www.teapottraveler.com
[EMAIL PROTECTED]



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



missing map file

2002-12-03 Thread David N Hare
Hey all been struggling with this one and I give up

It started when I tried to get majordomo up and possibly trying to get
roots mail forwarded;

I get Dec 3 12:48:51 teapottraveler sm-mta[7759]: gB3HmgVn007758:
SYERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db:
No such file or directory

I created a aliases.db and message changed to inappropriate file type or
format I removed it and message reverted to one above.

I deinstalled majordomo and message continues

The only line I changed in aliases is root: pixiedave to forward roots
mail to pixiedaves commented out or uncommented the message repeats
every few minutes

Any help or pointers  thanks


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