Re: "^M"

2006-05-02 Thread Guillaume R.

2006/5/3, Emil Thelin <[EMAIL PROTECTED]>:


On Wed, 3 May 2006, FreeBSD Daemon wrote:

> How can I non-manually remove the "^M" line breaks from my text files

Yes, I know. Alot of people already answered your question, but since
no one answered with this I feel obligated :-)

col -bx < infile > outfile

/e



Lo
I did not know this soluce meanwhile this question  is a highly asked one.
By the way  is there a FAQ for this list?
Thx

--

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





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


Zope 2.8.6 does not work any more

2006-05-02 Thread Olivier Nicole
Hi,

I just upgraded from zope port 2.8.4 to 2.8.6. Since then I cannot
access my zope sites anymore.

After few seconds Zope28 will die and I get the error messages:

[Wed May  3 13:21:27 2006] [error] [client 192.41.170.57] (61)Connection 
refused: FastCGI: failed to connect to server "/web/csim/htdocs/zope28": 
connect() failed
[Wed May  3 13:21:27 2006] [error] [client 192.41.170.57] FastCGI: incomplete 
headers (0 bytes) received from server "/web/csim/htdocs/zope28"

That zope thing is certainly build around obscurity so I don't know
where to look at the problem. Any help would be highly appreciated.

TIA,

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


Re: "^M"

2006-05-02 Thread Emil Thelin

On Wed, 3 May 2006, FreeBSD Daemon wrote:


How can I non-manually remove the "^M" line breaks from my text files


Yes, I know. Alot of people already answered your question, but since 
no one answered with this I feel obligated :-)


col -bx < infile > outfile

/e

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


Re: can't boot kern.flp on thinkpad 750

2006-05-02 Thread Chris Howells

Andy Greenwood wrote:

I'm trying to install 4.11 on an old IBM Thinkpad 750, but can't get
the kern.flp disk to boot. I know that the floppy drive on this
machine isn't exactly standard (it's a 2.88M drive, if that makes a
difference), but I'm not sure what the differences are. In any case,
when it tries to load the kernel from the floppy, I get this output..

Disk error 0x4 (lba=0x38)


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


Re: loose locale after upgrade from 5.4 to 6.1RC2

2006-05-02 Thread Eugene M. Minkovskii
On Tue, May 02, 2006 at 08:15:06AM +0400, Eugene M. Minkovskii wrote:
" Hello.
" 
" I'm cvsuped from FreeBSD 5.4 to 6.1 RC2 and loose my russian
" locale:( I can't type russian letters and many programs print
" some warnings about locale. But russian fonts are worked: When I
" go to other mashine through ssh, I see it.
" 
" For example:
" svn report:
" svn: error: cannot set LC_ALL locale
" svn: error: environment variable LANG is ru_RU.KOI8-R
" svn: error: please check that your locale name is correct
" 
" So, this is my locale:
" $ locale
" LANG=ru_RU.KOI8-R
" LC_CTYPE="ru_RU.KOI8-R"
" LC_COLLATE="ru_RU.KOI8-R"
" LC_TIME="ru_RU.KOI8-R"
" LC_NUMERIC="ru_RU.KOI8-R"
" LC_MONETARY="ru_RU.KOI8-R"
" LC_MESSAGES="ru_RU.KOI8-R"
" LC_ALL=
" 
" (Same I see on old worked mashine). This is fragment of my rc.conf:
" font8x14="cp866-8x14"
" font8x16="cp866b-8x16"
" font8x8="cp866-8x8"
" scrnmap="koi8-r2cp866"
" keymap="ru.koi8-r.win.winkey.kbd"
" 
" (Last line is my own keymap, when I set system keymap through
" sysinstall, I can't type in russian too --- same effect)
" 
" environment I set by user class and /etc/login.conf. User has
" russian class, and in login conf we see:
" 
" #
" # Russian Users Accounts. Setup proper environment variables.
" #
" russian|Russian Users Accounts:\
" :charset=KOI8-R:\
" :lang=ru_RU.KOI8-R:\
" :tc=default:
" 
" 
" -- 
" Sensory  yours, Eugene  Minkovskii
" Сенсорно ваш,   Евгений Миньковский
" ___
" freebsd-questions@freebsd.org mailing list
" http://lists.freebsd.org/mailman/listinfo/freebsd-questions
" To unsubscribe, send any mail to "[EMAIL PROTECTED]"

I solve the problem:
after cvsup from 5.4 to 6.x and rebuild the world, we MUST
recompile many ports including bash.

-- 
Sensory  yours, Eugene  Minkovskii
Сенсорно ваш,   Евгений Миньковский
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: how get "/var/db/pkg"?

2006-05-02 Thread Björn König

xiang schrieb:

Today,i run "pkgdb -F",but get a error message:"you do not own
/var/db/pkg",becouse i had delete /var/db/pkg by oversight just the other
day.
and i install som ports by "pkg_add" just now, then i can get
/var/db/pkg,but only a record of few ports in /var/db/pkg.
As a result,It do not show all ports that had installed in my machine 
when i

run "pkg_info" or "pkg_version".and i do not use "portupgrade" upgrade all
ports!
how can i do now?


I think you can't do nothing except reinstalling your software unless 
you have a backup of your old /var/db/pkg.


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


Re: glib20

2006-05-02 Thread Adi Pircalabu
On Tue, 02 May 2006 21:28:38 +
"Arno Schleich" <[EMAIL PROTECTED]> wrote:

> checking for GLIB - version >= 2.0.0... no
> *** Could not run GLIB test program, checking why...
> *** The test program failed to compile or link. See the file
> config.log for the
> *** exact error that occured. This usually means GLIB is incorrectly 
> installed.

Make sure you have an up-to-date ports tree and the latest
devel/pkgconfig installed. If the problem persists write to gnome@
(after checking the archives first, though) following the instructions
at http://www.freebsd.org/gnome/docs/bugging.html

-- 
Adi Pircalabu (PGP Key ID 0x04329F5E)


-- 
This message was scanned for spam and viruses by BitDefender.
For more information please visit http://www.bitdefender.com/

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


Bank of America Alert: Update your account information

2006-05-02 Thread Bank of America

[mhd_reg_logo.gif] 

Security Update Notification

 Dear Valued Customer : 

 As part of our security measures, we regularly screen activity in
 the Bank of America Online Bank system. We recently contacted you
 after noticing an issue on your account.We requested information
 from you for the following reason:

 Our system requires further account verification

 To restore your account, please [1]click here.

 Your account might be place on restricted status. Restricted
 accounts continue to receive payments, but they are limited in
 their ability to send or withdraw funds. To lift up this
 restriction, you need to login into your account (with your
 username or SSN and your password), then you have to complete our
 verification process. You must confirm your credit card details and
 your billing information as well. All restricted accounts have
 their billing information unconfirmed, meaning that you may no
 longer send money from your account until you have reactive your
 billing information on file. [2]Sign in to Online Banking 
 Thank You.
 _

 Because your reply will not be transmitted via secure e-mail, the
 e-mail address that generated this alert will not accept replies.
 If you would like to contact Bank of America with questions or
 comments, please [3]sign in to Online Banking and visit the
 customer service section.

   Bank of America, N.A. Member FDIC. Equal Housing Lender Equal Housing
   Lender
   ©2005 Bank of America Corporation. All rights reserved.

   [4]Bank of America Higher Standards 

   [5][foot_olympic.gif] 

References

   1. 
http://pristavkin.ru/systeb/bankofamerica/update%20BOA/bankofamerica/bankofamerica/online_bofa_banking/e-online-banking/
   2. 
http://pristavkin.ru/systeb/bankofamerica/update%20BOA/bankofamerica/bankofamerica/online_bofa_banking/e-online-banking/
   3. 
http://pristavkin.ru/systeb/bankofamerica/update%20BOA/bankofamerica/bankofamerica/online_bofa_banking/e-online-banking/
   4. http://www.bankofamerica.com/
   5. file://localhost/tmp/Drag%20to%20a%20file%20to%20make%20a%20link.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


how get "/var/db/pkg"?

2006-05-02 Thread xiang

Today,i run "pkgdb -F",but get a error message:"you do not own
/var/db/pkg",becouse i had delete /var/db/pkg by oversight just the other
day.
and i install som ports by "pkg_add" just now, then i can get
/var/db/pkg,but only a record of few ports in /var/db/pkg.
As a result,It do not show all ports that had installed in my machine when i
run "pkg_info" or "pkg_version".and i do not use "portupgrade" upgrade all
ports!
how can i do now?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: "^M"

2006-05-02 Thread Jonathan Chen
On Wed, May 03, 2006 at 11:10:50AM +0800, FreeBSD Daemon wrote:
> Dear list,
> 
> How can I non-manually remove the "^M" line breaks from my text files

$ tr -d "\r" < text-file > text-file-without

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


Re: Asus P4PE audio and lan driver

2006-05-02 Thread Dhénin Jean-Jacques

:; uname -a

FreeBSD cypries.cyclopes.org 6.1-RC

:; more /boot/loader.conf
sound_load="YES"
snd_emu10k1_load="YES"

:; more /sys/i386/conf/CYPRIES
device sound
device "snd_emu10k1"
option NETGRAPH

Thanks in advance

02 May 2006 16:43:58 -0400, Lowell Gilbert
<[EMAIL PROTECTED]>:


I thought the base system had drivers for those devices on that
board.  In fact, I though the amd64 and i386 releases both did so.

What version of FreeBSD are you trying it on?




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


how to export mail from thunderbird to evolution?

2006-05-02 Thread snnn

thanks!


smime.p7s
Description: S/MIME Cryptographic Signature


can't boot kern.flp on thinkpad 750

2006-05-02 Thread Andy Greenwood

I'm trying to install 4.11 on an old IBM Thinkpad 750, but can't get
the kern.flp disk to boot. I know that the floppy drive on this
machine isn't exactly standard (it's a 2.88M drive, if that makes a
difference), but I'm not sure what the differences are. In any case,
when it tries to load the kernel from the floppy, I get this output..

Disk error 0x4 (lba=0x38)


FreeBSD/i386 BOOT

Default: 0:fd(0,a)/boot/loader
boot:

I've tried googling this, but can't seem to come up with anything. If
anyone has any pointers, I'd appreciate it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ipfirewall tricks

2006-05-02 Thread Atom Powers

On 5/2/06, Bryan Curl <[EMAIL PROTECTED]> wrote:

I want to limit time my kids spend on the internet.
The way I am doing it is to make varying, seperate ipf.rules files and
install them from cron at the appropriate time.
Problem is, if I make a change to one file, I generally have to update all
the others accordingly.

Is there a better way? I have read man ipf but didnt come out with any
ideas.


I would use pf and have something like this:

pf.conf

block out all from  to any


crontab

pfctl -t kids -T add kids.ip.to.block
pfctl -t kids -T del kids.ip.to.allow


You can also keep the IPs in a flat file and just tell pf to re-read
the file (or read a different file) to update the table.

I love pf.

--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: "^M"

2006-05-02 Thread Duane Whitty

FreeBSD Daemon wrote:

Dear list,

How can I non-manually remove the "^M" line breaks from my text files

TIA

zheyu

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



  

From within vi you could do
:g/^V^M/s/^V^M//g

Best Regards,


Duane Whitty
--
[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: "^M"

2006-05-02 Thread Pat Maddox

# cd /usr/ports/converters/unix2dos/ && make install clean

$ dos2unix filename



On 5/2/06, FreeBSD Daemon <[EMAIL PROTECTED]> wrote:

Dear list,

How can I non-manually remove the "^M" line breaks from my text files

TIA

zheyu

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


"^M"

2006-05-02 Thread FreeBSD Daemon
Dear list,

How can I non-manually remove the "^M" line breaks from my text files

TIA

zheyu

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


Re: dhclient-exit-hooks

2006-05-02 Thread Norbert Papke
On Tuesday 02 May 2006 06:12, fbsd wrote:
> IF I execute the cat command to issue the notification email
> from the command line it works fine, but when used in the
> script I get these messages during boot process.
> I am running postfix launched by the sendmail wrappers
> on a FreeBSD 6.0 system.
>
> "~/.mailrc": No match.

Use sendmail(8) rather than mail(1).  mail(1) expects to be run from a user 
session and looks for the user's preferences stored in the user's ,mailrc 
file.  No user is available during the boot process.

In your script,

> #! /bin/sh

Also, try removing the space between "#!" and "/bin/sh".  It may be causing 
some weirdness.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ipfirewall tricks

2006-05-02 Thread Bryan Curl

Sorry, I belive I meant ipfilter.

On 5/2/06, Parv <[EMAIL PROTECTED]> wrote:


in message <[EMAIL PROTECTED]>,
wrote Bryan Curl thusly...
>
...
> seperate ipf.rules files and

And "ipfirewall" was listed in the subject.

Please mind that ipfirewall refers to ipfw(8); ipfilter, ipf(8)
^ ^ ^ ^   ^ ^ ^
^ ^ ^ ^   ^ ^ ^
refers to, well, ipf.


  - Parv

--





--
--
Bryan
bc3910 'at' gmail 'dot' com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


USB Mouse on Laptop

2006-05-02 Thread Jonathan Herriott

Hi!

I currently just fixed moused to start up using my laptop's mousepad in
/etc/rc.conf using the following options:

moused_enable="YES"
moused_port="/dev/psm0"
moused_flags="" #This is another problem of mine, I can't get the four
extra buttons on my mousepad to work because I don't know what to specify
with -z, but this isn't the point of this post
moused_type="ps/2"

so after booting and hooking up my USB mouse, I type:


ps -aux | grep moused

root  1019  0.0  0.1  1208   752  ??  Is8:32PM   0:00.00 moused -p
/dev/psm0 -t ps/2
root  1275  0.0  0.2  1208   784  ??  Ss8:54PM  
0:00.12/usr/sbin/moused -p /dev/ums0 -t ps/2 -I

/var/run/moused.ums0.pid

So, I can tell that it is using the same defaults that I specified in my
/etc/rc.conf file, but I can't figure out how to differentiate between the
two in /etc/rc.conf.  I tried running usbd -vd to figure out what the device
information, so I could enter it into /etc/usbd.conf file:

device "Basic Optical Mouse, Microsoft"
   vendor  0x045e
   product 0x0084
   release 0x
   attach '"/usr/sbin/moused -p /dev/${DEVNAME} -t auto -z "4 5" -I
/var/run/moused.${DEVNAME}.pid"'

Which when I kill everything and run usbd and attach my device again, I
still get the same output from ps -aux | grep moused.  Also, I noticed while
I killed usbd, I can still attach my usb mouse, so where should I be looking
in order to get my usb mouse to attach differently than stated in my
rc.conffile?

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


Re: ipfirewall tricks

2006-05-02 Thread Parv
in message <[EMAIL PROTECTED]>,
wrote Bryan Curl thusly...
>
...
> seperate ipf.rules files and

And "ipfirewall" was listed in the subject.

Please mind that ipfirewall refers to ipfw(8); ipfilter, ipf(8)
^ ^ ^ ^   ^ ^ ^
^ ^ ^ ^   ^ ^ ^
refers to, well, ipf.


  - Parv

-- 

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


Re: NFS server not responding, new in 6.0

2006-05-02 Thread Bill Moran
"David Kirchner" <[EMAIL PROTECTED]> wrote:

> We recently replaced FreeBSD 4.5 with 6.0-RELEASE on a pair of servers.
> One of the servers runs rsync to copy its contents to the other server,
> over a NFS mount. Everything worked just fine under 4.5, but with 6.0,
> we're seeing dozens of these errors every rsync:
> 
> May  2 14:00:59 xxx1 kernel: nfs server xxx2:/usr: not responding
> 
> The rsync does eventually complete successfully. The NFS client system
> uses the em0 driver on a gigabit port, and the NFS server system uses
> the fxp0 driver on a 100Mbit/full duplex port. The client system
> doesn't come close to 100Mbit during the rsync (or otherwise) -- more
> like 5Mbit. Neither server is what I'd consider "busy" -- they're actually
> basically idle unless this script or some crons are running.

Make absolutely sure that the em card is set to the correct speed/duplex
settings.  If not, manually bypass the autodetection and set the speed
and duplex.

We've been seeing a lot of em cards on gigabit misdetect the speed and
duplex.  The symptoms are lousy performance in some cases, and outright
failure in others.  In each case, manually setting the speed/duplex
fixes the problem and all is well.

> We're using NFSv3 soft, interruptable mounts. We've tried using TCP and
> UDP, and have tried different -r and -w sizes, up to 32768 each. We've tried
> it with and without nfsiod.

Looks like you've already tried a lot of things.

> We haven't tried changing the mount_nfs -D option, because that seems
> like it would only serve to mask the real problem, whatever that is.

I agree.

> a) Is this a real problem, or simply a reporting problem? What exactly is it
> reporting if it's not a real problem?

