Re: dump/restore don't work, handbook lies

2008-09-02 Thread Peter Schuller
> dump -0af /mnt/d201gly-0.dump /

[snip]

> restore -rf /mnt/restore/d201gly-0.dump
> 
> it complains about '/' issues
> it complains about 'expecting YY got ZZ'

I very rarely use dump/restore, but based on the man page I cannot see
what's wrong other than the live fs issue already mentioned.

Since no one has suggested the real problem, I would like to suggest
that all those 'expecting ...' are also related to whatever errors
were printed at the very beginning. So an actual dump of the exact
output there would be useful.

FWIW, for doing stuff like moving the root fs (which I have done more
often than I would like) I recommend using tar -cp or rsync -a. I
preserves everything I care about preserving, and it has well-known
and well-tested semantics that I feel comfortable with.

-- 
/ Peter Schuller

PGP userID: 0xE9758B7D or 'Peter Schuller <[EMAIL PROTECTED]>'
Key retrieval: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org



pgpR9EPx4KtGx.pgp
Description: PGP signature


Re: Question on bind page

2008-09-02 Thread Michael Powell
Richard Yang wrote:

> Dear support,
> 
> I am trying to follow through
> http://www.freebsd.org/doc/en/books/handbook/network-dns.html as to setup
> a dns server
> When I try
> /etc/rc.d/named forcestart
> it always said
> Starting named
> 
> When I use ps to check whether it actually started, I can confirm it is
> not started.
> To start named is pretty much the first step before going to configure
> BIND. I have to reinstall it and it still doesn't work.
> 
> Could you give me some hints?
> Thank you.
> 

man rndc

-Mike


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


Re: Question on bind page

2008-09-02 Thread Jonathan McKeown
On Tuesday 02 September 2008 08:12:13 Richard Yang wrote:
[snip]
> To start named is pretty much the first step before going to configure
> BIND. I have to reinstall it and it still doesn't work.

Personally, I would have said it's exactly the other way round: you shouldn't  
start named until after you've configured it.

Are you seeing any messages in the log files (I'm fairly sure BIND logs 
in /var/log/messages)?

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


starting sysinstall at boot time

2008-09-02 Thread joel

Hi,

Something seems magic in freebsd: I am looking for what does start
sysinstall at boot time when I boot from the installation CD.
The only thing related to systinstall is the setting of the init_path variable
in the loader.rc file but it is in comment thus the loader should finish
by launchinig init as usual so what does make it launch sysinstall instead?

I also examined /etc/ttys which is used by init but this file is standard
and I do not find anything that could tell init to start sysinstall instead
of getty!

As you may guess, my goal is to create an customized installation CD in
order to install a network appliance wich embedds freebsd.

Sincerily,
Joel Levee




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


Re: /etc/hosts

2008-09-02 Thread Derek Ragona

At 08:53 PM 9/1/2008, Tom Marchand wrote:

I am trying to resolve the 192.168.2.3 address.

::1 localhost.local localhost
127.0.0.1   localhost.local localhost
72.15.233.132   host.local host
72.15.233.132   host.local.
192.168.2.3 test

On Sep 1, 2008, at 8:10 PM, Glenn Sieb wrote:


Tom Marchand said the following on 9/1/08 7:52 PM:

Hi,

I've got an issue where hosts defined in my /etc/hosts are not being
resolved.  I've looked at resolv.conf, host.conf and nsswitch.conf
and
everything looks ok.  It's my understanding that with the below
configurations, /etc/hosts should be used first then DNS.  Correct?
This is a 6.1 system.


Can we see your /etc/hosts file?

Best,
--Glenn


What error are you getting from ping?

Is it not able to ping the ip 192.168.2.3?
Or is the ping unable to route to that network and host?

-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: starting sysinstall at boot time

2008-09-02 Thread Manolis Kiagias

[EMAIL PROTECTED] wrote:

Hi,

Something seems magic in freebsd: I am looking for what does start
sysinstall at boot time when I boot from the installation CD.
The only thing related to systinstall is the setting of the init_path variable
in the loader.rc file but it is in comment thus the loader should finish
by launchinig init as usual so what does make it launch sysinstall instead?

I also examined /etc/ttys which is used by init but this file is standard
and I do not find anything that could tell init to start sysinstall instead
of getty!

As you may guess, my goal is to create an customized installation CD in
order to install a network appliance wich embedds freebsd.

Sincerily,
Joel Levee


  


This is a tricky one, kind of black magic ;)

Seriously, it is quite simple:

You correctly located the init_path variable. This contains the 
following (on a 6.3-RELEASE CD I have handy at the moment):


#init_path="/sbin/init:/sbin/oinit:/sbin/init.bak:/rescue/init:/stand/sysinstall"

This is commented out, but the values shown are the built-in defaults.

Now, if you take a look at the CD filesystem structure, *there is* an 
/sbin/init and there is *no* /stand/sysinstall. So, you would assume 
that init would run first.


However, here comes the caveat:

The root filesystem when you boot your installation media, is  *not* the 
CD-ROM itself. Look at /boot/loader.conf:


mfsroot_load="YES"
mfsroot_type="mfs_root"
mfsroot_name="/boot/mfsroot"

You will find /boot/mfsroot.gz as the file that acts as the root filesystem.
You can actually examine the contents of this if you mount it using 
mdconfig (assuming you mounted your install CD on /cdrom):


cp /cdrom/boot/mfsroot.gz /tmp
cd /tmp
unzip mfsroot.gz (Can probably be mounted compressed(?), did not check)
mdconfig -f mfsroot md0
mount /dev/md0 /mnt

Check the contents of /mnt:

bin   boot  dev   etc   mnt   sbin  stand var

sbin is a symbolic link to stand. There is no '/stand/init' in , but   
'/stand/sysinstall' exists. Therefore, sysinstall executes ;)

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


Re: /etc/hosts

2008-09-02 Thread Sahil Tandon
Derek Ragona <[EMAIL PROTECTED]> wrote:

> What error are you getting from ping?

I think the OP said he did not have a problem with ping.

