Re: Burning CDs on FreeBSD 7.2

2010-06-17 Thread Polytropon
On Wed, 16 Jun 2010 03:03:02 -0700 (PDT), Mark Terribile 
materrib...@yahoo.com wrote:
 
 Thanks to Jerrymc and Polyoptron.  Things are working, sort of. 
 I'm using the atapicam/cdrecord solution.  But when I do a dd
 read to verify the write, the read ends on an I/O error rather
 than an EOF.  (I'm not sure that this problem is new.)  There
 is a very long delay between dd's report and the program end
 (delay on close?)  And sometimes the eject command after the
 dd locks up and eventually fails.  There are plenty of console
 messages, including READ_BIG retrying, READ_BIG timed out,
 TEST_UNIT_READY freeing zombie taskqueue request, and PREVENT_ALLOW
 taskqueue timeout - compiing request directly . 

I start wondering if this may be due to a defective drive,
or wrong cable, or even through DMA incompatibilites...

Instead of using dd (have you made sure to use the correct
block size?) try using readcd (comes with cdrecord); see
man cdrecord for details and examples.



 This is definitely NOT reliable enough to put into a script
 (which would make handling the many file names more reliable).

True.



 cdrecord reports
 ---
 scsidev: '4,0,0'
 scsibus: 4 target: 0 lun: 0
 SCSI buffer size: 64512
 Track 01: Total bytes read/written: 103874560/103874560 (50720 sectors).
 Writing  time:   41.290s
 Average write speed  20.8x.

Try to force a lower value, maybe drive and discs are not compatible.
With -speed 8 it should be slow enough and fast enough for a test.
You can use -prcap to find out what the drive tells cdrecord about
itself.



 I would be grateful for any clues about what is still wrong here.

I'd slowly expect a defective drive...



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: concerning flash under freebsd

2010-06-17 Thread Polytropon
As much as I am now a no-user of Flash, allow me the
following comments.

On Tue, 15 Jun 2010 15:49:56 -0600, Programmer in Training 
p...@joseph-a-nagy-jr.us wrote:
 Almost all Internet video  
 has moved to flash as well (such as all the sermons on sermons.net  
 which my church uses).

That's all within transition. Currently, big video portals are
moving to HTML5, often including the wish to also use free and
open standards for their videos so they can access a bigger
audience. Keeping things in Flash is a no-go. A main problem
of Flash is that is isn't compatible with the upcoming trend
to move to portable devices. Only HTML5 and compliant browsers
will be present on those platforms, and those who keep their
sites in Flash will be out of scope soon.

HTML5 will be the future; Flash already is the past. Soon,
it won't be important anymore. Conforming to standards will
be the key to all those new platforms that customers are
interested in.



 Flash is buggy, I'll give you that, but Don't  
 install it. is not an option for a lot of people.

I had been using Flash in the past (on FreeBSD). It was so
annoying that I finally completely removed it. It has become
*the* choice of professional web developers to make their
sites unusable and finally unaccessible, as well as a big
annoyance of users, primarily due to its sheer overuse for
advertising purposes.




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: i cannot login as root

2010-06-17 Thread Malcolm Kay
On Tue, 15 Jun 2010 09:56 pm, Glen Barber wrote:
 Hi,

 On 6/15/10 7:15 AM, Giorgos Tsiapaliokas wrote:
  hello,
 
  my system has 2 users the user terietor and the root user.
 
  after a failed upgrade of my system with portmaster,i can't
  login as root but i can login as terietor.
  root was using the csh shell and terietor was using the bash
  shell.

 Are you sure you don't have this backwards?

 portmaster should not touch /bin/csh, since it is not a port -

Are you sure about this.
On my release 8.0 system I find 'portmaster' in the ports but not 
in the base system!

Malcolm

 it is part of the base system.  However, if root's shell is
 set to bash and portmaster blew up upgrading that port, this
 would prevent you from logging in as root, and is a good
 example of why not to change root's default shell to something
 not in the base install.

 If this is the case, and you have physical access to the
 machine, drop into single-user mode and use chsh(1) to reset
 root's shell to /bin/csh.

 Regards,
___
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: i cannot login as root

2010-06-17 Thread Olivier Nicole
 On my release 8.0 system I find 'portmaster' in the ports but not 
 in the base system!

csh is base system
portmaster is a port

portmaster is in charge of managing ports
portmaster manages portmaster
portmaster does not manage csh

Bests,

olivier
___
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: Burning CDs on FreeBSD 7.2

2010-06-17 Thread Malcolm Kay
On Wed, 16 Jun 2010 03:28 am, Mark Terribile wrote:
 Hi,

 I have several systems, one on 5.4 and two on 7.2 .  I keep
 the 5.4 system because every time I upgrade something breaks
 and cannot be fixed without (apparently) weeks of effort.  I
 *am* trying to get off it.

 Now: my 5.4 system is down until I replace some hardware.  In
 the meantime I need to burn about forty data CDs.  I've been
 using burncd on 5.4 but when I try it on 7.2 the drive and
 process lock up during the fixate step.  Clearing them
 requires a reboot.

 Does anyone have advice, pointers, etc.?  If you point me to
 pseudo-SCSI, please give me pointers to all parts of the
 solution, since the various man pages don't have proper links
 to each other.  (Hint to man page authors: the SEE ALSO
 entries are very important, and you must consider ALL levels,
 from other apps to the system calls used.)

I seem to recall having some difficulty when trying to burn CDs 
on a DVD capable drive using burncd.
Some incompatibility of burncd and the DVD drives. I suspect 
either the software or the drives have improved so that with
more modern components it works.

Meanwhile I believe I avoided the problem using atapicam and 
cdrecord.

But I don't recall needing to reboot.

(And it could have all been a dream?)

Malcolm


 Thank you for your help.

 Mark Terribile



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


Re: CUPS between systems

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

(x) Use Kerberos authentication (FAQ)

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

CONFIGURE_ARGS+= --disable-gssapi ...

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

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

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

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

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

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

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

 Does anyone have any suggestions for me to consider trying?

The best suggestion would be to ask MAINTAINER of the port, why he disabled
Kerberos support, and maybe better mail him a patch with Kerberos support
enabled in the port :).

HTH
Ashish
-- 
Sent via Gnus from GNU Emacs

They who can give up essential liberty to obtain a little temporary safety,
deserve neither liberty nor safety.
  -- Benjamin Franklin, Memoirs of the life and writings of Benjamin Franklin


pgpQhQ6GxVHO5.pgp
Description: PGP signature


Re: i cannot login as root

2010-06-17 Thread Malcolm Kay
On Thu, 17 Jun 2010 04:18 pm, Olivier Nicole wrote:
  On my release 8.0 system I find 'portmaster' in the ports
  but not in the base system!

 csh is base system
 portmaster is a port

Yes of course!
Sorry, I must have read Glen's post rather carelessly.

With apology,

Malcolm

 portmaster is in charge of managing ports
 portmaster manages portmaster
 portmaster does not manage csh

 Bests,

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


Re: Detecting fake library versions

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

On 17/06/2010 01:59:04, Warren Block wrote:
 On Wed, 16 Jun 2010, Warren Block wrote:
 
 ln -s libintl.so.9 libintl.so.8 has been misused a lot lately.

 Are there any programs that will detect these links and remind the
 user that they have a new library masquerading as an old one?
 
 A quick hack in Ruby to address this:
 
 http://www.wonkity.com/~wblock/fakelib/fakelib.rb
 
 It's not particularly fast or elegant.  On the other hand, it's short
 and does detect the link above.

Trying much too hard there.  This command is all you need:

   find /usr/lib /lib -name '*.so.*' -type l

Any file named libfoo.so.N in the base system should be a regular file:
any symbolic links indicate shlib abuse.

This is not generally true for shlibs installed from ports, mostly due
to the prevalence of linuxisms like ABI version numbers that aren't
simple integers.  Even so, applying a little intelligent scrutiny to the
list of results will help you sort out any spurious linkage.

Cheers,

Matthew

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

iEYEARECAAYFAkwZ0BwACgkQ8Mjk52CukIxoXACfUoEVRHvj7Lc/mjjpwp2WLPnt
0kEAn3IrKC+vPIw0NRduPL/ZFtrJP3rQ
=Dwna
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Detecting fake library versions

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

On 17/06/2010 08:34:52, Matthew Seaman wrote:
 On 17/06/2010 01:59:04, Warren Block wrote:
 On Wed, 16 Jun 2010, Warren Block wrote:
 
 ln -s libintl.so.9 libintl.so.8 has been misused a lot lately.

 Are there any programs that will detect these links and remind the
 user that they have a new library masquerading as an old one?
 
 A quick hack in Ruby to address this:
 
 http://www.wonkity.com/~wblock/fakelib/fakelib.rb
 
 It's not particularly fast or elegant.  On the other hand, it's short
 and does detect the link above.
 
 Trying much too hard there.  This command is all you need:
 
find /usr/lib /lib -name '*.so.*' -type l
 
 Any file named libfoo.so.N in the base system should be a regular file:
 any symbolic links indicate shlib abuse.
 
 This is not generally true for shlibs installed from ports, mostly due
 to the prevalence of linuxisms like ABI version numbers that aren't
 simple integers.  Even so, applying a little intelligent scrutiny to the
 list of results will help you sort out any spurious linkage.

But what about hard links? I hear you ask.  Simple:

  find /usr/lib /lib -name '*.so.*' -links +2

Cheers,

Matthew

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

iEYEARECAAYFAkwZ0TkACgkQ8Mjk52CukIzpZwCgkwa7oyhwq6To0s08eAYT+flO
PnIAn3XG7Fs+TOLPP00k8z/kfP0ZhOKd
=3I0Z
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


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

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

On 17/06/2010 04:21:34, Peter Boosten wrote:
 On 17-6-2010 4:58, Robert Huff wrote:

 Martin McCormick writes:

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

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


 
 Permissions are set using the mtree files:
 
 /etc/mtree/
 

Furthermore, the default setup *is* for named to run as an unprivileged
process.  The setup is very carefully designed so that named doesn't
have write permission on the directory where its configuration files are
stored, or on directories that contain static zone files, but it does
have write permission on directories it uses for zone files AXFR'd from
a master, or zone files maintained using dynamic DNS.

This used to generate a warning from bind about not having a writable
current working directory -- which was basically harmless and could be
ignored.  However recent changes mean bind needs a writable working
directory, so the latest layouts include /var/named/etc/namedb/working

Cheers,

Matthew

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

iEYEARECAAYFAkwZ0w4ACgkQ8Mjk52CukIyWEACfdgSPyaDaLVXp/ugxYPCZIGSf
KygAn2bsa27UF+O7BpZwmUMBGRIRvYeI
=LaxU
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Detecting fake library versions

2010-06-17 Thread Jonathan McKeown
On Thursday 17 June 2010 09:39:37 Matthew Seaman wrote:

 But what about hard links? I hear you ask.  Simple:

   find /usr/lib /lib -name '*.so.*' -links +2

+1 surely? + modifier in find(1) means ``more than'', not ``at least''.

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


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

2010-06-17 Thread krad
On 17 June 2010 08:47, Matthew Seaman m.sea...@infracaninophile.co.ukwrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

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

 Furthermore, the default setup *is* for named to run as an unprivileged
 process.  The setup is very carefully designed so that named doesn't
 have write permission on the directory where its configuration files are
 stored, or on directories that contain static zone files, but it does
 have write permission on directories it uses for zone files AXFR'd from
 a master, or zone files maintained using dynamic DNS.

 This used to generate a warning from bind about not having a writable
 current working directory -- which was basically harmless and could be
 ignored.  However recent changes mean bind needs a writable working
 directory, so the latest layouts include /var/named/etc/namedb/working

Cheers,

Matthew

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

 iEYEARECAAYFAkwZ0w4ACgkQ8Mjk52CukIyWEACfdgSPyaDaLVXp/ugxYPCZIGSf
 KygAn2bsa27UF+O7BpZwmUMBGRIRvYeI
 =LaxU
 -END PGP SIGNATURE-
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org


so the logical extension to this is by changing the ownership of the
directory to bind, you are making the configuration directory writeable, and
therefore you are actually lowering security.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Detecting fake library versions

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

On 17/06/2010 09:16:33, Jonathan McKeown wrote:
 On Thursday 17 June 2010 09:39:37 Matthew Seaman wrote:

 But what about hard links? I hear you ask.  Simple:

   find /usr/lib /lib -name '*.so.*' -links +2
 
 +1 surely? + modifier in find(1) means ``more than'', not ``at least''.
 

Ooops.  Yes.  +1 on that.


Cheers,

Matthew

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

iEYEARECAAYFAkwZ4skACgkQ8Mjk52CukIzX4gCdFOZQRpbh3xE+5ALWkWZHMjdK
EhwAnRPrQxSAljmhckuE7eo+gYS/FMLL
=YcL7
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: concerning flash under freebsd

