Re: Porting NetworkManager to FreeBSD

2010-04-17 Thread David DEMELIER
2010/4/16 Jerry freebsd.u...@seibercom.net:
 Has there been any movement on porting NetworkManager
 http://projects.gnome.org/NetworkManager/ to FreeBSD? I read
 something awhile ago, I don't remember where, that it was planned for
 the 8.0 release (I think). I have seen it in use on a friends PC, and
 it is really awesome.


Do you really like NM ? Each time I use it it bugs, sometimes it
connects and sometime not. Of course it's great for people who wants
something easy to manage but NM needs the users to connect the X
session.

wpa_supplicant is really great, it scans access points available and
try to connect them (you can add many networks in your
wpa_supplicant.conf) and then it starts connecting even if you're not
in your X session.

About the NM port in freebsd I guess we can wait a long time.

Cheers,

-- 
Demelier David
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


boot loader too large

2010-04-17 Thread Jason C. Wells
I have been following a number of GPT and ZFS docs on the web. I intend 
to run UFS with GPT. 


I have partitioned the drive.  I installed the bootcode using:

   gpart bootcode -b /dist/boot/pmbr -p /dist/boot/gptboot -i 1 ad4

ad4p1 is a 1 MB partition with nothing in it and type=freebsd-boot.  The 
root device is ad4p2 with binaries and kernel already installed. When I 
boot I get an error message:


   boot loader too large

I am not sure what stage of the boot process this occurs in.  I do not 
see any of the familiar boot0 or boot1 prompts.  I tried installing mbr, 
boot0, and boot1 just to see what would happen.  I didn't expect them to 
boot assuming that they are GPT unaware.  I did get some familiar 
prompts/errors. I at least confirmed that I was managing to get the 
bootcode installed.


Is there any documentation on the new GPT boot process yet?  I am 
curious how the PMBR knows to pass control to the boot partition, and 
then on the to root partition's /boot/loader.


Thanks,
Jason
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


crypt question/server hotel

2010-04-17 Thread Jozsi Vadkan
I want to put my server in a server hotel.

But: I don't trust my server hotel owner.

What can I do?


I can crypt my partition/hdd's that contains the data. Ok.
But: then my operating system will not be encrypted. Not Ok.


If I crypt my operating system too, then when a reboot comes,
I have to type a password to decrypt. But my server will be at 
a server hotel I can't directly use a keyboard [no service cpu]. 



What can I do [on technical side] to ensure a little more security 
to my server [e.g: crypt my partition/slice/whatever, that has the 
operating system, but without the type password problem]

Thank you for any tips/help.

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


FreeBSD + eZ430-F2013

2010-04-17 Thread bunderbug
Good day 4all
I have problem when work with Texas Instruments usb-stick eZ430-F2013 (
http://focus.ti.com/docs/toolsw/folders/print/ez430-f2013.html).
How I understand - it work like usb-serial converter. dmesg say : ugen1:
Texas Instruments... on uhub3
Under Linux I can touch device with ti_usb_3410_5052 driver.
Under FreeBSD I don't know how to do the same.
Can anybody help how to mount this device (or call it with the msp430 gdb)?
At all - need to programming MSP430 under FreeBSD :)
(FreeBSD 7.3)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Requesting community opinion regarding security/pam_ldap groupdn and member_attribute

2010-04-17 Thread Alejandro Imass
On Fri, Apr 16, 2010 at 8:44 AM, Valentin Bud valentin@gmail.com wrote:
 Hello community,

  I am working these days on implementing a centralized
[...]

 The problem is that pam_ldap wants the memberUid attribute to contain the
 user's DN and there is
 no option to change this behavior.


Hmmm...

 My question is: what is the argument behind this and do you think it should
 stay this way or
 could it be changed?
 In my case I really need pam_ldap to check just for UID not DN of a user in
 memberUid attribute.


I think you are a bit confused here, because dn is not an attribute,
and you must revise RFCs 4510 to 4519,4530 (and others related).

The DN is the Distinguished Name, which is basically the RDN + the DN
of the parent node. let's see where should I start

Ok, think of LDAP as 2 things: 1) a simple network protocol, 2) a
database model that stores entries in a tree fashion (the Directory
Information Tree or DIT). Each entry (the atomic unit in a DIT) has
to derive from at least one structural Object Class (or more) and zero
or more Auxiliary Classes. The structural class has one (or more -
though it's not very common) MUST attributes, which _usually_ make up
the entry's RDN (Relative Distinguished Name). So, the RDN is
_usually_ conformed of the principal MUST attribute of it's primary
structural class, and _usually_ it defines the entry type[1].

I say usually because entries commonly derive from several classes,
not just one, so in reallity you can use _any_ attribute for your RDN,
as long as you make sure it's unique among siblings (other entries
that share the same parent). When you position the entry in the DIT
you conform what is known as the DN, which is the attribute(s) that
conform the RDN + the DN of the parent node. It is also important to
note that, and not many people know this, that both the RDN and DN
could change during the life of an entry, and there is an operational
attribute called the entryUUID which is sort-of a unique identifier in
the DIT (RFC4530), and although it's not really meant to be used as a
day-to-day identifier, may prove useful when integrating LDAP data to
other data sources such as RDBMS. Oh, and entries can also have
multiple DNs (Alias Names RFC4512, sect 2.6).

So, back to your question, the short answer is that to find an entry
in the DIT you HAVE TO use the dn, althoug the attribuites that
conform that dn are really up to you. For example, if your entry
derives from person and posixAccount you could use any of (or both) cn
and/or uid in the RDN.

Best,
Alejandro Imass

