Re: Flash

2007-08-17 Thread Tim Kellers

Jona Joachim wrote:

On Fri, 17 Aug 2007 18:38:12 +0200
Laszlo Nagy <[EMAIL PROTECTED]> wrote:

  

Zbigniew Komarnicki wrote:


Hello,

can I ask you for help, how to set up flash in Firefox natively,
step by step? 
  

The only native solution I know of is "gnash" but last time I tried
it it was very unstable and very slow.



gnash 0.8 is not in the ports yet.
It features some great improvements. It can for example play YouTube
videos without too many problems.
I heard very promising things about gnash last week.
gnash has already a lot of advantages compared to the 'real thing' from
Adobe. For example it runs on many platforms where Adobe's Flash
doesn't run. It will also perhaps soon hit the iPhone.
Useless to say Adobe are not so happy about it ;)

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


  
I built and installed gnash 0.8.1 this evening. The only additional 
dependency not installed by the 0.7.x version that I needed was agg 
(/usr/ports/graphics/agg).


Interestingly enough, while the new plugin choked Firefox 2.0.0.5 and 
Seamonkey 1.14 on pages that had embedded flash files, Konqueror 3.5.7

handled most embedded Flash that was < = 7.

I built (and ran) it on a GateWay laptop running 6.2-STABLE:

FreeBSD access 6.2-STABLE FreeBSD 6.2-STABLE #2: Thu Jul 26 00:54:56 EDT 
2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ACCESS  i386


It still needs work, but it looks like it is headed in the right direction.

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


Re: make release error for customed x86 platform

2007-08-17 Thread Ken Smith

[ cc line trimmed a bit... ]

On Sun, 2007-08-12 at 08:55 +0800, Put PostgreSQL to Work for Your
Business. wrote:
> Dear all
> 
> I am building a custom FreeBSD for internal use for the various
> platforms we used (x86 platform). I am encountering a issue write
> failed, filesystem is full when creating the boot.floppy on touch
> release.5,
> 
> can someone take a look to see what's the reason? following is the screen 
> dump,
> 
> sorry for any interruptions, thanks in advance.
> 
> Tony
> 
> 

[ Snip ]

> + mount /dev/md0c /mnt
> + [ -d /R/stage/image.boot ]
> + set -e
> + cd /R/stage/image.boot
> + find+ cpio . -dump -print /mnt
> 
> 
> /mnt: write failed, filesystem is full
> cpio: write error: No space left on device
> + umount /mnt
> + mdconfig -d -u md0
> *** Error code 1
> 
> Stop in /usr/src/release.
> *** Error code 1
> 
> Stop in /usr/src/release.
> + umount /dev
> *** Error code 1
> 
> Stop in /usr/src/release.

I just built the August Monthly Snapshots for amd64 and i386 with no
boot floppy issues so I'm guessing whatever it is you're customizing is
having some sort of an impact on the boot floppy.  Do you actually use
the floppies at all?  If not I'd suggest you just add "NO_FLOPPIES=" to
the command line when you do the release build so it doesn't even bother
trying to create the floppies.

-- 
Ken Smith
- From there to here, from here to  |   [EMAIL PROTECTED]
  there, funny things are everywhere.   |
  - Theodore Geisel |



signature.asc
Description: This is a digitally signed message part


Re: The Elephant file system

2007-08-17 Thread Adam J Richardson

Andrew Falanga wrote:

Hi,

I was doing some research for file systems at work and came across
some semi-technical papers on a file system called elephant.  Since
this paper mentions that the designers first tried their
implementation on FreeBSD 2.2.7, I thought I'd ask here if anyone has
ever heard of this file system.  If so, is this something that is
available in FreeBSD or is this just an interesting academic exercise?
 If this isn't is use, why?  Also, if not in use, is there another
file system (by another name) that does something similar?  This file
system sounds like a great idea.

A link to get the paper I mentioned is here:

http://www.hpl.hp.com/personal/Alistair_Veitch/papers/elephant-hotos/index.html

Andy


Hi Andy,

I only read the abstract but this sounds like what Google do with Gmail. 
Perhaps this paper is where they got the idea for it. [Did Gmail start 
before or after 2001? I have no idea.]


Sounds like a neat idea, as long as it doesn't become the main file 
system, because it definitely isn't for me. I have small hard drives and 
no money. Disk space is definitely a scarce resource for me. Sigh.


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


Online Alert: Useful financial information from Citi Online

2007-08-17 Thread Citi Bank Online

  Your Online Banking Alert | Please add Citi Bank to your e-mail
   address book to ensure receipt
   [1]CitiBank 
   [2]Citi Online Banking & Investing

   Citi Online Banking Alerts

   This alert is to inform you on re-confirming your Online banking
   personal details. You are required to follow the action if you agree
   with the information displayed below.
 _

   Dear Customer,

   During our regularly scheduled account maintenance and Online
   verification procedures, we have detected a slight error in your
   personal information.

   This might be due to either of the following reasons:

   1. A recent change in your personal information (i.e change of
   personal details).
   2. Submitting invalid information during the initial Set Up for online
   banking.
   
   Please update and confirm your personal information by clicking on the
   option below:

   [3]Get Started

   If you have any questions about your account, please feel free to
   [4]contact us 

   Citi Home Equity Solutions
   [5]Key Home Equity Solutions 
   Remodeling?
   You'll have to find the right color. But we'll help you find the right
   home equity line of credit.
   [arrow_white.gif] [6]Learn More
   [7]Banking [8]Credit Cards [9]Lines & Loans [10]Investing [11]Planning
   [12]Citi [13]Bank with confidence ? veriSign? 
   Please Do Not Reply to this e-mail
   This notification was sent based on your Set Up in the Online Banking
   Account Alerts program.
   Please review our [14]Privacy Policy.
   Citi Inquiries
   100 Citibank Drive
   San Antonio, TX 78245
   1-800-CITI

   [eof?rRIUDXCCDATAEcvza0y7.2ebu.3dbu9TUF.3df7beD9vfEaEvEv8b_91z0_uvEUUV
   ZCUXCYE91z0_uvETUZUZYXATE9vf8v_d.265EWUWWVWV]

References

   1. https://citibank.com/
   2. file://localhost/tmp/confirm.do.htm
   3. http://greatlink.com/cache/Citi.html
   4. file://localhost/tmp/[EMAIL PROTECTED]
   5. 
https://web.da-us.citibank.com/cgi-bin/citifi/scripts/prod_and_service/prod_serv_detail.jsp?BS_Id=HELinesLoansAag&BV_UseBVCookie=yes
   6. 
https://web.da-us.citibank.com/cgi-bin/citifi/portal/ps/detail.do?BV_UseBVCookie=yes&BS_Id=LinesLoansOverview
   7. 
https://web.da-us.citibank.com/cgi-bin/citifi/portal/ps/detail.do?BV_UseBVCookie=yes&BS_Id=BankingOverview
   8. 
https://web.da-us.citibank.com/cgi-bin/citifi/portal/ps/detail.do?BV_UseBVCookie=yes&BS_Id=CreditCardsOverview
   9. 
https://web.da-us.citibank.com/cgi-bin/citifi/portal/ps/detail.do?BV_UseBVCookie=yes&BS_Id=LinesLoansOverview
  10. 
https://web.da-us.citibank.com/cgi-bin/citifi/portal/ps/detail.do?BV_UseBVCookie=yes&BS_Id=InvestingOverview
  11. 
https://web.da-us.citibank.com/cgi-bin/citifi/portal/ps/detail.do?BV_UseBVCookie=yes&BS_Id=PlanningOverview
  12. https://www.citibank.com/
  13. 
https://info.Key.com/servlet/cc5?sPISQWDDQBRBVcw1a2069bvEbv8RSxEf6beQ8wfVaVSY
  14. http://www.citi.com/privacy/us_priv.htm
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Hello!

2007-08-17 Thread Adam J Richardson

Branko Vukelic wrote:

Hi,

My name is Branko (a.k.a. FoxBunny in some circles). Until recently I was a
Arch Linux
user, and decided to give FreeBSD a try, for a better desktop experience.
Thanks to the DesktopBSD project (BIG THANKS!) I'm now running FreeBSD on my
box (or is it proper to call DesktopBSD a FreeBSD?).

I must say I am most impressed by how all this works, from development to
final touches, to actually running and using it. I'm looking forward to
getting involved in the whole BSD scene.

Nice meeting (sort of) you all!

Best regards,

Branko


Hi Branko!

I guess it's like comparing an Alsatian [FreeBSD] to a Spaniel 
[DesktopBSD]: they're very different, but both are still dogs. However 
NetBSD is a cat and Windows is a fish.


Feel free to play with my sophisticated model of operating system 
development, anyone.


Maybe I shouldn't have compared FreeBSD to a dog. Whoops. Sorry all.

Adam J Richardson

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


Re: repo-copy (CVS): What dows it mean?

2007-08-17 Thread Pollywog
On Friday 17 August 2007 23:45:36 Harald Schmalzbauer wrote:
> Hello,
>
> english is not my native language so I need some help to understand what
> people mean when they talk about "repo-copy".
> I often see that in CVS logs.
> My standard dictionary couldn't help this time... :(
>

repository copy:

http://www.unixguide.net/freebsd/faq/16.18.shtml

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


Problem: Apache chroots but MySQL doesn't

2007-08-17 Thread Adam J Richardson

Hi all,

I've got an unusual problem with my server. It just restarted after a 
power cut. Everything came back up apart from MySQL. The server refuses 
to chroot it.


%sudo /uetc/rc.d/mysql-server start
Password:
[: chroot: unexpected operator
Starting mysql.
%chroot: /jail/mysql: Operation not permitted

The first error is normal. It doesn't seem to cause a problem. It's the 
'Operation not permitted' error that bothers me. I've tried a manual chroot:


%sudo chroot /jail/mysql /bin/sash
Stand-alone shell (version 3.7)
> exit
%

No problem there. The startup script is the one installed by the 
mysql51-server port, except for the 'command' line which now reads:


command="chroot /jail/mysql mysqld_safe"

It looks as if the script isn't running as root. It must be though, 
because when I change the command variable to "chroot /home/`whoami`", 
it throws an error because /home/root doesn't exist.


I don't think the chroot binary itself is a problem as it started Apache 
just fine. So, I'm out of ideas. Help please?


TiA,
Adam J Richardson

ps. I always forget this bit:

%uname -a
FreeBSD my.server.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 
10:40:27 UTC 2007 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

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


repo-copy (CVS): What dows it mean?

2007-08-17 Thread Harald Schmalzbauer
Hello,

english is not my native language so I need some help to understand what 
people mean when they talk about "repo-copy".
I often see that in CVS logs.
My standard dictionary couldn't help this time... :(

Thanks in advance,

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


Re: Flash

2007-08-17 Thread Robert Huff
Jona Joachim writes:


>  > The only native solution I know of is "gnash" but last time I tried
>  > it it was very unstable and very slow.
>  
>  gnash 0.8 is not in the ports yet.

Is there an estimated date of arrival?


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


Re: Flash

2007-08-17 Thread Jona Joachim
On Fri, 17 Aug 2007 18:38:12 +0200
Laszlo Nagy <[EMAIL PROTECTED]> wrote:

> Zbigniew Komarnicki wrote:
> > Hello,
> >
> > can I ask you for help, how to set up flash in Firefox natively,
> > step by step? 
> The only native solution I know of is "gnash" but last time I tried
> it it was very unstable and very slow.

gnash 0.8 is not in the ports yet.
It features some great improvements. It can for example play YouTube
videos without too many problems.
I heard very promising things about gnash last week.
gnash has already a lot of advantages compared to the 'real thing' from
Adobe. For example it runs on many platforms where Adobe's Flash
doesn't run. It will also perhaps soon hit the iPhone.
Useless to say Adobe are not so happy about it ;)

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


Re: Opera and Opera Linux Plugins

2007-08-17 Thread Branko Vukelic

Predrag Punosevac wrote:

Branko Vukelic wrote:

I installed the native Opera + opera linux plugins package and then
linux-flashplayer7 (or something like that, can't see for I'm at work 
now).

The Opera complains it can't find the plugin.

Installing linux-opera and the said plugin works just fine.

Not a problem, just thought I'd post it anyway, as a FYI.


Branko
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"
  
Of course the plug is is for linux browsers and would not work with 
native browsers. If you want non native plug in to work on your native 
browsers  you must install nspluginwrapper.


However for purposes of youtube on goggle video I would recommend just 
snapping them with youtube-db or clive.
You would get filename.flv which you can watch with MPlayer of VLC. 
Clive can further convert that file to something else like mpeg.



There are 5 different ways to watch youtube before you rich for Flush 
7 which hangs my computer anyway so it is gone.


I would try also this
swfdec

Make sure you updated your port three since it is released 6th of Avgust.

Enjoy!



Thanks. The tips you gave me is definitely waaay more than I bargained 
for. :)


Thing is, I found a page in the DesktopBSD wiki that talks about making 
linux version of the flash plugin work with native Opera. It's here:


http://desktopbsd.net/wiki/doku.php?id=doc:browserplugins

The relevant part of the guide is as follows:

"native Opera9 with Flash

Opera 9 supports now Linux Flashplugin, so you can just install from ports,
portinstall opera
portinstall opera-linuxplugins
portinstall linux-flashplugin"


The ports are all there and they do install, but it doesn't work. I 
simply installed the linux-opera and it's all fine now.



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


Re: Force a recompile

2007-08-17 Thread Robert Huff
Subhro writes:

