BIND Refusing to Resolve for External Hosts

2010-06-28 Thread Chris Maness
My named server used to resolve for external hosts.  Recently I have
noticed that it no longer resolves names for resolvers not on the
local host.  It works just fine for dig on the dns server itself.  It
also works for domains that it has authority over.  I also have it set
up to be a caching server on my network.  Has the spec for the config
file changed or something?

Here is the beginning of the the config file:

cat named.conf
// $FreeBSD: src/etc/namedb/named.conf,v 1.26.2.2.2.1 2008/11/25
02:59:29 kensmith Exp $
//
// Refer to the named.conf(5) and named(8) man pages, and the documentation
// in /usr/share/doc/bind9 for more details.
//
// If you are going to set up an authoritative server, make sure you
// understand the hairy details of how DNS works.  Even with
// simple mistakes, you can break connectivity for affected parties,
// or cause huge amounts of useless Internet traffic.

options {
// Relative to the chroot directory, if any
directory   "/etc/namedb";
pid-file"/var/run/named/pid";
dump-file   "/var/dump/named_dump.db";
statistics-file "/var/stats/named.stats";
allow-transfer {
76.238.148.146;
};

// If named is being used only as a local resolver, this is a safe default.
// For named to be accessible to the network, comment this option, specify
// the proper IP address, or delete this option.
//  listen-on   { 127.0.0.1; };

// If you have IPv6 enabled on this system, uncomment this option for
// use as a local resolver.  To give access to the network, specify
// an IPv6 address, or the keyword "any".
//  listen-on-v6{ ::1; };

// These zones are already covered by the empty zones listed below.
// If you remove the related empty zones below, comment these lines out.
disable-empty-zone "255.255.255.255.IN-ADDR.ARPA";
disable-empty-zone
"0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA";
disable-empty-zone
"1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA";

// In addition to the "forwarders" clause, you can force your name
// server to never initiate queries of its own, but always ask its
// forwarders only, by enabling the following line:
//
//  forward only;

// If you've got a DNS server around at your upstream provider, enter
// its IP address here, and enable the line below.  This will make you
// benefit from its cache, thus reduce overall DNS traffic in the Internet.
/*
forwarders {
127.0.0.1;
};
*/
/*
   Modern versions of BIND use a random UDP port for each outgoing
   query by default in order to dramatically reduce the possibility
   of cache poisoning.  All users are strongly encouraged to utilize
   this feature, and to configure their firewalls to accommodate it.

   AS A LAST RESORT in order to get around a restrictive firewall
   policy you can try enabling the option below.  Use of this option
   will significantly reduce your ability to withstand cache poisoning
   attacks, and should be avoided if at all possible.

   Replace N in the example with a number between 49160 and 65530.
*/
// query-source address * port N;
};

// If you enable a local name server, don't forget to enter 127.0.0.1
// first in your /etc/resolv.conf so this server will be queried.
// Also, make sure to enable it in /etc/rc.conf.

// The traditional root hints mechanism. Use this, OR the slave zones below.
zone "." { type hint; file "named.root"; };

/*  Slaving the following zones from the root name servers has some
significant advantages:
1. Faster local resolution for your users
2. No spurious traffic will be sent from your network to the roots
3. Greater resilience to any potential root server failure/DDoS

On the other hand, this method requires more monitoring than the
hints file to be sure that an unexpected failure mode has not
incapacitated your server.  Name servers that are serving a lot
of clients will benefit more from this approach than individual
hosts.  Use with caution.

To use this mechanism, uncomment the entries below, and comment
the hint zone above.
*/
/*
zone "." {
type slave;
file "slave/root.slave";
masters {
192.5.5.241;// F.ROOT-SERVERS.NET.
};
notify no;
};

zone "0.0.127.IN-ADDR.ARPA" {
type master;
file "master/localhost.rev";
};
zone "in-addr.arpa" {
type slave;
file "slave/in-addr.arpa.slave";
masters {
192.5.5.241;// F.ROOT-SERVERS.NET.
};
notify no;
};
*/

/*  Serving the following zones locally will prevent any queries
for these zones leaving your network and going to the root
name servers.  This has

Re: Question RE: Linux Mode

2010-06-28 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 29/06/2010 04:34:10, Richards, Toby wrote:
> So as far as I can tell, turning Linux Mode on exposes another threat
> vector. Can I turn on Linux Mode ONLY for a single binary (the Flash
> plugin)?

Unfortunately no.  Enabling the linuxulator loads a kernel module which
provides a linux compatible syscall interface and a linux-like /proc
filesystem: given that and the availability of suitable Linux shlibs,
then potentially any Linux application can be run.

On the other hand, given Apple's trenchant opposition to Flash on the
iPad and iPhone, you could just grit your teeth for a year or so, by
which time most sites should be providing a flash-free alternative.

The FlashBlock and NoScript add-on modules for firefox work pretty well
to smooth over the rough edges caused by lack of Flash support.

Cheers,

Matthew


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

iEYEARECAAYFAkwpi/wACgkQ8Mjk52CukIyf5wCeOgnl0G5s2aQFmiGK6wVUhsHh
xncAn1EXXpTjo3H8enchoenO1wI8iVMR
=DIY2
-END PGP SIGNATURE-
___
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: How to get the SPD infomation in freebsd ?

2010-06-28 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 29/06/2010 03:29:04, zaxis wrote:
> 
> In windows, the `CPU-Z` utility can be used to get the SPD(Serial Presence
> Detect) information. How about freebsd ? I want to get those information
> especially frequency to add more memory. And i donot want to touch the
> hardware.

Try dmidecode(8) -- it's in ports.  This will tell you quite a bit of
information about what type of RAM you have installed, but it may be
more productive to look up the Motherboard model numbers it returns, and
find compatible RAM that way.

Even so, for best results it helps if you install a uniform set of RAM
modules, and I don't think there's any option other than popping the
case and pulling a RAM stick for a visual inspection if you want a 100%
certain match.

Cheers,

Matthew

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

iEYEARECAAYFAkwpiesACgkQ8Mjk52CukIzvYACfR0szlN7qj+ZMDBg5WuP1wXzb
n04An0s2IjuMxGpbi68SjCgpR8x0niaY
=Ckua
-END PGP SIGNATURE-
___
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: sshd / tcp packet corruption ? ZFS & Samba?

2010-06-28 Thread Martin Minkus
Okay guys,

 

Just thought i’d post that a resolution has been found.

 

People suggested it could be hardware and try memtest – which never
found anything.

 

It seems though that in the end the issue is the motherboard; Possibly
the southbridge or something to do with the PCI bus.

 

The SATA drives which are hanging of a marvel in a pcie slot was
unaffected. No amount of zfs scrubs and rsync with checksumming found
anything wrong.

 

It was only network traffic on the intel pro (pci card) or onboard
nvidia nfe card that had issues. It was worst when using samba of ZFS,
though god knows why that exposed the issue more.

 

I never had any kernel panics, just silent data corruption on the PCI
bus.

 

Moved hdds and cards to a different motherboard, and everything is 100%
fine.

 

So a couple weeks looking at this on and off (and slowly losing my mind)
and it was nothing more than flaky hardware.

 

Thanks for your help to those who took the time to reply.

 

Martin.

 

From: Martin Minkus 
Sent: Monday, 28 June 2010 09:22
To: freebsd-questions@freebsd.org
Subject: RE: sshd / tcp packet corruption ? ZFS & Samba?

 

Hey all,

 

It was suggested I do a memtest, but that checked out fine. (I wish it
was as simple as just the ram!)

 

I’ve realised the issue manifests itself almost immediately when
accessing an underlying ZFS filesystem using Samba. But if it is UFS, it
is fine.

 

Does this mean anything to anyone?

 

Ie: md5’ing the same file over SMB, one on UFS (/tmp) one on ZFS:

 

cd5d0011c28fb335d57a83b3751831e7
*//kinetic/pulse/shares/cti/bin/Desktop.exe