Notes:
[1] The entry type, of course is what you want it to be, though many
of your GUI tools will chose the principal atribute of the first
objectclass to show you the node (they seldomly use the complete dn,
so you kind-a think of that attribute as the type (organization,
person, ou, etc.), but that may be missleading)


 I have asked our friend google what does he has to say about this and found
 out that
 there is a patch on Debian which can be found here:
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=341541
 that gives the user the possibility to choose if the memberUid attribute
 holds the DN or UID.
 I would really like that feature so I have patched pam_ldap to no success
 and since my C programming
 skills are close to none I am stuck.

 Would you people think that the above patch would be useful? Please argument
 on this. How
 can I/we make that patch work?

 Thank you very much and a great day,
 v


 --
 network warrior since 2005
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

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


Re: Porting NetworkManager to FreeBSD

2010-04-17 Thread Alejandro Imass
On Sat, Apr 17, 2010 at 4:13 AM, David DEMELIER
demelier.da...@gmail.com wrote:
 2010/4/16 Jerry freebsd.u...@seibercom.net:
 Has there been any movement on porting NetworkManager
 http://projects.gnome.org/NetworkManager/ to FreeBSD? I read
 something awhile ago, I don't remember where, that it was planned for
 the 8.0 release (I think). I have seen it in use on a friends PC, and
 it is really awesome.


 Do you really like NM ? Each time I use it it bugs, sometimes it
 connects and sometime not. Of course it's great for people who wants
 something easy to manage but NM needs the users to connect the X
 session.

 wpa_supplicant is really great, it scans access points available and
 try to connect them (you can add many networks in your
 wpa_supplicant.conf) and then it starts connecting even if you're not
 in your X session.

 About the NM port in freebsd I guess we can wait a long time.


Hmm, I can dissagree here. I second the motion for nm support in FBSD,
you won't find it very useful on your server, but laptop users surely
love it in Linux.

+1 to the OP

Best,
Alejandro Imass

 Cheers,

 --
 Demelier David
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

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


Upgrade error for fbsd-7.2 or 7.3

2010-04-17 Thread Jack L. Stone
I hope someone can help me with this one. I've searched and nothing found yet.

I 've been running fbsd-7.0p3 for quite a while just fine with 4 SATA
drives always recognized as:
ad8, ad10, ad12 and ad14
The boot drive is ad8

Upgraded to 7.1p11 and all still fine. However, when upgrading to 7.2 or
7.3, the system recognizes the drives differently as:
ad6, ad8, ad10 and ad12 respectively in place of the normal ones above.

Of course the system won't boot without telling it to mount ad6 instead of
ad8 and then go into fstab and changing the letters. Plus, my jail no
longer works although it was updated properly.

Anyone with a similar problem or ideas?

All the best,
Jack

(^_^)
Happy trails,
Jack L. Stone

System Admin
Sage-american
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Porting NetworkManager to FreeBSD

2010-04-17 Thread Sergio de Almeida Lenzi
Em Sáb, 2010-04-17 às 10:13 +0200, David DEMELIER escreveu:

 2010/4/16 Jerry freebsd.u...@seibercom.net:
  Has there been any movement on porting NetworkManager
  http://projects.gnome.org/NetworkManager/ to FreeBSD? I read
  something awhile ago, I don't remember where, that it was planned for
  the 8.0 release (I think). I have seen it in use on a friends PC, and
  it is really awesome.
 
 
 Do you really like NM ? Each time I use it it bugs, sometimes it
 connects and sometime not. Of course it's great for people who wants
 something easy to manage but NM needs the users to connect the X
 session.
 
 wpa_supplicant is really great, it scans access points available and
 try to connect them (you can add many networks in your
 wpa_supplicant.conf) and then it starts connecting even if you're not
 in your X session.
 
 About the NM port in freebsd I guess we can wait a long time.
 
 Cheers,
 


Laptops needs NM badly..  Linux have it, Opensolaris have it... I cannot
use
FreeBSD 8.0 in my laptops (8 persons in my company) because there is no
NM.

All the Laptops runs Arch linux...  it is a good OS but does not
compares to FBSD.

That is a thing that is missing...   

I agree that wpa supplicat is great... so if one can only make a GUI for
it... it would
make all of us happy too

Sergio
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Porting NetworkManager to FreeBSD

2010-04-17 Thread Boris Samorodov
On Sat, 17 Apr 2010 11:26:34 -0300 Sergio de Almeida Lenzi wrote:

 I agree that wpa supplicat is great... so if one can only make a GUI for
 it... it would
 make all of us happy too...

Maybe you need for net-mgmt/wifimgr.

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


version/revision control software for things mostly not source

2010-04-17 Thread Dan Naumov
I think I am reaching the point where I want to have some kind of sane
and easy to use version/revision control software for my various
personal files and small projects. We are talking about varied kind of
data, ranging from binary format game data (I have been doing FPS
level design as a hobby for over a decade) to .doc office documents to
ASCI text formatted game data. Most of the data is not plaintext. So
far I have been using a hacked together mix of things, mostly a
combination of essentially storing each revision of any given file a
separate file001, file002, file003, etc which while easy to use and
understand, seems rather space-inefficient and a little bit of ZFS
snapshotting, however I want something better.

What would be examples of good version control software for me? The
major things I want are: a simple and easy to use Windows GUI client
for my workstation, so I can quickly browse through different
projects, go back to any given point in time and view/checkout the
data of that point to a Windows machine. Space efficiency, while not
critical (the server has 2 x 2TB drives in RAID1 and can easily be
expanded down the line should the need eventually arise) is obviously
an important thing to have, surely even with binary data some space
can be saved if you have 20 versions of the same file with minor
changes.

Sadly, FreeBSD's ZFS doesn't have dedup or this functionality would've
been easy to implement with my current hacked together methods.
Performance does't matter all that much (unless we are talking
something silly like a really crazy IO bottleneck), since the only
expected user is just me and perhaps a few friends.

Thanks!

- Sincerely,
Dan Naumov
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Porting NetworkManager to FreeBSD