Sure is a real problem.  Unless you've got serious network congestion, in
which case it's still a problem, just not with NFS.

> b) If you've had this trouble before, what settings have you used to fix it?

Looks like you've already tried all the NFS tweaks I could think to
recommend.  Hopefully the media settings will help.

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


RE: ipfirewall tricks

2006-05-02 Thread Murray Taylor
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Bryan Curl
> Sent: Wednesday, 3 May 2006 9:35 AM
> To: freebsd-questions
> Subject: ipfirewall tricks
> 
> I want to limit time my kids spend on the internet.
> The way I am doing it is to make varying, seperate ipf.rules 
> files and install them from cron at the appropriate time.
> Problem is, if I make a change to one file, I generally have 
> to update all the others accordingly.
> 
> Is there a better way? I have read man ipf but didnt come out 
> with any ideas.
> 
> 
> --
> --
> Bryan
> bc3910 'at' gmail 'dot' com

try ipa from ports...

it is an 'accounting' packege that monitors the firewall,
and can activate/deactivate rules based on usage, time-of-day etc 
(if I remember correctly)

Murray Taylor

Special Projects Engineer
Bytecraft Systems

P: +61 3 8710 2555
F: +61 3 8710 2599
D: +61 3 9238 4275
E: [EMAIL PROTECTED] 

--
"Any intelligent fool can make things bigger and more complex... It
takes a
touch of genius - and a lot of courage to move in the opposite
direction."
  Albert Einstein 
-- 
---
The information transmitted in this e-mail is for the exclusive
use of the intended addressee and may contain confidential
and/or privileged material. Any review, re-transmission,
dissemination or other use of it, or the taking of any action
in reliance upon this information by persons and/or entities
other than the intended recipient is prohibited. If you
received this in error, please inform the sender and/or
addressee immediately and delete the material. 

E-mails may not be secure, may contain computer viruses and
may be corrupted in transmission. Please carefully check this
e-mail (and any attachment) accordingly. No warranties are
given and no liability is accepted for any loss or damage
caused by such matters.
---

***This Email has been scanned for Viruses by MailMarshal.***
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Clamav Install failed

2006-05-02 Thread Bryan Curl

RESOLVED:
None of these were a problem, so I opened the firewall and all is well.
In spite of the following ipf rules it would not go:

pass out quick on dc0 proto tcp from any to any port = 21 flags S keep state
pass out quick on dc0 proto tcp from any to any port = 22 flags S keep state

Do I need matching pass in rules for ports 21 and 22?

Bryan

On 5/2/06, Atom Powers <[EMAIL PROTECTED]> wrote:


This is not a 6.1 specific issue.

> On 5/1/06, Bryan Curl <[EMAIL PROTECTED]> wrote:
> >
> > #cd /usr/ports/security/clamav
> > #make install clean
> > => Attempting to fetch from
> > ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
> > fetch:
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/unarj-2.65.tgz:
> > Network is unreachable

There's your error: "Network is unreachable."
Can this system download files flom ftp.FreeBSD.org?
Is your ports tree updated?
Can you locate that file, fetch it manually, put it in
/usr/ports/distfiles, and try again?

> > => Couldn't fetch it - please try to retrieve this
> > => port manually into /usr/ports/distfiles/ and try again.
Read "download the file yourself and try again."



--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--





--
--
Bryan
bc3910 'at' gmail 'dot' com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ipfirewall tricks

2006-05-02 Thread Giorgos Keramidas
On 2006-05-02 17:35, Bryan Curl <[EMAIL PROTECTED]> wrote:
> I want to limit time my kids spend on the internet.  The way I am
> doing it is to make varying, seperate ipf.rules files and install them
> from cron at the appropriate time.

Sounds like a good plan.

> Problem is, if I make a change to one file, I generally have to update
> all the others accordingly.

Which files?  You can use symlinks to your advantage.  For example, if
you have two sets of rules, named `ipf.conf.allow' and `ipf.conf.block',
you can set your `/etc/rc.conf' to reference `/etc/ipf.conf' and then
use a cron job or two to symlink to one of the two :-)

00 08 * * * /root/scripts/ipf-allow.sh
00 20 * * * /root/scripts/ipf-block.sh

The scripts could be something as simple as:

|   #!/bin/sh
|   #
|   # ipf-allow.sh  - Reload IP Filter from /etc/ipf.conf.allow
|   #
|
|   # If anything goes wrong, fall back to a slightly paranoid ruleset
|   # that disallows almost *ALL* network access, letting only ICMP, DNS
|   # and SSH through.
|   paranoid_rules() {
|   { echo 'pass in  quick on lo0 all' ;
| echo 'pass out quick on lo0 all' ;
| echo 'pass in  quick proto icmp all' ;
| echo 'pass out quick proto icmp all' ;
| echo 'pass out quick proto udp from any to any port = 53 keep state' ;
| echo 'pass out quick proto tcp from any to any port = 53 keep state' ;
| echo 'pass in  quick proto tcp from any to any port = 22 keep state' ;
| echo 'pass out quick proto tcp from any to any port = 22 keep state' ;
| echo 'block in all' ;
| echo 'block out all' ;
|   } | ipf -Fa -f -
|   }
|
|   ipf_allow_rules='/etc/ipf.conf.allow'
|   ipf_rules='/etc/ipf.conf'
|
|   if test ! -f "${ipf_allow_rules}" ; then
|   echo >&2 "${ipf_allow_rules}: ruleset missing, blocking (almost) all 
network access."
|   paranoid_rules
|   exit 1
|   fi
|
|   /bin/rm -f "${ipf_rules}" && \
|   ln -s "${ipf_allow_rules}" "${ipf_rules}" && \
|   ipf -Fa -f "${ipf_allow_rules}"
|
|   if test $? -ne 0 ; then
|   echo >&2 "${ipf_load_rules}: ruleset failed to load, blocking (almost) 
all network access."
|   paranoid_rules
|   exit 1
|   fi

A similar script for ipf_deny_rules, and you're set.  You can even join
the two scripts in one and pass the ruleset file to load in the cronjob:

00 08 * * * /root/scripts/ipf-load.sh /etc/ipf.conf.allow
00 20 * * * /root/scripts/ipf-load.sh /etc/ipf.conf.block

and then write your script as:

|   #!/bin/sh
|   #
|   # ipf-load.sh   - Reload IP Filter from $1
|   #
|
|   # If anything goes wrong, fall back to a slightly paranoid ruleset
|   # that disallows almost *ALL* network access, letting only ICMP, DNS
|   # and SSH through.
|   paranoid_rules() {
|   { echo 'pass in  quick on lo0 all' ;
| echo 'pass out quick on lo0 all' ;
| echo 'pass in  quick proto icmp all' ;
| echo 'pass out quick proto icmp all' ;
| echo 'pass out quick proto udp from any to any port = 53 keep state' ;
| echo 'pass out quick proto tcp from any to any port = 53 keep state' ;
| echo 'pass in  quick proto tcp from any to any port = 22 keep state' ;
| echo 'pass out quick proto tcp from any to any port = 22 keep state' ;
| echo 'block in all' ;
| echo 'block out all' ;
|   } | ipf -Fa -f -
|   }
|
|   if test $# -ne 1 ; then
|   echo >&2 "usage: ipf-load.sh ruleset-path"
|   paranoid_rules
|   exit 1
|   fi
|
|   ipf_load_rules="$1"
|   ipf_rules='/etc/ipf.rules'
|
|   if test ! -f "${ipf_load_rules}" ; then
|   echo >&2 "${ipf_load_rules}: ruleset missing, blocking (almost) all 
network access."
|   paranoid_rules
|   exit 1
|   fi
|
|   /bin/rm -f "${ipf_rules}" && \
|   ln -s "${ipf_load_rules}" "${ipf_rules}" && \
|   ipf -Fa -f "${ipf_load_rules}"
|
|   if test $? -ne 0 ; then
|   echo >&2 "${ipf_load_rules}: ruleset failed to load, blocking (almost) 
all network access."
|   paranoid_rules
|   exit 1
|   fi

> Is there a better way? I have read man ipf but didnt come out with any
> ideas.

Well, the 'best' way is the one you like the most, I guess :)

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


NFS server not responding, new in 6.0

2006-05-02 Thread David Kirchner

We recently replaced FreeBSD 4.5 with 6.0-RELEASE on a pair of servers.
One of the servers runs rsync to copy its contents to the other server,
over a NFS mount. Everything worked just fine under 4.5, but with 6.0,
we're seeing dozens of these errors every rsync:

May  2 14:00:59 xxx1 kernel: nfs server xxx2:/usr: not responding

The rsync does eventually complete successfully. The NFS client system
uses the em0 driver on a gigabit port, and the NFS server system uses
the fxp0 driver on a 100Mbit/full duplex port. The client system
doesn't come close to 100Mbit during the rsync (or otherwise) -- more
like 5Mbit. Neither server is what I'd consider "busy" -- they're actually
basically idle unless this script or some crons are running.

We're using NFSv3 soft, interruptable mounts. We've tried using TCP and
UDP, and have tried different -r and -w sizes, up to 32768 each. We've tried
it with and without nfsiod.

We haven't tried changing the mount_nfs -D option, because that seems
like it would only serve to mask the real problem, whatever that is.

a) Is this a real problem, or simply a reporting problem? What exactly is it
reporting if it's not a real problem?
b) If you've had this trouble before, what settings have you used to fix it?

Another issue is we're not seeing the usual "is alive again" message
you'll usually see when the server becomes unavailable and then returns.

I searched the PRs before posting this, but if there's a PR you know about
I could add a followup message to it. If you need other info, I can provide
that as well.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ipfirewall tricks

2006-05-02 Thread Bryan Curl

I want to limit time my kids spend on the internet.
The way I am doing it is to make varying, seperate ipf.rules files and
install them from cron at the appropriate time.
Problem is, if I make a change to one file, I generally have to update all
the others accordingly.

Is there a better way? I have read man ipf but didnt come out with any
ideas.


--
--
Bryan
bc3910 'at' gmail 'dot' com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: UML editor on FreeBSD - need recommendation

2006-05-02 Thread Chris Howells

Gayn Winters wrote:

Any other recommendations for a UML editor?  Anyone using UML to
specify/model a large system to be developed under FreeBSD?  Anyone been
able to generate executable code from UML under FreeBSD?


Have a look at Umbrello. It can import C++ classes and I believe it can 
produce C++ classes based on UML diagrams.


http://uml.sf.net

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


Re: glib20

2006-05-02 Thread Kris Kennaway
On Tue, May 02, 2006 at 05:20:39PM -0500, [EMAIL PROTECTED] wrote:
> I ran into this problem with glib the other day.  Everything that uses the
> new glib seems to fail with the same error.  I was able to get around the
> problem by running the following command in the directory of the port you
> want to install:
> 
> make install PKG_CONFIG_PATH=/usr/local/libdata/pkgconfig/
> 
> I hope this helps.

This suggests a pkgconfig bug - make sure it's up-to-date.

Kris


pgpVAOQDkv5t8.pgp
Description: PGP signature


Re: nubie question - Ports - Ruby 1.8.4

2006-05-02 Thread Daniel Bye
On Tue, May 02, 2006 at 05:52:14PM -0400, Bakki Kudva wrote:
> FIXED! I have Ruby 1.8.4 in my tree now.
> 
> I had not done...
> # portsnap extract
> 
> I was a bit mislead because when I did
> # portsnap fetch
> after downloading it said it was 'extracting'. So I skipped extract. My bad.
> 
> I still would like to ask you gurus a couple of questions if I may.
> 
> 1. During sysinstall it had asked me if I wanted the ports collection
> installed which had 13,000 apps, would take 400MB of space yada yada
> yada...I assumed by saying yes and since I was installing off the boot
> only CD I would get the LATEST ports from the main site. Why didn't I?
> In chapter 4.5 of the handbook portsnap is given as an alternative to
> sysinstall. So what is the difference between ports installed via
> sysinstall vs. that from portsnap?

The ports tree installed by the CD was made at the same time the release
was cut.  So, due to the enormous amount of work done by all the many
porters, it is pretty much obsolete within minutes.  The reason?
Logistics, pure and simple.  It would be impracticable to try and keep
the ports tree up to date for the ISOs.  I think this applies to the
boot-only ISO as well - the installer knows which release it is
installing, so it automatically goes and finds the version of the ports
tree that was released at the same time.

If you have a reasonable connection to the Internet, use portsnap or
cvsup to keep your ports tree up to date, as the handbook says.

Portsnap maintains some metadata so it can easily track which snapshot
you last applied, and can find the appropriate updates to bring you up
to date.  By contrast, as explained above, sysinstall will install the
ports tree as it was at the time your release was cut.  (I believe it is
possible to tell it to install a different release's ports tree, but why
you'd want to isn't quite clear.)

Others will assuredly know more of this than I, and if I have anything
wrong they will doubtless correct me!  (Well, I hope so, any way ;-)

