Openfire weird start up problem

2013-02-17 Thread David Southwell

I am having trouble with openfire

I found after starting I could not connect to the server
Getting error
WARNING: no shebang line in COPYRIGHT

Here is the test sequence that shows the error:
# service openfire start
Starting openfire
#service openfire status
openfire is running as pid 9205

NOTE At this point it appears that openfire starts BUT immediately 
afterwards it must stop because a repeat status call gives:


#service openfire status
/usr/local/etc/rc.d/openfire: WARNING no shebang line in COPYRIGHT
openfire not running? (check /var/run/openfire.pid

Many thanks for any guidance

I have reported problem to maintainer but so far no response.
Thanks
David

--
David Southwell ARPS AFIAP
Photographic Arts
Trained  experienced competition judge, mentor, trainer, lecturer,
Advanced digital techniques, international project photography

___
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


Ignorance and pth etc

2013-01-07 Thread David Southwell

Hi

I seem to be getting problems with some error messages which appear to 
indicate pth failures.


The system is
8.2-RELEASE GENERIC amd64 on Intel quad core.

I do not understand how pth threads are managed.
1. From ports I have installed
fpc-pthreads-2.6.0
libpthread-stubs-0.3_3
pth-2.0.7
2. I am totally ignorant of what is installed by the kernel or of how to 
check whether there are any conflicts in the system or the ports.

3. I want to install Jabber which seems to require pth-hard
4. The greatest concerns seem to be around Xorg with kde4 installed
5. Fundamentally I am concerned that something about thread management 
on this system is fouled up. For example kde4, following a recent 
upgrade,has taken to not loading.

Would someone be willing to enlighten me a little?
6. To show the my concerns are not without some foundation among the 
multiple error messages given when kde4 fails to load  there is the 
snippet shown below.


Many thanks for any advice

kded(2157)/KSharedDataCache: Unable to find an appropriate lock to guard the 
shared cache.  This *should* be essentially impossible. :(
kded(2157)/KSharedDataCache: Unable to perform initial setup, this system 
probably does not really support process-shared pthreads or semaphores, even 
though it claims otherwise.
kded(2157)/KSharedDataCache: Unable to unmap shared memory segment 0x8097a1000
kbuildsycoca4 running...
QDBusConnection: session D-Bus connection created before QCoreApplication. 
Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. 
Application may misbehave.
kglobalaccel(2164)/KSharedDataCache: Unable to find an appropriate lock to 
guard the shared cache.  This *should* be essentially impossible. :(
kglobalaccel(2164)/KSharedDataCache: Unable to perform initial setup, this 
system probably does not really support process-shared pthreads or semaphores, 
even though it claims otherwise.
kglobalaccel(2164)/KSharedDataCache: Unable to unmap shared memory segment 
0x8097b2000
kcminit(2166)/KSharedDataCache: Unable to find an appropriate lock to guard the 
shared cache.  This *should* be essentially impossible. :(
kcminit(2166)/KSharedDataCache: Unable to perform initial setup, this system 
probably does not really support process-shared pthreads or semaphores, even 
though it claims otherwise.
kcminit(2166)/KSharedDataCache: Unable to unmap shared memory segment 
0x8098ec000
QDBusConnection: session D-Bus connection created before QCoreApplication. 
Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. 
Application may misbehave.



--
David Southwell ARPS AFIAP
Photographic Arts
Trained  experienced competition judge, mentor, trainer, lecturer,
Advanced digital techniques, international project photography

___
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: epson printers on amd64

2011-11-20 Thread David Southwell
On Saturday 19 November 2011 21:27:42 Warren Block wrote:
 On Sun, 20 Nov 2011, per...@pluto.rain.com wrote:
  Warren Block wbl...@wonkity.com wrote:
  On Sat, 19 Nov 2011, David Southwell wrote:
  Anyone up to date on how to do high quality printing with
  epson inkjet printers (in my case r2400 and r2880) on amd64
  systems.  print/pips* reports they require 386 and do not
  compile on amd64.
  
  print/gimp-gutenprint works pretty well from Gimp, although
  I have not figured out how to get consistent color and brightness.
  It supports both of those printers.
  
  I'm sure I'm not alone in doubting that _any_ ink-spitter is likely to
  produce high quality printing or consistent color and brightness,
  regardless of the host support used.  Those printers are designed to
  be manufactured as inexpensively as possible so as to be sold at very
  low prices, the profit being in the recurring ink sales.  Cheap and
  high quality tend to be incompatible design goals.
 
 (Sorry, I hadn't realized I was replying on -emulation, which is meant
 for computer emulation.  CCed to -questions on this reply.)
 
 Quality color photos are the one area where inkjets really can do a good
 job.  Experimenting with cheap Epson R200 and R280 has shown that they
 can print better quality photos than local photo printing places.
 
 Color and brightness are consistent until I print a different photo.
 Gutenprint saves the settings, it's just that they don't work
 the same with different photos.  Possibly this is due to my changing the
 wrong adjustments.
 
 Oh, and I've only used Gutenprint on 32-bit systems so far.

To get high quality printing with good inkjet printeres like r2400 and r2880 
here are the main steps I follow:

1. Define the colour space (e.g adobe rgb 1998) to be used when the image is 
being captured.

2. Shoot using the correct white space setting for the scene.

3. Load onto the computer having first profiled your monitor.

4. Use your  preferred editing software (e.g. photoshop) using a defined 
working space colour profile e.g. adobe 1998 (I prefer prophoto which is  
32bit floating decimal point).

5. Convert the colour profile of the image to the working colour space.

6. Process the image.

7. When processing complete choose the paper for printing.

8. Make sure you have a suitable colour profile for that paper for your chosen 
printer.

9. Print using the appropriate paper profile.



.

___
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: epson printers on amd64

2011-11-20 Thread David Southwell
On Sunday 20 November 2011 01:33:53 David Southwell wrote:
 On Saturday 19 November 2011 21:27:42 Warren Block wrote:
  On Sun, 20 Nov 2011, per...@pluto.rain.com wrote:
   Warren Block wbl...@wonkity.com wrote:
   On Sat, 19 Nov 2011, David Southwell wrote:
   Anyone up to date on how to do high quality printing with
   epson inkjet printers (in my case r2400 and r2880) on amd64
   systems.  print/pips* reports they require 386 and do not
   compile on amd64.
   
   print/gimp-gutenprint works pretty well from Gimp, although
   I have not figured out how to get consistent color and brightness.
   It supports both of those printers.
   
   I'm sure I'm not alone in doubting that _any_ ink-spitter is likely to
   produce high quality printing or consistent color and brightness,
   regardless of the host support used.  Those printers are designed to
   be manufactured as inexpensively as possible so as to be sold at very
   low prices, the profit being in the recurring ink sales.  Cheap and
   high quality tend to be incompatible design goals.
  
  (Sorry, I hadn't realized I was replying on -emulation, which is meant
  for computer emulation.  CCed to -questions on this reply.)
  
  Quality color photos are the one area where inkjets really can do a good
  job.  Experimenting with cheap Epson R200 and R280 has shown that they
  can print better quality photos than local photo printing places.
  
  Color and brightness are consistent until I print a different photo.
  Gutenprint saves the settings, it's just that they don't work
  the same with different photos.  Possibly this is due to my changing the
  wrong adjustments.
  
  Oh, and I've only used Gutenprint on 32-bit systems so far.
 
 To get high quality printing with good inkjet printeres like r2400 and
 r2880 here are the main steps I follow:
 
 1. Define the colour space (e.g adobe rgb 1998) to be used when the image
 is being captured.
 
 2. Shoot using the correct white space setting for the scene.
 
 3. Load onto the computer having first profiled your monitor.
 
 4. Use your  preferred editing software (e.g. photoshop) using a defined
 working space colour profile e.g. adobe 1998 (I prefer prophoto which is
 32bit floating decimal point).
 
 5. Convert the colour profile of the image to the working colour space.
 
 6. Process the image.
 
 7. When processing complete choose the paper for printing.
 
 8. Make sure you have a suitable colour profile for that paper for your
 chosen printer.
 
 9. Print using the appropriate paper profile.
 
 
 
Sorry I should have mentioned that ghostscript are integrating colour 
profiling using icc profiles although the last time I checked there was no 
support for the kind of monitor profile creation devices such as those 
manufactured by datacolor which I use on I hate to say it MS$ systems. There 
is an interesting paper on Ghostscript Color Management to be found on 
www.artifex.com/Ghostscript_Color_Architecture.pdf

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


Re: epson printers on amd64

2011-11-20 Thread David Southwell
On Sunday 20 November 2011 01:58:07 David Southwell wrote:
 On Sunday 20 November 2011 01:33:53 David Southwell wrote:
  On Saturday 19 November 2011 21:27:42 Warren Block wrote:
   On Sun, 20 Nov 2011, per...@pluto.rain.com wrote:
Warren Block wbl...@wonkity.com wrote:
On Sat, 19 Nov 2011, David Southwell wrote:
Anyone up to date on how to do high quality printing with
epson inkjet printers (in my case r2400 and r2880) on amd64
systems.  print/pips* reports they require 386 and do not
compile on amd64.

print/gimp-gutenprint works pretty well from Gimp, although
I have not figured out how to get consistent color and brightness.
It supports both of those printers.

I'm sure I'm not alone in doubting that _any_ ink-spitter is likely
to produce high quality printing or consistent color and
brightness, regardless of the host support used.  Those printers
are designed to be manufactured as inexpensively as possible so as
to be sold at very low prices, the profit being in the recurring ink
sales.  Cheap and high quality tend to be incompatible design
goals.
   
   (Sorry, I hadn't realized I was replying on -emulation, which is meant
   for computer emulation.  CCed to -questions on this reply.)
   
   Quality color photos are the one area where inkjets really can do a
   good job.  Experimenting with cheap Epson R200 and R280 has shown that
   they can print better quality photos than local photo printing places.
   
   Color and brightness are consistent until I print a different photo.
   Gutenprint saves the settings, it's just that they don't work
   the same with different photos.  Possibly this is due to my changing
   the wrong adjustments.
   
   Oh, and I've only used Gutenprint on 32-bit systems so far.
  
  To get high quality printing with good inkjet printeres like r2400 and
  r2880 here are the main steps I follow:
  
  1. Define the colour space (e.g adobe rgb 1998) to be used when the image
  is being captured.
  
  2. Shoot using the correct white space setting for the scene.
  
  3. Load onto the computer having first profiled your monitor.
  
  4. Use your  preferred editing software (e.g. photoshop) using a defined
  working space colour profile e.g. adobe 1998 (I prefer prophoto which is
  32bit floating decimal point).
  
  5. Convert the colour profile of the image to the working colour space.
  
  6. Process the image.
  
  7. When processing complete choose the paper for printing.
  
  8. Make sure you have a suitable colour profile for that paper for your
  chosen printer.
  
  9. Print using the appropriate paper profile.
 
 Sorry I should have mentioned that ghostscript are integrating colour
 profiling using icc profiles although the last time I checked there was no
 support for the kind of monitor profile creation devices such as those
 manufactured by datacolor which I use on I hate to say it MS$ systems.
 There is an interesting paper on Ghostscript Color Management to be found
 on www.artifex.com/Ghostscript_Color_Architecture.pdf
 
OK  thanks to you guys asking some questions I have found that 
graphics/lprof-devel
can support the creation of monitor and print profiles using Spyder 2  Spyder 
3 from datacolor. I have been a bit lazy in following up my earlier interest 
in profiling monitors on freebsd 7.2  8.2 as I would like to reduce my 
reliance on MS$ and apple systems. It looks like I missed this one which is 
being compiled as I speak.

I will try forcing a compile of the 32bit code for the epson r2400  r2880 
which I am told may compile on 64bit given some work. I will report back if I 
finish up with a viable system.

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


Re: devel/libsoup-2.32.2 Compile error _md5 problem

2011-01-21 Thread David Southwell
 On 1/20/11 5:39 PM, David Southwell wrote:
 [...]
 
  deleted gobject-introspection
  Got the similar error messages--
  
  Traceback (most recent call last):
File ../tools/g-ir-scanner, line 43, in module

  from giscanner.scannermain import scanner_main

File /usr/ports/devel/gobject-introspection/work/gobject-
  
  introspection-0.9.12/giscanner/scannermain.py, line 34, in module
  
  from giscanner.dumper import compile_introspection_binary

File /usr/ports/devel/gobject-introspection/work/gobject-
  
  introspection-0.9.12/giscanner/dumper.py, line 26, in module
  
  from .gdumpparser import IntrospectionBinary

File /usr/ports/devel/gobject-introspection/work/gobject-
  
  introspection-0.9.12/giscanner/gdumpparser.py, line 30, in module
  
  from .transformer import TransformerException

File /usr/ports/devel/gobject-introspection/work/gobject-
  
  introspection-0.9.12/giscanner/transformer.py, line 26, in module
  
  from .cachestore import CacheStore

File /usr/ports/devel/gobject-introspection/work/gobject-
  
  introspection-0.9.12/giscanner/cachestore.py, line 24, in module
  
  import hashlib

File /usr/local/lib/python2.6/hashlib.py, line 136, in module

  md5 = __get_builtin_constructor('md5')

File /usr/local/lib/python2.6/hashlib.py, line 63, in
  
  __get_builtin_constructor
  
  import _md5
  
  ImportError: No module named _md5
  gmake[2]: *** [GLib-2.0.gir] Error 1
  gmake[2]: Leaving directory `/usr/ports/devel/gobject-
  introspection/work/gobject-introspection-0.9.12/gir'
  gmake[1]: *** [all-recursive] Error 1
  gmake[1]: Leaving directory `/usr/ports/devel/gobject-
  introspection/work/gobject-introspection-0.9.12'
  gmake: *** [all] Error 2
  *** Error code 1
  
  Stop in /usr/ports/devel/gobject-introspection.
  *** Error code 1
  
  Stop in /usr/ports/devel/libsoup.
 
 Hi David,
 
 What is the output of the command pkg_version -vL=?  Can you build
 libsoup successfully in a clean jail (no ports installed) with an
 up-to-date ports tree?
 
 From what I've seen by Googling the error message ImportError: No
 module named _md5, you likely have a broken Python 2.6 installation.
 Can you pkg_delete it and reinstall it as well, assuming you don't have
 a boatload of ports that depend on it?
 
 Regards,
 Greg

Hi Greg

Thanks for the suggestion I also think it is something to do with python2.6 
which I have already rebuilt one. I am out of the office until Tuesday but will 
set the system on another complete rebuild of python before I leave.  The jail 
idea will have to wait until then.


Thanks
David
I will report back
Photographic Artist
Permanent Installations  Design
Creative Imagery and Advanced Digital Techniques
High Dynamic Range Photography  Official Portraiture
Combined darkroom  digital creations
 Systems Adminstrator for the vizion2000.net network
___
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: devel/libsoup-2.32.2 Compile error _md5 problem

2011-01-20 Thread David Southwell
 On 1/19/11 12:04 PM, David Southwell wrote:
  Thanks in advance for help with this one:
   File /usr/local/bin/g-ir-scanner, line 43, in module
   
  from giscanner.scannermain import scanner_main
 
 [...]
 
File /usr/local/lib/python2.6/hashlib.py, line 136, in module

  md5 = __get_builtin_constructor('md5')

File /usr/local/lib/python2.6/hashlib.py, line 63, in
  
  __get_builtin_constructor
  
  import _md5
  
  ImportError: No module named _md5
  gmake[3]: *** [Soup-2.4.gir] Error 1
  gmake[3]: Leaving directory
  `/usr/ports/devel/libsoup/work/libsoup-2.32.2/libsoup'
  gmake[2]: *** [all] Error 2
  gmake[2]: Leaving directory
  `/usr/ports/devel/libsoup/work/libsoup-2.32.2/libsoup'
  gmake[1]: *** [all-recursive] Error 1
  gmake[1]: Leaving directory
  `/usr/ports/devel/libsoup/work/libsoup-2.32.2' gmake: *** [all] Error 2
  *** Error code 1
  
  Stop in /usr/ports/devel/libsoup.
  *** Error code 1
  David
 
 Hi David,
 
 Is devel/gobject-introspection up to date?  Do you get this same error
 if you install devel/libsoup into a box without any ports installed on
 it.  You can easily set up a testbed by using a jail to do that.
 
 If nothing else depends on gobject-introspection, you could always
 pkg_delete it and then restart the libsoup build.  It would be
 interesting to know if that eliminates the error or not.
 
 Regards,
 Greg
deleted gobject-introspection
Got the similar error messages--

Traceback (most recent call last):
  File ../tools/g-ir-scanner, line 43, in module
from giscanner.scannermain import scanner_main
  File /usr/ports/devel/gobject-introspection/work/gobject-
introspection-0.9.12/giscanner/scannermain.py, line 34, in module
from giscanner.dumper import compile_introspection_binary
  File /usr/ports/devel/gobject-introspection/work/gobject-
introspection-0.9.12/giscanner/dumper.py, line 26, in module
from .gdumpparser import IntrospectionBinary
  File /usr/ports/devel/gobject-introspection/work/gobject-
introspection-0.9.12/giscanner/gdumpparser.py, line 30, in module
from .transformer import TransformerException
  File /usr/ports/devel/gobject-introspection/work/gobject-
introspection-0.9.12/giscanner/transformer.py, line 26, in module
from .cachestore import CacheStore
  File /usr/ports/devel/gobject-introspection/work/gobject-
introspection-0.9.12/giscanner/cachestore.py, line 24, in module
import hashlib
  File /usr/local/lib/python2.6/hashlib.py, line 136, in module
md5 = __get_builtin_constructor('md5')
  File /usr/local/lib/python2.6/hashlib.py, line 63, in 
__get_builtin_constructor
import _md5
ImportError: No module named _md5
gmake[2]: *** [GLib-2.0.gir] Error 1
gmake[2]: Leaving directory `/usr/ports/devel/gobject-
introspection/work/gobject-introspection-0.9.12/gir'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/devel/gobject-
introspection/work/gobject-introspection-0.9.12'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/devel/gobject-introspection.
*** Error code 1

Stop in /usr/ports/devel/libsoup.


Photographic Artist
Permanent Installations  Design
Creative Imagery and Advanced Digital Techniques
High Dynamic Range Photography  Official Portraiture
Combined darkroom  digital creations
 Systems Adminstrator for the vizion2000.net network
___
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


devel/libsoup-2.32.2 Compile error _md5 problem

2011-01-19 Thread David Southwell

Thanks in advance for help with this one:

 File /usr/local/bin/g-ir-scanner, line 43, in module
from giscanner.scannermain import scanner_main
  File /usr/local/lib/gobject-introspection/giscanner/scannermain.py, line 
34, in module
from giscanner.dumper import compile_introspection_binary
  File /usr/local/lib/gobject-introspection/giscanner/dumper.py, line 26, in 
module
from .gdumpparser import IntrospectionBinary
  File /usr/local/lib/gobject-introspection/giscanner/gdumpparser.py, line 
30, in module
from .transformer import TransformerException
  File /usr/local/lib/gobject-introspection/giscanner/transformer.py, line 
26, in module
from .cachestore import CacheStore
  File /usr/local/lib/gobject-introspection/giscanner/cachestore.py, line 
24, in module
import hashlib
  File /usr/local/lib/python2.6/hashlib.py, line 136, in module
md5 = __get_builtin_constructor('md5')
  File /usr/local/lib/python2.6/hashlib.py, line 63, in 
__get_builtin_constructor
import _md5
ImportError: No module named _md5
gmake[3]: *** [Soup-2.4.gir] Error 1
gmake[3]: Leaving directory 
`/usr/ports/devel/libsoup/work/libsoup-2.32.2/libsoup'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory 
`/usr/ports/devel/libsoup/work/libsoup-2.32.2/libsoup'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/devel/libsoup/work/libsoup-2.32.2'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/devel/libsoup.
*** Error code 1
David

Photographic Artist
Permanent Installations  Design
Creative Imagery and Advanced Digital Techniques
High Dynamic Range Photography  Official Portraiture
Combined darkroom  digital creations
 Systems Adminstrator for the vizion2000.net network
___
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: ImageMagick, Djvu, and Perl-threaded - marked as IGNORE when updating

2010-12-28 Thread David Southwell
 On 12/27/10, David Southwell da...@vizion2000.net wrote:
  On 12/27/10, David Southwell da...@vizion2000.net wrote:
  Agreed - but  following Doug's  commit I can vouch that the PERL_THREADED
  hack
  was still needed  for 7.2 p3 systems on amd64.
 
 It shouldn't be needed.  Can you remove this definition from any
 locally-modified Makefiles, and provide the same information that was
 requested from Da Rock? (Why do I feel like a WWE announcer when I
 type that? ...)
 
 b.
I do not want to rebuild WITHOUT_IMAGEMAGICK_PERL on a running system with 
active user access which needs perl.

Have you got the replies from Da Rock?

David

Photographic Artist
Permanent Installations  Design
Creative Imagery and Advanced Digital Techniques
High Dynamic Range Photography  Official Portraiture
Combined darkroom  digital creations
 Systems Adminstrator for the vizion2000.net network
___
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: ImageMagick, Djvu, and Perl-threaded - marked as IGNORE when updating

2010-12-28 Thread David Southwell
  On 12/27/10, David Southwell da...@vizion2000.net wrote:
   On 12/27/10, David Southwell da...@vizion2000.net wrote:
   Agreed - but  following Doug's  commit I can vouch that the
   PERL_THREADED hack
   was still needed  for 7.2 p3 systems on amd64.
  
  It shouldn't be needed.  Can you remove this definition from any
  locally-modified Makefiles, and provide the same information that was
  requested from Da Rock? (Why do I feel like a WWE announcer when I
  type that? ...)
  
  b.
 
 I do not want to rebuild WITHOUT_IMAGEMAGICK_PERL on a running system with
 active user access which needs perl.
 
 Have you got the replies from Da Rock?
 
Before going any further I would suggest that Da Rock  be advised to update 
his ports tree followed by

# pkgdb -F
Fix any problems then. If there are any problems he cannot fix at this stage 
then report those. Then:

# portmaster -a or portupgrade -a


If he gets any failure which may possibly be linked to a Perl problem he 
should rebuild perl with upward and downward recursion. e.g
#portupgrade -rR lang/perl5.8

Until that is completed any other report could send us off on a wild goose 
chase.

My twopennorth

David



Photographic Artist
Permanent Installations  Design
Creative Imagery and Advanced Digital Techniques
High Dynamic Range Photography  Official Portraiture
Combined darkroom  digital creations
 Systems Adminstrator for the vizion2000.net network
___
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: ImageMagick, Djvu, and Perl-threaded - marked as IGNORE when updating

2010-12-28 Thread David Southwell
   On 12/27/10, David Southwell da...@vizion2000.net wrote:
On 12/27/10, David Southwell da...@vizion2000.net wrote:
Agreed - but  following Doug's  commit I can vouch that the
PERL_THREADED hack
was still needed  for 7.2 p3 systems on amd64.
   
   It shouldn't be needed.  Can you remove this definition from any
   locally-modified Makefiles, and provide the same information that was
   requested from Da Rock? (Why do I feel like a WWE announcer when I
   type that? ...)
   
   b.
  
  I do not want to rebuild WITHOUT_IMAGEMAGICK_PERL on a running system
  with active user access which needs perl.
  
  Have you got the replies from Da Rock?
 
 Before going any further I would suggest that Da Rock  be advised to update
 his ports tree followed by
 
 # pkgdb -F
 Fix any problems then. If there are any problems he cannot fix at this
 stage then report those. Then:
 
 # portmaster -a or portupgrade -a
 
 
 If he gets any failure which may possibly be linked to a Perl problem he
 should rebuild perl with upward and downward recursion. e.g
 #portupgrade -rR lang/perl5.8
 
 Until that is completed any other report could send us off on a wild goose
 chase.
 
 My twopennorth
 
 I can do what you suggested when we have a report from Da Rock with his 
results from a system with thoroughly updated ports. My guess is that his 
probs will be solved by the above.

David


Photographic Artist
Permanent Installations  Design
Creative Imagery and Advanced Digital Techniques
High Dynamic Range Photography  Official Portraiture
Combined darkroom  digital creations
 Systems Adminstrator for the vizion2000.net network
___
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: ImageMagick, Djvu, and Perl-threaded - marked as IGNORE when updating

2010-12-27 Thread David Southwell
 On 12/27/10 01:05, Roland Smith wrote:
  On Sun, Dec 26, 2010 at 11:42:37PM +1000, Da Rock wrote:
 Something I'm missing here? A fix would be nice, I should be used
 to it though- ImageMagick _always_ has issues for me. I just
 thought it'd be nice to get it updated for once- it looked so
 close :)

I'm getting something similar, have been for a couple of weeks:
  ** Port marked as IGNORE: graphics/ImageMagick:
OpenEXR requires threads. . Perl is non-threaded. Reinstall Perl with
threads or undefine WITH_IMAGEMAGICK_PERL
  
  ** Listing the failed packages (-:ignored / *:skipped / !:failed)
  
- graphics/ImageMagick (marked as IGNORE)

(Follow-ups redirected to ports@, or I tried to.)
  
  Hmm. I'm not alone then. I'll do some poking then and see what comes
  up... :)
  
  Any hints guys?
  
  Try building ImageMagick without perl support. Works for me, with EXR,
  but haven't tested with Djvu;
  
   cd /usr/ports/graphics/ImageMagick
   make config
   
┌──
──┐ │ Options for ImageMagick 6.6.5.10 
 │ │
┌^(-)┐
│
   
   ...
   
│ │[X] IMAGEMAGICK_OPENEXR  OpenEXR support (needs threads)   
│ │ │ │[X] IMAGEMAGICK_OPENMP   OpenMP for SMP (needs threads)
│ │ │ │[ ] IMAGEMAGICK_PDF  PDF format support
│ │ │ │[ ] IMAGEMAGICK_PERL Perl support  
│ │
   
   ...
  
  Roland
 
 ImageMagick is already installed, so getting something to work is not a
 problem. Its updating it...
 
 What concerns me is perl-threaded _is_ installed but it can't see it.
Do you have in:
etc/make.conf
PERL_THREADED=true
??

David
Photographic Artist
Permanent Installations  Design
Creative Imagery and Advanced Digital Techniques
High Dynamic Range Photography  Official Portraiture
Combined darkroom  digital creations
 Systems Adminstrator for the vizion2000.net network
___
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: ImageMagick, Djvu, and Perl-threaded - marked as IGNORE when updating

2010-12-27 Thread David Southwell
 On 12/27/10 20:22, David Southwell wrote:
   On 12/27/10 01:05, Roland Smith wrote:
On Sun, Dec 26, 2010 at 11:42:37PM +1000, Da Rock wrote:
Something I'm missing here? A fix would be nice, I should be used

to it though- ImageMagick _always_ has issues for me. I just

thought it'd be nice to get it updated for once- it looked so

close :)

I'm getting something similar, have been for a couple of weeks:

** Port marked as IGNORE: graphics/ImageMagick:

OpenEXR requires threads. . Perl is non-threaded. Reinstall Perl
  
  with
  
threads or undefine WITH_IMAGEMAGICK_PERL



** Listing the failed packages (-:ignored / *:skipped / !:failed)



- graphics/ImageMagick (marked as IGNORE)



(Follow-ups redirected to ports@, or I tried to.)

Hmm. I'm not alone then. I'll do some poking then and see what comes

up... :)