2010-06-17 Thread Programmer in Training

Quoting Polytropon free...@edvax.de:


As much as I am now a no-user of Flash, allow me the
following comments.

On Tue, 15 Jun 2010 15:49:56 -0600, Programmer in Training   
p...@joseph-a-nagy-jr.us wrote:

Almost all Internet video
has moved to flash as well (such as all the sermons on sermons.net
which my church uses).


That's all within transition. Currently, big video portals are
moving to HTML5, often including the wish to also use free and
open standards for their videos so they can access a bigger


That's a no-go, I have it on good authority that h.264 was chosen over  
Theora. That along with mpeg-la having put out a press release saying  
it won't charge royalties for free uses of some of it's patents  
several months ago[0], while I would love for Theora to have won out  
as the standard, once again corporate interest (this time a big push  
from Apple, from what I understand) has won out.



audience. Keeping things in Flash is a no-go. A main problem
of Flash is that is isn't compatible with the upcoming trend
to move to portable devices. Only HTML5 and compliant browsers
will be present on those platforms, and those who keep their
sites in Flash will be out of scope soon.


I've only seen some examples of HTML5 sites. My own reluctance to  
start coding with it is the fact that it's still open to tons of change.



HTML5 will be the future; Flash already is the past. Soon,
it won't be important anymore. Conforming to standards will
be the key to all those new platforms that customers are
interested in.


You mean the ones who don't mind being told what's best for them (think iPad)?


Flash is buggy, I'll give you that, but Don't
install it. is not an option for a lot of people.


I had been using Flash in the past (on FreeBSD). It was so
annoying that I finally completely removed it. It has become
*the* choice of professional web developers to make their
sites unusable and finally unaccessible, as well as a big
annoyance of users, primarily due to its sheer overuse for
advertising purposes.


I never use flash where I'm able to avoid it. I have one client  
wanting to use it for a simple transition (with affects) on one spot  
in the front page. I personally won't use the stuff for website  
development and disallow those sorts of ads. Until HTML5 support is  
universal in all browser ports (there was mention of that not being  
the case) talk of HTML5 video verges on the pointless.


Yes, Flash is old news and has been for a while. Yes, Flash is not  
portable because Adobe is a jerk and many mobile/portable device  
makers won't support it. But that's all irregardless to the OPs  
question of bugginess on FreeBSD. If the Linux emulation isn't enough  
and there is no option but to switch to an entirely different  
platform, why even provide such an option? Linux emulation takes up a  
lot of resources (space wise on the drive).


--
Yours in Christ,

PIT
All original content (C) under the OWL http://owl.apotheon.org
Emails are not formal business letters, whatever businesses may want.
Please do not CC me. If I'm posting to a list it is because I am subscribed.

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


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

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

On 17/06/2010 09:37:03, krad wrote:
 so the logical extension to this is by changing the ownership of the
 directory to bind, you are making the configuration directory writeable, and
 therefore you are actually lowering security.

Correct.

Cheers,

Matthew

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

iEYEARECAAYFAkwZ9iEACgkQ8Mjk52CukIxlOQCfZXV2D+ps0uQITQ6b05sXsmjC
r3IAnjQyzVtfBhJ0XwxO8O+Gsct8wb9j
=Kj7A
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: compiler flag -Werror

2010-06-17 Thread akash kumar
Thanks Mark/kitsana for your help.
Its working for me now.

Thanks,
Akash.





From: Mark Tinguely marktingu...@gmail.com
To: CyberLeo Kitsana cyber...@cyberleo.net
Cc: akash kumar akashb...@yahoo.co.in
Sent: Thu, 17 June, 2010 1:21:53 AM
Subject: Re: compiler flag -Werror

CyberLeo Kitsana wrote:
 On 06/16/2010 08:02 AM, akash kumar wrote:
  
 Hi all,
 
 I am working on building a freebsd kernel for mips. As part of this i built 
 cross  tool chain for mips from my host machine(i386).
 After that i was building my kernel using make buildkernel 
 KERNCONF=configfile
 
 I noticed that the compiler flags -Werror is invoked  default with my 
 compiler. I want to remove this flag because all the warning as taken as 
 errors due to which my compilation stops.
 
 Can you please help me how/where to remove this flag.
 
 I have run across this in the past, when building for a VIA C3-2 CPU; so
 I have this in my /etc/make.conf:
 
 # Inline limit warnings?
 # Userland:
 NO_WERROR=yes
 # Kernel: Just turn off inline warnings
 WERROR=-Wno-inline -Werror
 
  
The kernel entry is in /sys/conf/kern.pre.mk

Mark Tinguely



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


Re: concerning flash under freebsd

2010-06-17 Thread Chris Whitehouse

Programmer in Training wrote:

Quoting Polytropon free...@edvax.de:

On Tue, 15 Jun 2010 15:49:56 -0600, Programmer in Training  
p...@joseph-a-nagy-jr.us wrote:

Almost all Internet video
has moved to flash as well (such as all the sermons on sermons.net
which my church uses).


That's all within transition. Currently, big video portals are
moving to HTML5, often including the wish to also use free and
open standards for their videos so they can access a bigger


That's a no-go, I have it on good authority that h.264 was chosen over 
Theora. That along with mpeg-la having put out a press release saying it 
won't charge royalties for free uses of some of it's patents several 
months ago[0], while I would love for Theora to have won out as the 
standard, once again corporate interest (this time a big push from 
Apple, from what I understand) has won out.


And Mozilla won't use H264. Also add into the mix that Google has just 
bought VP8 and open sourced it. Mozilla supports VP8 but Apple is 
already dissing it: 
http://www.guardian.co.uk/technology/blog/2010/may/20/apple-steve-jobs-vp8-patent


So I think we have a very long way to go before we can stop using flash 
for web based video.


(According to wikipedia Theora is a fork of VP3 which the developer On2 
released some time ago. VP6 made into macromedia flash codec. So On2's 
codecs have a long history of video on the web.)


won't support it. But that's all irregardless to the OPs question of 
bugginess on FreeBSD. If the Linux emulation isn't enough and there is 
no option but to switch to an entirely different platform, why even 
provide such an option? Linux emulation takes up a lot of resources 
(space wise on the drive).


Flash video works absolutely fine here and there is a lot of great 
content and interesting and entertaining material out there. I'm really 
grateful to the FreeBSD developers for getting it working so well :)


FreeBSD muji2.config 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Wed Mar 
24 11:51:43 GMT 2010 r...@muji2.config:/usr/obj/usr/src/sys/GENERIC 
 i386

firefox-3.5.8,1
linux-f10-flashplugin-10.0r42
flashblock 1.5.13  # This may be a critical feature of a successful 
flash intallation.


Chris

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


Re: concerning flash under freebsd

2010-06-17 Thread RW
On Thu, 17 Jun 2010 03:51:40 -0600
Programmer in Training p...@joseph-a-nagy-jr.us wrote:

 Quoting Polytropon free...@edvax.de:

 
  That's all within transition. Currently, big video portals are
  moving to HTML5, often including the wish to also use free and
  open standards for their videos so they can access a bigger
 
 That's a no-go, I have it on good authority that h.264 was chosen
 over Theora. That along with mpeg-la having put out a press release
 saying it won't charge royalties for free uses of some of it's
 patents several months ago[0], while I would love for Theora to have
 won out as the standard, once again corporate interest (this time a
 big push from Apple, from what I understand) has won out.


As I understand it, originally Ogg Theora was going to be the standard,
but it's now been left open instead due to uncertainty about Theora
infringing patents. Some sites are using Theora, but most seem to be
going with h.264. I presume that this is due to IE support for h.264.

I believe Google are going with h.264 and a newer BSD licensed  codec
they are sponsoring themselves as an open-source, patent-free
alternative. 
___
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


Problem installing Backula-bat

2010-06-17 Thread Cato Myhrhagen
Hello

First let me say that i am new to FreeBSD and Bacula, so my question might
be a bit trivial. Newertheless, I am having big problems installing Bacula
BAT on my FreeBSD server. Let me explain what i have done so far:

1. Installed FreeBSD 8.0 rel
2. From the ports catalogue i have installed Xorg
3. Then I installed Bacula 3.0.2 rel (with MySQL), altso from the ports
catalogue.

I then tried to install Backula-bat, but here i ran into trouble. First the
installation starts as it should and then goes on for quite a while. Then
suddenly it stops whith the following message:

install:
/usr/ports/sysutils/bacula-bat/work/bacula-3.0.2/src/qt-console/.libs/bat:
No such file or directory
*** Error code 71
Stop in /usr/ports/sysutils/bacula-bat.
*** Error code 1
Stop in /usr/ports/sysutils/bacula-bat.

I googled the error code and got a suggestion to remove the following line
in the makefile: ${INSTALL_PROGRAM} ${WRKSRC}/src/qt-console/.libs/bat
${PREFIX}/sbin and then run the installation again.
This makes the installation finish, but when i go into the Xorg window and
types bat (is this the correct way to start BAT by the way), I get the
message that the command is not found. I am now thinking that the
installation did not succeed and that I have to do somthing else to fix the
problem.

Eny suggestions? Would be very greatful if I could get this fixed somehow..

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


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

2010-06-17 Thread Tom Worster
On 6/16/10 1:06 PM, Matthew Seaman m.sea...@infracaninophile.co.uk
wrote:

 On 16/06/2010 17:48:03, Tom Worster wrote:
 as usual i let things slip until the servers are a couple of versions behind
 and then i face the worries of upgrading.
 
 will freebsd-update -r 8.0-RELEASE upgrade work on a 7.1-RELEASE system or
 do i need to take intermediate steps?
 
 does anyone have experience or advice they'd be willing to share?
 
 and if all goes well, when i boot 8.0 are my deamons going to start and be
 happy:
 
 Server version: 5.0.87 FreeBSD port: mysql-server-5.0.87
 Sphinx 0.9.8.1-release (r1533)
 Server version: Apache/2.2.13 (FreeBSD)
 PHP 5.2.11 with Suhosin-Patch 0.9.7 (cli) (built: Nov 20 2009 16:10:58)
 
 Yes, this upgrade should work in one step.  Make sure to install the
 compat7x port, and all the software you installed under 7.1 will be able
 to keep running.
 
 Note however that the compat7x stuff is merely a measure to give
 yourself a breathing space between upgrading the OS and rebuilding all
 your ports.

excellent. i wasn't aware of the port.

would the order to do things be: update ports with portsnap, install
misc/compat7x, upgrade with freebsd-update and reboot?


 You really do have to reinstall all the ports on a major version
 upgrade: while installed ports will still run if you don't touch them,
 as soon as you start updating anything, or installing anything new, it
 will start to go horribly poo unless you haved reinstalled everything.

yes. i plan to upgrade all the apps to the current ports shortly after the
base upgrade.


 I note that the software you're running is all a few versions behind
 what's current, and some of those updates involve pretty significant
 changes (eg. php 5.2 to 5.3; changes to the way apache ports work;

i've already ported the code for 5.3.


 Oracle pushing to drop support for MySQL 5.0) so a bit of forethough and
 planning is advised, but there's no real deal-breaker there.

this has been a vexing concern for some considerable time now. but it's
perhaps out of scope here. if we had better insight into where oracle is
taking it...


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

bug fixes sound nice. a few weeks you say?

thank you for the input, matthew -- much appreciated.


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


Re: concerning flash under freebsd

2010-06-17 Thread Michael Powell
RW wrote:
[snip]
 
 As I understand it, originally Ogg Theora was going to be the standard,
 but it's now been left open instead due to uncertainty about Theora
 infringing patents. Some sites are using Theora, but most seem to be
 going with h.264. I presume that this is due to IE support for h.264.
 
 I believe Google are going with h.264 and a newer BSD licensed  codec
 they are sponsoring themselves as an open-source, patent-free
 alternative.

http://x264dev.multimedia.cx/?p=292

Google wants to promote it's VP8, which is at this point clearly inferior to 
h.264. Browser wars turned Codec wars. We, the users are always overlooked 
and no consideration given by those who wear the suits and ties. And the 
arguing points they utilize within their 'decision by committee' process are 
usually a distorted view of non-reality.

-Mike



___
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


Theora vs h.264 [Was Re: concerning flash under freebsd]

2010-06-17 Thread Programmer in Training

Quoting RW rwmailli...@googlemail.com:


On Thu, 17 Jun 2010 03:51:40 -0600
Programmer in Training p...@joseph-a-nagy-jr.us wrote:


Quoting Polytropon free...@edvax.de:




 That's all within transition. Currently, big video portals are
 moving to HTML5, often including the wish to also use free and
 open standards for their videos so they can access a bigger

