Re: konsole colors

2006-04-24 Thread a
On Sun, Apr 23, 2006 at 07:50:14PM -0500, Jonathan Horne wrote:
 my shell is bash, and is set the 'ls' command to always show colors.  on my 
 screen, i have a hard time seeing that dark blue color against the black 
 backround.  is there a way i can lighten this default dark blue to a shade a 
 little easier to differentiate?
 

Set, for example, environment variable
LSCOLORS=Exfxcxdxbxegedabagacad
and you will see a light blue color against the black background.
See ls(1) for full information.

Best regards,
Elisej Babenko

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


LDAP schema problems

2006-04-24 Thread Erik Norgaard
Hi:

I am writing here because OpenLDAP doesn't seem to have a list for user
questions.

I am building an address book, suffix dc=domain, dc=tld. I have two
problems:

a) To get attributes such as mail I use the inetOrgPerson object
class. Further, since my contacts are personal contacts and not business
I wanted to use the residentialPerson object class to get postal address
attributes.

It seems that the only difference from the organizationalPerson object
class is that l is required parameter, but, I get this error:

ldap_add: Internal (implementation specific) error (80)
additional info: no structuralObjectClass operational attribute

for this entry:

dn: cn=First Lastname, ou=people, dc=domain, dc=tld
objectClass: top
objectClass: residentialPerson
objectClass: inetOrgPerson
cn: First Lastname
sn: Lastname
l: somewhere

While if I change residentialPerson to organizationalPerson, I get no
error. I have found that I can add the residentialPerson if I remove
inetOrgPerson objectClass.

What causes the conflict?

b) In their infinite wisdom, those who defined the person and derivative
object classes did not add country to the list of possible attributes.
Adding this object class to the otherwise working entry:

dn: cn=First Lastname, ou=people, dc=domain, dc=tld
objectClass: top
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: country
cn: First Lastname
sn: Lastname
l: somewhere
c: XX

I again get the error:

ldap_add: Internal (implementation specific) error (80)
additional info: no structuralObjectClass operational attribute

I'd prefer not to go through the pain of defining my own schema from
scratch, obtain OID etc just for adding such a basic attribute, what is
the recommended patch?

Thanks! Erik
-- 
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F0C.crt
Subject ID:  69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9
Fingerprint: 7F:80:96:EA:95:92:E2:23:1F:FA:0F:98:92:C2:CC:55:6B:9A:8C:92
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Simluating a satellite connection using dummynet?

2006-04-24 Thread Olivier Nicole
 I've been reading up on it and best I can tell I'm looking
 at  1000ms round trips... at *best*.  Most of what I do
 I can do on  servers at home, but there will be the
 occasional ssh, etc.

Supposedly, the round trip should be only 500 ms: the time for the
signal to go from earth to the satellite and back to earth, then the
same time for the reply packet to come back.

On the machine directly connected to the satellite modem, a ping to
the machine at the other end, directly connected to the satellite
modem (so the 2 machine as close as possible to the satellite
equipment) I get a ping round trip of 800 ms. That speed is pretty
workable for ssh/telnet, even for a full screen editor.

Olivier

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


Re: Trunking connections

2006-04-24 Thread Michael Landin Hostbaek
Bill Moran (wmoran) writes:
 On Fri, 21 Apr 2006 11:19:36 +0200
 Michael Landin Hostbaek [EMAIL PROTECTED] wrote:
 
  
  I've got a FreeBSD firewall/gateway with three interfaces.. 
 
 The canonical way to do this is with bgp.  There are bgp implementations
 available for FreeBSD.  The hard part will be getting the two ISPs to
 agree to set up BGP on their end.

Heh. Yeah I doubt that'll fly.. 

I think I'll settle on piping specific traffic through each interface,
and in addition have a small shell script in cron, that will check that
the two interfaces are up and running.. if one should go down, route all
traffic through the working one.. Not pretty but it should do the trick.

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


RE: anyone understand torvald's critique of freebsd?

2006-04-24 Thread Ted Mittelstaedt


-Original Message-
From: Chuck Swiger [mailto:[EMAIL PROTECTED]
Sent: Saturday, April 22, 2006 7:51 PM
To: Ted Mittelstaedt
Cc: freebsd-questions
Subject: Re: anyone understand torvald's critique of freebsd?


Ted Mittelstaedt wrote:
 Then why does Linus think manipulating the VM page table mappings
 is bad?  That is, why does he -really- think it's bad, not the
 publically-given reason?  Is it because Linux is extrordinairly
 inefficient in page table mappings due to some structural decision
 that Linus made that cannot be reversed now, that it could never
 be any good at it?  Or is there some other reason?

I can't speak with certainty as to what someone else might 
think; no doubt Linus 
is entirely capable of explaining his own position should you 
wish to inquire, 

The guy is bitching about an option that's not even turned on,
thus it's not a legitimate criticism - there's an ulterior motive
somewhere.  He isn't going to explain this of course - if he was
being honest he never would have bitched about it in the first place.

however  :-)

I think Linus doesn't care much for Zero-copy sockets because 
for the common 
case of 1500/1504-byte MTU, you end up wasting at least 60% of 
a 4096-byte page 
for each packet, and maybe ?three? times that much if your 
hardware splits the 
packet into separate pages for the mbuf header, the packet 
headers, and the 
packet data.


ram is cheap these days.

I've seen things before that are a lot faster to do the memory-hogging
way.  If this is one of these then the ram usage shouldn't be an
issue.

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


A portupgrade question

2006-04-24 Thread Ian Moore
Hi, I've got a question about portupgrade and something that's happened with 
it a couple of times now. The last 2 times libgda has been upgraded, I've run 
portupgrade -a to upgrade a bunch of ports, including libgda.

The libgda upgrade has caused a re-install of  mysql-client-4, but when 
portupgrade has tried to install mysql-client, it's failed because 
mysql-client is already installed.

The workaround for this is simple enough, delete mysql-client and then run 
portupgrade again, but I'm wondering why this situation occurs - portupgrade 
should see that mysql-client is already installed and not try to install it 
again (or if it needs upgrading, it should deinstall the old version and 
build  install the new version).

/etc/ports/UPDATING doesn't seem to help, there's no mention of either port in 
it. 

Perhaps my ports db is screwed up?

Cheers,
--  
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpw2ttWn06DJ.pgp
Description: PGP signature


Re: A portupgrade question

2006-04-24 Thread Ian Moore
On Monday 24 April 2006 20:43, Ian Moore wrote:
 Hi, I've got a question about portupgrade and something that's happened
 with it a couple of times now. The last 2 times libgda has been upgraded,
 I've run portupgrade -a to upgrade a bunch of ports, including libgda.

Sorry, I forgot to add the output of the portupgrade sessions:

The first time it happened:
---  Upgrading 'libgda2-1.9.100_2' to 'libgda3-1.9.102' (databases/libgda3)
---  Building '/usr/ports/databases/libgda3'
===  Cleaning for gmake-3.80_2
===  Cleaning for intltool-0.34.2
===  Cleaning for pkgconfig-0.20
===  Cleaning for popt-1.7_1
===  Cleaning for gettext-0.14.5_2
===  Cleaning for mysql-client-4.0.26_1
===  Cleaning for glib-2.8.6_1
===  Cleaning for libxml2-2.6.23_1
===  Cleaning for libxslt-1.1.15_1
===  Cleaning for xorg-libraries-6.9.0
===  Cleaning for gnomehier-2.0_7
===  Cleaning for perl-5.8.8
===  Cleaning for p5-XML-Parser-2.34_2
===  Cleaning for libiconv-1.9.2_2
===  Cleaning for libtool-1.5.22_2
===  Cleaning for ldconfig_compat-1.0_6
===  Cleaning for libgcrypt-1.2.2
===  Cleaning for imake-6.9.0
===  Cleaning for libdrm-2.0_1
===  Cleaning for freetype2-2.1.10_3
===  Cleaning for fontconfig-2.3.2_3,1
===  Cleaning for expat-2.0.0_1
===  Cleaning for libgpg-error-1.1
===  Cleaning for libgda3-1.9.102
You can enable support for LDAP databases by defining WITH_LDAP.
You can enable support for TDS databases by defining WITH_FREETDS.
You can enable support for Sybase databases by defining WITH_SYBASE.
You can enable support for MDB databases by defining WITH_MDB.
You can enable support for ODBC databases by defining WITH_ODBC.
You can enable support for SQLITE databases by defining WITH_SQLITE.
===  Extracting for libgda3-1.9.102
= MD5 Checksum OK for gnome2/libgda-1.9.102.tar.bz2.
===  Patching for libgda3-1.9.102
===  Applying FreeBSD patches for libgda3-1.9.102
===   libgda3-1.9.102 depends on executable: gmake - found
===   libgda3-1.9.102 depends on file: /usr/local/bin/intltool-extract - 
found
===   libgda3-1.9.102 depends on executable: pkg-config - found
===   libgda3-1.9.102 depends on shared library: popt.0 - found
===   libgda3-1.9.102 depends on shared library: intl - found
===   libgda3-1.9.102 depends on shared library: mysqlclient.12 - not found
===Verifying install for mysqlclient.12 
in /usr/ports/databases/mysql40-client
===  Extracting for mysql-client-4.0.26_1
= MD5 Checksum OK for mysql-4.0.26.tar.gz.
===  Patching for mysql-client-4.0.26_1
===  Applying FreeBSD patches for mysql-client-4.0.26_1
===   mysql-client-4.0.26_1 depends on file: /usr/local/bin/libtool - found
===  Configuring for mysql-client-4.0.26_1
checking build system type... i386-portbld-freebsd5.4
checking host system type... i386-portbld-freebsd5.4

snip

/bin/mv mysqlshow.1-t mysqlshow.1
===  Installing for mysql-client-4.0.26_1
===   mysql-client-4.0.26_1 depends on file: /usr/local/libdata/ldconfig - 
found
===   Generating temporary packing list
===  Checking if databases/mysql40-client already installed
===   mysql-client-4.0.26_1 is already installed
  You may wish to ``make deinstall'' and install this port again
  by ``make reinstall'' to upgrade it properly.
  If you really wish to overwrite the old port of databases/mysql40-client
  without deleting it first, set the variable FORCE_PKG_REGISTER
  in your environment or the make install command line.
*** Error code 1


And the second time (sorry, I only have the last part)
/bin/mv mysqlshow.1-t mysqlshow.1
===  Installing for mysql-client-4.0.26_1
===   mysql-client-4.0.26_1 depends on file: /usr/local/libdata/ldconfig - 
foun
d
===   Generating temporary packing list
===  Checking if databases/mysql40-client already installed
===   mysql-client-4.0.26_1 is already installed
  You may wish to ``make deinstall'' and install this port again
  by ``make reinstall'' to upgrade it properly.
  If you really wish to overwrite the old port of databases/mysql40-client
  without deleting it first, set the variable FORCE_PKG_REGISTER
  in your environment or the make install command line.

-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgp8fdpUwrPMz.pgp
Description: PGP signature


Re: A portupgrade question

2006-04-24 Thread Richard Collyer

On Mon, April 24, 2006 12:16 pm, Ian Moore wrote:
 On Monday 24 April 2006 20:43, Ian Moore wrote:
 Hi, I've got a question about portupgrade and something that's happened
 with it a couple of times now. The last 2 times libgda has been
 upgraded,
 I've run portupgrade -a to upgrade a bunch of ports, including libgda.

  snip

I always use portupgrade -aR to make sure dependencies are done. However
with mysql I find that portupgrade is not the best.

Personally I would update ports tree (cvsup), cd to mysql ports directory,
make clean  make  make deinstall  make reinstall

Never had a problem doing it that way.