2010-04-17 Thread Brandon Gooch
On Sat, Apr 17, 2010 at 2:26 PM, Sergio de Almeida Lenzi
lenzi.ser...@gmail.com wrote:
 Em Sáb, 2010-04-17 às 10:13 +0200, David DEMELIER escreveu:

 2010/4/16 Jerry freebsd.u...@seibercom.net:
  Has there been any movement on porting NetworkManager
  http://projects.gnome.org/NetworkManager/ to FreeBSD? I read
  something awhile ago, I don't remember where, that it was planned for
  the 8.0 release (I think). I have seen it in use on a friends PC, and
  it is really awesome.
 

 Do you really like NM ? Each time I use it it bugs, sometimes it
 connects and sometime not. Of course it's great for people who wants
 something easy to manage but NM needs the users to connect the X
 session.

 wpa_supplicant is really great, it scans access points available and
 try to connect them (you can add many networks in your
 wpa_supplicant.conf) and then it starts connecting even if you're not
 in your X session.

 About the NM port in freebsd I guess we can wait a long time.

 Cheers,



 Laptops needs NM badly..  Linux have it, Opensolaris have it... I cannot
 use
 FreeBSD 8.0 in my laptops (8 persons in my company) because there is no
 NM.

 All the Laptops runs Arch linux...  it is a good OS but does not
 compares to FBSD.

 That is a thing that is missing...

 I agree that wpa supplicat is great... so if one can only make a GUI for
 it... it would
 make all of us happy too

 Sergio

Check out net-mgmt/wifimgr, available in ports. It's a graphical
front-end for wpa_supplicant.

-Brandon
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: crypt question/server hotel

2010-04-17 Thread Chuck Swiger
On Apr 17, 2010, at 1:49 AM, Jozsi Vadkan wrote:
 I want to put my server in a server hotel.
 
 But: I don't trust my server hotel owner.
 
 What can I do?

Find a different hotel owner.

There is no good protection against someone with physical access to the 
machine.  Even using disk encryption and a human-entered password depends on 
you trusting the physical machine to not be bugged with a keystroke logger in 
the keyboard, BIOS, etc.

Regards,
-- 
-Chuck

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


RE: boot loader too large

2010-04-17 Thread Dan Naumov
Hey

A 64kb freebsd-boot partition should be more than plenty for what you
want to do, see my setup at: http://freebsd.pastebin.com/QS6MnNKc

If you want to setup a ZFS boot/root configuration and make your life
easier, just use the installation script provided by the guy who wrote
ManageBE: 
http://anonsvn.h3q.com/projects/freebsd-patches/browser/manageBE/create-zfsboot-gpt_livecd.sh

- Sincerely,
Dan Naumov
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: version/revision control software for things mostly not source

2010-04-17 Thread C. P. Ghost
On Sat, Apr 17, 2010 at 5:08 PM, Dan Naumov dan.nau...@gmail.com wrote:
 I think I am reaching the point where I want to have some kind of sane
 and easy to use version/revision control software for my various
 personal files and small projects.

You're looking for a versioning file system?

http://en.wikipedia.org/wiki/Versioning_file_system

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: version/revision control software for things mostly not source

2010-04-17 Thread Roland Smith
On Sat, Apr 17, 2010 at 06:08:49PM +0300, Dan Naumov wrote:
 I think I am reaching the point where I want to have some kind of sane
 and easy to use version/revision control software for my various
 personal files and small projects. We are talking about varied kind of
 data, ranging from binary format game data (I have been doing FPS
 level design as a hobby for over a decade) to .doc office documents to
 ASCI text formatted game data. Most of the data is not plaintext.
snip
 What would be examples of good version control software for me? The
 major things I want are: a simple and easy to use Windows GUI client
 for my workstation, so I can quickly browse through different
 projects, go back to any given point in time and view/checkout the
 data of that point to a Windows machine. 

For text files, things like rcs work fine. But if you are handling binary
files, you need something else.

