Re: software to cut mp3 files?

2007-10-09 Thread r
Hi,

If you really want non-gui (though, also with gui-support),
audio/mp3splt, as it almost spells, is the exact one for you.

You should have found it by something like:

  make seach key='mp3.*split'

in /usr/ports directory.


--
R. Hara


At Mon, 8 Oct 2007 23:18:31 +0200,
Zbigniew Szalbot wrote:
 
 2007/10/8, D Hill [EMAIL PROTECTED]:
 
  I don't know of any non-gui. However, I've been using Audacity
  (/usr/ports/audio/audacity) doing just what you are looking to do. The
  /usr/ports/audio/audacity port is a little dated as the latest stable
  version at http://audacity.sourceforge.net is 1.2.6. The one in the ports
  is at v1.2.4. However, I have the beta v1.3.3 loaded from the
  /usr/ports/audio/audacity-devel and have not had any issues thus far.
 
 
 Thanks a lot!
 
 I am in the process of cutting the files into separate songs :)
 
 Regards,
 
 Zbigniew Szalbot
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Install xdriinfo

2007-10-09 Thread Martin Schweizer
Hello

I needd ports/x11/xdriinfo. While make I get the following error messages:

===  Building for xdriinfo-1.0.2
make  all-am
cc -DHAVE_CONFIG_H -I. -D_THREAD_SAFE -I/usr/local/include -O2 
-fno-strict-aliasing -pipe -MT xdriinfo.o -MD -MP -MF .deps/xdriinfo.Tpo -c -o 
xdriinfo.o xdriinfo.c
xdriinfo.c:27:23: GL/glxext.h: No such file or directory
*** Error code 1

Stop in /usr/ports/x11/xdriinfo/work/xdriinfo-1.0.2.
*** Error code 1

Stop in /usr/ports/x11/xdriinfo/work/xdriinfo-1.0.2.
*** Error code 1

Stop in /usr/ports/x11/xdriinfo.

As I understand the make file correct glxext.h shoud be in /usr/local/GL but it 
isn't there. Do I need an other port?

What do I wrong? Any hints are welcome.

Regards,

-- 

Martin Schweizer
[EMAIL PROTECTED]

PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon
Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch;
public key : http://www.pc-service.ch/pgp/public_key.asc; 
fingerprint: EC21 CA4D 5C78 BC2D 73B7  10F9 C1AE 1691 D30F D239;



pgpd9ErQM24Oe.pgp
Description: PGP signature


setting up a cvsup mirror

2007-10-09 Thread Aryeh Friedman
I want to setup a local cvsup mirror on my local machine (someone told
me if you do it right you don't need to hand apply uncommitted
patches) what do I need to do this?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which java binary to use?

2007-10-09 Thread Bahman M.
On 2007-10-08 Stephen Allen wrote:
 I installed the Diablo java packages
 (http://www.freebsdfoundation.org/downloads/java.shtml), but which
 java shows /usr/local/bin/java which is a link to javavm in the
 same directory.
 
 I wondered about changing the link to point to one of these:
 
   /usr/local/diablo-jre1.5.0/bin/java
   /usr/local/diablo-jdk1.5.0/bin/java
   /usr/local/diablo-jdk1.5.0/jre/bin/java
 
 Should I change the link, and which one of these should it point to...
 the JRE?

I'd suggest installing java/javavmwrapper from ports.

Quoting from javavmwrapper/pkg-descr: The Java VM wrapper provides a
convenient system for switching between different Java VMs.  It also
provides symbolic links in ${PREFIX}/bin to allow the use of the Java
executables without having to add the specific Java VM executable
directories to the PATH environment variable.


After installing, instead of changing symbolic links, all you need to
do is to change the JAVA_HOME variable in a configuration file.  Below
is a snippet of my configuration using Diablo 1.5 and JDK 1.6.

[snip]
# JDK 1.6  (Currently commented, i.e. disabled)
#JAVA_HOME=/usr/local/jdk1.6.0
#JAVA_OS=native
#JAVA_VENDOR=freebsd
#JAVA_VERSION=1.6
#JAVAVM_OPTS=-XX:+UseThreadPriorities

# JDK 1.5 (The active JVM)
JAVA_HOME=/usr/local/dialblo-jdk1.5.0
JAVA_OS=native
JAVA_VENDOR=freebsd
JAVA_VERSION=1.5
JAVAVM_OPTS=-XX:+UseThreadPriorities
[/snip]

HTH,

Bahman

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


Re: amd64_set_gsbase()

2007-10-09 Thread Roman Divacky
On Tue, Oct 09, 2007 at 03:48:51AM +0300, Mihai Don??u wrote:
 On Tuesday 09 October 2007, Jung-uk Kim wrote:
  In long mode, we don't really care about segment registers.  While 
  implementing TLS for Linuxulator, I had to do the following hack, for 
  example:
  
  http://docs.freebsd.org/cgi/mid.cgi?20070336.l2U06LA1075891
  
  Under Linux and Windows, they do preserve segment registers vs. base 
  addresses mapping for backward compatibility, AFAIK with some 
  performance penalty.
 
 Ah! But you are doing your magic _in the kernel_. I don't have this luxury :)
 I have to do everything in user space (as a normal user) on an out-of-the-box
 FreeBSD (-stable).

just to note things... actually you have the luxury. we have made special hacks
to let wine works well (thr_kill2) I see no reason why special support for 
wine64
in kernel would be left out.

just my 2 cents

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


sudo doesn't log anything

2007-10-09 Thread Nicolas Letellier

Hello,

In my FreeBSD 6.2, I use sudo for a user.
However, I want know who has used sudo in my machine. But, sudo doesn't 
log anything. I have nothing about sudo in /var/log...


Syslog log auth.* in /var/log/auth, but nothing about sudo...

What's the problem ? Any ideas ?

Thanks !

Nicolas

--
Nicolas Letellier, administrateur systèmes

Site personnel : http://nicoelro.net
Curriculum-vitae : http://nletellier.info


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


Re[2]: what kind of UPS will work best?

2007-10-09 Thread Gerard
On October 08, 2007 at 10:41PM Bart Silverstrim wrote:

[snip]

  what is this? HVAC?
 
 Heating and air conditioning, I believe.  No?


HVAC (pronounced either H-V-A-C or, occasionally, H-VAK) is an
initialism/acronym that stands for heating, ventilation, and air
conditioning. 

HVAC may also stand for High-voltage alternating current


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


Re: setting up a cvsup mirror

2007-10-09 Thread Pieter de Goeje
On Tuesday 09 October 2007, Aryeh Friedman wrote:
 I want to setup a local cvsup mirror on my local machine (someone told
 me if you do it right you don't need to hand apply uncommitted
 patches) what do I need to do this?
Google, 3rd hit:
http://www.onlamp.com/pub/a/bsd/2001/08/30/Big_Scary_Daemons.html

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


Re: Upgrade of PHP4

2007-10-09 Thread Kevin Kinsey

Olivier Nicole wrote:


Thanks, now that lads to the second question, what will I break when
updating? What should I be carefull about? I have several servers,
managing quite many sites, with a lot of home made pages...


I would perhaps do a test build, and make notes of the steps for
the upgrade, to try and ward off breakage in the build/install
process.

Otherwise, PHP5 should be completely backwards compatible with PHP4,
with a few notable switches that have been adjusted.

One thing we noted was that the short tag (?) was now deprecated*,
and there were lots of instances of it being used.  In particular,
the short tag echo construct:

  foo html here ?=$bar ? close html

It wasn't too handy to have all those variables suddenly
disappear from the HTML forms.  OTOH, it's fairly trivial
to replace with some scripting work, IIRC.  But, that could
depend on the number of servers/sites, as you observe.

Kevin Kinsey

* deprecated might not be the right word; it's now OFF by default,
and I guess you can turn it on, but the possibility of conflict
with XML contraindicates that...
--
Do you think theres a God?
Well, SOMEbodys out to get me!
-- Calvin and Hobbs
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: wyswyg editors for tex (was re: replacement for openoffice)

2007-10-09 Thread icantthinkofone

Frank Jahnke wrote:

From what little experience I have with PS and *roff the idea of
hacking inline embedded languages just for typesetting sounds stupid
beyond belief 



You have to learn one of the troff macro packages.  -ms is the easiest,
but I agree that a wysiwyg document processor is just easier for this
purpose.  I'm agnostic about this one, and use Abiword (which I have
never had any issues compiling, and do install all of the plug-ins),
TextMaker, OO.o, Word or WP.  For this purpose it does not really matter
much, and I have all installed, either natively or in a virtual machine.

For technical or scientific writing, though, there is nothing that can
replace TeX or troff unless you invest a lot of money into adjunct
programs for Word.  Even then you still wind up with an ugly document.
Sometimes that does not matter (like business letters) but hey, I'm a
perfectionist and want my documents to look good in addition to
containing good information.