Any hints guys?

Try building ImageMagick without perl support. Works for me, with
EXR,

but haven't tested with Djvu;



cd /usr/ports/graphics/ImageMagick

make config



┌──

──┐ │ Options for ImageMagick 6.6.5.10

│ │

┌^(-)┐

│



...



│ │[X] IMAGEMAGICK_OPENEXR OpenEXR support (needs threads)

│ │ │ │[X] IMAGEMAGICK_OPENMP OpenMP for SMP (needs threads)

│ │ │ │[ ] IMAGEMAGICK_PDF PDF format support

│ │ │ │[ ] IMAGEMAGICK_PERL Perl support

│ │



...



Roland
   
   ImageMagick is already installed, so getting something to work is not a
   
   problem. Its updating it...
   
   
   
   What concerns me is perl-threaded _is_ installed but it can't see it.
  
  Do you have in:
  
  etc/make.conf
  
  PERL_THREADED=true
 
 Perhaps I'm a little daft atm. Either way I want to be clear: Are you
 saying the define needs to be in the make.conf so that it will build
 correctly? It _does not_ actually look at what perl is installed?
 
 IF that is the case, then wtf? Either ImageMagick should be checking the
 actual pkg installed, or the perl port should be defining this in the
 make.conf, right? Seeing as perl already makes a define in make.conf...
 
 Meanwhile I'll check it out. Cheers
Yep you need that line in make.conf

Also are ALL your ports up to date?
I cannot remember when but there was a recent patch to fix the problem you 
describe. When you have that line in make.conf you may need to recompile perl 
and all ports that depend upon it.

David

Photographic Artist
Permanent Installations  Design
Creative Imagery and Advanced Digital Techniques
High Dynamic Range Photography  Official Portraiture
Combined darkroom  digital creations
 Systems Adminstrator for the vizion2000.net network
___
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: ImageMagick, Djvu, and Perl-threaded - marked as IGNORE when updating

2010-12-27 Thread David Southwell
 What concerns me is perl-threaded _is_ installed but it can't see
 it.

Do you have in:

etc/make.conf

PERL_THREADED=true
   
   Perhaps I'm a little daft atm. Either way I want to be clear: Are you
   saying the define needs to be in the make.conf so that it will build
   correctly? It _does not_ actually look at what perl is installed?
   
   IF that is the case, then wtf? Either ImageMagick should be checking
   the actual pkg installed, or the perl port should be defining this in
   the make.conf, right? Seeing as perl already makes a define in
   make.conf...
   
   Meanwhile I'll check it out. Cheers
  
  Yep you need that line in make.conf
 
 Who made this claim?  This is not some standard, user-configurable
 knob -- it is only used by 5 ports, and each of them assigns a value
 to it in the port Makefile.  It shouldn't be set in make.conf.  As for
 why it isn't working in Da Rock's case, he hasn't answered any of the
 questions I asked him earlier.
 
 b.
I suggest you see an earlier thread on same topic [ImageMagick Upgrade 
Problem].
I also wonder if the OP's ports tree is up to date.

David

Photographic Artist
Permanent Installations  Design
Creative Imagery and Advanced Digital Techniques
High Dynamic Range Photography  Official Portraiture
Combined darkroom  digital creations
 Systems Adminstrator for the vizion2000.net network
___
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: ImageMagick, Djvu, and Perl-threaded - marked as IGNORE when updating

2010-12-27 Thread David Southwell
 On 12/27/10, David Southwell da...@vizion2000.net wrote:
  What concerns me is perl-threaded _is_ installed but it can't
  see it.
 
 Do you have in:
 
 etc/make.conf
 
 PERL_THREADED=true

Perhaps I'm a little daft atm. Either way I want to be clear: Are
you saying the define needs to be in the make.conf so that it will
build correctly? It _does not_ actually look at what perl is
installed?

IF that is the case, then wtf? Either ImageMagick should be checking
the actual pkg installed, or the perl port should be defining this
in the make.conf, right? Seeing as perl already makes a define in
make.conf...

Meanwhile I'll check it out. Cheers
   
   Yep you need that line in make.conf
  
  Who made this claim?  This is not some standard, user-configurable
  knob -- it is only used by 5 ports, and each of them assigns a value
  to it in the port Makefile.  It shouldn't be set in make.conf.  As for
  why it isn't working in Da Rock's case, he hasn't answered any of the
  questions I asked him earlier.
  
  I suggest you see an earlier thread on same topic [ImageMagick Upgrade
  Problem].
 
 That thread (I'm assuming you're referring to the one in Nov. on
 FreeBSD-ports) is no longer relevant after Doug's commit (which was
 announced in that thread):

That was why I wondered whether all the OP's ports are up to date. 
 
 http://www.freebsd.org/cgi/cvsweb.cgi/ports/graphics/ImageMagick/Makefile.d
 iff?r1=1.313;r2=1.314
 
 The suggestion that users set that variable was a temporary hack that
 should never have been needed, were it not for the earlier problems
 with the port, which have since been resolved (in part, anyway).
 PERL_THREADED should only be defined when it is used, and should
 record whether the perl port being used is threaded, and not some
 user-selected value.
 
Agreed - but  following Doug's  commit I can vouch that the PERL_THREADED hack 
was still needed  for 7.2 p3 systems on amd64.

 The questions I originally asked were in:
 
 http://lists.freebsd.org/pipermail/freebsd-questions/2010-December/225501.h
 tml

The current thread did not make that clear.
 
 (This thread is a little hard to follow because it's spread between
 two lists, -questions and -ports, with some replies not being sent to
 -ports.)
 
  I also wonder if the OP's ports tree is up to date.
 
 That's a good question.  He mentioned that he was updating a lot of
 ports, so I'm assuming that it is, but it's something that he should
 check.
 
His comments made me wonder :-;


Photographic Artist
Permanent Installations  Design
Creative Imagery and Advanced Digital Techniques
High Dynamic Range Photography  Official Portraiture
Combined darkroom  digital creations
 Systems Adminstrator for the vizion2000.net network
___
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


text wrapping console type size etc

2010-11-09 Thread David Southwell
Hi

How can one control output to the console. Using a console window on an X 
windows system with kde4 I find the output limited to a line of 179 chars 
which can be really inconvenient. Even when, for example:

# ps -aux myfile
any chars beyond an apparent column limit of 179 are dropped and not 
transferred to the file.

How is the chars per line limit altered?
How does one enable console windows to wrap lines? 
How does one increase decrease type size for consoles?

Thanks in advance
david



Photographic Artist
Permanent Installations  Design
Creative Imagery and Advanced Digital Techniques
High Dynamic Range Photography  Official Portraiture
Combined darkroom  digital creations
 Systems Adminstrator for the vizion2000.net network
___
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: portupgrade command line option -f problem

2010-10-15 Thread David Southwell
  On Wed, 13 Oct 2010 13:24:26 +0100
  
  David Southwell da...@vizion2000.net wrote:
Tried that but no good - it still seems to goof up. I recall it used
   
   to work many versions ago but it may not have been picked up on a
   regression test.
  
  It works for me. Which port is it failing on
 
 portupgrade -frR apache22
 
 does not rebuild apache modules
 
 david
 
Should have mentioned this is after  adding
WITH_OPENSSL_FROM_PORTS=yes
to make.conf.

This change requires a rebuild of apache modules.

david
Photographic Artist
Permanent Installations  Design
Creative Imagery and Advanced Digital Techniques
High Dynamic Range Photography  Official Portraiture
Combined darkroom  digital creations
 Systems Adminstrator for the vizion2000.net network
___
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: portupgrade command line option -f problem

2010-10-14 Thread David Southwell
 On Wed, 13 Oct 2010 13:24:26 +0100
 
 David Southwell da...@vizion2000.net wrote:
   Tried that but no good - it still seems to goof up. I recall it used
  
  to work many versions ago but it may not have been picked up on a
  regression test.
 
 It works for me. Which port is it failing on
portupgrade -frR apache22

does not rebuild apache modules

david


Photographic Artist
Permanent Installations  Design
Creative Imagery and Advanced Digital Techniques
High Dynamic Range Photography  Official Portraiture
Combined darkroom  digital creations
 Systems Adminstrator for the vizion2000.net network
___
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


portupgrade command line option -f problem

2010-10-13 Thread David Southwell
Hi

man portupgrade advises:

-f
 --forceForce the upgrade of a package even if it is to be
a downgrade or just a reinstall of the same ver-
sion, or the port is held by user using the
HOLD_PKGS variable in pkgtools.conf.

In practice on freebsd 7.2 p3 amd generic I find that uptodate packages are 
excluded!
[Exclude up-to-date packages 
[done]

Whereas I wish to have all identified packages rebuilt even if they are shown 
as being up to date. This may be necessary if, for example, a change has been 
made to make.conf which affects ports might have an up to date version but 
were compiled prior to the changes in make.conf.

Unless I am mistaken it seems as though the -f option not produce results I 
expect after reading the man page.

David

Photographic Artist
Permanent Installations  Design
Creative Imagery and Advanced Digital Techniques
High Dynamic Range Photography  Official Portraiture
Combined darkroom  digital creations
 Systems Adminstrator for the vizion2000.net network
___
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: portupgrade command line option -f problem

2010-10-13 Thread David Southwell
 On Wed, 13 Oct 2010 10:14:30 +0100
 
 David Southwell da...@vizion2000.net wrote:
  Hi
  
  man portupgrade advises:
  -f
  
   --forceForce the upgrade of a package even if it
  
  is to be a downgrade or just a reinstall of the same ver-
  
  sion, or the port is held by user using
  
  the HOLD_PKGS variable in pkgtools.conf.
  
  In practice on freebsd 7.2 p3 amd generic I find that uptodate
  packages are excluded!
  [Exclude up-to-date packages 
  [done]
 
 I think it's misleading, in my experience it does then go on to
 reinstall the ports. If nothing gets rebuilt try specifying the full
 package name or the origin.

Tried that but no good - it still seems to goof up. I recall it used to work 
many versions ago but it may not have been picked up on a regression test.

David


Photographic Artist
Permanent Installations  Design
Creative Imagery and Advanced Digital Techniques
High Dynamic Range Photography  Official Portraiture
Combined darkroom  digital creations
 Systems Adminstrator for the vizion2000.net network
___
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


ssl problems

2010-10-07 Thread David Southwell

I have been having trouble with apache server which has ceased loading and 
other ports which have some dependency on openssl. I believe the problem may 
be due to some kind of ssl conflict but do not know how to recognise the cause 
or go about identifying and curing the problem.

System: freebsd 7.2 amd p3 generic quad core on intel

If I run ssl the response from the version shows 0.9.8e 23 Feb 2007.

OpenSSL version
OpenSSL 0.9.8e 23 Feb 2007
Pkg _ info reports:

dns1# pkg_info -o '*ssl*'
Information for dsssl-docbook-modular-1.79_1,1:

Origin:
textproc/dsssl-docbook-modular

Information for linux-openssl-0.9.7f_2:

Origin:
security/linux-openssl

Information for openssl-1.0.0_2:

Origin:
security/openssl

Information for php5-openssl-5.3.3_2:

Origin:
security/php5-openssl

Information for py26-openssl-0.10:

Origin:
security/py-openssl

Information for qca-ossl-2.0.0.b3_4:

Origin:
security/qca-ossl

Attempting to load the apache server monitoring with ktrace:
dns1# ktrace /usr/local/sbin/apachectl start
Apache/2.2.16 mod_ssl/2.2.16 (Pass Phrase Dialog)
Some of your private key files are encrypted for security reasons.
In order to read them you have to provide the pass phrases.

Server www.vizion2000.net:443 (RSA)
Enter pass phrase:

OK: Pass Phrase Dialog successful.
dns1# kdump ktrace_kdump_03
at the end of the kdump file I see the attempt to load fails as follows:
 12759 sh   RET   getrlimit 0
 12759 sh   CALL  setrlimit(RLIMIT_RSS,0x7fffdd20)
 12759 sh   RET   setrlimit 0
 12759 sh   CALL  getrlimit(RLIMIT_MEMLOCK,0x7fffddb0)
 12759 sh   RET   getrlimit 0
 12759 sh   CALL  setrlimit(RLIMIT_MEMLOCK,0x7fffddb0)
 12759 sh   RET   setrlimit 0
 12759 sh   CALL  getrlimit(RLIMIT_NPROC,0x7fffde40)
 12759 sh   RET   getrlimit 0
 12759 sh   CALL  setrlimit(RLIMIT_NPROC,0x7fffde40)
 12759 sh   RET   setrlimit 0
 12759 sh   CALL  getrlimit(RLIMIT_NOFILE,0x7fffded0)
 12759 sh   RET   getrlimit 0
 12759 sh   CALL  setrlimit(RLIMIT_NOFILE,0x7fffded0)
 12759 sh   RET   setrlimit 0
 12759 sh   CALL  getrlimit(RLIMIT_SBSIZE,0x7fffdf60)
 12759 sh   RET   getrlimit 0
 12759 sh   CALL  setrlimit(RLIMIT_SBSIZE,0x7fffdf60)
 12759 sh   RET   setrlimit 0
 12759 sh   CALL  getrlimit(RLIMIT_VMEM,0x7fffdff0)
 12759 sh   RET   getrlimit 0
 12759 sh   CALL  setrlimit(RLIMIT_VMEM,0x7fffdff0)
 12759 sh   RET   setrlimit 0
 12759 sh   CALL  dup2(0xb,0x1)
 12759 sh   RET   dup2 1
 12759 sh   CALL  close(0xb)
 12759 sh   RET   close 0
 12759 sh   CALL  dup2(0xc,0x2)
 12759 sh   RET   dup2 2
 12759 sh   CALL  close(0xc)
 12759 sh   RET   close 0
 12759 sh   CALL  getrlimit(RLIMIT_NOFILE,0x7fffe260)
 12759 sh   RET   getrlimit 0
 12759 sh   CALL  setrlimit(RLIMIT_NOFILE,0x7fffe260)
 12759 sh   RET   setrlimit 0
 12759 sh   CALL  read(0xa,0x5204c0,0x3ff)
 12759 sh   GIO   fd 10 read 380 bytes
is no longer supported.
echo Please edit httpd.conf to include the SSL configuration 
settings
echo and then use apachectl start.
ERROR=2
;;
configtest)
$HTTPD -t
ERROR=$?
;;
status)
$LYNX $STATUSURL | awk ' /process$/ { print; exit } { print } '
;;
fullstatus)
$LYNX $STATUSURL
;;
*)
$HTTPD $ARGV
ERROR=$?
esac

exit $ERROR

   
 12759 sh   RET   read 380/0x17c
 12759 sh   CALL  fork
 12759 sh   RET   fork 12762/0x31da
 12759 sh   CALL  getpgrp
 12759 sh   RET   getpgrp 12759/0x31d7
 12759 sh   CALL  wait4(0x,0x7fffe1cc,WUNTRACED,0)
 12759 sh   RET   wait4 12762/0x31da
 12759 sh   CALL  exit(0)

