net/vnc fails to build vnc.so on 8.1 Prerelease amd64

2010-06-16 Thread Mark Stapper
Hi,

I want to be able to run a vnc server to share my real X-session.
I use kdm.
I've been trying to build vnc with vnc.so module.
However, it fails to build this file.
Any idea on how to resolve this?
Outputs:
FreeBSD mario 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #2: Tue Jun  1
10:09:28 CEST 2010 st...@mario:/usr/obj/usr/src/sys/mario  amd64

c++ -o vnc.so -Bshareable -R /usr/local/lib  vncExtInit.o vncHooks.o
xf86vncModule.o XserverDesktop.o
../../../../../../common/rfb/librfb.a   
../../../../../../common/Xregion/libXregion.a   
../../../../../../common/network/libnetwork.a   
../../../../../../common/rdr/librdr.a
/usr/lib/crt1.o(.text+0x88): In function `_start':
: undefined reference to `main'
vncExtInit.o(.text+0x33d): In function
`ProcVncExtGetClientCutText(_Client*)':
: undefined reference to `WriteToClient'
vncExtInit.o(.text+0x357): In function
`ProcVncExtGetClientCutText(_Client*)':
: undefined reference to `WriteToClient'
vncExtInit.o(.text+0x469): In function `vncQueryConnect(XserverDesktop*,
void*)':
: undefined reference to `WriteToClient'
vncExtInit.o(.text+0x4ab): In function `vncQueryConnect(XserverDesktop*,
void*)':
: undefined reference to `TimerSet'
vncExtInit.o(.text+0x4d8): In function `vncQueryConnect(XserverDesktop*,
void*)':
: undefined reference to `TimerCancel'
vncExtInit.o(.text+0x575): In function `ProcVncExtApproveConnect(_Client*)':
: undefined reference to `screenInfo'
vncExtInit.o(.text+0x5b1): In function `ProcVncExtApproveConnect(_Client*)':
: undefined reference to `screenInfo'
vncExtInit.o(.text+0x6a6): In function `vncClientCutText(char const*, int)':
: undefined reference to `GetTimeInMillis'
vncExtInit.o(.text+0x720): In function `vncClientCutText(char const*, int)':
: undefined reference to `WriteToClient'




signature.asc
Description: OpenPGP digital signature


Re: concerning flash under freebsd

2010-06-16 Thread Jerry
On Wed, 16 Jun 2010 00:32:21 +0200
Samuel Martín Moro faus...@gmail.com articulated:

 Their last Linux release only exists for x86.
 Two ArchLinux mailinglists are advising users about uninstalling
 Flash from our systems.
 
 Flash is hardly working on BSD. And often bug on Linux.
 
 I spent one month, for my work, trying to correct a few of those
 crashes (we provide FreeBSD servers, our administrative intranet uses
 Flash sockets). Well, nspluginwrapper source is a complete mindfuck.
 Just wait for newer releases, and check if what you need works.
 
 For now, HTML5 is about to replace it, spreading on YoutubeCo., and
 we still did not knew a working version of Flash under Linux.
 The day Adobe would provide compatible softwares, they may speak about
 supporting Linux/Solaris...
 Until that, the cleanest way to proceed, is to setup a Windows VM...

FreeBSD in general suffers from a multiple of problems when it comes to
Internet usage. Flash support, as noted, sucks. JAVA doesn't even exist
for the latest versions of Firefox. Getting sound to work properly and
consistently with web browsers can be a nightmare in itself. PDF is not
consistent between browsers and usually requires way to much effort to
get installed. If the past is any indication, when HTML5 becomes a
reality, something that some experts claim may not be for another 10
years, FreeBSD may not even support it for some archaic reason.

Until FreeBSD can overcome these obstacles, anyone who requires access
to all the available features found on web sites really needs to keep
another PC handy running, in most cases anyway, Microsoft. Like it or
not, their web browser, and some other browsers ported to their
architecture, outperform web browsers on other OSs in total
functionality.

Undoubtedly, posters will be blaming everyone else for these misgivings;
when in reality, to find the source of a problem one needs usually only
look in a mirror.

-- 
Jerry ✌
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

Detroit is Cleveland without the glitter.


signature.asc
Description: PGP signature


Re: Burning CDs on FreeBSD 7.2

2010-06-16 Thread Mark Terribile

Thanks to Jerrymc and Polyoptron.  Things are working, sort of.  I'm using the 
atapicam/cdrecord solution.  But when I do a dd read to verify the write, the 
read ends on an I/O error rather than an EOF.  (I'm not sure that this problem 
is new.)  There is a very long delay between dd's report and the program end 
(delay on close?)  And sometimes the eject command after the dd locks up and 
eventually fails.  There are plenty of console messages, including READ_BIG 
retrying, READ_BIG timed out, TEST_UNIT_READY freeing zombie taskqueue request, 
and PREVENT_ALLOW taskqueue timeout - compiing request directly .  This is 
definitely NOT reliable enough to put into a script (which would make handling 
the many file names more reliable).

cdrecord reports
---
scsidev: '4,0,0'
scsibus: 4 target: 0 lun: 0
SCSI buffer size: 64512
cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support code.
cdrecord: If you need DVD-R/DVD-RW support, ask the Author for cdrecord-ProDVD.
cdrecord: Free test versions and free keys for personal use are at 
ftp://ftp.berlios.de/pub/cdrecord/ProDVD/
Cdrecord-Clone 2.01 (i386-unknown-freebsd7.2) Copyright (C) 1995-2004 Jörg 
Schilling
TOC Type: 1 = CD-ROM
Using libscg version 'schily-0.8'.
atapi: 0
Device type: Removable CD-ROM
Version: 0
Response Format: 2
Capabilities   : 
Vendor_info: 'ATAPI   '
Identifikation : 'DVD A  DH20A4H  '
Revision   : 'QP53'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0009
Profile: 0x002B 
Profile: 0x001B 
Profile: 0x001A 
Profile: 0x0016 
Profile: 0x0015 
Profile: 0x0014 
Profile: 0x0013 
Profile: 0x0012 
Profile: 0x0011 
Profile: 0x0010 
Profile: 0x000A 
Profile: 0x0009 (current)
Profile: 0x0008 
Profile: 0x0002 
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE FORCESPEED 
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 988416 = 965 KB
FIFO size  : 4194304 = 4096 KB
Track 01: data99 MB
Total size:  113 MB (11:16.29) = 50722 sectors
Lout start:  114 MB (11:18/22) = 50722 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 4
  Is not unrestricted
  Is not erasable
  Disk sub type: Medium Type C, low Beta category (C-) (6)
  ATIP start of lead in:  -11567 (97:27/58)
  ATIP start of lead out: 359849 (79:59/74)