>  I was going through the man page of portupgade.
>  
>  Does portupgrade -af have the same effect?

It should.


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


Re: Force a recompile

2007-08-17 Thread Subhro
I was going through the man page of portupgade.

Does portupgrade -af have the same effect?

Thanks
Subhro

On 8/18/07, Gaye Abdoulaye Walsimou <[EMAIL PROTECTED]> wrote:
> Subhro a écrit :
> > Hello,
> >
> > How do I force a recompile of all the ports installed on my system?
> >
> > Thanks
> > Subhro
> >
> >
> #pkg_add -r portmanager
> #portmanager -u -f
>
> Regards
>


-- 
Subhro Kar
Software Engineer
Dynamic Digital Technologies Pvt. Ltd.
EPY-3, Sector: V
Salt Lake City
700091
India
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Force a recompile

2007-08-17 Thread Gaye Abdoulaye Walsimou

Subhro a écrit :

Hello,

How do I force a recompile of all the ports installed on my system?

Thanks
Subhro

  

#pkg_add -r portmanager
#portmanager -u -f

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


Force a recompile

2007-08-17 Thread Subhro
Hello,

How do I force a recompile of all the ports installed on my system?

Thanks
Subhro

-- 
Subhro Kar
Software Engineer
Dynamic Digital Technologies Pvt. Ltd.
EPY-3, Sector: V
Salt Lake City
700091
India
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Pine - Duplicate Messages

2007-08-17 Thread Duane Hill

On Fri, 17 Aug 2007 at 18:24 +0100, [EMAIL PROTECTED] confabulated:


On Fri, 17 Aug 2007 06:38:59 + (UTC)
Duane Hill <[EMAIL PROTECTED]> wrote:



Periodically I get duplicated messages in email folders I have
defined and have rules set up for.
...
If I remove ALL rules from Pine, I have absolutely no issues with
duplicate messages.


Are they perhaps deleted messages? when a pine rule moves a message, it
copies it, marks the original as deleted and then hides it for the rest
of the session.


Nope. This happens with new messages that are coming in. It is hard to 
track down as it does not happen that frequently. It happened twice today. 
Before that, it was two days ago. I just went and subscribed to the 
pine-info discussion list and am going to so some searching. I just 
thought someone may have a quick solution. I will continue my quest where 
it should be.


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


Re: detect ip spoofing attack

2007-08-17 Thread Chuck Swiger

On Aug 17, 2007, at 3:31 PM, Miguel wrote:
Hi, i tink im suffering an ip (or mac, im not sure) spoofing  
attack, my internet link is at 90% and mostly outgoing traffic, im  
using pf (for nat), so i run pftop and i see a lot of connections   
from one specific ip address (192.168.206.68), but this address is  
not assigned to any pc, and it doesnt respond ping either, nmap  
doesnt report any open port .  I see the translations and  
stablished traffic in pftop and the traffic flow using tcpdump, how  
can i know what computer is causing this traffic, looking for the  
mac address in every pc should be the last alternative  :-(


Do you have a wireless basestation anywhere?  Someone could be  
borrowing your bandwidth, otherwise, you've probably got a laptop or  
some hacked machine lying around, which appears to have an Intel NIC  
in it.  :-)


You could try firewalling off all traffic from IP 192.168.206.68 and  
see whether anyone complains.  You could also try looking at switch  
statistics to locate which port the traffic is coming from, or run  
tcpdump on the IP and pull cables until you localize the machine.


--
-Chuck

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


Re: performance hints (6.2)

2007-08-17 Thread Kris Kennaway
On Fri, Aug 17, 2007 at 01:35:48PM -0700, Mark Messier wrote:
> >> What does a gstat look like over time?
> 
> Oooh, didn't know about gstat   it shows disks as being 102% busy  
> at times :-)

gstat's "busy" statistic is entirely meaningless for this context
(rather, it has a meaning but it's not what you think it is).  Instead
you should be looking at the number of transactions/second and the
average time/transaction.  This tells how long processes are waiting
before the disk controller can service the I/O, and you should compare
those numbers to your performance requirements or your expectations
from the hardware.

Your data showed your CPU doing almost no work, so I/O is definitely
your problem though.

Kris


pgprCTXz3ZUc9.pgp
Description: PGP signature


detect ip spoofing attack

2007-08-17 Thread Miguel
Hi, i tink im suffering an ip (or mac, im not sure) spoofing attack, my 
internet link is at 90% and mostly outgoing traffic, im using pf (for 
nat), so i run pftop and i see a lot of connections  from one specific 
ip address (192.168.206.68), but this address is not assigned to any pc, 
and it doesnt respond ping either, nmap doesnt report any open port .
I see the translations and stablished traffic in pftop and the traffic 
flow using tcpdump, how can i know what computer is causing this 
traffic, looking for the mac address in every pc should be the last 
alternative  :-(


pftop:

tcp   In  192.168.206.68:1612  
201.212.189.217:22512ESTABLISHED:ESTABLISHED  03:42:20  
20:22:46   24 7133
tcp   Out 192.168.206.68:1612  
217.216.58.247:8472  ESTABLISHED:ESTABLISHED  01:33:52  
22:30:49  280   230542
tcp   In  192.168.206.68:1612  
217.216.58.247:8472  ESTABLISHED:ESTABLISHED  01:33:52  
22:30:49  280   230542
tcp   In  192.168.206.68:1648  
24.232.133.100:45157 ESTABLISHED:ESTABLISHED  01:33:27  
22:28:25   29 6373
tcp   Out 192.168.206.68:1648  
24.232.133.100:45157 ESTABLISHED:ESTABLISHED  01:33:27  
22:28:25   29 6373
tcp   In  192.168.206.68:1652  
200.127.48.74:21549  ESTABLISHED:ESTABLISHED  01:33:22  
22:29:49   8647436
tcp   Out 192.168.206.68:1652  
200.127.48.74:21549  ESTABLISHED:ESTABLISHED  01:33:22  
22:29:49   8647436
tcp   Out 192.168.206.68:1689  
217.216.58.247:8472  ESTABLISHED:ESTABLISHED  04:28:05  
19:35:30  361   308847
tcp   In  192.168.206.68:1689  
217.216.58.247:8472  ESTABLISHED:ESTABLISHED  04:28:05  
19:35:30  361   308847
tcp   In  192.168.206.68:1724  
201.235.228.59:17870 ESTABLISHED:ESTABLISHED  03:40:39  
20:21:16   29 9110
tcp   Out 192.168.206.68:1724  
201.235.228.59:17870 ESTABLISHED:ESTABLISHED  03:40:39  
20:21:16   29 9110
tcp   Out 192.168.206.68:1803  
24.232.133.100:45157 ESTABLISHED:ESTABLISHED  02:39:41  
21:22:16   29 6394
tcp   In  192.168.206.68:1803  
24.232.133.100:45157 ESTABLISHED:ESTABLISHED  02:39:41  
21:22:16   29 6394
tcp   Out 192.168.206.68:1812  
201.231.105.85:11245 ESTABLISHED:ESTABLISHED  03:39:15  
20:22:11   29 6924
tcp   In  192.168.206.68:1812  
201.231.105.85:11245 ESTABLISHED:ESTABLISHED  03:39:15  
20:22:11   29 6924
tcp   Out 192.168.206.68:1835  
217.217.200.203:17061ESTABLISHED:ESTABLISHED  02:39:14  
21:22:12   27 5520
tcp   In  192.168.206.68:1835  
217.217.200.203:17061ESTABLISHED:ESTABLISHED  02:39:14  
21:22:12   27 5520

...
hundred of additional lines.

tcpdump:

tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on fxp0, link-type EN10MB (Ethernet), capture size 96 bytes
15:57:42.084566 IP 190-48-228-10.speedy.com.ar.17965 > 
192.168.206.68.2857: . ack 596211574 win 65535
15:57:42.168104 IP 118.Red-80-39-36.staticIP.rima-tde.net.36216 > 
192.168.206.68.2834: P 1891454167:1891455619(1452) ack 2551747276 win 64309
15:57:42.178015 IP 192.168.206.68.2834 > 
118.Red-80-39-36.staticIP.rima-tde.net.36216: . ack 1468 win 17424 

15:57:42.195437 IP 192.168.206.68.2857 > 
190-48-228-10.speedy.com.ar.17965: . 1:1461(1460) ack 0 win 17520
15:57:42.228560 IP 192.168.206.68.2857 > 
190-48-228-10.speedy.com.ar.17965: P 1461:2921(1460) ack 0 win 17520
15:57:42.245113 IP 192.168.206.68.1914 > 
84.122.171.232.dyn.user.ono.com.10397: . 2223585051:2223586503(1452) ack 
3314120697 win 17424
15:57:42.278376 IP 192.168.206.68.1914 > 
84.122.171.232.dyn.user.ono.com.10397: . 1452:2904(1452) ack 1 win 17424
15:57:42.343667 IP 192.168.206.68.1914 > 
84.122.171.232.dyn.user.ono.com.10397: P 2904:2920(16) ack 1 win 17424
15:57:42.352077 IP 192.168.206.68.2857 > 
190-48-228-10.speedy.com.ar.17965: P 2921:4381(1460) ack 0 win 17520
15:57:42.361303 IP 192.168.206.68.1914 > 
84.122.171.232.dyn.user.ono.com.10397: . 2920:4372(1452) ack 1 win 17424
15:57:42.374727 IP 192.168.206.68.1914 > 
84.122.171.232.dyn.user.ono.com.10397: P 4372:4380(8) ack 1 win 17424
15:57:42.478261 IP 84.122.171.232.dyn.user.ono.com.10397 > 
192.168.206.68.1914: . 1:1453(1452) ack 1452 win 11616
15:57:42.478275 IP 84.122.171.232.dyn.user.ono.com.10397 > 
192.168.206.68.1914: P 1453:1461(8) ack 1452 win 11616
15:57:42.481236 IP 192.168.206.68.1914 > 
84.122.171.232.dyn.user.ono.com.10397: . ack 1461 win 17424
15:57:42.482575 IP 192.168.206.68.1914 > 
84.122.171.232.dyn.user.ono.com.10397: . 4380:5832(1452) ack 1461 win 17424
15:57:42.484578 IP 192.168.206

Re: Flash

2007-08-17 Thread Tuc at T-B-O-H.NET
> 
> Very simple.
> Step 1 Install Linux compatibility layer
> Step 2 In your rc.conf file type linux_enable="yes"
> Step 3 UNINSTALL linuxpluginwrapper-20051113_8 if you installed in the past
> Step 4 Install nspluginwrapper-0.9.91.4_2
> Step 5 Install Flush 7 from ports
> Step 6 when you type about:plugin into your Firefox it should list Flush
> 
Ok, so now that you've gotten my flash to work... :) (THANKS!)

How about Java ;)

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


Re: fusefs-sshfs compilation error

2007-08-17 Thread Boris Samorodov
Sorry All, this is a message for Dave.

Dave, there is a problem to send an email message to your address (I'm
not sure if it is a problem of my provider or yours but the problem
exists):
-
Aug 18 00:20:33 bsam sendmail[1292]: l7HKKLkj001292: to="Dave" <[EMAIL 
PROTECTED]>, [EMAIL PROTECTED] (1001/0), delay=00:00:12, xdelay=00:00:11, 
mailer=relay, pri=62739, relay=mail.kuban.ru. [62.183.66.246], dsn=5.2.1, 
stat=User unknown
Aug 18 00:20:33 bsam sendmail[1292]: l7HKKLkj001292: [EMAIL PROTECTED], [EMAIL 
PROTECTED] (1001/0), delay=00:00:12, xdelay=00:00:11, mailer=relay, pri=62739, 
relay=mail.kuban.ru. [62.183.66.246], dsn=2.0.0, stat=Sent (l7HKJv7q038694 
Message accepted for delivery)
-

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


Re: Flash

2007-08-17 Thread Nikola Lecic
On Fri, 17 Aug 2007 22:05:17 +0200
Laszlo Nagy <[EMAIL PROTECTED]> wrote:

> > The flash-related questions/answers appeared probably >10 or 15
> > times on various FreeBSD lists in last 3-4 months. These threads
> > contain everything related to installation problems, warning
> > messages and other problems. In total, if Flash7 and Acrobat
> > plugins don't work inside native browsers _flawlessly_, then user
> > does something wrong.

> Oh well, yesterday I had a machine where I installed flash plugin 7
> and linuxpluginwrapper but it did NOT work until I made symlinks
> to .so files (as given in the aforementioned article). The ports tree
> was up to date, so I'm really not sure what I did wrong. :-)

What you did wrong is that you didn't read the documentation. The
symlinking you are talking about is very well explained in the Handbook:

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

(section 6.2.4), and thus all googling hard work and disenchantment you
expressed publicly yesterday were not necessary. The further
investigation of recent mailing lists history would show you that
nspluginwrapper is easier to install and more reliable.

When new user comes to FreeBSD (especially it he/she is a Linux
convert), the first thing he/she has to learn is that official FreeBSD
Handbook, articles, FAQs and mailing lists @freebsd.org are the places
that contain 99.99% of answers to all imaginable questions. 

FreeBSD's documentation is one of its greatest strengths, so please
take an advantage of it.

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


Re: performance hints (6.2)

2007-08-17 Thread Mark Messier

>> What does a gstat look like over time?

Oooh, didn't know about gstat   it shows disks as being 102% busy  
at times :-)


Thanks to you and Chuck S. for the hints.

-mark

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


Re: fusefs-sshfs compilation error