-- 
Sahil Tandon <[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: starting sysinstall at boot time

2008-09-02 Thread Artis Caune
On Tue, Sep 2, 2008 at 12:49 PM,  <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Something seems magic in freebsd: I am looking for what does start
> sysinstall at boot time when I boot from the installation CD.
> The only thing related to systinstall is the setting of the init_path variable
> in the loader.rc file but it is in comment thus the loader should finish
> by launchinig init as usual so what does make it launch sysinstall instead?

I think /sbin/init is replaced with sysinstall.


> As you may guess, my goal is to create an customized installation CD in
> order to install a network appliance wich embedds freebsd.

I also use custom install script, and I replace /etc/rc on mfs image.




-- 
regards,
Artis Caune

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


Re: dump/restore don't work, handbook lies

2008-09-02 Thread Kirk Strauser
On Sunday 31 August 2008 18:03:53 Lloyd M Caldwell wrote:

> I needed to increase the size of my freebsd root (/).  I booted, single
> user, attached a large usb freebsd formatted file system to receive the
> backup image.

And you're sure that the "large usb freebsd formatted file system" is intact 
and that your dump is uncorrupted?
-- 
Kirk Strauser
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Subversion 1.5.1 authentication with OpenLDAP 2.4.11 via SASL2: trouble, svn never contacts LDAP :-(

2008-09-02 Thread O. Hartmann

Hello,
I'm like floating helpless in the water. Scenario: I'd like to 
authenticate some useres having write access to specific repositories on 
 the subversion server via OpenLDAP and already set up things, which 
are decribed below in further detail. But trying to check out or import 
or check in things never worked due to svnserve never contacts the LDAP.


I think I have already every prerequisite software installed. Here it is:


cyrus-sasl-2.1.22_1 RFC  SASL (Simple Authentication and Security Layer)
cyrus-sasl-ldapdb-2.1.22 SASL LDAPDB auxprop plugin
openldap-sasl-client-2.4.11 Open source LDAP client implementation with 
SASL2 support

openldap-sasl-server-2.4.11 Open source LDAP server implementation
Subversion 1.5.1

OpenLDAP is running fine, subversiona is also running fine.

Out of the most recent documentations I took several 'cook-book' 
examples to perform successfully access to repositories by LDAP 
authenticated users.


In LDAP I created

olcAuthzRegEx with uid
0}"uid=(^[^,].*),cn=realm.de,cn=external,cn=auth" 
"cn=svnserve,dc=dc=realm,dc=de"


The DIT contains this entity:

dn: cn=svnproxy,dc=realm,dc=de
objcetClass: top
objectClass: organizationalPerson
cn: svnproxy
sn: svnproxy
authzTo: ldap:///dc=realm,dc=de??base?(objectClass=posixAccount)

I created a file in /usr/local/etc/sasl2/svn.conf which conatins 
following things:


pwcheck_method: auxprop
auxprop_plugin: ldap
ldapdb_uri: ldap://ldap.realm.de/
#ldapdb_id: svnproxy
dapdb_mech:EXTERNAL
ldapdb_rc:  /usr/local/etc/sasl2/svn_ldaprc
ldapdb_startls:yes
log_level: 7

The autheticating client machine is already part of an LDAP backed up 
network and authenticates users successfully.



A server.pem and server.key SSL certificate and key-file are present and 
 have been approved working.


After installing cyrus-sasl2-ldap port I recompiled everything (LDAP, 
subversion and fellows ...) making sure I did not forget anything.


Subversion's repository has been configured out of the handbook, very 
simple and is already using SASL. But whatever I do, svn complains about 
non-existent users in the database:


svn: Authentication error from server: SASL(-13): user not found: no 
secret in database

svn: Your commit message was left in a temporary file:

On the LDAP-server side, I never see a contact-attempt (server runs with 
logging ACL and stats), nor do I see any reasonable logging messages on 
the client side although I configured loglevel 7, but this seems to be a 
simple bogus fake option.


I can't tell how many different ways I tried (but with that crap of 
documentation in SASL it is hard to come along with some clues).


I also tried the different ways of user mapping described in the 
OpenLDAP 2.4 docu, but without success - I can't see any logging when 
the attempt to access a mapped user is performed. Even worser, it is 
impossible to make 'authzTo' visible in ldapvi or LUMA, so I fly blind 
when creating/adding this attribute.


Well, I'm not capable of getting any LDAP contact so I guess there is 
something special with the port or I'm to stupid reading the documentation.


If there is someone out here running a similar scenario, you are welcome 
to give me some hints.


Thanks in advance,

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


su: _secure_path: cannot stat /dev/null/.login_conf: Not a directory, Any help?

2008-09-02 Thread VeeJay
Hi

On the screen it says

 su: _secure_path: cannot stat /dev/null/.login_conf: Not a directory

Any help to correct this problem?


-- 
Thanks!

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


How to compare 2 images from command line

2008-09-02 Thread FreeBSD

Hi everyone,

I'm trying to determine if 2 jpeg images are identical. The images are 
screenshots taken with scrot at different times. The point is to know if 
the display is working correctly. I tried to use 'diff' but without 
success, probably because of the metadata included in the image. I also 
tried the 'compare' command from imagemagick, but it produce an image 
containing the difference between the 2 images instead of telling me if 
both images are identical.


So, my question is what are you using to determine if 2 images are 
identical?


I'm using FreeBSD 7.0 and I need to be able to script this comparaison 
for an integration in Nagios.


Thank you,

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


"SYSCTL" error message upon bootup

2008-09-02 Thread Gerard
For no apparent reason, the following error message has suddenly
started showing up when I reboot the machine:

sysctl: unknown oid 'net.fibs'


I am running FBSD-6.3 presently. Is this error important and if so,
what can I do to correct it?

Thanks!

-- 
Gerard
[EMAIL PROTECTED]

All extremists should be taken out and shot.


signature.asc
Description: PGP signature


RE: _secure_path: cannot stat /dev/null/.login_conf: Not adirectory, Any help?

2008-09-02 Thread Barry Byrne
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of VeeJay
> Sent: 02 September 2008 15:54
> To: FreeBSD-Questions; VeeJay
> Subject: su: _secure_path: cannot stat /dev/null/.login_conf: 
> Not adirectory, Any help?
> 
> Hi
> 
> On the screen it says
> 
>  su: _secure_path: cannot stat /dev/null/.login_conf: Not a directory
> 
> Any help to correct this problem?
> 
> 
> -- 
> Thanks!

You haven't said what you did, but it would look to me like you set the home
directory of a user to /dev/null and are now trying to su to that user. If
this is the case, fix the home directory to the correct path.

 - Barry




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


Re: How to compare 2 images from command line

2008-09-02 Thread Julien Cigar
/sbin/md5 image1.ext image2.ext ?

On Tue, 2008-09-02 at 11:02 -0400, FreeBSD wrote:
> Hi everyone,
> 
> I'm trying to determine if 2 jpeg images are identical. The images are 
> screenshots taken with scrot at different times. The point is to know if 
> the display is working correctly. I tried to use 'diff' but without 
> success, probably because of the metadata included in the image. I also 
> tried the 'compare' command from imagemagick, but it produce an image 
> containing the difference between the 2 images instead of telling me if 
> both images are identical.
> 
> So, my question is what are you using to determine if 2 images are 
> identical?
> 
> I'm using FreeBSD 7.0 and I need to be able to script this comparaison 
> for an integration in Nagios.
> 
> Thank you,
> 
> Martin
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
-- 
Julien Cigar
Belgian Biodiversity Platform
http://www.biodiversity.be
Université Libre de Bruxelles (ULB)
Campus de la Plaine CP 257
Bâtiment NO, Bureau 4 N4 115C (Niveau 4)
Boulevard du Triomphe, entrée ULB 2
B-1050 Bruxelles
Mail: [EMAIL PROTECTED]
@biobel: http://biobel.biodiversity.be/person/show/471
Tel : 02 650 57 52

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


Re: How to compare 2 images from command line

2008-09-02 Thread FreeBSD

Tom Marchand a écrit :

Hash the images and compare the hashes.

 -- Original message --
From: FreeBSD <[EMAIL PROTECTED]>

Hi everyone,

I'm trying to determine if 2 jpeg images are identical. The images are 
screenshots taken with scrot at different times. The point is to know if 
the display is working correctly. I tried to use 'diff' but without 
success, probably because of the metadata included in the image. I also 
tried the 'compare' command from imagemagick, but it produce an image 
containing the difference between the 2 images instead of telling me if 
both images are identical.


So, my question is what are you using to determine if 2 images are 
identical?


I'm using FreeBSD 7.0 and I need to be able to script this comparaison 
for an integration in Nagios.


Thank you,

Martin


I just tried it and it doesn't work. The hashes are different. I can't
say that I'm surprised since 'diff' is "seeing" a difference between the
two identical images.


Thanks for the suggestion



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


Re: How to compare 2 images from command line

2008-09-02 Thread Andrew Gould
On Tue, Sep 2, 2008 at 10:23 AM, FreeBSD <[EMAIL PROTECTED]> wrote:

> Tom Marchand a écrit :
>
>> Hash the images and compare the hashes.
>>
>>  -- Original message --
>> From: FreeBSD <[EMAIL PROTECTED]>
>>
>>> Hi everyone,
>>>
>>> I'm trying to determine if 2 jpeg images are identical. The images are
>>> screenshots taken with scrot at different times. The point is to know if the
>>> display is working correctly. I tried to use 'diff' but without success,
>>> probably because of the metadata included in the image. I also tried the
>>> 'compare' command from imagemagick, but it produce an image containing the
>>> difference between the 2 images instead of telling me if both images are
>>> identical.
>>>
>>> So, my question is what are you using to determine if 2 images are
>>> identical?
>>>
>>> I'm using FreeBSD 7.0 and I need to be able to script this comparaison
>>> for an integration in Nagios.
>>>
>>> Thank you,
>>>
>>> Martin
>>>
>>
> I just tried it and it doesn't work. The hashes are different. I can't
> say that I'm surprised since 'diff' is "seeing" a difference between the
> two identical images.
>
>
> Thanks for the suggestion
>