2447bdb56c5fa8efa761ffa100908022 *//kinetic/temp/Desktop.exe

bb433ae7e4c3c70c49b3c8c1590e8aa5
*//kinetic/pulse/shares/cti/bin/Desktop.exe

2447bdb56c5fa8efa761ffa100908022 *//kinetic/temp/Desktop.exe

8eeaf672f6742ae4f900b16ec3cb190a
*//kinetic/pulse/shares/cti/bin/Desktop.exe

2447bdb56c5fa8efa761ffa100908022 *//kinetic/temp/Desktop.exe

bc327dc715516b5ba2e8478036112bd2
*//kinetic/pulse/shares/cti/bin/Desktop.exe

2447bdb56c5fa8efa761ffa100908022 *//kinetic/temp/Desktop.exe

0cde0cf7ec036cedc8f3294153209b4c
*//kinetic/pulse/shares/cti/bin/Desktop.exe

2447bdb56c5fa8efa761ffa100908022 *//kinetic/temp/Desktop.exe

71e705470a4af5533eb019e00df3a946
*//kinetic/pulse/shares/cti/bin/Desktop.exe

2447bdb56c5fa8efa761ffa100908022 *//kinetic/temp/Desktop.exe

ba7041e4cad852d00c8da1a461e3b5f9
*//kinetic/pulse/shares/cti/bin/Desktop.exe

2447bdb56c5fa8efa761ffa100908022 *//kinetic/temp/Desktop.exe

7ce9ea8b9a4d8858899da23472a24c76
*//kinetic/pulse/shares/cti/bin/Desktop.exe

2447bdb56c5fa8efa761ffa100908022 *//kinetic/temp/Desktop.exe

8f0eff7cb6069ff39aa46e2affc27a4b
*//kinetic/pulse/shares/cti/bin/Desktop.exe

2447bdb56c5fa8efa761ffa100908022 *//kinetic/temp/Desktop.exe

c23fceb0302fd59b49e22bce61eabe8d
*//kinetic/pulse/shares/cti/bin/Desktop.exe

2447bdb56c5fa8efa761ffa100908022 *//kinetic/temp/Desktop.exe

46c9d538c99be3947b92f9ec47bb900a
*//kinetic/pulse/shares/cti/bin/Desktop.exe

2447bdb56c5fa8efa761ffa100908022 *//kinetic/temp/Desktop.exe

2a2a94c94a167a8e525e368aceb07875
*//kinetic/pulse/shares/cti/bin/Desktop.exe

2447bdb56c5fa8efa761ffa100908022 *//kinetic/temp/Desktop.exe

d303861d09b0584f6c6621e9881e3f63
*//kinetic/pulse/shares/cti/bin/Desktop.exe

2447bdb56c5fa8efa761ffa100908022 *//kinetic/temp/Desktop.exe

ad8f8cef1829de206460b947687909f0
*//kinetic/pulse/shares/cti/bin/Desktop.exe

2447bdb56c5fa8efa761ffa100908022 *//kinetic/temp/Desktop.exe

9a866d9602a9df92b6acb6f1182b05ab
*//kinetic/pulse/shares/cti/bin/Desktop.exe

2447bdb56c5fa8efa761ffa100908022 *//kinetic/temp/Desktop.exe

5552491a9e295890ad48064440d8d05b
*//kinetic/pulse/shares/cti/bin/Desktop.exe

2447bdb56c5fa8efa761ffa100908022 *//kinetic/temp/Desktop.exe

ceee04c26b03132db48d67c076526c82
*//kinetic/pulse/shares/cti/bin/Desktop.exe

2447bdb56c5fa8efa761ffa100908022 *//kinetic/temp/Desktop.exe

7aa666918d73e40a25ccdb1c104f8476
*//kinetic/pulse/shares/cti/bin/Desktop.exe

2447bdb56c5fa8efa761ffa100908022 *//kinetic/temp/Desktop.exe

561aa772884c0b7ef139f556355adffb
*//kinetic/pulse/shares/cti/bin/Desktop.exe

2447bdb56c5fa8efa761ffa100908022 *//kinetic/temp/Desktop.exe

30540ecb4bfb8533969f4a4137a77e79
*//kinetic/pulse/shares/cti/bin/Desktop.exe

2447bdb56c5fa8efa761ffa100908022 *//kinetic/temp/Desktop.exe

c0f315f00be76a4e15dec68de2bba49b
*//kinetic/pulse/shares/cti/bin/Desktop.exe

2447bdb56c5fa8efa761ffa100908022 *//kinetic/temp/Desktop.exe

9de4864a97ed4ad9c495c221fe1b932f
*//kinetic/pulse/shares/cti/bin/Desktop.exe

2447bdb56c5fa8efa761ffa100908022 *//kinetic/temp/Desktop.exe

47c8ad183dbe0d4637229af08cc2cd89
*//kinetic/pulse/shares/cti/bin/Desktop.exe

2447bdb56c5fa8efa761ffa100908022 *//kinetic/temp/Desktop.exe

c9bfe8c7073940acbcdb31430eb4a061
*//kinetic/pulse/shares/cti/bin/Desktop.exe

2447bdb56c5fa8efa761ffa100908022 *//kinetic/temp/Desktop.exe

327605a6ddb89f7a3e2bd056c5f28b2a
*//kinetic/pulse/shares/cti/bin/Desktop.exe

2447bdb56c5fa8efa761ffa100908022 *//k

RE: Question RE: Linux Mode

2010-06-28 Thread Richards, Toby
So as far as I can tell, turning Linux Mode on exposes another threat vector. 
Can I turn on Linux Mode ONLY for a single binary (the Flash plugin)?