-- 
Richard Collyer
[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: A portupgrade question

2006-04-24 Thread Ian Moore
On Monday 24 April 2006 21:20, Richard Collyer wrote:
 On Mon, April 24, 2006 12:16 pm, Ian Moore wrote:
  Hi, I've got a question about portupgrade and something that's happened
  with it a couple of times now. The last 2 times libgda has been
  upgraded,
  I've run portupgrade -a to upgrade a bunch of ports, including libgda.
 
   snip

 I always use portupgrade -aR to make sure dependencies are done. However
 with mysql I find that portupgrade is not the best.

 Personally I would update ports tree (cvsup), cd to mysql ports directory,
 make clean  make  make deinstall  make reinstall

 Never had a problem doing it that way.

Yes, that would fix the problem, but I'm just curious about what causes the 
problem in the first place, given that portupgrade rarely seems to have these 
kind of problems.

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpxZwzPaKJ9q.pgp
Description: PGP signature


Re: A portupgrade question

2006-04-24 Thread Derek Ragona

I have:
FORCE_PKG_REGISTER=YES
in /etc/make.conf
for portupgrade or if I need to re-install a port manually.

-Derek



At 06:16 AM 4/24/2006, Ian Moore wrote:

On Monday 24 April 2006 20:43, Ian Moore wrote:
 Hi, I've got a question about portupgrade and something that's happened
 with it a couple of times now. The last 2 times libgda has been upgraded,
 I've run portupgrade -a to upgrade a bunch of ports, including libgda.

Sorry, I forgot to add the output of the portupgrade sessions:

The first time it happened:
---  Upgrading 'libgda2-1.9.100_2' to 'libgda3-1.9.102' (databases/libgda3)
---  Building '/usr/ports/databases/libgda3'
===  Cleaning for gmake-3.80_2
===  Cleaning for intltool-0.34.2
===  Cleaning for pkgconfig-0.20
===  Cleaning for popt-1.7_1
===  Cleaning for gettext-0.14.5_2
===  Cleaning for mysql-client-4.0.26_1
===  Cleaning for glib-2.8.6_1
===  Cleaning for libxml2-2.6.23_1
===  Cleaning for libxslt-1.1.15_1
===  Cleaning for xorg-libraries-6.9.0
===  Cleaning for gnomehier-2.0_7
===  Cleaning for perl-5.8.8
===  Cleaning for p5-XML-Parser-2.34_2
===  Cleaning for libiconv-1.9.2_2
===  Cleaning for libtool-1.5.22_2
===  Cleaning for ldconfig_compat-1.0_6
===  Cleaning for libgcrypt-1.2.2
===  Cleaning for imake-6.9.0
===  Cleaning for libdrm-2.0_1
===  Cleaning for freetype2-2.1.10_3
===  Cleaning for fontconfig-2.3.2_3,1
===  Cleaning for expat-2.0.0_1
===  Cleaning for libgpg-error-1.1
===  Cleaning for libgda3-1.9.102
You can enable support for LDAP databases by defining WITH_LDAP.
You can enable support for TDS databases by defining WITH_FREETDS.
You can enable support for Sybase databases by defining WITH_SYBASE.
You can enable support for MDB databases by defining WITH_MDB.
You can enable support for ODBC databases by defining WITH_ODBC.
You can enable support for SQLITE databases by defining WITH_SQLITE.
===  Extracting for libgda3-1.9.102
= MD5 Checksum OK for gnome2/libgda-1.9.102.tar.bz2.
===  Patching for libgda3-1.9.102
===  Applying FreeBSD patches for libgda3-1.9.102
===   libgda3-1.9.102 depends on executable: gmake - found
===   libgda3-1.9.102 depends on file: /usr/local/bin/intltool-extract -
found
===   libgda3-1.9.102 depends on executable: pkg-config - found
===   libgda3-1.9.102 depends on shared library: popt.0 - found
===   libgda3-1.9.102 depends on shared library: intl - found
===   libgda3-1.9.102 depends on shared library: mysqlclient.12 - not found
===Verifying install for mysqlclient.12
in /usr/ports/databases/mysql40-client
===  Extracting for mysql-client-4.0.26_1
= MD5 Checksum OK for mysql-4.0.26.tar.gz.
===  Patching for mysql-client-4.0.26_1
===  Applying FreeBSD patches for mysql-client-4.0.26_1
===   mysql-client-4.0.26_1 depends on file: /usr/local/bin/libtool - found
===  Configuring for mysql-client-4.0.26_1
checking build system type... i386-portbld-freebsd5.4
checking host system type... i386-portbld-freebsd5.4

snip

/bin/mv mysqlshow.1-t mysqlshow.1
===  Installing for mysql-client-4.0.26_1
===   mysql-client-4.0.26_1 depends on file: /usr/local/libdata/ldconfig -
found
===   Generating temporary packing list
===  Checking if databases/mysql40-client already installed
===   mysql-client-4.0.26_1 is already installed
  You may wish to ``make deinstall'' and install this port again
  by ``make reinstall'' to upgrade it properly.
  If you really wish to overwrite the old port of 
databases/mysql40-client

  without deleting it first, set the variable FORCE_PKG_REGISTER
  in your environment or the make install command line.
*** Error code 1


And the second time (sorry, I only have the last part)
/bin/mv mysqlshow.1-t mysqlshow.1
===  Installing for mysql-client-4.0.26_1
===   mysql-client-4.0.26_1 depends on file: /usr/local/libdata/ldconfig -
foun
d
===   Generating temporary packing list
===  Checking if databases/mysql40-client already installed
===   mysql-client-4.0.26_1 is already installed
  You may wish to ``make deinstall'' and install this port again
  by ``make reinstall'' to upgrade it properly.
  If you really wish to overwrite the old port of 
databases/mysql40-client

  without deleting it first, set the variable FORCE_PKG_REGISTER
  in your environment or the make install command line.

--
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


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

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


Re: A portupgrade question

2006-04-24 Thread Kevin Kinsey

Ian Moore wrote:

Yes, that would fix the problem, but I'm just curious about what causes the 
problem in the first place, given that portupgrade rarely seems to have these 
kind of problems.


Cheers,
 



ls -l /var/db/pkg/mysql-client*??

Kevin Kinsey

--
A method of solution is perfect if we can forsee from the start,
and even prove, that following that method we shall attain our aim.
-- Leibnitz


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


Re: bacula daemon dosent died..?

2006-04-24 Thread Bill Moran
On Sun, 23 Apr 2006 09:25:24 -0700
perikillo [EMAIL PROTECTED] wrote:

 On 4/23/06, perikillo [EMAIL PROTECTED] wrote:
  On 4/23/06, Bill Moran [EMAIL PROTECTED] wrote:
   perikillo [EMAIL PROTECTED] wrote:
  
  Hi people, iam testing bacula 1.38.8, the problem i have right now
is that if i want to stop the daemon:
   
zorra#/usr/local/etc/rc.d/bacula-dir.sh stop
Stopping bacula-dir.
Waiting for PIDS: 910, 910,
910,910,910,910,910,910,910,910,910,910,910,910,910,910,910, 910, 910,
910,910,910,910,910,910,910,910,910,910,910,910,910,910,910,
910,910,910,910,910, 910,
910,910,910,910,910,910,910,910,910,910,910,910,910,910,910,
910,910,910,910,
910, 910, 910,910,910,910,910,910,910,910,910,910,910,910,910,910,910,
910,910,910,910, 910, 910,
910,910,910,910,910,910,910,910,910,910,910,910,910,910,910,
910,910,910,910,
910, 910, 910,910,910,910,910,910,910,910,910,910,910,910,910,910,910,
910,910,910,910,910, 910,
910,910,910,910,910,910,910,910,910,910,910,910,910,910,910,
910,910,910,910,
   
 top say:
   
idle 0.0% 21.9% user 0.0% nice 79.0 system
   
  I need to use the kill command to stop the daemon, has someone any
idea about how to resolve this problem...?
  
   What's the daemon doing when you try to stop it?  From the high system 
   time,
   it looks like it's in the process of running a job.  I doubt it's going to
   shut down until the job completes, which is the behaviour I would expect.
  
   --
   Bill Moran
   Potential Technologies
   http://www.potentialtech.com
  
 
  Hi Bill.
 
 Yes, i have jobs running each minute, maybe you are right, let me
  change the Schedule settings and see how he react.
 
 Let me try and inform here, thanks for that info Bill, greattings all.
 
 
   Bill i test, i cancel all my jobs, try to stop the director and same
 behaviour, it seens that i need to first shutdown the fd and sd
 daemons first if i want to stop the director daemon.
 
If this is normal i can live with.

I can't speak authoritatively, but (based on the rc script) it looks
like the daemons need started and stopped in a certain order due to
dependencies.

It might be worthwhile to take this question to the bacula users mailing
list, they're a helpful bunch and more likely to know the details of
this kind of thing.

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


Freebsd6.0 and postgresql

2006-04-24 Thread polinsky
I have an important database comprised of about 380 tables and several gigs of 
space currently running on Posgresql 7.4. and Freebsd 6.0. I have been 
contemplating moving the database to the 8 series, possibly postgresql 8.1. I 
would have no problem in dumping the data, recreating the tables under 8.1, if 
requried, and then re-loading the data. I have been concerned about the seeming 
lack of interfaces to the 8 series. I have the perly, pythopn, ruby and odbc 
sources installed for postgresql 7.4. I have not seen similar dirvers for the 8 
series in the ports system. Can I continue to use the same drivers with the new 
database or will I experience some other problems?

thank yo very much

Alan Polinsky

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


Re: A portupgrade question

2006-04-24 Thread Ian Moore
On Monday 24 April 2006 22:38, Kevin Kinsey wrote:
 Ian Moore wrote:
 Yes, that would fix the problem, but I'm just curious about what causes
  the problem in the first place, given that portupgrade rarely seems to
  have these kind of problems.
 
 Cheers,

 ls -l /var/db/pkg/mysql-client*??

total 28
-rw-r--r--  1 root  wheel36B Feb 26 09:08 +COMMENT
-rw-r--r--  1 root  wheel   4.0K Apr 23 09:39 +CONTENTS
-rw-r--r--  1 root  wheel   167B Feb 26 09:08 +DESC
-r--r--r--  1 root  wheel15K Feb 26 09:08 +MTREE_DIRS
-rw-r--r--  1 root  wheel57B Apr 23 23:50 +REQUIRED_BY

-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpggKDD0WYNd.pgp
Description: PGP signature


Re: GDM sessions.... [Solved]

2006-04-24 Thread Eric Schuele

Joseph Vella wrote:

On Sunday 23 April 2006 19:35, Eric Schuele wrote:

Norberto Meijome wrote:

On Sun, 23 Apr 2006 11:02:53 -0500
Eric Schuele [EMAIL PROTECTED] wrote:

I have GDM installed and working.  I *do not* have gnome installed.  I 
was hoping GDM would do as XDM and just run my .xsession.  But it does 
not.  I would simply like it to be an XDM replacement.  I


I stuck my head in a gnome IRC channel and got some pointers.  Got it 
running well now.





So what got it working for you?


Ah, yes... sorry.

So... I had found a few HowTo's on customizing GDM on the web.  All said 
similar things but nothing worked for me.  What they said to do *was* 
important, and in fact was 99% of the work.  So here's what I did to get 
GDM to run my .xsession file (last step did the trick):


 1) install /x11/gdm
 2) make sure you have an ~/.xsession file (setup however you like)
 3) make sure you have #!/bin/sh as first line
 4) make sure ~/.xsession is executable
 5) create a file /usr/X11R6/etc/gdm/Sessions/MySession.desktop
(replace MySession with whatever name you like)
 6) Give it the following contents
[Desktop Entry]
Encoding=UTF-8
Name=XSession
Comment=This session will run your ~/.xsession
Exec=~/.xsession
Icon=
Type=Application
(feel free to change name and comment to liking)
 7) Edit your /usr/X11R6/etc/gdm/gdm.conf. Search for 
SessionDesktopDir.  In my conf file it was commented out (plus a typo). 
 So I created a new SessionDesktopDir and pointed it where I placed my 
*.desktop file.  Such as SessionDesktopDir=/usr/X11R6/etc/gdm/Sessions/.


That's it.  My new session is now visible, and runs my .xsession 
seemingly just as XDM had.


There's plenty of eye candy for GDM.  I'm sure there is a port in ports 
that will install some, but haven't looked.  I simply copied a dir of 
themes from a gentoo box.


HTH.



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




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


Changing Default Shell

