mod_rewrite does not work with apache13-modssl and enabled modaccel

2006-08-04 Thread Thomas
Hello

I compiled apache13-modssl with WITH_APACHE_MODACCEL=YES.
With enabled MODACCEL my mod_rewrite does not work as expected. I get
this error message:
[error] [client xxx.xxx.xxx.xxx] attempt to make remote request from
mod_rewrite without proxy enabled: proxy:http://mysite/foobar/traffic

System: Freebsd 4.11
Apache13-modssl port from 1. August 2006
ssl_config.include:

ProxyRequests Off
RewriteRule ^/login/foobar/monitor/(.*)$
http://mysite/foobar/traffic/$1 [P,L]
ProxyPassReverse /login/foobar/monitor/
http://mysite/foobar/traffic/


I rebuilded apache13-modssl without MODACCEL and then everything works
perfectly. So i doubt that's a config error. Is this a known behavior?

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


Re: IP broadcasts

2006-08-04 Thread Matthew Seaman
Benjamin Lutz wrote:
> Specifically, I've been sending IP packets to broadcast addresses, once to 
> 10.0.0.255, which is the local subnet's broadcast address, and once to 
> 255.255.255.255, which as I understand it, is a general broadcast address. 
> The first broadcast (to 10.0.0.255) works, the second (to 255.255.255.255) 
> doesn't.

Hey, if you're trying to ping the whole internet, then it's only logical to
send the packet out via the default gateway...

Seriously though, this is a difference in routing implementations.
FreeBSD seems to be treating the 255.255.255.255 address just like any
other IP address, matching it against the networks and masks it has in
its routing table, and from that deducing that the default route is the
appropriate destination.

Linux on the other hand seems to have code to special case the all-ones
address. Or perhaps it simply recognises 255.255.255.255 as the broadcast
address complementary to the default network, which is 0.0.0.0/0.

I have no idea if the all-ones IP address is meant to be special or not.
It wouldn't surprise me if treating it that way was a Linux specific
extension.  The sort of case where this sort of thing would be appropriate
-- such as dhcp clients needing to communicate on a network before knowing
what the local IP network number is -- is handled perfectly well under
FreeBSD using layer 2 (ethernet) broadcasts, plus there is already a
reserved IP range specifically intended for contacting DHCP severs in
situations where layer 2 alone won't cut it.

Cheers,

Matthew

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



signature.asc
Description: OpenPGP digital signature


Re: Can you install packages from STABLE in RELEASE?

2006-08-04 Thread Stefan Bethke


Am 04.08.2006 um 01:19 schrieb Henry Lenzi:


Hi --

I'm currently running 6.0-SECURITY
My portsnap tells me of a bunch of ports that have updates that, when
I head directly for an ftp site, I find on a STABLE tree (like
kde-3.5.3 - actually 3.5.2 until yesterday)

For instance, ftp://ftp2.freebsd.org/pub/FreeBSD/ports/i386/ 
packages-6.0-release/x11/

lists kde-3.4.2.tbz

Can I install these on RELEASE? If not, why does portsnap even  
suggest them?


The ports tree has no branches (like RELENG_5 or RELENG_6).  Portsnap  
get's you the current state of the ports tree into /usr/ports.


You can install them from that source on a supported FreeBSD release  
(like 6.0-pX == RELENG_6_0), using the usual ways to build ports (cd / 
usr/ports/xxx/yyy; make install or portinstall).


When a release is built, the binary packages that go onto the CDs are  
built from the then-current ports tree. The FTP servers carry what  
got included in the CDs, so those packages will never change.


The stable packages on the FTP servers are regularly built with the  
current ports tree.  Since they are built on a stable release  
(FreeBSD-6-stable == RELENG_6), they might work on an early release,  
but that is not guaranteed.  If you want to use these packages, you  
should have a fairly recent stable release.


To sum it up: you can install/upgrade the ports, but you cannot  
install the stable packages on a security release.



Stefan

--
Stefan Bethke <[EMAIL PROTECTED]>   Fon +49 170 346 0140


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


Re: Stand up and be counted - BSDStats Project

2006-08-04 Thread Alex Zbyslaw

Olivier Nicole wrote:


Why not doing the parsing on the server?

Is there a limit on the size of an HTTP GET request? 

Yes.  Something like 4k springs to mind.  That's what POST is for and 
would be easy in Perl, but then we can't use that :-(


--Alex


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


Re: Stand up and be counted - BSDStats Project

2006-08-04 Thread Matthew Seaman
Olivier Nicole wrote:
>> pciconf -lv needs to be parsed, this being the hard step, into a string 
>> that can be sent via HTTP ... this is the hard part because it has to be 
>> done as/in a shell script ... anyone out there *really* good at shell 
>> programming?
> 
> Why not doing the parsing on the server?
> 
> Is there a limit on the size of an HTTP GET request? If not, the
> output of pciconf -v can fit in one single request, done.
> 
> And limiting the number of requests, you also limit the amount of data
> xfered.
> 
> I'd also go for:
> 
> pciconf -l | sed s/\ /+/g | sed s/\   /%09/g| sed s/@/%40/g | sed s/:/%3a/g| 
> sed s/=/%3d/g
> 
> and you get lines like:
> 
> hostb0%40pci0%3a0%3a0%3a%09class%3d0x06+card%3d0x341a8086+chip%3d0x254c8086+rev%3d0x01+hdr%3d0x00
> none0%40pci0%3a0%3a1%3a%09class%3d0xff+card%3d0x341a8086+chip%3d0x25418086+rev%3d0x01+hdr%3d0x00
> 
> That are almost completely URL encoded. Remains to replace the newline
> into %0d, and you are done. Result is one line that is around 2000
> characters.

This is cool and all, but why are the concentration solely on PCI devices?
pciconf output doesn't tell you directly what CPUs are in the system or even
how many there are.  It doesn't tell you exactly what sort of memory or disk
drives the system uses -- all of which would be important information that
might just persuade hardware manufacturers to provide more FreeBSD support.
Surely a condensed version of /var/run/dmesg.boot is more to the point.

It's not just about how many machines there are that might use a particular
manufacturer's devices either, it's about how much money the users of
those machines are prepared to spend.  For instance, I could see that a
manufacturer of, say, RAID controllers might well be more interested in
providing FreeBSD support if they knew there was a pent up demand for using
their models in top of the line servers rather than the same number of uses
based on cheaper, small scale kit.  I could take two identical motherboards
stick 1GB of RAM, a single 40GB IDE drive and a low-spec single core processor
in one, and in the other I could have two dual core top of the range processors,
8GB ECC RAM and a terabyte of storage using 15k rpm SAS drives.  pciconf
probably wouldn't distinguish between those two specifications.

Cheers,

Matthew

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



signature.asc
Description: OpenPGP digital signature


Questions inregards to NATD

2006-08-04 Thread Tyler Brincheski
Hello,

I apologize for taking your time, howevr I was unable to find an answer to 
my question inside the online documentation.

I have installed FreeBSD 5.4 on P1 Super Socket 7 system (533 mhz.)  I have 
installed 2 Adaptec Ana-6944 cards, these cards have 4 ports on each.  I have a 
seperate D Link card, that is supported.  My question is, all the online 
documentation has indicated the usage for the natd daemon is used for Network 
Address Translation, however it doesnt indicate weather I can use all 8 ports ( 
4 from each card) as LAN ports, with the DLink's connection as the WAN port.  
Is this possible?

Thanks in advance for any assistance you can offer me.

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


strange behavior webpages

2006-08-04 Thread Guido Demmenie

Hello,

I have a very strange problem with my served webpages.
When I open the webpages from my server with my ibook, while  
connected to my wireless network, everything goes fine. But when I  
refresh a website or when Safari is not grabbing it from its cache  
the page returns corrupted. The page shown is a bunch of random  
characters. After each refresh the stream of charachters is changed.  
On my PC the page is still corrupted, but with a refresh the  
characters are still the same.
When I open a terminal screen on my server and look at the file this  
happens:


%less data/www/networkstats.html
"data/www/networkstats.html" may be a binary file.  See it anyway?

and

%file data/www/networkstats.html
data/www/networkstats.html: data

After some time (about a day or so) the file gets back to its normal  
state, being a html file and it is served well again.
I thougth it would be a problem of my ibook, but when I connect to  
the website while using my wired network the problem does not occur.  
Also not when I am connected to a wireless network other than my own.  
Webpages served from my secure webserver don't get messed up, also  
dynamic pages (CGI/PHP) don't get messed up exept for the images that  
are on those pages.
For my wireless connection I use a wireless PCI card (Netgear MA311  
with latest firmware) on the serverside and the airport extreme from  
my ibook G4. The connection is WEP encrypted by standard FreeBSD  
modules.
I already tried to use a different version of apache (currenty using  
apache-2.0.55_4), but it didn't fix the problem.
I tried finding a useful error or things in my logfiles but I can't  
find anything.
I suspect some of the drivers for my wireless device (wi) to corrupt  
the files, problem is that even if I chmod 000 a file it still gets  
corrupted.


I use:
FreeBSD 6.0
apache-2.0.55_4

some dmesg output:
FreeBSD 6.0-RELEASE #0: Wed Mar  8 19:48:39 CET 2006
CPU: Intel(R) Celeron(R) CPU 2.66GHz (2668.41-MHz 686-class CPU)
wi0:  mem 0xfafff000-0xfaff irq 21 at device  
10.0 on pci1

wi0: [GIANT-LOCKED]
wi0: using RF:PRISM2.5 MAC:ISL3874A(Mini-PCI)
wi0: Intersil Firmware: Primary (1.1.1), Station (1.8.4)

Can anyone help me on this, or does anybody has some kind of the same  
problems?


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


Midnight Commander in base distribution set

2006-08-04 Thread Renat S. Nurgaliyev
Hello!

Please, please, please, include Midnight Commander into the future
releases of FreeBSD! It is extremely time-safing and lightweight tool. It can be
installed from ports, but what about disconnected PC's? Thanks a lot.

With Best Regards,
Renat S. Nurgaliyev
Data Network Engineer

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


Fwd: deleted /var/db/pkg, now what?

2006-08-04 Thread Ivan Levchenko

-- Forwarded message --
From: Ivan Levchenko <[EMAIL PROTECTED]>
Date: Aug 4, 2006 2:58 PM
Subject: Re: deleted /var/db/pkg, now what?
To: Gobbledegeek <[EMAIL PROTECTED]>


pkgdb -u (look for more info in man pkgdb)

On 8/4/06, Gobbledegeek <[EMAIL PROTECTED]> wrote:

I rebuilt the pkgdb.db  but all the other files are gone...
Now portupgrade  thinks  no  packages  are installed.
gnome-upgrade.sh aborts  because it cannot handle  'nilclass'  string.

Any tips to  get back  my  list  of installed packages?

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




--

Best Regards,

Ivan Levchenko
Manager of Programming department
[EMAIL PROTECTED]
[EMAIL PROTECTED]


--

Best Regards,

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


Re: Midnight Commander in base distribution set

2006-08-04 Thread Igor Robul
On Fri, Aug 04, 2006 at 12:41:54PM +0600, Renat S. Nurgaliyev wrote:
> Hello!
> 
> Please, please, please, include Midnight Commander into the future
> releases of FreeBSD! It is extremely time-safing and lightweight tool. It can 
> be
> installed from ports, but what about disconnected PC's? Thanks a lot.
You need free youself from "blue panel Norton Commander" syndrome :-)
Also Midnight Commander is not lightweight tool because it needs many
other packages to run. And dont forget MC & libraries it needs are under
GPL license.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Midnight Commander in base distribution set

2006-08-04 Thread Kris Kennaway
On Fri, Aug 04, 2006 at 12:41:54PM +0600, Renat S. Nurgaliyev wrote:
> Hello!
> 
> Please, please, please, include Midnight Commander into the future
> releases of FreeBSD! It is extremely time-safing and lightweight tool. It can 
> be
> installed from ports, but what about disconnected PC's? Thanks a lot.

Sorry, this will not happen.  Everyone has their favourite tools, and
that's what ports are for.

Kris


pgpB5bjcWZzVC.pgp
Description: PGP signature


Re: Questions inregards to NATD

2006-08-04 Thread Fabian Keil
Tyler Brincheski <[EMAIL PROTECTED]> wrote:

> I have installed FreeBSD 5.4 on P1 Super Socket 7 system (533
> mhz.)  I have installed 2 Adaptec Ana-6944 cards, these cards have 4
> ports on each.  I have a seperate D Link card, that is supported.  My
> question is, all the online documentation has indicated the usage for
> the natd daemon is used for Network Address Translation, however it
> doesnt indicate weather I can use all 8 ports ( 4 from each card) as
> LAN ports, with the DLink's connection as the WAN port.  Is this
> possible?

If you can configure all 8 ports with ifconfig,
you shouldn't have any problems using them for NAT.

If you want to use all internal ports in the same network,
I suggest you only give on of them an IP address, configure
it for NAT and then use if_bridge to connect it with the other
ones. Otherwise you could run into routing problems.

Note that you don't have to use natd for NAT,
you can also use PF and safe some cpu time.
If your system has other work to do and you have
lots of connections, it could make a difference.

Fabian
-- 
http://www.fabiankeil.de/


signature.asc
Description: PGP signature


pflog0 question

2006-08-04 Thread Beni
Hi all,

Does pflog0 need to get an ip-address from dhcp ? From what I can see in 
dmesg, pflog0 can't get one (vr0 does) but pflog0 seems to be up and running 
(same for pf and pflogd).

So how do I get an address for pflog0 (if needed) ? I'm using 6.1-STABLE.

From dmesg :

[...]
DHCPREQUEST on vr0 to 255.255.255.255 port 67
DHCPNAK from 192.168.1.1
DHCPDISCOVER on vr0 to 255.255.255.255 port 67 interval 5
DHCPOFFER from 192.168.1.1
DHCPREQUEST on vr0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
bound to 192.168.1.100 -- renewal in 86400 seconds.
DHCPDISCOVER on pflog0 to 255.255.255.255 port 67 interval 5
send_packet: Input/output error
DHCPDISCOVER on pflog0 to 255.255.255.255 port 67 interval 14
send_packet: Input/output error
DHCPDISCOVER on pflog0 to 255.255.255.255 port 67 interval 18
send_packet: Input/output error
DHCPDISCOVER on pflog0 to 255.255.255.255 port 67 interval 18
send_packet: Input/output error
DHCPDISCOVER on pflog0 to 255.255.255.255 port 67 interval 6
send_packet: Input/output error
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

lo0: flags=8049 mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
inet 127.0.0.1 netmask 0xff00
vr0: flags=8843 mtu 1500
inet6 fe80::20c:76ff:fec2:2cb7%vr0 prefixlen 64 scopeid 0x1
inet 192.168.1.100 netmask 0xff00 broadcast 192.168.1.255
ether 00:0c:76:c2:2c:b7
media: Ethernet autoselect (100baseTX )
status: active
pflog0: flags=41 mtu 33208
inet 0.0.0.0 netmask 0xff00
Enabling pflogd
.
Aug  4 12:00:04 pflogd[310]: [priv]: msg PRIV_OPEN_LOG received
Enabling pf.
pf enabled
[...]


In my /etc/pf.conf I have :
pass in quick on $ext_if inet proto udp from any to any port { 67, 68 }