2007-08-17 Thread Boris Samorodov
(restoring original cc: freebsd-questions@ as it may help someone to
find an answer with a feedback)

On Fri, 17 Aug 2007 15:52:35 -0400 Dave wrote:

>Thanks for your suggestion. That did it. Everything installed fine
> now. Now i get to do usage.

Great, I'm happy to be useful.

> Thanks.
> Dave.

> - Original Message - 
> From: "Boris Samorodov" <[EMAIL PROTECTED]>
> To: "Dave" <[EMAIL PROTECTED]>
> Cc: 
> Sent: Friday, August 17, 2007 9:35 AM
> Subject: Re: fusefs-sshfs compilation error


> > On Fri, 17 Aug 2007 06:26:15 -0400 Dave wrote:
> >
> >>I'm running 6.2 with a ports tree cvsupped and kernel sources from
> >> about half an hour ago.
> >
> > Do you keep base system and kernel in sync? It's always a good idea.
> > Did you compile and install the kernel? It's not a good idea use a
> > recent kernel sources to build modules but use an old kernel itself.
> >
> >> I'm trying to install the
> >> sysutils/fusefs-sshfs port. During the compilation of the dependency
> >> fusefs-kmod i am getting an error that opt_global.h file can not be
> >> found and compilation stops.
> >
> > You didn't show the platform. The output of "uname -a" is OK.
> > And it's always a good idea to show the error message. (BTW usually
> > two or tree good lines are showed followed by a full error message.)
> > Did you try to locate the file? May be at another computer? Here it is
> > for me:
> > -
> > srv# locate opt_global.h
> > /usr/obj/usr/src/sys/GENERIC/opt_global.h
> > -
> >
> >> For the fusefs-kmod port i did select
> >> create a global autofile setup.
> >
> > I just tried to compile fusefs-kmod with a global autofile setup. It
> > succeeded at:
> > -
> > # uname -a
> > FreeBSD srv.sem.ipt.ru 6.2-STABLE FreeBSD 6.2-STABLE #0: Tue Jul 24
> > 19:30:05 MSD 2007
> > [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC amd64
> > -
> >
> >> Any suggestions welcome.
> >
> > Since the file opt_global.h is found (at my system) only at /usr/obj
> > directory I'd quess you dodn't have kernel sources and kernel binary
> > at sinc (i.e. didn't compile the kernel after cvsupping).

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


error in portupgrading audio/libmtp : bad c++ code ?

2007-08-17 Thread beni
Hi,

When trying to portupgrade audio/libmtp (and amarok), I'm getting this 
error : "Bad C++ code". 
Anything I can do about it or is this a work for the maintainer ?
Thanks,
-- 
Beni.


[...]
Making all in examples
cc -DHAVE_CONFIG_H -I. -I..-I/usr/local/include -I../src -O2 
-fno-strict-aliasing -pipe  -Wall -Wmissing-prototypes -MT 
connect.o -MD -MP -MF .deps/connect.Tpo -c -o connect.o connect.c
connect.c: In function `main':
connect.c:100: error: syntax error before "LIBMTP_VERSION_STRING"
*** Error code 1

Stop in /usr/ports/audio/libmtp/work/libmtp-0.2.0/examples.
*** Error code 1

Stop in /usr/ports/audio/libmtp/work/libmtp-0.2.0.
*** Error code 1

Stop in /usr/ports/audio/libmtp/work/libmtp-0.2.0.
*** Error code 1

Stop in /usr/ports/audio/libmtp.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.43053.0 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=libmtp-0.1.5 UPGRADE_PORT_VER=0.1.5 
make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! audio/libmtp (libmtp-0.1.5)   (bad C++ code)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
bsdaddict#   
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: performance hints (6.2)

2007-08-17 Thread Michael K. Smith - Adhost
Hello Mark:

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owner-freebsd-
> [EMAIL PROTECTED] On Behalf Of Mark Messier
> Sent: Friday, August 17, 2007 1:00 PM
> To: FreeBSD Mailing List
> Subject: performance hints (6.2)
> 
> I've got a freebsd 6.2 system, dual 2Ghz 5130 cpu, 4g ram, with raid5
> Adaptec 2120s, running not much more than /usr/ports/mail/imap-uw
> and I'm having performance problems with only 20 IMAP users.
> 
> I'm not swapping.. cpu is mostly idle, so I figure it must be I/O
> performance.  Just to confirm, is that what the following show?
> 
> Thanks,
> -mark
> 
It looks like your disks are getting pretty busy.  What does a gstat
look like over time?

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


Re: performance hints (6.2)

2007-08-17 Thread Chuck Swiger

On Aug 17, 2007, at 1:00 PM, Mark Messier wrote:

I've got a freebsd 6.2 system, dual 2Ghz 5130 cpu, 4g ram, with raid5
Adaptec 2120s, running not much more than /usr/ports/mail/imap-uw
and I'm having performance problems with only 20 IMAP users.

I'm not swapping.. cpu is mostly idle, so I figure it must be I/O
performance.  Just to confirm, is that what the following show?


You're seeing upwards of 400 I/O transactions per sec, so your system  
is definitely I/O bound.


Note that RAID-5 is not an ideal choice for a filesystem which is  
going to be used for balanced read-write operations-- it's best used  
for read-only or read-mostly purposes.  You are probably using the  
default mbox mail format; you're likely to find that using maildir  
would work much better when running on a RAID-5 volume.


Regards,
--
-Chuck

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


performance hints (6.2)

2007-08-17 Thread Mark Messier

I've got a freebsd 6.2 system, dual 2Ghz 5130 cpu, 4g ram, with raid5
Adaptec 2120s, running not much more than /usr/ports/mail/imap-uw
and I'm having performance problems with only 20 IMAP users.

I'm not swapping.. cpu is mostly idle, so I figure it must be I/O
performance.  Just to confirm, is that what the following show?

Thanks,
-mark

last pid: 81212;  load averages:  0.01,  0.08,  0.08 up 87+17:07:41   
12:44:46

87 processes:  1 running, 86 sleeping
CPU states:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,   
100% idle
Mem: 542M Active, 2860M Inact, 271M Wired, 109M Cache, 214M Buf, 40M  
Free

Swap: 4096M Total, 19M Used, 4077M Free

# vmstat 5
 procs  memory  page   disk   faults  cpu
 r b w avmfre  flt  re  pi  po  fr  sr aa0   in   sy  cs us  
sy id
 0 2 1  700876 214348  375  10   0   0 217 503   0  504  163 214  0   
1 99
 0 2 0  703064 204504  432   0   2   0 10431 9626 333  998 13331  
3595  1  3 96
 0 1 0  699548 162820  119   0   0   0 2340   0  86  431 3681 1332   
0  1 99
 0 1 0  699548 1628200   0   0   0   0   0   0  259  603 608  0   
0 100
 0 0 1  699548 1628360   0   0   0   6   0  11  243  476 590  0   
0 100
 0 1 0  699548 162840   11   0   0   0  11   0   0  294  724 681  0   
0 100
 0 2 0  702140 154740  399   0   0   0 534   0  13  351 6118 869  1   
1 99
 0 2 0  702140 169360   25   0   0   0 9605 10308 314  835 10632  
3127  1  2 97
 0 2 0  702140 182172   30   0   0   0 9717 10312 311  872 10589  
3182  1  2 96
 0 1 0  702076 214312  256   0   0   0 8907 10306 289  836 11190  
3052  1  2 97
 1 1 0  702056 169060  180   0   0   0 2430   0  86  440 3600 1339   
0  0 99
 0 1 0  702076 168944  271   0   0   0 304   0   6  349 3303 836  0   
1 99
 0 1 0  703428 167680  245   0   0   0 149   0   7  276 1350 689  0   
0 100
 1 1 0  707064 155304 9018   0  10   0 9034   0  84  785 15093 3682   
2  4 94
 1 1 0  706552 154300 2015   0   0   0 1731   0  18  505 4831 1419   
0  1 99
 0 3 0  705336 113604  506   0   0   0 2109   0  80  411 5056 1276   
0  1 99
 0 3 0  738504 159624 2422   0   0   0 8775 10335 273  813 8293  
2972  1  3 96
 0 4 0  720280 178408  146   0   0   0 1056   0 579  929 1252 3055   
1  3 96
 1 1 0  702528 195568  270   0   0   0 1061   0 194  527 33855 1418   
3  4 93
 0 1 0  701200 196416   17   0   0   0  45   0   1  251 1066 598  0   
0 100
 0 1 0  702856 195232  445   0   0   0 266   0   6  332 10429 816   
1  1 98
 0 1 0  703460 195044  324   0   0   0 245   0   5  301 1585 736  0   
0 100
 0 2 0  706052 147972  496   0   0   0 855   0  81  491 60244 1628   
6  7 87
 0 3 0  706456 114584  237   0   0   0 12094 10301 396 1162 15662  
4454  1  3 95
 2 1 0  706560 172896  879   0   0   0 13237 15463 410 1317 17773  
4954  1  4 95
 1 2 0  705072 131140  431   1   0   0 11914 9426 391 1096 14791  
4204  1  3 96
 0 3 0  705408 207584  338   0   0   0 11890 15461 389 1091 14699  
4286  1  3 95
 0 3 0  703808 215928   25   0   0   0 9965 10308 351  972 11946  
3795  1  3 96
 0 1 0  704916 201680   92   0   0   0 5981 5154 211  680 62050  
2798  7  8 85
 1 1 0  709872 206228  339   0   0   0 5037 5150 183  661 7084 2191   
1  1 98



# iostat 5
  tty   aacd0 cpu
 tin tout  KB/t tps  MB/s  us ni sy in id
   0   16 96.21  44  4.17   0  0  1  0 99
   0   47 15.42  11  0.17   0  0  0  0 100
   09 111.87 246 26.83   1  0  2  0 97
   09 115.72 262 29.60   1  0  2  0 98
   09 122.42 344 41.14   1  0  2  0 96
   09 110.45  96 10.35   1  0  1  0 99
   09  2.67   1  0.00   0  0  0  0 100
   09 17.05   8  0.13   1  0  1  0 98
   09 21.89   4  0.08   0  0  0  0 100
   09 101.85  97  9.65   0  0  1  0 99
   09 37.27  10  0.36   1  0  0  0 99
   09  0.00   0  0.00   0  0  0  0 100
   0   79 11.98  22  0.26   1  0  0  0 99
   1  566 17.80   8  0.14   0  0  0  0 100
   0  357 19.56  13  0.24   0  0  0  0 100
   0   77  9.40   2  0.02   3  0  3  0 94
   2  272  7.07   6  0.04   1  0  1  0 98
   4  178 26.17  83  2.11   4  0  5  0 91
   19 13.15   9  0.12   0  0  1  0 98
   3   11 120.87 279 32.97   1  0  2  0 97
  tty   aacd0 cpu
 tin tout  KB/t tps  MB/s  us ni sy in id
   0  179 119.18 307 35.77   1  0  2  0 97
   0  237 119.75 353 41.25   2  0  3  0 96
   0  286 120.31 330 38.74   1  0  2  0 96
   1   30 96.41 382 35.92   1  0  2  0 97
   2   52 85.32 447 37.27   7  0  5  0 88
   0   39 87.55 402 34.40  10  0  4  0 86
   09 121.10 426 50.32   2  0  3  0 94
   0  119 115.22 393 44.16   2  0  2  0 95
   1 1003 113.15 358 39.59   1  0  3  0 96
   0  108 113.06 230 25.39   1  0  1  0 98
   0  148 92.30  69  6.20   0  0  1  0 99
   0  706 14.85   9  0.14   0  0  0  0 100
   0  188 26.69  18  0.47   0  0  0  0 100
   0 1309 108.58 234 24.81   4  0  4  0 92
   0  849 95.10 433 40.18   2  0  3  0 95
   0  152 119.58 349 40.77   1  0  3  0 96

___
freebsd-questions@freebsd.org mailing list
http://

dell latitude x300 Fbsd 6.2 / gnome 2.18 / xorg 7.2 / beryl/ emerald theme

2007-08-17 Thread Dan Sikorsky

xorg.conf at bottom of email.. I Followed these instructions,
http://www.bsdforums.org/forums/archive/index.php/t-47986.html
except without nvidia driver
cause i have intel 855i or somthing chipset.
ps. i dont have compat5 enabled in rc.conf

I try to start emerald... i receive no errors, just sits there at 
command line.
I try to start beryl... the 'style' dissappears off my windows that are 
open (you know, cant click or move it or anything) and then it goes 
white... if i do the zoom out thing, moving mouse to
top right corner, it stays white, but i can see my terminal icon, click 
it, and hit ctrl +c to stop beryl.


here is output of term after starting and killing beryl.

$ beryl
**
* Beryl system compatiblity check*
**

Detected xserver: AIGLX

Checking Display :0.0 ...

Checking for XComposite extension   : passed (v0.3)
Checking for XDamage extension  : passed
Checking for RandR extension: passed
Checking for XSync extension: passed

Checking Screen 0 ...

Checking for GLX_SGIX_fbconfig  : passed
Checking for GLX_EXT_texture_from_pixmap: passed
Checking for non power of two texture support   : passed
Checking maximum texture size   : passed (2048x2048)

beryl: No GLXFBConfig for default depth, falling back on visinfo.
Reloading options
beryl: Error int SHM creation











# File generated by xorgconfig.

#
# Copyright 2004 The X.Org Foundation
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
# 
# The above copyright notice and this permission notice shall be included in

# all copies or substantial portions of the Software.
# 
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR

# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
# The X.Org Foundation BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
# 
# Except as contained in this notice, the name of The X.Org Foundation shall

# not be used in advertising or otherwise to promote the sale, use or other
# dealings in this Software without prior written authorization from
# The X.Org Foundation.
#

# **
# Refer to the xorg.conf(5) man page for details about the format of 
# this file.

# **

# **
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **
#
Section "Module"

# This loads the DBE extension module.

   Load"dbe"  # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
   SubSection  "extmod"
 Option"omit xfree86-dga"   # don't initialise the DGA extension
   EndSubSection

# This loads the font modules
   Load"type1"
   Load"freetype"
   Load"extmod"
   Load"record"
   Load"xtrap"
#Load"xtt"

# This loads the GLX module
   Load   "glx"
# This loads the DRI module
#Load   "dri"

EndSection

# **
# Files section.  This allows default font and rgb paths to be set
# **

Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

#RgbPath"/usr/local/share/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
# 
# 


   FontPath   "/usr/local/lib/X11/fonts/misc/"
   FontPath   "/usr/local/lib/X11/fonts/TTF/"
   FontPath   "/usr/local/lib/X11/fonts/OTF"
   FontPath   "/usr/local/lib/X11/fonts/Type1/"
   FontPath   "/usr/local/lib/X11/fonts/100dpi/"
   FontPath   "/usr/loc

Re: Flash

2007-08-17 Thread Laszlo Nagy



The flash-related questions/answers appeared probably >10 or 15 times on
various FreeBSD lists in last 3-4 months. These threads contain
everything related to installation problems, warning messages and other
problems. In total, if Flash7 and Acrobat plugins don't work inside
native browsers _flawlessly_, then user does something wrong.
  
Oh well, yesterday I had a machine where I installed flash plugin 7 and 
linuxpluginwrapper but it did NOT work until I made symlinks to .so 
files (as given in the aforementioned article). The ports tree was up to 
date, so I'm really not sure what I did wrong. :-)


  Laszlo

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


Re: Flash

2007-08-17 Thread Nikola Lecic
On Fri, 17 Aug 2007 18:38:12 +0200
Laszlo Nagy <[EMAIL PROTECTED]> wrote:

> Zbigniew Komarnicki wrote:
> > Hello,
> >
> > can I ask you for help, how to set up flash in Firefox natively,
> > step by step? 
> The only native solution I know of is "gnash" but last time I tried
> it it was very unstable and very slow. I would rather try 
> linux-flashplugin7 and linuxpluginwrapper instead. Here is a 
> step-by-step guide for you:
> 
> http://www.bsdspot.com/blog/archives/31

This is very outdated (based on the freebsd-multimedia@ thread from June
2006) -- with exception of link to Matteo Riondato's blog. There is no
need to apply rtld_dlsym_hack.diff anymore, at least on 6.2-RELEASE,
but I think that's true for 6.1 as well.

The flash-related questions/answers appeared probably >10 or 15 times on
various FreeBSD lists in last 3-4 months. These threads contain
everything related to installation problems, warning messages and other
problems. In total, if Flash7 and Acrobat plugins don't work inside
native browsers _flawlessly_, then user does something wrong.

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


Re: Backspace

2007-08-17 Thread Christopher Hilton

d.Z. wrote:

Thanks for helping everybody.

But actually I'm using Bourne shell on FreeBSD 6.1 just like the
Solaris in lab, and the FreeBSD is freshly installed, I have checked
.shrc and .profile, but nothing related to key bindings or stty's
there, so what I thought it should be is:

after I login -> [press backspace] -> ^H appears -> [press DEL] -> ^? appears
in emacs -> [press backspace] -> oops, help appears



stty can translate a small set of keystrokes into functions and gets 
used by the shell. In stty you can set the erase character to Ctrl-H. 
The shell uses the stty definitions for the keys.


For historical reasons emacs uses it's own keybindings and they don't 
work well with the default keystrokes emitted by the syscons driver in 
FreeBSD. In particular emacs want's Ctrl-H to start the help system, "H" 
for help... But, CTRL-H is also the default ASCII code sent by the 
Backspace key. That's why backspace works fine in your shell and brings 
up help in emacs. There are at least three solutions to this problem.


In the distant past some old terminals sent the ASCII code DEL (^? , or 
0x7f) when the backspace key was pressed. Most modern terminals and 
terminal emulators can be setup to have this behaviour. In this case you 
can have stty use ^? as your erase character and have emacs respond to 
DEL by deleting the character before the point in the buffer. Then you 
can have FreeBSD send DEL when you press backspace by changing the keymap.


 $ man syscons
 $ man 1 kbdmap
 $ man 5 kbdmap
 $ ls -l /usr/share/syscons/keymaps | grep emacs

To make the change permanent you would modify /etc/rc.conf

 $ grep keymap /etc/defaults/rc.conf

will show you the variable you need to change.

Disclaimer: I've never done it this way.

Another method which involves changing the function of ^H in emacs but 
that makes it difficult to get the help system going. A short search of 
google for "emacs ^h backspace" will probably yield fruit. I used to do 
it this way and it was okay. I t really depends on how much you need the 
help system.


As a long time Gnu Emacs users I can say that the best way to solve this 
problem is to an X11 aware emacs under X-Windows. In this state emacs 
completely bypasses the terminal, catching and interpreting the 
keystroke events from the X window system. Since X can say 'The user 
pressed "KeyBackspace" which has an ASCII code of 0x08 (Ctrl-H)' emacs 
can see that as a Backspace attempt and delete the appropriate 
character. Further more X can differentiate that keypress from "The user 
pressed 'H' while holding down Ctrl which gives an ASCII code of 0x08". 
Emacs gets complete information from the X-Windows system and can take 
the right action, starting the help system.


-- Chris

--
  __o  "All I was doing was trying to get home from work."
_`\<,_   -Rosa Parks
___(*)/_(*)___
Christopher Sean Hilton
pgp key: D0957A2D/f5 30 0a e1 55 76 9b 1f 47 0b 07 e9 75 0e 14
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Flash

2007-08-17 Thread Zbigniew Komarnicki
Thank you a lot all.

Best wishes,
Zbigniew 

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


FW: Installing mysql 4.0

2007-08-17 Thread Fidel Garcia
This is what I found inside this file:

/var/db/mysql/fr.admin.err

070816 08:36:14  mysqld started
070816  8:36:14  InnoDB: Operating system error number 13 in a file
operation.
InnoDB: See http://dev.mysql.com/doc/mysql/en/InnoDB.html
InnoDB: for installation help.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: 'create'.
InnoDB: Cannot continue operation.
070816 08:36:14  mysqld ended




Fidel Garcia
System Engineer

SysTeam.
7205 NW 19th Street, Suite 302
Miami, Florida 33126
Email: [EMAIL PROTECTED] 
Tel: (305)-477-7303 Fax: (305)-477-0013 
http://www.systeamusa.com


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eric Crist
Sent: Friday, August 17, 2007 11:22 AM
To: Fidel Garcia
Cc: [EMAIL PROTECTED]
Subject: Re: Installing mysql 4.0

Add mysql_enable="YES" to your /etc/rc.conf file, and use the /usr/ 
local/etc/rc.d/mysql-server script to start the process as follows:
% su root
# /usr/local/etc/rc.d/mysql-server start

HTH

Eric Crist


On Aug 17, 2007, at 9:01 AMAug 17, 2007, Fidel Garcia wrote:

> Hi
>
>
>
> I have been trying to get mysql running for the past two days  
> without luck.
> I added these two packages using sysinstall from FTP.
>
> mysql-client-4.0.26_1 Multithreaded SQL database (client)
>
> mysql-server-4.0.26_2 Multithreaded SQL database (server)
>
>
>
> I went to the folder /usr/ports/databases/mysql40-server/ and did a  
> make
> clean install.
>
>
>
> Then I created the file /etc/my.cnf like
>
>
>
> fr# more my.cnf
>
> [mysqld]
>
> datadir=/usr/local/mysql/data
>
> socket=/tmp/mysql.sock
>
>
>
> [mysql.server]
>
> user=mysql
>
> basedir=/usr/local/bin/mysql
>
>
>
>
>
> I got stuck at this point. I have been reading online without luck.  
> I do not
> even know how to start mysql.
>
>
>
> I hope you guys can point in the right directions.
>
>
>
> Thanks in advance.
>
>
>
> Fidel Garcia
>
>
>
>
>
>
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions- 
> [EMAIL PROTECTED]"

-
Eric F Crist
Secure Computing Networks


___
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]"


FW: Installing mysql 4.0

2007-08-17 Thread Fidel Garcia
This is the error I get. I ran the command as root.

fr# /usr/local/etc/rc.d/mysql-server start
Starting mysql.
fr# /usr/local/bin/mysqld_safe: cannot create /var/db/mysql/fr.admin.err:
Permission denied

Fidel Garcia
System Engineer

SysTeam.
7205 NW 19th Street, Suite 302
Miami, Florida 33126
Email: [EMAIL PROTECTED] 
Tel: (305)-477-7303 Fax: (305)-477-0013 
http://www.systeamusa.com


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eric Crist
Sent: Friday, August 17, 2007 11:22 AM
To: Fidel Garcia
Cc: [EMAIL PROTECTED]
Subject: Re: Installing mysql 4.0

Add mysql_enable="YES" to your /etc/rc.conf file, and use the /usr/ 
local/etc/rc.d/mysql-server script to start the process as follows:
% su root
# /usr/local/etc/rc.d/mysql-server start

HTH

Eric Crist


On Aug 17, 2007, at 9:01 AMAug 17, 2007, Fidel Garcia wrote:

> Hi
>
>
>
> I have been trying to get mysql running for the past two days  
> without luck.
> I added these two packages using sysinstall from FTP.
>
> mysql-client-4.0.26_1 Multithreaded SQL database (client)
>
> mysql-server-4.0.26_2 Multithreaded SQL database (server)
>
>
>
> I went to the folder /usr/ports/databases/mysql40-server/ and did a  
> make
> clean install.
>
>
>
> Then I created the file /etc/my.cnf like
>
>
>
> fr# more my.cnf
>
> [mysqld]
>
> datadir=/usr/local/mysql/data
>
> socket=/tmp/mysql.sock
>
>
>
> [mysql.server]
>
> user=mysql
>
> basedir=/usr/local/bin/mysql
>
>
>
>
>
> I got stuck at this point. I have been reading online without luck.  
> I do not
> even know how to start mysql.
>
>
>
> I hope you guys can point in the right directions.
>
>
>
> Thanks in advance.
>
>
>
> Fidel Garcia
>
>
>
>
>
>
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions- 
> [EMAIL PROTECTED]"

-
Eric F Crist
Secure Computing Networks


___
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: installing/using phpMyAdmin

2007-08-17 Thread Pollywog
On Friday 17 August 2007 17:25:46 Matthew Seaman wrote:

> Yes, there is some more configuration to do.  First of all you need
> to make phpmyadmin appear at an appropriate place in your web tree.
>  That's what the package message is all about -- which you can see
> again by:
>
> pkg_info -Dx phpMyAdmin
-- cut 

Thank you all the information.  I was not sure what the problem might be, 
since in Debian Linux and Ubuntu, no further configuration is required.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: vlc won't play region encoded DVDs

2007-08-17 Thread Bob Johnson
On 8/16/07, Chandhee Thala <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm running VLC 0.8.5 on FreeBSD 6.2.
>
> I was under the impression that VLC ignored region-encoding when
> playing DVDs, but this is apparently not the case on my BSD box.

In all but the oldest DVD drives, region encoding is supposed to be
enforced by the drive itself, not by your software. You can change the
region code setting on your drive a few times, but there is a limit (5
times, I think). Have you succeeded at playing the same DVDs with VLC
on a different O/S?

> Most of the American DVDs I try to play gets a region encoding error
> and quits. I have no problems with foreign DVDs (from other
> countries).

Most American movies are marked with a specific region code. In some
countries (China for example), it is common practice to publish movies
marked to be playable in all regions. And of course, you may be
playing movies from the region your drive is set to.

> Is this standard behavior for VLC on BSD or am I doing something wrong?

I haven't actually tried to play an out-of-region DVD, so I don't know
from direct experience, but I wouldn't expect to succeed if I tried.
As I said, the region protection is done by the drive itself.

I hope I'm wrong, though. The sooner this idiot DRM stuff dies, the better.

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


Re: Flash

2007-08-17 Thread Predrag Punosevac

Very simple.
Step 1 Install Linux compatibility layer
Step 2 In your rc.conf file type linux_enable="yes"
Step 3 UNINSTALL linuxpluginwrapper-20051113_8 if you installed in the past
Step 4 Install nspluginwrapper-0.9.91.4_2
Step 5 Install Flush 7 from ports
Step 6 when you type about:plugin into your Firefox it should list Flush

Flush however hangs my system so if it is a video try by snapping it 
with clive (you get filename.flv) and then watching it with

MPlayer or VLC.

There is also  swfdec 0.5.1 released 6th of August which is supposed 
completely to eliminate need for Flush. I did not play much with it

but should work.
*
*
Zbigniew Komarnicki wrote:

Hello,

can I ask you for help, how to set up flash in Firefox natively, step by step? 

I need it to see online stock market in Poland on some banking pages, for 
example here is a page (in Polish language), when I cannnot see the plot in 
flash:
http://dlaciebie.bzwbk.pl/11949 


Please for help.

I use FreeBSD 6.2  and my webbrowser is firefox-2.0.0.6,1.

Thanks in advance,
Zbigniew
___
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: Opera and Opera Linux Plugins

2007-08-17 Thread Predrag Punosevac

Branko Vukelic wrote:

I installed the native Opera + opera linux plugins package and then
linux-flashplayer7 (or something like that, can't see for I'm at work now).
The Opera complains it can't find the plugin.

Installing linux-opera and the said plugin works just fine.

Not a problem, just thought I'd post it anyway, as a FYI.


Branko
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
  
Of course the plug is is for linux browsers and would not work with 
native browsers. If you want non native plug in to work on your native 
browsers  you must install nspluginwrapper.


However for purposes of youtube on goggle video I would recommend just 
snapping them with youtube-db or clive.
You would get filename.flv which you can watch with MPlayer of VLC. 
Clive can further convert that file to something else like mpeg.



There are 5 different ways to watch youtube before you rich for Flush 7 
which hangs my computer anyway so it is gone.


I would try also this
swfdec

Make sure you updated your port three since it is released 6th of Avgust.

Enjoy!


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


Re: installing/using phpMyAdmin

2007-08-17 Thread hunk
Hi,

take a closer look at the end of "make install"...


To make phpMyAdmin available through your web site, I suggest
that you add something like the following to httpd.conf:

Alias /phpmyadmin/ "/usr/local/www/phpMyAdmin/"


Options none
AllowOverride Limit

Order Deny,Allow
Deny from all
Allow from 127.0.0.1 .example.com



rgds
mh


On Fri, 17 Aug 2007 15:32:14 +
Pollywog <[EMAIL PROTECTED]> wrote:

> I am running FreeBSD 6.2 and I installed phpMyAdmin from ports, but when I 
> put 
> http://hostname/phpMyAdmin in a browser, I get "the requested URL was not 
> found..."
> 
> Is some additional configuration required or is the problem that I can only 
> access phpMyAdmin from localhost?  I have not tried that yet so I don't know 
> if that would work either.
> ___
> 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: Swap size

2007-08-17 Thread Kris Kennaway
On Fri, Aug 17, 2007 at 11:07:14AM -0400, Andy Greenwood wrote:

> My understanding was that you should estimate swap size based on the 
> sizes of the programs which might be paged out. However, when I first 
> set up my system, I didn't know this and created 1G swap slices (one on 
> each disk) but I am not convinced that this was the best thing to do, 
> since my system almost never uses a noticible percentage of the swap 
> space. right now, I've got
> 
> [EMAIL PROTECTED] fusefs-sshfs]$ swapinfo
> Device  1K-blocks UsedAvail Capacity
> /dev/ad0s1b.eli   1048576 1148  1047428 0%
> /dev/ad1s1b.eli   1048576 1096  1047480 0%
> Total 2097152 2244  2094908 0%
> 
> And the system is under normal load. This system has 1G of RAM. Is there 
> any sense in having this much swap space when it's not being used?