2006-04-24 Thread John Cruz
I'm running freeBSD 6 release (FreeBSD taurus.cruz 6.0-RELEASE FreeBSD 
6.0-RELEASE #0: Mon Jan  2 01:42:42 EST 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/FILESERV  i386) and for whatever 
reason, i'm stuck in bourne. Sure, I can type bash and open a new 
shell that way, but it will not let me change the default at all :( I've 
tried bin, csh, and tsch, all with the same result: invalid argument.


Here are my shells (from /etc/shells)

/bin/sh
/bin/csh
/bin/tcsh
/usr/local/bin/bash

I try to run chsh with flags, and I get this:
$ chsh -s /usr/local/bin/bash
Password:
chsh: entry inconsistent
chsh: pw_copy: Invalid argument

I try to run without flags,and it gives me

/etc/pw.ej2LjB: 7 lines, 150 characters.
Password:
chsh: entry inconsistent
chsh: pw_copy: Invalid argument

Any help on this is much appreciated.

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


Re: Changing Default Shell

2006-04-24 Thread Lowell Gilbert
John Cruz [EMAIL PROTECTED] writes:

 I'm running freeBSD 6 release (FreeBSD taurus.cruz 6.0-RELEASE FreeBSD
 6.0-RELEASE #0: Mon Jan  2 01:42:42 EST 2006
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/FILESERV  i386) and for
 whatever reason, i'm stuck in bourne. Sure, I can type bash and open
 a new shell that way, but it will not let me change the default at all
 :( I've tried bin, csh, and tsch, all with the same result: invalid
 argument.
 
 Here are my shells (from /etc/shells)
 
 /bin/sh
 /bin/csh
 /bin/tcsh
 /usr/local/bin/bash
 
 I try to run chsh with flags, and I get this:
 $ chsh -s /usr/local/bin/bash
 Password:
 chsh: entry inconsistent
 chsh: pw_copy: Invalid argument
 
 I try to run without flags,and it gives me
 
 /etc/pw.ej2LjB: 7 lines, 150 characters.
 Password:
 chsh: entry inconsistent
 chsh: pw_copy: Invalid argument
 
 Any help on this is much appreciated.

Something is wrong with the entry already in the password file.
Use vipw to (a) look at it, (b) fix it, and (c) rebuild the database.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: GDM sessions....

2006-04-24 Thread Eric Schuele

Norberto Meijome wrote:

On Sun, 23 Apr 2006 21:35:21 -0500
Eric Schuele [EMAIL PROTECTED] wrote:

Though I am starting to experiment with various display managers.  Can 
you tell me what it is you like (and dislike) about wdm (i've not heard 
much about wdm)?


port = x11/wdm

Very few dependencies (in particular, it doesnt depend on the GNOME or KDE lot).


Yeah... that's why I started out with XDM.  However, after some time, 
and loading apps I was interested in, I turned around and noticed I was 
only missing two GDM dependencies anyway... so I figured a little eye 
candy can't hurt.



Quite configurable.

it just works. looks better than the original XDM, though i didnt spend too
much time playing with XDM itself... i may go back to XDM, just to have less
ports on my system.

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




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


Re: A portupgrade question

2006-04-24 Thread Matthew Seaman
Ian Moore wrote:
 Hi, I've got a question about portupgrade and something that's happened with 
 it a couple of times now. The last 2 times libgda has been upgraded, I've run 
 portupgrade -a to upgrade a bunch of ports, including libgda.
 
 The libgda upgrade has caused a re-install of  mysql-client-4, but when 
 portupgrade has tried to install mysql-client, it's failed because 
 mysql-client is already installed.
 
 The workaround for this is simple enough, delete mysql-client and then run 
 portupgrade again, but I'm wondering why this situation occurs - portupgrade 
 should see that mysql-client is already installed and not try to install it 
 again (or if it needs upgrading, it should deinstall the old version and 
 build  install the new version).
 
 /etc/ports/UPDATING doesn't seem to help, there's no mention of either port 
 in 
 it. 

The reason the ports system can't detect that you've already got mysql-client
software installed is because you haven't got libmysqlclient.so in your loader
cache.  Try this command -- you should get similar output:

lack-of-gravitas:~:% ldconfig -r | grep mysqlclient
441:-lmysqlclient_r.14 = /usr/local/lib/mysql/libmysqlclient_r.so.14
442:-lmysqlclient.14 = /usr/local/lib/mysql/libmysqlclient.so.14

ldconfig(8) needs to be told to scan /usr/local/lib/mysql for shared libraries,
as that's not one of the default directories.  This is generally handled through
the ldconfig_compat port which installs precisely one file:

sisyphus:~:% pkg_info -L ldconfig_compat-1.0_7 
Information for ldconfig_compat-1.0_7:

Files:
//etc/rc.d/ldconfig_compat

although you can also add /usr/local/lib/mysql to the set of stuff scanned by
ldconfig by modifying variables in /etc/rc.conf (but that's the old and
unfashionable way of doing this...).  Re-installing that port and running

/etc/rc.d/ldconfig_compat start

should sort out the problem you're seeing. 

Note that mergemaster(1) will ask you to delete that file because it's in
/etc/rc.d and it's  not one of the one installed by the system.  You should
resist the suggestion to do that, or put up with various MySQL (and certain
other port) related things not working in the way you might expect.

Note too: this is system version number dependant -- recent 6.1-STABLE or above
will have the ldconfig_compat script installed in /usr/local/etc/rc.d

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   Flat 3
  7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW, UK



signature.asc
Description: OpenPGP digital signature


Re: Changing Default Shell

2006-04-24 Thread John Cruz

Lowell Gilbert wrote:

Something is wrong with the entry already in the password file.
Use vipw to (a) look at it, (b) fix it, and (c) rebuild the database.

  
Thanks, that did it! I tried manually editing /etc/passwd before and I 
guess there's other ways that have to be done to change it.


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


Re: Changing Default Shell

2006-04-24 Thread Alex Zbyslaw

John Cruz wrote:


Lowell Gilbert wrote:


Something is wrong with the entry already in the password file.
Use vipw to (a) look at it, (b) fix it, and (c) rebuild the database.

  


Thanks, that did it! I tried manually editing /etc/passwd before and I 
guess there's other ways that have to be done to change it.


If you edit the passwd file manually you should always use vipw.  Apart 
from locking which prevents two people editing at the same time and 
mucking things up, you also get consistency checking.


from man vipw

 The vipw utility performs a number of consistency checks on the 
password
 entries, and will not allow a password file with a ``mangled'' 
entry to

 be installed.  If vipw rejects the new password file, the user is
 prompted to re-enter the edit session.


--Alex


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


Re: JDK1.5 build and linux-sun-java1.4 problems

2006-04-24 Thread Michael Conlen


On Apr 23, 2006, at 5:35 PM, Jonathan Chen wrote:


Just the usual stuff:
- make sure linprocfs is mounted.
- don't run the build in a jail.

If all else fails, you can download the diablo-jdk1.5 to build the
ports based jdk1.5.


Check and check. I found it works fine with the GENERIC kernel, but  
not with the kernel where I've commented out a lot of unnecessary  
stuff and added some memory size options and SMP. I also commented  
out makeoptions	 DEBUG=-g. Once ran the build with the GENERIC kernel  
the jdk15 runs fine, but I'd like to understand what's going on with  
the system with the custom kernel.


Diff below

# diff AD GENERIC
21a22,23
 cpu   I486_CPU
 cpu   I586_CPU
23c25
 ident AD
---
 ident GENERIC
28,33c30
 #makeoptions  DEBUG=-g# Build kernel with gdb(1)  
debug symbols


 options MAXDSIZ=(1024*1024*1024)
 options DFLDSIZ=(1024*1024*1024)
 options MAXSSIZ=(2047*1024*1024)
 options   SMP
---
 makeoptions   DEBUG=-g# Build kernel with gdb(1)  
debug symbols

80,81c77,78
 #device   atadisk # ATA disk drives
 #device   ataraid # ATA RAID drives
---
 deviceatadisk # ATA disk drives
 deviceataraid # ATA RAID drives
83,84c80,81
 #device   atapifd # ATAPI floppy drives
 #device   atapist # ATAPI tape drives
---
 deviceatapifd # ATAPI floppy drives
 deviceatapist # ATAPI tape drives
88,107c85,104
 #device   ahb # EISA AHA1742 family
 #device   ahc # AHA2940 and onboard AIC7xxx  
devices
 #device   ahd # AHA39320/29320 and onboard  
AIC79xx devices

 #device   amd # AMD 53C974 (Tekram DC-390(T))
 #device   isp # Qlogic family
 ##device  ispfw   # Firmware for QLogic HBAs- normally  
a module

 #device   mpt # LSI-Logic MPT-Fusion
 ##device  ncr # NCR/Symbios Logic
 #device   sym # NCR/Symbios Logic (newer  
chipsets + those of `ncr')
 #device   trm # Tekram DC395U/UW/F DC315U  
adapters


 #device   adv # Advansys SCSI adapters
 #device   adw # Advansys wide SCSI adapters
 #device   aha # Adaptec 154x SCSI adapters
 #device   aic # Adaptec 15[012]x SCSI  
adapters, AIC-6[23]60.
 #device   bt  # Buslogic/Mylex MultiMaster  
SCSI adapters


 #device   ncv # NCR 53C500
 #device   nsp # Workbit Ninja SCSI-3
 #device   stg # TMC 18C30/18C50
---
 deviceahb # EISA AHA1742 family
 deviceahc # AHA2940 and onboard  
AIC7xxx devices
 deviceahd # AHA39320/29320 and onboard  
AIC79xx devices

 deviceamd # AMD 53C974 (Tekram DC-390(T))
 deviceisp # Qlogic family
 #device   ispfw   # Firmware for QLogic HBAs- normally  
a module

 devicempt # LSI-Logic MPT-Fusion
 #device   ncr # NCR/Symbios Logic
 devicesym # NCR/Symbios Logic (newer  
chipsets + those of `ncr')
 devicetrm # Tekram DC395U/UW/F DC315U  
adapters


 deviceadv # Advansys SCSI adapters
 deviceadw # Advansys wide SCSI adapters
 deviceaha # Adaptec 154x SCSI adapters
 deviceaic # Adaptec 15[012]x SCSI  
adapters, AIC-6[23]60.
 devicebt  # Buslogic/Mylex MultiMaster  
SCSI adapters


 devicencv # NCR 53C500
 devicensp # Workbit Ninja SCSI-3
 devicestg # TMC 18C30/18C50
111c108
 #device   ch  # SCSI media changers
---
 devicech  # SCSI media changers
113,114c110,111
 #device   sa  # Sequential Access (tape etc)
 #device   cd  # CD
---
 devicesa  # Sequential Access (tape etc)
 devicecd  # CD
119,120c116,117
 #device   amr # AMI MegaRAID
 #device   arcmsr  # Areca SATA II RAID
---
 deviceamr # AMI MegaRAID
 devicearcmsr  # Areca SATA II RAID
122,128c119,125
 #device   ciss# Compaq Smart RAID 5*
 #device   dpt # DPT Smartcache III, IV -  
See NOTES for options

 #device   hptmv 

Re: bacula daemon dosent died..?

2006-04-24 Thread perikillo
On 4/24/06, Bill Moran [EMAIL PROTECTED] wrote:
 On Sun, 23 Apr 2006 09:25:24 -0700
 perikillo [EMAIL PROTECTED] wrote:

  On 4/23/06, perikillo [EMAIL PROTECTED] wrote:
   On 4/23/06, Bill Moran [EMAIL PROTECTED] wrote:
perikillo [EMAIL PROTECTED] wrote:
   
   Hi people, iam testing bacula 1.38.8, the problem i have right now
 is that if i want to stop the daemon:

 zorra#/usr/local/etc/rc.d/bacula-dir.sh stop
 Stopping bacula-dir.
 Waiting for PIDS: 910, 910,
 910,910,910,910,910,910,910,910,910,910,910,910,910,910,910, 910, 910,
 910,910,910,910,910,910,910,910,910,910,910,910,910,910,910,
 910,910,910,910,910, 910,
 910,910,910,910,910,910,910,910,910,910,910,910,910,910,910,
 910,910,910,910,
 910, 910, 910,910,910,910,910,910,910,910,910,910,910,910,910,910,910,
 910,910,910,910, 910, 910,
 910,910,910,910,910,910,910,910,910,910,910,910,910,910,910,
 910,910,910,910,
 910, 910, 910,910,910,910,910,910,910,910,910,910,910,910,910,910,910,
 910,910,910,910,910, 910,
 910,910,910,910,910,910,910,910,910,910,910,910,910,910,910,
 910,910,910,910,

  top say:

 idle 0.0% 21.9% user 0.0% nice 79.0 system

   I need to use the kill command to stop the daemon, has someone any
 idea about how to resolve this problem...?
   
What's the daemon doing when you try to stop it?  From the high system 
time,
it looks like it's in the process of running a job.  I doubt it's going 
to
shut down until the job completes, which is the behaviour I would 
expect.
   
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
   
  
   Hi Bill.
  
  Yes, i have jobs running each minute, maybe you are right, let me
   change the Schedule settings and see how he react.
  
  Let me try and inform here, thanks for that info Bill, greattings all.
  
 
Bill i test, i cancel all my jobs, try to stop the director and same
  behaviour, it seens that i need to first shutdown the fd and sd
  daemons first if i want to stop the director daemon.
 
 If this is normal i can live with.

 I can't speak authoritatively, but (based on the rc script) it looks
 like the daemons need started and stopped in a certain order due to
 dependencies.

 It might be worthwhile to take this question to the bacula users mailing
 list, they're a helpful bunch and more likely to know the details of
 this kind of thing.

 --
 Bill Moran
 Collaborative Fusion Inc.


Ok Bill, i will go to bacula maillist to start there, thanks Bill.
  Greattings all.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: bind and multiple a records

2006-04-24 Thread Chad Leigh -- Shire.Net LLC


On Apr 23, 2006, at 10:21 AM, Chuck Swiger wrote:


Chad Leigh -- Shire.Net LLC wrote:
On FreeBSD 6.0 with bind9, if I define a host to have multiple A  
records, such that some IP addresses are listed more than once,  
for example:

[ ... ]
Will those addresses listed more than once show up more often as  
the answer to name server requests (or more often as the first  
address since it lists all addresses in response alternating the  
order)??


The last I'd heard, BIND implemented multiple-RR round-robin'ing  
but not relative weighting if a RR is specified several times.


Too bad that they don't have the simplest implementation, which would  
be just to cycle through the entries as found in the declaration  
file.  No explicit weighting would be necessary.




Note that you're probably never going to achieve fine-grained  
control by using DNS load-balancing anyway, since client-side  
caching behavior is more significant than what your side does.


Not needing fine grained control.  Say I have 3:2 defined in the  
declaration.  Anywhere from 1:1 to 2:1 at any moment in time would be  
ok...  Just a general distribution.




If you actually need load-balancing to do something, you're better  
off implementing it between a front-end DTS box (an Alteon or  
something like that if need be) and a bunch of back-end servers  
which actually implement meaningful load-balancing based on the  
workload of your back-end servers...


If it were worth the money to do so I would agree...

Chad



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


---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net



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


learning to buildworld

2006-04-24 Thread Jonathan Horne
i have begun spending a good deal of time researching and practicing the
buildworld process on my dev boxes.  i want to make sure i have the entire
process down pat, before i attempt it on my production server.

the handbook states that i should:

make buildworld
make buildkernel
make installkernel

and then reboot to single usermode.  the installworld comes while in
single user mode, and my production server would see quite a bit of
downtime over this.  handbook says to, in sigle user mode:

mergemaster -p
make installworld
mergemaster
reboot

ive seen several articles on the net, and of course, no one agrees on the
exact steps to take to update your system.  my question is, is it safe to
'mergemaster' and 'make installworld' while still up and running?  or do i
just need to bite the downtime-bullet, and put it in single user?

my server is co-located, so its not exactly convenient to put it in single
user mode, so if there is any reason to believe the whole processes can be
completed safely without single-user mode, then i will probably try it.

thanks,
jonathan

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


learning to buildworld

2006-04-24 Thread Robert Huff

Jonathan Horne writes:

  ive seen several articles on the net, and of course, no one
  agrees on the exact steps to take to update your system.  my
  question is, is it safe to 'mergemaster'

Yes.

   and 'make installworld' while still up and running?

Absolutely not.  (Has someone, somewhere, done it?  Yes.  Would
I do it even for an experiemental machine?  Only if you put a gun to
my head.)

  or do I
  just need to bite the downtime-bullet, and put it in single user?

The downtime-bullet can be pretty small: it takes me 15  T
 30 minutes on a P4/2.25 Ghz with 80 Mb/s SCSI disks.


Robert Huff

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


No Buffer Space Available

2006-04-24 Thread Yousef Raffah
Hello..

Please forgive me for being quite new to FreeBSD...

I noticed while I'm trying to monitor my network from my laptop while
running fragrouter -B1 and trying to monitor the connections coming to
and going from another machine on the same network through ettercap or
ethereal that I get a lot of No buffer space available messages as
following:

SEND L3 ERROR: 1500 byte packet (0800:06) destined to 192.168.1.4 was
not forwarded (libnet_write_raw_ipv4(): -1 bytes written (No buffer
space available)
)

I even was not able to nmap the other machine.

I was trying to run these test over my iwi0 card and I'm on FreeBSD
6.1-RC

While googling I found several posts about setting certain kernel
parameters with sysctl and stuff can help but I didn't really get the
clear picture of the problem and how it can be resolved, if it is
considered a problem. Or is it the iwi0 doesn't handle much load?

Thanks in advance for any input


--
Sincerely,
Yousef Raffah
Senior Systems Administrator
--

Aren't you using Firefox? Get it at http://www.getfirefox.com




signature.asc
Description: This is a digitally signed message part


Obsolete packages

2006-04-24 Thread Lena
Hi,

A new version of a port (www/firefox) was released on April 14.

# portversion -v firefox
firefox-1.5.0.1,1 needs updating (port has 1.5.0.2,1)

But packages still (on April 24) are of previous version:

$ ftp ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/
ftp dir packages-5-stable/All/firefox-1*
-rw-r--r--1 110  011188636 Apr 01 16:29 firefox-1.5.0.1_2,1.tbz
ftp dir packages-6-stable/All/firefox-1*
-rw-r--r--1 110  011511879 Apr 02 10:21 firefox-1.5.0.1_2,1.tbz
ftp dir packages-7-current/All/firefox-1*
-rw-r--r--1 110  011511428 Apr 03 04:40 firefox-1.5.0.1_2,1.tbz

Is something broken or is there insufficient computing power for
building new packages more often?

Thanks,

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


Apache 2.2 port with OpenLDAP 2.3.20

2006-04-24 Thread Robert Fitzpatrick
Trying to install Apache 2.2 via the ports collection and get this make
error where the port is trying to install OpenLDAP 2.2 and conflicting
with my already installed v2.3...

esmtp# make
===   apache-2.2.0_7 depends on executable: python - found
===   apache-2.2.0_7 depends on file: /usr/local/bin/perl5.8.7 - found
===   apache-2.2.0_7 depends on file: /usr/local/bin/autoconf259 - found
===   apache-2.2.0_7 depends on file: /usr/local/bin/libtool - found
===   apache-2.2.0_7 depends on shared library: expat.6 - found
===   apache-2.2.0_7 depends on shared library: ldap-2.2.7 - not found
===Verifying install for ldap-2.2.7 in /usr/ports/net/openldap22-client
===  Installing for openldap-client-2.2.30

===  openldap-client-2.2.30 conflicts with installed package(s):
  openldap-sasl-client-2.3.20

I have on another server Apache 2.0 running with LDAP 2.3, but the LDAP package 
has been upgraded since Apache was installed. Can someone suggest what is 
necessary to get Apache 2.2 to install with OpenLDAP 2.3.x? Looks from the 
Makefile that WITH_LDAP triggers the support, I also have WITH_OPENLDAP_VER=23 
in the /etc/make.conf file, but no help getting Apache to look at my v2.3.x.

-- 
Robert

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


Re: Apache 2.2 port with OpenLDAP 2.3.20

2006-04-24 Thread Joerg Pulz

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Mon, 24 Apr 2006, Robert Fitzpatrick wrote:


Trying to install Apache 2.2 via the ports collection and get this make
error where the port is trying to install OpenLDAP 2.2 and conflicting
with my already installed v2.3...

esmtp# make
===   apache-2.2.0_7 depends on executable: python - found
===   apache-2.2.0_7 depends on file: /usr/local/bin/perl5.8.7 - found
===   apache-2.2.0_7 depends on file: /usr/local/bin/autoconf259 - found
===   apache-2.2.0_7 depends on file: /usr/local/bin/libtool - found
===   apache-2.2.0_7 depends on shared library: expat.6 - found
===   apache-2.2.0_7 depends on shared library: ldap-2.2.7 - not found
===Verifying install for ldap-2.2.7 in /usr/ports/net/openldap22-client
===  Installing for openldap-client-2.2.30

===  openldap-client-2.2.30 conflicts with installed package(s):
 openldap-sasl-client-2.3.20

I have on another server Apache 2.0 running with LDAP 2.3, but the LDAP package 
has been upgraded since Apache was installed. Can someone suggest what is 
necessary to get Apache 2.2 to install with OpenLDAP 2.3.x? Looks from the 
Makefile that WITH_LDAP triggers the support, I also have WITH_OPENLDAP_VER=23 
in the /etc/make.conf file, but no help getting Apache to look at my v2.3.x.


Try WANT_OPENLDAP_VER=23 in /etc/make.conf .

This is handled by Mk/bsd.port.mk and there is no WITH_OPENLDAP_VER.

Joerg

- -- 
The beginning is the most important part of the work.

-Plato
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQFETQ1vSPOsGF+KA+MRAr18AJ0URkSjk7O4FETWW8eMv/eDW2MMigCfeq8D
WGQ0A8UkRI9orjSuGWMQT+w=
=MlLO
-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]