Please ask for further info.

Thanks in advance
David

  

Photographic Artist
Permanent Installations  Design
Creative Imagery and Advanced Digital Techniques
High Dynamic Range Photography  Official Portraiture
Combined darkroom  digital creations
 Systems Adminstrator for the vizion2000.net network
___
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


TCP Logs Why Connection attempt to closed port

2010-09-20 Thread David Southwell

Large quantities of these errors constantly appear in log/dmesg.today.

Can anyone explain what is going on and whether any action is needed. If so 
how to go about tracing the cause.

Thanks in advance for any guidance

David
TCP: [::1]:61570 to [::1]:4713 tcpflags 0x2SYN; tcp_input: Connection 
attempt to closed port
TCP: [127.0.0.1]:62307 to [127.0.0.1]:4713 tcpflags 0x2SYN; tcp_input: 
Connection attempt to closed port

Photographic Artist
Permanent Installations  Design
Creative Imagery and Advanced Digital Techniques
High Dynamic Range Photography  Official Portraiture
Combined darkroom  digital creations
 Systems Adminstrator for the vizion2000.net network
___
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


Browser choices flash

2010-09-08 Thread David Southwell
Hi
One of our freebsd systems is a user terminal with desktop. We have constant 
difficulties with web browsing on that platform. Here is the data

1. INFO:
System:
freebsd 7.2-RELEASE-p3 - GENERIC  amd64
Desktop:
kde4.5.1
Current installed web browser stuff:
konqueror 4.5.1
epiphany-2.30.2_1   
firefox-3.5.11,1
flashplugin-mozilla-0.4.13_5 A GPL standalone Flash (TM) plugin for Mozilla 
web browser
kwebkitpart-0.9.6.b1_1 Web browser component for KDE based on QtWebKit
links-0.98,1Lynx-like text WWW browser
seamonkey-2.0.6 The open source, standards compliant web browser
w3m-0.5.2_4 A pager/text-based WWW browser
webkit-gtk2-1.2.3   An opensource browser engine

2. PROBLEMS
Frequent crashing of all available browsers - seems to be flash related.

3. ADVICE PLEASE
Most reliable browser combination and recomendations of specific port 
combinations which can deliver reliable browsing including flash capability. 

Thanks in advance

Photographic Artist
Permanent Installations  Design
Creative Imagery and Advanced Digital Techniques
High Dynamic Range Photography  Official Portraiture
Combined darkroom  digital creations
 Systems Adminstrator for the vizion2000.net network
___
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


Hi - identifying cause of crash - a how to please

2010-03-02 Thread David Southwell
Hi

I have a specific situation which causes a system crash on freebsd 7.2 p3 
amd64 on intel quad core.  Can someone teach me how to trace the cause? 

The crash is repeatable in the following circumstances:


(a) User logs in
(b) % startx
(c) kde4 loads and works the session
(d) user logs out x session terminates.
(e) user attempts to start a new x session with:
(f) % startx
(g) system crashes immediately

System requires rebooting to single user mode. Run fsck -y and then go 
multiuser. Whereupon the cycle can be repeated.


This event did not occur until kde was upgraded to kde 4.3.5.

The video card is a winfast PX7800GT providing openGL with dual DVI. The crash  
problem was not present before upgrading to 3.4.5 so whilst not ruling out the 
card I am not assuming it is the video card.

It would be helpful if the procedure could be identified clearly. I will post 
the results available on the web so someone who knows how to interpret them 
could take a look.

Finally should I be asking this question on another maillist?

Photographic Artist
Permanent Installations  Design
Creative Imagery and Advanced Digital Techniques
High Dynamic Range Photography  Official Portraiture
Combined darkroom  digital creations
 Systems Adminstrator for the vizion2000.net network
___
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: Expect questions?

2010-03-02 Thread David Southwell
 What would be the right list for questions about expect?  When I
 upgraded from FreeBSD 4.x to 8.0, my expect script broke, and I
 cannot for the life of me see why.
 
Odd though it may seem you might find the newsgroup:

comp.lang.tcl 

This is the place to go with expect questions. Tcl is the core language fro 
expect. Learn one you know the  other!!

david

Photographic Artist
Permanent Installations  Design
Creative Imagery and Advanced Digital Techniques
High Dynamic Range Photography  Official Portraiture
Combined darkroom  digital creations
 Systems Adminstrator for the vizion2000.net network
___
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: Hi - identifying cause of crash - a how to please

2010-03-02 Thread David Southwell
 David Southwell wrote:
  Hi
 
  I have a specific situation which causes a system crash on freebsd 7.2 p3
  amd64 on intel quad core.  Can someone teach me how to trace the cause?
 
  The crash is repeatable in the following circumstances:
 
 
  (a) User logs in
  (b) % startx
  (c) kde4 loads and works the session
  (d) user logs out x session terminates.
  (e) user attempts to start a new x session with:
  (f) % startx
  (g) system crashes immediately
 
  System requires rebooting to single user mode. Run fsck -y and then go
  multiuser. Whereupon the cycle can be repeated.
 
 
  This event did not occur until kde was upgraded to kde 4.3.5.
 
  The video card is a winfast PX7800GT providing openGL with dual DVI. The
  crash problem was not present before upgrading to 3.4.5 so whilst not
  ruling out the card I am not assuming it is the video card.
 
  It would be helpful if the procedure could be identified clearly. I will
  post the results available on the web so someone who knows how to
  interpret them could take a look.
 
  Finally should I be asking this question on another maillist?
 
 This is a good place to start, and if someone knows a better spot it will
 probably be indicated. I can't give you an in depth response, but maybe
 something to start with. The Kernel Debugging section of the Developer's
 Handbook may serve as an introduction to a few basics:
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/
 
 You can also start right away by examining the .xsession-errors file you
 will find in the users home directory. Also, in /var/log look for the
 Xorg.0.log and Xorg.0.log.old. After restarting from a crash, if you startx
 the first one will only contain info on that startup; the second one (.old)
 may contain some info on what happened at the time of the previous crash,
  if it is indeed the X server crashing. Sometimes any errors to stdout may
  appear in /var/log/messages.
 
 Sometimes there may be informative error messages present which can be
 Googled, and other times nothing useful. The same with the .xsession-errors
 file - it usually contains information relevant to the applications which
 were running on top of X.
 
 If you are running the nvidia driver and see some evidence that it may be
 responsible for the crash, you could try substituting the nv driver as a
 test. This might help isolate the problem to the nvidia driver. But where
  to go from here is a good question. Sometimes if there is some problem wrt
  the nvidia driver after some kind of upgrade doing a make, make deinstall,
  and make reinstall of the nvidia driver port occasionally fixes something,
  but this is a long shot.
 
 Nvidia also has a web forum you might hunt around in. Also, if you are
  doing startx to start KDE with a .xinitrc file in the users home dir (with
  startkde in here), try it without so the default TWM window manager comes
  up instead of KDE. Then do the restart test and see if it crashes.  This
  is a good way to separate the problem from being X related and/or KDE
  related.
 
 -Mike
 
Thanks mike
Will give all that a go.

Incidentally found no.xsession-errors in user's directory.


Photographic Artist
Permanent Installations  Design
Creative Imagery and Advanced Digital Techniques
High Dynamic Range Photography  Official Portraiture
Combined darkroom  digital creations
 Systems Adminstrator for the vizion2000.net network
___
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


/etc/hosts.deniedssh

2010-01-18 Thread David Southwell
Examples from hosts.deniedssh
I seem to be on the receiving end of a concerted series of unsuccessful break 
in attacks on one of our systems. One small part of the attack has  resulted 
in over 2000 entries in our hosts.deniedssh file in less than 1 hour. 

I would be interested in any comments on the small example shown below and any 
advice.

Thanks in advance

David
r200-40-132-245.static.adinet.com.uy
mail.munisanmiguel.gob.pe
port-83-236-241-198.static.qsc.de
pd95b50ce.dip0.t-ipconnect.de
v32641.1blu.de
dubovik.net
r200-40-132-245.static.adinet.com.uy
mail.munisanmiguel.gob.pe
port-83-236-241-198.static.qsc.de
pd95b50ce.dip0.t-ipconnect.de
v32641.1blu.de
dubovik.net
r200-40-132-245.static.adinet.com.uy
mail.munisanmiguel.gob.pe
port-83-236-241-198.static.qsc.de
pd95b50ce.dip0.t-ipconnect.de
v32641.1blu.de
dubovik.net
r200-40-132-245.static.adinet.com.uy
mail.munisanmiguel.gob.pe
port-83-236-241-198.static.qsc.de
pd95b50ce.dip0.t-ipconnect.de
v32641.1blu.de
dubovik.net
r200-40-132-245.static.adinet.com.uy
mail.munisanmiguel.gob.pe
port-83-236-241-198.static.qsc.de
pd95b50ce.dip0.t-ipconnect.de
v32641.1blu.de
dubovik.net
r200-40-132-245.static.adinet.com.uy
mail.munisanmiguel.gob.pe
port-83-236-241-198.static.qsc.de
pd95b50ce.dip0.t-ipconnect.de
v32641.1blu.de
dubovik.net
r200-40-132-245.static.adinet.com.uy
mail.munisanmiguel.gob.pe
port-83-236-241-198.static.qsc.de
pd95b50ce.dip0.t-ipconnect.de
v32641.1blu.de
dubovik.net
r200-40-132-245.static.adinet.com.uy
___
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


syncache_timer: errors; What do they mean?

2010-01-11 Thread David Southwell
Here are some example entries in /var/log/messages (server ip address removed 
and replaced by [xxx.xxx.xxx.xxx] :

Can anyone please tell me what thses messages mean and what action (if any) I 
should be taking.
Thanks in advance for any replies
Jan 11 10:41:57 dns1 kernel: TCP: [113.53.173.247]:63584 to 
[xxx.xxx.xxx.xxx]:25; syncache_timer: Response timeout, retransmitting (1) 
SYN|ACK
Jan 11 10:42:01 dns1 kernel: TCP: [113.53.173.247]:63429 to 
[xxx.xxx.xxx.xxx]:25; syncache_timer: Response timeout, retransmitting (2) 
SYN|ACK
Jan 11 10:42:03 dns1 kernel: TCP: [113.53.173.247]:63584 to 
[xxx.xxx.xxx.xxx]:25; syncache_timer: Response timeout, retransmitting (2) 
SYN|ACK
Jan 11 10:42:13 dns1 kernel: TCP: [113.53.173.247]:63429 to 
[xxx.xxx.xxx.xxx]:25; syncache_timer: Response timeout, retransmitting (3) 
SYN|ACK
Jan 11 10:42:16 dns1 kernel: TCP: [113.53.173.247]:63584 to 
[xxx.xxx.xxx.xxx]:25; syncache_timer: Response timeout, retransmitting (3) 
SYN|ACK

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


Re: syncache_timer: errors; What do they mean?

2010-01-11 Thread David Southwell
 David Southwell wrote:
  Here are some example entries in /var/log/messages (server ip address
  removed and replaced by [xxx.xxx.xxx.xxx] :
 
  Can anyone please tell me what thses messages mean and what action (if
  any) I should be taking.
  Thanks in advance for any replies
  Jan 11 10:41:57 dns1 kernel: TCP: [113.53.173.247]:63584 to
  [xxx.xxx.xxx.xxx]:25; syncache_timer: Response timeout, retransmitting
  (1) SYN|ACK
  Jan 11 10:42:01 dns1 kernel: TCP: [113.53.173.247]:63429 to
  [xxx.xxx.xxx.xxx]:25; syncache_timer: Response timeout, retransmitting
  (2) SYN|ACK
  Jan 11 10:42:03 dns1 kernel: TCP: [113.53.173.247]:63584 to
  [xxx.xxx.xxx.xxx]:25; syncache_timer: Response timeout, retransmitting
  (2) SYN|ACK
  Jan 11 10:42:13 dns1 kernel: TCP: [113.53.173.247]:63429 to
  [xxx.xxx.xxx.xxx]:25; syncache_timer: Response timeout, retransmitting
  (3) SYN|ACK
  Jan 11 10:42:16 dns1 kernel: TCP: [113.53.173.247]:63584 to
  [xxx.xxx.xxx.xxx]:25; syncache_timer: Response timeout, retransmitting
  (3) SYN|ACK
 
 What is happening is this: host 113.53.173.247 (which appears to be
 somewhere in Thailand) is trying to connect to port 25 on your machine.
 [I guess it's probably trying to spam you.]
 
 Now, the very first packet sent to establish a TCP connection is known
 as the 'SYN' packet -- that's because it has the Syn bit set in the
 options bitmap.  That comes from the remote system (as  it is trying to
 connect to you.) Your machine is receiving that OK.
 
 The next step is for your machine to respond, sending a SYNACK packet
 back to the remote machine (Yes: you guessed it: this has both the Syn
 and the Ack bits set in the packet options).  Your machine is sending
 these packets off OK, but here is where it is all going horribly wrong.
 
 Your machine never receives the 3rd packet back from the originating
 machine -- which is just an ACK packet -- to say it received the response.
 So it logs the message you've seen and tries again.  After a certain
 number of retries, it will give up on the attempted connection, clear
 out any allocated memory and go back to a quiescent state just listening
 for new incoming connections.
 
 Unless all three of these packets make it to and fro, the TCP connection
 has not been properly set up.  This process is described as the Three
 way handshake -- unless that succeeds do data can flow across the
  connection, so if this is an attempt to spam you, it's going to be
  singularly ineffective.
 
 Chances are, you've run into a badly configured firewall, or a broken
 spam-bot, which is causing packets to disappear from the wire. It /might/
 possibly be an attempt to DoS you by filling up various kernel memory
 structures allocated to managing TCP connection state, but judging by the
 time chops on the log extract you've shown, the other side would need to
 be sending orders of magnitude more traffic in order to beeffective.
 
 Given this is too low intensity to have much effect on your machine, you
 can simply do nothing and ignore the log messages: it will clear itself up
 given enough time.  Otherwise, a firewall rule to drop traffic from the
 offending source will help reduce the noise level.
 
 On the vanishingly remote chance that this really is a valid SMTP peer of
 yours, you'ld need to contact them out of band and try and work out where
 the traffic is being blocked and what to do about it.
 
   Cheers,
 
   Matthew
Thanks Mathew -- very well described..even I can understand it chuckles

I did not mention I am running freebsd 7.2 p3. I use sshguard and denyhosts 
and  blackhole. I have the:

sshd : PARANOID : deny

set in /etc/hosts.allow
and wonder if the above combination could somehow be connected with the 
messages.

I get some interesting messages sequences like this:

Jan 11 12:40:09 dns1 kernel: TCP: [200.199.44.147]:22093 to 
[xxx.xxx.xxx.xxx]:139 tcpflags 0x18PUSH,ACK; tcp_do_segment: FIN_WAIT_1: 
Received 76 bytes of data after socket was closed, sending RST and removing 
tcpcb
Jan 11 12:40:11 dns1 kernel: TCP: [200.199.44.147]:22093 to 
[xxx.xxx.xxx.xxx]:139 tcpflags 0x10ACK; syncache_expand: Segment failed 
SYNCOOKIE authentication, segment rejected (probably spoofed)
Jan 11 12:40:11 dns1 kernel: TCP: [200.199.44.147]:22093 to 
[xxx.xxx.xxx.xxx]:139 tcpflags 0x4RST; syncache_chkrst: Spurious RST without 
matching syncache entry (possibly syncookie only), segment ignored
Jan 11 12:40:14 dns1 kernel: TCP: [200.199.44.147]:9 to 
[xxx.xxx.xxx.xxx]:445 tcpflags 0x2SYN; tcp_input: Connection attempt to 
closed port

From what are clear spoofing initiatives

Thanks again

David

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


Re: denying spam hosts ssh access - good idea?

2010-01-11 Thread David Southwell
 I'm thinking of denying ssh access to host from which
 I get brute force ssh attacks.
 
 HOwever, I see in /etc/hosts.allow:
 
 # Wrapping sshd(8) is not normally a good idea, but if you
 # need to do it, here's how
 #sshd : .evil.cracker.example.com : deny
 
 Why is it not a good idea?
 
 Also, apparently in older ssh there was DenyHosts option,
 but no longer in the current version.
 Is there a replacement for DenyHOsts?
 Or is there a good reason for such option not to be used?
 
 many thanks
 anton
 
I use denyhosts ( /usr/ports/security/denyhosts ) works well for me. I also 
use blackhole and sshguard

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


Re: Root exploit for FreeBSD

2009-12-12 Thread David Southwell
 2009/12/11 Kevin Oberman ober...@es.net:
  Date: Fri, 11 Dec 2009 08:49:42 +
  From: Matthew Seaman m.sea...@infracaninophile.co.uk
  Sender: owner-freebsd-curr...@freebsd.org
 
  Polytropon wrote:
   On Fri, 11 Dec 2009 01:42:36 -0600, Sam Fourman Jr. 
sfour...@gmail.com wrote:
   I have tried looking around and OpenBSD appears to be the undisputed
   #1 track record in terms of security and FreeBSD is #2 (I didn't
   count dragonflyBSD)
  
   VMS would be #0, then? :-)
 
  I dunno.  Haven't seen many MS-DOS exploits recently either...
 
  I'm sure that there are systems happily running MSDOS, but I bet not too
  many are networked.
 
  I know that there is still a lot of VMS out there and that it has
  remained a cash cow for HP. It lived on primarily in the banking and
  financial sector, though I guess the use is dropping since HP recently
  outsourced support to India and that lead to the retirement of the last
  of the original VMS developers, Andy Goldstein.
 
  Also, the the end of TECO as Andy was responsible for porting it to
  almost every platform DEC ever sold (RSX, RSTS, VMS, TOPS-10 and
  TOPS-20, RT-11, and several others) and continued to maintain it until
  his retirement. (Most readers of this list probably don't even remember
  TECO.)
 
  And, for may years VMS had major network security problems, especially
  the infamous default DECNET/DECNET account that lead to may compromises
  and the second major network worm, Worms Against Nuclear Killers. (I
  won't use the acronym so as not to offend our British readers. I found
  out about that when the BBC interviewed me about it and I was told that
  I could not utter the word.)
 
 Wow, I didn't know your side don't use that word... I thought I knew
 about all the stereotypically British ones!
 
 Do you guys have any curses or insults at all???
 
 Chris
 
I ran a radio show in the states - the language restrictions there 
ww were they strict!!

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


CUPS laserjet 2200dn with Jetdirect 610N on network - one remaining problem

2009-12-10 Thread David Southwell
Hi All

Thank you everyone for your help as a result of combined efforts I have 
finally succeeded in getting cups the server to communicate with the printer 
and print. 
HOWEVER!!

One minor niggling problem remains. I cannot communicate with the cups 
management interface on http://localhost:631 due to password authentication 
failure. I try logging in as 'root' with correct root password in the login 
dialogue.

I altered the loglevel to debug and the output is at the end of the email.

It seems as though the cupsd is not receiving the input (probably due to some 
config error on my part!). I have tried using a number of different browsers 
but get the same result.

Prior to testing I did:

dns1# lppasswd -g wheel -a root
The standard cups error log showed
cupsdAuthorize: pam_start() returned 4 (system error)!

So I raised the loglevel to debug and got the results shown further down.

All the configuration has been done manually.
I restarted cupsd with:

dns1# /usr/local/etc/rc.d/cupsd restart
Stopping cupsd.
Starting cupsd.

 The HP JetDirect Configuration report includes the following info:
___
Model Number: J4169A
Firmware Version: L.20.24

Under TCP/IP we have:
Hostname: [mydevice]
Domain Name: [my_domain].[my_tld]
# The following all show correct entries:
Ip Address:
Subnet Mask:
Default Gateway:
DNS Server:
__
End of jetDirect config info:


 The beast is printing.

Cups is running:

dns1# ps -aux |grep cupsd
root   40253  0.0  0.1 27956  5332  ??  Is1:01PM   0:00.02 
/usr/local/sbin/cupsd -C /usr/local/etc/cups/cupsd.conf

dns1# cat /usr/local/etc/cups/cupsd.conf
   
#   
   
# $Id: cupsd.conf.in 8805 2009-08-31 16:34:06Z mike $ 
   
#   
   
# Sample configuration file for the CUPS scheduler.  See man cupsd.conf for 
a
# complete description of this file.
   
#   
   

# Log general information in error_log - change warn to debug
# for troubleshooting... 
LogLevel warn

# Administrator user group...
SystemGroup wheel


# Only listen for connections from the local machine.
Listen localhost:631 
Listen /var/run/cups.sock

# Show shared printers on the local network.
Browsing On 
BrowseOrder allow,deny  
BrowseAllow all 
BrowseLocalProtocols CUPS   

# Default authentication type, when authentication is required...
DefaultAuthType Basic

# Restrict access to the server...
Location /  

Order Deny, Allow
Deny from All
Allow from 127.0.0.1
Allow from  62.49.197.50
/Location 

# Restrict access to the admin pages...
Location /admin  
AuthType Default   
Require user @SYSTEM   
  Order Deny, Allow
Deny from All  
Allow from 127.0.0.1   
Allow from  62.49.197.50   
/Location

# Restrict access to configuration files...
Location /admin/conf 
  AuthType Default 
  Require user @SYSTEM 
Order Deny, Allow  
Deny from All  
Allow from 127.0.0.1   
Allow from  62.49.197.50   
  Order allow,deny 
/Location

# Set the default printer/job policies...
Policy default 
  # Job-related operations must be done by the owner or an administrator...
  Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs 
Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-
Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-
Current-Job Resume-Job CUPS-Move-Job CUPS-Get-Document  
Require user @OWNER @SYSTEM 
   
Order deny,allow 

Re: CUPS laserjet 2200dn with Jetdirect 610N on network - one remaining problem

2009-12-10 Thread David Southwell
I have had a posting on the Cups list from Michael Sweet msw...@apple.com 
who has suggested the problem is something to do with my pam configuration.
Thanks in advance for further guidance:
 Thanks Michael - it looks as though you may have put your finger on the
 problem -- but I am not certain how to react to it!!! (see below)
 
  On Dec 10, 2009, at 5:34 AM, David Southwell wrote:
   Thanks to some help from people on one of the freebsd lists  I have
   finally succeeded in getting cups the server to communicate with the
   printer and print.
   HOWEVER!!
  
   One minor niggling problem remains. I still cannot communicate with the
   cups management interface on http://localhost:631 due to password
   authentication failure. So the title of this thread is still very
   relevant.
  
   Thanks in advance for any help with the problem.
  
   To bring readers up to date:
  
   I try logging in as 'root' with correct root password in the login
   dialogue.
  
   I altered the loglevel to debug and the output is at the end of this
   post.
  
   It seems as though the cupsd is not receiving the input (probably due
   to some config error on my part!). I have tried using a number of
   different browsers but get the same result.
  
   Prior to testing I did:
  
   dns1# lppasswd -g wheel -a root
   The standard cups error log showed
   cupsdAuthorize: pam_start() returned 4 (system error)!
 
  OK, so you have a PAM configuration error most likely - check that the
   /etc/pam.d/cups file is consistent with the other PAM files in
  /etc/pam.d (i.e. using the correct security modules...)
 
 ahahahaha
 There is no /etc/pam.d/cups file !!
 
 There is a
 /usr/local/etc/pam.d/cups
 
 which has the following lines:
 auth  requiredpam_unknown.so nodelay
 account   requiredpam_unknown.so
 
 Shown below is ls -l for each directory!
 
 Wanted --- good model for pam.d/cups and where to put it!!! chuckles
 
 [NB This is a freebsd 7.2 p3 amd64 system with intel quad core.]
 dns1# ls -l /etc/pam.d/
 total 38
 -r--r--r--  1 root  wheel  2907 May  1  2009 README
 -rw-r--r--  1 root  wheel   322 May  1  2009 atrun
 -rw-r--r--  1 root  wheel   199 May  1  2009 cron
 -rw-r--r--  2 root  wheel   547 May  1  2009 ftp
 -rw-r--r--  2 root  wheel   547 May  1  2009 ftpd
 -rw-r--r--  1 root  wheel   467 May  1  2009 gdm_disabled
 -rw-r--r--  1 root  wheel   365 May  1  2009 imap
 -rw-r--r--  1 root  wheel   467 May  1  2009 kde
 -rw-r--r--  1 root  wheel   374 May  1  2009 login
 -rw-r--r--  1 root  wheel   662 May  1  2009 other
 -rw-r--r--  1 root  wheel   319 May  1  2009 passwd
 -rw-r--r--  1 root  wheel   365 May  1  2009 pop3
 -rw-r--r--  1 root  wheel   328 May  1  2009 rsh
 -rw-r--r--  1 root  wheel   739 May  1  2009 sshd
 -rw-r--r--  1 root  wheel   380 May  1  2009 su
 -rw-r--r--  1 root  wheel   705 May  1  2009 system
 -rw-r--r--  1 root  wheel   754 May  1  2009 telnetd
 -rw-r--r--  1 root  wheel   532 May  1  2009 xdm
 
 dns1# ls -l /usr/local/etc/pam.d
 total 16
 -r--r--r--  1 root  wheel   69 Dec 10 09:19 cups
 -r--r--r--  1 root  wheel  672 Dec  7 10:06 gdm
 -r--r--r--  1 root  wheel   98 Nov 29 17:42 gnome-screensaver
 -r--r--r--  1 root  wheel  135 Nov  4 22:09 polkit
 -r--r--r--  1 root  wheel  135 Dec  2 09:00 polkit-1
 -r--r--r--  1 root  wheel  399 Sep 27 18:20 sudo
 -r--r--r--  1 root  wheel  399 Sep 27 18:20 sudo.default
 -r--r--r--  1 root  wheel   98 Nov  5 03:22 xscreensaver
 

Maybe someone who is versed in the intricacies of pam.d on freebsd 7.2 p3 
amd64 might be willing to point me in the right direction. 

Thanks

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


Re: Root exploit for FreeBSD

2009-12-10 Thread David Southwell
 On Thu, 10 Dec 2009 20:21:26 +0100
 
 Julian H. Stacey j...@berklix.com replied:
  Fortuantely, I had no problem setting up a black FreeBSD box to
  preserve my sanity.
 
 A tip for those threatened with no BSD box at work:
 FreeBSD runs fine _inside_ a box that looks like a multi sheet scanner.
 OK, slow, but invisible to managers who require MS only.
 
 These scanners often lie abandoned in company junk rooms ( cheap
 on web), as people know they used to need MS's abandoned NT (= Not
 There) operating system.  Well they do ... until one installs BSD.
 Credit to David M. who did the FreeBSD work. Pictures of hardware
 to look for in junk rooms: http://www.berklix.com/scanjet/
 
 Cheers,
 Julian
 
 Out of pure morbid curiosity, would you please answer this question for
 me.
 
 You work for a corporation that specifically requires the use of
 a specific OS, the OS itself is not material to this question. It also
 forbids the use of any unauthorized OS or equipment on the companies
 network. You decide to ignore their directives and eventually:
 
 1) Get caught
 2) Cause a problem with the company's network, etc.
 
 Now, when you get fired and possible charged with a crime, do you:
 
 1) Cry and bitch that they are being unfair?
 2) Accept the fact that you deserved to be dismissed?
 
 Where I use to work, two or three employees were fired each year
 because they thought they knew more than everyone else. They failed to
 realize that they were being compensated to do what they were told and
 not what they thought they should be doing. The bottom line is if they
 are not smart enough to follow company directives, they are certainly
 not capable of instigating their own protocol.
 