-Original Message-
From: Polytropon [mailto:free...@edvax.de]
Sent: Mon 28-Jun-10 2:41 PM
To: Richards, Toby
Cc: freebsd-questions@freebsd.org
Subject: Re: Question RE: Linux Mode
 
On Mon, 28 Jun 2010 13:57:33 -0700, "Richards, Toby" 
 wrote:
> My question is this: If I turn on Linux mode, don't I sacrifice the
> security, performance, and other benefits of the FreeBSD kernel vice
> Linux?

No. FreeBSD's "Linux mode" is nothing more or less than an ABI - an
alternative binary interface. Linux programs "communicate" through
this interface instead of FreeBSD's default one.

Of course, there *are* security implications, as on Linux. Security
limits are given by the FreeBSD infrastructure (e. g. "Flash" based
malware trying to access system files -> no; defective "Flash"
implementation causing a memory leak -> possible).

I don't use "Flash" anymore so I can't be more specific. Last time
I tried it worked nearly flawlessly with Firefox.

A personal note: Sometimes, I found that Linux programs ran faster
on FreeBSD Linux ABI than on native Linux, but as I'm not a regular
Linux user, my opinion isn't worth more than 2 cent. :-)


-- 
Polytropon
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 "freebsd-questions-unsubscr...@freebsd.org"


How to get the SPD infomation in freebsd ?

2010-06-28 Thread zaxis

In windows, the `CPU-Z` utility can be used to get the SPD(Serial Presence
Detect) information. How about freebsd ? I want to get those information
especially frequency to add more memory. And i donot want to touch the
hardware.

Sincerely! 

-
e^(π⋅i) + 1 = 0
-- 
View this message in context: 
http://old.nabble.com/How-to-get-the-SPD-infomation-in-freebsd---tp29015060p29015060.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 "freebsd-questions-unsubscr...@freebsd.org"


Re: Boot to ZFS on FreeBSD 7.3

2010-06-28 Thread Glen Barber

On 6/28/10 7:27 PM, Glen Barber wrote:

On 6/28/10 5:13 PM, Dan D Niles wrote:


The release notes for FreeBSD 7.3 said that it could boot to zfs. I did
not see any options for doing that via the normal install. I followed
the instructions here:

http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot

When I reboot, I get:

can't load 'kernel'

I wiped the disk and tried again to verify I didn't miss a step. Same
result.

I saw a suggestion that zfs.cache needed to be copied. I did that
during the setup, but I tried doing it again from Fixit. Same result.


You don't need this step for 7.3.


The other suggestion I saw was to do section 2 step 7 "again." That
shouldn't be necessary for 7.3, but I tried it anyway. Still seeing
"can't load 'kernel'."


I quoted the wrong sentence - you don't need _this_ step.



Any suggestions for getting FreeBSD 7.3 to boot to ZFS?



Can you try the following at the loader prompt, where you see the
FreeBSD boot options?

load zfs
load opensolaris # should not be necessary, but just to be safe
boot

Regards,




--
Glen Barber
___
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: Boot to ZFS on FreeBSD 7.3

2010-06-28 Thread Glen Barber

On 6/28/10 5:13 PM, Dan D Niles wrote:


The release notes for FreeBSD 7.3 said that it could boot to zfs.  I did
not see any options for doing that via the normal install.  I followed
the instructions here:

http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot

When I reboot, I get:

can't load 'kernel'

I wiped the disk and tried again to verify I didn't miss a step.  Same
result.

I saw a suggestion that zfs.cache needed to be copied.  I did that
during the setup, but I tried doing it again from Fixit.  Same result.


You don't need this step for 7.3.


The other suggestion I saw was to do section 2 step 7 "again."  That
shouldn't be necessary for 7.3, but I tried it anyway.  Still seeing
"can't load 'kernel'."

Any suggestions for getting FreeBSD 7.3 to boot to ZFS?



Can you try the following at the loader prompt, where you see the 
FreeBSD boot options?


   load zfs
   load opensolaris # should not be necessary, but just to be safe
   boot

Regards,

--
Glen Barber
___
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: sendmail: My unqualified host name

2010-06-28 Thread Jon Radel

On 6/28/10 6:21 PM, Polytropon wrote:

But how can I find out exactly what is trying to use sendmail (which
fails and complaints)?
 

I think it's sendmail itself that complains on startup (running as
local-only delivery system).

   

That's certainly what it looks like.



The only
change in the system I can think of is that I replaced pf with ipfw.
 

I doubt that has anything to do with it.


   
Unless the change blocked access to DNS and reverse DNS was being used 
to look up the system name.



--

--Jon Radel
j...@radel.com




Re: sendmail: My unqualified host name

2010-06-28 Thread Polytropon
On Mon, 28 Jun 2010 23:12:38 +0100, Michael  wrote:
> Yes but I don't quite understand why. It's my laptop system and I don't 
> really need or want sendmail there.

You may want to reconsider this statement. :-)



> I guess it must be some script 
> trying to send email instead of logging to a file.

The sendmail facility is used by the system to deliver status messages
(e. g. by the daily/monthly/weekly periodic scripts, sometimes by the
printing subsystem), so it depends on an at least locally working
installation. There may be other services that rely on sendmail to
provide output directed to a system's mail box (usually root).

Check /etc/defaults/rc.conf for the sendmail_* family of options.



> But how can I find out exactly what is trying to use sendmail (which 
> fails and complaints)?

I think it's sendmail itself that complains on startup (running as
local-only delivery system).



> My configuration (8.0-RELEASE-p3):
> /etc/rc.conf
> hostname="prime"
> sendmail_enable="NONE"
> /etc/hosts
> ::1 localhost prime
> 127.0.0.1   localhost prime

Try to additionally define a domainname ".local" or ".lan", e. g.

127.0.0.1   localhost
127.0.0.1   prime.local prime

See "man 5 hosts" for details, I think it explains it very well (it's
right in the 1st paragraph).

Also give the full name in /etc/rc.conf: hostname="prime.local".

Then make sure to have visited /etc/mail doing "make all install". This
will make sure sendmail picks up all neccessary configuration items.



> It was all fine and quiet for months and started just recently.

So THAT is really strange.



> The only 
> change in the system I can think of is that I replaced pf with ipfw. 

I doubt that has anything to do with it.



> Still don't understand what is so urgent that sendmail keeps trying 
> every minute.

It fails to start properly because of a missing configuration item.



-- 
Polytropon
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 "freebsd-questions-unsubscr...@freebsd.org"


Re: sendmail: My unqualified host name

2010-06-28 Thread Michael

On 28/06/2010 22:43, Polytropon wrote:

On Mon, 28 Jun 2010 21:51:46 +0100, Michael  wrote:


My console is being flooded with this kind of messages:

Jun 28 15:49:02 prime sendmail[57268]: My unqualified host name
(localhost) unknown; sleeping for retry
Jun 28 15:49:06 prime sendmail[21451]: unable to qualify my own domain
name (localhost) -- using short name


It seems that it's your *sendmail* that is complaining. Check your
settings regarding hostname (hostname= in /etc/rc.conf, corresponding
entry in /etc/hosts), also check sendmail configuration in /etc/mail.



Yes but I don't quite understand why. It's my laptop system and I don't 
really need or want sendmail there. I guess it must be some script 
trying to send email instead of logging to a file.
But how can I find out exactly what is trying to use sendmail (which 
fails and complaints)?


My configuration (8.0-RELEASE-p3):
/etc/rc.conf
   hostname="prime"
   sendmail_enable="NONE"
/etc/hosts
   ::1 localhost prime
   127.0.0.1   localhost prime
/etc/nsswitch.conf
   hosts: files dns
/etc/periodic.conf
   daily_output="/var/log/dper.log"
   daily_clean_hoststat_enable="NO"
   daily_backup_aliases_enable="NO"
   daily_status_mailq_enable="NO"
   daily_status_include_submit_mailq="NO"
   daily_status_mail_rejects_enable="NO"
   daily_queuerun_enable="NO"
   daily_submit_queuerun="NO"
   daily_status_security_output="/var/log/dsec.log"
   weekly_output="/var/log/wper.log"
   monthly_output="/var/log/mper.log"

It was all fine and quiet for months and started just recently. The only 
change in the system I can think of is that I replaced pf with ipfw. 
Still don't understand what is so urgent that sendmail keeps trying 
every minute.


M.
___
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: sendmail: My unqualified host name

2010-06-28 Thread Polytropon
On Mon, 28 Jun 2010 21:51:46 +0100, Michael  wrote:
> Hello.
> 
> My console is being flooded with this kind of messages:
> 
> Jun 28 15:49:02 prime sendmail[57268]: My unqualified host name 
> (localhost) unknown; sleeping for retry
> Jun 28 15:49:06 prime sendmail[21451]: unable to qualify my own domain 
> name (localhost) -- using short name
> Jun 28 15:50:02 prime sendmail[85031]: My unqualified host name 
> (localhost) unknown; sleeping for retry
> Jun 28 15:50:06 prime sendmail[57268]: unable to qualify my own domain 
> name (localhost) -- using short name
> 
> Is there any way to find out who/what is trying to use sendmail?

It seems that it's your *sendmail* that is complaining. Check your
settings regarding hostname (hostname= in /etc/rc.conf, corresponding
entry in /etc/hosts), also check sendmail configuration in /etc/mail.


-- 
Polytropon
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 "freebsd-questions-unsubscr...@freebsd.org"


Re: Question RE: Linux Mode

2010-06-28 Thread Polytropon
On Mon, 28 Jun 2010 13:57:33 -0700, "Richards, Toby" 
 wrote:
> My question is this: If I turn on Linux mode, don't I sacrifice the
> security, performance, and other benefits of the FreeBSD kernel vice
> Linux?

No. FreeBSD's "Linux mode" is nothing more or less than an ABI - an
alternative binary interface. Linux programs "communicate" through
this interface instead of FreeBSD's default one.

Of course, there *are* security implications, as on Linux. Security
limits are given by the FreeBSD infrastructure (e. g. "Flash" based
malware trying to access system files -> no; defective "Flash"
implementation causing a memory leak -> possible).

I don't use "Flash" anymore so I can't be more specific. Last time
I tried it worked nearly flawlessly with Firefox.

A personal note: Sometimes, I found that Linux programs ran faster
on FreeBSD Linux ABI than on native Linux, but as I'm not a regular
Linux user, my opinion isn't worth more than 2 cent. :-)


-- 
Polytropon
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 "freebsd-questions-unsubscr...@freebsd.org"


Question RE: Linux Mode

2010-06-28 Thread Richards, Toby
I have to say that I really feel the FreeBSD development model and Ports system 
to be superior to Linux. I want to use it; however, Adobe Flash is important to 
me. I understand that I can run Linux Flash with FreeBSD's Linux Mode. My 
question is this: If I turn on Linux mode, don't I sacrifice the security, 
performance, and other benefits of the FreeBSD kernel vice Linux?
 
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GIT/TW/O d+(---)pu s: a C++()
UBLS*$ P--(---) L++$ !E-() !W++$ !N !o K-? w--$ !O M+> !V
PS+ PE+ !Y PGP t+ 5 X- R tv b+ DI D G e+>$ h r+++ y? 
--END GEEK CODE BLOCK-- 
___
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"


sendmail: My unqualified host name

2010-06-28 Thread Michael

Hello.

My console is being flooded with this kind of messages:

Jun 28 15:49:02 prime sendmail[57268]: My unqualified host name 
(localhost) unknown; sleeping for retry
Jun 28 15:49:06 prime sendmail[21451]: unable to qualify my own domain 
name (localhost) -- using short name
Jun 28 15:50:02 prime sendmail[85031]: My unqualified host name 
(localhost) unknown; sleeping for retry
Jun 28 15:50:06 prime sendmail[57268]: unable to qualify my own domain 
name (localhost) -- using short name


Is there any way to find out who/what is trying to use sendmail?

M.
___
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"


Boot to ZFS on FreeBSD 7.3

2010-06-28 Thread Dan D Niles

The release notes for FreeBSD 7.3 said that it could boot to zfs.  I did
not see any options for doing that via the normal install.  I followed
the instructions here:

http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot

When I reboot, I get:

can't load 'kernel'

I wiped the disk and tried again to verify I didn't miss a step.  Same
result.  

I saw a suggestion that zfs.cache needed to be copied.  I did that
during the setup, but I tried doing it again from Fixit.  Same result.
The other suggestion I saw was to do section 2 step 7 "again."  That
shouldn't be necessary for 7.3, but I tried it anyway.  Still seeing
"can't load 'kernel'."

Any suggestions for getting FreeBSD 7.3 to boot to ZFS?

Thanks,

Dan


___
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: Page fault in swapper on boot

2010-06-28 Thread Michael Powell
Richard Kolkovich wrote:

> On Mon, Jun 28, 2010 at 02:16:42PM -0500, Richard Kolkovich wrote:
>> I rebooted today to recover a couple devices which were in use by zombie
>> processes.  Now, I'm met with the same page fault documented in this
>> previous message:
>> 
>> http://lists.freebsd.org/pipermail/freebsd-questions/2010-
June/217625.html
>> 
>> I also performed the gettext upgrade between my last reboot and this one,
>> but I had no problems
>> completing it.  I have since booted the MFS live CD, mounted my zpools
>> and updated world and kernel
>> (RELENG_8 as of this morning) - still have the same page fault in the
>> same place.  I also tried
>> GENERIC - no dice there, either.  Single user, no-ACPI, etc. don't work.
>> 
>> I'll build some debugging into the kernel and see what else I can find...
> 
> I should have done this before spamming the list, but at least I can
> provide a solution.
> 
> With debugging enabled, I saw the problem child is the VirtualBox network
> module (vboxnetflt.ko).  I set both enable_vboxdrv and enable_vboxnetflt
> to NO in loader.conf, and I was able to boot just fine.
> 
> Sorry for the noise - hope this helps someone else out.
> 