That's a no-go, I have it on good authority that h.264 was chosen
over Theora. That along with mpeg-la having put out a press release
saying it won't charge royalties for free uses of some of it's
patents several months ago[0], while I would love for Theora to have
won out as the standard, once again corporate interest (this time a
big push from Apple, from what I understand) has won out.



As I understand it, originally Ogg Theora was going to be the standard,
but it's now been left open instead due to uncertainty about Theora
infringing patents. Some sites are using Theora, but most seem to be
going with h.264. I presume that this is due to IE support for h.264.


It's quite possible if the h.264 patents are really as extensive and  
broad as mpeg-la claims (also, if they are so overly broad, they need  
to be invalidated as patents are for specific inventions).



I believe Google are going with h.264 and a newer BSD licensed  codec
they are sponsoring themselves as an open-source, patent-free
alternative.


I thought Google was going with VP8 (as was mentioned earlier)? I have  
a friend or two on the HTML5WG mailing list as the source of a good  
deal of my info.


--
Yours in Christ,

PIT
All original content (C) under the OWL http://owl.apotheon.org
Emails are not formal business letters, whatever businesses may want.
Please do not CC me. If I'm posting to a list it is because I am subscribed.

___
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


Kolab server ports ?

2010-06-17 Thread Frank Bonnet

Hello

Does anyone has ported kolabd to FreeBSD ?

I don't find it in the ports tree

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


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

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

On 17/06/2010 13:41:43, Tom Worster wrote:
 On 6/16/10 1:06 PM, Matthew Seaman m.sea...@infracaninophile.co.uk

 would the order to do things be: update ports with portsnap, install
 misc/compat7x, upgrade with freebsd-update and reboot?

You need to be running 8.0 or above before you can install compat7x, so
it's upgrade with freebsd-update, reboot, install compat7x, either
reboot again, or restart any daemons that didn't start first time.

I think.  I'm assuming freebsd-update zaps the 7.x shlibs when you do a
7.x - 8.0 upgrade, BICBW.

 Oracle pushing to drop support for MySQL 5.0) so a bit of forethough and
 planning is advised, but there's no real deal-breaker there.
 
 this has been a vexing concern for some considerable time now. but it's
 perhaps out of scope here. if we had better insight into where oracle is
 taking it...

I think it's pretty clear that Oracle are going to maintain MySQL as a
freely available database product for the foreseeable future.  They are
keen to get as many people as possible onto the current release though,
so 5.0 is being deprecated in favour of 5.1, and 5.5 is rapidly
approaching.  5.1 is pretty much a super-set of 5.0 so you're not likely
to have to do any more than run some regression tests to show your
schema and SQL still works correctly.

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

Probably more like a month, actually.  The schedule is here:

http://www.freebsd.org/releases/8.1R/schedule.html

but it's not unusual for the release to be delayed as RE team work on
ensuring it is of the required quality.

Cheers,

Matthew

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

iEYEARECAAYFAkwaJcUACgkQ8Mjk52CukIxNigCeNis4YIVeOSk21wizLxNSs+g+
LVQAn0xKxdN/G0Fpjewk4+UJvEznPm30
=4FQM
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: concerning flash under freebsd

2010-06-17 Thread Programmer in Training

Quoting Chris Whitehouse cwhi...@onetel.com:


Programmer in Training wrote:

Quoting Polytropon free...@edvax.de:

On Tue, 15 Jun 2010 15:49:56 -0600, Programmer in Training
p...@joseph-a-nagy-jr.us wrote:

snip
That's a no-go, I have it on good authority that h.264 was chosen   
over Theora. That along with mpeg-la having put out a press release  
 saying it won't charge royalties for free uses of some of it's   
patents several months ago[0], while I would love for Theora to   
have won out as the standard, once again corporate interest (this   
time a big push from Apple, from what I understand) has won out.


And Mozilla won't use H264. Also add into the mix that Google has just
bought VP8 and open sourced it. Mozilla supports VP8 but Apple is
already dissing it:
http://www.guardian.co.uk/technology/blog/2010/may/20/apple-steve-jobs-vp8-patent

So I think we have a very long way to go before we can stop using flash
for web based video.


Entirely my point.


(According to wikipedia Theora is a fork of VP3 which the developer On2
released some time ago. VP6 made into macromedia flash codec. So On2's
codecs have a long history of video on the web.)


That would seem to be supported by the Theora website[0].

won't support it. But that's all irregardless to the OPs question   
of bugginess on FreeBSD. If the Linux emulation isn't enough and   
there is no option but to switch to an entirely different platform,  
 why even provide such an option? Linux emulation takes up a lot of  
 resources (space wise on the drive).


Flash video works absolutely fine here and there is a lot of great
content and interesting and entertaining material out there. I'm really
grateful to the FreeBSD developers for getting it working so well :)

FreeBSD muji2.config 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Wed Mar
24 11:51:43 GMT 2010 r...@muji2.config:/usr/obj/usr/src/sys/GENERIC
 i386
firefox-3.5.8,1
linux-f10-flashplugin-10.0r42
flashblock 1.5.13  # This may be a critical feature of a successful
flash intallation.


Aside from npviewer not killing itself on exit and some sync issues,  
I've not had any problems, either. The need for Linux emulation,  
though, still stinks (mostly from a disk space pov).


[0]: http://www.theora.org/faq/#VP3
--
Yours in Christ,

PIT
All original content (C) under the OWL http://owl.apotheon.org
Emails are not formal business letters, whatever businesses may want.
Please do not CC me. If I'm posting to a list it is because I am subscribed.

___
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: Burning CDs on FreeBSD 7.2

2010-06-17 Thread Mark Terribile

Polytropon,

  I'm using the atapicam/cdrecord solution.  But
  when I do a dd read to verify the write, the
  read ends on an I/O error rather
  than an EOF.  (I'm not sure that this problem is
  new.)  ...  There are plenty of console
  messages, including READ_BIG retrying, READ_BIG timed
  out, TEST_UNIT_READY freeing zombie taskqueue request,
  and PREVENT_ALLOW taskqueue timeout - compiing request
  directly . 

 I start wondering if this may be due to a defective drive,
 or wrong cable, or even through DMA incompatibilites...

I tried taking the drive out of the 5.4 machine.  No difference.

Also, the ATAPICAM subsystem gets into a state where the eject
program will report drive busy but cdrecord can still operate
the drive.  I think that in doing whatever was needed to
accomodate DVDs, the subsystem was broken.  It looks like cdrecord
manages to work around it.

 Instead of using dd (have you made sure to use the correct
 block size?) try using readcd (comes with cdrecord); see
 man cdrecord for details and examples.

I'll try it.  I am using the correct block size, and the data
retrieved cmp's correctly against the iso fs image used to
create the disk.  dd was means for exactly such purposes, and if
it can't work, the OS is doing a bad job.

  This is definitely NOT reliable enough to put into a
 script
  (which would make handling the many file names more
 reliable).

Under 5.4 I did this by script routinely.

Question is, under which category do I report this?

Mark Terribile



___
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: Burning CDs on FreeBSD 7.2

2010-06-17 Thread Jerry McAllister
On Thu, Jun 17, 2010 at 07:24:46AM -0700, Mark Terribile wrote:

 
 Polytropon,
 
   I'm using the atapicam/cdrecord solution.  But
   when I do a dd read to verify the write, the
   read ends on an I/O error rather
   than an EOF.  (I'm not sure that this problem is
   new.)  ...  There are plenty of console
   messages, including READ_BIG retrying, READ_BIG timed
   out, TEST_UNIT_READY freeing zombie taskqueue request,
   and PREVENT_ALLOW taskqueue timeout - compiing request
   directly . 
 
  I start wondering if this may be due to a defective drive,
  or wrong cable, or even through DMA incompatibilites...
 
 I tried taking the drive out of the 5.4 machine.  No difference.
 
 Also, the ATAPICAM subsystem gets into a state where the eject
 program will report drive busy but cdrecord can still operate
 the drive.  I think that in doing whatever was needed to
 accomodate DVDs, the subsystem was broken.  It looks like cdrecord
 manages to work around it.


Well, the drive will be busy if any process/shell is cd-ed to any
directory on the device or any process/shell has any file on 
the device open, no matter what is being done to it.   Probably
you already know that, but it makes your statement above easily
a not-surprising situation.

jerry


 
  Instead of using dd (have you made sure to use the correct
  block size?) try using readcd (comes with cdrecord); see
  man cdrecord for details and examples.
 
 I'll try it.  I am using the correct block size, and the data
 retrieved cmp's correctly against the iso fs image used to
 create the disk.  dd was means for exactly such purposes, and if
 it can't work, the OS is doing a bad job.
 
   This is definitely NOT reliable enough to put into a
  script
   (which would make handling the many file names more
  reliable).
 
 Under 5.4 I did this by script routinely.
 
 Question is, under which category do I report this?
 
 Mark Terribile
 
 
   
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Detecting fake library versions

2010-06-17 Thread Warren Block

On Thu, 17 Jun 2010, Matthew Seaman wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 17/06/2010 01:59:04, Warren Block wrote:

On Wed, 16 Jun 2010, Warren Block wrote:


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

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


A quick hack in Ruby to address this:

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

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


Trying much too hard there.  This command is all you need:

  find /usr/lib /lib -name '*.so.*' -type l

Any file named libfoo.so.N in the base system should be a regular file:
any symbolic links indicate shlib abuse.

This is not generally true for shlibs installed from ports, mostly due
to the prevalence of linuxisms like ABI version numbers that aren't
simple integers.  Even so, applying a little intelligent scrutiny to the
list of results will help you sort out any spurious linkage.


Could you expand on this part?

find reports 83 links in /usr/local/lib.  But only the fake libintl.so.8 
is linked to a port-created library but not recorded as part of the 
gettext package.


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


x11-toolkits/qt33 error

2010-06-17 Thread Giorgos Tsiapaliokas
hello,

i was trying to install k3b when an error about the port x11-toolkits/qt33
shown up

