rTorrent and XML-RPC

2009-11-24 Thread Micah R Ledbetter
Hello. 

I am ultimately trying to install rtgui 0.2.7, which is a frontend for the 
rtorrent bit torrent client. I'm running FreeBSD 7.1-RELEASE-p2, and I've 
installed apache22, mod_scgi, xmlrpc-c-devel, and rtorrent-devel from ports. 
rtorrent works great on the CLI as-is; I've been using it for downloading 
torrents for months with no problems. 

However, to make rtgui work, I have to get XML-RPC working within rtorrent 
first, and that's the entirety of my problem - this post isn't actually about 
rtgui at all. Instead, it's about a problem I'm having with XML-RPC, either in 
rtorrent itself, or in Apache or mod_scgi... I can't actually tell which.

Here's what I've done so far: 

I've added this line to .rtorrent.rc:

 scgi_port = 127.0.0.1:5000 

Now, when I start up rtorrent, it logs this information: 

 (17:07:59) XMLRPC initialized with 517 functions.
 (17:07:59) The SCGI socket is bound to a specific network device yet may 
 still pose a security risk, consider using 'scgi_local'.

I assume that this means that XML-RPC is working properly with rtorrent, but I 
have no way to test this. 

I'm also running Apache 2.2, and I've added the following lines to httpd.conf: 

 LoadModule scgi_module libexec/apache22/mod_scgi.so 
 (...snip...)
 SCGIMount /RPC2 127.0.0.1:5000

However, when I restart apache, I get the following message in the error log, 
repeated once every few seconds:

 [Tue Nov 24 17:15:56 2009] [error] [client 127.0.0.1] File does not exist: 
 /usr/local/www/htdoc/default/RPC2

I have tried to use the xmlrpc command line binary[0] to test Apache's XML-RPC 
connection to rtorrent[1], but it gives me an error message. 

 m...@box cd /usr/ports/net/xmlrpc-c-devel/work/xmlrpc-c-1.18.00/tools/xmlrpc/
 m...@box ./xmlrpc localhost system.listMethods 
 Failed. Call failed. HTTP response code is 404, not 200. (XML-RPC fault code 
 -504)

And now I'm in over my head. 

Has anyone successfully installed rtorrent + xmlrpc support on FreeBSD before, 
and, if so, would you be willing to steer me in the right direction? I feel 
like I must be missing something simple (in large part because I could find 
nothing useful on Google when I searched for that Apache error message, of 
course replacing /usr/local/www/htdoc/default with an asterisk), but I've 
been banging my head against the wall for quite a while and I could use some 
help. Searching for the xmlrpc error message has also turned up nothing. 

One thing in particular I'm confused about is where it's actually broken. Is 
XML-RPC support working in rtorrent, but failing in Apache/mod_scgi? Or is it 
broken in rtorrent despite the messages that rtorrent is presenting, such that 
when Apache tries to connect to rtorrent via XML-RPC, it doesn't work through 
no fault of Apache's or mod_scgi's? If someone knows a way to test this, I'd 
also appreciate hearing it. 

Thanks very much.

- Micah

[0] I can't tell if I'm missing something or what, but the port for 
xmlrpc-c-devel doesn't seem to install the xmlrpc binary anywhere, even though 
it does build it, so I'm just calling it from the build directory. 

[1] This procedure is outlined on rtorrent's XML-RPC wiki page: 
http://libtorrent.rakshasa.no/wiki/RTorrentXMLRPCGuide. In particular, the 
system.listMethods call is a valid function, per that 
page.___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Problems with SSH and Subversion over SSH/HTTPS

2009-04-14 Thread Micah R Ledbetter

Hello, all.

I'm having a couple of problems that I can't get to the bottom of. I'm  
using a FreeBSD 7.1-RELEASE-p2 server running on AMD64, serving ssh  
and https, with various Mac OS X and Windows clients. I have recently  
come to wonder if these problems (described below) are related to SSL  
somehow, or perhaps /dev/random. If there's any tuning I could do  
along those lines, or if anyone has any other tips at all that could  
improve this situation, I'd very much love to hear them.



1) Paging through a lot of text over SSH is very slow.

If I compile a large program, or cat a large text file, or even use  
less to page through 8-10 pages of text, ssh becomes very slow.  
Sometimes I can wait it out, and let it catch up after a half minute  
or so, but sometimes I just have to kill ssh and reconnect.


This is notable to me because when I was running other operating  
systems on the same box (Solaris 10 and Linux, at various points in  
the past), which I could of course make my connection fail if I ran  
pathological tests, the difference was like night and day. Now, if I  
cat a file which turns out to be bigger than I expect, typing ^C  
several times - even if I do so just a couple of seconds after I start  
the cat - tends to cancel the cat only rarely... the buffer is so far  
behind that it can't process my input until it catches up, which it  
can't do and I have to end up killing the connection. This is much  
different than my experience with other operating systems.


This happens when I'm using OpenSSH 5.1p1 on my Mac, and when I'm  
using any of several recent versions of PuTTY on the various Windows  
machines.


Oddly, I can get decent speed when copying large files over sftp or  
scp - I haven't done any benchmarks, but it's in line with normal  
network speed for a 100mbps network.



2) SVN over both svn+ssh:// and https:// is also very slow

The repository in question is only three revisions old, and the whole  
repo is less than 200K. All of the files are plain text.


If I check this repo out, via either svn+ssh, or https, using the  
command line client installed on my Mac (which happens to be...  
Subversion 1.5.1), it takes two or three minutes over a perfectly fast  
Internet connection. If I use TortoiseSVN on a Windows machine, it  
takes so long that TSVN times out and says it can't complete the  
transaction. (Using a command-line SVN client on Windows seems to  
produce similar results to the command line client on my Mac).


If I type in the https:// URL for the subversion repository in a web  
browser, and click on individual text files, it displays them much  
more slowly (taking several seconds for a file only a few KB large)  
than I would expect as well.


I have tried this with Subversion version 1.5.1 and 1.6.0, compiled  
from ports, on the FreeBSD server, with no change.



When this is happening, load remains at near 0.00 on the FreeBSD  
server. The network connection is plenty fast, as previously  
mentioned, and the behavior is the same whether I'm connecting over  
the Internet (the FreeBSD box has a 16mbps/2mbps link) or the 100mbps  
local LAN.


For the record: I *have* compiled my own kernel, but its configuration  
differs only from the GENERIC kernel in my appending of the following  
options:



options IPFIREWALL
options IPDIVERT
options GEOM_MIRROR


If necessary, I can test with the GENERIC kernel again.

I have not changed the kern.random parameters, but here they are for  
the sake of completeness. They are in line with the defaults, at least  
as far as i can tell from random(4).



# sysctl kern.random
kern.random.yarrow.gengateinterval: 10
kern.random.yarrow.bins: 10
kern.random.yarrow.fastthresh: 192
kern.random.yarrow.slowthresh: 256
kern.random.yarrow.slowoverthresh: 2
kern.random.sys.seeded: 1
kern.random.sys.harvest.ethernet: 1
kern.random.sys.harvest.point_to_point: 1
kern.random.sys.harvest.interrupt: 1
kern.random.sys.harvest.swi: 0



I very much thank anyone for any help they can provide.

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


Re: Google talk with voice?

2007-01-22 Thread Micah

Garrett Cooper wrote:

On Jan 21, 2007, at 9:18 PM, Micah wrote:



Anyone know of a way to do voice chat with Google chat users? KDE's 
Kopete is supposed to support gtalk's voice chat, but I can't get it 
to work.


Thanks,
Micah


Should be jabber. See: http://www.google.com/talk/otherclients.html 
for more info and how to setup kopete properly.

-Garrett


Sorry, I should have mentioned that text chat works fine in kopete, 
voice chat does not. When either I or the other party initiates a voice 
connection, it tries, and what I say gets played back on my end rather 
broken up but never makes it to the other end. Then the voice session 
terminates on its own. File transfers don't work either and, from what 
I've read on jingle, voice chats and file transfers use the same technology.


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


Google talk with voice?

2007-01-21 Thread Micah


Anyone know of a way to do voice chat with Google chat users? KDE's 
Kopete is supposed to support gtalk's voice chat, but I can't get it to 
work.


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


Re: fresh install - compaq laptop locks up on boot after timecounter TSC

2007-01-06 Thread Micah

Steve Franks wrote:

This is why no one ever got fired for buying an IBM as the old adage goes.
My ancient Dell laptop had absolutely no install issues, so I bought a 
fresh

disk for my shiny new compaq:

Behavior is identical off of 6.1-current cd or install to ad0 that was
completed from cd safemode boot.  She runs fine in safemode from acd0 or
ad0.  Regular startup - see vga0 go by sucessfully, then

timcounter TSC...
ticks at 1 milliseconds

then locks up tight.  I tried disabling the line after vga0 in
boot/device.hints, but those of you who know what that is know, I'm sure,
that that turns my system into a peperweight.

I also tried boot with acpi disabled, but that seems to lock up identically
on tsc.

Wish I had more info, but that's all I can glean without more help.  Had to
put the origonal harddisk with winXP back in.  No one wants that ;)  Save
me!

Steve


Sounds similar to the problem my Compaq has/had. I found that the 
following advice, posted to questions@ some time ago, worked for me:


 Interrupt the kernel loading process, then:

 set hint.sio.0.disabled=1
 set hint.sio.1.disabled=1
 set hint.atkbd.0.flags=0x9

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


Re: Problem with built-in USB memory card reader

2007-01-03 Thread Micah

Alexander Pohoyda wrote:

Lowell Gilbert writes:


Alexander Pohoyda [EMAIL PROTECTED] writes:


Everything works perfect if the system is started with a memory card
inserted into the reader.

The problem arises when the system is started without the memory card
inserted.  Since the reader is built-in (permanently attached to the
motherboard), it is detected by the system at startup and no umass
device is created.  Inserting a memory card at some later time has no
visible effect whatsoever.

I'm using the 5.4 release.  Is there a solution for this?

USB handling would be better in a more recent release of FreeBSD, but
I think you should be getting the basic da(4) device, just not the
slices (which aren't there yet) if the medium isn't available at
boot.  Is that the case?  [I haven't done this in a while, and don't
have access to a card reader at the moment.]


Yes, exactly.  If no memory cards were inserted at the boot, only
da(4) devices are created and inserting/removing memory cards
afterwards has no visible effect.  This behavior is well known also
for external USB card readers, but those are easily
detached/re-attached which triggers their re-scanning.

I'm asking because Ms Windows somehow gets the insertion event and
mounts the memory card automatically.  So that is be possible.

Does anybody know how that is done?



There is a hack, but I can't quite remember it. I think it was true  
/dev/da0 to get devfs to reread the partitions and create the dev 
entires. I haven't been able to get to a reader to test it though. Test 
on a junk media card just in case I'm totally off base.


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


Re: [kde-freebsd] gamin/fam issues with KDE

2006-12-15 Thread Micah

dick hoogendijk wrote:

On 14 Dec Bastiaan Welmers wrote:


One nasty thing is that when afterwards installing a package requiring
gamin, it will fail with errors. To prevent this you could just fake
the pkg db that gamin is installed however actually fam libraries are
installed.


And how exactly is this faking done? I'm no fan of gamin too and if
possible I compiled my programs for fam. But this sounds nice ;-)



Not sure what the original poster was refering to, but I just put 
WITH_FAM_SYSTEM=fam in my /etc/make.conf back when they first started 
changing ports over to gamin, and have not had any problems since.


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


Re: compiling a port unstripped for debugging

2006-12-15 Thread Micah

Michael Grant wrote:

Can someone please tell me if there is an easy way to compile and
install a port without stripping it (i.e. compiling it with -g and not
running strip when it's installed)?

Michael Grant


I have the following conditionally defined in my /etc/make.conf

CFLAGS= -g -O -pipe
STRIP=

And that seems to work. Defining those on the command line would 
probably work as well.


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


Building system libs with debugging symbols

2006-12-08 Thread Micah


The gnome maintainers need me to rebuild libpthread and libc with 
debugging symbols in order to get a more complete stack trace of a 
firefox crash. How exactly do I go about doing that, since those libs 
are part of world? Do I have to rebuild world or can I just rebuild 
those libs? What mods to make.conf or environmental variables do I need 
to set?



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


Re: How to install the same port twice but at different locations?

2006-12-08 Thread Micah

Alexis Dorais-Joncas wrote:

Lane a écrit :

On Friday 08 December 2006 13:58, Alexis Dorais-Joncas wrote:
 

Hi all,

Subject says it all. I would like to install the package phpMyAdmin on
two different locations on my server. Is this doable? If so, how?

I'm using  FreeBSD g-noc.net 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu
Nov  3 09:36:13 UTC 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386 with ports
updated daily with cvsup.

Right now, after I do :
cd  /usr/ports/databases/phpmyadmin
sudo make PREFIX=/xxx/yyy install

I get :
pkg_info|grep Admin
phpMyAdmin-2.9.1.1  A set of PHP-scripts to manage MySQL over the web

And when I try to install it again but using a different PREFIX, I get
this :
===  Checking if databases/phpmyadmin already installed
===   phpMyAdmin-2.9.1.1 is already installed
  You may wish to ``make deinstall'' and install this port again

Using FORCE_PKG_REGISTER unregisters the first installation, so its no
good for this I guess.

Thanks in advance,
Alexis
___


Alexis,

Read through the porters' handbook, 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/.


You are interested primarily in PREFIX and DESTDIR, but all of the 
text up to that point is enlightening.


lane
  

Hi Lane,
I think you misunderstood my problem. I know how to install a port to a 
specific location using PREFIX. What I want to achieve is to have one 
port installed twice. For example, I want one whole instance of 
phpMyAdmin to be in /var/www/ and a whole other one in /home/someuser/. 
And I want both instances to be manageable with the package tools (such 
as portupgrade) in order to keep both updated easily.


Or have I totally missed the point with PREFIX/DESTDIR ?

Thanx!
Alexis


Well, a kludge, and maybe Lane was alluding to this, is to duplicate the 
phpMyAdmin port so you have two copies in your ports. You could then 
change the copy's Makefile so it has a different PORTNAME and a new 
install prefix. Of course you'd have to update your copy every time the 
original gets updated, but a script could probably handle that. Also 
portsnap will overwrite your copy, so maybe the script could recopy each 
time.


I hope there's an easier way though.

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


Re: Xorg 7.2 ante portas

2006-12-06 Thread Micah

O. Hartmann wrote:

Hello.
Xorg 7.2 is about to be released - with nice new features an, more 
important, bugfixes, upgraded drivers etc.
Are there any plans of supporting this version via the ports collection? 
It seems that the ports still have the outdated monolithical Xorg 6.9 
version.


regards,
Oliver


Soon. It's possible to test it now if you need it.

See:
http://wikitest.freebsd.org/ModularXorg
http://blog.xbsd.org/
http://lists.freebsd.org/pipermail/freebsd-x11/

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


Re: simple question...how to show packages which depend upon a particular port

2006-11-29 Thread Micah

Matthew Seaman wrote:

Dino Vliet wrote:


I'm almost ashamed to ask this BUT I really don't know
how to find the packages which depend upon a
particular port.


pkg_info -R port-name-\*

(-r does the inverse, packages on which port-name depends)

Cheers,

Matthew



Also, if you're into gui things, gpkgdep is pretty handy as it will show 
you the whole dependency tree rather than just the first level dependencies.


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


Re: Continued Crashing of Mozilla FF

2006-11-23 Thread Micah

Warren Liddell wrote:
Im using FreeBSD6.2-PRERELEASE with the latest version of Mozilla FF via 
ports ... 

Quite frequently when i try to download a file FF will hang then close itself 
down, no crash handling etc appears it simply closes itself .. .core file is 
50meg so a URL is provided if anyone wishes to view it.


http://shinjitsu.no-ip.org/ff.core


Check out this PR to see if it's the same issue: 
http://www.freebsd.org/cgi/query-pr.cgi?pr=105589


If it is the same issue, could you /please/ post a follow up so the 
maintainers know that it's affecting more users than just me?


Thanks,
Micah


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


Re: graphics programd like xpaint and gimp.

2006-09-01 Thread Micah

Gary Kline wrote:

I finally realized why I couldn't change the solid-color bg
	with xpaint.  The bucket [icon] is missing; the documentation 
	doesn't reflect this...  But *anyway*, to other things-graphic.


	With gimp, is it possible to create polygons?  How about a 
	5-pointed star?   Or 6- or 7-pointed star?   I have found some 
	images of what I'm looking for thru Google/images, but the

bavkgrounf is not solid for some images, c.  Also, it is
possible to join two or three (already-drawn, on-disk) images
with gimp?  I'm thinking of a circle surrounding a hexagon
	surrounding a square, e.g. 

	--Part of this is just-for-fun curiosity before 
	I get back to my studies; part of it is to try to create designs

for my jottings pages.

thanks for any insights,

gary


Wondered this myself. The first Google result on 'polygons gimp' 
returned the GFig component accessed via filters-render-gfig. Made a 6 
pointed star inside a circle inside a square in seconds. For joining 
images you may need to read up on the gimp. Specifically copy, paste, 
layers, transparency, masks, and canvas sizes are just some of the 
basics that you might have to deal with.


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


Re: Upgrade ghostscript? How?

2006-08-30 Thread Micah

Garrett Cooper wrote:

On Aug 30, 2006, at 1:28 PM, Xiao-Yong Jin wrote:


Hi, I wanna upgrade ghostscript to ghostscript-gpl-8.15 from
ghostscript-gnu-7.07.  I've installed the gpl version via port.  But
when I tried to pkg_delete the gnu version, it said

pkg_delete: package 'ghostscript-gnu-7.07_15' is required by these 
other packages

and may not be deinstalled:
ImageMagick-6.2.8.5
auctex-11.83
cm-super-0.3.3
dvipdfmx-20050831_2
dvipsk-tetex-5.95a_1
freetype-tools-1.3.1_3
ghostscript-gnu-commfont-7.07_3
gv-3.6.1
hplip-0.9.11
html2ps-letter-1.0.b4_1,1
teTeX-3.0_1
teTeX-base-3.0_9
transfig-3.2.4_1
xdvik-tetex-22.84.10
zh-CJK-4.6.0_1
zh-moefonts-cid-1.0_3

I'll probably also delete ghostscript-gnu-commfont-7.07_3 and
zh-moefonts-cid-1.0_3.  But is there anything more I should consider
harmful to my system when I switch ghostscript gnu to gpl?  Or simply
pkg_delete by --force is enough?

Thank you,
Xiao-Yong


Try pkg_delete -f {name of all ghostscript files here}. Then install the 
newest port version and be sure to run pkgdb -F afterwards so you can 
fix the package database, such that it references the right ghostscript.

-Garrett


Additionally I had to set GHOSTSCRIPT_PORT=print/ghostscript-gpl 
/etc/make.conf in order to get newly installed/upgraded ports to depend 
on gs-gpl instead of gs-gnu. I was never able to get gs-afpl to work 
properly.


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


Re: FreeBSD 6-STABLE as guest in VMWare Player on Winxp host

2006-08-28 Thread Micah

Niek Bouman wrote:
I'm running FreeBSD 6-STABLE as guest in the free VMWare Player on a 
WinXP host.

How can I switch between virtual terminals? Ctrl-Alt-F[n] doesn't work...

By the way, is this the right mailing list to place this question?


Thank you,
Niek Bouman


As long as you're not in an X11 session, plain old Alt+Fn works to 
switch terminals. If you are in X11, I think there's a way to change the 
key combination to something else. Check with Google.


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


Re: What was done between 6.1-p2 and 6.1-p3?

2006-08-21 Thread Micah

Bill Moran wrote:

I'm in the process of auditing a bunch of systems and upgrading the ones
that need it.

I suddenly realized that the recently upgraded systems are running
6.1-p3

Looking at the security portion of the web site.  It shows the most
recent vuln as the sendmail issue that was fixed in 6.1-p2.

I can't find any mention of what was changed between 6.1-p2 and 6.1-p3.
I'm assuming it wasn't the result of a security issue or it would be
documented.  What's going on and how can I find out in the future?



From /usr/src/UPDATING:
20060707:   p3  FreeBSD-EN-06:01.jail
Correct bug in the startup scripts for jails.

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


Re: static linked python from the ports tree - possible ?

2006-08-11 Thread Micah

Ensel Sharon wrote:

For a variety of reasons (long, hard to explain) I need a static python
binary - with no external libraries.

I know how to do this from source.  However, I would like to install from
the ports tree - what line can I run inside of /usr/ports/lang/python to
get a totally static, standalone python binary ?

Thanks.


So, how do you do it from source? Perhaps you can apply changes to 
lang/python/Makefile to do the same steps (and then submit a PR with the 
changes so others can benefit).  Checkout 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/


Alternately, doing a make install really does the following: make fetch, 
make extract, make patch, make configure, make build, then make install. 
You could manually run each make step and apply any needed changes in 
between steps, but that would make upgrading hard.


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


Re: Searching Ports - possible problem

2006-08-10 Thread Micah

Kevin Monceaux wrote:

Fellow FreeBSD Enthusiasts,

While researching a couple of Searching For Ports tips to send to a fellow
new FreeBSD user I noticed an anomaly.  The port in question was mod_php5.
One would expect searching for mod_php via the search form on the ports web
page or make search name='mod_php' in /usr/ports to list mod_php4 and
mod_php5.  Neither show up.  Where do the name and keywords for ports come
from?




Kevin
http://www.RawFedDogs.net
http://www.WacoAgilityGroup.org
Bruceville, TX



See /usr/ports/UPDATING, specifically the entry for 20060801. Seems 
mod_php is part of php now. Do a make config in lang/phpX to see it.


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


Re: ext usb2 drive and fbsd6

2006-08-09 Thread Micah

dick hoogendijk wrote:

Maybe I should not ask this here but I take my chances. I love fbsd but it
/is/ pickier on some hardware than windows and I don't want to use that
software, so..

I'm planning an external hardrive. NAS (network attached storage) drive
are very expensive. So I will buy an usb2 drive, I think.

As always, money's short ;-)

Do you have suggestions on *good* working and not to expensive usb2
harddisks for FreeBSD-6.1?

They should be reliable and easy to mount on my server.


I have a Western Digital Essential USB hard drive that I use for 
backup purposes on my 6.1 system. 
http://www.westerndigital.com/en/products/Products.asp?DriveID=182

Haven't had any problems yet.

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


Re: Firefox amd mailto:

2006-08-09 Thread Micah

Jerry McAllister wrote:

Hi All,

I recently installed Firefox 1.5 on a FreeBSD 6.1 system.
Mostly it seems to work fine with some apparent finickyness 
about odd character sets.   Since it does not include Email, I 
also installed Thunderbird which works as its own standalone.


But, when I am looking at a web page that has a 'mailto:' in a 
tag and I click on the link to send a message to whoever, nothing

happens - presumably because there is no mail handler in Firefox.

So, how, in FreeBSD 6.xxx do I deal with this?   Can I make it 
call up something like a plugin or whatever to handle that mailto: 
Email item.I haven't found anything that looks like a 
configuration item for such as that.


Thanks for any help you can give,

jerry


use about:config in Firefox and set network.protocol-handler.app.mailto 
to /usr/X11R6/bin/thunderbird


There are similar settings to get thunderbird to open http links in firefox.

HTH,
Micah


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


Re: Firefox amd mailto:

2006-08-09 Thread Micah

Jerry McAllister wrote:

Jerry McAllister wrote:

Hi All,

I recently installed Firefox 1.5 on a FreeBSD 6.1 system.
Mostly it seems to work fine with some apparent finickyness 
about odd character sets.   Since it does not include Email, I 
also installed Thunderbird which works as its own standalone.


But, when I am looking at a web page that has a 'mailto:' in a 
tag and I click on the link to send a message to whoever, nothing

happens - presumably because there is no mail handler in Firefox.

So, how, in FreeBSD 6.xxx do I deal with this?   Can I make it 
call up something like a plugin or whatever to handle that mailto: 
Email item.I haven't found anything that looks like a 
configuration item for such as that.


Thanks for any help you can give,

jerry
use about:config in Firefox and set network.protocol-handler.app.mailto 
to /usr/X11R6/bin/thunderbird


I guess I don't see where there is an 'about:config'

I have pulled down every menu and don't see where anything looks like that.
I also rummaged through the stuff in the .mozilla directory tree.

Sorry if I am being dense,




Sorry. :) Type it in the address bar.  It'll expose lots of expert 
settings, which is why it's hidden by default I guess.


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


Re: Mount Point permissions

2006-08-09 Thread Micah

Bob Richards wrote:

On Wednesday 09 August 2006 23:23, you wrote:


What about chowning the permissions on /dev/fd0 to be root:floppyusers,


I went so far as chown bob:bob /dev/fd0 But after newfs get's through with the 
new floppy, it's chowned to root. 


add a group floppyusers to /etc/group and make bob a member of that group.
Chmod 664 /dev/fd0


Went down that road as well; created a group called mounters, added bob to 
it no good! I even copied newfs to /home/bob/bin, put home/bob/bin first 
in the PATH, made that newfs setuid/setgid  bob no effect :-( Root wants to 
own the newly created file system no matter who formatted or created it.



Unfortunately I don't have any machines with floppy drives to test with.


I personally don't have a need for floppy drives either; but I am setting up a 
dozen W/S to replace WINDOWZ in an office environment, and people expect to 
be able to use their floppies (especially with the GUI tools in KDE 3.5). I 
am hoping to use freebsd instead of Linux; which has become hard to maintain 
in long-term use because of things like libraries changing so often. The lack 
of Library-Hell in freebsd is refreshing. 

I guess floppy-hell is better than Library-hell :-) Floppy support is pretty 
bad on freebsd! I made the mistake of ejecting a mounted floppy yesterday; 
total system lock-up! I mean it was power off/on time! Not good!
 
Bob


One possible workaround is to use msdosfs instead of ufs. Seems to work 
fine for my regular user account. But I agree that floppy support sucks. 
Try accidentally mounting a write-protected floppy as rw. You get a 
flood of errors that cannot be cleared without a reboot.


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


Re: Wine and FreeBSD how to

2006-08-07 Thread Micah

Gautham Ganapathy wrote:

On Mon, 2006-07-31 at 06:28 -0700, Joshua Lewis wrote:

   I installed wine on my 6.1 system but I don't see a config file
   anywhere on the system. Has anyone installed and used Wine
   successfully that could point me towards an easy FreeBSD how to? Or
   something similar. I told my 7 year old I would load a game for him
   and wanted to look for an easy how too.
   Sincerely,
   Joshua Lewis



Run 'wine' once from the shell for it to generate the .wine directory
under $HOME. Then, try using 'winecfg' for configuration

However, so far I have not been able to get anything more complex than
notepad running under wine on freebsd-6.1-release

Regards
Gautham


There's a nice technical discussion of WINE vs FreeBSD over on hackers@ 
(http://lists.freebsd.org/pipermail/freebsd-hackers/2006-July/017323.html) 
that talks about why wine doesn't work. Supposedly if you set up wine to 
emulate Win2K it'll work better, but not perfectly (like WINE ever 
worked perfectly :) and there are patches in the pipeline that'll help 
with some other problems.


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


Re: Cups USB workaround was working but now fails

2006-08-05 Thread Micah

Apatewna wrote:

O/H Ian Moore Ýãñáøå:

It seems that cups now won't recognise the file: setting, yet 
previously it did. I checked back through my logs to see if a newer 
cups port had come out  I'd inadvertently upgraded to it, but it 
seems that's not the case - it's still 1.2.0
Using the usb: URI always gives the same result - the job starts 
printing but stops after about 12% and won't go any further.


Any ideas as to why my cups no longer accepts the file: URI?
I'm running FreeBSD 5.11-Release-p2 and my printer is an Epson Stylus 
C61 on a USB port.


Cheers,


I just checked http://www.cups.org/articles.php?L397 and CUPS is at 
1.2.2 already.

I also remember a major problem with 1.2.0. See these threads :

http://forums.pcbsd.org/viewtopic.php?t=4173highlight=cups
http://www.bsdforums.org/forums/showthread.php?t=42391

I remember that the severity of the bug was so great that the 1.2.1 
update was in the ports in a week or so.
I'm not in front of a BSD machine to be sure, but have you upgraded your 
ports lately? Cups 1.2.1 should at least be there.


1.2.0 is what's in the ports tree. See 
http://www.freshports.org/print/cups-base/


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


Re: cups problems

2006-08-05 Thread Micah

David Johnson wrote:

On Friday 04 August 2006 11:47, John Nielsen wrote:


You have the permissions fixed, which was half the solution for me
when I made the upgrade. The other half was to abandon cups' usb
back-end for the time being, since it doesn't work (as well as it
used to). The workaround suggested in an earlier thread on this
subject was to stop cups and manually edit the printers.conf file (in
/usr/local/etc/cups), replacing the usb: portion of the printer URI
with file:. This worked for me and several others, although I
remember posts that it did not work for some.


It works! Thank you!

There is one oddity though. The printer ready light flashes as normal, 
but then the attention light flashes. Pressing the go button then 
prints out the job. According to the printer manual, this means 
either manual feed or continuation error. I suspect that somehow 
manual feed is getting sent to the printer (even though it isn't set in 
cups printer options). A minor annoyance, but one I can live with.


I've had this problem when using /dev/ulpt instead of /dev/unlpt. Might 
be worth a try if you haven't yet.


HTH,
Micah

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


Re: portmanager man page online?

2006-08-05 Thread Micah

Chris Whitehouse wrote:

Lowell Gilbert wrote:

Chris Whitehouse [EMAIL PROTECTED] writes:


Searching for portmanager in the online man pages doesn't get
anything. Should it?


Sure.

http://www.freebsd.org/cgi/man.cgi?query=portmanagermanpath=FreeBSD+Ports+6.1-RELEASE 


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





So it does, but a search for portmanager  from 
http://www.freebsd.org/cgi/man.cgi doesn't get anything, at least in my 
browser. The message returned is