The recent gettext update is a dependency for both the vbox kernel modules 
and the virtualbox-ose ports. Try rebuilding/reinstalling both with make && 
make deinstall && make reinstall if you still wish to use them.

-Mike
 

___
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: Page fault in swapper on boot

2010-06-28 Thread Richard Kolkovich
On Mon, Jun 28, 2010 at 02:16:42PM -0500, Richard Kolkovich wrote:
> I rebooted today to recover a couple devices which were in use by zombie 
> processes.  Now, I'm met
> with the same page fault documented in this previous message:
> 
> http://lists.freebsd.org/pipermail/freebsd-questions/2010-June/217625.html
> 
> I also performed the gettext upgrade between my last reboot and this one, but 
> I had no problems
> completing it.  I have since booted the MFS live CD, mounted my zpools and 
> updated world and kernel
> (RELENG_8 as of this morning) - still have the same page fault in the same 
> place.  I also tried
> GENERIC - no dice there, either.  Single user, no-ACPI, etc. don't work.
> 
> I'll build some debugging into the kernel and see what else I can find...

I should have done this before spamming the list, but at least I can provide a 
solution.

With debugging enabled, I saw the problem child is the VirtualBox network 
module (vboxnetflt.ko).  I
set both enable_vboxdrv and enable_vboxnetflt to NO in loader.conf, and I was 
able to boot just
fine.

Sorry for the noise - hope this helps someone else out.

-- 