qmake  -spec /usr/local/share/qt/mkspecs/freebsd-g++ -o
 /usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/./tools/designer/uic
 /usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/tools/designer/uic/
 uic.pro
 cd /usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/./tools/designer/uic
 make all
 c++ -c -pipe -fno-exceptions -Wall -W -O2 -pipe -fno-strict-aliasing
 -DPNG_DEPSTRUCT= -DQT_INTERNAL_XML -DUIC -DQT_TABLET_SUPPORT -DQT_NO_DEBUG
 -DQT_THREAD_SUPPORT -DQT_SHARED -I/usr/local/share/qt/mkspecs/freebsd-g++
 -I. -I/usr/local/include/freetype2 -I/usr/local/include -I../shared
 -I/usr/local/include -I../../../include -I.moc/release-shared-mt/ -o
 .obj/release-shared-mt/main.o main.cpp
 c++ -c -pipe -fno-exceptions -Wall -W -O2 -pipe -fno-strict-aliasing
 -DPNG_DEPSTRUCT= -DQT_INTERNAL_XML -DUIC -DQT_TABLET_SUPPORT -DQT_NO_DEBUG
 -DQT_THREAD_SUPPORT -DQT_SHARED -I/usr/local/share/qt/mkspecs/freebsd-g++
 -I. -I/usr/local/include/freetype2 -I/usr/local/include -I../shared
 -I/usr/local/include -I../../../include -I.moc/release-shared-mt/ -o
 .obj/release-shared-mt/uic.o uic.cpp
 c++ -c -pipe -fno-exceptions -Wall -W -O2 -pipe -fno-strict-aliasing
 -DPNG_DEPSTRUCT= -DQT_INTERNAL_XML -DUIC -DQT_TABLET_SUPPORT -DQT_NO_DEBUG
 -DQT_THREAD_SUPPORT -DQT_SHARED -I/usr/local/share/qt/mkspecs/freebsd-g++
 -I. -I/usr/local/include/freetype2 -I/usr/local/include -I../shared
 -I/usr/local/include -I../../../include -I.moc/release-shared-mt/ -o
 .obj/release-shared-mt/form.o form.cpp
 c++ -c -pipe -fno-exceptions -Wall -W -O2 -pipe -fno-strict-aliasing
 -DPNG_DEPSTRUCT= -DQT_INTERNAL_XML -DUIC -DQT_TABLET_SUPPORT -DQT_NO_DEBUG
 -DQT_THREAD_SUPPORT -DQT_SHARED -I/usr/local/share/qt/mkspecs/freebsd-g++
 -I. -I/usr/local/include/freetype2 -I/usr/local/include -I../shared
 -I/usr/local/include -I../../../include -I.moc/release-shared-mt/ -o
 .obj/release-shared-mt/object.o object.cpp
 c++ -c -pipe -fno-exceptions -Wall -W -O2 -pipe -fno-strict-aliasing
 -DPNG_DEPSTRUCT= -DQT_INTERNAL_XML -DUIC -DQT_TABLET_SUPPORT -DQT_NO_DEBUG
 -DQT_THREAD_SUPPORT -DQT_SHARED -I/usr/local/share/qt/mkspecs/freebsd-g++
 -I. -I/usr/local/include/freetype2 -I/usr/local/include -I../shared
 -I/usr/local/include -I../../../include -I.moc/release-shared-mt/ -o
 .obj/release-shared-mt/subclassing.o subclassing.cpp
 c++ -c -pipe -fno-exceptions -Wall -W -O2 -pipe -fno-strict-aliasing
 -DPNG_DEPSTRUCT= -DQT_INTERNAL_XML -DUIC -DQT_TABLET_SUPPORT -DQT_NO_DEBUG
 -DQT_THREAD_SUPPORT -DQT_SHARED -I/usr/local/share/qt/mkspecs/freebsd-g++
 -I. -I/usr/local/include/freetype2 -I/usr/local/include -I../shared
 -I/usr/local/include -I../../../include -I.moc/release-shared-mt/ -o
 .obj/release-shared-mt/embed.o embed.cpp
 c++ -c -pipe -fno-exceptions -Wall -W -O2 -pipe -fno-strict-aliasing
 -DPNG_DEPSTRUCT= -DQT_INTERNAL_XML -DUIC -DQT_TABLET_SUPPORT -DQT_NO_DEBUG
 -DQT_THREAD_SUPPORT -DQT_SHARED -I/usr/local/share/qt/mkspecs/freebsd-g++
 -I. -I/usr/local/include/freetype2 -I/usr/local/include -I../shared
 -I/usr/local/include -I../../../include -I.moc/release-shared-mt/ -o
 .obj/release-shared-mt/widgetdatabase.o ../shared/widgetdatabase.cpp
 c++ -c -pipe -fno-exceptions -Wall -W -O2 -pipe -fno-strict-aliasing
 -DPNG_DEPSTRUCT= -DQT_INTERNAL_XML -DUIC -DQT_TABLET_SUPPORT -DQT_NO_DEBUG
 -DQT_THREAD_SUPPORT -DQT_SHARED -I/usr/local/share/qt/mkspecs/freebsd-g++
 -I. -I/usr/local/include/freetype2 -I/usr/local/include -I../shared
 -I/usr/local/include -I../../../include -I.moc/release-shared-mt/ -o
 .obj/release-shared-mt/domtool.o ../shared/domtool.cpp
 c++ -c -pipe -fno-exceptions -Wall -W -O2 -pipe -fno-strict-aliasing
 -DPNG_DEPSTRUCT= -DQT_INTERNAL_XML -DUIC -DQT_TABLET_SUPPORT -DQT_NO_DEBUG
 -DQT_THREAD_SUPPORT -DQT_SHARED -I/usr/local/share/qt/mkspecs/freebsd-g++
 -I. -I/usr/local/include/freetype2 -I/usr/local/include -I../shared
 -I/usr/local/include -I../../../include -I.moc/release-shared-mt/ -o
 .obj/release-shared-mt/parser.o ../shared/parser.cpp
 test -d

 test -d ../../../bin/ || mkdir -p ../../../bin/
 c++ -fno-exceptions  -Wl,-rpath,/usr/local/lib  -Wl,-rpath,/usr/local/lib
 -pthread -o ../../../bin/uic .obj/release-shared-mt/main.o
 .obj/release-shared-mt/uic.o  .obj/release-shared-mt/form.o
 .obj/release-shared-mt/object.o  .obj/release-shared-mt/subclassing.o
 .obj/release-shared-mt/embed.o  .obj/release-shared-mt/widgetdatabase.o
 .obj/release-shared-mt/domtool.o  .obj/release-shared-mt/parser.o
 -L/usr/local/lib -L/usr/local/lib
 -L/usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/lib -L/usr/local/lib
 -lqt-mt -lmng -ljpeg -lpng -lz -lXi -lXrender -lXrandr -lXcursor -lXinerama
 -lXft -lfreetype -lfontconfig -lXext -lX11 -lm -lSM -lICE
 *** Error code 1
 Stop in
 /usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/tools/designer/uic.
 *** Error code 1

 Stop in
 /usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/tools/designer/uic.
 *** Error 

PDF storage software recommendations?

2010-06-17 Thread Michael W. Lucas
Hi,

I have to store a bunch of PDFs of orders.  I'd like to be able to
tag these by customer, date, and a couple of other characteristics,
and then search and/or sort by these tags.

I'm certain that we have something in ports that will do this, but
danged if I can find a good candidate.  While I'm sure I could build a
database/PHP app that would work, surely someone's already done this?
Any recommendations?

Thanks,
==ml

-- 
Michael W. Lucasmwlu...@blackhelicopters.org
http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/
New book:  Network Flow Analysis
pre-order now!  http://www.networkflowanalysis.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


pkg_version strange output

2010-06-17 Thread Giorgos Tsiapaliokas
hello,

when i give the command pkg_version the following output comes up..

libxkbfile  =
 libxkbui=
 libxklavier 
 libxml2 =
 libxslt =
 libzip  =
 libzvbi =
 links   =
 linux-f10-atk   =
 linux-f10-cairo =
 linux-f10-curl  =
 linux-f10-cyrus-sasl2   =
 linux-f10-expat =
 linux-f10-flashplugin   =
 linux-f10-fontconfig=
 linux-f10-gtk2  =
 linux-f10-jpeg  =
 linux-f10-libssh2   =
 linux-f10-nspr  =
 linux-f10-nss   =
 linux-f10-openldap  =
 linux-f10-openssl   =
 linux-f10-pango =
 linux-f10-png   =
 linux-f10-sqlite3   =
 linux-f10-tiff  =
 linux-f10-xorg-libs =
 linux_base-f10  =
 linuxdoc=
 liveMedia   =
 luit
 m17n-db =
 m17n-lib=
 m4  =
 mDNSResponder   =
 makedepend  =
 man2html=
 meanwhile   =
 mkfontdir   =
 mkfontscale =
 mn-freebsd-doc  =
 mousepad
 mpeg4ip-libmp4v2=
 mpfr=
 mysql-client=
 mysql-server=
 nas =
 nasm=
 neon28  
 netpbm  =
 nl-freebsd-doc  =
 nspluginwrapper =
 nspr=
 open-motif  =
 openbabel   =
 openjade=
 openldap-client =
 openslp =
 orage   
 orc =
 ortp=
 p5-Error=
 p5-IO-Socket-SSL=
 p5-Locale-libintl   =
 p5-Net-SMTP-SSL =
 p5-Net-SSLeay   =
 p5-URI  =
 p5-XML-NamespaceSupport =
 p5-XML-Parser   =
 p5-XML-SAX  =
 p5-XML-SAX-Expat=
 p5-XML-Simple   =
 p5-gettext  =
 p5-type1inst=
 pango   =
 pciids  =
 pcre=
 peps=
 perl=
 phonon  =
 phonon-gstreamer=
 phonon-xine 
 pilot-link  
 pixman  =
 pkg-config  =
 pl-freebsd-doc  =
 pl-libgadu  
 png =
 policykit   =
 policykit-qt
 polkit  =
 poppler 
 poppler-data=
 poppler-qt4 
 popt=
 portaudio   =
 portmanager =
 portmaster  =
 portupgrade =
 printproto  =
 pt-freebsd-doc  =
 pth =
 py26-elementtree=
 py26-setuptools =
 python26=
 qca =
 qca-ossl
 qimageblitz 
 qmake   =
 qt4-assistant   =
 qt4-clucene =
 qt4-corelib =
 qt4-dbus=
 qt4-designer=
 qt4-doc =
 qt4-gui =
 qt4-help=
 qt4-help-tools  =
 qt4-iconengines 
 qt4-imageformats
 qt4-inputmethods=
 qt4-linguist=
 qt4-makeqpf 
 qt4-moc =
 qt4-mysql-plugin=
 qt4-network =
 qt4-opengl  

Re: Detecting fake library versions

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

On 17/06/2010 16:04:20, Warren Block wrote:
 This is not generally true for shlibs installed from ports, mostly due
 to the prevalence of linuxisms like ABI version numbers that aren't
 simple integers.  Even so, applying a little intelligent scrutiny to the
 list of results will help you sort out any spurious linkage.
 
 Could you expand on this part?
 
 find reports 83 links in /usr/local/lib.  But only the fake libintl.so.8
 is linked to a port-created library but not recorded as part of the
 gettext package.

Right.  In /usr/local/lib on one machine I happen to have the following:

% find /usr/local/lib -name '*.so.*' -type l -ls | cut -c 89-
/usr/local/lib/libicuio.so.38 - libicuio.so.38.1
/usr/local/lib/libutempter.so.0 - libutempter.so.1.1.5
/usr/local/lib/libicuuc.so.38 - libicuuc.so.38.1
/usr/local/lib/libicule.so.38 - libicule.so.38.1
/usr/local/lib/libXaw.so.7 - libXaw7.so.7
/usr/local/lib/libdb-4.8.so.0 - db48/libdb-4.8.so.0
/usr/local/lib/libdb_cxx-4.8.so.0 - db48/libdb_cxx-4.8.so.0
/usr/local/lib/libgs.so.8 - libgs.so.8.71
/usr/local/lib/libXau.so.0 - /usr/local/lib/libXau.so.6
/usr/local/lib/libicutu.so.38 - libicutu.so.38.1
/usr/local/lib/libXaw.so.6 - libXaw6.so.6
/usr/local/lib/libiculx.so.38 - libiculx.so.38.1
/usr/local/lib/libicui18n.so.38 - libicui18n.so.38.1
/usr/local/lib/liblua-5.1.so.1 - lua51/liblua-5.1.so.1
/usr/local/lib/libicudata.so.38 - libicudata.so.38.1

You can see several different patterns here.

Primus: like libdb-4.8.so.0 or liblua-5.1.so.1 --- the shlib is
installed into a sub-dir of /usr/local/lib and linked back into the main
directory.  This is generally used when there are several different
versions of the particular library available in ports.

Secondus: like libXaw.so.6, libXaw.so.7 -- for some reason, the file is
installed with the ABI version as part of the basename of the file and
the link just provides the expected name.

Tertius: like libicuio.so.38 and pretty much all the rest.  *BSD uses
.38 as the ABI version number, whereas linux seems to prefer .38.1 --
occasionally this sort of thing is the result of developers being
unclear on the concept of an ABI version number, and just using their
main code version number.

These are all perfectly normal and as installed from ports -- a little
work with 'pkg_which' and 'pkg_info -g' will demonstrate that.

On the other hand, if I'd seen:

/usr/local/lib/libintl.so.8 - libintl.so.9

where there is a shlib with the standard ABI version pattern as expected
under *BSD, but it's a link to another shlib with a *different* major
version number, then it's pretty clear someone has been bodging things.

Clear enough?

Cheers,

Matthew

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

iEYEARECAAYFAkwaQRkACgkQ8Mjk52CukIz9igCeP5ZObIL6KZoobcNk+1wMcvzC
9QUAnRnYAQENJiAtfMCZTtekeqPvvbrO
=BMLp
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Optimal RAID10 config on PERC6 (cache question)

2010-06-17 Thread Martin Turgeon

Hi everyone,