FWIW, my typical scientific article has over 100 references (which
change as the document is written), a lot of partial differential
equations and their solutions, graphs, chemistry, tables, images (like
photomicrographs), and so forth.  For that troff and TeX are the only
way to go unless you want to spend a considerable amount of money for
Word add-ins.  By itself Word is not that good, but an ecosystem has
developed around it to make it workable.  And it is the standard.

I'll stand by my basic recommendation.  For everyday use and Word
compatibility, buy TextMaker (and PlanMaker if you use spreadsheets).
For the heavy lifting use TeX (or LaTeX or LyX) or troff and its
pre-processors and macro packages.

  

and since all the more traditional (sorry I do not think of any
inline text language as being traditional)



Here you are misguided.  The text formatters *are* the traditional way
to process documents.  In fact, Unix existed only because its commercial
justification was the text processing system.  And that was built on
DEC's runoff (with its embedded codes), which the Unix fellows
abbreviated to roff, which became nroff for fixed-width character
devices, and troff for typesetters.

It took WordStar to change that paradigm (there are many other ones, of
course, but WS was the gorilla in the late 1970s and early 1980s).

Frank

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

  
Can you explain the difference between troff and groff.  I thought groff 
is the more useable troff, or do I have that backwards, or is that only 
a fbsd replacement?

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


RE: setting up a cvsup mirror

2007-10-09 Thread Johan Hendriks
 I want to setup a local cvsup mirror on my local machine (someone
told
 me if you do it right you don't need to hand apply uncommitted
 patches) what do I need to do this?
Google, 3rd hit:
http://www.onlamp.com/pub/a/bsd/2001/08/30/Big_Scary_Daemons.html

Cheers,
Pieter de Goeje
_
I can not install the port on Current.
It errors out with the following message:

=== cvsup-mirror-1.3_6 is an interactive port.
*** Error code 1

Stop in /usr/ports/net/cvsup-mirror.

Do I need to set something in /etc/make.conf?
I have installed the cvsup-without-gui port

regards,
Johan

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


Re: sudo doesn't log anything

2007-10-09 Thread Pieter de Goeje
On Tuesday 09 October 2007, Nicolas Letellier wrote:
 Hello,

 In my FreeBSD 6.2, I use sudo for a user.
 However, I want know who has used sudo in my machine. But, sudo doesn't
 log anything. I have nothing about sudo in /var/log...

 Syslog log auth.* in /var/log/auth, but nothing about sudo...

It logs it's messages in /var/log/messages.

 What's the problem ? Any ideas ?

 Thanks !
No Problemo :)

 Nicolas

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


RE: setting up a cvsup mirror

2007-10-09 Thread John Nielsen

Quoting Johan Hendriks [EMAIL PROTECTED]:

I want to setup a local cvsup mirror on my local machine (someone

told

me if you do it right you don't need to hand apply uncommitted
patches) what do I need to do this?

Google, 3rd hit:
http://www.onlamp.com/pub/a/bsd/2001/08/30/Big_Scary_Daemons.html



Cheers,
Pieter de Goeje

_
I can not install the port on Current.
It errors out with the following message:

=== cvsup-mirror-1.3_6 is an interactive port.
*** Error code 1

Stop in /usr/ports/net/cvsup-mirror.

Do I need to set something in /etc/make.conf?
I have installed the cvsup-without-gui port


Un-define BATCH, perhaps?

JN

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


Re: Install xdriinfo

2007-10-09 Thread Pieter de Goeje
On Tuesday 09 October 2007, Martin Schweizer wrote:
 Hello

 I needd ports/x11/xdriinfo. While make I get the following error messages:

 ===  Building for xdriinfo-1.0.2
 make  all-am
 cc -DHAVE_CONFIG_H -I. -D_THREAD_SAFE -I/usr/local/include -O2
 -fno-strict-aliasing -pipe -MT xdriinfo.o -MD -MP -MF .deps/xdriinfo.Tpo -c
 -o xdriinfo.o xdriinfo.c
 xdriinfo.c:27:23: GL/glxext.h: No such file or directory
 *** Error code 1

 Stop in /usr/ports/x11/xdriinfo/work/xdriinfo-1.0.2.
 *** Error code 1

 Stop in /usr/ports/x11/xdriinfo/work/xdriinfo-1.0.2.
 *** Error code 1

 Stop in /usr/ports/x11/xdriinfo.

 As I understand the make file correct glxext.h shoud be in /usr/local/GL
 but it isn't there. Do I need an other port?

Yeah I noticed this one too. As a workaround you can install graphics/libGL 
first, then continue to make xdriinfo (and possibly the rest of Xorg)

Regards,
Pieter de Goeje


 What do I wrong? Any hints are welcome.

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


RE: setting up a cvsup mirror

2007-10-09 Thread Johan Hendriks

 I want to setup a local cvsup mirror on my local machine (someone
 told
 me if you do it right you don't need to hand apply uncommitted
 patches) what do I need to do this?
 Google, 3rd hit:
 http://www.onlamp.com/pub/a/bsd/2001/08/30/Big_Scary_Daemons.html

 Cheers,
 Pieter de Goeje
 _
 I can not install the port on Current.
 It errors out with the following message:

 === cvsup-mirror-1.3_6 is an interactive port.
 *** Error code 1

 Stop in /usr/ports/net/cvsup-mirror.

 Do I need to set something in /etc/make.conf?
 I have installed the cvsup-without-gui port

Un-define BATCH, perhaps?

JN

Thanks that was it.


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


Re: wyswyg editors for tex (was re: replacement for openoffice)

2007-10-09 Thread icantthinkofone

icantthinkofone wrote:

Frank Jahnke wrote:

From what little experience I have with PS and *roff the idea of
hacking inline embedded languages just for typesetting sounds stupid
beyond belief 


You have to learn one of the troff macro packages.  -ms is the easiest,
but I agree that a wysiwyg document processor is just easier for this
purpose.  I'm agnostic about this one, and use Abiword (which I have
never had any issues compiling, and do install all of the plug-ins),
TextMaker, OO.o, Word or WP.  For this purpose it does not really matter
much, and I have all installed, either natively or in a virtual machine.

For technical or scientific writing, though, there is nothing that can
replace TeX or troff unless you invest a lot of money into adjunct
programs for Word.  Even then you still wind up with an ugly document.
Sometimes that does not matter (like business letters) but hey, I'm a
perfectionist and want my documents to look good in addition to
containing good information.

FWIW, my typical scientific article has over 100 references (which
change as the document is written), a lot of partial differential
equations and their solutions, graphs, chemistry, tables, images (like
photomicrographs), and so forth.  For that troff and TeX are the only
way to go unless you want to spend a considerable amount of money for
Word add-ins.  By itself Word is not that good, but an ecosystem has
developed around it to make it workable.  And it is the standard.

I'll stand by my basic recommendation.  For everyday use and Word
compatibility, buy TextMaker (and PlanMaker if you use spreadsheets).
For the heavy lifting use TeX (or LaTeX or LyX) or troff and its
pre-processors and macro packages.

 

and since all the more traditional (sorry I do not think of any
inline text language as being traditional)



Here you are misguided.  The text formatters *are* the traditional way
to process documents.  In fact, Unix existed only because its commercial
justification was the text processing system.  And that was built on
DEC's runoff (with its embedded codes), which the Unix fellows
abbreviated to roff, which became nroff for fixed-width character
devices, and troff for typesetters.

It took WordStar to change that paradigm (there are many other ones, of
course, but WS was the gorilla in the late 1970s and early 1980s).

Frank

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


  
Can you explain the difference between troff and groff.  I thought 
groff is the more useable troff, or do I have that backwards, or is 
that only a fbsd replacement?

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


And another thing, how do you choose whether to use TeX or troff?  
What's the diff?

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


Re: setting up a cvsup mirror

2007-10-09 Thread Lowell Gilbert
Aryeh Friedman [EMAIL PROTECTED] writes:

 I want to setup a local cvsup mirror on my local machine (someone told
 me if you do it right you don't need to hand apply uncommitted
 patches)

I suspect you're a bit confused.  The definition of uncommitted
patches is that they aren't *in* the cvs repository.  cvs can try 
to merge changes into your checked-out sources instead of overwriting 
them like cvsup does, but that's the closest I can think of to what
you seem to be saying.

  what do I need to do this?

The cvsup-mirror port will take care of it all for you (asking you a
few questions along the way for configuration).

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


Re: Upgrade of PHP4

2007-10-09 Thread Jerry McAllister
On Tue, Oct 09, 2007 at 10:16:03AM +0700, Olivier Nicole wrote:

 Hi,
 
 I noticed that PHP4 port has been having some vulnerabilities for some
 time now.
 
 Will there be a correction relased any soon?

I think the PHP4 upgrade is to move to PHP5.

jerry

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


Re: NTFS-3G mount during boot