Richard Kolkovich
http://www.sigil.org
PGP Key: 0x9E54EF59 (http://pgp.mit.edu)


pgpVWLmRRrn2z.pgp
Description: PGP signature


Re: FreeBSD 8.0 p#3

2010-06-28 Thread Grant Peel
- Original Message - 
From: "Balázs Mátéffy" 

To: 
Sent: Sunday, June 27, 2010 2:42 PM
Subject: Re: FreeBSD 8.0 p#3



Hi,

Maybe "portsnap fetch extract" ?

Maybe the tag in your supfile was wrong for the ports.

MB.
___
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 used the method described above and it got them all back.

Thanks for all the feedback everyone!

-Grant 



___
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"


Page fault in swapper on boot

2010-06-28 Thread Richard Kolkovich
I rebooted today to recover a couple devices which were in use by zombie 
processes.  Now, I'm met
with the same page fault documented in this previous message:

http://lists.freebsd.org/pipermail/freebsd-questions/2010-June/217625.html

I also performed the gettext upgrade between my last reboot and this one, but I 
had no problems
completing it.  I have since booted the MFS live CD, mounted my zpools and 
updated world and kernel
(RELENG_8 as of this morning) - still have the same page fault in the same 
place.  I also tried
GENERIC - no dice there, either.  Single user, no-ACPI, etc. don't work.

I'll build some debugging into the kernel and see what else I can find...

Has anyone else seen this or have any clues as to how to fix it?  

Thanks,

-- 

Richard Kolkovich
http://www.sigil.org
PGP Key: 0x9E54EF59 (http://pgp.mit.edu)


pgpXUckls7Kte.pgp
Description: PGP signature


Re: x11/xfce ssh-agent once per logon for minimal (no gnome/kde) installation

2010-06-28 Thread Steve Franks
#export SSH_ASKPASS=/usr/local/bin/x11-ssh-askpass ;export SSH_ASKPASS
export SSH_ASKPASS=/usr/local/bin/gnome-keyring ;export SSH_ASKPASS
eval $( ssh-agent -s )
ssh-add &
xfce4-session
eval $( ssh-agent -k )
___
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: slapd crash the HP proliant DL360 at 8.0

2010-06-28 Thread Peter Boosten

On 28 jun 2010, at 17:46, Frank Bonnet wrote:

> 
> 
> On 06/28/2010 05:40 PM, Peter Boosten wrote:
>> 
>> On 28 jun 2010, at 11:56, Frank Bonnet  wrote:
>> 
>>> Argh !!!
>>> 
>>> I upgraded slapd to 2.4.22 and it does not start anymore !!!
>>> 
>>> some symbol cannot be found anymore
>>> 
>>> I had to revert to 2.3.4x to have a working slapd !!!
>>> 
>>> What's wrong with 2.4.22 folks ?
>>> 
>>> 
>> 
>> Just checked: I'm running 2.4.22 on 8.0, no problems so far.
>> 
>> Peter
>> 
> Hello
> 
> could you tell which options you checked  ?

I'm actually running openldap-sasl-server-2.4.22, from 

Origin:
net/openldap24-server

ra% cd /var/db/ports/openldap24 
ra% less options 
# This file is auto-generated by 'make config'.
# No user-servicable parts inside!
# Options for openldap-sasl-server-2.4.15
_OPTIONS_READ=openldap-sasl-server-2.4.15
WITH_SASL=true
WITHOUT_DYNACL=true
WITHOUT_ACI=true
WITHOUT_DNSSRV=true
WITHOUT_PASSWD=true
WITHOUT_PERL=true
WITHOUT_RELAY=true
WITHOUT_SHELL=true
WITHOUT_SOCK=true
WITHOUT_ODBC=true
WITHOUT_RLOOKUPS=true
WITHOUT_SLP=true
WITHOUT_SLAPI=true
WITH_TCP_WRAPPERS=true
WITH_BDB=true
WITHOUT_ACCESSLOG=true
WITHOUT_AUDITLOG=true
WITHOUT_COLLECT=true
WITHOUT_CONSTRAINT=true
WITHOUT_DDS=true
WITHOUT_DEREF=true
WITHOUT_DYNGROUP=true
WITHOUT_DYNLIST=true
WITHOUT_LASTMOD=true
WITHOUT_MEMBEROF=true
WITHOUT_PPOLICY=true
WITHOUT_PROXYCACHE=true
WITHOUT_REFINT=true
WITHOUT_RETCODE=true
WITHOUT_RWM=true
WITH_SEQMOD=true
WITH_SYNCPROV=true
WITHOUT_TRANSLUCENT=true
WITHOUT_UNIQUE=true
WITHOUT_VALSORT=true
WITHOUT_SMBPWD=true
WITH_DYNAMIC_BACKENDS=true

Hope this helps.

Peter


-- 
Peter Boosten
http://www.boosten.org



___
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: slapd crash the HP proliant DL360 at 8.0

2010-06-28 Thread Frank Bonnet



On 06/28/2010 05:40 PM, Peter Boosten wrote:


On 28 jun 2010, at 11:56, Frank Bonnet  wrote:


Argh !!!

I upgraded slapd to 2.4.22 and it does not start anymore !!!

some symbol cannot be found anymore

I had to revert to 2.3.4x to have a working slapd !!!

What's wrong with 2.4.22 folks ?




Just checked: I'm running 2.4.22 on 8.0, no problems so far.

Peter


Hello

could you tell which options you checked  ?
___
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: FreeBSD 8.0 p#3

2010-06-28 Thread krad
On 28 June 2010 07:14, Matthew Seaman wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 28/06/2010 04:42:21, per...@pluto.rain.com wrote:
> > Matthew Seaman  wrote:
> >
> >> Fix your ports supfile: for ports you /always/ want HEAD ...
> >
> > s/always/almost &/
> >
> > If one wanted to download a copy of the ports tree as it existed
> > when, say, 6.1 was released, specifying the corresponding tag would
> > be the way to get it.  Granted one seldom wants a frozen checkpoint
> > like that.
>
> You know, practically speaking, the only people that actually need to
> use anything other than HEAD in a ports supfile are the people building
> the packages to go with a system release.  And they only need to do that
> right around the point the release is being cut.
>
> The whole mindset that you need to match the ports tree to the OS
> version you have installed is just wrong[*].  Especially if you try and
> back-rev as far as 6.1-RELEASE.  You're just going to be ignoring
> several years worth of bug fixes, not to mention opening yourself to any
> number of security holes that have since been discovered and closed.
> Granted you cannot use the current ports tree with a 6.1-RELEASE box.
> This is a hint that you really need to upgrade the OS as well as the
> ports...
>
>Cheers,
>
>Matthew
>
> [*] Even if you will be installing 8.1-RELEASE on the day it is released
> and using packages from the install media, you should still be checking
> for updated packages and security patches.
>
> - --
> Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
>  Flat 3
> PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
> JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW
> -BEGIN PGP SIGNATURE-
> Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkwoPccACgkQ8Mjk52CukIyP5wCfa4ZnVHPfYbBqPPs7z254BkUc
> 9CgAn3Elhkz5eB2GEzdmUxUpREJSiCxP
> =wL38
> -END PGP SIGNATURE-
> ___
> 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 do need to install packages that were released with the original os
build then the easiest way to do it is thus:

 export 
PACKAGESITE=ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/`uname
-a | awk '{print $NF}'`/packages-`uname  -r | sed s/STABLE/RELEASE/ |
tr 'A-Z' 'a-z'`/Latest/
 pkg_add -r 
___
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: slapd crash the HP proliant DL360 at 8.0

2010-06-28 Thread Peter Boosten


On 28 jun 2010, at 11:56, Frank Bonnet  wrote:


Argh !!!

I upgraded slapd to 2.4.22 and it does not start anymore !!!

some symbol cannot be found anymore

I had to revert to 2.3.4x to have a working slapd !!!

What's wrong with 2.4.22 folks ?




Just checked: I'm running 2.4.22 on 8.0, no problems so far.

Peter

--
HTTP://www.boosten.org
___
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: Would you recommend installing 8.1RC2?

2010-06-28 Thread Antonio Vieiro

Hi all,

Thanks all for your replies.

First of all: I've seen 8.1RC2 announced here:
http://www.evilcoder.org/2010/06/27/freebsd-8-1-rc2-released/
But there're no links, I imagine it's about to be released or something.

I think I'll try 8.1RC2 as soon as it's released. I also think that the 
differences should be minimal. I think I'll start reinstalling the 
workstation first (so that I can cross-compile ports to my laptop 
afterwards) and then I'll go through the process of backing-up my laptop 
and installing FreeBSD there.


Thanks again,
Antonio


On 28/06/10 17:22, RW wrote:

On Mon, 28 Jun 2010 12:37:14 +0200
Antonio Vieiro  wrote:



I'm eager to try out 8.1,


Personally, I don't ever recall seeing a noticeable difference after a
minor base-system update. Most user visible change comes from ports.
___
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"



___
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: Would you recommend installing 8.1RC2?

2010-06-28 Thread RW
On Mon, 28 Jun 2010 12:37:14 +0200
Antonio Vieiro  wrote:


> I'm eager to try out 8.1,

Personally, I don't ever recall seeing a noticeable difference after a
minor base-system update. Most user visible change comes from ports.
___
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: slapd crash the HP proliant DL360 at 8.0

2010-06-28 Thread Jerry McAllister
On Mon, Jun 28, 2010 at 11:56:50AM +0200, Frank Bonnet wrote:

> Argh !!!
> 
> I upgraded slapd to 2.4.22 and it does not start anymore !!!
> 
> some symbol cannot be found anymore
> 
> I had to revert to 2.3.4x to have a working slapd !!!
> 
> What's wrong with 2.4.22 folks ?
> 

That is, by far, not enough information to help with the problem.

First you will have to ask the slapd people.   
Second, you need to include a lot more specific information
such as log messages, OS version, error messages on the screen[s]
and any things you had to configure to run it and possible other
things.

Just saying 'don't work' will not be adequate for any response.

jerry


> 
> On 06/28/2010 10:27 AM, Erik Nørgaard wrote:
> >On 28/giu/2010, at 09:50, Frank Bonnet  wrote:
> >
> >>Hello
> >>
> >>I had BIG trouble saturday morning with a HP proliant DL360
> >>that runs our directory server ( OpenLDAP )
> >>
> >>Tha machine had crashed ...
> >>
> >>Anyone had the same trouble running slapd at 8.0 ?
> >>
> >>I must find out what happened , software or hardware trouble
> >
> >It is impossible to answer that based on the above information.
> >
> >Check your logs. If you can't find any useful log entries increase 
> >loglevel, restart and see if problem repeats.
> >
> >BR
> ___
> 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"
> 
___
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: Would you recommend installing 8.1RC2?

2010-06-28 Thread David Rawling

On 28/06/2010 8:37 PM, Antonio Vieiro wrote:
I'm brand new to FreeBSD. I've got 8.0-RELEASE up and running in my 
main workstation and I'm quite happy with it. Great job & 
congratulations.


I'm eager to try out 8.1, and I was thinking of trying it out on my 
laptop for my daily work (I'm currently running OpenSolaris 2009.06).


My question is: if I install 8.1 RC2 would it be very difficult to 
upgrade it to 8.1-RELEASE afterwards? Would you recommend installing 
8.1-RC2 right now or would you wait until 8.1-RELEASE is out within a 
few days?


Thanks in advance,
Antonio
Hmm. Well apart from the fact that I can't find an 8.1-RC2 release 
(8.1-RC1 is the most recent I can locate) - I'd probably wait a bit - 
especially if you're a newcomer like me.


While upgrading should be easy in most cases (freebsd-update upgrade -r 
8.1-RELEASE ; freebsd-update install) ... I am having trouble with my 
8.1-RC1 x64 VM - fetching files is failing with size mismatches.


To me it appears that either my firewall/proxy, or the web server/fetch 
client cannot agree on the transmission of compressed files. I get size 
mismatches because the file gets decompressed somewhere along the way. I 
suspect the proxy but I haven't been able to prove it yet.


Still, building a test/practice machine on 8.1-RC1 is certainly a good 
plan. If nothing else you can validate your port set :)


Dave.

--
David Rawling
Principal Consultant

PD Consulting And Security
20 Goodin Road
Baulkham Hills, NSW 2153
Australia
Mob: +61 412 135 513
Email: d...@pdconsec.net

Please note that whilst we take all care, neither PD Consulting and Security 
nor the sender accepts any responsibility for viruses and it is your 
responsibility to scan for viruses. The contents are intended only for use by 
the addressee and may contain confidential and/or privileged material and any 
use by other than the intended recipient is prohibited. If you received this in 
error, please inform the sender and/or addressee immediately and delete the 
material.

___
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: slapd crash the HP proliant DL360 at 8.0

2010-06-28 Thread Frank Bonnet



On 06/28/2010 01:47 PM, Matthew Seaman wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 28/06/2010 12:23:36, Erik Nørgaard wrote:

On 28/giu/2010, at 11:56, Frank Bonnet  wrote:


Argh !!!

I upgraded slapd to 2.4.22 and it does not start anymore !!!

some symbol cannot be found anymore

I had to revert to 2.3.4x to have a working slapd !!!

What's wrong with 2.4.22 folks ?


I don't think there's anything wrong except with your upgrading. Openldap uses 
Berkeley DB as backend and upgrading your ldap you may also have upgraded to a 
different bdb.


As I recall, slapd frequently won't read the BDB data files from a
different minor version (eg 2.3 ->  2.4).  Basically you should dump your
LDAP directory using slapcat, move aside your old /var/db/openldap and
create a new one, upgrade slapd, use slapadd to reload your data, then
restart slapd.


Yes of course I always did this




As a matter of course when updating slapd, always use slapcat to grab a
copy of the directory before starting.  You can't always tell if the
update will require you to reload the data, so it's wise to always be
prepared.

Cheers,

Matthew

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

iEYEARECAAYFAkwoi8sACgkQ8Mjk52CukIwHwQCeM0i32NTU+n9m8aNrB34dVq7b
dq4AnjQ7hp0GssYqwaf1YxFtUoyRFPiY
=rX41
-END PGP SIGNATURE-
___
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"

___
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: slapd crash the HP proliant DL360 at 8.0

2010-06-28 Thread Frank Bonnet

the exact error message is the following :

 /libexec/ld-elf.so.1: /usr/local/libexec/slapd: Undefined symbol
   "ldap_pvt_csnstr"


On 06/28/2010 12:18 PM, Julien Cigar wrote:

On 06/28/2010 11:56, Frank Bonnet wrote:

Argh !!!

I upgraded slapd to 2.4.22 and it does not start anymore !!!

some symbol cannot be found anymore

I had to revert to 2.3.4x to have a working slapd !!!

What's wrong with 2.4.22 folks ?




did you rebuilt all ports which depend on openldap-server ? (portmaster
-r openldap-server).

also if you want to replace openldap-server23 with openldap-server24 I
would use portmaster -o



On 06/28/2010 10:27 AM, Erik Nørgaard wrote:

On 28/giu/2010, at 09:50, Frank Bonnet wrote:


Hello

I had BIG trouble saturday morning with a HP proliant DL360
that runs our directory server ( OpenLDAP )

Tha machine had crashed ...

Anyone had the same trouble running slapd at 8.0 ?

I must find out what happened , software or hardware trouble


It is impossible to answer that based on the above information.

Check your logs. If you can't find any useful log entries increase
loglevel, restart and see if problem repeats.

BR

___
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"





___
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"

___
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: slapd crash the HP proliant DL360 at 8.0

2010-06-28 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 28/06/2010 12:23:36, Erik Nørgaard wrote:
> On 28/giu/2010, at 11:56, Frank Bonnet  wrote:
> 
>> Argh !!!
>>
>> I upgraded slapd to 2.4.22 and it does not start anymore !!!
>>
>> some symbol cannot be found anymore
>>
>> I had to revert to 2.3.4x to have a working slapd !!!
>>
>> What's wrong with 2.4.22 folks ?
> 
> I don't think there's anything wrong except with your upgrading. Openldap 
> uses Berkeley DB as backend and upgrading your ldap you may also have 
> upgraded to a different bdb. 

As I recall, slapd frequently won't read the BDB data files from a
different minor version (eg 2.3 -> 2.4).  Basically you should dump your
LDAP directory using slapcat, move aside your old /var/db/openldap and
create a new one, upgrade slapd, use slapadd to reload your data, then
restart slapd.

As a matter of course when updating slapd, always use slapcat to grab a
copy of the directory before starting.  You can't always tell if the
update will require you to reload the data, so it's wise to always be
prepared.

Cheers,

Matthew

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

iEYEARECAAYFAkwoi8sACgkQ8Mjk52CukIwHwQCeM0i32NTU+n9m8aNrB34dVq7b
dq4AnjQ7hp0GssYqwaf1YxFtUoyRFPiY
=rX41
-END PGP SIGNATURE-
___
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: slapd crash the HP proliant DL360 at 8.0

2010-06-28 Thread Frank Bonnet



On 06/28/2010 12:15 PM, Ivan Voras wrote:

On 06/28/10 11:56, Frank Bonnet wrote:

Argh !!!

I upgraded slapd to 2.4.22 and it does not start anymore !!!

some symbol cannot be found anymore

I had to revert to 2.3.4x to have a working slapd !!!

What's wrong with 2.4.22 folks ?


PEBKAC.

How did you upgrade it (and more importantly - why, if it was working
fine and was critical to you)?


I did this :

cvsup -g -L 2 ports-supfile
cd /usr/ports/net/openldap24-server
make ( I reuse the same config )
make deinstall
make reinstall

This worked fine until I tried to upgrade to 2.4.22 ( 2.4.21 running )




In the event of a crash you may have only needed to repair OpenLDAP's
database (if using BDB, with db_recover) and continue.


the database was OK the 2.4.21 slapd daemon has restarted well



___
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"

___
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: slapd crash the HP proliant DL360 at 8.0

2010-06-28 Thread Erik Nørgaard
On 28/giu/2010, at 11:56, Frank Bonnet  wrote:

> Argh !!!
> 
> I upgraded slapd to 2.4.22 and it does not start anymore !!!
> 
> some symbol cannot be found anymore
> 
> I had to revert to 2.3.4x to have a working slapd !!!
> 
> What's wrong with 2.4.22 folks ?

I don't think there's anything wrong except with your upgrading. Openldap uses 
Berkeley DB as backend and upgrading your ldap you may also have upgraded to a 
different bdb. 

Br. Erik___
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"


Would you recommend installing 8.1RC2?

2010-06-28 Thread Antonio Vieiro

Hi all,

I'm brand new to FreeBSD. I've got 8.0-RELEASE up and running in my main 
workstation and I'm quite happy with it. Great job & congratulations.


I'm eager to try out 8.1, and I was thinking of trying it out on my 
laptop for my daily work (I'm currently running OpenSolaris 2009.06).


My question is: if I install 8.1 RC2 would it be very difficult to 
upgrade it to 8.1-RELEASE afterwards? Would you recommend installing 
8.1-RC2 right now or would you wait until 8.1-RELEASE is out within a 
few days?


Thanks in advance,
Antonio
___
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: slapd crash the HP proliant DL360 at 8.0

2010-06-28 Thread Julien Cigar

On 06/28/2010 11:56, Frank Bonnet wrote:

Argh !!!

I upgraded slapd to 2.4.22 and it does not start anymore !!!

some symbol cannot be found anymore

I had to revert to 2.3.4x to have a working slapd !!!

What's wrong with 2.4.22 folks ?




did you rebuilt all ports which depend on openldap-server ? (portmaster 
-r openldap-server).


also if you want to replace openldap-server23 with openldap-server24 I 
would use portmaster -o




On 06/28/2010 10:27 AM, Erik Nørgaard wrote:

On 28/giu/2010, at 09:50, Frank Bonnet wrote:


Hello

I had BIG trouble saturday morning with a HP proliant DL360
that runs our directory server ( OpenLDAP )

Tha machine had crashed ...

Anyone had the same trouble running slapd at 8.0 ?

I must find out what happened , software or hardware trouble


It is impossible to answer that based on the above information.

Check your logs. If you can't find any useful log entries increase
loglevel, restart and see if problem repeats.

BR

___
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"



--
No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced.
___
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: slapd crash the HP proliant DL360 at 8.0

2010-06-28 Thread Ivan Voras
On 06/28/10 11:56, Frank Bonnet wrote:
> Argh !!!
> 
> I upgraded slapd to 2.4.22 and it does not start anymore !!!
> 
> some symbol cannot be found anymore
> 
> I had to revert to 2.3.4x to have a working slapd !!!
> 
> What's wrong with 2.4.22 folks ?

PEBKAC.

How did you upgrade it (and more importantly - why, if it was working
fine and was critical to you)?

In the event of a crash you may have only needed to repair OpenLDAP's
database (if using BDB, with db_recover) and continue.

___
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: slapd crash the HP proliant DL360 at 8.0

2010-06-28 Thread Frank Bonnet

Argh !!!

I upgraded slapd to 2.4.22 and it does not start anymore !!!

some symbol cannot be found anymore

I had to revert to 2.3.4x to have a working slapd !!!

What's wrong with 2.4.22 folks ?



On 06/28/2010 10:27 AM, Erik Nørgaard wrote:

On 28/giu/2010, at 09:50, Frank Bonnet  wrote:


Hello

I had BIG trouble saturday morning with a HP proliant DL360
that runs our directory server ( OpenLDAP )

Tha machine had crashed ...

Anyone had the same trouble running slapd at 8.0 ?

I must find out what happened , software or hardware trouble


It is impossible to answer that based on the above information.

Check your logs. If you can't find any useful log entries increase loglevel, 
restart and see if problem repeats.

BR

___
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: slapd crash the HP proliant DL360 at 8.0

2010-06-28 Thread Peter Boosten
On 28-6-2010 9:50, Frank Bonnet wrote:
> Hello
> 
> I had BIG trouble saturday morning with a HP proliant DL360
> that runs our directory server ( OpenLDAP )
> 
> Tha machine had crashed ...
> 
> Anyone had the same trouble running slapd at 8.0 ?


No, you can eliminate that factor. Runs fine on my machine.

Peter

-- 
http://www.boosten.org
___
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: slapd crash the HP proliant DL360 at 8.0

2010-06-28 Thread Erik Nørgaard
On 28/giu/2010, at 09:50, Frank Bonnet  wrote:

> Hello
> 
> I had BIG trouble saturday morning with a HP proliant DL360
> that runs our directory server ( OpenLDAP )
> 
> Tha machine had crashed ...
> 
> Anyone had the same trouble running slapd at 8.0 ?
> 
> I must find out what happened , software or hardware trouble

It is impossible to answer that based on the above information. 

Check your logs. If you can't find any useful log entries increase loglevel, 
restart and see if problem repeats. 

BR___
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"


How to running air video server on FreeBSD

2010-06-28 Thread Jihun, SEO
1. reading below site document.
- http://eincs.net/76
-
http://wiki.birth-online.de/know-how/hardware...r>iphone/airvideo-server-linux
- http://www.inmethod.com/air-video/licenses.html

2. Install ports
- faad
- x264-dev
- x264

3. download air video server
-
http://inmethod.com/air-video/download/linux/alpha3/AirVideoServerLinux.jar
- air video server program
- support to iOS4
- http://inmethod.com/air-video/download/linux/alpha1/test.properties
- air video server properties

4. install FFMPEG
- first visit http://www.inmethod.com/air-video/licenses.html and
download ffmpeg 2.2.5
- Others ffmpeg never run on air video server. Only there version 2.2.5
running on air video server.
- install progress
1) ./configure --prefix=/usr/local/ffmpeg-for-2.2.5 --enable-pthreads
--disable-shared --enable-static --enable-gpl --enable-libx264
--enable-libmp3lame --enable-libfaad --disable-decoder=aac
--extra-cflags="-I/usr/local/src/x264-snap -I/usr/local/include
-D__BSD_VISIBLE" --extra-ldflags=-L/usr/local/lib
2) make
3) cp ffmpeg /usr/local/bin/ffmpeg

5. Edit test.properties
- if you want subtitle, edit subtitles.encoding, subtitles.font.

6. Running server
- java -jar AirVideoServerLinux.jar test.properties

Enjoy your air video~^^
___
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"


slapd crash the HP proliant DL360 at 8.0

2010-06-28 Thread Frank Bonnet

Hello

I had BIG trouble saturday morning with a HP proliant DL360
that runs our directory server ( OpenLDAP )

Tha machine had crashed ...

Anyone had the same trouble running slapd at 8.0 ?

I must find out what happened , software or hardware trouble.

Thank you

F
___
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"