most  lickers are not very smart either.
David
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


set up of hp laserjet 2200dn with Jetdirect 610N on network

2009-12-08 Thread David Southwell
Hi

Thanks in advance for any replies.

I am trying to set up a freebsd 7.2 p3 system to be able to print from
an hp laserjet 2200dn equipped with a built in 10/100 jetdirect 610N. The 
printer is also used by a number of MS$ systems on the same subnet as the 
server so I know the printer is working and configured to print both text and 
graphics and to use the double sided facility. I need to use similar 
facilities from the server.

On the windows XP systems the printer is identified by a port entry in the 
form [my_device].[my_domain].[my_tld]:HP LaserJet 2200 in the printer 
properties. The HP JetDirect Configuration report includes the following info:

Model Number: J4169A
Firmware Version: L.20.24

Under TCP/IP we have:
Hostname: [mydevice]
Domain Name: [my_domain].[my_tld]
# The following all show correct entries:
Ip Address:
Subnet Mask:
Default Gateway:
DNS Server:



Despite reading the documentation I seem to be having difficulty setting up 
the printer from the server. So far I have not been able to get the beast to 
print-- I have scrapped all attempts at configuring the server and would 
appreciate some guidance before I trying again!!

Thanks 

David





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


Re: set up of hp laserjet 2200dn with Jetdirect 610N on network

2009-12-08 Thread David Southwell
 Hi David,
 
  Despite reading the documentation I seem to be having difficulty setting
  up the printer from the server. So far I have not been able to get the
  beast to print-- I have scrapped all attempts at configuring the server
  and would appreciate some guidance before I trying again!!
 
 Maybe you should tell us what facility you are trying to configure:
 configuring cups or lpd is not exactly the same same.
 
 I have had success for many years, with many models of HP printers,
 through a Perl script, used as output filter for lpd, the script would
 connect to the printer on TCP port 9100.
 
 Bests,
 
 Olivier

Hi Olivier

Thanks for taking the time to come back to me.

I really do not mind which facility to use provided I get the results!!! 
chuckles. I do need to use as many of the printer features as possible.
I have  enable the following:
  IPP Printing : Enabled
  FTP Printing : Enabled
  LPD Printing : Enabled
  9100 Printing: Enabled
  SLP Config   : Enabled
  EWS Config   : Enabled

So I should be able to use a similar approach to you. Is the script readily 
available and what do I need to do to install and configure it?

Thanks again

David

David

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


Re: set up of hp laserjet 2200dn with Jetdirect 610N on network

2009-12-08 Thread David Southwell
 On Tue, 8 Dec 2009 10:40:02 + David Southwell wrote:
 Hi
 
 Thanks in advance for any replies.
 
 I am trying to set up a freebsd 7.2 p3 system to be able to print from
 an hp laserjet 2200dn equipped with a built in 10/100 jetdirect 610N. The
 printer is also used by a number of MS$ systems on the same subnet as the
 server so I know the printer is working and configured to print both text
  and graphics and to use the double sided facility. I need to use similar
  facilities from the server.
 
 On the windows XP systems the printer is identified by a port entry in the
 form [my_device].[my_domain].[my_tld]:HP LaserJet 2200 in the printer
 properties. The HP JetDirect Configuration report includes the following
  info:
 
 Model Number: J4169A
 Firmware Version: L.20.24
 
 Under TCP/IP we have:
 Hostname: [mydevice]
 Domain Name: [my_domain].[my_tld]
 # The following all show correct entries:
 Ip Address:
 Subnet Mask:
 Default Gateway:
 DNS Server:
 
 
 
 Despite reading the documentation I seem to be having difficulty setting up
 the printer from the server. So far I have not been able to get the beast
  to print-- I have scrapped all attempts at configuring the server and
  would appreciate some guidance before I trying again!!
 

 Please, show your configuration files and diagnostic messages.
 
Unfortunately as I said I have scrapped the configuration attempts and files 
and cleaned the logs ready for a new start...I felt it was a mess and the 
history had become part of the problem!! So I cleaned the decks and  am ready 
to start again !!
___
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: set up of hp laserjet 2200dn with Jetdirect 610N on network

2009-12-08 Thread David Southwell
 David,
 
  So I should be able to use a similar approach to you. Is the script
  readily available and what do I need to do to install and configure it?
 
 I can share, but right now I have to go back home, I'll send it to you
 tomorrow.
 
 If you simply:
 
 telnet your.printer 9100
  and type some text
 
 you will get that text printed!
 
 Olivier
 
That worked
Thank you v much . I look forward to that

BTW Does the script handle raw PCL/postscript?

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


Re: set up of hp laserjet 2200dn with Jetdirect 610N on network

2009-12-08 Thread David Southwell
 David Southwell writes:
   I am trying to set up a freebsd 7.2 p3 system to be able to print
   from an hp laserjet 2200dn equipped with a built in 10/100
   jetdirect 610N. The printer is also used by a number of MS$
   systems on the same subnet as the server so I know the printer is
   working and configured to print both text and graphics and to use
   the double sided facility. I need to use similar facilities from
   the server.
 
   I recently used CUPS to connect to a LaserJet 6 series with a
 non HP (but supposedly HP-compatible) print server.  After some
 help, I entered socket://IP address in the appropriate field
 ... and everything Just Works.
 
 
   Robert Huff
 
Hi Robert
Seasons greetings

Thanks v. much.

With help from Olivier Nicole I was able to telnet to the printer 9100 and 
text types got printed. My questions now are:

1. How do I manage to print single/double sided and determine the page 
orientation for different jobs?
2. How do I print images/ PCl /postscript.

Olivier has a script which he will be sending me tomorrow but I do not know 
whether that deals with those issues.

Warm regards

david

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


Re: set up of hp laserjet 2200dn with Jetdirect 610N on network

2009-12-08 Thread David Southwell
 On Tue, Dec 8, 2009 at 3:26 PM, David Southwell da...@vizion2000.netwrote:
   David Southwell writes:
 I am trying to set up a freebsd 7.2 p3 system to be able to print
 from an hp laserjet 2200dn equipped with a built in 10/100
 jetdirect 610N. The printer is also used by a number of MS$
 systems on the same subnet as the server so I know the printer is
 working and configured to print both text and graphics and to use
 the double sided facility. I need to use similar facilities from
 the server.
  
 I recently used CUPS to connect to a LaserJet 6 series with a
   non HP (but supposedly HP-compatible) print server.  After some
   help, I entered socket://IP address in the appropriate field
   ... and everything Just Works.
  
  
 Robert Huff
 
  Hi Robert
  Seasons greetings
 
  Thanks v. much.
 
  With help from Olivier Nicole I was able to telnet to the printer 9100
  and text types got printed. My questions now are:
 
  1. How do I manage to print single/double sided and determine the page
  orientation for different jobs?
  2. How do I print images/ PCl /postscript.
 
  Olivier has a script which he will be sending me tomorrow but I do not
  know whether that deals with those issues.
 
 install CUPS.
 
Installed and configured cups but cannot get the online login system to work. 
It refuses to accept username/password combination.

Here are the relevant lines in cupsd.conf:
# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseLocalProtocols CUPS

# Default authentication type, when authentication is required...
DefaultAuthType Basic

# Restrict access to the server...
Location /

Order Deny, Allow
Deny from All
Allow from 127.0.0.1
Allow from  62.49.197.50
/Location

# Restrict access to the admin pages...
Location /admin
AuthType Default
Require user @SYSTEM
  Order Deny, Allow
Deny from All
Allow from 127.0.0.1
Allow from  62.49.197.50
/Location

# Restrict access to configuration files...
Location /admin/conf
  AuthType Default
  Require user @SYSTEM
Order Deny, Allow
Deny from All
Allow from 127.0.0.1
Allow from  62.49.197.50
  Order allow,deny
/Location


Relevant ports:
dns1# pkg_info |grep cups
cups-base-1.4.2_1   Common UNIX Printing System: Server
cups-client-1.4.2_1 Common UNIX Printing System: Library cups
cups-image-1.4.2_1  Common UNIX Printing System: Library cupsimage
cups-pdf-2.5.0  A virtual printer for CUPS to produce PDF files
cups-pstoraster-8.15.4_4 Postscript interpreter for CUPS printing to non-PS 
printers
cups-samba-6.0_2The Common UNIX Printing System:  MS Windows client 
drivers
cups-smb-backend-1.0_2 A CUPS backend for printing to Windows servers
gnome-cups-manager-0.31_10,1 Admistration tool for cups
gutenprint-cups-5.1.7_4 GutenPrint Printer Driver
libgnomecups-0.2.3_2,1 Support library for gnome cups admistration
py26-cups-1.9.46CUPS bindings for Python

 
___
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


Apache server imap.so ssl_once_only_init error

2009-10-07 Thread David Southwell
Hi

Would anyone be willing to help me out of my misery - I need to solcve this 
one:
Thanks in advance

David


Apache22
server does not start

httpd-error.log reads:

[Wed Oct 07 16:03:17 2009] [warn] RSA server certificate is a CA certificate 
(BasicConstraints: CA == TRUE !?)
[Wed Oct 07 16:03:18 2009] [warn] RSA server certificate is a CA certificate 
(BasicConstraints: CA == TRUE !?)
/libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol 
ssl_onceonlyinit
___
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: Apache server imap.so ssl_once_only_init error

2009-10-07 Thread David Southwell

 Chuck Swiger wrote:
  Hi--
 
  On Oct 7, 2009, at 8:11 AM, David Southwell wrote:
  [Wed Oct 07 16:03:17 2009] [warn] RSA server certificate is a CA
  certificate
  (BasicConstraints: CA == TRUE !?)
  [Wed Oct 07 16:03:18 2009] [warn] RSA server certificate is a CA
  certificate
  (BasicConstraints: CA == TRUE !?)
  /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined
  symbol
  ssl_onceonlyinit
 
  At a guess, you are trying to use self-signed certificates, and you
  generated a CA certificate to sign them, but are trying to use that CA
  cert directly instead of creating a new x.509 keypair, CSR, and signing
  that with your CA cert or have a Verisign, enTrust, openca.org, etc.
 
  Regards,
 
 I would guess that the imap.so symbol issue is what is causing Apache to
 die...
 
 The certificate-related messages are warnings and should not make it fatal.
 
 Markiyan.
 

I am pretty sure that is the case. The imap  issue was around before I created 
the certificates. Here is a longer extract from the httpd-error.log

/libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol 
ssl_onceonlyinit
[Wed Oct 07 13:58:39 2009] [warn] Init: Session Cache is not configured [hint: 
SSLSessionCache]
[Wed Oct 07 13:58:40 2009] [warn] module php5_module is already loaded, 
skipping
/libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol 
ssl_onceonlyinit
/libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol 
ssl_onceonlyinit
/libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol 
ssl_onceonlyinit
/libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol 
ssl_onceonlyinit
/libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol 
ssl_onceonlyinit
/libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol 
ssl_onceonlyinit
[Wed Oct 07 14:24:01 2009] [warn] Init: Session Cache is not configured [hint: 
SSLSessionCache]
/libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol 
ssl_onceonlyinit
[Wed Oct 07 14:28:32 2009] [warn] Init: Session Cache is not configured [hint: 
SSLSessionCache]
/libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol 
ssl_onceonlyinit
Checked
[Wed Oct 07 14:29:12 2009] [warn] Init: Session Cache is not configured [hint: 
SSLSessionCache]
/libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol 
ssl_onceonlyinit
[Wed Oct 07 15:54:47 2009] [warn] Init: Session Cache is not configured [hint: 
SSLSessionCache]
/libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol 
ssl_onceonlyinit
[Wed Oct 07 16:03:17 2009] [warn] RSA server certificate is a CA certificate 
(BasicConstraints: CA == TRUE !?)
[Wed Oct 07 16:03:18 2009] [warn] RSA server certificate is a CA certificate 
(BasicConstraints: CA == TRUE !?)
/libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol 
ssl_onceonlyinit


From this you can see the Session Cache not figured problem went away after I 
created the certs but I am stioll left with the imap.so proble. which seems to 
be the cause of the fatal failure.

Dpoes anyone know how to fix that?

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


Re: Apache server imap.so ssl_once_only_init error

2009-10-07 Thread David Southwell
 David Southwell writes:
   /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so:
   Undefined symbol ssl_onceonlyinit
 
   I look at this and ask (knowing very little about either) is
 this a problem with Apache, or a problem with PHP?.
 
 
   Robert huff
 
I wish I darn well knew chuckles

Right now I am doing a portupgrade -frR mail/php5-imap in the hope that might 
sort it -- but there is no intelligence behind the initiative chuckles

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


Re: Apache server imap.so ssl_once_only_init error

2009-10-07 Thread David Southwell
 Robert Huff wrote:
  David Southwell writes:
   /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so:
   Undefined symbol ssl_onceonlyinit
 
  I look at this and ask (knowing very little about either) is
  this a problem with Apache, or a problem with PHP?.
 
 Easy enough to see - comment out the imap.so module in
 /usr/local/etc/php/extensions.ini and see if Apache will start. If it does
 the problem is the imap module. A more generic way to drive this wedge is
  to temporarily comment out the LoadModule php5_module line from
  httpd.conf.
 
 If it starts without this module it isn't Apache. Some PHP modules have
 dependencies in that they need the other modules loaded before they load.
 Try moving the imap.so line in extensions.ini to the bottom of the file so
 all the other crypt modules such as openssl, hash, mcrypt, etc are loaded
 first.
 
 -Mike
 
 
 
Mike you are right on the ball.

When I comment out the imap.so line in extensions.ini the server starts up 
normally. So now we have the culprit. That is after doing a portupgrade -frR 
mail/php5-imap.

The question is where do I go from here??

Thank you

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


RE: Looking up libraries and header files

2009-10-01 Thread David Southwell
 

 -Original Message-
 From: owner-freebsd-questi...@freebsd.org 
 [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Greg Larkin
 Sent: 01 October 2009 07:08
 To: da...@vizion2000.net
 Cc: freebsd-questions@freebsd.org
 Subject: Re: Looking up libraries and header files
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 da...@vizion2000.net wrote:
  Hi
  
  What is the simplest way to found out which port installs specific 
  harder or library files?
  
  ATM I do it through a google search on the file name and 
 usually find 
  a clue.. but I suspect there ia better mousetrap!! chuckles
  
  Thanks in advance
  David
  
 
 Hi David,
 
 pkg_which will do what you want:
 
 # pkg_which /usr/local/include/librsync.h [Updating the pkgdb 
 format:bdb_btree in /var/db/pkg ... - 289 packages found 
 (-1 +1) (...). done]
 librsync-0.9.7_1
 #
 
 Cheers,
 Greg
 - --
 Greg Larkin
Thanks Greg

U R on the ball as usual!
 

___
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: Looking up libraries and header files