2007-10-09 Thread Novembre
  Well, I gave up using /etc/fstab to mount NTFS partitions at boot time a
  couple of months ago when I realized that it's not the correct way to do it
  (so I also wrote an rc.d script to do the job, but I'll talk about it
  later). However, I recently looked at fusefs-ntfs source files, and as you
  can see from
  http://www.freebsd.org/cgi/cvsweb.cgi/ports/sysutils/fusefs-ntfs/Makefile
  in revision 1.19, there are changes (installing a symlink) to allow using
  /etc/fstab to mount NTFS partitions at boot. So I thought that maybe now
  it's okay to use /etc/fstab. Anyway, if it's still not possible to use
  /etc/fstab, then what does that sentence mean in the revision 1.19 of
  fusefs-ntfs Makefile (again, see the URL above)?

 The only way I can see that working is if /usr/local/modules in
 kern.modules_path /before/ mount -a is executed by /etc/rc.d/mount. Which
 means there should be a line:
 kern.module_path=/boot/kernel;/boot/modules;/usr/local/modules

 in /etc/sysctl.conf on your machine.
 Also, mount_ntfs-3g should be able to load the module dynamically.


My /etc/sysctl.conf is basically empty; it's all the usual default
comments. Nothing is specified there.


  Another question is why, even after loading the kernel module (see the
  'dmesg -a' output below), it is not possible to mount the NTFS partition?
  --
  [EMAIL PROTECTED] ~]$ dmesg -a
  ...
  Starting fusefs.
  fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8
  ...
  Mounting late file systems:
  fuse: failed to exec mount program: No such file or directory
  --

 What does ls -l /sbin/mount_ntfs-3g say?


There is no /sbin/mount_ntfs-3g. But /usr/sbin/mount_ntfs-3g exists
and is a symlink to /usr/local/bin/ntfs-3g. I'm not sure whether it's
relevant to your question, but I had made /sbin/mount_ntfs-3g a
symlink to /usr/local/bin/ntfs-3g myself, and that also was not
working (but I had tired it with the previous version of ntfs-3g not
the one currently installed).


  This output from /var/log/messages is also interesting, showing that
  ntfs-3g has indeed been run and that it has mounted my Windows partition
  (but I don't see it mounted)!
  --
  [EMAIL PROTECTED] ~]$ cat /var/log/messages
  ...
  Oct  6 14:22:40 pasargadae kernel: Trying to mount root from
  ufs:/dev/ad0s2a Oct  6 14:22:45 pasargadae kernel: fuse4bsd: version
  0.3.9-pre1, FUSE ABI 7.8
  Oct  6 14:22:45 pasargadae ntfs-3g[811]: Version 1.913
  Oct  6 14:22:45 pasargadae ntfs-3g[811]: Mounted /dev/ad0s1 (Read-Write,
  label , NTFS 3.0)
  Oct  6 14:22:45 pasargadae ntfs-3g[811]: Cmdline options: (null)
  Oct  6 14:22:45 pasargadae ntfs-3g[811]: Mount options:
  noatime,silent,allow_other ,fsname=/dev/ad0s1
  ...
  --

  And I didn't know about the /boot/modules way. Could you please ellaborate
  more? Is it a different way to load kernel modules than using
  /boot/loader.conf? When should one use that?
 
  And now, about coming back to using an rc.d script...After failing to use
  /etc/fstab, I wrote this script to mount the partition at boot time.
  However, this also does not work!
  --
  #!/bin/sh
  #
  # PROVIDE: ntfsmount
  # REQUIRE: fusefs
  #
 
  . /etc/rc.subr
 
  name=ntfsmount
  rcvar=${name}_enable
  command=/usr/sbin/mount_ntfs-3g
  command_args=/dev/ad0s1 /mnt/windows -o locale=en_US.UTF-8

 Does /mnt/windows exist?
 Anything interesting with `sh -x /usr/local/etc/rc.d/ntfsmount' ?


Yes, /mnt/windows exists. Nothing interesting as far as I could
understand the output of 'sh -x /usr/local/etc/rc.d/ntfsmount'. What
specifically do I have to look for?


 If I find some more time, I'll play around with it.
 --
 Mel


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


ACL mask problems

2007-10-09 Thread Josh Endries

Hello,

I'm getting quite annoyed at ACLs. I don't understand why this is 
happening: I have a directory that gets subdirectories created by a web 
script, but for some reason those directories have different 
permissions. Here is the parent's default ACL, which as I understand it 
should be what subdirectories are created with:


# getfacl -d private/logs/mail/2007
#file:private/logs/mail/2007
#owner:1005
#group:1005
user::rwx
user:www:rwx
user:rsync:rwx
group::rwx
mask::rwx
other::---

This is the ACL of a directory created by the script:

# getfacl private/logs/mail/2007/10
#file:private/logs/mail/2007/10
#owner:1005
#group:1005
user::rwx
user:www:rwx# effective: r-x
user:rsync:rwx  # effective: r-x
group::rwx  # effective: r-x
mask::r-x
other::---

This unfortunately prevents Apache from writing it's log files. Why did 
the mask change? I know there's some link between the mask and group 
permissions, or something weird like that, but I thought group being rwx 
and mask rwx would cause the new mask to also be rwx...maybe other is 
causing the issue? That seems pretty dumb to me. I've read various pages 
on ACLs, including the handbook, and I haven't been able to understand 
this. :(


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


Re: sudo doesn't log anything

2007-10-09 Thread Nicolas Letellier

Hello,

Thanks for your response.
No, there is nothing about sudo in /var/log/messages (in anyone else 
file in /var/log).

But i modified my /etc/syslog.conf. The problem could is this file ?
I pastebin my file : http://pastebin.com/m35ceae32

What's the problem to log sudo informations ?

Thanks !

Nicolas


Pieter de Goeje a écrit :

On Tuesday 09 October 2007, Nicolas Letellier wrote:
  

Hello,

In my FreeBSD 6.2, I use sudo for a user.
However, I want know who has used sudo in my machine. But, sudo doesn't
log anything. I have nothing about sudo in /var/log...

Syslog log auth.* in /var/log/auth, but nothing about sudo...



It logs it's messages in /var/log/messages.
  

What's the problem ? Any ideas ?

Thanks !


No Problemo :)
  

Nicolas



Pieter de Goeje
  



--
Nicolas Letellier, administrateur systèmes

Site personnel : http://nicoelro.net
Curriculum-vitae : http://nletellier.info


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


Problem compiling kdegraphics (exr problem?)

2007-10-09 Thread Will Wainwright
Hi all,

I'm having some trouble getting kdegraphics to update.

I use portmanager to keep my ports updated. Usually this works well, but the
past couple of days portmanager did have problems with the latest OpenEXR
update.

As to my problem with kdegraphics, here is what I know.

It compiles until this point:

gmake[3]: Entering directory
`/usr/ports/graphics/kdegraphics3/work/kdegraphics-3.5.7/kfile-plugins/exr'
/usr/local/bin/moc ./kfile_exr.h -o kfile_exr.moc
if /bin/sh /usr/local/bin/libtool --silent --tag=CXX --mode=compile c++
-DHAVE_CONFIG_H -I. -I. -I../.. -Drestrict= -I/usr/local/include
-I/usr/local/include -I/usr/local/include/OpenEXR -D_THREAD_SAFE
-pthread -DQT_THREAD_SUPPORT   -I/usr/local/include -I/usr/local/include
-I/usr/local/include -D_GETOPT_H -D_THREAD_SAFE   -Wno-long-long -Wundef
-Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -fno-strict-aliasing
-pipe -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION -fexceptions -MT kfile_exr.lo -MD -MP -MF
.deps/kfile_exr.Tpo -c -o kfile_exr.lo kfile_exr.cpp; \
then mv -f .deps/kfile_exr.Tpo .deps/kfile_exr.Plo; else rm -f
.deps/kfile_exr.Tpo; exit 1; fi
kfile_exr.cpp: In member function `virtual bool
KExrPlugin::readInfo(KFileMetaInfo, uint)':
kfile_exr.cpp:229: error: `hasutcOffset' was not declared in this scope
kfile_exr.cpp:229: warning: unused variable 'hasutcOffset'
kfile_exr.cpp: At global scope:
kfile_exr.cpp:165: warning: unused parameter 'what'
gmake[3]: *** [kfile_exr.lo] Error 1
gmake[3]: Leaving directory
`/usr/ports/graphics/kdegraphics3/work/kdegraphics-3.5.7/kfile-plugins/exr'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/usr/ports/graphics/kdegraphics3/work/kdegraphics-3.5.7/kfile-plugins'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/graphics/kdegraphics3/work/kdegraphics-3.5.7'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/graphics/kdegraphics3.
*** Error code 1

At which point the build fails.

I'm not sure if this is a problem with KDE or if there is still something
wrong with  my install of OpenEXR.

Any advice as to how to proceed?

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


Re: Problem compiling kdegraphics (exr problem?)

2007-10-09 Thread John Nielsen

Quoting Will Wainwright [EMAIL PROTECTED]:

I'm having some trouble getting kdegraphics to update.

I use portmanager to keep my ports updated. Usually this works well, but the
past couple of days portmanager did have problems with the latest OpenEXR
update.

As to my problem with kdegraphics, here is what I know.

It compiles until this point:

gmake[3]: Entering directory
`/usr/ports/graphics/kdegraphics3/work/kdegraphics-3.5.7/kfile-plugins/exr'
/usr/local/bin/moc ./kfile_exr.h -o kfile_exr.moc
if /bin/sh /usr/local/bin/libtool --silent --tag=CXX --mode=compile c++
-DHAVE_CONFIG_H -I. -I. -I../.. -Drestrict= -I/usr/local/include
-I/usr/local/include -I/usr/local/include/OpenEXR -D_THREAD_SAFE
-pthread -DQT_THREAD_SUPPORT   -I/usr/local/include -I/usr/local/include
-I/usr/local/include -D_GETOPT_H -D_THREAD_SAFE   -Wno-long-long -Wundef
-Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -fno-strict-aliasing
-pipe -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION -fexceptions -MT kfile_exr.lo -MD -MP -MF
.deps/kfile_exr.Tpo -c -o kfile_exr.lo kfile_exr.cpp; \
   then mv -f .deps/kfile_exr.Tpo .deps/kfile_exr.Plo; else rm -f