Disk type:Short strategy type (Phthalocyanine or similar)
Manuf. index: 12
Manufacturer: Mitsui Chemicals, Inc.
Blocks total: 359849 Blocks current: 359849 Blocks remaining: 309127
Forcespeed is OFF.
Starting to write CD/DVD at speed 48 in real TAO mode for single session.
Last chance to quit, starting real write in 9 seconds.   8 
seconds.   7 seconds.   6 seconds.   5 
seconds.   4 seconds.   3 seconds.   2 
seconds.   1 seconds.   0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
BURN-Free is OFF.
Performing OPC...
Starting new track at sector: 0

Track 01:0 of   99 MB written.
Track 01:1 of   99 MB written (fifo 100%) [buf  98%]   2.7x.
Track 01:2 of   99 MB written (fifo 100%) [buf  98%]  21.3x.
Track 01:3 of   99 MB written (fifo 100%) [buf  99%]  22.1x.
Track 01:4 of   99 MB written (fifo 100%) [buf  99%]  21.5x.
Track 01:5 of   99 MB written (fifo 100%) [buf  98%]  22.3x.
Track 01:6 of   99 MB written (fifo 100%) [buf  98%]  21.7x.
Track 01:7 of   99 MB written (fifo 100%) [buf  98%]  22.5x.
Track 01:8 of   99 MB written (fifo  98%) [buf  98%]  21.9x.
Track 01:9 of   99 MB written (fifo 100%) [buf  99%]  22.6x.
Track 01:   10 of   99 MB written (fifo 100%) [buf  99%]  22.0x.
Track 01:   11 of   99 MB written (fifo 100%) [buf  90%]  21.6x.
Track 01:   12 of   99 MB written (fifo 100%) [buf  98%]  23.5x.
Track 01:   13 of   99 MB written (fifo 100%) [buf  98%]  23.0x.
Track 01:   14 of   99 MB written (fifo 100%) [buf  98%]  22.3x.
Track 01:   15 of   99 MB written (fifo  98%) [buf  99%]  23.1x.
Track 01:   16 of   99 MB written (fifo 100%) [buf  99%]  22.5x.
Track 01:   17 of   99 MB written (fifo 100%) [buf  98%]  23.2x.
Track 01:   18 of   99 MB written (fifo 100%) [buf  98%]  22.6x.
Track 01:   19 of   99 MB written (fifo  98%) [buf  98%]  23.3x.
Track 01:   20 of   99 MB written (fifo 100%) [buf  98%]  22.6x.
Track 01:   21 of   99 MB written (fifo 100%) [buf  98%]  23.4x.
Track 01:   22 of   99 MB written (fifo 100%) [buf  98%]  22.7x.
Track 01:   23 of   99 MB written (fifo 100%) [buf  98%]  23.4x.
Track 01:   24 of   99 MB written (fifo 100%) [buf  98%]  22.8x.
Track 01:   25 of   99 MB written (fifo 100%) [buf  99%]  23.5x.
Track 01:   26 of   99 MB written (fifo 100%) [buf  99%]  22.8x.
Track 01:   27 of   99 MB written (fifo 100%) [buf  98%]  23.6x.
Track 01:   28 of   99 MB written (fifo  98%) [buf  

.sh and sed

2010-06-16 Thread Aiza

Trying to use sed to remove the path from the file name.
Variable has complete path plus the file name
/usr/local/etc/filename
Need variable containing only the file name.
Is the sed utility the best thing to use?
Is there some other utility better suited for this task.
How would sed by coded to do this?

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


Re: .sh and sed

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

On 16/06/2010 12:16:06, Aiza wrote:
 Trying to use sed to remove the path from the file name.
 Variable has complete path plus the file name
 /usr/local/etc/filename
 Need variable containing only the file name.
 Is the sed utility the best thing to use?
 Is there some other utility better suited for this task.
 How would sed by coded to do this?

sh(1) can do this alone, without recourse to any external programs.

path='/usr/local/etc/filename'
fname=${path##*/}
echo $fname

There is also an external program basename(1)

The same trick with sed(1):

fname=$( echo $path | sed -e 's,^.*/,,' )

but the built-in prefix matching stuff is preferable since it is more
efficient.

Cheers,

Matthew

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

iEYEARECAAYFAkwYuBMACgkQ8Mjk52CukIxF2QCcDqIpSGa98Wrp6dD+ii1FGJ5q
p4oAn2NJxqIksx9iS0QSzT8Ypme6wwE4
=aFrN
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: RESOLVED: Problem upgrading ports - libintl.so.8 not found

2010-06-16 Thread C. P. Ghost
On Wed, Jun 16, 2010 at 12:41 AM, Scott Schappell arc...@silvertree.org wrote:
 After digging through /usr/ports/UPDATING, I copied all .so.8 and .so.16 
 libraries to /usr/local/lib and /usr/local/lib/compat/pkg and those ports are 
 now compiling. I'm assuming that's the approved solution until ports are 
 updated?

That's not the best solution. If you copy libintl.so.8 to compat/pkg, that's
okay. If you leave it in /usr/local/lib, some ports may pick it up by mistake
and you'll end up with a mix of ports that link to libintl.so.8 and
libintl.so.9.

-cpghost.

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


compiler flag -Werror

2010-06-16 Thread akash kumar
Hi all,

I am working on building a freebsd kernel for mips. As part of this i built 
cross  tool chain for mips from my host machine(i386).
After that i was building my kernel using make buildkernel KERNCONF=configfile

I noticed that the compiler flags -Werror is invoked  default with my compiler. 
I want to remove this flag because all the warning as taken as errors due to 
which my compilation stops.

Can you please help me how/where to remove this flag. 

Thanks,
Bhanu Prakash.


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


Re: concerning flash under freebsd

2010-06-16 Thread C. P. Ghost
On Wed, Jun 16, 2010 at 12:11 AM, Programmer in Training
p...@joseph-a-nagy-jr.us wrote:
 I will tell Adobe to provide a FreeBSD-native release, though it would be
 nice to know I won't be the only one. I'm actually going right now to do so.

Good luck with that. Adobe doesn't care about FreeBSD. Never did,
and probably never will. They don't even care about 64-bit Linux users...

If you absolutely need Flash on FreeBSD, I'd suggest you install
VirtualBox, and inside VirtualBox a Flash-supported OS, like
OpenSolaris (that's what I do when I absolutely need Flash support).

It's not the cleanest solution, but at least, I don't have to clutter
my FreeBSD system with A LOT of Linux dependencies just to
get a barely working Flash.

-cpghost.

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


(no subject)

2010-06-16 Thread Alexandre L.
Hi,

I want to use Fuse-SSHFS http://www.freshports.org/sysutils/fusefs-sshfs/ but 
the port is old (and it got a Sanity Test Failure).
When I go to the website of the project Fuse 
http://sourceforge.net/projects/fuse/ , there is a more recent version 
fuse-2.8.4.tar.gz and available (?) for FreeBSD.

Is anyone is using Fuse-SSHFS and which version : the one from ports or from 
the project website ?

I haven't found anything on Google.

Thanks.  
Alexandre.




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


Re: RESOLVED: Problem upgrading ports - libintl.so.8 not found

2010-06-16 Thread Alexandre L.
I have encountered the same problem. On FreeBSD forums, I have found the 
solution : 
http://forums.freebsd.org/showthread.php?t=14655
You have to symlink /usr/local/lib/libintl.so.8 to /usr/local/lib/libintl.so.9

--- En date de : Mer 16.6.10, C. P. Ghost cpgh...@cordula.ws a écrit :

 De: C. P. Ghost cpgh...@cordula.ws
 Objet: Re: RESOLVED: Problem upgrading ports - libintl.so.8 not found
 À: Scott Schappell arc...@silvertree.org
 Cc: freebsd-questions@freebsd.org
 Date: Mercredi 16 juin 2010, 12h52
 On Wed, Jun 16, 2010 at 12:41 AM,
 Scott Schappell arc...@silvertree.org
 wrote:
  After digging through /usr/ports/UPDATING, I copied
 all .so.8 and .so.16 libraries to /usr/local/lib and
 /usr/local/lib/compat/pkg and those ports are now compiling.
 I'm assuming that's the approved solution until ports are
 updated?
 
 That's not the best solution. If you copy libintl.so.8 to
 compat/pkg, that's
 okay. If you leave it in /usr/local/lib, some ports may
 pick it up by mistake
 and you'll end up with a mix of ports that link to
 libintl.so.8 and
 libintl.so.9.
 
 -cpghost.
 
 -- 
 Cordula's Web. http://www.cordula.ws/
 ___
 freebsd-questions@freebsd.org
 mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 




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


Install Fuse-SSHFS from ports or from Fuse Website Project ?

2010-06-16 Thread Alexandre L.
Hi,

I want to use Fuse-SSHFS http://www.freshports.org/sysutils/fusefs-sshfs/ but 
the port is old (and it got a Sanity Test Failure).
When I go to the website of the project Fuse 
http://sourceforge.net/projects/fuse/ , there is a more recent version 
fuse-2.8.4.tar.gz and available (?) for FreeBSD.

Is anyone is using Fuse-SSHFS and which version : the one from ports or from 
the project website ?

I haven't found anything on Google.

Thanks.
Alexandre.

nb : excuse-me for my previous message without object.




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


Re: RESOLVED: Problem upgrading ports - libintl.so.8 not found

2010-06-16 Thread Eitan Adler
On Wed, Jun 16, 2010 at 4:11 PM, Alexandre L. axel...@ymail.com wrote:
 I have encountered the same problem. On FreeBSD forums, I have found the 
 solution :
 http://forums.freebsd.org/showthread.php?t=14655
 You have to symlink /usr/local/lib/libintl.so.8 to /usr/local/lib/libintl.so.9

This is a bad idea.
Instead use /etc/libmap.conf or just recompile the ports.





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


Re: * wildcard in.sh script

2010-06-16 Thread Aiza

Polytropon wrote:

On Tue, 15 Jun 2010 09:25:05 -0700, Chip Camden sterl...@camdensoftware.com 
wrote:

As others have mentioned, you need to quote or escape the * in the
command line:

admin cell*


The problem, for explaination purposes, is that the shell you
enter the command will already expand cell* to cell_A, cell_B
and so on. This means that inside your script $1 will be assigned
the first matching entry, $2 would be the second one, $3 a third
one and so on.

To avoid this, you need to directly communicate the * to your
script's parameter $1, which is done by escaping or quoting it.
In this case, $1 will contain a literal * inside the script.

In most cases when scripting, it's useful not to assume such a
complicated command line processing. You better let the shell
do the expansion of *, so your script gets a lot of parameters,
one for each match, and you then continue to process them.

Another option is to just provide a prefix pattern to your
script, and let IT then add the * to expand it internally
within the script (i. e. by the shell that processes the
script). So you won't have to give a * at the command line
of the calling dialog shell.




Since I needed a wildcard character that was not already defined with 
special function that didn't have the be   on the command line, I 
experimented some and found the = sign. It works for me.


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


Re: .sh and sed

2010-06-16 Thread Aiza

Matthew Seaman wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 16/06/2010 12:16:06, Aiza wrote:

Trying to use sed to remove the path from the file name.
Variable has complete path plus the file name
/usr/local/etc/filename
Need variable containing only the file name.
Is the sed utility the best thing to use?
Is there some other utility better suited for this task.
How would sed by coded to do this?


sh(1) can do this alone, without recourse to any external programs.

path='/usr/local/etc/filename'
fname=${path##*/}
echo $fname

There is also an external program basename(1)

The same trick with sed(1):

fname=$( echo $path | sed -e 's,^.*/,,' )

but the built-in prefix matching stuff is preferable since it is more
efficient.

Cheers,

Matthew

- -- 


Thanks for your help.

The fname=${path##*/} solution worked for.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: concerning flash under freebsd

2010-06-16 Thread RW
On Wed, 16 Jun 2010 15:04:00 +0200
C. P. Ghost cpgh...@cordula.ws wrote:

 On Wed, Jun 16, 2010 at 12:11 AM, Programmer in Training
 p...@joseph-a-nagy-jr.us wrote:
  I will tell Adobe to provide a FreeBSD-native release, though it
  would be nice to know I won't be the only one. I'm actually going
  right now to do so.
 
 Good luck with that. Adobe doesn't care about FreeBSD. Never did,
 and probably never will. They don't even care about 64-bit Linux
 users...
 
 If you absolutely need Flash on FreeBSD, I'd suggest you install
 VirtualBox, and inside VirtualBox a Flash-supported OS, like
 OpenSolaris (that's what I do when I absolutely need Flash support).

Windows Flash+Firefox under Wine works for me, I installed it when
FreeBSD Flash was completely broken. I've never gone back because the
inconvenience  of occasionally having to switch browsers, is not as bad
as having flash all the time.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: .sh and sed

2010-06-16 Thread Randy Belk
You could always use basename for this. basename /usr/local/bin/bash
will display bash

On Wed, Jun 16, 2010 at 6:16 AM, Aiza aiz...@comclark.com wrote:
 Trying to use sed to remove the path from the file name.
 Variable has complete path plus the file name
 /usr/local/etc/filename
 Need variable containing only the file name.
 Is the sed utility the best thing to use?
 Is there some other utility better suited for this task.
 How would sed by coded to do this?

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




-- 
- Simplicity is the ultimate sophistication. - Leonardo da Vinci
- Intelligence is not defined by what you know, It's how you USE it.
- People who hate Windows use Linux but people who love UNIX use BSD.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Perl Dumping Core

2010-06-16 Thread Tim Daneliuk
I am running 8.1-PRERELEASE and seeing a half dozen of these a day:



   (perl5.10.1), uid 0: exited on signal 11


Anyone have theories on this?
-- 

Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

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


Re: Perl Dumping Core

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

On 16/06/2010 15:11:15, Tim Daneliuk wrote:
 I am running 8.1-PRERELEASE and seeing a half dozen of these a day:
 
 
 
(perl5.10.1), uid 0: exited on signal 11
 
 
 Anyone have theories on this?

You have a perl process or processes owned by root that are dying due to
segmentation violations.

Unfortunately, we don't do omniscience[*] or clairvoyance or anything
like that, so unless you give us some useful information to work with,
that's literally all we can tell you.

Start by inspecting the output of ps(1) to find likely looking perl
processes.  If you've actually got perl.core files you may be able to
investigate with a debugger and work out what is producing them, but I
wouldn't hold out too much hope of that.

Cheers,

Matthew

[*] well, only occasionally.

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

iEYEARECAAYFAkwY3SsACgkQ8Mjk52CukIzh+gCdHneBlv1k8N786nVsLlFc7jU4
W8IAn2iOOZZvr0GHvj/Iclp2qolaKnvj
=AL0s
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Perl Dumping Core

2010-06-16 Thread Tim Daneliuk
On 6/16/2010 9:18 AM, Matthew Seaman wrote:
 On 16/06/2010 15:11:15, Tim Daneliuk wrote:
 I am running 8.1-PRERELEASE and seeing a half dozen of these a day:
 
 
 
(perl5.10.1), uid 0: exited on signal 11
 
 
 Anyone have theories on this?
 
 You have a perl process or processes owned by root that are dying due to
 segmentation violations.
 
 Unfortunately, we don't do omniscience[*] or clairvoyance or anything
 like that, so unless you give us some useful information to work with,
 that's literally all we can tell you.


'Sorry, I wasn't more specific :)  And I DO expect you do be omniscient
BTW, after all, my users/clients expect ME to be ...


 
 Start by inspecting the output of ps(1) to find likely looking perl
 processes.  If you've actually got perl.core files you may be able to
 investigate with a debugger and work out what is producing them, but I
 wouldn't hold out too much hope of that.
 
   Cheers,
 
   Matthew
 
 [*] well, only occasionally.
 

It seems that the long running perl processes are there in support of
Mailman.  I know it periodically restarts itself but I don't know how
gracefully it shuts down the perl processess ...


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


Re: concerning flash under freebsd

2010-06-16 Thread C. P. Ghost
On Wed, Jun 16, 2010 at 3:53 PM, RW rwmailli...@googlemail.com wrote:
 On Wed, 16 Jun 2010 15:04:00 +0200
 C. P. Ghost cpgh...@cordula.ws wrote:

 On Wed, Jun 16, 2010 at 12:11 AM, Programmer in Training
 p...@joseph-a-nagy-jr.us wrote:
  I will tell Adobe to provide a FreeBSD-native release, though it
  would be nice to know I won't be the only one. I'm actually going
  right now to do so.

 Good luck with that. Adobe doesn't care about FreeBSD. Never did,
 and probably never will. They don't even care about 64-bit Linux
 users...

 If you absolutely need Flash on FreeBSD, I'd suggest you install
 VirtualBox, and inside VirtualBox a Flash-supported OS, like
 OpenSolaris (that's what I do when I absolutely need Flash support).

 Windows Flash+Firefox under Wine works for me, I installed it when
 FreeBSD Flash was completely broken. I've never gone back because the
 inconvenience  of occasionally having to switch browsers, is not as bad
 as having flash all the time.

Ah, good to know. I'm using FreeBSD/amd64, that's why I didn't
think of Wine (IIRC, it's only for i386).

-cpghost.

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


Re: Perl Dumping Core

2010-06-16 Thread C. P. Ghost
On Wed, Jun 16, 2010 at 4:11 PM, Tim Daneliuk tun...@tundraware.com wrote:
 I am running 8.1-PRERELEASE and seeing a half dozen of these a day:

   (perl5.10.1), uid 0: exited on signal 11

 Anyone have theories on this?

If perl doesn't always crash, but only when running certain
programs, it may be that a perl module is the culprit. Try
to locate that module by examining the program that causes
the crash, and recompile the module (likely a broken lib or
dependency).

-cpghost.

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


arp rejecting not working

2010-06-16 Thread budsz
Hello,

I've strange problem in FreeBSD 8.0-STABLE:

root:~# uname -smr
FreeBSD 8.0-STABLE i386

root:~# arp -a | grep pcbill
pcbill.domain.net (192.168.100.100) at 00:1c:f0:63:03:08 on rl0
permanent [ethernet]

root:~# arp -s pcbill.domain.net 00:1c:f0:63:03:08 reject

root:~# ping 192.168.100.100
PING 192.168.100.100 (192.168.100.100): 56 data bytes
64 bytes from 192.168.100.100: icmp_seq=0 ttl=128 time=218.360 ms
64 bytes from 192.168.100.100: icmp_seq=1 ttl=128 time=14.318 ms
^C
--- 192.168.100.100 ping statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 14.318/116.339/218.360/102.021 ms

But on other machine:

root:~# uname -smr
FreeBSD 7.3-STABLE i386

root:~# arp -a | grep mdm-po-02
ip.mdm-po-02.p2m.domain.net (10.2.0.1) at 94:0c:6d:be:9e:1a on rl3
permanent [ethernet]

root:~# arp -s ip.mdm-po-02.p2m.domain.net 94:0c:6d:be:9e:1a reject

root:~# ping 10.2.0.1
PING 10.2.0.1 (10.2.0.1): 56 data bytes
ping: sendto: Host is down
^C
--- 10.2.0.1 ping statistics ---
1 packets transmitted, 0 packets received, 100.0% packet loss

Any change log or something in FreeBSD 8.0-STABLE about arp -s command?

Thanks in advance.

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


Re: Problem upgrading ports - libintl.so.8 not found

2010-06-16 Thread Lokadamus

Am 16.06.2010 01:08, schrieb Scott Schappell:

On Jun 15, 2010, at 3:43 PM, Eitan Adler wrote:

   

20100530:
  AFFECTS: users of devel/gettext (i.e.: YOU)
  AUTHOR: a...@freebsd.org
 

I did do the make clean, make deinstall and make instal clean and it was still 
throwing that error.   The only way I got the gnupg and ghostscript8-nox11 
ports to update was by copying the .8 libraries over from a backup. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

   

Which error you got from devel/gettext?
I has as error, that gawk is a dependecy of gettext and a make was broken.
I remove gawk and then i have install/ upgrade gettext. After that i 
build gawk new and others ports which use gettext are build and working 
fine.

Now kde3 and wine 1.2-RC3 is running fine on my machine.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


HEADSUP: Call for FreeBSD Status Reports - 2Q/2010

2010-06-16 Thread Daniel Gerzo

Dear all,

I would like to remind you that the next round of status reports
covering the second quarter of 2010 is due on July 15th, 2010. This
initiative is very welcome in our community. Therefore, I would like to
ask you to submit your status reports soon, so that we can compile the 
report on time.


Do not hesitate and write us a few lines - a short  description about 
what you are working on, what are your plans and goals, so we can inform 
our community about your great work! Check out the reports from past to 
get some inspiration of what your submission should look like.


If you know about a project that should be included in the status
report, please let us know as well, so we can poke the responsible
people to provide us with something useful. Updates to submissions from
the last report are welcome too.

Note that the submissions are accepted from anyone involved with the
FreeBSD community, you do not have to be a FreeBSD committer.
Submissions about anything related to FreeBSD are very welcome!

Please email us the filled-in XML template to be found at
http://www.freebsd.org/news/status/report-sample.xml to
mont...@freebsd.org, or alternatively use our web based form located at
http://www.freebsd.org/cgi/monthly.cgi.

For more information, please visit http://www.freebsd.org/news/status/.

We are looking forward to see your submissions!

--
S pozdravom / Best regards
   Daniel Gerzo, FreeBSD committer
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: RESOLVED: Problem upgrading ports - libintl.so.8 not found

2010-06-16 Thread Jason

On Wed, Jun 16, 2010 at 01:11:50PM +, Alexandre L. thus spake:

I have encountered the same problem. On FreeBSD forums, I have found the 
solution :
http://forums.freebsd.org/showthread.php?t=14655
You have to symlink /usr/local/lib/libintl.so.8 to /usr/local/lib/libintl.so.9


symlinking is really not the way to go.
man libmap.conf



--- En date de : Mer 16.6.10, C. P. Ghost cpgh...@cordula.ws a écrit :


De: C. P. Ghost cpgh...@cordula.ws
Objet: Re: RESOLVED: Problem upgrading ports - libintl.so.8 not found
À: Scott Schappell arc...@silvertree.org
Cc: freebsd-questions@freebsd.org
Date: Mercredi 16 juin 2010, 12h52
On Wed, Jun 16, 2010 at 12:41 AM,
Scott Schappell arc...@silvertree.org
wrote:
 After digging through /usr/ports/UPDATING, I copied
all .so.8 and .so.16 libraries to /usr/local/lib and
/usr/local/lib/compat/pkg and those ports are now compiling.
I'm assuming that's the approved solution until ports are
updated?

That's not the best solution. If you copy libintl.so.8 to
compat/pkg, that's
okay. If you leave it in /usr/local/lib, some ports may
pick it up by mistake
and you'll end up with a mix of ports that link to
libintl.so.8 and
libintl.so.9.

-cpghost.

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

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


upgrading form 7.1-RELEASE to 8.0-RELEASE?

2010-06-16 Thread Tom Worster
as usual i let things slip until the servers are a couple of versions behind
and then i face the worries of upgrading.

will freebsd-update -r 8.0-RELEASE upgrade work on a 7.1-RELEASE system or
do i need to take intermediate steps?

does anyone have experience or advice they'd be willing to share?

and if all goes well, when i boot 8.0 are my deamons going to start and be
happy:

Server version: 5.0.87 FreeBSD port: mysql-server-5.0.87
Sphinx 0.9.8.1-release (r1533)
Server version: Apache/2.2.13 (FreeBSD)
PHP 5.2.11 with Suhosin-Patch 0.9.7 (cli) (built: Nov 20 2009 16:10:58) 


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


Re: upgrading form 7.1-RELEASE to 8.0-RELEASE?

2010-06-16 Thread Jason

On Wed, Jun 16, 2010 at 12:48:03PM -0400, Tom Worster thus spake:

as usual i let things slip until the servers are a couple of versions behind
and then i face the worries of upgrading.

will freebsd-update -r 8.0-RELEASE upgrade work on a 7.1-RELEASE system or
do i need to take intermediate steps?

does anyone have experience or advice they'd be willing to share?

and if all goes well, when i boot 8.0 are my deamons going to start and be
happy:

Server version: 5.0.87 FreeBSD port: mysql-server-5.0.87
Sphinx 0.9.8.1-release (r1533)
Server version: Apache/2.2.13 (FreeBSD)
PHP 5.2.11 with Suhosin-Patch 0.9.7 (cli) (built: Nov 20 2009 16:10:58)



http://www.freebsd.org/releases/8.0R/announce.html 


Instructions for using freebsd-update are found in the announcement, and
what more needs to be done in moving from one release to another major
branch.

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


ntpq: write to localhost failed: Network is unreachable

2010-06-16 Thread Anton Shterenlikht
After a recent upgrade to r209156 I get this error:

$ ntpq -p
ntpq: write to localhost failed: Network is unreachable

Please advise

many thanks

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: upgrading form 7.1-RELEASE to 8.0-RELEASE?

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

On 16/06/2010 17:48:03, Tom Worster wrote:
 as usual i let things slip until the servers are a couple of versions behind
 and then i face the worries of upgrading.
 
 will freebsd-update -r 8.0-RELEASE upgrade work on a 7.1-RELEASE system or
 do i need to take intermediate steps?
 
 does anyone have experience or advice they'd be willing to share?
 
 and if all goes well, when i boot 8.0 are my deamons going to start and be
 happy:
 
 Server version: 5.0.87 FreeBSD port: mysql-server-5.0.87
 Sphinx 0.9.8.1-release (r1533)
 Server version: Apache/2.2.13 (FreeBSD)
 PHP 5.2.11 with Suhosin-Patch 0.9.7 (cli) (built: Nov 20 2009 16:10:58) 

Yes, this upgrade should work in one step.  Make sure to install the
compat7x port, and all the software you installed under 7.1 will be able
to keep running.

Note however that the compat7x stuff is merely a measure to give
yourself a breathing space between upgrading the OS and rebuilding all
your ports.

You really do have to reinstall all the ports on a major version
upgrade: while installed ports will still run if you don't touch them,
as soon as you start updating anything, or installing anything new, it
will start to go horribly poo unless you haved reinstalled everything.
I note that the software you're running is all a few versions behind
what's current, and some of those updates involve pretty significant
changes (eg. php 5.2 to 5.3; changes to the way apache ports work;
Oracle pushing to drop support for MySQL 5.0) so a bit of forethough and
planning is advised, but there's no real deal-breaker there.

Also, if you wait for a few weeks you could go directly to 8.1-RELEASE,
which might be a better choice.  There have been some pretty significant
bugfixes between 8.0-RELEASE and 8.1-RELEASE.

Cheers,

Matthew

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

iEYEARECAAYFAkwZBKEACgkQ8Mjk52CukIwp/QCfRyRsbjlb1QkyLuMcmat9DTAL
mPMAn1ad7v6cHKVNJLSiwBfW5qJtss+B
=HMSM
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ntpq: write to localhost failed: Network is unreachable

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

On 16/06/2010 17:59:10, Anton Shterenlikht wrote:
 After a recent upgrade to r209156 I get this error:
 
 $ ntpq -p
 ntpq: write to localhost failed: Network is unreachable
 
 Please advise

What does 'ifconfig -a' and 'netstat -rn' say?  What happens if you try
and ping localhost?

Cheers,

Matthew

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

iEYEARECAAYFAkwZBRMACgkQ8Mjk52CukIzHMgCdGwGNN9epRWbyQJf1Hj6sduyZ
I6EAniEy3ZWhfIjLJ+u22iJ/fYBGEUre
=bDZi
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: RESOLVED: Problem upgrading ports - libintl.so.8 not found

2010-06-16 Thread Scott Schappell
I found a more elegant way of doing this, thanks to google on my 7.3 system.  I 
added:

ldconfig_paths=/usr/lib/compat /usr/X11R6/lib /usr/local/lib 
/usr/local/lib/compat/pkg

to rc.conf and rebooted (I couldn't shutdown to single user then exit as I 
don't have physical access at the moment).

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


Re: ntpq: write to localhost failed: Network is unreachable

2010-06-16 Thread Anton Shterenlikht
On Wed, Jun 16, 2010 at 06:08:35PM +0100, Matthew Seaman wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 16/06/2010 17:59:10, Anton Shterenlikht wrote:
  After a recent upgrade to r209156 I get this error:
  
  $ ntpq -p
  ntpq: write to localhost failed: Network is unreachable
  
  Please advise
 
 What does 'ifconfig -a' and 'netstat -rn' say?

$ ifconfig -a
em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500

options=209bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC
ether 00:13:21:5b:05:1c
inet 137.222.187.28 netmask 0xff00 broadcast 137.222.187.255
inet6 fe80::213:21ff:fe5b:51c%em0 prefixlen 64 scopeid 0x1 
nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
media: Ethernet autoselect (1000baseT full-duplex)
status: active
em1: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500

options=209bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC
ether 00:13:21:5b:05:1d
media: Ethernet autoselect (100baseTX full-duplex)
status: active
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384
options=3RXCSUM,TXCSUM
inet 127.0.0.1 netmask 0xff00 
inet6 ::1 prefixlen 128 
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 
nd6 options=21PERFORMNUD,AUTO_LINKLOCAL

$ netstat -rn
Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
default137.222.187.250UGS 065512em0
127.0.0.1  link#3 UH  0  293lo0
137.222.187.0/24   link#1 U   010861em0
137.222.187.28 link#1 UHS 00lo0

Internet6:
Destination   Gateway   Flags  
Netif Expire
::/96 ::1   UGRSlo0
::1   ::1   UH  lo0
:::0.0.0.0/96 ::1   UGRSlo0
fe80::/10 ::1   UGRSlo0
fe80::%em0/64 link#1U   em0
fe80::213:21ff:fe5b:51c%em0   link#1UHS lo0
fe80::%lo0/64 link#3U   lo0
fe80::1%lo0   link#3UHS lo0
ff01:1::/32   fe80::213:21ff:fe5b:51c%em0   U   em0
ff01:3::/32   ::1   U   lo0
ff02::/16 ::1   UGRSlo0
ff02::%em0/32 fe80::213:21ff:fe5b:51c%em0   U   em0
ff02::%lo0/32 ::1   U   lo0



  What happens if you try and ping localhost?

$ ping -c5 localhost
PING localhost (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.109 ms
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.103 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.060 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.059 ms
64 bytes from 127.0.0.1: icmp_seq=4 ttl=64 time=0.059 ms

--- localhost ping statistics ---
5 packets transmitted, 5 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.059/0.078/0.109/0.023 ms



many thanks
anton


-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


CUPS between systems

2010-06-16 Thread William Bulley
When the CUPS server (cupsd) is built with GSSAPI support, the CUPS
Administration tab (localhost:631/admin) contains this checkbox
under the Server Settings: section:

   (x) Use Kerberos authentication (FAQ)

Unfortunately for me on FreeBSD 8.0-STABLE running cups-base-1.4.2_3
the GSSAPI option is not present in the Makefile:

   CONFIGURE_ARGS+= --disable-gssapi ...

As a result my localhost:631/admin screen lacks this Kerberos checkbox.

This condition is still present in CUPS 1.4.3 according to the Makefile
at http://www.freebsd.org/cgi/cvsweb.cgi/ports/print/cups-base/

I need Kerberos support in order to use CUPS to print to a network
printer here.  As a workaround, I was able to use a co-workers MacOS X
system which was running CUPS to print to the same printer.  This Mac
was upgraded to MacOS 10.6.4 today, and this workaround failed.   :-(

So I am back to trying to use CUPS on FreeBSD to talk directly to the
network printer, but without the Kerberos feature, I am locked out.

Upgrading to CUPS 1.4.3 is unlikely to give me Kerberos support.

It seems FreeBSD has Kerberos support in base at /usr/src/kerberos5.

But I don't see how to bridge this gap.  FWIW, using CUPS 1.3.10 in
the Fall of 2009, I did have Kerberos support (via GSSAPI) and I was
able to talk directly to the network printer.

Does anyone have any suggestions for me to consider trying?

Regards,

web...

--
William Bulley Email: w...@umich.edu

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


Re: ntpq: write to localhost failed: Network is unreachable

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

On 16/06/2010 18:15:32, Anton Shterenlikht wrote:
 On Wed, Jun 16, 2010 at 06:08:35PM +0100, Matthew Seaman wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On 16/06/2010 17:59:10, Anton Shterenlikht wrote:
 After a recent upgrade to r209156 I get this error:

 $ ntpq -p
 ntpq: write to localhost failed: Network is unreachable

 Please advise

 What does 'ifconfig -a' and 'netstat -rn' say?
 
 $ ifconfig -a
 em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
 
 options=209bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC
 ether 00:13:21:5b:05:1c
 inet 137.222.187.28 netmask 0xff00 broadcast 137.222.187.255
 inet6 fe80::213:21ff:fe5b:51c%em0 prefixlen 64 scopeid 0x1 
 nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
 media: Ethernet autoselect (1000baseT full-duplex)
 status: active
 em1: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500
 
 options=209bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC
 ether 00:13:21:5b:05:1d
 media: Ethernet autoselect (100baseTX full-duplex)
 status: active
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384
 options=3RXCSUM,TXCSUM
 inet 127.0.0.1 netmask 0xff00 
 inet6 ::1 prefixlen 128 
 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 
 nd6 options=21PERFORMNUD,AUTO_LINKLOCAL
 
 $ netstat -rn
 Routing tables
 
 Internet:
 DestinationGatewayFlagsRefs  Use  Netif Expire
 default137.222.187.250UGS 065512em0
 127.0.0.1  link#3 UH  0  293lo0
 137.222.187.0/24   link#1 U   010861em0
 137.222.187.28 link#1 UHS 00lo0
 
 Internet6:
 Destination   Gateway   Flags  
 Netif Expire
 ::/96 ::1   UGRS
 lo0
 ::1   ::1   UH  
 lo0
 :::0.0.0.0/96 ::1   UGRS
 lo0
 fe80::/10 ::1   UGRS
 lo0
 fe80::%em0/64 link#1U   
 em0
 fe80::213:21ff:fe5b:51c%em0   link#1UHS 
 lo0
 fe80::%lo0/64 link#3U   
 lo0
 fe80::1%lo0   link#3UHS 
 lo0
 ff01:1::/32   fe80::213:21ff:fe5b:51c%em0   U   
 em0
 ff01:3::/32   ::1   U   
 lo0
 ff02::/16 ::1   UGRS
 lo0
 ff02::%em0/32 fe80::213:21ff:fe5b:51c%em0   U   
 em0
 ff02::%lo0/32 ::1   U   
 lo0
 
 
 
  What happens if you try and ping localhost?
 
 $ ping -c5 localhost
 PING localhost (127.0.0.1): 56 data bytes
 64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.109 ms
 64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.103 ms
 64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.060 ms
 64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.059 ms
 64 bytes from 127.0.0.1: icmp_seq=4 ttl=64 time=0.059 ms
 
 --- localhost ping statistics ---
 5 packets transmitted, 5 packets received, 0.0% packet loss
 round-trip min/avg/max/stddev = 0.059/0.078/0.109/0.023 ms

Nothing obviously wrong there.  Perhaps ntpd is not running?
(Not sure quite why that should cause an error message about
reachability of localhost: I suppose it's not completely unreasonable
though.)

If ntpd is running, then try restarting it.  If the problem still
persists, then it looks like you've found a bug.

Cheers,

Matthew

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

iEYEARECAAYFAkwZEssACgkQ8Mjk52CukIz1XgCgkLHmyJIeLRIZxDAdHpYrG4rD
4ooAn0NkTus2QM8SKOGH3mCwWk6upiky
=B9su
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: compiler flag -Werror

2010-06-16 Thread CyberLeo Kitsana
On 06/16/2010 08:02 AM, akash kumar wrote:
 Hi all,
 
 I am working on building a freebsd kernel for mips. As part of this i built 
 cross  tool chain for mips from my host machine(i386).
 After that i was building my kernel using make buildkernel 
 KERNCONF=configfile
 
 I noticed that the compiler flags -Werror is invoked  default with my 
 compiler. 
 I want to remove this flag because all the warning as taken as errors due to 
 which my compilation stops.
 
 Can you please help me how/where to remove this flag. 

I have run across this in the past, when building for a VIA C3-2 CPU; so
I have this in my /etc/make.conf:

# Inline limit warnings?
# Userland:
NO_WERROR=yes
# Kernel: Just turn off inline warnings
WERROR=-Wno-inline -Werror

-- 
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
cyber...@cyberleo.net

Furry Peace! - http://.fur.com/peace/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Detecting fake library versions

2010-06-16 Thread Warren Block

ln -s libintl.so.9 libintl.so.8 has been misused a lot lately.

Are there any programs that will detect these links and remind the user 
that they have a new library masquerading as an old one?


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Detecting fake library versions

2010-06-16 Thread Warren Block

On Wed, 16 Jun 2010, Warren Block wrote:


ln -s libintl.so.9 libintl.so.8 has been misused a lot lately.

Are there any programs that will detect these links and remind the user that 
they have a new library masquerading as an old one?


A quick hack in Ruby to address this:

http://www.wonkity.com/~wblock/fakelib/fakelib.rb

It's not particularly fast or elegant.  On the other hand, it's short 
and does detect the link above.


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


About cross compiler from x86+redhat to i386+freebsd

2010-06-16 Thread Gmail
Hello, every body,

  I am trying to build a crosscompiler with target as i386 + freebsd(6.5) 
and host as x86+redhat EL 5.3.
I have tried the cross tool of crosstool-0.43 and crosstool-NG. Unfortunately, 
I have not found the two cross tool has the option with target as freebsd. So, 
I want to ask:

1, how to make cross compile chain with crosstool-0.xx or crosstool-NG.

2, did anyone sucessfully build the cross compiler from  x86+redhat to 
i386+freebsd ? I have seen that John Blair try to build the same complier, has 
you done it? 

If you know how to do that, please tell me ,thank you very much!

2010-06-17 



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


Re: Booting Xserve on 8.0

2010-06-16 Thread Chris

I felt I should finalize this before the thread goes to archives.

My original post was to find out if there was a way to get FreeBSD
to boot and run natively on the Intel XServe. It's a no go.

rEFIt, while part of a solution, can't make up for the complete lack
of BIOS support, EFI boot is only the beginning of the problem.

Rui Paulo stated that kernel changes to FreeBSD will be required
before it will be realistic to run. Watching his FreeBSD progress  
reports

is probably the best source of status.

On Jun 6, 2010, at 10:23 AM, Chris Rees wrote:


On 6 June 2010 17:50, Chris eaglet...@hughes.net wrote:


On Jun 6, 2010, at 4:09 AM, Adam Vande More wrote:


On Sat, Jun 5, 2010 at 7:48 AM, Chris eaglet...@hughes.net wrote:

EFI is the issue. I was hoping there is new information such as
an installation with EFI configuration files to permit the boot.
There are instructions available on creating such an installation
for linux variants. They don't seem to apply to FreeBSD or I haven't
the knowledge to create such an installation.


Well if you want to run BSD on it, I suggest NetBSD.  They use  
rEFIt for

it.
http://wiki.netbsd.se/How_to_install_NetBSD_on_an_Apple_Macbook_w/core2duo

I would say there is even some reasonable hope it that it would  
work well.

 I'm no expert thought so you could try asking over there.



Adam and Chris, Thank you, you both are on the solution if it works.

rEFIt at refit.sourceforge.net was one of the solutions that looked
promising, only with FreeBSD. I will try this.

Anyone interested, feel free to contact me off-list on progress or
especially
if interested in cooperative discovery on whether this will work or  
not.


Thanks again for the responses.


I would recommend keeping discussion on-list, if you don't mind,
because the Archives are incredibly useful to people trying to solve
similar problems.

We all learn from watching discussions on these lists, that's why
we're subscribed!

Of course, if you consider it confidential feel free to go off-list,
it's your call.

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





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


Ownership of /var/named Changes on Reboot.

2010-06-16 Thread Martin McCormick
I run named chrooted to bind but not in a jail. When the
system reboots, something changes ownership of /var/named back
to root:wheel.

I have thought several times I figured out how to
prevent this from happening, but to no avail. The most promising
lead was the following directives in /etc/rc.conf.local:

named_uid=bind# User to run named as
named_chrootdir=  # Chroot directory (or  not to auto-chroot it)
named_chroot_autoupdate=YES   # Automatically install/update chrooted

Is there a way to keep /var/named owned by bind across
reboots?

Our production FreeBSD systems are up for years at a
time so we don't see this problem often, but we have just been
lucky that I am usually the one to reboot and know that named
will come up broken and exit because named can not write in to
/var/named when it is owned by root. It would be really nice to
be able to count on /var/named staying put so named can just
start automatically after a reboot.

I prefer for named to run as a low-priority UID rather
than as root so if I am doing something wrong, tell me that,
also. We have been running named with a high-numbered UID for
probably ten years and the force back to root ownership has
always been a factor when the system is rebooted.

Thank you.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer
OSU Information Technology Department Telecommunications Services Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Ownership of /var/named Changes on Reboot.

2010-06-16 Thread Robert Huff

Martin McCormick writes:

   Is there a way to keep /var/named owned by bind across
  reboots?

Yes.  I had this happen for a long time.
The bad news is it had been years since I fixed it, and I no
longer remember exactly what I did.  I will keep trying.


Robert Huff

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


Re: Ownership of /var/named Changes on Reboot.

2010-06-16 Thread Peter Boosten
On 17-6-2010 4:58, Robert Huff wrote:
 
 Martin McCormick writes:
 
  Is there a way to keep /var/named owned by bind across
  reboots?
 
   Yes.  I had this happen for a long time.
   The bad news is it had been years since I fixed it, and I no
 longer remember exactly what I did.  I will keep trying.
 
 

Permissions are set using the mtree files:

/etc/mtree/

Peter

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