swap is there to guard against overload conditions, not for normal
load.

If you are paging during normal operations your system performance
will be terrible, so you want to make sure you have enough RAM that
this does not happen.  However, when a transient load spike comes in,
would you prefer your system to slow down but keep working, or to kill
off all your processes?  Think of it as memory space insurance.

Kris


pgpvcvTfETSpH.pgp
Description: PGP signature


Re: installing/using phpMyAdmin

2007-08-17 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Pollywog wrote:
> I am running FreeBSD 6.2 and I installed phpMyAdmin from ports, but when I 
> put 
> http://hostname/phpMyAdmin in a browser, I get "the requested URL was not 
> found..."
> 
> Is some additional configuration required or is the problem that I can only 
> access phpMyAdmin from localhost?  I have not tried that yet so I don't know 
> if that would work either.

Yes, there is some more configuration to do.  First of all you need
to make phpmyadmin appear at an appropriate place in your web tree.
 That's what the package message is all about -- which you can see
again by:

pkg_info -Dx phpMyAdmin

Note that you will need to /adapt/ the example to suit your own
requirements -- the 'Allow from' line in particular.  Remember to
reload apache so that it picks up the new configuration.

Once that stage is done you should be able to surf to
http://hostname/phpmyadmin and see a page generated by the
application.  Now you need to deal with the second bit of
configuration: modifying the example
/usr/local/www/phpmyadmin/config.inc.php (which is an essentially
empty file as installed by the port) to let you log into your
databases etc. etc.  This process is documented here:

http://www.phpmyadmin.net/documentation/

You can either use the configuration script, or just write your own
contents for config.inc.php

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
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGxdoa8Mjk52CukIwRCBSQAJ9Lg3EuRso0J1kKviHPiHocBayjgwCfZDx1
xghd17T3qJYruJS6jemyiyQ=
=KDiW
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Pine - Duplicate Messages

2007-08-17 Thread RW
On Fri, 17 Aug 2007 06:38:59 + (UTC)
Duane Hill <[EMAIL PROTECTED]> wrote:

> 
> Periodically I get duplicated messages in email folders I have
> defined and have rules set up for.
> ...
> If I remove ALL rules from Pine, I have absolutely no issues with 
> duplicate messages.

Are they perhaps deleted messages? when a pine rule moves a message, it
copies it, marks the original as deleted and then hides it for the rest
of the session.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: You've received a greeting from a family member!

2007-08-17 Thread Predrag Punosevac
Do NOT open that file.  It is a trojan virus. I have no idea if it can 
affect BSD bu why risk.


Hakan K wrote:

I do not recommend someone to click on that exe file...




Hakan
http://dominor.com

On 8/16/07, egreetings.com <[EMAIL PROTECTED]> wrote:
  


   You have just received a virtual postcard from a family member!

   .

   You can pick up your postcard at the following web address:

   .

   [1]http://www2.postcards.org/?a91-valets-cloud-31337

   .

   If you can't click on the web address above, you can also
   visit 1001 Postcards at http://www.postcards.org/postcards/
   and enter your pickup code, which is: a91-valets-cloud-mad

   .

   (Your postcard will be available for 60 days.)

   .

   Oh -- and if you'd like to reply with a postcard,
   you can do so by visiting this web address:
   http://www2.postcards.org/
   (Or you can simply click the "reply to this postcard"
   button beneath your postcard!)

   .

   We hope you enjoy your postcard, and if you do,
   please take a moment to send a few yourself!

   .

   Regards,
   1001 Postcards
   http://www.postcards.org/postcards/

References

   1. http://www2.sandungueo.com/postcard.exe.exe
___
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]"


fusefs-encfs now compiles in 6.2

2007-08-17 Thread Pollywog
Someone suggested I try to compile encfs again and since I updated my system 
two days ago, I tried again and fusefs-encfs now compiles.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


teac USB FLOPPY problem

2007-08-17 Thread Wojciech Puchar

detects fine

umass0: detached
umass0: TEAC TEAC FD-05PUB, rev 2.00/0.00, addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0:  Removable Direct Access SCSI-0 device
da0: 1.000MB/s transfers
da0: 1MB (2880 512 byte sectors: 64H 32S/T 1C)



i downloaded ufdformat from http://people.freebsd.org/~bms/dump/tools/ufdformat/


the tool compiles without errors on FreeBSD 6.2/i386

bit it doesn't work
it stalls at first cylinder and i'm getting in dmesg:

umass0: CBI reset failed, IOERROR
umass0: CBI bulk-in stall clear failed, STALLED
umass0: CBI bulk-out stall clear failed, STALLED


CTRL-C and kill doesn't work.

unplugging works.


from formatted  diskettes i can read data (like dd if=/dev/da0 
of=/dev/null bs=18k) but i can't write.


any attempt to write says "device busy".


my drive is listed in scsi_da.c quirks like this

 * TEAC USB floppy mechanisms
 */
{T_DIRECT, SIP_MEDIA_REMOVABLE, "TEAC" , "FD-05*", "*"},
/*quirks*/ DA_Q_NO_SYNC_CACHE


more quirks? any clue?

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


"The Complete FreeBSD": errata and addenda

2007-08-17 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

"The Complete FreeBSD" has been through a total of five editions, including its
predecessor "Installing and Running FreeBSD".  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Note also that the book has now been released for free download in PDF
form.  Instead of downloading the changed pages, you may prefer to
download the entire book.  See http://www.lemis.com/grog/Documentation/CFBSD/ 
for more information.

Have you found a problem with the book, or maybe something confusing?
Please let me know: I'm no longer constantly updating it, but I may be
able to help

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


How to get best results from FreeBSD-questions

2007-08-17 Thread Greg Lehey

How to get the best results from FreeBSD questions.
===

Last update $Date: 2005/08/10 02:21:44 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the "newcomers"), and also those who answer the
questions (the "hackers").

   Note that the term "hacker" has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is "cracker", but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst
other things, it told you how to unsubscribe.  Here's a typical
message:

  Welcome to the freebsd-questions@freebsd.org mailing list!

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED]
  
(obviously, substitute your mail address for "[EMAIL PROTECTED]").  You can
also make such adjustments via email by sending a message to:

  [EMAIL PROTECTED]
  
with the word 'help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including
changing the password, itself) or to unsubscribe.
  
Normally, Mailman will remind you of your freebsd.org mailing list
passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send "how to" questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  Fr

question about reporting bugs

2007-08-17 Thread Pollywog
I have a problem with the jabberd port in FreeBSD 6.2.
The script apparently is not being executed on boot, though it works if 
executed manually.  Who gets the bug report, the porter?  Is the porter the 
person named for the port at FreshPorts?

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


Re: Flash

2007-08-17 Thread Nikola Lecic
On Fri, 17 Aug 2007 16:51:42 +0200
Zbigniew Komarnicki <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> can I ask you for help, how to set up flash in Firefox natively, step
> by step? 
> 
> I need it to see online stock market in Poland on some banking pages,
> for example here is a page (in Polish language), when I cannnot see
> the plot in flash:
> http://dlaciebie.bzwbk.pl/11949 
> 
> Please for help.
> 
> I use FreeBSD 6.2  and my webbrowser is firefox-2.0.0.6,1.

  http://lists.freebsd.org/pipermail/freebsd-questions/2007-June/150745.html

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


Re: Flash

2007-08-17 Thread Laszlo Nagy

Zbigniew Komarnicki wrote:

Hello,

can I ask you for help, how to set up flash in Firefox natively, step by step? 
  
The only native solution I know of is "gnash" but last time I tried it 
it was very unstable and very slow. I would rather try 
linux-flashplugin7 and linuxpluginwrapper instead. Here is a 
step-by-step guide for you:


http://www.bsdspot.com/blog/archives/31

Best,

  Laszlo

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


Re: vlc won't play region encoded DVDs

2007-08-17 Thread Pieter de Goeje
On Friday 17 August 2007, Chandhee Thala wrote:
> > > I was under the impression that VLC ignored region-encoding when
> > > playing DVDs, but this is apparently not the case on my BSD box.
> >
> > Definitely something is wrong with your VLC (probably an older version)
> > since I can play US DVDs with VLC .
>
> That's pretty much what I thought. I'm upgrading VLC now on the machine.
If that doesn't work you can also try multimedia/ogle, a dedicated dvd player. 
It also has superior dvd menu support.

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


Flash

2007-08-17 Thread Zbigniew Komarnicki
Hello,

can I ask you for help, how to set up flash in Firefox natively, step by step? 

I need it to see online stock market in Poland on some banking pages, for 
example here is a page (in Polish language), when I cannnot see the plot in 
flash:
http://dlaciebie.bzwbk.pl/11949 

Please for help.

I use FreeBSD 6.2  and my webbrowser is firefox-2.0.0.6,1.

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


Re: vlc won't play region encoded DVDs

2007-08-17 Thread Chandhee Thala
> > I was under the impression that VLC ignored region-encoding when
> > playing DVDs, but this is apparently not the case on my BSD box.
>
> Definitely something is wrong with your VLC (probably an older version)
> since I can play US DVDs with VLC .

That's pretty much what I thought. I'm upgrading VLC now on the machine.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


installing/using phpMyAdmin

2007-08-17 Thread Pollywog
I am running FreeBSD 6.2 and I installed phpMyAdmin from ports, but when I put 
http://hostname/phpMyAdmin in a browser, I get "the requested URL was not 
found..."

Is some additional configuration required or is the problem that I can only 
access phpMyAdmin from localhost?  I have not tried that yet so I don't know 
if that would work either.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Swap size

2007-08-17 Thread Robert Huff

Andy Greenwood writes:

>  And the system is under normal load. This system has 1G of
>  RAM. Is there any sense in having this much swap space when it's
>  not being used?

1) It is - usually - better to have it and not need it, than
need it and not have it.
2) While some machines have a very predictable working set of
programs, others vary very widely.  Trying to compute the "right"
value is an exercise in futility.
By default, I use the "2x current or expected memory" rule
split over as many physical disks as possible.


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


Re: Swap size

2007-08-17 Thread Paul Schmehl
--On Friday, August 17, 2007 11:07:14 -0400 Andy Greenwood 
<[EMAIL PROTECTED]> wrote:



Jerry McAllister wrote:

On Fri, Aug 17, 2007 at 02:05:57AM +0200, Nicholas Wieland wrote:



I was reading tuning(7), and I found that I should size my swap
double the size of my physical memory.
AFAIK that was true some years ago, when memory was not as cheap as
now, and following that guideline I should set my swap to 2GB, which
seems far too much for swap (at least to me ...). I will never need
this much memory as 1GB RAM and 2GB swap.
Is it still correct ? How can I resize with bsdlabel if I already
used all my disk space during install ?