Personally, I like git. [http://git-scm.com/] Since I'm not a windows user, I
cannot vouch for the windows client, but you can find some info at the
follwing link. [http://nathanj.github.com/gitguide/tour.html]

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpGjFapoawvQ.pgp
Description: PGP signature


Re: version/revision control software for things mostly not source

2010-04-17 Thread Chad Perrin
On Sat, Apr 17, 2010 at 06:08:49PM +0300, Dan Naumov wrote:
 I think I am reaching the point where I want to have some kind of sane
 and easy to use version/revision control software for my various
 personal files and small projects. We are talking about varied kind of
 data, ranging from binary format game data (I have been doing FPS
 level design as a hobby for over a decade) to .doc office documents to
 ASCI text formatted game data. Most of the data is not plaintext. So
 far I have been using a hacked together mix of things, mostly a
 combination of essentially storing each revision of any given file a
 separate file001, file002, file003, etc which while easy to use and
 understand, seems rather space-inefficient and a little bit of ZFS
 snapshotting, however I want something better.
 
 What would be examples of good version control software for me? The
 major things I want are: a simple and easy to use Windows GUI client
 for my workstation, so I can quickly browse through different
 projects, go back to any given point in time and view/checkout the
 data of that point to a Windows machine. Space efficiency, while not
 critical (the server has 2 x 2TB drives in RAID1 and can easily be
 expanded down the line should the need eventually arise) is obviously
 an important thing to have, surely even with binary data some space
 can be saved if you have 20 versions of the same file with minor
 changes.
 
 Sadly, FreeBSD's ZFS doesn't have dedup or this functionality would've
 been easy to implement with my current hacked together methods.
 Performance does't matter all that much (unless we are talking
 something silly like a really crazy IO bottleneck), since the only
 expected user is just me and perhaps a few friends.

If you're looking for local revision management, I think something like
Mercurial is an excellent choice.  If, however, you're looking more for a
system for backing up to a remote computer with revision management
included in the package, Subversion may be a better choice.  This is
because the basic assumption for distributed version control systems like
Mercurial (which I love) is that you'll be working on stuff locally and
want the ability to move forward and backward through changes, run
parallel development branches locally to try out things and compare your
results and so on, with occasional reintegration with others' efforts.
By contrast, a centralized VCS like Subversion operates on the basic
assumption that all your work is intended to be stored on some
centralized system, and when you want to commit a particular revision you
also want it at that moment to be backed up to that central location.

I think this is why Subversion was fairly popular as a simple, manual
backup system for a lot of people, while DVCSes like Mercurial tend to be
popular more specifically with software developers -- particularly in
open source projects.

So . . . depending on your particular needs and workflow, I'd say that a
centralized VCS and a DVCS are both candidates for best option in your
case.

Note: I use Subversion and Mercurial as my examples because those are the
two I generally use and like the most.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgpADYbPfUiOO.pgp
Description: PGP signature


Re: version/revision control software for things mostly not source

2010-04-17 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 17/04/2010 16:08:49, Dan Naumov wrote:
 I think I am reaching the point where I want to have some kind of sane
 and easy to use version/revision control software for my various
 personal files and small projects. We are talking about varied kind of
 data, ranging from binary format game data (I have been doing FPS
 level design as a hobby for over a decade) to .doc office documents to
 ASCI text formatted game data. Most of the data is not plaintext. So
 far I have been using a hacked together mix of things, mostly a
 combination of essentially storing each revision of any given file a
 separate file001, file002, file003, etc which while easy to use and
 understand, seems rather space-inefficient and a little bit of ZFS
 snapshotting, however I want something better.
 
 What would be examples of good version control software for me? The
 major things I want are: a simple and easy to use Windows GUI client
 for my workstation, so I can quickly browse through different
 projects, go back to any given point in time and view/checkout the
 data of that point to a Windows machine. Space efficiency, while not
 critical (the server has 2 x 2TB drives in RAID1 and can easily be
 expanded down the line should the need eventually arise) is obviously
 an important thing to have, surely even with binary data some space
 can be saved if you have 20 versions of the same file with minor
 changes.
 
 Sadly, FreeBSD's ZFS doesn't have dedup or this functionality would've
 been easy to implement with my current hacked together methods.
 Performance does't matter all that much (unless we are talking
 something silly like a really crazy IO bottleneck), since the only
 expected user is just me and perhaps a few friends.

I'd recommend subversion for this -- configure it using HTTPS and with
Apache's basic auth for access control.  Use ViewVC for exploting your
repos via the web -- if you take care to set appopriate MIME types as
properties, then your browser should open files in the appropriate
applications automatically. [Verb. Sap. ViewVC looks pretty ugly in the
default view, but set template_dir=templates-contrib/viewsvn/templates
in viewvc.conf for a much better result]

Subversion is a big and complex beast, but the documentation is
excellent.  There's a whole book you can download here:

  http://svnbook.red-bean.com/nightly/en/svn-book.pdf

For access from Windows, try TortoiseSVN.

Cheers,

Matthew


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

iEYEARECAAYFAkvJ8cYACgkQ8Mjk52CukIw1sgCdGZhmhRs+MpPeL+ySuROihznh
dgIAn0KU7pf88IQkxrx3aZLKc2ABDi1x
=yxTX
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: version/revision control software for things mostly not source

2010-04-17 Thread Chad Perrin
On Sat, Apr 17, 2010 at 06:37:10PM +0100, Matthew Seaman wrote:
 
 I'd recommend subversion for this -- configure it using HTTPS and with
 Apache's basic auth for access control.  Use ViewVC for exploting your
 repos via the web -- if you take care to set appopriate MIME types as
 properties, then your browser should open files in the appropriate
 applications automatically. [Verb. Sap. ViewVC looks pretty ugly in the
 default view, but set template_dir=templates-contrib/viewsvn/templates
 in viewvc.conf for a much better result]

Actually, on FreeBSD, I think it's a lot easier to get things going just
using the command line client -- and you can explore the local copy of
the repository using tools on the local machine just fine.  I don't think
a bunch of extra tools like a Webserver are necessarily the best option
for a single user.  Your mileage may vary, of course.


 
 Subversion is a big and complex beast, but the documentation is
 excellent.  There's a whole book you can download here:

It isn't terribly complex to set up using just the command line
interface, though, if that's an acceptable interface for the user in
question.  Once the user gets used to it, it's quite simple to use, too.

If all the bells and whistles you suggested are desired, though, it does
get to be a bit more to manage.


 
 For access from Windows, try TortoiseSVN.

Luckily, TortoiseSVN is pretty easy to set up and use on MS Windows.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgpSi5VKpKnWv.pgp
Description: PGP signature


Re: version/revision control software for things mostly not source

2010-04-17 Thread Chad Perrin
I should have mentioned this in my previous email:

If you don't think you actually need a full-blown VCS, you can get a
certain amount of roll-back capability out of rsync too.  To ensure you
get the best tools for the job, it pays to compare your actual needs with
the capabilities of the tools you have available to you.  I suspect, from
what little information has been offered so far, that Subversion will
probably be the most suitable tool -- but there's a certain amount of
guesswork in that, and only the person who needs to select the tool can
be sure what best suits his needs.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgpuzvfFOMQcx.pgp
Description: PGP signature


odd ssh/X11 forward behavior

2010-04-17 Thread Mike Miskulin
Appreciate any insight, I'm stumped.  Situation is as below:

host#1: freebsd
host#2: linux 

I would like to run X apps on host #2 so they are displayed on host #1.
I've set up as best I can tell the appropriate options in ssh_/sshd_config 
files to do this.  

Procedure:  
in an open xterm window on host #1.  issue ssh -Y -l username host#2
After connection, $DISPLAY is host#2:10.0attempt to run an X program such 
as xcalc.   Get 'unable to open display' as well as an authentication error.  
spend a while mucking about to no avail.  