Re: Freebsd6.0 and postgresql

2006-04-24 Thread Marc G. Fournier

On Mon, 24 Apr 2006, [EMAIL PROTECTED] wrote:

I have an important database comprised of about 380 tables and several 
gigs of space currently running on Posgresql 7.4. and Freebsd 6.0. I 
have been contemplating moving the database to the 8 series, possibly 
postgresql 8.1. I would have no problem in dumping the data, recreating 
the tables under 8.1, if requried, and then re-loading the data. I have 
been concerned about the seeming lack of interfaces to the 8 series. I 
have the perly, pythopn, ruby and odbc sources installed for postgresql 
7.4. I have not seen similar dirvers for the 8 series in the ports 
system. Can I continue to use the same drivers with the new database or 
will I experience some other problems?


Yes ... all of our servers, 4.x and 6.x, are using postgresql81-client, 
and each of the interfaces you list above are installed over various 
machines, without any problems ...



Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email: [EMAIL PROTECTED]   Yahoo!: yscrappy  ICQ: 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: learning to buildworld

2006-04-24 Thread Paul Schmehl
--On April 24, 2006 11:02:18 AM -0500 Jonathan Horne [EMAIL PROTECTED] 
wrote:



i have begun spending a good deal of time researching and practicing the
buildworld process on my dev boxes.  i want to make sure i have the entire
process down pat, before i attempt it on my production server.

the handbook states that i should:

make buildworld
make buildkernel
make installkernel

and then reboot to single usermode.  the installworld comes while in
single user mode, and my production server would see quite a bit of
downtime over this.  handbook says to, in sigle user mode:

mergemaster -p
make installworld
mergemaster
reboot

ive seen several articles on the net, and of course, no one agrees on the
exact steps to take to update your system.  my question is, is it safe to
'mergemaster' and 'make installworld' while still up and running?  or do i
just need to bite the downtime-bullet, and put it in single user?

I have done the complete process remotely, over ssh, without problems. 
*However*, that is not the recommended procedure *and* I was doing it on a 
new install where, if it failed, I could simply start over.  I wouldn't 
recommend it for production systems that are remotely located.  The price 
you pay for going to the server and using single-user mode is less than the 
price you pay for doing it remotely *and* having it fail.


Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/

Re: LDAP schema problems

2006-04-24 Thread Joerg Pulz

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Mon, 24 Apr 2006, Erik Norgaard wrote:


Hi:

I am writing here because OpenLDAP doesn't seem to have a list for user
questions.

I am building an address book, suffix dc=domain, dc=tld. I have two
problems:

a) To get attributes such as mail I use the inetOrgPerson object
class. Further, since my contacts are personal contacts and not business
I wanted to use the residentialPerson object class to get postal address
attributes.

It seems that the only difference from the organizationalPerson object
class is that l is required parameter, but, I get this error:

ldap_add: Internal (implementation specific) error (80)
   additional info: no structuralObjectClass operational attribute

for this entry:

dn: cn=First Lastname, ou=people, dc=domain, dc=tld
objectClass: top
objectClass: residentialPerson
objectClass: inetOrgPerson
cn: First Lastname
sn: Lastname
l: somewhere

While if I change residentialPerson to organizationalPerson, I get no
error. I have found that I can add the residentialPerson if I remove
inetOrgPerson objectClass.

What causes the conflict?

b) In their infinite wisdom, those who defined the person and derivative
object classes did not add country to the list of possible attributes.
Adding this object class to the otherwise working entry:

dn: cn=First Lastname, ou=people, dc=domain, dc=tld
objectClass: top
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: country
cn: First Lastname
sn: Lastname
l: somewhere
c: XX

I again get the error:

ldap_add: Internal (implementation specific) error (80)
   additional info: no structuralObjectClass operational attribute

I'd prefer not to go through the pain of defining my own schema from
scratch, obtain OID etc just for adding such a basic attribute, what is
the recommended patch?


Erik,

please try this:

dn: cn=First Lastname, ou=people, dc=domain, dc=tld
objectClass: top
objectClass: person
objectClass: inetOrgPerson
cn: First Lastname
givenName: First
sn: Lastname
postalAddress: some_address
postalCode: 12345
street: some_street
st: some_state
telephoneNumber: 01232234
mobile: 0042750
facsimileTelephoneNumber: 12470512
pager: 38979
homePhone: 07520326
homePostalAddress: some_address
mail: [EMAIL PROTECTED]

Do you need more?

regards
Joerg

- -- 
The beginning is the most important part of the work.

-Plato
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQFETRa4SPOsGF+KA+MRAoXxAKC+r750qoLesN3Oojff8GgOK9sqJQCgvxai
XFJ6wJB6fsleewvHZuVDMNg=
=V+Yj
-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]


Re: learning to buildworld

2006-04-24 Thread Lowell Gilbert
Jonathan Horne [EMAIL PROTECTED] writes:

 ive seen several articles on the net, and of course, no one agrees on the
 exact steps to take to update your system.

The actual release engineers *do* agree.
Use the procedure in the Handbook.
Or you will likely be on your own if you have problems.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Obsolete packages

2006-04-24 Thread Kris Kennaway
On Mon, Apr 24, 2006 at 07:50:21PM +0300, [EMAIL PROTECTED] wrote:
 Hi,
 
 A new version of a port (www/firefox) was released on April 14.
 
 # portversion -v firefox
 firefox-1.5.0.1,1 needs updating (port has 1.5.0.2,1)
 
 But packages still (on April 24) are of previous version:
 
 $ ftp ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/
 ftp dir packages-5-stable/All/firefox-1*
 -rw-r--r--1 110  011188636 Apr 01 16:29 
 firefox-1.5.0.1_2,1.tbz
 ftp dir packages-6-stable/All/firefox-1*
 -rw-r--r--1 110  011511879 Apr 02 10:21 
 firefox-1.5.0.1_2,1.tbz
 ftp dir packages-7-current/All/firefox-1*
 -rw-r--r--1 110  011511428 Apr 03 04:40 
 firefox-1.5.0.1_2,1.tbz
 
 Is something broken or is there insufficient computing power for
 building new packages more often?

We were asked not to upload new packages for now since mirror sites
will need to focus on the forthcoming release.  FYI, the last upload
was about 2 weeks ago.

Kris


pgpX6RFiKCc1T.pgp
Description: PGP signature


Re: Obsolete packages

2006-04-24 Thread Eric Schuele

[EMAIL PROTECTED] wrote:

Hi,

A new version of a port (www/firefox) was released on April 14.

# portversion -v firefox
firefox-1.5.0.1,1 needs updating (port has 1.5.0.2,1)

But packages still (on April 24) are of previous version:

$ ftp ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/
ftp dir packages-5-stable/All/firefox-1*
-rw-r--r--1 110  011188636 Apr 01 16:29 firefox-1.5.0.1_2,1.tbz
ftp dir packages-6-stable/All/firefox-1*
-rw-r--r--1 110  011511879 Apr 02 10:21 firefox-1.5.0.1_2,1.tbz
ftp dir packages-7-current/All/firefox-1*
-rw-r--r--1 110  011511428 Apr 03 04:40 firefox-1.5.0.1_2,1.tbz

Is something broken or is there insufficient computing power for
building new packages more often?


It's my understanding that packages are built when possible.  They 
often lag that which is in ports.  There are only so many cycles in a 
day (per cpu and per person).  I would assume that there is some logical 
order in which the packages are built (most used first? Though not sure 
how that would be determined)


If you require the most current binary, building it yourself is the way 
to go.  I compile everything myself with the exception of openoffice.org 
(because it can be downright painful).




Thanks,

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




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


Re: learning to buildworld

2006-04-24 Thread Kevin Kinsey

Jonathan Horne wrote:


i have begun spending a good deal of time researching and practicing the
buildworld process on my dev boxes.  i want to make sure i have the entire
process down pat, before i attempt it on my production server.
 



So, Mr. Murphy has never visited?  down pat is probably
an oxymoron. ;-)


the handbook states that i should:

make buildworld
make buildkernel
make installkernel

and then reboot to single usermode.  the installworld comes while in
single user mode, and my production server would see quite a bit of
downtime over this.  handbook says to, in sigle user mode:

mergemaster -p
 



/etc/ is not updated by buildworld nor buildkernel,
hence the need for mergemaster (to get the new files
into /etc/ if anything has changed).

Note, from mergemaster(8), that the -p option is
pre buildworld; so, to place this at this juncture is
assuming that nothing in /etc/ has changed to the point
of destroying the build world procedure.  If it has, then
you should run mergemaster -p before *anything* else

This wasn't the case with the last rebuild I did (Saturday).
The newly-built world couldn't be installed without the
audit group, so mergemaster -p was necessary before
installworld, but buildworld had been fine without it. 
It all depends.  Which brings up another point ... the

*real* first step is, read /usr/src/UPDATING.

Here's the brass tacks: 
 *You may have to mergemaster -p before buildworld. 
 *You *must* buildworld before buildkernel if you want
   the new kernel to match the new world. 
  *You must build a world and a kernel before you install

   either. ;-)
  *You probably don't want to install the new world before
  you install the new kernel, 'cause currently running
  programs could be affected, or might cause problems
  with the current kernel.  But, I guess you *could*
  *You have to reboot to run a new kernel, so you must
  install the kernel prior to a reboot.  When you reboot,
  your kernel will be using an old userland until the new
  world is installed.  Probably won't cause many issues,
  but it could.
  *It's possible that installing a new userland/world while
  running could interfere with some processes/users/whatnot.
   *It's possible that programs running after the world is reinstalled
  need something in the new /etc/.

From this, one might extract this sequence:

   cvsup your source
   read /usr/src/UPDATING, take notes
   mergemaster -p
   buildworld
   buildkernel
   installkernel
   reboot (su preferred/wisest)
   installworld
   mergemaster

But, frankly, the last mergemaster could be anywhere
   after the initial cvsup, I suppose.  Kicks/pointers
   welcomed on that


make installworld
mergemaster
reboot

ive seen several articles on the net, and of course, no one agrees on the
exact steps to take to update your system.  my question is, is it safe to
'mergemaster' and 'make installworld' while still up and running?  or do i
just need to bite the downtime-bullet, and put it in single user?
 



As you have probably noted, various authorities will give you
different answers.  'Nix is tools, not policy.  There are a few
ways to skin the cat

It is possible to installworld after a remote reboot on a
low-trafficked machine without issues --- I do it all the time
(in fact, the entire process, with the exception of the reboot,
is scripted).  But, I've been visited by Mr. Murphy once
or twice in the almost 5 years I've done this.  Fortunately, my
co-location is only 20 minutes away, and I've a key... at
least for one of my production systems (I rebuild the other
during office hours ;-)

I note from previous responses that for some people, such a
strategy is not acceptable at all.  YMMV; mine does.

You might ask if anyone uses a limited reboot strategy.  You
could turn your daemons off in /rc.conf prior to the reboot, and
set your firewall to only allow you in; then perform the last steps
and re-enable the daemons/firewall, etc.

Of course, the real problems start if the kernel panics on reboot,
and you're sitting in your chair 300 miles away on a Sunday
afternoon, wonder why ping myhost still isn't working after 240
seconds


my server is co-located, so its not exactly convenient to put it in single
user mode, so if there is any reason to believe the whole processes can be
completed safely without single-user mode, then i will probably try it.
 


It's possible to enter single-user remotely via the use of a second
box and a serial console arrangement, but it's not something I've
needed to investigate.

I'd recommend practicing on a scratch box, for starters.  Also,
it'd be a real Good Thing(tm) if a tech at the colo knows his BSD
stuff, and his time is included in your contract ;-) .

HTH,

Kevin Kinsey

--
He played the king as if afraid someone else would play the ace.
-- John Mason Brown, drama critic


___

Re: LDAP schema problems

2006-04-24 Thread Erik Nørgaard
Joerg Pulz wrote:
 On Mon, 24 Apr 2006, Erik Norgaard wrote:
 
 b) In their infinite wisdom, those who defined the person and derivative
 object classes did not add country to the list of possible attributes.
 Adding this object class to the otherwise working entry:

 dn: cn=First Lastname, ou=people, dc=domain, dc=tld
 objectClass: top
 objectClass: organizationalPerson
 objectClass: inetOrgPerson
 objectClass: country
 cn: First Lastname
 sn: Lastname
 l: somewhere
 c: XX

 I again get the error:

 ldap_add: Internal (implementation specific) error (80)
additional info: no structuralObjectClass operational attribute

 I'd prefer not to go through the pain of defining my own schema from
 scratch, obtain OID etc just for adding such a basic attribute, what is
 the recommended patch?
 
 Erik,
 
 please try this:
 
 dn: cn=First Lastname, ou=people, dc=domain, dc=tld
 objectClass: top
 objectClass: person
 objectClass: inetOrgPerson
 cn: First Lastname
 givenName: First
 sn: Lastname
 postalAddress: some_address
 postalCode: 12345
 street: some_street
 st: some_state
 telephoneNumber: 01232234
 mobile: 0042750
 facsimileTelephoneNumber: 12470512
 pager: 38979
 homePhone: 07520326
 homePostalAddress: some_address
 mail: [EMAIL PROTECTED]

 Do you need more?

I was following this example from O'Reilly:

  http://www.onlamp.com/pub/a/onlamp/2003/03/27/ldap_ab.html

I checked again inetOrgPerson inherits from organizationalPerson which
inherits from person, so you can leave out the person object class. Now
I also understand the conflict mentioned in my first question. Of course
one can't mix both organizationalPerson and residentialPerson.

But question b) remains, I still like to add country. As I understand
state, st, applies in countries like US and Germany and should not be
used for country. friendlyCountry doesn't work because it inherit country.

It seems that to solve this I would have to define a schema with an
auxCountry object class which is auxiliary rather than structural and
just contains the attribute country. That would require applying of an
OID branch etc...

But maybe there is another schema I am unaware of? is there a schema
repository? What do multinational organizations do?

Thanks, Erik
-- 
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F0C.crt
Subject ID:  69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9
Fingerprint: 7F:80:96:EA:95:92:E2:23:1F:FA:0F:98:92:C2:CC:55:6B:9A:8C:92


smime.p7s
Description: S/MIME Cryptographic Signature


Re: bind and multiple a records

2006-04-24 Thread Ceri Davies
On 23/4/06 07:24, Chad Leigh -- Shire.Net LLC [EMAIL PROTECTED] wrote:

 On FreeBSD 6.0 with bind9, if I define a host to have multiple A
 records, such that some IP addresses are listed more than once, for
 example:
 
 .
 .
 .
 www  600  IN A  192.168.1.1
 600  IN A   192.168.1.2
 600  IN A  192.168.1.1
 .
 .
 .
 
 
 Will those addresses listed more than once show up more often as the
 answer to name server requests (or more often as the first address
 since it lists all addresses in response alternating the order)??

If it doesn't you could cheat thusly:

www IN  CNAME   www1
IN  CNAME   www2
IN  CNAME   www3
www1IN  A   192.168.1.1
www2IN  A   192.168.1.1
www3IN  A   192.168.1.2

It would still be a crappy solution though :)

Ceri
-- 
That must be wonderful!  I don't understand it at all.
  -- Moliere



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


Purchasing the correct hardware: dual-core intel? Big cache?

2006-04-24 Thread Bill Moran

I've been asked to make some hardware recommendations, I'm hoping some
folks on the list can make some suggestions.

We're looking hard at getting either Intel dual-core procs, or getting
hyperthreaded procs with huge (8M) caches.

We currently have a few dual proc Intel HT machines that we can test
out our workload on, and I'm trying to get a feel for how to determine
if a larger cache size will generate better performance than replacing
HT procs with full-blown dual-core procs.  We're looking at the 6850
from Dell, which supports both processor families:
http://www1.us.dell.com/content/products/productdetails.aspx/pedge_6850?c=uscs=555l=ens=biz

The goal for these machines is to serve out PosgreSQL databases to as
many Apache+php front ends as we can hang off each one.  So we're trying
to purchase hardware that will create a DB server that can handle a lot
of web server front ends.

I have a Dell 2850 (dual HT procs) here that I can use for testing.
I'm a little fuzzy on determining how well the cache is working, so I'm
stuck on whether or not the 8M cache that's available on the HT units
is worth the money or not.  Can anyone suggest a testing methodology
that will isolate this particular aspect?

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


make installkernel confused by automounter and symlinks

2006-04-24 Thread Doug Poland
Hello,

I'm running 6.x i386 and am having a problem with make and symlinks.
 In this case, I'm exporting /usr/src and /usr/obj from an NFS server.
 The box in question has the NFS exports defined in fstab:

fs:/usr/src /mnt/src nfs -3,-R=3,-b,-i,-s,-r=32768,-w=32768,rw,noauto 
  fs:/usr/obj /mnt/obj nfs
-3,-R=3,-b,-i,-s,-r=32768,-w=32768,rw,noauto

and in amd.map

localhost/src  type:=program;fs:=/mnt/src;\
   mount:=/sbin/mount mount /mnt/src;\
   unmount:=/sbin/umount umount /mnt/src

localhost/obj  type:=program;fs:=/mnt/obj;\
   mount:=/sbin/mount mount /mnt/obj;\
   unmount:=/sbin/umount umount /mnt/obj

When one peeks in /usr:

# ls -l /usr
lrwxr-xr-x   1 root  wheel 19 Apr 18 00:58 obj - /host/localhost/obj
lrwxr-xr-x   1 root  wheel 19 Apr 18 00:58 src - /host/localhost/src


I can cd to the directories and everything mounts/umounts fine.  The
problem is with make installkernel.  I cd /usr/src and type:

# make installkernel KERNCONF=FIREWALL
--
 Installing kernel
--
cd /usr/obj/mnt/src/sys/FIREWALL;  MAKEOBJDIRPREFIX=/usr/obj 
MACHINE_ARCH=i386  MACHINE=i386  CPUTYPE= 
GROFF_BIN_PATH=/usr/obj/mnt/src/tmp/legacy/usr/bin 
GROFF_FONT_PATH=/usr/obj/mnt/src/tmp/legacy/usr/share/groff_font 
GROFF_TMAC_PATH=/usr/obj/mnt/src/tmp/legacy/usr/share/tmac
PATH=/usr/obj/mnt/src/tmp/legacy/usr/sbin:/usr/obj/mnt/src/tmp/legacy/usr/bin:/usr/obj/mnt/src/tmp/legacy/usr/games:/usr/obj/mnt/src/tmp/usr/sbin:/usr/obj/mnt/src/tmp/usr/bin:/usr/obj/mnt/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
 make KERNEL=kernel install
cd: can't cd to /usr/obj/mnt/src/sys/FIREWALL
*** Error code 2


Notice how the path has somehow been mangled to include mnt/src/? 
Does anyone know how I can get make and the automouter to play nicely?
Many thanks for your assistance.


-- 
Regards,
Doug

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


Re: A portupgrade question

2006-04-24 Thread RW
On Monday 24 April 2006 12:50, Richard Collyer wrote:
 On Mon, April 24, 2006 12:16 pm, Ian Moore wrote:
  On Monday 24 April 2006 20:43, Ian Moore wrote:
  Hi, I've got a question about portupgrade and something that's happened
  with it a couple of times now. The last 2 times libgda has been
  upgraded,
  I've run portupgrade -a to upgrade a bunch of ports, including libgda.
 
   snip

 I always use portupgrade -aR to make sure dependencies are done. However
 with mysql I find that portupgrade is not the best.


 -a,   -ra, -Ra and -RrA  all do *exactly*  the same thing.



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


Can't cvsup - something going on?

2006-04-24 Thread Kurt Buff
Trying to cvsup, getting connection refused for all of the servers I try.

Something going on that I don't know about?

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


Re: A portupgrade question

2006-04-24 Thread Garrett Cooper

RW wrote:


On Monday 24 April 2006 12:50, Richard Collyer wrote:
 


On Mon, April 24, 2006 12:16 pm, Ian Moore wrote:
   


On Monday 24 April 2006 20:43, Ian Moore wrote:
 


Hi, I've got a question about portupgrade and something that's happened
with it a couple of times now. The last 2 times libgda has been
upgraded,
I've run portupgrade -a to upgrade a bunch of ports, including libgda.

snip
   


I always use portupgrade -aR to make sure dependencies are done. However
with mysql I find that portupgrade is not the best.

   



-a,   -ra, -Ra and -RrA  all do *exactly*  the same thing
 

Not true. -a is for all, -r is recursive, -R is upper recursive, and -A 
is not even valid given the syntax above...

All I can say is, RTFM: portupgrade(1).

-Garrett

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


Re: A portupgrade question

2006-04-24 Thread Garrett Cooper

Ian Moore wrote:


On Monday 24 April 2006 22:38, Kevin Kinsey wrote:
 


Ian Moore wrote:
   


Yes, that would fix the problem, but I'm just curious about what causes
the problem in the first place, given that portupgrade rarely seems to
have these kind of problems.

Cheers,
 


ls -l /var/db/pkg/mysql-client*??
   



total 28
-rw-r--r--  1 root  wheel36B Feb 26 09:08 +COMMENT
-rw-r--r--  1 root  wheel   4.0K Apr 23 09:39 +CONTENTS
-rw-r--r--  1 root  wheel   167B Feb 26 09:08 +DESC
-r--r--r--  1 root  wheel15K Feb 26 09:08 +MTREE_DIRS
-rw-r--r--  1 root  wheel57B Apr 23 23:50 +REQUIRED_BY

I used to always have trouble compiling packages with -ar or -aR 
exclusively, but running it like -aRr works like a charm every time 
(unless the thing gets into a deadlock from dependencies being removed, 
ie php, apache, and mysql _).

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


Re: Can't cvsup - something going on?

2006-04-24 Thread Garrett Cooper

Kurt Buff wrote:


Trying to cvsup, getting connection refused for all of the servers I try.

Something going on that I don't know about?

Kurt
 


And the full error message is...?
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ruby don't compile after 5.2 - 5.3

2006-04-24 Thread Albert Shih
 Le 22/04/2006 à 13:39:44-0400, Kris Kennaway a écrit
 On Sat, Apr 22, 2006 at 09:45:39AM +0200, Albert Shih wrote:
  
  And it's true for 5.4 ? Because in this time I can't upgrade directly to
  5.5, it's virtual server running with vmware and I don't known if my
  version of vmware can running a vm with 5.5 (But I known it's true with
  5.4).
 
 I'd be extremely surprised if you couldn't run 5.5 in vmware.
 
Now I can tell you. But the first time I've install FreeBSD 5.4 on a vmware
he workvery bad. 

When I start the FreeBSD VM Machine the load of my host (the server running
linux version of vmware-gsx server) become very high.

I use many time to find the solution : Put kern.hz=100 in
/boot/loader.conf

Unfortunaly for this 5.4 host I have time to search a solution, but now my
5.3 server is in production, well I can't take the risk to upgrade him to
5.5 and appear few day after there are big problem.

Lots of thanks for you answer.

Regards.




--
Albert SHIH
Universite de Paris 7 (Denis DIDEROT)
U.F.R. de Mathematiques.
7 ième étage, plateau D, bureau 10
Heure local/Local time:
Mon Apr 24 22:37:52 CEST 2006
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: learning to buildworld

2006-04-24 Thread Kent Stewart
On Monday 24 April 2006 11:00, Paul Schmehl wrote:
 --On April 24, 2006 11:02:18 AM -0500 Jonathan Horne
 [EMAIL PROTECTED]

 wrote:
  i have begun spending a good deal of time researching and
  practicing the buildworld process on my dev boxes.  i want to make
  sure i have the entire process down pat, before i attempt it on my
  production server.
 
  the handbook states that i should:
 
  make buildworld
  make buildkernel
  make installkernel
 
  and then reboot to single usermode.  the installworld comes while
  in single user mode, and my production server would see quite a bit
  of downtime over this.  handbook says to, in sigle user mode:
 
  mergemaster -p
  make installworld
  mergemaster
  reboot
 
  ive seen several articles on the net, and of course, no one agrees
  on the exact steps to take to update your system.  my question is,
  is it safe to 'mergemaster' and 'make installworld' while still up
  and running?  or do i just need to bite the downtime-bullet, and
  put it in single user?

 I have done the complete process remotely, over ssh, without
 problems. *However*, that is not the recommended procedure *and* I
 was doing it on a new install where, if it failed, I could simply
 start over.  I wouldn't recommend it for production systems that are
 remotely located.  The price you pay for going to the server and
 using single-user mode is less than the price you pay for doing it
 remotely *and* having it fail.


It wasn't too far into the upgrade process from 6.0 to 6.1 that my boot1 
got out of step and would cause a freeze during the boot. I could 
revert kernel.old back to kernel and then, I could figure out what was 
wrong. It was a multi-boot system and the version of boot1 on my 
c-drive was really old. Once I copied the new boot1 onto my c-drive, I 
didn't have any problems. It could have easily been something else that 
caused a panic at boot. The boot to single user mode is to reduce the 
frequency of that occuring; however, I find each system has quirks and 
if you take the chance, you may find a surprise waiting for you.

The current gigabit if_re can panic at boot. If you reboot, it 
frequently will boot successfully. If not, you have to power down and 
then boot. It has always booted after the power down. There is a pr on 
the problem but nothing has been done about it.

As you said, the price for doing it right, is often much less than 
scrambling to fix something that totally fails. A long time ago, I 
found that designing around the failures cost less in the long run than 
taking shortcuts that only saved time until something happened and your 
system was down for hours.

Kent

-- 
Kent Stewart
Richland, WA

http://www.soyandina.com/ I am Andean project.
http://users.owt.com/kstewart/index.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


PXE boot jumpstarting

2006-04-24 Thread Rat
Does PXE boot installing in fact work in 6.0? sysinstall has all this nice 
jumpstart/kickstart-like stuff in it, and I'd love to use this for deploying 
new 
servers.
It worked so nicely in 4.11. But now that 6.x is decent, I'm taking a serious 
stab at 
this and just can't figure it out.

I followed this howto:

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/pxe/article.html

I have a /tftpboot/pxeboot file compiled from /usr/src/sys/boot and I can get 
the 
client machine booting from the server, and it gets through the install 
somewhat, 
making the filesystems, but as soon as it tries to install packages (extracting 
all 
requested distributions), it can't get past it. The NIC light is lit up solid, 
and if 
I turn on debugging on mountd on the NFS server, I can see its mounting /cdrom 
via 
NFS over and over.
I have the first CDROM mounted on the server as /cdrom, and in NFS exports I am 
exporting it, and in my install.cfg I have nfs=10.0.0.1:/cdrom, so this all 
SHOULD 
work, it just isn't.

So if this is known to be broken, it will be a relief and I'll just wait until 
its 
working, but if it should work, I could sure use some tips, or pointers to an 
updated 
walkthrough, all the docs I can find were written for 4.x.
So most of all I'm just asking if anyone is able to pxeboot and do jumpstart 
installs 
with FreeBSD 6, so that I know at least that it is not broken, then its just a 
matter 
of figuring it out. I get the idea that its not working.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


availability of distfiles

2006-04-24 Thread Peter
Hi.  I have a question regarding how distfiles become available to the
ports tree.  For example, on freshports it says that a version is
available (since March 28) for a given port.  When I attempt to install
the port (make install clean) I see that FreeBSD is trying to find
the distfile for the same version but it fails.  When I manually take a
look at the distfile location the version indeed does not exist.  So
how can this happen?

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Purchasing the correct hardware: dual-core intel? Big cache?

2006-04-24 Thread Martin Hepworth
Bill

depends on the application itself, but more RAM and the disk layout (RAID)
will be more important than the CPU. Also depends on how write-heavy the
apps are...

--
martin

On 4/24/06, Bill Moran [EMAIL PROTECTED] wrote:


 I've been asked to make some hardware recommendations, I'm hoping some
 folks on the list can make some suggestions.

 We're looking hard at getting either Intel dual-core procs, or getting
 hyperthreaded procs with huge (8M) caches.

 We currently have a few dual proc Intel HT machines that we can test
 out our workload on, and I'm trying to get a feel for how to determine
 if a larger cache size will generate better performance than replacing
 HT procs with full-blown dual-core procs.  We're looking at the 6850
 from Dell, which supports both processor families:

 http://www1.us.dell.com/content/products/productdetails.aspx/pedge_6850?c=uscs=555l=ens=biz

 The goal for these machines is to serve out PosgreSQL databases to as
 many Apache+php front ends as we can hang off each one.  So we're trying
 to purchase hardware that will create a DB server that can handle a lot
 of web server front ends.

 I have a Dell 2850 (dual HT procs) here that I can use for testing.
 I'm a little fuzzy on determining how well the cache is working, so I'm
 stuck on whether or not the 8M cache that's available on the HT units
 is worth the money or not.  Can anyone suggest a testing methodology
 that will isolate this particular aspect?

 --
 Bill Moran
 Collaborative Fusion Inc.
 ___
 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: learning to buildworld

2006-04-24 Thread Chris Hill

On Mon, 24 Apr 2006, Jonathan Horne wrote:

[...] the installworld comes while in single user mode, and my 
production server would see quite a bit of downtime over this.


Just a couple more data points. I have two machines, an elderly K6-2 
running at 400 MHz and a relatively modern P4 running at 3.4 GHz. 'make 
installworld' takes about 8 minutes on the slow machine, and just a few 
seconds on the fast one. Point being that you needn't have much downtime 
for this.


ive seen several articles on the net, and of course, no one agrees on 
the exact steps to take to update your system.  my question is, is it 
safe to 'mergemaster' and 'make installworld' while still up and 
running?  or do i just need to bite the downtime-bullet, and put it in 
single user?


That's what I would do, but it depends on how lucky you feel. There are 
ways to get to the console without traveling to the colo.


HTH, and good luck.

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


Re: Can't cvsup - something going on?