Yes, there's a huge difference between testing differences in images and
testing differences in files.  What do you mean by "...know if the display
is working correctly."?

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


RE: Backup Exec v12

2008-09-02 Thread Johnson, James
Thanks, I'll try that today.

I'll let you know...

James Johnson
System Administrator
Desk 858-207-5591
Main 858-592-6262
Fiserv - Emerald Publications

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Norberto
Meijome
Sent: Thursday, August 21, 2008 5:04 AM
To: freebsd-questions@freebsd.org
Subject: Re: Backup Exec v12

On Wed, 20 Aug 2008 21:41:35 -0700
"Johnson, James" <[EMAIL PROTECTED]> wrote:

> Does anyone have any experience installing the backup exec agent
(BEWS_12.1364_LINUX-UNIX-MAC_AGENTS.tar.gz) on Freebsd 7.

i don't recall if it's v12 that i've used,but it runs relatively well -
just make sure you have linux compatibility layer enabled.

>
> I've been trying for the past few days with no progress. I called for
support, but guess what Symantec does not support Freebsd.

i hope you really didn't expect something useful out of that call ... :)

> # ./installralus
> Not Supported Yet.
> ./installralus: ./perl//bin/perl: not found
> 
[...]
> 
> 
> vmFreebsd# find / -name perl
> /usr/bin/perl
> /usr/local/bin/perl
[...]

> 
> ./perl/$OS/bin/perl -I. -I$PATH -I$VXIF_HOME
-I./perl/$OS/lib/$PERL_VER installr
> alus.pl $*

have u tried changing that call to perl to the /usr/local/bin/perl ? 

at least in some versions I tried, all you have to do is run the exec ,
forget the installer, it worked ok for me.. YMMV

B

_
{Beto|Norberto|Numard} Meijome

If you were supposed to understand it, we wouldn't call it 'code'.

I speak for myself, not my employer. Contents may be hot. Slippery when
wet. Reading disclaimers makes you go blind. Writing them is worse. You
have been Warned.
___
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: How to compare 2 images from command line

2008-09-02 Thread FreeBSD

Andrew Gould a écrit :



On Tue, Sep 2, 2008 at 10:23 AM, FreeBSD <[EMAIL PROTECTED] 
> wrote:


Tom Marchand a écrit :

Hash the images and compare the hashes.

 -- Original message --
From: FreeBSD <[EMAIL PROTECTED]
>

Hi everyone,

I'm trying to determine if 2 jpeg images are identical. The
images are screenshots taken with scrot at different times.
The point is to know if the display is working correctly. I
tried to use 'diff' but without success, probably because of
the metadata included in the image. I also tried the
'compare' command from imagemagick, but it produce an image
containing the difference between the 2 images instead of
telling me if both images are identical.

So, my question is what are you using to determine if 2
images are identical?

I'm using FreeBSD 7.0 and I need to be able to script this
comparaison for an integration in Nagios.

Thank you,

Martin


I just tried it and it doesn't work. The hashes are different. I can't
say that I'm surprised since 'diff' is "seeing" a difference between the
two identical images.


Thanks for the suggestion


Yes, there's a huge difference between testing differences in images and 
testing differences in files.  What do you mean by "...know if the 
display is working correctly."?


Andrew


I want to determine if Mplayer is working correctly. The best way to be 
sure is to check if the display on the screen is changing. That's the 
purpose of the screenshots. The screenshots are taken by Nagios every 5 
minutes and the new screenshot is compared with the preceding one. But, 
by now, it doesn't work because every tool we try is seeing a diffence 
between 2 identical images.


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


Re: How to compare 2 images from command line

2008-09-02 Thread Wojciech Puchar
I'm trying to determine if 2 jpeg images are identical. The images are 
screenshots taken with scrot at different times. The point is to know if the 
display is working correctly. I tried to use 'diff' but without success, 
probably because of the metadata included in the image. I also tried the


cmp does byte-to byte comparision.

if you want to make sure uncompressed bitmaps are the same then uncompress 
(cmp) and then compare

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


Re: "SYSCTL" error message upon bootup

2008-09-02 Thread Polytropon
On Tue, 2 Sep 2008 11:11:20 -0400, Gerard <[EMAIL PROTECTED]> wrote:
> For no apparent reason, the following error message has suddenly
> started showing up when I reboot the machine:
> 
> sysctl: unknown oid 'net.fibs'
> 
> 
> I am running FBSD-6.3 presently. Is this error important and if so,
> what can I do to correct it?

On FreeBSD 7, net.fibs is a valid oid. Can you determine when
(in the booting process) this message is shown? Maybe you have
a setting of net.fibs in /etc/sysctl.conf, or maybe this is a
value set by some software package?

% sysctl net.fibs
net.fibs: 1

In /usr/include/net/route.h, something regarding FIBS is mentioned...


-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to compare 2 images from command line

2008-09-02 Thread Polytropon
On Tue, 02 Sep 2008 11:31:49 -0400, FreeBSD <[EMAIL PROTECTED]> wrote:
> I want to determine if Mplayer is working correctly. The best way to be 
> sure is to check if the display on the screen is changing. That's the 
> purpose of the screenshots.

And this works? I always thought mplayer would output the video
stream via DRI / DRM, so on the screenshot, nothing would be seen...



> The screenshots are taken by Nagios every 5 
> minutes and the new screenshot is compared with the preceding one. But, 
> by now, it doesn't work because every tool we try is seeing a diffence 
> between 2 identical images.

The images may be identical in content, but it's completely possible
that other data (others than the pictural information) is coded into
the file, for example date and time of creation, so the files may be
different, while the pictures they show are identical.

It would be useful first to "decompile" the files - create a new file
that only contains pictural information, nothing more.



-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Cron Question

2008-09-02 Thread ElihuJ

Hi all. I have a question about cron jobs that seem to be running to long or
with multiple copies of itself. For example, I have a backup script that I
run that seems to make multiple copies of itself. If I view the running
processes I see numerous instances of the same cron job. Is there something
I can do to limit this from happening? When it does, it drains my CPU and
some of my other processes are non responsive. Any help would be
appreciated. Thank you.
-- 
View this message in context: 
http://www.nabble.com/Cron-Question-tp19272656p19272656.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


Re: How to compare 2 images from command line

2008-09-02 Thread Bill Moran
In response to FreeBSD <[EMAIL PROTECTED]>:

> Andrew Gould a écrit :
> > 
> > 
> > On Tue, Sep 2, 2008 at 10:23 AM, FreeBSD <[EMAIL PROTECTED] 
> > > wrote:
> > 
> > Tom Marchand a écrit :
> > 
> > Hash the images and compare the hashes.
> > 
> >  -- Original message --
> > From: FreeBSD <[EMAIL PROTECTED]
> > >
> > 
> > Hi everyone,
> > 
> > I'm trying to determine if 2 jpeg images are identical. The
> > images are screenshots taken with scrot at different times.
> > The point is to know if the display is working correctly. I
> > tried to use 'diff' but without success, probably because of
> > the metadata included in the image. I also tried the
> > 'compare' command from imagemagick, but it produce an image
> > containing the difference between the 2 images instead of
> > telling me if both images are identical.
> > 
> > So, my question is what are you using to determine if 2
> > images are identical?
> > 
> > I'm using FreeBSD 7.0 and I need to be able to script this
> > comparaison for an integration in Nagios.
> > 
> > Thank you,
> > 
> > Martin
> > 
> > 
> > I just tried it and it doesn't work. The hashes are different. I can't
> > say that I'm surprised since 'diff' is "seeing" a difference between the
> > two identical images.
> > 
> > 
> > Thanks for the suggestion
> > 
> > 
> > Yes, there's a huge difference between testing differences in images and 
> > testing differences in files.  What do you mean by "...know if the 
> > display is working correctly."?
> > 
> > Andrew
> 
> I want to determine if Mplayer is working correctly. The best way to be 
> sure is to check if the display on the screen is changing. That's the 
> purpose of the screenshots. The screenshots are taken by Nagios every 5 
> minutes and the new screenshot is compared with the preceding one. But, 
> by now, it doesn't work because every tool we try is seeing a diffence 
> between 2 identical images.