at some point, connect again to host #2 via a second xterm window which was 
open.  run xcalc.   magically, xcalc displays on host #1  happy days!

notice that I still have open another connection in first xterm to host #2. try 
to exit, hangs at logout message.  remains thus until I close the xcalc window 
and then it completes logout.  

try to run xcalc again in the 2nd session. failure. same error messages as 
before.  

open another session again to host #2.  run xcalc.  magic, it displays.
go back to the other session, try to run xclock.  magic, it displays.

So... I have no clue here.  If I have *two* open ssh sessions to host #2 (both 
with X forwarding) I can run applications which display on host #1 and in fact 
can run any application from either session at same time.   However, if there 
is only *one* session open, nothing works and I get the various error messages 
related to opening the display and authentication. 

Where have I gone wrong?

Thanks for your help.



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


Re: boot loader too large

2010-04-17 Thread Jason C. Wells

Dan Naumov wrote:

Hey

A 64kb freebsd-boot partition should be more than plenty for what you
want to do, see my setup at: http://freebsd.pastebin.com/QS6MnNKc
  


Interesting.  I read somewhere that the boot partition should not be too 
large as the entire partition is loaded into memory.  I re-partitioned 
my drive to create a 64KiB freebsd-boot partition and I no longer get 
the error.  It would appear that there is an undocumented maximum size 
to the freebsd-boot partition.  In my case, a 1MiB boot partition was 
too large.


Now I need to teach gptboot in ad4p1 how to find my root partition in 
ad4p4 without manual intervention.  Is there a GPT equivalent to boot0cfg?


gptboot currently attempts to boot:

   0:ad(0p2)/boot/kernel/kernel

I'd like it to boot:

   0:ad(4p4)/boot/loader

How does the boot process discover the partition in which the gptboot 
loader resides?


And GPT is pretty damn slick.  Nice work FreeBSD hackers.


Thanks,
Jason C. Wells
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Upgrade error for fbsd-7.2 or 7.3

2010-04-17 Thread Jack L. Stone
At 08:06 AM 4.17.2010 -0500, Jack L. Stone wrote:
I hope someone can help me with this one. I've searched and nothing found
yet.

I 've been running fbsd-7.0p3 for quite a while just fine with 4 SATA
drives always recognized as:
ad8, ad10, ad12 and ad14
The boot drive is ad8

Upgraded to 7.1p11 and all still fine. However, when upgrading to 7.2 or
7.3, the system recognizes the drives differently as:
ad6, ad8, ad10 and ad12 respectively in place of the normal ones above.

Of course the system won't boot without telling it to mount ad6 instead of
ad8 and then go into fstab and changing the letters. Plus, my jail no
longer works although it was updated properly.

Anyone with a similar problem or ideas?

All the best,
Jack


OK, I get it. Will just change my FSTB to match the new HD numbers before
first bootup after upgrade. Just was worried that soemthing else was wrong
that I missed. Jail OK too now.

Jack

(^_^)
Happy trails,
Jack L. Stone

System Admin
Sage-american
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Host firewall and jails

2010-04-17 Thread Fbsd1

Just where do jails fall in reference to the host firewall?
Do jails see the inbound packets before the host's firewall does?


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


Ping from jail not permitted error

2010-04-17 Thread Aiza
My jail has public internet access because i can do pkg_add -r unix2dos 
and the package does install. But when I enter ping -c 2 freebsd.org I 
get message ping: socket: Operation not permitted  There is no 
firewall running in the jail.


Any ideas would be helpful.

Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


That elusive mysqlclient.16

2010-04-17 Thread Gene
Hi again:

Attempts to build databases/mysql55-server or php5-mysql, or php5-mysqli all
stop with the following error:

Error: shared library mysqlclient.16 does not exist

I've tried building and rebuilding mysql55-client, tried portupgrade (after
portsnap) all to no avail. Google searches found one item, and that was in
Chinese.

Does anyone know what port is supposed to install this share library? I'd
think the file would be installed by mysql55-client, but apparently not.

All help greatly appreciated... 

IHN,
Gene

--
To everything there is a season,
And a time to every purpose under heaven.

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


Re: version/revision control software for things mostly not source

2010-04-17 Thread Gene
On Sat, 17 Apr 2010 18:08:49 +0300, Dan Naumov wrote
 I think I am reaching the point where I want to have some kind of 
 sane and easy to use version/revision control software for my 
 various personal files and small projects. We are talking about 
 varied kind of data, ranging from binary format game data (I have 
 been doing FPS level design as a hobby for over a decade) to .doc 
 office documents to ASCI text formatted game data. Most of the data 
 is not plaintext. So far I have been using a hacked together mix of 
 things, mostly a combination of essentially storing each revision of 
 any given file a separate file001, file002, file003, etc which while 
 easy to use and understand, seems rather space-inefficient and a 
 little bit of ZFS snapshotting, however I want something better.
 

 Sadly, FreeBSD's ZFS doesn't have dedup or this functionality 
 would've been easy to implement with my current hacked together methods.
 Performance does't matter all that much (unless we are talking
 something silly like a really crazy IO bottleneck), since the only
 expected user is just me and perhaps a few friends.
 
 Thanks!
 
 - Sincerely,
 Dan Naumov

Someone else mentioned Subversion and Tortoisesvn. I use these tools for
revision management of 600 or so powerpoints, graphics, and other
miscellaneous files that we use for church services. Once up and running, it's
simplicity itself. I also use websvn to allow read only access to individual
files via a browser. I've found it works like a charm.


---
IHN,
Gene

--
To everything there is a season,
And a time to every purpose under heaven.

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


Re: That elusive mysqlclient.16