2006-04-24 Thread Kurt Buff
On 4/24/06, Garrett Cooper [EMAIL PROTECTED] wrote:
 Kurt Buff wrote:

 Trying to cvsup, getting connection refused for all of the servers I try.
 
 Something going on that I don't know about?
 
 Kurt
 
 
 And the full error message is...?
 -Garrett

Cannot connect to cvsup7.FreeBSD.org: Connection refused
Will retry at 13:36:46

I've received this messages for several machines, including
cvsup8.freebsd.org, cvsup5.freebsd.org, cvsup.freebsd.org, and a
couple of others.

I've not seen any connections from other machines at my location to
any of these machines, either - I monitor my connection via ntop, so
this traffic should show.

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


Re: availability of distfiles

2006-04-24 Thread Kevin Kinsey

Peter wrote:

Hi.  I have a question regarding how distfiles become available to the
ports tree.  For example, on freshports it says that a version is
available (since March 28) for a given port.  When I attempt to install
the port (make install clean) I see that FreeBSD is trying to find
the distfile for the same version but it fails.  When I manually take a
look at the distfile location the version indeed does not exist.  So
how can this happen?


Ports tree out of date?  (doesn't seem overly likely, but...)
Hoster problems?
Newer version exists?
Version change backed out due to security issues?
 performance issues?
Distfiles moved ... (see first one above)
Need better MASTER_SITE variable?

Really, one can only guess. You didn't say _which_
port, for starters.

Bill Fenner does some work on this: see:

 http://people.freebsd.org/~fenner/portsurvey/bad.html

HTH,

Kevin Kinsey


--
Love the sea?  I dote upon it -- from the beach.

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


Re: PXE boot jumpstarting

2006-04-24 Thread Erik Nørgaard
Rat wrote:
 Does PXE boot installing in fact work in 6.0? sysinstall has all this nice 
 jumpstart/kickstart-like stuff in it, and I'd love to use this for deploying 
 new 
 servers.

It does, take a look at this:

  http://www.daemonsecurity.com/pub/pxeboot

(I know, some links are broken, I'm working on it).

Cheers, Erik

--
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F0C.crt
Subject ID:  69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9
Fingerprint: 7F:80:96:EA:95:92:E2:23:1F:FA:0F:98:92:C2:CC:55:6B:9A:8C:92



smime.p7s
Description: S/MIME Cryptographic Signature


Re: Purchasing the correct hardware: dual-core intel? Big cache?

2006-04-24 Thread Bill Moran
On Mon, 24 Apr 2006 23:03:59 +0100
Martin Hepworth [EMAIL PROTECTED] wrote:

 Bill
 
 depends on the application itself, but more RAM and the disk layout (RAID)
 will be more important than the CPU. Also depends on how write-heavy the
 apps are...

Thanks for the feedback, Martin.

I'm fully aware of the app-dependency - what I'm looking for is a way
to test the application.  I've got 3 different clusters available for
testing, but I'm not sure how to tell if the cache is getting used
heavily or not.

I've already determined that the database server is CPU-bound under
our test load.  With high-speed SCSI disks and battery-backed RAID,
there's not enough IO to stress the disk subsystem.  RAM is almost a
non-issue.  With the machine stressed at full load, it's only using
1/8 of the available RAM.

So, my current bottleneck is CPU power.  And the boss has asked me
for the best way to overcome this bottleneck.  We're looking at either
the same CPUs we already have, but with _huge_ caches (8m) - or going
with more CPUs by getting true dual-core pentiums.

The question this all pivots on is will 8M of cache be a significant
improvement?  If not, then we're going with the dual-core CPUs.  What
I'd like is some way to take an existing system and determine how often
the cache is getting invalidated, so I can make some guesstemate as to
whether more cache will help or not.

 
 --
 martin
 
 On 4/24/06, Bill Moran [EMAIL PROTECTED] wrote:
 
 
  I've been asked to make some hardware recommendations, I'm hoping some
  folks on the list can make some suggestions.
 
  We're looking hard at getting either Intel dual-core procs, or getting
  hyperthreaded procs with huge (8M) caches.
 
  We currently have a few dual proc Intel HT machines that we can test
  out our workload on, and I'm trying to get a feel for how to determine
  if a larger cache size will generate better performance than replacing
  HT procs with full-blown dual-core procs.  We're looking at the 6850
  from Dell, which supports both processor families:
 
  http://www1.us.dell.com/content/products/productdetails.aspx/pedge_6850?c=uscs=555l=ens=biz
 
  The goal for these machines is to serve out PosgreSQL databases to as
  many Apache+php front ends as we can hang off each one.  So we're trying
  to purchase hardware that will create a DB server that can handle a lot
  of web server front ends.
 
  I have a Dell 2850 (dual HT procs) here that I can use for testing.
  I'm a little fuzzy on determining how well the cache is working, so I'm
  stuck on whether or not the 8M cache that's available on the HT units
  is worth the money or not.  Can anyone suggest a testing methodology
  that will isolate this particular aspect?
 
  --
  Bill Moran
  Collaborative Fusion Inc.
  ___
  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]
 
 *
 
 
  
  
 
 This footnote confirms that this email message has been scanned by
 PineApp Mail-SeCure for the presence of malicious code, vandals  computer 
 viruses.
 
 
 


-- 
Bill Moran
Collaborative Fusion Inc.


IMPORTANT: This message contains confidential information and is
intended only for the individual named. If the reader of this
message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.

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


When 5.5-stable?

2006-04-24 Thread Gary Kline
About a week ago I finally upgraded my DNS server from 5.3-S
to 5.5.  I see that I still caught a -prerelease kernel.
Any ETA of when 5.5 will be -stable?   (Most of my other 
FBSD server can be not quite//less than stable.  But if my 
DNS srver bites the dust,   )

Also, is 5.5 the LAST of the 5's?

thanks for some clues,

gary


-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: Can't cvsup - something going on?

2006-04-24 Thread Kurt Buff
On 4/24/06, Kurt Buff [EMAIL PROTECTED] wrote:
 On 4/24/06, Garrett Cooper [EMAIL PROTECTED] wrote:
  Kurt Buff wrote:
 
  Trying to cvsup, getting connection refused for all of the servers I try.
  
  Something going on that I don't know about?
  
  Kurt
  
  
  And the full error message is...?
  -Garrett

Yah know, I just had a fairly embarrassing thought, and confirmed it.

I locked down my firewall about a week ago, and had only a few
outbound ports open. Port 5999 was *not* one of them.

Sigh. Please ignore the silliness.

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


Re: Obsolete packages

2006-04-24 Thread Kris Kennaway
On Mon, Apr 24, 2006 at 01:41:51PM -0500, Eric Schuele wrote:
 [EMAIL PROTECTED] wrote:
 Hi,
 
 A new version of a port (www/firefox) was released on April 14.
 
 # portversion -v firefox
 firefox-1.5.0.1,1 needs updating (port has 1.5.0.2,1)
 
 But packages still (on April 24) are of previous version:
 
 $ ftp ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/
 ftp dir packages-5-stable/All/firefox-1*
 -rw-r--r--1 110  011188636 Apr 01 16:29 
 firefox-1.5.0.1_2,1.tbz
 ftp dir packages-6-stable/All/firefox-1*
 -rw-r--r--1 110  011511879 Apr 02 10:21 
 firefox-1.5.0.1_2,1.tbz
 ftp dir packages-7-current/All/firefox-1*
 -rw-r--r--1 110  011511428 Apr 03 04:40 
 firefox-1.5.0.1_2,1.tbz
 
 Is something broken or is there insufficient computing power for
 building new packages more often?
 
 It's my understanding that packages are built when possible.  They 
 often lag that which is in ports.  There are only so many cycles in a 
 day (per cpu and per person).  I would assume that there is some logical 
 order in which the packages are built (most used first? Though not sure 
 how that would be determined)

I continuously rebuild packages using a method that only builds
changed packages (new, updated to new version or with a dependency
that was changed).  This typically gives a turnaround time on i386 of
less than a day to several days for packages becoming available, but
as I said in another reply I'm not uploading them now because of the
looming release cycle.

Kris


pgpiTqe5oj91s.pgp
Description: PGP signature


(no subject)

2006-04-24 Thread Andre Rodrigues
Good morning,

I'm writring, to know information about FreeBSD (as it was your university
that developed it), i'd like to know what is the  network's architecture and
the operating system's architecture,know how they communicate between each
layer, and finally to know how the data are transmitted between 2 or more
freeBSD's if it's by bursts or bit a bit.
Hope your reply, as soon as possible.

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


information about freeBSD

2006-04-24 Thread Andre Rodrigues
 Good morning,

I'm writring, to know information about FreeBSD (as it was your university
that developed it), i'd like to know what is the  network's architecture and
the operating system's architecture,know how they communicate between each
layer, and finally to know how the data are transmitted between 2 or more
freeBSD's if it's by bursts or bit a bit.
Hope your reply, as soon as possible.

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


Re: availability of distfiles

2006-04-24 Thread Kris Kennaway
On Mon, Apr 24, 2006 at 05:41:50PM -0400, Peter wrote:
 Hi.  I have a question regarding how distfiles become available to the
 ports tree.  For example, on freshports it says that a version is
 available (since March 28) for a given port.  When I attempt to install
 the port (make install clean) I see that FreeBSD is trying to find
 the distfile for the same version but it fails.  When I manually take a
 look at the distfile location the version indeed does not exist.  So
 how can this happen?

Show us what is wrong.

Kris


pgpHukKUP1pWb.pgp
Description: PGP signature


Re: When 5.5-stable?

2006-04-24 Thread Kris Kennaway
On Mon, Apr 24, 2006 at 03:20:19PM -0700, Gary Kline wrote:
   About a week ago I finally upgraded my DNS server from 5.3-S
   to 5.5.  I see that I still caught a -prerelease kernel.
   Any ETA of when 5.5 will be -stable?   (Most of my other 
   FBSD server can be not quite//less than stable.  But if my 
   DNS srver bites the dust,   )

No-one is really working on back-porting changes to 5.5, so what you
see now is likely to be almost identical to what you'll get as
5.5-release.

   Also, is 5.5 the LAST of the 5's?

Yes, development of the branch is effectively ended since the world
has moved on to 6.x.  The only reason 5.5 was released was to batch up
some of the changes made since 5.4, mostly made last year.

Kris


pgpVmXTQGrMxg.pgp
Description: PGP signature


problems with the installation

2006-04-24 Thread sNapie

Hello,

i've downloaded the FreeBSD 6.0 release, and tried to install it on my 
sony vaio notebook, but the installation freezed on 38% of the importing 
of doc to /.then i tried to install it on my normal PC, but it still 
freezed during the installation. even worse, is that i've downloaded the 
5.4 release and the same problem happened.

could you help me on that ?
Thank you very much,
Attila Ruschi Secchin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: availability of distfiles

2006-04-24 Thread Peter

--- Kevin Kinsey [EMAIL PROTECTED] wrote:

 Peter wrote:
  Hi.  I have a question regarding how distfiles become available to
 the
  ports tree.  For example, on freshports it says that a version is
  available (since March 28) for a given port.  When I attempt to
 install
  the port (make install clean) I see that FreeBSD is trying to
 find
  the distfile for the same version but it fails.  When I manually
 take a
  look at the distfile location the version indeed does not exist. 
 So
  how can this happen?
 

 Ports tree out of date?  (doesn't seem overly likely, but...)

No.  Not on my end.

 Hoster problems?

Not sure.

 Newer version exists?

No.

 Version change backed out due to security issues?

Not sure.

  performance issues?

Not sure.

 Distfiles moved ... (see first one above)

Older versions exist.

 Need better MASTER_SITE variable?

Not sure how to change.


 Bill Fenner does some work on this: see:
 
   http://people.freebsd.org/~fenner/portsurvey/bad.html

multitail is not listed.


Notes:

[EMAIL PROTECTED]:/usr/ports/sysutils/multitail  make install clean
===  Vulnerability check disabled, database not found
= multitail-3.8.10.tgz doesn't seem to exist in /usr/ports/distfiles/.
= Attempting to fetch from http://www.vanheusden.com/multitail/.
fetch: http://www.vanheusden.com/multitail/multitail-3.8.10.tgz: size
mismatch: expected 82860, actual 422
= Attempting to fetch from
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch:
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/multitail-3.8.10.tgz:
File unavailable (e.g., file not found, no access)
= Couldn't fetch it - please try to retrieve this
= port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

Stop in /usr/ports/sysutils/multitail.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD architecture [was: (no subject)]

2006-04-24 Thread Kevin Kinsey

Andre Rodrigues wrote:

Good morning,

I'm writring, to know information about FreeBSD (as it was your university
that developed it), i'd like to know what is the  network's architecture and
the operating system's architecture,know how they communicate between each
layer, and finally to know how the data are transmitted between 2 or more
freeBSD's if it's by bursts or bit a bit.
Hope your reply, as soon as possible.

Thank you for your information,
Best Regards.



Hmm; I can't recall ever owning a university.  Went
to one for a while, though ;-)

FreeBSD is freely available, and controlled by the
FreeBSD Project.  The address [EMAIL PROTECTED]
is a public mailing list.

In a poor attempt to actually answer your questions,
I'd recommend you search for Marshall Kirk McCusick's
Design  Implementation of the 4.4BSD Operating System.

Other documentation can be found at the Project website,
www.freebsd.org.  The Handbook is of general interest, and
there are a number of other books and articles freely available
for download that address other aspects of the operating system,
ranging from mildly technical to rather seriously technical
in nature.

And data is transferred by any of a number of protocols, of
which TCP/IP is the most common; as for bursts vs. bit by
bit, it's neither and both, depending on the nature of your
pipeline

HTH,

Kevin Kinsey
FreeBSD user 



--
The speed of anything depends on the flow of everything.

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


Re: FreeBSD architecture [was: (no subject)]

2006-04-24 Thread Kevin Kinsey

Andre Rodrigues wrote:

Good morning,

I'm writring, to know information about FreeBSD (as it was your university
that developed it), i'd like to know what is the  network's architecture and
the operating system's architecture,know how they communicate between each
layer, and finally to know how the data are transmitted between 2 or more
freeBSD's if it's by bursts or bit a bit.
Hope your reply, as soon as possible.

Thank you for your information,
Best Regards.



Hmm; I can't recall ever owning a university.  Went
to one for a while, though ;-)

FreeBSD is freely available, and controlled by the
FreeBSD Project.  The address [EMAIL PROTECTED]
is a public mailing list.

In a poor attempt to actually answer your questions,
I'd recommend you search for Marshall Kirk McCusick's
Design  Implementation of the 4.4BSD Operating System.

Other documentation can be found at the Project website,
www.freebsd.org.  The Handbook is of general interest, and
there are a number of other books and articles freely available
for download that address other aspects of the operating system,
ranging from mildly technical to rather seriously technical
in nature.

And data is transferred by any of a number of protocols, of
which TCP/IP is the most common; as for bursts vs. bit by
bit, it's neither and both, depending on the nature of your
pipeline

HTH,

Kevin Kinsey
FreeBSD user 



--
The speed of anything depends on the flow of everything.

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


Re: availability of distfiles