Can you put the screenshots into some other format?  As you mentioned,
the jpeg format includes metadata, which might include the creation
time and would cause every image to be unique from a filesystem view.
For example, I don't believe bitmaps include metadata, which would cause
them to be identical if the display were identical.

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


Re: How to compare 2 images from command line

2008-09-02 Thread FreeBSD

Bill Moran a écrit :

In response to FreeBSD <[EMAIL PROTECTED]>:


Andrew Gould a écrit :


On Tue, Sep 2, 2008 at 10:23 AM, FreeBSD <[EMAIL PROTECTED] 
> wrote:


Tom Marchand a écrit :

Hash the images and compare the hashes.

 -- Original message --
From: FreeBSD <[EMAIL PROTECTED]
>

Hi everyone,

I'm trying to determine if 2 jpeg images are identical. The
images are screenshots taken with scrot at different times.
The point is to know if the display is working correctly. I
tried to use 'diff' but without success, probably because of
the metadata included in the image. I also tried the
'compare' command from imagemagick, but it produce an image
containing the difference between the 2 images instead of
telling me if both images are identical.

So, my question is what are you using to determine if 2
images are identical?

I'm using FreeBSD 7.0 and I need to be able to script this
comparaison for an integration in Nagios.

Thank you,

Martin


I just tried it and it doesn't work. The hashes are different. I can't
say that I'm surprised since 'diff' is "seeing" a difference between the
two identical images.


Thanks for the suggestion


Yes, there's a huge difference between testing differences in images and 
testing differences in files.  What do you mean by "...know if the 
display is working correctly."?


Andrew
I want to determine if Mplayer is working correctly. The best way to be 
sure is to check if the display on the screen is changing. That's the 
purpose of the screenshots. The screenshots are taken by Nagios every 5 
minutes and the new screenshot is compared with the preceding one. But, 
by now, it doesn't work because every tool we try is seeing a diffence 
between 2 identical images.


Can you put the screenshots into some other format?  As you mentioned,
the jpeg format includes metadata, which might include the creation
time and would cause every image to be unique from a filesystem view.
For example, I don't believe bitmaps include metadata, which would cause
them to be identical if the display were identical.



Thank you! It did the trick. I just converted the image from png (sorry 
it wasn't jpeg...) to bmp and it works with cmp. Even diff now recognize 
both images as identical.


Thanks everyone for your support.

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


Re: How to compare 2 images from command line

2008-09-02 Thread FreeBSD

Polytropon a écrit :

On Tue, 02 Sep 2008 11:31:49 -0400, FreeBSD <[EMAIL PROTECTED]> wrote:
I want to determine if Mplayer is working correctly. The best way to be 
sure is to check if the display on the screen is changing. That's the 
purpose of the screenshots.


And this works? I always thought mplayer would output the video
stream via DRI / DRM, so on the screenshot, nothing would be seen...



Yes it works. I don't know how scrot takes it's screenshot but it does 
it well ;)


The screenshots are taken by Nagios every 5 
minutes and the new screenshot is compared with the preceding one. But, 
by now, it doesn't work because every tool we try is seeing a diffence 
between 2 identical images.


The images may be identical in content, but it's completely possible
that other data (others than the pictural information) is coded into
the file, for example date and time of creation, so the files may be
different, while the pictures they show are identical.

It would be useful first to "decompile" the files - create a new file
that only contains pictural information, nothing more.










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


Re: How to compare 2 images from command line

2008-09-02 Thread Andrew Gould
On Tue, Sep 2, 2008 at 10:31 AM, FreeBSD <[EMAIL PROTECTED]> wrote:

> Andrew Gould a écrit :
>
>>
>>
>> On Tue, Sep 2, 2008 at 10:23 AM, FreeBSD <[EMAIL PROTECTED]> [EMAIL PROTECTED]>> wrote:
>>
>>Tom Marchand a écrit :
>>
>>Hash the images and compare the hashes.
>>
>> -- Original message --
>>From: FreeBSD <[EMAIL PROTECTED]
>>>
>>
>>Hi everyone,
>>
>>I'm trying to determine if 2 jpeg images are identical. The
>>images are screenshots taken with scrot at different times.
>>The point is to know if the display is working correctly. I
>>tried to use 'diff' but without success, probably because of
>>the metadata included in the image. I also tried the
>>'compare' command from imagemagick, but it produce an image
>>containing the difference between the 2 images instead of
>>telling me if both images are identical.
>>
>>So, my question is what are you using to determine if 2
>>images are identical?
>>
>>I'm using FreeBSD 7.0 and I need to be able to script this
>>comparaison for an integration in Nagios.
>>
>>Thank you,
>>
>>Martin
>>
>>
>>I just tried it and it doesn't work. The hashes are different. I can't
>>say that I'm surprised since 'diff' is "seeing" a difference between
>> the
>>two identical images.
>>
>>
>>Thanks for the suggestion
>>
>>
>> Yes, there's a huge difference between testing differences in images and
>> testing differences in files.  What do you mean by "...know if the display
>> is working correctly."?
>>
>> Andrew
>>
>
> I want to determine if Mplayer is working correctly. The best way to be
> sure is to check if the display on the screen is changing. That's the
> purpose of the screenshots. The screenshots are taken by Nagios every 5
> minutes and the new screenshot is compared with the preceding one. But, by
> now, it doesn't work because every tool we try is seeing a diffence between
> 2 identical images.
>
> Thank you for your interest
>