The /var/db/dhclient.leases.pflog0 is an empty file, 0 bytes whereas 
dhclient.leases.vr0 is 730 kb.

I also have 
ifconfig_pflog0="DHCP" 
in my /etc/rc.conf.

Thanks for any help.

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


Re: pflog0 question

2006-08-04 Thread Bill Moran
In response to Beni <[EMAIL PROTECTED]>:

> Hi all,
> 
> Does pflog0 need to get an ip-address from dhcp ? From what I can see in 
> dmesg, pflog0 can't get one (vr0 does) but pflog0 seems to be up and running 
> (same for pf and pflogd).
> 
> So how do I get an address for pflog0 (if needed) ? I'm using 6.1-STABLE.

I'm confused as to why you would _want_ to have an IP on pflog0.

It's just a pseudo-interface for using tcpdump to view pflogd's activity.
I can't see any benefit to assigning an IP to it.

If you do have a legit need to do so, you're going to have to assign it
a static.  Since it's not a real interface, it has no network connectivity,
and thus can't talk to any DHCP servers.

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


Re: Midnight Commander in base distribution set

2006-08-04 Thread Bryan Bonifacio
The ports and packages are also available from the CD-ROMs (either the first or 
the second).

--
Bryan

"Renat S. Nurgaliyev" <[EMAIL PROTECTED]> wrote: Hello!

Please, please, please, include Midnight Commander into the future
releases of FreeBSD! It is extremely time-safing and lightweight tool. It can be
installed from ports, but what about disconnected PC's? Thanks a lot.

With Best Regards,
Renat S. Nurgaliyev
Data Network Engineer

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

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


Re: pflog0 question

2006-08-04 Thread Alex Zbyslaw

Beni wrote:


Hi all,

Does pflog0 need to get an ip-address from dhcp ? From what I can see in 
dmesg, pflog0 can't get one (vr0 does) but pflog0 seems to be up and running 
(same for pf and pflogd).


So how do I get an address for pflog0 (if needed) ? I'm using 6.1-STABLE.

From dmesg :

[...]
DHCPREQUEST on vr0 to 255.255.255.255 port 67
DHCPNAK from 192.168.1.1
DHCPDISCOVER on vr0 to 255.255.255.255 port 67 interval 5
DHCPOFFER from 192.168.1.1
DHCPREQUEST on vr0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
bound to 192.168.1.100 -- renewal in 86400 seconds.
DHCPDISCOVER on pflog0 to 255.255.255.255 port 67 interval 5
send_packet: Input/output error
DHCPDISCOVER on pflog0 to 255.255.255.255 port 67 interval 14
send_packet: Input/output error
DHCPDISCOVER on pflog0 to 255.255.255.255 port 67 interval 18
send_packet: Input/output error
DHCPDISCOVER on pflog0 to 255.255.255.255 port 67 interval 18
send_packet: Input/output error
DHCPDISCOVER on pflog0 to 255.255.255.255 port 67 interval 6
send_packet: Input/output error
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

lo0: flags=8049 mtu 16384
   inet6 ::1 prefixlen 128
   inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
   inet 127.0.0.1 netmask 0xff00
vr0: flags=8843 mtu 1500
   inet6 fe80::20c:76ff:fec2:2cb7%vr0 prefixlen 64 scopeid 0x1
   inet 192.168.1.100 netmask 0xff00 broadcast 192.168.1.255
   ether 00:0c:76:c2:2c:b7
   media: Ethernet autoselect (100baseTX )
   status: active
pflog0: flags=41 mtu 33208
   inet 0.0.0.0 netmask 0xff00
Enabling pflogd
.
Aug  4 12:00:04 pflogd[310]: [priv]: msg PRIV_OPEN_LOG received
Enabling pf.
pf enabled
[...]


In my /etc/pf.conf I have :
pass in quick on $ext_if inet proto udp from any to any port { 67, 68 }

The /var/db/dhclient.leases.pflog0 is an empty file, 0 bytes whereas 
dhclient.leases.vr0 is 730 kb.
 


Disclaimer, I do not use pflog.  But the manual page just says to do:

# ifconfig pflog0 up
# tcpdump -n -e -ttt -i pflog0

No mention of IP addresses at all, let alone DHCP.

I also have 
ifconfig_pflog0="DHCP" 
in my /etc/rc.conf.


 

It's trying to get a DHCP address because you have told it to, right 
here.  Try commenting this line out and rebooting (yes, there probably 
is a way to do it with rc scripts; feel free to investigate :-).  Or 
just try "ifconfig pflog0 down; ifconfig pflog0 up" but it may try and 
remember your DHCP setting).


--Alex





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


Re: Stand up and be counted - BSDStats Project

2006-08-04 Thread User Freebsd

On Fri, 4 Aug 2006, Matthew Seaman wrote:

This is cool and all, but why are the concentration solely on PCI 
devices? pciconf output doesn't tell you directly what CPUs are in the 
system or even how many there are.  It doesn't tell you exactly what 
sort of memory or disk drives the system uses -- all of which would be 
important information that might just persuade hardware manufacturers to 
provide more FreeBSD support. Surely a condensed version of 
/var/run/dmesg.boot is more to the point.


/var/run/dmesg.boot can't be relied on, unfortunately ... I've had *many* 
times where a reboot leaves that blank, or with "non-dmesg like" output 
... if you can provide a non-dmesg method of adding this information that 
is consistent (ie. pciconf), then sure, we can add this sort of 
information ...



Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD from Scratch

2006-08-04 Thread Rich Mayo
Is anyone on the list familiar with the "Linux from Scratch" project?
More to the point, is anybody aware if there is anything like a "FreeBSD
from Scratch" project??



Rich Mayo
SRI International
732-389-1003



smime.p7s
Description: S/MIME cryptographic signature


Re: Stand up and be counted - BSDStats Project

2006-08-04 Thread Antony Mawer

On 4/08/2006 3:17 AM, User Freebsd wrote:

On Fri, 4 Aug 2006, Matthew Seaman wrote:

This is cool and all, but why are the concentration solely on PCI 
devices? pciconf output doesn't tell you directly what CPUs are in the 
system or even how many there are.  It doesn't tell you exactly what 
sort of memory or disk drives the system uses -- all of which would be 
important information that might just persuade hardware manufacturers 
to provide more FreeBSD support. Surely a condensed version of 
/var/run/dmesg.boot is more to the point.


/var/run/dmesg.boot can't be relied on, unfortunately ... I've had 
*many* times where a reboot leaves that blank, or with "non-dmesg like" 
output ... if you can provide a non-dmesg method of adding this 
information that is consistent (ie. pciconf), then sure, we can add this 
sort of information ...


Some of this information can be gathered from the hw.* sysctl's, at 
least on 6.x...


-Antony

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


Re: FreeBSD from Scratch

2006-08-04 Thread Bob Johnson

On 8/4/06, Rich Mayo <[EMAIL PROTECTED]> wrote:

Is anyone on the list familiar with the "Linux from Scratch" project?
More to the point, is anybody aware if there is anything like a "FreeBSD
from Scratch" project??


It depends on which aspect of "Linux from Scratch" is of interest to you.

Building from source code is the standard way to update FreeBSD.  By
editing appropriate configuration files you can produce a fairly
customized installation:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html
describes the basics.

You also have the option of doing a minimal install in the first
place, and then adding additional pieces as you wish.

Another approach to a customized FreeBSD is the nanobsd project, which
has tools to let you build a stripped-down FreeBSD that is small
enough to run from a floppy disk (although these days a usb flash
drive is probably a more common target):

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

There are preconfigured nanobsd builds to make firewalls, routers, and
other common tools.

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


Re: FreeBSD from Scratch

2006-08-04 Thread Matthew Seaman
Rich Mayo wrote:
> Is anyone on the list familiar with the "Linux from Scratch" project?
> More to the point, is anybody aware if there is anything like a "FreeBSD
> from Scratch" project??

As I understand it, Linux from Scratch is all about building a Linux box
without using the packaging etc. provided by any of the various Linux
distributions.  The challenge is to take all of the source code from
all of the various development groups and integrate it into a working
system yourself.

The concept doesn't really map onto FreeBSD.  The OS -- kernel, system
libraries, standard applications -- is developed as a unified thing.
There aren't really any alternate distributions in the same sense as
there are for Linux, although projects like Freesbie, pfsense and
DesktopBSD are heading in that sort of direction.

Once you've downloaded the system sources, done a make buildworld etc.,
installed everything and rebooted[*], that's it: done.  You've got a
working FreeBSD system.  Which kind of takes away the point of the 'from
Scratch' idea.  It's too easy...

Third party software installed from ports is literally compiling from
source code as Linux from Scratch advocates -- OK, software installed
from ports does get registered in the pkg system, and it can be bundled
up into a pkg tarball and copied to another machine to be installed
there (which is  exactly what the packages are on the FreeBSD FTP sites).
But that's just an aid to keeping things properly maintained.

Either every FreeBSD box is 'FreeBSD from Scratch' or none of them are. 

Cheers,

Matthew

[*] Actually, it's a little more involved than that, and of course you
should follow the detailed instructions in the handbook.  But that's
the general gist.

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



signature.asc
Description: OpenPGP digital signature


amarok lyrics: proxy and ruby?

2006-08-04 Thread Javier Echaiz

I have amarok-1.4.1 and works great... but i'm not able to fetch
lyrics, I tried various ruby scripts but I got same results:

/usr/local/lib/ruby/1.8/net/http.rb:562:in `initialize': Invalid
argument - connect(2) (Errno::EINVAL)
from /usr/local/lib/ruby/1.8/net/http.rb:562:in `connect'
from /usr/local/lib/ruby/1.8/timeout.rb:48:in `timeout'
from /usr/local/lib/ruby/1.8/timeout.rb:76:in `timeout'
.

The same result occurred with the previous amarok version (I think it
was 1.4.0a). Before that lyrics fetched ok. I'm behind a non
transparent proxy, so probably the problem is http.rb don't knowing
about my proxy. Should I try to hack the http.rb code to enable proxy?
I'm asking here just in case someone shares this problem and knows a
not so radical solution. :) Is there some place to define my proxy
(besides env vars) for ruby? This would avoid problems for me in
future ruby releases...

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


Re: pflog0 question

2006-08-04 Thread Darrin Chandler
On Fri, Aug 04, 2006 at 02:26:49PM +0200, Beni wrote:
> Hi all,
> 
> Does pflog0 need to get an ip-address from dhcp ? From what I can see in 
> dmesg, pflog0 can't get one (vr0 does) but pflog0 seems to be up and running 
> (same for pf and pflogd).
> 
> So how do I get an address for pflog0 (if needed) ? I'm using 6.1-STABLE.

You can't have an address on pflog0, and shouldn't be trying. It is just
a pseudo device to let you use tcpdump in real time (or close to it) on
what is logged by pflogd.

-- 
Darrin Chandler|  Phoenix BSD Users Group
[EMAIL PROTECTED]   |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/  |
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Fwd: deleted /var/db/pkg, now what?

2006-08-04 Thread Bryan Bonifacio
>From "man portupgrade"... if you are rebuilding the package database, do a 
>"pkgdb -fu"


--
Bryan


Ivan Levchenko <[EMAIL PROTECTED]> wrote: -- Forwarded message 
--
From: Ivan Levchenko 
Date: Aug 4, 2006 2:58 PM
Subject: Re: deleted /var/db/pkg, now what?
To: Gobbledegeek 


pkgdb -u (look for more info in man pkgdb)

On 8/4/06, Gobbledegeek  wrote:
> I rebuilt the pkgdb.db  but all the other files are gone...
> Now portupgrade  thinks  no  packages  are installed.
> gnome-upgrade.sh aborts  because it cannot handle  'nilclass'  string.
>
> Any tips to  get back  my  list  of installed packages?
>
> --
> Rgrds
> GobbledeGeek
> [Everything but Gobbledegook.. !!]
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>


--

Best Regards,

Ivan Levchenko
Manager of Programming department
[EMAIL PROTECTED]
[EMAIL PROTECTED]


-- 

Best Regards,

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

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


nppdf.so: undefined symbol "__ctype_b_loc"

2006-08-04 Thread Xiao-Yong Jin
Hi all, after upgrading firefox and acroread, I got this when I tried
to use the plugin,

LoadPlugin: failed to initialize shared library 
/usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux/nppdf.so 
[/usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux/nppdf.so: Undefined symbol 
"__ctype_b_loc"]

I have these lines in my /etc/libmap.conf,

# Acrobat7 with Mozilla/Firebird/Galeon/Epiphany/Konqueror/Kazehakase
[/usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux/nppdf.so]
libc.so.6   pluginwrapper/acrobat.so

Bug?  Or my configuration fault?

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


adjkerntz in a jail

2006-08-04 Thread Joshua Groboski
Hello,

I found your question on freebsd.org:

Hello,
I'm running apache in a jail on 6.0. Cron is sending me output like:

adjkerntz[33405]: sysctl(put_wallclock): Operation not permitted

Is this entry needed in a jail's crontab to run adjkerntz and if so what 
setting do i have to alter on the host system to make it work?
Thanks.
Dave.

I am wondering if you got it answered and if you would share the
solution with me.  I am not very familiar with jail, but I've taken over
a server that is using it.  Needless to say, the reason I'm on this
quest is to stop the fifty or so emails per day.

-- 

Joshua Groboski
Production Manager
jWeb New Media Design
http://www.jwebmedia.com
phone: 636-928-3162
mobile: 314-853-8970
email: [EMAIL PROTECTED]

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

Re: FreeBSD from Scratch

2006-08-04 Thread Jona Joachim
Rich Mayo wrote:
> Is anyone on the list familiar with the "Linux from Scratch" project?
> More to the point, is anybody aware if there is anything like a "FreeBSD
> from Scratch" project??

You may find this interesting:
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/fbsd-from-scratch/index.html

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


Re: nppdf.so: undefined symbol "__ctype_b_loc"

2006-08-04 Thread Kees Plonsz
On Friday 04 August 2006 16:45, Xiao-Yong Jin wrote:
> Hi all, after upgrading firefox and acroread, I got this when I tried
> to use the plugin,
> 
> LoadPlugin: failed to initialize shared library 
> /usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux/nppdf.so 
> [/usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux/nppdf.so: Undefined 
> symbol "__ctype_b_loc"] 
> 
> I have these lines in my /etc/libmap.conf,
> 
> # Acrobat7 with Mozilla/Firebird/Galeon/Epiphany/Konqueror/Kazehakase
> [/usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux/nppdf.so]
> libc.so.6   pluginwrapper/acrobat.so
> 
> Bug?  Or my configuration fault?
> 
An "Undefined symbol" error is a shared object file is always a version 
mismatch.
You have to update "nppdf.so" to match the version what the main programm 
expects.


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


Re: Midnight Commander in base distribution set

2006-08-04 Thread Scott Oertel

Bryan Bonifacio wrote:

The ports and packages are also available from the CD-ROMs (either the first or 
the second).

--
Bryan

"Renat S. Nurgaliyev" <[EMAIL PROTECTED]> wrote: Hello!

Please, please, please, include Midnight Commander into the future
releases of FreeBSD! It is extremely time-safing and lightweight tool. It can be
installed from ports, but what about disconnected PC's? Thanks a lot.