Sorry, no data found for `portmanager'.

and the URL is now
http://www.freebsd.org/cgi/man.cgi?query=portmanagerapropos=0sektion=0manpath=FreeBSD+6.1-RELEASEformat=html 



which curiously contains 'apropos'. I double checked and I did have the 
Man radio button selected.


Doing the same thing with apropos selected gets the same message and the 
URL is
http://www.freebsd.org/cgi/man.cgi?query=portmanagersektion=0manpath=FreeBSD+6.1-RELEASEapropos=1format=html 



Also it is not listed in the Section 1 section index.

Am I just looking in the wrong place?

6.1-RELEASE FreeBSD 6.1-RELEASE #0: Tue May 30 10:47:21 BST 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386


Mozilla Firefox 1.5.0.1

Chris


In the right hand drop-down, where it says FreeBSD 6.1-RELEASE (or 
something similar) select FreeBSD Ports 6.1-RELEASE.


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


Re: Looking for an emulator (was Re: Fwd: failure notice)

2006-08-05 Thread Micah

Bill Moran wrote:

Australian National University wrote:

To whom it may concern,

We here at Australian National University are wondering if there are any
recommended (or any whatseover) simulators or emulators (software) 
that run
on Windows X86/i386 Intel hardwre in native true standard 32-bit mode 
that

emulate and provide a fully operational and ready to boot system with a
given runtime of an emulated AMD64 PROCESSOR. Yes, that is not a typo: we
are looking for a 32-bit EXE that can provide an emulated 64-bit 
Processor


Why on Earth would you ask such a question on a FreeBSD mailing list?  
That makes about as much sense as a solar powered flashlight.

Additionally, what's with the subject?

However, Bochs does what you need, and much to my surprise, it now runs 
on Windows as well as Unix:

http://bochs.sourceforge.net/

Enjoy


Doesn't QEMU do AMD64 too, or am I misinterpreting x86_64 as AMD64? 
http://fabrice.bellard.free.fr/qemu/status.html



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


Re: How to build azureus port with diablo-1.5.0-b00 jdk

2006-08-04 Thread Micah

Gautham Ganapathy wrote:
On Thu, 2006-08-03 at 17:39 -0700, Micah wrote: 

Gautham Ganapathy wrote:

Hi

I have installed the diablo jdk package downloaded from the freebsd
foundation page. Now, when I try to build the azureus port, it also
tries to build jdk1.4.2 because log4j depends on that port. How can I
get the ports system to use the installed jdk instead of building 1.4.2?
I am using freebsd 6.1-release.


log4j doesn't specify a java version, so it should work with any. 
azureus, however, is a little more specific and might be the culprit.


You might be able to fix it by setting one of the java knobs in 
make.conf, but since I don't have diablo installed, I couldn't tell you 
which one to set. :( Check /usr/local/etc/javavms to see which java VMs 
are installed and how javavmwrapper refers to diablo, maybe we can 
figure it out from that.




I checked the file. It contains just one line

/usr/local/diablo-jdk1.5.0/bin/java # DiabloCaffe

I tried changing the JAVA_BUILD and JAVA_RUN variables in the azureus
Makefile to diablo-jdk and JAVA_VERSION to 1.5, but it did not work. Any
idea what change I need to do to the Makefile.

Building azureus or log4j both start the jdk-1.4.2 build

Regards
Gautham




According to bsd.java.mk and man javavm, I think you want to set 
JAVA_VENDOR=freebsd, probably in /etc/make.conf. It looks like it 
defaults to bsdjava.


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


Re: [SOLVED] X11+ssh+jail

2006-08-03 Thread Micah

Micah wrote:


I'm having problems trying to get X11 to forward from an ezjail created 
jail environment. Here's what happens:


trisha% ssh -X 10.0.0.1
...
test% xclock
X11 connection rejected because of wrong authentication.
X connection to test:10.0 broken (explicit kill or server shutdown).

I added X11UseLocalhost no to sshd_config as suggested on the lists a 
while back, but it didn't change anything.


Host is:
trisha# uname -a
FreeBSD trisha.eidolonworld 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3 #1: 
Sat Jul 15 15:48:17 PDT 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/TRISHA  i386


Thanks,
Micah


Okay, it took me half a day to trip over the solution. The other half a 
day was spent trying to figure out what that solution actually was. It 
was a combination of two things (out of the dozen that I tried) that 
weren't set up correctly.


The jailed system must be able to resolve it's own name to an IP 
address. Since my home network does not have DNS, that meant adding 
10.0.0.1  test to /etc/hosts on the jailed environment. Also, 
X11UseLocalhost no must be set in the jailed sshd_config. Unless 
*both* of those are set properly, I get the error as mentioned above.


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


Re: How to build azureus port with diablo-1.5.0-b00 jdk

2006-08-03 Thread Micah

Gautham Ganapathy wrote:

Hi

I have installed the diablo jdk package downloaded from the freebsd
foundation page. Now, when I try to build the azureus port, it also
tries to build jdk1.4.2 because log4j depends on that port. How can I
get the ports system to use the installed jdk instead of building 1.4.2?
I am using freebsd 6.1-release.

Regards
Gautham


log4j doesn't specify a java version, so it should work with any. 
azureus, however, is a little more specific and might be the culprit.


You might be able to fix it by setting one of the java knobs in 
make.conf, but since I don't have diablo installed, I couldn't tell you 
which one to set. :( Check /usr/local/etc/javavms to see which java VMs 
are installed and how javavmwrapper refers to diablo, maybe we can 
figure it out from that.


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


Re: Changing user password from command line

2006-08-02 Thread Micah

Greg 'groggy' Lehey wrote:

On Wednesday,  2 August 2006 at 15:53:07 +0300, Simon Phoenix wrote:

On Wednesday 02 August 2006 12:48, Mike Fern wrote:

Dear all,
Does anybody know a program which is able to change user password from
command line?
We can add a user using single line pw (pw useradd), but i need
ability to set the password also, instead of old command passwd user
and then writing to stdin.

man pw

Look for -h option description.


The advantage of using passwd(1) is that it is available on all
UNIX-like systems (pw(8) isn't), and that it's easier to use.


pw's ability to alter password files in directories other than /etc 
comes in handy sometimes. Unless there's an undocumented way to do this 
with passwd.


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


X11+ssh+jail

2006-08-01 Thread Micah


I'm having problems trying to get X11 to forward from an ezjail created 
jail environment. Here's what happens:


trisha% ssh -X 10.0.0.1
...
test% xclock
X11 connection rejected because of wrong authentication.
X connection to test:10.0 broken (explicit kill or server shutdown).

I added X11UseLocalhost no to sshd_config as suggested on the lists a 
while back, but it didn't change anything.


Host is:
trisha# uname -a
FreeBSD trisha.eidolonworld 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3 #1: 
Sat Jul 15 15:48:17 PDT 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/TRISHA  i386


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


Re: X11+ssh+jail

2006-08-01 Thread Micah

Chad Leigh -- Shire.Net LLC wrote:


On Aug 1, 2006, at 5:44 PM, Micah wrote:



I'm having problems trying to get X11 to forward from an ezjail 
created jail environment. Here's what happens:


trisha% ssh -X 10.0.0.1
...
test% xclock
X11 connection rejected because of wrong authentication.


Are you doing an su or something before you run the X program?  I have 
not had problems launching X programs in side a jail over ssh but I did 
get that same error when I did an su first since I was no longer my 
username.  I copied the .Xauthority over from my user into ~root and it 
worked.  (In case anyone asks, I was testing a system management app 
that needs to run as root to access some stuff and I was just testing it 
for someone. I don't normally run X things at all or as root )


Chad


X connection to test:10.0 broken (explicit kill or server shutdown).

I added X11UseLocalhost no to sshd_config as suggested on the lists 
a while back, but it didn't change anything.


Host is:
trisha# uname -a
FreeBSD trisha.eidolonworld 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3 #1: 
Sat Jul 15 15:48:17 PDT 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/TRISHA  i386


Thanks,
Micah


---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net


Nope I didn't su, I just ssh'd in as a regular user and immediately 
tried xclock. I also tried ssh'ing in as root to see if it's a perms 
problem, but root gets the same error. Maybe I've got a configuration 
error somewhere? ezjail mounts much of the file system ro, maybe that's 
causing a problem?


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


Re: X11+ssh+jail

2006-08-01 Thread Micah

Chad Leigh -- Shire.Net LLC wrote:


On Aug 1, 2006, at 9:23 PM, Micah wrote:



Nope I didn't su, I just ssh'd in as a regular user and immediately 
tried xclock. I also tried ssh'ing in as root to see if it's a perms 
problem, but root gets the same error. Maybe I've got a configuration 
error somewhere? ezjail mounts much of the file system ro, maybe 
that's causing a problem?




Again, I am not an expert, but make sure you have an .Xauthority file in 
the login dir root of the account you are logging in to and that it has 
a creation or modification date at the same time you logged in (to make 
sure that you really are getting it set).


Chad


Thanks for the idea, here's a test run:

test% ll .Xauthority
-rw---  1 bsdmjl  bsdmjl   112B Aug  1 20:51 .Xauthority
test% rm .Xauthority
test% exit
logout
Connection to 10.0.0.1 closed.
trisha% ssh -X 10.0.0.1
Password:
Last login: Tue Aug  1 20:51:33 2006 from 10.0.0.1
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
The Regents of the University of California.  All rights reserved.

FreeBSD 6.1-RELEASE-p3 (TRISHA) #1: Sat Jul 15 15:48:17 PDT 2006

Welcome to FreeBSD!

/usr/X11R6/bin/xauth:  creating new authority file /home/bsdmjl/.Xauthority
test% ll .Xauthority
-rw---  1 bsdmjl  bsdmjl   112B Aug  1 20:51 .Xauthority
test% xclock
X11 connection rejected because of wrong authentication.
X connection to test:10.0 broken (explicit kill or server shutdown).

I'll keep looking

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


Re: X11+ssh+jail

2006-08-01 Thread Micah

Anish Mistry wrote:

On Tuesday 01 August 2006 19:44, Micah wrote:

I'm having problems trying to get X11 to forward from an ezjail
created jail environment. Here's what happens:

trisha% ssh -X 10.0.0.1
...
test% xclock
X11 connection rejected because of wrong authentication.
X connection to test:10.0 broken (explicit kill or server
shutdown).

I added X11UseLocalhost no to sshd_config as suggested on the
lists a while back, but it didn't change anything.

Host is:
trisha# uname -a
FreeBSD trisha.eidolonworld 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3
#1: Sat Jul 15 15:48:17 PDT 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/TRISHA  i386

Does using ssh -Y 10.0.0.1 do anything different?



Nope:

trisha% ssh -Y 10.0.0.1
Password:
test% xclock
X11 connection rejected because of wrong authentication.
X connection to test:10.0 broken (explicit kill or server shutdown).
test% exit
logout
Connection to test closed.
trisha% ssh -X 10.0.0.1
Password:
test% xclock
X11 connection rejected because of wrong authentication.
X connection to test:10.0 broken (explicit kill or server shutdown).


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


Re: spamfilter

2006-07-31 Thread Micah

justin wrote:


Hello,

I `ve got a spam problem and want to run a spamfilter.
There is only a problem i don`t no witch spamfilter to choose.
Can anyone give me a tip of a good and simple to run spamfilter???

Ok thanks,
Justin.



I'm running SpamAssassin and spamass-milter. They seem to do an okay job.

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


Re: devfs and changing device permissions

2006-07-30 Thread Micah

Robert Huff wrote:

If I want to permanently change the permissions for a device, I
add en entry to /etc/devfs.conf.  Right?


Depends. If the device is present when the system boots, yes. If it 
shows up later (like a USB drive) then you need to set up some 
/etc/devfs.rules instead.



But that doesn't get picked up until the next time devd is
started.  If I want to change the permissions right now, can I just
go into /dev and use chmod or do I need to fool around with
devfs(8)?


Robert Huff


devfs.rules are applied when you execute /etc/rc.d/devfs restart, and 
that may apply to devfs.conf too (never tried it honestly). That said, 
I've never had problems using chmod for temporary changes on device nodes.


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


Re: Retrieving email to be servered by imap

2006-07-28 Thread Micah

Chris T. wrote:
I want to offload my mailing list retrievals to my server.  I regularly 
get 500 to 1000 emails on various list and offloading them would make my 
email client faster for regular mail.


How can I auto retrieve retrieve email (pop3) every 10 minutes or so for 
storage in berkley db format so I can then browse it using cyrus imap 
using and and an imap client?


And BTW I am currently reading documentation but any suggestions would 
be helpful.


Thank You
Chris


Will fetchmail work for you?

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


Re: What I would like to see, or How many FreeBSD boxen are out there?

2006-07-25 Thread Micah

Aftab Jahan Subedar wrote:

IMHO this is the first and oldest one.
http://www.netccraft.com


I think you mean http://www.netcraft.com :)

Especially what's that site running
http://toolbar.netcraft.com/site_report?url=http://www.yahoo.com

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


Re: tar dies on making tape backup

2006-07-24 Thread Micah

Jaime wrote:
I'm attempting to use tar to feed my filesystem(s) to a DLT tape 
drive.  I've done this with FreeBSD 3 through 5 and DAT (DDS-3 and 
DDS-4) tapes for years.  The command now appears to work for a while and 
then dies with this message about 2.5 hours into the process:


archive_write_pax_header: 'x' header failed?!  This can't happen.

Any idea what this means?

I'm using:
$ uname -a
FreeBSD atlas.cairodurham.org 6.1-STABLE FreeBSD 6.1-STABLE #0: Wed Jun 
28 11:27:09 EDT 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386


This is my first FreeBSD 6.x system, my first SMP kernel, and my 
first DLT drive on a FreeBSD system.  Using Google, I couldn't find any 
answers that were useful.  (Just a few dead threads from various forums 
and mailing lists.)


Thanks in advance,
Jaime


I had the same problem recently and Google told me to look for files 
with malformed dates. I used find to search for files dated before Jan 
1, 1970, and found one dated 1901. As soon as I touched the 
problematic file, tar worked.


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


Re: tar dies on making tape backup

2006-07-24 Thread Micah

Jaime wrote:

On Jul 24, 2006, at 7:24 PM, Micah wrote:
I had the same problem recently and Google told me to look for files 
with malformed dates. I used find to search for files dated before 
Jan 1, 1970, and found one dated 1901. As soon as I touched the 
problematic file, tar worked.


Many thanks.  When I get to work tomorrow, I'll use find.  I'll have 
to check the man page for the right parameters (I don't usually search 
by date) but I think that I can handle that.  ;)


Anyway, like I said, the help is much appreciated.

Jaime


To save you some time, from my notes:
#finds all files modified before 1971
find / ! -newermt 1971-01-01 20:30


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


Re: jdk15

2006-07-23 Thread Micah

eoghan wrote:

Hi again
And thanks for the advice on installing jdk... but can you point me in 
the direction of where to get the installers if I dont go about using 
the port to install.
I had tried jdk14, but its not for amd64. I also read that OOo needs 
jdk14. Is this true?
Having said that I would still like to get jdk15 installed for use with 
some jinit apps.

Thanks
Eoghan


trisha% pwd
/usr/ports/editors/openoffice.org-2.0
trisha% grep JAVA_VERSION Makefile
JAVA_VERSION=   1.4+
(OOo can use 1.4 or 1.5)

A quick google using freebsd java would've gotten you 
http://www.freebsdfoundation.org/downloads/java.shtml for JDK packages


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


Re: a good www/picture management port?

2006-07-22 Thread Micah

Jonathan Horne wrote:
anyone know of good picture management application that can be found within 
ports, to manage and organize pics that i upload?


right now, my management system is to: 
1) open my folder on my local KDE workstation.  create image gallery using the 
built in tool.

2) upload the entire folder under a master folder on my web host.

im not looking for sometnig that i can try to complete with imageshack or 
anything, but if there is something out there that can help me out with the 
thumbnailing and organization of the tons of pics im accumulating these days, 
i would appreciate anyones input.


thanks a bunch,
jonathan


I use KPhotoAlbum to organize my digital photos and seems to be popular 
with photographers. It's a photo indexer mainly, but does have export to 
HTML.


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


Re: Still debugging why open(/dev/lpt0...) hangs

2006-07-21 Thread Micah

[EMAIL PROTECTED] wrote:

lpt0 is hanging up when it tries to request the ppbus (line 478 of
lpt.c).  I'm guessing that if_plip.c has requested it and not
released it, which apparently happens when there's been an ioctl
on the plip.  There's no plausible reason why this should happen.
What can I call in lpioctl (if_plip.c line 302) to print out some
identifying information about the process doing the ioctl?  Or is
there a better list somewhere to ask this question?
-- George Mitchell


Might try freebsd-hackers, they have more code-level discussion than 
questions does.


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


Re: can someone instruct me on how to use this patch?

2006-07-19 Thread Micah

Jonathan Horne wrote:

Jonathan Horne [EMAIL PROTECTED] writes:


someone from the kde list pointed me to this:

http://www.freebsd.org/cgi/cvsweb.cgi/ports/x11/kdebase3/files/patch-post-3.5.3-screensavers?rev=1.1content-type=text/x-cvsweb-markup

can someone please instruct me on what to do with this to i assume merge
this
into my kde3 port sources?

If you just cvsup your ports, this patch will be included...
___


i can probably do that... but until now, i have always used portsnap for
keeping my ports updated... if i cvsup once, how will that affect the
future of my ports tree?

thanks,
jonathan



Just use portsnap to update your ports tree. It should have the patch as 
well since it was committed two weeks ago.


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


Re: USB and 6.1-RELEASE

2006-07-17 Thread Micah

Rich Demanowski wrote:

Micah wrote:

Rich Demanowski wrote:
scbus, da, pass, ohci, uhci, ehci, usb, udbp, ugen, uhid, ukbd, ulpt, 
umass, ums, ural, urio and uscanner are all enabled in the running 
kernel's /usr/src/sys/i386/conf config file.  usbd is not running.  
When  I try to start usbd I get the following:

   No USB host controllers found.

There are no usb* devices listed in /dev.

in dmesg I get the following with regard to ohci0 and ehci0:
   ohci0: OHCI (generic) USB controller mem 0xfe02f000-0xfe02 
at device 11.0 on pci0

   pcib0: unable to route slot 11 INTA
   ohci0: Could not allocate irq
   device_attach: ohci0 attach returned 6
   ehci0: EHCI (generic) USB 2.0 controller mem 
0xfe02e000-0xfe02e0ff at device 1 1.1 on pci0

   pcib0: unable to route slot 11 INTB
   ehci0: Could not allocate irq
   device_attach: ehci0 attach returned 6


When I plug the drive into any of the USB ports on the system, 
nothing happens in dmesg or /var/log/messages.  camcontrol devlist 
lists no devices.


I'm a bit confused as to why my USB keyboard and mouse function, but 
my thumb drive will not.


It's likely that your BIOS has legacy support enabled in which case, 
as far as FreeBSD is concerned, you actually have a regular keyboard 
and mouse. That would explain why the mouse and keyboard work while 
other USB items do not. From the messages you gave, it's clear that 
FreeBSB is unable to connect to the USB controller. Disabling legacy 
support in the BIOS may help. Otherwise check your BIOS for other USB 
related settings and try changing those.


Indeed, legacy support is enabled (actually auto was the setting in 
the BIOS).  When I disable it, the keyboard and mouse cease functioning, 
as well.  That was the only setting I could find in the BIOS related to 
USB.


I suppose that means the on-board USB controller is one not supported by 
existing drivers?  Or at least ones not listed in the  GENERIC config on 
which  I based my kernel (all  I added was the ath drivers for my 
wireless)?  I don't know which chipset it is, but my guess is, since the 
on-board video and LAN is an nVidia chipset, that the USB controller 
probably is, as well.


Based on the error messages I think it's still worth trying some 
different settings. FeeeBSD seems to recognize the controller but it is 
unable to allocate the right resources to it. Check your BIOS for a PnP 
OS setting and toggle it. Also, try booting with ACPI disabled (or 
enabled) from the FreeBSD boot menu. IIRC, ACPI can have a hand in 
routing resources.


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


Re: USB and 6.1-RELEASE

2006-07-17 Thread Micah

Rich Demanowski wrote:

Micah wrote:

Rich Demanowski wrote:

Micah wrote:

Rich Demanowski wrote:
scbus, da, pass, ohci, uhci, ehci, usb, udbp, ugen, uhid, ukbd, 
ulpt, umass, ums, ural, urio and uscanner are all enabled in the 
running kernel's /usr/src/sys/i386/conf config file.  usbd is not 
running.  When  I try to start usbd I get the following:

   No USB host controllers found.

There are no usb* devices listed in /dev.

in dmesg I get the following with regard to ohci0 and ehci0:
   ohci0: OHCI (generic) USB controller mem 0xfe02f000-0xfe02 
at device 11.0 on pci0

   pcib0: unable to route slot 11 INTA
   ohci0: Could not allocate irq
   device_attach: ohci0 attach returned 6
   ehci0: EHCI (generic) USB 2.0 controller mem 
0xfe02e000-0xfe02e0ff at device 1 1.1 on pci0

   pcib0: unable to route slot 11 INTB
   ehci0: Could not allocate irq
   device_attach: ehci0 attach returned 6


When I plug the drive into any of the USB ports on the system, 
nothing happens in dmesg or /var/log/messages.  camcontrol devlist 
lists no devices.


I'm a bit confused as to why my USB keyboard and mouse function, 
but my thumb drive will not.


It's likely that your BIOS has legacy support enabled in which 
case, as far as FreeBSD is concerned, you actually have a regular 
keyboard and mouse. That would explain why the mouse and keyboard 
work while other USB items do not. From the messages you gave, it's 
clear that FreeBSB is unable to connect to the USB controller. 
Disabling legacy support in the BIOS may help. Otherwise check your 
BIOS for other USB related settings and try changing those.


Indeed, legacy support is enabled (actually auto was the setting in 
the BIOS).  When I disable it, the keyboard and mouse cease 
functioning, as well.  That was the only setting I could find in the 
BIOS related to USB.


I suppose that means the on-board USB controller is one not supported 
by existing drivers?  Or at least ones not listed in the  GENERIC 
config on which  I based my kernel (all  I added was the ath drivers 
for my wireless)?  I don't know which chipset it is, but my guess is, 
since the on-board video and LAN is an nVidia chipset, that the USB 
controller probably is, as well.


Based on the error messages I think it's still worth trying some 
different settings. FeeeBSD seems to recognize the controller but it 
is unable to allocate the right resources to it. Check your BIOS for a 
PnP OS setting and toggle it. Also, try booting with ACPI disabled 
(or enabled) from the FreeBSD boot menu. IIRC, ACPI can have a hand in 
routing resources.


HTH,
Micah
OK, disabling Plug-n-Play OS *and* USB legacy support now has the system 
recognizing the USB controllers.  It also seems to have fixed the odd 
CAPSLOCK character duplication I was getting, and my mouse scroll wheel 
now works.


Now I'm on to another issue.

When I plug in the thumb drive, which is a 512MB USB 2.0 Mobile 
Swingdrive, containing an MS-DOS filesystem, I get the following:

   umass0: vendor 0x0930 USB Flash Memory, rev 2.00/1.00, addr 2
   da0 at umass-sim0 bus 0 target 0 lun 0
   da0:  USB Flash Memory 1.04 Removable Direct Access SCSI-0 device
   da0: 40.000MB/s transfers
   da0: 489MB (1001472 512 byte sectors: 64H 32S/T 489C)
   umass0: Phase Error, residue = 0
   (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi 
status == 0x0

   umass0: Phase Error, residue = 0
   (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi 
status == 0x0

   umass0: Phase Error, residue = 0
   (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi 
status == 0x0

   umass0: Phase Error, residue = 0
   (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi 
status == 0x0

   umass0: Phase Error, residue = 0
   (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi 
status == 0x0

   umass0: Phase Error, residue = 0
   (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi 
status == 0x0

   umass0: Phase Error, residue = 0
   (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi 
status == 0x0

   umass0: Phase Error, residue = 0
   (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi 
status == 0x0

   umass0: Phase Error, residue = 0
   (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi 
status == 0x0

   umass0: Phase Error, residue = 0
   (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi 
status == 0x0

   umass0: Phase Error, residue = 0
   (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi 
status == 0x0

   umass0: Phase Error, residue = 0
   (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi 
status == 0x0

   umass0: Phase Error, residue = 0
   (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi 
status == 0x0


mount /dev/da0 /thumb yields the error:
   mount: /dev/da0 on /thumb: incorrect super block

mount -t msdos

Re: USB and 6.1-RELEASE

2006-07-16 Thread Micah

Rich Demanowski wrote:
I've searched through and browsed the archives, and can't find anything 
that helps me with this.


I've recently gotten my Compaq SR1910NX up and running on FreeBSD 6.1, 
but am having trouble getting it to recognize my SwingDrive umass device 
(USB 2.0, 512MB).  The only thing that's different from this machine's 
from-the-factory configuration is the addition of a Linksys WMP55AG 
wireless card, which is working just fine thanks to the ath driver.


I know the USB controller is working because both my USB keyboard and my 
USB mouse function (though the keyboard (a Happy Hacking Lite 2) is a 
little quirky ... when  I hold down the shift key to type a word in all 
caps, it doubles up the letters LIKEKE THTHIISS sometimes, and I still 
haven't gotten Xorg to recognize the scroll wheel on the mouse).



scbus, da, pass, ohci, uhci, ehci, usb, udbp, ugen, uhid, ukbd, ulpt, 
umass, ums, ural, urio and uscanner are all enabled in the running 
kernel's /usr/src/sys/i386/conf config file.  usbd is not running.  
When  I try to start usbd I get the following:

   No USB host controllers found.

There are no usb* devices listed in /dev.

in dmesg I get the following with regard to ohci0 and ehci0:
   ohci0: OHCI (generic) USB controller mem 0xfe02f000-0xfe02 at 
device 11.0 on pci0

   pcib0: unable to route slot 11 INTA
   ohci0: Could not allocate irq
   device_attach: ohci0 attach returned 6
   ehci0: EHCI (generic) USB 2.0 controller mem 0xfe02e000-0xfe02e0ff 
at device 1 1.1 on pci0

   pcib0: unable to route slot 11 INTB
   ehci0: Could not allocate irq
   device_attach: ehci0 attach returned 6


When I plug the drive into any of the USB ports on the system, nothing 
happens in dmesg or /var/log/messages.  camcontrol devlist lists no 
devices.


I'm a bit confused as to why my USB keyboard and mouse function, but my 
thumb drive will not.


Any ideas?  Did I miss something in the kernel config?  Do  I need to 
enable something in rc.conf?  According to what's in the FreeBSD 
handbook, this should be working ...


It's likely that your BIOS has legacy support enabled in which case, 
as far as FreeBSD is concerned, you actually have a regular keyboard and 
mouse. That would explain why the mouse and keyboard work while other 
USB items do not. From the messages you gave, it's clear that FreeBSB is 
unable to connect to the USB controller. Disabling legacy support in the 
BIOS may help. Otherwise check your BIOS for other USB related settings 
and try changing those.


HTH,
Micah


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


Re: LinkLib Issues In freebsd Lazarus

2006-07-16 Thread Micah

Bob wrote:

So, all that is needed is to apply the patches I mentioned in my OP, get
the proper gdk-pixbuf installed from ports, and it is as good as gold.

Now, how can I create a port for Lazarus, now that I have it compiled
and running?

Bob


The porter's handbook should get you started:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/

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


Re: ports variable for compiling in alternate location

2006-07-14 Thread Micah

Dave wrote:

Hello,
   I'm trying to compile tovid on my 6.1 box. The filesystem that has 
ports on it is running out of space. I knew of a variable that allowed 
ports to be compiled in an alternate area, but can't find it. Also, does 
anyone know how much build space tovid will need?

Thanks.
Dave.


WRKDIRPREFIX=/path/to/place/with/space (see 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html 
for details)


Not sure how much space tovid needs to build though.

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


Re: 6.1-RELEASE-i386 man broken?

2006-07-13 Thread Micah

Nick Withers wrote:

On Thu, 13 Jul 2006 08:42:53 -0700
David Christensen [EMAIL PROTECTED] wrote:


Matthew Seaman wrote:

See the manpath(1) man page for more information.

2006-07-13 08:38:58 [EMAIL PROTECTED] ~
$ man manpath
No manual entry for manpath


Hahaha... I absolutely *love* these kinds of problems... You
can't find the man page because of a problem locating man
pages! :-)


That's where http://www.freebsd.org/cgi/man.cgi comes in handy - as long 
as you also have a working web browser somewhere.


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


Re: FBSD6.1 cups w/gimp-print drivers

2006-07-12 Thread Micah

Pete C wrote:
I'm trying to get my printer working with a realtivly new install of 6.1 
Release w/ Gnome . . . cups and gimp-print were installed as 
dependancies (I guess, as I didn't pick them) . . .


 . . . all I've been able to find tells me I need to get gimp-print 
drivers (for my canon S530D) working w/ cups . . .


. . . I've enabled cups, and in trying to add the printer I only get a 
small list of printer drivers and canon isn't one of them . . .


. . . how do I get cups to use the gimp-print drivers ? ? ?

TIA

Pete C


You have to build gimp-print with the WITH_CUPS=yes knob set, otherwise 
it doesn't add itself properly to cups.


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


Re: Segmentation fault with smbpasswd

2006-07-11 Thread Micah

Thierry Lacoste wrote:

I'm running FreeBSD 6.1-RELEASE and installed samba-3.0.22,1
from a relatively recent snapshot or /usr/ports.

Here is the global section of my /usr/local/etc/smb.conf:

[global]
workgroup = OFFICE
server string = Samba Server
passdb backend = tdbsam
logon script = scripts\logon.bat
logon path = \\%L\Profiles\%U
logon drive = H:
logon home = \\%L\%U
domain logons = Yes
os level = 35
preferred master = Yes
domain master = Yes

After a fresh install of samba smbpasswd gives this:
[EMAIL PROTECTED] ~]# smbpasswd -a admin
New SMB password:
Retype new SMB password:
Unable to open/create TDB passwd
Unable to open/create TDB passwd
pdb_getsampwnam: TDB passwd (/usr/local/private/passdb.tdb) did not exist. 
File successfully created.

Segmentation fault: 11 (core dumped)

Then it gives this:
[EMAIL PROTECTED] ~]# smbpasswd -a admin
New SMB password:
Retype new SMB password:
Unable to open/create TDB passwd
pdb_getsampwnam: Unable to open TDB passwd (/usr/local/private/passdb.tdb)!
account_policy_get: tdb_fetch_uint32 failed for field 1 (min password length), 
returning 0
account_policy_get: tdb_fetch_uint32 failed for field 2 (password history), 
returning 0
account_policy_get: tdb_fetch_uint32 failed for field 3 (user must logon to 
change password), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 4 (maximum password 
age), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 5 (minimum password 
age), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 6 (lockout duration), 
returning 0
account_policy_get: tdb_fetch_uint32 failed for field 7 (reset count minutes), 
returning 0
account_policy_get: tdb_fetch_uint32 failed for field 8 (bad lockout attempt), 
returning 0
account_policy_get: tdb_fetch_uint32 failed for field 9 (disconnect time), 
returning 0
account_policy_get: tdb_fetch_uint32 failed for field 10 (refuse machine 
password change), returning 0

TDBSAM version too old (0), trying to convert it.
TDBSAM converted successfully.
Added user admin.

After that, samba seems to work properly.

If I touch /usr/local/private/passdb.tdb after a fresh install of samba
I have directly the second behavior (no segfault) and then again samba
is operational.

What did I miss?

Regards,
Thierry.


You possibly found a bug in the port. Contact the maintainer or file a pr.

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


Re: usb storage device mounting problems

2006-07-11 Thread Micah

On Sunday 09 July 2006 9:59 am, Bram Kuijper wrote:

Hi,

still cannot seem to get usb device working as an ordinary user between
multiple reboots, without doing /etc/rc.d/devfs start as root every time.

did the following things described under 4.3.3. from
http://www.gphoto.org/doc/manual/permissions-usb.html

added this to devfs.rules:

[usb_devices=10]
add path 'da*s*' mode 0666 group usb
add path 'ugen*' mode 0666 group usb

added this to rc.conf:
devfs_system_ruleset=usb_devices


removed this from devfs.conf:

own /dev/fd0 root:operator
perm /dev/fd0 0666


then, I restarted my rc.conf:
/etc/rc.d/devfs start

now, it is possible to mount the device as described, however only
during this login. If I reboot, I have to do devfs start again as root.

anybody knows how to retain these settings between multiple reboots?

TIA,
Bram


An 'ls -l /dev/da*' and 'ls -l /dev/u*' just after reboot might be 
helpful to see if /some/ of the permissions are being set on boot. Next, 
double check your devfs.conf - in your email you said you removed 
permissions related to the floppy not the USB devices, maybe there's a 
conflict. Also, after a reboot but before doing a devfs start, unplug 
your USB device and then plug it back in - to see if devfs is working.


I tried to reproduce your problem with a USB flash drive, but I can't. 
What kind of USB device are you using?  Maybe it's a driver error.


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


Re: Producing a binary install

2006-07-11 Thread Micah

Bob wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


First I would like to thank all of you who helped me out on my
Java-Hell issue. I now have a working native jdk.1.4.2.

It took a bit of doing, and many hours of compile time, but it finally
worked. It did bomb once, about 4 hours into the compile, and demanded I
  do a  kldload linprocfs, followed by a mount -t linprocfs linprocfs
/compat/linux/proc, claiming it needed a proc fs to compile. I assume
this was needed for the compile-time, and not for the run-time???

Anyway, java now works in all browsers.

My next task here is to upgrade another workstation to freebsd. The
woman I live with wants to dump her Linux, and have what I have as well :-)

My question:

I will be installing her machine mainly from pre-compiled packages, as
it is not a dual-processor fast box like mine is.

Java, and other packages are not available in pre-compiled form. Since I
already compiled Java, is there a way to produce a binary-install on my
machine, and install it on her machine? Simply tar up the dir perhaps?

We have limited bandwidth (DSL) and so it would make sense to do a basic
install for her over the net, and then do the rest of the install
locally from stuff I compiled. Not everything, just BIG stuff like Java,
KDE, Gnome the browsers

TIA
Bob



There is a binary of Java at http://www.freebsd.org/java/, but I haven't 
tried it.


Otherwise doing a 'make package' after the port has been installed will 
create a package for you. You should then be able to install the package 
on the other machine using pkg_add.


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


Re: Segmentation fault with smbpasswd

2006-07-11 Thread Micah

Thierry Lacoste wrote:

On Tuesday 11 July 2006 18:24, Micah wrote:

Thierry Lacoste wrote:

I'm running FreeBSD 6.1-RELEASE and installed samba-3.0.22,1
from a relatively recent snapshot or /usr/ports.

Here is the global section of my /usr/local/etc/smb.conf:

[global]
workgroup = OFFICE
server string = Samba Server
passdb backend = tdbsam
logon script = scripts\logon.bat
logon path = \\%L\Profiles\%U
logon drive = H:
logon home = \\%L\%U
domain logons = Yes
os level = 35
preferred master = Yes
domain master = Yes

After a fresh install of samba smbpasswd gives this:
[EMAIL PROTECTED] ~]# smbpasswd -a admin
New SMB password:
Retype new SMB password:
Unable to open/create TDB passwd
Unable to open/create TDB passwd
pdb_getsampwnam: TDB passwd (/usr/local/private/passdb.tdb) did not
exist. File successfully created.
Segmentation fault: 11 (core dumped)

Then it gives this:
[EMAIL PROTECTED] ~]# smbpasswd -a admin
New SMB password:
Retype new SMB password:
Unable to open/create TDB passwd
pdb_getsampwnam: Unable to open TDB passwd
(/usr/local/private/passdb.tdb)! account_policy_get: tdb_fetch_uint32
failed for field 1 (min password length), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 2 (password
history), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 3 (user must logon
to change password), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 4 (maximum password
age), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 5 (minimum password
age), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 6 (lockout
duration), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 7 (reset count
minutes), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 8 (bad lockout
attempt), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 9 (disconnect
time), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 10 (refuse machine
password change), returning 0
TDBSAM version too old (0), trying to convert it.
TDBSAM converted successfully.
Added user admin.

After that, samba seems to work properly.

If I touch /usr/local/private/passdb.tdb after a fresh install of samba
I have directly the second behavior (no segfault) and then again samba
is operational.

What did I miss?

Regards,
Thierry.

You possibly found a bug in the port. Contact the maintainer or file a pr.

HTH,
Micah

Thanks. I did contact the maintainer.

I tried with FreeBSD 6.0-RELEASE and samba-3.0.14a_1,1 from the ToolKit disk.
When I first use smbpasswd I only have the account_policy_get failures
(no segfault).

BTW I searched the web about the account_policy_get failures but couldn't
find any explanation exept that it is safe to ignore those messages when
smbpasswd is used for the first time.
Can someone shed some light on them?

Regards,
Thierry.



My guess, without looking at the source code, is that smbpasswd tries to 
access passwddb.tbd before adding the first password. Since the file is 
empty, it's an invalid file and generates errors.


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


Re: Shared IMAP folder

2006-07-10 Thread Micah

Nagy László Zsolt wrote:


 Hello,

I would like to share some IMAP folders between users. I'm currently 
using postfix and uw-imap. Is this possible? How should I do this? (Hard 
links between IMAP files?)


The basic problem is this: we have a company and we have some employees, 
doing help desk service. There are cases with different e-mail 
threads. When an employee goes on holiday, the others should be able to 
continue his work. The best was to do this is - I believe - a shared 
IMAP folder. Our employees are using Thunderbird. That wonderful program 
can display message threads. It is very nice, but how can these users 
share their e-mails? Is it possible to do this with FreeBSD and 
Thunderbird?


Thank you,

  Laszlo



There's some directions at 
http://www.flatmtn.com/computer/Linux-Imap-UW.html (found by googling uw 
imap shared folders) but I'm not sure I follow them. It looks like it's 
just setting up another IMAP account that happens to be shared


I use cyrus-imap, and it seems to have fairly straight-forward support 
for shared/public folders from what little I've played with them.


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


Re: CUPS Woes Woes

2006-07-10 Thread Micah

E. J. Cerejo wrote:

This is weird, I configure a printer and I'm able to print a test page and I then close the browser and try 
to print and I get a quick popup window saying Starting with CUPS but nothing happens it won't 
print.  I Open firefox again and go back to printer administration and the printer I just configured is not 
there, so I configure it again giving it the same name and when I try to print a test page it gives me this 
error: Quota limit reached and printer disappears again from the printer management page again.  
Now if I configure another printer with a different name it will print a test page but if I try to print from 
another application it will not print I just get that same popup window saying Starting with cups 
and if I close firefox and then go back there again the printer is not there.  I'm running the latest cups on 
the ports tree 1.2.0 and FBSD6.1.

My printers.conf file looks like this

DefaultPrinter main
Info HP Officejet 4315
Location home
DeviceURI usb:/dev/unlpt0
State Idle
StateTime 1152564753
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
AllowUser webdude
OpPolicy default
ErrorPolicy stop-printer
/Printer

My rc.conf file kind looks like this:

hpiod_enable=YES
hpssd_enable=YES
cupsd_enable=YES
devfs_system_ruleset=system

My devfs.rules file looks like this:

# HP drivers rules
#
[system=10]
add path 'ugen*' group operator
add path 'ugen*' mode 0660
add path 'unlpt*' mode 0660 group cups
add path 'ulpt*' mode 0660 group cups





EJC
www.only7bucks.com


Could you check /var/logs/cups/error_log for errors?  A quick 'grep ^E 
error_log' will show just the errors, but not what's going on around it.


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


Re: CUPS Woes Woes

2006-07-10 Thread Micah

E. J. Cerejo wrote:



*/Micah [EMAIL PROTECTED]/* escreveu:

E. J. Cerejo wrote:
  This is weird, I configure a printer and I'm able to print a test
page and I then close the browser and try to print and I get a quick
popup window saying Starting with CUPS but nothing happens it
won't print. I Open firefox again and go back to printer
administration and the printer I just configured is not there, so I
configure it again giving it the same name and when I try to print a
test page it gives me this error: Quota limit reached and printer
disappears again from the printer management page again. Now if I
configure another printer with a different name it will print a test
page but if I try to print from another application it will not
print I just get that same popup window saying Starting with cups
and if I close firefox and then go back there again the printer is
not there. I'm running the latest cups on the ports tree 1.2.0 and
FBSD6.1.
 
  My printers.conf file looks like this
 
 
  Info HP Officejet 4315
  Location home
  DeviceURI usb:/dev/unlpt0
  State Idle
  StateTime 1152564753
  Accepting Yes
  Shared Yes
  JobSheets none none
  QuotaPeriod 0
  PageLimit 0
  KLimit 0
  AllowUser webdude
  OpPolicy default
  ErrorPolicy stop-printer
 
 
  My rc.conf file kind looks like this:
 
  hpiod_enable=YES
  hpssd_enable=YES
  cupsd_enable=YES
  devfs_system_ruleset=system
 
  My devfs.rules file looks like this:
 
  # HP drivers rules
  #
  [system=10]
  add path 'ugen*' group operator
  add path 'ugen*' mode 0660
  add path 'unlpt*' mode 0660 group cups
  add path 'ulpt*' mode 0660 group cups
 
 
 
 
 
  EJC
  www.only7bucks.com

Could you check /var/logs/cups/error_log for errors? A quick 'grep ^E
error_log' will show just the errors, but not what's going on around it.

- Micah


Here's today's errors:

E [10/Jul/2006:16:12:21 -0400] CUPS-Add-Modify-Printer: Unauthorized
E [10/Jul/2006:16:12:23 -0400] CUPS-Add-Modify-Printer: Unauthorized
E [10/Jul/2006:16:12:23 -0400] CUPS-Add-Modify-Printer 
server-error-internal-error: Unable to copy PPD file!
E [10/Jul/2006:16:12:54 -0400] Print-Job client-error-not-possible: 
Quota limit reached.

E [10/Jul/2006:16:13:07 -0400] CUPS-Delete-Printer: Unauthorized
E [10/Jul/2006:16:13:07 -0400] Unable to save printers.conf - No such 
file or directory
E [10/Jul/2006:16:13:07 -0400] Unable to restore printers.conf - No such 
file or directory
E [10/Jul/2006:16:44:31 -0400] CUPS-Get-Printers client-error-not-found: 
No destinations added.
E [10/Jul/2006:16:44:35 -0400] CUPS-Get-Default client-error-not-found: 
No default printer
E [10/Jul/2006:16:44:35 -0400] CUPS-Get-Printers client-error-not-found: 
No destinations added.
E [10/Jul/2006:16:44:38 -0400] CUPS-Get-Printers client-error-not-found: 
No destinations added.
E [10/Jul/2006:16:45:18 -0400] CUPS-Get-Default client-error-not-found: 
No default printer
E [10/Jul/2006:16:45:18 -0400] CUPS-Get-Classes client-error-not-found: 
No destinations added.
E [10/Jul/2006:16:45:20 -0400] CUPS-Get-Printers client-error-not-found: 
No destinations added.

E [10/Jul/2006:16:46:28 -0400] CUPS-Add-Modify-Printer: Unauthorized
E [10/Jul/2006:16:46:30 -0400] CUPS-Add-Modify-Printer: Unauthorized
E [10/Jul/2006:16:47:36 -0400] CUPS-Add-Modify-Printer: Unauthorized
E [10/Jul/2006:16:47:41 -0400] CUPS-Get-Default client-error-not-found: 
No default printer

E [10/Jul/2006:16:47:47 -0400] CUPS-Set-Default: Unauthorized
E [10/Jul/2006:16:47:49 -0400] CUPS-Set-Default: Unauthorized
E [10/Jul/2006:16:50:40 -0400] CUPS-Add-Modify-Printer: Unauthorized
E [10/Jul/2006:16:50:40 -0400] CUPS-Add-Modify-Printer: Unauthorized
E [10/Jul/2006:16:50:57 -0400] CUPS-Add-Modify-Printer: Unauthorized
E [10/Jul/2006:16:55:46 -0400] CUPS-Add-Modify-Printer: Unauthorized
E [10/Jul/2006:16:56:08 -0400] CUPS-Add-Modify-Printer: Unauthorized
E [10/Jul/2006:16:56:32 -0400] CUPS-Add-Modify-Printer: Unauthorized

my printers.conf file is in /usr/local/etc/cups, is this the correct 
directory for it?



EJC
www.only7bucks.com


/usr/local/etc/cups is where mine is.

I'm not seeing anything in the errors that stands out - but I'm not an 
expert.  You might try changing loglevel to debug in cupsd.conf, 
restarting cups, and then trying to print. You should get more messages 
in error_log that may help. The messages that appear both before and 
after the actual errors might be helpful in diagnosing the problem.



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


Re: usb storage device mounting problems

2006-07-08 Thread Micah

Bram Kuijper wrote:

Hi all,

I got some problems with mounting my usb device. I did all the stuff 
according to point 9.22 in the FreeBSD FAQ, but I still cannot mount my 
usb storage key (a sandisk cruzer mini 256 MB) as an ordinary user, 
without having to change the group owner as a root. Adding the needed 
lines to devfs.conf doesn't seem to help in retaining the settings 
across multiple reboots. I run FreeBSD-stable 6.1


in /etc/sysctl.conf I added:
vfs.usermount=1

I added to my etc/devfs.conf the following lines:
own /dev/da0s1  root:usb
perm/dev/da0s1  0666

I added myself, the ordinary user to the group usb and checked if that 
worked out by doing id $myusername:

uid=1002($myusername) gid=0(wheel) groups=0(wheel), 1002(usb), 1004(cvs)

so I am in the group usb, and if everything went allright, also the 
folder /dev/da0s1 should now owned by the group usb. So I'll reboot and 
plugin the device.


I reboot and plugin my usb key. Check if things are recognized using 
usbdevs:

$ devfs
addr 1: UHCI root hub, Intel
addr 2: product 0x3108, vendor 0x04b3
addr 1: UHCI root hub, Intel
addr 2: Cruzer Mini, SanDisk Corporation
seems it has been recognized. Now I check the user rights on dev/da0s1

$ su
$ ls -aln /dev | grep da0
crw-r-   1 0 5   0, 107 Jul  8 15:17 da0
crw-r-   1 0 5   0, 108 Jul  8 15:17 da0s1
crw-r-   1 0 5   0, 108 Jul  8 15:17 da0s1

alas, despite the changes made in devfs.conf, the group in which da0s1 
is in, is still another one than the usb-group (which has 1002) as a 
group identifier. So still not able to mount the device as an ordinary 
user.


anybody advice on how to tweak my devfs.conf, so that it works?

thanks,

Bram


devfs.conf is only consulted on boot. You need to play with devfs.rules 
instead.


Put something like this in devfs.rules:
[system=10]
add path 'da*' mode 0660 group usb

and add this to rc.conf:
devfs_system_ruleset=system

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


Re: Is there a daemon/program for FreeBSD that accepts Microsoft RDP connections?

2006-07-06 Thread Micah

Andrew Pantyukhin wrote:

On 5/14/06, Tom Norris [EMAIL PROTECTED] wrote:

Hello everyone,

I'm trying to convince my boss to let me set up a FreeBSD system as file
server.  He said he would allow it if he could use Microsoft's RDP
client (not VNC or SSH :( ) to connect and monitor the machine at his
whim.  Are there any daemons that will take incoming RDP connections?


I just found out about xrdp: http://xrdp.sourceforge.net/

It's not ported yet, though.


FWIW, xrdp compiles with minor mods to the Makefiles (remove all 
references to -ldl). After install it appears to require a VNC server 
running on localhost:5910. After pointing krfb to listen on 5910, I was 
able to connect to my FreeBSD box using mstsc.exe from a Windows XP box. 
There's hope that it's a relatively easy port.


HTH,
Micah


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


Re: screen blanking and kde

2006-07-03 Thread Micah

dick hoogendijk wrote:

The machine I use fvwm on blanks the screen after a period of time (the
default from Xorg). However, a machine running KDE does not(!), even
without the screensaver enabled (in kde). Disabling the saver results
in a screen never go blank. So, I guess, kde interfeares with xorg
somewhere (disabling the blanktime feature from xorg).

Does anybody know where this is done (by kde) and if this can be
changed? Sure, I can use kde's screensaver (orxscreensaver), but I only
want the screen go blank and xorg can do that just the same)



From settings-peripherals-display select the power control tab and 
you should be able to set blanking time there.


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


Re: one more question, related to java/CLASSPATH

2006-07-01 Thread Micah

Jim Stapleton wrote:

OK, sorry for being a continuous bother on this, but google is
failling me, and I cannot find a reason for this issue. Java will not
run an app, and everything I've read says that . should be in the
classpath to make it work, so I'm thinking this is a BSD-Java
implementation related issue. Any ideas?


[EMAIL PROTECTED] 11:54:17 (0) ~/dev/java/test  java -classpath . test.java
Exception in thread main java.lang.NoClassDefFoundError: test/java
[EMAIL PROTECTED] 11:54:27 (0) ~/dev/java/test  java -version
java version 1.5.0-p3
Java(TM) 2 Runtime Environment, Standard Edition (build
1.5.0-p3-root_01_jul_2006_07_53)
Java HotSpot(TM) Client VM (build 1.5.0-p3-root_01_jul_2006_07_53, mixed 
mode)

[EMAIL PROTECTED] 11:54:43 (0) ~/dev/java/test  ls
test.class  test.java


I don't know what other info to send. Running 6.1, the specific port
was ports/java/jdk15


Thanks,
-Jim


Java expects the name of a class, not the name of a file. You should 
invoke your test using java test
The command java test.java is trying to execute a class named java 
in the test package.


FWIW my classpath is: 
./:/usr/local/share/java/classes/junit.jar:/usr/local/freetts/lib/


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


Re: permissions in devfs.conf don't stick

2006-07-01 Thread Micah

Charles Howse wrote:


On Jul 1, 2006, at 12:16 PM, Anish Mistry wrote:


On Saturday 01 July 2006 11:54, Charles Howse wrote:

I've added the following to /etc/devfs.conf:
own lpt0root:wheel
permlpt00660

Save that, then, # chmod 0660 /dev/lpt0

When I reboot, the permissions revert to the default of 0600.
Anyone know why that is?

man devfs.rules
http://am-productions.biz/docs/devfs.rules.php


Sorry, this just isn't working for me.

/etc/rc.conf contains:
devfs_rulesets=/etc/defaults/devfs.rules /etc/devfs.rules
devfs_system_ruleset=local_rules

$ cat /etc/devfs.rules
[local_rules=10]
add path lpt0 mode 660 group wheel

devfs does not complain when I restart it.
I've tried:
'lpt*'
'lpt0*'

No matter what, the permissions revert to 600 when I reboot.
How about a little nudge in the right direction?  :)


Just a me too.  I tried the rule quoted above on my 6.1 release 
system, and it doesn't work here either. There are no devices attached 
to the parallel port if that makes a difference.  I have several other 
similar rules that /do/ work for ulpt, da*, and pass*, but the ltp* 
device does not respond to my devfs.rules.


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


6.1-RELEASE Loader broken

2006-07-01 Thread Micah

Hey all,

I just upgraded via source from FreeBSD 6.0-RELEASE to FreeBSD
6.1-RELEASE-p2 on my Compaq Presario M2000 laptop.

I followed the procedures as outlined in the handbook basically:
mergemaster -p
make buildworld
make buildkernel
make installkernel
reboot to single user
mergemaster -p
make isntallworld
mergemaster
reboot

Basically all went well until the final reboot. I never get to the boot
menu (the loader menu that used to have the ascii beastie on it).
instead a screen appears for a split second and the laptop reboots. The
only text I can make out after trying this many times is BTX. :( It's
just up for too short a time to even try and figure out what's being
displayed. Using a 6.0-RELEASE rescue disk I copied loader.old to
loader, rebooted and the system boots fine, but now I'm using a 6.0
loader with 6.1. Any clues on what could be wrong?

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


Re: 6.1-RELEASE Loader broken (work around)

2006-07-01 Thread Micah

Micah wrote:

Hey all,

I just upgraded via source from FreeBSD 6.0-RELEASE to FreeBSD
6.1-RELEASE-p2 on my Compaq Presario M2000 laptop.

I followed the procedures as outlined in the handbook basically:
mergemaster -p
make buildworld
make buildkernel
make installkernel
reboot to single user
mergemaster -p
make isntallworld
mergemaster
reboot

Basically all went well until the final reboot. I never get to the boot
menu (the loader menu that used to have the ascii beastie on it).
instead a screen appears for a split second and the laptop reboots. The
only text I can make out after trying this many times is BTX. :( It's
just up for too short a time to even try and figure out what's being
displayed. Using a 6.0-RELEASE rescue disk I copied loader.old to
loader, rebooted and the system boots fine, but now I'm using a 6.0
loader with 6.1. Any clues on what could be wrong?

Thanks,
Micah


I changed my grub settings and the 6.1 loader now works. Heres what my 
menu.lst looks like now:


title FreeBSD 6.1 (hd0,1) (GRUB installed here)
root (hd0,1,a)
#   kernel /boot/loader #doesn't work
chainloader +1

Still looking for clues why kernel /boot/loader doesn't work on my 
laptop with 6.1 while the exact same line worked with 6.0 and works fine 
with 6.1 on my desktop. I'm wondering if it's a timing/deadlock issue 
since using chainloader takes slightly longer than kernel...


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


Re: CUPS, USB printers Permission Denied

2006-06-27 Thread Micah

Anthony Agelastos wrote:


On Jun 25, 2006, at 11:37 PM, Nicolas Blais wrote:


On Sunday 25 June 2006 23:32, John Nielsen wrote:

On Sunday 25 June 2006 20:04, Anthony Agelastos wrote:

On Jun 25, 2006, at 7:35 PM, John Nielsen wrote:

On Sunday 25 June 2006 19:28, Anthony Agelastos wrote:

I updated CUPS and I cannot print to my USB laser printer. The web
interface shows the following:

hp_LaserJet_1160Le (Default Printer) Unable to open USB device
usb:/dev/ulpt0: Permission denied
Description: Hewlett-Packard LaserJet 1160Le
Location: Den
Make and Model: HP LaserJet 1160 Foomatic/hpijs (recommended)
Printer State: stopped, accepting jobs, published.
Device URI: usb:/dev/ulpt0

Doing a `dmesg | grep ulpt0`, I get

ulpt0: Hewlett-Packard hp LaserJet 1160 series, rev 1.10/1.00,
addr 2,
iclass 7/1
ulpt0: using bi-directional mode

The printer itself works (I plugged it directly into my MacBook
and it
printed fine). To ensure it wasn't an awkward build error, I issued a

`portupgrade -fR cups`

and rebuilt it and everything it is dependent upon. Does anyone
else have
any ideas? I am running an early 6.1-STABLE (FreeBSD dell.home.iq
6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 01:04:32 EDT 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/IQKERNEL  i386).


Just a me too so far with an el cheapo Lexmark USB laser printer
(E210).
Are you using the foomatic script? I am, with a PPD from
linuxprinting.org.


I am not sure, actually (it was so long ago, I do not remember how I
got it working). I installed hpijs and Make and Model mentions
Foomatic/hpijs, so perhaps. I am sorry I could not be of more
assistance with this question.


I'm going to try backing up and blowing away my etc/cups dir, re-
updating
the port, reinstalling foomatic and my ppd, and see if that makes any
difference. I'll post whatever I learn.


Thank you for posting your findings and for your quick reply.


No luck. I basically re-installed everything (including config files and
the foomatic filters) from scratch. I also changed the permissions
on /dev/ulpt0 to be 0664 for root:cups. That prevents the permissions
error, but I still get nothing from the printer. The message that 
comes up

in the cups web interface when I try to print a test page is:

/usr/local/libexec/cups/backend/usb failed

I did get my other printer (on a different machine) working with cups 
1.2.0
by just changing the permissions on the device node. I hadn't ever 
set this

printer up with cups before today, though. It's using gutenprint.



After playing with the permissions on ulpt, I can print a test page, 
though

half of it comes out after I manually feed my printer.

After that half-printed page, anything I try to print after will get 
me a USB

port busy; will retry in 30 seconds... message and it never prints.

My system essentially does the same thing (the 30 second message that 
is). After changing my  LogLevel and killing and resubmitting a test 
page, here is my error_log file. Does anyone else have any idea what I 
can try next? Everyone on this list has been wonderful with this thread. 
Thanks again.




I'm not seeing any errors in the log - assuming that the section that 
contains the job you mention starts at 19:29:47 on Jun 27th. I see job 9 
start and I see job 9 canceled but I don't see any errors in between.


A completely random thing: have you tried using /dev/unltp0 instead of 
/dev/ulpt0? It shows up as USB Printer # (no reset) in the cups web 
interface on my system.


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


Re: /bin/cat: Permission denied

2006-06-26 Thread Micah

jdow wrote:

From: Viktoras Veitas [EMAIL PROTECTED]


Hello.

I suddenly cannot run cat command as /bin/cat file appears to be 
without
execute permissions (all other files in /bin directory are with them) 
and I

get /bin/cat: Permission denied error.



I had a misfortune to chmod 555 /bin/cat, then my machine panicked 
(when
trying to run cat) and was not able to boot until I changed the 
/bin/cat
permissions back to read-only. Anyway the system running again but I 
cannot

install almost any port that uses cat in ./configure script.



I am running FreeBSD 5.4-RELEASE-p16 on Intel(R) Pentium(R) 4 CPU 3.00GHz
(2992.52-MHz 686-class CPU), with two 200GB SATA disks and RAID1 geom
mirror.



Output of dmesg is attached as file.



Question#1: How can I get rid of this problem and repair my cat file 
to be

able to install new ports again?

Question#2: Why did this happen? I mean everything worked fine for a 
year or
more until I decided to use hylafax on my machine and found that it 
cannot

do documet conversion.


Maybe some kind soul you trust will send you a copy of the 5.4 cat
command. I'd suspect you redirected something to /bin/cat by mistake.

{^_^}   Joanne


Cat for i386 5.4 release can also be gotten from 
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/5.4-RELEASE/base/base.aa 
 just use tar to extract it.


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


Re: CUPS, USB printers Permission Denied

2006-06-25 Thread Micah

Anthony Agelastos wrote:

Hello and thank you for the very quick reply.

On Jun 25, 2006, at 7:34 PM, albi wrote:


On Sun, 25 Jun 2006 19:28:35 -0400
Anthony Agelastos [EMAIL PROTECTED] wrote:


I updated CUPS and I cannot print to my USB laser printer. The web
interface shows the following:

hp_LaserJet_1160Le (Default Printer) Unable to open USB device
usb:/dev/ulpt0: Permission denied
Description: Hewlett-Packard LaserJet 1160Le
Location: Den
Make and Model: HP LaserJet 1160 Foomatic/hpijs (recommended)
Printer State: stopped, accepting jobs, published.
Device URI: usb:/dev/ulpt0


are the permissions on /dev/ulpt0 correct ?

I have no idea what it is supposed to be.
%ls -l /dev/ulpt0
crw-r--r--  1 root  operator0,  68 Jun 25 19:01 /dev/ulpt0



if the printer runs fine as root you know it's likely a
permission-problem

What's the best way to run it as root? When I log into the CUPS web 
interface as root and try to print a test page, it gives me the message 
I posted above. If, as root, I try to print a Postscript file via lp, it 
does nothing.


Thank you all again for your 
assistance.___


I had the same problem. chown ulpt0 to group cups and add group write. 
That will fix it. I added the following to /etc/devfs.rules to make the 
fix permanent:


[system=10]
add path 'unlpt*' mode 0660 group cups
add path 'ulpt*' mode 0660 group cups

Don't forget to restart devfs.

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


Re: CUPS, USB printers Permission Denied

2006-06-25 Thread Micah

Anthony Agelastos wrote:


On Jun 25, 2006, at 9:05 PM, Micah wrote:


Anthony Agelastos wrote:

Hello and thank you for the very quick reply.
On Jun 25, 2006, at 7:34 PM, albi wrote:

On Sun, 25 Jun 2006 19:28:35 -0400
Anthony Agelastos [EMAIL PROTECTED] wrote:


I updated CUPS and I cannot print to my USB laser printer. The web
interface shows the following:

hp_LaserJet_1160Le (Default Printer) Unable to open USB device
usb:/dev/ulpt0: Permission denied
Description: Hewlett-Packard LaserJet 1160Le
Location: Den
Make and Model: HP LaserJet 1160 Foomatic/hpijs (recommended)
Printer State: stopped, accepting jobs, published.
Device URI: usb:/dev/ulpt0


are the permissions on /dev/ulpt0 correct ?

I have no idea what it is supposed to be.
%ls -l /dev/ulpt0
crw-r--r--  1 root  operator0,  68 Jun 25 19:01 /dev/ulpt0


if the printer runs fine as root you know it's likely a
permission-problem

What's the best way to run it as root? When I log into the CUPS web 
interface as root and try to print a test page, it gives me the 
message I posted above. If, as root, I try to print a Postscript file 
via lp, it does nothing.
Thank you all again for your 
assistance.___


I had the same problem. chown ulpt0 to group cups and add group write. 
That will fix it. I added the following to /etc/devfs.rules to make 
the fix permanent:

I did

chgrp cups /dev/ulpt0
chmod g+w /dev/ulpt0



[system=10]
add path 'unlpt*' mode 0660 group cups
add path 'ulpt*' mode 0660 group cups
I did not have a /etc/devfs.rules file, so I copied 
/etc/defaults/devfs.rules to /etc/devfs.rules and added what you 
suggested at the bottom of it.




Don't forget to restart devfs.

When I do
/etc/rc.d/devfs restart
it seems like nothing happens. So, I rebooted my machine and the group 
was back to operator. What am I doing wrong? Thank you so much for your 
assistance with this.


Oops, I've had a custom devfs.rules for so long that I forgot that you 
need the following in rc.conf:


devfs_system_ruleset=system

I would also create a new /etc/devfs.rules that only has the three lines 
as shown above since that's pretty close to what mine has. I'm not sure 
what all the hide/unhide stuff in the default rules does. Issuing a 
/etc/rc.d/devfs restart /should/ cause ownership and permissions to 
change - at least it did for me. You can always unplug the USB cable or 
power-cycle the printer to test it.


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


Re: CUPS, USB printers Permission Denied

2006-06-25 Thread Micah

John Nielsen wrote:

On Sunday 25 June 2006 20:04, Anthony Agelastos wrote:

On Jun 25, 2006, at 7:35 PM, John Nielsen wrote:

On Sunday 25 June 2006 19:28, Anthony Agelastos wrote:

I updated CUPS and I cannot print to my USB laser printer. The web
interface shows the following:

hp_LaserJet_1160Le (Default Printer) Unable to open USB device
usb:/dev/ulpt0: Permission denied
Description: Hewlett-Packard LaserJet 1160Le
Location: Den
Make and Model: HP LaserJet 1160 Foomatic/hpijs (recommended)
Printer State: stopped, accepting jobs, published.
Device URI: usb:/dev/ulpt0

Doing a `dmesg | grep ulpt0`, I get

ulpt0: Hewlett-Packard hp LaserJet 1160 series, rev 1.10/1.00,
addr 2,
iclass 7/1
ulpt0: using bi-directional mode

The printer itself works (I plugged it directly into my MacBook
and it
printed fine). To ensure it wasn't an awkward build error, I issued a

`portupgrade -fR cups`

and rebuilt it and everything it is dependent upon. Does anyone
else have
any ideas? I am running an early 6.1-STABLE (FreeBSD dell.home.iq
6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 01:04:32 EDT 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/IQKERNEL  i386).

Just a me too so far with an el cheapo Lexmark USB laser printer
(E210).
Are you using the foomatic script? I am, with a PPD from
linuxprinting.org.

I am not sure, actually (it was so long ago, I do not remember how I
got it working). I installed hpijs and Make and Model mentions
Foomatic/hpijs, so perhaps. I am sorry I could not be of more
assistance with this question.


I'm going to try backing up and blowing away my etc/cups dir, re-
updating
the port, reinstalling foomatic and my ppd, and see if that makes any
difference. I'll post whatever I learn.

Thank you for posting your findings and for your quick reply.


No luck. I basically re-installed everything (including config files and the 
foomatic filters) from scratch. I also changed the permissions 
on /dev/ulpt0 to be 0664 for root:cups. That prevents the permissions 
error, but I still get nothing from the printer. The message that comes up 
in the cups web interface when I try to print a test page is:


/usr/local/libexec/cups/backend/usb failed

I did get my other printer (on a different machine) working with cups 1.2.0 
by just changing the permissions on the device node. I hadn't ever set this 
printer up with cups before today, though. It's using gutenprint.


JN


Check the error log for more verbose messages (located in /var/log/cups/ 
or from the cups web interface).


From what I've read while trying to solve my failure is that some of 
the backends/drivers don't work properly with the new cups. We're 
probably dealing with several simultaneous failures that need to be 
worked out.


FWIW, cups is working with an Epson 777 and the gimp-print drivers using 
/dev/unlpt0.  It seems to work as well as it did before once I got the 
permissions issue worked out.


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


Re: find misbehaving??

2006-06-23 Thread Micah

Robert Huff wrote:

Can anyone explain what's happening here?

[EMAIL PROTECTED] find /usr/local/lib/perl5/site_perl/5.8.8/ -name 
Net_SNMP_util,pm
[EMAIL PROTECTED] dir /usr/local/lib/perl5/site_perl/5.8.8/Net_*  
   -r--r--r--  1 root  wheel  64421 Jun 22 23:29 /usr/local/lib/perl5/site_perl/5.8
.8/Net_SNMP_util.pm
[EMAIL PROTECTED]


Robert Huff


Could it be there's a comma in the find command but the filename has a 
period?


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


Re: ripping enhanced audio CDs

2006-06-16 Thread Micah

Mac Newbold wrote:

Yesterday at 4:23pm, Mac Newbold said:


Today at 2:55pm, Mikhail Goriachev said:


Jun 14 11:27:21 mybox kernel: acd0: FAILURE - READ_CD HARDWARE ERROR
asc=0x08 ascq=0x01 error=0
Jun 14 11:27:21 mybox kernel: acd0: FAILURE - READ_CD ILLEGAL REQUEST
asc=0x64 ascq=0x00 error=0
Jun 14 11:27:22 mybox last message repeated 11 times


I am pretty sure this isn't an anti-piracy feature. It happens to me 
with _any_ enhanced CD (audio+data mixed CD), and _only_ on enhanced 
CDs. Never has it happened to me on any non-enhanced audio CD. My 
problem is not with the inability to get the data off, that doesn't 
seem to be a real issue. The problem is with the crashing of the 
computer.


Why should _any_ data read from a removable disk of any kind be 
causing FreeBSD to crash by the mere act of attempting to read it from 
the disk? The device is reporting a failure, but why isn't the OS 
handling that failure gracefully?


If I'm asking the wrong list, and should be asking [EMAIL PROTECTED] 
or some list related to multimedia, please let me know.


Thanks to everyone who has contributed answers to this thread. (BTW, it 
is helpful if you keep me cc'd in your replies, since I'm not on the 
list itself and only see responses when I go check the archive.)


To answer some of the questions that came up:

1. It never happens on any plain/normal/non-enhanced audio CD I've 
tried, which I'm quite sure might include some that are copy protected 
or have some kind of DRM in place.


2. None of them have said anything about being non-functional or limited 
with certain computer players or operating systems that I have noticed.


If we can, I'd like to take this discussion in a slightly different 
direction. Let's change our thinking by making the following assumptions:


A. It is not a DRM or copy protection scheme causing the errors.

B. Since it happens on every enhanced CD (i.e. one containing audio 
tracks and a data track meant to be read on a computer) that I've been 
able to try, but not on any non-enhanced CDs, of which I've tested many 
hundreds, let's assume it is related to the fact that it is enhanced.


By combining assumption A and assumption B, I'm led to the conclusion 
that there is something about Enhanced CDs that is causing FreeBSD to 
get unrecoverable errors that lead inevitably to a system crash. Namely, 
it generates READ_CD Hardware Error messages, followed by a series of 
READ_CD Illegal Request messages immediately prior to the crash.


Does anyone have some ideas (other than copy protection or DRM) on why 
this might be happening or what might be done to solve the problem?


Does anyone have some ideas of other places or lists where I might ask a 
similar question and be more likely to get closer to solving the problem?


Thanks again,
Mac

--
Mac NewboldMNE - Mac Newbold Enterprises, LLC
[EMAIL PROTECTED]http://www.macnewbold.com/


I can confirm that enhanced CDs do not rip properly on FreeBSD 6.1 
with cdparanoia -B. cdparanoia reports a bunch of V's (Uncorrected 
error/skip) and my messages log is FILLED (74MB) with thousands of the 
following errors:


Jun 16 12:00:00 trisha kernel: acd0: FAILURE - READ_CD ILLEGAL REQUEST 
asc=0x64 ascq=0x00 acd0: FAILURE - READ_CD ILLEGAL REQUEST asc=0x64 
ascq=0x00 acd0: FAILURE - READ_CD ILLEGAL REQUEST asc=0x64 ascq=0x00 
acd0: FAILURE - READ_CD ILLEGAL REQUEST asc=0x64 ascq=0x00 acd0: FAILURE 
- READ_CD ILLEGAL REQUEST asc=0x64 ascq=0x00 acd0: FAILURE - READ_CD 
ILLEGAL REQUEST asc=0x64 ascq=0x00 acd0: FAILURE - READ_CD ILLEGAL 
REQUEST asc=0x64 ascq=0x00 acd0: FAILURE - READ_CD ILLEGAL REQUEST 
asc=0x64 ascq=0x00 acd0: FAILURE - READ_CD ILLEGAL REQUEST asc=0x64 
ascq=0x00 acd0: FAILURE - READ_CD ILLEGAL REQUEST asc=0x64 ascq=0x00 
acd0: FAILURE - READ_CD ILLEGAL REQUEST asc=0x64 ascq=0x00 acd0: FAILURE 
- READ_CD ILLEGAL REQUEST asc=0x64 ascq=0x00 acd0: FAILURE - READ_CD 
ILLEGAL REQUEST asc=0x64 ascq=0x00 acd0: FAILURE - READ_CD ILLEGAL 
REQUEST asc=0x64 ascq=0x00 acd0: FAILURE - READ_CD ILLEGAL REQUEST 
asc=0x64 ascq=0x00 acd0: FAILURE - READ_CD ILLEGAL REQUEST asc=0x64 
ascq=0x00 acd0: FAILURE - READ_CD ILLEGAL REQUEST asc=0x64 ascq=0x00 
acd0: FAILURE


That's just one of nearly 88,000 similar lines from messages. But I do 
NOT get a reboot/crash, just thousands of errors and a silent rip of the 
track. This is on a NEC DVD RW ND-3520AW/3.05 accessed via /dev/acd0


The CDs I used are very unlikely to have any DRM or copy protection as 
they are circa 1998 CDs. Three CDs tried, all three had the error near 
the data track.


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


Re: Random panics on FreeeBSD 6.0

2006-06-16 Thread Micah

Matthew Navarre wrote:
I've got an AMD Sempron machine running FreeBSD 6.0 that's been 
experiencing random panics while trying to build world. In fact it just 
paniced now, with no activity.


The panic message is TPTE at 0xbfc20624 IS ZERO @ VA 0810
bad pte

This started last night while I was portupgrading ruby and I got random 
apps segfaulting, mostly gcc, so I suspected bad memory. I installed new 
memory today, tried to buildworld. And *BAM* panic: bad pte


I'm still guessing that this is a hardware problem, and not software but 
I'm not sure. If anyone can give me a clue I'd appreciate it.


Machine details:
AMD Sempron
ECS K8M800-M2 mainboard
1 GB Kingston PC-3200.

Thanks,
Matt


First, a quick Google of bad pte turns up some ideas. Try disabling or 
changing APIC and/or ACPI settings.  Make sure your swap partition is 
error free and has enough room.  Google a bit more just on the 
lists.freebsd.org site for several possibilities.


For hardware, you can try memtest86+ to check to make sure the new 
memory is good. There are other stress tests you can run as well - I 
usually use the ultimate boot CD for that stuff. Other possible problems 
are faulty or too small power supply; too much heat on CPU, RAM, or 
expansion boards; faulty expansion cards and/or components; or faulty 
hard drive.


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


Re: freebsd on a newer pc

2006-06-16 Thread Micah

Jonathan Horne wrote:

On Jun 16, 2006, at 5:09 PM, Jonathan Horne wrote:

well, i figured out that if at the boot selection screen, if i choose
option 2 boot with acpi enabled, i can then give 'shutdown -p
now' and
the system will then power off properly. easy enough...

but how do i set option 2 as my default boot selection?  i dont see
anything about this in the handbook.


My experience has been that once you boot that way once it becomes
the default.  Play around with it

Chad

---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net





i dont think thats the behavior im getting.  when i hit 2 to boot:

athena# kldstat
Id Refs AddressSize Name
 13 0xc040 6ab778   kernel
 21 0xc0aac000 59960acpi.ko
athena# uname -a
FreeBSD athena.int.dfwlp.com 6.1-STABLE FreeBSD 6.1-STABLE #0: Fri Jun 16
20:48:52 CDT 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ATHENA  i386


and when i dont:
athena# kldstat
Id Refs AddressSize Name
 11 0xc040 6ab778   kernel

when i want to boot the acpi support, i hit 2.  is that the proper way, or
is there some other way that resets this mode as default?

thanks,
jonathan


Last I read FreeBSD defaults ACPI off for systems that have broken 
ACPI, and defaults on for systems that have working ACPI. If you're 
sure your ACPI works without any problems add acpi_load=YES to your 
loader.conf. (that might not be the correct solution, but it should work).


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


Re: Random panics on FreeeBSD 6.0

2006-06-16 Thread Micah

Matthew Navarre wrote:


On Jun 16, 2006, at 7:17 PM, Micah wrote:


Matthew Navarre wrote:
I've got an AMD Sempron machine running FreeBSD 6.0 that's been 
experiencing random panics while trying to build world. In fact it 
just paniced now, with no activity.

The panic message is TPTE at 0xbfc20624 IS ZERO @ VA 0810
bad pte
This started last night while I was portupgrading ruby and I got 
random apps segfaulting, mostly gcc, so I suspected bad memory. I 
installed new memory today, tried to buildworld. And *BAM* panic: bad 
pte
I'm still guessing that this is a hardware problem, and not software 
but I'm not sure. If anyone can give me a clue I'd appreciate it.

Machine details:
AMD Sempron
ECS K8M800-M2 mainboard
1 GB Kingston PC-3200.
Thanks,
Matt


First, a quick Google of bad pte turns up some ideas. Try disabling 
or changing APIC and/or ACPI settings.  Make sure your swap partition 
is error free and has enough room.  Google a bit more just on the 
lists.freebsd.org site for several possibilities.


Yeah, I was wondering if it might be something in the BIOS settings. 
I'll google around and see what I find. I don't know if the first panic 
was a bad pte error since the machine was running headless.




For hardware, you can try memtest86+ to check to make sure the new 
memory is good. There are other stress tests you can run as well - I 
usually use the ultimate boot CD for that stuff. Other possible 
problems are faulty or too small power supply; too much heat on CPU, 
RAM, or expansion boards; faulty expansion cards and/or components; or 
faulty hard drive.


I kinda wondered if heat might be an issue, since it was kind of tucked 
away in a spot with bad airflow. I'll try the memtest thing. Is there a 
way to get the CPU temp in FreeBSD?


As mentioned, mbmon might work, but don't think that CPU is the only 
generator of heat. I had random reboots due to an overheating graphics 
card once. A spot thermometer comes in handy at a time like this.


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


Re: Midi and Linux compatibility

2006-06-08 Thread Micah

Sean wrote:

jekillen wrote:

Hello;
I'm interested in setting up midi and sound recording gear on a Linux 
system. There is a program I'm interested in
getting installed and using called Rosegarden. I also have to contend 
with the availability of Linux compatible
midi interfaces (which is a blurred subject as far as my research into 
availability is concerned) My question to
the FreeBSD mailing list is: if I use FreeBSD with its Linux 
compatibility, how do I deal with drivers (for midi inter
faces, for instance) and installation. Is there an area of ports for 
Linux software, specifically Rosegarden or
something that will do audio recording, midi sequencing, audio/midi 
sync, and has a good score editor that

will print sheet music?




You can check here http://www.freebsd.org/ports/
on ports you are looking, Your Rosegarden is listed.

Sean


Note that the Rosegarden project refers to the 2.1 series that's in our 
ports as antique. The latest Rosegarden requires ALSA to work.


To the OP, MIDI support on FreeBSD is non-existent aside from some 
kernel patches that turn up every now and then. If you need hardware 
MIDI support you need to use Linux, Windows, or OSX.


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


Re: Shared Memory?

2006-06-03 Thread Micah

B. Cook wrote:

Hello All,

I'm not a programmer and nor do I play one in real life.. :)

I've recently setup a DansGuardian box for someone and I had some 
interesting things happen.


When the box would get under load (500+ simultaneout connections) it 
would load up the cpu:


last pid: 69931;  load averages:  4.73,  3.56,  3.32  up 5+11:10:58
09:56:31
49 processes:  8 running, 41 sleeping

Mem: 157M Active, 202M Inact, 106M Wired, 20M Cache, 60M Buf, 8168K Free
Swap: 2048M Total, 32K Used, 2048M Free


   PID USERNAME  THR PRI NICE   SIZERES STATETIME   WCPU COMMAND
49814 guardian1 1200 85868K 85160K RUN  0:01 14.87% 
dansguardian
30132 guardian1 1200 85868K 85180K RUN  0:22 14.11% 
dansguardian
52245 guardian1 1190 85860K 85168K RUN  0:06 13.94% 
dansguardian
23445 guardian1 1200 85896K 85208K RUN  0:22 13.87% 
dansguardian


at this time there were 10 dansguardian processes running.  the default 
config suggests 120 to start off with.. (doing that crashed the box in 
about 5 minutes)


I found one thing that seemed to help:
kern.ipc.shm_use_phys=1

from man tuning.

after setting the sysctl value the system now looks like this:
last pid: 40265;  load averages:  0.29,  0.29,  0.27 
  up 
7+17:55:46  16:41:47

34 processes:  1 running, 33 sleeping
CPU states:  0.0% user,  0.0% nice,  0.7% system,  1.5% interrupt, 97.8% 
idle

Mem: 125M Active, 249M Inact, 98M Wired, 16M Cache, 60M Buf, 4392K Free
Swap: 2048M Total, 36K Used, 2048M Free

  PID USERNAME  THR PRI NICE   SIZERES STATETIME   WCPU COMMAND
 6266 guardian1  960 76116K 18004K select   0:05 12.54% 
dansguardian
  696 guardian1  960 76112K 16960K select   0:01  0.81% 
dansguardian
 8969 guardian1  960 76112K  6036K select   0:00  0.12% 
dansguardian

21017 squid   1  960 31228K 26684K select  41:52  0.00% squid

After searching I can't seem to find out when it's appropriate (or not) 
to set this and if anything else should be set in conjunction with it.


Other than the fact that this helped.. can anyone point me in a 
direction or tell me why it helped?


collecting pv entries -- suggest increasing PMAP_SHPGPERPROC
collecting pv entries -- suggest increasing PMAP_SHPGPERPROC

this error is what somewhat lead me to this discovery.  And in hoping to 
fix that it suggested recompling the kernel with those values changed.. 
NOTES tells me that that value is now 201, google has people with 
numbers all over the place.. and I still can't seem to figure out why 
they did it.


egrep -v # /etc/sysctl.conf

security.bsd.see_other_uids=0
net.inet.ip.forwarding=1
net.inet.ip.random_id=1
kern.randompid=1
kern.coredump=0

kern.ipc.shmmax=536870912
kern.ipc.shm_use_phys=1

This is a stock 6.1 GENERIC kernel

The box is a router for internet traffic that passes several gigs of 
data from about 2500+ users.


Its a small 866 w/ 512M of ram and as previously stated running 
DansGuardian (www/dansguardian) and squid (www/squid).


I've asked a few times for information on the DG list, but I guess it's 
mainly a linux only crowd as I did not hear anything back from anyone.


netstat -m
260/2155/2415 mbufs in use (current/cache/total)
258/1264/1522/17088 mbuf clusters in use (current/cache/total/max)
258/1210 mbuf+clusters out of packet secondary zone in use (current/cache)
0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max)
0/0/0/0 9k jumbo clusters in use (current/cache/total/max)
0/0/0/0 16k jumbo clusters in use (current/cache/total/max)
581K/3066K/3647K bytes allocated to network (current/cache/total)
56061/494261/470674 requests for mbufs denied 
(mbufs/clusters/mbuf+clusters)

0/0/0 requests for jumbo clusters denied (4k/9k/16k)
0/9/4528 sfbufs in use (current/peak/max)
0 requests for sfbufs denied
0 requests for sfbufs delayed
12 requests for I/O initiated by sendfile
328 calls to protocol drain routines

They want me to move it a larger box just for the sake of putting it on 
a larger box.. (2.2G Xeon w/ 2G ram) but I'd like to tune it better.. as 
opposed to just throw hardware at it and hope for the best.


all data/packets passes over lo..

lo0   16384 127   127.0.0.1 57055828 - 33798613 - -

and the box so far has been up for 7 days.



Any information helping me understand this beast would be greatly 
appreciated.


- Brian


This thread talks a little bit about how to choose an appropriate size 
for PMAP_SHPGPERPROC in regards to Apache - it might be adapted to work 
with DG:

http://lists.freebsd.org/pipermail/freebsd-hackers/2003-May/000695.html

I snooped through the code a little, but am not familiar enough with 
FreeBSD's guts to understand what pv_entries are other than they have 
something to do with paged memory


Hope that link helps some,
Micah
___
freebsd-questions@freebsd.org mailing

Re: Missing devs...

2006-05-29 Thread Micah

Aren Olvalde Tyr wrote:

Hi

On Sunday 28 May 2006 21:42, Anders Troback wrote:


In my usbd.conf I have:

device Sony Ericsson W810i
   devname umass[0-9]+
   vendor  0x0fce
   product 0xe042
   attach sleep 5 ; /sbin/mount -t msdos /dev/da1 /mnt ; /etc/rc.d/devfs
restart

As I said, this works for me but it seams to be a bit stupid that this
kind of workaround is needed...


Yes, indeed. I was thinking about doing a similar workaround, but surely there 
must be a better way of doing this. We need a way for mount to automatically 
probe the device for filesystems first before attempting to mount the slice.


Anyone got any suggestions?

Just out of interest, during bootup, what command is executed to probe the 
devices? If I put a memory card in my reader before booting the system up, 
the filesystem slices on the card are detected, the device node[s] are 
created and I can mount it straight away. 

This is the command I want, rather than having to run a mount command that we 
know will fail just to create the nodes.


Aren.


I've not been following this thread too closely, but I think I've had 
the same problem in the past. I currently get around it by not leaving 
my media readers plugged in (they're both external USB readers). I 
insert my media card then plug in the reader and have no problems. I 
*think* true  /dev/da1 will get devfs to show the slices, but I can't 
find my old post that has that little bit of info in it. I always 
thought the device should trigger and event when media was inserted, and 
that the event should trigger devfs to show the slices


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


Re: min disk size for (useful) desktop

2006-05-27 Thread Micah

Pete C wrote:
. . . looking for advice/guidelines for a minimum disk size for a decent 
desktop install of 6-stable with gnome, openoffice, firefox, gimp etc. . 
. .


. . . I have both a 20G and a 250G on hand, so I guess the question 
really is is 20G enough ? ? ?


TIA

Pete C

I love my country, but fear my government.


On my desktop system I'm using ~18G of a 30G slice for the system, home, 
swap, ports+distfile, digital photo album, etc. I'm running KDE, 
openoffice, firefox, gimp, java, and who knows what else (there are 436 
packages currently installed).


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


Re: C coding question

2006-05-17 Thread Micah

Andy Greenwood wrote:

I am helping someone work on porting some code to Freebsd, and the
code below works on Linux, but not on FreeBSD (compiles, but gives
Segmentation Fault: 11). I'm not sure where the problem is, and any
pointers would be much appreciated.


That's funny, it doesn't even compile on my freebsd:

trisha% cat test.c
/* Check if we must stop */
if(tf_stat_file != NULL)
{
  tf_stat = fopen(tf_stat_file, r);
  if (tf_stat != NULL)
  {
/* Get state */
stat_state=fgetc(tf_stat);

/* Torrentflux asked to shutdown the torrent */
if (stat_state == '0')
{
  mustDie = 1;
}
  }
  fclose(tf_stat);
}
trisha% cc test.c
test.c:2: error: syntax error before if

IOW, if you expect usable help please supply some context.

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


Re: a favorite graphical ftp client?

2006-04-16 Thread Micah

Jonathan Horne wrote:

On Sunday 16 April 2006 20:17, [EMAIL PROTECTED] wrote:

i would like to ask the list for opinions on a good graphical ftp client

for a


freebsd desktop.  before i try them all, id like to get a few
recomendations :)

gftp is quite nice imho -- http://gftp.seul.org/


sorry, i should have mentioned i use KDE.  will gftp be any trouble to 
compile, or is it going to pull down the entire gnome to go with it?  im 
really looking for something that works well under KDE.


thanks,
jonathan horne


May not be graphical enough, but Konqueror's built in ftp, sftp, and 
fish support has always been enough for my needs and it doesn't require 
any extra packages outside KDE.  Just type ftp://ftp.example.com or 
ftp://[EMAIL PROTECTED] in the location bar.


HTH,
Micah

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


Re: Thunderbird and Firefox dead after portupgrade

2006-03-31 Thread Micah

Wee-Sern Soo wrote:

http://www.mozilla.com/firefox/releases/1.5.0.1.html#issues

It's a known issue.  Need to run as privileged user on all platforms, 
the first time.



Yuan Jue wrote the following on 31/03/2006 4:46 PM:

On Friday 31 March 2006 09:18, Donald J. O'Neill wrote:
 

This happened to me also, until I remembered this has happened before
and what to try.

Login as root, start the GUI (mine is KDE), open a terminal program and
start firefox from there. After that, I had no problems. It's working
fine.




works for me too. many thanks :)

  


A workaround that the port could use is given on that page

If Firefox 1.5.0.1 is installed on a multi-user system in a location 
which is not writable by users, Firefox must be run once by a privileged 
user. If this is not desirable, an empty file must be created in the 
following directory: 
install-directory/extensions/[EMAIL PROTECTED]/chrome.manifest


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


Re: Best way to print photos

2006-03-31 Thread Micah

M. Warner Losh wrote:

In message: [EMAIL PROTECTED]
Bob Johnson [EMAIL PROTECTED] writes:
: On 3/31/06, M. Warner Losh [EMAIL PROTECTED] wrote:
:  Let us suppose that I have a HP DeskJet 5850 that I can talk to via
:  CUPS.  I can print test pages w/o any problem.
: 
:  What are my options to print photos and what kind of quality can I
:  expect relative to Windows?
: 
: 
: According to http://www.linuxprinting.org/show_printer.cgi?recnum=HP-DeskJet_5850,
: HP's HPIJS driver gives excellent photo quality with HP printers. 
: One reviewer says that the quality at high resolution isn't quite as

: good as Windows, but it isn't clear whether that means high-resolution
: normal mode, or photo mode, or both.
: 
: ports/print/foomatic-db-hpijs and  /ports/print/hpijs


Bob,

Thanks for the tips.  I have these ports installed, but am tripping
over something stupidly basic: what converts the pict0001.jpg into
something that can be fed to the hpijs driver that will print?

Warner


I use the gimp for that (graphics/gimp).  The kde programs Krita, Kview, 
and KolourPaintAlso, as well as the gtk program gqview, can all print 
too.  I can't vouch for their usefulness since I've never used them for 
printing.


You might also try browsing http://www.freebsd.org/ports/graphics.html 
to see if there's something there that sounds better.


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


Re: Path problem

2006-03-31 Thread Micah

Gary Schenk wrote:

OK, guys, I need help. what obvious thing am I missing here.

Fresh install of seamonkey from a fresh ports update. I try to start 
seamonkey:


  seamonkey
seamonkey: Command not found.

OK. Now this:
  /usr/X11R6/bin/seamonkey

Seamonkey starts.

OK, must be the path:
  echo $PATH
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:
/usr/local/bin:/usr/X11R6/bin:/home/gwschenk/bin

It looks like it is in the path to me. Any ideas?

Gary


Try rehash

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


Thunderbird and Firefox dead after portupgrade

2006-03-30 Thread Micah


I just updated my ports collection this morning and upgraded all out of 
date ports, including thunderbird and firefox.  Now typing thunderbird 
or firefox on the command line does absolutely nothing.  firefox or 
thunderbird do not show up in ps (checked using ps -auwx | grep 
firefox).  No error messages are displayed.  The only clue is that the 
return code is 1.


Sample session:
trisha% firefox
trisha% echo $?
1
trisha%

The only thing in /usr/ports/UPDATING on firefox is from 2004.

I upgraded my ports by using the script generated by portversion -c, 
which uses portupgrade and just lists the names of the ports on the line 
(eg portupgrade firefox thunderbird otherstuff).  This is on a 
6.0-RELEASE-p6 system.


uname -a
FreeBSD trisha.eidolonworld 6.0-RELEASE-p6 FreeBSD 6.0-RELEASE-p6 #0: 
Thu Mar 23 19:38:49 PST 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/TRISHA  i386


Any clues on what's wrong?

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


Re: Thunderbird and Firefox dead after portupgrade

2006-03-30 Thread Micah

Lars Cleary wrote:

Micah wrote:


I just updated my ports collection this morning and upgraded all out 
of date ports, including thunderbird and firefox.  Now typing 
thunderbird or firefox on the command line does absolutely nothing.  
firefox or thunderbird do not show up in ps (checked using ps -auwx | 
grep firefox).  No error messages are displayed.  The only clue is 
that the return code is 1.


Sample session:
trisha% firefox
trisha% echo $?
1
trisha%

The only thing in /usr/ports/UPDATING on firefox is from 2004.

I upgraded my ports by using the script generated by portversion -c, 
which uses portupgrade and just lists the names of the ports on the 
line (eg portupgrade firefox thunderbird otherstuff).  This is on a 
6.0-RELEASE-p6 system.


uname -a
FreeBSD trisha.eidolonworld 6.0-RELEASE-p6 FreeBSD 6.0-RELEASE-p6 #0: 
Thu Mar 23 19:38:49 PST 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/TRISHA  i386


Any clues on what's wrong?

Thanks,
Micah

Recently someone solved a problem with the same symptom by
changing the ownership of the profiles of Firefox and Thunderbird,
the were b0rked and couldnt' be read.

Maybe that helps.

Lars


Checking... All files in ~/.mozilla and its subs are owned by my user 
and my user's group and have rw (x for dirs) as a minimum for user (some 
have r and rw for group).  Likewise for ~/.thunderbird.  Using firefox 
-P test will bring up the profile manager and allow me to create a new 
profile, but the new profile is just as broken as the regular profile. 
Might be an extension  I thought there was a way to bring up 
firefox/thunderbird in a safemode that disables all extensions, but a 
firefox --help shows no such flag.


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


Re: Thunderbird and Firefox dead after portupgrade

2006-03-30 Thread Micah

[EMAIL PROTECTED] wrote:

On 3/30/06, Micah [EMAIL PROTECTED] wrote:

Lars Cleary wrote:

Micah wrote:

I just updated my ports collection this morning and upgraded all out
of date ports, including thunderbird and firefox.  Now typing
thunderbird or firefox on the command line does absolutely nothing.



Recently someone solved a problem with the same symptom by
changing the ownership of the profiles of Firefox and Thunderbird,
the were b0rked and couldnt' be read.



Checking... All files in ~/.mozilla and its subs are owned by my user
and my user's group and have rw (x for dirs) as a minimum for user (some
have r and rw for group).  Likewise for ~/.thunderbird.


might try mv .mozilla .moz-backup
and then try starting it again.


Tried that.


The slightly more painful operation might be to upgrade
the whole dependancy tree under firefox/t-b.

I think this would be:
portupgrade -ufR firefox* or summat (I'm fairly certain
from the original post that you've portupgrade installed).


Was about to try that (see below)


Note that 1.5.0.1 works as advertised here, and I don't
use dunndarbrydde.


1.5.0.1_2 was commited last night, so it's probably a recent breakage. 
I just found a bug report on it at 
http://www.freebsd.org/cgi/query-pr.cgi?pr=95100

So we have four confirmed cases of firefox not working.

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


Re: Thunderbird and Firefox dead after portupgrade

2006-03-30 Thread Micah

Pete Slagle wrote:

Donald J. O'Neill wrote:

On Thursday 30 March 2006 17:53, Albert Shih wrote:

 Le 30/03/2006 à 14:42:10-0800, Micah a écrit

[EMAIL PROTECTED] wrote:

1.5.0.1_2 was commited last night, so it's probably a recent
breakage. I just found a bug report on it at
http://www.freebsd.org/cgi/query-pr.cgi?pr=95100
So we have four confirmed cases of firefox not working.

five...but not for firefox...for thunderbird (well I don't use it at
all...;-) )

Same problem when I try to laucnh thunderbird, nothing append, no
error..

Regards.

using : FreeBSD 6.1-PRERELEASE


This happened to me also, until I remembered this has happened before 
and what to try.
Login as root, start the GUI (mine is KDE), open a terminal program 
and start firefox from there. After that, I had no problems. It's 
working fine.


Surprisingly, this worked perfectly for me with FreeBSD 6.1-PRERELEASE, 
although I didn't take the time to figure out why.


I didn't even restart the GUI, I just ran Firefox and Thunderbird from a 
xterm window as root, and then exited them.  All fixed.


I remember this being the Linux way to install the mozilla suite. 
Install, run as root first, then run as user.  I never had to do that in 
FreeBSD.  I'll try it as soon as I get back.


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


Re: Error Compiling Open Office

2006-03-29 Thread Micah

Chris Maness wrote:


I just updated my ports and tried to compile open office.  got this 
failure while trying to compile.  Any suggestions?


g++-ooo: Internal error: Killed: 9 (program cc1plus)
Please submit a full bug report.
See URL:http://gcc.gnu.org/bugs.html for instructions.
dmake:  Error code 1, while making '../unxfbsd.pro/obj/textenc.obj'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making 
/usr/ports/editors/openoffice.org-2.0/work/OOB680_m5/sal/textenc

dmake:  Error code 1, while making 'build_instsetoo_native'
'---* *---'
*** Error code 255


I've had this error before, but I can't remember the exact cause.  I 
determined it to not be hardware because it always failed in exactly the 
same spot.  I think it may have been a make.conf knob I had set.  I have 
WITH_MOZILLA=firefox commented out with the note that it caused weird 
port errors.  This may have been the weird error that it's referring to.


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


Re: The 'Amnesiac' screen s set up when FreeBSD starts up

2006-03-27 Thread Micah

Charles Swiger wrote:

On Mar 27, 2006, at 3:36 PM, [EMAIL PROTECTED] wrote:

Is there a command that tells one on which screen one now
sits, and if so what is its path-name?  Where are these screens
set up, and can one change that, say adding new screens?


The tty command will indicate which terminal the shell is associated 
with.  There are kernel options which can be changed to let you setup 
more or fewer virtual TTY's; see man vt...


---Chuck


You can set up more/fewer by editing /etc/ttys
See man ttys

HTH,
Micah


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


Re: screen recorder

2006-03-23 Thread Micah

eoghan wrote:

Hi
I believe there was some talk a while back about an application to 
record screen movements to create demos, much like wink

http://www.debugmode.com/wink/
I cannot find the thread, but could someone refresh me as to an 
application that can achieve? Also can it generate flash (swf) movies of 
the captured screenshots?

Thanks
Eoghan


The thread is at 
http://lists.freebsd.org/pipermail/freebsd-questions/2006-February/114445.html


For flash you can use net/vnc2swf, it requires a VNC server running on 
the computer you wish to record.


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


Re: hosts.allow ?

2006-03-20 Thread Micah

Jerry McAllister wrote:

At Sun, 19 Mar 2006 it looks like Jerry McAllister composed:


One doesn't start anything from the rc.conf file - at least properly.
Those things get started from /usr/local/etc/rc.d.

What goes in /etc/rc.conf are environmental variable settings that
those rc.d scripts look at to determine what to do.


I was under the impression that when one 'restarts' that the
service will re-read /etc/rc.conf


I am not sure just at what point the rc.conf is read or re-read.
Try putting something in the /usr/local/etc/rc.d/.sh script to 
check for a specific environmental variable that you make up and put 
in /etc/rc.conf and then running the .sh script manually to see

what it knows about - even just put a printenv in the script.

jerry


From the source it's clear that rc.conf is read when the individual rc 
script executes a load_rc_config $name (or equivalent).


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


Re: openoffice package install fails on gamin dependency - KDE needs fam

2006-03-20 Thread Micah

Oliver Iberien wrote:

I'm trying to install the package of OpenOffice 2.0:

bsd# pkg_add /home/oliver/OOo_SRC680_m156_FreeBSD60Intel_install_en-US.tbz
pkg_add: could not find package gamin-0.1.7_1 !

Unfortunately:

===  gamin-0.1.7_2 conflicts with installed package(s):
  fam-2.6.9_6

  They install files into the same place.
  Please remove them first with pkg_delete(1).
*** Error code 1

Stop in /usr/ports/devel/gamin.
*** Error code 1

Stop in /usr/ports/devel/gamin.
bsd# pkg_delete fam-2.6.9_6
pkg_delete: package 'fam-2.6.9_6' is required by these other packages
and may not be deinstalled:
dasher-3.2.15
eel-2.10.1_1
fileroller-2.10.4,1
gdm-2.8.0.1
gnome-menus-2.10.2_1
gnomedesktop-2.10.2
gnomegames2-2.10.2
gnomemedia2-2.10.2
gnomevfs2-2.10.1
gnomevfs2-2.12.2_2
gstreamer-plugins-gnomevfs-0.8.10_1
gtkhtml3-3.6.2
k3b-0.12.11
kde-3.5.1

...and many more. I do not wish to lose KDE. The problem seems to be 
documented:

http://www.freebsd.org/cgi/query-pr.cgi?pr=92592

But I cannot find a workaround that works with the package. 


A person from the FreeBSD KDE project posted here:
http://thread.gmane.org/gmane.os.freebsd.devel.ports/56219

for use with the portupgrade system, and the same thread:
http://freebsd.kde.org/pipermail/kde-freebsd/2006-February/012137.html

has something to be spliced in to pkgtools.conf. I put it in, but no joy.

Is there some way to do this without having to download and install the very, 
very large ports version? And even if I download it, will it install?


Thanks,

Oliver


Gamin and Fam are interchangeable in that they do the same thing. 
Gamin is supposed to be the next generation replacement for fam, but 
some have said that gamin is not yet ready for production You should 
set WITH_FAM_SYSTEM= either gamin or fam in your make.conf depending on 
which you decide to permanently use.


If you decide to switch to gamin, pkg_delete fam, then install gamin. 
Run pkgdb -F to change the dependency from fam to gamin on all the ports 
you listed above.  Or just rebuild all the ports that you listed above.


Or if you decide to stick with fam, see if you can force the install of 
the openoffice package despite the gamin dependency.  Then run pkgdb -F 
and point openoffice's gamin dependency to fam.


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


Re: Few thunderbird questions

2006-03-17 Thread Micah

Eric Schuele wrote:

Steel City Phantom wrote:

ok, bsd 6, kde 3.5, thunderbird 1.5, firefox 1.5

few things that are slightly annoying in thunderbird that if someone 
knows how to fix, i would be very happy.


1) when i click on a url link in thunderbird, nothing happens.  how to 
i have it open firefox and go to that url


I think the following in ~/.thunderbird/your_profile_dir/user.js 
(which may not exist by default):


user_pref(network.protocol-handler.app.http, /usr/X11R6/bin/firefox);
user_pref(network.protocol-handler.app.https, /usr/X11R6/bin/firefox);
user_pref(network.protocol-handler.app.ftp, /usr/X11R6/bin/firefox);

Mind the wrap... its three lines.

2) when mail arrives, it does a system beep.  is there any way to map 
that to a KDE event so i can put some kind of meaningful sound to it?




Can't help here.



Edit-Preference-General-Play Sound

Note: some people have problems with it.  It didn't work for me for the 
longest time, then suddenly started working after a port upgrade.


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


Re: Trouble searching mailing list archives

2006-03-16 Thread Micah

Duane Whitty wrote:

Hi all,

Well, first I was having a problem searching the
archives with the pipermail interface.  So after
some helpful advice from Micah (thanks Micah)
is switched to search.html#mailinglists.  This
worked great for a while but now it appears to
be broken.

Is anyone else having this issue?

Duane


It does appear to be broken for me too May be related to the down 
time the lists had the other day and the spam we're getting?  For now 
you can always use Google with 'site:lists.freebsd.org your key words'


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


Re: how does a system come up if you disable background fsck ?

2006-03-13 Thread Micah

Ensel Sharon wrote:

I have disabled background fsck in my /etc/rc.conf with:

background_fsck=no

But I am curious - what does this mean for the system if the system
crashes ?

Does this mean that the system will wait for all non root partitions to
fully fsck before coming up into multi-user mode ?

OR

Does it mean the system will boot up quickly into multi-user mode, but the
non-root partitions will just not be mounted and/or usable until I fsck
them by hand ?

thanks.


The former, as I can say with ample experience this morning. (stupid USB 
panic)


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


Panic with USB drive - bug or fixed?

2006-03-13 Thread Micah


I'm running 6.0-release p4, and this wasn't a problem in 5.4-release. 
I'm curious if this has been fixed in 6.1 or current or if I should file 
a problem report.  I have a USB SD card reader. When I plug it in (with 
SD card inserted) FreeBSD detects it fine.  Sometimes, however, it 
thinks the device is write protected and after displaying a couple of 
errors the kernel panics with a page fault.  Keep in mind I have NOT 
tried to mount the device yet, I just plugged it in. The device worked 
flawlessly on 5.4 and has worked a couple of times on 6.0 release 
before.  It also works fine on my XP laptop.


Page fault screen shots (sorry for the glare):
http://students.washington.edu/~micahjon/public/usb_page_fault_1.JPG
http://students.washington.edu/~micahjon/public/usb_page_fault_2.JPG

Some lines from /var/log/messages:
Mar 13 09:46:32 trisha kernel: umass0: USB Storage Device, rev 
2.00/2.00, addr 2

Mar 13 09:46:32 trisha kernel: da0 at umass-sim0 bus 0 target 0 lun 0
Mar 13 09:46:32 trisha kernel: da0: USB Storage Device  Removable 
Direct Access SCSI-2 device

Mar 13 09:46:32 trisha kernel: da0: 40.000MB/s transfers
Mar 13 09:46:32 trisha kernel: da0: 483MB (990976 512 byte sectors: 64H 
32S/T 483C)
Mar 13 09:47:24 trisha kernel: (da0:umass-sim0:0:0:0): WRITE(10). CDB: 
2a 0 0 0 0 ee 0 0 8 0
Mar 13 09:47:24 trisha kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI 
Status Error
Mar 13 09:47:24 trisha kernel: (da0:umass-sim0:0:0:0): SCSI Status: 
Check Condition

Mar 13 09:47:24 trisha kernel: (da0:umass-sim0:0:0:0): DATA PROTECT asc:27,0
Mar 13 09:47:24 trisha kernel: (da0:umass-sim0:0:0:0): Write protected
Mar 13 09:47:24 trisha kernel: (da0:umass-sim0:0:0:0): Unretryable error
Mar 13 09:47:24 trisha kernel: g_vfs_done():da0s1[WRITE(offset=512, 
length=4096)]error = 13
Mar 13 09:47:25 trisha kernel: (da0:umass-sim0:0:0:0): WRITE(10). CDB: 
2a 0 0 0 0 ee 0 0 8 0
Mar 13 09:47:25 trisha kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI 
Status Error
Mar 13 09:47:25 trisha kernel: (da0:umass-sim0:0:0:0): SCSI Status: 
Check Condition

Mar 13 09:47:25 trisha kernel: (da0:umass-sim0:0:0:0): DATA PROTECT asc:27,0
Mar 13 09:47:25 trisha kernel: (da0:umass-sim0:0:0:0): Write protected
Mar 13 09:47:25 trisha kernel: (da0:umass-sim0:0:0:0): Unretryable error
Mar 13 09:47:25 trisha kernel: g_vfs_done():da0s1[WRITE(offset=512, 
length=4096)]error = 13

Mar 13 09:47:25 trisha kernel: fsync: giving up on dirty
Mar 13 09:47:25 trisha kernel: 0xc3a0c220: tag devfs, type VCHR
Mar 13 09:47:25 trisha kernel: usecount 1, writecount 0, refcount 19 
mountedhere 0xc3aa9300

Mar 13 09:47:25 trisha kernel: flags ()
Mar 13 09:47:25 trisha kernel: v_object 0xc37c9210 ref 0 pages 16
Mar 13 09:47:25 trisha kernel:
Mar 13 09:47:25 trisha kernel: dev da0s1
Mar 13 09:54:16 trisha syslogd: kernel boot file is /boot/kernel/kernel

Can get more information tomorrow maybe.

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


Re: how does a system come up if you disable background fsck ?

2006-03-13 Thread Micah

Tamouh H. wrote:
 

Ensel Sharon wrote:

I have disabled background fsck in my /etc/rc.conf with:

background_fsck=no

But I am curious - what does this mean for the system if the system 
crashes ?


Does this mean that the system will wait for all non root 
partitions 

to fully fsck before coming up into multi-user mode ?

OR

Does it mean the system will boot up quickly into 
multi-user mode, but 
the non-root partitions will just not be mounted and/or 
usable until I 

fsck them by hand ?

thanks.
The former, as I can say with ample experience this morning. 
(stupid USB

panic)

HTH,
Micah


I find both ways useless. If fsck background starts after a crash it literally 
slows down the machine to a halt rendering it unusable.

If enable fsck to check the system prior to mounting device, it will take at 
least 15-30 minutes for it to complete (in the event of a hard crash). Which 
also translates to a downtime.

disabling fsck on the long run is a bad choice too as eventually the system 
files will become corrupt beyond repair.

What is the solution here ?

Thx,

Tamouh


If you can't acceptably absorb a 30 minute down time, then why are you 
running without backup power?


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


  1   2   3   >