portupgrade problem

2009-04-10 Thread Canhua
hi,

I ran the following to upgrade on my 7.0-release FreBSD:
env
PACKAGEROOT=ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Late
st/ portupgrade -aPPR

and it would failed with this error:
fetch:
ftp://ftp.freebsd.orgpub/FreeBSD/ports/i386/packages-7-stable/All/pub/FreeBSD/po
rts/i386/packages-7.0-release/All/libX11-1.2.1,1.tbz: No address record

please notice the site address being changed to
ftp.freebsd.orgpub, not ftp.freebsd.org/pub,
the slash between org and pub disappear.

Best wishes

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


MediaWiki extensions in the ports?

2009-04-10 Thread Matthias Apitz

Hello,

The page:
http://meta.wikimedia.org/wiki/Importing_a_Wikipedia_database_dump_into_MediaWiki
mentions some PHP extensions which must be installed to use an imported Wiki
dump:

extensions/
extensions/README
extensions/Cite.php
extensions/ParserFunctions
extensions/ParserFunctions/Expr.php
extensions/ParserFunctions/ParserFunctions.php
extensions/Chr2Syl.php
extensions/Cite.i18n.php
extensions/Citation.php
extensions/HTTPRedirect.php
extensions/Purge.php
extensions/Tidy.php
extensions/tidy
extensions/tidy/tidy.conf
extensions/ImageMap/ImageMap_body.php
extensions/ImageMap/ImageMap.i18n.php
extensions/ImageMap/ImageMap.php

I have searched a lot but can't find a /usr/ports which would bring them
to my system... any idea?
(tidy is in the ports)

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e matthias.ap...@oclc.org - w http://www.oclc.org/ http://www.UnixArea.de/
People who hate Microsoft Windows use Linux but people who love UNIX use 
FreeBSD.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: portupgrade problem

2009-04-10 Thread Kent Stewart
On Thursday 09 April 2009 10:49:44 pm Canhua wrote:
 hi,

 I ran the following to upgrade on my 7.0-release FreBSD:
 env
 PACKAGEROOT=ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable
/Late st/ portupgrade -aPPR

The Handbook says this should be PACKAGESITE. When I set it in my .cshrc, I 
have setenv. I haven't set it on my 7-stable but on 6-stable, it looks like

setenv PACKAGESITE 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/

Kent

 and it would failed with this error:
 fetch:
 ftp://ftp.freebsd.orgpub/FreeBSD/ports/i386/packages-7-stable/All/pub/FreeB
SD/po rts/i386/packages-7.0-release/All/libX11-1.2.1,1.tbz: No address
 record

 please notice the site address being changed to
 ftp.freebsd.orgpub, not ftp.freebsd.org/pub,
 the slash between org and pub disappear.

 Best wishes

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



-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


Re: flex from ports kills buildworld?

2009-04-10 Thread Giorgos Keramidas
On Thu, 9 Apr 2009 12:53:09 -0700, Steve Franks bahamasfra...@gmail.com wrote:
 Probably doing something stupid, but on the off chance I'm not:

 - Had to install a newer flex from ports for something.
 - Had to move the system flex to avoid hacking reams of bad makefiles
 - Did a buildworld, and it can't find a flex
 - Seems to me, buildworld should be able to use a newer flex, and
 should be able to use the one from /usr/local instead of /sbin

 Thanks,
 Steve

 [st...@dynstant /usr/src]$ sudo make buildworld
 ...
 flex -ogengtype-lex.c
 /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/gengtype-lex.l
 flex:No such file or directory
 *** Error code 1