2009-10-01 Thread David Southwell
 

 -Original Message-
 From: owner-freebsd-questi...@freebsd.org 
 [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Mak Kolybabi
 Sent: 01 October 2009 07:07
 To: da...@vizion2000.net
 Cc: freebsd-questions@freebsd.org
 Subject: Re: Looking up libraries and header files
 
 On 2009-10-01 06:59, da...@vizion2000.net wrote:
  What is the simplest way to found out which port installs specific 
  harder or library files?
 
 pkg_info has a --which flag that tells you what package a 
 file came from:
 % pkg_info --which /usr/local/include/pcre.h 
 /usr/local/include/pcre.h was installed by package pcre-7.9
 
 --
 Matthew Anthony Kolybabi (Mak)
 m...@kolybabi.com
Thanks Mat

Now I have two solutions for the  price of one question

Brill!!
 

___
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: Looking up libraries and header files

2009-10-01 Thread David Southwell
 

 -Original Message-
 From: owner-freebsd-questi...@freebsd.org 
 [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of 
 David Southwell
 Sent: 01 October 2009 07:50
 To: 'Mak Kolybabi'
 Cc: freebsd-questions@freebsd.org
 Subject: RE: Looking up libraries and header files
 
  
 
  -Original Message-
  From: owner-freebsd-questi...@freebsd.org
  [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of 
 Mak Kolybabi
  Sent: 01 October 2009 07:07
  To: da...@vizion2000.net
  Cc: freebsd-questions@freebsd.org
  Subject: Re: Looking up libraries and header files
  
  On 2009-10-01 06:59, da...@vizion2000.net wrote:
   What is the simplest way to found out which port installs 
 specific 
   harder or library files?
  
  pkg_info has a --which flag that tells you what package a file came 
  from:
  % pkg_info --which /usr/local/include/pcre.h 
 /usr/local/include/pcre.h 
  was installed by package pcre-7.9
  
  --
  Matthew Anthony Kolybabi (Mak)
  m...@kolybabi.com
 Thanks Mat
 
 Now I have two solutions for the  price of one question
 
 Brill!!
OK

One problem 

How about ports that are not installed?

Is there another route that will deal with stuff not on the system?

David
 

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


RE: Looking up libraries and header files

2009-10-01 Thread David Southwell
 

 -Original Message-
 From: owner-freebsd-questi...@freebsd.org 
 [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Robert Huff
 Sent: 01 October 2009 08:00
 To: David Southwell
 Cc: 'Mak Kolybabi'; freebsd-questions@freebsd.org
 Subject: RE: Looking up libraries and header files
 
 
 David Southwell writes:
 
   One problem
   
   How about ports that are not installed?
   
   Is there another route that will deal with stuff not on the system?
 
   I'm not quite sure what you're asking here; perhaps you 
 could give a scenario?
   The above methods only work for things that are 
 properly installed/registered with the ports(/packages) 
 system.  If you've installed something not from a port ... 
 you're on your own.
 
 
My scenario is a port is compiling but complains about the absense of a
header or a file from a port that has NOT been installed on the system. I
have had this a few times when essential source was in a port not listed as
a dependency.

What I am thinking of is a centrally maintained database of all header and
library files available to the port system. 

David
 

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


RE: How to restore Base_Bind on amd64 7.2 p3

2009-09-30 Thread David Southwell
 

 -Original Message-
 From: owner-freebsd-questi...@freebsd.org 
 [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of 
 da...@vizion2000.net
 Sent: 29 September 2009 13:06
 To: 'Frank Steinborn'
 Cc: freebsd-questions@freebsd.org
 Subject: RE: How to restore Base_Bind on amd64 7.2 p3
 
  
 
  -Original Message-
  From: owner-freebsd-questi...@freebsd.org
  [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Frank 
  Steinborn
  Sent: 29 September 2009 11:47
  To: David Southwell
  Cc: ' ?'; freebsd-questions@freebsd.org
  Subject: Re: How to restore Base_Bind on amd64 7.2 p3
  
  David Southwell wrote:
   By base-bind I mean the version of bind that is included 
 in freebsd
   7.2 operating system which is a version earlier than the
  latest Bind96.
   
   When installing bind96 and I did not keep base-bind.
   
   Now multiple ports give the following type of problem 
 -this is just 
   one example.
   ___
   gnome-vfs-2.24.1_1
   
   compile stops with message:
   
   ===  gnome-vfs-2.24.1_1 depends on shared library: pango-1.0.0 - 
   found
   gnome-vfs-2.24.1_1: bind installed with PORT_REPLACES_BASE_BIOND 
   causes build problems.
   *** error code 1
   
   Stop in /usr/ports/devel/gnome-vfs
   *** Error Code 1
   
   Stop in /usr/ports/devel/gnome-vfs
   _
  
  You should be able to restore the bind from base by using the 
  install.sh script in /usr/src/contrib/bind9. Deinstall the 
 port first, 
  though.
  
 ThanksI deinstalled the port and tried to run install-sh 
 
 # sh install-sh
 and got the response:
  install: no input file specified
 
 Any chance you might make me a little wiser on how to use install-sh?\
 
 Thanks
 
 David
 
Sorrty to ask again - but I really need to solve this problem asap.

Thanks in advance

David

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


How to restore Base_Bind on amd64 7.2 p3 -

2009-09-29 Thread David Southwell
Hi

I installed bind96 without keeping base-bind and am now having problems with
some ports not compiling.

What is the simpliest way to restore the original system Base_Bind?

Thanks in advance

David

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


RE: How to restore Base_Bind on amd64 7.2 p3

2009-09-29 Thread David Southwell

 
 David Southwell пишет:
  Hi
 
  I installed bind96 without keeping base-bind and am now having 
  problems with some ports not compiling.
 
  What is the simpliest way to restore the original system Base_Bind?
 
  Thanks in advance
 
  David
 
  ___
  freebsd-questions@freebsd.org mailing list 
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org



 -Original Message-
 From: owner-freebsd-questi...@freebsd.org 
 [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of 
  ?
 Sent: 29 September 2009 03:52
 To: freebsd-questions@freebsd.org
 Subject: Re: How to restore Base_Bind on amd64 7.2 p3
 
 
 
  Исходное сообщение 
 Тема: Re: How to restore Base_Bind on amd64 7.2 p3 -
 Дата: Tue, 29 Sep 2009 14:51:00 +0400
 От:   Алексеев Александр aleks...@rumonitor.ru
 Кому: David Southwell da...@vizion2000.net
 Ссылки:   f26af28b92f447f7a85c19c38cbcf...@sleuth64
 
 
 
 Please let me see the error messages that occur when you're 
 building ports.
 What means base-bind?
 
 --
 Alexandr A Alexeev
 http://www.unixcommunity.net/ 

By base-bind I mean the version of bind that is included in freebsd 7.2
operating system which is a version earlier than the latest Bind96.

When installing bind96 and I did not keep base-bind.

Now multiple ports give the following type of problem -this is just one
example. 
___
gnome-vfs-2.24.1_1

compile stops with message:

===  gnome-vfs-2.24.1_1 depends on shared library: pango-1.0.0 - found
gnome-vfs-2.24.1_1: bind installed with PORT_REPLACES_BASE_BIOND causes
build problems.
*** error code 1

Stop in /usr/ports/devel/gnome-vfs
*** Error Code 1

Stop in /usr/ports/devel/gnome-vfs
_


Thanks

David

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


turn authentication on -- a simple how to please!!

2009-09-07 Thread David Southwell
My mailserver uses postfix and has a number of virtual domains. I am getting 
the following difficulties on delivery of legitimate emails to remote 
addresses failing with a request to tun authentication on. I am comparatively 
new to managing mailservers. Could someone please tell me what I need to do. 
My searches on google seem to give me long explanations of what is meant to 
happen but I cannot find simple instructions on how to fulfill the 
requirements!!

dns1# fgrep abc /var/log/maillog
Sep  7 17:01:59 dns1 postfix/smtp[86489]: 179BE34D41D: 
to=competiti...@bristolphoto.org.uk, 
relay=mail.abc.org.uk[xxx.xxx.xxx.xxx]:25, delay=2.2, delays=2/0/0.15/0.03, 
dsn=5.0.0, status=bounced (host mail.abc.org.uk[xxx.xxx.xxx.xxx] said: 550 
Please turn authentication on (in reply to RCPT TO command))
dns1#

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


Re: Firefox 3.5...

2009-08-26 Thread David Southwell
 2009/8/26 Wayne Sierke w...@au.dyndns.ws:
  On Wed, 2009-08-26 at 11:32 +0100, Peter Harrison wrote:
  I've Firefox 3.0.11,1 on my 7.2-release system at the moment. Anyone
  offer some advice on moving up to 3.5?
 
  Is it as simple as pkg_delete'ing 3.0 and then installing 3.5?
 
  Thanks for any thoughts.
 
  Should be, or if you use portupgrade:
 
  http://lists.freebsd.org/pipermail/freebsd-questions/2009-July/202568.htm
 l

 2nd'd.  portupgrade -o www/firefox35 firefox\* worked perfectly here.
yep it compiles fine on amd64 freebsd 7.2 p3. However when launched it asks 
for you to accept a cookie from some strange site. I denied the cookie 
permission and firefox35 immediately shut down. 

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


Re: kernel designations terminology confusion -- amd64 used for into quad core

2009-08-08 Thread David Southwell
 On Wed, 5 Aug 2009 14:14:49 +0100

 David Southwell da...@vizion2000.net wrote:
  Hi every one
 
  My understanding is that one uses the amd64 for building a kernel for
  systems with Intel Quad Core processors.
 
  It is helpful when naming conventions follow a logical strand. I mean
  why does freebsd use a single manufacturer's name to represent a
  genre?

 The time to complain about that was when they put the i in i386.
Yep I tried to email intel to tell them using uucp on my unix system from a 
Sirius on an 8086 but intel were not on email at the time!!!

David

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


Re: cvs tag usage

2009-08-05 Thread David Southwell
 On Tue, Aug 4, 2009 at 5:32 PM, b. f.bf1...@googlemail.com wrote:
  He has _7_2_0_RELEASE, not RELENG_7_0_2_RELEASE.
 
  Well, neither actually.  :)   s/0_2/2_0/  .  But I inferred from the
  context  -- it seemed obvious, particularly from what he wrote later
  -- that he meant those choices as suffixes to RELENG, which he omitted
  for the sake of brevity.  I assumed you also made this inference.

 Agreed, but IMHO, it's better to be precise and not assume too much. :-)
OK guys this has now reached the point where I am again confudes -- here is my 
original posting amended to ensure there is no ambiguity

I am confused about the usage of the tag for src.

I took a look at the web pages and found the following choices:

RELENG_7_BP
RELENG_7_2_BP
RELENG_7_2_0_RELEASE
RELENG_7_2

But could not find anything that told me where -p2 fits into this!!


# uname -a

7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:14:35 UTC 2009 
r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

To synchronize src and keep up to date do I use:

*default release=cvs tag=RELENG_7_2
will this automatically track the latest version in 7_2  and therefore keep 
track with 7.2-RELEASE-p2 or later??

or
do I need to use something like:

*default release=cvs tag=RELENG_7_2-p2

or
something else!!

Where can I find some explanation on this?
Maybe something from this discussion could be added to the 
handbook/synching.html page so the choice of suffix for configuring cvsup 
could be made easier for those who are not familiar with the meaning of 
undocumented suffixing such as -p2 !!. 

Another could there possibly be some consistency between the output from uname 
-a and the suffixing used for synching of the src be practicable. Please do 
not bite my head off if it is not practical -- I acknowledge it is a question 
born of ignorance and confusion chuckles

david

Thanks in advance

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


Re: cvs tag usage

2009-08-05 Thread David Southwell
 On Tue, Aug 4, 2009 at 5:32 PM, b. f.bf1...@googlemail.com wrote:
  He has _7_2_0_RELEASE, not RELENG_7_0_2_RELEASE.
 
  Well, neither actually.  :)   s/0_2/2_0/  .  But I inferred from the
  context  -- it seemed obvious, particularly from what he wrote later
  -- that he meant those choices as suffixes to RELENG, which he omitted
  for the sake of brevity.  I assumed you also made this inference.

Glen

You hit the sweet spot!!

David

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


Learning about Control of Optimization -- for dummies please

2009-08-05 Thread David Southwell
I have found http://docs.freebsd.org/info/gcc/gcc.ifo.Optimize_Options.html.

I am about to build a new kernel am starting to dig a bit deeper into things I 
have, until now, taken for granted.

The above link is very informative in technical terms about how to control 
optimization but I find it difficult to interpret the info in a way that tells 
me what might work best on my own system (Intel quad Core) with 8G of ram.

Current kernel is GENERIC but as I said I am going to build a new one.
# uname-a
FreeBSD dns1.vizion2000.net 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 
24 00:14:35 UTC 2009 r...@amd64-
builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
 
Could anyone please point me in the right direction to achieve greater 
understanding of what optimizations may be most appropriate for compiling a 
kernel for my system. The docs are very good on the how but are not very 
helpful when it comes to solving the what why and when questions when 
the who is a dummy chuckles.

Thanks in advance

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


Re: Learning about Control of Optimization -- for dummies please

2009-08-05 Thread David Southwell
  On Wed, 5 Aug 2009 12:19:23 +0200 Roland Smith rsm...@xs4all.nl 
wrote:
 On Wed, Aug 05, 2009 at 10:54:07AM +0100, David Southwell wrote:
  I have found
  http://docs.freebsd.org/info/gcc/gcc.info.Optimize_Options.html.
 
  I am about to build a new kernel am starting to dig a bit deeper into
  things I have, until now, taken for granted.
 
  The above link is very informative in technical terms about how to
  control optimization but I find it difficult to interpret the info in a
  way that tells me what might work best on my own system (Intel quad
  Core) with 8G of ram.
 
 The build system takes care of that, once you have set the correct
 CPUTYPE in /etc/make.conf. For a quad-core, set CPUTYPE=nocona. See
 make.conf(5), /usr/src/share/mk/bsd.cpu.mk and
 /usr/src/sys/conf/kern.pre.mk.

  As I read the man page for [g]cc, though, setting -march=nocona (which
 is where the CPUTYPE information ends up in the cc commands) tells the
 compiler which base instruction set to use and which model of instruction
 scheduling to use, but to get the rest of the model-dependent features
 used, he would still need to add -mmmx -msse -msse2 -msse3 at a minimum
 for most other compilations, though these would not be advisable for kernel
 compilations.  I don't recall whether SSE4 instructions are in the Nocona/
 Merom/Kentfield chips or first appear in the Core i7 series.  I don't think
 the compiler versions available under FreeBSD support the SSE4
 instructions, though, so SSE4 doesn't matter anyway.

 Additionally, compiler settings for building the kernel can be set with
 COPTFLAGS in /etc/make.conf. Using anything other than -O or -O2 is
 not guaranteed to work. If you don't know what you are doing, do not use
 COPTFLAGS and stick with the defaults that the build system generates.

  Right.  -O3 might royally screw a kernel in particular. :-)


   Scott Bennett, Comm. ASMELG, CFIAG
Thanks for add more useful info however would you mind elaborating a little 
more because I do not understand the implications.

should I have:
CPUTYPE=nocona 
in make.conf?
Do I need anything else in make.conf?

So far my draft make.conf has these entries:

CPUTYPE=nocona

CFLAGS= -O2 -fno-strict-aliasing -pipe

FORCE_MAKE_JOBS=true

Incidentally I am also puzzled because it appears necessary to use amd64 
GENERIC as my starting point when the cpu is actually Intel Quad Core!! 

I presume this means that in drafting a kernconf I need to refer to;

dns1# pwd
/usr/src/sys/amd64/conf
dns1# ls -l
total 44
-rw-r--r--  1 root  wheel 13 Jun 20  2005 .cvsignore
-rw-r--r--  1 root  wheel482 Apr 15 04:14 DEFAULTS
-rw-r--r--  1 root  wheel  11968 Apr 15 04:14 GENERIC
-rw-r--r--  1 root  wheel818 Apr 15 04:14 GENERIC.hints
-rw-r--r--  1 root  wheel   1036 Apr 15 04:14 MAC
-rw-r--r--  1 root  wheel132 Apr 15 04:14 Makefile
-rw-r--r--  1 root  wheel  20721 Apr 15 04:14 NOTES


It would be great if some logical consistency could be introduced into naming 
conventions!!! It would really help those of us who know little and make it a 
trifle easier to climb the greasy pole of knowledge chuckles


___
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


kernel designations terminology confusion -- amd64 used for into quad core

2009-08-05 Thread David Southwell
Hi every one

My understanding is that one uses the amd64 for building a kernel for systems 
with Intel Quad Core processors.

It is helpful when naming conventions follow a logical strand. I mean why does 
freebsd use a single manufacturer's name to represent a genre? 

David 

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


Re: Learning about Control of Optimization -- for dummies please

2009-08-05 Thread David Southwell
   On Wed, 5 Aug 2009 12:19:23 +0200 Roland Smith

 rsm...@xs4all.nl

 wrote:
  On Wed, Aug 05, 2009 at 10:54:07AM +0100, David Southwell wrote:
   I have found
   http://docs.freebsd.org/info/gcc/gcc.info.Optimize_Options.html.
  
   I am about to build a new kernel am starting to dig a bit deeper

 into

   things I have, until now, taken for granted.
  
   The above link is very informative in technical terms about how to
   control optimization but I find it difficult to interpret the info

 in a

   way that tells me what might work best on my own system (Intel

 quad

   Core) with 8G of ram.
  
  The build system takes care of that, once you have set the correct
  CPUTYPE in /etc/make.conf. For a quad-core, set CPUTYPE=nocona. See
  make.conf(5), /usr/src/share/mk/bsd.cpu.mk and
  /usr/src/sys/conf/kern.pre.mk.
 
   As I read the man page for [g]cc, though, setting -march=nocona

 (which

  is where the CPUTYPE information ends up in the cc commands) tells

 the

  compiler which base instruction set to use and which model of

 instruction

  scheduling to use, but to get the rest of the model-dependent

 features

  used, he would still need to add -mmmx -msse -msse2 -msse3 at a

 minimum

  for most other compilations, though these would not be advisable for

 kernel

  compilations.  I don't recall whether SSE4 instructions are in the

 Nocona/

  Merom/Kentfield chips or first appear in the Core i7 series.  I don't

 think

  the compiler versions available under FreeBSD support the SSE4
  instructions, though, so SSE4 doesn't matter anyway.
 
  Additionally, compiler settings for building the kernel can be set

 with

  COPTFLAGS in /etc/make.conf. Using anything other than -O or -O2 is
  not guaranteed to work. If you don't know what you are doing, do not

 use

  COPTFLAGS and stick with the defaults that the build system

 generates.

   Right.  -O3 might royally screw a kernel in particular. :-)
 
 
Scott Bennett, Comm. ASMELG, CFIAG
 
 Thanks for add more useful info however would you mind elaborating a

 little

 more because I do not understand the implications.
 
 should I have:
 CPUTYPE=nocona
 in make.conf?
 Do I need anything else in make.conf?
 
 So far my draft make.conf has these entries:
 
 CPUTYPE=nocona
 
 CFLAGS= -O2 -fno-strict-aliasing -pipe
 
 FORCE_MAKE_JOBS=true
 
 Incidentally I am also puzzled because it appears necessary to use

 amd64

 GENERIC as my starting point when the cpu is actually Intel Quad Core!!
 
 
 I presume this means that in drafting a kernconf I need to refer to;
 
 dns1# pwd
 /usr/src/sys/amd64/conf
 dns1# ls -l
 total 44
 -rw-r--r--  1 root  wheel 13 Jun 20  2005 .cvsignore
 -rw-r--r--  1 root  wheel482 Apr 15 04:14 DEFAULTS
 -rw-r--r--  1 root  wheel  11968 Apr 15 04:14 GENERIC
 -rw-r--r--  1 root  wheel818 Apr 15 04:14 GENERIC.hints
 -rw-r--r--  1 root  wheel   1036 Apr 15 04:14 MAC
 -rw-r--r--  1 root  wheel132 Apr 15 04:14 Makefile
 -rw-r--r--  1 root  wheel  20721 Apr 15 04:14 NOTES
 
 
 It would be great if some logical consistency could be introduced into

 naming

 conventions!!! It would really help those of us who know little and

 make it a

 trifle easier to climb the greasy pole of knowledge chuckles

 It is logical.
 You use i386 on old amd processors also.
 The naming amd64 comes from the fact that AMD did come first with the 64
 bit processor.
 If Intel was the first it proberly would have a name like i386_64 or
 something like that.

 Nothing to worry about.
 If your Intel proccessor has 64 bit support use the AMD64 version

 It is just a name.

 About the make.conf the use of nocona is ok but put a ? mark ofter
 CPUTYPE
 Do not ask me why, people told me it is better, if i understand
 correctly It has someting to do about the choice the compiler has while
 building, it could override the nocona setting if it is needed.
 If i recall correct

 CPUTYPE?=nocona

 I would ditch the CFLAGS, the normal setings ar the same as that line

 FORCE_MAKE_JOBS=true

 FORCE_MAKE_JOBS is also ok


Hi Johan

Thanks for that - you comments are really helpful and place things in context.

I would still be inclined to feel that although the naming convention can be 
historically justified it remains practically illogical!!! Naming conventions 
work well when they help people understand what they represent.  To illustrate 
my point at one time Britain referred as the British Empire but such a title 
would be laughable today!! 

David

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


Re: kernel designations terminology confusion -- amd64 used for into quad core

2009-08-05 Thread David Southwell
 On Wed, Aug 05, 2009 at 02:14:49PM +0100, David Southwell wrote:
  Hi every one
 
  My understanding is that one uses the amd64 for building a kernel for
  systems with Intel Quad Core processors.

 That depends on if you installed the amd64 version of FreeBSD or the i386
 version.  The kernel should of course match the rest of the system.
 Intel's Quad Core processors (at least all the models they have released so
 far) supports both amd64 and i386.  (i386 being 32-bit, while amd64 is
 64-bit.)

  It is helpful when naming conventions follow a logical strand. I mean why
  does freebsd use a single manufacturer's name to represent a genre?

 The amd64 architecture is called that because it was AMD who invented and
 created it and was for a while the only one using it and since AMD named
 the architecture AMD64 that was the name FreeBSD used too.  Later Intel
 also started using it (while using their own name(s) for it), but FreeBSD
 has stuck with the name amd64.  This is no more strange than calling the
 i386 architecture for i386 even if it runs on a whole lot of processors
 other than the original Intel 80386.

I would still be inclined to feel that although the naming convention can be 
historically justified it remains practically illogical!!! Naming conventions 
work well when they help people understand what they represent.  To illustrate 
my point at one time Britain referred as the British Empire but such a title 
would be laughable today!! 

There is enough for people to get their head around in understanding what is 
going on without adding additional levels of confusion because noone thought 
of future developments!!  However this is not an argument anyone is likely to 
get steamed up about -- however illogical it may be chuckles

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


Re: Learning about Control of Optimization -- for dummies please

2009-08-05 Thread David Southwell
 On Wed, Aug 05, 2009 at 02:02:05PM +0100, David Southwell wrote:
   Additionally, compiler settings for building the kernel can be set
with COPTFLAGS in /etc/make.conf. Using anything other than -O or -O2
is not guaranteed to work. If you don't know what you are doing, do
not use COPTFLAGS and stick with the defaults that the build system
generates.
  
Right.  -O3 might royally screw a kernel in particular. :-)
  
  
 Scott Bennett, Comm. ASMELG, CFIAG
 
  Thanks for add more useful info however would you mind elaborating a
  little more because I do not understand the implications.
 
  should I have:
  CPUTYPE=nocona
  in make.conf?

 Yes.

  Do I need anything else in make.conf?

 If you are building a custom kernel, you can set the name of the kernel
 config there. E.g.:

 KERNCONF=FOO

 You should then put your kernel config in /usr/src/sys/amd64/conf/FOO.

  So far my draft make.conf has these entries:
 
  CPUTYPE=nocona

 OK.

  CFLAGS= -O2 -fno-strict-aliasing -pipe

 CFLAGS are used for building userland programs. COPTFLAGS are used for
 building the kernel. I think that the values you've listed here are already
 the default, so they are superfluous really.

  FORCE_MAKE_JOBS=true

 This is only for ports.

  Incidentally I am also puzzled because it appears necessary to use amd64
  GENERIC as my starting point when the cpu is actually Intel Quad Core!!

 This is a FAQ. AMD originated the 64-bit extensions to the x86
 architecture while intel was chasing the itanium pipedream. This
 extended architecture became known as x86_64 or amd64. After itanium
 became a dud, intel started making amd64 compatible chips as well,
 because the AMD chips had been hugely successfull.

  I presume this means that in drafting a kernconf I need to refer to;
 
  dns1# pwd
  /usr/src/sys/amd64/conf
  dns1# ls -l
  total 44
  -rw-r--r--  1 root  wheel 13 Jun 20  2005 .cvsignore
  -rw-r--r--  1 root  wheel482 Apr 15 04:14 DEFAULTS

 Some options were moved to a DEFAULT file that is automatically included
 in every kernel, so that people can't forget them. Formetting one of
 those can result in an unusable kernel.

  -rw-r--r--  1 root  wheel  11968 Apr 15 04:14 GENERIC
  -rw-r--r--  1 root  wheel818 Apr 15 04:14 GENERIC.hints
  -rw-r--r--  1 root  wheel   1036 Apr 15 04:14 MAC
  -rw-r--r--  1 root  wheel132 Apr 15 04:14 Makefile
  -rw-r--r--  1 root  wheel  20721 Apr 15 04:14 NOTES

 NOTES contains extra options that aren't in the GENERIC kernel.

  It would be great if some logical consistency could be introduced into
  naming conventions!!! It would really help those of us who know little
  and make it a trifle easier to climb the greasy pole of knowledge
  chuckles

 Just look at the beginning of each file. You'll find a description of
 that files purpose.

 You should base you kernel configuration on the GENERIC kernel. The
 first thing you need to do is change the ident line to match the
 filename. A kernel config FOO should include ident FOO. Then remove
 devices and options that you don't need. If you don't know what a device
 or option is, leave it in. For devices, there is usually a manual
 page. E.g. if you see 'device em', you can get information about it with
 'man em'.

 Look at the dmesg(8) output to see which devices you actually have.

 Roland
Roland

Thank you

I will be digging around  and try and make good use of yr advice

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


Re: 7.2 CD won't boot

2009-08-05 Thread David Southwell
 On Wed, Aug 5, 2009 at 11:41 AM, John Nielsen.i...@us.army.org wrote:
  Hi guys,
 
  My 7.2 Release Disc 1 won't boot.  I get the following and nothing more:
 
  CD Loader 1.2
 
  Building the boot loader arguments
  Looking up /BOOT/LOADER... Found
  Relocating the loader and the BTX
 
  I'm running on a Intel SE7501BR2, single Xeon, 2GB.  I have burned a
  second CD and swapped the CD drive, cable and RAM, all to no avail.  I
  have a RR1520 RAID controller, but removed that as well.  On-board SCSI
  controller and serial ports have been disabled, too.  Nothing seems to
  make a difference.
 
  What on earth could be going on?

 Can you verify if another machine boots the CD?  Could be a bad download.

 Could be a hardware incompatibility.

 Also, could you try disabling ACPI at boot?
I found the amd64 dvd download to be corrupt recently. So do check the 
download -- did you verify your download?

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


Re: 7.2 CD won't boot

2009-08-05 Thread David Southwell
  On Wed, Aug 5, 2009 at 11:41 AM, John Nielsen.i...@us.army.org wrote:
   Hi guys,
  
   My 7.2 Release Disc 1 won't boot.  I get the following and nothing
   more:
  
   CD Loader 1.2
  
   Building the boot loader arguments
   Looking up /BOOT/LOADER... Found
   Relocating the loader and the BTX
  
   I'm running on a Intel SE7501BR2, single Xeon, 2GB.  I have burned a
   second CD and swapped the CD drive, cable and RAM, all to no avail.  I
   have a RR1520 RAID controller, but removed that as well.  On-board SCSI
   controller and serial ports have been disabled, too.  Nothing seems to
   make a difference.
  
   What on earth could be going on?
 
  Can you verify if another machine boots the CD?  Could be a bad download.
 
  Could be a hardware incompatibility.
 
  Also, could you try disabling ACPI at boot?

 I found the amd64 dvd download to be corrupt recently. So do check the
 download -- did you verify your download?

 David
John 

My cc to you was bounced.

jn07te...@yahoo.de: host d.mx.mail.yahoo.com[68.142.202.247] said: 554
delivery error: dd This user doesn't have a yahoo.de account
(jn07te...@yahoo.de) [-5] - mta247.mail.mud.yahoo.com (in reply to end of
DATA command)
David
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: help installing

2009-08-05 Thread David Southwell
 how can help me install free bsd

 I get loaded free bsd
 it said is loaded good
 Can not get xwindow to load or kde

 help

 use to opensuse the best for os
 ==
 J Lee Hughes K C 0 H W A 73
 =
 Do what you can every day!
 Learn what you can every day!
 Life is good!
 =

Welcome
Do you have another machine available with access to the internet.

If so use that one to go to http://www.freebsd.org
follow the links to documentationhandbook
you should find everything you need there.

Come back here if you get stuck

David M0TAU
___
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


cvs tag usage

2009-08-04 Thread David Southwell
I am confused about the usage of the tag for src.

I took a look at the web pages and found the following choices:

_7_BP
_7_2_BP
_7_2_0_RELEASE
_7_2

But could not find anything that told me where -p2 fits into this!!


# uname -a

7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:14:35 UTC 2009 
r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

To synchronize src do I use:

*default release=cvs tag=RELENG_7_2
will this automatically track the latest version in 7_2  and therefore keep 
track with 7.2-RELEASE-p2 or later??

or
do I need to use something like:

*default release=cvs tag=RELENG_7_2-p2

Where can I find some explanation on this?

Thanks in advance

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


Re: cvs tag usage

2009-08-04 Thread David Southwell
 David Southwell wrote:
  I am confused about the usage of the tag for src.
 
  I took a look at the web pages and found the following choices:
 
  _7_BP
  _7_2_BP
  _7_2_0_RELEASE
  _7_2
 
  But could not find anything that told me where -p2 fits into this!!
 
 
  # uname -a
 
  7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:14:35 UTC 2009
  r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
 
  To synchronize src do I use:
 
  *default release=cvs tag=RELENG_7_2
  will this automatically track the latest version in 7_2  and therefore
  keep track with 7.2-RELEASE-p2 or later??

 Yes. RELENG_7_2 is the security patched update of Release. The -p2 means
 there have been two security patches applied to the source code. The actual
 release (RELENG_7_2_0_RELEASE) is static and will never change. The only
 thing that changes with _7_2 is the addition/inclusion of the patches you
 see in the security announcements.

 -Mike



Thanks for being helpful.. it might be useful if these designations appeared 
somewhere in the documentation-- but I guess there is enough for people to 
do!!! From what you are saying using 
 *default release=cvs tag=RELENG_7_2

will work for me

Thanks again

David

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


What is Freebsd 7.2pX

2009-07-29 Thread David Southwell
Where is information about 7.2pX to be found on freebsd.org?

I am running freebsd 7.2 64 amd 

7.2-RELEASE #0: Fri May  1 07:18:07 UTC 2009 
r...@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

version on Intel quad core and was advised to upgrade to 7.2pX but have 
not found about such a version from the web site and a google search for 
freebsd 7.2pX produces no documents.

Thanks in advance

David


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


Re: Can I resume the perl upgrade?

2009-04-14 Thread David Southwell
On Tuesday 14 April 2009 05:20:35 Ruben de Groot wrote:
 On Sun, Apr 12, 2009 at 12:05:50PM -0700, David Southwell typed:
  On Saturday 11 April 2009 17:20:56 Chris Rees wrote:
I hope it is not too far off topic but:
   
Can anyone tell me how to fix this one:
   
Stale dependency: bsdpan-Pod-Perldoc-3.15 - perl-5.8.9_2
(lang/perl5.8): can't convert nil into string
   
   
My update to 10 seems to be OK except for this..
   
I cannot find its origin so do not know what to deinstall and
reinstall
   
It would also be great to get all bsdpan into the pkgdb with their
origins.. is there any way to do that?
   
Thanks in advance
   
David
  
   Perhaps you should start a new thread.
  
   Chris
 
  Tried that last week to no avail
  So asmy question was vaguely on topic I had hoped someone might be able
  to contribute something useful!!

 If you can send a reply-all to the list, you certainly can send a new
 question, can't you? Hijacking threads *is* considered rude/ignorant/dumb
 by some.

 That said, Pod::Perldoc seems to be part of perl-5.8.[8-9] on my systems,
 so unless you're doing some nonstandard things with this package, I suggest
 you just pkg_delete the bsdpan package and get on with it.

Hi Ruben

Sorry to get cross with you but it has been clear from your responses that you 
have not actually troubled to read the detail of what I posted. The origibnal 
posting refrred to the issue as being one that came as a result of doing 
something similar to the OP for the thread. There was a second part (relating 
to getting the info on bsdpan into the DB.

a. If you had read carefully you would have found that I have already tried:
posting another thread
b. I had already tried pkg_delete without success.
c. I had tried package_deinstall again without success.
d. I am totally puzzled why bsdpan-Pod_Perldoc should be showing a dependency 
on perl-5.8-9 when I have upgraded to 10. 

I will be very happy to get on with it when I know how to achieve that 
nirvana.

In the meantime those who get try to get picky without reading a thread 
carefully do tend to offeset the work of so many people who are friendly and 
helpful

Thanks in advance for positive contributions

david


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


Re: Can I resume the perl upgrade?

2009-04-12 Thread David Southwell
On Saturday 11 April 2009 17:20:56 Chris Rees wrote:
 2009/4/11 David Southwell da...@vizion2000.net:
  On Friday 10 April 2009 11:43:33 kime...@gmail.com wrote:
  Paul Schmehl wrote:
   --On Friday, April 10, 2009 11:17:00 -0500 Paul Schmehl
  
   pschmehl_li...@tx.rr.com wrote:
   According to /usr/ports/UPDATING, if you want to upgrade to perl5.10,
   you do
   the following:
  
   Portupgrade users:
       0) Fix pkgdb.db (for safety):
           pkgdb -Ff
  
       1) Reinstall perl with new 5.10:
           portupgrade -o lang/perl5.10 -f perl-5.8.\*
  
       2) Reinstall everything that depends on Perl:
           portupgrade -fr perl
  
   My machine got rebooted right in the middle of step 3.  Is there a
   way to
   resume where I left off?  Or do I just start over?
  
   Let me rephrase.  I don't see a way in portupgrade to start over where
   I left off.  However, pkg_info -R lang/perl* shows that all my ports
   depend on 5.10 and no ports are still depending upon 5.8.  Is it safe
   to assume that the reboot happened after portupgrade had finished?
 
  Nope. With this info you can assume that step 2/3 worked. Not the step
  3/3. I dont know how to restart at the stage it was before reboot as I
  dont use portupgrade.
  Personnaly, as portmaster failed with some ports and abort the whole
  update process, I wrote a simple sh script which loop over the packages
  which need perl (got via the via pkg_info -R, need reordering
  thought...), exec portmaster ${PKG}, and keep a list of which reinstall
  succeed and which failed.
 
  Regards
 
  I hope it is not too far off topic but:
 
  Can anyone tell me how to fix this one:
 
  Stale dependency: bsdpan-Pod-Perldoc-3.15 - perl-5.8.9_2 (lang/perl5.8):
  can't convert nil into string
 
 
  My update to 10 seems to be OK except for this..
 
  I cannot find its origin so do not know what to deinstall and reinstall
 
  It would also be great to get all bsdpan into the pkgdb with their
  origins.. is there any way to do that?
 
  Thanks in advance
 
  David

 Perhaps you should start a new thread.

 Chris

