Re: software to cut mp3 files?

2007-10-08 Thread D Hill

On Mon, 8 Oct 2007 at 22:49 +0200, [EMAIL PROTECTED] confabulated:


Hello,

Sorry for an unusual request - does anyone know of software that is
able to split an mp3 file into multiple chunks at specified locations
(doesn't have to have gui, actually best if it didn't), one that works
under FreeBSD?

I have files with a few songs in them and I would like to cut them
into separate files. Never been there nor done that. All advice
greatly appreciated.


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.

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


Re: BSD Live?

2007-10-11 Thread D Hill

On Thu, 11 Oct 2007 at 17:12 -, [EMAIL PROTECTED] confabulated:


You can also set up a virtual machine and test it that way (on windows
you can get a trial copy of vmware to do this)


VMWare Server is free and has the same functionality. However, it is over 
a 200 meg download.


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


Re: kernel error when upgrading to 7.0

2008-03-10 Thread D Hill

On Tue, 11 Mar 2008 at 00:41 -0400, [EMAIL PROTECTED] confabulated:


Hello,
  Previously i've done make buildworld, make buildkernel, make 
installkernel, shutdown to single user mode, mergemaster -p, make 
installworld, mergemaster, boot multiuser. Has this procedure changed?

Thanks.
Dave.


According to:

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

under the heading "23.4.1 The Canonical Way to Updating Your System" you 
would be correct.


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


Re: kernel error when upgrading to 7.0

2008-03-10 Thread D Hill

On Tue, 11 Mar 2008 at 01:23 -0400, [EMAIL PROTECTED] confabulated:


Hi,
  Thanks for your reply. What's my issue with this kernel msg?
Thanks.
Dave.

- Original Message - From: "D Hill" <[EMAIL PROTECTED]>
To: "Dave" <[EMAIL PROTECTED]>
Cc: ; "Norman Maurer" <[EMAIL PROTECTED]>
Sent: Tuesday, March 11, 2008 12:58 AM
Subject: Re: kernel error when upgrading to 7.0



On Tue, 11 Mar 2008 at 00:41 -0400, [EMAIL PROTECTED] confabulated:


Hello,
  Previously i've done make buildworld, make buildkernel, make 
installkernel, shutdown to single user mode, mergemaster -p, make 
installworld, mergemaster, boot multiuser. Has this procedure changed?

Thanks.
Dave.


According to:

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

under the heading "23.4.1 The Canonical Way to Updating Your System" you 
would be correct.


Someone else will have to pipe in as I do not know the answer to your 
question. I was just reponding to your procedural response on updating the 
FBSD OS.


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


Re: Anyone have any luck installing openoffice?

2008-03-18 Thread D Hill

On Tue, 18 Mar 2008 at 21:45 +0100, [EMAIL PROTECTED] confabulated:



No I have tried to manually download the package for openoffice, which barfed 
since dependencies where not present.


pkg_add -r didn't work since there was no package where it should have been 
on the site to download.


I have tried to build from source as well and that fails since the source can 
not be found. (ports tree updated)


How do I install it? I need it pretty bad right now.

It was't this hard last time I tried.


Installed fine here under FreeBSD 7.0-RELEASE from the ports tree:

  /usr/ports/editors/openoffice.org-2

without any errors. Of course I had to manually download the required Java 
stuff.


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


Re: Anyone have any luck installing openoffice?

2008-03-18 Thread D Hill

On Tue, 18 Mar 2008 at 15:03 -0600, [EMAIL PROTECTED] confabulated:


On Tue, Mar 18, 2008 at 2:53 PM, D Hill <[EMAIL PROTECTED]> wrote:

On Tue, 18 Mar 2008 at 21:45 +0100, [EMAIL PROTECTED] confabulated:
>
> No I have tried to manually download the package for openoffice, which barfed
> since dependencies where not present.
>
> pkg_add -r didn't work since there was no package where it should have been
> on the site to download.
>
> I have tried to build from source as well and that fails since the source can
> not be found. (ports tree updated)
>
> How do I install it? I need it pretty bad right now.
>
> It was't this hard last time I tried.

 Installed fine here under FreeBSD 7.0-RELEASE from the ports tree:

   /usr/ports/editors/openoffice.org-2

 without any errors. Of course I had to manually download the required Java
 stuff.


I tried this shortly after 7.0 was released and the Java portion of
building OpenOffice-2 from ports wanted an old tzupdater that Sun no
longer provides. I have yet to update my ports tree so I don't know if
that has been corrected yet or not; if not, where does one get the
tzupdater 1.3.0_2007h (I think that's the version it asked for)?


The versions of files I was told to download are:

diablo-caffe-freebsd6-i386-1.5.0_07-b01.tar.bz2
jdk-1_5_0_14-fcs-bin-b03-jrl-05_oct_2007.jar
jdk-1_5_0_14-fcs-src-b03-jrl-05_oct_2007.jar
tzupdater-1.3.3-2007k.zip

I recently rebuilt my workstation and installed full KDE. The Java files 
were a requirement for one of the extras installed for KDE.


I then installed OpenOffice from the ports and it didn't once complain 
about anything.


This was all done with a current portsnap just before installing 
everything.


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


Re: Anyone have any luck installing openoffice?

2008-03-18 Thread D Hill

On Tue, 18 Mar 2008 at 22:47 +0100, [EMAIL PROTECTED] confabulated:


On Tue, 18 Mar 2008, Manolis Kiagias wrote:


Andreas Davour wrote:


No I have tried to manually download the package for openoffice, which 
barfed since dependencies where not present.


pkg_add -r didn't work since there was no package where it should have 
been on the site to download.


I have tried to build from source as well and that fails since the source 
can not be found. (ports tree updated)


How do I install it? I need it pretty bad right now.

It was't this hard last time I tried.


I installed mine from ports some time ago and didn't have any difficulties. 
It took ages to compile however  - obviously - so if you need it right now 
this might not be an option.


It's the last option, yes. Even my dual core machine racing ahead at 
gigahertz will take forever.


It only took my computer just over four hours to install with 2x3Ghz dual 
core and 8Gb RAM.


My computer at work is only a dual PIII with only 1Gb RAM and it took 
almost 36 hours.


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


Re: daylight savings time

2008-03-18 Thread D Hill

On Tue, 18 Mar 2008 at 19:31 -0700, [EMAIL PROTECTED] confabulated:


I'm running FreeBSD 5.5.  I'm in California and my hardware clock is set to
UTC I believe (how to check if it's important?).  Ever since the daylight
saving time shift here in California a couple of weeks ago my clock has been
late by one hour.  For example right now it is 7:28 PM and my computer says:

[EMAIL PROTECTED] date
Tue Mar 18 18:28:08 PST 2008

I have NTP running and I verified that it works by setting the clock to be
off by one hour and one minute (basically nudge the time by one minute) and
the clock synchronizes itself to be accurate to the minute and second but
off by one hour.

Does anyone know how to fix this?  Is there some sort of updated time zone
data that I need?  Thanks in advance.


Our server BIOS clocks are set to UTC. To ensure UTC time in FBSD, I've 
always removed the file /etc/localtime. FBSD will default to UTC if it can 
not find /etc/localtime (at least that's what I've witnessed since FBSD 
5.5).


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


Re: daylight savings time

2008-03-18 Thread D Hill

Never mind. I was assuming the server was running in UTC.

On Wed, 19 Mar 2008 at 03:53 -, [EMAIL PROTECTED] confabulated:


On Tue, 18 Mar 2008 at 19:31 -0700, [EMAIL PROTECTED] confabulated:


I'm running FreeBSD 5.5.  I'm in California and my hardware clock is set to
UTC I believe (how to check if it's important?).  Ever since the daylight
saving time shift here in California a couple of weeks ago my clock has 
been
late by one hour.  For example right now it is 7:28 PM and my computer 
says:


[EMAIL PROTECTED] date
Tue Mar 18 18:28:08 PST 2008

I have NTP running and I verified that it works by setting the clock to be
off by one hour and one minute (basically nudge the time by one minute) and
the clock synchronizes itself to be accurate to the minute and second but
off by one hour.

Does anyone know how to fix this?  Is there some sort of updated time zone
data that I need?  Thanks in advance.


Our server BIOS clocks are set to UTC. To ensure UTC time in FBSD, I've 
always removed the file /etc/localtime. FBSD will default to UTC if it can 
not find /etc/localtime (at least that's what I've witnessed since FBSD 5.5).


--
_|_
|_| |
___
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: help for a wounded disk drive...

2008-03-21 Thread D Hill

On Sat, 22 Mar 2008 at 08:47 +1100, [EMAIL PROTECTED] confabulated:


Hey William,

Was in a similar situation about a month ago.. I knew the drive was on its 
way out but once it went, i could not retrieve the data nor use it under 
freebsd even under a new system. My drive had physical issues.


I got the drive, stuck it in a 3.5inch usb enclosure and plugged it into a ms 
windows box.  Then I used a free proggy called ffsdrv which i found on 
sourceforge.


Snipit -->

It enables you to read BSD(FreeBSD, NetBSD, OpenBSD) FFS partitions on 
Windows 2000/XP/2003.

http://ffsdrv.sourceforge.net/

Managed to get all data off this way.


This is just what I was looking for to mount an FBSD drive on XP. Thanks! 
I was able to completely transfer all data from the drive just now.



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


Re: disable periodic scripts

2008-03-30 Thread D Hill

On Sun, 30 Mar 2008 at 22:26 +0100, [EMAIL PROTECTED] confabulated:


Warner Lambert wrote:

Hi

How can I disable those nightly/monthly/... periodic scripts? I don't need 
them, these days professional monitoring software such as nagios is used to 
monitor 200+ systems. I can't read 200 mails showing me hundreds of lines 
of output even if nothings happening. Am I just deleting all the 
/etc/periodic/* stuff or is there a switch like: 
turn_off_ancient_system_administration="YES" ?


Tnx.



If you really want to disable cron, put

cron_enable="NO"

in /etc/rc.conf


Or, the OP can just comment the periodic lines within:

  /etc/crontab

That way other cron jobs will still run.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cronjob - email messages sent

2008-04-04 Thread D Hill


I have several cronjob's set up on a server we have under the user root. I
need to specify specific email addresses results are sent to.

Using documentation from:

  man 5 crontab

I thought I could surround the jobs:

  ...
  MAILTO="root,someoneelse"
  @hourly /usr/local/bin/mysqladmin -u internalonly status
  30 8 * * * /usr/local/bin/mysql -u internalonly < /root/mysql.optimize
  */15 * * * * mysql -u internalonly < /root/delete_rad_usersonline
  0 */4 * * * mysql -u internalonly < /root/delete_rad_authlog_failed
  MAILTO="root"
  ...

It works for @hourly, but not for the other three.

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


Re: [freebsd-questions] cronjob - email messages sent

2008-04-07 Thread D Hill

On Mon, 7 Apr 2008 at 09:38 -0400, [EMAIL PROTECTED]:


D Hill <[EMAIL PROTECTED]> writes:


I have several cronjob's set up on a server we have under the user root. I
need to specify specific email addresses results are sent to.

Using documentation from:

  man 5 crontab

I thought I could surround the jobs:

  ...
  MAILTO="root,someoneelse"
  @hourly /usr/local/bin/mysqladmin -u internalonly status
  30 8 * * * /usr/local/bin/mysql -u internalonly < /root/mysql.optimize
  */15 * * * * mysql -u internalonly < /root/delete_rad_usersonline
  0 */4 * * * mysql -u internalonly < /root/delete_rad_authlog_failed
  MAILTO="root"
  ...

It works for @hourly, but not for the other three.


I don't have a chance to look into it now, but it should definitely
work the way you have done it.  [I usually invoke sendmail directly on
the crontab line if I want mail output, so I haven't any experience to
draw on here.]

You might want to check whether the order of the schedule lines matters.


It is working. Checking the man page for cron:

  %man cron
  ...
  The cron utility then wakes up every minute, examining all stored
  crontabs, checking each command to see if it should be run in the
  current minute.


From this, I gathered they were read from top to bottom.

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


Re: OT question about dns

2008-04-07 Thread D Hill

On Mon, 7 Apr 2008 at 18:05 -0500, [EMAIL PROTECTED] confabulated:

Does anyone know how to use dig or some other tool to query for TXT records 
in DNS?


I'm working on implementing spf on a small domain that I maintain, and it 
doesn't seem to be working (according to the validators I'm using.)  I'd like 
to be able to query the dns server myself, but I can't seem to find anything 
on how to extract or view TXT records for a domain.


I tried dig @server domain TXT and dig @server domain MX, but I don't get the 
TXT record.


%dig @what_ever_nameserver example.com txt

works for me. Let's see what AOL returns:

%dig @localhost aol.com txt
...
;; QUESTION SECTION:
;aol.com.   IN  TXT

;; ANSWER SECTION:
aol.com.300 IN  TXT "v=spf1 
ip4:152.163.225.0/24 ip4:205.188.139.0/24 ip4:205.188.144.0/24 
ip4:205.188.156.0/23 ip4:205.188.159.0/24 ip4:64.12.136.0/23 
ip4:64.12.138.0/24 ip4:64.12.143.99/32 ip4:64.12.143.100/32 
ip4:64.12.143.101/32 ptr:mx.aol.com ?all"
aol.com.300 IN  TXT "spf2.0/pra 
ip4:152.163.225.0/24 ip4:205.188.139.0/24 ip4:205.188.144.0/24 
ip4:205.188.156.0/23 ip4:205.188.159.0/24 ip4:64.12.136.0/23 
ip4:64.12.138.0/24 ip4:64.12.143.99/32 ip4:64.12.143.100/32 
ip4:64.12.143.101/32 ptr:mx.aol.com ?all"

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


Re: How to switch scheduler on 7.0?

2008-04-15 Thread D Hill

On Tue, 15 Apr 2008 at 21:59 +0200, [EMAIL PROTECTED] confabulated:


Hi!

I would like to switch scheduler on my FreeBSD 7.0 box but I don't know how to
do that. The scheduler by default has terrible performances under KDE/Gnome
and I would like to test the new one.


In light of your message, I was provoked to switched my workstation at 
work to using the sched_ule thread scheduler. I do not have remote access 
set up via a graphical interface, so I can not test anything yet as far as 
KDE is concerned. However, I have noticed a performance increase with an 
ssh session into my workstation. Whether this is psychological or not, I 
doubt as I have become sensitive over the years to network speed.


I am running on a dual Pentium III system:

  duane# grep CPU /var/run/dmesg.boot
  CPU: Intel Pentium III (999.67-MHz 686-class CPU)
  FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
  ...

Nothing else has been altered from default settings as far as any make 
files or anything else. This was a complete install from scratch.


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


Re: restrict ssh access

2008-04-25 Thread D Hill

On Fri, 25 Apr 2008 at 09:30 -0700, [EMAIL PROTECTED] confabulated:


On Apr 25, 2008, at 6:46 AM, Geert Geurts wrote:

I've got a server running a ssh server, I want to enable ssh for the use
of sftp by a group of users, and limit their ssh access to just allow
running passwd so they can change their default password. What whould be
the best/easiest way to acomplish this, or something similiar?


I wonder what would happen if you gave them a shell of "/usr/bin/passwd"...? 
:-)


That should work. I just tested. When an ssh connection is made, it 
executes passwd. As soon as the password is changed, the ssh connection 
was closed:


  %ssh -l asdf 192.168.1.50
  Password:
  ...
  Changing local password for asdf
  Old Password:
  New Password:
  Retype New Password:
  Connection to 192.168.1.50 closed.

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


Re: restrict ssh access

2008-04-25 Thread D Hill

On Fri, 25 Apr 2008 at 14:30 -0500, [EMAIL PROTECTED] confabulated:

--On Friday, April 25, 2008 16:41:07 + D Hill <[EMAIL PROTECTED]> 
wrote:



On Fri, 25 Apr 2008 at 09:30 -0700, [EMAIL PROTECTED] confabulated:


On Apr 25, 2008, at 6:46 AM, Geert Geurts wrote:

I've got a server running a ssh server, I want to enable ssh for the use
of sftp by a group of users, and limit their ssh access to just allow
running passwd so they can change their default password. What whould be
the best/easiest way to acomplish this, or something similiar?


I wonder what would happen if you gave them a shell of 
"/usr/bin/passwd"...?

:-)