2010-04-17 Thread Dan Nelson
In the last episode (Apr 17), Gene said:
 Attempts to build databases/mysql55-server or php5-mysql, or php5-mysqli
 all stop with the following error:
 
 Error: shared library mysqlclient.16 does not exist
 
 I've tried building and rebuilding mysql55-client, tried portupgrade
 (after portsnap) all to no avail.  Google searches found one item, and
 that was in Chinese.
 
 Does anyone know what port is supposed to install this share library? I'd
 think the file would be installed by mysql55-client, but apparently not.

mysql55-client installs it.  Try rebuilding mysql55-client again and make
sure it installs successfully.

-- 
Dan Nelson
dnel...@allantgroup.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: That elusive mysqlclient.16

2010-04-17 Thread Gene
On Sat, 17 Apr 2010 20:17:37 -0500, Dan Nelson wrote
 In the last episode (Apr 17), Gene said:
  Attempts to build databases/mysql55-server or php5-mysql, or php5-mysqli
  all stop with the following error:
  
  Error: shared library mysqlclient.16 does not exist
  
  I've tried building and rebuilding mysql55-client, tried portupgrade
  (after portsnap) all to no avail.  Google searches found one item, and
  that was in Chinese.
  
  Does anyone know what port is supposed to install this share library? I'd
  think the file would be installed by mysql55-client, but apparently not.
 
 mysql55-client installs it.  Try rebuilding mysql55-client again and 
 make sure it installs successfully.
 
 -- 
   Dan Nelson
   dnel...@allantgroup.com
 ___


Dan - thanks for the reply.

I did the following:
cd /usr/ports/databases/mysql55-client
script ../t
make clean
make
make deinstall  make reinstall
exit

Installation completed successfully.

mysqlclient.16 still cannot be found, nor does the filename occur in ../t.

Any ideas where to go next? 
I can put the script output up on the web if you think it'll help. It's kinda
big for an email.

thanks,
Gene


thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: That elusive mysqlclient.16

2010-04-17 Thread Dan Nelson
In the last episode (Apr 17), Gene said:
 On Sat, 17 Apr 2010 20:17:37 -0500, Dan Nelson wrote
  In the last episode (Apr 17), Gene said:
   Attempts to build databases/mysql55-server or php5-mysql, or
   php5-mysqli all stop with the following error:
   
   Error: shared library mysqlclient.16 does not exist
   
   I've tried building and rebuilding mysql55-client, tried portupgrade
   (after portsnap) all to no avail.  Google searches found one item, and
   that was in Chinese.
   
   Does anyone know what port is supposed to install this share library?
   I'd think the file would be installed by mysql55-client, but
   apparently not.
  
  mysql55-client installs it.  Try rebuilding mysql55-client again and
  make sure it installs successfully.
 
 Dan - thanks for the reply.
 
 I did the following:
 cd /usr/ports/databases/mysql55-client
 script ../t
 make clean
 make
 make deinstall  make reinstall
 exit
 
 Installation completed successfully.
 
 mysqlclient.16 still cannot be found, nor does the filename occur in ../t.
 
 Any ideas where to go next?  I can put the script output up on the web if
 you think it'll help.  It's kinda big for an email.

Script output would be useful.  Did anything at all get installed in
/usr/local/lib/mysql/ ?  If there is a libmysqlclient.so.16 file, does
ldconfig -r | grep libmysqlclient.so.16 print anything?

-- 
Dan Nelson
dnel...@allantgroup.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Ping from jail not permitted error

2010-04-17 Thread APseudoUtopia
On Sat, Apr 17, 2010 at 8:39 PM, Aiza aiz...@comclark.com wrote:
 My jail has public internet access because i can do pkg_add -r unix2dos and
 the package does install. But when I enter ping -c 2 freebsd.org I get
 message ping: socket: Operation not permitted  There is no firewall
 running in the jail.

 Any ideas would be helpful.

 Thanks

There is a sysctl option on the host which disallows raw sockets from
inside any jails,
security.jail.allow.raw_sockets

See the jail manpage.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: That elusive mysqlclient.16

2010-04-17 Thread Gene
On Sat, 17 Apr 2010 21:11:16 -0500, Dan Nelson wrote
 In the last episode (Apr 17), Gene said:
  On Sat, 17 Apr 2010 20:17:37 -0500, Dan Nelson wrote
   In the last episode (Apr 17), Gene said:
Attempts to build databases/mysql55-server or php5-mysql, or
php5-mysqli all stop with the following error:

Error: shared library mysqlclient.16 does not exist

I've tried building and rebuilding mysql55-client, tried portupgrade
(after portsnap) all to no avail.  Google searches found one item, and
that was in Chinese.

Does anyone know what port is supposed to install this share library?
I'd think the file would be installed by mysql55-client, but
apparently not.
   
   mysql55-client installs it.  Try rebuilding mysql55-client again and
   make sure it installs successfully.
  
  Dan - thanks for the reply.
  
  I did the following:
  cd /usr/ports/databases/mysql55-client
  script ../t
  make clean
  make
  make deinstall  make reinstall
  exit
  
  Installation completed successfully.
  
  mysqlclient.16 still cannot be found, nor does the filename occur in ../t.
  
  Any ideas where to go next?  I can put the script output up on the web if
  you think it'll help.  It's kinda big for an email.
 
 Script output would be useful.  Did anything at all get installed in
 /usr/local/lib/mysql/ ?  If there is a libmysqlclient.so.16 file,
  does ldconfig -r | grep libmysqlclient.so.16 print anything?
 
 -- 
   Dan Nelson
   dnel...@allantgroup.com

Hi again...
script output should be available at:

http://brightstar.ath.cx/temp/t


brightstar2# ls /usr/local/lib/mysql
libdbug.a   libmysqlclient.alibmysqlclient_r.a 
libmysqld.a libvio.a
libheap.a   libmysqlclient.la   libmysqlclient_r.la
libmysqlservices.a  plugin
libmyisam.a libmysqlclient.so   libmysqlclient_r.so
libmystrings.a
libmyisammrg.a  