Tried that last week to no avail
So asmy question was vaguely on topic I had hoped someone might be able to 
contribute something useful!!

No such luck!!
Thank you for your contribution
most helpful
David
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Managing bsdpan -- some advice please

2009-03-13 Thread David Southwell
Basically I do not know how to manage the bsdpan ports.
On portupgrade -a I get long lists like the one below.
How are items held
How do I decide whether ort not to hold them.
Some advice would be appreciated.
I have searched for some guidance on the freebsd web site but not found any.

---  Skipping 'bsdpan-B-Debug-1.10' because it is held by user (specify -f to 
force)
---  Skipping 'bsdpan-Exporter-5.62' because it is held by user (specify -f 
to force)
---  Skipping 'bsdpan-constant-1.15' because it is held by user (specify -f 
to force)
---  Skipping 'bsdpan-Text-Soundex-3.03' because it is held by user 
(specify -f to force)
---  Skipping 'bsdpan-File-Path-2.04' because it is held by user (specify -f 
to force)
---  Skipping 'bsdpan-CPAN-1.9203' because it is held by user (specify -f to 
force)
---  Skipping 'bsdpan-SelfLoader-1.15' because it is held by user (specify -f 
to force)
---  Skipping 'bsdpan-MailTools-2.03' because it is held by user (specify -f 
to force)
---  Skipping 'bsdpan-libwww-perl-5.813' because it is held by user 
(specify -f to force)
---  Skipping 'bsdpan-Term-ReadLine-Perl-1.0302' because it is held by user 
(specify -f to force)
---  Skipping 'bsdpan-DB_File-1.817' because it is held by user (specify -f 
to force)
---  Skipping 'bsdpan-IPC-SysV-2.00' because it is held by user (specify -f 
to force)
---  Skipping 'bsdpan-ANSIColor-1.12' because it is held by user (specify -f 
to force)
---  Skipping 'bsdpan-Thread-Semaphore-2.09' because it is held by user 
(specify -f to force)
---  Skipping 'bsdpan-B-Lint-1.11' because it is held by user (specify -f to 
force)
---  Skipping 'bsdpan-CPAN-1.9205' because it is held by user (specify -f to 
force)
---  Skipping 'bsdpan-Safe-2.16' because it is held by user (specify -f to 
force)
---  Skipping 'bsdpan-CPAN-1.9102' because it is held by user (specify -f to 
force)
---  Skipping 'bsdpan-Thread-Queue-2.11' because it is held by user 
(specify -f to force)
---  Skipping 'bsdpan-libnet-1.21' because it is held by user (specify -f to 
force)
---  Skipping 'bsdpan-Shell-0.72' because it is held by user (specify -f to 
force)
---  Skipping 'textproc/p5-Text-Balanced' because it is held by user 
(specify -f to force)
---  Skipping 'bsdpan-Term-Cap-1.12' because it is held by user (specify -f 
to force)
---  Skipping 'databases/p5-DBD-mysql' because it is held by user (specify -f 
to force)
---  Skipping 'devel/p5-IO' because it is held by user (specify -f to force)
---  Skipping 'devel/p5-Devel-Symdump' because it is held by user (specify -f 
to force)
---  Skipping 'devel/p5-Pod-Coverage' because it is held by user (specify -f 
to force)
---  Skipping 'devel/p5-Filter' because it is held by user (specify -f to 
force)
---  Skipping 'lang/p5-Switch' because it is held by user (specify -f to 
force)
---  Skipping 'misc/p5-Array-Compare' because it is held by user (specify -f 
to force)
---  Skipping 'textproc/p5-Pod-Simple' because it is held by user (specify -f 
to force)
---  Skipping 'math/p5-Math-Complex' because it is held by user (specify -f 
to force)
---  Skipping 'converters/p5-Encode' because it is held by user (specify -f 
to force)
---  Skipping 'www/p5-CGI.pm' because it is held by user (specify -f to 
force)
---  Skipping 'devel/p5-AutoLoader' because it is held by user (specify -f to 
force)
---  Skipping 'devel/p5-Devel-PPPort' because it is held by user (specify -f 
to force)
---  Skipping 'textproc/p5-podlators' because it is held by user (specify -f 
to force)

Thanks

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


Re: Flooded with emails to root -- URGG

2008-09-26 Thread David Southwell
On Thursday 25 September 2008 09:40:34 Chris Pratt wrote:
 On Sep 25, 2008, at 9:34 AM, David Southwell wrote:
  Hi
 
  I am running postfix.
 
  Am receiving a flood of  emails that appear to emanate from Servers
  who have
  received spam that has masqueraded [EMAIL PROTECTED] as the email source.
 
  Could anyone please suggest the best way of dealing with these.
  Please bear in
  mind I am not all that familiar with postfix so if anyone feels
  treating me
  like an idiot and spoonfeeding the actual command s to use I would
  be most
  appreciative chuckles

 I have no idea what a command would be to stop receipt. Cutting off the
 original generation of the emails being spoofed is more to the point.

 You may want to look at SPF (openspf.org). If your domain is listed
 with an
 spf entry in DNS, you become less tempting as a domain to spoof. Over
 time, it will all but cease. Once you've created an SPF DNS record, many
 servers receiving mail spoofed for your domain will begin to drop it
 rather
 than backscatter emails back to your server.

 You should study the information on their site but in a nutshell, you
 create
 a TXT record in DNS that lists your servers IP as the only valid
 machine to
 send mail for your domain. This tells the others to drop emails from
 other
 IPs using your domain. It's relatively effective and painless.

Thank you

That really did the trick..

Within two hours the flood of backscatter (about 400 an hour) was virtually 
gone

That was great advice

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


Flooded with emails to root -- URGG

2008-09-25 Thread David Southwell
Hi

I am running postfix.

Am receiving a flood of  emails that appear to emanate from Servers who have 
received spam that has masqueraded [EMAIL PROTECTED] as the email source. 

Could anyone please suggest the best way of dealing with these. Please bear in 
mind I am not all that familiar with postfix so if anyone feels treating me 
like an idiot and spoonfeeding the actual command s to use I would be most 
appreciative chuckles 