2006-04-24 Thread Kris Kennaway
On Mon, Apr 24, 2006 at 06:53:06PM -0400, Peter wrote:

 Notes:
 
 [EMAIL PROTECTED]:/usr/ports/sysutils/multitail  make install clean
 ===  Vulnerability check disabled, database not found
 = multitail-3.8.10.tgz doesn't seem to exist in /usr/ports/distfiles/.
 = Attempting to fetch from http://www.vanheusden.com/multitail/.
 fetch: http://www.vanheusden.com/multitail/multitail-3.8.10.tgz: size
 mismatch: expected 82860, actual 422

Note: error from vendor's site, not FreeBSD.

 = Attempting to fetch from
 ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
 fetch:
 ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/multitail-3.8.10.tgz:

FreeBSD mirrors only update distfiles periodically.

Kris


pgpDR6mK3bKHC.pgp
Description: PGP signature


Re: A portupgrade question

2006-04-24 Thread RW
On Monday 24 April 2006 21:29, Garrett Cooper wrote:
 RW wrote:
 On Monday 24 April 2006 12:50, Richard Collyer wrote:
 On Mon, April 24, 2006 12:16 pm, Ian Moore wrote:
 On Monday 24 April 2006 20:43, Ian Moore wrote:
 Hi, I've got a question about portupgrade and something that's happened
 with it a couple of times now. The last 2 times libgda has been
 upgraded,
 I've run portupgrade -a to upgrade a bunch of ports, including libgda.
 
  snip
 
 I always use portupgrade -aR to make sure dependencies are done. However
 with mysql I find that portupgrade is not the best.
 
  -a,   -ra, -Ra and -RrA  all do *exactly*  the same thing

 Not true. -a is for all, -r is recursive, -R is upper recursive, and -A
 is not even valid given the syntax above...

Obviously -RrA was a typo for -Rra, but the rest is correct.

If you omit -F  and include -a, then the -r and -R options are ignored. 
Hence -a,   -ra, -Ra and -Rra are all equivalent.

 All I can say is, RTFM: portupgrade(1).

All I can say is RTFS: /usr/local/sbin/portupgrade.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: availability of distfiles

2006-04-24 Thread Peter

--- Kris Kennaway [EMAIL PROTECTED] wrote:

 On Mon, Apr 24, 2006 at 06:53:06PM -0400, Peter wrote:
 
  Notes:
  
  [EMAIL PROTECTED]:/usr/ports/sysutils/multitail  make install clean
  ===  Vulnerability check disabled, database not found
  = multitail-3.8.10.tgz doesn't seem to exist in
 /usr/ports/distfiles/.
  = Attempting to fetch from http://www.vanheusden.com/multitail/.
  fetch: http://www.vanheusden.com/multitail/multitail-3.8.10.tgz:
 size
  mismatch: expected 82860, actual 422
 
 Note: error from vendor's site, not FreeBSD.
 
  = Attempting to fetch from
  ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
  fetch:
 

ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/multitail-3.8.10.tgz:
 
 FreeBSD mirrors only update distfiles periodically.


O.  Is there any way to program different/many FreeBSD mirrors on
one's box?

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: availability of distfiles

2006-04-24 Thread Kris Kennaway
On Mon, Apr 24, 2006 at 07:11:23PM -0400, Peter wrote:
 
 --- Kris Kennaway [EMAIL PROTECTED] wrote:
 
  On Mon, Apr 24, 2006 at 06:53:06PM -0400, Peter wrote:
  
   Notes:
   
   [EMAIL PROTECTED]:/usr/ports/sysutils/multitail  make install clean
   ===  Vulnerability check disabled, database not found
   = multitail-3.8.10.tgz doesn't seem to exist in
  /usr/ports/distfiles/.
   = Attempting to fetch from http://www.vanheusden.com/multitail/.
   fetch: http://www.vanheusden.com/multitail/multitail-3.8.10.tgz:
  size
   mismatch: expected 82860, actual 422
  
  Note: error from vendor's site, not FreeBSD.
  
   = Attempting to fetch from
   ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
   fetch:
  
 
 ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/multitail-3.8.10.tgz:
  
  FreeBSD mirrors only update distfiles periodically.
 
 
 O.  Is there any way to program different/many FreeBSD mirrors on
 one's box?

Yes (see ports(7)), but it won't help since none of them will have it;
by FreeBSD mirrors I include ftp-master, the site from which all
others update.

Kris


pgpdEVmU7SfL4.pgp
Description: PGP signature


Re: Obsolete packages

2006-04-24 Thread Panagiotis Christias
On 4/25/06, Kris Kennaway [EMAIL PROTECTED] wrote:
 On Mon, Apr 24, 2006 at 01:41:51PM -0500, Eric Schuele wrote:
  [EMAIL PROTECTED] wrote:
  Hi,
  
  A new version of a port (www/firefox) was released on April 14.
  
  # portversion -v firefox
  firefox-1.5.0.1,1 needs updating (port has 1.5.0.2,1)
  
  But packages still (on April 24) are of previous version:
  
  $ ftp ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/
  ftp dir packages-5-stable/All/firefox-1*
  -rw-r--r--1 110  011188636 Apr 01 16:29
  firefox-1.5.0.1_2,1.tbz
  ftp dir packages-6-stable/All/firefox-1*
  -rw-r--r--1 110  011511879 Apr 02 10:21
  firefox-1.5.0.1_2,1.tbz
  ftp dir packages-7-current/All/firefox-1*
  -rw-r--r--1 110  011511428 Apr 03 04:40
  firefox-1.5.0.1_2,1.tbz
  
  Is something broken or is there insufficient computing power for
  building new packages more often?
 
  It's my understanding that packages are built when possible.  They
  often lag that which is in ports.  There are only so many cycles in a
  day (per cpu and per person).  I would assume that there is some logical
  order in which the packages are built (most used first? Though not sure
  how that would be determined)

 I continuously rebuild packages using a method that only builds
 changed packages (new, updated to new version or with a dependency
 that was changed).  This typically gives a turnaround time on i386 of
 less than a day to several days for packages becoming available, but
 as I said in another reply I'm not uploading them now because of the
 looming release cycle.

With no intention to criticize your way of thinking or your work,
release cycles sometimes could take a bit more time than scheduled.
You, the developers and maintainers, know that better than us, the
users. In the mean time there is a whole community of (end?) users
that could benefit from the prompt availability of latest ports in
packages. I'm referring mostly to desktop or workstation users, since
the most of us build our ports from the sources for our servers.
Although, I'm eager to use the portupgrade -P option more often for
our (less critical) ports.

Is there a chance that you, along with the release engineering team,
reconsider your policy?

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


Re: availability of distfiles

2006-04-24 Thread Kevin Kinsey

Peter wrote:


= Attempting to fetch from http://www.vanheusden.com/multitail/.
fetch: http://www.vanheusden.com/multitail/multitail-3.8.10.tgz:


size


mismatch: expected 82860, actual 422




Looks like build gone awry, or script executing on
dead directory.  The gzip file seems to only contain
upgrade.txt anyway.

I've heard patience is a virtue, but I've trouble with
it, myself.  Happy waiting ;-)

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


Re: Obsolete packages

2006-04-24 Thread Kris Kennaway
On Tue, Apr 25, 2006 at 02:39:58AM +0300, Panagiotis Christias wrote:
 On 4/25/06, Kris Kennaway [EMAIL PROTECTED] wrote:
  On Mon, Apr 24, 2006 at 01:41:51PM -0500, Eric Schuele wrote:
   [EMAIL PROTECTED] wrote:
   Hi,
   
   A new version of a port (www/firefox) was released on April 14.
   
   # portversion -v firefox
   firefox-1.5.0.1,1 needs updating (port has 1.5.0.2,1)
   
   But packages still (on April 24) are of previous version:
   
   $ ftp ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/
   ftp dir packages-5-stable/All/firefox-1*
   -rw-r--r--1 110  011188636 Apr 01 16:29
   firefox-1.5.0.1_2,1.tbz
   ftp dir packages-6-stable/All/firefox-1*
   -rw-r--r--1 110  011511879 Apr 02 10:21
   firefox-1.5.0.1_2,1.tbz
   ftp dir packages-7-current/All/firefox-1*
   -rw-r--r--1 110  011511428 Apr 03 04:40
   firefox-1.5.0.1_2,1.tbz
   
   Is something broken or is there insufficient computing power for
   building new packages more often?
  
   It's my understanding that packages are built when possible.  They
   often lag that which is in ports.  There are only so many cycles in a
   day (per cpu and per person).  I would assume that there is some logical
   order in which the packages are built (most used first? Though not sure
   how that would be determined)
 
  I continuously rebuild packages using a method that only builds
  changed packages (new, updated to new version or with a dependency
  that was changed).  This typically gives a turnaround time on i386 of
  less than a day to several days for packages becoming available, but
  as I said in another reply I'm not uploading them now because of the
  looming release cycle.
 
 With no intention to criticize your way of thinking or your work,
 release cycles sometimes could take a bit more time than scheduled.
 You, the developers and maintainers, know that better than us, the
 users. In the mean time there is a whole community of (end?) users
 that could benefit from the prompt availability of latest ports in
 packages. I'm referring mostly to desktop or workstation users, since
 the most of us build our ports from the sources for our servers.
 Although, I'm eager to use the portupgrade -P option more often for
 our (less critical) ports.
 
 Is there a chance that you, along with the release engineering team,
 reconsider your policy?

It's basically forced upon us by the finite bandwidth of mirror sites.
At release time they have many gigabytes of ISO images and other
install media, etc to download, without adding many gigabytes of
packages.  If we don't back off from uploading packages in the lead up
to the release, then what happens is that many mirror sites are out of
date and do not carry the release media at the time of release.

Kris


pgpwEqT0HJSOz.pgp
Description: PGP signature


Re: A portupgrade question

2006-04-24 Thread Ian Moore
On Monday 24 April 2006 23:56, Matthew Seaman wrote:
 Ian Moore wrote:
  Hi, I've got a question about portupgrade and something that's happened
  with it a couple of times now. The last 2 times libgda has been upgraded,
  I've run portupgrade -a to upgrade a bunch of ports, including libgda.
 
  The libgda upgrade has caused a re-install of  mysql-client-4, but when
  portupgrade has tried to install mysql-client, it's failed because
  mysql-client is already installed.
 
  The workaround for this is simple enough, delete mysql-client and then
  run portupgrade again, but I'm wondering why this situation occurs -
  portupgrade should see that mysql-client is already installed and not try
  to install it again (or if it needs upgrading, it should deinstall the
  old version and build  install the new version).
 
  /etc/ports/UPDATING doesn't seem to help, there's no mention of either
  port in it.

 The reason the ports system can't detect that you've already got
 mysql-client software installed is because you haven't got
 libmysqlclient.so in your loader cache.  Try this command -- you should get
 similar output:

 lack-of-gravitas:~:% ldconfig -r | grep mysqlclient
 441:-lmysqlclient_r.14 =
 /usr/local/lib/mysql/libmysqlclient_r.so.14 442:-lmysqlclient.14 =
 /usr/local/lib/mysql/libmysqlclient.so.14

Nope, I get no output at all!

 ldconfig(8) needs to be told to scan /usr/local/lib/mysql for shared
 libraries, as that's not one of the default directories.  This is generally
 handled through the ldconfig_compat port which installs precisely one file:

 sisyphus:~:% pkg_info -L ldconfig_compat-1.0_7
 Information for ldconfig_compat-1.0_7:

 Files:
 //etc/rc.d/ldconfig_compat


Yes, that's what my system shows.

 although you can also add /usr/local/lib/mysql to the set of stuff scanned
 by ldconfig by modifying variables in /etc/rc.conf (but that's the old and
 unfashionable way of doing this...).  Re-installing that port and running

 /etc/rc.d/ldconfig_compat start

 should sort out the problem you're seeing.

Yes, that sorted things out - libgda installed without trying to re-install 
mysql40-client this time.

 Note that mergemaster(1) will ask you to delete that file because it's in
 /etc/rc.d and it's  not one of the one installed by the system.  You should
 resist the suggestion to do that, or put up with various MySQL (and certain
 other port) related things not working in the way you might expect.

I'll remember that one.

 Note too: this is system version number dependant -- recent 6.1-STABLE or
 above will have the ldconfig_compat script installed in /usr/local/etc/rc.d

So to sum up, it's a problem with the way the ports system detects wether the 
mysql-client port is installed that caused the problem (I thought it just 
used the ports database), and/or it's a problem with the mysql-client port 
not registering libmysqlclient.so ?

Thanks for your help in sorting that out, I knew it was something more than 
just not using the recursion switches with portupgrade.

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpu7JjmqUBDX.pgp
Description: PGP signature


Firefox::::: ugh.

2006-04-24 Thread Gary Kline
If firefox is supposedly superior to every other browser,
why, when it sees a realplayer smil file, does it pop up
a rectangle with radio-button  options and a BROWSE button?

I press BROWSE and another frame opens.  I click on X11R6 and
eventually get to bin, and there the only file I see is
xauth.  ...CCan anybody 'splain this?

gary



-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: Firefox::::: ugh.

2006-04-24 Thread Danny Pansters
On Tuesday 25 April 2006 02:35, Gary Kline wrote:
   If firefox is supposedly superior to every other browser,
   why, when it sees a realplayer smil file, does it pop up
   a rectangle with radio-button  options and a BROWSE button?

   I press BROWSE and another frame opens.  I click on X11R6 and
   eventually get to bin, and there the only file I see is
   xauth.  ...CCan anybody 'splain this?

   gary

Set mime types and handlers correctly?

I use KDE and konqueror, but once in a while I have to set some mine type - 
handler things and it looks like you got a similar thing.

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


Strange visual artifacts in upper left corner of screen which respond to mouse activity.....

2006-04-24 Thread Eric Schuele

Hello,

I just recently began using GDM.  This problem is reproducible by
enabling/disabling GDM on my machine.

When GDM is enabled, I get four equally sized rectangles in the upper
left corner of my screen.  They are not visible at first but are
responsive to mouse activity.  Meaning, they slowly fill in as I move
the mouse... and fill in almost completely, as soon as I click the mouse
buttons.

These squares draw on top of any window located there.  That window will
carry the discoloration with it if I move the window.  The discolored
squares continue, in the original location, after removing any window
from the region.

I originally had load glx, drm, and dri in my xorg.conf file... but
since removed them just as an experiment.  It had no effect on the
problem.  I also had DefaultFbBpp set to 32.  Removed that as well to no
avail.  Just swinging wildly here.

The squares are visible on GDM itself, and any window manager I've used
(enlightenment and twm).

I've got (from dmesg)
ATI Radeon LW RV200 Mobility 7500 M7
model Generic PS/2 mouse, device ID (a.k.a synaptics touchpad)

I use Driver radeon in xorg.conf.

Without GDM, no rectangles. No other portupgrades occurred when this
behavior appeared.  Just the installation/configuration of GDM.

Any ideas what is going on and how to remedy it?

--
Regards,
Eric


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