.deps/kfile_exr.Tpo; exit 1; fi
kfile_exr.cpp: In member function `virtual bool
KExrPlugin::readInfo(KFileMetaInfo, uint)':
kfile_exr.cpp:229: error: `hasutcOffset' was not declared in this scope
kfile_exr.cpp:229: warning: unused variable 'hasutcOffset'
kfile_exr.cpp: At global scope:
kfile_exr.cpp:165: warning: unused parameter 'what'
gmake[3]: *** [kfile_exr.lo] Error 1
gmake[3]: Leaving directory
`/usr/ports/graphics/kdegraphics3/work/kdegraphics-3.5.7/kfile-plugins/exr'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/usr/ports/graphics/kdegraphics3/work/kdegraphics-3.5.7/kfile-plugins'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/graphics/kdegraphics3/work/kdegraphics-3.5.7'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/graphics/kdegraphics3.
*** Error code 1

At which point the build fails.

I'm not sure if this is a problem with KDE or if there is still something
wrong with  my install of OpenEXR.

Any advice as to how to proceed?


I ran in to this myself last night. I corrected it by taking the 
following steps. I use portupgrade so I won't give specific commands:


Make sure your ports tree is up-to-date.
Force-uninstall graphics/OpenEXR.
Force-reinstall graphics/ilmbase.
Re-install (manually if necessary) graphics/OpenEXR.
Fix up dependencies.
Continue with other upgrades.

JN

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


Re: Problem compiling kdegraphics (exr problem?)

2007-10-09 Thread John Nielsen

Quoting John Nielsen [EMAIL PROTECTED]:


Quoting Will Wainwright [EMAIL PROTECTED]:

I'm having some trouble getting kdegraphics to update.

I use portmanager to keep my ports updated. Usually this works well, but the
past couple of days portmanager did have problems with the latest OpenEXR
update.

As to my problem with kdegraphics, here is what I know.

It compiles until this point:

gmake[3]: Entering directory
`/usr/ports/graphics/kdegraphics3/work/kdegraphics-3.5.7/kfile-plugins/exr'
/usr/local/bin/moc ./kfile_exr.h -o kfile_exr.moc
if /bin/sh /usr/local/bin/libtool --silent --tag=CXX --mode=compile c++
-DHAVE_CONFIG_H -I. -I. -I../.. -Drestrict= -I/usr/local/include
-I/usr/local/include -I/usr/local/include/OpenEXR -D_THREAD_SAFE
-pthread -DQT_THREAD_SUPPORT   -I/usr/local/include -I/usr/local/include
-I/usr/local/include -D_GETOPT_H -D_THREAD_SAFE   -Wno-long-long -Wundef
-Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -fno-strict-aliasing
-pipe -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION -fexceptions -MT kfile_exr.lo -MD -MP -MF
.deps/kfile_exr.Tpo -c -o kfile_exr.lo kfile_exr.cpp; \
   then mv -f .deps/kfile_exr.Tpo .deps/kfile_exr.Plo; else rm -f