Are you simply trying to determine whether the mplayer has finished playing
a movie (that you're not watching)?  It seems to me that the fact that the
image changes is not a good indication that mplayer is "working correctly",
only that the movie isn't running.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Cron Question

2008-09-02 Thread Albert Shih
 Le 02/09/2008 à 08:45:52-0700, ElihuJ a écrit
> 
> Hi all. I have a question about cron jobs that seem to be running to long or
> with multiple copies of itself. For example, I have a backup script that I
> run that seems to make multiple copies of itself. If I view the running
> processes I see numerous instances of the same cron job. Is there something
> I can do to limit this from happening? When it does, it drains my CPU and
> some of my other processes are non responsive. Any help would be
> appreciated. Thank you.

That's not the to cron to do that. You must put in your script some flags.

For example if you using 

rsnapshot (in the ports)

he put a lock file in /var/run (or what's ever you want) and don't start if
the script find this file. When the script is end the file is erase.

Something like

if_the_lock_file_exit :

exit 1

else

touch lock_file

my_script

rm lock_file

fi.

Regards

-- 
Albert SHIH
SIO batiment 15
Observatoire de Paris Meudon
5 Place Jules Janssen
92195 Meudon Cedex
Heure local/Local time:
Mar 2 sep 2008 18:01:25 CEST
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to compare 2 images from command line

2008-09-02 Thread FreeBSD

andrew clarke a écrit :

On Tue 2008-09-02 11:57:35 UTC-0400, FreeBSD ([EMAIL PROTECTED]) wrote:


Can you put the screenshots into some other format?  As you mentioned,
the jpeg format includes metadata, which might include the creation
time and would cause every image to be unique from a filesystem view.
For example, I don't believe bitmaps include metadata, which would cause
them to be identical if the display were identical.
Thank you! It did the trick. I just converted the image from png (sorry  
it wasn't jpeg...) to bmp and it works with cmp. Even diff now recognize  
both images as identical.


Before I read this I was going to suggest you could try removing the
metadata using something like jhead.  As it turns out, you say you're
using PNG format images, not JPEGs, but perhaps there's an equivalent
to jhead to work with metadata in PNG files - just as an
alternative to converting each PNG to BMP (which could be CPU intensive).

Regards
Andrew


Thank you for your "almost-suggestion" ;)

The screenshot are taken once every 5 minutes and the conversion was 
pretty instant. I don't think it will be a problem in our case.


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


Re: Cron Question

2008-09-02 Thread Paul Schmehl
--On September 2, 2008 6:03:51 PM +0200 Albert Shih <[EMAIL PROTECTED]> 
wrote:



 Le 02/09/2008 à 08:45:52-0700, ElihuJ a écrit


Hi all. I have a question about cron jobs that seem to be running to
long or with multiple copies of itself. For example, I have a backup
script that I run that seems to make multiple copies of itself. If I
view the running processes I see numerous instances of the same cron
job. Is there something I can do to limit this from happening? When it
does, it drains my CPU and some of my other processes are non
responsive. Any help would be appreciated. Thank you.


That's not the to cron to do that.


Actually, it could be.  If the script is started by cron and is still 
running when the next job is scheduled, cron will start another process. 
If they're both still running when the next job is scheduled, you'll have 
three processes running, etc., etc.


The first thing I would do is run the script manually and see how long it 
takes to complete.  Then set your cron jobs up to run with enough time 
between them for the script to complete and exit before the next job 
starts.



Paul Schmehl, If it isn't already
obvious, my opinions are my own
and not those of my employer.
**
WARNING: Check the headers before replying


Re: "SYSCTL" error message upon bootup

2008-09-02 Thread RW
On Tue, 2 Sep 2008 11:11:20 -0400
Gerard <[EMAIL PROTECTED]> wrote:

> For no apparent reason, the following error message has suddenly
> started showing up when I reboot the machine:
> 
> sysctl: unknown oid 'net.fibs'
> 
> 
> I am running FBSD-6.3 presently. Is this error important and if so,
> what can I do to correct it?
> 
> Thanks!
> 
Do you have apache?

http://groups.google.com/group/mailing.freebsd.ports-bugs/browse_thread/thread/b8f17e78869e738f
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to compare 2 images from command line

2008-09-02 Thread andrew clarke
On Tue 2008-09-02 11:57:35 UTC-0400, FreeBSD ([EMAIL PROTECTED]) wrote:

>> Can you put the screenshots into some other format?  As you mentioned,
>> the jpeg format includes metadata, which might include the creation
>> time and would cause every image to be unique from a filesystem view.
>> For example, I don't believe bitmaps include metadata, which would cause
>> them to be identical if the display were identical.
>
> Thank you! It did the trick. I just converted the image from png (sorry  
> it wasn't jpeg...) to bmp and it works with cmp. Even diff now recognize  
> both images as identical.

Before I read this I was going to suggest you could try removing the
metadata using something like jhead.  As it turns out, you say you're
using PNG format images, not JPEGs, but perhaps there's an equivalent
to jhead to work with metadata in PNG files - just as an
alternative to converting each PNG to BMP (which could be CPU intensive).

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


Re: Cron Question

2008-09-02 Thread Dan Nelson
In the last episode (Sep 02), Paul Schmehl said:
> --On September 2, 2008 6:03:51 PM +0200 Albert Shih wrote:
> >  Le 02/09/2008 à 08:45:52-0700, ElihuJ a écrit
> >> Hi all. I have a question about cron jobs that seem to be running
> >> to long or with multiple copies of itself. For example, I have a
> >> backup script that I run that seems to make multiple copies of
> >> itself. If I view the running processes I see numerous instances
> >> of the same cron job. Is there something I can do to limit this
> >> from happening? When it does, it drains my CPU and some of my
> >> other processes are non responsive. Any help would be appreciated.
> >> Thank you.
> >
> > That's not the to cron to do that.
> 
> Actually, it could be.  If the script is started by cron and is still
> running when the next job is scheduled, cron will start another
> process.  If they're both still running when the next job is
> scheduled, you'll have three processes running, etc., etc.

I use the lockfile command ( from the procmail port ) to ensure that
recurring cron jobs don't overlap if one run takes too long. For
example, to run mrtg on a 1-minute cycle but prevent multiple mrtgs
from running if one run takes longer than 1 minute:

* * * * * /usr/local/bin/lockfile -r 1 -l 3600 /tmp/mrtg.LCK && ( nice -19 
/usr/local/bin/mrtg /usr/local/etc/mrtg/mrtg.cfg ; rm /tmp/mrtg.LCK )

The -l 3600 tells lockfile to remove any lockfiles over an hour old (
if the machine was rebooted during an mrtg run for example )

-- 
Dan Nelson
[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: "SYSCTL" error message upon bootup

2008-09-02 Thread Gerard
On Tue, 2 Sep 2008 17:36:36 +0200
Polytropon <[EMAIL PROTECTED]> wrote:

[snip]

> On FreeBSD 7, net.fibs is a valid oid. Can you determine when
> (in the booting process) this message is shown? Maybe you have
> a setting of net.fibs in /etc/sysctl.conf, or maybe this is a
> value set by some software package?
> 
>   % sysctl net.fibs
>   net.fibs: 1
> 
> In /usr/include/net/route.h, something regarding FIBS is mentioned...

I could not find any mention of it in the 'route.h' file, nor is there
anything in the 'sysctl.conf' file. The message is displayed just
before the 'login' prompt.

How can I determine what program is causing this to occur?

-- 
Gerard
[EMAIL PROTECTED]

I am firm.  You are obstinate.  He is a pig-headed fool.

Katharine Whitehorn


signature.asc
Description: PGP signature


Re: dump/restore don't work, handbook lies

2008-09-02 Thread Jerry McAllister
On Sun, Aug 31, 2008 at 05:03:53PM -0600, Lloyd M Caldwell wrote:

> Hello,
> 
> this all on a 7.0 freebsd system.

There are a couple of things missing here.   You may have done them
and just not mentioned them, but...

> Dump/Restore do NOT work as indicated in the handbook (or man pages). It 
> would be better to remove information from the handbook rather then have 
> information that doesn't work.

I have used dump/restore hundreds or thousands of times, and
it works just as described although sometimes the media (tape
other disk, whatever) fails.  But that is a separate issue.
Dump was still working.

> I needed to increase the size of my freebsd root (/).  I booted, single 
> user, attached a large usb freebsd formatted file system to receive the 
> backup image.  I ran:
> 
>dump -0af /mnt/d201gly-0.dump /

Did you mount the large USB file system to /mnt?
   mount /dev/-whatever_the_device_name /mnt
Otherwise it wrote the dump to /mnt on the old disk which you wiped.

> it ran with no complaints and an image was left on the large usb file 
> system (d201gly-0.dump).

OK.  Probably must have done the mount (maybe)
doing a df -k would have told you if /mnt had the USB mounted on it.

Did you really look at and verify that image?

Before rebooting and starting up the cdrom and fixit, do a
  mkdir /junk
  cd /junk
  restore -ivf /mnt/d201gly-0.dump  
and use it to look around and maybe even restore a file or two in
that scratch directory /junk (or any name you prefer) to make sure 
it is really there.I always check dumps I must depend on because
tape media and occasionally others can be very unreliable - especially
DDS (DAT) and I have had to use a lot of that in the past.   So, it
has become a regular habit.   Checking it with one or two files is
no absolute guarantee that the whole dump is readable, but it sure
reveals the ones where I screwed up while making the dump and if the
whole media is bad.

> 
> I then booted off the livefs cdrom, went to the "Fix-it" from livefs.
> 
> I ran fdisk to setup a pc partition for freebsd owning the entire disk.

I presume you mean that you created a single FreeBSD slice on the disk.
Something like:

 fdisk -BI da0

> I ran disklabel to setup and define the swap and 'a' root partition.
> I ran disklabel to install boot blocks.

That is backwards of what I usually do.
I usually do the bsdlabel that writes a new label and put
on a boot block first - as in:

 bsdlabel -w -B da0s1

And then edit the label using bsdlabel to create the 'a' partition.

 bsdlabel -e da0s1

And edit it (with vi or whatever editor you have specified, I use vi)) so 
it has everything in an 'a' partition.   That usually consists of 
copying the 'c' line and changing the partition name ('c' to 'a') and
making it a '4.2BSD type instead of 'unused'

> I ran newfs on this new 'a' partition.

This should be straightforward.   Just:

 newfs /dev/da0s1a

Note, of course, if the disk is SATA or IDE, it is ad0 instead of da0.

> I ran fsck and mount on the new 'a' partition placing it at /mnt/root.
> I turned on the large usb drive, fsck'ed it and mounted it on /mnt/restore.

> I cd into /mnt/root and run:
> 
>restore -rf /mnt/restore/d201gly-0.dump
> 

This looks all right if you got the mounts right.

> it complains about '/' issues
> it complains about 'expecting YY got ZZ'

This is common and normally inconsequential on a dump of a live
file system - and a dump of root from a running system, even in
single user is a live filesystem.   It just means that something
changed from the time the dump directory was created and the
actual files were written out.

> after an hour it completes and NO data file were restored.  It did 
> recreate the directory structure but NOT A SINGLE FILE came back.  I've 
> studied the man pages and have no clue how to rectify this.  after 
> re-reading the handbook on backup basics, I'm sure that anyone using 
> them will loose everything.  They are simply useless.  take them offline.
> 
> This is not something a user can "practice", as most (I) don't have 
> duplicate hardware of everything to try dump/restore methods and find 
> out they don't work.
> 
> what went wrong?  how do i get my system back?

The most likely thing is getting the mounts wrong somewhere along
the line.  

Try looking at that dump file on the USB unit using  'restore -vf'
Use the fixit and see what is really on it.Go beyond the
directory index and try to restore a file or two.

eg, boot the fixit, make some space to write - maybe using /tmp
cd in to that space
mount that USB device/filesystem
do  restore -vf USB_FILE_SYSTEM  (whatever the dive name is)
cd all over and pick a couple of small files to restore.
If stuff is there, you should be able to restore -rf if the
  mounts are right.
If not, then you will need to use another backup - you do  
  make regular backups, of course.

> 
> [EMAIL PROTECTED]
> 
>

Re: dump/restore don't work, handbook lies

2008-09-02 Thread Jerry McAllister
On Sun, Aug 31, 2008 at 06:53:36PM -0500, J.D. Bronson wrote:

> At 05:03 PM 8/31/2008 -0600, Lloyd M Caldwell wrote:
> >Hello,
> >
> >this all on a 7.0 freebsd system.
> >
> >Dump/Restore do NOT work as indicated in the handbook (or man 
> >pages). It would be better to remove information from the handbook 
> >rather then have information that doesn't work.
> 
> Are you trying to resize the same disc or migrate to a NEW disk?
> 
> Migrating to a new (larger) disc is trivial, at least in my experience.
> (I have never tried to resize any partitions though on a same disc, 
> since new hard drives are cheap enough)
> 
> Here is what I do to migrate to a totally new disc:
> 
> Shutdown and install 2nd DRIVE
> boot machine...
> run sysinstall on the 2nd DRIVE (slice/dice/and setup MBR)
> 
> then I run a small script like this:
> (Some presumptions are made ahead of time here)
> 
> #!/bin/sh
> 
> newfs /dev/ad2s1a
> newfs /dev/ad2s1d
> newfs /dev/ad2s1e
> newfs /dev/ad2s1f
> newfs /dev/ad2s1g
> newfs /dev/ad2s1h
> sleep 4
> tunefs -n enable /dev/ad2s1a
> tunefs -n enable /dev/ad2s1d
> tunefs -n enable /dev/ad2s1e
> tunefs -n enable /dev/ad2s1f
> tunefs -n enable /dev/ad2s1g
> tunefs -n enable /dev/ad2s1h
> sleep 4
> mount /dev/ad2s1a /mnta
> mount /dev/ad2s1d /mntd
> mount /dev/ad2s1e /mnte
> mount /dev/ad2s1f /mntf
> mount /dev/ad2s1g /mntg
> mount /dev/ad2s1h /mnth
> 
> dump -C 32 -0Lf - / | ( cd /mnta ; restore xf - )
> dump -C 32 -0Lf - /usr | ( cd /mntd ; restore xf - )
> dump -C 32 -0Lf - /var | ( cd /mnte ; restore xf - )
> dump -C 32 -0Lf - /home | ( cd /mntf ; restore xf - )
> dump -C 32 -0Lf - /staff | ( cd /mntg ; restore xf - )
> dump -C 32 -0Lf - /users | ( cd /mnth ; restore xf - )
> 
> umount /mnt*
> 
> 
> Then shut down.
> Place the 2nd drive in the 1st slot and turn it back on.

This is the right way, except you left out creating the /mnta.../mnth
mount points - which you probably already have created, but are not
there on a base system.

jerry

> 
> Maybe there is a better or simpler way, but I have been doing this for years
> and never had any issues.
> 
> YMMV
> 
> -JD 
> 
> ___
> 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: dump/restore don't work, handbook lies

2008-09-02 Thread Jerry McAllister
On Mon, Sep 01, 2008 at 02:49:10AM +0100, RW wrote:

> On Sun, 31 Aug 2008 18:53:36 -0500
> "J.D. Bronson" <[EMAIL PROTECTED]> wrote:
> 
> >
> > dump -C 32 -0Lf - / | ( cd /mnta ; restore xf - )
> 
> One minor caveat: dumping a live filesystem require dump to take a
> snapshot, which in turn require soft-updates to be turned-on. The
> default in sysinstall is to enable it for everything but the root
> partition.

It doesn't "rewuire" the snapshot.   That is a feature that is
helpful in not missing changes and needs the '-L' flag.   But, it
will dump just nicely without it and only be momentarily confused
on restore if files are missing that show up in the dump directory
and will not even know about files that are created after the
dump directory was created.   If you can tolerate that, then it is
not a requirement.

jerry


> ___
> 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: smtp authentication

2008-09-02 Thread आशीष शुक्ल Ashish Shukla

In <[EMAIL PROTECTED]>, David Southwell wrote:

Hi

I am really ignorant about this issue.

I am running postfix on freebsd 7.0 using a dynamic IP address and am getting 
requests to turn on smtp authentication for outgoing mails to reach servers 
such as yahoo.com but do not know how to do it.


I think that is probably due to your MTA running on a dynamic IP connection, 
which are blacklisted for abuse by spammers most of the times. How about you 
using a smarthost (probably your ISP's mail-server) to deliver your mails from

your postfix. I'm using the similar way with Postfix running on my local mail
server, relaying all outgoing mails via Google's SMTP servers.

HTH
Ashish
--
·-- ·-  ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --


pgpyqGOdNEHs3.pgp
Description: PGP signature


Re: Cron Question

2008-09-02 Thread RW
On Tue, 2 Sep 2008 11:40:37 -0500
Dan Nelson <[EMAIL PROTECTED]> wrote:


> I use the lockfile command ( from the procmail port ) to ensure that
> recurring cron jobs don't overlap if one run takes too long. For
> example, to run mrtg on a 1-minute cycle but prevent multiple mrtgs
> from running if one run takes longer than 1 minute:
> 
> * * * * * /usr/local/bin/lockfile -r 1 -l 3600 /tmp/mrtg.LCK &&
> ( nice -19 /usr/local/bin/mrtg /usr/local/etc/mrtg/mrtg.cfg ;
> rm /tmp/mrtg.LCK )
> 
> The -l 3600 tells lockfile to remove any lockfiles over an hour old (
> if the machine was rebooted during an mrtg run for example )
> 
you could also handle stale lock-files, without installing procmail,
like this:

   LCK=/tmp/foo.LCK
   find $LCK -mtime +3600s -delete
   if ![ -f "$LCK" ] ; then
   touch "$LCK"
   [ -f "$LCK" ] && foo 
   rm "$LCK"
   fi

Presumably the lockfile command also eliminates the race between testing
for, and creating, the lock-file, but that's not really needed here.

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


cannot make/mount ext2 partition

2008-09-02 Thread Jim
I'm trying to create an EXT2 partition so I can share files between
FreeBSD and any other operating system I put on the computer, without
the limitations of FAT32.

My kernel config is the generic kernel, with a bunch of SCSI, RAID and
network drivers, MD_ROOT and NFS_ROOT commented out.

However, once I'm done making the partition, I can't mount it. When I
try mounting it, I get the following error.
mount: /dev/ad8s1 : Operation not supported by device


Can anyone tell me what I'm doing wrong?
I sync'ed the ports tree within the last week, and built the e2fsprogs
port this morning.

Thanks,
-Jim Stapleton


The process I went through to create/mount the partition is as follows:
[EMAIL PROTECTED] ~]$ uname -a
FreeBSD elrond.var-dev.net 7.0-STABLE FreeBSD 7.0-STABLE #1: Thu Jul
24 22:27:49 UTC 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/JIM20080722  i386
[EMAIL PROTECTED] ~]$ kldstat
Id Refs AddressSize Name
 1   13 0xc040 55c4d8   kernel
 21 0xc095d000 6ed8 snd_ich.ko
 32 0xc0964000 4a57csound.ko
 41 0xc09af000 75592c   nvidia.ko
 52 0xc1105000 285a8linux.ko
 61 0xc112e000 6a5d4acpi.ko
 71 0xc65fb000 1ext2fs.ko
[EMAIL PROTECTED] ~]$ ls /dev | grep '^ad8'
ad8
ad8s1
[EMAIL PROTECTED] ~]$ sudo mke2fs /dev/ad8s1
mke2fs 1.41.0 (10-Jul-2008)
Filesystem label=
OS type: FreeBSD
Block size=4096 (log=2)
Fragment size=4096 (log=2)
9773056 inodes, 39072080 blocks
1953604 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
1193 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 2048, 23887872