I got 2 brand new Dell R510 with 4x146 SAS 10K RPM connected to the 
PERC6 RAID adapter in a RAID10 configuration. Those servers are mostly 
going to be used for a master/master MySQL replication. Both are running 
8.0-REL amd64. When I took a look at the 'mfiutil' command to make a 
script to detect RAID failure I saw that the cache were disabled on the 
volume: (those are all Dell's default)


db1# mfiutil show volumes
mfi0 Volumes:
  Id SizeLevel   Stripe  State   Cache   Name
 mfid0 (  272G) RAID-10 64K OPTIMAL Disabled

db1# mfiutil cache mfid0
mfi0 volume mfid0 cache settings:
  I/O caching: disabled
write caching: write-back
   read ahead: none
drive write cache: default

I read in the man page of mfiutil that drive write cache is the cache 
on the physical drive which should be disable for data integrity. My 
first question is: Is the 'default' to disable the physical drive cache 
or should I modify it explicitly to disable?


I configured 'innodb_flush_method=O_DIRECT' in my.cnf to maximize 
performance, but I read that this option should only be used with a 
battery backed up RAID card. My PERC6 got a battery but I'm wondering if 
the current setting for my cache are using it correctly?


Can someone explain me the differences between the cache types? My main 
concern is data integrity in case of hardware or power failures. What 
would be the optimal configuration in that case.


Thanks in advance for your clever insights,

Martin
**

**

___
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


Hardware monitoring with iDRAC6

2010-06-17 Thread Martin Turgeon

Hi again everyone,

I just realized after posting my question on optimal RAID config that 
the best solution for hardware monitoring would be to use the integrated 
iDRAC6. I have the Express version (no dedicated port). I have never 
worked with DRAC cards and I would like to know your opinions about the 
best way to use it for hardware monitoring. I'm not really planning on 
using the remote control features, but it would be nice too.


As I understand it, I have to configure an additional IP for iDRAC. In 
my case, the servers are going to be installed in a colocation 
datacenter so I guess I have to reserve an additional public IP for each 
servers so I can access the iDRAC remotely? What are the securiy 
implications?


I'm also configuring a Nagios installation for monitoring. Is there a 
way to plug iDRAC with Nagios to handle the notifications (snmp maybe)? 
Or should I configure an email alert in the iDRAC config (I assume there 
is a way to do that)?


Thanks for your answer on how to use iDRAC6 Express with FreeBSD 8.0,

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


Re: Problem installing Backula-bat

2010-06-17 Thread Steve Bertrand
On 2010.06.17 07:38, Cato Myhrhagen wrote:

 when i go into the Xorg window and
 types bat (is this the correct way to start BAT by the way), I get the
 message that the command is not found. I am now thinking that the
 installation did not succeed and that I have to do somthing else to fix the
 problem.
 
 Eny suggestions? Would be very greatful if I could get this fixed somehow..

Run the 'rehash' program and then try your command again.

Steve
___
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: Hardware monitoring with iDRAC6

2010-06-17 Thread Steve Polyack

On 06/17/10 12:02, Martin Turgeon wrote:

Hi again everyone,

I just realized after posting my question on optimal RAID config that 
the best solution for hardware monitoring would be to use the 
integrated iDRAC6. I have the Express version (no dedicated port). I 
have never worked with DRAC cards and I would like to know your 
opinions about the best way to use it for hardware monitoring. I'm not 
really planning on using the remote control features, but it would be 
nice too. 
In addition to using DRAC notifications for hardware events, I would 
suggest that you still run some local checks on the system itself 
(Nagios checks via NRPE).  There are several checks available that check 
the status of the PERC controller and drives using mfiutil, amrstat, or 
MegaCLI.


As I understand it, I have to configure an additional IP for iDRAC. In 
my case, the servers are going to be installed in a colocation 
datacenter so I guess I have to reserve an additional public IP for 
each servers so I can access the iDRAC remotely? What are the securiy 
implications?
This depends on what your options are - if you're colocating one server, 
they may be pretty slim.  In any case, I would strongly advise not 
putting it out there on an unrestricted public address.  I'm not sure of 
the DRAC's history of security issues, but keep in mind that someone 
using it essentially has physical access to your server.  If you have to 
put it out there on the internet, be sure to create a new user on the 
iDRAC and disable the existing root account.


I'm also configuring a Nagios installation for monitoring. Is there a 
way to plug iDRAC with Nagios to handle the notifications (snmp 
maybe)? Or should I configure an email alert in the iDRAC config (I 
assume there is a way to do that)?


You can configure the iDRAC to send SNMP traps, or even e-mails for 
hardware events.



___
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


mountroot error with memory based rootfs

2010-06-17 Thread akash kumar
Hi,

I was trying to build root filesystem in to the kernel (i.e using /dev/md0) for 
Mips based target boards. In the process i built tool chain and kernel 
successfully.
But when i boot the kernel on the target, it fails to mount the md0 and drops 
to mountroot prompt. 

mountroot ufs:/dev/md0
ROOT MOUNT ERROR
If you have invalid mount options, reboot, and first try the following from 
the loader prompt: 

set vfs.root.mountfrom.options=rw

and the remove invalid mount options from /etc/fstab.

Loader variables:
vfs.root.mountfrom=
vfs.root.mountform.options=

I could see that both the above variables are unset and not sure whether this 
is by default. As i am building a cross kernel, i can't add these options to 
/boot/loader.conf files which applies to current host machine.

Please help me where the above settings need to be added i.e which directory 
and file for the settings to effect for my target kernel build.

Thanks,
Akash.



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


Re: Detecting fake library versions

2010-06-17 Thread Warren Block

On Thu, 17 Jun 2010, Matthew Seaman wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 17/06/2010 16:04:20, Warren Block wrote:

This is not generally true for shlibs installed from ports, mostly due
to the prevalence of linuxisms like ABI version numbers that aren't
simple integers.  Even so, applying a little intelligent scrutiny to the
list of results will help you sort out any spurious linkage.


Could you expand on this part?

find reports 83 links in /usr/local/lib.  But only the fake libintl.so.8
is linked to a port-created library but not recorded as part of the
gettext package.


Right.  In /usr/local/lib on one machine I happen to have the following:

% find /usr/local/lib -name '*.so.*' -type l -ls | cut -c 89-
/usr/local/lib/libicuio.so.38 - libicuio.so.38.1
/usr/local/lib/libutempter.so.0 - libutempter.so.1.1.5
/usr/local/lib/libicuuc.so.38 - libicuuc.so.38.1
/usr/local/lib/libicule.so.38 - libicule.so.38.1
/usr/local/lib/libXaw.so.7 - libXaw7.so.7
/usr/local/lib/libdb-4.8.so.0 - db48/libdb-4.8.so.0
/usr/local/lib/libdb_cxx-4.8.so.0 - db48/libdb_cxx-4.8.so.0
/usr/local/lib/libgs.so.8 - libgs.so.8.71
/usr/local/lib/libXau.so.0 - /usr/local/lib/libXau.so.6
/usr/local/lib/libicutu.so.38 - libicutu.so.38.1
/usr/local/lib/libXaw.so.6 - libXaw6.so.6
/usr/local/lib/libiculx.so.38 - libiculx.so.38.1
/usr/local/lib/libicui18n.so.38 - libicui18n.so.38.1
/usr/local/lib/liblua-5.1.so.1 - lua51/liblua-5.1.so.1
/usr/local/lib/libicudata.so.38 - libicudata.so.38.1

You can see several different patterns here.

Primus: like libdb-4.8.so.0 or liblua-5.1.so.1 --- the shlib is
installed into a sub-dir of /usr/local/lib and linked back into the main
directory.  This is generally used when there are several different
versions of the particular library available in ports.

Secondus: like libXaw.so.6, libXaw.so.7 -- for some reason, the file is
installed with the ABI version as part of the basename of the file and
the link just provides the expected name.

Tertius: like libicuio.so.38 and pretty much all the rest.  *BSD uses
.38 as the ABI version number, whereas linux seems to prefer .38.1 --
occasionally this sort of thing is the result of developers being
unclear on the concept of an ABI version number, and just using their
main code version number.

These are all perfectly normal and as installed from ports -- a little
work with 'pkg_which' and 'pkg_info -g' will demonstrate that.


That is essentially what the original Ruby script did, slowly, but 
quicker than doing it by hand.



On the other hand, if I'd seen:

/usr/local/lib/libintl.so.8 - libintl.so.9

where there is a shlib with the standard ABI version pattern as expected
under *BSD, but it's a link to another shlib with a *different* major
version number, then it's pretty clear someone has been bodging things.

Clear enough?


For an interactive method, yes.  I'm trying to find something for the 
people who thought it was a link-and-forget solution instead of a 
temporary workaround.


I just took the approach that a port library with a link that isn't 
part of the port is suspicious.


A much faster yet questionable Ruby version is here:

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

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


Re: PDF storage software recommendations?

2010-06-17 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Michael W. Lucas wrote:
 Hi,
 
 I have to store a bunch of PDFs of orders.  I'd like to be able to
 tag these by customer, date, and a couple of other characteristics,
 and then search and/or sort by these tags.
 
 I'm certain that we have something in ports that will do this, but
 danged if I can find a good candidate.  While I'm sure I could build a
 database/PHP app that would work, surely someone's already done this?
 Any recommendations?
 
 Thanks,
 ==ml
 

Hi Michael,

I maintain print/pdftk, and you can edit document metadata with it.  The
updateinfo subcommand should do what you want.  I found this page
describing that and some other functions of the tool:
http://scottnesbitt.net/ubuntublog/?p=269.

The only issue with pdftk right now is that it doesn't install on 6.x
due to problems with the underlying gcc Java toolchain.

Hope that helps,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFMGldt0sRouByUApARAlB+AJ9SJoUpImsBVht8p2vAtjdDEk3BXQCgvtt+
9gFIox7mxi6i6s/hCSAs9oo=
=6Ll/
-END PGP SIGNATURE-

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


Re: pkg_version strange output

2010-06-17 Thread Manolis Kiagias
On 17/06/2010 6:27 μ.μ., Giorgos Tsiapaliokas wrote:
 hello,

 when i give the command pkg_version the following output comes up..

 libxkbfile  =
   
Long list of packages snipped
 OpenSP  =
 pkg_version: corrupted record (pkgdep line without argument), ignoring
 Terminal=
 pkg_version: corrupted record (pkgdep line without argument), ignoring
 Thunar  =
 a2ps-a4 =

 
 what is going on???

 thanks for your answers..!
   

Are you using portmaster? Check if this applies to you:

http://www.cyberciti.biz/faq/pkg_version-corrupted-record-pkgdep-line-without-argument-ignoring/

___
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: pkg_version strange output

2010-06-17 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Giorgos Tsiapaliokas wrote:
 hello,
 
 when i give the command pkg_version the following output comes up..
 
 libxkbfile  =
[...]
 xvinfo  
 xwd 
 xwininfo
 xwud
 xz  =
 pkg_version: corrupted record (pkgdep line without argument), ignoring
 pkg_version: corrupted record (pkgdep line without argument), ignoring
 yakuake-kde4=
 yasm=
 zh-arphicttf=
 zh-docproj  =
 zh-ttf2pt1  =
 zh-ttfm =
 zh_cn-freebsd-doc   =
 zh_tw-freebsd-doc   =
 zip =
 zsh =

 
 what is going on???
 
 thanks for your answers..!


Hi Giorgos,

I assume that you're wondering about the corrupted record messages in
particular?  If so, this message from the freebsd-ports archive might
help you correct them:
http://www.mail-archive.com/freebsd-po...@freebsd.org/msg22366.html

If you're referring to mnemonic output (=, , etc.), that's normal
pkg_version output:
http://www.freebsd.org/cgi/man.cgi?query=pkg_versionsourceid=opensearch

Personally, I usually run pkg_version -vL= to show me only the
packages that need to be upgraded.  All of the up-to-date packages are
suppressed, and the output looks like this:

ca_root_nss-3.11.7 needs updating (port has 3.12.4)
clamav-0.95.3  needs updating (port has 0.96.1)
compositeproto-0.3.1   needs updating (port has 0.4.1)
coreutils-6.9_2needs updating (port has 7.5_1)
courier-authlib-base-0.61.0needs updating (port has 0.63.0)

Hope that helps,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFMGlja0sRouByUApARAtZMAKCSCqAozFHseKsN/AAVv9HWvEG0aQCgrr5e
EAxp+SGDkLS+JR3P80db0AQ=
=SXHx
-END PGP SIGNATURE-

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


change kde4 (pkg) to kde4 (ports)

2010-06-17 Thread Giorgos Tsiapaliokas
hello,

i have installed  kde4 via the package system.
how can i install the kde4 via ports system without deleting the packages
and then compiling them?

thank you for answering :)
___
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:pkg_version strange output

2010-06-17 Thread Giorgos Tsiapaliokas
thank you for your answers.

the problem is solved with portmaster --check-depends.

P.S.: i didn't mean the symbols (=) :)
___
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: PDF storage software recommendations?

2010-06-17 Thread Michael W. Lucas
On Thu, Jun 17, 2010 at 01:12:13PM -0400, Greg Larkin wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Michael W. Lucas wrote:
  Hi,
  
  I have to store a bunch of PDFs of orders.  I'd like to be able to
  tag these by customer, date, and a couple of other characteristics,
  and then search and/or sort by these tags.
  
  I'm certain that we have something in ports that will do this, but
  danged if I can find a good candidate.  While I'm sure I could build a
  database/PHP app that would work, surely someone's already done this?
  Any recommendations?
  
  Thanks,
  ==ml
  
 
 Hi Michael,
 
 I maintain print/pdftk, and you can edit document metadata with it.  The
 updateinfo subcommand should do what you want.  I found this page
 describing that and some other functions of the tool:
 http://scottnesbitt.net/ubuntublog/?p=269.

That looks like a fabulous tool, actually.  I've wanted that
functionality for years.  But it's not quite what I want.

We get orders for services via PDF.  We need to keep them, and call
them up months or years later.  We'd need to find things like all of
the PDFs for Customer X or all of the PDFs for circuit ID
such-and-such.  Surely other people have had this problem, for
generic documents/files if not PDFs in particular...

==ml

-- 
Michael W. Lucasmwlu...@blackhelicopters.org
http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/
New book:  Network Flow Analysis
pre-order now!  http://www.networkflowanalysis.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


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

