Re: Kind Link Request

2008-05-13 Thread FreeBSD.Arno

   On 12 mei 2008, at 18:44, = Simon Jolle sjolle wrote:

 On 05/12/2008 = 03:06 PM, FreeBSD.Arno wrote:

 ...but it runs on windows and = redhat...?

 http://www.star.net.uk/star/home/hostingoverview.stml

 http://uptime.netcraft.com/up/graph?site=www.star.net.uk

 And = additionally it seems to be a SEO-SPAM request. Tony Gordon
 have = the

 fancy title "Manager Link = Building" :-)

 ooh and i fell for it... lol
 sorry for = the pollution then...

 gr

 Arno

 cheers

 Simon

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


Re: kernel panic FreeBSD 7.0 - Xorg

2008-05-13 Thread Zbigniew Komarnicki
On Monday 12 of May 2008 22:22:12 Roland Smith wrote:

> It might also be a hardware problem. Testing the RAM would be a good
> place to start.

Yes. You are right. I tested my memory with 'memtest' and got one error:

Tst Pass Failing AddressGood   BadErr-Bits  Count 
50  00022c8af50 - 556.6 MB  efff    1000  1

After this error 'memtest' hang, keyboard was frozen and only pressed the 
restart button help.

So, I will buy new memory.

Thank you very much for help Roland and Mel.
Thank you.
  
> Roland

Best wishes,
Zbigniew

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


Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Glyn Millington

FreeBSD 7.0 release, ports currently up-to-date


Trying to launch Linux Open Office 2.4 I get the following error message


,
| /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin: error while
| loading shared libraries: /usr/local/lib/libXext.so.6: ELF file OS ABI
| invalid
`

Now I *think*   that what it ought to load is 

/usr/compat/linux/usr/X11R6/lib/libXext.so.6

but it goes for the FreeBSD X extension lib instead.

Can anyone help me to fix this?


atb



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


Samba doesn't start after a ports upgrade

2008-05-13 Thread Reinhold
Hi

I have a samba server here at work. Last night I did a ports upgrade and
since then samba fails to start. It just hangs at the rc script.

# /usr/local/etc/rc.d/samba start
Removing stale Samba tdb files:  done
Starting nmbd.
Starting smbd.


# ps auxwww |grep smb
root 66854  0.0  0.7  5740  3464  ??  Ss9:09AM   0:00.01
/usr/local/sbin/nmbd -D -s /usr/local/etc/smb.conf
root 67466  0.0  1.3  9616  6756  p1  I+9:09AM   0:00.06
/usr/local/sbin/smbd -d 5 -s /usr/local/etc/smb.conf
root 67561  0.0  0.2  1596   924  p2  S+9:09AM   0:00.00 grep smb

and in the log file it looks like this
[2008/05/13 09:14:16, 5] lib/debug.c:debug_dump_status(391)
  INFO: Current debug levels:
all: True/5
tdb: False/0
printdrivers: False/0
lanman: False/0
smb: False/0
rpc_parse: False/0
rpc_srv: False/0
rpc_cli: False/0
passdb: False/0
sam: False/0
auth: False/0
winbind: False/0
vfs: False/0
idmap: False/0
quota: False/0
acls: False/0
locking: False/0
msdfs: False/0
dmapi: False/0
[2008/05/13 09:14:16, 3] lib/fault.c:dump_core_setup(134)
  Maximum core file size limits now -1(soft) -1(hard)
[2008/05/13 09:14:16, 3] smbd/sec_ctx.c:get_current_groups(167)
  get_current_groups: user is in 3 groups: 0, 0, 5
[2008/05/13 09:14:16, 0] smbd/server.c:main(944)
  smbd version 3.0.28a started.
  Copyright Andrew Tridgell and the Samba Team 1992-2008
[2008/05/13 09:14:16, 2] smbd/server.c:main(948)
  uid=0 gid=0 euid=0 egid=0
[2008/05/13 09:14:16, 4] smbd/build_options.c:output(45)
  Build environment:
[2008/05/13 09:14:16, 4] smbd/build_options.c:output(45)
 Built by:[EMAIL PROTECTED]
[2008/05/13 09:14:16, 4] smbd/build_options.c:output(45)
 Built on:Tue May 13 08:52:37 BST 2008
[2008/05/13 09:14:16, 4] smbd/build_options.c:output(45)
 Built using: cc
[2008/05/13 09:14:16, 4] smbd/build_options.c:output(45)
 Build host:  FreeBSD fbsd01.gim.local 6.3-STABLE FreeBSD 6.3-STABLE
#1: Mon May 12 18:47:12 BST 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERN  i386
[2008/05/13 09:14:16, 4] smbd/build_options.c:output(45)
 SRCDIR:  /usr/ports/net/samba3/work/samba-3.0.28a/source
[2008/05/13 09:14:16, 4] smbd/build_options.c:output(45)
 BUILDDIR:/usr/ports/net/samba3/work/samba-3.0.28a/source
[2008/05/13 09:14:16, 4] smbd/build_options.c:output(45)

And loads of other stuff that looks the same as above
It ends with this
[2008/05/13 09:14:16, 3] printing/pcap.c:pcap_cache_reload(117)
  reloading printcap cache
[2008/05/13 09:14:16, 5] printing/print_cups.c:cups_cache_reload(94)
  reloading cups printcap cache
[2008/05/13 09:16:46, 0] printing/print_cups.c:cups_connect(69)
  Unable to connect to CUPS server localhost:631 - Operation timed out
[2008/05/13 09:16:46, 3] printing/pcap.c:pcap_cache_reload(223)
  reload status: error
[2008/05/13 09:16:46, 3] printing/pcap.c:pcap_cache_reload(117)
  reloading printcap cache
[2008/05/13 09:16:46, 5] printing/print_cups.c:cups_cache_reload(94)
  reloading cups printcap cache


Any help please, my whole office is down at the moment :-(

Regards
Reinhold

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


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Kris Kennaway

Glyn Millington wrote:

FreeBSD 7.0 release, ports currently up-to-date


Trying to launch Linux Open Office 2.4 I get the following error message


,
| /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin: error while
| loading shared libraries: /usr/local/lib/libXext.so.6: ELF file OS ABI
| invalid
`

Now I *think*   that what it ought to load is 


/usr/compat/linux/usr/X11R6/lib/libXext.so.6

but it goes for the FreeBSD X extension lib instead.

Can anyone help me to fix this?


kldload linux

or build it into your kernel.

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


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Glyn Millington
Kris Kennaway <[EMAIL PROTECTED]> writes:

> Glyn Millington wrote:
>> FreeBSD 7.0 release, ports currently up-to-date
>>
>>
>> Trying to launch Linux Open Office 2.4 I get the following error message
>>
>>
>> ,
>> | /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin: error while
>> | loading shared libraries: /usr/local/lib/libXext.so.6: ELF file OS ABI
>> | invalid
>> `
>>
>> Now I *think*   that what it ought to load is 
>>
>> /usr/compat/linux/usr/X11R6/lib/libXext.so.6
>>
>> but it goes for the FreeBSD X extension lib instead.
>>
>> Can anyone help me to fix this?
>
> kldload linux
>
> or build it into your kernel.



Thanks Kris - trouble is its already there!

glynthebearded# kldload linux
kldload: can't load linux: File exists

(via rc.conf)

Is it possible to use libmap.conf to persuade  a Linbux binary to use a
Linux library, or is that not the way to go?








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


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Kris Kennaway

Glyn Millington wrote:

Kris Kennaway <[EMAIL PROTECTED]> writes:


Glyn Millington wrote:

FreeBSD 7.0 release, ports currently up-to-date


Trying to launch Linux Open Office 2.4 I get the following error message


,
| /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin: error while
| loading shared libraries: /usr/local/lib/libXext.so.6: ELF file OS ABI
| invalid
`

Now I *think*   that what it ought to load is 


/usr/compat/linux/usr/X11R6/lib/libXext.so.6

but it goes for the FreeBSD X extension lib instead.

Can anyone help me to fix this?

kldload linux

or build it into your kernel.




Thanks Kris - trouble is its already there!

glynthebearded# kldload linux
kldload: can't load linux: File exists

(via rc.conf)

Is it possible to use libmap.conf to persuade  a Linbux binary to use a
Linux library, or is that not the way to go?


No, that is not necessary.  Next thing to check is that /usr/X11R6 is 
before /usr/local in your linux ldconfig search path.


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


Re: Samba doesn't start after a ports upgrade

2008-05-13 Thread Reinhold
Woot, its back up.

The problem was cups.

I never used cups before, but for some reason now I have to start cups up
so that samba can work.

Regards
Reinhold