Writing inode tables: done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 29 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
[EMAIL PROTECTED] ~]$ fdisk /dev/ad8
*** Working on device /dev/ad8 ***
parameters extracted from in-core disklabel are:
cylinders=310101 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=310101 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 131 (0x83),(Linux native)
start 63, size 312576642 (152625 Meg), flag 0
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:

The data for partition 3 is:

The data for partition 4 is:

[EMAIL PROTECTED] ~]$ sudo mount -t ext2 /dev/ad8s1 /mnt
mount: /dev/ad8s1 : Operation not supported by device
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: "SYSCTL" error message upon bootup

2008-09-02 Thread Gerard
On Tue, 2 Sep 2008 17:15:18 +0100
RW <[EMAIL PROTECTED]> wrote:

> Do you have apache?
> 
> http://groups.google.com/group/mailing.freebsd.ports-bugs/browse_thread/thread/b8f17e78869e738f

Yes, and come to think about it, this problem just started happening
after I updated it. I assume that the patch listed above will be
incorporated into the port shortly.

Thanks!

-- 
Gerard
[EMAIL PROTECTED]

If Karl, instead of writing a lot about Capital,
had made a lot of Capital, it would have been much better.

Karl Marx's Mother


signature.asc
Description: PGP signature


Re: "SYSCTL" error message upon bootup