I have just installed procmail but not yet activated it. (Incidentally I do 
have a number of virtual domains but the only one that seems to get flooded 
is the primary hostname.

There have also been numerous failed hacking attempts on to the system but as 
they keep trying to get in using services that are not actually running they 
have got nowhere (so far!!)

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


Re: Postfix issue

2008-09-08 Thread David Southwell
On Monday 08 September 2008 03:57:11 you wrote:
 On Mon, 8 Sep 2008 02:47:47 -0700, David Southwell [EMAIL PROTECTED] 
wrote:
  Hi
 
  Could anyone tell me what entry I should make in postfix configuration
  files to bounce mails directed to [EMAIL PROTECTED] that emanate from a
  source outside my local network.
 
  Sorry to ask the question here but postfix users mailing list is
  currently rejecting mails from servers on a dynamic ip address - so I
  cannot get through to ask a question there.

 I don't think that restriction is going to be lifted any time soon.  So
 why are you not using your ISP to relay emails, using its mail gateway
 (which should have a static IP address)?

I think the restriction is OTT especially in the light of civil liberties 
issues.

I do not like the fact that a number of governments (including most european 
ones)  now have the right to access all emails that pass through an ISP's 
server. They do not have the right to access private server systems unless 
they have a warrant. 


BIG BROTHER is watching far too much. Frankly I am surprised that 
organisations such as Postfix are not aware of the issue and realise the 
civil liberties implicati

Another emerging issue is cable operators refusing to allow fixed IP address 
so they can receive revenue from reporting on user usage data.

Additionally  low volume users, unless they pay a high premium and subscribe 
to a business service cannot acquire fixed IPs.  IN some areas that are 
primarily residential they will not even allow fixed IPs at any price.


This movement to commercialise the internet and limit access in this way is 
deplorable when there are alternative methods of dealing with legitimate 
problems. 

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


Re: Postfix issue

2008-09-08 Thread David Southwell
On Monday 08 September 2008 03:38:05 Sahil Tandon wrote:
 David Southwell [EMAIL PROTECTED] wrote:
  Could anyone tell me what entry I should make in postfix
  configuration files to bounce mails directed to [EMAIL PROTECTED]
  that emanate from a source outside my local network.

 After permitting your networks in the smtpd_recipient_restrictions, use
 check_recipient_access to REJECT any messages with an RCPT TO
 [EMAIL PROTECTED]

 http://www.postfix.org/postconf.5.html#check_recipient_access
 http://www.postfix.org/access.5.html

Thanks very much..

I seem to be struggling getting with the postfix command structure.

If you have the time would you be kind enough to give me specific examples of 
the actual entries to be made in the appropriate files. In case it is 
relevant my server has a  number of virtual domains but the problem I am 
getting is on the primary address for the mail server. Assume the email 
address in question is
[EMAIL PROTECTED] which appears to be subjected to problems and I want to 
permit only addresses on the local network to send emails to that address.

Thanks in advance

No problem if you are too busy

David

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


Re: Postfix issue

2008-09-08 Thread David Southwell
On Monday 08 September 2008 04:10:11 Sahil Tandon wrote:
 David Southwell [EMAIL PROTECTED] wrote:
  Sorry to ask the question here but postfix users mailing list is
  currently rejecting mails from servers on a dynamic ip address
  - so I cannot get through to ask a question there.

 Incidentally, your IP is also listed on several RBLs.

You are right - that is why I am asking this question to help me fix the 
problem. Someone hacked our network. I have fixed most stuff but need to fix 
this issue to close the final door. !!!

Someone got a trojan onto my wifes  windows 32 bit system which has access to 
my picture library (I am a photographer). It has taken me three days to fix 
the problem there and then I found they had used that route to get onto the 
freebsd server. I have blocked that access now but there are some things to 
fix on the mail suystem and this is one of them.

I think I have closed most loopholes now.

If you could help me with this one it would be appreciated.

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


Re: Postfix issue

2008-09-08 Thread David Southwell
On Monday 08 September 2008 04:19:11 Wojciech Puchar wrote:
  I do not like the fact that a number of governments (including most
  european ones)  now have the right to access all emails that pass through
  an ISP's

 only if you use big operators.

All UK operators are big operators and covered by this -- if you provide 
internet access you jhave to give government access!!

  BIG BROTHER is watching far too much. Frankly I am surprised that

 we have democracy. in democracy majority decides for everybody.
 majority wanted it for they own good. minority has to shut up or go
 away.

A democracy that does not respect minority rights including civil liberties  
is not a democracy but an authoritarian state.


  Another emerging issue is cable operators refusing to allow fixed IP
  address so they can receive revenue from reporting on user usage data.

 could you please tell more about the sentence above. maybe it's my bad
 english but i don't understand. why constantly changing user IP could help
 reporting user data and getting revenue?
They keep track of who is connected by using  hardware info and by use of 
login security.


  This movement to commercialise the internet and limit access in this way
  is deplorable when there are alternative methods of dealing with
  legitimate

 even now we are more restricted than people in China, where they have
 chinese internet with very very limited access to outside, but withing
 chinese internet there are very little limits.

Whether anyone else is more or less affected is irrelevant. I would not want 
to sanction state executions in my own country because state executions are 
permitted in either USA or China or Iran or Iraq!! Neither would I want to 
approve breaches of civil liberties because there are breaches in Chine.

David


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


Re: Postfix issue

2008-09-08 Thread David Southwell
On Monday 08 September 2008 04:47:49 Giorgos Keramidas wrote:
 On Mon, 8 Sep 2008 04:33:14 -0700, David Southwell [EMAIL PROTECTED] 
wrote:
 On Monday 08 September 2008 03:57:11 you wrote:
 On Mon, 8 Sep 2008 02:47:47 -0700, David Southwell [EMAIL PROTECTED] 
wrote:
  Could anyone tell me what entry I should make in postfix configuration
  files to bounce mails directed to [EMAIL PROTECTED] that emanate from a
  source outside my local network.
 
  Sorry to ask the question here but postfix users mailing list is
  currently rejecting mails from servers on a dynamic ip address - so I
  cannot get through to ask a question there.
 
  I don't think that restriction is going to be lifted any time soon.  So
  why are you not using your ISP to relay emails, using its mail gateway
  (which should have a static IP address)?
 
  I think the restriction is OTT especially in the light of civil
  liberties issues.
 
  I do not like the fact that a number of governments (including most
  european ones) now have the right to access all emails that pass
  through an ISP's server. They do not have the right to access private
  server systems unless they have a warrant.

 'civil liberties' are only meaningful in the context of a specific
 'civilization'.  Welcome to the civilization that allows spammers to use
 dynamic IP addresses to disrupt, annoy, cause harm, commit commercial
 and all other sorts of fraud.

 One may easily argue that the 'civil laws' that forbid stealing from
 other people are 'limiting the freedom we have to use the potentially
 boundless resources available all over the place'.  I don't think anyone
 would consider the argument in favor of stealing as very sound.

 The same can be said of the IP address space.  One can argue for days,
 nay for _weeks_ or even years, that requiring a static IP address to be
 able to post to a 'common resource' --like the mailing list-- is a limit
 to the freedom of everyone.  I'm not very convinced this limit is as bad
 as you are trying to describe, though.

 Giorgos
In yesterday's world anyone could send a physical letter to any address 
anywhere in the world. I get spam letters through the letter box it is up to 
me to chuck them in the bin. Why should the internet be different especially 
when the restrictions on fixed IPs are brought about soleley for commercial 
interests.

If the same protocol was applied to physical mail then we would not have been 
allowed to send letters unless we had a big building to send it from and all 
letters would have had to have had a big building sending address.

No banning on the grounds of address type is discriminations. Yes bad because 
there has been specific abuse and ban until the abuse is cleaned up.. but do 
not ban on type of address!!

It would be like saying only the rich could send letters!!

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


Re: Postfix issue

2008-09-08 Thread David Southwell
On Monday 08 September 2008 05:09:03 Giorgos Keramidas wrote:
 On Mon, 8 Sep 2008 05:21:03 -0700, David Southwell [EMAIL PROTECTED] 
wrote:
  If the same protocol was applied to physical mail then we would not
  have been allowed to send letters unless we had a big building to send
  it from and all letters would have had to have had a big building
  sending address.

 We have a big building; it's called Post Office.  Or do you think that
 someone determined enough cannot monitor where you are sending physical
 letters?

I agree and they do BUT they need a warrant to do so!! That is the safeguard.

With the internet no warrant is needed. There is no protection for civil 
liberties as applies with pohysical mail.
David
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Postfix issue

2008-09-08 Thread David Southwell
On Monday 08 September 2008 05:03:30 Zbigniew Szalbot wrote:
 David Southwell:
  In yesterday's world anyone could send a physical letter to any address
  anywhere in the world. I get spam letters through the letter box it is up
  to me to chuck them in the bin. Why should the internet be different
  especially when the restrictions on fixed IPs are brought about soleley
  for commercial interests.

 Because of sheer volume... in yesterday's world one was not able to send
   thousands of letters in a few seconds for free...or by using services
 one has not paid for...

In the past world one paid to send and received for free. That was the deal.

In the past people abused the mail system by using forged stamps or freepost 
labels. There is no difference. I pay for my connection to receive.. and pay 
for my connection to send. Some people just want to not paly their part in 
absorbing the risks that go with participation. It is up to us to defend our 
systems. 

To classify a whole load of users, the majority of whom are genuine, as 
invalid users is degrading and discriminatory.

My point of viwew -- you are entitled to yours but IMHO not to enforce it!!

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


Postfix issue

2008-09-08 Thread David Southwell
Hi

Could anyone tell me what entry I should make in postfix configuration files 
to bounce mails directed to [EMAIL PROTECTED] that emanate from a source 
outside 
my local network.

Sorry to ask the question here but postfix users mailing list is currently 
rejecting mails from servers on a dynamic ip address - so I cannot get 
through to ask a question there.

Thanks

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


smtp authentication

2008-09-01 Thread David Southwell
Hi

 I am really ignorant about this issue.

I am running postfix on freebsd 7.0 using a dynamic IP address and am getting 
requests to turn on smtp authentication for outgoing mails to reach servers 
such as yahoo.com but do not know how to do it.

I am using kmail as a client.

If anyone could point me in the right direction I would be most grateful.

Thank you

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


Image metadata - reading writing

2008-07-09 Thread David Southwell
Hi

Does anyone know of a uitlity that for metatdata stored in raw image files 
(especially canon *.CR2) would enable me to:
1. Read the data from a file
2. Write new information into the file

I  want to extract the metadata, use it in a mysql database and update the 
metadata from the mysql database.

Thanks in advance

David

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


Re: stdout -determining size of??

2007-09-24 Thread David Southwell
On Saturday 22 September 2007 12:00:41 Dan Nelson wrote:
 In the last episode (Sep 22), David Southwell said:
  How is the the size of stdout controlled.
 
  My query comes about because I had a shell running for ages with
  unlimited history and found it had gobbled uyp all the space available to
  stdout!!!

 Could you provide the error message that made you think that stdout has
 a limit?  stdout could be anything: tty, socket, pipe, file, etc.  If
 you have redirected stdout from a script to a file, like ls  ls.txt,
 then it's possible that you filled up a filesystem.

Here is what made me ask the question:
--
Weekly output report:

Cleaning up kernel database files:

Rebuilding locate database:
locate.code: stdout: No space left on device

Rebuilding whatis database:

-- End of weekly output --
___

After getting the message I dumped the history and locate.updatedb ran without 
any problem.

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


Re: stdout -determining size of??

2007-09-24 Thread David Southwell
On Monday 24 September 2007 04:14:48 Erik Trulsson wrote:
 On Mon, Sep 24, 2007 at 04:09:56AM -0700, David Southwell wrote:
  On Saturday 22 September 2007 12:00:41 Dan Nelson wrote:
   In the last episode (Sep 22), David Southwell said:
How is the the size of stdout controlled.
   
My query comes about because I had a shell running for ages with
unlimited history and found it had gobbled uyp all the space
available to stdout!!!
  
   Could you provide the error message that made you think that stdout has
   a limit?  stdout could be anything: tty, socket, pipe, file, etc.  If
   you have redirected stdout from a script to a file, like ls  ls.txt,
   then it's possible that you filled up a filesystem.
 
  Here is what made me ask the question:
  --
  Weekly output report:
 
  Cleaning up kernel database files:
 
  Rebuilding locate database:
  locate.code: stdout: No space left on device

 Here stdout was almost certainly re-directed to some file on the disk.
 Unfortunately the disk was full.

  Rebuilding whatis database:
 
  -- End of weekly output --
  ___
 
  After getting the message I dumped the history and locate.updatedb ran
  without any problem.

 The shells history is probably stored in a file on the disk.
 When you removed that file the space became available again.


 It looks like you simply filled up the filesystem.
 Nothing to do with 'the size of stdout'.

I understand but how can I manage this?

Do you happen to know how to configure  history storage? It looks as though I 
need to choose a filesystem where running run out of space is sufficiently 
improbable to be inconceivable!! The shell in question is an X Konsole.

Thanks again

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


stdout -determining size of??

2007-09-22 Thread David Southwell
Hi

How is the the size of stdout controlled.

My query comes about because I had a shell running for ages with unlimited 
history and found it had gobbled uyp all the space available to stdout!!!

So I wonder how stdout is controlled!!

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


subversion: Can't Creat Directory error

2007-08-23 Thread David Southwell
Hi

Using eclipse as an IDE with subclipse on a Ruby on Rails project I am 
getting the error

svn: Can't Create Directory  /long path   :The filename or Extsnion is too 
long

The svn server is on freebsd 6.1 with apache/webdav and the error is reported 
from a win XP x64 client on our local network.

Can onyone please guide me on how to deal with this problem?

Does anyone happen to know where this limitation is likely to be coming from 
and how it might be overcome?

Thanks in advance

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


Re: Convince me, please!

2007-08-16 Thread David Southwell
On Wednesday 15 August 2007 12:39:17 Giorgos Keramidas wrote:
 One of the best emails I've seen as a reply to a user coming from the
 Windows world.

 Many thanks for taking the time to write all this :-)

 - Giorgos

 On 2007-08-15 03:14, David Southwell [EMAIL PROTECTED] wrote:
  I see where both sides in this argument are coming from.. basically a
  lack of understanding of the others point of view. As a user of
  multiple operating systems..Freebsd, Windows 98, 2000, XP and XP 64,
  Linux and apple I thought i might throw in a remark or two which is
  intended to help a newcomer to a freebsd world.
 
  First lets think of the MS windows user. As a newcomer to a unix OS,
  such as freebsd, you are faced with two very large  sets of challenges
  or, as I would like you to think of it, educational opportunities.
 
  Because the vendor of the operating system is also the vendor of major
  applications, including its most commonly used browser, office
  applicatiions and compiler systems non-technically minded users do not
  easily have a clear grasp of the distinction between the  roles of  an
  OS and the role of applications. To use any Unix system effectively a
  clear and reasonably detailed understanding of the way applications
  interact with the operating system is essential.
 
  For its own commercial reasons Microoft are keen to blur that
  distinction in the minds of its users to maintain a false notion that
  only MS windows can fulfill its user's needs.
 
  Secondly because  MS windows operates in a commercial environment it
  fosters a dependency culture in which you pay for your OS, you pay for
  your applications and in return you EXPECT a level of support and
  therefore users are not encouraged to extend their capabilities beyond
  understanding the applications they use.
 
  In the freebsd world most applications and utilities  are there for
  installing without charge. The users include people who develop and
  everyone partakes in a foem of voluntary mutual support. It is a world
  in which expectation of support is anathema and in which a combination
  of striving for greater personal comeptency and voluntary sharing of
  knowledge and responsibility is the dominant ethos.
 
  So if you plan a move to the unix be ready to learn to build a greater
  understanding of how the operating system works, how applications are
  installed and maintained and above all to realize your basic needs
  will not be fulfilled in the same way as they are fulfilled in MS
  windows and that that you will need to put in a lot of effort to
  understand how to benefit from the much greater opportunities provided
  by OS's such as Freebsd.
 
  So your first first set of educational opportunities are to learn how
  reconstruct your expectations and to construct a set of relationships
  that will work for you in a unix world.
 
  The second set of educational opportunities are to study the
  practicalities.  You need to decide the basic things you need to get
  on board freebsd. You need a browser.. that is no problem there are
  many to choose from .. you need office tools well there is a complete
  office suite. Whatever you need there will be a tool for you and the
  choices are a rich but usually free!!. The draw back is being faced
  with the challenge of learning how to choose.
 
  That is daunting challenge and those of us who are familiar with unix
  system, and accustomed to communicating with other freebsd users, are
  often guilty of failing to understand that people who come from an MS
  Windows find the terse ways in which we tend to communicate to be
  abrasive.
 
  My suggestion to you would be to proceed without risk. Dabble with
  freebsd alongside your MSWindows system until you reach the point at
  which you are ready or not (as the case may be) to change over
  completely. You do not need the latest hardware to get started.
  Freebsd is much less bloated and, in that respect, more efficient than
  MS windows. Follow the instructions and play  with the system and see
  where you want to go with it. Like countries all IT systems and
  applications have their own language.  MS windows has its own language
  !! Every territory has a language needed to discuss its inhabitants
  understandings. If you use the pejorative term jargon to describe a
  language you will need to learn you will never learn to adjust. I
  recomend you treat this adjustment process is an educational
  opportunity.
 
  If you are not willing to learn the words that describe how a world
  that is new to you functions then, like a immigrant in a foreign land,
  you will not feel you understand either the practical systems or the
  cultiure of your environment.
 
  You will not find anyone here wanting to sell you the system!! The
  unix world does not work like that. Those of us who have used unix
  since before MSDos was developed do not easily realize just how
  difficult the adjustment can be for those whose experience

Re: Convince me, please!

2007-08-15 Thread David Southwell
On Wednesday 08 August 2007 23:20:28 Goltsios Theodore wrote:
 Well sorry if  I'm  getting annoying but I think you face the Unix
 world in the wrong manner. Well you expect to find something you are
 used to, or something like MS Win you only know. I advise that you
 should be more open minded, willing to read and spare time to get
 familiar to the Unix OSes that are around. But the advantages are and
 the power that these kind of systems offer, which is probably unlimited
 compared with the Windowz strict and limited way of operating. If you
 really don't want that kind of power (thus doing what you must faster,
 better and in a more efficient way) then you are in the wrong place. A
 good way to start solving all questions concerning the FreeBSD is its
 handbook or the perhaps the FAQ.

 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/

 PS Try some googling or the freebsd official site for more resources.
 I'm sure all your questions will be satisfied.

 Theodoros Goltsios
 Kinetix Tele.com Support Center
 email: [EMAIL PROTECTED], [EMAIL PROTECTED]
 Tel.  Fax: +30 2310556134
 WWW: http://www.kinetix.gr/

 Latitude wrote:
  I'm interested in changing over to FreeBSD from Windows, but I'll have
  to say, you guys don't really present a forceful argument to Windows
  users of how easy the switch may be.  I get knee-deep in FreeBSD jargon
  the second I get to your webpage. I need to see an overwhelming argument
  that FreeBSD is a perfectly acceptable alternative for home desktop
  users who have previously known only Windows.
 
  For instance, if I download and install FreeBSD, will I instantly have a
  desktop windowing environment that I can navigate in while I figure out
  what's going on?  Will I have a browser and way to setup an internet
  connection right off the bat?  How will I migrate files from other
  operating systems?
 
  I understand you guys have been around for a while, but you don't seem
  to understand the monumental fear involved in switching operating
  systems.  You need to address those concerns head on from the start.  I
  need to see several screenshots of apps that I can use as alternatives
  to what I have.
 
  Help me (and yourselves) out.
I see where both sides in this argument are coming from.. basically a lack of 
understanding of the others point of view. As a user of multiple operating 
systems..Freebsd, Windows 98, 2000, XP and XP 64, Linux and apple I thought i 
might throw in a remark or two which is intended to help a newcomer to a 
freebsd world.

First lets think of the MS windows user. As a newcomer to a unix OS, such as 
freebsd, you are faced with two very large  sets of challenges or, as I would 
like you to think of it, educational opportunities. 

Because the vendor of the operating system is also the vendor of major 
applications, including its most commonly used browser, office applicatiions 
and compiler systems non-technically minded users do not easily have a clear 
grasp of the distinction between the  roles of  an OS and the role of 
applications. To use any Unix system effectively a clear and reasonably 
detailed understanding of the way applications interact with the operating 
system is essential.  

For its own commercial reasons Microoft are keen to blur that distinction 
in the minds of its users to maintain a false notion that only MS windows can 
fulfill its user's needs. 

Secondly because  MS windows operates in a commercial environment it fosters a 
dependency culture in which you pay for your OS, you pay for your 
applications and in return you EXPECT a level of support and therefore users 
are not encouraged to extend their capabilities beyond understanding the 
applications they use. 

In the freebsd world most applications and utilities  are there for installing 
without charge. The users include people who develop and everyone partakes in 
a foem of voluntary mutual support. It is a world in which expectation of 
support is anathema and in which a combination of striving for greater 
personal comeptency and voluntary sharing of knowledge and responsibility is 
the dominant ethos.

So if you plan a move to the unix be ready to learn to build a greater 
understanding of how the operating system works, how applications are 
installed and maintained and above all to realize your basic needs will not 
be fulfilled in the same way as they are fulfilled in MS windows and that 
that you will need to put in a lot of effort to understand how to benefit 
from the much greater opportunities provided by OS's such as Freebsd.