.deps/kfile_exr.Tpo; exit 1; fi
kfile_exr.cpp: In member function `virtual bool
KExrPlugin::readInfo(KFileMetaInfo, uint)':
kfile_exr.cpp:229: error: `hasutcOffset' was not declared in this scope
kfile_exr.cpp:229: warning: unused variable 'hasutcOffset'
kfile_exr.cpp: At global scope:
kfile_exr.cpp:165: warning: unused parameter 'what'
gmake[3]: *** [kfile_exr.lo] Error 1
gmake[3]: Leaving directory
`/usr/ports/graphics/kdegraphics3/work/kdegraphics-3.5.7/kfile-plugins/exr'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/usr/ports/graphics/kdegraphics3/work/kdegraphics-3.5.7/kfile-plugins'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/graphics/kdegraphics3/work/kdegraphics-3.5.7'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/graphics/kdegraphics3.
*** Error code 1

At which point the build fails.

I'm not sure if this is a problem with KDE or if there is still something
wrong with  my install of OpenEXR.

Any advice as to how to proceed?


I ran in to this myself last night. I corrected it by taking the 
following steps. I use portupgrade so I won't give specific commands:


Make sure your ports tree is up-to-date.
Force-uninstall graphics/OpenEXR.
Force-reinstall graphics/ilmbase.
Re-install (manually if necessary) graphics/OpenEXR.
Fix up dependencies.
Continue with other upgrades.


Or better yet, follow the (similar but not identical) directions in 
ports/UPDATING, which I didn't bother to check recently until now.


JN

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


freezing, hard locking, and debug.mpsafenet=0

2007-10-09 Thread Elvar

Hi there,

I'm sharing my experiences with this in the hopes that it saves someone 
else many many hours of troubleshooting and headaches. A client of mine 
has a Dell Poweredge tower server with FreeBSD 6-stable on it which was 
acting as their firewall. At some point in time about 6 months ago the 
box started locking up every day or couple of days. I imagine this was 
probably after a buildworld / installworld but I can't remember. It 
would hard lock with nothing logged or any sign of anything, and no 
response from the keyboard. In my experiences this usually resulted in 
bad memory but after swapping out the memory for new memory the issue 
still persisted. As time went on I eventually pulled the hard drives out 
of the server and put them into another server with completely different 
hardware (minus the transfered hard drives). After bringing the install 
up on the other server I still had the hard locks. I googled like mad 
and tried all sorts of things to narrow down the problem but kept coming 
up with nothing. Now, I admit I'm not an elite user so I'm sure lots of 
you could probably have figured it out quicker. Eventually I put new 
hard drives into the original firewall (the Dell Poweredge) and did a 
clean install of FreeBSD 6.2-RELEASE. Unfortunately after bringing the 
box online as the firewall again it continued locking up. I then updated 
to -STABLE and still experienced the issue. Finally, after even more 
countless hours of googling I found this thread 
http://www.freebsdforums.com/forums/showthread.php?t=38765page=1pp=1 
http://www.freebsdforums.com/forums/showthread.php?t=38765page=1pp=1  
which seemed to describe the same freezing I was having. One person 
mentioned setting debug.mpsafenet=0 in /boot/loader.conf and not having 
a problem since doing so. Well, I ended up doing the same thing and it's 
been about 25 days with not one freeze / lockup.


It's my understanding that the ability to even disable this has been 
taken out of 7.x, I only can hope that it's not an issue in 7.x like it 
is on some systems in 6.x. So anyway, I hope this helps someone out.



Kind regards,
Elvar

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


Re: freezing, hard locking, and debug.mpsafenet=0

2007-10-09 Thread Elvar
Sorry for sending this again. When I originally sent this it complained 
about my reverse dns address and kicked it back to me so after I got my 
reverse dns changed I sent it again but the original had gone through.



Regards,
Elvar



Elvar wrote:

Hi there,

I'm sharing my experiences with this in the hopes that it saves 
someone else many many hours of troubleshooting and headaches. A 
client of mine has a Dell Poweredge tower server with FreeBSD 6-stable 
on it which was acting as their firewall. At some point in time about 
6 months ago the box started locking up every day or couple of days. I 
imagine this was probably after a buildworld / installworld but I 
can't remember. It would hard lock with nothing logged or any sign of 
anything, and no response from the keyboard. In my experiences this 
usually resulted in bad memory but after swapping out the memory for 
new memory the issue still persisted. As time went on I eventually 
pulled the hard drives out of the server and put them into another 
server with completely different hardware (minus the transfered hard 
drives). After bringing the install up on the other server I still had 
the hard locks. I googled like mad and tried all sorts of things to 
narrow down the problem but kept coming up with nothing. Now, I admit 
I'm not an elite user so I'm sure lots of you could probably have 
figured it out quicker. Eventually I put new hard drives into the 
original firewall (the Dell Poweredge) and did a clean install of 
FreeBSD 6.2-RELEASE. Unfortunately after bringing the box online as 
the firewall again it continued locking up. I then updated to -STABLE 
and still experienced the issue. Finally, after even more countless 
hours of googling I found this thread 
http://www.freebsdforums.com/forums/showthread.php?t=38765page=1pp=1 
http://www.freebsdforums.com/forums/showthread.php?t=38765page=1pp=1  
which seemed to describe the same freezing I was having. One person 
mentioned setting debug.mpsafenet=0 in /boot/loader.conf and not 
having a problem since doing so. Well, I ended up doing the same thing 
and it's been about 25 days with not one freeze / lockup.


It's my understanding that the ability to even disable this has been 
taken out of 7.x, I only can hope that it's not an issue in 7.x like 
it is on some systems in 6.x. So anyway, I hope this helps someone out.



Kind regards,
Elvar

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


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


How to install Polish dictionary in OpenOffice

2007-10-09 Thread Zbigniew Komarnicki
Hello!

How I can install Polish dictionary in OpenOffice?

I go to the folder:
/usr/local/openoffice.org-2.3.0/share/dict/ooo

and then click on file
/usr/local/openoffice.org-2.3.0/share/dict/ooo/DicOOo.sxw

Then run the OpenOffice and the macro, then click Polish and than I click on 
the button: Uruchom DicOOo (in English: Start DicOOo)

but then is nothing, nothing run?

So how I can do that on FreeBSD? (This way on Windows works).

Thank you in advance.

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


Re: courier-authlib problems.

2007-10-09 Thread pete wright
On 10/8/07, Tankko [EMAIL PROTECTED] wrote:
 I upgraded one of my servers to courier-authlib-base-0.60.0 from .59
 and I am now getting the following errors in my mail log:

 Oct  8 18:21:47 myserver.net authdaemond: Shared object
 libauthvchkpw.so not found, required by authdaemond
 Oct  8 18:21:47 myserver.net authdaemond: Installing libauthpam
 Oct  8 18:21:47 myserver.net authdaemond: Installation complete: authpam
 Oct  8 18:21:47 myserver.net authdaemond: Installing libauthldap
 Oct  8 18:21:47 myserver.net authdaemond: Shared object
 libauthldap.so not found, required by authdaemond
 Oct  8 18:21:47 myserver.net authdaemond: Installing libauthmysql
 Oct  8 18:21:47 myserver.net authdaemond: Shared object
 libauthmysql.so not found, required by authdaemond
 Oct  8 18:21:47 myserver.net authdaemond: Installing libauthpgsql
 Oct  8 18:21:47 myserver.net authdaemond: Shared object
 libauthpgsql.so not found, required by authdaemond

 and

 Oct  8 18:11:33 myserver.net  imapd-ssl: couriertls: connect:
 error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number
 Oct  8 18:12:07 myserver.net  imapd-ssl: couriertls: connect:
 error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number

 Thunderbird (OSX) has doesn't seem to care, but the iphone is now
 unable to get email.  I am using SSL to get mail via imap.

 I have a 2nd server that has not been upgraded to .60 yet, and it
 works fine.  But...the upgraded server has:

 courier-authlib-base-0.60.0 =   up-to-date with port

 and the non-upgraded server has:

 courier-authlib-0.59.3 needs updating (port has 0.60.0)
 courier-authlib-base-0.59.3needs updating (port has 0.60.0)
 courier-authlib-vchkpw-0.59.3  needs updating (port has 0.60.0)

 I am assuming the upgraded server had these three ports as well before
 the upgrade, but I can not be 100% sure.  I always kept these 2 severs
 running the same versions of everything, so I assume they were.

 Anyone know how to fix this?


yea ran into a similar issue yesterday myself.  i had to make this
modification in /usr/local/etc/courier-imap/imapd-ssl:

TLS_PROTOCOL=SSL23

believe old default value was:
TLS_PROTOCOL=SSL3

HTH
-pete


-- 
~~o0OO0o~~
Pete Wright
www.nycbug.org
NYC's *BSD User Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Install xdriinfo

2007-10-09 Thread Martin Schweizer

Hello Pieter

Yes, that did the trick. Thank you.

Regards,




Pieter de Goeje schrieb:

On Tuesday 09 October 2007, Martin Schweizer wrote:

Hello

I needd ports/x11/xdriinfo. While make I get the following error messages:

===  Building for xdriinfo-1.0.2
make  all-am
cc -DHAVE_CONFIG_H -I. -D_THREAD_SAFE -I/usr/local/include -O2
-fno-strict-aliasing -pipe -MT xdriinfo.o -MD -MP -MF .deps/xdriinfo.Tpo -c
-o xdriinfo.o xdriinfo.c
xdriinfo.c:27:23: GL/glxext.h: No such file or directory
*** Error code 1

Stop in /usr/ports/x11/xdriinfo/work/xdriinfo-1.0.2.
*** Error code 1

Stop in /usr/ports/x11/xdriinfo/work/xdriinfo-1.0.2.
*** Error code 1

Stop in /usr/ports/x11/xdriinfo.

As I understand the make file correct glxext.h shoud be in /usr/local/GL
but it isn't there. Do I need an other port?


Yeah I noticed this one too. As a workaround you can install graphics/libGL 
first, then continue to make xdriinfo (and possibly the rest of Xorg)


Regards,
Pieter de Goeje


What do I wrong? Any hints are welcome.

Regards,


--
Martin Schweizer

PC-Service M. Schweizer GmbH; Bannholzstrasse 6; Postfach 132;
CH-8608 Bubikon; Tel. +41 55 243 30 00; Fax: +41 55 243 33 22;
http://www.pc-service.ch
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ffmpeg not installing

2007-10-09 Thread James
On Fri, 2007-10-05 at 06:02 +1000, andrew clarke wrote:

 On Thu, Oct 04, 2007 at 01:51:03PM -0600, James wrote:
 
/usr/local/include/log.h:112: error: syntax error before A_
   
   I'm curious which port installed log.h. I don't have it on my system and 
   it 
   wouldn't surprise me if a local log.h conflicts with this log.h.
   
   Could you show output of:
   grep '^include/log.h' /var/db/pkg/*/+CONTENTS
  
  
  
  [EMAIL PROTECTED] ~]$ su
  Password:
  secretariat# grep '^include/log.h' /var/db/pkg/*/+CONTENTS
  secretariat# 
 
 I don't have a log.h:
 
 $ uname -a
 FreeBSD blizzard.dancer 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Wed Sep 19 
 21:56:10 EST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/DELLGX150  i386
 $ cat /usr/local/include/log.h
 cat: /usr/local/include/log.h: No such file or directory
 
 I would do:
 
 mv /usr/local/include/log.h /usr/local/include/log.h.backup
 
 And try rebuilding ffmpeg again.  While it rebuilds, try to find out
 where log.h came from. :)
 
 RegardsAndrew



log.h came from a botched hand install of the torque PBS batching
system.


I'm further on now, I had a few different other libraries that
interfered from the same install. Now I get here:

snip---

ts/multimedia/ffmpeg/work/ffmpeg-2007-09-14/libavutil -O2
-fno-strict-aliasing -pipe -O2 -I/usr/local/include/vorbis
-I/usr/local/include -pthread -fomit-frame-pointer
-Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization
-Wpointer-arith -Wredundant-decls  -c -o matroskaenc.o matroskaenc.c
matroskaenc.c: In function `mkv_write_header':
matroskaenc.c:620: error: `av_md5_size' undeclared (first use in this
function)
matroskaenc.c:620: error: (Each undeclared identifier is reported only
once
matroskaenc.c:620: error: for each function it appears in.)
matroskaenc.c:621: warning: implicit declaration of function
`av_md5_init'
matroskaenc.c: In function `mkv_write_packet':
matroskaenc.c:740: warning: implicit declaration of function
`av_md5_update'
matroskaenc.c: In function `mkv_write_trailer':
matroskaenc.c:789: warning: implicit declaration of function
`av_md5_final'
gmake[1]: *** [matroskaenc.o] Error 1
gmake[1]: Leaving directory
`/usr/ports/multimedia/ffmpeg/work/ffmpeg-2007-09-14/libavformat'
gmake: *** [lib] Error 2
*** Error code 2

Stop in /usr/ports/multimedia/ffmpeg.
secretariat# 


--/snip

I followed that with:

secretariat# /etc/periodic/weekly/310.locate 

Rebuilding locate database:
secretariat# locate matroskaenc.c
secretariat# 



Found nothing. Any further ideas?


Thanks for your help so far!


James

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


Hey

2007-10-09 Thread STMicroelectronics

STMicroelectronics Home
ST Home
Dear Friend,

This email is from the desk of Mr CARLO BOZOTTI, President and Chief
Executive Officer of STMicroelectronics, who has it worldwide
headquaters in GENEVA SWITZERLAND.

ST offers one of the world’s broadest product ranges, with over 3,000
main types of products. The carefully balanced portfolio includes both
application-specific products containing a large proprietary IP
content and multi-segment products that range from discrete devices to
high- performance microcontrollers.

We are looking for diligent, honest and God fearing person(s) that
will act our representative in their location and will earn 10% of the
total payment that will be made to him by our client, if the
performance is okay we will place you on a monthly salary along side
the 10%. if you are interested, please fill out the details below:

1 Your Full Name
2 Contact Address
3 Telephone Number. Endeavour to include your MOBILE number.
4 Present Occupation And Position Held
5 Country
6 Your Bank Name
7 Do You Have A Credit Card

Thank you so very much for having the patient and time to read this
email. We look forward to hearing from you.

Yours Sincerely,
Mr  G. Bertino
Computer Peripherals Group (CPG)
Email: [EMAIL PROTECTED]
http://www.st.com/stonline/
STMicroelectronics
Mime-Version: 1.0


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


compile error LyX 1.5.1

2007-10-09 Thread Marco Beishuizen

Hi,

Installing LyX 1.5.1 from ports gives the following error during 
compiling (on 6.2-Stable):

...
filetools.cpp:416: error: `fs::filesystem_error' has not been declared
filetools.cpp:416: error: invalid catch parameter
filetools.cpp:416: error: expected `)' before const
filetools.cpp:416: error: expected `{' before const
filetools.cpp:416: error: expected initializer before ')' token
gmake[5]: *** [filetools.lo] Error 1
gmake[5]: Leaving directory 
`/usr/ports/print/lyx15/work/lyx-1.5.1/src/support'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory 
`/usr/ports/print/lyx15/work/lyx-1.5.1/src/support'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory 
`/usr/ports/print/lyx15/work/lyx-1.5.1/src/support'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/print/lyx15/work/lyx-1.5.1/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/ports/print/lyx15/work/lyx-1.5.1/src'
gmake: *** [all-recursive] Error 1
*** Error code 2
...

Does anyone have a clue what the problem is here?

Thanks in advance,

Marco

-- 
The wages of sin are high but you get your money's worth.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sudo doesn't log anything

2007-10-09 Thread Pieter de Goeje
On Tuesday 09 October 2007, Nicolas Letellier wrote:
 Hello,

 Thanks for your response.
 No, there is nothing about sudo in /var/log/messages (in anyone else
 file in /var/log).
 But i modified my /etc/syslog.conf. The problem could is this file ?
 I pastebin my file : http://pastebin.com/m35ceae32

 What's the problem to log sudo informations ?
Sudo by default logs with facility 'local2' and priority 'notice'. Neither one 
is specified in your syslog.conf.

 Thanks !

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


Re: Upgrade of PHP4

2007-10-09 Thread Mel
On Tuesday 09 October 2007 05:41:59 Olivier Nicole wrote:
  Doubtful, given the fact that php4 will reach EOL December 31. You
  should plan on upgrading to php5.

 Thanks, now that lads to the second question, what will I break when
 updating? What should I be carefull about? I have several servers,
 managing quite many sites, with a lot of home made pages...

Start with jpgraph, gallery - they dropped supporting php5 in v1 and made a v2 
php5 capable. Gallery's db structure is quite different, if you made a few 
hacks here and there,you're in for a treat.
Possibly there's more of those, but that's the ones I ran into off the bat.

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


Re: Question about rc-scripts

2007-10-09 Thread Mel
On Tuesday 09 October 2007 03:07:22 Stephen Allen wrote:
 Hi Derek,

  Not all scripts create a pid file is the simple answer.

 I didn't see how the isc-dhcpd script or dovecot created a pid, so I
 assumed it was something that rc.subr took care of.

  Your script should create the pid file on start, remove it on stop, and
  simply cat that file on a status.  If you want help with your script,
  post it, and I'm sure one of us will give you a hand.

 Again, I thought the rc.subr functions took care of all that for you
 (unless you wanted something special from those commands).

Creation of pid files isn't supported in /etc/rc.subr. It's a burdon of the 
application to do this for you, however, if your application doesn't do this, 
you can possibly use daemon(8) for the start_cmd, to create one for you.

This is however - quite up to the application. Some applications daemonize 
themselves by forking a child and detach the parent, in which case the pid 
file created by the daemon(8) command is useless, because it records the 
detached parent, not the running child.

On the other hand, pid files are a convenience, not a requirement for rc 
scripts. If no pidfile variable is defined, it will simply `killall $name`.

 I've posted the script (changed quite a lot from vendor supplied) at:
 http://www.pastebin.ca/730238

I'd make the start_cmd as follows:
start_cmd=${name}_start

dbgw_start()
{
echo Starting ${name}
/usr/bin/nice -5 /usr/sbin/daemon -p ${pidfile} ${command} \
${dbgw_flags} ${command_args}
}


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


Re: /var/log/messages filling up with DHCPDISCOVER messages

2007-10-09 Thread Mel
On Monday 08 October 2007 16:24:22 Jeff Royle wrote:
 Stephen Allen wrote:
  /usr/local/etc/dhcpd.conf is configured with
 
   log-facility local7;
 
  and /etc/syslog.conf is also configured with
 
   local7.*  /var/log/dhcpd.log
 
  However, /var/log/messages is filling up with DHCPDISCOVER / no free
  leases messages for those clients that are unknown to the DHCP server
  (eg. on a different subnet).  I suspect that these messages are being
  caught by *.notice which is why they end up in /var/log/messages.
 
  Is there a way to prevent this happening?

 You could try filtering them out of syslog like so (in your syslogd.conf):

 local7.!=notice  /var/log/dhcpd.log

 Which should log everything for local7 except notice. See man
 syslog.conf(5)

Almost correct but he doesn't want /var/log/messages filling up, so add 
local7.none to the line that points to /var/log/messages, ie:
--- /etc/syslog.conf2007-09-20 09:22:55.0 -0800
+++ /etc/syslog.conf.dhcpd  2007-10-09 14:32:18.0 -0800
@@ -6,7 +6,7 @@
 #  may want to use only tabs as field separators here.
 #  Consult the syslog.conf(5) manpage.
 *.err;kern.warning;auth.notice;mail.crit   /dev/console
-*.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err  
/var/log/messages
+*.notice;local7.none;authpriv.none;kern.debug;lpr.info;mail.crit;news.err  
/var/log/messages
 security.* /var/log/security
 auth.info;authpriv.info/var/log/auth.log
 mail.info  /var/log/maillog


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


Re: /var/log/messages filling up with DHCPDISCOVER messages

2007-10-09 Thread sdafreebsduk
Thanks to both of you... I'd already sussed out and used what Mel 
suggested, but I've learnt for the future, from Jeff's suggestion.  It 
all makes sense going back through the man pages, when you get a couple 
of examples explained to you.


Many thanks,
Steve ;)
--

Mel wrote:

On Monday 08 October 2007 16:24:22 Jeff Royle wrote:

Stephen Allen wrote:

/usr/local/etc/dhcpd.conf is configured with

 log-facility local7;

and /etc/syslog.conf is also configured with

 local7.*  /var/log/dhcpd.log

However, /var/log/messages is filling up with DHCPDISCOVER / no free
leases messages for those clients that are unknown to the DHCP server
(eg. on a different subnet).  I suspect that these messages are being
caught by *.notice which is why they end up in /var/log/messages.

Is there a way to prevent this happening?

You could try filtering them out of syslog like so (in your syslogd.conf):

local7.!=notice  /var/log/dhcpd.log

Which should log everything for local7 except notice. See man
syslog.conf(5)


Almost correct but he doesn't want /var/log/messages filling up, so add 
local7.none to the line that points to /var/log/messages, ie:

--- /etc/syslog.conf2007-09-20 09:22:55.0 -0800
+++ /etc/syslog.conf.dhcpd  2007-10-09 14:32:18.0 -0800
@@ -6,7 +6,7 @@
 #  may want to use only tabs as field separators here.
 #  Consult the syslog.conf(5) manpage.
 *.err;kern.warning;auth.notice;mail.crit   /dev/console
-*.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err  
/var/log/messages
+*.notice;local7.none;authpriv.none;kern.debug;lpr.info;mail.crit;news.err  
/var/log/messages
 security.* /var/log/security
 auth.info;authpriv.info/var/log/auth.log
 mail.info  /var/log/maillog



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


Re: Jails and freebsd-update

2007-10-09 Thread Vinny

Boris Samorodov wrote:



Seems that you are looking for sysutils/ezjail.


WBR


Thank you for the reference.  That is a very nice port.
I will definitely make use of it when I need multiple
jails (3).  I only need 2 at the moment.

I did a little more digging and it seems that I can
install a jail using the base system's install script.
It's found on CD 1 (6.2-RELEASE-i386-disc1.iso):

(cd0 mounted on /dvdrw)
$ pwd
/dvdrw/6.2-RELEASE/base
$ ls -la
total 42496
dr-xr-xr-x   2 root  wheel 6144 Jan 12  2007 .
dr-xr-xr-x  13 root  wheel 2048 Jan 12  2007 ..
-r--r--r--   3 root  wheel 1624 Jan 12  2007 CHECKSUM.MD5
-r--r--r--   3 root  wheel 2779 Jan 12  2007 CHECKSUM.SHA256
-r--r--r--   3 root  wheel  1425408 Jan 12  2007 base.aa
-r--r--r--   3 root  wheel  1425408 Jan 12  2007 base.ab
-r--r--r--   3 root  wheel  1425408 Jan 12  2007 base.ac
-r--r--r--   3 root  wheel  1425408 Jan 12  2007 base.ad
[snip]
-r--r--r--   3 root  wheel   962020 Jan 12  2007 base.bd
-r--r--r--   3 root  wheel  898 Jan 12  2007 base.inf
-r--r--r--   3 root  wheel  1204896 Jan 12  2007 base.mtree
-r-xr-xr-x   3 root  wheel  427 Apr 30  2002 install.sh

I can use the install.sh script in place of the make
installworld/distribution commands for the jail.  This makes
it possible to update the jail using freebsd-update.

I wonder if the ezjail port can be tweaked to add an
option for installing via the 'base' as above, rather than
its current methods.

In any event, I set DESTDIR to /tmp/base, ran the install.sh
script and a full base system was placed in /tmp/base.  A few
jail details (IP, devfs) later and I was able to run freebsd-update
from within the jail and it updated the world to -p8.  Note I had to
edit the freebsd-updates.conf file (within the jail) and set the
Components variable to world only.

Caveats:

The jail is a full system.  This might not be desirable.  Normally,
one can control what gets placed in the base jail system using
the various NO_* knobs in a make.conf file (i.e. you can choose
to keep things like the toolchain, sendmail, and bind from
being placed in the jail).  A certain amount of work could be
done to remove those subsystems individually after the fact, I
suppose.  I wonder where I can get a list of files for each NO_*
knob?

Vinny

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


Re: Question about rc-scripts

2007-10-09 Thread sdafreebsduk

Hi Philip,

Most binaries i.e. httpd, memcached, mysqld, etc... provide a config 
file or cli option to provide the path to a pid file.


Like you say - I can't find anything in rc.subr that would create a pid. 
 So, I looked in /etc/rc.d/ntpd (for example), and I still can't find 
in there where it might create a pid.


Your particular problem is that run_rc_command actually exits so that 
the script exits with the correct return code generally that of what 
the application in question returns from trying to start or stop.


Inless you have a reason, If you're running a daemon, you shouldn't need 
to background the command.


It /is/ a daemon


Also, rather then an echo try adding -x to the shebang line.


Yeah, I did that whilst I was re-arranging it.  I think my problem is, I 
don't understand properly what creates the pids for the standard scripts 
(like nptd), so I can't look at it to see how it's done.


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


Problem making slides in 6.2 installation

2007-10-09 Thread Sdävtaker
Hello.
I got a Pc with 80GBs HD in an AMD K62.
I installed a windows in the first 2 partitions, both primaries.
First 1 got system 10GB in a NTFS FS.
Second 1 got Share in a FAT32 FS (Its for pass files from FBSD to Win32...)
After that I started the machine with the FREEBSD 6.2 release CD.
I choosed the standard install - All - and when FDISK openned i
added another Slide.
Then until now
/dev/ad2s1 : NTFS 10GB
/dev/ad2s2 : FAT32 20GB
/dev/ad2s3* : UFS 48GB
After that labeled Auto the ad2s3 and changed /home for his own 20GB partition.
After that i said install the bootmanager.
and after that the installation crashed saying ad2s3b is not in /dev.
I rebooted and i can use the bootmanager now, i run windows ok. i see
the 3 partitions from windows, but after reboot in freebsd
installation i see ad2 empty, freebsd FDISK doesnt see the 3
partitions, but windows does...
what can i do?
did it happened to someone else?
Thanks for any help you can give me.
Sdav

-- 
Sdävtaker prays to Rikku goddess for a good treasure.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Question about rc-scripts

2007-10-09 Thread Chuck Swiger

On Oct 9, 2007, at 5:16 PM, [EMAIL PROTECTED] wrote:
Most binaries i.e. httpd, memcached, mysqld, etc... provide a  
config file or cli option to provide the path to a pid file.


Like you say - I can't find anything in rc.subr that would create a  
pid.  So, I looked in /etc/rc.d/ntpd (for example), and I still  
can't find in there where it might create a pid.


In the case of ntpd, the default arguments look like this:

  /usr/sbin/ntpd -p /var/run/ntpd.pid ...

...so the ntpd process creates the pidfile.

--
-Chuck

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


Re: wyswyg editors for tex (was re: replacement for openoffice)

2007-10-09 Thread Frank Jahnke
 Can you explain the difference between troff and groff.  I thought
 groff is the more useable troff, or do I have that backwards, or is
 that only a fbsd replacement?

troff is the old Unix utility that drove a C/A/T typesetter.  That was a
real liability -- not everyone has a typesetter -- so it later was
extended as ditroff (or titroff -- really!): device (or typesetter)
independent troff.  There were also a few commercial packages that
extended basic troff to cover more devices.

groff was an independent recoding of the entire troff family by James
Clark; the first release was in 1990.  It has useful extensions to troff
(like picture inclusion and ease of mounting more fonts), but it is
code-compatible with troff.

These days troff is dead, and everyone uses groff.  I refer to it as
troff primarily for historical reasons -- the comparison with TeX
originated with troff in the old days -- though it is not quite accurate
given how it is used currently.

If you have never seen phototype from a C/A/T device, you are missing
something,  While not as good as the commercial typesetters that drove
Mergenthalers, the quality is stunning.  What we have now on laser
printers is a very poor cousin of the original.

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


Re: wyswyg editors for tex (was re: replacement for openoffice)

2007-10-09 Thread Frank Jahnke
 And another thing, how do you choose whether to use TeX or troff?  
 What's the diff?

They are different programs that do the same thing.  A good comparison
might be comparing different compilers, like C and Fortran.  Not that
one is more like C than the other, just that they have a different
language to accomplish similar goals.

If you know neither and want to learn one well, choose TeX.  That is
what is used more commonly.  There's nothing wrong with troff, and the
support is still quite good, but all the major journals, for example,
accept TeX code but not troff.  It is still a good idea to know enough
troff to do man pages, though.

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


Re: wyswyg editors for tex (was re: replacement for openoffice)

2007-10-09 Thread Aryeh Friedman
 If you know neither and want to learn one well, choose TeX.  That is
 what is used more commonly.  There's nothing wrong with troff, and the
 support is still quite good, but all the major journals, for example,
 accept TeX code but not troff.  It is still a good idea to know enough
 troff to do man pages, though.

I think the only place *roff is still is used is for man pages.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


why GUI screen not showing, after installing kde-3.5.4.tbz

2007-10-09 Thread williamkow
I'm new to FreeBSD, recently I have installed the FreeBSD6.2-Release 
onto my old Pentium II machine with 192MB memory.
After successfully installed FreeBSD, I mount to /cdrom contain Disk2 of 
FreeBSD, then goto x11 and run command

# pkg_add kde-3.5.4.tbz
and the system start to install, and when finished, system show # sign, 
and then

# shutdown -h now
then restart the computer, as usual, it will ask for login, I login as 
root, but then the screen do not show KDE graphic screen (GUI)

How can I activate this GUI ?

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


Re: wyswyg editors for tex (was re: replacement for openoffice)

2007-10-09 Thread Frank Jahnke

On Wed, 2007-10-10 at 01:33 +, Aryeh Friedman wrote:
  If you know neither and want to learn one well, choose TeX.  
 
 I think the only place *roff is still is used is for man pages.

Well, that's an overstatement.  I still use it, and there is quite an
active community on the groff support lists.  It is not as large a
community as TeX, but it is used for much more than just man pages.  For
example, the publisher O'Reilly has used it for a long time to set its
books.  Many of these are about Unix, Linux, OS X and various
open-source programs.

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


Toshiba Satellite A100 Notebook Xorg installation problem

2007-10-09 Thread David J
I am having trouble getting X11 to start correctly.  I have tried useing the 
ModeLine 1152x768 73.50 1152 1312 1352 1464 768 804 808 837 in the Monitor 
section for Xorg.conf.new which I found in /var/log/Xorg.0.log which section 
5.4.3.2 of the FreeBSD handbook for X11 installation says to do.
I believe there is something more I am not catching onto.  It is a 
widescreen flatpanel that comes standard with this series of laptops.
I'm sure this is not the first time you have heard of this problem any ideas 
would help.

thanks for your time.

_
Express yourself with free Messenger emoticons. Check out 
freemessengeremoticons.ca


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


Re: why GUI screen not showing, after installing kde-3.5.4.tbz

2007-10-09 Thread williamkow

   Thanks Cyrus,
   I thought both x.org and kde are desktop environment, we just need to
   choose one, so I ignore the x.org.
   kindly refer to the below link, but I still confuse between x.org and
   KDE relationship,
   [1]http://www.bsdguides.org/guides/freebsd/beginners/xorg_kde.php
   is it true that, in order to make KDE work, I must install x.org ???
   please advise. thanks.
   -
   Cyrus wrote:

 you will need to configure [2]x.org
 #xorgconfig
 i dont know it from heart, but im sure someone here, or on google
 you will find a tut on how to start KDM at boot.

References

   1. http://www.bsdguides.org/guides/freebsd/beginners/xorg_kde.php
   2. http://x.org/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Broadcasting to Jail in 6.2

2007-10-09 Thread Sergey Sysoev
Hi,

I've  just  installed isc-dhcp3-server 3.0.5 from FreeBSD 6.2 ports in
jail  using  Sockets  on  Alias  IP  address  and  it seems broadcasts
255.255.255.255  can't  reach  inside  jail. All unicast requests goes
fine, but no broadcasts on jail network interface.

In  case I move bpf inside jail using devfs, dhcpd is working fine -
fine with bpf only but not sockets.

After some search in google I see some posts with same jail/dhcpd
behaviour:

http://lists.freebsd.org/pipermail/freebsd-stable/2006-September/028521.html
http://www.nabble.com/isc-dhcpd-and-jails-bound-to-an-aliased-ip-t2293530.html
http://www.nabble.com/isc-dhcp3-server-in-a-jail--t3860378.html


Maybe  anyone  know,  is this Jail limitation/part-of-design or just a
bug?  To  my  mind it is not so good idea to put BPF inside, but it is
only way to go for now.

Thanks.

--
Sergey Sysoev





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


X (xorg 7.3) consumes all the CPU

2007-10-09 Thread Paul Schmehl
Is there a way to start a process so that memory and CPU usage can be 
tracked closely enough to determine what the cause of 100% CPU use would 
be?  I've got a box, recently installed 6.2 RELEASE with xorg 7.3 
installed, and when X is started, CPU goes to 100% and stays there.


Here's the bad machine
1510 pauls 1   00   277M  7076K rdnrel 0  13:41 100.05% Xorg

Here's my desktop
 868 root  1  960   202M   134M select 119:09  0.00% Xorg

As you can see, memory and CPU use is sky high on the bad box.  Rather 
than blow it away and reinstall, I'd like to try to figure out what's 
wrong and fix it.  What utilities could I use to do that?


Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Re: READ_BIG timed out errors on acd0

2007-10-09 Thread Scott I. Remick
Sorry for the delay... I had memory issues I had to resolve first. I'm 
now ready to revisit this issue.


Predrag Punosevac wrote:


I will also mention something which is probably stupid. But you know 
that in FreeBSD you must have a wire between DVD/CD rom and
audio card to be able to listen to CDs. Can you listen to the CDs? I 
have no clue if you could rip CD without that wire.


The CD-audio cable is not used or needed for ripping which is also 
known as DAE = digital audio extraction.


Garrett Cooper wrote:

Try cd0, not acd0, or create appropriate links via /etc/devfs.conf.

Sound Juicer doesn't allow you to pick between the two. It identifies 
the drive by name, not by its /dev entry, and it only gives me the one 
option.


Everyone else: here's my original post for reference. I'm trying to 
doing a fresh buildworld with the latest -STABLE but it doesn't seem 
stable and isn't building as the tree currently is, so I might have to 
wait on that. I'm hoping there's a multimedia guru who can help walk me 
through a series of sensible troubleshooting steps in order to get to 
the bottom of this, because multimedia isn't my forte and I'm sort of 
flying by the seat of my pants here.


Scott I. Remick wrote:
 Hello... I'm using 6.2-STABLE from Aug 8th. Trying to get a CD 
ripping program to work on this new box. Have used Grip in the past, 
also trying Sound Juicer but both are having issues... I think it's 
something to do with the drive. Here's what I get in /var/log/messages:


 Aug 29 00:30:52 desktop kernel: acd0: WARNING - TEST_UNIT_READY 
freeing taskqueue zombie request

 Aug 29 00:31:28 desktop kernel: acd0: FAILURE - READ_BIG timed out
 Aug 29 00:32:05 desktop kernel: acd0: FAILURE - READ_BIG timed out
 Aug 29 00:32:41 desktop kernel: acd0: FAILURE - READ_BIG timed out
 Aug 29 00:32:41 desktop kernel: (cd0:ata3:0:0:0): cddone: got error 
0x5 back


 And so on and so forth.

 The drive is a Samsung SH-S183L DVD+RW connected via SATA:

 acd0: DVDR TSSTcorpCD/DVDW SH-S183L/SB01 at ata3-master SATA150

 # atacontrol mode acd0 current mode = SATA150

 I think the freezes I get with Grip and Sound Juicer are related to 
these errors. Any suggestions?

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


Re: Confusion on SSH and PAM

2007-10-09 Thread Vinny

Rakhesh Sasidharan wrote:



[snip]


Here's another oddity I encountered today.

If PermitRootLogin is set to forced-commands-only, my understanding 
is the SSHD will permit root logins if a command to be executed is 
given. But that doesn't seem to be the case in practice! I have keys 
setup for root to login, but instead of letting me in with those keys, 
SSHD ignores them, passes me to PAM for password prompting (three times) 
and the denies me out! Very strange.


PermitRootLogin forced-commands-only

This requires that a command be present in the authorized_keys
file for a given key.  For example, root's authorized_keys
file might look like this for an rsync command:

command=/root/.ssh/cron/validate-rsync,from=10.10.10.2,no-port-forwarding,no-X11-forwarding,no-agent-forwarding
ssh-dss B3N_more_public_key_data comment

The entire text above should be only one line in the file.
The command shown in:

 command=/root/.ssh/cron/validate-rsync

I.e. /root/.ssh/cron/validate-rsync

must be the command submitted on the ssh command line, loosely:

$ ssh -i private_key_matching_public_key_in_authorized_keys [EMAIL PROTECTED] \
 /root/.ssh/cron/validate-rsync

The root user cannot otherwise login to the system using ssh
unless further keys with corresponding commands exist.

Vinny

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


Re: wyswyg editors for tex (was re: replacement for openoffice)

2007-10-09 Thread icantthinkofone

Frank Jahnke wrote:

On Wed, 2007-10-10 at 01:33 +, Aryeh Friedman wrote:
  
If you know neither and want to learn one well, choose TeX.  
  

I think the only place *roff is still is used is for man pages.



Well, that's an overstatement.  I still use it, and there is quite an
active community on the groff support lists.  It is not as large a
community as TeX, but it is used for much more than just man pages.  For
example, the publisher O'Reilly has used it for a long time to set its
books.  Many of these are about Unix, Linux, OS X and various
open-source programs.


  


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


Re: courier-authlib problems.

2007-10-09 Thread Vinny

Tankko wrote:

I upgraded one of my servers to courier-authlib-base-0.60.0 from .59
and I am now getting the following errors in my mail log:

Oct  8 18:21:47 myserver.net authdaemond: Shared object
libauthvchkpw.so not found, required by authdaemond
Oct  8 18:21:47 myserver.net authdaemond: Installing libauthpam
Oct  8 18:21:47 myserver.net authdaemond: Installation complete: authpam
Oct  8 18:21:47 myserver.net authdaemond: Installing libauthldap
Oct  8 18:21:47 myserver.net authdaemond: Shared object
libauthldap.so not found, required by authdaemond
Oct  8 18:21:47 myserver.net authdaemond: Installing libauthmysql
Oct  8 18:21:47 myserver.net authdaemond: Shared object
libauthmysql.so not found, required by authdaemond
Oct  8 18:21:47 myserver.net authdaemond: Installing libauthpgsql
Oct  8 18:21:47 myserver.net authdaemond: Shared object
libauthpgsql.so not found, required by authdaemond



I run courier-imap.

Each of the courier-authlib-* ports needs to be updated as
well.  I use courier-authlib and in /var/db/pkg I see:

zc{109}/var/db/pkg# ls -dla cour*
drwxr-xr-x  2 root  512 Apr 23 23:55 courier-authlib-base-0.58_1/
drwxr-xr-x  2 root  512 Feb 22  2006 courier-authlib-ldap-0.58_1/
drwxr-xr-x  2 root  512 Feb 22  2006 courier-authlib-mysql-0.58_1/
drwxr-xr-x  2 root  512 Feb 22  2006 courier-authlib-pgsql-0.58_1/
drwxr-xr-x  2 root  512 Feb 22  2006 courier-authlib-userdb-0.58_1/

I'm fairly certain they all need to be upgraded together and
share the same version.



and

Oct  8 18:11:33 myserver.net  imapd-ssl: couriertls: connect:
error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number
Oct  8 18:12:07 myserver.net  imapd-ssl: couriertls: connect:
error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number



Not sure about the SSL error but it may be related to mismatched
courier* components.


Vinny



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


Sorry for duplicates (Was: software to cut mp3 files?)

2007-10-09 Thread r
Sorry for duplicates.
Shame, this was caused by my miss configuration of an SMTP service.

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


getting better then 1024x768 on xorg 7.3 w/ nv

2007-10-09 Thread Aryeh Friedman
Is there anyway using the NV (not kernel mod) to get better then 1024x768?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


how to setup internet access via GPRS/EDGE network using Nokia 6230 mobile phone

2007-10-09 Thread williamkow
Could anybody advise me on how to enable internet access (GPRS/EDGE) in 
GSM network, using Nokia mobile phone (USB cable connect to computer).

Please provide me the exact PORT name to install to FreeBSD 6.2 system,
also please assist me on how to use the ports, example, (1) execute it 
(2) establish the connection, (3) disconnect ...etc.



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