On Tue, May 13, 2008 09:20, Reinhold wrote:
> Hi
>
>
> I have a samba server here at work. Last night I did a ports upgrade and
> since then samba fails to start. It just hangs at the rc script.
>
> # /usr/local/etc/rc.d/samba start
> Removing stale Samba tdb files:  done
> Starting nmbd.
> Starting smbd.
>
>
>
> # ps auxwww |grep smb
> root 66854  0.0  0.7  5740  3464  ??  Ss9:09AM   0:00.01
> /usr/local/sbin/nmbd -D -s /usr/local/etc/smb.conf
> root 67466  0.0  1.3  9616  6756  p1  I+9:09AM   0:00.06
> /usr/local/sbin/smbd -d 5 -s /usr/local/etc/smb.conf
> root 67561  0.0  0.2  1596   924  p2  S+9:09AM   0:00.00 grep smb
>
> and in the log file it looks like this [2008/05/13 09:14:16, 5]
> lib/debug.c:debug_dump_status(391)
> INFO: Current debug levels:
> all: True/5
> tdb: False/0
> printdrivers: False/0
> lanman: False/0
> smb: False/0
> rpc_parse: False/0
> rpc_srv: False/0
> rpc_cli: False/0
> passdb: False/0
> sam: False/0
> auth: False/0
> winbind: False/0
> vfs: False/0
> idmap: False/0
> quota: False/0
> acls: False/0
> locking: False/0
> msdfs: False/0
> dmapi: False/0
> [2008/05/13 09:14:16, 3] lib/fault.c:dump_core_setup(134)
> Maximum core file size limits now -1(soft) -1(hard)
> [2008/05/13 09:14:16, 3] smbd/sec_ctx.c:get_current_groups(167)
> get_current_groups: user is in 3 groups: 0, 0, 5
> [2008/05/13 09:14:16, 0] smbd/server.c:main(944)
> smbd version 3.0.28a started. Copyright Andrew Tridgell and the Samba Team
> 1992-2008
> [2008/05/13 09:14:16, 2] smbd/server.c:main(948)
> uid=0 gid=0 euid=0 egid=0 [2008/05/13 09:14:16, 4]
> smbd/build_options.c:output(45)
> Build environment:
> [2008/05/13 09:14:16, 4] smbd/build_options.c:output(45)
> Built by:[EMAIL PROTECTED]
> [2008/05/13 09:14:16, 4] smbd/build_options.c:output(45)
> Built on:Tue May 13 08:52:37 BST 2008
> [2008/05/13 09:14:16, 4] smbd/build_options.c:output(45)
> Built using: cc
> [2008/05/13 09:14:16, 4] smbd/build_options.c:output(45)
> Build host:  FreeBSD fbsd01.gim.local 6.3-STABLE FreeBSD 6.3-STABLE
> #1: Mon May 12 18:47:12 BST 2008
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERN  i386
> [2008/05/13 09:14:16, 4] smbd/build_options.c:output(45)
> SRCDIR:  /usr/ports/net/samba3/work/samba-3.0.28a/source
> [2008/05/13 09:14:16, 4] smbd/build_options.c:output(45)
> BUILDDIR:/usr/ports/net/samba3/work/samba-3.0.28a/source
> [2008/05/13 09:14:16, 4] smbd/build_options.c:output(45)
>
>
> And loads of other stuff that looks the same as above
> It ends with this
> [2008/05/13 09:14:16, 3] printing/pcap.c:pcap_cache_reload(117)
> reloading printcap cache [2008/05/13 09:14:16, 5]
> printing/print_cups.c:cups_cache_reload(94)
> reloading cups printcap cache [2008/05/13 09:16:46, 0]
> printing/print_cups.c:cups_connect(69)
> Unable to connect to CUPS server localhost:631 - Operation timed out
> [2008/05/13 09:16:46, 3] printing/pcap.c:pcap_cache_reload(223)
> reload status: error [2008/05/13 09:16:46, 3]
> printing/pcap.c:pcap_cache_reload(117)
> reloading printcap cache [2008/05/13 09:16:46, 5]
> printing/print_cups.c:cups_cache_reload(94)
> reloading cups printcap cache
>
>
> Any help please, my whole office is down at the moment :-(
>
>
> Regards
> Reinhold
>
>
> ___
> 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: Samba doesn't start after a ports upgrade

2008-05-13 Thread Wojciech Puchar

The problem was cups.


i don't have cups installed and have samba running. check samba config - 
it should not be like this




I never used cups before, but for some reason now I have to start cups up
so that samba can work.

Regards
Reinhold

On Tue, May 13, 2008 09:20, Reinhold wrote:

Hi


I have a samba server here at work. Last night I did a ports upgrade and
since then samba fails to start. It just hangs at the rc script.

# /usr/local/etc/rc.d/samba start
Removing stale Samba tdb files:  done
Starting nmbd.
Starting smbd.



# ps auxwww |grep smb
root 66854  0.0  0.7  5740  3464  ??  Ss9:09AM   0:00.01
/usr/local/sbin/nmbd -D -s /usr/local/etc/smb.conf
root 67466  0.0  1.3  9616  6756  p1  I+9:09AM   0:00.06
/usr/local/sbin/smbd -d 5 -s /usr/local/etc/smb.conf
root 67561  0.0  0.2  1596   924  p2  S+9:09AM   0:00.00 grep smb

and in the log file it looks like this [2008/05/13 09:14:16, 5]
lib/debug.c:debug_dump_status(391)
INFO: Current debug levels:
all: True/5
tdb: False/0
printdrivers: False/0
lanman: False/0
smb: False/0
rpc_parse: False/0
rpc_srv: False/0
rpc_cli: False/0
passdb: False/0
sam: False/0
auth: False/0
winbind: False/0
vfs: False/0
idmap: False/0
quota: False/0
acls: False/0
locking: False/0
msdfs: False/0
dmapi: False/0
[2008/05/13 09:14:16, 3] lib/fault.c:dump_core_setup(134)
Maximum core file size limits now -1(soft) -1(hard)
[2008/05/13 09:14:16, 3] smbd/sec_ctx.c:get_current_groups(167)
get_current_groups: user is in 3 groups: 0, 0, 5
[2008/05/13 09:14:16, 0] smbd/server.c:main(944)
smbd version 3.0.28a started. Copyright Andrew Tridgell and the Samba Team
1992-2008
[2008/05/13 09:14:16, 2] smbd/server.c:main(948)
uid=0 gid=0 euid=0 egid=0 [2008/05/13 09:14:16, 4]
smbd/build_options.c:output(45)
Build environment:
[2008/05/13 09:14:16, 4] smbd/build_options.c:output(45)
Built by:[EMAIL PROTECTED]
[2008/05/13 09:14:16, 4] smbd/build_options.c:output(45)
Built on:Tue May 13 08:52:37 BST 2008
[2008/05/13 09:14:16, 4] smbd/build_options.c:output(45)
Built using: cc
[2008/05/13 09:14:16, 4] smbd/build_options.c:output(45)
Build host:  FreeBSD fbsd01.gim.local 6.3-STABLE FreeBSD 6.3-STABLE
#1: Mon May 12 18:47:12 BST 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERN  i386
[2008/05/13 09:14:16, 4] smbd/build_options.c:output(45)
SRCDIR:  /usr/ports/net/samba3/work/samba-3.0.28a/source
[2008/05/13 09:14:16, 4] smbd/build_options.c:output(45)
BUILDDIR:/usr/ports/net/samba3/work/samba-3.0.28a/source
[2008/05/13 09:14:16, 4] smbd/build_options.c:output(45)


And loads of other stuff that looks the same as above
It ends with this
[2008/05/13 09:14:16, 3] printing/pcap.c:pcap_cache_reload(117)
reloading printcap cache [2008/05/13 09:14:16, 5]
printing/print_cups.c:cups_cache_reload(94)
reloading cups printcap cache [2008/05/13 09:16:46, 0]
printing/print_cups.c:cups_connect(69)
Unable to connect to CUPS server localhost:631 - Operation timed out
[2008/05/13 09:16:46, 3] printing/pcap.c:pcap_cache_reload(223)
reload status: error [2008/05/13 09:16:46, 3]
printing/pcap.c:pcap_cache_reload(117)
reloading printcap cache [2008/05/13 09:16:46, 5]
printing/print_cups.c:cups_cache_reload(94)
reloading cups printcap cache


Any help please, my whole office is down at the moment :-(


Regards
Reinhold


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



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


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Wojciech Puchar

(via rc.conf)

Is it possible to use libmap.conf to persuade  a Linbux binary to use a
Linux library, or is that not the way to go?


compile openoffice from ports. it works fine - natively.

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


Ports best practice (was Re: Imagemagick port seems broken....)

2008-05-13 Thread Jonathan McKeown
On Tuesday 13 May 2008 01:04, Johan  Dowdy wrote:
> Just as a best practice you might want to consider running a weekly cvsup
> out of cron.

I'm not sure I'd call this best practice in all cases, having taken over a 
network where every server OS install, and every port, used whatever had been 
the latest and greatest that day (at one stage I think I was running every 
release from 4.8 to 6.0, plus a couple of boxes running given snapshots of 
-STABLE).

I can do without the irritation of having to check, every time I log in to a 
different machine, whether the command I'm about to run or the config file 
I'm about to edit supports the option I'm hoping to use.

I now have most of the servers running the same OS release, and running the 
same version of each port, all installed from a central build server with 
locally-built packages where possible.

When something needs to be upgraded, we follow a documented procedure to make 
sure that there are no problems or regressions and that everything stays more 
or less in step.

Yes, it means our ports tree is often three months or so out of date. You'd be 
surprised how seldom that causes a problem. You'd be astonished how much 
easier it makes my life knowing every setup is the same.

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


Re: Compiz Fusion brings all Gnome with itself

2008-05-13 Thread Frank Shute
On Sun, May 11, 2008 at 02:19:29PM -0500, Novembre wrote:
>
> Hi,
> 
> I've installed Compiz Fusion on my machine using packages. Installing it
> from ports was unsuccessful since it needs gio-fam-backend which in turn
> needs glib-2.16.3 to be installed. I don't really want to update my glib
> since I don't know if I need to update all my system (or at least those
> packages which depend on it) as well or not after updating glib (I just
> didn't want to take the risk). Anyhow, installing Compiz Fusion from ports
> brought with it all Gnome:
> 
[snip]
> 
> especially, 'ps -ax' now shows these two processes running:
> -
> 865  ??  I  0:00.15 /usr/local/libexec/gconfd-2 14
> 876  ??  I  0:00.03 gnome-pty-helper
> -
> 
> How can I stop them from running when I start X? And how can I remove all
> these useless Gnome packages that I won't use? Do I need to update
> everything that depends on it if I decide to update glib?
> 
> Thanks a lot :)

You *might* be able to build compiz-fusion without all those gnome
packages by:

# cd /usr/ports/x11-wm/compiz-fusion
# make config

and unticking the gconf option and then building it.

If I was in your position, I'd leave it unless you're short of disk
space or other resources eg. cpu, ram. Gnome is pretty much essential
if you're going to use X a lot since a lot of things depend on it.
Although, if you're running KDE & associated apps you might be able to
get away without it.

glib is just another port/package ie. not part of the base system and
you can add/update it without any ill-effects. Check
/usr/ports/UPDATING first though, as you always should before
adding/upgrading ports/packages.

HTH.

Regards,

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.html 

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


Wanted Soekris net4511's

2008-05-13 Thread Ashant Chalasani
Dear Friends,

I'm looking to acquire used-but-in-working-condition Soekris net4511's.

http://www.soekris.com/net4511.htm

I can take anything between 1 and 5 depending on the price.  If you've
got any, please email me your best offer.

Thanks

-- 
Ashant Chalasani
http://code.google.com/p/tinybsdap/
Buy Tinbsd_AP Hardware - http://www.confero24.com/tinybsd_ap
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Glyn Millington
Kris Kennaway <[EMAIL PROTECTED]> writes:

> Glyn Millington wrote:
>> Kris Kennaway <[EMAIL PROTECTED]> writes:
>>
>>> Glyn Millington wrote:
 FreeBSD 7.0 release, ports currently up-to-date
 Trying to launch Linux Open Office 2.4 I get the following error message
 ,
 | /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin: error while
 | loading shared libraries: /usr/local/lib/libXext.so.6: ELF file OS ABI
 | invalid
 `
 Now I *think*   that what it ought to load is 

 /usr/compat/linux/usr/X11R6/lib/libXext.so.6
 but it goes for the FreeBSD X extension lib instead.

>>> kldload linux
>>> or build it into your kernel.
>>
>> Thanks Kris - trouble is its already there!
>>
> No, that is not necessary.  Next thing to check is that /usr/X11R6 is
> before /usr/local in your linux ldconfig search path.


Yes, it is right where it should be

$cat /usr/compat/linux/etc/ld.so.conf

include ld.so.conf.d/*.conf
/lib
/usr/lib
/usr/local/lib


that include statement leads to /usr/X11R6

many thanks


atb

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


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Glyn Millington
Wojciech Puchar <[EMAIL PROTECTED]> writes:

>> (via rc.conf)
>>
>> Is it possible to use libmap.conf to persuade  a Linbux binary to use a
>> Linux library, or is that not the way to go?
>
> compile openoffice from ports. it works fine - natively.

Thanks - yes it does, but it means tying up this by no means over-powered
system for a couple of days while it builds. The Linux version was
working nicely till sometime over the weekend.  Then something happened -
I probably upgraded a port which changed something I hadn't noticed.


atb





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


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Wojciech Puchar

system for a couple of days while it builds. The Linux version was


less than 16h on 1200Mhz CPU.

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


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Glyn Millington
Wojciech Puchar <[EMAIL PROTECTED]> writes:

>> system for a couple of days while it builds. The Linux version was
>
> less than 16h on 1200Mhz CPU.

LOL - maybe I exaggerated :-) But this one has a 900Mhz CPU, and this is
the fastest I have available.  

atb

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


Re: FreeBSD 7 on Windows 2008 (Hyper-V)

2008-05-13 Thread Simon Jolle
On 5/13/08, Diego F. Arias R. <[EMAIL PROTECTED]> wrote:
> Hi i have checked freebsd 8 and now i can see the boot loader, but
>  when i try to load the kernel it freezes up. Ok at least i can see the
>  boot menu.

>  Any sugestions? (about running freebsd in hyper v or freebsd
>  virtualization software)?

I recommend you using other virtualization software. For example
Vmware and VirtualBox (now Sun) have official support for FreeBSD and
runs on Windows hosts.

cheers
Simon

-- 
XMPP: [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: Samba doesn't start after a ports upgrade

2008-05-13 Thread Reinhold
On Tue, May 13, 2008 10:55, Wojciech Puchar wrote:
>> The problem was cups.
>>
>
> i don't have cups installed and have samba running. check samba config -
> it should not be like this
>

I just checked make config and I have cups selected, but I'm pretty sure
it has always been selected. I'll deselect it and recompile and see what
happens.

Here is my smb.conf
[global]
dos charset = ASCII
unix charset = UTF8
workgroup = OFFICE
server string = Samba File Server
passdb backend = tdbsam
log file = /var/log/samba/log.%m
max log size = 50
load printers = No
os level = 60
preferred master = Yes
domain master = Yes
dns proxy = No
wins support = Yes
ldap ssl = no
#acl group control = Yes
#inherit acls = Yes
profile acls = Yes
#map acl inherit = Yes
delete veto files = Yes
veto files =
/.AppleDB/.AppleDesktop/.AppleDouble/.TemporaryItems/._.TemporaryItems/Network
Trash Folder/Temporary Items/
hide files =
/.cshrc/.history/.lesshst/.login/.login_conf/.mail_aliases/.mailrc/.profile/.rhosts/.shrc/.ssh/.subversion/.tmp/.usermin/.viminfo/.vimrc
/
map archive = No
store dos attributes = Yes
dos filemode = Yes

[homes]
browseable = No
comment = Home Directories
delete readonly = yes
writable = yes
***snip

>>
>> I never used cups before, but for some reason now I have to start cups
>> up so that samba can work.
>>
>> Regards
>> Reinhold
>>
>>


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


Re: Help compiling source code

2008-05-13 Thread Dominique Goncalves
Hi,

On Tue, May 13, 2008 at 12:01 AM, Ross Gohlke <[EMAIL PROTECTED]> wrote:
> I am a longtime FreeBSD user accustomed to ports. I have never been
>  comfortable compiling source code except under the most vanilla of
>  circumstances (ie, when nothing goes wrong).
>
>  QUESTION: How can I change pam-pgsql's configure script to find pgsql's
>  libraries?
>
>  The machine in question is a Powerbook G4 (PowerPC) running Mac OS 10.4.11.
>
>  I am using MacPorts (equivalent of ports). One small piece of software
>  (available in FreeBSD ports) is a lynchpin of my entire operation -
>  pam-pgsql.
>
>  Pam-pgsql gives me virtual email users which are easily shared between
>  Postfix and Cyrus IMAP while letting me use my SQL backend of preference -
>  PostgreSQL.
>
>  There is no macport available for pam-pgsql, so I must compile the source
>  myself. It is not working. My hunch is that the fix is simple - something
>  with paths, because macports installs PostgreSQL at weird paths and the
>  pam-pgsql configure script expects a standard location.
>
>  ## /opt/local/src/pam-pgsql/configure.in
>  dnl Configure template for pam_pgsql
>
>  AC_INIT(pam_get_pass.c)
>  AC_CONFIG_HEADER(config.h)
>
>  dnl Checks for libraries.
>  AC_CHECK_LIB(pam, pam_get_user)
>
>  dnl Checks for header files.
>  AC_CANONICAL_HOST
>  AC_HEADER_STDC
>  AC_CHECK_HEADERS(syslog.h)
>  AC_CHECK_HEADERS(netdb.h)
>
>  AC_MSG_CHECKING(for PostgreSQL headers)
>  for d in /usr /usr/local /usr/local/pgsql; do
> test -f $d/include/libpq-fe.h && {
> AC_SUBST(PGSQL_INC)
> PGSQL_INC="-I$d/include"
> PG_DIR="$d"
> AC_MSG_RESULT($d/include)
> }
> test -f $d/include/postgresql/libpq-fe.h && {
> AC_SUBST(PGSQL_INC)
> PGSQL_INC="-I$d/include/postgresql"
> PG_DIR="$d"
> AC_MSG_RESULT($d/include/postgresql)
> }
> test -f $d/include/postgresql/8.0/libpq-fe.h && {
> AC_SUBST(PGSQL_INC)
> PGSQL_INC="-I$d/include/postgresql/8.0"
> PG_DIR="$d"
> AC_MSG_RESULT($d/include/postgresql/8.0)
> }
> test -f $d/include/pgsql/libpq-fe.h && {
> AC_SUBST(PGSQL_INC)
> PGSQL_INC="-I$d/include/pgsql"
> PG_DIR="$d"
> AC_MSG_RESULT($d/include/pgsql)
> }
>  done
>
>  old_LDFLAGS="$LDFLAGS"
>  LDFLAGS="$LDFLAGS -L$PG_DIR/lib"
>  AC_CHECK_LIB(pq, PQexecParams,
> [AC_SUBST(PGSQL_LIB)
> PGSQL_LIB="-L$PG_DIR/lib"],
> [AC_MSG_ERROR(could not determine PostgreSQL library location)])
>  LDFLAGS="$old_LDFLAGS"
>  ..
>
>  ## /opt/local/include/postgresql83/
>  -rw-r--r--2 root  admin600 May 12 12:25 ecpg_config.h
>  -rw-r--r--2 root  admin   2776 May 12 12:25 ecpg_informix.h
>  -rw-r--r--2 root  admin   2600 May 12 12:25 ecpgerrno.h
>  -rw-r--r--2 root  admin   2440 May 12 12:25 ecpglib.h
>  -rw-r--r--2 root  admin   2560 May 12 12:25 ecpgtype.h
>  drwxr-xr-x3 root  admin102 May 12 12:26 informix
>  drwxr-xr-x8 root  admin272 May 12 12:26 internal
>  drwxr-xr-x3 root  admin102 May 12 12:26 libpq
>  -rw-r--r--2 root  admin  18410 May 12 12:25 libpq-fe.h
>  -rw-r--r--2 root  admin  21700 May 12 12:25 pg_config.h
>  -rw-r--r--2 root  admin   8954 May 12 12:25 pg_config_manual.h
>  -rw-r--r--2 root  admin217 May 12 12:25 pg_config_os.h
>  -rw-r--r--2 root  admin814 May 12 12:25 pgtypes_date.h
>  -rw-r--r--2 root  admin588 May 12 12:25 pgtypes_error.h
>  -rw-r--r--2 root  admin   1485 May 12 12:25 pgtypes_interval.h
>  -rw-r--r--2 root  admin   2306 May 12 12:25 pgtypes_numeric.h
>  -rw-r--r--2 root  admin   1057 May 12 12:25 pgtypes_timestamp.h
>  -rw-r--r--2 root  admin   1837 May 12 12:25 postgres_ext.h
>  drwxr-xr-x   40 root  admin   1360 May 12 12:26 server
>  -rw-r--r--2 root  admin834 May 12 12:25 sql3types.h
>  -rw-r--r--2 root  admin   1267 May 12 12:25 sqlca.h
>
>  ## /opt/local/lib/postgresql83/
>  -rwxr-xr-x2 root  admin   106392 May 12 12:25 adminpack.so
>  -rwxr-xr-x2 root  admin   100444 May 12 12:25 ascii_and_mic.so
>  drwxr-xr-x   25 root  admin  850 May 12 12:26 bin
>  -rwxr-xr-x2 root  admin   106700 May 12 12:25 cyrillic_and_mic.so
>  -rwxr-xr-x2 root  admin   130720 May 12 12:25 dblink.so
>  -rwxr-xr-x2 root  admin   425208 May 12 12:25 dict_snowball.so
>  -rwxr-xr-x2 root  admin   100448 May 12 12:25 euc_cn_and_mic.so
>  -rwxr-xr-x2 root  admin   100540 May 12 12:25
>  euc_jis_2004_and_shift_jis_2004.so
>  -rwxr-xr-x2 root  admin   104952 May 12 12:25 euc_jp_and_sjis.so
>  -rwxr-xr-x2 root  admin   100476 May 12 12:25 euc_kr_and_mic.so
>  -rwxr-xr-x2 root  admin   105384 May 12 12:25 euc_tw_and_big5.so
>  -rwxr-xr-x2 root  admin   118224 May 12 12:25 fuzzystrmatch.so
>  -rwxr-xr-x2 root  admin   101164 May 12 12:25 latin2_and_win1250.so
>  -rwxr-xr-x2 root  admin   100808 May 12 12:25 latin_and_mic.so
>  -rwxr-xr-x2 root  adm

Re: Which FTPs are most used by ports?

2008-05-13 Thread RW
On Mon, 12 May 2008 22:15:16 -0400
Francisco Reyes <[EMAIL PROTECTED]> wrote:

> I am about to install FreeBSD at a new job. They block ftp, along
> with most other ports.

You can set MASTER_SITE_REGEX= ^http: if you have http access. And fetch
also supports ftp requests over http, if you have access to an http
proxy that supports it

> I may be able to get a whole open for the freebsd server to be able
> to ftp from some specific machines. Any suggestions what machines I
> should add to the list?
> 
> For programs I know about I plan to do "make fetch-recursive" at home
> and then copy the /usr/ports/distfile directory.

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


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Mel
On Tuesday 13 May 2008 14:05:43 Glyn Millington wrote:
> Kris Kennaway <[EMAIL PROTECTED]> writes:
> > Glyn Millington wrote:
> >> Kris Kennaway <[EMAIL PROTECTED]> writes:
> >>> Glyn Millington wrote:
>  FreeBSD 7.0 release, ports currently up-to-date
>  Trying to launch Linux Open Office 2.4 I get the following error
>  message ,
> 
>  | /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin: error
>  | while loading shared libraries: /usr/local/lib/libXext.so.6: ELF
>  | file OS ABI invalid
> 
>  `
>  Now I *think*   that what it ought to load is
> 
>  /usr/compat/linux/usr/X11R6/lib/libXext.so.6
>  but it goes for the FreeBSD X extension lib instead.
> >>>
> >>> kldload linux
> >>> or build it into your kernel.
> >>
> >> Thanks Kris - trouble is its already there!
> >
> > No, that is not necessary.  Next thing to check is that /usr/X11R6 is
> > before /usr/local in your linux ldconfig search path.
>
> Yes, it is right where it should be
>
> $cat /usr/compat/linux/etc/ld.so.conf
>
> include ld.so.conf.d/*.conf
> /lib
> /usr/lib
> /usr/local/lib
>
>
> that include statement leads to /usr/X11R6

Best fix:
rm /usr/X11R6
touch /usr/X11R6
chflags schg /usr/X11R6
/sbin/ldconfig -m /usr/local/lib (just to force the linker to re-read the 
dupes).

As a bonus, the old apps you still have pointing to /usr/X11R6 will now 
complain and be exposed and anything that wants to install or modify 
something in /usr/X11R6 will be exposed too.
I've done this about a week after I upgraded and it solved all the linux 
linker problems and only one app I had compiled from source rather then using 
a port, wasn't working anymore. Recompiled and no problemo.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Glyn Millington
Mel <[EMAIL PROTECTED]> writes:

> On Tuesday 13 May 2008 14:05:43 Glyn Millington wrote:
>>  Trying to launch Linux Open Office 2.4 I get the following error
>>  message ,
>> 
>>  | /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin: error
>>  | while loading shared libraries: /usr/local/lib/libXext.so.6: ELF
>>  | file OS ABI invalid
>> 
>>  `
>> that include statement leads to /usr/X11R6

Wow - can I just check that I have this right before I do it?!


>
> Best fix:
> rm /usr/X11R6

get rid of /usr/X11R6, which on a system-wide basis is a link to /usr/local



> touch /usr/X11R6

Create an empty  *file* /usr/X11R6




> chflags schg /usr/X11R6

make it system-immutable

> /sbin/ldconfig -m /usr/local/lib (just to force the linker to re-read the 
> dupes).

Merge new stuf in the /usr/local/lib directory into the hints file






> As a bonus, the old apps you still have pointing to /usr/X11R6 

But the app in question needs to get at 

/usr/compat/linux/usr/X11R6/

which is a directory contain a lot of libs - are you suggesting I remove
it?  Sorry if I'm being slow but want to be sure about this one!





> will now complain and be exposed and anything that wants to install or
> modify something in /usr/X11R6 will be exposed too.  I've done this
> about a week after I upgraded and it solved all the linux linker
> problems and only one app I had compiled from source rather then using
> a port, wasn't working anymore. Recompiled and no problemo.

Many thanks

atb

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


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Jan Henrik Sylvester

system for a couple of days while it builds. The Linux version was


Did you try the 7-STABLE package? It will probably work on 7.0-RELEASE, too.

ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/editors/openoffice.org-2.4.0_3.tbz
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Kris Kennaway

Glyn Millington wrote:

Mel <[EMAIL PROTECTED]> writes:


On Tuesday 13 May 2008 14:05:43 Glyn Millington wrote:

Trying to launch Linux Open Office 2.4 I get the following error
message ,

| /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin: error
| while loading shared libraries: /usr/local/lib/libXext.so.6: ELF
| file OS ABI invalid

`

that include statement leads to /usr/X11R6


Wow - can I just check that I have this right before I do it?!



Best fix:
rm /usr/X11R6


get rid of /usr/X11R6, which on a system-wide basis is a link to /usr/local


Any suggestion that involves touching files outside of /compat/linux is 
wrong ;)


Kris

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


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Tijl Coosemans
On Tuesday 13 May 2008 10:14:54 Glyn Millington wrote:
> FreeBSD 7.0 release, ports currently up-to-date
> 
> 
> Trying to launch Linux Open Office 2.4 I get the following error message
> 
> 
> ,
> | /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin: error while
> | loading shared libraries: /usr/local/lib/libXext.so.6: ELF file OS ABI
> | invalid
> `
> 
> Now I *think*   that what it ought to load is 
> 
> /usr/compat/linux/usr/X11R6/lib/libXext.so.6
> 
> but it goes for the FreeBSD X extension lib instead.
> 
> Can anyone help me to fix this?

If /compat/linux/usr/local doesn't exist, perhaps making it a symlink
to X11R6 does the trick.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Mel
On Tuesday 13 May 2008 15:48:58 Glyn Millington wrote:
> Mel <[EMAIL PROTECTED]> writes:
> > On Tuesday 13 May 2008 14:05:43 Glyn Millington wrote:
> >>  Trying to launch Linux Open Office 2.4 I get the following error
> >>  message ,
> >> 
> >>  | /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin:
> >>  | error while loading shared libraries:
> >>  | /usr/local/lib/libXext.so.6: ELF file OS ABI invalid
> >> 
> >>  `
> >>
> >> that include statement leads to /usr/X11R6
>
> Wow - can I just check that I have this right before I do it?!
>
> > Best fix:
> > rm /usr/X11R6
>
> get rid of /usr/X11R6, which on a system-wide basis is a link to /usr/local
>
> > touch /usr/X11R6
>
> Create an empty  *file* /usr/X11R6
>
> > chflags schg /usr/X11R6
>
> make it system-immutable
>
> > /sbin/ldconfig -m /usr/local/lib (just to force the linker to re-read the
> > dupes).
>
> Merge new stuf in the /usr/local/lib directory into the hints file
>
> > As a bonus, the old apps you still have pointing to /usr/X11R6
>
> But the app in question needs to get at
>
> /usr/compat/linux/usr/X11R6/

The app however looks for /usr/X11R6/lib/libXfoo.so.1. If both exist in base 
system and linux emulation, then the linker will hand it the first one it 
finds, which because of the /usr/X11R6 symlink to /usr/local will be the 
FreeBSD one.
And yes, Kris, this isn't the 'proper' way, but it's the way that works. I'd 
be happy to know the proper way as all suggestions I found about 'fixing' 
linux ldconfig setup generated bogus results (ie. fixed nothing) and this 
fixed everything.
I always suspected this to be because the linker look up is correct, but the 
actual file is handed in the base system not in the /compat/linux chroot, but 
I haven't bothered to verify that.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Glyn Millington
Tijl Coosemans <[EMAIL PROTECTED]> writes:

> On Tuesday 13 May 2008 10:14:54 Glyn Millington wrote:
>> FreeBSD 7.0 release, ports currently up-to-date
>> 
>> 
>> Trying to launch Linux Open Office 2.4 I get the following error message
>> 
>> 
>> ,
>> | /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin: error while
>> | loading shared libraries: /usr/local/lib/libXext.so.6: ELF file OS ABI
>> | invalid
>> `
>> 
>> Now I *think*   that what it ought to load is 
>> 
>> /usr/compat/linux/usr/X11R6/lib/libXext.so.6
>> 
>> but it goes for the FreeBSD X extension lib instead.
>> 
>> Can anyone help me to fix this?
>
> If /compat/linux/usr/local doesn't exist, perhaps making it a symlink
> to X11R6 does the trick.

Spot on!!Many thanks :-)

What I don't understand is why that works, when
/compat/linux/etc/ld.so.conf points at the right place in the very first
line!

,
| include ld.so.conf.d/*.conf
| /lib
| /usr/lib
| /usr/local/lib
`

The only .conf file in  ld.so.conf.d is

xorg-x11-i386.conf

which contains the line

/usr/X11R6/lib

Is ldconfig ignoring the first line?

I'm grateful but puzzled - thanks again :-)



atb


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


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Glyn Millington
Mel <[EMAIL PROTECTED]> writes:

> On Tuesday 13 May 2008 15:48:58 Glyn Millington wrote:
>> Mel <[EMAIL PROTECTED]> writes:
>> > On Tuesday 13 May 2008 14:05:43 Glyn Millington wrote:
>> >>  Trying to launch Linux Open Office 2.4 I get the following error
>> >>  message ,
>> >> 
>> >>  | /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin:
>> >>  | error while loading shared libraries:
>> >>  | /usr/local/lib/libXext.so.6: ELF file OS ABI invalid
>> >> 
>> >>  `
>> >>
>> >> that include statement leads to /usr/X11R6
>>
>> Wow - can I just check that I have this right before I do it?!
>>
>> > Best fix:
>> > rm /usr/X11R6
>>
>> get rid of /usr/X11R6, which on a system-wide basis is a link to /usr/local
>>
>> > touch /usr/X11R6
>>
>> Create an empty  *file* /usr/X11R6
>>
>> > chflags schg /usr/X11R6
>>
>> make it system-immutable
>>
>> > /sbin/ldconfig -m /usr/local/lib (just to force the linker to re-read the
>> > dupes).
>>
>> Merge new stuf in the /usr/local/lib directory into the hints file
>>
>> > As a bonus, the old apps you still have pointing to /usr/X11R6
>>
>> But the app in question needs to get at
>>
>> /usr/compat/linux/usr/X11R6/
>
> The app however looks for /usr/X11R6/lib/libXfoo.so.1. If both exist in base 
> system and linux emulation, then the linker will hand it the first one it 
> finds, which because of the /usr/X11R6 symlink to /usr/local will be the 
> FreeBSD one.

ok - got it.

> And yes, Kris, this isn't the 'proper' way, but it's the way that works. I'd 
> be happy to know the proper way as all suggestions I found about 'fixing' 
> linux ldconfig setup generated bogus results (ie. fixed nothing) and this 
> fixed everything.

Me too!!

Linking /compat/linux/usr/X11R6 to /compat/linux/usr/local got Openoffice
running but reaplay is giving the same kind of error :-(




> I always suspected this to be because the linker look up is correct, but the 
> actual file is handed in the base system not in the /compat/linux chroot, but 
> I haven't bothered to verify that.

OK - will await wisdom on this one :-)

atb and thanks again



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


Re: FreeBSD7/xorg/radeon: Section "Screen" totally ignored

2008-05-13 Thread Mark Busby
- Original Message 
From: Zbigniew Baniewski <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Sent: Tuesday, May 13, 2008 7:39:30 AM
Subject: Re: FreeBSD7/xorg/radeon: Section "Screen" totally ignored

On Mon, May 12, 2008 at 08:36:03PM -0400, Gary Palmer wrote:

> What version of xorg are you using on Linux and on FreeBSD?
> 
> X -version
> 
> should tell you

Linux:

X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: UNKNOWN 
Current Operating System: Linux sarge 2.6.25.2 #1 Fri May 9 14:02:28 CEST
2008 i686
Build Date: 24 January 2008
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present


FreeBSD (default X-server shipped with "official" 7.0):

X.Org X Server 1.4.0
Release Date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 7.0-RELEASE i386
Current Operating System: FreeBSD sarge.my.own.domain.no-net 7.0-RELEASE
FreeBSD 7.0-RELEASE #2: Sat Apr 19 20:53:27 CEST 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SARGE i386
Build Date: 13 February 2008  05:50:12PM

        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present


> I might have missed it in an earlier e-mail, but what resolution does
> FreeBSD come up in?  
> 
> xdpyinfo

Highest available: 1280x1024

Under Linux I'm using 800x600 (on the "virtual screen" 1280x1024)
-- 
                pozdrawiam / regards

                        Zbigniew Baniewski
I was reading the Xorg section of the handbook the other day and
it states. Xorg does not need the configuration file, it should run fine 
without running Xorg -configuration.
Try "Xorg -config /etc/X11/xorg.conf" to force it to read the your config file.

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


Re: Unexepcted behavior from read and cat

2008-05-13 Thread Erik Osterholm
On Mon, May 12, 2008 at 12:22:48PM -0700, Johan Dowdy wrote:
> For loops are your friend.
>
> I'd do something like:
>
> for i in `cat iplist`
>  do dig +short -x $I
> done

Even better:
while read i
  do dig +short -x $i
done < iplist

See the Useless Use of Cat Award for more details.

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


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Tijl Coosemans
On Tuesday 13 May 2008 16:50:51 Glyn Millington wrote:
> Linking /compat/linux/usr/X11R6 to /compat/linux/usr/local got
> Openoffice running but reaplay is giving the same kind of error :-(

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


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Glyn Millington
Glyn Millington <[EMAIL PROTECTED]> writes:

> Tijl Coosemans <[EMAIL PROTECTED]> writes:
>
>> On Tuesday 13 May 2008 10:14:54 Glyn Millington wrote:
>>> FreeBSD 7.0 release, ports currently up-to-date
>>> 
>>> 
>>> Trying to launch Linux Open Office 2.4 I get the following error message
>>> 
>>> 
>>> ,
>>> | /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin: error while
>>> | loading shared libraries: /usr/local/lib/libXext.so.6: ELF file OS ABI
>>> | invalid
>>> `
>>> 
>>> Now I *think*   that what it ought to load is 
>>> 
>>> /usr/compat/linux/usr/X11R6/lib/libXext.so.6
>>> 
>>> but it goes for the FreeBSD X extension lib instead.
>>> 
>>> Can anyone help me to fix this?
>>
>> If /compat/linux/usr/local doesn't exist, perhaps making it a symlink
>> to X11R6 does the trick.
>
> Spot on!!Many thanks :-)

Whoops - spoke to soon :-)  Realplayer still doesn't get it!

Thanks for OO though.


atb




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


usb errors

2008-05-13 Thread kalin m


hi all..

fbsd7.

plugging in a usb drive. ..  dmesg:

umass0:  
on uhub2

da0 at umass-sim0 bus 0 target 0 lun 0
da0:  Fixed Direct Access SCSI-0 device
da0: 40.000MB/s transfers
da0: 114473MB (234441648 512 byte sectors: 255H 63S/T 14593C)

next:
# mount -w -t ufs /dev/da0 /mnt/
mount: /dev/da0 : Invalid argument
# mount -w -t ufs /dev/da0s1e /mnt/
mount: /dev/da0s1e : No such file or directory
# mount -w -t ufs /dev/da0s1 /mnt/
mount: /dev/da0s1 : No such file or directory
# mount  /dev/da0s1 /mnt/
mount: /dev/da0s1 : No such file or directory
# mount /dev/da0 /mnt/
mount: /dev/da0 : Invalid argument
# mount -w -t ufs /dev/da0s1 /mnt/
mount: /dev/da0s1 : No such file or directory
# mount -w -t hfs /dev/da0s1 /mnt/
mount: /dev/da0s1 : Operation not supported by device
# mount -w -t hfs+ /dev/da0s1 /mnt/
mount: /dev/da0s1 : Operation not supported by device
# mount -w -t ufs /dev/da0s1 /mnt/
mount: /dev/da0s1 : No such file or directory
# mount -w -t ufs /dev/da0 /mnt/
mount: /dev/da0 : Invalid argument
# mount -w -t hfs /dev/da0 /mnt/
mount: /dev/da0 : Operation not supported by device

now what?


it's a usb drive usually used on a os x machine...











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


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Glyn Millington
Tijl Coosemans <[EMAIL PROTECTED]> writes:

> On Tuesday 13 May 2008 16:50:51 Glyn Millington wrote:
>> Linking /compat/linux/usr/X11R6 to /compat/linux/usr/local got
>> Openoffice running but reaplay is giving the same kind of error :-(
>
> Which error exactly?

This baby  (sorry - should have included it)

[EMAIL PROTECTED]:~$ /usr/compat/linux/bin/sh realplay

/usr/local/lib/RealPlayer/realplay.bin: error while loading shared
libraries: /usr/local/lib/libgdk-x11-2.0.so.0: ELF file OS ABI invalid


I'll bet it wants this one :-)

/usr/compat/linux/usr/lib/libgdk-x11-2.0.so.0


and of course I have just linked /usr/compat/linux/usr/local to X11R6 lol


Can I win on this one :-)

atb




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


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Tijl Coosemans
On Tuesday 13 May 2008 16:34:11 Glyn Millington wrote:
> Tijl Coosemans <[EMAIL PROTECTED]> writes:
>> On Tuesday 13 May 2008 10:14:54 Glyn Millington wrote:
>>> FreeBSD 7.0 release, ports currently up-to-date
>>> 
>>> 
>>> Trying to launch Linux Open Office 2.4 I get the following error
>>> message
>>> 
>>> 
>>> ,
>>> | /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin: error while
>>> | loading shared libraries: /usr/local/lib/libXext.so.6: ELF file OS ABI
>>> | invalid
>>> `
>>> 
>>> Now I *think*   that what it ought to load is 
>>> 
>>> /usr/compat/linux/usr/X11R6/lib/libXext.so.6
>>> 
>>> but it goes for the FreeBSD X extension lib instead.
>>> 
>>> Can anyone help me to fix this?
>>
>> If /compat/linux/usr/local doesn't exist, perhaps making it a
>> symlink to X11R6 does the trick.
> 
> Spot on!!Many thanks :-)
> 
> What I don't understand is why that works, when
> /compat/linux/etc/ld.so.conf points at the right place in the very
> first line!

I suspect some OO executable or lib has some search paths hardcoded
which the linker checks before using the ldconfig cache. If you want
you could check this with: objdump -p  | grep RPATH

RPATH could be /usr/lib:/usr/local/lib:/usr/X11R6/lib for instance.

Also, when a Linux program opens a file (i.e. libXext.so.6), FreeBSD
first tries to find it under /compat/linux, then under /. So linker
tries to open /usr/local/lib/libXext.so, but it didn't exist under
/compat/linux so it got the FreeBSD libXext.so.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Compiling in Debugging Flags

2008-05-13 Thread Chris Maness






On Sun, 04 May 2008 19:55:42 -0700
Chris Maness <[EMAIL PROTECTED]> wrote:

It is a problem with php extension "extension=mhash.so."  If I remove it
from extensions.ini it works.  However, there does not seem to be order
of arrangement that restores sanity.  I believe I need mhash for
squirrelmail.



Any further suggestions would be appreciated.


I am risking stating the obvious here, but you HAVE rebuilt everything 
related

to mhash (including security/mhash), right?


Yes, by hand, after rebuilding all of the ports using portupgrade.



I have just installed security/php5-mhash from scratch and it loads without 
any
issue... of course, i only have php5 and php5-mhash installed here, no other 
php

extensions...


Maybe it is conflicting with other extensions.  I have:

extension=pcre.so
extension=calendar.so
extension=ldap.so
extension=gettext.so
extension=xml.so
extension=mbstring.so
extension=openssl.so
extension=mysql.so
extension=session.so
#extension=mhash.so

Installed (I tried rearranging too)

Are you loading php as a module?

Chris Maness
(909) 223-9179
http://www.chrismaness.com

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


Re: usb errors

2008-05-13 Thread Sébastien Morand
What fdisk /dev/da0 is printing?

On Tue, May 13, 2008 at 3:44 PM, kalin m <[EMAIL PROTECTED]> wrote:
>
>  hi all..
>
>  fbsd7.
>
>  plugging in a usb drive. ..  dmesg:
>
>  umass0:  on
> uhub2
>  da0 at umass-sim0 bus 0 target 0 lun 0
>  da0:  Fixed Direct Access SCSI-0 device
>  da0: 40.000MB/s transfers
>  da0: 114473MB (234441648 512 byte sectors: 255H 63S/T 14593C)
>
>  next:
>  # mount -w -t ufs /dev/da0 /mnt/
>  mount: /dev/da0 : Invalid argument
>  # mount -w -t ufs /dev/da0s1e /mnt/
>  mount: /dev/da0s1e : No such file or directory
>  # mount -w -t ufs /dev/da0s1 /mnt/
>  mount: /dev/da0s1 : No such file or directory
>  # mount  /dev/da0s1 /mnt/
>  mount: /dev/da0s1 : No such file or directory
>  # mount /dev/da0 /mnt/
>  mount: /dev/da0 : Invalid argument
>  # mount -w -t ufs /dev/da0s1 /mnt/
>  mount: /dev/da0s1 : No such file or directory
>  # mount -w -t hfs /dev/da0s1 /mnt/
>  mount: /dev/da0s1 : Operation not supported by device
>  # mount -w -t hfs+ /dev/da0s1 /mnt/
>  mount: /dev/da0s1 : Operation not supported by device
>  # mount -w -t ufs /dev/da0s1 /mnt/
>  mount: /dev/da0s1 : No such file or directory
>  # mount -w -t ufs /dev/da0 /mnt/
>  mount: /dev/da0 : Invalid argument
>  # mount -w -t hfs /dev/da0 /mnt/
>  mount: /dev/da0 : Operation not supported by device
>
>  now what?
>
>
>  it's a usb drive usually used on a os x machine...
>
>
>
>
>
>
>
>
>
>
>
>  ___
>  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: Compiling in Debugging Flags

2008-05-13 Thread Chris Maness







On Sun, 04 May 2008 19:55:42 -0700
Chris Maness <[EMAIL PROTECTED]> wrote:

It is a problem with php extension "extension=mhash.so."  If I remove it
from extensions.ini it works.  However, there does not seem to be order
of arrangement that restores sanity.  I believe I need mhash for
squirrelmail.



Any further suggestions would be appreciated.


I am risking stating the obvious here, but you HAVE rebuilt everything 
related

to mhash (including security/mhash), right?


Yes, by hand, after rebuilding all of the ports using portupgrade.



I have just installed security/php5-mhash from scratch and it loads without 
any
issue... of course, i only have php5 and php5-mhash installed here, no other 
php

extensions...


Maybe it is conflicting with other extensions.  I have:

extension=pcre.so
extension=calendar.so
extension=ldap.so
extension=gettext.so
extension=xml.so
extension=mbstring.so
extension=openssl.so
extension=mysql.so
extension=session.so
#extension=mhash.so

Installed (I tried rearranging too)

Are you loading php as a module?

Chris Maness
(909) 223-9179
http://www.chrismaness.com

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


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Kris Kennaway

Mel wrote:

On Tuesday 13 May 2008 15:48:58 Glyn Millington wrote:

Mel <[EMAIL PROTECTED]> writes:

On Tuesday 13 May 2008 14:05:43 Glyn Millington wrote:

Trying to launch Linux Open Office 2.4 I get the following error
message ,

| /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin:
| error while loading shared libraries:
| /usr/local/lib/libXext.so.6: ELF file OS ABI invalid

`

that include statement leads to /usr/X11R6

Wow - can I just check that I have this right before I do it?!


Best fix:
rm /usr/X11R6

get rid of /usr/X11R6, which on a system-wide basis is a link to /usr/local


touch /usr/X11R6

Create an empty  *file* /usr/X11R6


chflags schg /usr/X11R6

make it system-immutable


/sbin/ldconfig -m /usr/local/lib (just to force the linker to re-read the
dupes).

Merge new stuf in the /usr/local/lib directory into the hints file


As a bonus, the old apps you still have pointing to /usr/X11R6

But the app in question needs to get at

/usr/compat/linux/usr/X11R6/


The app however looks for /usr/X11R6/lib/libXfoo.so.1. If both exist in base 
system and linux emulation, then the linker will hand it the first one it 
finds, which because of the /usr/X11R6 symlink to /usr/local will be the 
FreeBSD one.


The lookup order for linux binaries is /compat/linux/foo first, then 
/foo if the former does not exist.  So if /compat/linux/usr/X11R6 
exists, then it is seen by linux binaries (similarly for files below 
this path).  As far as I know, this file should be a directory, not a 
symlink.  Moreover, the desired libXext.so.6 lives in that directory. 
It is a symlink pointing to another file in the same directory.  If 
neither exist (or exist but are corrupted), then the linux binary will 
fall back to the bogus FreeBSD one in another search path.


Kris



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


Re: Unexepcted behavior from read and cat

2008-05-13 Thread Jonathan McKeown
On Monday 12 May 2008 20:59, Paul Schmehl wrote:
> I created a small list of IPs that I wanted to do digs on (because I'm lazy
> and don't want to do them one at a time.)
[snip]
> WTF?  Why do these utilities, which usually read all the lines in a file
> now only work once when run through dig?  Is there a way to feed dig a list
> of IPs and have it return each and every one of them?
>
> I tried dig +short -x -f iplist, but that returns nothing at all.
>
> Sure, I can edit the file and prepend +short -x to each line, but by then I
> might as well just do them individually.
>
> What am I missing?

The comedy solution:

lam -s '-x ' trydata | xargs dig +short

Any other ways to do this?

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


Re: Help compiling source code

2008-05-13 Thread Ross Gohlke
> Give a try with
> % ./configure --help
>
> It should print the configuration available.
>
> Hope this helps.

A ha! That definitely helps, thanks. I will have to play with it a bit,
but that is the answer I was looking for.

Ross Gohlke

> Hi,
>
> On Tue, May 13, 2008 at 12:01 AM, Ross Gohlke <[EMAIL PROTECTED]>
wrote:
>> I am a longtime FreeBSD user accustomed to ports. I have never been
>>  comfortable compiling source code except under the most vanilla of
circumstances (ie, when nothing goes wrong).
>>  QUESTION: How can I change pam-pgsql's configure script to find
pgsql's
>>  libraries?
>>  The machine in question is a Powerbook G4 (PowerPC) running Mac OS
>> 10.4.11.
>>  I am using MacPorts (equivalent of ports). One small piece of software
(available in FreeBSD ports) is a lynchpin of my entire operation -
pam-pgsql.
>>  Pam-pgsql gives me virtual email users which are easily shared between
Postfix and Cyrus IMAP while letting me use my SQL backend of
>> preference -
>>  PostgreSQL.
>>  There is no macport available for pam-pgsql, so I must compile the
>> source
>>  myself. It is not working. My hunch is that the fix is simple -
>> something
>>  with paths, because macports installs PostgreSQL at weird paths and
the
>>  pam-pgsql configure script expects a standard location.
>>  ## /opt/local/src/pam-pgsql/configure.in
>>  dnl Configure template for pam_pgsql
>>  AC_INIT(pam_get_pass.c)
>>  AC_CONFIG_HEADER(config.h)
>>  dnl Checks for libraries.
>>  AC_CHECK_LIB(pam, pam_get_user)
>>  dnl Checks for header files.
>>  AC_CANONICAL_HOST
>>  AC_HEADER_STDC
>>  AC_CHECK_HEADERS(syslog.h)
>>  AC_CHECK_HEADERS(netdb.h)
>>  AC_MSG_CHECKING(for PostgreSQL headers)
>>  for d in /usr /usr/local /usr/local/pgsql; do
>> test -f $d/include/libpq-fe.h && {
>> AC_SUBST(PGSQL_INC)
>> PGSQL_INC="-I$d/include"
>> PG_DIR="$d"
>> AC_MSG_RESULT($d/include)
>> }
>> test -f $d/include/postgresql/libpq-fe.h && {
>> AC_SUBST(PGSQL_INC)
>> PGSQL_INC="-I$d/include/postgresql"
>> PG_DIR="$d"
>> AC_MSG_RESULT($d/include/postgresql)
>> }
>> test -f $d/include/postgresql/8.0/libpq-fe.h && {
>> AC_SUBST(PGSQL_INC)
>> PGSQL_INC="-I$d/include/postgresql/8.0"
>> PG_DIR="$d"
>> AC_MSG_RESULT($d/include/postgresql/8.0)
>> }
>> test -f $d/include/pgsql/libpq-fe.h && {
>> AC_SUBST(PGSQL_INC)
>> PGSQL_INC="-I$d/include/pgsql"
>> PG_DIR="$d"
>> AC_MSG_RESULT($d/include/pgsql)
>> }
>>  done
>>  old_LDFLAGS="$LDFLAGS"
>>  LDFLAGS="$LDFLAGS -L$PG_DIR/lib"
>>  AC_CHECK_LIB(pq, PQexecParams,
>> [AC_SUBST(PGSQL_LIB)
>> PGSQL_LIB="-L$PG_DIR/lib"],
>> [AC_MSG_ERROR(could not determine PostgreSQL library location)])
>>  LDFLAGS="$old_LDFLAGS"
>>  ..
>>  ## /opt/local/include/postgresql83/
>>  -rw-r--r--2 root  admin600 May 12 12:25 ecpg_config.h
>>  -rw-r--r--2 root  admin   2776 May 12 12:25 ecpg_informix.h
-rw-r--r--2 root  admin   2600 May 12 12:25 ecpgerrno.h
>>  -rw-r--r--2 root  admin   2440 May 12 12:25 ecpglib.h
>>  -rw-r--r--2 root  admin   2560 May 12 12:25 ecpgtype.h
>>  drwxr-xr-x3 root  admin102 May 12 12:26 informix
>>  drwxr-xr-x8 root  admin272 May 12 12:26 internal
>>  drwxr-xr-x3 root  admin102 May 12 12:26 libpq
>>  -rw-r--r--2 root  admin  18410 May 12 12:25 libpq-fe.h
>>  -rw-r--r--2 root  admin  21700 May 12 12:25 pg_config.h
>>  -rw-r--r--2 root  admin   8954 May 12 12:25 pg_config_manual.h
-rw-r--r--2 root  admin217 May 12 12:25 pg_config_os.h
-rw-r--r--2 root  admin814 May 12 12:25 pgtypes_date.h
-rw-r--r--2 root  admin588 May 12 12:25 pgtypes_error.h
-rw-r--r--2 root  admin   1485 May 12 12:25 pgtypes_interval.h
-rw-r--r--2 root  admin   2306 May 12 12:25 pgtypes_numeric.h
-rw-r--r--2 root  admin   1057 May 12 12:25 pgtypes_timestamp.h
-rw-r--r--2 root  admin   1837 May 12 12:25 postgres_ext.h
drwxr-xr-x   40 root  admin   1360 May 12 12:26 server
>>  -rw-r--r--2 root  admin834 May 12 12:25 sql3types.h
>>  -rw-r--r--2 root  admin   1267 May 12 12:25 sqlca.h
>>  ## /opt/local/lib/postgresql83/
>>  -rwxr-xr-x2 root  admin   106392 May 12 12:25 adminpack.so
-rwxr-xr-x2 root  admin   100444 May 12 12:25 ascii_and_mic.so
drwxr-xr-x   25 root  admin  850 May 12 12:26 bin
>>  -rwxr-xr-x2 root  admin   106700 May 12 12:25 cyrillic_and_mic.so
-rwxr-xr-x2 root  admin   130720 May 12 12:25 dblink.so
>>  -rwxr-xr-x2 root  admin   425208 May 12 12:25 dict_snowball.so
-rwxr-xr-x2 root  admin   100448 May 12 12:25 euc_cn_and_mic.so
-rwxr-xr-x2 root  admin   100540 May 12 12:25
>>  euc_jis_2004_and_shift_jis_2004.so
>>  -rwxr-xr-x2 root  admin   104952 May 12 12:25 euc_jp_and_sjis.so
-rwxr-xr-x2 root  admin   100476 May 12 12:25 euc_kr_and_mic.so
-rwxr-xr-x2 root  admin   105384 May 12 12:25 euc_tw_and_big

Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Tijl Coosemans
On Tuesday 13 May 2008 17:49:02 Glyn Millington wrote:
> Tijl Coosemans <[EMAIL PROTECTED]> writes:
>> On Tuesday 13 May 2008 16:50:51 Glyn Millington wrote:
>>> Linking /compat/linux/usr/X11R6 to /compat/linux/usr/local got
>>> Openoffice running but reaplay is giving the same kind of error :-(
>>
>> Which error exactly?
> 
> This baby  (sorry - should have included it)
> 
> [EMAIL PROTECTED]:~$ /usr/compat/linux/bin/sh realplay
> 
> /usr/local/lib/RealPlayer/realplay.bin: error while loading shared
> libraries: /usr/local/lib/libgdk-x11-2.0.so.0: ELF file OS ABI invalid
> 
> 
> I'll bet it wants this one :-)
> 
> /usr/compat/linux/usr/lib/libgdk-x11-2.0.so.0
> 
> 
> and of course I have just linked /usr/compat/linux/usr/local to X11R6
> lol 
> 
> 
> Can I win on this one :-)

That's suspicious, realplayer just works for me. Do you have some LD_*
variable defined in your environment?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Unexepcted behavior from read and cat

2008-05-13 Thread Jonathan McKeown
On Tuesday 13 May 2008 18:23, Jonathan McKeown wrote:
>
> The comedy solution:
>
> lam -s '-x ' trydata | xargs dig +short

and of course I meant iplist, not trydata: this was a cut'n'paste, and trydata 
is my scratch test data filename (often providing input to a script called 
try. Why isn't it called testdata?)

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


Re: usb errors

2008-05-13 Thread kalin m

# fdisk /dev/da0
*** Working on device /dev/da0 ***
parameters extracted from in-core disklabel are:
cylinders=14593 heads=255 sectors/track=63 (16065 blks/cyl)

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

fdisk: invalid fdisk partition table found
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
   start 63, size 234436482 (114470 Meg), flag 80 (active)
   beg: cyl 0/ head 1/ sector 1;
   end: cyl 256/ head 254/ sector 63
The data for partition 2 is:

The data for partition 3 is:

The data for partition 4 is:



Sébastien Morand wrote:

What fdisk /dev/da0 is printing?

On Tue, May 13, 2008 at 3:44 PM, kalin m <[EMAIL PROTECTED]> wrote:
  

 hi all..

 fbsd7.

 plugging in a usb drive. ..  dmesg:

 umass0:  on
uhub2
 da0 at umass-sim0 bus 0 target 0 lun 0
 da0:  Fixed Direct Access SCSI-0 device
 da0: 40.000MB/s transfers
 da0: 114473MB (234441648 512 byte sectors: 255H 63S/T 14593C)

 next:
 # mount -w -t ufs /dev/da0 /mnt/
 mount: /dev/da0 : Invalid argument
 # mount -w -t ufs /dev/da0s1e /mnt/
 mount: /dev/da0s1e : No such file or directory
 # mount -w -t ufs /dev/da0s1 /mnt/
 mount: /dev/da0s1 : No such file or directory
 # mount  /dev/da0s1 /mnt/
 mount: /dev/da0s1 : No such file or directory
 # mount /dev/da0 /mnt/
 mount: /dev/da0 : Invalid argument
 # mount -w -t ufs /dev/da0s1 /mnt/
 mount: /dev/da0s1 : No such file or directory
 # mount -w -t hfs /dev/da0s1 /mnt/
 mount: /dev/da0s1 : Operation not supported by device
 # mount -w -t hfs+ /dev/da0s1 /mnt/
 mount: /dev/da0s1 : Operation not supported by device
 # mount -w -t ufs /dev/da0s1 /mnt/
 mount: /dev/da0s1 : No such file or directory
 # mount -w -t ufs /dev/da0 /mnt/
 mount: /dev/da0 : Invalid argument
 # mount -w -t hfs /dev/da0 /mnt/
 mount: /dev/da0 : Operation not supported by device

 now what?


 it's a usb drive usually used on a os x machine...











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


trickle and bacula-fd

2008-05-13 Thread Jeff Dickens

Pardon the cross-posting; don't know where would be the better place to ask.

I've got bacula-fd running under trickle, and it seems to be doing 
exactly what I want it to.  I manually started bacula-fd on my freebsd 
system like this:


   /usr/local/bin/trickle -s -u 24 /usr/local/sbin/bacula-fd -u root -g
   wheel -v -c /usr/local/etc/bacula-fd.conf


The normal rc file for bacula-fd looks like this.. how should I modify 
it to make it run under trickle as above?


   #!/bin/sh
   #
   # $FreeBSD: ports/sysutils/bacula-server/files/bacula-fd.in,v 1.4
   2007/03/01 12:19:01 miwi Exp $
   #
   # PROVIDE: utility
   # REQUIRE: DAEMON
   # KEYWORD: shutdown
   #
   # Add the following lines to /etc/rc.conf.local or /etc/rc.conf
   # to enable this service:
   #
   # bacula_fd_enable  (bool):  Set to NO by default.
   #   Set it to YES to enable bacula_fd.
   # bacula_fd_flags (params):  Set params used to start bacula_fd.
   #

   . /etc/rc.subr

   name="bacula_fd"
   rcvar=${name}_enable
   command=/usr/local/sbin/bacula-fd

   load_rc_config $name

   pidfile="${bacula_fd_pidfile}"

   : ${bacula_fd_enable="NO"}
   : ${bacula_fd_flags=" -u root -g wheel -v -c
   /usr/local/etc/bacula-fd.conf"}
   : ${bacula_fd_pidfile="/var/run/bacula-fd.9102.pid"}

   run_rc_command "$1"

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

rsync'able ports tree instead of csup?

2008-05-13 Thread Joachim Rosenfeld
My usual workflow with the ports tree (and to a lesser extent, /usr/src)
goes something like this:

1. download ports/src tree from cdrom/ftp site (usually done once)

2. use csup to update to HEAD

3. build

The problem is step 2. It takes a very long time for csup to apply the
latest changes from the cvsup servers to the tree, even if my previous
csup session was only the previous day.

IMO, something like rsync would be *way* faster for this task. I know
csup is CVS-tags aware and such, but 99% of the time, I'm just tracking
HEAD.

Would it be a good idea to setup a server that does nothing but
csup/cvsup ports, HEAD, and RELENG_7_0, and make that available via
rsync? It could be done frequently enough (maybe every 15 minutes) such
that most users would be fine with everything but the last 15 minutes.

Has anyone done something like this already?

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


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Boris Samorodov
On Tue, 13 May 2008 09:14:54 +0100 Glyn Millington wrote:


> FreeBSD 7.0 release, ports currently up-to-date
> Trying to launch Linux Open Office 2.4 I get the following error message

> ,
> | /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin: error while
> | loading shared libraries: /usr/local/lib/libXext.so.6: ELF file OS ABI
> | invalid
> `

> Now I *think*   that what it ought to load is 
> /usr/compat/linux/usr/X11R6/lib/libXext.so.6
> but it goes for the FreeBSD X extension lib instead.
> Can anyone help me to fix this?

Please, show an output for:
-
% uname -a
% pkg_info -xI 'linux'
% strings /compat/linux/etc/ld.so.cache | grep libXext
% echo ${LD_LIBRARY_PATH}
% sysctl -a | grep linux
-

As well as 'cat ' if it's not very long. If it
is long then please give an URL to that file.


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


Converting AVI and MPEG Into Still Images

2008-05-13 Thread D Hill


Is there anything in the ports tree I can use to convert AVI and/or MPEG 
videos into individual frames as jpg or a different still graphic format?


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


Re: rsync'able ports tree instead of csup?

2008-05-13 Thread Derek Buttineau

On 2008-May-13, at 1:27 PM, Joachim Rosenfeld wrote:

My usual workflow with the ports tree (and to a lesser extent, /usr/ 
src)

goes something like this:

   1. download ports/src tree from cdrom/ftp site (usually done once)

   2. use csup to update to HEAD

   3. build

The problem is step 2. It takes a very long time for csup to apply the
latest changes from the cvsup servers to the tree, even if my previous
csup session was only the previous day.



Have you tried using portsnap?  It's a binary snapshot of the ports  
tree:


http://www.freebsd.org/doc/en/books/handbook/portsnap.html

Derek

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


Re: rsync'able ports tree instead of csup?

2008-05-13 Thread Andreas Rudisch
On Tue, 13 May 2008 13:27:05 -0400
"Joachim Rosenfeld" <[EMAIL PROTECTED]> wrote:

> IMO, something like rsync would be *way* faster for this task.

Take a look at portsnap.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/portsnap.html

Andreas
--
GnuPG key  : 0x2A573565|http://www.gnupg.org/howtos/de/
Fingerprint: 925D 2089 0BF9 8DE5 9166  33BB F0FD CD37 2A57 3565


pgpBdIab9AdPe.pgp
Description: PGP signature


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Glyn Millington
Tijl Coosemans <[EMAIL PROTECTED]> writes:

> On Tuesday 13 May 2008 16:34:11 Glyn Millington wrote:
>> Tijl Coosemans <[EMAIL PROTECTED]> writes:
>>> On Tuesday 13 May 2008 10:14:54 Glyn Millington wrote:
 FreeBSD 7.0 release, ports currently up-to-date
 
 
 Trying to launch Linux Open Office 2.4 I get the following error
 message
 
 
 ,
 | /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin: error while
 | loading shared libraries: /usr/local/lib/libXext.so.6: ELF file OS ABI
 | invalid
 `
 
 Now I *think*   that what it ought to load is 
 
 /usr/compat/linux/usr/X11R6/lib/libXext.so.6
 
 but it goes for the FreeBSD X extension lib instead.
 
 Can anyone help me to fix this?
>>>
>>> If /compat/linux/usr/local doesn't exist, perhaps making it a
>>> symlink to X11R6 does the trick.
>> 
>> Spot on!!Many thanks :-)
>> 
>> What I don't understand is why that works, when
>> /compat/linux/etc/ld.so.conf points at the right place in the very
>> first line!
>
> I suspect some OO executable or lib has some search paths hardcoded
> which the linker checks before using the ldconfig cache. If you want
> you could check this with: objdump -p  | grep RPATH

That gets me a 

objdump: soffice: File format not recognized

> Also, when a Linux program opens a file (i.e. libXext.so.6), FreeBSD
> first tries to find it under /compat/linux, then under /. So linker
> tries to open /usr/local/lib/libXext.so, but it didn't exist under
> /compat/linux so it got the FreeBSD libXext.so.

OK - tghatnk you, that bit I *do* understand.

many thanks





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


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Glyn Millington
Kris Kennaway <[EMAIL PROTECTED]> writes:

> Mel wrote:
>> On Tuesday 13 May 2008 15:48:58 Glyn Millington wrote:
>>> Mel <[EMAIL PROTECTED]> writes:
 On Tuesday 13 May 2008 14:05:43 Glyn Millington wrote:
> Trying to launch Linux Open Office 2.4 I get the following error
> message ,
>
> | /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin:
> | error while loading shared libraries:
> | /usr/local/lib/libXext.so.6: ELF file OS ABI invalid
>
> `
> that include statement leads to /usr/X11R6
>>> Wow - can I just check that I have this right before I do it?!
>>>
 Best fix:
 rm /usr/X11R6
>>> get rid of /usr/X11R6, which on a system-wide basis is a link to /usr/local
>>>
 touch /usr/X11R6
>>> Create an empty  *file* /usr/X11R6
>>>
 chflags schg /usr/X11R6
>>> make it system-immutable
>>>
 /sbin/ldconfig -m /usr/local/lib (just to force the linker to re-read the
 dupes).
>>> Merge new stuf in the /usr/local/lib directory into the hints file
>>>
 As a bonus, the old apps you still have pointing to /usr/X11R6
>>> But the app in question needs to get at
>>>
>>> /usr/compat/linux/usr/X11R6/
>>
>> The app however looks for /usr/X11R6/lib/libXfoo.so.1. If both exist
>> in base system and linux emulation, then the linker will hand it the
>> first one it finds, which because of the /usr/X11R6 symlink to
>> /usr/local will be the FreeBSD one.
>
> The lookup order for linux binaries is /compat/linux/foo first, then
> /foo if the former does not exist.  So if /compat/linux/usr/X11R6
> exists, then it is seen by linux binaries (similarly for files below
> this path).  As far as I know, this file should be a directory, not a
> symlink.  Moreover, the desired libXext.so.6 lives in that
> directory. It is a symlink pointing to another file in the same
> directory.  


Just to summarise :-)

So far this description above fits my situation exactly - everything is where
you say it should be, and everything worked until a couple of days
ago. Having done a  portupgrade -akOP recently things appear tio have
gone wrong with the results as described originally.


For some reason  /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin

can't find the linux library which is where you describe it, until I
make a symlink, linking  /compat/linux/usr/local to X11R6 - then soffice
works but other things break


> If neither exist (or exist but are corrupted), then the linux binary
> will fall back to the bogus FreeBSD one in another search path.

But doesn't the above suggest that

A. It exists and
B. It works when soffice.bin can find it.

?

atb





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


Re: rsync'able ports tree instead of csup?

2008-05-13 Thread Kevin Downey
On Tue, May 13, 2008 at 10:27 AM, Joachim Rosenfeld
<[EMAIL PROTECTED]> wrote:
> My usual workflow with the ports tree (and to a lesser extent, /usr/src)
>  goes something like this:
>
> 1. download ports/src tree from cdrom/ftp site (usually done once)
>
> 2. use csup to update to HEAD
>
> 3. build
>
>  The problem is step 2. It takes a very long time for csup to apply the
>  latest changes from the cvsup servers to the tree, even if my previous
>  csup session was only the previous day.
>
>  IMO, something like rsync would be *way* faster for this task. I know
>  csup is CVS-tags aware and such, but 99% of the time, I'm just tracking
>  HEAD.
>
>  Would it be a good idea to setup a server that does nothing but
>  csup/cvsup ports, HEAD, and RELENG_7_0, and make that available via
>  rsync? It could be done frequently enough (maybe every 15 minutes) such
>  that most users would be fine with everything but the last 15 minutes.
>
>  Has anyone done something like this already?
>
>  thanks,
>  joe

man portsnap



-- 
The Mafia way is that we pursue larger goals under the guise of
personal relationships.
 Fisheye
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Unexepcted behavior from read and cat

2008-05-13 Thread Johan Dowdy
I think this one wins for brevity.



On 5/12/08 1:55 PM, "RW" <[EMAIL PROTECTED]> wrote:

> On Mon, 12 May 2008 14:08:06 -0500
> Paul Schmehl <[EMAIL PROTECTED]> wrote:
> 
>> --On Monday, May 12, 2008 13:59:47 -0500 Paul Schmehl
>> <[EMAIL PROTECTED]> wrote:
>>> 
>>> Sure, I can edit the file and prepend +short -x to each line, but
>>> by then I might as well just do them individually.
>>> 
>>> What am I missing?
>> 
>> Never mind.
>> 
>> This worked.
>> 
>> (read line; dig +short -x `echo $line`; while read line; do dig
>> +short -x `echo $line`; done) < iplist
>> 
> I tend to use "xargs -n1" with dig e.g
> 
> 
> cat iplist | xargs -n1 dig +short -x
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 
Johan Dowdy - CISSP
Senior Systems Administrator
nCircle Network Security
 
415.318.2880

"Any sufficiently advanced technology is indistinguishable from magic."
-- Arthur C. Clarke

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


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Glyn Millington
Tijl Coosemans <[EMAIL PROTECTED]> writes:

> On Tuesday 13 May 2008 17:49:02 Glyn Millington wrote:
>> Tijl Coosemans <[EMAIL PROTECTED]> writes:
>>> On Tuesday 13 May 2008 16:50:51 Glyn Millington wrote:
 Linking /compat/linux/usr/X11R6 to /compat/linux/usr/local got
 Openoffice running but reaplay is giving the same kind of error :-(
>>>
>>> Which error exactly?
>> 
>> This baby  (sorry - should have included it)
>> 
>> [EMAIL PROTECTED]:~$ /usr/compat/linux/bin/sh realplay
>> 
>> /usr/local/lib/RealPlayer/realplay.bin: error while loading shared
>> libraries: /usr/local/lib/libgdk-x11-2.0.so.0: ELF file OS ABI invalid
>> 
>> 
>> I'll bet it wants this one :-)
>> 
>> /usr/compat/linux/usr/lib/libgdk-x11-2.0.so.0
>> 
>> 
>> and of course I have just linked /usr/compat/linux/usr/local to X11R6
>> lol 
>> 
>> 
>> Can I win on this one :-)
>
> That's suspicious, realplayer just works for me. Do you have some LD_*
> variable defined in your environment?

Ah! (bangs head against wall!)   Yes I do:-

in ~/.bashrc  

LD_LIBRARY_PATH="/usr/local/lib:/usr/local/share/squeak/3.7-7"

Having removed that realplayer comes up with no problem.

Should have spotted that one :-( 


So many thanks for solving both my problems today!  


atb




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


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Glyn Millington
Kris Kennaway <[EMAIL PROTECTED]> writes:

> Mel wrote:
>> On Tuesday 13 May 2008 15:48:58 Glyn Millington wrote:
>>> Mel <[EMAIL PROTECTED]> writes:
 On Tuesday 13 May 2008 14:05:43 Glyn Millington wrote:
> Trying to launch Linux Open Office 2.4 I get the following error
> message ,
>
> | /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin:
> | error while loading shared libraries:
> | /usr/local/lib/libXext.so.6: ELF file OS ABI invalid
>
> `
> that include statement leads to /usr/X11R6
>>> Wow - can I just check that I have this right before I do it?!
>>>
 Best fix:
 rm /usr/X11R6
>>> get rid of /usr/X11R6, which on a system-wide basis is a link to /usr/local
>>>
 touch /usr/X11R6
>>> Create an empty  *file* /usr/X11R6
>>>
 chflags schg /usr/X11R6
>>> make it system-immutable
>>>
 /sbin/ldconfig -m /usr/local/lib (just to force the linker to re-read the
 dupes).
>>> Merge new stuf in the /usr/local/lib directory into the hints file
>>>
 As a bonus, the old apps you still have pointing to /usr/X11R6
>>> But the app in question needs to get at
>>>
>>> /usr/compat/linux/usr/X11R6/
>>
>> The app however looks for /usr/X11R6/lib/libXfoo.so.1. If both exist
>> in base system and linux emulation, then the linker will hand it the
>> first one it finds, which because of the /usr/X11R6 symlink to
>> /usr/local will be the FreeBSD one.
>
> The lookup order for linux binaries is /compat/linux/foo first, then
> /foo if the former does not exist.  So if /compat/linux/usr/X11R6
> exists, then it is seen by linux binaries (similarly for files below
> this path).  As far as I know, this file should be a directory, not a
> symlink.  Moreover, the desired libXext.so.6 lives in that
> directory. It is a symlink pointing to another file in the same
> directory.  If neither exist (or exist but are corrupted), then the
> linux binary will fall back to the bogus FreeBSD one in another search
> path.


Sorry Kris, I was in part plain wrong in my first reply to this one.

Linking /compat/linux/usr/X11R6 to /compat/linux/usr/local fixed my
initial problem


> | /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin:
> | error while loading shared libraries:
> | /usr/local/lib/libXext.so.6: ELF file OS ABI invalid

What I still don't get is why ldconfig doesn't find the the X11R6
directory, when /compat/linux/etc/ld.so.conf point at it


include ld.so.conf.d/*.conf
/lib
/usr/lib
/usr/local/lib

it seems to be ignoring the first line.

Either there is a real problem here or the real problem is my ignorance,
and I'm not sure which it is!

with thanks yet again


atb


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


Re: Samba doesn't start after a ports upgrade

2008-05-13 Thread Johan Dowdy


For extra info at start time I always use

sh -x /sur/local/etc/rc.d/foo start   which will give you some nice realtime
debugging.

-J

On 5/13/08 1:20 AM, "Reinhold" <[EMAIL PROTECTED]> wrote:

> Hi
> 
> I have a samba server here at work. Last night I did a ports upgrade and
> since then samba fails to start. It just hangs at the rc script.
> 
> # /usr/local/etc/rc.d/samba start
> Removing stale Samba tdb files:  done
> Starting nmbd.
> Starting smbd.
> 
> 
> # ps auxwww |grep smb
> root 66854  0.0  0.7  5740  3464  ??  Ss9:09AM   0:00.01
> /usr/local/sbin/nmbd -D -s /usr/local/etc/smb.conf
> root 67466  0.0  1.3  9616  6756  p1  I+9:09AM   0:00.06
> /usr/local/sbin/smbd -d 5 -s /usr/local/etc/smb.conf
> root 67561  0.0  0.2  1596   924  p2  S+9:09AM   0:00.00 grep smb
> 
> and in the log file it looks like this
> [2008/05/13 09:14:16, 5] lib/debug.c:debug_dump_status(391)
>   INFO: Current debug levels:
> all: True/5
> tdb: False/0
> printdrivers: False/0
> lanman: False/0
> smb: False/0
> rpc_parse: False/0
> rpc_srv: False/0
> rpc_cli: False/0
> passdb: False/0
> sam: False/0
> auth: False/0
> winbind: False/0
> vfs: False/0
> idmap: False/0
> quota: False/0
> acls: False/0
> locking: False/0
> msdfs: False/0
> dmapi: False/0
> [2008/05/13 09:14:16, 3] lib/fault.c:dump_core_setup(134)
>   Maximum core file size limits now -1(soft) -1(hard)
> [2008/05/13 09:14:16, 3] smbd/sec_ctx.c:get_current_groups(167)
>   get_current_groups: user is in 3 groups: 0, 0, 5
> [2008/05/13 09:14:16, 0] smbd/server.c:main(944)
>   smbd version 3.0.28a started.
>   Copyright Andrew Tridgell and the Samba Team 1992-2008
> [2008/05/13 09:14:16, 2] smbd/server.c:main(948)
>   uid=0 gid=0 euid=0 egid=0
> [2008/05/13 09:14:16, 4] smbd/build_options.c:output(45)
>   Build environment:
> [2008/05/13 09:14:16, 4] smbd/build_options.c:output(45)
>  Built by:[EMAIL PROTECTED]
> [2008/05/13 09:14:16, 4] smbd/build_options.c:output(45)
>  Built on:Tue May 13 08:52:37 BST 2008
> [2008/05/13 09:14:16, 4] smbd/build_options.c:output(45)
>  Built using: cc
> [2008/05/13 09:14:16, 4] smbd/build_options.c:output(45)
>  Build host:  FreeBSD fbsd01.gim.local 6.3-STABLE FreeBSD 6.3-STABLE
> #1: Mon May 12 18:47:12 BST 2008
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERN  i386
> [2008/05/13 09:14:16, 4] smbd/build_options.c:output(45)
>  SRCDIR:  /usr/ports/net/samba3/work/samba-3.0.28a/source
> [2008/05/13 09:14:16, 4] smbd/build_options.c:output(45)
>  BUILDDIR:/usr/ports/net/samba3/work/samba-3.0.28a/source
> [2008/05/13 09:14:16, 4] smbd/build_options.c:output(45)
> 
> And loads of other stuff that looks the same as above
> It ends with this
> [2008/05/13 09:14:16, 3] printing/pcap.c:pcap_cache_reload(117)
>   reloading printcap cache
> [2008/05/13 09:14:16, 5] printing/print_cups.c:cups_cache_reload(94)
>   reloading cups printcap cache
> [2008/05/13 09:16:46, 0] printing/print_cups.c:cups_connect(69)
>   Unable to connect to CUPS server localhost:631 - Operation timed out
> [2008/05/13 09:16:46, 3] printing/pcap.c:pcap_cache_reload(223)
>   reload status: error
> [2008/05/13 09:16:46, 3] printing/pcap.c:pcap_cache_reload(117)
>   reloading printcap cache
> [2008/05/13 09:16:46, 5] printing/print_cups.c:cups_cache_reload(94)
>   reloading cups printcap cache
> 
> 
> Any help please, my whole office is down at the moment :-(
> 
> Regards
> Reinhold
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 
Johan Dowdy - CISSP
Senior Systems Administrator
nCircle Network Security
 
415.318.2880

"Any sufficiently advanced technology is indistinguishable from magic."
-- Arthur C. Clarke

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


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Glyn Millington
Boris Samorodov <[EMAIL PROTECTED]> writes:

> On Tue, 13 May 2008 09:14:54 +0100 Glyn Millington wrote:
>
>
>> FreeBSD 7.0 release, ports currently up-to-date
>> Trying to launch Linux Open Office 2.4 I get the following error message
>
>> ,
>> | /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin: error while
>> | loading shared libraries: /usr/local/lib/libXext.so.6: ELF file OS ABI
>> | invalid
>> `
>
>> Now I *think*   that what it ought to load is 
>> /usr/compat/linux/usr/X11R6/lib/libXext.so.6
>> but it goes for the FreeBSD X extension lib instead.
>> Can anyone help me to fix this?
>
> Please, show an output for:


Hi Boris,  thank you for taking an interest in my struggles :-)

Ok - here we go .


> -
> % uname -a

FreeBSD glynthebearded.millingtons.org 7.0-RELEASE FreeBSD 7.0-RELEASE
#0: Mon Apr 7 21:33:37 BST 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GLYN1KERNEL i386

The changes in GLYNKERNEL from GENERIC relate only to acpi and apm.


> % pkg_info -xI 'linux'

linux-atk-1.9.1 Accessibility Toolkit, Linux/i386 binary
linux-cairo-1.0.2   Linux cairo binary
linux-expat-1.95.8  Linux/i386 binary port of Expat XML-parsing library
linux-flashplugin-9.0r124 Adobe Flash Player NPAPI Plugin
linux-fontconfig-2.2.3_7 Linux/i386 binary of Fontconfig
linux-glib2-2.6.6   Version 2.X Linux/i386 binary port of GLib
linux-gtk2-2.6.10   GTK+ library, version 2.X, Linux binary
linux-hicolor-icon-theme-0.5_1 A high-color icon theme shell from the 
FreeDesktop project
linux-jpeg-6b.34RPM of the JPEG lib
linux-nvu-1.0   A complete Web Authoring System
linux-openssl-0.9.7f SSL and crypto library (Linux Version)
linux-pango-1.10.2  Linux pango binary
linux-png-1.2.8_2   RPM of the PNG lib
linux-realplayer-10.0.9.809.20070726 Linux RealPlayer 10 from RealNetworks
linux-scim-libs-1.4.4 Smart Common Input Method platform, library part, Linux 
bin
linux-sun-jdk-1.5.0.15,2 Sun Java Development Kit 1.5 for Linux
linux-tiff-3.7.1TIFF library, Linux/i386 binary
linux-xorg-libs-6.8.2_5 Xorg libraries, linux binaries
linux_base-fc-4_13  Base set of packages needed in Linux mode (for i386/amd64)


> % strings /compat/linux/etc/ld.so.cache | grep libXextlibXext.so.6

/usr/X11R6/lib/libXext.so.6

> % echo ${LD_LIBRARY_PATH}

/usr/local/lib:/usr/local/share/squeak/3.7-7

> % sysctl -a | grep linux

hw.snd.compat_linux_mmap: 0
compat.linux.oss_version: 198144
compat.linux.osrelease: 2.4.2
compat.linux.osname: Linux






> -
>
> As well as 'cat ' if it's not very long. If it
> is long then please give an URL to that file.

#!/bin/sh
/usr/compat/linux/bin/sh /usr/compat/linux/opt/openoffice.org2.4/program/soffice


thanks again






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


Re: Converting AVI and MPEG Into Still Images

2008-05-13 Thread Chad Perrin
On Tue, May 13, 2008 at 06:31:53PM +, D Hill wrote:
> 
> Is there anything in the ports tree I can use to convert AVI and/or MPEG 
> videos into individual frames as jpg or a different still graphic format?

MPlayer should be able to do that.  By the way, AVI is a container
format, not a codec, and most AVIs use MPEG (in my experience) for video
codec.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Ben Franklin: "As we enjoy great Advantages from the Inventions of others
we should be glad of an Opportunity to serve others by any Invention of
ours, and this we should do freely and generously."


pgpdBrWN3RMZ4.pgp
Description: PGP signature


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Boris Samorodov
On Tue, 13 May 2008 19:16:51 +0100 Glyn Millington wrote:

> > % echo ${LD_LIBRARY_PATH}
> /usr/local/lib:/usr/local/share/squeak/3.7-7

The culprit is the first path. It results in non-standard linux
path-finding. If you remove it all _linux_ troubles should go away.
I said "linux" since assume that there was a reason why you has
that path at the first place.


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


Re: Converting AVI and MPEG Into Still Images

2008-05-13 Thread D Hill

On Tue, 13 May 2008 at 13:12 -0600, [EMAIL PROTECTED] confabulated:


On Tue, May 13, 2008 at 06:31:53PM +, D Hill wrote:


Is there anything in the ports tree I can use to convert AVI and/or MPEG
videos into individual frames as jpg or a different still graphic format?


MPlayer should be able to do that.  By the way, AVI is a container
format, not a codec, and most AVIs use MPEG (in my experience) for video
codec.


Thanks for the info. I had not realized MPlayer does that. Josh Tolbert 
also made the same suggestion. I shall pursue figuring out how it's done.

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


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Glyn Millington
Boris Samorodov <[EMAIL PROTECTED]> writes:

> On Tue, 13 May 2008 19:16:51 +0100 Glyn Millington wrote:
>
>> > % echo ${LD_LIBRARY_PATH}
>> /usr/local/lib:/usr/local/share/squeak/3.7-7
>
> The culprit is the first path. It results in non-standard linux
> path-finding. If you remove it all _linux_ troubles should go away.
> I said "linux" since assume that there was a reason why you has
> that path at the first place.


There was indeed - but thank you very much!I should have spotted
this one myself :-( but forgot it was there (an old entry I should have
removed.)



atb






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


accessing iostat -x %b with a scripting language

2008-05-13 Thread Iv Ray
Is there a standard way to access, with a scripting language (php, perl, 
etc.) the output of -


iostat -x

I am particularly interested in the %b column (HDD utilization).

I am not sure if reading the output and regex-ing the Nth column is the 
right approach, or there is a more intelligent one.


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


Re: Converting AVI and MPEG Into Still Images

2008-05-13 Thread Chad Perrin
On Tue, May 13, 2008 at 07:22:17PM +, D Hill wrote:
> On Tue, 13 May 2008 at 13:12 -0600, [EMAIL PROTECTED] confabulated:
> 
> >On Tue, May 13, 2008 at 06:31:53PM +, D Hill wrote:
> >>
> >>Is there anything in the ports tree I can use to convert AVI and/or MPEG
> >>videos into individual frames as jpg or a different still graphic format?
> >
> >MPlayer should be able to do that.  By the way, AVI is a container
> >format, not a codec, and most AVIs use MPEG (in my experience) for video
> >codec.
> 
> Thanks for the info. I had not realized MPlayer does that. Josh Tolbert 
> also made the same suggestion. I shall pursue figuring out how it's done.

There are at least two frame capture options for MPlayer that can be
activated during playback -- I've gotten "screenshots" from video in the
past in this manner, using the option that grabs many frame captures over
a short period of time so that I could pick from among several to get the
best image.  There may be other ways to do the same, or something
similar.

If I remember correctly, using the -vf option when you start MPlayer
allows you to grab screenshots with the s (for single) or S (for constant
frame capture) keyboard commands while it's running.  I don't know what
the GMPlayer interface offers for the same functionality -- never use the
thing.

Best o' luck.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Dr. Ron Paul: "Liberty has meaning only if we still believe in it when
terrible things happen and a false government security blanket beckons."


pgpGKoLn7moPE.pgp
Description: PGP signature


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Tijl Coosemans
On Tuesday 13 May 2008 19:27:19 Glyn Millington wrote:
> Tijl Coosemans <[EMAIL PROTECTED]> writes:
>> On Tuesday 13 May 2008 17:49:02 Glyn Millington wrote:
>>> [EMAIL PROTECTED]:~$ /usr/compat/linux/bin/sh realplay
>>> 
>>> /usr/local/lib/RealPlayer/realplay.bin: error while loading shared
>>> libraries: /usr/local/lib/libgdk-x11-2.0.so.0: ELF file OS ABI invalid
>>> 
>>> 
>>> I'll bet it wants this one :-)
>>> 
>>> /usr/compat/linux/usr/lib/libgdk-x11-2.0.so.0
>>> 
>>> 
>>> and of course I have just linked /usr/compat/linux/usr/local to X11R6
>>
>> That's suspicious, realplayer just works for me. Do you have some LD_*
>> variable defined in your environment?
> 
> Ah! (bangs head against wall!)   Yes I do:-
> 
> in ~/.bashrc  
> 
> LD_LIBRARY_PATH="/usr/local/lib:/usr/local/share/squeak/3.7-7"
> 
> Having removed that realplayer comes up with no problem.
> 
> Should have spotted that one :-( 
> 
> So many thanks for solving both my problems today!  

:) Your welcome. Does OpenOffice actually still need that symlink now?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Glyn Millington
Tijl Coosemans <[EMAIL PROTECTED]> writes:

>> Ah! (bangs head against wall!)   Yes I do:-
>> 
>> in ~/.bashrc  
>> 
>> LD_LIBRARY_PATH="/usr/local/lib:/usr/local/share/squeak/3.7-7"
>> 
>> Having removed that realplayer comes up with no problem.
>> 
>> Should have spotted that one :-( 
>> 
>> So many thanks for solving both my problems today!  
>
> :) Your welcome. Does OpenOffice actually still need that symlink now?

Will check that one later - must finish what I'm working on with OO
first!  

Many thanks again, and sorry to have bothered the list with this!


atb 






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


Re: Converting AVI and MPEG Into Still Images

2008-05-13 Thread Derek Ragona

At 01:31 PM 5/13/2008, D Hill wrote:

Is there anything in the ports tree I can use to convert AVI and/or MPEG 
videos into individual frames as jpg or a different still graphic format?


-d


videolan offers the ability to do screen caps.  videolan is cross platform, 
so you can run it on most OS's.


http://www.videolan.org/

-Derek


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

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


Re: Converting AVI and MPEG Into Still Images

2008-05-13 Thread D Hill

On Tue, 13 May 2008 at 13:33 -0600, [EMAIL PROTECTED] confabulated:


On Tue, May 13, 2008 at 07:22:17PM +, D Hill wrote:

On Tue, 13 May 2008 at 13:12 -0600, [EMAIL PROTECTED] confabulated:


On Tue, May 13, 2008 at 06:31:53PM +, D Hill wrote:


Is there anything in the ports tree I can use to convert AVI and/or MPEG
videos into individual frames as jpg or a different still graphic format?


MPlayer should be able to do that.  By the way, AVI is a container
format, not a codec, and most AVIs use MPEG (in my experience) for video
codec.


Thanks for the info. I had not realized MPlayer does that. Josh Tolbert
also made the same suggestion. I shall pursue figuring out how it's done.


There are at least two frame capture options for MPlayer that can be
activated during playback -- I've gotten "screenshots" from video in the
past in this manner, using the option that grabs many frame captures over
a short period of time so that I could pick from among several to get the
best image.  There may be other ways to do the same, or something
similar.

If I remember correctly, using the -vf option when you start MPlayer
allows you to grab screenshots with the s (for single) or S (for constant
frame capture) keyboard commands while it's running.  I don't know what
the GMPlayer interface offers for the same functionality -- never use the
thing.


Thanks for the tip. I did some Google searching and am actually doing it 
right from a terminal now:


  For the entire AVI:
  mplayer -vo jpeg -nosound my_avi.avi

  Starting from a specific spot:
  mplayer -vo jpeg -ss 00:15:00 -nosound my_avi.avi

  Starting from a specific spot for a number of frames:
  mplayer -frames 150 -vo jpeg -ss 00:15:00 -nosound my_avi.avi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: accessing iostat -x %b with a scripting language

2008-05-13 Thread Johan Dowdy



What do you mean by "access"?

A simple way to get the output would be(presuming the 8th column has the
data you want):
iostat -x | awk '{ print $8 }'
This could be redirected to a file or processed ins a shell script etc.

What is it that you want to "do' with the output?

-J



On 5/13/08 12:22 PM, "Iv Ray" <[EMAIL PROTECTED]> wrote:

> Is there a standard way to access, with a scripting language (php, perl,
> etc.) the output of -
> 
> iostat -x
> 
> I am particularly interested in the %b column (HDD utilization).
> 
> I am not sure if reading the output and regex-ing the Nth column is the
> right approach, or there is a more intelligent one.
> 
> Iv
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 
Johan Dowdy - CISSP
Senior Systems Administrator
nCircle Network Security
 
415.318.2880

"Any sufficiently advanced technology is indistinguishable from magic."
-- Arthur C. Clarke

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


Re: rsync'able ports tree instead of csup?

2008-05-13 Thread Joachim Rosenfeld
On Tue, May 13, 2008 at 1:46 PM, Derek Buttineau <[EMAIL PROTECTED]> wrote:
> Have you tried using portsnap?  It's a binary snapshot of the ports tree:
> http://www.freebsd.org/doc/en/books/handbook/portsnap.html

Awesome, this is exactly what I was looking for.

I don't suppose there is something analagous to portsnap for the
source tree? It doesn't matter all that much because I don't update
/usr/src all that open, so running csup(1) when a new version comes
out is not a terribly big pain.

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


SRCSAS144e raid controller

2008-05-13 Thread Aaron Holmes
Is the Intel SRCSAS144e RAID controller supported by FreeBSD? Or are 
there any "hacks" to get it working?

A quick google didn't reveal very much.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Unexepcted behavior from read and cat

2008-05-13 Thread Jonathan McKeown
[respecting Time's arrow]

On Tuesday 13 May 2008 20:55, Johan Dowdy wrote:
>
> On 5/12/08 1:55 PM, "RW" <[EMAIL PROTECTED]> wrote:
> >
> > cat iplist | xargs -n1 dig +short -x
>
> I think this one wins for brevity.

It can be made shorter:

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


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Glyn Millington
Glyn Millington <[EMAIL PROTECTED]> writes:

>
> Sorry Kris, I was in part plain wrong in my first reply to this one.
>
> Linking /compat/linux/usr/X11R6 to /compat/linux/usr/local fixed my
> initial problem
>
>
>> | /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin:
>> | error while loading shared libraries:
>> | /usr/local/lib/libXext.so.6: ELF file OS ABI invalid
>
> What I still don't get is why ldconfig doesn't find the the X11R6
> directory, when /compat/linux/etc/ld.so.conf point at it
>
>
> include ld.so.conf.d/*.conf
> /lib
> /usr/lib
> /usr/local/lib
>
> it seems to be ignoring the first line.
>
> Either there is a real problem here or the real problem is my ignorance,
> and I'm not sure which it is!


It was my ignorance plus an entry in ~/.bashrc about which I had totally
forgotten.   Apologies all round I'm afraid 

Many thanks - 

atb



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


Re: RE-upgraded and have a few problems.

2008-05-13 Thread Chris Hill

On Tue, 13 May 2008, Wojciech Puchar wrote:


that the card requires. You can

# kldload sound.ko



are you sure what you say.

kldload sound.ko loads common sound drivers code, not all modules


OK, I sit corrected. I thought it loaded all of them.


kldload /boot/kernel/snd_* would do what you've said

after this - look at logs what module actually fit, and then add

snd__load="YES"

to /boot/loader.conf to have it loaded every boot.


Exactly.

These seem like issues with X and/or KDE. Are you able to run some other 
window manager, e.g. twm?


icewm is very good for those who like somehow windows looking, but only 
somehow and only looking, it works very fast and very well :)


I suggested twm because it "comes with" X, and it's a quick and easy 
test of the xserver - trying to separate X issues from KDE issues.


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


portupgrade question

2008-05-13 Thread AN

I installed openoffice 2.4.0 from ports with:
make -DWITHOUT_MOZILLA install clean

Now, when I do a portupgrade it tries to install mozilla:

To build OOo, you should have a lot
of free diskspace (~ 11GB) and memory (~ 2GB).
If you want SDK and/or solver, please type make sdk and/or make solver
=> mozilla-source-1.7.5.tar.gz doesn't seem to exist in
/usr/ports/distfiles/openoffice.org2.
=> Attempting to fetch from
http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.5/source/.
mozilla-source-1.7.5.tar.gz 0% of   36 MB  108 kBps^C
fetch: transfer interrupted

How do I portupgrade openoffice and get it to use the -DWITHOUT_MOZILLA
option from the command line? What is the correct way to do this?

TIA



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


Troubleshooting Qlogic isp Panic

2008-05-13 Thread Greg Himes


Hello All,

Last week, one half of my dual port Qlogic fibre channel interface
started causing a page fault panic while probing the second port at  
boot time.

I was able to get the system back up by disabling the BIOS on the
second port.  The system still sees the 2nd port, but politely
displays a few errors, then continues on.

This all started after I powered the system down for maintenance.
System is running FreeBSD 6.3-RELEASE i386

What is the proper way to help debug this problem?

Listed below is the current dmesg.boot info:

FreeBSD 6.3-RELEASE #6: Fri Feb 29 19:39:26 PST 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/LAACO
module_register: module pci/bce already exists!
Module pci/bce failed to register: 17
module_register: module bce/miibus already exists!
Module bce/miibus failed to register: 17
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(R) CPU5160  @ 3.00GHz (3000.12-MHz 686- 
class CPU)

  Origin = "GenuineIntel"  Id = 0x6f6  Stepping = 6
   
Features=0xbfebfbff,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
   
Features2=0x4e3bd,DCA>

  AMD Features=0x2000
  AMD Features2=0x1
  Cores per package: 2
real memory  = 3487916032 (3326 MB)
avail memory = 3409035264 (3251 MB)
ACPI APIC Table: 
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  6
 cpu3 (AP): APIC ID:  7
ioapic0  irqs 0-23 on motherboard
...
isp0:  port 0x5000-0x50ff mem  
0xfdff-0xfd

ff3fff irq 19 at device 0.0 on pci19
isp0: [GIANT-LOCKED]
isp0: Board Type 2422, Chip Revision 0x2, resident F/W Revision 4.0.70
isp1:  port 0x5400-0x54ff mem  
0xfdfe-0xfd

fe3fff irq 16 at device 0.1 on pci19
isp1: [GIANT-LOCKED]
isp1: Polled Mailbox Command (0x8) Timeout (10us)
isp1: Polled Mailbox Command (0x8) Timeout (10us)
isp1: Mailbox Command 'ABOUT FIRMWARE' failed (TIMEOUT)
device_attach: isp1 attach returned 6


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


portupgrade question

2008-05-13 Thread AN

I installed openoffice 2.4.0 from ports with:
make -DWITHOUT_MOZILLA install clean

Now, when I do a portupgrade it tries to install mozilla:

To build OOo, you should have a lot
of free diskspace (~ 11GB) and memory (~ 2GB).
If you want SDK and/or solver, please type make sdk and/or make solver
=> mozilla-source-1.7.5.tar.gz doesn't seem to exist in 
/usr/ports/distfiles/openoffice.org2.
=> Attempting to fetch from 
http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.5/source/.

mozilla-source-1.7.5.tar.gz 0% of   36 MB  108 kBps^C
fetch: transfer interrupted

How do I portupgrade openoffice and get it to use the -DWITHOUT_MOZILLA 
option from the command line? What is the correct way to do this?


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


Firefox and Thunderbird annoyance in TWM

2008-05-13 Thread John Wynstra
I have FreeBSD 7.0 running on a PC at home which was formerly running 
Windows XP until I couldn't stand it anymore.  I had both of the latest 
Thunderbird and Firefox installed on it as my mail application and web 
browser.  Unfortunately I am unemployed so I was in the habit of using 
Dice via Thunderbird which when I double clicked the job advertisements 
would bring up the appropriate Firefox window auto magically.  This is 
now broken.  I don't know why but it is annoying.  I thought it might be 
the pointer follows mouse focus policy but I was wrong.  That is the 
default focus policy under my window manager (twm).  BTW I had thought I 
was running fvwm instead of twm but evidently I was wrong in selecting 
the location of one of the initialization files.  I use startx to start 
X11.  An odd thing is that if I double click within Firefox as for 
instance when I am managing my bookmarks file it will raise the screen 
selected.  It is only when I double click from Thunderbird that this is 
broken.  Once in a while an odd thing like when moving the mouse over 
one window will raise another in addition to changing focus.  Another 
annoyance.


-- John <[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: rsync'able ports tree instead of csup?

2008-05-13 Thread RW
On Tue, 13 May 2008 13:27:05 -0400
"Joachim Rosenfeld" <[EMAIL PROTECTED]> wrote:

> My usual workflow with the ports tree (and to a lesser
> extent, /usr/src) goes something like this:
> 
> 1. download ports/src tree from cdrom/ftp site (usually done once)
> 
> 2. use csup to update to HEAD
> 
> 3. build

As I understand it, it's advisable  do an initial csup to the exact
version in the snapshot, before doing the csup to the latest
version. If you skip this then csup wont delete files removed
between the snapshot and the current tree. If you are unlucky that
could lead to persistent problems that are hard to diagnose.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


libavcodec miscompiled - running very slow

2008-05-13 Thread Da Rock
I installed gmencoder on 6.3 recently (and yes, given that I recently
posted all my ports are up to date), but when I run it to encode a movie
it comes back on the 2nd pass and says that libavcodec was miscompiled
and will be slow (sure is- runs forever getting nowhere).

It did recommend compiling on gcc>=4.2, so I installed gcc42 (tried 4.4
and 4.3, but hit issues which I wasn't prepared to overcome especially
after a quick search online) and symlinked it to the /usr/bin (renamed
the old gcc). But after reinstalling gmencoder, mencoder, and mplayer I
still had no success.

Any ideas on how to fix this? If I run gcc -dumpversion it comes back
with 4.2.4, and searching online I found that ports uses the $path to
find gcc, so I'm kinda at a loss here.

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


problem on pf @ freebsd 7.0

2008-05-13 Thread CyberSans AirBort
hello there. sorry if this similar question been asked before in this forum.

my problem is, i install freebsd 7.0 and after that compile the kernel to
enable pf (using the same method like freebsd's handbook said):

device pf
device pflog
device pfsync

options ALTQ
options ALTQ_CBQ
options ALTQ_RED
options ALTQ_RIO
options ALTQ_HFSC
options ALTQ_CDNR
options ALTQ_PRIQ
options ALTQ_NOPCC

and i put everything inside /etc/rc.conf

pf_enable="YES"
pf_rules="/etc/pf.conf"
pf_flags=""
pflog_enable="YES"
pflog_logfile="/var/log/pflog"
pflog_flags=""

and guess what? pf is not loading when startup. i have to manually restarted
the pf using /etc/rc.d/pf restart

is that a bug? i never have this kind of problem when using version 5.* or
6.*
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portupgrade question

2008-05-13 Thread Jonathan Chen
On Tue, May 13, 2008 at 11:05:02PM +, AN wrote:
> I installed openoffice 2.4.0 from ports with:
> make -DWITHOUT_MOZILLA install clean
> 
> Now, when I do a portupgrade it tries to install mozilla:
> 
> To build OOo, you should have a lot
> of free diskspace (~ 11GB) and memory (~ 2GB).
> If you want SDK and/or solver, please type make sdk and/or make solver
> => mozilla-source-1.7.5.tar.gz doesn't seem to exist in
> /usr/ports/distfiles/openoffice.org2.
> => Attempting to fetch from
> http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.5/source/.
> mozilla-source-1.7.5.tar.gz 0% of   36 MB  108 kBps^C
> fetch: transfer interrupted
> 
> How do I portupgrade openoffice and get it to use the -DWITHOUT_MOZILLA
> option from the command line? What is the correct way to do this?

The way I prefer to do it is to install ports-mgmt/portconf, and then
have an entry in /usr/local/etc/ports.conf of:

  editors/openoffice.org-*: WITHOUT_MOZILLA

portconf will ensure that the WITHOUT_MOZILLA flag is passed to make(1)
when you do a manual port install, or through portupgrade, or through
portmaster.

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
Don't worry about avoiding temptation,
as you grow older, it starts avoiding you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


major CD errors when installing 7.0 (only 7.0)!

2008-05-13 Thread Joachim Rosenfeld
I decided to upgrade my PC at home to FreeBSD 7.0, I've been running
it at work and on my work laptop with no problems.

But when I installed via the 7.0 disk 1, I received CD errors when I
got to the point where it started copying the base distribution off
the disk.

When I booted off the same CD again, I saw something similar to the following:

acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=... ascq=...

At first I assumed that it was my CD ROM drive (which has never given
any problems) or a bad  CD, so I burned a FreeBSD 7.0 LiveDisk and
tried that, same thing. I burned 7.0-bootonly from a different
machine, and I got the same problem.


The odd thing is that my 6.1 and 6.3 bootdisks don't have this error
on startup  (I confirmed that it is an issue on 7.0 by burning a brand
new 6.3 disk and was able to install successfully).

Clearly 7.0 causes something to barf on my CDROM drive.

A web search for this error shows various people have had this problem
on 4.6, 5.3, etc.

Can anyone help?

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


Re: Compiling in Debugging Flags

2008-05-13 Thread Norberto Meijome
On Tue, 13 May 2008 09:00:46 -0700 (PDT)
Chris Maness <[EMAIL PROTECTED]> wrote:

> Maybe it is conflicting with other extensions.  I have:
> 
> extension=pcre.so
> extension=calendar.so
> extension=ldap.so
> extension=gettext.so
> extension=xml.so
> extension=mbstring.so
> extension=openssl.so
> extension=mysql.so
> extension=session.so
> #extension=mhash.so

i wouldn't know.

> Installed (I tried rearranging too)
> 
> Are you loading php as a module?

yes. 
have u tried running apache in debug mode (there is a param to tell it to spawn 
only 1 thread) and attach , at least, ktrace to it ? or a full debugger.

sorry i can't be of more help atm... 

b
_
{Beto|Norberto|Numard} Meijome

It is better to remain silent and be thought a fool, than to speak, and remove 
all doubt.

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portupgrade question

2008-05-13 Thread Fraser Tweedale

AN wrote:

I installed openoffice 2.4.0 from ports with:
make -DWITHOUT_MOZILLA install clean

Now, when I do a portupgrade it tries to install mozilla:

To build OOo, you should have a lot
of free diskspace (~ 11GB) and memory (~ 2GB).
If you want SDK and/or solver, please type make sdk and/or make solver
=> mozilla-source-1.7.5.tar.gz doesn't seem to exist in 
/usr/ports/distfiles/openoffice.org2.
=> Attempting to fetch from 
http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.5/source/. 


mozilla-source-1.7.5.tar.gz 0% of   36 MB  108 kBps^C
fetch: transfer interrupted

How do I portupgrade openoffice and get it to use the -DWITHOUT_MOZILLA 
option from the command line? What is the correct way to do this?


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


Set the following in /usr/local/etc/pkgtools.conf:

MAKE_ARGS = {
'editors/openoffice.org-2' => 'WITHOUT_MOZILLA=1',
}

frase



signature.asc
Description: OpenPGP digital signature


Re: portupgrade question

2008-05-13 Thread Jeremy Messenger

On Tue, 13 May 2008 17:54:15 -0500, AN <[EMAIL PROTECTED]> wrote:


I installed openoffice 2.4.0 from ports with:
make -DWITHOUT_MOZILLA install clean

Now, when I do a portupgrade it tries to install mozilla:

To build OOo, you should have a lot
of free diskspace (~ 11GB) and memory (~ 2GB).
If you want SDK and/or solver, please type make sdk and/or make solver
=> mozilla-source-1.7.5.tar.gz doesn't seem to exist in  
/usr/ports/distfiles/openoffice.org2.
=> Attempting to fetch from  
http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.5/source/.

mozilla-source-1.7.5.tar.gz 0% of   36 MB  108 kBps^C
fetch: transfer interrupted

How do I portupgrade openoffice and get it to use the -DWITHOUT_MOZILLA  
option from the command line? What is the correct way to do this?


The portupgrade(1) is your best friend. ;-)

# man portupgrade

Cheers,
Mezz


TIA



--
[EMAIL PROTECTED]  -  [EMAIL PROTECTED]
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/  -  [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: portupgrade question

2008-05-13 Thread Sahil Tandon
* AN <[EMAIL PROTECTED]> [05-13-2008]:

> How do I portupgrade openoffice and get it to use the -DWITHOUT_MOZILLA
> option from the command line? What is the correct way to do this?

Look for references to MAKE_ARGS in $PREFIX/etc/pkgtools.conf.

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


interrobang and other fun characters

2008-05-13 Thread Chad Perrin
I'm looking for an easier way to insert interrobangs and other non-ASCII
characters (em-dashes, et cetera) into text on my FreeBSD laptop than by
way of copy/paste.  Any recommendations?  A hunt-and-select clicky GUI
probably wouldn't be any better than just copy/paste, but something like
holding down Alt while typing 8253 might be an improvement.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Rudy Giuliani: "You have free speech so I can be heard."


pgp1CdZ4Six43.pgp
Description: PGP signature


Re: interrobang and other fun characters

2008-05-13 Thread nepbabu
  On Tuesday, 13 May 2008 at 22:25:37 -0600, Chad Perrin wrote:
  : I'm looking for an easier way to insert interrobangs and other non-ASCII
  : characters (em-dashes, et cetera) into text on my FreeBSD laptop than by
  : way of copy/paste.  Any recommendations?  A hunt-and-select clicky GUI
  : probably wouldn't be any better than just copy/paste, but something like
  : holding down Alt while typing 8253 might be an improvement.

Like ✌? or like ね? or like ㄘ? How about 蒓? I just used KCharSelect. 
It's listed under ports[1]. I have no idea what tools exist out there that 
allows you to do that using certain keybindings though.

[1] http://www.freebsdports.info/ports/misc/kdeutils3.html
 
Cheers,
Bikal KC (Please use: nepbababucxspamfree_at_yahoo DOT ca)
Journal: http://nepbabu.livejournal.com || pubkey: see header
"Rule 6: There is no Rule 6." - Rob Pike
"Those who can make you believe absurdities, can make you commit atrocities." - 
François-Marie Arouet


pgpxrS4DaL3RC.pgp
Description: PGP signature


Re: rsync'able ports tree instead of csup?

2008-05-13 Thread Matthew Seaman

Joachim Rosenfeld wrote:

On Tue, May 13, 2008 at 1:46 PM, Derek Buttineau <[EMAIL PROTECTED]> wrote:

Have you tried using portsnap?  It's a binary snapshot of the ports tree:
http://www.freebsd.org/doc/en/books/handbook/portsnap.html


Awesome, this is exactly what I was looking for.

I don't suppose there is something analagous to portsnap for the
source tree? It doesn't matter all that much because I don't update
/usr/src all that open, so running csup(1) when a new version comes
out is not a terribly big pain.


freebsd-update.  Comes with the system, is by the same person who wrote
portsnap.

However, it defaults to doing binary updates of the installed system. 
You need to tweak the config file if all you want are the system sources.


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



signature.asc
Description: OpenPGP digital signature