2008-09-02 Thread Polytropon
On Tue, 2 Sep 2008 12:51:13 -0400, Gerard <[EMAIL PROTECTED]> wrote:
> I could not find any mention of it in the 'route.h' file, [...]

/usr/include/net/route.h, Version 1.65.2.3, line 85:

85:extern u_int rt_numfibs; /* number fo usable routing tables */

That's the only occurance I found. FIBS seems to have something
to do with multiple routing tables, a feature that needs to be
enabled via a kernel option; I'm not sure if this has been present
in FreeBSD 6 already.


> [...] nor is there
> anything in the 'sysctl.conf' file.

So the setting isn't requested via /etc/rc.d/sysctl at startup
(which reads from /etc/sysctl.conf), but from another service.
If it was,

# /etc/rc.d/sysctl restart

would lead to the same error message


> The message is displayed just
> before the 'login' prompt.

As RW mentioned, "Do you have apache?", is there something like

Starting additional deamons: apache
sysctl: unknown oid 'net.fibs'


> How can I determine what program is causing this to occur?

What's "near" the error message? Usually the startup notification
prior to this message should identify the program that causes this
message.



-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Script To Execute command via mail

2008-09-02 Thread Chris St Denis

Marcel Grandemange wrote:

Yes the Server I want to do this on Is a FreeBSD 7.0 box, however cannot use
procmail as all mboxes are virtual.
Ie not real accounts all exist only on mysql, and since I changed from a
normall stock setup to using mysql procmail no longer will work.
All boxes are in form of [EMAIL PROTECTED]


I really miss procmail!

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Greg Larkin
Sent: Friday, August 29, 2008 3:03 PM
To: Marcel Grandemange
Cc: freebsd-questions@freebsd.org
Subject: Re: Script To Execute command via mail

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Marcel Grandemange wrote:
  

I have an interesting situation.

I have a windows based sms server, this machine works in the following


way.
  

It watches a shared directory for txt files that must be formatted in
certain way and periodically sends them off to mobile.

What I want to do is create a SMTP to SMS gateway.

Easy in theory!

Rite a script to map shared drive, ensure it's connected and write the txt
files in dir.

However the second part I have no idea, somehow I need to watch the mbox
file of say a e-mail account called "test"

And IF a mail arrives parse it look for a security key if exists convert


to
  

txt file and copy to shared dir.




Hi Marcel,

Do you have a FreeBSD machine in the mix somewhere?  If so, this sounds
 like a job for procmail: http://en.wikipedia.org/wiki/Procmail

Using procmail, you can create a script to process incoming emails and
process/reformat them as you see fit.

Best regards,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIt/OH0sRouByUApARAntMAJ43+cuEDrdEIZle4TTxa3orO+u05QCdHsOq
c1yjtkE0i7CN4dM04WgcfrM=
=0pjX
-END PGP SIGNATURE-

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

__ NOD32 3396 (20080828) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
  
Courier maildrop should do what you need. it's in ports/mail/maildrop. 
It can have a mysql backend if you compile it WITH_AUTHLIB=yes


--
Chris St Denis
Programmer
SmarttNet (www.smartt.com)
Ph: 604-473-9700 Ext. 200
---
"Smart Internet Solutions For Businesses" 


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


Google Chrome

2008-09-02 Thread Vlad GURDIGA
Hello,