With Best Regards,
Renat S. Nurgaliyev
Data Network Engineer

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

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

  
I use midnight commander on a daily basis, can anyone recommend a 
better, more lightweight tool then  mc?




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


RE: FreeBSD from Scratch

2006-08-04 Thread fbsd
The install guide at www.a1poweruser.com  may be what you are
looking for.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Rich Mayo
Sent: Friday, August 04, 2006 9:24 AM
To: FreeBSD Questions
Subject: FreeBSD from Scratch


Is anyone on the list familiar with the "Linux from Scratch"
project?
More to the point, is anybody aware if there is anything like a
"FreeBSD
from Scratch" project??



Rich Mayo
SRI International
732-389-1003


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


Re: Midnight Commander in base distribution set

2006-08-04 Thread Andrew Gould
--- Scott Oertel <[EMAIL PROTECTED]> wrote:

> Bryan Bonifacio wrote:
> > The ports and packages are also available from the
> CD-ROMs (either the first or the second).
> >
> > --
> > Bryan
> >
> > "Renat S. Nurgaliyev" <[EMAIL PROTECTED]> wrote:
> Hello!
> >
> > Please, please, please, include Midnight Commander
> into the future
> > releases of FreeBSD! It is extremely time-safing
> and lightweight tool. It can be
> > installed from ports, but what about disconnected
> PC's? Thanks a lot.
> >
> > With Best Regards,
> > Renat S. Nurgaliyev
> > Data Network Engineer
> >
> >
> >   
> I use midnight commander on a daily basis, can
> anyone recommend a 
> better, more lightweight tool then  mc?
> 
> 
> -Scott Oertel


I would also like to hear recommendations for
alternatives to mc that are light weight, work on the
command line **and** are either included on the
FreeBSD installation CD or would be appropriate
additions to the installation CD.

mc makes it much easier/faster to finish configuring
the OS after a clean installation; so it's always the
first application I pkg_add from the ftp site.  It
would be nice to have an application with mc's basic
features on the installation CD, especially since
immediate internet access cannot be assumed.

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


Your confirmation is needed (ok 1123525)

2006-08-04 Thread Lyris ListManager
Your email address 'freebsd-questions@freebsd.org' has been submitted to be
unsubscribed from the 'surfnetkids' mailing list.

This unsubscribe command requires your confirmation that you want to be
unsubscribed.

To confirm that you do want to unsubscribe, reply to this message so that
the words "ok 1123525" appear somewhere on the subject line.

Make sure that your reply message is addressed to
[EMAIL PROTECTED]

You will receive notification that your confirmation has been received, and
that you have been unsubscribed.

If you do not want to unsubscribe, do nothing.  You will be kept on the
mailing list.

---

Return-Path: <[EMAIL PROTECTED]>
Received: from mailin-02.netatlantic.com ([69.25.193.202]) by 
lists.surfnetkids.com with SMTP (Lyris ListManager WIN32 version 7.8g); Fri, 04 
Aug 2006 12:21:54 -0400
Received: from 58.22.141.80 ([58.22.141.80]) by mailin-02.netatlantic.com 
(8.12.11/8.12.11) with SMTP id k74GLipT095489; Fri, 4 Aug 2006 12:21:48 -0400 
(EDT) (envelope-from [EMAIL PROTECTED])
Received: from  by ; Fri, 04 Aug 2006 09:21:49 -0700
Message-ID: <@>
From: "Haynsworth" <[EMAIL PROTECTED]>
Reply-To: "Hartvigsen" <[EMAIL PROTECTED]>
To: surfnetkids-request
Subject: 
Date: Fri, 04 Aug 2006 19:21:49 +0300
X-Mailer: 
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="--"
X-Priority: 3
X-MSMail-Priority: Normal
X-Scanned-By: MIMEDefang 2.51 on 69.25.193.202

# Mail sent to leave-surfnetkids-1123525m was converted to these commands: 
unsubscribe surfnetkids freebsd-questions@freebsd.org confirm
end

# This is the text of the message that triggered the action:

Return-Path: <[EMAIL PROTECTED]>
Received: from mailin-02.netatlantic.com ([69.25.193.202]) by 
lists.surfnetkids.com with SMTP (Lyris ListManager WIN32 version 7.8g); Fri, 04 
Aug 2006 12:21:54 -0400
Received: from 58.22.141.80 ([58.22.141.80])
by mailin-02.netatlantic.com (8.12.11/8.12.11) with SMTP id 
k74GLipT095489;
Fri, 4 Aug 2006 12:21:48 -0400 (EDT)
(envelope-from [EMAIL PROTECTED])
Received: from  by ; Fri, 04 Aug 2006 09:21:49 -0700
Message-ID: <@>
From: "Haynsworth" <[EMAIL PROTECTED]>
Reply-To: "Hartvigsen" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: E-Advertising Services
Date: Fri, 04 Aug 2006 19:21:49 +0300
X-Mailer: 
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="--"
X-Priority: 3
X-MSMail-Priority: Normal
X-Scanned-By: MIMEDefang 2.51 on 69.25.193.202


Content-Type: text/plain;
Content-Transfer-Encoding: base64

R3Jvd3RoIFBsYW4gZm9yIHlvdToNCg0KLSAgUHJvdmlkZSBlbWFpSS1hZGRyZXNzZXMgaW4g
YWNjb3JkYW5jZSB3aXRoIHlvdXIgb3JkZXIuDQoNCi0gIFByb3ZpZGUgZW1haUktYWRkcmVz
c2VzIGZvciB5b3Ugb3JkZXIsIG1haWwgb3V0IHlvdXIgZW1haUkgDQogICBtZXNzYWdlcyBm
b3IgeW91Lg0KDQoqIFdlIGFsc28gc3VwcGx5IG1haWxpbmcgdG9vbHMgKFNlcnZlcikuDQoN
Cg0KDQpCdXNpbmVzcyBNYW5hZ2VyDQpNYW5hZ2VxQGVhc3RkYXkuY29tDQoNCg0KDQpGMFIg
IGxlYXZlLXN1cmZuZXRraWRzLTExMjM1MjVtQGxpc3RzLnN1cmZuZXRraWRzLmNvbS4NCk4w
VCBBR0FJTjogIE4wVEBHTUFJTC5DT00NCg==

--


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


Re: Please Help

2006-08-04 Thread Lowell Gilbert
"Igor Treyger" <[EMAIL PROTECTED]> writes:

> Hi,
> I have burned 3 iso images on CDs:
> FreeBSB 6.1 disk1
> FreeBSB 6.1 disk2
> FreeBSB 6.1 Boot
> All of them i386
> I have Compaq workstation that is currently running Windows2000
> Problem:
> Desktop would not boot with FreeBSB 6.1Boot. I have tried FreeBSBDisk1
> - 
> same result. What am I doing wrong. Please HELP!
> The boot order in BIOS -  CD Rom first
> I am trying to get familiar with UNIX OS

What happens when you try to boot disk1?
What do you see if you look at the CD from Windows?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Stand up and be counted - BSDStats Project

2006-08-04 Thread User Freebsd

On Fri, 4 Aug 2006, Antony Mawer wrote:


On 4/08/2006 3:17 AM, User Freebsd wrote:

On Fri, 4 Aug 2006, Matthew Seaman wrote:

This is cool and all, but why are the concentration solely on PCI devices? 
pciconf output doesn't tell you directly what CPUs are in the system or 
even how many there are.  It doesn't tell you exactly what sort of memory 
or disk drives the system uses -- all of which would be important 
information that might just persuade hardware manufacturers to provide 
more FreeBSD support. Surely a condensed version of /var/run/dmesg.boot is 
more to the point.


/var/run/dmesg.boot can't be relied on, unfortunately ... I've had *many* 
times where a reboot leaves that blank, or with "non-dmesg like" output ... 
if you can provide a non-dmesg method of adding this information that is 
consistent (ie. pciconf), then sure, we can add this sort of information 
...


Some of this information can be gathered from the hw.* sysctl's, at least on 
6.x...


'k, what I'm going to work on this weekend is a first pass at both the 
periodic script, and the receiving database ... I will post the script 
when completed, so that we can test what has been discussed so far, then 
we can look at adding on 'features' from there to pull in more information 
...


Fair enough?


Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Midnight Commander in base distribution set

2006-08-04 Thread Dan Nelson
In the last episode (Aug 04), Andrew Gould said:
> --- Scott Oertel <[EMAIL PROTECTED]> wrote:
> > I use midnight commander on a daily basis, can anyone recommend a
> > better, more lightweight tool then mc?
> 
> I would also like to hear recommendations for alternatives to mc that
> are light weight, work on the command line **and** are either
> included on the FreeBSD installation CD or would be appropriate
> additions to the installation CD.

Actually, mc is pretty lightweight if you disable all the options.  Note
that the dependency on Perl isn't listed in OPTIONS, so you have to
disable it manually in the port Makefile by setting
WITHOUT_PERL_MODULES=yes

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


Re: Squeak Smalltalk upgrading problems

2006-08-04 Thread Lowell Gilbert
"Henry Lenzi" <[EMAIL PROTECTED]> writes:

> Squeak version 3.8 is out, but ports have 3.6.
> Does anyone know why?

Presumably because the maintainer hasn't had time to update it yet.  
If you provide patches, that would probably help him get it faster...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: adjkerntz in a jail

2006-08-04 Thread Ruben Bloemgarten
Just remove it from the crontab. You don't need it in the jail.

Regards, 
Ruben 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Joshua Groboski
Sent: August 04, 2006 3:51 PM
To: freebsd-questions@freebsd.org
Subject: adjkerntz in a jail

Hello,

I found your question on freebsd.org:

Hello,
I'm running apache in a jail on 6.0. Cron is sending me output like:

adjkerntz[33405]: sysctl(put_wallclock): Operation not permitted

Is this entry needed in a jail's crontab to run adjkerntz and if so what 
setting do i have to alter on the host system to make it work?
Thanks.
Dave.

I am wondering if you got it answered and if you would share the
solution with me.  I am not very familiar with jail, but I've taken over
a server that is using it.  Needless to say, the reason I'm on this
quest is to stop the fifty or so emails per day.

-- 

Joshua Groboski
Production Manager
jWeb New Media Design
http://www.jwebmedia.com
phone: 636-928-3162
mobile: 314-853-8970
email: [EMAIL PROTECTED]


-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.5/407 - Release Date: 08/03/2006
 
  

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


.bash_logout and shutdown -- need ideas

2006-08-04 Thread DW

Hi all,

Have a bit of an issue here:

Just started using a .bash_logout script to handle doing my unison 
commands whenever I logout at end of day so I don't forget to sync my 
local homedir to my server before I head home.


Works fine as long as I just do a "# exit" when I'm done.

But more often than not, I do a "# sudo shutdown -p now".

The problem with that though, is that the shutdown process runs as root, 
and just drops the system, and I'm never actually getting logged out as 
much as booted out. So my .bash_logout doesn't run, and thus no unison 
unless I remember to run it manually first.


Any ideas on how to work around this sitch?

Thanks,
DW

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


Re: piperd in top

2006-08-04 Thread DAve

Alex Zbyslaw wrote:

Dan Nelson wrote:


In the last episode (Aug 02), DAve said:
 


Dan Nelson wrote:
  

In the last episode (Aug 01), DAve said:


We are in the process of getting a good hammering of spam. I've
been watching my mail gateways and they are keeping up well enough.
But looking at top I am seeing a lot of processes with state of
piperd.
  

Piperd means the process is waiting on a read from a pipe.  You can
use lsof to determine what process is at the other end of the pipe
(run lsof, find your process, find the PIPE fd, then find the other
process with the same 0x value).


Excellent, thank you. May I ask where you found that info. I looked
but came up empty. I'd like to know the meanings of some other states
not mentioned in the man pages. Such as nanslp, *GIANT, kqread, etc.
  


The only place wait states are documented is the source, basically. 
There are many hundreds of them.  States with an asterisk are mutexes

To find the code related to piperd:

find /usr/src/sys -name "*.c" | xargs grep -n piperd

 

Or you could search the archive of questions@ where many of the more 
common states where elucidated just a couple months ago and Giorgos 
provided a good description of the UPPER CASE states.


--Alex


Thank you, the response from Eric Schuele was what I was looking for.

http://www.freebsd.org/cgi/getmsg.cgi?fetch=1324391+0+/usr/local/www/db/text/2006/freebsd-questions/20060618.freebsd-questions

DAve


--
Three years now I've asked Google why they don't have a
logo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing for
Veterans?

Maybe they forgot who made that choice possible.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: .bash_logout and shutdown -- need ideas

2006-08-04 Thread Andrew Gould
--- DW <[EMAIL PROTECTED]> wrote:

> Hi all,
> 
> Have a bit of an issue here:
> 
> Just started using a .bash_logout script to handle
> doing my unison 
> commands whenever I logout at end of day so I don't
> forget to sync my 
> local homedir to my server before I head home.
> 
> Works fine as long as I just do a "# exit" when I'm
> done.
> 
> But more often than not, I do a "# sudo shutdown -p
> now".
> 
> The problem with that though, is that the shutdown
> process runs as root, 
> and just drops the system, and I'm never actually
> getting logged out as 
> much as booted out. So my .bash_logout doesn't run,
> and thus no unison 
> unless I remember to run it manually first.
> 
> Any ideas on how to work around this sitch?
> 
> Thanks,
> DW
> 

Instead of using .bash_logout, why don't you create a
script that runs all of your logout tasks and then
ends with 'sudo shutdown -p now'?

Andrew L. Gould

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


How to get best results from FreeBSD-questions

2006-08-04 Thread Greg Lehey

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

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

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

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

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

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

=

Contents:

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

I: Introduction
===

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

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

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

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

II:  How to unsubscribe from FreeBSD-questions
==

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

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

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

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

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

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

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

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

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

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

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

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

"The Complete FreeBSD": errata and addenda

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

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

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

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

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


Re: .bash_logout and shutdown -- need ideas

2006-08-04 Thread DW

Andrew Gould wrote:

--- DW <[EMAIL PROTECTED]> wrote:

  

Hi all,

Have a bit of an issue here:

Just started using a .bash_logout script to handle
doing my unison 
commands whenever I logout at end of day so I don't
forget to sync my 
local homedir to my server before I head home.


Works fine as long as I just do a "# exit" when I'm
done.

But more often than not, I do a "# sudo shutdown -p
now".

The problem with that though, is that the shutdown
process runs as root, 
and just drops the system, and I'm never actually
getting logged out as 
much as booted out. So my .bash_logout doesn't run,
and thus no unison 
unless I remember to run it manually first.


Any ideas on how to work around this sitch?

Thanks,
DW




Instead of using .bash_logout, why don't you create a
script that runs all of your logout tasks and then
ends with 'sudo shutdown -p now'?
  
That's a good idea; I'll probably end up doing something like that; I 
was actually thinking of of just making bash aliases for reboot and 
shutdown, I guess that would do the same thing.
The other problem though I just discovered is that that will work fine 
if I'm just in on a console, but if I'm running XFCE, and choose reboot 
or shutdown from xfce's exit menu, that won't work. If I can't find a 
way to get xfce to use my exit script(s), then I guess I'll just have to 
get into the habit of bailing out to a console first before shutting down.






Andrew L. Gould

  


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


Re: .bash_logout and shutdown -- need ideas

2006-08-04 Thread Andrew Gould
--- DW <[EMAIL PROTECTED]> wrote:

> Andrew Gould wrote:
> > --- DW <[EMAIL PROTECTED]> wrote:
> >
> >   
> >> Hi all,
> >>
> >> Have a bit of an issue here:
> >>
> >> Just started using a .bash_logout script to
> handle
> >> doing my unison 
> >> commands whenever I logout at end of day so I
> don't
> >> forget to sync my 
> >> local homedir to my server before I head home.
> >>
> >> Works fine as long as I just do a "# exit" when
> I'm
> >> done.
> >>
> >> But more often than not, I do a "# sudo shutdown
> -p
> >> now".
> >>
> >> The problem with that though, is that the
> shutdown
> >> process runs as root, 
> >> and just drops the system, and I'm never actually
> >> getting logged out as 
> >> much as booted out. So my .bash_logout doesn't
> run,
> >> and thus no unison 
> >> unless I remember to run it manually first.
> >>
> >> Any ideas on how to work around this sitch?
> >>
> >> Thanks,
> >> DW
> >>
> >> 
> >
> > Instead of using .bash_logout, why don't you
> create a
> > script that runs all of your logout tasks and then
> > ends with 'sudo shutdown -p now'?
> >   
> That's a good idea; I'll probably end up doing
> something like that; I 
> was actually thinking of of just making bash aliases
> for reboot and 
> shutdown, I guess that would do the same thing.
> The other problem though I just discovered is that
> that will work fine 
> if I'm just in on a console, but if I'm running
> XFCE, and choose reboot 
> or shutdown from xfce's exit menu, that won't work.
> If I can't find a 
> way to get xfce to use my exit script(s), then I
> guess I'll just have to 
> get into the habit of bailing out to a console first
> before shutting down.
> 
> 
> > Andrew L. Gould
> >
> >   

I've never examined the shutdown procedures used by
windows managers; but the concept should be the same. 
You could write a script with your logout tasks
followed by the command executed by XFCE's shutdown
commands.  (I'm sure someone on this list can address
this part.)  

Next, create a button or menu option on XFCE's panel
to execute your script from a terminal application.

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


Re: FreeBSD from Scratch

2006-08-04 Thread RW
On Friday 04 August 2006 15:59, Jona Joachim wrote:
> Rich Mayo wrote:
> > Is anyone on the list familiar with the "Linux from Scratch" project?
> > More to the point, is anybody aware if there is anything like a "FreeBSD
> > from Scratch" project??
>
> You may find this interesting:
> http://www.freebsd.org/doc/en_US.ISO8859-1/articles/fbsd-from-scratch/index
>.html

Although, it's nothing like "Linux from Scratch". IIRC it's a way of updating 
into alternate system partitions to avoid leaving old files behind after an 
update.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: .bash_logout and shutdown -- need ideas

2006-08-04 Thread Svein Halvor Halvorsen
DW wrote:
> Just started using a .bash_logout script to handle doing my unison
:
> The problem with that though, is that the shutdown process runs as root,
> and just drops the system, and I'm never actually getting logged out as
> much as booted out. So my .bash_logout doesn't run, and thus no unison
> unless I remember to run it manually first.
> 
> Any ideas on how to work around this sitch?


At shutdown FreeBSD runs /etc/rc.shutdown. It seems that this script, by
means of /etc/rc.subr, will iterate all the files in (among others)
/usr/local/etc/rc.d/ and call them with the "faststop" argument.

Maybe you could just add a script in there?

(Actually, only files with a "# PROVIDES" line are considered, it seems,
so you should think about that).


Svein Halvor



signature.asc
Description: OpenPGP digital signature


S.M.A.R.T. HDD Protocal

2006-08-04 Thread Richard Collyer

Hello,

Does anyone know where I can get the protocol used in SMART HDD diagnostics.

My 3ware card puts out the following information and I am trying to 
write a program to decipher it into something more sensible.


Cheers
Richard

Output from 3dm2

S.M.A.R.T. (Controller ID 1 - Port 0)
0A 00 01 0F 00 69 5E B0 BB 4C 07 00 00 00 03 03
00 62 61 00 00 00 00 00 00 00 04 32 00 64 64 07
00 00 00 00 00 00 05 33 00 64 64 00 00 00 00 00
00 00 07 0F 00 48 3F C5 33 15 01 00 00 00 09 32
00 64 64 10 01 00 00 00 00 00 0A 13 00 64 64 00
00 00 00 00 00 00 0C 32 00 64 64 09 00 00 00 00
00 00 BB 32 00 64 64 00 00 00 00 00 00 00 BD 3A
00 64 64 00 00 00 00 00 00 00 BE 22 00 3B 34 29
00 24 30 00 00 00 C2 22 00 29 30 29 00 00 00 1E
00 00 C3 1A 00 46 40 43 55 0F 0E 00 00 00 C5 12
00 64 64 00 00 00 00 00 00 00 C6 10 00 64 64 00
00 00 00 00 00 00 C7 3E 00 C8 C8 00 00 00 00 00
00 00 C8 00 00 64 FD 00 00 00 00 00 00 00 CA 32
00 64 FD 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 82 00 AE 01 00 5B
03 00 01 00 01 5C 02 00 00 00 00 00 00 00 00 00
00 00 0E 00 00 00 01 02 02 0A 01 03 01 02 02 00
00 00 01 00 01 00 00 01 F3 7C 86 01 00 00 00 00
00 00 CF 87 81 13 22 00 00 00 00 00 00 00 00 00
00 00 00 00 F3 7C 86 01 00 00 00 00 00 00 00 00
02 00 01 00 00 00 00 00 00 00 B7 CC E2 1A 00 00
00 00 FB A3 12 14 00 00 00 00 10 01 00 00 00 00
28 B1 01 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 6B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Midnight Commander in base distribution set

2006-08-04 Thread Joseph Le-Phan
Actually, I don't think he was questioning mc's size. He was merely
looking for alternatives that were _as_lightweight_as_ mc. :)

Personally, it'd be fantastic if mc was slated for inclusion. It's an
absolute necessary install once I get a system up and running.
-- 
Joseph Le-Phan  [GPG key: 292E09A0]

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


Re: nppdf.so: undefined symbol "__ctype_b_loc"

2006-08-04 Thread Xiao-Yong Jin
Kees Plonsz <[EMAIL PROTECTED]> writes:

> On Friday 04 August 2006 16:45, Xiao-Yong Jin wrote:
>> Hi all, after upgrading firefox and acroread, I got this when I tried
>> to use the plugin,
>> 
>> LoadPlugin: failed to initialize shared library 
>> /usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux/nppdf.so 
>> [/usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux/nppdf.so: Undefined 
>> symbol "__ctype_b_loc"] 
>> 
>> I have these lines in my /etc/libmap.conf,
>> 
>> # Acrobat7 with Mozilla/Firebird/Galeon/Epiphany/Konqueror/Kazehakase
>> [/usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux/nppdf.so]
>> libc.so.6   pluginwrapper/acrobat.so
>> 
>> Bug?  Or my configuration fault?
>> 
> An "Undefined symbol" error is a shared object file is always a version 
> mismatch.
> You have to update "nppdf.so" to match the version what the main programm 
> expects.
>
Likely so.  I guess it should be upgraded with the acroread7-7.0.8,1

I'm thinking if the problem is caused by the
linuxpluginwrapper-20051113_4.  The shared object file
/usr/local/lib/pluginwrapper/acrobat.so the wrapper supplies might not
be sufficient for the new nppdf.so of the acroread7.

If so, that's a bug.  Has anyone else been caught by this error?  I
couldn't find anything related in the current bug reports.

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


Re: Midnight Commander in base distribution set

2006-08-04 Thread Xiao-Yong Jin
Dan Nelson <[EMAIL PROTECTED]> writes:

> In the last episode (Aug 04), Andrew Gould said:
>> --- Scott Oertel <[EMAIL PROTECTED]> wrote:
>> > I use midnight commander on a daily basis, can anyone recommend a
>> > better, more lightweight tool then mc?
>> 
>> I would also like to hear recommendations for alternatives to mc that
>> are light weight, work on the command line **and** are either
>> included on the FreeBSD installation CD or would be appropriate
>> additions to the installation CD.
>
> Actually, mc is pretty lightweight if you disable all the options.  Note
> that the dependency on Perl isn't listed in OPTIONS, so you have to
> disable it manually in the port Makefile by setting
> WITHOUT_PERL_MODULES=yes
>
Anyway, for a base system, it's still a bit heavy.  In fact, one can
always do anything with cp/mv  I believe the base system should
only include the simplest solution, that is, the most fundamental
tools one needs, and without redundancy.

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

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


Re: S.M.A.R.T. HDD Protocal

2006-08-04 Thread Andrew Pantyukhin

On 8/4/06, Richard Collyer <[EMAIL PROTECTED]> wrote:

Hello,

Does anyone know where I can get the protocol used in SMART HDD diagnostics.

My 3ware card puts out the following information and I am trying to
write a program to decipher it into something more sensible.


Have you tried smartmontools?
http://www.freshports.org/sysutils/smartmontools/

If it doesn't help, still you'd better look for answers on its
website:
http://smartmontools.sourceforge.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cups problems

2006-08-04 Thread David Johnson
Like millions of other users, my printing capabilities came to an abrupt 
end when I upgraded cups to version 1.2. After weeks of wasting time on 
the problem, I'm still not printing.

I've seen lots of hints and tips on this list and elsewhere, but they 
just don't work for me. I also get the sense they're not working for 
lots of other people either. I have a brand new (three months) laserjet 
printer, and I'll be damned if I have to reboot into Windows to use it!

I can "downgrade" to an older cups, but that's not a permanent solution.

Symptoms:
Nothing happens when I print a file (or print test page). I've waited up 
to ten minutes. When I cancel the job and start a new one, I then get 
the following message in the cups admin page: "USB port busy; will 
retry in 30 seconds...". This message stays even after unplugging 
printer USB port. A restart of cupsd is necessary to make it go away.

OS:
FreeBSD-6.1-RELEASE

Printer:
HP LaserJet 1320, USB
Using ppd file downloaded from linuxprinting.org

lpstat -t output (without the port busy message):
scheduler is running
system default destination: laserjet
device for laserjet: usb:/dev/ulpt0
laserjet accepting requests since Fri Aug  4 11:20:53 2006
printer laserjet now printing laserjet-36.  enabled since Fri Aug  4 
11:20:53 2006
laserjet-36 root 18432   Fri Aug  4 11:20:53 
2006

Relevant packages:
cups-1.2.0
cups-base-1.2.0_2
cups-pstoraster-8.15
(not using hplip, should I?)

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

Permissions on devices: 
crw-rw  1 root  cups0, 151 Aug  4 08:43 /dev/ulpt0
crw-rw  1 root  cups0, 152 Aug  4 08:43 /dev/unlpt0

All BSD printing executables have been renamed out of the way (lp.org, 
lpr.org, etc). The old cups.sh script no longer exists. devfs.rules was 
modified according to some tips found floating about online. I also 
note that these tips, which seems to be necessary, are not in the 
handbook or in any pkg_message file.

Any help leading to a solution will be greatly appreciated. I would also 
love to see the cups ports provide sufficient (and correct) 
documentation to get printing to work.

Thank you,

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


SmartCard user authentication

2006-08-04 Thread knowtree
Is anyone working on SmartCard user authentication in conjunction with
Gnome? The company I work for wants to use SmartCards exclusively to logon
to workstations, and has pretty much done so with Windows XP. My FreeBSD
workstation is a Dell, with a SK-3106 USB keyboard with built-in SmartCard
reader. I am thinking that PAM provides the hooks, but where do I find the
middleware to read the card, request the PIN, and crosswalk a piece of data
on the card to the local username? My card is labeled Oberthur Cosmopolic.
The Oberthur web site describes an "ID One Cosmo" which looks about right.
The write-up mentions Java and standards; anybody know what those are? I'm
willing to blaze this trail myself, I just don't want to waste time
reinventing the wheel.

Gary Dunn
Honolulu
[EMAIL PROTECTED]


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


Re: Midnight Commander in base distribution set

2006-08-04 Thread Thomas Dickey
On Fri, Aug 04, 2006 at 02:11:20PM -0400, Xiao-Yong Jin wrote:
> Dan Nelson <[EMAIL PROTECTED]> writes:
> 
> > In the last episode (Aug 04), Andrew Gould said:
> >> --- Scott Oertel <[EMAIL PROTECTED]> wrote:
> >> > I use midnight commander on a daily basis, can anyone recommend a
> >> > better, more lightweight tool then mc?
...
> > Actually, mc is pretty lightweight if you disable all the options.  Note

;-)

> Anyway, for a base system, it's still a bit heavy.  In fact, one can
> always do anything with cp/mv  I believe the base system should
> only include the simplest solution, that is, the most fundamental
> tools one needs, and without redundancy.

"anything", given enough time/energy.

This is more lightweight than mc, and does things that mc doesn't:

http://invisible-island.net/ded/

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


pgp6LsdIcAZZm.pgp
Description: PGP signature


Re: cups problems

2006-08-04 Thread John Nielsen
On Friday 04 August 2006 14:34, David Johnson wrote:
> Like millions of other users, my printing capabilities came to an abrupt
> end when I upgraded cups to version 1.2. After weeks of wasting time on
> the problem, I'm still not printing.
>
> I've seen lots of hints and tips on this list and elsewhere, but they
> just don't work for me. I also get the sense they're not working for
> lots of other people either. I have a brand new (three months) laserjet
> printer, and I'll be damned if I have to reboot into Windows to use it!
>
> I can "downgrade" to an older cups, but that's not a permanent solution.
>
> Symptoms:
> Nothing happens when I print a file (or print test page). I've waited up
> to ten minutes. When I cancel the job and start a new one, I then get
> the following message in the cups admin page: "USB port busy; will
> retry in 30 seconds...". This message stays even after unplugging
> printer USB port. A restart of cupsd is necessary to make it go away.
>
> OS:
> FreeBSD-6.1-RELEASE
>
> Printer:
> HP LaserJet 1320, USB
> Using ppd file downloaded from linuxprinting.org
>
> lpstat -t output (without the port busy message):
> scheduler is running
> system default destination: laserjet
> device for laserjet: usb:/dev/ulpt0
> laserjet accepting requests since Fri Aug  4 11:20:53 2006
> printer laserjet now printing laserjet-36.  enabled since Fri Aug  4
> 11:20:53 2006
> laserjet-36 root 18432   Fri Aug  4 11:20:53
> 2006
>
> Relevant packages:
> cups-1.2.0
> cups-base-1.2.0_2
> cups-pstoraster-8.15
> (not using hplip, should I?)
>
> dmesg:
> ulpt0: Hewlett-Packard hp LaserJet 1320 series, rev 1.10/1.00, addr 2,
> iclass 7/1
> ulpt0: using bi-directional mode
>
> Permissions on devices:
> crw-rw  1 root  cups0, 151 Aug  4 08:43 /dev/ulpt0
> crw-rw  1 root  cups0, 152 Aug  4 08:43 /dev/unlpt0
>
> All BSD printing executables have been renamed out of the way (lp.org,
> lpr.org, etc). The old cups.sh script no longer exists. devfs.rules was
> modified according to some tips found floating about online. I also
> note that these tips, which seems to be necessary, are not in the
> handbook or in any pkg_message file.
>
> Any help leading to a solution will be greatly appreciated. I would also
> love to see the cups ports provide sufficient (and correct)
> documentation to get printing to work.

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.