That should work. I just tested. When an ssh connection is made, it 
executes

passwd. As soon as the password is changed, the ssh connection was closed:

   %ssh -l asdf 192.168.1.50
   Password:
   ...
   Changing local password for asdf
   Old Password:
   New Password:
   Retype New Password:
   Connection to 192.168.1.50 closed.


Should make for some fascinating experiences with sftp.  :-)


I believe the connecton would just close. Somehow I missed that sftp part :-(
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: DNS Problem

2008-05-01 Thread D Hill

On Fri, 2 May 2008 at 09:36 +0800, [EMAIL PROTECTED] confabulated:


before i post here i already check the /etc/resolve.conf and this is what's
inside of it

domain name myplace.com.ph
name server   101.1.21.1
name server192.168.1.62


According to the resolver(5) documentation, it should look like this:

  domain myplace.com.ph
  nameserver 101.1.21.1
  nameserver 192.168.1.62


could it be my firewall blocking it? but i didn't change any configuration
from it..

Thanks in advance for your help..:(




On Fri, May 2, 2008 at 12:23 AM, Christer Hermansson <
[EMAIL PROTECTED]> wrote:


Ruel Luchavez wrote:


when i resume it to its current configuration
"Obtain DBS server automatically" the problem is back, is this a
problem in
my DNS server?
I'm using the FreeBSD 6.2 version...

I already restarted the DNS Server "/etc/rc.d/named restart" but
nothing
happens the problem is still there..Is there any one here could help
me solve it?




I'm not sure but it seems that you are trying to use dhcp to receive the
address of DNS-server.

Check the file /etc/resolv.conf ,this file should look like this:

nameserver 10.1.2.3
nameserver 10.4.5.6
nameserver 10.7.8.9

--

Christer Hermansson







___
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: DNS Problem

2008-05-01 Thread D Hill

On Fri, 2 May 2008 at 15:35 +1200, [EMAIL PROTECTED] confabulated:


On Fri, May 02, 2008 at 09:36:51AM +0800, Ruel Luchavez wrote:

before i post here i already check the /etc/resolve.conf and this is what's
inside of it

domain name myplace.com.ph
name server   101.1.21.1
name server192.168.1.62



The problems with what you've just posted are:

   1. the file is /etc/resolv.conf, not /etc/resolve.conf


Ha! I didn't catch the misspelling of resolv.conf. :-(


   2. your contents are wrong, they should look like:
   domain myplace.com.ph
   nameserver 101.1.21.1
   nameserver 192.168.1.62

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


Converting AVI and MPEG Into Still Images

2008-05-13 Thread D Hill


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


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


Re: Converting AVI and MPEG Into Still Images

2008-05-13 Thread D Hill

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


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


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


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


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

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


Re: Converting AVI and MPEG Into Still Images

2008-05-13 Thread D Hill

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


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

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


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


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


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


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


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

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


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


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

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

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


Re: time drift

2008-05-15 Thread D Hill

On Thu, 15 May 2008 at 14:16 -0700, [EMAIL PROTECTED] confabulated:


David Kelly wrote:

Its PC commodity-grade. Not all that unusual even for stuff sold
claiming to be a "server". This is in no small part why ntpd exists.

nptd calculates a correction coefficient and (under FreeBSD) stores it
in /var/db/ntpd.drift for use on next start so as to more quickly
establish a lock.

So in short ntpd calibrates your clock in order to minimize the
corrections required. Is The Right Thing To Do.


We run a large number of FreeBSD servers under vmware. We've seen ntpd
silently die, because the drift becomes "insane." What do others do in
this situation? (We've resorted to croning ntpdate for VMs.)


I've also found running FreeBSD 6.2, 6.1 and 6.0 in VMWare, I've had to 
reduce kern.hz in /boot/loader.conf. I had to reduce it to 50. Otherwise 
the clock really lost time.

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


RE: New Kernel with Dell PE2950

2008-06-04 Thread D Hill

On Wed, 4 Jun 2008 at 18:44 +0100, [EMAIL PROTECTED] confabulated:


BTWbce/bge drivers has known issues that leads to 'watchdog timeout'
NIC reset.
I have same some 6-8 servers with your hardware configuration and we
have ordered them with Intel Gigabit cards especially to avoid above
issue.
Use bce/bge NICs for low traffic interfaces if possible.


How can I see what you are referring to with the bge interfaces? We have a 
PE6850 that has two bge interfaces. The server's roll is a spam filter 
server and processes close to 6.5 million messages per day.


However, I don't have the watchdog daemon running.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


vm.pmap.shpgperproc syslog messages

2008-06-04 Thread D Hill

I just noticed today I'm starting to get messages in ../messages stating:

  Approaching the limit on PV entries, consider increasing either the
  vm.pmap.shpgperproc or the vm.pmap.pv_entry_max sysctl.

I did some searching and don't really know what is going on. I did a 
search using sysctl for all pmap knobs and this is what they are 
currently:


  vm.pmap.pmap_collect_active: 0
  vm.pmap.pmap_collect_inactive: 0
  vm.pmap.pv_entry_spare: 51310
  vm.pmap.pv_entry_allocs: 67575721858
  vm.pmap.pv_entry_frees: 67574088800
  vm.pmap.pc_chunk_tryfail: 0
  vm.pmap.pc_chunk_frees: 416252902
  vm.pmap.pc_chunk_allocs: 416262928
  vm.pmap.pc_chunk_count: 10026
  vm.pmap.pv_entry_count: 1633059
  vm.pmap.shpgperproc: 500
  vm.pmap.pv_entry_max: 6125408

I did increased vm.pmap.shpgperproc to 500 from 200 and immediately saw 
vm.pmap.pv_entry_max increase as well.


This server is a Dell PowerEdge 6850 with four 3.0Gz dual core Zeon 
processors and 12Gb ram. The server's only purpose is a spam filter. It is 
running SpamAssassin, ClamAV, Postfix and MySQL. The server is pretty 
memory intensive. Active memory usually doesn't drop below 8Gb. 
SpamAssassin usually has roughly 24 children running all the time 
consuming ~120Mb per child. MySQL is currently taking ~5.5Gb.


Can someone shed light on what is going on or what needs to be tweaked?

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


Re: vm.pmap.shpgperproc syslog messages

2008-06-04 Thread D Hill

On Wed, 4 Jun 2008 at 23:15 -, [EMAIL PROTECTED] confabulated:


I just noticed today I'm starting to get messages in ../messages stating:


Sorry. It was actually in the dmesg report I saw the messages.


 Approaching the limit on PV entries, consider increasing either the
 vm.pmap.shpgperproc or the vm.pmap.pv_entry_max sysctl.

I did some searching and don't really know what is going on. I did a search 
using sysctl for all pmap knobs and this is what they are currently:


 vm.pmap.pmap_collect_active: 0
 vm.pmap.pmap_collect_inactive: 0
 vm.pmap.pv_entry_spare: 51310
 vm.pmap.pv_entry_allocs: 67575721858
 vm.pmap.pv_entry_frees: 67574088800
 vm.pmap.pc_chunk_tryfail: 0
 vm.pmap.pc_chunk_frees: 416252902
 vm.pmap.pc_chunk_allocs: 416262928
 vm.pmap.pc_chunk_count: 10026
 vm.pmap.pv_entry_count: 1633059
 vm.pmap.shpgperproc: 500
 vm.pmap.pv_entry_max: 6125408

I did increased vm.pmap.shpgperproc to 500 from 200 and immediately saw 
vm.pmap.pv_entry_max increase as well.


This server is a Dell PowerEdge 6850 with four 3.0Gz dual core Zeon 
processors and 12Gb ram. The server's only purpose is a spam filter. It is 
running SpamAssassin, ClamAV, Postfix and MySQL. The server is pretty memory 
intensive. Active memory usually doesn't drop below 8Gb. SpamAssassin usually 
has roughly 24 children running all the time consuming ~120Mb per child. 
MySQL is currently taking ~5.5Gb.


Can someone shed light on what is going on or what needs to be tweaked?

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


Re: vm.pmap.shpgperproc syslog messages

2008-06-05 Thread D Hill

On Wed, 4 Jun 2008 at 18:46 -0500, [EMAIL PROTECTED] confabulated:


 I just noticed today I'm starting to get messages in ../messages stating:

Approaching the limit on PV entries, consider increasing either the
vm.pmap.shpgperproc or the vm.pmap.pv_entry_max sysctl.

 I did some searching and don't really know what is going on. I did a
 search using sysctl for all pmap knobs and this is what they are
 currently:

vm.pmap.pmap_collect_active: 0
vm.pmap.pmap_collect_inactive: 0
vm.pmap.pv_entry_spare: 51310
vm.pmap.pv_entry_allocs: 67575721858
vm.pmap.pv_entry_frees: 67574088800
vm.pmap.pc_chunk_tryfail: 0
vm.pmap.pc_chunk_frees: 416252902
vm.pmap.pc_chunk_allocs: 416262928
vm.pmap.pc_chunk_count: 10026
vm.pmap.pv_entry_count: 1633059
vm.pmap.shpgperproc: 500
vm.pmap.pv_entry_max: 6125408

 I did increased vm.pmap.shpgperproc to 500 from 200 and immediately saw
 vm.pmap.pv_entry_max increase as well.

 This server is a Dell PowerEdge 6850 with four 3.0Gz dual core Zeon
 processors and 12Gb ram. The server's only purpose is a spam filter. It is
 running SpamAssassin, ClamAV, Postfix and MySQL. The server is pretty
 memory intensive. Active memory usually doesn't drop below 8Gb.
 SpamAssassin usually has roughly 24 children running all the time
 consuming ~120Mb per child. MySQL is currently taking ~5.5Gb.

 Can someone shed light on what is going on or what needs to be tweaked?


pv_entry are entries that are used to keep track of which processes are
sharing a physical page.

pv_entry are allocated in groups (chunks to fill a page) - 168 for the AMD64.

The more RAM and processes that you have, the more probably that the pages
are shared in multiple processes and more pv_entrys are needed.

It looks like you are well below the pv_entry_max with shpgperproc at 500.


I figured out what was going on when the messages hit the ../messages log. 
I have a cronjob that executes a MySQL script to optimize tables. It was 
during that time when the syslog messages were logged. Since increasing 
vm.pmap.shpgperproc yesterday, I haven't seen anything in the logs.


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


Re: VPN - Which way to go?

2008-03-05 Thread D Hill

On Wed, 5 Mar 2008 at 23:21 -, [EMAIL PROTECTED] confabulated:


Howdy people,

I need to setup a VPN connection to the university's network. Now, there's a
chapter in the handbook about "VPN over IPsec" and there seems to be this
thing called OpenVPN in the ports collection. Which is the better way to go?
All I need is to obtain an IP address within the university's IP range
(because otherwise I can't use their outgoing STMP), that's all. So as
simple a solution as possible would be preferred.

Suggestions are welcome.


We have a Cisco VPN set up where our servers are being colocated. I'm 
using vpnc:


  /usr/ports/security/vpnc

The configuration file has IPSec set up using its parameters:

  IPSec gateway
  IPSec ID
  IPSec obfuscated secret

Don't know if this helps or not.

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


Re: unsetting a Port's configuration

2008-03-08 Thread D Hill

On Sat, 8 Mar 2008 at 09:32 -0600, [EMAIL PROTECTED] confabulated:


Hello, all -

When building a port, specifically in this case qdvdauthor, I run into a
setup issue that makes me want to redo the configuration  of the port. Is
there a simple way to disable the use of the saved configuration and
restart the port from the CURSES menu?

I was able to blast it  by wiping the makefile and re-CVSupping, but that
does seem like the long way 'round.


You can do a 'make config' within the port directory and it should present 
the configure menu again. If you want to remove the configuration to start 
again, you can do a 'make rmconfig'.


'man ports' should show all the options you can make.

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


Re: Installing freeBSD

2008-06-09 Thread D Hill

On Mon, 9 Jun 2008 at 18:33 +0200, [EMAIL PROTECTED] confabulated:


Jerry McAllister ha scritto:

On Mon, Jun 09, 2008 at 08:24:13AM -0700, Huu Daud wrote:



Hello,
Greetings,
Iam new to this forum and to the Unix. My interest is to install and 
configure freeBSD on my desktop computer.I have downloaded the iso for 
i386.

and burn on the CD and DVD.My problem is when I boot from the CD or DVD ,
it didnt send me to the screen for selection options as it is shown on the 
web.  Instead, it sends me to the A drive prompt(DOS).Is it possible to 
install from the DOS?.How then.




I got the same problem,very likely you have burned the iso file on a window 
machine.


Likely you have burned the iso file on a windows machine? I use both Roxio 
and Nero and have NEVER had any issues. Both will automatically set up 
correctly to burn the contents of the ISO just by double-clicking on the 
ISO image.



I gave up.
If you have a floppy drive make the boot floppy as explained on the handbook 
,and then install

via ftp.
sincerely
Filippo


I am having a little trouble picturing what you got.  It doesn't sound like 
something I have seen when booting from a CD.


First, is there something in your floppy drive?   If so, take it out.

Second, your BIOS boot sequence should be:  Floppy, CD, hard disk
If it doesn't happen to have the CD in the BIOS sequence, then
put it there.

When you start to boot from the CD, then just let it continue. It might put 
up a boot menu, but you should be able to just wait

and take the default.

Past that, there should be no other prompt or menu after that
besides install selection stuff.

jerry




Thank you for your help
huu

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



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






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


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


saslauthd exited on signal 11

2008-06-11 Thread D Hill
I have two server installs of FreeBSD 7.0-RELEASE. One is running AMD64 
and the other is running i386.


The one running AMD64 is getting an error at SMTP time of:

  535 5.7.8 Error: authentication failed: generic failure

Once this happens, the saslauthd thread that took the connection causes 
this line to be written in ../messages:


  Jun 12 05:51:01 smtpgate kernel: pid 37374 (saslauthd), uid 0: exited on 
signal 11 (core dumped)


I've looked for the core dump but can't find it anywhere.

Both servers are running identical versions of:

  smtpgate# pkg_info |grep cyrus
  cyrus-sasl-2.1.22_1 RFC  SASL (Simple Authentication and Security Layer)
  cyrus-sasl-saslauthd-2.1.22 SASL authentication server for cyrus-sasl2

Does anyone know if there is an issue with cyrus sasl and/or cyrus 
saslauthd on AMD64? Or is there anything special needed to be done?


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