So your first first set of educational opportunities are to learn how 
reconstruct your expectations and to construct a set of relationships that 
will work for you in a unix world. 

The second set of educational opportunities are to study the practicalities. 
You need to decide the basic things you need to get on board freebsd. You 
need a browser.. that is no problem there are many to choose from .. you 

Re: Convince me, please!

2007-08-15 Thread David Southwell
On Wednesday 15 August 2007 03:14:09 David Southwell wrote:
 On Wednesday 08 August 2007 23:20:28 Goltsios Theodore wrote:
  Well sorry if  I'm  getting annoying but I think you face the Unix
  world in the wrong manner. Well you expect to find something you are
  used to, or something like MS Win you only know. I advise that you
  should be more open minded, willing to read and spare time to get
  familiar to the Unix OSes that are around. But the advantages are and
  the power that these kind of systems offer, which is probably unlimited
  compared with the Windowz strict and limited way of operating. If you
  really don't want that kind of power (thus doing what you must faster,
  better and in a more efficient way) then you are in the wrong place. A
  good way to start solving all questions concerning the FreeBSD is its
  handbook or the perhaps the FAQ.
 
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/
 
  PS Try some googling or the freebsd official site for more resources.
  I'm sure all your questions will be satisfied.
 
  Theodoros Goltsios
  Kinetix Tele.com Support Center
  email: [EMAIL PROTECTED], [EMAIL PROTECTED]
  Tel.  Fax: +30 2310556134
  WWW: http://www.kinetix.gr/
 
  Latitude wrote:
   I'm interested in changing over to FreeBSD from Windows, but I'll have
   to say, you guys don't really present a forceful argument to Windows
   users of how easy the switch may be.  I get knee-deep in FreeBSD jargon
   the second I get to your webpage. I need to see an overwhelming
   argument that FreeBSD is a perfectly acceptable alternative for home
   desktop users who have previously known only Windows.
  
   For instance, if I download and install FreeBSD, will I instantly have
   a desktop windowing environment that I can navigate in while I figure
   out what's going on?  Will I have a browser and way to setup an
   internet connection right off the bat?  How will I migrate files from
   other operating systems?
  
   I understand you guys have been around for a while, but you don't seem
   to understand the monumental fear involved in switching operating
   systems.  You need to address those concerns head on from the start.  I
   need to see several screenshots of apps that I can use as alternatives
   to what I have.
  
   Help me (and yourselves) out.

 I see where both sides in this argument are coming from.. basically a lack
 of understanding of the others point of view. As a user of multiple
 operating systems..Freebsd, Windows 98, 2000, XP and XP 64, Linux and apple
 I thought i might throw in a remark or two which is intended to help a
 newcomer to a freebsd world.

 First lets think of the MS windows user. As a newcomer to a unix OS, such
 as freebsd, you are faced with two very large  sets of challenges or, as I
 would like you to think of it, educational opportunities.

 Because the vendor of the operating system 
I mean here in the MS windows operating system!
 is also the vendor of major 
 applications, including its most commonly used browser, office
 applicatiions and compiler systems non-technically minded users do not
 easily have a clear grasp of the distinction between the  roles of  an OS
 and the role of applications. To use any Unix system effectively a clear
 and reasonably detailed understanding of the way applications interact with
 the operating system is essential.

 For its own commercial reasons Microoft are keen to blur that
 distinction in the minds of its users to maintain a false notion that only
 MS windows can fulfill its user's needs.

 Secondly because  MS windows operates in a commercial environment it
 fosters a dependency culture in which you pay for your OS, you pay for your
 applications and in return you EXPECT a level of support and therefore
 users are not encouraged to extend their capabilities beyond understanding
 the applications they use.

 In the freebsd world most applications and utilities  are there for
 installing without charge. The users include people who develop and
 everyone partakes in a foem of voluntary mutual support. It is a world in
 which expectation of support is anathema and in which a combination of
 striving for greater personal comeptency and voluntary sharing of knowledge
 and responsibility is the dominant ethos.

 So if you plan a move to the unix be ready to learn to build a greater
 understanding of how the operating system works, how applications are
 installed and maintained and above all to realize your basic needs will not
 be fulfilled in the same way as they are fulfilled in MS windows and that
 that you will need to put in a lot of effort to understand how to benefit
 from the much greater opportunities provided by OS's such as Freebsd.

 So your first first set of educational opportunities are to learn how
 reconstruct your expectations and to construct a set of relationships that
 will work for you in a unix world.

 The second set of educational opportunities are to study

New to Subversion: Authorization failure

2007-08-13 Thread David Southwell
Hi 
I am new to subversion and have hit a problem - if anyone feels like helping 
it would be much appreciated.

I have set up subversion to run with apache.
Versions:

apache-2.2.4_2 
subversion-1.4.4_1

I can connect remotely from a client to the server, using name|password 
combination so authentication appears to work fine but authorization is 
failing. 

This is a new repository as can be seen from the output of the 
svnlook. An initial import attempt from the client fails with the client 
reporting RA Layer request failedand 403 forbidden error from the server.

Clearly I have something wrong in my authorization set up. Can anyone point me 
in the right direction?

I have chosen to use an SVNParentPath configuration for multiple repositories 
to exist under the same root with all repositories sharing the same 
AuthzSVNAccessFile. 
I have made all repository paths owner:group www:www

I have made no changes to the files created by the svnadmin create command.
 
1. Here are my entries in  hhtp.conf
# Modules include
LoadModule dav_module libexec/apache22/mod_dav.so
LoadModule dav_svn_module     libexec/apache22/mod_dav_svn.so
LoadModule authz_svn_module   libexec/apache22/mod_authz_svn.so
# Location entry:
Location /svnhome
        DAV svn
        SVNParentPath /usr2/svnhome
        SVNListParentPath on
# Access control Policy
        AuthzSVNAccessFile /usr/local/etc/apache22/Authz_svnhome

# try anonymous access first, resort to authentication
# if necessary
        
        Require valid-user
        AuthType Basic
        AuthName Svn Repository
        AuthUserFile /usr/local/etc/apache22/svn-auth-methusela_02
        
/Location
CustomLog       /usr/local/etc/apache22/svn_logfile %t %u %{SVN-ACTION}e 
env=SVN-ACTION       
#

2. My AuthzSVNAccessFile
#
AuthzSVNAccessFile /usr/local/etc/apache22/Authz_svnhome
[/]
* = r
[/usr2/svnhome]
* =r
[project_meth: /usr2/svnhome/project_meth]
david = rw
test = r
#

3. Output from svnlook
#
svnlook info /usr2/svnhome/project_meth

2007-08-13 03:09:11 -0700 (Mon, 13 Aug 2007)
0
#

4. http-error.log
#
httpd-error.log
[Mon Aug 13 09:30:04 2007] [error] [client 192.168.15.1] Access 
denied: 'david' MKACTIVITY project_meth:
#

5. svn_logfile
#
[13/Aug/2007:08:49:56 -0700] david list-dir '/'
[13/Aug/2007:08:51:47 -0700] david list-dir '/'
#

All help appreciated
Thanks in advance
david
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Subversion --mod_dav_svn.so -

2007-08-12 Thread David Southwell
Hi

I am getting into problems compiling subversion with apache2.

subversion-1.4.4_1
apache-2.2.4_2

Could someone who is familier with subversion  apache please  confirm with me 
the configure and make command lines for both. 

I have what I believe to be the correct entries in httpd.conf:

LoadModule dav_module libexec/apache22/mod_dav.so
LoadModule dav_svn_module libexec/apache22/mod_dav_svn.so

Whatever I do not finish up with the required *so files after subversion is 
installed.

So
/usr/local/sbin/apachectl restart
reports:

httpd: Syntax error on line 88 of /usr/local/etc/apache22/httpd.conf: Cannot 
load /usr/local/libexec/apache22/mod_dav_svn.so into server: Cannot 
open /usr/local/libexec/apache22/mod_dav_svn.so

An up to date locate database does not find mod_dav_svn.so on the system.
whereis reports:
svn path is
svn: /usr/local/bin/svn
httpd path is:
httpd: /usr/local/sbin/httpd

Other *.so modules are in
/usr/local/libexec/apache22
and loading correctly


Thanks in advance

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


Re: Help Pleasee: How to check FreeBSD's system characterset? How to change it to UTF-8?

2007-08-12 Thread David Southwell
On Sunday 12 August 2007 08:04:58 VeeJay wrote:
  Hello fellows

 How to check FreeBSD's system characterset?

 How to change it to UTF-8?

 I am unable to type a Ø Å Æ character


 Please help!

depending upon what you are doing one of the outputs from
#apropos utf8
may be helpful.

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


Re: Subversion --mod_dav_svn.so -SOLVED

2007-08-12 Thread David Southwell
On Sunday 12 August 2007 05:24:19 David Southwell wrote:
 Hi

 I am getting into problems compiling subversion with apache2.

 subversion-1.4.4_1
 apache-2.2.4_2

 Could someone who is familier with subversion  apache please  confirm with
 me the configure and make command lines for both.

 I have what I believe to be the correct entries in httpd.conf:

 LoadModule dav_module libexec/apache22/mod_dav.so
 LoadModule dav_svn_module libexec/apache22/mod_dav_svn.so

 Whatever I do not finish up with the required *so files after subversion is
 installed.

 So
 /usr/local/sbin/apachectl restart
 reports:

 httpd: Syntax error on line 88 of /usr/local/etc/apache22/httpd.conf:
 Cannot load /usr/local/libexec/apache22/mod_dav_svn.so into server: Cannot
 open /usr/local/libexec/apache22/mod_dav_svn.so

 An up to date locate database does not find mod_dav_svn.so on the system.
 whereis reports:
 svn path is
 svn: /usr/local/bin/svn
 httpd path is:
 httpd: /usr/local/sbin/httpd

 Other *.so modules are in
 /usr/local/libexec/apache22
 and loading correctly


 Thanks in advance

 david
OK Found it
# make -DWITH_MOD_DAV_SVN configure
#make -DWITH_MOD_DAV_SVN 
#make install
works


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


Umass device problems

2007-07-16 Thread David Southwell
Hi

I originally posted the report below in April but so far noone has reported a 
fix.
Should I post this issue to another list? Alternatively maybe a PR is 
necessary.

I can stop repeated messages by placing a card in the umass devivce but when 
there is no card present there seems no way to stop them.

Thanks in advance

David Southwell



[EMAIL PROTECTED] /var/run]# camcontrol devlist
USB2.0 CF  CardReader            at scbus0 target 0 lun 0 (pass0,da0)
USB2.0 CBO CardReader            at scbus0 target 0 lun 1 (pass1,da1)
---
From /var/log/messages:
Apr 18 03:27:03 dns1 kernel: Opened disk da1 - 6
Apr 18 03:27:05 dns1 kernel: (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 
0 0 0 0 0 0 0 0 
Apr 18 03:27:05 dns1 kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI Status 
Error
Apr 18 03:27:05 dns1 kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check 
Condition
Apr 18 03:27:05 dns1 kernel: (da0:umass-sim0:0:0:0): NOT READY asc:3a,0
Apr 18 03:27:05 dns1 kernel: (da0:umass-sim0:0:0:0): Medium not present
Apr 18 03:27:05 dns1 kernel: (da0:umass-sim0:0:0:0): Unretryable error
Apr 18 03:27:05 dns1 kernel: Opened disk da0 - 6
Apr 18 03:27:05 dns1 kernel: (da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 
0 0 0 0 0 0 0 0 
Apr 18 03:27:05 dns1 kernel: (da1:umass-sim0:0:0:1): CAM Status: SCSI Status 
Error
Apr 18 03:27:05 dns1 kernel: (da1:umass-sim0:0:0:1): SCSI Status: Check 
Condition
Apr 18 03:27:05 dns1 kernel: (da1:umass-sim0:0:0:1): NOT READY asc:3a,0
Apr 18 03:27:05 dns1 kernel: (da1:umass-sim0:0:0:1): Medium not present
Apr 18 03:27:05 dns1 kernel: (da1:umass-sim0:0:0:1): Unretryable error
Apr 18 03:27:05 dns1 kernel: Opened disk da1 - 6
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem with packages on 6.2

2007-06-09 Thread David Southwell
On Friday 08 June 2007 22:37:01 Steve Lake wrote:
  Ok, I don't know if this is a problem with the ports setup I have
 on my Freebsd box or something else, but I thought I'd ask anyways.  I've
 got a machine with a fresh copy of 6.2 release on it.  Thought I'd be cute
 and install all the ports first and then go from there.  pkg_add -r xorg
 came up with an error that said the package couldn't be found in the
 Latest directory.  Ok, so I got the direct link to the package it
 referenced.  Can't be found by pkg_add, yet I can download it via a browser
 just fine.  So I dug around in the ALL directory instead and found the
 latest Xorg package.  Gave that to pkg_add and it found it, but then said
 it couldn't find any of the dependent packages.

  It's the same story with every single package I try to add with
 pkg_add that's referenced from the packages directory for 6.2.  The error I
 keep getting is like this:

 Error: FTP Unable to get
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/xmms.
tbz: File unavailable (e.g., file not found, no access)
 pkg_add: unable to fetch
 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/xmms
.tbz' by URL

  I've even grabbed my ports tree twice and rebuilt my kernel to 6.2
 stable and still no change.  Anyone have any idea why this isn't
 working?  And how do I, if possible, change the ftp location and path that
 pkg_add looks at so that it's using something other than the root
 ftp.freebsd.org server.  Maybe something like ftp3.freebsd.org or one of
 the lesser used ftp servers?

  Thanks in advance for any answers you can give.  :)  Please reply
 directly to me as I'm not on this list right now.  (too much mail to sort
 through)

I may be off beam here but are you behind a firewall?
Do you need to use passive mode ftp.
A look at man pkg_add might help.

david

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


Re: Xorg problem 6.9 7.2

2007-06-09 Thread David Southwell
On Friday 08 June 2007 07:07:03 [LoN]Kamikaze wrote:
 Bernt Hansson wrote:
  [LoN]Kamikaze wrote:
  Bernt Hansson wrote:
  Hello
 
  I've upgraded Xorg to 7.2 on a 6.2-stable machine according to
  UPDATING.
 
  If I'am trying startx as a normal user I get this error
 
 
  AUDIT: date ¥ time : pid X: client 1 rejected from local host (uid
  1001)
 
  Xlib: Connection to 0:0 refused by server
  Xlib: No protocol specified
 
  Starting from root no problem.
 
  As a normal user /usr/local/bin/startxfce4 starts fine.
 
  I'm guessing it's a permissions problem, is it?
 
  I suggest you check all the pathnames in your xorg.conf, I had a similar
  problem and adjusting paths solved them.
 
  What paths did you have in mind? I regenerated the xorg.conf file after
  upgrading.

 Setting

 ModulePath /usr/local/lib/xorg/modules

 is the most important one.
I have just completed a portupgrade to 7.2 but have not yet restarted the 
server.  How do I regenerate xorg.conf?

Thanks in advance

david
 


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


Re: var/log/messages umass da0 6 how to stop?

2007-04-27 Thread David Southwell
On Thursday 26 April 2007 14:51:30 Lowell Gilbert wrote:
 David Southwell [EMAIL PROTECTED] writes:
  On Thursday 26 April 2007 13:11:35 Lowell Gilbert wrote:
  David Southwell [EMAIL PROTECTED] writes:
   How do I stop these messages from umass devices.
   Apr 18 03:27:03 dns1 kernel: Opened disk da1 - 6
   Apr 18 03:27:05 dns1 kernel: (da0:umass-sim0:0:0:0): READ CAPACITY.
   CDB: 25 0 0 0 0 0 0 0 0 0
   Apr 18 03:27:05 dns1 kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI
   Status Error
   Apr 18 03:27:05 dns1 kernel: (da0:umass-sim0:0:0:0): SCSI Status:
   Check Condition
   Apr 18 03:27:05 dns1 kernel: (da0:umass-sim0:0:0:0): NOT READY
   asc:3a,0 Apr 18 03:27:05 dns1 kernel: (da0:umass-sim0:0:0:0): Medium
   not present Apr 18 03:27:05 dns1 kernel: (da0:umass-sim0:0:0:0):
   Unretryable error Apr 18 03:27:05 dns1 kernel: Opened disk da0 - 6
   Apr 18 03:27:05 dns1 kernel: (da1:umass-sim0:0:0:1): READ CAPACITY.
   CDB: 25 20 0 0 0 0 0 0 0 0
   Apr 18 03:27:05 dns1 kernel: (da1:umass-sim0:0:0:1): CAM Status: SCSI
   Status Error
   Apr 18 03:27:05 dns1 kernel: (da1:umass-sim0:0:0:1): SCSI Status:
   Check Condition
   Apr 18 03:27:05 dns1 kernel: (da1:umass-sim0:0:0:1): NOT READY
   asc:3a,0 Apr 18 03:27:05 dns1 kernel: (da1:umass-sim0:0:0:1): Medium
   not present Apr 18 03:27:05 dns1 kernel: (da1:umass-sim0:0:0:1):
   Unretryable error
  
   [EMAIL PROTECTED] /tmp]# camcontrol devlist
   USB2.0 CF  CardReaderat scbus0 target 0 lun 0
   (pass0,da0) USB2.0 CBO CardReaderat scbus0 target 0 lun
   1 (pass1,da1) [EMAIL PROTECTED] /tmp]#
  
   With no devices plugged I get these meesages at the rate of 1 every
   two seconds into /var/log/messages
 
  Is something polling those devices?
  Some kind of automounter?
  [Gnome and KDE seem to have their own automounters, running from user
  level...] ___
 
  I do not know -- how can I find out?

 Have you enabled amd(8)?
 Are you running Gnome or KDE?
 For example, I see that in Gnome, under the preferences menu, there is
 an option for whether to automatically mount removable media when
 inserted.  If you disable that and the messages go away, then we at
 least know what the trigger is.

  If I put a 256M memory card in then messages for da0 stop..

 Good; that makes sense.

The problem is that although messages stop for da0 I cannot stop da1 AND I 
would really like to be able to control this without having to have memory 
cards et al in the devices at all times.

I have tried kde settingsperipheralsstorage media and removed the tick box 
adjacent to
Enable medium application autostart after mount 
but that made no difference. The messages continue!!

There must be some other way..

Thnaks in advance to anyone who can tell me how to manage these devices 
properly

david


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


Re: var/log/messages umass da0 6 how to stop?

2007-04-27 Thread David Southwell
On Friday 27 April 2007 07:33:11 James Seward wrote:
 On 4/27/07, David Southwell [EMAIL PROTECTED] wrote:
  The problem is that although messages stop for da0 I cannot stop da1 AND
  I would really like to be able to control this without having to have
  memory cards et al in the devices at all times.

 I get this when I have my USB card reader plugged in (and empty). I'm
 pretty sure it's hal (via KDE) which is responsible for the polling in
 my case. My low-tech fix is to yank the USB cable out when I'm not
 using the reader :) If there was a way to stop it filling up my syslog
 though I'd love to know.

 /JMS

Umph -- glad I am not the only one with the problem. The difficulty in my case 
is that the media devices are built in to the front of the case so I cannot 
really unplu the usb without turning off the machine!!

There must be a solution. I wish I was a bit brighter!!

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


var/log/messages umass da0 6 how to stop?

2007-04-26 Thread David Southwell

How do I stop these messages from umass devices.
Apr 18 03:27:03 dns1 kernel: Opened disk da1 - 6
Apr 18 03:27:05 dns1 kernel: (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 
0 0 0 0 0 0 0 0 
Apr 18 03:27:05 dns1 kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI Status 
Error
Apr 18 03:27:05 dns1 kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check 
Condition
Apr 18 03:27:05 dns1 kernel: (da0:umass-sim0:0:0:0): NOT READY asc:3a,0
Apr 18 03:27:05 dns1 kernel: (da0:umass-sim0:0:0:0): Medium not present
Apr 18 03:27:05 dns1 kernel: (da0:umass-sim0:0:0:0): Unretryable error
Apr 18 03:27:05 dns1 kernel: Opened disk da0 - 6
Apr 18 03:27:05 dns1 kernel: (da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 
0 0 0 0 0 0 0 0 
Apr 18 03:27:05 dns1 kernel: (da1:umass-sim0:0:0:1): CAM Status: SCSI Status 
Error
Apr 18 03:27:05 dns1 kernel: (da1:umass-sim0:0:0:1): SCSI Status: Check 
Condition
Apr 18 03:27:05 dns1 kernel: (da1:umass-sim0:0:0:1): NOT READY asc:3a,0
Apr 18 03:27:05 dns1 kernel: (da1:umass-sim0:0:0:1): Medium not present
Apr 18 03:27:05 dns1 kernel: (da1:umass-sim0:0:0:1): Unretryable error

[EMAIL PROTECTED] /tmp]# camcontrol devlist
USB2.0 CF  CardReaderat scbus0 target 0 lun 0 (pass0,da0)
USB2.0 CBO CardReaderat scbus0 target 0 lun 1 (pass1,da1)
[EMAIL PROTECTED] /tmp]# 

With no devices plugged I get these meesages at the rate of 1 every two 
seconds into /var/log/messages

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


  1   2   >