HTH,

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


Re: Stand up and be counted - BSDStats Project

2006-08-04 Thread User Freebsd

On Fri, 4 Aug 2006, User Freebsd wrote:


On Fri, 4 Aug 2006, Antony Mawer wrote:


On 4/08/2006 3:17 AM, User Freebsd wrote:

On Fri, 4 Aug 2006, Matthew Seaman wrote:

This is cool and all, but why are the concentration solely on PCI 
devices? pciconf output doesn't tell you directly what CPUs are in the 
system or even how many there are.  It doesn't tell you exactly what sort 
of memory or disk drives the system uses -- all of which would be 
important information that might just persuade hardware manufacturers to 
provide more FreeBSD support. Surely a condensed version of 
/var/run/dmesg.boot is more to the point.


/var/run/dmesg.boot can't be relied on, unfortunately ... I've had *many* 
times where a reboot leaves that blank, or with "non-dmesg like" output 
... if you can provide a non-dmesg method of adding this information that 
is consistent (ie. pciconf), then sure, we can add this sort of 
information ...


Some of this information can be gathered from the hw.* sysctl's, at least 
on 6.x...


'k, what I'm going to work on this weekend is a first pass at both the 
periodic script, and the receiving database ... I will post the script when 
completed, so that we can test what has been discussed so far, then we can 
look at adding on 'features' from there to pull in more information ...


Fair enough?


BTW, if anyone out there likes doing HTML and web pages, please let me 
know ... anything *I* do will be as utilititarian as I can make them :)



Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Midnight Commander in base distribution set

2006-08-04 Thread Xiao-Yong Jin
Thomas Dickey <[EMAIL PROTECTED]> writes:

> On Fri, Aug 04, 2006 at 02:11:20PM -0400, Xiao-Yong Jin wrote:
>> Dan Nelson <[EMAIL PROTECTED]> writes:
>> 
>> > In the last episode (Aug 04), Andrew Gould said:
>> >> --- Scott Oertel <[EMAIL PROTECTED]> wrote:
>> >> > I use midnight commander on a daily basis, can anyone recommend a
>> >> > better, more lightweight tool then mc?
> ...
>> > Actually, mc is pretty lightweight if you disable all the options.  Note
>
> ;-)
>
>> Anyway, for a base system, it's still a bit heavy.  In fact, one can
>> always do anything with cp/mv  I believe the base system should
>> only include the simplest solution, that is, the most fundamental
>> tools one needs, and without redundancy.
>
> "anything", given enough time/energy.
>
Yes.  That's what the port system came for.  You cannot just put
anything into the base system, even if it's lightweight.  Perhaps many
people love mc, but there are people who have never used it.
(Personally, I prefer dired in Emacs.)  And I believe you can always
do much more with basic tools than you do with mc, right?  ;-) Much
more, given enough time/energy.

I always believe we should keep the base system as simple as
possible.  Actually, if it's really hard to connect to the internet,
one can always burn a CD full of distfiles.

> This is more lightweight than mc, and does things that mc doesn't:
>
>   http://invisible-island.net/ded/
>
Interesting.  You can try to make it into the ports tree.

> -- 
> Thomas E. Dickey
> http://invisible-island.net
> ftp://invisible-island.net

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


Re: Midnight Commander in base distribution set

2006-08-04 Thread Freminlins

On 04/08/06, Joseph Le-Phan <[EMAIL PROTECTED]> wrote:


Personally, it'd be fantastic if mc was slated for inclusion. It's an
absolute necessary install once I get a system up and running.



The thing is, once you go down this route it won't stop. Other people regard
bash, or lsof, or vim, or wget as an "absolute necessary install". bash gets
put on all our boxes because three of my colleagues prefer it. For them it
is essential - they won't use csh. I regard Tcl as an "absolute necessary
install" as that is my chosen scripting language. I put it on every box I
use (even Windows). And that's the problem. As I personally don't use mc
it's inclusion would be wasted on me. And if Tcl was included it would be
wasted on many (most!) other people.

I have to say I absolutely enjoy using FreeBSD, more so than any other OS.
And part of that joy comes from the few minutes installation for the base
OS.

I used to use Redhat. My first outing with that was version 4.2. Then as
time went on it no longer fitted on a single CD (after 6.2 IIRC.) And the
clutter and junk it installed (presumably because someone thought it was
essential or useful) was just appalling.

IMHO the base install is best left lean like it is now - the only additions
should provide additional OS functionality, not user functionality.

Joseph Le-Phan  [GPG key: 292E09A0]



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


Re: Portmanger getting stuck in loop

2006-08-04 Thread Chris Whitehouse

pete wright wrote:

Hi all,
I've got a portmanager question.  I've been using it for quite some
time on various systems with great success - until today when i
ctl+c'd in the wrong terminal and broke an upgrade that was going on.
Now when i try to re-run portmanger to get a list of out of date ports
I am getting this:


00109 :p5-Math-BigInt-1.77 /math/p5-Math-BigInt
   MISSING
00110 :p5-Socket6-0.19 /net/p5-Socket6
   MISSING
00111 :p5-Email-Address-1.86   /mail/p5-Email-Address
   MISSING
00112 :lzo2-2.02_1 /archivers/lzo2
   MISSING


I've tried various portmanager upgrade attempts (using -u/-f/ and -p)
and all seem to fail with similar messages as this:


skipping p5-Math-BigInt-1.77 /math/p5-Math-BigInt marked IGNORE
reason: looping, 3rd attempt at make
skipping p5-Socket6-0.19 /net/p5-Socket6 marked IGNORE reason:
looping, 3rd attempt at make
skipping p5-Email-Address-1.86 /mail/p5-Email-Address marked IGNORE
reason: looping, 3rd attempt at make
skipping lzo2-2.02_1 /archivers/lzo2 marked IGNORE reason: looping,
3rd attempt at make


soo...my question is, is there a way to reset the "state" of  what
portmanger things is installed (and what rev's etc...).  i am not even
sure if portmanger does this, although i am familiar with rebuilding
the pkgdb after i messed up when using portupgrade ;)

thanks for any pointers/help!

-pete




You could try deleting or editing ignore.db. Mine's in 
/usr/local/share/portmanager/. Also check 
/usr/local/etc/portmanager/pm-020.conf.


Does make run ok inside each ports directory? Just so you know nothing's 
really broken. Maybe delete any work directory before and after.


There is a note in the man page about not interrupting it at some 
critical stage.


Chris

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


portmanager man page online?

2006-08-04 Thread Chris Whitehouse

Hi,

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


Thanks

Chris

___
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-04 Thread David Johnson
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.

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


Re: Midnight Commander in base distribution set

2006-08-04 Thread Boris Samorodov
On Fri, 04 Aug 2006 08:38:58 -0700 Scott Oertel wrote:

> I use midnight commander on a daily basis, can anyone recommend a
> better, more lightweight tool then  mc?

I can't say if it's better (I've never used mc) but definitely it's
more lightweight: misc/deco.


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


Re: Midnight Commander in base distribution set

2006-08-04 Thread Xiao-Yong Jin
Freminlins <[EMAIL PROTECTED]> writes:

> On 04/08/06, Joseph Le-Phan <[EMAIL PROTECTED]> wrote:
>
>> Personally, it'd be fantastic if mc was slated for inclusion. It's an
>> absolute necessary install once I get a system up and running.
>
>
> The thing is, once you go down this route it won't stop. Other people regard
> bash, or lsof, or vim, or wget as an "absolute necessary install". bash gets
> put on all our boxes because three of my colleagues prefer it. For them it
> is essential - they won't use csh. I regard Tcl as an "absolute necessary
> install" as that is my chosen scripting language. I put it on every box I
> use (even Windows). And that's the problem. As I personally don't use mc
> it's inclusion would be wasted on me. And if Tcl was included it would be
> wasted on many (most!) other people.
>
> I have to say I absolutely enjoy using FreeBSD, more so than any other OS.
> And part of that joy comes from the few minutes installation for the base
> OS.
>
And a lot of that joy comes from the ports system.

> I used to use Redhat. My first outing with that was version 4.2. Then as
> time went on it no longer fitted on a single CD (after 6.2 IIRC.) And the
> clutter and junk it installed (presumably because someone thought it was
> essential or useful) was just appalling.
>
Here is a little bit OT.  You may want to try Gentoo Linux, which I'm
using for my desktop because FreeBSD is not happy with some of the
hardwares.  It's base system is completely clean and you might even
uninstall the system packages.

> IMHO the base install is best left lean like it is now - the only additions
> should provide additional OS functionality, not user functionality.
>
Agree.

> Joseph Le-Phan  [GPG key: 292E09A0]
>
>
>
> My 2 pence.
> Frem.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
>

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


Re: Midnight Commander in base distribution set

2006-08-04 Thread Thomas Dickey
On Fri, Aug 04, 2006 at 03:21:06PM -0400, Xiao-Yong Jin wrote:
> > This is more lightweight than mc, and does things that mc doesn't:
> >
> > http://invisible-island.net/ded/
> >
> Interesting.  You can try to make it into the ports tree.

I could - but generally am too busy working on development to be much more
involved with packaging than by giving advice...

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


pgppd4OhkH3nT.pgp
Description: PGP signature


Re: Midnight Commander in base distribution set

2006-08-04 Thread Andrew Gould
--- Xiao-Yong Jin <[EMAIL PROTECTED]> wrote:

> Dan Nelson <[EMAIL PROTECTED]> writes:
> 
> > In the last episode (Aug 04), Andrew Gould said:
> >> --- Scott Oertel <[EMAIL PROTECTED]> wrote:
> >> > I use midnight commander on a daily basis, can
> anyone recommend a
> >> > better, more lightweight tool then mc?
> >> 
> >> I would also like to hear recommendations for
> alternatives to mc that
> >> are light weight, work on the command line
> **and** are either
> >> included on the FreeBSD installation CD or would
> be appropriate
> >> additions to the installation CD.
> >
> > Actually, mc is pretty lightweight if you disable
> all the options.  Note
> > that the dependency on Perl isn't listed in
> OPTIONS, so you have to
> > disable it manually in the port Makefile by
> setting
> > WITHOUT_PERL_MODULES=yes
> >
> Anyway, for a base system, it's still a bit heavy. 
> In fact, one can
> always do anything with cp/mv  I believe the
> base system should
> only include the simplest solution, that is, the
> most fundamental
> tools one needs, and without redundancy.
> 
> > -- 
> > Dan Nelson
> > [EMAIL PROTECTED]

We're not talking about including mc (or similar
application) in the base system.  The installation
CD's already contain many binary packages from the
ports system (ie not in the base system).  The
question is whether there is an application similar to
mc already on the CD; and, if not, whether one
should/could be included.

Andrew L. Gould
___
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-04 Thread RW
On Friday 04 August 2006 20:33, Chris Whitehouse wrote:
> Hi,
>
> Searching for portmanager in the online man pages doesn't get anything.
> Should it?

portmanager isn't part of the freebsd base system
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


DNS Blacklist Script?

2006-08-04 Thread Chris Maness
Does anyone know of a script (or application) to automagically add a 
host to a dns blacklist?  It would be very convenient to blacklist all 
the e-mails sent from a spammer to a honeypot address, or to blacklist 
all senders that thunderbird moves into the spam sub-folder.


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


NIS and Kerberos 5 : is it possible / smart?

2006-08-04 Thread Garrett Cooper

Hi all,
   Just wondering if it's possible for NIS and Kerberos 5 to work in 
tandem with one another, such that NIS would handle groups and 
configuration file management and Kerberos would handle authentication 
only. Also, is this sort of overkill perhaps, where NIS is not really 
needed?
   I basically have 3+ machines (2 desktops, 1 laptop, currently), and 
I want to keep my credentials and information uniform across the 
machines as much as possible. The network I would be implementing this 
on is a low-traffic, private network.

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


Re: DNS Blacklist Script?

2006-08-04 Thread Derek Ragona
Your best is to report them to spamcop.  I believe there is a plug-in for 
thunderbird to do that.


-Derek


At 03:24 PM 8/4/2006, Chris Maness wrote:
Does anyone know of a script (or application) to automagically add a host 
to a dns blacklist?  It would be very convenient to blacklist all the 
e-mails sent from a spammer to a honeypot address, or to blacklist all 
senders that thunderbird moves into the spam sub-folder.


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

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



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

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


Re: [IMPORTANT] Adaptec no longer supporting iir(4) driver ...

2006-08-04 Thread John-Mark Gurney
User Freebsd wrote this message on Mon, Jul 31, 2006 at 22:44 -0300:
> For those that haven't been following the discussion on this, the iir(4) 
> driver in FreeBSD 6.x appears to have a deadlock issue under medium to 
> heavy load, where the 'blocked' state just continues to rise until file 
> accesses just no longer work ...
> 
> So, if you are running a server that is using the iir(4) device driver and 
> are considering upgrading to FreeBSD 6.x and beyond, or are looking to 
> build a new machine using a device that relies on this driver, do so at 
> your own peril ...
> 
> Please note that this deadlock issue exists on *both* the ICP Vortex 
> cards, *and* the Intel based RAID controllers ...

Have you tried the driver in -current and/or 6.1-R?  Specificly v1.14
and v1.13.2.1 of iir.c that limits the simq to 32 commands?  We are
running w/ this modifications w/o issues on 6.0-R w/ SRCU31A and SRCU42L
cards...  We have a few GDT cards also that I don't believe we are
having any issues with...

Infact, scottl tracked down that change after a bit of proding from me
on behalf of my employer nCircle...  (Though it helped that he was able
to reproduce it in his lab.)...

-- 
  John-Mark Gurney  Voice: +1 415 225 5579

 "All that I will do, has been done, All that I have, has not."
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [IMPORTANT] Adaptec no longer supporting iir(4) driver ...

2006-08-04 Thread User Freebsd

On Fri, 4 Aug 2006, John-Mark Gurney wrote:


User Freebsd wrote this message on Mon, Jul 31, 2006 at 22:44 -0300:

For those that haven't been following the discussion on this, the iir(4)
driver in FreeBSD 6.x appears to have a deadlock issue under medium to
heavy load, where the 'blocked' state just continues to rise until file
accesses just no longer work ...

So, if you are running a server that is using the iir(4) device driver and
are considering upgrading to FreeBSD 6.x and beyond, or are looking to
build a new machine using a device that relies on this driver, do so at
your own peril ...

Please note that this deadlock issue exists on *both* the ICP Vortex
cards, *and* the Intel based RAID controllers ...


Have you tried the driver in -current and/or 6.1-R?  Specificly v1.14
and v1.13.2.1 of iir.c that limits the simq to 32 commands?  We are
running w/ this modifications w/o issues on 6.0-R w/ SRCU31A and SRCU42L
cards...  We have a few GDT cards also that I don't believe we are
having any issues with...