Setting up Fluxbox (May apply to other GUI's)

2006-04-24 Thread Enigma
I am using FreeBSD 6, and are new to *nix in itself.
I have used the 'pkg_add -r fluxbox' command to
get the fluxbox packages. Although after all my searching on
different sites and asking someone I still cannot find
where these packages would have been installed to,
from using that command. The official fluxbox site
doesn't offer any insight into this either, as I suspect
it may be general knowledge to unix users? Any help
in tracking these down would be greatly appreciated,
as would any help in configuring for base things such
as the konsole.

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


Re: learning to buildworld

2006-04-24 Thread David Stanford
On 4/24/06, Kevin Kinsey [EMAIL PROTECTED] wrote:

 Jonathan Horne wrote:

 i have begun spending a good deal of time researching and practicing the
 buildworld process on my dev boxes.  i want to make sure i have the
 entire
 process down pat, before i attempt it on my production server.
 
 

 So, Mr. Murphy has never visited?  down pat is probably
 an oxymoron. ;-)

 the handbook states that i should:
 
 make buildworld
 make buildkernel
 make installkernel
 
 and then reboot to single usermode.  the installworld comes while in
 single user mode, and my production server would see quite a bit of
 downtime over this.  handbook says to, in sigle user mode:
 
 mergemaster -p
 
 

 /etc/ is not updated by buildworld nor buildkernel,
 hence the need for mergemaster (to get the new files
 into /etc/ if anything has changed).

 Note, from mergemaster(8), that the -p option is
 pre buildworld; so, to place this at this juncture is
 assuming that nothing in /etc/ has changed to the point
 of destroying the build world procedure.  If it has, then
 you should run mergemaster -p before *anything* else

 This wasn't the case with the last rebuild I did (Saturday).
 The newly-built world couldn't be installed without the
 audit group, so mergemaster -p was necessary before
 installworld, but buildworld had been fine without it.
 It all depends.  Which brings up another point ... the
 *real* first step is, read /usr/src/UPDATING.

 Here's the brass tacks:
   *You may have to mergemaster -p before buildworld.
   *You *must* buildworld before buildkernel if you want
 the new kernel to match the new world.
*You must build a world and a kernel before you install
 either. ;-)
*You probably don't want to install the new world before
you install the new kernel, 'cause currently running
programs could be affected, or might cause problems
with the current kernel.  But, I guess you *could*
*You have to reboot to run a new kernel, so you must
install the kernel prior to a reboot.  When you reboot,
your kernel will be using an old userland until the new
world is installed.  Probably won't cause many issues,
but it could.
*It's possible that installing a new userland/world while
running could interfere with some processes/users/whatnot.
 *It's possible that programs running after the world is reinstalled
need something in the new /etc/.

 From this, one might extract this sequence:

 cvsup your source
 read /usr/src/UPDATING, take notes
 mergemaster -p
 buildworld
 buildkernel
 installkernel
 reboot (su preferred/wisest)
 installworld
 mergemaster

 But, frankly, the last mergemaster could be anywhere
 after the initial cvsup, I suppose.  Kicks/pointers
 welcomed on that

 make installworld
 mergemaster
 reboot
 
 ive seen several articles on the net, and of course, no one agrees on the
 exact steps to take to update your system.  my question is, is it safe to
 'mergemaster' and 'make installworld' while still up and running?  or do
 i
 just need to bite the downtime-bullet, and put it in single user?
 
 

 As you have probably noted, various authorities will give you
 different answers.  'Nix is tools, not policy.  There are a few
 ways to skin the cat

 It is possible to installworld after a remote reboot on a
 low-trafficked machine without issues --- I do it all the time
 (in fact, the entire process, with the exception of the reboot,
 is scripted).  But, I've been visited by Mr. Murphy once
 or twice in the almost 5 years I've done this.  Fortunately, my
 co-location is only 20 minutes away, and I've a key... at
 least for one of my production systems (I rebuild the other
 during office hours ;-)


I've done remote src upgrade a few times now and also have had no issues.
Although, I agree that you can probably only get away with this on low
volume boxes.


 I note from previous responses that for some people, such a
 strategy is not acceptable at all.  YMMV; mine does.

 You might ask if anyone uses a limited reboot strategy.  You
 could turn your daemons off in /rc.conf prior to the reboot, and
 set your firewall to only allow you in; then perform the last steps
 and re-enable the daemons/firewall, etc.

 Of course, the real problems start if the kernel panics on reboot,
 and you're sitting in your chair 300 miles away on a Sunday
 afternoon, wonder why ping myhost still isn't working after 240
 seconds

 my server is co-located, so its not exactly convenient to put it in
 single
 user mode, so if there is any reason to believe the whole processes can
 be
 completed safely without single-user mode, then i will probably try it.
 
 
 It's possible to enter single-user remotely via the use of a second
 box and a serial console arrangement, but it's not something I've
 needed to investigate.


IP KVM is the way to go for something like this. This is 

Re: Setting up Fluxbox (May apply to other GUI's)

2006-04-24 Thread Kevin Kinsey

Enigma wrote:


I am using FreeBSD 6, and are new to *nix in itself.
I have used the 'pkg_add -r fluxbox' command to
get the fluxbox packages. Although after all my searching on
different sites and asking someone I still cannot find
where these packages would have been installed to,
from using that command. The official fluxbox site
doesn't offer any insight into this either, as I suspect
it may be general knowledge to unix users? Any help
in tracking these down would be greatly appreciated,
as would any help in configuring for base things such
as the konsole.

Cheers,
Warwick.


You can read a lot by trying some of these commands:

$ man ports
$ man pkg_which
$ man pkg_info

and then using pkg_which or pkg_info to find
out answers to questions like these.

As a shortcut:

If fluxbox is indeed installed on your system, and
your $PATH environment variable is set in a more or
less standard fashion, then the following should help
you, at least a little bit.

1.  Edit a file in your $HOME directory entitled .xinitrc.
(Yes the dot is there and important).  If it is not
already extant, try this:

$ echo exec fluxbox  ~/.xinitrc

If you have the file already, you can edit it with
your $EDITOR, or you can add the line to the end of
the file by doubling the redirector above:  

2.  Assuming you've correctly configured your X server, (which
is a whole other chapter in and of itself), you should
now be able to type startx and the console's shell
prompt, and have the X server bring fluxbox into
action when the GUI starts.

As for the location of fluxbox, it's probably under
  /usr/X11R6/bin/, but I can't say for sure.  If you
  log out and back in, does whereis fluxbox work?
  The C shell (and TCSH) need to rebuild your $PATH
  data after installing new programs.  You can issue
  rehash after installation, or logout/in as I mentioned.

HTH,

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


Re: Setting up Fluxbox (May apply to other GUI's)

2006-04-24 Thread Peter

--- Enigma [EMAIL PROTECTED] wrote:

 I am using FreeBSD 6, and are new to *nix in itself.
 I have used the 'pkg_add -r fluxbox' command to
 get the fluxbox packages. Although after all my searching on
 different sites and asking someone I still cannot find
 where these packages would have been installed to,
 from using that command.

$ pkg_info -Lx fluxbox

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Setting up Fluxbox (May apply to other GUI's)

2006-04-24 Thread Gregory J. Knight
To help you figure out which file is which

$pkg_info -Lx fluxbox | grep ^/ | xargs file

On Mon, 2006-04-24 at 23:05 -0400, Peter wrote:
 --- Enigma [EMAIL PROTECTED] wrote:
 
  I am using FreeBSD 6, and are new to *nix in itself.
  I have used the 'pkg_add -r fluxbox' command to
  get the fluxbox packages. Although after all my searching on
  different sites and asking someone I still cannot find
  where these packages would have been installed to,
  from using that command.
 
 $ pkg_info -Lx fluxbox
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around 
 http://mail.yahoo.com 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part


DenyHosts Startup Script

2006-04-24 Thread David Stanford
Hello all,

So I've recently just installed
DenyHostshttp://denyhosts.sourceforge.net/on my FreeBSD
6.1-RC box and can't, for the life of me, get this daemon to start on boot.
I installed version 2.4b using the setup.py script. I'e moved daemon-control
to /usr/local/bin and all configuration files from the default
/usr/share/denyhosts directory to /usr/local/etc/denyhosts (including
denyhosts.cfg). Here is what I've tried to get this to start at boot:

1.) Created a simple script file called denyhosts.sh in /usr/local/etc/rc.d:

#!/bin/sh

/usr/local/bin/daemon-control start


2.) Changed the previous denyhosts.sh script file to this:

#!/bin/sh

case $1 in
  start)
/usr/local/bin/daemon-control start
;;
  stop)
/usr/local/bin/daemon-control stop
;;
  *)
echo Usage: $0 {start | stop}
;;
esac

exit 0

3.) Created an /etc/rc.local using the same script from 1.):

#!/bin/sh

/usr/local/bin/daemon-control start

For all of these attempts, I even chmod'd them all to 777, but still no
good. I even changed both 1.) and 3.) to /usr/local/bin/daemon-control
debug  ~/debug.output and though the debug.output file was created, there
was no information in it. So now, 6 hours later (yes, 6 hours) of playing
with this has me now desperate to find anyone who has this set to start on
boot. Anyone?

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


Re: When 5.5-stable?

2006-04-24 Thread Gary Kline
On Mon, Apr 24, 2006 at 06:31:39PM -0400, Kris Kennaway wrote:
 On Mon, Apr 24, 2006 at 03:20:19PM -0700, Gary Kline wrote:
  About a week ago I finally upgraded my DNS server from 5.3-S
  to 5.5.  I see that I still caught a -prerelease kernel.
  Any ETA of when 5.5 will be -stable?   (Most of my other 
  FBSD server can be not quite//less than stable.  But if my 
  DNS srver bites the dust,   )
 
 No-one is really working on back-porting changes to 5.5, so what you
 see now is likely to be almost identical to what you'll get as
 5.5-release.
 
  Also, is 5.5 the LAST of the 5's?
 
 Yes, development of the branch is effectively ended since the world
 has moved on to 6.x.  The only reason 5.5 was released was to batch up
 some of the changes made since 5.4, mostly made last year.
 

Makes sense, thanks.  I'm at 5.4 and 5.5 everywhere so the
next step is to move to 6.   I'm only a bit surprised that
things went to well with 5.5.  (But then FBSD has only 
crashed one time in ten years, :-), and that speaks volumes.

gary

PS:  Any big gotchas in goingfrom 5.5 - 6.1???  Kris?
 Anybody??  -g





-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: When 5.5-stable?

2006-04-24 Thread Colin Percival
Gary Kline wrote:
   PS:  Any big gotchas in goingfrom 5.5 - 6.1???  Kris?
Anybody??  -g

I haven't upgraded any systems from 5.5 to 6.1, but going from
5.4 to 6.0 there wasn't anything major.  The three points which
were non-trivial are
1. Addition of _dhcp user and group,
2. ABI differences mean that everything installed from the ports
tree should be rebuilt, and
3. Portupgrade gets confused due to database format changes, do
you should run `portupgrade -fR portupgrade` before portupgrading
anything else.

More details: http://www.daemonology.net/freebsd-upgrade-5.4-to-6.0/

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


Re: Firefox::::: ugh.

2006-04-24 Thread Gary Kline
On Tue, Apr 25, 2006 at 03:10:01AM +0200, Danny Pansters wrote:
 On Tuesday 25 April 2006 02:35, Gary Kline wrote:
  If firefox is supposedly superior to every other browser,
  why, when it sees a realplayer smil file, does it pop up
  a rectangle with radio-button  options and a BROWSE button?
 
  I press BROWSE and another frame opens.  I click on X11R6 and
  eventually get to bin, and there the only file I see is
  xauth.  ...CCan anybody 'splain this?
 
  gary
 
 Set mime types and handlers correctly?
 
 I use KDE and konqueror, but once in a while I have to set some mine type - 
 handler things and it looks like you got a similar thing.
 
 Dan

Ok, *which* mimetypes?  There are mime files in ~/. and in
various ~/.mozilla directories?  At least 2 in .mozilla--
one for firefox, one for mozilla.  These are named 
mimeTypes.rdf.  Be nice if firefox considered that thhere
are a few of us old time CLI guys still around!

With mozilla, there are places to type in specs about the
helper apps; things such as files suffixed with .smil
use realplay.  As do several other files.  Both realplay
and mplayer can do everything (in theory); I've stuck
with realplay.

thanks, Dan, but I'm still lost.

gary




-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: Firefox::::: ugh.

2006-04-24 Thread nawcom
you can set up the mimetype for your user ($HOME/.mailcap) or globally 
(/etc/mailcap)


by adding the line application-smil: /location/of/realplay to the file.

I guess I'm confused, are you expecting the realplay binary to be in 
X11R6/bin, or are you confused about where and how to manually set up 
the mimetype?
you can figure out where realplay is by running which realplay in a 
console - as long as the path is set up in the shell's $PATH variable.



Gary Kline wrote:

On Tue, Apr 25, 2006 at 03:10:01AM +0200, Danny Pansters wrote:
  

On Tuesday 25 April 2006 02:35, Gary Kline wrote:


If firefox is supposedly superior to every other browser,
why, when it sees a realplayer smil file, does it pop up
a rectangle with radio-button  options and a BROWSE button?

I press BROWSE and another frame opens.  I click on X11R6 and
eventually get to bin, and there the only file I see is
xauth.  ...CCan anybody 'splain this?

gary
  

Set mime types and handlers correctly?

I use KDE and konqueror, but once in a while I have to set some mine type - 
handler things and it looks like you got a similar thing.


Dan



Ok, *which* mimetypes?  There are mime files in ~/. and in
various ~/.mozilla directories?  At least 2 in .mozilla--
	one for firefox, one for mozilla.  These are named 
	mimeTypes.rdf.  Be nice if firefox considered that thhere

are a few of us old time CLI guys still around!

With mozilla, there are places to type in specs about the
helper apps; things such as files suffixed with .smil
use realplay.  As do several other files.  Both realplay
and mplayer can do everything (in theory); I've stuck
with realplay.

thanks, Dan, but I'm still lost.

gary




  


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


Re: Firefox::::: ugh.

2006-04-24 Thread nawcom
you can set up the mimetype for your user ($HOME/.mailcap) or globally 
(/etc/mailcap)


by adding the line application-smil: /location/of/realplay to the file.

I guess I'm confused, are you expecting the realplay binary to be in 
X11R6/bin, or are you confused about where and how to manually set up 
the mimetype?
you can figure out where realplay is by running which realplay in a 
console - as long as the path is set up in the shell's $PATH variable.



Gary Kline wrote:

On Tue, Apr 25, 2006 at 03:10:01AM +0200, Danny Pansters wrote:
 

On Tuesday 25 April 2006 02:35, Gary Kline wrote:
   

If firefox is supposedly superior to every other browser,
why, when it sees a realplayer smil file, does it pop up
a rectangle with radio-button  options and a BROWSE button?

I press BROWSE and another frame opens.  I click on X11R6 and
eventually get to bin, and there the only file I see is
xauth.  ...CCan anybody 'splain this?

gary
  

Set mime types and handlers correctly?

I use KDE and konqueror, but once in a while I have to set some mine 
type - handler things and it looks like you got a similar thing.


Dan



Ok, *which* mimetypes?  There are mime files in ~/. and in
various ~/.mozilla directories?  At least 2 in .mozilla--
one for firefox, one for mozilla.  These are named 
mimeTypes.rdf.  Be nice if firefox considered that thhere

are a few of us old time CLI guys still around!

With mozilla, there are places to type in specs about the
helper apps; things such as files suffixed with .smil
use realplay.  As do several other files.  Both realplay
and mplayer can do everything (in theory); I've stuck
with realplay.

thanks, Dan, but I'm still lost.

gary




  


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