2010-06-17 Thread Martin McCormick
Matthew Seaman writes:
 Furthermore, the default setup *is* for named to run as an unprivileged
 process.  The setup is very carefully designed so that named doesn't
 have write permission on the directory where its configuration files are
 stored, or on directories that contain static zone files, but it does
 have write permission on directories it uses for zone files AXFR'd from
 a master, or zone files maintained using dynamic DNS.
 
 This used to generate a warning from bind about not having a writable
 current working directory -- which was basically harmless and could be
 ignored.  However recent changes mean bind needs a writable working
 directory, so the latest layouts include /var/named/etc/namedb/working

That turned out to be the issue. I reset the permissions
to match the way they are when one first installs bind.
Root owns /var/named but bind owns directories that should be
writable so the trick is to set one's named.conf file to
reference writable directories for all the zones, logs and
named.pid. It is now starting automatically on reboot just like
it should.

While bind owns all the writable subdirectories, they
all still have wheel as their GID. That appears to be okay since
they are all only writable by owner.

Thanks for explaining this annoying little mystery that
has dogged me at a minor level for years.

I have been running bind for Oklahoma State University
for close to 18 years and one tends to stick with configurations
that work. It is just time to modernize and at least configure
bind in the recommended way so as to take full advantage of the
clever design.

It does still give the message that the working
directory is not writable.

Martin McCormick
___
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: PDF storage software recommendations?

2010-06-17 Thread Roland Smith
On Thu, Jun 17, 2010 at 01:12:13PM -0400, Greg Larkin wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Michael W. Lucas wrote:
  Hi,
  
  I have to store a bunch of PDFs of orders.  I'd like to be able to
  tag these by customer, date, and a couple of other characteristics,
  and then search and/or sort by these tags.
  
  I'm certain that we have something in ports that will do this, but
  danged if I can find a good candidate.  While I'm sure I could build a
  database/PHP app that would work, surely someone's already done this?
  Any recommendations?

Keep it simple. Rename the pdf files so that their names encode the data you
want. Then find(1) will do most of what you want. 

If the pdf files contain text instead of scanned images, you could probably do
the renaming automatically with the help of pdftotext(1) from the
'poppler-utils' port and your favorite scripting language.

Put them in sub-directories e.g. by year or even year/month if you've got lots.

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


pgpZtuqtfdnun.pgp
Description: PGP signature


Re: PDF storage software recommendations?

2010-06-17 Thread Svein Skogen (Listmail Account)
On 17.06.2010 20:55, Michael W. Lucas wrote:
 We get orders for services via PDF.  We need to keep them, and call
 them up months or years later.  We'd need to find things like all of
 the PDFs for Customer X or all of the PDFs for circuit ID
 such-and-such.  Surely other people have had this problem, for
 generic documents/files if not PDFs in particular...

Sounds pretty much like a database and a filestore. Database to store
all the metadata, with pointers to some machine-readable filenames for
the filestore. I seem to remember that one of my previous employers
hired some code-for-hire guys from UK setting that up (and alas bringing
Oracle salespeople inside the premises. I swear, those guys are harder
to remove than cockroaches...), but I'm sure some of the more
SQL-friendly guys than me could codify something for Postgres and give
it a nice frontend. ;)

//Svein

-- 
+---+---
  /\   |Svein Skogen   | sv...@d80.iso100.no
  \ /   |Solberg Østli 9| PGP Key:  0xE5E76831
   X|2020 Skedsmokorset | sv...@jernhuset.no
  / \   |Norway | PGP Key:  0xCE96CE13
|   | sv...@stillbilde.net
 ascii  |   | PGP Key:  0x58CD33B6
 ribbon |System Admin   | svein-listm...@stillbilde.net
Campaign|stillbilde.net | PGP Key:  0x22D494A4
+---+---
|msn messenger: | Mobile Phone: +47 907 03 575
|sv...@jernhuset.no | RIPE handle:SS16503-RIPE
+---+---
 If you really are in a hurry, mail me at
   svein-mob...@stillbilde.net
 This mailbox goes directly to my cellphone and is checked
even when I'm not in front of my computer.

 Picture Gallery:
  https://gallery.stillbilde.net/v/svein/




signature.asc
Description: OpenPGP digital signature


Re: PDF storage software recommendations?

2010-06-17 Thread Elliot Finley
http://www.google.com/search?hl=enq=open+source+document+management+systemaq=faqi=aql=oq=gs_rfai=

On Thu, Jun 17, 2010 at 12:55 PM, Michael W. Lucas 
mwlu...@blackhelicopters.org wrote:

 On Thu, Jun 17, 2010 at 01:12:13PM -0400, Greg Larkin wrote:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  Michael W. Lucas wrote:
   Hi,
  
   I have to store a bunch of PDFs of orders.  I'd like to be able to
   tag these by customer, date, and a couple of other characteristics,
   and then search and/or sort by these tags.
  
   I'm certain that we have something in ports that will do this, but
   danged if I can find a good candidate.  While I'm sure I could build a
   database/PHP app that would work, surely someone's already done this?
   Any recommendations?
  
   Thanks,
   ==ml
  
 
  Hi Michael,
 
  I maintain print/pdftk, and you can edit document metadata with it.  The
  updateinfo subcommand should do what you want.  I found this page
  describing that and some other functions of the tool:
  http://scottnesbitt.net/ubuntublog/?p=269.

 That looks like a fabulous tool, actually.  I've wanted that
 functionality for years.  But it's not quite what I want.

 We get orders for services via PDF.  We need to keep them, and call
 them up months or years later.  We'd need to find things like all of
 the PDFs for Customer X or all of the PDFs for circuit ID
 such-and-such.  Surely other people have had this problem, for
 generic documents/files if not PDFs in particular...

 ==ml

 --
 Michael W. Lucasmwlu...@blackhelicopters.org
 http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/
 New book:  Network Flow Analysis
 pre-order now!  http://www.networkflowanalysis.com/
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org

___
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


Problem filtering port between host and jail.

2010-06-17 Thread David DEMELIER
Hi,

Because I don't want to enable jail_sysvipc, I installed PostgreSQL on
my host and it works fine. The problem is accessing a database within
a jail.
The jails are nat'ed and they can connect to the Internet. However
trying psql -h 192.168.1.23 -U markand markanddb time out and said :

psql: could not connect to server: Operation timed out
Is the server running on host 192.168.1.23 and accepting
TCP/IP connections on port 5432?

my /etc/pf.conf is like :

# General macros.
ext_if=rl0
int_if=lo1
jails=10.0.0.0/24
host_ip = 192.168.1.23

# Nat for jails.
nat on $ext_if from $jails to any - $ext_if

# Redirecting and accepting ports to jails.
rdr pass inet proto tcp from any to port $ports_users - $jail_users
rdr pass inet proto tcp from any to port $ports_www - $jail_www

# Filtering ports.
block log all

# Filtering in.
pass in on $ext_if proto tcp from any to port $ports

# Filtering out.
pass out all

So I tried something like :

pass out quick from $jails to host

but it timeout too. With tcpdump I can see these messages :

00:00:12.202519 rule 0/0(match): block out on lo1:
markand.malikania.fr.postgresql  10.0.0.30.33431:  tcp 20 [bad hdr
length 0 - too short,  20]

I don't understand what i'm doing wrong here, if anyone can solve
this, it would be great!

Kind regards.

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


FreeBSD router (IPFW-based): how to block an URL (all IPs of an A-like HOSTNAME)

2010-06-17 Thread Valerian Galeru
Hello,

Does anyone have any ideas how to block all requests using an IPFW-based router 
(FreeBSD 6.4) to and from a HOSTNAME (which has more DNS A entries) or better, 
from any *.HOSTNAME.COM 

Thank you in advance



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


RE: FreeBSD router (IPFW-based): how to block an URL (all IPs of an A-like HOSTNAME)

2010-06-17 Thread Gary Gatten
I don't know how to do it with IPFW, but I like using null / bogus routes to 
blackhole bad hosts - assuming of course the host in question isn't using 
dynamic IP's.

-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Valerian Galeru
Sent: Thursday, June 17, 2010 3:01 PM
To: freebsd-questions@freebsd.org
Subject: FreeBSD router (IPFW-based): how to block an URL (all IPs of an A-like 
HOSTNAME)

Hello,

Does anyone have any ideas how to block all requests using an IPFW-based router 
(FreeBSD 6.4) to and from a HOSTNAME (which has more DNS A entries) or better, 
from any *.HOSTNAME.COM 

Thank you in advance



  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
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: FreeBSD router (IPFW-based): how to block an URL (all IPs of an A-like HOSTNAME)

2010-06-17 Thread Chuck Swiger
On Jun 17, 2010, at 1:01 PM, Valerian Galeru wrote:
 Does anyone have any ideas how to block all requests using an IPFW-based 
 router (FreeBSD 6.4) to and from a HOSTNAME (which has more DNS A entries) or 
 better, from any *.HOSTNAME.COM 

Start by blocking all traffic, add permit rules to only pass traffic which is 
allowed.  :-)

Judging by your question, however, it sounds more like you want to use regex 
based blocking of hostnames within a web proxy like Squid or Varnish than 
IP-level firewalls.

Regards,
-- 
-Chuck

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


Re: FreeBSD router (IPFW-based): how to block an URL (all IPs of an A-like HOSTNAME)

2010-06-17 Thread Bernt Hansson

Valerian Galeru said the following on 2010-06-17 22:01:

Hello,

Does anyone have any ideas how to block all requests using an IPFW-based router
 (FreeBSD 6.4) to and from a HOSTNAME (which has more DNS A entries) 
or better, from any *.HOSTNAME.COM 


Do a whois hostname.com taking note of their ip-address range. Then, for 
ipf, put this in your rules file.


### EXAMPLE ###

block in quick on fxp0 from 192.168.0.0/16 to any
block out quick on fxp0 from any to 192.168.0.0/16
___
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: FreeBSD router (IPFW-based): how to block an URL (all IPs of an A-like HOSTNAME)

2010-06-17 Thread Valerian Galeru
Ok, very simple put:

To do this without shell scripting, but this could avoid filter future IP 
addresses:
1. DIG HOSTNAMEs and add ipfw block rules for those IPs
2. DIG HOSTNAMEs and add a null rule

To block all *.hostname and future IP addresses of any of *.hostname, there 
must be written a shell script, that analyzes all requests [have no idea how to 
execute a shell script LIVE!!!, any idea on this topic?].

--- On Thu, 6/17/10, Bernt Hansson be...@bah.homeip.net wrote:

From: Bernt Hansson be...@bah.homeip.net
Subject: Re: FreeBSD router (IPFW-based): how to block an URL (all IPs of an 
A-like HOSTNAME)
To: Valerian Galeru valerian...@yahoo.com
Cc: freebsd-questions@freebsd.org
Date: Thursday, June 17, 2010, 11:47 PM

Valerian Galeru said the following on 2010-06-17 22:01:
 Hello,
 
 Does anyone have any ideas how to block all requests using an IPFW-based 
 router
 (FreeBSD 6.4) to and from a HOSTNAME (which has more DNS A entries) or 
 better, from any *.HOSTNAME.COM 

Do a whois hostname.com taking note of their ip-address range. Then, for ipf, 
put this in your rules file.

### EXAMPLE ###

block in quick on fxp0 from 192.168.0.0/16 to any
block out quick on fxp0 from any to 192.168.0.0/16



  
___
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: FreeBSD router (IPFW-based): how to block an URL (all IPs of an A-like HOSTNAME)

2010-06-17 Thread Gary Gatten
What about an entry in your local DNS (what your hosts use) that gives a bogus 
ip (127.0.0.1?) for *.badhost.com?  Then users can never connect to 
badhost.com. 

I don't know too many FW's that allow you to use a URL in a rule.  IIRC, 
CheckPoint-FW1 did/does, but they recommend against it due to overhead.

As pointed out, Squid or other light weight white/blacklist thingy might be in 
order.

- Original Message -
From: owner-freebsd-questi...@freebsd.org owner-freebsd-questi...@freebsd.org
To: freebsd-questions@freebsd.org freebsd-questions@freebsd.org
Sent: Thu Jun 17 15:56:23 2010
Subject: Re: FreeBSD router (IPFW-based): how to block an URL (all IPs of an
A-like HOSTNAME)

Ok, very simple put:

To do this without shell scripting, but this could avoid filter future IP 
addresses:
1. DIG HOSTNAMEs and add ipfw block rules for those IPs
2. DIG HOSTNAMEs and add a null rule

To block all *.hostname and future IP addresses of any of *.hostname, there 
must be written a shell script, that analyzes all requests [have no idea how to 
execute a shell script LIVE!!!, any idea on this topic?].

--- On Thu, 6/17/10, Bernt Hansson be...@bah.homeip.net wrote:

From: Bernt Hansson be...@bah.homeip.net
Subject: Re: FreeBSD router (IPFW-based): how to block an URL (all IPs of an 
A-like HOSTNAME)
To: Valerian Galeru valerian...@yahoo.com
Cc: freebsd-questions@freebsd.org
Date: Thursday, June 17, 2010, 11:47 PM

Valerian Galeru said the following on 2010-06-17 22:01:
 Hello,
 
 Does anyone have any ideas how to block all requests using an IPFW-based 
 router
 (FreeBSD 6.4) to and from a HOSTNAME (which has more DNS A entries) or 
 better, from any *.HOSTNAME.COM 

Do a whois hostname.com taking note of their ip-address range. Then, for ipf, 
put this in your rules file.

### EXAMPLE ###

block in quick on fxp0 from 192.168.0.0/16 to any
block out quick on fxp0 from any to 192.168.0.0/16



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

Re: FreeBSD router (IPFW-based): how to block an URL (all IPs of an A-like HOSTNAME)

2010-06-17 Thread Valerian Galeru
The idea with the DNS server is wonderful, but the problem is, that in my 
network the DNS server is the one in Internet [i dont run a DNS server and all 
local/LAN computers are configured manually to use a public DNS server ].

--- On Fri, 6/18/10, Gary Gatten ggat...@waddell.com wrote:

From: Gary Gatten ggat...@waddell.com
Subject: Re: FreeBSD router (IPFW-based): how to block an URL (all IPs of an 
A-like HOSTNAME)
To: 'valerian...@yahoo.com' valerian...@yahoo.com, 
'freebsd-questions@freebsd.org' freebsd-questions@freebsd.org
Date: Friday, June 18, 2010, 12:08 AM

What about an entry in your local DNS (what your hosts use) that gives a bogus 
ip (127.0.0.1?) for *.badhost.com?  Then users can never connect to 
badhost.com. 

I don't know too many FW's that allow you to use a URL in a rule.  IIRC, 
CheckPoint-FW1 did/does, but they recommend against it due to overhead.

As pointed out, Squid or other light weight white/blacklist thingy might be in 
order.

- Original Message -
From: owner-freebsd-questi...@freebsd.org owner-freebsd-questi...@freebsd.org
To: freebsd-questions@freebsd.org freebsd-questions@freebsd.org
Sent: Thu Jun 17 15:56:23 2010
Subject: Re: FreeBSD router (IPFW-based): how to block an URL (all IPs of an    
A-like HOSTNAME)

Ok, very simple put:

To do this without shell scripting, but this could avoid filter future IP 
addresses:
1. DIG HOSTNAMEs and add ipfw block rules for those IPs
2. DIG HOSTNAMEs and add a null rule

To block all *.hostname and future IP addresses of any of *.hostname, there 
must be written a shell script, that analyzes all requests [have no idea how to 
execute a shell script LIVE!!!, any idea on this topic?].

--- On Thu, 6/17/10, Bernt Hansson be...@bah.homeip.net wrote:

From: Bernt Hansson be...@bah.homeip.net
Subject: Re: FreeBSD router (IPFW-based): how to block an URL (all IPs of an 
A-like HOSTNAME)
To: Valerian Galeru valerian...@yahoo.com
Cc: freebsd-questions@freebsd.org
Date: Thursday, June 17, 2010, 11:47 PM

Valerian Galeru said the following on 2010-06-17 22:01:
 Hello,
 
 Does anyone have any ideas how to block all requests using an IPFW-based 
 router
 (FreeBSD 6.4) to and from a HOSTNAME (which has more DNS A entries) or 
 better, from any *.HOSTNAME.COM 

Do a whois hostname.com taking note of their ip-address range. Then, for ipf, 
put this in your rules file.

### EXAMPLE ###

block in quick on fxp0 from 192.168.0.0/16 to any
block out quick on fxp0 from any to 192.168.0.0/16



      
___
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

-Inline Attachment Follows-

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



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


Re: PDF storage software recommendations?

2010-06-17 Thread Dale Scott
 I'm certain that we have something in ports that will do this, but
 danged if I can find a good candidate.  While I'm sure I 
 could build a
 database/PHP app that would work, surely someone's already done this?
 Any recommendations?

I'm experimenting with OpenDocMan (PHP/MySQL, http://www.opendocman.com/) for 
storing ad hoc documents associated with part numbers in a WebERP system 
(http://www.weberp.org). system. OpenDocMan has been around for a while and 
didn't see a lot of activity after release, but seems to be pretty active 
again. We added a menu item in the WebERP ItemMaster page for a user to submit 
an associated document, which is just a link to the submit document page in 
OpenDocMan (also added a Search for Associated Documents menu item which is a 
link to a search in OpenDocMan for documents associated with that part number). 
If there are multiple documents associated with part number, the user would 
have to zip the documents and then check-in the zip archive. This concept can 
be applied to other documents, such as a received purchase order which is then 
associated with a new internal sales order and production order.

I'm also investigating using Mercurial and the Windows TortoiseHg client (or a 
simplfied custom management-and-incoming-inspection-clerk friendly client) to 
check-in an arbitrary directory structure. Users could create a local directory 
on their Windows box for mini-project work (e.g., datasheets for a 
commercial-off-the-shelf part, Word doc and graphics for a user manual, sales 
analysis spreadsheet and PowerPoint presentation, custom part drawings and work 
instruction, etc.), and when they're finished, check-in the directory. I 
think the folder check-in might be a simpler concept for casual users, but need 
to finish the strawman and get some critique.

Dale

==
Dale Scott, P.Eng.
e-mail: dalesc...@shaw.ca
http://dalescott.shawwebspace.ca


___
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: FreeBSD router (IPFW-based): how to block an URL (all IPs of an A-like HOSTNAME)

2010-06-17 Thread Chris


On Jun 17, 2010, at 1:56 PM, Valerian Galeru wrote:


Ok, very simple put:

To do this without shell scripting, but this could avoid filter  
future IP addresses:

1. DIG HOSTNAMEs and add ipfw block rules for those IPs
2. DIG HOSTNAMEs and add a null rule

To block all *.hostname and future IP addresses of any of  
*.hostname, there must be written a shell script, that analyzes all  
requests [have no idea how to execute a shell script LIVE!!!, any  
idea on this topic?].



Scripting it is not that hard, but most security advisors seem to
recommend against it since a smart attacker could use such a
thing against you. If you know the hostname and ip, there is no
reason to script it, if you don't, then you will have the script making
decisions and it's possible those decisions could be leveraged to
make you block the wrong thing. In spite of warnings, I did it
during the bot attacks in 2006 and it really saved us. With care,
it's a great solution. I'm not sure why you would do this if you
know the hostname? I am missing something there, maybe the
question of how you come to know that this host should be blocked.
If it's content, then here is another approach.

If you know the content that makes *.hostname be a bad
actor, snort_inline is designed for that. You run it on a socket
at startup and divert within ipfw, any traffic you want checked.
You create a snort rule to do so and drop the session if it
matches. Again, your drop rules need to be well designed, so it
has some of the same earmarks as the scripted solutions.
It does work though if you can identify a unique signature for
what *.hostname (and then *.hostname2, *.hostname3 etc)
is doing that they should be blocked. It handles some pretty
hefty traffic too though I run it on a machine in front of the
net that only does ipfw/bridging and snort_inline. It was
pretty easy to set up too. With this, I'm not suggesting a
hostname lookup but to drop sessions from hostname
based on whatever the criteria is that you use to know
that it should be blocked.


--- On Thu, 6/17/10, Bernt Hansson be...@bah.homeip.net wrote:

From: Bernt Hansson be...@bah.homeip.net
Subject: Re: FreeBSD router (IPFW-based): how to block an URL (all  
IPs of an A-like HOSTNAME)

To: Valerian Galeru valerian...@yahoo.com
Cc: freebsd-questions@freebsd.org
Date: Thursday, June 17, 2010, 11:47 PM

Valerian Galeru said the following on 2010-06-17 22:01:

Hello,

Does anyone have any ideas how to block all requests using an IPFW- 
based router
(FreeBSD 6.4) to and from a HOSTNAME (which has more DNS A entries)  
or better, from any *.HOSTNAME.COM 


Do a whois hostname.com taking note of their ip-address range. Then,  
for ipf, put this in your rules file.


### EXAMPLE ###

block in quick on fxp0 from 192.168.0.0/16 to any
block out quick on fxp0 from any to 192.168.0.0/16




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





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


Re: PDF storage software recommendations?

2010-06-17 Thread Polytropon
On Thu, 17 Jun 2010 11:22:37 -0400, Michael W. Lucas 
mwlu...@blackhelicopters.org wrote:
 Hi,
 
 I have to store a bunch of PDFs of orders.  I'd like to be able to
 tag these by customer, date, and a couple of other characteristics,
 and then search and/or sort by these tags.
 
 I'm certain that we have something in ports that will do this, but
 danged if I can find a good candidate.  While I'm sure I could build a
 database/PHP app that would work, surely someone's already done this?
 Any recommendations?

Maybe my answer will sound low level, but it works - REALLY works -
and works with mostly every kind of data.

Basically, you need to keep two things in mind:
1. PDF file filenames
2. a CSV database with a known format.

Let's say you don't care much for the PDF file names. It's okay,
as you don't have to. YOu have just to make sure that there aren't
two files with the same name (but IF they are, different path
prefixes / subdirs make it possible).

Let's furthermore say you maintain a file of a format like this:

# $1: $2: $3: $4
# filename  : Customer Name : Date  : Keywords
# --:---:---:
0477763.pdf : Sixpack J. Q. : 2010-05-12: paper, plastics
76248873aT.pdf  : Meow C.   : 2009-03-18: fish, chips, beer
UF/5u7r3jh.pdf  : Woof D.   : 2010-01-05: explosives
rrw85673.pdf: Monk A.   : 2010-04-23: tissues, water

Now you can easily search it (as it is pure text), and you can
use scripts (e. g. written in awk) to obtain specific information
and perform certain actions (like calling a PDF viewer program
with one or more files you want to view, or print files that
match a certain criteria you can query for). You can use a script
to compact the database (remove the pretty printing that helps
when manually editing the file), or even sort it. The file name
can then point to a specific subtree with all the tricks you
can do on file system level.

You can also easily (!) write your own GUI wrapper for a shell
script that does
- create new entries
- edit entries
- remove entries
- search for entries
- perform actions (open in viewer, print to printer)
- add new / remove unneeded data columns
I'd even recommend using Tcl/Tk for that.

Oh, and did I mention that you can not only use this for PDF
files, but for ALL files? It's very versatile and extendible.
It doesn't tie you to a specific program. Additionally, it can
be used on many platforms this way.

You even don't need PHP or databases for that. :-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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


Xorg fails to start after upgrading to 8 stable

2010-06-17 Thread Xihong Yin

I upgraded from 7.2 to 8.0. Xorg can't start. I got the following
message when I type 'startx'.  I already upgraded Xorg, hal
and libusb to the latest. Anybody can help?

Script started on Fri Jun 18 00:20:21 2010
c...@router1:~ startx 
xauth:  creating new authority file /home/c512/.serverauth.69871



X.Org X Server 1.7.5
Release Date: 2010-02-16
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 8.0-RELEASE-p2 i386 
Current Operating System: FreeBSD rt.hm.com 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #0: Sat Jun  5 22:46:16 EDT 2010 c...@rt.hm.com:/usr/obj/usr/src/sys/MY8XKERNEL i386

Build Date: 31 May 2010  11:11:42PM

Current version of pixman: 0.16.6
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Fri Jun 18 00:20:24 2010
(==) Using config file: /etc/X11/xorg.conf
record: RECORD extension enabled at configure time.
record: This extension is known to be broken, disabling extension now..
record: http://bugs.freedesktop.org/show_bug.cgi?id=20500

waiting for X server to shut down

___
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: mountroot error with memory based rootfs

2010-06-17 Thread akash kumar
Hi,

The root file system was built commenting out compact flash and enabling md0 as 
below in the config file for my target arch.

#device cf
#optionsROOTDEVNAME=\ufs:cf0s1\

# Use the following for RFS in mem-device
options MD_ROOT
options ROOTDEVNAME = \ufs:md0\
options MD_ROOT_SIZE = 7264

After the kernel was built and installed using 'make buildkernel 
KERNCONF=configfile and make installkernel commands.
Please let me know if you need any more info.

Thanks,
Bhanu Prakash.






From: Tim Judd taj...@gmail.com
To: akash kumar akashb...@yahoo.co.in
Sent: Fri, 18 June, 2010 7:50:14 AM
Subject: Re: mountroot error with memory based rootfs