Yes, this was the first thing ScottL asked when we narrowed the problem 
down ... this appears to be a different issue then the one you were seeing 
:(



Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


(no subject)

2006-08-04 Thread Ron Clark
OK, I have rebuilt the box again and this time installed Mysql Server
4.1 from the packages. No errors during the install. 

When I try and start mysql, I get the following error:

test2# /usr/local/bin/mysqld_safe &
[1] 781
test2# Starting mysqld daemon with databases from /var/db/mysql
STOPPING server from pid file /var/db/mysql/test2.pid
060804 09:48:33  mysqld ended


[1]Done  /usr/local/bin/mysqld_safe



If I cat the .err file it writes, this is what it says:

060804 09:48:33  mysqld started
060804  9:48:33  InnoDB: Operating system error number 13 in a file
operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: 'create'.
InnoDB: Cannot continue operation.
060804 09:48:33  mysqld ended

How do I fix this and get Mysql Server to start?

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


Re: Portmanger getting stuck in loop

2006-08-04 Thread pete wright

On 8/4/06, Chris Whitehouse <[EMAIL PROTECTED]> wrote:

pete wright wrote:
> Hi all,
> I've got a portmanager question.  I've been using it for quite some
> time on various systems with great success - until today when i
> ctl+c'd in the wrong terminal and broke an upgrade that was going on.
> Now when i try to re-run portmanger to get a list of out of date ports
> I am getting this:
>
> 
> 00109 :p5-Math-BigInt-1.77 /math/p5-Math-BigInt
>MISSING
> 00110 :p5-Socket6-0.19 /net/p5-Socket6
>MISSING
> 00111 :p5-Email-Address-1.86   /mail/p5-Email-Address
>MISSING
> 00112 :lzo2-2.02_1 /archivers/lzo2
>MISSING
> 
>
> I've tried various portmanager upgrade attempts (using -u/-f/ and -p)
> and all seem to fail with similar messages as this:
>
>
> skipping p5-Math-BigInt-1.77 /math/p5-Math-BigInt marked IGNORE
> reason: looping, 3rd attempt at make
> skipping p5-Socket6-0.19 /net/p5-Socket6 marked IGNORE reason:
> looping, 3rd attempt at make
> skipping p5-Email-Address-1.86 /mail/p5-Email-Address marked IGNORE
> reason: looping, 3rd attempt at make
> skipping lzo2-2.02_1 /archivers/lzo2 marked IGNORE reason: looping,
> 3rd attempt at make
>
>
> soo...my question is, is there a way to reset the "state" of  what
> portmanger things is installed (and what rev's etc...).  i am not even
> sure if portmanger does this, although i am familiar with rebuilding
> the pkgdb after i messed up when using portupgrade ;)
>
> thanks for any pointers/help!
>
> -pete
>
>

You could try deleting or editing ignore.db. Mine's in
/usr/local/share/portmanager/. Also check
/usr/local/etc/portmanager/pm-020.conf.

Does make run ok inside each ports directory? Just so you know nothing's
really broken. Maybe delete any work directory before and after.

There is a note in the man page about not interrupting it at some
critical stage.

Chris




Thanks Chris, so I'll check out the ignore.db and the pm-020.conf.
The ports are able to build with no problems on their own, which is
wierd.  I'll post back if any of these things work.

-pete



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


Sendmail Question; unable to send mail as normal user

2006-08-04 Thread Frank Staals
I tried to setup my own mail and smtp-server with help from this 
webpage:  http://www.puresimplicity.net/~hemi/freebsd/sendmail.html . I 
sucessfully installed imap-uw and I got it up successfully. Allthough 
the stmp-part doesn't work for 100% yet: I can send mail as root :


# mail [EMAIL PROTECTED]
Subject: test
test
.
EOT

This works perfectly, allthough when I try to mail as user it doesn't work:

$ mail [EMAIL PROTECTED]
Subject: test
usertest
.
EOT
$ /etc/mail/submit.cf: line 0: cannot open: Permission denied

The same is visible in /var/log/maillog :

Aug  5 00:01:39 FStaals sendmail[12047]: NOQUEUE: SYSERR(frank): 
/etc/mail/submit.cf: line 0: cannot open: Permission denied


I'm not sure what I should do to get it working properly, but I don't 
think it's something big. I tried googling but that didn't turn up 
anything usefull. Can someone point out what I'm doing wrong ?


Thanks in advance


--
-Frank Staals


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


Re: Portmanger getting stuck in loop

2006-08-04 Thread Gerard Seibert
On Friday 04 August 2006 15:28, Chris Whitehouse wrote:
> pete wright wrote:
> > Hi all,
> > I've got a portmanager question.  I've been using it for quite some
> > time on various systems with great success - until today when i
> > ctl+c'd in the wrong terminal and broke an upgrade that was going on.
> > Now when i try to re-run portmanger to get a list of out of date ports
> > I am getting this:
> >
> > 
> > 00109 :p5-Math-BigInt-1.77 /math/p5-Math-BigInt
> >MISSING
> > 00110 :p5-Socket6-0.19 /net/p5-Socket6
> >MISSING
> > 00111 :p5-Email-Address-1.86   /mail/p5-Email-Address
> >MISSING
> > 00112 :lzo2-2.02_1 /archivers/lzo2
> >MISSING
> > 
> >
> > I've tried various portmanager upgrade attempts (using -u/-f/ and -p)
> > and all seem to fail with similar messages as this:
> >
> >
> > skipping p5-Math-BigInt-1.77 /math/p5-Math-BigInt marked IGNORE
> > reason: looping, 3rd attempt at make
> > skipping p5-Socket6-0.19 /net/p5-Socket6 marked IGNORE reason:
> > looping, 3rd attempt at make
> > skipping p5-Email-Address-1.86 /mail/p5-Email-Address marked IGNORE
> > reason: looping, 3rd attempt at make
> > skipping lzo2-2.02_1 /archivers/lzo2 marked IGNORE reason: looping,
> > 3rd attempt at make
> >
> >
> > soo...my question is, is there a way to reset the "state" of  what
> > portmanger things is installed (and what rev's etc...).  i am not even
> > sure if portmanger does this, although i am familiar with rebuilding
> > the pkgdb after i messed up when using portupgrade ;)
> >
> > thanks for any pointers/help!
> >
> > -pete
>
> You could try deleting or editing ignore.db. Mine's in
> /usr/local/share/portmanager/. Also check
> /usr/local/etc/portmanager/pm-020.conf.
>
> Does make run ok inside each ports directory? Just so you know nothing's
> really broken. Maybe delete any work directory before and after.
>
> There is a note in the man page about not interrupting it at some
> critical stage.
>
> Chris
>
I use portmanager all the time and virtually never have a problem. I would 
suggest that you try the following to see if you can pin down what the 
problem is.

Run 'portsclean -C -D -L' to clean out any left over work directories and 
obsolete libraries.

Then create a script of what actually happened when portmanager ran. This what 
I do:

script -ak /PATH-TO-LOG/pm-update.log portmanager -u -l

That will create a log file in the path you specify. If the same problem 
happens again, you could forward both that file and the one created by 
portmanager to the developer.

Ciao!

-- 
Gerard Seibert
[EMAIL PROTECTED]

QOTD:
"I'll listen to reason when it comes out on CD."


pgpgFSfpG1QJ8.pgp
Description: PGP signature


Re: iir(4) driver (Was: Re: Safe card to replace for ICP Vortex GDT851...)

2006-08-04 Thread John-Mark Gurney
Scott Long wrote this message on Tue, Aug 01, 2006 at 09:35 -0600:
> FreeBSD.  Making big statements in public that they don't, or that it's
> not up to ones' standards or hopes, isn't terribly useful or productive.
> I'd hate for FreeBSD to turn into That Other BSD that publically abuses
> and harasses vendors for percieved sleights.  There are much more
> positive and product ways to fix problems and form good relationships,
> and those ways are actively being pursued by some people right now.

The problem is that these pursuits are not public knowlege, and very
often trying to get support through even better than normal channels
(i.e. using your system builder's extra clout) doesn't get you this
info...  The most they tell you is sorry, no support, and we are just
being nice to even tell you this since you're running something else...

I believe that honest information is better than hopes that turn up
fruitless...  I've had no end of issues w/ Intel trying to get them
to fix various issues w/ their cards (SRCU31A and SRCU42L), and they
won't even acknowledge that failing drives due to SELECTION_TIMEOUT,
ABORTED COMMAND, OVERLAPPED COMMANDS ATTEMPTED or DISCONNECT_TIMEOUT
is a major issue... Due to the fact that SRCU31A is so old, they
haven't qualified the newer 2.42 firmware w/ the card...  We are going
to look at it, since we haven't seen any "failed" hd's on the 2.42
firmware...

> And here again is my standard disclaimer:
> I highly recommend that anyone who takes their data integrity seriously
> should spend time qualifying any RAID solution that they are interested
> in before putting it into production.  What works for your workload
> might not work for someone else's workload, and vice-versa.

Agreed, luckily we found the hang issue w/ 5.x before we shipped, so
we were saved yet another disaster...

> Patrick M. Hausen wrote:
> >Hello!
> >
> >
> >>'k, just to clarify here ... the new products won't be based on the 
> >>iir(4) driver then?
> >
> >
> >Yes, they won't.
> >
> >
> >>Basically, should the iir(4) driver be considered EOE also?
> >
> >
> >As far as Adaptec and ICP Vortex are concerned, yes. Since the
> >driver is Open Source, there is no enforced EOE, just "orphanage",
> >if nobody is willing to work on it.
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 
  John-Mark Gurney  Voice: +1 415 225 5579

 "All that I will do, has been done, All that I have, has not."
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: (no subject)

2006-08-04 Thread Gerard Seibert
On Friday 04 August 2006 17:27, Ron Clark wrote:
> OK, I have rebuilt the box again and this time installed Mysql Server
> 4.1 from the packages. No errors during the install.
>
> When I try and start mysql, I get the following error:
> test2# /usr/local/bin/mysqld_safe &
> [1] 781
> test2# Starting mysqld daemon with databases from /var/db/mysql
> STOPPING server from pid file /var/db/mysql/test2.pid
> 060804 09:48:33  mysqld ended
>
>
> [1]Done  /usr/local/bin/mysqld_safe
>
>
>
> If I cat the .err file it writes, this is what it says:
>
> 060804 09:48:33  mysqld started
> 060804  9:48:33  InnoDB: Operating system error number 13 in a file
> operation.
> InnoDB: The error means mysqld does not have the access rights to
> InnoDB: the directory.
> InnoDB: File name ./ibdata1
> InnoDB: File operation call: 'create'.
> InnoDB: Cannot continue operation.
> 060804 09:48:33  mysqld ended
>
> How do I fix this and get Mysql Server to start?
>
> Thanks in advance,
> Ron

OK, I once had the same problem. I am assuming that you attempted to start and 
configure MySQL manually after installing it. First of all, make sure you 
have :

mysql_enable="YES" in your /etc/rc.conf file.

Now navigate to the /var/db directory. Either rename or delete the mysql 
directory. You have nothing in it since you did not get MySQL running. Now 
either reboot or navigate to /usr/local/etc/rc.d and as root type:

./mysql-server start

It is possible yours is named different, so substiture the correct file name. 
That should create the directory with the proper permissions, etc. Now you 
can procede to configure MySQL for your users, etc.


-- 
Gerard Seibert
[EMAIL PROTECTED]

A person forgives only when they are in the wrong.


pgpx5MJ9vnyQX.pgp
Description: PGP signature


CUPS 1.2.0 setup problem

2006-08-04 Thread andy
I reinstalled FBSD6.1 release on a machine that had been previously 
running 6.0 release.  I had been using CUPS 1.1x and printing was working 
fine.  However, I just reinstalled CUPS 1.2.0 and now printing is broken. 
The problem I have is the following:


I can get to the main admin page, but when I click on the add printer 
button it goes to a blank page.  The same thing happens no matter what 
link I click on, they all go to a blank page.


Has anything changed as far as configuration in the new version?  In the 
old version I would choose HPJetdirect, and give it the ip address.  Now I 
cannot even do that.  Any suggestions are appreciated.


TIA

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


Re: Squeak Smalltalk upgrading problems

2006-08-04 Thread Henry Lenzi


Presumably because the maintainer hasn't had time to update it yet.
If you provide patches, that would probably help him get it faster...


Yes, I can infer that is one possibility. However, I was asking for
specifics. And specifically, I wasn't asking for a knee-jerk answer
with no real information content, like yours.
It seems you neither use nor care about Squeak, but care only about
engaging in such infantile exchanges, in which case you should refrain
yourself from such lowly and puny pathetic pleasures.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


hi

2006-08-04 Thread tony sanabria

   
Hi, I have a sony vaio that used to run windows me. 
  
   
the system no longer wants to recognize the restoration cd. 
  
   
I am not a microsoft lover so i decided to use something else. 
  
   
my cdrom didnt want to read any of the iso's i downloaded 
  
   
before like ubuntu, dream linux and so forth. i went to 
  
   
the library and found a book tittled "freebsd in 24hrs" 
  
   
with companion cd. my pc read the cd and i was able 
  
   
to install freebsd i believe version 4 or something 
  
   
like that. I am very happy with it but would like 
  
   
to update the freebsd.I tried to get the freebsd to see the internet 
connection 
  
   
so that i can update from within freebsd but i 
  
   
havent been able to get it to see the dsl 
  
   
connection that is connected to a linksys router.I was hoping you can help 
me either set up the 
  
   
internet connection in freebsd or at least 
  
   
suggest which of the files I should download 
  
   
from this xp machine so that i can burn a 
  
   
cd and upgrade my freebsd machine. i dont 
  
   
know if its alpha, amd or which of the 
  
   
files. and also when i select the one 
  
   
you may suggest do i click iso link, 
  
   
and also..do i burn all the files 
  
   
shown for that option? 
  
   
i.e. bootonly, cd1, cd2, 
  
   
checksum and so forth.thank you. i hope to hear 
  
   
from you soon. i am very happy that my dead pc is alive again. thank you.  
  
 

-
Yahoo! Music Unlimited - Access over 1 million songs.Try it free. 
___
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 Gautham Ganapathy
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


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


Re: hi

2006-08-04 Thread albi
On Fri, 4 Aug 2006 16:08:02 -0700 (PDT)
tony sanabria <[EMAIL PROTECTED]> wrote:

> Hi, I have a sony vaio that used to run windows me.   
> the system no longer wants to recognize the restoration cd. 
> I am not a microsoft lover so i decided to use something else. 

get yourself a 6.1 FreeBSD-cdrom, or try :
http://www.livebsd.com/
http://www.desktopbsd.org/
http://www.pcbsd.org/
:]

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


Re: CUPS 1.2.0 setup problem

2006-08-04 Thread David Johnson
On Friday 04 August 2006 15:46, [EMAIL PROTECTED] wrote:
> I reinstalled FBSD6.1 release on a machine that had been previously
> running 6.0 release.  I had been using CUPS 1.1x and printing was
> working fine.  However, I just reinstalled CUPS 1.2.0 and now
> printing is broken. The problem I have is the following:
>
> I can get to the main admin page, but when I click on the add printer
> button it goes to a blank page.  The same thing happens no matter
> what link I click on, they all go to a blank page.
>
> Has anything changed as far as configuration in the new version?  In
> the old version I would choose HPJetdirect, and give it the ip
> address.  Now I cannot even do that.  Any suggestions are
> appreciated.

That's one problem I never had. Make sure cups 1.1 is completely 
uninstalled. Stop cupsd daemon. Remove anything left over 
in /usr/local/etc/cups. Make sure there is 
no /usr/local/etc/rc.d/cups.sh script. Install cups 1.2. Then make sure 
the cupsd daemon is started again (/usr/local/etc/rc.d/cupd start).

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


Asus a8n-vm csm/nbp motherboard broken acpi workaround

2006-08-04 Thread Chris Whitehouse

Hi all

A bit of googling suggested that the a8n-vm csm (without the nbp suffix) 
was an ok board, supported with FreeBSD after an acpi repair by Adriaan 
de Groot 
(http://people.fruitsalad.org/adridg/development.freebsd.php#a8nvm ), 
and on special in a local shop so I bought one. It turned out to be a 
variant called a8n-vm csm/nbp which also had a broken acpi and a 
slightly different bios so the repaired dsdt file from Adriaan didn't work.


Here's what I got on boot:

ACPI-0397: *** Error: NsSearchAndEnter:
  Bad character in ACPI Name: 43045350
ACPI-0381: *** Error: Looking up [0x43045350]
  (NON-ASCII) in namespace, AE_BAD_CHARACTER

Anyway I made my own dsdt file with his instructions and now it works. 
Just in case anyone was thinking of getting one of these boards, Adriaan 
has agreed to put my dsdt file on his site (I don't have web space) in 
the next week or so. If anyone wants a copy in the meantime let me know 
and I'll send it to you.


FreeBSD 6.1-STABLE #0: Sun Jul 23 01:22:40 BST 2006

Chris

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


Re: hi

2006-08-04 Thread Ralph Ellis
On Friday 04 August 2006 4:08 pm, tony sanabria wrote:
> Hi, I have a sony vaio that used to run windows me.
>
>
> the system no longer wants to recognize the restoration cd.
>
>
> I am not a microsoft lover so i decided to use something else.
>
>
> my cdrom didnt want to read any of the iso's i downloaded
>
>
> before like ubuntu, dream linux and so forth. i went to
>
>
> the library and found a book tittled "freebsd in 24hrs"
>
>
> with companion cd. my pc read the cd and i was able
>
>
> to install freebsd i believe version 4 or something
>
>
> like that. I am very happy with it but would like
>
>
> to update the freebsd.I tried to get the freebsd to see the internet
> connection
>
>
> so that i can update from within freebsd but i
>
>
> havent been able to get it to see the dsl
>
>
> connection that is connected to a linksys router.I was hoping you can
> help me either set up the
>
>
> internet connection in freebsd or at least
>
>
> suggest which of the files I should download
>
>
> from this xp machine so that i can burn a
>
>
> cd and upgrade my freebsd machine. i dont
>
>
> know if its alpha, amd or which of the
>
>
> files. and also when i select the one
>
>
> you may suggest do i click iso link,
>
>
> and also..do i burn all the files
>
>
> shown for that option?
>
>
> i.e. bootonly, cd1, cd2,
>
>
> checksum and so forth.thank you. i hope to hear
>
>
> from you soon. i am very happy that my dead pc is alive again. thank you.
>
>
>
> -
> Yahoo! Music Unlimited - Access over 1 million songs.Try it free.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

The easiest for you to get started with would be PC-BSD www.pcbsd.org or 
DesktopBSD www.desktopbsd.org. Both will boot you into a graphical interface 
and will configure your internet connection for you. I find PC-BSD a little 
easier to start with but both work well, both can use the ports collection 
and PC-BSD has a very easy install routine for commonly used programs.
Ralph Ellis
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: CUPS 1.2.0 setup problem

2006-08-04 Thread Xiao-Yong Jin
[EMAIL PROTECTED] writes:

> I reinstalled FBSD6.1 release on a machine that had been previously
> running 6.0 release.  I had been using CUPS 1.1x and printing was
> working fine.  However, I just reinstalled CUPS 1.2.0 and now printing
> is broken. The problem I have is the following:
>
> I can get to the main admin page, but when I click on the add printer
> button it goes to a blank page.  The same thing happens no matter what
> link I click on, they all go to a blank page.
>
Try command line tools to manager your printer.

> Has anything changed as far as configuration in the new version?  In
> the old version I would choose HPJetdirect, and give it the ip
> address.  Now I cannot even do that.  Any suggestions are appreciated.
>
I had a Gentoo Linux box have this problem after upgrading.  But a
fresh install of CUPS 1.2 on my FreeBSD box works fine.

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

-- 
Xiao-Yong
___
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: Midnight Commander in base distribution set

2006-08-04 Thread Bryan Bonifacio
This article could be helpful:
http://applications.linux.com/article.pl?sid=05/02/23/2226202&tid=13&tid=49


The author reviewed FDClone and Vifm along with Midnight Commander. Both 
FDClone and Vifm seem fast and lightweight to the author.


--
Bryan

Scott Oertel <[EMAIL PROTECTED]> wrote:
I use midnight commander on a daily basis, can anyone recommend a 
better, more lightweight tool then  mc?



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

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


portsnap oddities

2006-08-04 Thread Gary Newcombe
Hello all,
 
I'm getting the following error when I use portsnap lately on one of my
servers:
 
[mesh:/home/gary]# portsnap fetch
Looking up portsnap.FreeBSD.org mirrors... 2 mirrors found.
Fetching snapshot tag from portsnap2.FreeBSD.org... done.
Fetching snapshot metadata... done.
Updating from Thu  3 Aug 2006 04:45:32 EST to Sat  5 Aug 2006 11:06:54 EST.
Fetching 0 metadata patches. done.
Applying metadata patches... done.
Fetching 0 metadata files... done.
Fetching 2 patches.. done.
Applying patches... done.
Fetching 2 new ports or files...
gunzip: stdin: not in gzip format
snapshot is corrupt.
 
I have now removed /var/db/portsnap and started from scratch 3 times. This
fixes the problem, but a few days later, I get the same story. I haven't had
any problems on any of the other servers (although they have older kernels),
so I'm guessing this could be a problem with portsnap from this kernel build
or it's related to something else.
 
FreeBSD mesh.lhshoses.com.au 6.1-STABLE FreeBSD 6.1-STABLE #0: Fri Jul 28
13:29:26 EST 2006 root@:/usr/obj/usr/src/sys/MESH  i386
 
Anyone got any ideas?
 
Thanks
Gary
 
 

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


Re: portsnap oddities

2006-08-04 Thread Colin Percival
Gary Newcombe wrote:
> I'm getting the following error when I use portsnap lately on one of my
> servers:
> [snip]
> Fetching 2 new ports or files...
> gunzip: stdin: not in gzip format
> snapshot is corrupt.
>  
> I have now removed /var/db/portsnap and started from scratch 3 times. This
> fixes the problem, but a few days later, I get the same story. I haven't had
> any problems on any of the other servers (although they have older kernels),
> so I'm guessing this could be a problem with portsnap from this kernel build
> or it's related to something else.

First, the obvious thing to check: Are you running out of disk space on /var ?

Second, please run 'portsnap --debug fetch' and send me the output; this will
give me a chance of identifying the problem.

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


RE: portsnap oddities

2006-08-04 Thread Gary Newcombe

Sure,

the /var slice is 2Gb and has plenty of room.

[mesh:/home/gary]# portsnap --debug fetch
Looking up portsnap.FreeBSD.org mirrors... 2 mirrors found.
Fetching snapshot tag from portsnap1.FreeBSD.org...
latest.ssl100% of  256  B  512 kBps
done.
Fetching snapshot metadata...
6eb9d6e9f93dd6b8e2a88bdf9d394b7e77f75795f073a4100% of  299  B  650 kBps
done.
Updating from Thu  3 Aug 2006 04:45:32 EST to Sat  5 Aug 2006 11:06:54 EST.
Fetching 0 metadata patches...
 done.
Applying metadata patches... done.
Fetching 0 metadata files...
done.
Fetching 2 patches...
/usr/libexec/phttpget portsnap1.FreeBSD.org
bp/7c2d57a2388d4d5cd20e935c57727b5019fbdf06210ebf9b8f0b7c01bf072db5-ad06d1f7
b82db9ebcb496e7d48a754932622f1c8d6166564e61666d059f1b8fd
bp/352d16ab1731729d4542c9c126034d6f27ce2830f297effb8831e6eb6a46cb31-ad3d5100
1a264245eab5894cece6c902d073841143e9ffc7ee8379948a44aae3
http://portsnap1.FreeBSD.org/bp/7c2d57a2388d4d5cd20e935c57727b5019fbdf06210e
bf9b8f0b7c01bf072db5-ad06d1f7b82db9ebcb496e7d48a754932622f1c8d6166564e61666d
059f1b8fd: 200 OK
http://portsnap1.FreeBSD.org/bp/352d16ab1731729d4542c9c126034d6f27ce2830f297
effb8831e6eb6a46cb31-ad3d51001a264245eab5894cece6c902d073841143e9ffc7ee83799
48a44aae3: 200 OK
 done.
Applying patches... bspatch: Corrupt patch

sha256: NEW: No such file or directory
[: =: unexpected operator
bspatch: Corrupt patch

sha256: NEW: No such file or directory
[: =: unexpected operator
done.
Fetching 2 new ports or files...
/usr/libexec/phttpget portsnap1.FreeBSD.org
f/ad06d1f7b82db9ebcb496e7d48a754932622f1c8d6166564e61666d059f1b8fd.gz
f/ad3d51001a264245eab5894cece6c902d073841143e9ffc7ee8379948a44aae3.gz
http://portsnap1.FreeBSD.org/f/ad06d1f7b82db9ebcb496e7d48a754932622f1c8d6166
564e61666d059f1b8fd.gz: 200 OK
http://portsnap1.FreeBSD.org/f/ad3d51001a264245eab5894cece6c902d073841143e9f
fc7ee8379948a44aae3.gz: 200 OK

gunzip: stdin: not in gzip format
snapshot is corrupt.

Thanks Colin,

Gary

-Original Message-
From: Colin Percival [mailto:[EMAIL PROTECTED] 
Sent: Saturday, 5 August 2006 12:21 PM
To: Gary Newcombe
Cc: freebsd-questions@freebsd.org
Subject: Re: portsnap oddities

Gary Newcombe wrote:
> I'm getting the following error when I use portsnap lately on one of my
> servers:
> [snip]
> Fetching 2 new ports or files...
> gunzip: stdin: not in gzip format
> snapshot is corrupt.
>  
> I have now removed /var/db/portsnap and started from scratch 3 times. This
> fixes the problem, but a few days later, I get the same story. I haven't
had
> any problems on any of the other servers (although they have older
kernels),
> so I'm guessing this could be a problem with portsnap from this kernel
build
> or it's related to something else.

First, the obvious thing to check: Are you running out of disk space on /var
?

Second, please run 'portsnap --debug fetch' and send me the output; this
will
give me a chance of identifying the problem.

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


Re: S.M.A.R.T. HDD Protocal

2006-08-04 Thread Mike Tancsa
On Fri, 04 Aug 2006 18:54:38 +0100, in sentex.lists.freebsd.questions
you wrote:

>Hello,
>
>Does anyone know where I can get the protocol used in SMART HDD diagnostics.

Hi,
There are existing tools you can use to read and monitor the SMART
info in /usr/ports/sysutils/smartmontools

e..g driver 0 on a 3ware RAID1 array

# smartctl -a -d 3ware,0 /dev/twed1
smartctl version 5.33 [i386-unknown-freebsd4.9] Copyright (C) 2002-4
Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Device Model: ST380011A
Serial Number:3JV3WT64
Firmware Version: 3.16
User Capacity:80,000,000,000 bytes
Device is:In smartctl database [for details use: -P show]
ATA Version is:   6
ATA Standard is:  ATA/ATAPI-6 T13 1410D revision 2
Local Time is:Fri Aug  4 22:40:30 2006 EDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x82) Offline data collection
activity
was completed without error.
Auto Offline Data Collection:
Enabled.
Self-test execution status:  (   0) The previous self-test routine
completed
without error or no self-test
has ever 
been run.
Total time to complete Offline 
data collection: ( 430) seconds.
Offline data collection
capabilities:(0x5b) SMART execute Offline
immediate.
Auto Offline data collection
on/off support.
Suspend Offline collection
upon new
command.
Offline surface scan
supported.
Self-test supported.
No Conveyance Self-test
supported.
Selective Self-test supported.
SMART capabilities:(0x0003) Saves SMART data before
entering
power-saving mode.
Supports SMART auto save
timer.
Error logging capability:(0x01) Error logging supported.
No General Purpose Logging
support.
Short self-test routine 
recommended polling time:(   1) minutes.
Extended self-test routine
recommended polling time:(  58) minutes.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME  FLAG VALUE WORST THRESH TYPE
UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate 0x000f   063   056   006Pre-fail
Always   -   4431727
  3 Spin_Up_Time0x0003   097   097   000Pre-fail
Always   -   0
  4 Start_Stop_Count0x0032   100   100   020Old_age
Always   -   0
  5 Reallocated_Sector_Ct   0x0033   100   100   036Pre-fail
Always   -   0
  7 Seek_Error_Rate 0x000f   086   060   030Pre-fail
Always   -   453086282
  9 Power_On_Hours  0x0032   075   075   000Old_age
Always   -   21996
 10 Spin_Retry_Count0x0013   100   100   097Pre-fail
Always   -   0
 12 Power_Cycle_Count   0x0032   100   100   020Old_age
Always   -   37
194 Temperature_Celsius 0x0022   046   049   000Old_age
Always   -   46
195 Hardware_ECC_Recovered  0x001a   063   056   000Old_age
Always   -   4431727
197 Current_Pending_Sector  0x0012   100   100   000Old_age
Always   -   0
198 Offline_Uncorrectable   0x0010   100   100   000Old_age
Offline  -   0
199 UDMA_CRC_Error_Count0x003e   200   200   000Old_age
Always   -   0
200 Multi_Zone_Error_Rate   0x   100   253   000Old_age
Offline  -   0
202 TA_Increase_Count   0x0032   100   253   000Old_age
Always   -   0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_DescriptionStatus  Remaining
LifeTime(hours)  LBA_of_first_error
# 1  Short offline   Completed without error   00% 10357
-
# 2  Short offline   Completed without error   00%  9451
-
# 3  Short offline   Completed without error   00%  9427
-
# 4  Short offline   Completed without error   00%  9404
-
# 5  Short offline   Completed without error   00%  9380
-
# 6  Short offline   Completed without error   00%  9357
-
# 7  Short offline   Completed without error   00%  9333
-
# 8  Short offline   Completed without error   00%  9309
-
# 9  Short offline   Completed without error   00%  9286
-
#10  Shor

Re: portsnap oddities

2006-08-04 Thread Colin Percival
Gary Newcombe wrote:
> Fetching 2 new ports or files...
> /usr/libexec/phttpget portsnap1.FreeBSD.org
> f/ad06d1f7b82db9ebcb496e7d48a754932622f1c8d6166564e61666d059f1b8fd.gz
> f/ad3d51001a264245eab5894cece6c902d073841143e9ffc7ee8379948a44aae3.gz
> http://portsnap1.FreeBSD.org/f/ad06d1f7b82db9ebcb496e7d48a754932622f1c8d6166
> 564e61666d059f1b8fd.gz: 200 OK
> http://portsnap1.FreeBSD.org/f/ad3d51001a264245eab5894cece6c902d073841143e9f
> fc7ee8379948a44aae3.gz: 200 OK
> 
> gunzip: stdin: not in gzip format
> snapshot is corrupt.

Strange.  I've checked on portsnap1.freebsd.org, and those files are definitely
intact.  Are you using an HTTP proxy?  It's possible that it might have cached
a broken version of those files.  Could you look in /var/db/portsnap and tell
me how large those two files are?

Colin Percival

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


BSDstats Project v1.0

2006-08-04 Thread User Freebsd


'k folks ... the quick and dirty .. actually, not too dirty ...

The attached script goes into /etc/periodic/monthly (and can be run from 
the command line) and is the *very* barebones ... it reports operating 
system and architecture ... it will return a unique id at the same time 
which will be used when we add in the pciconf output ...


I have it recording two things: IP and hostname ... I figure it is highly 
unlikely for two hosts to ever have both identical, so a *fairly* safe 
unique key to work with ... and unless someone is running a whack of 
machines behind NAT with the same hostname, it gives us a safe unique 
counter for those behind NAT ...


The backend is storing the data in a database right now, so what I'm 
curious most about is someone running behind NAT with a few servers, or 
behind a proxy, just to see what sort of results ...


I'm going to try and get the pciconf output added into it later tonight, 
and will post a follow up, but this at leave gives something to test 
against ...


Right now, there is no "output" on the web site, but I do have a link to, 
and daily run of, awstats, which will at least show some figures ... once 
there is data in the database, I'll start working up a stats page based on 
the #s there ...


Note that once you've added this script, you need to add:

monthly_statistics_enable="YES"

to /etc/periodic.conf so that it will run monthly ... and, of course, you 
can run it manually, instead of waiting until the end of the month ...


You can also run it as often as you like, it will only record one 
submission *per* month, but it will update the data based on the last 
submission (ie. if you upgrade, or add/remove hardware) ...


Its a start ... will work on extending it to add the pciconf output next, 
and send a v2.0 script as soon as that is ready :)





Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664#!/bin/sh -
#
# $FreeBSD: src/etc/periodic/monthly/300.accounting,v 1.10 2002/09/24 18:53:46 
ache Exp $
#

# If there is a global system configuration file, suck it in.
#
monthly_statistics_mailto="[EMAIL PROTECTED],root"
if [ -r /etc/defaults/periodic.conf ]
then
. /etc/defaults/periodic.conf
source_periodic_confs
fi

oldmask=$(umask)
umask 066

case "$monthly_statistics_enable" in
[Yy][Ee][Ss])
  HN=`/bin/hostname`
  SYS=`/usr/bin/uname -r`
  ARCH=`/usr/bin/uname -m`
  /usr/bin/fetch -qo /tmp/getid 
http://bsdstats.hub.org/scripts/getid.php?hn=$HN\&sys=$SYS\&arch=$ARCH
  ;;
*)  rc=0;;
esac

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

Re: nppdf.so: undefined symbol "__ctype_b_loc"

2006-08-04 Thread Warren Block

On Fri, 4 Aug 2006, Xiao-Yong Jin wrote:


Hi all, after upgrading firefox and acroread, I got this when I tried
to use the plugin,

LoadPlugin: failed to initialize shared library 
/usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux/nppdf.so 
[/usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux/nppdf.so: Undefined symbol 
"__ctype_b_loc"]

I have these lines in my /etc/libmap.conf,

# Acrobat7 with Mozilla/Firebird/Galeon/Epiphany/Konqueror/Kazehakase
[/usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux/nppdf.so]
libc.so.6   pluginwrapper/acrobat.so

Bug?  Or my configuration fault?


My configuration is the same (with 6-STABLE as of yesterday) and I get 
the same error trying to view PDFs within seamonkey.  This has happened 
earlier this year, but I can't recall when it was fixed or if it was 
avoided by backing down to a previous version of acroread.


Please file a PR.

In the short term, you can use portdowngrade to go back to the previous 
version of acroread7, or just save the PDF from within the browser and 
use the command-line version of acroread.  In the not-quite-as-short 
term, hopefully nork can fix this.


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


RE: portsnap oddities

2006-08-04 Thread Gary Newcombe

Yes, nail on the head methinks. This server is behind a proxy and portsnap
works fine with it disabled. With combination of advproxy, havp and privoxy:

[mesh:/var/db/portsnap]# l *[3d].gz
-rw-r--r--  1 root  wheel64B  5 Aug 12:51
ad06d1f7b82db9ebcb496e7d48a754932622f1c8d6166564e61666d059f1b8fd.gz
-rw-r--r--  1 root  wheel64B  5 Aug 12:51
ad3d51001a264245eab5894cece6c902d073841143e9ffc7ee8379948a44aae3.gz

Without:

[mesh:/var/db/portsnap]# portsnap --debug fetch
Looking up portsnap.FreeBSD.org mirrors... 2 mirrors found.
Fetching snapshot tag from portsnap1.FreeBSD.org...
latest.ssl100% of  256  B  685 kBps
done.
Fetching snapshot metadata...
d82061f1c680d235d7c08c340e9c25e42b4a133e2ca1c1100% of  299  B  533 kBps
done.
Updating from Thu  3 Aug 2006 04:45:32 EST to Sat  5 Aug 2006 11:22:38 EST.
Fetching 0 metadata patches...
 done.
Applying metadata patches... done.
Fetching 0 metadata files...
done.
Fetching 2 patches...
/usr/libexec/phttpget portsnap1.FreeBSD.org
bp/7c2d57a2388d4d5cd20e935c57727b5019fbdf06210ebf9b8f0b7c01bf072db5-ad06d1f7
b82db9ebcb496e7d48a754932622f1c8d6166564e61666d059f1b8fd
bp/352d16ab1731729d4542c9c126034d6f27ce2830f297effb8831e6eb6a46cb31-ad3d5100
1a264245eab5894cece6c902d073841143e9ffc7ee8379948a44aae3
http://portsnap1.FreeBSD.org/bp/7c2d57a2388d4d5cd20e935c57727b5019fbdf06210e
bf9b8f0b7c01bf072db5-ad06d1f7b82db9ebcb496e7d48a754932622f1c8d6166564e61666d
059f1b8fd: 200 OK
http://portsnap1.FreeBSD.org/bp/352d16ab1731729d4542c9c126034d6f27ce2830f297
effb8831e6eb6a46cb31-ad3d51001a264245eab5894cece6c902d073841143e9ffc7ee83799
48a44aae3: 200 OK
 done.
Applying patches... done.
Fetching 0 new ports or files...
done.
[mesh:/var/db/portsnap]# l *[3d].gz
-rw-r--r--  1 root  wheel64B  5 Aug 13:32
ad06d1f7b82db9ebcb496e7d48a754932622f1c8d6166564e61666d059f1b8fd.gz
-rw-r--r--  1 root  wheel64B  5 Aug 13:32
ad3d51001a264245eab5894cece6c902d073841143e9ffc7ee8379948a44aae3.gz

So the files did seem to be intact initially anyway? Just clearing the cache
for the proxy didn't seem to solve the problem btw.

Thanks,
Gary



-Original Message-
From: Colin Percival [mailto:[EMAIL PROTECTED] 
Sent: Saturday, 5 August 2006 1:24 PM
To: Gary Newcombe
Cc: freebsd-questions@freebsd.org
Subject: Re: portsnap oddities

Gary Newcombe wrote:
> Fetching 2 new ports or files...
> /usr/libexec/phttpget portsnap1.FreeBSD.org
> f/ad06d1f7b82db9ebcb496e7d48a754932622f1c8d6166564e61666d059f1b8fd.gz
> f/ad3d51001a264245eab5894cece6c902d073841143e9ffc7ee8379948a44aae3.gz
>
http://portsnap1.FreeBSD.org/f/ad06d1f7b82db9ebcb496e7d48a754932622f1c8d6166
> 564e61666d059f1b8fd.gz: 200 OK
>
http://portsnap1.FreeBSD.org/f/ad3d51001a264245eab5894cece6c902d073841143e9f
> fc7ee8379948a44aae3.gz: 200 OK
> 
> gunzip: stdin: not in gzip format
> snapshot is corrupt.

Strange.  I've checked on portsnap1.freebsd.org, and those files are
definitely
intact.  Are you using an HTTP proxy?  It's possible that it might have
cached
a broken version of those files.  Could you look in /var/db/portsnap and
tell
me how large those two files are?

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


Re: BSDstats Project v1.0

2006-08-04 Thread Colin Percival
User Freebsd wrote:
> 'k folks ... the quick and dirty .. actually, not too dirty ...
> 
> The attached script [...]

Can you make this into a port which users can install?

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


Re: portsnap oddities

2006-08-04 Thread Scott Sipe
I might just add that I had similar corruption issues using portsnap  
behind a transparent squid proxy. Not 100% of the time corruption,  
but fairly often. Changed the router rules to not proxy for this  
server and all has been well.


Scott

On Aug 4, 2006, at 11:49 PM, Gary Newcombe wrote:



Yes, nail on the head methinks. This server is behind a proxy and  
portsnap
works fine with it disabled. With combination of advproxy, havp and  
privoxy:


[mesh:/var/db/portsnap]# l *[3d].gz
-rw-r--r--  1 root  wheel64B  5 Aug 12:51
ad06d1f7b82db9ebcb496e7d48a754932622f1c8d6166564e61666d059f1b8fd.gz
-rw-r--r--  1 root  wheel64B  5 Aug 12:51
ad3d51001a264245eab5894cece6c902d073841143e9ffc7ee8379948a44aae3.gz

Without:

[mesh:/var/db/portsnap]# portsnap --debug fetch
Looking up portsnap.FreeBSD.org mirrors... 2 mirrors found.
Fetching snapshot tag from portsnap1.FreeBSD.org...
latest.ssl100% of  256  B  685  
kBps

done.
Fetching snapshot metadata...
d82061f1c680d235d7c08c340e9c25e42b4a133e2ca1c1100% of  299  B  533  
kBps

done.
Updating from Thu  3 Aug 2006 04:45:32 EST to Sat  5 Aug 2006  
11:22:38 EST.

Fetching 0 metadata patches...
 done.
Applying metadata patches... done.
Fetching 0 metadata files...
done.
Fetching 2 patches...
/usr/libexec/phttpget portsnap1.FreeBSD.org
bp/7c2d57a2388d4d5cd20e935c57727b5019fbdf06210ebf9b8f0b7c01bf072db5- 
ad06d1f7

b82db9ebcb496e7d48a754932622f1c8d6166564e61666d059f1b8fd
bp/352d16ab1731729d4542c9c126034d6f27ce2830f297effb8831e6eb6a46cb31- 
ad3d5100

1a264245eab5894cece6c902d073841143e9ffc7ee8379948a44aae3
http://portsnap1.FreeBSD.org/bp/ 
7c2d57a2388d4d5cd20e935c57727b5019fbdf06210e
bf9b8f0b7c01bf072db5- 
ad06d1f7b82db9ebcb496e7d48a754932622f1c8d6166564e61666d

059f1b8fd: 200 OK
http://portsnap1.FreeBSD.org/bp/ 
352d16ab1731729d4542c9c126034d6f27ce2830f297
effb8831e6eb6a46cb31- 
ad3d51001a264245eab5894cece6c902d073841143e9ffc7ee83799

48a44aae3: 200 OK
 done.
Applying patches... done.
Fetching 0 new ports or files...
done.
[mesh:/var/db/portsnap]# l *[3d].gz
-rw-r--r--  1 root  wheel64B  5 Aug 13:32
ad06d1f7b82db9ebcb496e7d48a754932622f1c8d6166564e61666d059f1b8fd.gz
-rw-r--r--  1 root  wheel64B  5 Aug 13:32
ad3d51001a264245eab5894cece6c902d073841143e9ffc7ee8379948a44aae3.gz

So the files did seem to be intact initially anyway? Just clearing  
the cache

for the proxy didn't seem to solve the problem btw.

Thanks,
Gary



-Original Message-
From: Colin Percival [mailto:[EMAIL PROTECTED]
Sent: Saturday, 5 August 2006 1:24 PM
To: Gary Newcombe
Cc: freebsd-questions@freebsd.org
Subject: Re: portsnap oddities

Gary Newcombe wrote:

Fetching 2 new ports or files...
/usr/libexec/phttpget portsnap1.FreeBSD.org
f/ad06d1f7b82db9ebcb496e7d48a754932622f1c8d6166564e61666d059f1b8fd.gz
f/ad3d51001a264245eab5894cece6c902d073841143e9ffc7ee8379948a44aae3.gz

http://portsnap1.FreeBSD.org/f/ 
ad06d1f7b82db9ebcb496e7d48a754932622f1c8d6166

564e61666d059f1b8fd.gz: 200 OK

http://portsnap1.FreeBSD.org/f/ 
ad3d51001a264245eab5894cece6c902d073841143e9f

fc7ee8379948a44aae3.gz: 200 OK

gunzip: stdin: not in gzip format
snapshot is corrupt.


Strange.  I've checked on portsnap1.freebsd.org, and those files are
definitely
intact.  Are you using an HTTP proxy?  It's possible that it might  
have

cached
a broken version of those files.  Could you look in /var/db/ 
portsnap and

tell
me how large those two files are?

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


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


Re: BSDstats Project v1.0

2006-08-04 Thread User Freebsd

On Fri, 4 Aug 2006, Colin Percival wrote:


User Freebsd wrote:

'k folks ... the quick and dirty .. actually, not too dirty ...

The attached script [...]


Can you make this into a port which users can install?


I'm not sure, can I?  Can ports install into /etc/periodic?  Or is there 
some other way of doing it?


If you want to do the initial port and assign MAINTAINER to 
[EMAIL PROTECTED], I'll maintain it from there ... I'm just not sure how 
to deal with installing into non-/usr/local as a port ... :(



Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portsnap oddities

2006-08-04 Thread Colin Percival
Gary Newcombe wrote:
> Yes, nail on the head methinks. This server is behind a proxy and portsnap
> works fine with it disabled. With combination of advproxy, havp and privoxy:
> 
> [mesh:/var/db/portsnap]# l *[3d].gz
> -rw-r--r--  1 root  wheel64B  5 Aug 12:51
> ad06d1f7b82db9ebcb496e7d48a754932622f1c8d6166564e61666d059f1b8fd.gz
> -rw-r--r--  1 root  wheel64B  5 Aug 12:51
> ad3d51001a264245eab5894cece6c902d073841143e9ffc7ee8379948a44aae3.gz
> 
> Without:
> [...]
> Fetching 2 patches...
> [...]
>  done.
> Applying patches... done.
> Fetching 0 new ports or files...
> done.
> [mesh:/var/db/portsnap]# l *[3d].gz
> -rw-r--r--  1 root  wheel64B  5 Aug 13:32
> ad06d1f7b82db9ebcb496e7d48a754932622f1c8d6166564e61666d059f1b8fd.gz
> -rw-r--r--  1 root  wheel64B  5 Aug 13:32
> ad3d51001a264245eab5894cece6c902d073841143e9ffc7ee8379948a44aae3.gz
> 
> So the files did seem to be intact initially anyway?

Everything seems to be working fine now.  You can delete those two files; they
were left behind because I forgot to handle the case of 'file download failed,
portsnap gets run again, and then patch download succeeds'.  The correct
versions of the files are stored in the /var/db/portsnap/files/ directory.

> Just clearing the cache
> for the proxy didn't seem to solve the problem btw.

It's possible that your cache gets confused by pipelined HTTP.  It wouldn't be
the first time that has happened...

Colin Percival

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


  1   2   >