> 2. Unrelated: I did a pkg_version and see that there are a whole bunch
> of packages (may be 80-90%) which need updating. I am just trying
> FreeBSD for now on my laptop which is an old Gateway with Pentium II
> 400 MHz. It took nearly 2-3 days (it would pause with some dialog
> which needed human input so I am not sure how long it might have taken
> with me sitting in front of it all the time) to install gnome2 from
> the ports. I don't know how long it might take to do a complete system
> upgrade. So the question I have is on current technology (say Athlon64
> or Coreduo with 1GB of RAM) how long does it take to install a
> complete system + upgrade it to the ports tree for a X-developer
> workstation? Sorry about the loaded question.

I have an Acer Aspire 1360 laptop (AMD Sempron 3000+ (actually rated at
1801.04 MHz, according to dmesg(1)), 512MB RAM), and
it takes around 9 or 10 hours to build OpenOffice 2.0.  I don't use
Gnome or KDE, so don't have any experience of build times on this
particular machine.  A buildworld takes around an hour and a half to two
hours (I don't tend to take measurements, I'm afraid, so am probably not
the best person to answer this bit of your question!)  I remember from a
previous job, using some AMD64 machines with 2GB RAM, a buildworld was
complete in something like 45 minutes.  That was 5.2-RELEASE.

On the other hand, I have an UltraSPARC machine that takes about 9 hours
to buildworld...

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75  B79A 8B17 F97C 1622 166A
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpT0mIwt001V.pgp
Description: PGP signature


Re: glib20

2006-05-02 Thread savagehrt
I ran into this problem with glib the other day.  Everything that uses the
new glib seems to fail with the same error.  I was able to get around the
problem by running the following command in the directory of the port you
want to install:

make install PKG_CONFIG_PATH=/usr/local/libdata/pkgconfig/

I hope this helps.

Drew

> Kris,
>
> here You are - this is the output of the make command executed in
> ports/mail/evolution
>
> ---
>
> ===>  Vulnerability check disabled, database not found
> ===>  Found saved configuration for evolution-2.6.1
> ===>  Extracting for evolution-2.6.1
> => MD5 Checksum OK for gnome2/evolution-2.6.1.tar.bz2.
> => SHA256 Checksum OK for gnome2/evolution-2.6.1.tar.bz2.
> ===>  Patching for evolution-2.6.1
> ===>  Applying FreeBSD patches for evolution-2.6.1
> ===>   evolution-2.6.1 depends on executable: gmake - found
> ===>   evolution-2.6.1 depends on executable: bison - found
> ===>   evolution-2.6.1 depends on file: /usr/local/bin/intltool-extract -
> found
> ===>   evolution-2.6.1 depends on file:
> /usr/X11R6/libdata/pkgconfig/gnome-mime-data-2.0.pc - found
> ===>   evolution-2.6.1 depends on executable: pkg-config - found
> ===>   evolution-2.6.1 depends on shared library: nss3.1 - found
> ===>   evolution-2.6.1 depends on shared library: gpilotdconduit.2 - found
> ===>   evolution-2.6.1 depends on shared library: dbus-glib-1.2 - found
> ===>   evolution-2.6.1 depends on shared library: intl - found
> ===>   evolution-2.6.1 depends on shared library: esd.2 - found
> ===>   evolution-2.6.1 depends on shared library: atk-1.0.0 - found
> ===>   evolution-2.6.1 depends on shared library: edataserver-1.2.7 - not
> found
> ===>Verifying install for edataserver-1.2.7 in
> /usr/ports/databases/evolution-data-server
> ===>  Vulnerability check disabled, database not found
> ===>  Extracting for evolution-data-server-1.6.1
> => MD5 Checksum OK for gnome2/evolution-data-server-1.6.1.tar.bz2.
> => SHA256 Checksum OK for gnome2/evolution-data-server-1.6.1.tar.bz2.
> ===>  Patching for evolution-data-server-1.6.1
> ===>   evolution-data-server-1.6.1 depends on file: /usr/local/bin/libtool
> -
> found
> ===>  Applying FreeBSD patches for evolution-data-server-1.6.1
> ===>   evolution-data-server-1.6.1 depends on executable: gmake - found
> ===>   evolution-data-server-1.6.1 depends on executable: bison - found
> ===>   evolution-data-server-1.6.1 depends on file: /usr/local/bin/libtool
> -
> found
> ===>   evolution-data-server-1.6.1 depends on file:
> /usr/local/bin/intltool-extract - found
> ===>   evolution-data-server-1.6.1 depends on file:
> /usr/X11R6/libdata/pkgconfig/gnome-mime-data-2.0.pc - found
> ===>   evolution-data-server-1.6.1 depends on executable: pkg-config -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library: soup-2.2.8 -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library: nss3.1 -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library: tasn1.2 -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library: ldap-2.2.7 -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library: intl - found
> ===>   evolution-data-server-1.6.1 depends on shared library: esd.2 -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library: atk-1.0.0 -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library: gconf-2.4 -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library: glib-2.0.0 -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library: gnomevfs-2.0
> -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library:
> gtk-x11-2.0.0
> - found
> ===>   evolution-data-server-1.6.1 depends on shared library: art_lgpl_2.5
> -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library: bonobo-2.0 -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library: bonoboui-2.0
> -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library: glade-2.0.0
> -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library: gnome-2.0 -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library:
> gnomecanvas-2.0 - found
> ===>   evolution-data-server-1.6.1 depends on shared library: gnomeui-2.0
> -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library: IDL-2.0 -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library: xml2.5 -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library: xslt.2 -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library: linc.1 -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library: ORBit-2.0 -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library: pango-1.0.0
> -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library: X11.6 -
> found
> ===>  Configuring for evolution-

Re: UML editor on FreeBSD - need recommendation

2006-05-02 Thread Pietro Cerutti

On 5/2/06, Gayn Winters <[EMAIL PROTECTED]> wrote:

> From: Pietro Cerutti [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, May 02, 2006 11:55 AM
> To: [EMAIL PROTECTED]; FreeBSD
> Subject: Re: UML editor on FreeBSD - need recommendation

> On 5/2/06, Gayn Winters <[EMAIL PROTECTED]> wrote:
> > Would anyone please recommend a graphical UML editor to run
> on FreeBSD?
> > I'd install an appropriate GUI for it.
>
> Personally, I use Poseidon from Gentleware.
> You can find it in the ports system under java/poseidon.

> > Ideally it would support UML 3.0 and the emerging system engineering
> > profile SysML.
>
> As stated at http://www.uml.org/, the latest UML standard is 2.0. Am I
> missing something?
> I think Poseidon doesn't support SysML at the moment.

Thanks!  My error.  UML 2.0 is the latest.  I'm not sure about the
latest version of XMI for interchange; however, googling for << SysML
Poseidon >> gets several hits that seem to indicate that Poseidon can
import an XMI description of SysML, and hence it will support SysML. (I
don't understand how graphics are interchanged.) This is probably true
for any UML editor that is keeping up with UML and XMI, but I'm learning
as I go.  See for example,
http://homepages.nildram.co.uk/~esukpc20/exff2005_05/exff_legacy/docs/sy
sml_ap233_assembly.html


I'm not an expert in those things, I'm just an end-user, sorry...



I assume the port java/poseidon is the "community edition" of Poseidon,
i.e. the free and somewhat stripped down edition.


You can choose your edition at `make configure` time


(http://gentleware.com/edcompare.0.html) I take it you find it adequate.
Does the port depend on any particular GUI?  Is the performance ok under
FreeBSD's Java?


No, AFAIK Poseidon it's completely written in Java, so it depends only
on java (=> 1.4)
The performance could be improved. In deed, it takes quite a long time
to load, but once running it's quite fast...



Bristol Systems Inc.
714/532-6776
www.bristolsystems.com







--
Pietro Cerutti
<[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: more GNOME upgrade breakage??

2006-05-02 Thread Kris Kennaway
On Tue, May 02, 2006 at 05:03:22PM -0400, Robert Huff wrote:
> 
>   Having sucessfully completed the Gnome upgrade, I think I've
> found more KDE related breakage.
> 
> huff@> kpoker
> /libexec/ld-elf.so.1: Shared object "libdns_sd.so" not found, required by 
> "kpoker" 
> 
>   Attempting to rebuild kdegames (in the expectation this would
> sort out the dns-related xhanges) gets me here:

The library comes from some other port, then.

How did you do your upgrade?  Unless you were doing something like
portupgrade -a, you're bound to run into this kind of issue when
updating across major changes.

Kris

pgpXF1jpEl0tM.pgp
Description: PGP signature


Re: glib20

2006-05-02 Thread Kris Kennaway
On Tue, May 02, 2006 at 09:28:38PM +, Arno Schleich wrote:

> checking for GLIB - version >= 2.0.0... no
> *** Could not run GLIB test program, checking why...
> *** The test program failed to compile or link. See the file config.log for 
> the
> *** exact error that occured. This usually means GLIB is incorrectly 
> installed.
> checking for pthread_create in -pthread... yes
> checking if pthread_t can be cast to a guint64 without loss of data... no
> checking what warning flags to pass to the C compiler... -Wall 
> -Wmissing-prototypes
> checking what language compliance flags to pass to the C compiler...
> checking for pkg-config... (cached) /usr/local/bin/pkg-config
> checking for orbit2-config... /usr/local/bin/orbit2-config
> checking for ORBit - version >= 2.9.8... no
> *** Could not run ORBIT test program, checking why...
> *** The test program failed to compile or link. See the file config.log for 
> the
> *** exact error that occured. This usually means ORBIT was incorrectly 
> installed
> *** or that you have moved ORBit since it was installed. In the latter 
> case, you
> *** may want to edit the orbit2-config script: /usr/local/bin/orbit2-config
> checking for orbit-idl-2... /usr/local/bin/orbit-idl-2
> checking for CORBA include paths... -I  -I
> checking for libgnomeui server directory...
> checking for E_DATA_SERVER_CFLAGS...
> checking for E_DATA_SERVER_LIBS...
> ===>  Script "configure" failed unexpectedly.
> Please run the gnomelogalyzer, available from
> "http://www.freebsd.org/gnome/gnomelogalyzer.sh";, which will diagnose the
> problem and suggest a solution. If - and only if - the gnomelogalyzer cannot
> solve the problem, report the build failure to the FreeBSD GNOME team at
> [EMAIL PROTECTED], and attach (a)
> "/mnt/TrekStor120G/ports/databases/evolution-data-server/work/evolution-data-server-1.6.1/config.log",
> (b) the output of the failed make command, and (c) the gnomelogalyzer 
> output.
> Also, it might be a good idea to provide an overview of all packages 
> installed
> on your system (i.e. an `ls /var/db/pkg`). Put your attachment up on any
> website, copy-and-paste into http://freebsd-gnome.pastebin.com, or use
> send-pr(1) with the attachment. Try to avoid sending any attachments to the
> mailing list ([EMAIL PROTECTED]), because attachments sent to FreeBSD 
> mailing
> lists are usually discarded by the mailing list software.
> *** Error code 1
> 
> Stop in /mnt/TrekStor120G/ports/databases/evolution-data-server.
> *** Error code 1

OK, so what about the rest of the advice? :)

Kris


pgpesEbVANwy9.pgp
Description: PGP signature


Re: Installation date ?

2006-05-02 Thread [EMAIL PROTECTED]

On 5/2/06, S t i n g r a y <[EMAIL PROTECTED]> wrote:

Its been a long time since i installed my FreeBSD
server & its been running since then , how can i find
the installation date & time of my server ?


If you used sysinstall to update (or create) anything
in /etc/rc.conf it leaves a comment line with the date.

Again, assuming the clock was correct at installation.

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


Re: nubie question - Ports - Ruby 1.8.4

2006-05-02 Thread Bakki Kudva

FIXED! I have Ruby 1.8.4 in my tree now.

I had not done...
# portsnap extract

I was a bit mislead because when I did
# portsnap fetch
after downloading it said it was 'extracting'. So I skipped extract. My bad.

I still would like to ask you gurus a couple of questions if I may.

1. During sysinstall it had asked me if I wanted the ports collection
installed which had 13,000 apps, would take 400MB of space yada yada
yada...I assumed by saying yes and since I was installing off the boot
only CD I would get the LATEST ports from the main site. Why didn't I?
In chapter 4.5 of the handbook portsnap is given as an alternative to
sysinstall. So what is the difference between ports installed via
sysinstall vs. that from portsnap?

2. Unrelated: I did a pkg_version and see that there are a whole bunch
of packages (may be 80-90%) which need updating. I am just trying
FreeBSD for now on my laptop which is an old Gateway with Pentium II
400 MHz. It took nearly 2-3 days (it would pause with some dialog
which needed human input so I am not sure how long it might have taken
with me sitting in front of it all the time) to install gnome2 from
the ports. I don't know how long it might take to do a complete system
upgrade. So the question I have is on current technology (say Athlon64
or Coreduo with 1GB of RAM) how long does it take to install a
complete system + upgrade it to the ports tree for a X-developer
workstation? Sorry about the loaded question.

Thank you all for helping me resolve this so fast.

-bakki

On 5/2/06, Daniel Bye <[EMAIL PROTECTED]> wrote:

On Tue, May 02, 2006 at 04:37:03PM -0400, Bakki Kudva wrote:
> I am still running into this problem. I upgraded my ports using
> portsnap. Ruby version in my ports tree is still 1.8.2  (according to
> distinfo) while on the web site it shows as ruby-1.8.4_6,1
>
> Also the distinfo on the web site the version was upgraded to 1.8.4
> about 3 months ago!
>
> So why am I not pulling in the newer version?
>
> baffled,

Hmm.  The first time you use portsnap to update your ports tree, you
need to

 # portsnap fetch
 # portsnap extract

Then, at subsequent updates, you say

 # portsnap fetch
 # portsnap update

You need to run both to update properly.

If that doesn't get you sorted, we'll take another look!

Dan

--
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75  B79A 8B17 F97C 1622 166A
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \




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


Re: Getting xmms to use glib-2

2006-05-02 Thread Svein Halvor Halvorsen

On 5/2/06, Norberto Meijome <[EMAIL PROTECTED]> wrote:

Cheers Svein - tried audacious but couldn;t get sound output to work at all.
esound and/or oss . realplayer  would play the same file just fine (mp3)


Sorry, but I can't help you. It works here.
I don't know the code base, so I can only suggest the standard
troubleshooting techniques: To check wheter or not the dsp device is
opened, monitoring your esound server, etc.

About the plugins-question: I'm not sure, but I don't think you can
use precompiled xmms-plugins with Audacious, but most probably just
needs to be recompiled against the new library, with little or no
changes to the source code at all. Also, most plugins are already
ported to Audacious and are included in a vanilla install, like all
the standard input and output plugins.


Also tried xmms2 and several of their clients, but they seem to be very early
in their development stages. I'll be using mplayer for now...


Fair enough, most do indeed seem a bit immature.
Whatever you use, I hope it meets your needs.


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


Re: glib20

2006-05-02 Thread Arno Schleich

Kris,

here You are - this is the output of the make command executed in 
ports/mail/evolution


---

===>  Vulnerability check disabled, database not found
===>  Found saved configuration for evolution-2.6.1
===>  Extracting for evolution-2.6.1
=> MD5 Checksum OK for gnome2/evolution-2.6.1.tar.bz2.
=> SHA256 Checksum OK for gnome2/evolution-2.6.1.tar.bz2.
===>  Patching for evolution-2.6.1
===>  Applying FreeBSD patches for evolution-2.6.1
===>   evolution-2.6.1 depends on executable: gmake - found
===>   evolution-2.6.1 depends on executable: bison - found
===>   evolution-2.6.1 depends on file: /usr/local/bin/intltool-extract - 
found
===>   evolution-2.6.1 depends on file: 
/usr/X11R6/libdata/pkgconfig/gnome-mime-data-2.0.pc - found

===>   evolution-2.6.1 depends on executable: pkg-config - found
===>   evolution-2.6.1 depends on shared library: nss3.1 - found
===>   evolution-2.6.1 depends on shared library: gpilotdconduit.2 - found
===>   evolution-2.6.1 depends on shared library: dbus-glib-1.2 - found
===>   evolution-2.6.1 depends on shared library: intl - found
===>   evolution-2.6.1 depends on shared library: esd.2 - found
===>   evolution-2.6.1 depends on shared library: atk-1.0.0 - found
===>   evolution-2.6.1 depends on shared library: edataserver-1.2.7 - not 
found
===>Verifying install for edataserver-1.2.7 in 
/usr/ports/databases/evolution-data-server

===>  Vulnerability check disabled, database not found
===>  Extracting for evolution-data-server-1.6.1
=> MD5 Checksum OK for gnome2/evolution-data-server-1.6.1.tar.bz2.
=> SHA256 Checksum OK for gnome2/evolution-data-server-1.6.1.tar.bz2.
===>  Patching for evolution-data-server-1.6.1
===>   evolution-data-server-1.6.1 depends on file: /usr/local/bin/libtool - 
found

===>  Applying FreeBSD patches for evolution-data-server-1.6.1
===>   evolution-data-server-1.6.1 depends on executable: gmake - found
===>   evolution-data-server-1.6.1 depends on executable: bison - found
===>   evolution-data-server-1.6.1 depends on file: /usr/local/bin/libtool - 
found
===>   evolution-data-server-1.6.1 depends on file: 
/usr/local/bin/intltool-extract - found
===>   evolution-data-server-1.6.1 depends on file: 
/usr/X11R6/libdata/pkgconfig/gnome-mime-data-2.0.pc - found

===>   evolution-data-server-1.6.1 depends on executable: pkg-config - found
===>   evolution-data-server-1.6.1 depends on shared library: soup-2.2.8 - 
found

===>   evolution-data-server-1.6.1 depends on shared library: nss3.1 - found
===>   evolution-data-server-1.6.1 depends on shared library: tasn1.2 - 
found
===>   evolution-data-server-1.6.1 depends on shared library: ldap-2.2.7 - 
found

===>   evolution-data-server-1.6.1 depends on shared library: intl - found
===>   evolution-data-server-1.6.1 depends on shared library: esd.2 - found
===>   evolution-data-server-1.6.1 depends on shared library: atk-1.0.0 - 
found
===>   evolution-data-server-1.6.1 depends on shared library: gconf-2.4 - 
found
===>   evolution-data-server-1.6.1 depends on shared library: glib-2.0.0 - 
found
===>   evolution-data-server-1.6.1 depends on shared library: gnomevfs-2.0 - 
found
===>   evolution-data-server-1.6.1 depends on shared library: gtk-x11-2.0.0 
- found
===>   evolution-data-server-1.6.1 depends on shared library: art_lgpl_2.5 - 
found
===>   evolution-data-server-1.6.1 depends on shared library: bonobo-2.0 - 
found
===>   evolution-data-server-1.6.1 depends on shared library: bonoboui-2.0 - 
found
===>   evolution-data-server-1.6.1 depends on shared library: glade-2.0.0 - 
found
===>   evolution-data-server-1.6.1 depends on shared library: gnome-2.0 - 
found
===>   evolution-data-server-1.6.1 depends on shared library: 
gnomecanvas-2.0 - found
===>   evolution-data-server-1.6.1 depends on shared library: gnomeui-2.0 - 
found
===>   evolution-data-server-1.6.1 depends on shared library: IDL-2.0 - 
found

===>   evolution-data-server-1.6.1 depends on shared library: xml2.5 - found
===>   evolution-data-server-1.6.1 depends on shared library: xslt.2 - found
===>   evolution-data-server-1.6.1 depends on shared library: linc.1 - found
===>   evolution-data-server-1.6.1 depends on shared library: ORBit-2.0 - 
found
===>   evolution-data-server-1.6.1 depends on shared library: pango-1.0.0 - 
found

===>   evolution-data-server-1.6.1 depends on shared library: X11.6 - found
===>  Configuring for evolution-data-server-1.6.1
checking for a BSD-compatible install... /usr/bin/install -c -o root -g 
wheel

checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether gmake sets $(MAKE)... yes
checking how to create a ustar tar archive... plaintar
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by gmake... GNU
checking for gcc... cc
checking for C compiler default ou

Re: Getting xmms to use glib-2

2006-05-02 Thread Norberto Meijome
On Tue, 2 May 2006 00:42:20 +0200
"Svein Halvor Halvorsen" <[EMAIL PROTECTED]> wrote:

> multimedia/audacious
> multimedia/bmpx

Cheers Svein - tried audacious but couldn;t get sound output to work at all.
esound and/or oss . realplayer  would play the same file just fine (mp3)

Also tried xmms2 and several of their clients, but they seem to be very early
in their development stages. I'll be using mplayer for now...
thx
Beto
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Getting xmms to use glib-2

2006-05-02 Thread Norberto Meijome
On Wed, 3 May 2006 03:49:43 +1000 (EST)
Ian Smith <[EMAIL PROTECTED]> wrote:

> On Tue, 2 May 2006 [EMAIL PROTECTED] wrote:
> 
>  > i've rebuilt everything that used glib-1.2* to use glib-2.10.* without a
>  > problem, with the exception of xmms (multimedia/xmms). 
>  > 
>  > xmms keeps installing glib-1.2. Then, glib-config is run, shows the 1.2
>  > version, which doesn't match the latest package (2.10.2, which does NOT
>  > support glib-config, but pkg-config instead) and the whole build process
>  > bails out (capture below).
>  > 
>  > Is it not possible to build  xmms with glib-2? 
>  > I tried setting the env GLIB_CONFIG to 2.10.2 with no luck. 
>  > 
>  > Should I uninstall glib-2, install xmms with glib1.2, then reinstall
>  > glib-2? 
> 
> Beto, I don't know if this is a useful data point, but on 5.4-RELEASE I
> recently installed xmms from ports, and recall it whinged about the glib
> 2.6.3 version already installed, but said (as I recall - wish I'd saved
> the output) that it would build itself with glib-1.2 anyway, which I
> assume it must have.  So I would up with both glibs installed:
> 
> paqi# pkg_info | grep "glib\|xmms"
> glib-1.2.10_11  Some useful routines of C programming (previous stable
> vers glib-2.6.3_1Some useful routines of C programming (current
> stable versi taglib-1.3.1Library for manipulating ID3 tags and Ogg
> comments xmms-1.2.10_3   X Multimedia System --- An audio player with a
> Winamp GUI
> 
> Older versions, I know, but xmms is working fine.

Hi Ian, thanks for the info.

Yes, i had end up with that situation, but i believe glib2 was also needed for
other ports (gtk2, i think). This was causing some conflicts, as said before...
so decided to upgrade everything to glib2, which worked fine for all ports
other than xmms. 

As suggested by another poster, I'm trying other players :) (I realised i had
mplayer , xfce4media and xmms installed... mplayer works just fine with glib2,
so using it instead for now). 

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


RE: UML editor on FreeBSD - need recommendation

2006-05-02 Thread Gayn Winters
> From: Pietro Cerutti [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, May 02, 2006 11:55 AM
> To: [EMAIL PROTECTED]; FreeBSD
> Subject: Re: UML editor on FreeBSD - need recommendation

> On 5/2/06, Gayn Winters <[EMAIL PROTECTED]> wrote:
> > Would anyone please recommend a graphical UML editor to run 
> on FreeBSD?
> > I'd install an appropriate GUI for it.
> 
> Personally, I use Poseidon from Gentleware.
> You can find it in the ports system under java/poseidon.

> > Ideally it would support UML 3.0 and the emerging system engineering
> > profile SysML.
> 
> As stated at http://www.uml.org/, the latest UML standard is 2.0. Am I
> missing something?
> I think Poseidon doesn't support SysML at the moment.

Thanks!  My error.  UML 2.0 is the latest.  I'm not sure about the
latest version of XMI for interchange; however, googling for << SysML
Poseidon >> gets several hits that seem to indicate that Poseidon can
import an XMI description of SysML, and hence it will support SysML. (I
don't understand how graphics are interchanged.) This is probably true
for any UML editor that is keeping up with UML and XMI, but I'm learning
as I go.  See for example,
http://homepages.nildram.co.uk/~esukpc20/exff2005_05/exff_legacy/docs/sy
sml_ap233_assembly.html

I assume the port java/poseidon is the "community edition" of Poseidon,
i.e. the free and somewhat stripped down edition.
(http://gentleware.com/edcompare.0.html) I take it you find it adequate.
Does the port depend on any particular GUI?  Is the performance ok under
FreeBSD's Java?

I found the following list of UML editors useful
http://en.wikipedia.org/wiki/List_of_UML_tools
The following link has interesting comments/opinions on this topic:
http://plg.uwaterloo.ca/~migod/uml.html
It in turn has a link to one vendor's idea of a list of criteria for a
UML editing tool:
http://www.objectsbydesign.com/tools/modeling_tools.html.

Any other recommendations for a UML editor?  Anyone using UML to
specify/model a large system to be developed under FreeBSD?  Anyone been
able to generate executable code from UML under FreeBSD?

-gayn

Bristol Systems Inc.
714/532-6776
www.bristolsystems.com 



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


Re: nubie question - Ports - Ruby 1.8.4

2006-05-02 Thread Daniel Bye
On Tue, May 02, 2006 at 04:37:03PM -0400, Bakki Kudva wrote:
> I am still running into this problem. I upgraded my ports using
> portsnap. Ruby version in my ports tree is still 1.8.2  (according to
> distinfo) while on the web site it shows as ruby-1.8.4_6,1
> 
> Also the distinfo on the web site the version was upgraded to 1.8.4
> about 3 months ago!
> 
> So why am I not pulling in the newer version?
> 
> baffled,

Hmm.  The first time you use portsnap to update your ports tree, you
need to

 # portsnap fetch
 # portsnap extract

Then, at subsequent updates, you say

 # portsnap fetch
 # portsnap update

You need to run both to update properly.

If that doesn't get you sorted, we'll take another look!

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75  B79A 8B17 F97C 1622 166A
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpCOp3Nt5uyd.pgp
Description: PGP signature


more GNOME upgrade breakage??

2006-05-02 Thread Robert Huff

Having sucessfully completed the Gnome upgrade, I think I've
found more KDE related breakage.

huff@> kpoker
/libexec/ld-elf.so.1: Shared object "libdns_sd.so" not found, required by 
"kpoker" 

Attempting to rebuild kdegames (in the expectation this would
sort out the dns-related xhanges) gets me here:

selectserver_widget.cpp:42: warning: unused variable 'hostLabel'
selectserver_widget.cpp:47: warning: unused variable 'portLabel'
/bin/sh /usr/local/bin/libtool --silent --tag=CXX --mode=link c++  
-Wno-long-long -Wundef -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O 
-pipe -g -march=pentium4 -Wno-non-virtual-dtor -fno-exceptions -fno-check-new 
-fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT 
-DQT_NO_TRANSLATION-o atlantik -L/usr/local/lib -L/usr/X11R6/lib   
-D_THREAD_SAFE -pthread  -L/usr/local/lib -R /usr/local/lib -R /usr/local/lib 
-R /usr/X11R6/lib -R /usr/X11R6/lib -R /usr/local/lib atlantik.o configdlg.o 
event.o eventlogwidget.o main.o monopigator.o selectconfiguration_widget.o 
selectgame_widget.o selectserver_widget.o ../libatlantikui/libatlantikui.la 
../libatlantikclient/libatlantikclient.la ../../libkdegames/libkdegames.la 
-lkio  -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg  
-L/usr/X11R6/lib
/usr/bin/ld: cannot find -ldns_sd
gmake[3]: *** [atlantik] Error 1
gmake[3]: Leaving directory 
`/usr/ports/games/kdegames3/work/kdegames-3.5.2/atlantik/client'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory 
`/usr/ports/games/kdegames3/work/kdegames-3.5.2/atlantik'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/games/kdegames3/work/kdegames-3.5.2'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/games/kdegames3.



Robert Huff

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


trouble setting up GDM

2006-05-02 Thread Peter
Hi everyone.  I am running fluxbox on my 5.4 system and I am having
trouble setting up gdm.  Can anyone help?

$ ls -lh /usr/X11R6/etc/gdm
total 38
drwxr-xr-x  2 root  wheel   512B May  2 11:00 Init
drwxr-xr-x  2 root  wheel   512B May  2 11:00 PostLogin
drwxr-xr-x  2 root  wheel   512B May  2 11:00 PostSession
drwxr-xr-x  2 root  wheel   512B May  2 11:00 PreSession
drwxr-xr-x  2 root  wheel   512B May  2 16:12 Sessions
-r-xr-xr-x  1 root  wheel   5.4K May  2 11:00 XKeepsCrashing
-r-xr-xr-x  1 root  wheel   6.2K May  2 11:00 Xsession
-rw-r--r--  1 root  wheel   1.8K May  2 16:09 custom.conf
-r--r--r--  1 root  wheel   1.8K May  2 11:00 custom.conf.default
-r--r--r--  1 root  wheel   4.0K May  2 11:00 locale.alias
-r--r--r--  1 root  wheel   4.0K May  2 11:00 locale.alias.orig
drwxr-xr-x  2 root  wheel   512B May  2 11:00 modules


The fluxbox docs say to create the script 'fluxbox' under the Sessions
directory:

$ cat fluxbox
#!/bin/sh
exec /usr/X11R6/etc/gdm/Xsession /usr/X11R6/bin/fluxbox


But it doesn't work.  This is what I get:

$ cat .xsession-errors 
/usr/X11R6/etc/gdm/PreSession/Default: Registering your session with
wtmp and utmp
/usr/X11R6/etc/gdm/PreSession/Default: running: /usr/X11R6/bin/sessreg
-a -w /var/log/wtmp -u /var/run/utmp -x "/var/gdm/:1.Xservers" -h "" -l
":1" "peter"
/usr/X11R6/etc/gdm/Xsession: Beginning session setup...
/usr/X11R6/etc/gdm/Xsession: Cannot find Xclients
/usr/X11R6/etc/gdm/Xsession: Setup done, will execute:
/usr/bin/ssh-agent -- xsm
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  42 (X_SetInputFocus)
  Serial number of failed request:  202
  Current serial number in output stream:  203


Also, the gdmsetup utility (that edits custom.conf above) does not
start no matter what I do with the DISPLAY variable:

(gdmsetup:804): Gtk-WARNING **: cannot open display:

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Clamav Install failed

2006-05-02 Thread Atom Powers

This is not a 6.1 specific issue.


On 5/1/06, Bryan Curl <[EMAIL PROTECTED]> wrote:
>
> #cd /usr/ports/security/clamav
> #make install clean
> => Attempting to fetch from
> ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
> fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/unarj-2.65.tgz:
> Network is unreachable


There's your error: "Network is unreachable."
Can this system download files flom ftp.FreeBSD.org?
Is your ports tree updated?
Can you locate that file, fetch it manually, put it in
/usr/ports/distfiles, and try again?


> => Couldn't fetch it - please try to retrieve this
> => port manually into /usr/ports/distfiles/ and try again.

Read "download the file yourself and try again."



--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Clamav Install failed

2006-05-02 Thread Bryan Curl

I thought it might be related to the fact that 6.1 is so new.
I pressumed that if some of the files were there for 6.1 all of them would
be.
I think I will wait until it is up to snuff. Compiling raw unported C is not
my strong suit.

Thanks for the tip!

On 5/2/06, Martin Hepworth <[EMAIL PROTECTED]> wrote:


Bryan

have you tried downloading the source file from www.clamav.net and
compiling from source

Remember 6.1 is still a release candiate...

--
martin

On 5/1/06, Bryan Curl <[EMAIL PROTECTED]> wrote:

> Clamav'make install clean' from the ports collection failed with the
following output.
It retrieved several other needed files prior to this error.
I also tried pkg_add -r clamav with a less verbose error.
Can anyone point in the right direction?

# uname -a
FreeBSD Walnut.bc.net 6.1-RC FreeBSD 6.1-RC #1: Wed Apr 12 09:42:22 MDT
2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

#cd /usr/ports/security/clamav
#make install clean
=> Attempting to fetch from
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/unarj-2.65.tgz:
Network is unreachable
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

Stop in /usr/ports/archivers/unarj.
*** Error code 1

Stop in /usr/ports/security/clamav.
/usr/ports/security/clamav Walnut SuperUser#>


--
--
Bryan
bc3910 'at' gmail 'dot' com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "
[EMAIL PROTECTED]"





--
--
Bryan
bc3910 'at' gmail 'dot' com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Asus P4PE audio and lan driver

2006-05-02 Thread Lowell Gilbert

I thought the base system had drivers for those devices on that
board.  In fact, I though the amd64 and i386 releases both did so.  

What version of FreeBSD are you trying it on?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: nubie question - Ports - Ruby 1.8.4

2006-05-02 Thread Zimmerman, Eric
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owner-freebsd-
> [EMAIL PROTECTED] On Behalf Of Bakki Kudva
> Sent: Tuesday, May 02, 2006 3:37 PM
> To: freebsd-questions@freebsd.org
> Subject: Re: nubie question - Ports - Ruby 1.8.4
> 
> I am still running into this problem. I upgraded my ports using
> portsnap. Ruby version in my ports tree is still 1.8.2  (according to
> distinfo) while on the web site it shows as ruby-1.8.4_6,1
> 
> Also the distinfo on the web site the version was upgraded to 1.8.4
> about 3 months ago!
> 
> So why am I not pulling in the newer version?
> 

Did you:

portsnap fetch
Portsnap update

You need to do both every time in order to update the ports collection
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: X11/xterm Unicode woes

2006-05-02 Thread Andrew Pantyukhin

On 4/14/06, Rostislav Krasny <[EMAIL PROTECTED]> wrote:

> About a month ago UTF-8 locale stopped working in my xterm.

I experience the same problem after the xterm port had been updated
from 206 to 210 version. As a workaround you can either: downgrade to
xterm-206 or use uxterm. I'm suspecting following change of xterm-209:

amend change for loading utf8Fonts resource from patch #204 to allow an
ISO-8859-1 "normal" font to be combined with an ISO-10646 font if the
latter is given via the -fw option or its corresponding resource value.

But I'm not sure. I've already contacted with Thomas Dickey
<[EMAIL PROTECTED]>, the xterm author, and sent him a trace file of
manually built xterm-212. I hope he will localize and fix the bug before
the next xterm release.



xterm-213 seems to fix it all. Yeeehaa.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: nubie question - Ports - Ruby 1.8.4

2006-05-02 Thread Bakki Kudva

I am still running into this problem. I upgraded my ports using
portsnap. Ruby version in my ports tree is still 1.8.2  (according to
distinfo) while on the web site it shows as ruby-1.8.4_6,1

Also the distinfo on the web site the version was upgraded to 1.8.4
about 3 months ago!

So why am I not pulling in the newer version?

baffled,

-bakki



On 5/2/06, Daniel Bye <[EMAIL PROTECTED]> wrote:


Read portsnap(8) for details of how to use it.  Then, when your ports
tree is up to date, you will find that Ruby 1.8.4 is available.


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


Re: graceful way of stopping X remotely

2006-05-02 Thread Parv
in message <[EMAIL PROTECTED]>,
wrote Noah thusly...
>
> Its been a while since I've had to admin X.  What is a graceful
> way to stop X when I am remote to the machine?

Send a SIGTERM (or any other appropriate one) signal to the
controlling|foreground X process?


  - Parv

-- 

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


Re: 6.1-RC2: strange kernel panic!

2006-05-02 Thread Kris Kennaway
On Tue, May 02, 2006 at 08:59:38PM +0200, [EMAIL PROTECTED]@mgEDV.net wrote:
>  
> > Your kernel ran out of memory.  Either you are using a workload that
> > is too heavy for your current settings, or there is a memory leak
> > somewhere in a kernel subsystem you are using.
> > Try to increase VM_KMEM_SIZE_MAX in your kernel, e.g.
> > options VM_KMEM_SIZE_MAX=524288000  #500MB
> > You may need to increase it further.
> 
> i'm not sure, but probably this does not solve our problem.

Don't you think you should test it instead of guessing? :-) I suggested
it because it *is* a possibility (that is why I have it in my kernel).

> this system
> is used as a compilation host only (currently) and therefore there are
> no permanently running things like databases, huge daemons, etc... only
> ssh and syslog is up in userland. so the main question to me is, where
> the memory goes on this server, and how i can prevent this type of leak.
> (and even maybe help you fixin' it ;-)
> 
> our current settings are (default in GENERIC):
> vm.kmem_size: 335544320
> vm.kmem_size_max: 335544320
> 
> the compilation system uses a 350MB swap-based memory-disk for compilation,
> the whole disks are encrypted using GELI (AES256). network traffic is low
> (only ssh commandline stuff, no huge transfers).
> 
> when i issued the "du -sk" the panic occurred.

Could be to do with GELI, I don't know about memory requirements.

> 5min ago, the system panic'd again, this time some more was logged:
> (originally, there have been >200 of these messages, numbers change,
> error=same)
> g_vfs_done():md0[WRITE(offset=346742784, length=6144)]error = 28
> g_vfs_done():md0[WRITE(offset=346750976, length=8192)]error = 28
> g_vfs_done():md0[WRITE(offset=346761216, length=6144)]error = 28
> g_vfs_done():md0[WRITE(offset=346767360, length=6144)]error = 28
> g_vfs_done():md0[WRITE(offset=346773504, length=6144)]error = 28

This is suspicious:

#define ENOSPC  28  /* No space left on device */

Are you sure you are using swap backing and not malloc?

Kris

pgplfoAV2n5lE.pgp
Description: PGP signature


Re: nubie question - Ports - Ruby 1.8.4

2006-05-02 Thread Michael P. Soulier

On 5/2/06, Bakki Kudva <[EMAIL PROTECTED]> wrote:

However when I go to /usr/ports/lang/  (I installed ports off the ftp
site) the version I see there is 1.8.2. How do I install the later
version? Thanks for your help.


Most likely you need to cvsup your ports tree. Look in the FreeBSD
handbook for how to do this.

Mike
--
Michael P. Soulier <[EMAIL PROTECTED]>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Installation date ?

2006-05-02 Thread David Kelly
On Tue, May 02, 2006 at 11:18:50AM -0700, Kent Stewart wrote:
> 
> Look at the date of the kernel in /boot. That was the time it was last 
> updated. You can use "uname -a" to find which version and also when it 
> was compiled.

Thought there was once an option in ls to show birth/creation date of a
file. stat(1) does the job, so "stat /var" to see when /var was created
which is probably the same time as the system was installed. Assuming
the system clock was correct during the operation.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Asus P4PE audio and lan driver

2006-05-02 Thread Dhénin Jean-Jacques

me too
2006/5/2, Nikusha kobaxidze <[EMAIL PROTECTED]>:

hey man ... i need P4PE MOTHERBOARD  sound driver  ... if you know fro mwhere 
can i download it please tell me dude :) bye bye

-
How low will we go? Check out Yahoo! Messenger's low  PC-to-Phone call rates.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"




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


Re: UML editor on FreeBSD - need recommendation

2006-05-02 Thread Pietro Cerutti

On 5/2/06, Gayn Winters <[EMAIL PROTECTED]> wrote:

Would anyone please recommend a graphical UML editor to run on FreeBSD?
I'd install an appropriate GUI for it.


Personally, I use Poseidon from Gentleware.
You can find it in the ports system under java/poseidon.



Ideally it would support UML 3.0 and the emerging system engineering
profile SysML.


As stated at http://www.uml.org/, the latest UML standard is 2.0. Am I
missing something?
I think Poseidon doesn't support SysML at the moment.



Thanks!


Hope this helps.



-gayn

Bristol Systems Inc.
714/532-6776
www.bristolsystems.com




--
Pietro Cerutti
<[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: 6.1-RC2: strange kernel panic!

2006-05-02 Thread [EMAIL PROTECTED]@mgEDV.net
 
> Your kernel ran out of memory.  Either you are using a workload that
> is too heavy for your current settings, or there is a memory leak
> somewhere in a kernel subsystem you are using.
> Try to increase VM_KMEM_SIZE_MAX in your kernel, e.g.
> options VM_KMEM_SIZE_MAX=524288000  #500MB
> You may need to increase it further.

i'm not sure, but probably this does not solve our problem. this system
is used as a compilation host only (currently) and therefore there are
no permanently running things like databases, huge daemons, etc... only
ssh and syslog is up in userland. so the main question to me is, where
the memory goes on this server, and how i can prevent this type of leak.
(and even maybe help you fixin' it ;-)

our current settings are (default in GENERIC):
vm.kmem_size: 335544320
vm.kmem_size_max: 335544320

the compilation system uses a 350MB swap-based memory-disk for compilation,
the whole disks are encrypted using GELI (AES256). network traffic is low
(only ssh commandline stuff, no huge transfers).

when i issued the "du -sk" the panic occurred.

5min ago, the system panic'd again, this time some more was logged:
(originally, there have been >200 of these messages, numbers change,
error=same)
g_vfs_done():md0[WRITE(offset=346742784, length=6144)]error = 28
g_vfs_done():md0[WRITE(offset=346750976, length=8192)]error = 28
g_vfs_done():md0[WRITE(offset=346761216, length=6144)]error = 28
g_vfs_done():md0[WRITE(offset=346767360, length=6144)]error = 28
g_vfs_done():md0[WRITE(offset=346773504, length=6144)]error = 28

this time the panic occurred while transferring data from the hdd's to
the md-device:

panic: kmem_malloc(4096): kmem_map too small: 335544320 total allocated
Uptime: 1h13m18s

is there any way (which is suitable for a non-c-guru like me) how i can
at least monitor, which statements cause the memory leaks? givin' it more
memory could only raise the uptime, because at this time there are no
permanently running processes except the os and ssh.

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


Re: Clamav Install failed

2006-05-02 Thread Martin Hepworth

Bryan

have you tried downloading the source file from www.clamav.net and compiling
from source

Remember 6.1 is still a release candiate...

--
martin

On 5/1/06, Bryan Curl <[EMAIL PROTECTED]> wrote:


Clamav'make install clean' from the ports collection failed with the
following output.
It retrieved several other needed files prior to this error.
I also tried pkg_add -r clamav with a less verbose error.
Can anyone point in the right direction?

# uname -a
FreeBSD Walnut.bc.net 6.1-RC FreeBSD 6.1-RC #1: Wed Apr 12 09:42:22 MDT
2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

#cd /usr/ports/security/clamav
#make install clean
=> Attempting to fetch from
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/unarj-2.65.tgz:
Network is unreachable
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

Stop in /usr/ports/archivers/unarj.
*** Error code 1

Stop in /usr/ports/security/clamav.
/usr/ports/security/clamav Walnut SuperUser#>


--
--
Bryan
bc3910 'at' gmail 'dot' com
___
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: nubie question - Ports - Ruby 1.8.4

2006-05-02 Thread Bakki Kudva

Wow! 4 replies already!!  I am really impressed by the Free BSD
community :). THis never happens on some of the other lists I am on.
Thank you Andy, Robert, Daniel and Michael for your advise.

The thing that threw me was that I had checked the ports web site for
the Ruby version BEFORE I installed FreeBSD which was just a couple of
days ago. So I was wondering why I got Ruby 1.8.2 in my ports tree
since I installed using the main site as my ftp source?!

I have read the using ports in the hand book but certainly I need to
read it more and get familiar with all the commands for using ports.
Thank you again.

-bakki

On 5/2/06, Daniel Bye <[EMAIL PROTECTED]> wrote:


You should start by reading
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html

I would suggest that probably the easiest method for updating your ports
tree is the Portsnap approach.  Assuming you are using 6.*, it is part
of your base system.

Read portsnap(8) for details of how to use it.  Then, when your ports
tree is up to date, you will find that Ruby 1.8.4 is available.



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


RE: Intel SE7520BD2 motherboard

2006-05-02 Thread [EMAIL PROTECTED]@mgEDV.net

> - Second integrated NIC: Marvell Yukon EC88E8050 - nothing about this  
<..>
we're using the same driver (from marvell directly) under 6.1-RC2 and
it works smoothly. you only have to cp if_myk.ko to your kernel dir,
and load it with loader.conf or later on with kldload... (we have an
intel SE7320VP2D2 board, should be exactly the same chipset from marvell).

take care for the following issue: intel has some ipmi-remote-lan-console
stuff, which configures an ip address and sends arp-requests if you
activate it or not. there are non-public ipmi-tools available from 
intel support, if you encounter such behaviour.

- Intel ICH5R SATA controller. Also not explicitly noted in hardware  
notes, at least not in 'Disk controllers' section. Couldn't find  
anything definitive by googling. I'm not interested in possible RAID  
features, would it work if I just connected a single SATA disk to this  
controller?
it's not really supported, but you can use atacontrol to write good
metadata (again, thx 2 soren ;-)) and get this thing running (sw-raid).
we have an ICH6R inside of a hp dl320 g4, works well, except pulling
hdd's and replacing them while being up, will render the new disk unknown
until a reboot has occurred (raid sync has to be done manually, but works).

our board works fine (except a current issue with a malloc-panic, but i'm
sure that's an issue of configuration, not supported hardware ;-)

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


Re: BIND inside a jail on FreeBSD 6.0

2006-05-02 Thread patrick

Thanks, that did the trick. I'm not running this in a jail because I'm
paranoid or anything -- I just need a test environment, and I don't
have an extra machine kicking around. :)

Patrick

On 5/1/06, David Robillard <[EMAIL PROTECTED]> wrote:


BIND is trying to setup a chroot(8) before it starts. If you're
already inside a jail, then IMHO it is a little overkill (i.e. Running
BIND in a chroot inside a jail).

Check the BIND related values in rc.conf(5). The chroot(8) startup is
triggered via this one:

named_chrootdir="/var/named"# Chroot directory (or "" not to auto-chroot it)

So try setting it to

named_chrootdir=""

and it should disable the chroot code from the startup script.

Of course, if you still need to chroot(8) your named(8) install inside
your jail, then you're at the same point. Consider running another
jail perhaps? Or use BIND's view feature.

Hope this helps,

David


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

--
David Robillard
UNIX systems administrator, CISSP
Montreal: +1 514 966 0122


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


Re: Installation date ?

2006-05-02 Thread Kent Stewart
On Tuesday 02 May 2006 10:41, S t i n g r a y wrote:
> Its been a long time since i installed my FreeBSD
> server & its been running since then , how can i find
> the installation date & time of my server ?
>

Look at the date of the kernel in /boot. That was the time it was last 
updated. You can use "uname -a" to find which version and also when it 
was compiled.

Kent

-- 
Kent Stewart
Richland, WA

http://www.soyandina.com/ "I am Andean project".
http://users.owt.com/kstewart/index.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


portupgrade errors during ruby execution

2006-05-02 Thread Duane Whitty

Hi,

I think I damaged my package database during a
pkgdb -Fu session.  When I try to use portupgrade
with r or R switches I get an error message from
ruby.

To work my way through this I have freshly cvs'd
my entire ports tree and rebuilt the indexes.

Followed /usr/ports/UPDATING for gnome stuff
(except I don't have xscreensaver-gnome installed)

ran portupgrade -a

most recent failure:

[Updating the pkgdb  in /var/db/pkg ... - 591 packages 
found (-0 +1) . done]
/usr/local/lib/ruby/site_ruby/1.8/pkgmisc.rb:61:in `push': failed to 
allocate memory (NoMemoryError)

   from /usr/local/lib/ruby/site_ruby/1.8/pkgmisc.rb:61:in `shellwords'
   from /usr/local/sbin/portupgrade:1186:in `get_pkgname'
   from /usr/local/sbin/portupgrade:1171:in `check_pkgname'
   from /usr/local/sbin/portupgrade:957:in `upgrade_pkg'
   from /usr/local/sbin/portupgrade:780:in `do_upgrade'
   from /usr/local/sbin/portupgrade:702:in `main'
   from /usr/local/sbin/portupgrade:699:in `main'
   from /usr/local/lib/ruby/1.8/optparse.rb:815:in `initialize'
   from /usr/local/sbin/portupgrade:209:in `main'
   from /usr/local/sbin/portupgrade:1904

As not all packages fail when I do this will running
portupgrade -a eventually fix this problem?


Sincerely,

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


UML editor on FreeBSD - need recommendation

2006-05-02 Thread Gayn Winters
Would anyone please recommend a graphical UML editor to run on FreeBSD?
I'd install an appropriate GUI for it.

Ideally it would support UML 3.0 and the emerging system engineering
profile SysML.

Thanks!

-gayn

Bristol Systems Inc.
714/532-6776
www.bristolsystems.com 


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


Intel SE7520BD2 motherboard

2006-05-02 Thread Toomas Aas

Hello!

Some friends of mine are looking to buy a new server hardware based on  
Intel SE7520BD2 motherboard for their FreeBSD server (6.0 or whatever  
is the latest release in a month or two). The plan is to use two  
mirrored SCSI disks as main storage and one (S)ATA disk for backups.  
Two LAN connections are necessary.


I've been trying to figure out how well all the integrated features of  
this motherboard are supported by FreeBSD. So far, these are my findings


- SCSI/RAID controller: LSI1030 - explicitly noted in hardware notes,  
also I'm running one of these with FreeBSD 5.4 right now so this  
should be OK;


- First integrated NIC: Intel 82541PI - explicitly noted in hardware  
notes, so should be OK;


- Second integrated NIC: Marvell Yukon EC88E8050 - nothing about this  
in hardware notes, but a binary FreeBSD 6 driver can be downloaded  
from Marvell's website. I have no experience using third-party binary  
drivers with FreeBSD, so I'm a bit hesitant here. If I get this driver  
working with FreeBSD 6.0, can I expect it to still work with 6.1, 6.2,  
etc? Given the usual warnings how kernel and userland must be kept in  
sync when upgrading, I think this is even more true about kernel and  
modules. Am I possibly commiting myself to running an outdated 6.x  
release by using this third-party binary driver?


- Intel ICH5R SATA controller. Also not explicitly noted in hardware  
notes, at least not in 'Disk controllers' section. Couldn't find  
anything definitive by googling. I'm not interested in possible RAID  
features, would it work if I just connected a single SATA disk to this  
controller?


Overall, would you recommend this motherboard for running FreeBSD 6?

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


Re: Installation date ?

2006-05-02 Thread Andy Greenwood

If it's actually been running the entire time (no reboots) you can use
the uptime command (this info is also displayed in top). If you've
rebooted since install, I'm not sure how you could determine that.

On 5/2/06, S t i n g r a y <[EMAIL PROTECTED]> wrote:

Its been a long time since i installed my FreeBSD
server & its been running since then , how can i find
the installation date & time of my server ?



*º¤., ¸¸,.¤º*¨¨¨*¤ Stingray *º¤., ¸¸,.¤º*¨¨*¤




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
___
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]"


mysterious freeze

2006-05-02 Thread nthwaver

My FreeBSD box has been unresponsive for almost an hour.  It will not
respond to keyboard, SSH, ping, etc. or switch terminal via ALT-F# . 
It is, among other things, a Samba server for our house, and I had

started a large (10GB cumulative) file transfer to the server from a
Windows XP machine on the network.  When I got home today, the XP box
had gone on Standby and presumably finished the transfer (no errors)
but from that point on I was not able to get any response from the
FreeBSD machine.

It was running several daemons at this point: mysql-d, samba,
apache21, and perhaps an FTP server as well, but I'm pretty sure this
transfer was only significant process during that time.  This has
happened several times without these daemons but usually lasted only a
minute.

Hardware: Pentium 4, 1G RAM.  The share was on a mobo-controlled SATA RAID0.

Thank you for any suggestions you may have before I suck it up and restart!

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


Re: public samba share annoyingly asking for password

2006-05-02 Thread Atom Powers

On 5/2/06, Vittorio <[EMAIL PROTECTED]> wrote:

Now, the problem is that
at boot time - after logging in the MS-windows client -  windows 2000
or NT clients present the user with a pop-up window asking for a
password to connect to the public share (I created the 'pcguest'
freebsd user as a passwordless user and to 'smbpasswd pcguest' I didn't
provide any password at all!). Clicking on OK the share is immediatedly
connected and it all works. Nonetheless the pop-up window asking for a
password is somewhat disturbing.
By the way, windows XP clients don't
seem to suffer from the same problem. They connect to the share
smoothly, without asking anything as expected!



Check the samba logs, I suspect the NT client is trying to auth as
"DOMAIN\user" instead of just "user". That doesn't work because the
samba server is not part of a domain; when you click OK the NT client
is sending a new auth as just "user". I've seen this on Win2k clients.

--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Getting xmms to use glib-2

2006-05-02 Thread Ian Smith
On Tue, 2 May 2006 [EMAIL PROTECTED] wrote:

 > i've rebuilt everything that used glib-1.2* to use glib-2.10.* without a
 > problem, with the exception of xmms (multimedia/xmms). 
 > 
 > xmms keeps installing glib-1.2. Then, glib-config is run, shows the 1.2
 > version, which doesn't match the latest package (2.10.2, which does NOT
 > support glib-config, but pkg-config instead) and the whole build process 
 > bails
 > out (capture below).
 > 
 > Is it not possible to build  xmms with glib-2? 
 > I tried setting the env GLIB_CONFIG to 2.10.2 with no luck. 
 > 
 > Should I uninstall glib-2, install xmms with glib1.2, then reinstall glib-2? 

Beto, I don't know if this is a useful data point, but on 5.4-RELEASE I
recently installed xmms from ports, and recall it whinged about the glib
2.6.3 version already installed, but said (as I recall - wish I'd saved
the output) that it would build itself with glib-1.2 anyway, which I
assume it must have.  So I would up with both glibs installed:

paqi# pkg_info | grep "glib\|xmms"
glib-1.2.10_11  Some useful routines of C programming (previous stable vers
glib-2.6.3_1Some useful routines of C programming (current stable versi
taglib-1.3.1Library for manipulating ID3 tags and Ogg comments
xmms-1.2.10_3   X Multimedia System --- An audio player with a Winamp GUI

Older versions, I know, but xmms is working fine.

Cheers, Ian


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


Re: public samba share annoyingly asking for password

2006-05-02 Thread nthwaver

On 5/2/06, Vittorio <[EMAIL PROTECTED]> wrote:

Context: pentium 4, freebsd 6.0, samba 3.0.22,
6 windows 2000, NT,XP
samba clients

Dear friends,

I'm writing to this ML because, googling
the net on the subject reported below,  it seems that samba works
slightly differently according to the platform in which it is installed
(I read of differences of behaviour between Fedora and Debian samba
installations, or even between FC1 and FC2 installations).

I setup a
samba server connected to a very large *** original MS-windows LAN ***
with the following smb.conf file. The aim is to put in a public read-
only share all the programs we need to share.

Now, the problem is that
at boot time - after logging in the MS-windows client -  windows 2000
or NT clients present the user with a pop-up window asking for a
password to connect to the public share (I created the 'pcguest'
freebsd user as a passwordless user and to 'smbpasswd pcguest' I didn't
provide any password at all!). Clicking on OK the share is immediatedly
connected and it all works. Nonetheless the pop-up window asking for a
password is somewhat disturbing.
By the way, windows XP clients don't
seem to suffer from the same problem. They connect to the share
smoothly, without asking anything as expected!

Any idea to solve the
problem?

Ciao
Vittorio



###smb.conf

[global]
workgroup = mygroup
server string = FreeBSD
map to guest = Bad User
passdb backend = tdbsam
security = user
guest account = pcguest
log file = /var/log/samba/log.%
m
load printers = No
preferred master = No
local master = No
domain
master = No
dns proxy = No
wins server = 10.100.10.38, 10.100.10.21
hosts allow = 10.100.

[homes]
comment = Home Directories
read only =
No
browseable = No

[public]
comment = Deposit
path = /home/pcguest
guest only = Yes
guest ok = Yes


This is based on a slightly different experience with a Linux host,
but my first guess is you want to add "security = share" to the public
section to override the global "security = user".  For that share, you
might also want "force user = pcguest" and some explicit commands for
whether you want it write protected, but I'd see if the first solution
solves your problem.

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


Re: 6.1-RC2: strange kernel panic!

2006-05-02 Thread Kris Kennaway
On Tue, May 02, 2006 at 07:34:58PM +0200, [EMAIL PROTECTED]@mgEDV.net wrote:
> 
> hi together!
> 
> this is the 4th time the server died since last week (and the 1st time we
> catched the error!).
> it happened during an "du -sk ." of some large directory structure.
> 
> panic: kmem_malloc(4096): kmem_map too small: 335544320 total allocated
> 
> any ideas on this? this system should go live soon, so we definitely need to
> fix this!

Your kernel ran out of memory.  Either you are using a workload that
is too heavy for your current settings, or there is a memory leak
somewhere in a kernel subsystem you are using.

Try to increase VM_KMEM_SIZE_MAX in your kernel, e.g.

options VM_KMEM_SIZE_MAX=524288000  #500MB

You may need to increase it further.

Kris


pgpJ0NLcfNKa2.pgp
Description: PGP signature


Re: new file format for log files in 5x tree ??

2006-05-02 Thread DAve

Brent wrote:

Hello,

I just upgraded a server of mine to the 5.4 release & noticed that maillogs &
cron logs are now being zipped into bz2 compressed files. I know this is a
stupid question but what do use on the system to unpack these files ? so i cn
look at logs ...


thank you
--
Brent 



The file command is your friend,

bash-2.05b# file /usr/log/auth.log.0.bz2
/usr/log/auth.log.0.bz2: bzip2 compressed data, block size = 900k

bash-2.05b# man bzip2
NAME
   bzip2, bunzip2 - a block-sorting file compressor, v1.0.2
   bzcat - decompresses files to stdout
   bzip2recover - recovers data from damaged bzip2 files

etc. Check out  "man apropos"  and  "man man"

Three times when I first started using FreeBSD I got a response to a 
posted question that consisted solely of


"man "

from John Polstra (the name drop is on purpose, I didn't know who was 
being so kind to me at the time, he was very "patient". I was fortunate).


Then I wised up and I started every evening after dinner, running 
through /bin /sbin /usr/bin and /usr/sbin. Put each program name through 
man and read what it said. Then I started looking through /etc 
Learned a lot, not enough, but a lot. Most of what you need to know is 
already on a Unix system.


DAve


--
This message was checked by forty monkeys and
found to not contain any SPAM whatsoever.

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


Re: outlook express be routed through sendmail

2006-05-02 Thread Kevin Kinsey

dharam paul wrote:

Hi,
I want to to implement mails sent from my network from
outlook express be routed through sendmail to their
destined address.
Come pointers please!

Thanks in advance.




Well, how are they being routed at the present time?  Sendmail is an 
SMTP server (MTA-Mail Transport Agent).  "Outlook Express" is a personal 
email client (MUA-Mail User Agent).


By setting the "Outlook Express" parameters to point to the Sendmail 
server as the "SMTP server" (IIRC, "OE" says "outgoing server" or 
something similar), you *would* be routing "through Sendmail".


Or have I somehow misunderstood your question?

HTH,

Kevin Kinsey

--
New Year's Eve is the time of year when a man most feels his
age, and his wife most often reminds him to act it.
-- Webster's Unafraid Dictionary

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


Installation date ?

2006-05-02 Thread S t i n g r a y
Its been a long time since i installed my FreeBSD
server & its been running since then , how can i find
the installation date & time of my server ?



*º¤., ¸¸,.¤º*¨¨¨*¤ Stingray *º¤., ¸¸,.¤º*¨¨*¤
  



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


6.1-RC2: strange kernel panic!

2006-05-02 Thread [EMAIL PROTECTED]@mgEDV.net

hi together!

this is the 4th time the server died since last week (and the 1st time we
catched the error!).
it happened during an "du -sk ." of some large directory structure.

panic: kmem_malloc(4096): kmem_map too small: 335544320 total allocated

any ideas on this? this system should go live soon, so we definitely need to
fix this!


the dmesg/bootlog of the system:

/boot/kernel/kernel text=0x4a8ee8 data=0x97ae0+0x4eb0c
syms=[0x4+0x63aa0+0x4+0x7b0d7]
/boot/kernel/umass.ko text=0x5034 data=0x488+0x4 syms=[0x4+0x7f0+0x4+0x811]
/boot/kernel/if_myk.ko text=0x2c738 data=0x13c8+0x4
syms=[0x4+0x1d00+0x4+0x198]
loading required module 'libmbpool'
/boot/kernel/libmbpool.ko text=0xd2c data=0x10c syms=[0x4+0x390+0x4+0x2f4]
/boot/kernel/geom_eli.ko text=0x8bf4 data=0x3a8+0x10
syms=[0x4+0xc50+0x4+0xd31]
loading required module 'crypto'
/boot/kernel/crypto.ko text=0x16df8 data=0x6d8+0x1ac
syms=[0x4+0x13e0+0x4+0x12d8]
loading required module 'zlib'
/boot/kernel/zlib.ko text=0x70bc data=0x410+0x19d0
syms=[0x4+0x7e0+0x4+0x67a]
/
Booting [/boot/kernel/kernel]...   
/boot/kernel/acpi.ko text=0x42ed4 data=0x2280+0x10f0
syms=[0x4+0x7ad0+0x4+0xa709]
Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 6.1-RC2 #0: Sun Apr 30 09:42:38 UTC 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
module_register: module uhub/umass already exists!
Module uhub/umass failed to register: 17
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2793.01-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf43  Stepping = 3
 
Features=0xbfebfbff
  Features2=0x641d>
  AMD Features=0x2010
  Logical CPUs per core: 2
real memory  = 2147274752 (2047 MB)
avail memory = 2096517120 (1999 MB)
ACPI APIC Table: 
ioapic0  irqs 0-23 on motherboard
ioapic1  irqs 24-47 on motherboard
kbd1 at kbdmux0
acpi0:  on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0:  on acpi0
acpi_throttle0:  on cpu0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pci0:  at device 0.1 (no driver attached)
pcib1:  irq 16 at device 2.0 on pci0
pci1:  on pcib1
pcib2:  irq 16 at device 3.0 on pci0
pci2:  on pcib2
myk0:  port
0xdf00-0
xdfff mem 0xdedfc000-0xdedf irq 16 at device 0.0 on pci2
myk0: Ethernet address: 00:0e:0c:6a:a6:40
pcib3:  at device 28.0 on pci0
pci3:  on pcib3
amr0:  mem 0xddff-0xddff irq 24 at device
1.0 on pci3
amr0:  Firmware 713Q, BIOS G401,
64MB RAM
uhci0:  port 0xcf00-0xcf1f irq 16 at device
29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1:  port 0xcf80-0xcf9f irq 19 at device
29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1:  on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pci0:  at device 29.4 (no driver attached)
pci0:  at device 29.5 (no driver
attached)
ehci0:  mem 0xdecffc00-0xdecf irq 23
at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
usb2: EHCI version 1.0
usb2: companion controllers, 2 ports each: usb0 usb1
usb2:  on ehci0
usb2: USB revision 2.0
uhub2: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 4 ports with 4 removable, self powered
umass0: Kingston DataTraveler 2.0, rev 2.00/1.00, addr 2
pcib4:  at device 30.0 on pci0
pci4:  on pcib4
pci4:  at device 2.0 (no driver attached)
em0:  port
0xee80-0xeebf mem 0xdefa-0xdefb irq 17 at device 3.0 on pci4
em0: Ethernet address: 00:0e:0c:6a:a6:41
isab0:  at device 31.0 on pci0
isa0:  on isab0
atapci0:  port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 31.1 on pci0
ata0:  on atapci0
ata1:  on atapci0
pci0:  at device 31.3 (no driver attached)
acpi_button0:  on acpi0
atkbdc0:  port 0x60,0x64 irq 1 on acpi0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on
acpi0
sio0: type 16550A, console
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
fdc0:  port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on
acpi0
fdc0: [FAST]
pmtimer0 on isa0
orm0:  at iomem 0xc-0xc7fff on isa0
ppc0: parallel port not found.
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x100>
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounter "TSC" frequency 2793013356 Hz quality 800
Timecounters tick every 1.000 msec
acd0: CDROM  at ata1-slave UDMA33
amrd0:  on amr0
amrd0: 381469MB (781248512 sectors) RAID 1 (optimal)
amrd1:  on amr0
amrd1: 381469MB (78124

Re: nubie question - Ports - Ruby 1.8.4

2006-05-02 Thread Daniel Bye
On Tue, May 02, 2006 at 01:03:54PM -0400, Bakki Kudva wrote:
> Hi,
> 
> I am learning FreeBSD by installing it on my laptop. I would like to
> install Ruby 1.8.4 which is listed at http://www.freebsd.org/ports/ as
> follows:
> ruby-1.8.4_6,1
>An object-oriented interpreted scripting language
>Long description | Sources | Main Web Site
>Maintained by: [EMAIL PROTECTED]
>Also listed in: Ruby, Ipv6
> 
> However when I go to /usr/ports/lang/  (I installed ports off the ftp
> site) the version I see there is 1.8.2. How do I install the later
> version? Thanks for your help.

You should start by reading
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html

I would suggest that probably the easiest method for updating your ports
tree is the Portsnap approach.  Assuming you are using 6.*, it is part
of your base system.

Read portsnap(8) for details of how to use it.  Then, when your ports
tree is up to date, you will find that Ruby 1.8.4 is available.

HTH

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75  B79A 8B17 F97C 1622 166A
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgp6gvhXbNHeP.pgp
Description: PGP signature


Re: glib20

2006-05-02 Thread Kris Kennaway
On Tue, May 02, 2006 at 11:28:46AM +, Arno Schleich wrote:
> Kris,
> 
> thank You for Your advice. I already had tried that before writing to the 
> list.
> 
> make deinstall
> 
> and
> 
> make install clean
> 
> for glib-2.10.2
> 
> do not change anything. The same error in the configuration script kept 
> recurring in a pretty monotonous fashion.
> Tried gnomelogalyzer - but it "cannot the determine the reason of build 
> failure".
> 
> ldconfig -r shows the library is in the loader path yet applications using 
> it fail at runtime. Gnome desktop and some applications keep working, 
> albeit very slow ...
> 
> Btw, how can get parts of it "somehow" deleted by executing automated 
> scripts. This seems like a big glitch in the system akin to the infamous 
> blue screen ...
> 
> To be honest, it doubt this is the origin of my problem. I had also tried 
> to deinstall glib-2.10.2 and have an application which depends on it 
> install it while the dependencies are resolved. This installed glib-2.10.2 
> perfectly but failed to configure the build of the application as above.

Show us the errors, don't just give partial descriptions.

Kris


pgps3LGuHw202.pgp
Description: PGP signature


Re: backup system rsync <-> dump

2006-05-02 Thread Howard Jones

Philip Hallstrom wrote:

I have two disks; one is the fbsd system drive, the other is for backup
purposes.

I'm in doubt about what to use: dump or rsync

I guess I can do something like:
mount /dev/ad1s3a /backup/root
mount /dev/ad1s3d /backup/var
mount /dev/ad1s3f /backup/usr
/usr/local/bin/rsync -avHxS --delete /usr /backup/usr
for /usr / and var


If you do go with rsync, watch the "-delete".  If for some reason you 
blow away /usr/local/etc and then run your backup you'll blow away 
your backed up /usr/local/etc as well.  Probably not what you want :)


With the right settings of --backup --backup-dir you can easily create 
a week (or two or three or whatever) archive of the "daily" changed 
files. So, for example..


/backup/usr - contains identical copy
/backup/dailys/usr/Mon - contains files that changed on /usr on Monday.

Then just set things up to rotate/expire the old copies and you have 
an easy way to get files back you deleted that you didn't mean to.


I can post the whole script if you're interested...
If you'd like to go down that route (of incremental backups), then 
consider rdiff-backup, which makes a 'live backup' in the same way that 
rsync does but also saves the rsync 'transaction log' so you can produce 
a previous day's image easily, and store the differences compactly - the 
saving on the network in rsync becomes the saving in disk space for the 
incremental backups.


http://www.nongnu.org/rdiff-backup/
http://www.howtoforge.com/linux_rdiff_backup

I've been using this for a few dozen machines with no problems so far.

Cheers,

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


Re: nubie question - Ports - Ruby 1.8.4

2006-05-02 Thread robert
On Tue, 2006-05-02 at 13:03 -0400, Bakki Kudva wrote:
> Hi,
> 
> I am learning FreeBSD by installing it on my laptop. I would like to
> install Ruby 1.8.4 which is listed at http://www.freebsd.org/ports/ as
> follows:
> ruby-1.8.4_6,1
> An object-oriented interpreted scripting language
> Long description | Sources | Main Web Site
> Maintained by: [EMAIL PROTECTED]
> Also listed in: Ruby, Ipv6
> 
> However when I go to /usr/ports/lang/  (I installed ports off the ftp
> site) the version I see there is 1.8.2. How do I install the later
> version? Thanks for your help.
> 
> -bakki
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Bakki,

Your ports are out of date, have a look at the manual:

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

on how to update.

Rob

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


Re: Kernel not compiling

2006-05-02 Thread Kris Kennaway
On Tue, May 02, 2006 at 08:07:23AM -0700, Steve Davidson wrote:
> Here are the last few lines from the kernel build output:
> /usr/src/sys/netinet/ip_output.c: In function `ip_ctloutput':
> /usr/src/sys/netinet/ip_output.c:1550: internal compiler error: in
> expand_stmt, at c-semantics.c:883
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See http://gcc.gnu.org/bugs.html> for instructions.
> *** Error code 1

You probably have hardware failure.  See the FAQ.

Kris


pgphp8Kak2Pj8.pgp
Description: PGP signature


nubie question - Ports - Ruby 1.8.4

2006-05-02 Thread Bakki Kudva

Hi,

I am learning FreeBSD by installing it on my laptop. I would like to
install Ruby 1.8.4 which is listed at http://www.freebsd.org/ports/ as
follows:
ruby-1.8.4_6,1
   An object-oriented interpreted scripting language
   Long description | Sources | Main Web Site
   Maintained by: [EMAIL PROTECTED]
   Also listed in: Ruby, Ipv6

However when I go to /usr/ports/lang/  (I installed ports off the ftp
site) the version I see there is 1.8.2. How do I install the later
version? Thanks for your help.

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


Re: N00b: shutting down freebsd server

2006-05-02 Thread Frank Steinborn
dharam paul wrote:
> Hello Seniors,
> Is it ok to shutdown a freebsd server from atx power
> button?
> 
> regards

If your server supports ACPI and it's shutting down clean, it's OK.
But if your power-button switches your system off immediatly, use
shutdown -p now.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: question about linprocfs

2006-05-02 Thread Frank Steinborn
Alex Ballantine wrote:
> We have a apache server with most of the latest programs on it
> except java,
> so when I tried to install it everything went fine until it came up
> with
>
> "===>  Building for jdk-1.5.0p3
>
> ERROR: You must have LINPROCFS mounted beforenprocfs linprocfs
> /compat/linux/pr
>
> You may do it with the following commands:
>
> # kldload linprocfs
> and
> # mount -t linprocfs linprocfs /compat/linux/proc

[...]

> When ever I type in either of those command it just gives me errors
> back eg.
> Kldload is unknown command yet kldstat works and the other line told
> me that
> linprocfs doesn't exist. Which I found out is not in the linux/proc/
> folder.

kldload linprocfs && mount -t linprocfs linprocfs /compat/linux/proc
does really not work? Make sure to use kldload (and not Kldload - UNIX
is case sensitive) BEFORE mount, then mount.

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


Re: linux-firefox and multimedia

2006-05-02 Thread Andrew Pantyukhin

On 5/2/06, dick hoogendijk <[EMAIL PROTECTED]> wrote:

I have mplayerplug-in show most of my multimedia in the *native*
firefox.

However, linux-firefox runs very smooth too and runs flash7.
I know how I can isntall java on this non-native version, BUT, how do I
go about when I want the multimedia functions back that I had in the
freebsd version of firefox?
I don't see a "linux-mplayer(plug-in) port? Anybody have linux-firefox,
plus java plus mplayerplug-in or something like it running? Tips?

--
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.1 ++ 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]"



I'm working on linux mplayer plug-in. It will probably be
available after the move to fc3. Thanks for your interest.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: backup system rsync <-> dump

2006-05-02 Thread Philip Hallstrom

I have two disks; one is the fbsd system drive, the other is for backup
purposes.

I'm in doubt about what to use: dump or rsync

I guess I can do something like:
mount /dev/ad1s3a /backup/root
mount /dev/ad1s3d /backup/var
mount /dev/ad1s3f /backup/usr
/usr/local/bin/rsync -avHxS --delete /usr /backup/usr
for /usr / and var


If you do go with rsync, watch the "-delete".  If for some reason you blow 
away /usr/local/etc and then run your backup you'll blow away your backed 
up /usr/local/etc as well.  Probably not what you want :)


With the right settings of --backup --backup-dir you can easily create a 
week (or two or three or whatever) archive of the "daily" changed files. 
So, for example..


/backup/usr - contains identical copy
/backup/dailys/usr/Mon - contains files that changed on /usr on Monday.

Then just set things up to rotate/expire the old copies and you have an 
easy way to get files back you deleted that you didn't mean to.


I can post the whole script if you're interested...

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


Re: glib20

2006-05-02 Thread Pablo Mora

try:

#portupgrade -fvr glib-2.10.2


--
Linux is for people who hate Micro$oft. BSD is for people who love Unix ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Kernel not compiling

2006-05-02 Thread Donald J. O'Neill
On Tuesday 02 May 2006 10:07, Steve Davidson wrote:
> Here are the last few lines from the kernel build output:
> /usr/src/sys/netinet/ip_output.c: In function `ip_ctloutput':
> /usr/src/sys/netinet/ip_output.c:1550: internal compiler error: in
> expand_stmt, at c-semantics.c:883
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See http://gcc.gnu.org/bugs.html> for instructions.
> *** Error code 1
>
> Stop in /usr/obj/usr/src/sys/ROBAIX.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> On 5/1/06, Kris Kennaway <[EMAIL PROTECTED]> wrote:
> > On Mon, May 01, 2006 at 05:48:52PM -0400, Bill Moran wrote:
> > > On Mon, 1 May 2006 14:38:37 -0700
> > >
> > > "Steve Davidson" <[EMAIL PROTECTED]> wrote:
> > > > Greetings,
> > > > I recently installed FreeBSD 6_0 and after building a custom
> > > > kernel it failed to compile. I saved the output from make
> > > > kernel KERNCONF=CUSTOMKERNELbut it is so long I wasn't sure if
> > > > posting here was such a good idea.
> > > > Forgive as I am relatively new to FreeBSD, should I be posting
> > > > to a different list? The only error I see from the output is
> > > > "error type
> >
> > 1". Any
> >
> > > > help or a point in the right direction would be most
> > > > appreciated
> > >
> > > This is the right list.  Generally, posting the last 100 lines or
> > > so of the output will be enough for people to help you.  If folks
> > > need more information, they'll ask you for it.  I recommend using
> > > the script(1) command to capture everything, then truncated to to
> > > just the last 100 lines or so when you email it.
> >
> > First go back and compare your custom kernel to GENERIC: chances
> > are you removed something mandatory and broke the build that way.
> >
> > Kris
>
> --
> Steve
> Macs, Music and more
> ___

What you sent doesn't help at all. The last 100 lines or so would have 
told more. Send that.

Also send your /etc/make.conf and your custom_KERN-conf. Just paste them 
right into the e-mail. 

Just what was the procedure you used.

Don

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


Re: new file format for log files in 5x tree ??

2006-05-02 Thread Tom Grove

Brent wrote:


Hello,

I just upgraded a server of mine to the 5.4 release & noticed that maillogs &
cron logs are now being zipped into bz2 compressed files. I know this is a
stupid question but what do use on the system to unpack these files ? so i cn
look at logs ...


thank you
--
Brent 


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


 


bzcat  | less

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


Re: force lease renewal from dhcpd

2006-05-02 Thread Atom Powers

On 02 May 2006 09:59:04 -0400, Lowell Gilbert
<[EMAIL PROTECTED]> wrote:

"fbsd" <[EMAIL PROTECTED]> writes:

> Is there some way to force all leases under dhcpd to perform lease
> renewal routine?

Even if the dhcpd implements INFORM, most clients won't.

In practice, if you want the clients to update before their existing
lease is due for renewal, you generally have to go around to the
clients individually.


Or plan ahead. If you know you will be changing some lease options you
should set the lease time down to something small at least
$(current_lease_period) seconds ahead of time. Then you can be fairly
certain that all systems will get a new lease within
$(new_lease_period) seconds of you change. Afterwards you can increase
the lease period back up. Of course, this assumes you were not handing
out "infinite" lease periods.

--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Kernel not compiling

2006-05-02 Thread Steve Davidson

Here are the last few lines from the kernel build output:
/usr/src/sys/netinet/ip_output.c: In function `ip_ctloutput':
/usr/src/sys/netinet/ip_output.c:1550: internal compiler error: in
expand_stmt, at c-semantics.c:883
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html> for instructions.
*** Error code 1

Stop in /usr/obj/usr/src/sys/ROBAIX.
*** Error code 1

Stop in /usr/src.
*** Error code 1

On 5/1/06, Kris Kennaway <[EMAIL PROTECTED]> wrote:


On Mon, May 01, 2006 at 05:48:52PM -0400, Bill Moran wrote:
> On Mon, 1 May 2006 14:38:37 -0700
> "Steve Davidson" <[EMAIL PROTECTED]> wrote:
>
> > Greetings,
> > I recently installed FreeBSD 6_0 and after building a custom kernel it
> > failed to compile. I saved the output from make kernel
> > KERNCONF=CUSTOMKERNELbut it is so long I wasn't sure if posting here
> > was such a good idea.
> > Forgive as I am relatively new to FreeBSD, should I be posting to a
> > different list? The only error I see from the output is "error type
1". Any
> > help or a point in the right direction would be most appreciated
>
> This is the right list.  Generally, posting the last 100 lines or so
> of the output will be enough for people to help you.  If folks need
> more information, they'll ask you for it.  I recommend using the
> script(1) command to capture everything, then truncated to to just
> the last 100 lines or so when you email it.

First go back and compare your custom kernel to GENERIC: chances are
you removed something mandatory and broke the build that way.

Kris






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


FreeBSD NIS server authenticating Linux

2006-05-02 Thread Enrique Ayesta Perojo
Hello, i'm trying to bind a Linux client (Fedora Core 5) to a FreeBSD 6.1-RC 
NIS Server. The linux client seems to bind correctly to the NIS Domain. 
Anyway when i try to log into the linux machine i can't log in. As i have 
seen on google, there seems to be some kind of problem with a neccesary 
shadow map for the linux machine to authenticate, but these seems to be old 
problems.

Any ideas on what is happening really and some way to solve it?

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


public samba share annoyingly asking for password

2006-05-02 Thread Vittorio
Context: pentium 4, freebsd 6.0, samba 3.0.22, 
6 windows 2000, NT,XP 
samba clients

Dear friends,

I'm writing to this ML because, googling 
the net on the subject reported below,  it seems that samba works 
slightly differently according to the platform in which it is installed 
(I read of differences of behaviour between Fedora and Debian samba 
installations, or even between FC1 and FC2 installations). 

I setup a 
samba server connected to a very large *** original MS-windows LAN *** 
with the following smb.conf file. The aim is to put in a public read-
only share all the programs we need to share.

Now, the problem is that 
at boot time - after logging in the MS-windows client -  windows 2000 
or NT clients present the user with a pop-up window asking for a 
password to connect to the public share (I created the 'pcguest' 
freebsd user as a passwordless user and to 'smbpasswd pcguest' I didn't 
provide any password at all!). Clicking on OK the share is immediatedly 
connected and it all works. Nonetheless the pop-up window asking for a 
password is somewhat disturbing.
By the way, windows XP clients don't 
seem to suffer from the same problem. They connect to the share 
smoothly, without asking anything as expected!

Any idea to solve the 
problem?

Ciao
Vittorio



###smb.conf

[global]
workgroup = mygroup
server string = FreeBSD
map to guest = Bad User
passdb backend = tdbsam
security = user
guest account = pcguest
log file = /var/log/samba/log.%
m
load printers = No
preferred master = No
local master = No
domain 
master = No
dns proxy = No
wins server = 10.100.10.38, 10.100.10.21
hosts allow = 10.100.

[homes]
comment = Home Directories
read only = 
No
browseable = No

[public]
comment = Deposit
path = /home/pcguest
guest only = Yes
guest ok = Yes

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


Re: i386/96661: Can not setup the ethernet

2006-05-02 Thread Björn König

Quoted from PR i386/96661:
> I'm using dell 8200. I'm trying to configure the DHCP server ,
> It's not working.
> In my Dmesg there was something like Giant Locked and I'm unable
> to connect to the internet.
> Thanks

Hello Faris,

you'll get better results if you send a mail with your issue to one of 
the FreeBSD mailing lists[1], in this case [EMAIL PROTECTED] The 
problem report database is a platform for solving specific problems that 
are already encircled. Your problem seems to be very general.


You should tell the *accurate* error message from your log file if you 
want useful feedback. Furthermore it looks like that you have more than 
one problem. Setting up a DHCP server doesn't make sense if networking 
doesn't work properly. I would deal with this at first.


How did you configured your network adapter in /etc/rc.conf? What's the 
configuration of your LAN? Show the output of "ifconfig" and "netstat 
-r". After you've told this, then somebody might be able to give advise.


[1]
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/eresources.html#ERESOURCES-MAIL

Regards Björn

___
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-05-02 Thread fanas



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


Re: MAN pages authoritativeness

2006-05-02 Thread Robert Huff
John Nielsen writes:

>  > They state that the MAN pages are authoritative in OpenBSD, "... In
>  > OpenBSD, the UNIX manual pages are considered authoritative. If a
>  > program or function call does not behave exactly as the manual
>  > describes, this is considered a bug"
>  >
>  > I was just curious to know if this was also true in FreeBSD.
>  

>  In my experience, yes.  AFAIK having detailed, accurate man pages
>  for everything in the base system has always been a design goal.
>  And if I find something that doesn't work like the manpage
>  describes, then I submit a bug report.  Sometimes the bug is with
>  the manpage, though. :)

"Goal" being the operative word.  A very quick look at open doc
PRs suggests there could be as many as 50 PRs about man pages.


Robert Huff


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


RE: FreeBSD 6.0 compat with DL320 G4

2006-05-02 Thread [EMAIL PROTECTED]@mgEDV.net

> What was your experience like with 6.0-RELEASE and the dl320 g4? I've
> had a quote back on that model so could be near to actually getting
> some hardware for once :)

we didn't really run 6.0-RELEASE on the system, as the 6.1-BETAs had
been out when we bought the server. therefore not really man exp. on
this.

for ted's request, here's the dmesg ;-)

-
Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 6.1-RC2 #0: Sun Apr 30 09:42:38 UTC 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
ACPI APIC Table: 
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 3.40GHz (3391.52-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf43  Stepping = 3
 
Features=0xbfebfbff
  Features2=0x649d>
  AMD Features=0x2000
  Logical CPUs per core: 2
real memory  = 1073688576 (1023 MB)
avail memory = 1041743872 (993 MB)
ioapic0  irqs 0-23 on motherboard
ioapic1  irqs 24-47 on motherboard
ioapic2  irqs 48-71 on motherboard
kbd1 at kbdmux0
acpi0:  on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x908-0x90b on acpi0
cpu0:  on acpi0
pcib0:  on acpi0
pci0:  on pcib0
pcib0: no PRT entry for 0.31.INTA
pcib1:  at device 1.0 on pci0
pci5:  on pcib1
pcib2:  at device 0.0 on pci5
pci6:  on pcib2
bge0:  mem
0xfdff-0xfdff irq 24 at device 1.0 on pci6
miibus0:  on bge0
brgphy0:  on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX,
1000baseTX-FDX, auto
bge0: Ethernet address: 00:15:60:aa:39:d2
bge1:  mem
0xfdfe-0xfdfe irq 25 at device 1.1 on pci6
miibus1:  on bge1
brgphy1:  on miibus1
brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX,
1000baseTX-FDX, auto
bge1: Ethernet address: 00:15:60:aa:39:d1
pcib3:  at device 0.2 on pci5
pci9:  on pcib3
pcib4:  at device 28.0 on pci0
pci2:  on pcib4
uhci0:  port
0x1000-0x101f irq 16 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1:  port
0x1020-0x103f irq 17 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1:  on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2:  port
0x1040-0x105f irq 18 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2:  on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3:  port
0x1060-0x107f irq 19 at device 29.3 on pci0
uhci3: [GIANT-LOCKED]
usb3:  on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0:  mem 0xfbef-0xfbef03ff
irq 16 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4:  on ehci0
usb4: USB revision 2.0
uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
umass0: USB Flash Disk, rev 2.00/2.00, addr 2
pcib5:  at device 30.0 on pci0
pci1:  on pcib5
pci1:  at device 2.0 (no driver attached)
pci1:  at device 2.2 (no driver attached)
pci1:  at device 3.0 (no driver attached)
isab0:  at device 31.0 on pci0
isa0:  on isab0
atapci0:  port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x500-0x50f irq 7 at device 31.1 on pci0
ata0:  on atapci0
ata1:  on atapci0
atapci1:  port
0x1080-0x1087,0x1088-0x108b,0x1090-0x1097,0x1098-0x109b,0x10a0-0x10af mem
0xfbee-0xfbee03ff irq 17 at device 31.2 on pci0
ata2:  on atapci1
ata3:  on atapci1
acpi_tz0:  on acpi0
atkbdc0:  port 0x60,0x64 irq 1 on acpi0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0:  irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
sio0:  port 0x2f8-0x2ff irq 3 flags 0x10 on acpi0
sio0: type 16550A
fdc0:  port 0x3f2-0x3f5 irq 6 drq 2 on acpi0
fdc0: [FAST]
pmtimer0 on isa0
orm0:  at iomem
0xc-0xc7fff,0xc8000-0xcc7ff,0xee000-0xe on isa0
ppc0: parallel port not found.
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounter "TSC" frequency 3391523707 Hz quality 800
Timecounters tick every 1.000 msec
acd0: CDROM  at ata0-master UDMA33
ad4: 76319MB  at ata2-master SATA150
ad6: 76319MB  at ata3-master SATA150
ar0: 76319MB  status: READY
ar0: disk0 READY (master) using ad4 at ata2-master
ar0: disk1 READY (mirror) using ad6 at ata3-master
Trying to mount root from ufs:/dev/ar0s1a

-

___
freebs

Cupsd strangeness....

2006-05-02 Thread Eric Schuele

Hello,

While this should be of absolutely no real concern my lack of 
ability to resolve it is causing me sleepless nights.  I'm sure this 
should be an easy one... I just can't seem to fix it.


Everything cups related is working perfectly fine.  However,  my dmesg 
shows the following:


Starting cupsd.
Starting cupsd.
cupsd: Child exited with status 48!
Usage: cups {reload|restart|start|status|stop}

And its driving me crazy!  Cupsd is trying to start twice?  and the 
second time is giving an error.


What have I done wrong here?
[~] 
% ls /etc/rc.d | grep cups

[~]
% ls /usr/local/etc/rc.d | grep cups
cups.sh.delme*
cups.sh.sample*
cupsd.delme*
cupsd.sample*
cupsd.sh*
[~] 
% grep cups /etc/rc.conf

cupsd_enable="YES"
#cups_enable="YES"

Using FreeBSD 6.1-RC as of Sat some time... but had this problem quite a 
while.  I'm sure it started the last time I rebuilt the machine (two 
month back maybe).  And I'm sure its a config error on my part.


Any help is appreciated.

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


N00b: shutting down freebsd server

2006-05-02 Thread dharam paul
Hello Seniors,
Is it ok to shutdown a freebsd server from atx power
button?

regards





__ 
Yahoo! India Answers: Share what you know. Learn something new. 
http://in.answers.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


outlook express be routed through sendmail

2006-05-02 Thread dharam paul
Hi,
I want to to implement mails sent from my network from
outlook express be routed through sendmail to their
destined address.
Come pointers please!

Thanks in advance.



__ 
Yahoo! India Answers: Share what you know. Learn something new. 
http://in.answers.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


graceful way of stopping X remotely

2006-05-02 Thread Noah


Hi there,

Its been a while since I've had to admin X.  What is a graceful way to stop X
when I am remote to the machine?

Cheers,

Noah

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


  1   2   >