On 6/17/10, akash kumar akashb...@yahoo.co.in wrote:
 Hi,

 I was trying to build root filesystem in to the kernel (i.e using /dev/md0)
 for Mips based target boards. In the process i built tool chain and kernel
 successfully.
 But when i boot the kernel on the target, it fails to mount the md0 and
 drops to mountroot prompt.

 mountroot ufs:/dev/md0
 ROOT MOUNT ERROR
 If you have invalid mount options, reboot, and first try the following from
 the loader prompt:

 set vfs.root.mountfrom.options=rw

 and the remove invalid mount options from /etc/fstab.

 Loader variables:
 vfs.root.mountfrom=
 vfs.root.mountform.options=

 I could see that both the above variables are unset and not sure whether
 this is by default. As i am building a cross kernel, i can't add these
 options to /boot/loader.conf files which applies to current host machine.

 Please help me where the above settings need to be added i.e which directory
 and file for the settings to effect for my target kernel build.

 Thanks,
 Akash.



Please give details on how the root filesystem image is built.

What works is to format the rootfs image without a partition or bsdlabel.



It is just unable to mount the image as specified.



___
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


Need help with SATA disk timing out in 8.1 Beta

2010-06-17 Thread Jerry Bell

I am having all sorts of problems with drives in a new server.
I have a 450G sata drive that hold my root partition, works great, no 
issues.
I have a second, 1TB drive that has been all sorts of trouble.  When 
writing to this disk, I occasionally see errors like this:


Jun 17 07:40:36 www3 kernel: ad8: WARNING - WRITE_DMA48 UDMA ICRC error 
(retrying request) LBA=1564898207
Jun 17 07:40:36 www3 kernel: ad8: FAILURE - WRITE_DMA48 
status=51READY,DSC,ERROR error=10NID_NOT_FOUND LBA=1564898207
Jun 17 07:57:12 www3 kernel: ad8: WARNING - WRITE_DMA48 UDMA ICRC error 
(retrying request) LBA=1565052351
Jun 17 07:57:12 www3 kernel: ad8: FAILURE - WRITE_DMA48 
status=51READY,DSC,ERROR error=10NID_NOT_FOUND LBA=1565052351
Jun 17 09:45:12 www3 kernel: ad8: WARNING - WRITE_DMA48 UDMA ICRC error 
(retrying request) LBA=1565983775
Jun 17 09:45:12 www3 kernel: ad8: FAILURE - WRITE_DMA48 
status=51READY,DSC,ERROR error=10NID_NOT_FOUND LBA=1565983775
Jun 17 09:50:24 www3 kernel: ad8: WARNING - WRITE_DMA48 UDMA ICRC error 
(retrying request) LBA=1566082719
Jun 17 09:50:24 www3 kernel: ad8: FAILURE - WRITE_DMA48 
status=51READY,DSC,ERROR error=10NID_NOT_FOUND LBA=1566082719
Jun 17 10:01:25 www3 kernel: ad8: WARNING - WRITE_DMA48 UDMA ICRC error 
(retrying request) LBA=1566358623
Jun 17 10:01:25 www3 kernel: ad8: FAILURE - WRITE_DMA48 
status=51READY,DSC,ERROR error=10NID_NOT_FOUND LBA=1566358623
Jun 17 10:02:59 www3 kernel: ad8: WARNING - WRITE_DMA48 UDMA ICRC error 
(retrying request) LBA=1566387807
Jun 17 10:02:59 www3 kernel: ad8: FAILURE - WRITE_DMA48 
status=51READY,DSC,ERROR error=10NID_NOT_FOUND LBA=1566387807
Jun 17 10:18:59 www3 kernel: ad8: WARNING - WRITE_DMA UDMA ICRC error 
(retrying request) LBA=43231
Jun 17 10:18:59 www3 kernel: ad8: WARNING - WRITE_DMA UDMA ICRC error 
(retrying request) LBA=57567
Jun 17 10:18:59 www3 kernel: ad8: WARNING - WRITE_DMA UDMA ICRC error 
(retrying request) LBA=773471
Jun 17 10:18:59 www3 kernel: ad8: WARNING - WRITE_DMA UDMA ICRC error 
(retrying request) LBA=786271
Jun 17 10:18:59 www3 kernel: ad8: WARNING - WRITE_DMA UDMA ICRC error 
(retrying request) LBA=810079
Jun 17 10:19:00 www3 kernel: ad8: WARNING - WRITE_DMA UDMA ICRC error 
(retrying request) LBA=76767
Jun 17 10:19:00 www3 kernel: ad8: WARNING - WRITE_DMA UDMA ICRC error 
(retrying request) LBA=784479


Last week, I asked the datacenter to provide me with a new 1TB drive, 
and they did.  It formatted fine, no errors.  I copied files to it, ran 
bonnie, etc, and no signs of any DMA issues.

Until this morning when I started having the errors again.

If I run a tool like bonnie, I am very easily reproduce the errors.  
After some research, I find that these errors are often indicative of 
SATA cable problems.

The datacenter replaced the cable, and the problem continues.
The datacenter moved the sata cable to a new SATA port, and the problem 
continues
The datacenter adds a BRAND NEW 1TB drive (now the system has 3 drive), 
and I am unable to format the drive because of these errors:

ad10: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=168172351
ad10: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=602334847
ad10: FAILURE - WRITE_DMA48 status=51READY,DSC,ERROR 
error=10NID_NOT_FOUND LBA=602334847

ad10: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=427014463
ad10: FAILURE - WRITE_DMA48 status=51READY,DSC,ERROR 
error=10NID_NOT_FOUND LBA=427014463

ad10: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=15425407
ad10: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=471408895
ad10: FAILURE - WRITE_DMA48 status=51READY,DSC,ERROR 
error=10NID_NOT_FOUND LBA=471408895

ad10: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=91422655
ad10: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=203161183
ad10: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) 
LBA=1211817727
ad10: FAILURE - WRITE_DMA48 status=51READY,DSC,ERROR 
error=10NID_NOT_FOUND LBA=1211817727

ad10: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=37998847
ad10: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=309632575
ad10: FAILURE - WRITE_DMA48 status=51READY,DSC,ERROR 
error=10NID_NOT_FOUND LBA=309632575

ad10: TIMEOUT - WRITE_DMA retrying (1 retry left) LBA=24831007
ad10: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=59067391
ad10: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=497744575
ad10: FAILURE - WRITE_DMA48 status=51READY,DSC,ERROR 
error=10NID_NOT_FOUND LBA=497744575
ad10: FAILURE - WRITE_MUL status=51READY,DSC,ERROR 
error=84ICRC,ABORTED LBA=1128895

ad10: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=13920511
ad10: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=547029919
ad10: FAILURE - WRITE_DMA48 status=51READY,DSC,ERROR 
error=10NID_NOT_FOUND LBA=547029919


So, the problem has occurred on 3 different drives.
SATA ports and cables do not appear to impact the problem.
The 

X11 stopped working

2010-06-17 Thread Caleb Stein
I was updating some ports (glib, png, jpeg, atk), and I did it  
incorrectly, by doing make deinstall and then make install.  After I  
rebooted X11 won't run at all.  I tried to run portupgrade -Rr xorg but  
I didn't help.  I have KDE4 configured to run at startup, and it tries to  
run, and then exits to the prompt with this message:


Received unknown or unexpected command -2 from greeter
Abnormal termination of greeter for display :0, code 1, signal 0

How should I go about fixing this?
___
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


Problem Creating GroupOffice Database (FreeBSD Group Office port)

2010-06-17 Thread Jasvinder S. Bahra

Hi,

Has anyone had any luck getting the www/groupoffice-2.18.s.21 port working 
on FreeBSD?


I'm running FreeBSD 7.3, the Apache Webserver 2.2.15_9 with PHP 5.2.13_2 and 
MySQL 5.5.4.


I'm attempting to get group office up and running, but without success.

Basically, i've opened http://IPADDRESS/groupoffice/install/install.php 
in a web browser - which works correctly.


I'm go through the installation screens until I hit a form (asking for 
username/password to connect to mysql, as well as the details of a MySQL 
user account it can create for group office's use).  I enter the details and 
hit the next button.  I receive a message saying that a connection was 
successfully established to the database.


I hit next again - at this point, it should (presumeably) run a series of 
SQL statements to create the database and populate it with the initial 
dataset.


Unfortunately, instead I get pages and page of error messages, intersperced 
with HTML (Welcome to the Group-Office CMS)...



Database error: Invalid SQL: CREATE TABLE IF NOT EXISTS `ab_addressbooks` 
(`id` int(11) NOT NULL default '0',`user_id` int(11) NOT NULL default 
'0',`name` varchar(50) NOT NULL default '',`acl_read` int(11) NOT NULL 
default '0',`acl_write` int(11) NOT NULL default '0',PRIMARY KEY (`id`),KEY 
`user_id` (`user_id`)) TYPE=MyISAM
MySQL Error: 1064 (You have an error in your SQL syntax; check the manual 
that corresponds to your MySQL server version for the right syntax to use 
near 'TYPE=MyISAM' at line 1)


Database error: Invalid SQL: INSERT INTO `ab_addressbooks` (`id`, `user_id`, 
`name`, `acl_read`, `acl_write`) VALUES(1, 1, 'Admin, Group-Office', 36, 
37),(4, 1, 'test', 52, 53)

MySQL Error: 1146 (Table 'groupoffice.ab_addressbooks' doesn't exist)
.
.
.
Database error: Invalid SQL: CREATE TABLE IF NOT EXISTS `cms_files` (`id` 
int(11) NOT NULL default '0',`folder_id` int(11) NOT NULL default 
'0',`extension` varchar(10) NOT NULL default '',`size` int(11) NOT NULL 
default '0',`ctime` int(11) NOT NULL,`mtime` int(11) NOT NULL default 
'0',`name` varchar(255) NOT NULL default '',`content` longtext NOT 
NULL,`auto_meta` enum('0','1') NOT NULL default '1',`title` varchar(100) NOT 
NULL default '',`description` text NOT NULL,`keywords` text NOT 
NULL,`priority` int(11) NOT NULL default '0',`hot_item` enum('0','1') 
default NULL,`hot_item_text` text NOT NULL,`template_item_id` int(11) NOT 
NULL default '0',`acl` int(11) NOT NULL,PRIMARY KEY (`id`),KEY `folder_id` 
(`folder_id`),FULLTEXT KEY `name` (`name`),FULLTEXT KEY `content` 
(`content`)) TYPE=MyISAM
MySQL Error: 1064 (You have an error in your SQL syntax; check the manual 
that corresponds to your MySQL server version for the right syntax to use 
near 'TYPE=MyISAM' at line 1)


Database error: Invalid SQL: INSERT INTO `cms_files` (`id`, `folder_id`, 
`extension`, `size`, `ctime`, `mtime`, `name`, `content`, `auto_meta`, 
`title`, `description`, `keywords`, `priority`, `hot_item`, `hot_item_text`, 
`template_item_id`, `acl`) VALUES(1, 1, 'html', 230, 1159522480, 1159522489, 
'Welcome.html', '

.
.
.
Database error: Invalid SQL: INSERT INTO `users_groups` (`group_id`, 
`user_id`) VALUES(1, 1),(2, 1)

MySQL Error: 1146 (Table 'groupoffice.users_groups' doesn't exist)

Database error: Invalid SQL: SELECT * FROM settings WHERE name='version' AND 
user_id=0

MySQL Error: 1146 (Table 'groupoffice.settings' doesn't exist)

Session halted.


I connected to MySQL and found that the database had been created, as well 
as a user for group office to connect to it.  The database however has no 
tables.


Annoyingly, the documentation on the Group Office website does not seem to 
be version specific, so i'm not sure if its a configuration problem specific 
to the version available in the ports.


Does anyone have any ideas?

Note that I have set the following settings in my php.ini (originally 
php.ini-recommended) file...



safe_mode=off
memory_limit=128MB
max_execution_time=300
error_reporting = E_ALL  ~E_NOTICE
display_errors=On
log_errors=On
file_uploads=On
upload_max_filesize=64MB



I have the php MYSQL and MYSQLI extensions both installed.

I've created an alias and a directory entry in my hhtpd.conf file...


Alias /groupoffice /usr/local/www/groupoffice2



Directory /usr/local/www/groupoffice2
   Options Indexes FollowSymLinks
   AllowOverride None
   Order allow,deny
   Allow from all
/Directory


Regards,

Jazz


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

Obtaining / downloading latest release of freeBSD

2010-06-17 Thread cipher crypted
Hi,

I am a bit slow when it comes to downloads, and I have been consumed by this 
slowness in trying to download/obtain your latest release of FreeBSD (8.0, I 
think). I visited your get FreeBSD page and clicked on your amd64 
distribution link, and couldn't figure out what or how to download and install 
your latest distribution from the resulting page.
Can someone please guide a lame-brain like me to this task, please? Or point me 
in the right direction as to where I can obtain help for this in plain, lamens 
terms?

Thank you!




  
___
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