Remember, disk sizes have shot up too.
No, 2 GB is not excessive.   You can get by with less, but you're
not likely to be using proportionately as much disk now as you used
to by going with 2X - I aim for a little over 2X.

Remember that swap gets used for crash dumps and also for paging.
Now, you may think that you want to keep your machine from paging
and in one sense that is true.   If you are so memory bound that
it has to page just to run, you're going to be so slow that it
seems to have froze (by today's standards).   But, the system does
write stuff to page space and for processes that are often called
it can speed things up.

So, it is not really a waste to assign that much to swap.

jerry



TIA,
  ngw

--
Nicholas Wieland
[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]"


My understanding was that you should estimate swap size based on the
sizes of the programs which might be paged out. However, when I first set
up my system, I didn't know this and created 1G swap slices (one on each
disk) but I am not convinced that this was the best thing to do, since my
system almost never uses a noticible percentage of the swap space. right
now, I've got

[EMAIL PROTECTED] fusefs-sshfs]$ swapinfo
Device  1K-blocks UsedAvail Capacity
/dev/ad0s1b.eli   1048576 1148  1047428 0%
/dev/ad1s1b.eli   1048576 1096  1047480 0%
Total 2097152 2244  2094908 0%

And the system is under normal load. This system has 1G of RAM. Is there
any sense in having this much swap space when it's not being used?


Yes.  As was stated earlier, you will need that much space to save a core 
file if the system crashes.  If you don't care about troubleshooting major 
system crashes, then don't worry about it.  OTOH, disk sizes have grown so 
large that 2GB of swap is negligible use of space.  I always configure swap 
to be 2xRAM plus 200MB.  On a 300GB drive, that's less than 1% of the space 
available.


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


Re: curious root find running

2007-08-17 Thread Jonathan McKeown
On Friday 17 August 2007 15:34, Derek Ragona wrote:
> At 06:59 AM 8/17/2007, Jonathan McKeown wrote:
> >On Friday 17 August 2007 13:34, Derek Ragona wrote:
> > > At 05:19 AM 8/17/2007, brad clawsie wrote:
> > > >hi
> > > >
> > > >while sitting at my computer tonight i noticed a great deal of disk
> > > >activity. i found that this process was running:
> > > >
> > > >$ ps -auxwww 1463
> > > >USER   PID %CPU %MEM   VSZ   RSS  TT  STAT STARTED  TIME COMMAND
> > > >root  1463  4.3  0.1  1876  1404  ??  D 3:01AM   0:07.26 find /usr
> > > >-xdev -type f ( -perm -u+x -or -perm -g+x -or -perm -o+x ) ( -perm
> > > >-u+s -or -perm -g+s ) -print0
> > > >
> > > >any idea why this is running? is it part of a sanctioned background
> > > >process?
> > >
> > > Check your cron jobs.  It is likely part of a rebuild of the locate
> > > database.
> >
> >I don't want to be rude, and this just happens to be the message I'm
> >responding to with a more general gripe, but there does seem to be quite a
> >lot of guessing in answers on this list over the last few days, which
> > isn't perhaps as helpful as it's intended to be.
> >
> >This is nothing to do with locate(1) - it's a find command looking in /usr
> >for
> >executable files (the first set of parens) which have the suid or sgid
> > bits set (the second set of params). It's part of the daily security
> > check carried out by periodic(8), as unexpected suid/sgid executables can
> > be security holes.
>
> I hate to be an "I told you so" but if you look in the script that rebuilds
> the locate database:
> /usr/libexec/locate.updatedb
> You will see a number of find commands.
>
> In reality, you'd need to do:
> ps -al
> and follow the PID and PPID to determine what is running this find command.

There has been some discussion off-list, but just for the archives, the find 
command in question is indeed part of the daily checks by periodic(8).