Do you have `/usr/bin/flex'?  That's what should be used by the
buildworld step.

It may also be a good idea to start with `sudo -i' and *then* run the
buildworld commands in the root shell, instead of `sudo command'.

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


Re: OT: Postfix rejects from Freebsd server

2009-04-10 Thread cpghost
On Fri, Apr 10, 2009 at 05:31:22AM +, Da Rock wrote:
 
 I know this may be OT, but I could use some help on this one. I've
 completed a major changeover in network provider, and I've now got a
 proper static ip including ptr records for my mail server (the only
 service that really counts on this anyway).
 
 If I resolveip for my ip address it shows up my mail server name, and
 YET I still get deferred rejection from the freebsd mx's.
 
 Can anyone shed some light on this?
 
 Pls cc as I'm not subscribed to the list via this account

If you're just getting 4xx error codes, but the mails are accepted
after a while, it's simply greylisting. That's normal behaviour of
the FreeBSD mail server(s).

-cpghost.

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


Re: memtest question on 8 GB RAM AMD64 system

2009-04-10 Thread Anton Yuzhaninov
On Thu, 9 Apr 2009 11:43:08 -0700 (PDT), Dino Vliet wrote:
DV I have just installed 4 x 2gb kingston memory banks (Kingston HyperX 4GB 
800mhz DDR2 Non-ECC CL5 (5-5-5-15) DIMM) onto my AMD 64 system with a X2 5200 
CPU. The motherboard I have in this system is MSI K9AG Neo2-Digital.
DV 
DV The system boots fine and I wanted to try memtest to see if there would be 
errors. So I installed that /usr/ports/sysutils/memtest port and did 

For memory test it is better to use this:
http://www.memtest86.com/
or this
http://www.memtest.org/
tool

-- 
 Anton Yuzhaninov

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


Question about support for HP D1560 printer under FreeBSD

2009-04-10 Thread Manish Jain


Hi,

I am about to buy a new printer (my first one actually) and my retailer 
strongly recommends HP's D1560 printer (USB). I am running 
ghostscript8-8.62_5 under FreeBSD 7.1 and I can't see this model listed 
anywhere in apsfilter. So I just want to confirm whether I could get 
this  printer to run on my system ?


--
Thank you and Regards
Manish Jain
invalid.poin...@gmail.com
+91-99830-62246

NB : Laast year I kudn't spell Software Engineer. Now I are won.

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


Re: OT: Postfix rejects from Freebsd server

2009-04-10 Thread Giorgos Keramidas
On Fri, 10 Apr 2009 05:31:22 +, Da Rock rock_on_the_...@hotmail.com wrote:
 I know this may be OT, but I could use some help on this one. I've
 completed a major changeover in network provider, and I've now got a
 proper static ip including ptr records for my mail server (the only
 service that really counts on this anyway).

 If I resolveip for my ip address it shows up my mail server name, and
 YET I still get deferred rejection from the freebsd mx's.

 Can anyone shed some light on this?

 Pls cc as I'm not subscribed to the list via this account

Can you show us the *exact* deferral message?

It may be greylisting from the FreeBSD.org mail servers.

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


RE: OT: Postfix rejects from Freebsd server

2009-04-10 Thread Da Rock



 From: keram...@ceid.upatras.gr
 To: rock_on_the_...@hotmail.com
 CC: freebsd-questions@freebsd.org
 Subject: Re: OT: Postfix rejects from Freebsd server
 Date: Fri, 10 Apr 2009 12:08:19 +0300
 
 On Fri, 10 Apr 2009 05:31:22 +, Da Rock rock_on_the_...@hotmail.com 
 wrote:
  I know this may be OT, but I could use some help on this one. I've
  completed a major changeover in network provider, and I've now got a
  proper static ip including ptr records for my mail server (the only
  service that really counts on this anyway).
 
  If I resolveip for my ip address it shows up my mail server name, and
  YET I still get deferred rejection from the freebsd mx's.
 
  Can anyone shed some light on this?
 
  Pls cc as I'm not subscribed to the list via this account
 
 Can you show us the *exact* deferral message?
 
 It may be greylisting from the FreeBSD.org mail servers.
 

That sounds likely. I'll check the exact pattern of the errors to see.

I'll post back with the error soon as I can access the server again.

Cheers

_
Need a new place to rent, share or buy? Let ninemsn property search for you.
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Edomain%2Ecom%2Eau%2F%3Fs%5Fcid%3DFDMedia%3ANineMSN%5FHotmail%5FTagline_t=774152450_r=Domain_tagline_m=EXT___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: portupgrade problem

2009-04-10 Thread Canhua
On Fri, Apr 10, 2009 at 2:37 PM, Kent Stewart kstew...@owt.com wrote:
 On Thursday 09 April 2009 10:49:44 pm Canhua wrote: env
 The Handbook says this should be PACKAGESITE. When I set it in my .cshrc, I
 have setenv. I haven't set it on my 7-stable but on 6-stable, it looks like

 setenv PACKAGESITE
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/

You're right. I meant env PACKAGESITE=
and the problem remained what I said.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Question about support for HP D1560 printer under FreeBSD

2009-04-10 Thread GESBBB

  From: Manish Jain invalid.poin...@gmail.com

 Hi,
 
 I am about to buy a new printer (my first one actually) and my retailer 
 strongly 
 recommends HP's D1560 printer (USB). I am running ghostscript8-8.62_5 under 
 FreeBSD 7.1 and I can't see this model listed anywhere in apsfilter. So I 
 just 
 want to confirm whether I could get this  printer to run on my system ?

According to the http://hplipopensource.com/hplip-web/index.html site, your 
printer is supported. Install the '/print/hplip' port. Be sure to read the 
documentation on configuring the program.

I have hplip and cups installed on my system to support two HP wireless 
printers, and it works fine.

-- 
Jerry

And God said, Let there be light. But then the program crashed because he was 
trying to access the 'light' property of a NULL universe pointer.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Change to Graphical Mode from DOS Mode

2009-04-10 Thread Fernando Apesteguía
2009/4/10 Rajeev Sharma rajb3...@gmail.com:
 Hello Sir,
     First of all i am very thankfull for your reply.

 I just followed the instruction given by BSD DVD.  i instaled all the
 options including X windows, gname etc.

 After login : --

 startx command is also not working


Hi,

First off, I'm sending this mail to freebsd-questions again so other
people can help you.

As other people suggested, the better option is reading the excelent
FreeBSD documentation that you can find at
http://www.freebsd.org/doc/en/books/handbook/

There you will find topics about installing, configuring and tuning
your FreeBSD system.

And of course, here we are to help you.

If you installed X Window and all the stuff, why is startx not
working? is the command found? does the X server try to start but if
fails?

Cheers


 Thanks

 Rajeev Sharma

 ===

 2009/4/8 Fernando Apesteguía fernando.apesteg...@gmail.com

 On 4/8/09, Rajeev Sharma rajb3...@gmail.com wrote:
  Sir,
       I have successfully downloaded FreeBSD 6.4 Release linux 
  installed

 FreeBSD is _not_ linux ;)

  on my PC.  But it starts in DOS Mode.

 aka Console mode.

 
  I want to shift to Graphical Mode.

 Once you log in, (use your login name and password), and assuming you
 installed some graphical environment, try to type:

 startx

 Cheers

 
 
  Kindly advice me what to do.
 
 
  Thanks
 
 
  Rajeev Sharma
  rajb3...@gmail.com
  rajb3...@rediffmail.com
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  freebsd-questions-unsubscr...@freebsd.org
 


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


Re: Question about support for HP D1560 printer under FreeBSD

2009-04-10 Thread Manish Jain

   Jerry wrote:

According to the [1]http://hplipopensource.com/hplip-web/index.html site, your
printer is supported. Install the '/print/hplip' port. Be sure to read the docu
mentation on configuring the program.

I have hplip and cups installed on my system to support two HP wireless printer
s, and it works fine.


   Hi Jerry,
   Thanks for your message. I checked up the list, which says that the
   D1560 is indeed supported, but it also says that the minimum version
   of hplip required for this is 2.8.5, while the latest port available
   is 2.8.2.
   Please check
   out [2]http://hplipopensource.com/hplip-web/models/deskjet/deskjet_d15
   00_series.html for this.
--
Thank you and Regards
Manish Jain
[3]invalid.poin...@gmail.com
+91-99830-62246

NB : Laast year I kudn't spell Software Engineer. Now I are won.

References

   Visible links
   1. http://hplipopensource.com/hplip-web/index.html
   2. cid:part1.08010003.09060804@gmail.com
   3. mailto:invalid.poin...@gmail.com

   Hidden links:
   4. 
http://hplipopensource.com/hplip-web/models/deskjet/deskjet_d1500_series.html
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN 
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;

html 
xmlns=http://www.w3.org/1999/xhtml; 
lang=en 
xml:lang=en 
dir=ltr
head
titleHP Linux Imaging and Printing/title
meta name=hp_design_version content=hpweb.1.2I/
meta name=template_name content=hpweb_generic_two_column/
meta http-equiv=Content-type content=text/html; charset=UTF-8/
meta name=target_country content=us/  
meta name=page_content content=products/
meta name=segment content=any/
meta name=lifecycle content=support/
meta name=Description content=The HPLIP Knowledge Base project is a 
Hierarchical Knowledge Base tool to help you find the answers to HPLIP 
questions./
meta name=product_service_solution_hierarchy 
content=support/HPLIP/
meta name=content_country_applicability content=W1/
meta name=user_type content=any/  
meta http-equiv=Content-Type content=text/html; charset=utf-8 /
!--[if IE]
script type=text/javascript src=../misc/jquery.js/script
script type=text/javascript src=../misc/drupal.js/script
script type=text/javascript 
src=../modules/nice_menus/nice_menus.js/script
![endif]--
!-- link rel=shortcut icon href=../misc/favicon.ico 
type=image/x-icon / --
link type=text/css rel=stylesheet media=all 
href=http://hplipopensource.com/modules/book/book.css?4; /
link type=text/css rel=stylesheet media=all 
href=http://hplipopensource.com/modules/cck/theme/content.css?4; /
link type=text/css rel=stylesheet media=all 
href=http://hplipopensource.com/modules/cck/modules/fieldgroup/fieldgroup.css?4;
 /
link type=text/css rel=stylesheet media=all 
href=http://hplipopensource.com/modules/fckeditor/fckeditor.css?4; /
link type=text/css rel=stylesheet media=all 
href=http://hplipopensource.com/modules/nice_menus/nice_menus.css?4; /
link type=text/css rel=stylesheet media=all 
href=http://hplipopensource.com/modules/nice_menus/nice_menus_default.css?4; /
link type=text/css rel=stylesheet media=all 
href=http://hplipopensource.com/modules/node/node.css?4; /
link type=text/css rel=stylesheet media=all 
href=http://hplipopensource.com/modules/system/defaults.css?4; /
link type=text/css rel=stylesheet media=all 
href=http://hplipopensource.com/modules/system/system.css?4; /
link type=text/css rel=stylesheet media=all 
href=http://hplipopensource.com/modules/system/system-menus.css?4; /
link type=text/css rel=stylesheet media=all 
href=http://hplipopensource.com/modules/user/user.css?4; /
link type=text/css rel=stylesheet media=all 
href=http://hplipopensource.com/themes/bluemarine/stylesheets/hplipstyle.css?4;
 /

script type=text/javascript 

/script

style

#distros_table {
position: relative;
left: 50px;
}

#models_table {
position: relative;
left: 50px;
}

#models_table table {
text-align: center;
}

#distros_table table {
text-align: center;
}

#download_button {
display: relative;
left: 50px;
}


#hplip_logo2 {
position: relative;
right: -50px;
top: -85px;
}

/*div.body2 {
position: absolute;
left: 200px;
top: -500px;
}
*/


pre {
background-color: #eee;
padding: 0.75em 1.5em;
border: 1px solid #ddd;
width: 50%;
overflow: auto;
}

hr {
width: 100%;
margin-left: -10px;
}

p {
font-size: 13px;
font-family: Arial, Verdana, Helvetica, Sans-serif;
}

li {
font-size: 13px;
font-family: Arial, Verdana, Helvetica, Sans-serif;
}

td {
font-size: 13px;
font-family: Arial, Verdana, 

Re: new package system proposal

2009-04-10 Thread Chris Whitehouse

Bob Johnson wrote:



- reduced energy use for everyone.


I think the difference in energy use would be so small as to be
pointless. If I have a system that consumes 75 kilowatt hours per
month, and I spend an extra 0.05 kilowatt hour per month updating
ports, is the difference (less than 1/10 of 1 percent) really
meaningful? I can't even measure my power usage accurately enough to
detect the difference. Convince me to use three liters less hot water
per month, and you will save more energy.


How do you get the figures above? I
measured electricity use for a typical 2 year old computer (excluding
screen) as:
- computer idling - 80 watts
- computer working hard - 125 watts

That's a diff of 45 watts. Suppose normally you use your computer 4
hours a day and it normally takes you 20 hours to upgrade your ports.
You start the upgrade while using the computer but you leave it
compiling for an extra 16 hours. Thats 4 hours at 45 watts plus 16 hours
at 125 watts.

Thats 2180 watt hours or over 2 kWh on top of your normal use for one
port upgrade.

However you jig the figures there is no escaping that cpu cycles use
energy. Multiply by the number of times ports are upgraded per computer
per year and the number of computers being upgraded and a package system
seems like a worthwhile saving. (Thanks Colin Percival et al for
freebsd-update, this aspect of it hadn't occurred to me)

To complete your comparison if you used electricity to heat 3 litres of 
water from 15 degC to 55

degC you would use 0.139kWh.

Chris

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


Re: cannot kill process with kill -9

2009-04-10 Thread Ruben de Groot
On Thu, Apr 09, 2009 at 01:26:51PM -0600, Joshua Gimer typed:
 You might also find a little bit information about what the process is
 waiting on by attaching to it with strace (in ports under devel)
 (strace -p PID).

why would you install strace from ports? truss does the same job.

Ruben


 On Thu, Apr 9, 2009 at 5:47 AM, Eray Aslan eray.as...@caf.com.tr wrote:
  On Thu, Apr 09, 2009 at 09:41:31AM +0200, Pieter Donche wrote:
  I have a mount_nfs process that refuses to get killed :
  # ps -jaxw | grep mount
  root ? 60342 ? ? 1 60289 60289 ? ?0 D ? ? ?? ? ?0:00.00 mount_nfs
  [...]
  How to I get this process killed?
 
  reboot. ?You can't kill a process with a D flag. ?Google for
  uninterruptible sleep.
 
  --
  Eray
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 
 
 
 
 -- 
 Thx
 Joshua Gimer
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


sound configuration for pidgin

2009-04-10 Thread kyanh
Hello all,

I'd like to hear some notification from Pidgin. When configuring Pidgin, I use
mplayer %s
to make Pidgin play stuff. But it's hard to hear the sound as pidgin's volume 
is small (while the system mixer is almost 100:100). Is there anyway to have a 
bigger sound in Pidgin?

Thank you!

PS: sorry for my terrible English :)

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


Re: cannot kill process with kill -9

2009-04-10 Thread kyanh
On Fri, 10 Apr 2009 15:10:04 +0200
Ruben de Groot mai...@bzerk.org wrote:

 On Thu, Apr 09, 2009 at 01:26:51PM -0600, Joshua Gimer typed:
  You might also find a little bit information about what the
  process is waiting on by attaching to it with strace (in ports
  under devel) (strace -p PID).
 
 why would you install strace from ports? truss does the same job.
 

Great tips, Ruben! `strace` requires /proc and I am too lazay to mount `procfs` 
after installing `strace` ports. (In fact I installed `strace` then did 
nothing.) Going to `pkg_delete starce` now :P

 
 
  On Thu, Apr 9, 2009 at 5:47 AM, Eray Aslan
  eray.as...@caf.com.tr wrote:
   On Thu, Apr 09, 2009 at 09:41:31AM +0200, Pieter Donche wrote:
   I have a mount_nfs process that refuses to get killed :
   # ps -jaxw | grep mount
   root ? 60342 ? ? 1 60289 60289 ? ?0 D ? ? ?? ? ?0:00.00
   mount_nfs
   [...]
   How to I get this process killed?
  
   reboot. ?You can't kill a process with a D flag. ?Google for
   uninterruptible sleep.
  
   --

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


Re: new package system proposal

2009-04-10 Thread Chris Whitehouse

Bob Johnson wrote:

On 4/8/09, Jonathan McKeown j.mcke...@ru.ac.za wrote:

On Tuesday 07 April 2009 23:35:03 Bob Johnson wrote:

On 4/4/09, Chris Whitehouse cwhi...@onetel.com wrote:



The drawback I can see is the disk space required to keep several
generations
of packages online - if the package-port bundle is rebuilt every three
weeks,
let's say, and you want to keep 6 months' worth of packages online, you need
to keep 9 complete versions available.


Is there a quick way to find out how big are the tarballs without 
downloading them all or adding them up one by one?


My distfiles directory is 1.2gb. I guess you could allow 5gb for each 
cycle, that's only 45gb for 6 months. If that is realistic a 500gb hard 
disk would store 5 years worth. Would anyone want a five year old package?






I think a bigger drawback is the security issue. As soon as any
package in the collection has a significant announced security flaw,
you are faced with the choice of withdrawing the entire collection,
withdrawing only that package, or leaving the flawed package out there
for people to use because it is more convenient for them.


Yes this might be an issue How often are there serious security issues 
with desktop type ports?




PC-BSD seems to already keep up-to-date binary packages of their
applications. Do they accomplish that by only offering a small subset
of the full ports collection?

A big difference with PBI's is that each PBI is self contained with all 
the files and libraries necessary for the installed program to function 
(quote from the website). Upside is that it is very easy to install and 
avoids dependency problems. Downside is that it requires more bandwidth 
to download and more disk space.


I did wonder if it would make sense to just use the PBI system. The 
number of packages depends to some extent on individuals volunteering to 
make and maintain them - true FreeBSD style.


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


Kernel panic on disk timeout with 3ware controller

2009-04-10 Thread Jan Catrysse
Hello,

 

I am using FreeBSD 7.1 RELEASE on a system with a 3Ware RAID controller, the
system resides on a RAID volume.

I get kernel panics complaining about page faults, swap space and a drive
timeout.

 

This is, I think, due to a faulty disk. The 3ware controller detects a
timeout, relaunches the disk and retries with success. This is, I suppose,
invisible for FreeBSD.

 

I am not experiencing problems with normal disk reads and writes, but when
it happens on the swap space FreeBSD does mind, gives a timeout and panics.
Can this behavior be changed?

 

I am never on site and I would prefer a simple error message and not a
kernel panic, I can change the disk with a hotspare remotely. Impossible
when the server is down.

 

Big thanks,

Jan

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


mouse problems-version 7.1

2009-04-10 Thread gahn

Hi all:

After I did portupgrade -fa -y and I have mouse problem: it works under the 
test of sysinstall but it would not work when I start KDE environment.

What went wrong? How could i fix this?

Thanks


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


loader.conf

2009-04-10 Thread gahn

Hi all:

I have a machine with 2GB memory. in the file loader.conf, there is a line:

#hw.physmem=1G# Limit physical memory. See loader(8)

Could I remove the # and change that to 2G?

Interestingly, the sysctl indicates the parameter of hw.physmem is not 
changeable.

Any guru here give me some enlightenment?




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


Re: Question about support for HP D1560 printer under FreeBSD

2009-04-10 Thread Jerry
On Fri, 10 Apr 2009 18:06:14 +0530
Manish Jain invalid.poin...@gmail.com wrote:

   Hi Jerry,
   Thanks for your message. I checked up the list, which says that the
   D1560 is indeed supported, but it also says that the minimum version
   of hplip required for this is 2.8.5, while the latest port available
   is 2.8.2.
   Please check
   out
 [2]http://hplipopensource.com/hplip-web/models/deskjet/deskjet_d15
 00_series.html for this.


Contact the port maintainer: amis...@am-productions.biz and explain
your problem to him. He should be able to update the port so it works
for you. I have spoken to him before and he solved a problem I was
having rather quickly.

-- 
Jerry
ges...@yahoo.com

Inform all the troops that communications have completely broken down.


signature.asc
Description: PGP signature


Re: sound configuration for pidgin

2009-04-10 Thread Polytropon
On Fri, 10 Apr 2009 20:51:35 +0700, kyanh xky...@gmail.com wrote:
 Hello all,
 
 I'd like to hear some notification from Pidgin. When configuring Pidgin, I use
   mplayer %s
 to make Pidgin play stuff.

First, maybe mplayer is a bit heavy stuff for notification sounds.
What are these files? If they are *.wav, use play %s command, and if
they are *.mp3, use madplay %s or mpg123 %s, as well as ogg123 %s
for *.ogg files. Check out the manpages for these programs if you
think you need further options.



 But it's hard to hear the sound as pidgin's volume is small (while
 the system mixer is almost 100:100). Is there anyway to have a
 bigger sound in Pidgin?

Check the other volumes as well. PCM should be 100:100, too.
If vol == 100:100 and pcm == 10:10, it will be very silent. :-)

Do other applications (music and movie player, games etc.) play
louder sounds?



 PS: sorry for my terrible English :)

I'm not sure mine is better, don't mind. The guys on that list have
a lot of translational phantasy. :-)



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


Re: new package system proposal

2009-04-10 Thread Polytropon
On Fri, 10 Apr 2009 15:25:13 +0100, Chris Whitehouse cwhi...@onetel.com wrote:
 Is there a quick way to find out how big are the tarballs without 
 downloading them all or adding them up one by one?

I think it's possible to obtain an FTP ls listing and then use
awk to get the column with the size (in bytes) and add them,
printing the final result and maybe converting it into MB, GB
if needed.



 Would anyone want a five year old package?

Yes, I would, because today's packages are sooo slooow. :-)

Just as an unimportant sidenote: The FreeBSD OS is capable in
gaining speed on the same (old) hardware with every release.
So I can install it today on a 150 MHz P1 with 128 MB RAM
without any problems, and it will run fast. But I cannot use
today's applications on that system as I could the older ones,
such as StarOffice, older Opera versions, older Mplayer versions,
older X-Chat versions etc. because all of them depend on newer
libraries (including, excuse me, bloat) that would render the
system nearly unusable speed-wise (see the big jump in Gtk,
compare usability and speed of X-Chat 1 vs. X-Chat 2, or the
transition of Sylpheed from Gtk 1 toolset to Gtk 2 toolset).
Disk occupation is, of course, another topic. If you've got
only a 4 GB hard disk which could hold a fully functional and
feature-rich system of FreeBSD 5, it's hard to achieve this
with FreeBSD 7 and its set of applications because of the many
dependencies (just have a look at how Gtk and Gnome stuff
can fill your hard disk, maybe you want to use gmplayer only).



 A big difference with PBI's is that each PBI is self contained with all 
 the files and libraries necessary for the installed program to function 
 (quote from the website). Upside is that it is very easy to install and 
 avoids dependency problems. Downside is that it requires more bandwidth 
 to download and more disk space.

Another problem is that if a minor (but important) library change
appears that does require the update of the library, but not of the
dependent applications, that new PBIs have to be built and installed,
while the traditional way would suggest to update the library only.

But I don't think customers of PC-BSD will be interested in such
geek stuff. PC-BSD is fine for average users who install once,
use then, update very few times.



 I did wonder if it would make sense to just use the PBI system. The 
 number of packages depends to some extent on individuals volunteering to 
 make and maintain them - true FreeBSD style.

Allthough I prefer the traditional and well intended ways, I could
live with PBI as long as there's an automated way to install them,
read: command line, ability for batch processing. I simply don't
want to waste time for Next, next, okay, next, next, next, reboot. :-)


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


Re: loader.conf

2009-04-10 Thread Kevin Kinsey

gahn wrote:

Hi all:

I have a machine with 2GB memory. in the file loader.conf, there is a line:

#hw.physmem=1G# Limit physical memory. See loader(8)

Could I remove the # and change that to 2G?


Yes, but, would it make a difference?


Interestingly, the sysctl indicates the parameter of hw.physmem is not 
changeable.


It is changeable before the system boots (during the 'loader' stage),
but not changeable later.  The question is, what's it currently
set to?  The comment means that the line in question *isn't* a 
physical memory limit ... what's the current setting of hw.physmem,

and why would you *want* to limit it?

On my systems, both 7x and 6x, hw.physmem is something like 4G
by default---despite the fact I've nothing like that amount of
RAM onboard.


Any guru here give me some enlightenment?


IANAE, but am willing to accept correction.

Kevin Kinsey
--
When a person goes on a diet, the first thing he loses is his temper.

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


Re: loader.conf

2009-04-10 Thread Fernando Apesteguía
On Fri, Apr 10, 2009 at 5:32 PM, gahn ipfr...@yahoo.com wrote:

 Hi all:

 I have a machine with 2GB memory. in the file loader.conf, there is a line:

 #hw.physmem=1G                # Limit physical memory. See loader(8)

 Could I remove the # and change that to 2G?

Yes, but if your purpose is to use all the available memory, you don't
need to do anything. Because it is commented, that line doesn't have
effect and the system will use all the available memory.

What does
sysctl hw.physmem
return?


 Interestingly, the sysctl indicates the parameter of hw.physmem is not 
 changeable.

After booting, it is.


 Any guru here give me some enlightenment?





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

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


Re: loader.conf

2009-04-10 Thread Fernando Apesteguía
2009/4/10 Fernando Apesteguía fernando.apesteg...@gmail.com:
 On Fri, Apr 10, 2009 at 5:32 PM, gahn ipfr...@yahoo.com wrote:

 Hi all:

 I have a machine with 2GB memory. in the file loader.conf, there is a line:

 #hw.physmem=1G                # Limit physical memory. See loader(8)

 Could I remove the # and change that to 2G?

 Yes, but if your purpose is to use all the available memory, you don't
 need to do anything. Because it is commented, that line doesn't have
 effect and the system will use all the available memory.

 What does
 sysctl hw.physmem
 return?


 Interestingly, the sysctl indicates the parameter of hw.physmem is not 
 changeable.

 After booting, it is.

I meant, it is readonly :)



 Any guru here give me some enlightenment?





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


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


Re: loader.conf

2009-04-10 Thread Matthew Seaman

gahn wrote:

Hi all:

I have a machine with 2GB memory. in the file loader.conf, there is a line:

#hw.physmem=1G# Limit physical memory. See loader(8)

Could I remove the # and change that to 2G?

Interestingly, the sysctl indicates the parameter of hw.physmem is not 
changeable.

Any guru here give me some enlightenment?


hw.physmem is a loader tunable: ie. you can only set it from the boot
loader before the kernel is fully operational.  Once the kernel is running
it can't be altered.

hw.physmem is designed to let you test running a kernel with less RAM
than is physically installed in a machine.  Not having to pop the case
and physically pull memory sticks out can be pretty useful.  It's not of
general interest -- only for kernel and various other software developers
in the main -- as the usual thing is to make use of all the RAM you have
available or (in the case of 32bit machines) that the system is capable of
addressing. 


If hw.physmem is unset in loader.conf the kernel will automatically use all
the memory available to it: this is the correct and desirable behaviour for
the vast majority of systems.  For a 2GB machine, that means the system will
use all the RAM that's installed.

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: sound configuration for pidgin

2009-04-10 Thread Geoff Fritz
On Fri, Apr 10, 2009 at 08:51:35PM +0700, kyanh wrote:
 Hello all,
 
 I'd like to hear some notification from Pidgin. When configuring Pidgin, I
  use
   mplayer %s
 to make Pidgin play stuff. But it's hard to hear the sound as pidgin's
 volume is small (while the system mixer is almost 100:100). Is there anyway
 to have a bigger sound in Pidgin?
 
 Thank you!

I use the same method you do.  Just a tip: since you use mplayer, as opposed to
the default gstreamer, you can clear a *lot* of cruft from your system by
reconfiguring the pidgin port and turning off the gstreamer option,
re-installing pidgin, then uninstalling the gstreamer stuff.  I find that
the ports-mgmt/pkg_cutleaves port is execllent for such cleaning.

Onto your question.  I have two thoughts.

First, make sure that /usr/sbin/mixer shows vol and pcm both at a
a reasonable level.  I find that 60:60 is usually sufficient for me, whether
I used headphones or speakers.

Second, the sound files you are using might simply be a bit low on the
volume side.  You may want to load them into something like audacity to
increase their loudness.

-- Geoff

 PS: sorry for my terrible English :)

No apologies needed.  Your written English is excellent!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: new package system proposal

2009-04-10 Thread Chris Whitehouse

Polytropon wrote:

On Fri, 10 Apr 2009 15:25:13 +0100, Chris Whitehouse cwhi...@onetel.com wrote:
Is there a quick way to find out how big are the tarballs without 
downloading them all or adding them up one by one?


I think it's possible to obtain an FTP ls listing and then use
awk to get the column with the size (in bytes) and add them,
printing the final result and maybe converting it into MB, GB
if needed.


It's in port/distinfo:

chr...@pcbsd% grep SIZE distinfo
SIZE (vlc-0.8.6i.tar.bz2) = 11786172




Would anyone want a five year old package?


Yes, I would, because today's packages are sooo slooow. :-)


Well my disk space estimate was way high, I didn't allow for the fact 
that not all packages would be upgraded each cycle, therefore the disk 
space requirement would be less. So maybe 500gb would do 10 years. Do 
you think you will be using 10 year old packages? By then you will have 
freecycled a computer that will run relatively newer apps.





I did wonder if it would make sense to just use the PBI system. The 
number of packages depends to some extent on individuals volunteering to 
make and maintain them - true FreeBSD style.


Allthough I prefer the traditional and well intended ways, I could
live with PBI as long as there's an automated way to install them,
read: command line, ability for batch processing. I simply don't
want to waste time for Next, next, okay, next, next, next, reboot. :-)


It's very easy actually. A widget, if so configured, tells you when 
there is an update for a PBI. You select it and click ok and that's 
about it. Reboot? This is not Windoze you know! :0


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


Re: find command question

2009-04-10 Thread Jay Hall

It has to wait for completion to see the exit status.


Thanks.  I misunderstood what I read.


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


hplip port update to version 2.8.5

2009-04-10 Thread Manish Jain


Hi,

I am about to buy a new printer and my retailer strongly recommends HP's 
D1560 printer (USB). I am running ghostscript8-8.62_5 under FreeBSD 7.1 
and I can't see this model listed anywhere in apsfilter. So I checked up 
the hplip site. The site says that the D1560 is indeed supported, but it 
also says that the minimum version of hplip required for this is 2.8.5, 
while the latest port available is 2.8.2.


Please check out 
http://hplipopensource.com/hplip-web/models/deskjet/deskjet_d1500_series.html


The site actually lists hplip version 2.8.5 as the minimum requirement 
for the entire D15XX series, and a whole lot of other deskjet printers.


Should I wait for a port update or do you think version 2.8.2 is capable 
of handling the printer ?


--
Thank you and Regards
Manish Jain
invalid.poin...@gmail.com
+91-99830-62246

NB : Laast year I kudn't spell Software Engineer. Now I are won.

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


xfce4, flash freeze

2009-04-10 Thread Vasadi I. Claudiu Florin


Hello,


My sistem is a FreeBSD-7.1-STABLE with xfce4 on a pretty ok hardware  
(intel 2.66 Mhz, 1GB ram, etc.). The problem I'm having is flash player  
related. I have forefox3 and opera 9.x installed and in every one of them  
when playing flash movies (youtube, etc), every 10 or so seconds the video  
freezez (image stands still, just like when buffering) but the sound goes  
on. So I believe it has something to do with flash player.


I installed it through nspluginwrapper (linux-flash-player). Any of you  
experienced anything similar?

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


Re: loader.conf

2009-04-10 Thread gahn

Thanks for the detailed information.

Best


--- On Fri, 4/10/09, Matthew Seaman m.sea...@infracaninophile.co.uk wrote:

 From: Matthew Seaman m.sea...@infracaninophile.co.uk
 Subject: Re: loader.conf
 To: ipfr...@yahoo.com
 Cc: freebsd general questions freebsd-questions@freebsd.org
 Date: Friday, April 10, 2009, 9:03 AM
 gahn wrote:
  Hi all:
  
  I have a machine with 2GB memory. in the file
 loader.conf, there is a line:
  
  #hw.physmem=1G# Limit
 physical memory. See loader(8)
  
  Could I remove the # and change that to
 2G?
  
  Interestingly, the sysctl indicates the parameter of
 hw.physmem is not changeable.
  
  Any guru here give me some enlightenment?
 
 hw.physmem is a loader tunable: ie. you can only set it
 from the boot
 loader before the kernel is fully operational.  Once the
 kernel is running
 it can't be altered.
 
 hw.physmem is designed to let you test running a kernel
 with less RAM
 than is physically installed in a machine.  Not having to
 pop the case
 and physically pull memory sticks out can be pretty useful.
  It's not of
 general interest -- only for kernel and various other
 software developers
 in the main -- as the usual thing is to make use of all the
 RAM you have
 available or (in the case of 32bit machines) that the
 system is capable of
 addressing. 
 If hw.physmem is unset in loader.conf the kernel will
 automatically use all
 the memory available to it: this is the correct and
 desirable behaviour for
 the vast majority of systems.  For a 2GB machine, that
 means the system will
 use all the RAM that's installed.
 
   Cheers,
 
   Matthew
 
 -- Dr Matthew J Seaman MA, D.Phil.   7
 Priory Courtyard
  Flat 3
 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11
 9PW


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


Re: hplip port update to version 2.8.5

2009-04-10 Thread Jerry
On Fri, 10 Apr 2009 23:19:35 +0530
Manish Jain invalid.poin...@gmail.com wrote:


Hi,

I am about to buy a new printer and my retailer strongly recommends
HP's D1560 printer (USB). I am running ghostscript8-8.62_5 under
FreeBSD 7.1 and I can't see this model listed anywhere in apsfilter.
So I checked up the hplip site. The site says that the D1560 is indeed
supported, but it also says that the minimum version of hplip required
for this is 2.8.5, while the latest port available is 2.8.2.

Please check out 
http://hplipopensource.com/hplip-web/models/deskjet/deskjet_d1500_series.html

The site actually lists hplip version 2.8.5 as the minimum requirement 
for the entire D15XX series, and a whole lot of other deskjet printers.

Should I wait for a port update or do you think version 2.8.2 is
capable of handling the printer ?

I think I would give some credence to the stated requirements on the
site. In any case, did you contact the port maintainer about updating
the port. If if doesn't get done before the port freeze, you will
probably be screwed.

-- 
Jerry
ges...@yahoo.com

Political history is far too criminal a subject to be a fit thing to
teach children.

W. H. Auden


signature.asc
Description: PGP signature


How to create NTFS file system from FreeBSD?

2009-04-10 Thread Yuri
I need to format NTFS partition to give HD to someone to write things on 
it under Windows.


I tried to use mkntfs from ports/ntfsprogs but it didn't finish after an 
extremely long time,  24hrs.


Yuri

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


Re: sorta newb help compiling samba

2009-04-10 Thread Karl Vogel
 On Wed, 8 Apr 2009 13:21:17 -0500, 
 Gary Gatten ggat...@waddell.com said:

G I've been playing with various flavors of *nix off and on for almost twenty
G years, but not doing much development the make process often causes me
G issues - as is the case with samba.

   This is why I only use the ports system for small, simple builds like
   rsync.  For anything major (Perl, OpenSSH, OpenSSL, Apache ...) I either
   use a pre-built package or build directly from source.  I used these
   commands for my most recent Samba build:

   me% CC=gcc ./configure --with-acl-support \
  --with-configdir=/usr/local/etc \
  --prefix=/usr/local
   me% make
   root# make install

   I use a (fairly generic) script to handle starting and stopping Samba
   cleanly.  It also handles log rotation.  It's attached below, if you're
   interested.  The killpg program used is derived from kill, but sends its
   signals to a process group instead of a process.

-- 
Karl Vogel  I don't speak for the USAF or my company

You know you're a redneck if you've ever been involved in a custody
fight over a hunting dog.

---
#!/bin/sh
#
# $Id: samba.server,v 1.1 2004/05/13 23:32:35 vogelke Exp $
# $Source: /doc/sitelog/fs001/services/RCS/samba.server,v $
#
# NAME:
#samba.server
#
# SYNOPSIS:
#samba.server [start|stop|stat|restart|dologs|help]
#samba.server -v
#
# DESCRIPTION:
#Script file to start and stop Samba services.
#-v means print the version and exit.
#
#Non-option argument is one of the following:
#  start -- starts Samba service
#   stop -- stops Samba service
#   stat -- displays status of Samba service
#restart -- stops and restarts Samba
# dologs -- stops Samba, moves log directory, restarts Samba
#   help -- this message
#
# INSTALLATION:
#Put this in at least two places: where the system looks for
#startup/shutdown files, and someplace where root can run it.
#
# AUTHOR:
#Karl Vogel vogelke+u...@pobox.com
#Oasis Systems, Inc.
#Based on Life with qmail script.

PATH=/usr/local/sbin:/usr/local/bin:/bin:/usr/bin
export PATH
umask 022
tag=`basename $0`

test -d /usr/bin || exit 0  # /usr not mounted

logdir=/var/log/samba3
smprog=/usr/local/sbin/smbd
nmprog=/usr/local/sbin/nmbd
smsg=smbd daemon
nmsg=nmbd daemon

# echo without newline
necho () {
echo $* | tr -d '\012'
}

# exit with message
die () {
echo fatal: $@  2
exit 1
}

# when this is run
logmsg () {
logfile=/var/log/$tag
echo `date` $USER $* $logfile
}

killproc() {  # kill the named process(es)
pname=`basename $1`
pfile=/usr/local/var/locks/$pname.pid
pid=
test -f $pfile  pid=`cat $pfile`

case $pid in
) echo $pname not running ;;
*)  for x in 15 1 9; do
killpg -$x $pid
sleep 1
done
rm $pfile
;;
esac
}

showproc() {  # show the named process(es)
pname=`basename $1`
pfile=/usr/local/var/locks/$pname.pid
pid=
test -f $pfile  pid=`cat $pfile`

hdr=USER   PID  PPID  PGID STARTED  TIME COMMAND
popt='-axw -o user,pid,ppid,pgid,start,time,command'

case $pid in
) return 1 ;;

*)  echo; echo $hdr
ps $popt | grep $pname
return 0 ;;
esac
}

# print version
version () {
lsedscr='s/RCSfile: //
s/.Date: //
s/,v . .Revision: /  v/
s/\$//g'

lrevno='$RCSfile: samba.server,v $ $Revision: 1.1 $'
lrevdate='$Date: 2004/05/13 23:32:35 $'
echo $lrevno $lrevdate | sed -e $lsedscr
}

# --
case $1 in
  start)
if showproc $smprog
then
   echo $smsg already running
else
   necho starting the $smsg
   env - PATH=$PATH $smprog -D
   echo .
fi

if showproc $nmprog
then
   echo $nmsg already running
else
   necho starting the $nmsg
   env - PATH=$PATH $nmprog -D
   echo .
fi
;;

  stop)
# we can use smbstatus -p for this...
killproc smbd
killproc nmbd
;;

  stat)
showproc $smprog  echo $smsg running
showproc $nmprog  echo $nmsg running
;;

  restart)
$0 stop
sleep 3
$0 start
;;

  dologs)
$0 stop
symlink='/var/log/samba3'
newlog=`date +/space/logs/%Y/%m%d`

mkdir -p $newlog
if test -d $newlog; then
test -L $symlink  rm $symlink
ln -s $newlog $symlink || echo ln -s failed  2
test -L $symlink || echo $symlink not a link  2
else
echo cannot mkdir $newlog  2
fi

(
  cd /usr/local/var 
mv log.nmbd log.nmbd.old 
mv log.smbd log.smbd.old 
touch log.nmbd log.smbd 
chmod 640 log.nmbd 
chmod 640 log.smbd 
)

sleep 3
$0 start
;;

  help)
cat HELP
  start -- starts Samba service
   stop -- stops 

Re: How to create NTFS file system from FreeBSD?

2009-04-10 Thread Wojciech Puchar


I need to format NTFS partition to give HD to someone to write things on it 
under Windows.


i would rather make FAT32 partition

newfs_msdos

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


Re: loader.conf

2009-04-10 Thread Wojciech Puchar




Hi all:

I have a machine with 2GB memory. in the file loader.conf, there is a line:

#hw.physmem=1G# Limit physical memory. See loader(8)

Could I remove the # and change that to 2G?


# mean commented out. leave it as is or delete. you don't have to specify 
it unless you want intentionally reduce available memory. FreeBSD 
autodetects how much you have

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


Re: sorta newb help compiling samba

2009-04-10 Thread Adam Vandemore

Karl Vogel wrote:
On Wed, 8 Apr 2009 13:21:17 -0500, 
Gary Gatten ggat...@waddell.com said:
  


G I've been playing with various flavors of *nix off and on for almost twenty
G years, but not doing much development the make process often causes me
G issues - as is the case with samba.

   This is why I only use the ports system for small, simple builds like
   rsync.  For anything major (Perl, OpenSSH, OpenSSL, Apache ...) I either
   use a pre-built package or build directly from source.  I used these
   commands for my most recent Samba build:

   me% CC=gcc ./configure --with-acl-support \
  --with-configdir=/usr/local/etc \
  --prefix=/usr/local
   me% make
   root# make install

   I use a (fairly generic) script to handle starting and stopping Samba
   cleanly.  It also handles log rotation.  It's attached below, if you're
   interested.  The killpg program used is derived from kill, but sends its
   signals to a process group instead of a process.

  
How do you handle major builds that use FBSD specific 
patchesasterisk for example?


--
Adam Vandemore
Systems Administrator
IMED Mobility
(605) 498-1610

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


Re: How to create NTFS file system from FreeBSD?

2009-04-10 Thread Yuri

Wojciech Puchar wrote:


i would rather make FAT32 partition


Unfortunately FAT32 has a file size limit 2^32-1 bytes (~4GB)
And I talk about HD 1TB and files might me larger.

Yuri

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


Re: How to create NTFS file system from FreeBSD?

2009-04-10 Thread Polytropon
On Fri, 10 Apr 2009 12:33:13 -0700, Yuri y...@rawbw.com wrote:
 Unfortunately FAT32 has a file size limit 2^32-1 bytes (~4GB)
 And I talk about HD 1TB and files might me larger.

The easiest way would be to format it inside a Windows PC
that is NTFS capable. But I think your problem is that you
don't have such a PC at hand...

Maybe a (very overcomplicated) solution is to (install and
then) run some kind of Windows in a VM and format the disk
from there...



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


Re: sorta newb help compiling samba

2009-04-10 Thread Polytropon
Just a small sidenote according to your shell script:

You're defining

# echo without newline
necho () {
echo $* | tr -d '\012'
}

Why don't you use echo -n which suppresses the newline instead
of involving another program to do something that echo can do
on its own? This is how FreeBSD does it in its system scripts.

echo -n Starting service... 
start_service
echo done.

And according to 

test -d /usr/bin || exit 0  # /usr not mounted

Woudln't it be more compliant to exit 1 to signal an error
due to /usr not being mounted? Exit code 0 is usually used
to signal that no error has happened (successful program
run), which isn't the case when the script is not (completely)
run.



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


Re: Re: Loading sound drivers

2009-04-10 Thread af300wsm

On Apr 9, 2009 9:20am, Ricardo Jesus ricardo.meb.je...@gmail.com wrote:



You even need sound_load=YES in the loader.conf. snd_via8234 pulls it  
upon loading.



Yup, pathetic that I missed it, but that's what I was missing. Thanks  
everyone. I've added _load to the lines.


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


disk usage statistics

2009-04-10 Thread Michal

Hello.

Could you suggest me how can I get my disk usage statistics in terms of
percentage of the possible disk activity (like in gstat) or megabytes
per second (like in iostat), please?

I need something that gives actual usage statistics, not any averages.
And something that prints what I want and quits (not like gstat in
default mode). It have to be available for unprivileged user and I don't
want to use any temporally files in the process.

The closest I can get is (last column of):
iostat -c 2 -d ad0 | tail -n 1

Problem is that it takes two seconds, which is not acceptable for me
because I want it's output to be printed in status bar beside date and 
time. I'm using wmii window manager.


Any suggestions and hints are very welcome.
Michal
--
Never interrupt your enemy when he is making a mistake. -Napoleon 
Bonaparte

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


Re: disk usage statistics

2009-04-10 Thread Wojciech Puchar

Hello.

Could you suggest me how can I get my disk usage statistics in terms of
percentage of the possible disk activity (like in gstat) or megabytes
per second (like in iostat), please?


systat

then type
:vmstat

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


ULE scheduler

2009-04-10 Thread Dave Stegner

have a stock 7.0 release.

I rebuilt the kernel with ULE scheduler, I think.

How can I tell if it is running ULE or 4BSD??


David R. Stegner


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


Re: disk usage statistics

2009-04-10 Thread Bill Moran
Michal m...@infosec.pl wrote:
 
 Could you suggest me how can I get my disk usage statistics in terms of
 percentage of the possible disk activity (like in gstat) or megabytes
 per second (like in iostat), please?
 
 I need something that gives actual usage statistics, not any averages.
 And something that prints what I want and quits (not like gstat in
 default mode). It have to be available for unprivileged user and I don't
 want to use any temporally files in the process.
 
 The closest I can get is (last column of):
 iostat -c 2 -d ad0 | tail -n 1
 
 Problem is that it takes two seconds, which is not acceptable for me
 because I want it's output to be printed in status bar beside date and 
 time. I'm using wmii window manager.
 
 Any suggestions and hints are very welcome.

snmp?  There's a command line client for net-snmp, and there are a
variety of disk activity MIBs.

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


Re: ULE scheduler

2009-04-10 Thread Polytropon
On Fri, 10 Apr 2009 15:17:28 -0700, Dave Stegner dsteg...@earthlink.net 
wrote:
 I rebuilt the kernel with ULE scheduler, I think.
 
 How can I tell if it is running ULE or 4BSD??

I think that's what you're looking for:

% sysctl kern.sched.name
kern.sched.name: ULE



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


Re: xfce4, flash freeze

2009-04-10 Thread Warren Block

On Fri, 10 Apr 2009, Vasadi I. Claudiu Florin wrote:

My sistem is a FreeBSD-7.1-STABLE with xfce4 on a pretty ok hardware (intel 
2.66 Mhz, 1GB ram, etc.). The problem I'm having is flash player related. I 
have forefox3 and opera 9.x installed and in every one of them when playing 
flash movies (youtube, etc), every 10 or so seconds the video freezez (image 
stands still, just like when buffering) but the sound goes on. So I believe 
it has something to do with flash player.


I don't see that problem with xfce4, firefox3, and flash video, but this 
is on a Radeon X1650.  Possibly a problem with your X video driver.


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


Re: xfce4, flash freeze

2009-04-10 Thread Vasadi I. Claudiu Florin


I don't see that problem with xfce4, firefox3, and flash video, but this  
is on a Radeon X1650.  Possibly a problem with your X video driver.


-Warren Block * Rapid City, South Dakota USA



Mine is a Nvidia fx5500 (agp). Tbh, I quite forgot to check the driver;  
will do that, thx for the memory refresh. Then again it could be some  
hardware failuri, because some month ago i had to change 4 condensers on  
the video bord. Will check them both out. Thx again.



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


Re: new package system proposal

2009-04-10 Thread Chris Whitehouse

Ok here's an improved description of how it works. The key to the whole
thing is the snapshot of the ports tree. Everything else follows from that.

Build process:
A predetermined set of packages is built from a ports tree. The most
benefit comes with packages which would acceptable for use with the default
config and require a lot of compile time (large distfiles and/or lots of
dependencies). This probably means xorg, window
managers, desktop environments and applications plus dependencies and
libraries. The ports tree is not updated during this process. The ports
tree and package tarballs are made available online as a ports-snapshot 
which is
tagged to identify it. The tag could be a text file with a date in it 
which lives in the snapshot directory.


This cycle is repeated at some suitable interval, by taking a new ports
tree and building packages for any ports that have been updated in the 
meantime. (The

actual build process could be done by one of the ports-mgmt tools which
would take care of only updating changed ports or ports whose 
dependencies had changed). The new packages and the ports tree used to 
create them are tagged as a new snapshot.


How to use:
For a fresh install a user installs FreeBSD then downloads the tagged ports
tree. S/he can then install packages from the ports-snapshot knowing
that everything is in sync versionwise. At this stage the selection of 
packages is down to the user (plus dependencies will automatically be 
pulled in). Additional ports that are not in the snapshot can be 
installed using the normal ports mechanism and they will automatically 
be in sync.


For an existing install, when a new ports-snapshot is available changed 
packages can be installed
using some utility (call it ports-update) which downloads and installs 
the ports tree and tag file from the snapshot, checks

versions of installed packages and upgrades accordingly. People can
choose to upgrade frequently or infrequently. By choosing a tag users 
can choose to upgrade to the most recent ports-snapshot or an 
intermediate one. At this stage the selection of packages to upgrade is 
by ports-update. ports-update compares the version of each installed 
package with the one in the ports-snapshot. If a newer version exists 
ports-update installs it. Any installed packages which are not in the 
ports-snapshot are ignored.


If a user wants to install or upgrade ports which are not in the 
ports-snapshot this can be done with the standard ports mechanism. As 
the bigger ports are already
available as packages in the ports-snapshot any additional ports will be 
relatively quicker to
install by building from source. If a port is being installed or 
upgraded and it has  a dependency which has been installed from the 
snapshot the dependency port will be the right version and the new port 
will integrate perfectly.


Thanks for reading this far

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


Re: How to create NTFS file system from FreeBSD?

2009-04-10 Thread Jan Henrik Sylvester

Yuri wrote:
 I need to format NTFS partition to give HD to someone to write things

mkntfs from sysutils/ntfsprogs should do it.

(I did use mkntfs successfully with the 1.13.1 version, but never tried 
with 2.0.0. ntfsresize from 2.0.0 failed for me when 1.13.1 did work.)


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


Re: sound configuration for pidgin

2009-04-10 Thread Wes Morgan

On Fri, 10 Apr 2009, kyanh wrote:


Hello all,

I'd like to hear some notification from Pidgin. When configuring Pidgin, I use
mplayer %s
to make Pidgin play stuff. But it's hard to hear the sound as pidgin's volume 
is small (while the system mixer is almost 100:100). Is there anyway to have a 
bigger sound in Pidgin?

Thank you!


I would recommend installing the audio/normalize port, and using 
that to increase the volume of the sound files. If you don't want to alter 
the audio files, try using this as your sound command:


mplayer -af volume=20 %s
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Sudden /libexec/ld-elf.so.1: Shared object libintl.so.8 not found, required by errors

2009-04-10 Thread Agus
Hi guys,

Yesterday i suddenly start receiving this errors... first i noticed it
cause i couldnt login and bash threw it.. then su...

/libexec/ld-elf.so.1: Shared object libintl.so.8 not found, required by -su

Then i remove bash and change to tcsh and was ok... but then again,
this one when using sendmail..

/libexec/ld-elf.so.1: Shared object libsasl2.so.2 not found,
required by send-mail


I didnt update anything... and it was all running fine for months...
what can it be? the files i have are..

-rwxr-xr-x  1 root  wheel92K Mar 11 15:26 libsasl2.so.2
lrwxr-xr-x  1 root  wheel13B Mar 11 15:26 libsasl2.so - libsasl2.so.2

-r--r--r--  1 root  wheel39K Aug 23  2008 libintl.so.8
lrwxr-xr-x  1 root  wheel12B Aug 23  2008 libintl.so - libintl.so.8



I really dont know what is happening  thanks to anyone who can
clariffy this... I really dont know what /libexec/ld-elf.so.1 is
doing?
I figure that the binarys complaining arent findind this libs... i
really dunno...

Thanks a lot in advance...

Also i mention that this is a public server where i offer free shell
services  i dont think a normal/unprivileged user could have done
mess with it right?

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


Re: openoffice.org-3.01 packages available (i386)

2009-04-10 Thread Chris Whitehouse

Glen Barber wrote:

Manolis,

Thanks again for taking the time for this.

[snip]


The site does not yet contain any other pages or info, as Glen is still
working on the web content.

Please send us your feedback (including problems, suggestions and
success stories!) either on the list or directly.  If this proves to be
successful, we could also build and host other packages as well.




Any problems with the site, please contact me so I can notify my
hosting provider, as I don't have physical access to the server.


Thanks!




Hi guys,

When you have a minute please would you have a look at a proposal for 
changes to the packages system I posted which is kind of a ports 
equivalent of freebsd-update involving a 'ports-snapshot'.


The original post is here

http://lists.freebsd.org/pipermail/freebsd-questions/2009-April/195793.html.

A more detailed description is here

http://lists.freebsd.org/pipermail/freebsd-questions/2009-April/196223.html

And other peoples comments in between.

It's going a bit parallel to the discussion here and in fact you have 
already offered some of the requirements,ie hosting


Would you be interested in incorporating the idea into what you are 
doing? I could at least do some building of packages.


One of the requirements is a new package management tool which I've 
called ports-update. Does anyone here have C or scripting skills who 
would be interested to write it? I'm sorry to ask, I know the FreeBSD 
way is to do it yourself, but I don't have programming skills. I could 
probably knock up a framework to start from though.


If you are prepared to host a bunch of packages it would be interesting 
to ask people to give us a list of their installed packages to create a 
master list.


Thanks

Chris

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


Re: openoffice.org-3.01 packages available (i386)

2009-04-10 Thread Glen Barber
Hi, Chris.

On Fri, Apr 10, 2009 at 8:29 PM, Chris Whitehouse cwhi...@onetel.com wrote:

 When you have a minute please would you have a look at a proposal for
 changes to the packages system I posted which is kind of a ports equivalent
 of freebsd-update involving a 'ports-snapshot'.


[snip]

I actually have been watching that thread.  I am intrigued by what you
are trying to do, but I think it's veering into the difficult to
maintain territory.


 It's going a bit parallel to the discussion here and in fact you have
 already offered some of the requirements,ie hosting

 Would you be interested in incorporating the idea into what you are doing? I
 could at least do some building of packages.


What specifically do you have in mind?  A side project to the
FreeBSD pkg_add(1) tool or a separate collection of the Makefiles for
the ports tree?

 One of the requirements is a new package management tool which I've called
 ports-update. Does anyone here have C or scripting skills who would be
 interested to write it? I'm sorry to ask, I know the FreeBSD way is to do it
 yourself, but I don't have programming skills. I could probably knock up a
 framework to start from though.


I have (very little) C skills -- I'm an OOP guy.  I have less skill
with shell scripting.  Either way, between ${REAL_JOB} and
${UNIVERSITY}, my free time is ... well... usually, not free.

 If you are prepared to host a bunch of packages it would be interesting to
 ask people to give us a list of their installed packages to create a master
 list.


I'm more than happy to create space for this type of project, but keep
in mind -- the pkg_add(1) tool will grab binary builds of software
from the ports tree that is usually built with default options.  What
about that one user that wants -DNO_NETHACK for sysutils/screen, or
the user (me) that has no need for IPv6 options enabled for most
things?  This seems like an exact mirror of pkg_add(1) in how it
works, and IMHO would be impossible to keep a current (let alone
versioned) collection of packages with every possible compile-time
option.

Of course, unless I am misunderstanding your intentions.

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


Re: sound configuration for pidgin

2009-04-10 Thread kyanh
On Fri, 10 Apr 2009 19:06:39 -0500 (CDT)
Wes Morgan morg...@chemikals.org wrote:

 On Fri, 10 Apr 2009, kyanh wrote:
 
  Hello all,
 
  I'd like to hear some notification from Pidgin. When configuring
  Pidgin, I use mplayer %s
  to make Pidgin play stuff. But it's hard to hear the sound as
  pidgin's volume is small (while the system mixer is almost
  100:100). Is there anyway to have a bigger sound in Pidgin?
 
  Thank you!
 
 I would recommend installing the audio/normalize port, and using 
 that to increase the volume of the sound files. If you don't want
 to alter the audio files, try using this as your sound command:
 
 mplayer -af volume=20 %s

Thank you. I didn't read carefully mplayer's man page.

When I use `mplayer -af volume=n` within `n  10`, I get so much noises. The 
acceptable value is 9 or 10. 

The sound files are taken from default installation of Pidgin, and I shouldnot 
ormalize them :) -- unless I want some lourder notifications.

Regards,

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


Re: sound configuration for pidgin

2009-04-10 Thread kyanh
On Fri, 10 Apr 2009 17:35:04 +0200
Polytropon free...@edvax.de wrote:

 On Fri, 10 Apr 2009 20:51:35 +0700, kyanh xky...@gmail.com wrote:
  Hello all,
  
  I'd like to hear some notification from Pidgin. When configuring
  Pidgin, I use mplayer %s
  to make Pidgin play stuff.
 
 First, maybe mplayer is a bit heavy stuff for notification sounds.
 What are these files? If they are *.wav, use play %s command, and
 if they are *.mp3, use madplay %s or mpg123 %s, as well as
 ogg123 %s for *.ogg files. Check out the manpages for these
 programs if you think you need further options.
 

I just use the default setting from Pidgin. I don't know what is the kind of 
sound though I guess that's *.wav. When I press Browse in Pidgin 
Configuration Page for Sound I don't get the right place of default sound file. 
Pidgin may use files from GTK collection.

When I use Arch Linux I can use play %s but play isnot installed as default 
on FreeBSD. I install `mpg123` but I still get small sound.

 
 
  But it's hard to hear the sound as pidgin's volume is small (while
  the system mixer is almost 100:100). Is there anyway to have a
  bigger sound in Pidgin?
 
 Check the other volumes as well. PCM should be 100:100, too.
 If vol == 100:100 and pcm == 10:10, it will be very silent. :-)
 

I see. I often use vol == 90 and pcm == 75.

 Do other applications (music and movie player, games etc.) play
 louder sounds?
 

The music and others sounds are normal.

 
 
  PS: sorry for my terrible English :)
 
 I'm not sure mine is better, don't mind. The guys on that list have
 a lot of translational phantasy. :-)

Thank you. I've learned from your message that I should use louder for sound 
instead of bigger. Still find smaller sound :D


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


NX dumps core on 7.1-RELEASE

2009-04-10 Thread Kouichiro Iwao
Hi. 

I asked freebsd-users-jp mailing list how to solve the problem below but
nobody replied. I moved freebsd-question ml ask you.

I'm in trouble using net/freenx port.
My system is 7.1-RELEASE-p2 and I installed freenx from the ports tree.
I already installed gnome desktop environment and I can use it on x11
console.

$ pkg_info|grep nx
freenx-0.6.0_1  Frontend (auth/session management) for nxserver libraries
nxserver-2.1.0_2Low-bandwidth X network server

I installed nomachine's nxclient 3.3.0-6 to another linux system.
Then I tried to connect to the freebsd system, nxclient shows error that
Session Startup File.  After that, I logged into the freebsd system
from the linux system with ssh x11 forwarding enabled and I executed
nxagent. Then it dumped core.

[m...@freebsd ~]$ /usr/local/NX/bin/nxagent

NXAGENT - Version 2.1.0

Copyright (C) 2001, 2006 NoMachine.
See http://www.nomachine.com/ for more information.

Info: Agent running with pid '80414'.
Session: Starting session at 'Sat Apr 11 09:57:36 2009'.
Info: Detected window manager running.
Assertion failed: (ret != inval_id), function _XAllocID, file xcb_io.c,
line 378.
Abort trap: 6 (core dumped)

I guess this is why nxclient on linux raises session start up failed
error. I can find xcb_io.c in nxagent's error message, so I did
portupgrade -rf \*xcb\* libX11 nxserver but nothing's solved.

I attach nxclient's log file. Please give me solution.

Thanks.
-- 
Iwao, Koichiro m...@club.kyutech.ac.jp
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: sound configuration for pidgin

2009-04-10 Thread kyanh
On Fri, 10 Apr 2009 10:07:04 -0600
Geoff Fritz gfr...@gmail.com wrote:

 On Fri, Apr 10, 2009 at 08:51:35PM +0700, kyanh wrote:
  Hello all,
  
  I'd like to hear some notification from Pidgin. When configuring
  Pidgin, I use
  mplayer %s
  to make Pidgin play stuff. But it's hard to hear the sound as
  pidgin's volume is small (while the system mixer is almost
  100:100). Is there anyway to have a bigger sound in Pidgin?
  
  Thank you!
 
 I use the same method you do.  Just a tip: since you use mplayer,
 as opposed to the default gstreamer, you can clear a *lot* of cruft
 from your system by reconfiguring the pidgin port and turning off
 the gstreamer option, re-installing pidgin, then uninstalling the
 gstreamer stuff.  I find that the ports-mgmt/pkg_cutleaves port is
 execllent for such cleaning.
 

I wil try. Knowing `pkg_cutleaves` is a bonus :P

 Onto your question.  I have two thoughts.
 
 First, make sure that /usr/sbin/mixer shows vol and pcm both at
 a a reasonable level.  I find that 60:60 is usually sufficient for
 me, whether I used headphones or speakers.
 

I did this before configuring Pidgin.

 Second, the sound files you are using might simply be a bit low on
 the volume side.  You may want to load them into something like
 audacity to increase their loudness.
 

The problem is that I use Pidgin's default sound files. I cannot locate those 
files (pkg_info -L pidgin).

 
  PS: sorry for my terrible English :)
 
 No apologies needed.  Your written English is excellent!

Thank you for your helps and your kind words :)

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


Re: NX dumps core on 7.1-RELEASE

2009-04-10 Thread Kouichiro Iwao
Sorry, I was not sure how attached file is treated.
Here's the log.

http://www.club.kyutech.ac.jp/~meta/temp/nxserver_error.log

--
Iwao, Koichiro m...@club.kyutech.ac.jp
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: Sudden /libexec/ld-elf.so.1: Shared object libintl.so.8 not found, required by errors

2009-04-10 Thread Tamouh Hakmi
You'd need to provide us with more details as your version #, what are you 
running...etc.

Try to ln -s to libintl.so.8 from other directories as well  such as 
/usr/libexec and /usr/local/libexec

Tamouh 

 -Original Message-
 From: owner-freebsd-questi...@freebsd.org 
 [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Agus
 Sent: April 10, 2009 7:41 PM
 To: FreeBSD Questions
 Subject: Sudden /libexec/ld-elf.so.1: Shared object 
 libintl.so.8 not found,required by errors
 
 Hi guys,
 
 Yesterday i suddenly start receiving this errors... first i 
 noticed it cause i couldnt login and bash threw it.. then su...
 
 /libexec/ld-elf.so.1: Shared object libintl.so.8 not found, 
 required by -su
 
 Then i remove bash and change to tcsh and was ok... but 
 then again, this one when using sendmail..
 
 /libexec/ld-elf.so.1: Shared object libsasl2.so.2 not 
 found, required by send-mail
 
 
 I didnt update anything... and it was all running fine for months...
 what can it be? the files i have are..
 
 -rwxr-xr-x  1 root  wheel92K Mar 11 15:26 libsasl2.so.2
 lrwxr-xr-x  1 root  wheel13B Mar 11 15:26 libsasl2.so - 
 libsasl2.so.2
 
 -r--r--r--  1 root  wheel39K Aug 23  2008 libintl.so.8
 lrwxr-xr-x  1 root  wheel12B Aug 23  2008 libintl.so - 
 libintl.so.8
 
 
 
 I really dont know what is happening  thanks to anyone 
 who can clariffy this... I really dont know what 
 /libexec/ld-elf.so.1 is doing?
 I figure that the binarys complaining arent findind this 
 libs... i really dunno...
 
 Thanks a lot in advance...
 
 Also i mention that this is a public server where i offer 
 free shell services  i dont think a normal/unprivileged 
 user could have done mess with it right?
 
 Cheers,
 Agustin
 ___
 freebsd-questions@freebsd.org mailing list 
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org

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


Re: How to create NTFS file system from FreeBSD?

2009-04-10 Thread Olivier Nicole
Hi,

 The easiest way would be to format it inside a Windows PC
 that is NTFS capable. But I think your problem is that you
 don't have such a PC at hand...
 
 Maybe a (very overcomplicated) solution is to (install and
 then) run some kind of Windows in a VM and format the disk
 from there...
 
I am not sure that my reply is allowed here, but I recently found out
that Hiren BooCD 9.8 includes a live version of XP...

Bests,

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


Re: Error Message when starting Apache

2009-04-10 Thread kyanh
On Thu, 9 Apr 2009 20:14:21 +0200
Michael Heitmeier mhe...@gmail.com wrote:

 After installing Apache 2.2 it does not start and apachectl start
 fails with the error message
 /libexec/ld-elf.so.1: Shared object xchgptr not found, required by
 libapr-1.so.3
 
 Searching on the Web and archives did not reveal anything, please
 let me know how to resolve this, thanks!

I don't exactly your problem but I think you can resolve the it by reinstall 
Apache22 from port
cd /usr/ports/www/apache22
make; make deinstall install

Good luck!

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


Deluge 1.1.5 From FreshPorts

2009-04-10 Thread David M. Patronis
*I thought it might be of interest that a recent change to the Makefile 
for this port caused a build to halt with error code -1, gcc43 
failure. I'm using 7.1 AMD64. When I replaced the Makefile with the 
previous version (1.54) everything went smoothly.


I think this might be the line that caused the abort: - Add USE_GCC=4.3+ 
to fix building with boost 1.37.


Just wanted to make others aware in the event this is a common problem 
on AMD64.


--David


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


Re: Sudden /libexec/ld-elf.so.1: Shared object libintl.so.8 not found, required by errors

2009-04-10 Thread gabe g
On Fri, Apr 10, 2009 at 7:40 PM, Agus agus@gmail.com wrote:

 Hi guys,

 Yesterday i suddenly start receiving this errors... first i noticed it
 cause i couldnt login and bash threw it.. then su...

 /libexec/ld-elf.so.1: Shared object libintl.so.8 not found, required by
 -su

 Then i remove bash and change to tcsh and was ok... but then again,
 this one when using sendmail..

 /libexec/ld-elf.so.1: Shared object libsasl2.so.2 not found,
 required by send-mail


 I didnt update anything... and it was all running fine for months...
 what can it be? the files i have are..

 -rwxr-xr-x  1 root  wheel92K Mar 11 15:26 libsasl2.so.2
 lrwxr-xr-x  1 root  wheel13B Mar 11 15:26 libsasl2.so - libsasl2.so.2

 -r--r--r--  1 root  wheel39K Aug 23  2008 libintl.so.8
 lrwxr-xr-x  1 root  wheel12B Aug 23  2008 libintl.so - libintl.so.8



 I really dont know what is happening  thanks to anyone who can
 clariffy this... I really dont know what /libexec/ld-elf.so.1 is
 doing?
 I figure that the binarys complaining arent findind this libs... i
 really dunno...

 Thanks a lot in advance...

 Also i mention that this is a public server where i offer free shell
 services  i dont think a normal/unprivileged user could have done
 mess with it right?

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


Don't clog your system with symlinks, look at the manpage for libmap.conf
(man libmap.conf) or
http://www.freebsd.org/cgi/man.cgi?query=libmap.confmanpath=FreeBSD+7.1-RELEASE.

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


Re: hplip port update to version 2.8.5

2009-04-10 Thread Manish Jain


Hi Jerry,


I think I would give some credence to the stated requirements on the
site. 


The reason I raised the point was I know of people using D15XX (but 
where XX  80) with hplip versions well below 2.8.5, and HP now claims 
2.8.5 to be the minimum for those printers too, as well as for a whole 
lot of printers which are known to work with hplip versions less than 
2.8.5. If I am not mistaken, the hplip site blindly states 2.8.5 as the 
minimum requirement for all printers of this class. Maybe this is just a 
convenient way of doing things for HP rather than figuring out each 
printer's actual minimum requirement.



In any case, did you contact the port maintainer about updating
the port. If if doesn't get done before the port freeze, you will
probably be screwed.
  

Sure I did. Although the response was not was particularly thrilling :
I am not sure when I'm going to get around to doing an update. If you 
want to take a stab at an update I'll be happy to review any patches, 
but you will probably need the newer version to get things working.

-- Anish Mistry amis...@am-productions.biz


My previous mail to freebsd-questions was marked as To by mistake. It 
was only intended to be a CC. Sorry.


If you reply, please CC me separately. It makes it so much easier for me 
to reply, if needed. BTW, I have never used hplip/CUPS before. I do hope 
it's not terribly complex to setup and go.


--
Thank you and Regards
Manish Jain
invalid.poin...@gmail.com
+91-99830-62246

NB : Laast year I kudn't spell Software Engineer. Now I are won.

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