brightstar2# ldconfig -r | grep libmysqlclient.so.16
brightstar2#




IHN,
Gene

--
To everything there is a season,
And a time to every purpose under heaven.

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


Re: Ping from jail not permitted error

2010-04-17 Thread Eric Andrews
On Sun, Apr 18, 2010 at 12:39 AM, Aiza aiz...@comclark.com wrote:
 My jail has public internet access because i can do pkg_add -r unix2dos and
 the package does install. But when I enter ping -c 2 freebsd.org I get
 message ping: socket: Operation not permitted  There is no firewall
 running in the jail.

 Any ideas would be helpful.

there is a reason people write man pages; honor their hard work by
reading them first!

From jail(8):

  security.jail.allow_raw_sockets
  This MIB entry determines whether or not prison root is allowed to
  create raw sockets.  Setting this MIB to 1 allows utilities like
  ping(8) and traceroute(8) to operate inside the prison.  If this MIB
  is set, the source IP addresses are enforced to comply with the IP
  address bound to the jail, regardless of whether or not the
  IP_HDRINCL flag has been set on the socket.  Since raw sockets can
  be used to configure and interact with various network subsystems,
  extra caution should be used where privileged access to jails is
  given out to untrusted parties.  As such, by default this option is
  disabled.


Regards,
aaron.glenn
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: That elusive mysqlclient.16

2010-04-17 Thread Dan Nelson
In the last episode (Apr 17), Gene said:
 On Sat, 17 Apr 2010 21:11:16 -0500, Dan Nelson wrote
  In the last episode (Apr 17), Gene said:
   On Sat, 17 Apr 2010 20:17:37 -0500, Dan Nelson wrote
In the last episode (Apr 17), Gene said:
 Attempts to build databases/mysql55-server or php5-mysql, or
 php5-mysqli all stop with the following error:
 
 Error: shared library mysqlclient.16 does not exist
 
 I've tried building and rebuilding mysql55-client, tried
 portupgrade (after portsnap) all to no avail.  Google searches
 found one item, and that was in Chinese.

 Does anyone know what port is supposed to install this shared
 library?  I'd think the file would be installed by mysql55-client,
 but apparently not.

mysql55-client installs it.  Try rebuilding mysql55-client again and
make sure it installs successfully.
   
   Dan - thanks for the reply.
   
   I did the following:
   cd /usr/ports/databases/mysql55-client
   script ../t
   make clean
   make
   make deinstall  make reinstall
   exit
   
   Installation completed successfully.
   
   mysqlclient.16 still cannot be found, nor does the filename occur in
   ../t.
   
   Any ideas where to go next?  I can put the script output up on the web
   if you think it'll help.  It's kinda big for an email.
  
  Script output would be useful.  Did anything at all get installed in
  /usr/local/lib/mysql/ ?  If there is a libmysqlclient.so.16 file, does
  ldconfig -r | grep libmysqlclient.so.16 print anything?
  
  -- 
  Dan Nelson
  dnel...@allantgroup.com
 
 Hi again...
 script output should be available at:
 
 http://brightstar.ath.cx/temp/t

This line in your script should have installed that shared object:

  libtool: install: /usr/bin/install -c -o root -g wheel 
.libs/libmysqlclient.so.16 /usr/local/lib/mysql/libmysqlclient.so.16

, although you seem to have a file ownership problem, which could be
affecting the install:

 ===   Running ldconfig
 /sbin/ldconfig -m /usr/local/lib/mysql
 ldconfig: /usr/local/lib/mysql: ignoring directory not owned by root

Try fixing that and do a make deinstall ; make reinstall (no rebuild
should be necessary).
 
 brightstar2# ls /usr/local/lib/mysql
 libdbug.a   libmysqlclient.alibmysqlclient_r.a 
 libmysqld.a libvio.a
 libheap.a   libmysqlclient.la   libmysqlclient_r.la
 libmysqlservices.a  plugin
 libmyisam.a libmysqlclient.so   libmysqlclient_r.so
 libmystrings.a
 libmyisammrg.a  

ls -l please; libmysqlclient.so should be a symlink to libmysqlclient.so.16:

(d...@dan.14) /usr/local/lib/mysql ls -l libmysqlclient*
-rw-r--r--  1 root  wheel  618618 Apr 17 20:29 libmysqlclient.a
-rwxr-xr-x  1 root  wheel 987 Apr 17 20:29 libmysqlclient.la
lrwxr-xr-x  1 root  wheel  20 Apr 17 20:29 libmysqlclient.so - 
libmysqlclient.so.16
-rwxr-xr-x  1 root  wheel  543213 Apr 17 20:29 libmysqlclient.so.16
-rw-r--r--  1 root  wheel  640244 Apr 17 20:29 libmysqlclient_r.a
-rwxr-xr-x  1 root  wheel1010 Apr 17 20:29 libmysqlclient_r.la
lrwxr-xr-x  1 root  wheel  22 Apr 17 20:29 libmysqlclient_r.so - 
libmysqlclient_r.so.16
-rwxr-xr-x  1 root  wheel  561411 Apr 17 20:29 libmysqlclient_r.so.16

-- 
Dan Nelson
dnel...@allantgroup.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Your message to freebsd-ppc awaits moderator approval

2010-04-17 Thread Super Biscuit
I have a g3 at my house.
I want to install freebsd on it.
Now, if you think I am lying about anything I have sent
you are welcome to come over here and see for yourself.
Why am I being accused of lying?
Have you even bothered to see if such package exists?
Have you even bothered to ask me anything?
Get your head out of your ass.




--- On Sun, 4/18/10, owner-freebsd-...@freebsd.org 
owner-freebsd-...@freebsd.org wrote:

From: owner-freebsd-...@freebsd.org owner-freebsd-...@freebsd.org
Subject: Your message to freebsd-ppc awaits moderator approval
To: super_bisq...@yahoo.com
Date: Sunday, April 18, 2010, 2:41 AM

Your mail to 'freebsd-ppc' with the subject

    On gpart: where?

Is being held until the list moderator can review it for approval.

The reason it is being held:

    SpamAssassin identified this message as possible spam

Either the message will get posted to the list, or you will receive
notification of the moderator's decision.  If you would like to cancel
this posting, please visit the following URL:

    
http://lists.freebsd.org/mailman/confirm/freebsd-ppc/1aaf44c596aa05a127ad30335f96b260050d7160


PLEASE NOTE!  If you would like to post freely to the list, please
subscribe first.  If you post from multiple addresses, you can
subscribe each address and go into the options page and select 'no
mail' for all but one address. This will allow you to post without
delay in the future.

Sorry for the hassle, but certain immature people made this necessary.





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


Re: Ping from jail not permitted error

2010-04-17 Thread Aiza

kurt seel wrote:

Aiza wrote:

My jail has public internet access because i can do pkg_add -r
unix2dos and the package does install. But when I enter ping -c 2
freebsd.org I get message ping: socket: Operation not permitted 
There is no firewall running in the jail.


Any ideas would be helpful.

Thanks


 ICMP is disallowed by defaut for jails, see the sysctl :
security.jail.allow_raw_sockets
 There are good reasons for this default, so if you test remember to set it
back when you are done.
 Also, on a point of style, jails in their current form (see VIMAGE)
do not get a network stack of their own so they don't have a firewall but
share the hosts' network and firewall, etc.



I don't have man vimage. Is this part of Freebsd?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: That elusive mysqlclient.16

2010-04-17 Thread Gene
On Sat, 17 Apr 2010 21:34:00 -0500, Dan Nelson wrote
 In the last episode (Apr 17), Gene said:
  On Sat, 17 Apr 2010 21:11:16 -0500, Dan Nelson wrote
   In the last episode (Apr 17), Gene said:
On Sat, 17 Apr 2010 20:17:37 -0500, Dan Nelson wrote
 In the last episode (Apr 17), Gene said:
  Attempts to build databases/mysql55-server or php5-mysql, or
  php5-mysqli all stop with the following error:
  
  Error: shared library mysqlclient.16 does not exist
  
  I've tried building and rebuilding mysql55-client, tried
  portupgrade (after portsnap) all to no avail.  Google searches
  found one item, and that was in Chinese.
 
  Does anyone know what port is supposed to install this shared
  library?  I'd think the file would be installed by mysql55-client,
  but apparently not.
 
 mysql55-client installs it.  Try rebuilding mysql55-client again and
 make sure it installs successfully.

Dan - thanks for the reply.

I did the following:
cd /usr/ports/databases/mysql55-client
script ../t
make clean
make
make deinstall  make reinstall
exit

Installation completed successfully.

mysqlclient.16 still cannot be found, nor does the filename occur in
../t.

Any ideas where to go next?  I can put the script output up on the web
if you think it'll help.  It's kinda big for an email.
   
   Script output would be useful.  Did anything at all get installed in
   /usr/local/lib/mysql/ ?  If there is a libmysqlclient.so.16 file, does
   ldconfig -r | grep libmysqlclient.so.16 print anything?
   
   -- 
 Dan Nelson
 dnel...@allantgroup.com
  
  Hi again...
  script output should be available at:
  
  http://brightstar.ath.cx/temp/t
 
 This line in your script should have installed that shared object:
 
   libtool: install: /usr/bin/install -c -o root -g wheel 
 .libs/libmysqlclient.so.16 /usr/local/lib/mysql/libmysqlclient.so.16
 
 , although you seem to have a file ownership problem, which could be
 affecting the install:
 
  ===   Running ldconfig
  /sbin/ldconfig -m /usr/local/lib/mysql
  ldconfig: /usr/local/lib/mysql: ignoring directory not owned by root
 
 Try fixing that and do a make deinstall ; make reinstall (no 
 rebuild should be necessary).
 
  brightstar2# ls /usr/local/lib/mysql
  libdbug.a   libmysqlclient.alibmysqlclient_r.a 
  libmysqld.a libvio.a
  libheap.a   libmysqlclient.la   libmysqlclient_r.la
  libmysqlservices.a  plugin
  libmyisam.a libmysqlclient.so   libmysqlclient_r.so
  libmystrings.a
  libmyisammrg.a
 
 ls -l please; libmysqlclient.so should be a symlink to libmysqlclient.so.16:
 
 (d...@dan.14) /usr/local/lib/mysql ls -l libmysqlclient*
 -rw-r--r--  1 root  wheel  618618 Apr 17 20:29 libmysqlclient.a
 -rwxr-xr-x  1 root  wheel 987 Apr 17 20:29 libmysqlclient.la
 lrwxr-xr-x  1 root  wheel  20 Apr 17 20:29 libmysqlclient.so -
libmysqlclient.so.16
 -rwxr-xr-x  1 root  wheel  543213 Apr 17 20:29 libmysqlclient.so.16
 -rw-r--r--  1 root  wheel  640244 Apr 17 20:29 libmysqlclient_r.a
 -rwxr-xr-x  1 root  wheel1010 Apr 17 20:29 libmysqlclient_r.la
 lrwxr-xr-x  1 root  wheel  22 Apr 17 20:29 libmysqlclient_r.so 
 - libmysqlclient_r.so.16 -rwxr-xr-x  1 root  wheel  561411 Apr 17 
 20:29 libmysqlclient_r.so.16
 
 -- 
   Dan Nelson
   dnel...@allantgroup.com

Thanks Dan, that was the problem. For some reason the lib/mysql directory was
owned by mysql. Changes it to root and Bingo!

Thanks again.

IHN,
Gene

--
To everything there is a season,
And a time to every purpose under heaven.

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