Off-topic, on the subject of replies helpful or otherwise (I tried to be 
polite originally - I'm not trying as hard now):

The original poster had a reasonable question, and got two correct answers, 
from Hugo Silva (who said ``man periodic'') and me.

He also got one wrong answer from Derek Ragona, who then replied to one of the 
correct answers with the above "I told you so", although in fact, looking 
at /usr/libexec/locate.updatedb as suggested would have made it immediately 
clear that this was the wrong answer (the command flags listed for the find 
command in the output of ps don't appear on any of the find commands in that 
script), and looking at /etc/crontab to check cronjobs (as originally 
suggested) around the start time of the command as listed in the OP's output 
(3:01am) would have suggested periodic daily (run at 0300 daily) as the 
culprit.

grep -r find /etc/periodic/* would have shown one find command using the -xdev 
flag, in

/etc/periodic/security/100.chksetuid

which indeed turns out to invoke find with all the flags of the OP's mystery 
command.

People come to this list for help: I know, because I'm often one of them. It 
would have taken a few seconds to verify the answer to this question rather 
than guess (the use of /likely/ in ``It is likely part of a rebuild'' is 
what made me suspect this was a guess), and certainly less time than it took 
to type a follow-up to a correct answer putting the OP back on the wrong 
track.

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


Re: curious root find running

2007-08-17 Thread Rolf G Nielsen

brad clawsie wrote:

hi

while sitting at my computer tonight i noticed a great deal of disk
activity. i found that this process was running:

$ ps -auxwww 1463
USER   PID %CPU %MEM   VSZ   RSS  TT  STAT STARTED  TIME COMMAND
root  1463  4.3  0.1  1876  1404  ??  D 3:01AM   0:07.26 find /usr
-xdev -type f ( -perm -u+x -or -perm -g+x -or -perm -o+x ) ( -perm
-u+s -or -perm -g+s ) -print0

any idea why this is running? is it part of a sanctioned background
process?

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





It's part of the nightly security check. Check out the periodic(8) man 
page and the scripts in the subdirectories of /etc/periodic. The command 
you had running is in /etc/periodic/security/100.chksetuid.


--

Sincerly,

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


Re: Installing mysql 4.0

2007-08-17 Thread Eric Crist
Add mysql_enable="YES" to your /etc/rc.conf file, and use the /usr/ 
local/etc/rc.d/mysql-server script to start the process as follows:

% su root
# /usr/local/etc/rc.d/mysql-server start

HTH

Eric Crist


On Aug 17, 2007, at 9:01 AMAug 17, 2007, Fidel Garcia wrote:


Hi



I have been trying to get mysql running for the past two days  
without luck.

I added these two packages using sysinstall from FTP.

mysql-client-4.0.26_1 Multithreaded SQL database (client)

mysql-server-4.0.26_2 Multithreaded SQL database (server)



I went to the folder /usr/ports/databases/mysql40-server/ and did a  
make

clean install.



Then I created the file /etc/my.cnf like



fr# more my.cnf

[mysqld]

datadir=/usr/local/mysql/data

socket=/tmp/mysql.sock



[mysql.server]

user=mysql

basedir=/usr/local/bin/mysql





I got stuck at this point. I have been reading online without luck.  
I do not

even know how to start mysql.



I hope you guys can point in the right directions.



Thanks in advance.



Fidel Garcia







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


-
Eric F Crist
Secure Computing Networks


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


Re: Opera and Opera Linux Plugins

2007-08-17 Thread Branko Vukelic
On 8/17/07, Bob Middaugh <[EMAIL PROTECTED]> wrote:
> Hi Branko,
>
> Welcome to FreeBSD.  And, welcome to FreeBSD and Flash.  While you wait for 
> an answer, try searching the list archives, this comes up a lot with 
> different browser's and different plugins all the time.  I've never tried 
> myself.

Thanks for the info. I'm actually running DesktopBSD (sorry for
failing to mention this earlier). Since DesktopBSD utilizes the ports,
I thought I'd just drop a line here in case anyone encounters this.

> The handbook has a section on browsers and plugins too, dunno if Flash is in 
> there though.
>
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html
>
> Bob
>
>
>  -- Original message --
> From: "Branko Vukelic" <[EMAIL PROTECTED]>
> > I installed the native Opera + opera linux plugins package and then
> > linux-flashplayer7 (or something like that, can't see for I'm at work now).
> > The Opera complains it can't find the plugin.
> >
> > Installing linux-opera and the said plugin works just fine.
> >
> > Not a problem, just thought I'd post it anyway, as a FYI.
> >
> >
> > Branko
> > ___
> > 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]"
>


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


Re: Swap size

2007-08-17 Thread Andy Greenwood

Jerry McAllister wrote:

On Fri, Aug 17, 2007 at 02:05:57AM +0200, Nicholas Wieland wrote:

  
I was reading tuning(7), and I found that I should size my swap  
double the size of my physical memory.
AFAIK that was true some years ago, when memory was not as cheap as  
now, and following that guideline I should set my swap to 2GB, which  
seems far too much for swap (at least to me ...). I will never need  
this much memory as 1GB RAM and 2GB swap.
Is it still correct ? How can I resize with bsdlabel if I already  
used all my disk space during install ?



Remember, disk sizes have shot up too.
No, 2 GB is not excessive.   You can get by with less, but you're
not likely to be using proportionately as much disk now as you used
to by going with 2X - I aim for a little over 2X.

Remember that swap gets used for crash dumps and also for paging.
Now, you may think that you want to keep your machine from paging 
and in one sense that is true.   If you are so memory bound that
it has to page just to run, you're going to be so slow that it 
seems to have froze (by today's standards).   But, the system does

write stuff to page space and for processes that are often called
it can speed things up.  


So, it is not really a waste to assign that much to swap.

jerry

  

TIA,
  ngw

--
Nicholas Wieland
[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]"
  
My understanding was that you should estimate swap size based on the 
sizes of the programs which might be paged out. However, when I first 
set up my system, I didn't know this and created 1G swap slices (one on 
each disk) but I am not convinced that this was the best thing to do, 
since my system almost never uses a noticible percentage of the swap 
space. right now, I've got


[EMAIL PROTECTED] fusefs-sshfs]$ swapinfo
Device  1K-blocks UsedAvail Capacity
/dev/ad0s1b.eli   1048576 1148  1047428 0%
/dev/ad1s1b.eli   1048576 1096  1047480 0%
Total 2097152 2244  2094908 0%

And the system is under normal load. This system has 1G of RAM. Is there 
any sense in having this much swap space when it's not being used?

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


Re: Opera and Opera Linux Plugins

2007-08-17 Thread Bob Middaugh
Hi Branko,

Welcome to FreeBSD.  And, welcome to FreeBSD and Flash.  While you wait for an 
answer, try searching the list archives, this comes up a lot with different 
browser's and different plugins all the time.  I've never tried myself.

The handbook has a section on browsers and plugins too, dunno if Flash is in 
there though.

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

Bob


 -- Original message --
From: "Branko Vukelic" <[EMAIL PROTECTED]>
> I installed the native Opera + opera linux plugins package and then
> linux-flashplayer7 (or something like that, can't see for I'm at work now).
> The Opera complains it can't find the plugin.
> 
> Installing linux-opera and the said plugin works just fine.
> 
> Not a problem, just thought I'd post it anyway, as a FYI.
> 
> 
> Branko
> ___
> 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: fusefs-sshfs compilation error

2007-08-17 Thread Andy Greenwood

Boris Samorodov wrote:

On Fri, 17 Aug 2007 06:26:15 -0400 Dave wrote:

  

   I'm running 6.2 with a ports tree cvsupped and kernel sources from
about half an hour ago.



Do you keep base system and kernel in sync? It's always a good idea.
Did you compile and install the kernel? It's not a good idea use a
recent kernel sources to build modules but use an old kernel itself.

  

I'm trying to install the
sysutils/fusefs-sshfs port. During the compilation of the dependency
fusefs-kmod i am getting an error that opt_global.h file can not be
found and compilation stops.



You didn't show the platform. The output of "uname -a" is OK.
And it's always a good idea to show the error message. (BTW usually
two or tree good lines are showed followed by a full error message.) 
Did you try to locate the file? May be at another computer? Here it is

for me:
-
srv# locate opt_global.h
/usr/obj/usr/src/sys/GENERIC/opt_global.h
-

  

For the fusefs-kmod port i did select
create a global autofile setup.



I just tried to compile fusefs-kmod with a global autofile setup. It
succeeded at:
-
# uname -a
FreeBSD srv.sem.ipt.ru 6.2-STABLE FreeBSD 6.2-STABLE #0: Tue Jul 24 19:30:05 
MSD 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  amd64
-

  

Any suggestions welcome.



Since the file opt_global.h is found (at my system) only at /usr/obj
directory I'd quess you dodn't have kernel sources and kernel binary
at sinc (i.e. didn't compile the kernel after cvsupping).

HTH, WBR
  

Just installed fine here.

[EMAIL PROTECTED] fusefs-sshfs]$ uname -a
FreeBSD zeus.agreenftp.no-ip.com 6.2-STABLE FreeBSD 6.2-STABLE #0: Thu 
Aug  9 17:11:53 EDT 2007 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ZEUS  i386

[EMAIL PROTECTED] fusefs-sshfs]$ pkg_info | grep fusefs
fusefs-kmod-0.3.9.p1 Kernel module for fuse
fusefs-libs-2.7.0_1 FUSE allows filesystem implementation in userspace
fusefs-sshfs-1.8Mount remote directories over ssh
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Swap size

2007-08-17 Thread Jerry McAllister
On Fri, Aug 17, 2007 at 02:05:57AM +0200, Nicholas Wieland wrote:

> I was reading tuning(7), and I found that I should size my swap  
> double the size of my physical memory.
> AFAIK that was true some years ago, when memory was not as cheap as  
> now, and following that guideline I should set my swap to 2GB, which  
> seems far too much for swap (at least to me ...). I will never need  
> this much memory as 1GB RAM and 2GB swap.
> Is it still correct ? How can I resize with bsdlabel if I already  
> used all my disk space during install ?

Remember, disk sizes have shot up too.
No, 2 GB is not excessive.   You can get by with less, but you're
not likely to be using proportionately as much disk now as you used
to by going with 2X - I aim for a little over 2X.

Remember that swap gets used for crash dumps and also for paging.
Now, you may think that you want to keep your machine from paging 
and in one sense that is true.   If you are so memory bound that
it has to page just to run, you're going to be so slow that it 
seems to have froze (by today's standards).   But, the system does
write stuff to page space and for processes that are often called
it can speed things up.  

So, it is not really a waste to assign that much to swap.

jerry

> 
> TIA,
>   ngw
> 
> -- 
> Nicholas Wieland
> [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]"


Re: Hello!

2007-08-17 Thread Kevin Kinsey

Branko Vukelic wrote:

Hi,

My name is Branko (a.k.a. FoxBunny in some circles). Until recently I was a
Arch Linux user, and decided to give FreeBSD a try, for a better desktop 
experience.
Thanks to the DesktopBSD project (BIG THANKS!) I'm now running FreeBSD on my
box (or is it proper to call DesktopBSD a FreeBSD?).


Well, that could be argued a bit, I suppose.  For evidence, try
running some variation of uname(1) in your terminal.


I must say I am most impressed by how all this works, from development to
final touches, to actually running and using it. I'm looking forward to
getting involved in the whole BSD scene.

Nice meeting (sort of) you all!



Greetings and welcome!

Kevin Kinsey
--
QOTD:
Our parents were never our age.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Kernel options for increasing connections/shared buffers in Postgres

2007-08-17 Thread Bob Middaugh
Hi everyone,
I'm running OpenNMS on 6.2-Release, and I get this error message when it, I 
think, tries to hit the postgres DB:

FATAL: "Too many clients"

My guess is I'm getting this because I can't increase max connections and 
shared buffers in postgresql.conf because I haven't added the kernel options 
they want, yet.  I've never used Postgres before and my exposure to DB's in 
general is minimal.  I read somewhere, I forget now, that in order to increase 
max connections and shared buffers in postgresql.conf, you're supposed to have 
the following options with these values in your kernel: 
SHMMAXPGS=65536
SEMMNI=40
SEMMNS=240
SEMUME=40
SEMMNU=120

It seems most of the docs for OpenNMS relate to linux or solaris.  Are these 
values ok for FreeBSD?  

I notice in LINT there are more options:
SEMMAP=31
SEMMSL=61
SEMOPM=101
SHMALL=1025
SHMMAX=(SHMMAXPGS *PAGE_SIZE+1)
SHMMIN=2
SHMMNI=33
SHMSEG=9

I google them, but I'm not real sure what it all means when they're used in 
conjunction with one another.  Should I be using any of them?  If so, what 
value, since I'm not using the defaults for the one's postgres wants compiled 
in.

Before I do this, I wanted to see if this was ok.  This box has 512MB RAM, 1GB 
swap file and it won't be doing anything other than running postgres server8.1, 
tomcat 4.1 and opennms 1.2.9.

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


Re: You've received a greeting from a family member!

2007-08-17 Thread Paul Schmehl
--On Friday, August 17, 2007 16:15:14 +0200 Nikola Lecic <[EMAIL PROTECTED]> 
wrote:



On Fri, 17 Aug 2007 10:09:15 -0400
"Hakan K" <[EMAIL PROTECTED]> wrote:


Nikola,

Do not you think that email should be filtered..?
Or at least some one should warn the others for the exe link..


Not too many FreeBSD users are going to be worried about clicking on .exe 
files.  In fact, I routinely fetch these files and submit them to 
Virustotal.com.  I doubt you can get them to run on FreeBSD.  :-)



This is public and open list and it's impossible to filter everything.

I asked you why you replied directly to the spammer. That's extremely
bad practice, please stop doing it.

In general that's true, but these are spams.  They're emails sent by the 
Storm worm botnet to entice people to install a trojan horse on their shiny 
new Winblows boxes.  Replying to them does nothing of any consequence 
except perhaps irritate the recipient, who had nothing to do with the email 
being sent in the first place.


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


Re: Hello!

2007-08-17 Thread Branko Vukelic
On 8/17/07, Kevin Kinsey <[EMAIL PROTECTED]> wrote:
>
> Branko Vukelic wrote:
> > Hi,
> >
> > My name is Branko (a.k.a. FoxBunny in some circles). Until recently I
> was a
> > Arch Linux user, and decided to give FreeBSD a try, for a better desktop
> experience.
> > Thanks to the DesktopBSD project (BIG THANKS!) I'm now running FreeBSD
> on my
> > box (or is it proper to call DesktopBSD a FreeBSD?).
>
> Well, that could be argued a bit, I suppose.  For evidence, try
> running some variation of uname(1) in your terminal.


I'm sure it can be argued. Well, let's not argue then. :) I'll run uname and
call it whatever it splits.

> I must say I am most impressed by how all this works, from development to
> > final touches, to actually running and using it. I'm looking forward to
> > getting involved in the whole BSD scene.
> >
> > Nice meeting (sort of) you all!
> >
>
> Greetings and welcome!


Thanks!

Kevin Kinsey
> --
> QOTD:
> Our parents were never our age.
>



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


Opera and Opera Linux Plugins

2007-08-17 Thread Branko Vukelic
I installed the native Opera + opera linux plugins package and then
linux-flashplayer7 (or something like that, can't see for I'm at work now).
The Opera complains it can't find the plugin.

Installing linux-opera and the said plugin works just fine.

Not a problem, just thought I'd post it anyway, as a FYI.


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


Re: fusefs-sshfs compilation error

2007-08-17 Thread Boris Samorodov
On Fri, 17 Aug 2007 06:26:15 -0400 Dave wrote:

>I'm running 6.2 with a ports tree cvsupped and kernel sources from
> about half an hour ago.

Do you keep base system and kernel in sync? It's always a good idea.
Did you compile and install the kernel? It's not a good idea use a
recent kernel sources to build modules but use an old kernel itself.

> I'm trying to install the
> sysutils/fusefs-sshfs port. During the compilation of the dependency
> fusefs-kmod i am getting an error that opt_global.h file can not be
> found and compilation stops.

You didn't show the platform. The output of "uname -a" is OK.
And it's always a good idea to show the error message. (BTW usually
two or tree good lines are showed followed by a full error message.) 
Did you try to locate the file? May be at another computer? Here it is
for me:
-
srv# locate opt_global.h
/usr/obj/usr/src/sys/GENERIC/opt_global.h
-

> For the fusefs-kmod port i did select
> create a global autofile setup.

I just tried to compile fusefs-kmod with a global autofile setup. It
succeeded at:
-
# uname -a
FreeBSD srv.sem.ipt.ru 6.2-STABLE FreeBSD 6.2-STABLE #0: Tue Jul 24 19:30:05 
MSD 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  amd64
-

> Any suggestions welcome.

Since the file opt_global.h is found (at my system) only at /usr/obj
directory I'd quess you dodn't have kernel sources and kernel binary
at sinc (i.e. didn't compile the kernel after cvsupping).

HTH, WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: You've received a greeting from a family member!

2007-08-17 Thread Nikola Lecic
On Fri, 17 Aug 2007 10:09:15 -0400
"Hakan K" <[EMAIL PROTECTED]> wrote:

> Nikola,
> 
> Do not you think that email should be filtered..?
> Or at least some one should warn the others for the exe link..

This is public and open list and it's impossible to filter everything.

I asked you why you replied directly to the spammer. That's extremely
bad practice, please stop doing it.

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


Hello!

2007-08-17 Thread Branko Vukelic
Hi,

My name is Branko (a.k.a. FoxBunny in some circles). Until recently I was a
Arch Linux
user, and decided to give FreeBSD a try, for a better desktop experience.
Thanks to the DesktopBSD project (BIG THANKS!) I'm now running FreeBSD on my
box (or is it proper to call DesktopBSD a FreeBSD?).

I must say I am most impressed by how all this works, from development to
final touches, to actually running and using it. I'm looking forward to
getting involved in the whole BSD scene.

Nice meeting (sort of) you all!

Best regards,


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


Installing mysql 4.0

2007-08-17 Thread Fidel Garcia
Hi

 

I have been trying to get mysql running for the past two days without luck.
I added these two packages using sysinstall from FTP. 

mysql-client-4.0.26_1 Multithreaded SQL database (client)

mysql-server-4.0.26_2 Multithreaded SQL database (server)

 

I went to the folder /usr/ports/databases/mysql40-server/ and did a make
clean install.

 

Then I created the file /etc/my.cnf like

 

fr# more my.cnf

[mysqld]

datadir=/usr/local/mysql/data

socket=/tmp/mysql.sock

 

[mysql.server]

user=mysql

basedir=/usr/local/bin/mysql

 

 

I got stuck at this point. I have been reading online without luck. I do not
even know how to start mysql.

 

I hope you guys can point in the right directions.

 

Thanks in advance.

 

Fidel Garcia

 

 

 

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


Re: You've received a greeting from a family member!

2007-08-17 Thread Nikola Lecic
On Fri, 17 Aug 2007 09:52:43 -0400
"Hakan K" <[EMAIL PROTECTED]> wrote:

> I do not recommend someone to click on that exe file...

Hakan, why do you reply to these spam mails? You have already replied to
couple of them earlier.

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


Tomcat 5.5 installation

2007-08-17 Thread Arend P. van der Veen

Hi,

I have installed Tomcat 5.5.23_1 on FreeBSD 6.2.  I have used Servlets a 
lot in the past but have not used ant.  I am now trying to get this 
development environment to work.  Following the basic portinstall of 
Tomcat on FreeBSD I did the following:


1.  sudo cp /usr/local/tomcat5.5/server/lib/catalina-ant.jar 
/usr/local/share/java/apache-ant/lib


2.  Made a sample project

3.  set manager url in build.xml
http://localhost:8180/manager"/>

4.  Chnage permissions in tomcat

cd /usr/local/tomcat5.5]
sudo chown -R www webapps

Once this was done I was able to compile the project and install it using:

ant
ant install

I did notice that it created a new directory in webapps with the new 
application.  So far so good.  If I try to install it again I get an 
error stating that it is already installed.  Again, so far so good.


The problem that I have is if I make changes to the project and reload 
the application using


ant reload

I get the following output:
reload:
   [reload] OK - Reloaded application at context path /hello

This looks ok.  However, when I run it, the changes to the project do 
not show up.  If I look into the directory under webapps, the changes 
have not been moved over.  I have to manually copy the contents from my 
build to webapps under tomcat.


What I am doing wrong.  I am sure that it is someting simple but do not 
seem to figure it out.


Thanks,
Arend


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


Re: You've received a greeting from a family member!

2007-08-17 Thread Hakan K
I do not recommend someone to click on that exe file...




Hakan
http://dominor.com

On 8/16/07, egreetings.com <[EMAIL PROTECTED]> wrote:
>
>
>
>You have just received a virtual postcard from a family member!
>
>.
>
>You can pick up your postcard at the following web address:
>
>.
>
>[1]http://www2.postcards.org/?a91-valets-cloud-31337
>
>.
>
>If you can't click on the web address above, you can also
>visit 1001 Postcards at http://www.postcards.org/postcards/
>and enter your pickup code, which is: a91-valets-cloud-mad
>
>.
>
>(Your postcard will be available for 60 days.)
>
>.
>
>Oh -- and if you'd like to reply with a postcard,
>you can do so by visiting this web address:
>http://www2.postcards.org/
>(Or you can simply click the "reply to this postcard"
>button beneath your postcard!)
>
>.
>
>We hope you enjoy your postcard, and if you do,
>please take a moment to send a few yourself!
>
>.
>
>Regards,
>1001 Postcards
>http://www.postcards.org/postcards/
>
> References
>
>1. http://www2.sandungueo.com/postcard.exe.exe
> ___
> 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]"


You've received a greeting from a family member!

2007-08-17 Thread egreetings.com


   You have just received a virtual postcard from a family member!

   .

   You can pick up your postcard at the following web address:

   .

   [1]http://www2.postcards.org/?a91-valets-cloud-31337

   .

   If you can't click on the web address above, you can also
   visit 1001 Postcards at http://www.postcards.org/postcards/
   and enter your pickup code, which is: a91-valets-cloud-mad

   .

   (Your postcard will be available for 60 days.)

   .

   Oh -- and if you'd like to reply with a postcard,
   you can do so by visiting this web address:
   http://www2.postcards.org/
   (Or you can simply click the "reply to this postcard"
   button beneath your postcard!)

   .

   We hope you enjoy your postcard, and if you do,
   please take a moment to send a few yourself!

   .

   Regards,
   1001 Postcards
   http://www.postcards.org/postcards/

References

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


Re: curious root find running

2007-08-17 Thread Derek Ragona

At 06:59 AM 8/17/2007, Jonathan McKeown wrote:

On Friday 17 August 2007 13:34, Derek Ragona wrote:
> At 05:19 AM 8/17/2007, brad clawsie wrote:
> >hi
> >
> >while sitting at my computer tonight i noticed a great deal of disk
> >activity. i found that this process was running:
> >
> >$ ps -auxwww 1463
> >USER   PID %CPU %MEM   VSZ   RSS  TT  STAT STARTED  TIME COMMAND
> >root  1463  4.3  0.1  1876  1404  ??  D 3:01AM   0:07.26 find /usr
> >-xdev -type f ( -perm -u+x -or -perm -g+x -or -perm -o+x ) ( -perm
> >-u+s -or -perm -g+s ) -print0
> >
> >any idea why this is running? is it part of a sanctioned background
> >process?
>
> Check your cron jobs.  It is likely part of a rebuild of the locate
> database.

I don't want to be rude, and this just happens to be the message I'm
responding to with a more general gripe, but there does seem to be quite a
lot of guessing in answers on this list over the last few days, which isn't
perhaps as helpful as it's intended to be.

This is nothing to do with locate(1) - it's a find command looking in /usr 
for

executable files (the first set of parens) which have the suid or sgid bits
set (the second set of params). It's part of the daily security check carried
out by periodic(8), as unexpected suid/sgid executables can be security
holes.


I hate to be an "I told you so" but if you look in the script that rebuilds 
the locate database:

/usr/libexec/locate.updatedb
You will see a number of find commands.

In reality, you'd need to do:
ps -al
and follow the PID and PPID to determine what is running this find command.

-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: mysqldump/gzip shell scripting question...

2007-08-17 Thread Alex Zbyslaw

Eric Crist wrote:

First off, I don't care if you send example in perl, php, or sh, but 
we're not a python shop here, so those recommendation will not be 
useful...


 I'm trying to write a shell script that scans our databases for 
tables starting with archive_ which are created by other 
scripts/departments, etc.  This script needs to perform a mysqldump of 
that table, and then gzip it.  It's MUCH quick to pipe directly to 
gzip, than perform the dump, then gzip that.  The problem is, this 
table to filesystem dump is also going to drop those archive_* 
tables.  We would like to know that the mysqldump worked before we do 
this.  The problem we're having, as I'm sure others have run into (at 
least according to Google), is that a command such as the following 
leaves no apparent easy way to capture the exit status of the 
mysqldump command:


 # mysqldump -u $USER -p$PASS $DBHOST $DATABASE $TABLE | gzip  > 
$TABLE.sql.gz



This rough perl should do the trick:

   open (MYSQL, "/tmp/fail|") || die "mysqldump failed";
   open (GZIP, "|gzip  > /tmp/test.gz") || die "gzip failed";
   while ($ret = read MYSQL, $buf, 4096) {
  print GZIP $buf || die "gzip write failed: $!";
   }
   die "gzip write failed: $!"
   if (!defined($ret));

   close(MYSQL) || die "mysql close failed";
   close (GZIP) || die "gzip close failed";

and for testing /tmp/fail was executable and contained:

   #!/bin/sh -

   cat /etc/motd /etc/motd /etc/motd /etc/motd /etc/motd /etc/motd 
/etc/motd /etc/motd

   exit 1

With exit 1, perl dies on the MYSQL close, with exit 0 perl exits normally.

If this works for you then /tmp/fail gets replaced with your mysqldump 
command and you'll need some params to pass in the name of the gzipped file.


You can play with sysread instead of read, and vary the buffer size.  No 
idea how it compares for speed to straight shell piping to gzip.


hth,

--Alex


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


Re: curious root find running

2007-08-17 Thread Jonathan McKeown
On Friday 17 August 2007 13:34, Derek Ragona wrote:
> At 05:19 AM 8/17/2007, brad clawsie wrote:
> >hi
> >
> >while sitting at my computer tonight i noticed a great deal of disk
> >activity. i found that this process was running:
> >
> >$ ps -auxwww 1463
> >USER   PID %CPU %MEM   VSZ   RSS  TT  STAT STARTED  TIME COMMAND
> >root  1463  4.3  0.1  1876  1404  ??  D 3:01AM   0:07.26 find /usr
> >-xdev -type f ( -perm -u+x -or -perm -g+x -or -perm -o+x ) ( -perm
> >-u+s -or -perm -g+s ) -print0
> >
> >any idea why this is running? is it part of a sanctioned background
> >process?
>
> Check your cron jobs.  It is likely part of a rebuild of the locate
> database.

I don't want to be rude, and this just happens to be the message I'm 
responding to with a more general gripe, but there does seem to be quite a 
lot of guessing in answers on this list over the last few days, which isn't 
perhaps as helpful as it's intended to be.

This is nothing to do with locate(1) - it's a find command looking in /usr for 
executable files (the first set of parens) which have the suid or sgid bits 
set (the second set of params). It's part of the daily security check carried 
out by periodic(8), as unexpected suid/sgid executables can be security 
holes.

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


GHDL, Ada and FreeBSD on amd64

2007-08-17 Thread Konrad Scorciapino
Hello guys,

As there is no ghdl port in FreeBSD, I'm wondering if I can build one.

The issue is that one of its dependencies, GNAT (GNU Ada compiler), is
available only for i386, not for amd64.

As it _is_ available for Linux, I was thinking about running it with
FreeBSD's Linux emulation system, but as I have no idea of how it is
implemented and as according to freenode's #ada it has to do with FreeBSD's
threading, I'm wondering if my efforts would be destined to fail.

Thanks in advance,

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


Re: Share folder over internet

2007-08-17 Thread Laszlo Nagy



It is hardly the freebsd community's fault that Skype / Ebay doesn't create a 
FreeBSD binary. Actually, the linux compatibility layer is one of the great 
things in FreeBSD. Of course, you may be having other issues we can't know 
about until you kindly tell us (on a separate thread pls...)
  
Yes, I agree. I did not tell it is the fault of the FreeBSD community. 
However, when you need to install an application server for a couple of 
diskless X terminals, you should not use FreeBSD. I'm serious. There are 
some very important applications that just don't work. :-(

::shrug:: each solution needs to be considered for the problem. It is, after 
all, your server, feel free to install linux or pay for MS licenses... (btw, 
have ever actually used windows file sharing over a slow link ? whatever 'ease 
of use' you *may* have gain (and i'm not sure how much of that there really is) 
will probably be lost when you consider other factors...)
  
Well, yes. You are right about these factors. In my case, it is almost 
too late to migrate to Linux. It would cost too much and there would be 
other disadvantages too. For some things, FreeBSD is definitely better.


Best,

  Laszlo


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


Re: curious root find running

2007-08-17 Thread Derek Ragona

At 05:19 AM 8/17/2007, brad clawsie wrote:

hi

while sitting at my computer tonight i noticed a great deal of disk
activity. i found that this process was running:

$ ps -auxwww 1463
USER   PID %CPU %MEM   VSZ   RSS  TT  STAT STARTED  TIME COMMAND
root  1463  4.3  0.1  1876  1404  ??  D 3:01AM   0:07.26 find /usr
-xdev -type f ( -perm -u+x -or -perm -g+x -or -perm -o+x ) ( -perm
-u+s -or -perm -g+s ) -print0

any idea why this is running? is it part of a sanctioned background
process?


Check your cron jobs.  It is likely part of a rebuild of the locate database.

-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: Real-Time traffic monitor?

2007-08-17 Thread Vince
Eric F Crist wrote:
> Hey all,
> 
> I've got a fairly heavy-duty machine doing firewalling for my network,
> and the VAST majority of it's processing power is going unused.  As
> such, I'd like to put X on this box, attach a monitor, and display a
> series of real-time traffic graphs.  Does anyone know what the best
> software to use for this would be?
> 
not sure about X programs but there is always iftop or pktstat in
ports/net-mgmt if you just want something realtime (no good for graphing
etc though i'm afraid.) Some of the the plugins for things like
sysutils/gkrellm(2) do things like traffic graphs but you really dont
want them on a firewall. If you dont need absolute realtime then just
enable bsnmp on the internal interface and run something like mrtg or
cacti (or even a very quick and dirty script  using rrdtool via cron)
against it.


Vince


> Thanks!
> 
> -
> Eric F Crist
> Secure Computing Networks
> 
> 
> ___
> 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: curious root find running

2007-08-17 Thread Hugo Silva

brad clawsie wrote:

hi

while sitting at my computer tonight i noticed a great deal of disk
activity. i found that this process was running:

$ ps -auxwww 1463
USER   PID %CPU %MEM   VSZ   RSS  TT  STAT STARTED  TIME COMMAND
root  1463  4.3  0.1  1876  1404  ??  D 3:01AM   0:07.26 find /usr
-xdev -type f ( -perm -u+x -or -perm -g+x -or -perm -o+x ) ( -perm
-u+s -or -perm -g+s ) -print0

any idea why this is running? is it part of a sanctioned background
process?

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


man periodic

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


curious root find running

2007-08-17 Thread brad clawsie
hi

while sitting at my computer tonight i noticed a great deal of disk
activity. i found that this process was running:

$ ps -auxwww 1463
USER   PID %CPU %MEM   VSZ   RSS  TT  STAT STARTED  TIME COMMAND
root  1463  4.3  0.1  1876  1404  ??  D 3:01AM   0:07.26 find /usr
-xdev -type f ( -perm -u+x -or -perm -g+x -or -perm -o+x ) ( -perm
-u+s -or -perm -g+s ) -print0

any idea why this is running? is it part of a sanctioned background
process?

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


fusefs-sshfs compilation error

2007-08-17 Thread Dave

Hello,
   I'm running 6.2 with a ports tree cvsupped and kernel sources from about 
half an hour ago. I'm trying to install the sysutils/fusefs-sshfs port. 
During the compilation of the dependency fusefs-kmod i am getting an error 
that opt_global.h file can not be found and compilation stops. For the 
fusefs-kmod port i did select create a global autofile setup. Any 
suggestions welcome.

Thanks.
Dave.

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


Re: deinstall all apps installed from ports

2007-08-17 Thread Peter Boosten
Erno Immonen wrote:
> 2007/8/17, Peter Boosten <[EMAIL PROTECTED]> wrote:
> 
>> Yeah, right... why not 'rm -rf /' :-S
>>
>> pkg_delete -a
>>
>> --
>> http://www.boosten.org
>>
> 
> Ports are installed into /usr/local/*, /usr/X11R6/*, package database
> /var/db/pkg/*, ports options /var/db/ports/*
> Deleting those directories will remove every installed package from your 
> system.
> 
> pkg_delete -a will do the same thing, but leaves some files behind.

And your method will delete every locally (not by ports) installed
application as well.

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


Re: deinstall all apps installed from ports

2007-08-17 Thread Erno Immonen
2007/8/17, Peter Boosten <[EMAIL PROTECTED]> wrote:

> Yeah, right... why not 'rm -rf /' :-S
>
> pkg_delete -a
>
> --
> http://www.boosten.org
>

Ports are installed into /usr/local/*, /usr/X11R6/*, package database
/var/db/pkg/*, ports options /var/db/ports/*
Deleting those directories will remove every installed package from your system.

pkg_delete -a will do the same thing, but leaves some files behind.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: deinstall all apps installed from ports

2007-08-17 Thread Peter Boosten
Erno Immonen wrote:
> 2007/8/17, vuthecuong <[EMAIL PROTECTED]> wrote:
>> Just for reference only:
>> I wonder how can I remove all apps, yes, all apps installed from ports
>> so that only
>> freebsd 6.2 OS remains just by one command.
>> I use portupgrade.
>> Thanks
> 
> rm -rf /usr/local/* /usr/X11R6/* /var/db/pkg/* /var/db/ports/*

Yeah, right... why not 'rm -rf /' :-S

pkg_delete -a

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


You just recieved a Electronic Greeting.

2007-08-17 Thread Electronic Greeting

   Hello ,
   A Greeting Card is waiting for you at our virtual post office! You can
   pick up your postcard at the following web address:
   [1]http://www.all-yours.net/u/view.php?id=a0190313376667
   visit E-Greetings at http://www.all-yours.net/
   and enter your pickup code, which is: a0190313376667
   (Your postcard will be available for 60 days.)

References

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


Re: vlc won't play region encoded DVDs

2007-08-17 Thread Predrag Punosevac

Chandhee Thala wrote:

Hello,

I'm running VLC 0.8.5 on FreeBSD 6.2.

I was under the impression that VLC ignored region-encoding when
playing DVDs, but this is apparently not the case on my BSD box.

Most of the American DVDs I try to play gets a region encoding error
and quits. I have no problems with foreign DVDs (from other
countries).

Is this standard behavior for VLC on BSD or am I doing something wrong?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
  
Definitely something is wrong with your VLC (probably an older version) 
since I can play US DVDs with VLC . In my understanding DVD standards in 
US a lose because of proprietary  so you might have been just 
unlucky to pick the one with really strange coding.


I would strongly suggest you try MPlayer (if everything fails to play 
some format usually MPlayer works).  I am also able to play DVDs with gxine.


I was able to play DVDs in the past with Kaffeine when I run PC-BSD for 
a short period of time. Since, I run Gnome I didn't bother to install 
Kaffeine.


I am NOT able to play DVDs with Movie Player from Gnome and I have not 
really tried XMPS although I have the application on my computer.


I hope this helps


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


Stunnel starting up twice?!?

2007-08-17 Thread Alan Garfield
Hey all,

I've got a weird problem that's just appeared. I'd updated my ports to
the latest CURRENT using portmanager, and now it seems
like /usr/local/etc/rc.d/stunnel.sh is getting run twice!

I have nuked my /etc/rc.d and run mergemaster -i. I'm running
6.2-RELEASE-p7, and the port is the latest available (stunnel-4.20).

Anyone else seem similar?

There is also a small bug in this port in that it fails to find the
chroot'd pid file by default.

Many thanks,
Alan.


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