In Google Chrome System requirements
(http://www.google.com/support/chrome/bin/answer.py?answer=95411&topic=14660)
they say that a Linux version is going to appear. And in the "Download
and install" help article
(http://www.google.com/support/chrome/bin/answer.py?answer=95346&query=open-source&topic=&type=)
they say that it is open-source.

Does this mean that is hope we'll have a FreeBSD version?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Google Chrome

2008-09-02 Thread Beech Rintoul
On Tuesday 02 September 2008, Vlad GURDIGA said:
> Hello,
>
> In Google Chrome System requirements
> (http://www.google.com/support/chrome/bin/answer.py?answer=95411&to
>pic=14660) they say that a Linux version is going to appear. And in
> the "Download and install" help article
> (http://www.google.com/support/chrome/bin/answer.py?answer=95346&qu
>ery=open-source&topic=&type=) they say that it is open-source.
>
> Does this mean that is hope we'll have a FreeBSD version?

If someone steps up and rolls and submits the port. You're welcome to 
volunteer :-)

Beech



-- 
---
Beech Rintoul - FreeBSD Developer - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail   | http://people.freebsd.org/~beech
 X  - NO Word docs in e-mail | Skype: akbeech
/ \  - http://www.FreeBSD.org/releases/7.0R/announce.html
---



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


Re: 32-bit fbsd binaries on amd64 (we can already run 32bit linux/fc4 stuff, so this should work, right?)

2008-09-02 Thread Steve Franks
On Thu, Aug 28, 2008 at 5:16 PM, Wojciech Puchar
<[EMAIL PROTECTED]> wrote:
>> Now, I'm sure, as usual, I'm being naive, but:
>>
>> 1) We can run 32-bit linux on amd64, so do we have 32-bit freebsd libs
>> already?
>
> yes.
>
>>
>> 2) If we don't have the 32-bit libs, is it possible to steal them
>
> base system's 32-bit libs are installed by default, for older version
> through compat6x,5x,4x
>
>> directly from the corresponding i386 freebsd (as long as we haven't
>> rebuilt our kernel too many times), or should we in all cases be
>> building them (is there a wiki?  I'm sure setting the CFLAGS for
>
> yes you can just copy any binaries.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>

As you may have guessed, I'm not terribly expert.  I managed to get
this far (which is to say embarrassingly not far):

ELF interpreter /libexec/ld-elf32.so.1 not found
Abort trap: 6

The only thing I see in libexec is ld-elf.so.1 - is it possible to do
a standard sysinstall without any of the 32-bit stuff, or am I just a
symlink short of a load?  If so, is there a metaport of 32-bit stuff,
or do I have to take the leap and make buildworld?

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


Re: Google Chrome

2008-09-02 Thread Vlad GURDIGA
On Wed, Sep 3, 2008 at 12:14 AM, Beech Rintoul <[EMAIL PROTECTED]> wrote:
> On Tuesday 02 September 2008, Vlad GURDIGA said:
>> Hello,
>>
>> In Google Chrome System requirements
>> (http://www.google.com/support/chrome/bin/answer.py?answer=95411&to
>>pic=14660) they say that a Linux version is going to appear. And in
>> the "Download and install" help article
>> (http://www.google.com/support/chrome/bin/answer.py?answer=95346&qu
>>ery=open-source&topic=&type=) they say that it is open-source.
>>
>> Does this mean that is hope we'll have a FreeBSD version?
>
> If someone steps up and rolls and submits the port. You're welcome to
> volunteer :-)

I'd be glad to, but I'm afraid I do not have the skills for that... :-(
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


This week in Café d'Anvers #36

2008-09-02 Thread Café d'Anvers Weekly
Uw e-mail programma ondersteund geen HTML berichten.

Gelieve de volgende URL aan te klikken om het bericht te bekijken:
%URL%

unsubscribe from this mailinglist:
https://mailman.firstserved.net/mailing/unsubscribe/?m=236&l=38&r=494667&c=df6e73ea37b917a6e9dbc8038d0b6b1f
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Google Chrome

2008-09-02 Thread Jona Joachim
On 2008-09-02, Vlad GURDIGA <[EMAIL PROTECTED]> wrote:
> On Wed, Sep 3, 2008 at 12:14 AM, Beech Rintoul <[EMAIL PROTECTED]> wrote:
>> On Tuesday 02 September 2008, Vlad GURDIGA said:
>>> Hello,
>>>
>>> In Google Chrome System requirements
>>> (http://www.google.com/support/chrome/bin/answer.py?answer=95411&to
>>>pic=14660) they say that a Linux version is going to appear. And in
>>> the "Download and install" help article
>>> (http://www.google.com/support/chrome/bin/answer.py?answer=95346&qu
>>>ery=open-source&topic=&type=) they say that it is open-source.
>>>
>>> Does this mean that is hope we'll have a FreeBSD version?
>>
>> If someone steps up and rolls and submits the port. You're welcome to
>> volunteer :-)
>
> I'd be glad to, but I'm afraid I do not have the skills for that... :-(

Once it runs on Linux it shouldn't be too difficult to port it to FreeBSD.
However it doesn't run on Linux ATM according to what I've read.

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


Maildrop with MySQL look-up?

2008-09-02 Thread Hong
Hi,

How do I enable MySQL look-up when I install maildrop from the port system? I
looked at the Makefile:

# New ports collection makefile for:maildrop
# Date created: 16 November 1998
# Whom: Tom Hukins <[EMAIL PROTECTED]>
#
# $FreeBSD: ports/mail/maildrop/Makefile,v 1.50 2008/08/21 06:17:37 rafan Exp $
#

# The following compile-time options are available:
# WITH_AUTHLIB=yes  Enable optional support for Courier Auth Library
# WITH_FAM=yes  Enable optional support for File Alteration Monitor
# WITH_GDBM=yes Enable database extensions using GDBM (default: off)
# MAILDROP_SUID=,
# MAILDROP_SGID=   Maildrop will be installed with suid permissions for
#   MAILDROP_SUID, and sgid permissions for MAILDROP_SGID.
# MAILDROP_TRUSTED_USERS= Specify users allowed to use the -d option
# NO_MAILWRAPPER=yesIf defined, let configure guess which sendmail binary
#   to use

There doesn't seem to be a way to enable mysql for the maildrop in the port 
system directly.

Thanks,

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


Re: Google Chrome

2008-09-02 Thread Peter Giessel
On Tuesday, September 02, 2008, at 12:38PM, "Vlad GURDIGA" <[EMAIL PROTECTED]> 
wrote:
>Hello,
>
>In Google Chrome System requirements
>(http://www.google.com/support/chrome/bin/answer.py?answer=95411&topic=14660)
>they say that a Linux version is going to appear. And in the "Download
>and install" help article
>(http://www.google.com/support/chrome/bin/answer.py?answer=95346&query=open-source&topic=&type=)
>they say that it is open-source.
>
>Does this mean that is hope we'll have a FreeBSD version?

That would be somewhat ironic, since according to Reuters:
*** QUOTE ***
 "We have borrowed good ideas from others," Google Vice President of Product 
Management
Sindar Pichai said. "Our goal here was to bring our point of view, but do it in 
a very open way."

Because Chrome relies on Apple's open-source WebKit software for rendering Web 
pages, it
can run any application that runs on Apple's Safari Web browser, Pichai said.

"If you are a Webmaster, and your site works in Apple Safari then it will work 
very well in
Google Chrome," he said.
*** END QUOTE ***

And Safari is based on KDE's Konquerer (which already runs on FreeBSD), so with 
a FreeBSD
version of Chrome, you would essentially have Konquerer ported to Apple, ported 
to Microsoft,
ported to Linux, ported back to FreeBSD

Granted, improvements are made along the way... (but losses probably occur as 
well).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


bind 9 caching only name server best practice.

2008-09-02 Thread Troy Beisigl

Hi,

I'm looking for some information on what the best way to run a bind 9  
caching name server on FreeBSD 6.3 +. Basically, configurations and  
kernel tweaks on the FreeBSD side of things for memory and performance  
is what I am looking for. The actual Bind compile and configuration I  
understand. Does anyone have any insight on this they would like to  
share?


Thanks,

-Troy



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


Having issues whith limit.conf, limitsession capability...

2008-09-02 Thread Agus
Hi guysJust as the subject says

I am testing this and when setting a new class, it doesnt seem to respond...

limit1 class added to user test1 using vipw...

added to login.conf

limit1|Limit for test1 account:\
  :sessionlimit=2:\
  :tc=default:

cap_mkdb login.conf

after this i login locally and from lan via ssh as many times as i want...:/

Am i missing something?

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


problem running named

2008-09-02 Thread Richard Yang
Hello,

When I tried "/etc/rc.d/named forcestart", i got
./named: WARNING: run_rc_command: cannot run /etc/namedb/named

what does it mean and how do i fix this?
thanx

-- 

Best Regards

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