RE: 5 day lockup on Densitron

2005-05-10 Thread Richard J. Valenta
First off - thank you for both your replies...

The manufacturer (Densitron) has little info available, especially
technological info.  I'm going to continue to look for this, but do
either of you or anyone else have ideas on where to look for this?
Would it be called a 'watchdog' in the BIOS?  

Previous to this install there was a smaller hard disk and a Windows
2000 install.  However, there was no regular reboot or anything else I
knew of.  Of course, who knows if there's some kind of base Windows
'stroker' that I'm unaware of, or if there was something in place that
was part of the application it ran.

Anyway - ideas on where to look, and subsequently disable, this (if its
there)?

Thanks again,

Richard



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Clifton
Royston
Sent: Tuesday, May 10, 2005 12:39 AM
To: RW
Cc: freebsd-questions@freebsd.org
Subject: Re: 5 day lockup on Densitron

On Tue, May 10, 2005 at 04:30:15AM +0100, RW wrote:
 On Saturday 07 May 2005 02:00, Clifton Royston wrote:
   What you describe
  could conceivably be the result of a special counter or RTC chip
  running as a watchdog timer with a count-down from boot time, and
  generating some kind of special interrupt when that countdown
reaches
  0.  Watchdog devices are sometimes set up to require the application
  software to stroke the timer periodically (reset it in software)
with
  the intent to force a reset of the system (usually a reboot) after
  such-and-such a period of time if not stroked.  
 
 Watchdog timeouts are typically a fraction of a minute, a 5 day
watchdog 
 timeout is very unlikely.

  Watchdogs are normally designed to be initialized at boot by the
software, and as FreeBSD doesn't know about it...

  It's a long-shot, but less so than overheating always happening to
build up and cause a reset randomly at exactly the same 5 day period of
time as somebody suggested.

  -- Clifton

-- 
  Clifton Royston  --  [EMAIL PROTECTED] 
 Tiki Technologies Lead Programmer/Software Architect
I'm gonna tell my son to grow up pretty as the grass is green
And whip-smart as the English Channel's wide...
-- 'Whip-Smart', Liz Phair
___
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: TrueType fonts sources

2005-05-10 Thread Glyn Millington
[EMAIL PROTECTED] writes:

 Hi
 OK I have installed the font server etc -- all I need are some
 TrueTypefonts to put in the TT directory. Does anyone know:
 1.where can I get them.
 2. How I can convert my TT fonts on my ms$  system to TT for freebsd.

1. Have a look in /usr/ports/x11-fonts 

webfonts and xorgfonts-truetype  should get you started



2. It's all there in section 5.5 of the Handbook, which may well be on
   your hard-drive @ 

/usr/share/doc/handbook/x-fonts.html


Good luck - and have a good trip :-)

atb


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


Re: ports backup corrupted windows - addendum

2005-05-10 Thread Graham North
Discovered that ports Japanese has a port called prn - this is a 
privileged name in Windows - of course when I tried to blow away the 
whole ports backup it choked up and left a 97MB file hanging.
I will try to find out how to deal with privileged file deletion in 
Windows via other forums (using command prompt del doesn't work).

Cheers,  Graham/
Graham North wrote:
Okay, I know it sounds daft and I hope that it is not too far out 
there
Some time ago when loading a new FreeBSD, I decided to back up the 
ports collection onto my Windows XP hardrive. 

Today, I decided to blow it away - but it won't go!  It  moved from C: 
drive to the recycle bin, and most got emptied out however some 
(97.2MB) is sticking.No matter that I try to empty recycle bin 
it gives me a message cannot remove folder prn:  The parameter is 
incorrect.  
Everyting else in the bin was emptied but now the recycle bin seems 
broken when I try to delete other files - it is really weird.   Could 
some set of Unix file permissions have thrown the Windows box for a loop?
Any ideas will be appreciated.
Thanks,  Graham/


No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.7 - Release Date: 5/9/2005
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Learning UNIX internals

2005-05-10 Thread Charles Swiger
On May 7, 2005, at 12:57 PM, Lowell Gilbert wrote:
Yes, it will be.  You'll need something more basic to start with.
While the books you asked about in your initial post will be okay,
my suggestion would be [Tanenbaum, Modern Operating Systems,
ISBN 0130313580], which provides more of a theoretical background for
OS concepts.
I'd second this recommendation.  Tanenbaum's a good author...
--
-Chuck
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: heavy load proxy+nat server with ipfw ?

2005-05-10 Thread Ed Stover
Abu Khaled wrote:
 On 5/10/05, Ed Stover [EMAIL PROTECTED] wrote:
 
S t i n g r a y wrote:

i want to replace my microsoft based firewall with a
freebsd based firewall + proxy + NAt server based on
ipfw , with internet users approx upto 800-1000
simaltanious . i already have the internet link +
hardware to support it ,
do you guys think ipfw + squid with freebsd will be
able to handle such loads ?


thanks


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


Yes very much so. At a local college they have over 700 PCs surfing the
net constintly through a P3 700Mhz 512MB Ram and 10Gb HDD. The machine
is running FreeBSD 4.5, squid, squidGuard, ipfw, natd. Transparent
content filtering and nat. Simple sweet and fast...
 
 
 I use FreeBSD 5 STABLE as a Router with IPFW, DUMMYNET, Squid,
 DansGuardian and Bind as a forwarding DNS cache for 100 users. All
 this is running on an old PIII 500Mhz with 128MB ram and 20GB HDD. 100
 users may not be much but I guess with more RAM The FreeBSD box well
 handle more clients.
 I only use the BOX to test FreeBSD 5 performance for future plans and
 so far it rocks except for a few problems (sure thats what STABLE is
 for).
 
 Ed, can you please tell me more about Transparent content filtering.
 Sounds intresting
 

Ooo yea, this is a good one taught to me by guru master BB of the black
hills. Ok all web requests are on port 80 right? I am going to use
psuedo commands to try and get this accross.
#from natbox
1 allow all traffic on port 80 from localhost out
2 forward all incoming port 80 requests to 8080 or what ever port you
run squid on.

3. squidguard or dansguardian server as the content filering.

No one can opt out of having there web access content filtered by not
using the caching system. They have to use the caching system.


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


error 16

2005-05-10 Thread Ben Haysom
Hi

I have an AMD Duron 700Mhz running FreeBSD 5.3.

When power up I get

error 16 lba 287
error 16 lba 287
No /boot/loader

fdisk from the installation CD finds the harddrive as normal.

A friend found the following for me

http://lists.freebsd.org/pipermail/freebsd-questions/2005-March/081879.html

Seems to be the same, but the commands that person entered don't work for me..

I couldn't find anything searching on the full error.

Any ideas, or shall I just do a complete reinstall? The machine isn't
vital so that is plausible.

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


RE: ports backup corrupted windows

2005-05-10 Thread Ted Mittelstaedt

PRN: is a device under Windows, specifically the first printer port.

How did you create this file?  If you attempted to create it in Windows,
the operating system would have rejected it.  What you will have to do
is mount the DOS partition under UNIX and access it from the UNIX side
directly.

Ted

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Graham North
 Sent: Monday, May 09, 2005 10:47 PM
 To: questions freebsd
 Subject: ports backup corrupted windows


 Okay, I know it sounds daft and I hope that it is not too far
 out there
 Some time ago when loading a new FreeBSD, I decided to back up
 the ports
 collection onto my Windows XP hardrive.

 Today, I decided to blow it away - but it won't go!  It  moved from C:
 drive to the recycle bin, and most got emptied out however
 some (97.2MB)
 is sticking.No matter that I try to empty recycle bin it gives
 me a message cannot remove folder prn:  The parameter is incorrect.
 Everyting else in the bin was emptied but now the recycle bin seems
 broken when I try to delete other files - it is really weird.   Could
 some set of Unix file permissions have thrown the Windows box
 for a loop?
 Any ideas will be appreciated.
 Thanks,  Graham/



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


euid !=0,directory /tmp/.ICE-unix will not be created

2005-05-10 Thread Darrel
Hello,
I can startx with twm but not Gnome2-lite.  The X server shuts down 
immediately 'Cannot establish any listening sockets'

5.3-RELEASE-p13
buildworld Sat May 7, src and ports
I do not think it is a font problem, but there is an entry in Xorg log which 
states
/usr/X11R6/lib/X11/fonts/CID is not valid, deleted from path.
Darrel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: a question

2005-05-10 Thread Alex Zbyslaw
Ricardo wrote:
Hi everyone, my name is Ricardo and i'm new to FreeBSD and a novice in 
the world of Unix-like OS's. My question is: do i have to download the 
3 .iso images to install the system(for exemple: do i have to dowload 
the bootonlydisk iso)?
Thanks for your patience and for reading this.

You'll find the info here.  I believe the bootonly ISO mentioned there 
no longer exists, but other than that...

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-diff-media.html
Some more advice.  1) Read the rest of the handbook  2) Put a better 
subject line on your questions.  We need to know what your question is 
about.  e.g. ISO images.

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


Re: mozilla

2005-05-10 Thread Alex Zbyslaw
Gert Cuykens wrote:
/usr/bin/cpio: /usr/X11R6/lib/mozilla/./components/nsProxyAutoConfig.js
not created: newer or same age version exists
/usr/bin/cpio: /usr/X11R6/lib/mozilla/./components/nsHelperAppDlg.js
not created: newer or same age version exists
/usr/bin/cpio: /usr/X11R6/lib/mozilla/./components/nsProgressDialog.js
not created: newer or same age version exists
/usr/bin/cpio: /usr/X11R6/lib/mozilla/./components/nsCloseAllWindows.js
not created: newer or same age version exists
 

   

^^^ Make sure Mozilla is deinstalled properly before you try to install
it again.
 

but i removed it properly, it just puts it back every time i try to
install mozilla.
 

If mozilla was deinstalled correctly then the duplicate files in
/usr/X11R6/lib/mozilla/./components/ would not be there.  You haven't said what you actually did to uninstall mozilla, 
but I saw no mention of make deinstall or pkg_delete or portupgrade -f.  What does 
pkg_info -I mozilla\* show?
I don't know portmanager, but neither make clean nor cvsup have anything to do 
with deinstalling ports.
I've installed and deinstalled mozilla about five times in the last few weeks 
trying out various patches, and I know that correct deinstallation will remove 
the files that cpio is complaining about.  The files are not gone on your 
machine, ergo mozilla was not deinstalled correctly.  Why that happened, there 
is just too little information to say.
--Alex
   

wel i removed mozilla with a bit of pkg-delete forcing :) anyway why
doesnt the make file overwrite it ? And why cant it tell me this
before the realy realy long building process? It drives me nuts too
know mozilla works but wont register it every time i try.
FX-53R find / -name mozilla
/usr/ports/www/mozilla
FX-53R 

See no mozilla anywhere
 

And what did you do between the error message listed above and the find 
command you're now showing us?  Because something has clearly changed, 
or you're running find on the wrong machine.

What happens now when you try to install mozilla?
--Alex
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mozilla

2005-05-10 Thread Alex Zbyslaw
Gert Cuykens wrote:
On 5/10/05, Gert Cuykens [EMAIL PROTECTED] wrote:
 

On 5/10/05, Alex Zbyslaw [EMAIL PROTECTED] wrote:
   

On 5/9/05, Gert Cuykens [EMAIL PROTECTED] wrote:
 

On 5/9/05, Andreas Rudisch cyb.@gmx.net wrote:
   

On Mon, 2005-05-09 at 14:46 +0200, Gert Cuykens wrote:
   

   

Doesnt matter what i do, make clean, portmanager or cvsup. Mozilla
always gets stuck at the same place i have this problem for months now
   

 

   

===   Generating temporary packing list
===  Checking if www/mozilla already installed
/bin/mkdir -p /usr/X11R6/lib/mozilla
/bin/chmod 755 /usr/X11R6/lib/mozilla
install  -o root -g wheel -m 555
/usr/ports/www/mozilla/work/fake/bin/mozilla /usr/X11R6/lib/mozilla
install  -o root -g wheel -m 555
/usr/ports/www/mozilla/work/fake/bin/mozilla-config
/usr/X11R6/lib/mozilla
cd /usr/ports/www/mozilla/work/fake/lib/mozilla  /usr/bin/find . |
/usr/bin/cpio -pdm -L -R root:wheel /usr/X11R6/lib/mozilla
/usr/bin/cpio: /usr/X11R6/lib/mozilla/./components/nsProxyAutoConfig.js
not created: newer or same age version exists
/usr/bin/cpio: /usr/X11R6/lib/mozilla/./components/nsHelperAppDlg.js
not created: newer or same age version exists
/usr/bin/cpio: /usr/X11R6/lib/mozilla/./components/nsProgressDialog.js
not created: newer or same age version exists
/usr/bin/cpio: /usr/X11R6/lib/mozilla/./components/nsCloseAllWindows.js
not created: newer or same age version exists
   

 

^^^ Make sure Mozilla is deinstalled properly before you try to install
it again.
   

but i removed it properly, it just puts it back every time i try to
install mozilla.
   

If mozilla was deinstalled correctly then the duplicate files in
/usr/X11R6/lib/mozilla/./components/ would not be there.  You haven't said what you actually did to uninstall mozilla, 
but I saw no mention of make deinstall or pkg_delete or portupgrade -f.  What does 
pkg_info -I mozilla\* show?
I don't know portmanager, but neither make clean nor cvsup have anything to do 
with deinstalling ports.
I've installed and deinstalled mozilla about five times in the last few weeks 
trying out various patches, and I know that correct deinstallation will remove 
the files that cpio is complaining about.  The files are not gone on your 
machine, ergo mozilla was not deinstalled correctly.  Why that happened, there 
is just too little information to say.
--Alex
 

wel i removed mozilla with a bit of pkg-delete forcing :) anyway why
doesnt the make file overwrite it ? And why cant it tell me this
before the realy realy long building process? It drives me nuts too
know mozilla works but wont register it every time i try.
FX-53R find / -name mozilla
/usr/ports/www/mozilla
FX-53R
See no mozilla anywhere
   

its like mozilla is a default dependency for every (*#$#) package,
thats why i forced deleted it to see what happens :)
FX-53R pkg_info -r gimp-2.2.6,1/
Information for gimp-2.2.6,1:
Depends on:
[...]
Dependency: mozilla-1.7.7,2  - WTF
 

gimp (in theory) uses mozilla to display documentation.  What's supposed to be 
the problem with this?  If you deleted mozilla port, then you need to fix up 
dependencies with pkgdb -F.
--Alex
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to become su..

2005-05-10 Thread alexandru

Hy

I'm new bye in FreeBsd...have a litlle questions.
Supose i'm a user, how to become a su.I tried to type su,and the answer
was Sorry.What files must modified?[know must be root:)]
Thanks to all
Alexandru

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


Re: How to become su..

2005-05-10 Thread Ion-Mihai Tetcu
On Tue, 10 May 2005 13:38:12 +0300 (EEST)
[EMAIL PROTECTED] wrote:

 
 Hy
 
 I'm new bye in FreeBsd...have a litlle questions.
 Supose i'm a user, how to become a su.I tried to type su,and the answer
 was Sorry.What files must modified?[know must be root:)]

Your user must be in the wheel group.

-- 
IOnut
Unregistered ;) FreeBSD user


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


Re: PF RULES! But mine doesn't ...

2005-05-10 Thread Fafa Hafiz Krantz

 It's a question of letting DNS traffic _in_ to your nameserver:

 pass in on $ext_if inet proto { tcp, udp } \
   from any to ($ext_if) port 53
 
 ^^^ that lets the traffic in
 
 pass out on $ext_if inet proto { tcp, udp } \
   from ($ext_if) port 53 to any
 
 ^^^ and that lets it back out.
 
 If you add the query-source address * port 53; to your named.conf
 options section, that'll suffice; additionally, since your DNS query
 source port is then predictable, you can drop it from the DNS and NTP
 rule.

Hello again, Jan!

Well, I tried applying what you said now as well as last time you
said it -- but the problem is still there. Unless I uncomment the default
deny policy nothing seems to work. The problem must lie elsewhere in my
ruleset:

int_if=ep0
ext_if=lnc0

# *** Options
#
set block-policy drop

# *** Scrub incoming packets
#
scrub   in all

# *** NAT
#
nat on $ext_if from $int_if:network to any - ($ext_if)
rdr on $int_if proto tcp from any to any \
port 21 - 127.0.0.1 port 8021

# *** Default deny policy
#
# block   drop log all

# *** Pass loopback traffic
#
passquick on { lo0 $int_if }

# *** Outgoing
#
passout on $ext_if inet proto { tcp, udp, icmp } \
from ($ext_if) to any keep state

# *** DNS
#
passin on $ext_if inet proto { tcp, udp } \
from any to ($ext_if) port 53
passout on $ext_if inet proto { tcp, udp } \
from ($ext_if) port 53 to any

# *** NTP
#
passout on $ext_if inet proto udp \
from ($ext_if) to any port { 53, 123 } keep state

# *** SSH, HTTP and Ident
#
passin on $ext_if inet proto tcp \
from any to ($ext_if) port { 22, 80, 113 } flags S/SA keep state

# *** Active FTP
#
passin on $ext_if inet proto tcp \
from port 20 to ($ext_if) user proxy flags S/SA keep state

# *** Private FTP
#
passin on $ext_if proto tcp \
from any to any port 31337 keep state
passin on $ext_if proto tcp \
from any to any port 5:5

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf



-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Re: PF RULES! But mine doesn't ...

2005-05-10 Thread Fafa Hafiz Krantz

Correction:

Unless I COMMENT the default deny policy nothing seems to work.

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf



-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Re: How to become su..

2005-05-10 Thread Ben Haysom
are you entering the root password correctly affter su ?


On 5/10/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
 Hy
 
 I'm new bye in FreeBsd...have a litlle questions.
 Supose i'm a user, how to become a su.I tried to type su,and the answer
 was Sorry.What files must modified?[know must be root:)]
 Thanks to all
 Alexandru
 
 ___
 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: How to become su..

2005-05-10 Thread simon butsana

Hi All,

I am tring to install FreeBSD 5.3 on a computer with IDE Disk 169 GB on IDE 
port1, CD/DVD RWriter on IDE2 booting with FreeBSD 5.3 Disk 1 from FreeBSD Mall.

I keep having the error message Disk not found, as if there was no hard disk 
on my computer. Funny enough, I can install Linux or Windows 2003 without any 
problem...

Does anyone know what the issue may be?

Thanks in advance for the support,

Simon Butsana



-
 Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails !
Créez votre Yahoo! Mail  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to become su..

2005-05-10 Thread [EMAIL PROTECTED]
On Tue, 10 May 2005 13:38:12 +0300 (EEST)
[EMAIL PROTECTED] wrote:

 I'm new bye in FreeBsd...have a litlle questions.
 Supose i'm a user, how to become a su.I tried to type su,and the
 answer was Sorry.What files must modified?[know must be root:)]

put your user in the group wheel in the file /etc/group

(personally i prefer to install sudo instead)

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


Re: PF RULES! But mine doesn't ...

2005-05-10 Thread Fafa Hafiz Krantz

 It's a question of letting DNS traffic _in_ to your nameserver:

 pass in on $ext_if inet proto { tcp, udp } \
   from any to ($ext_if) port 53
 
 ^^^ that lets the traffic in
 
 pass out on $ext_if inet proto { tcp, udp } \
   from ($ext_if) port 53 to any
 
 ^^^ and that lets it back out.

Ok, after having added that it seems that my DNS works.
The same goes for my WWW and mail server.

SSH servers are all OK to connect to.

I have to wait like 5 minutes after booting my computer
before I can connect to those certain FTP sites. What's
that all about?

 If you add the query-source address * port 53; to your named.conf
 options section, that'll suffice; additionally, since your DNS query
 source port is then predictable, you can drop it from the DNS and NTP
 rule.

What do you mean by that?

Anyway, it's pretty close to perfection now :)

Jan, any idea how I can simplify my ruleset?
Also, I'm wondering if I can move the NAT part down below the Outgoing
so I can combine it with the Active FTP ruleset so they don't have to be
spread troughout the conf. Thanks!

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf



-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Re: How to become su..

2005-05-10 Thread alexandru

Thank...it's working
Alexandru


On Tue, 10 May 2005, [EMAIL PROTECTED] wrote:

 On Tue, 10 May 2005 13:38:12 +0300 (EEST)
 [EMAIL PROTECTED] wrote:
 
  I'm new bye in FreeBsd...have a litlle questions.
  Supose i'm a user, how to become a su.I tried to type su,and the
  answer was Sorry.What files must modified?[know must be root:)]
 
 put your user in the group wheel in the file /etc/group
 
 (personally i prefer to install sudo instead)
 

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


Another problem: gaim

2005-05-10 Thread alexandru


I installed gaim from the /usr/ports/net/gaim...I do make install
clean...but,it's working.can't connect (with yahoo protocol),put the user
and password correctly.I use a FreeBSD 5.2 with gaim 0.73.
So, what is the problem?
Thanks 
Alexandru


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


Re: PF RULES! But mine doesn't ...

2005-05-10 Thread Jan Grant
On Tue, 10 May 2005, Fafa Hafiz Krantz wrote:

 Ok, after having added that it seems that my DNS works.
 The same goes for my WWW and mail server.
 
 SSH servers are all OK to connect to.
 
 I have to wait like 5 minutes after booting my computer
 before I can connect to those certain FTP sites. What's
 that all about?
 
  If you add the query-source address * port 53; to your named.conf
  options section, that'll suffice; additionally, since your DNS query
  source port is then predictable, you can drop it from the DNS and NTP
  rule.
 
 What do you mean by that?

The rules I suggested are so that external machines can talk to your DNS 
server (querying about the domain it is authoritative for), and so that 
responses can get back to those machines.

Your nameserver, however, may also be trying to get requests out. When 
it does this, by default, it will use a random source-port. By 
specifying

options {
query-source address * port 53;
}

in your named.conf, your nameserver will _also_ use port 53 as the 
source port on any requests _that it originates_. (That's the 
distinction). If you do this, then you won't need port 53 mentioned in 
your other keep state rule.

I suspect that this might actually be the cause of your transient FTP 
concern; you should try modifying your nameserver config before you go 
any further.

(This assumes that your resolv.conf is configured to use the local 
machine as a nameserver in the first instance. If that is not the case, 
then you will still need the port 53 clause in your DNS and NTP 
section, because other programs will use random ports in an attempt to 
get DNS queries out into the wild.)

 Anyway, it's pretty close to perfection now :)
 
 Jan, any idea how I can simplify my ruleset?
 Also, I'm wondering if I can move the NAT part down below the Outgoing
 so I can combine it with the Active FTP ruleset so they don't have to be
 spread troughout the conf. Thanks!

Your ruleset looks pretty simple, to be honest.

I'm afraid that where the specifics of PF are concerned, I know nothing: 
the advice I've given you is just generic firewall stuff :-/ It looks to 
me like your PF config is set up to use some kind of FTP proxy running 
on localhost:8021. On the other hand, I could be barking up the wrong 
tree completely; I've pretty much run out of useful things to say about 
this config.

Cheers,
jan


-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44 (0)117 9287088 (with luck)   http://ioctl.org/jan/
Prolog in JavaScript: http://ioctl.org/logic/prolog-latest
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Disk not found during FreeBSD 5.3 Installation

2005-05-10 Thread simon butsana


simon butsana [EMAIL PROTECTED] a écrit:
Hi All,

I am tring to install FreeBSD 5.3 on a computer with IDE Disk 169 GB on IDE 
port1, CD/DVD RWriter on IDE2 booting with FreeBSD 5.3 Disk 1 from FreeBSD Mall.

I keep having the error message Disk not found, as if there was no hard disk 
on my computer. Funny enough, I can install Linux or Windows 2003 without any 
problem...

Does anyone know what the issue may be?

Thanks in advance for the support,

Simon Butsana



-
Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails !
Créez votre Yahoo! Mail 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



-
 Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails !
Créez votre Yahoo! Mail  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PF RULES! But mine doesn't ...

2005-05-10 Thread Giorgos Keramidas
On 2005-05-10 05:09, Fafa Hafiz Krantz [EMAIL PROTECTED] wrote:
 It's a question of letting DNS traffic _in_ to your nameserver:

 pass in on $ext_if inet proto { tcp, udp } \
  from any to ($ext_if) port 53

 ^^^ that lets the traffic in

 pass out on $ext_if inet proto { tcp, udp } \
  from ($ext_if) port 53 to any

 ^^^ and that lets it back out.

 If you add the query-source address * port 53; to your named.conf
 options section, that'll suffice; additionally, since your DNS
 query source port is then predictable, you can drop it from the DNS
 and NTP rule.

 Hello again, Jan!

 Well, I tried applying what you said now as well as last time you
 said it -- but the problem is still there. Unless I uncomment the default
 deny policy nothing seems to work. The problem must lie elsewhere in my
 ruleset:

Show us the output of:

# pfctl -sr

[snip ruleset]

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


How to upgrade FreeBSD release

2005-05-10 Thread Simon Striker
Hi!

I am pretty newby to FreeBSD and I have one question. I have some Linux
(Slackware) servers and I intend to reinstall them with FreeBSD.

When I will have to upgrade something on them, I will do that with portupgrade.
But when yesterday FreeBSD 5.4 released I wondered how could I upgrade to newer
release?

If for instance one day I will administrate 30 servers, will I have to reinstall
them all with new release or is there any other way to upgrade to newer release?

I would like to hear about your experiences with server administration.

Thanks in advance for any response or piece of advice!

Best regards,

Simon
-- 
Simon Striker
Rusjanov trg 2
1000 Ljubljana  +38641473856
Europe (Slovenia)

E-mail: [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: TrueType fonts sources

2005-05-10 Thread N. Raghavendra
At 2005-05-09T21:34:22-07:00, [EMAIL PROTECTED] wrote:

 all I need are some TrueTypefonts to put in the TT directory.

 1.where can I get them.

You could try the ports `x11-fonts/xorg-fonts-truetype',
`x11-fonts/bitstream-vera', `x11-fonts/urwfonts-ttf', and
`x11-fonts/webfonts'.  You can find more choices by searching the
ports tree.

Raghavendra.

-- 
N. Raghavendra [EMAIL PROTECTED] | See mail headers for contact
Harish-Chandra Research Institute   | and OpenPGP details.

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


Re: PF RULES! But mine doesn't ...

2005-05-10 Thread Fafa Hafiz Krantz

- Original Message -
From: Giorgos Keramidas [EMAIL PROTECTED]
To: Fafa Hafiz Krantz [EMAIL PROTECTED], Jan Grant [EMAIL PROTECTED]
Subject: Re: PF RULES! But mine doesn't ...
Date: Tue, 10 May 2005 13:50:27 +0300

 
 On 2005-05-10 05:09, Fafa Hafiz Krantz [EMAIL PROTECTED] wrote:
  It's a question of letting DNS traffic _in_ to your nameserver:
 
  pass in on $ext_if inet proto { tcp, udp } \
 from any to ($ext_if) port 53
 
  ^^^ that lets the traffic in
 
  pass out on $ext_if inet proto { tcp, udp } \
 from ($ext_if) port 53 to any
 
  ^^^ and that lets it back out.
 
  If you add the query-source address * port 53; to your named.conf
  options section, that'll suffice; additionally, since your DNS
  query source port is then predictable, you can drop it from the DNS
  and NTP rule.
 
  Hello again, Jan!
 
  Well, I tried applying what you said now as well as last time you
  said it -- but the problem is still there. Unless I uncomment the default
  deny policy nothing seems to work. The problem must lie elsewhere in my
  ruleset:
 
 Show us the output of:
 
   # pfctl -sr
 
 [snip ruleset]

Hello!

# pfctl -sr

No ALTQ support in kernel
ALTQ related functions disabled
scrub in all fragment reassemble
block drop log all
pass quick on lo0 all
pass quick on ep0 all
pass out on lnc0 inet proto tcp from (lnc0) to any keep state
pass out on lnc0 inet proto udp from (lnc0) to any keep state
pass out on lnc0 inet proto icmp from (lnc0) to any keep state
pass in on lnc0 inet proto tcp from any to (lnc0) port = domain
pass in on lnc0 inet proto udp from any to (lnc0) port = domain
pass out on lnc0 inet proto tcp from (lnc0) port = domain to any
pass out on lnc0 inet proto udp from (lnc0) port = domain to any
pass out on lnc0 inet proto udp from (lnc0) to any port = domain keep state
pass out on lnc0 inet proto udp from (lnc0) to any port = ntp keep state
pass in on lnc0 inet proto tcp from any to (lnc0) port = ssh flags S/SA keep 
state
pass in on lnc0 inet proto tcp from any to (lnc0) port = http flags S/SA keep 
state
pass in on lnc0 inet proto tcp from any to (lnc0) port = auth flags S/SA keep 
state
pass in on lnc0 inet proto tcp from any port = ftp-data to (lnc0) user = 62 
flags S/SA keep state
pass in on lnc0 proto tcp from any to any port = 31337 keep state
pass in on lnc0 proto tcp from any to any port 5:5

About the ALTQ thing, it should be in the kernel.
I just recompiled it with:

# *** Internet family options
#
device  pf  # OpenBSD PF firewall
device  pflog   # Logging support interface
device  altq# Alternate queuing
device  gif # IPv6 and IPv4 tunneling
device  faith   # IPv6-to-IPv4 translation
device  bpf # Berkeley Packet Filter

Thanks!

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf


-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Re: Using cvsup + make world, and keeping custom patches

2005-05-10 Thread Lowell Gilbert
patrick [EMAIL PROTECTED] writes:

 I recently had a need to patch the FreeBSD's jail utility to support
 multiple IP addresses. On a recent make update using cvsup, my
 patched versions of the jail files were blown away, and now I'll need
 to reapply the patches.
 
 Does anyone have a good strategy for including some custom patches
 when doing a make update in /usr/src?

Keep a local cvs tree, and keep your patches in that?  
I think the cvsup documentation has some guidance on how to make that work...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to upgrade FreeBSD release

2005-05-10 Thread Christopher Lane
Simon Striker wrote:
Hi!
I am pretty newby to FreeBSD and I have one question. I have some Linux
(Slackware) servers and I intend to reinstall them with FreeBSD.
When I will have to upgrade something on them, I will do that with portupgrade.
But when yesterday FreeBSD 5.4 released I wondered how could I upgrade to newer
release?
If for instance one day I will administrate 30 servers, will I have to reinstall
them all with new release or is there any other way to upgrade to newer release?
I would like to hear about your experiences with server administration.
Thanks in advance for any response or piece of advice!
Best regards,
Simon
Reinstall is not necessary.  In short, get the 5.4 release source 
somehow (cvsup, for example), and build/install new system binaries and 
kernel.  Freebsd handbook section 19 details the upgrade process pretty 
well - start reading there.  If this is your first upgrade, I don't have 
to tell you to try it on a non production box first ^_^

As far as doing 30 or more servers, I've never done it so this is a bit 
of speculation.  Look into using nfs or setting up a local cvsup server 
for distributing the source.  The archives might have more information 
on this subject.

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


BAD SU

2005-05-10 Thread vdm . fbsd
While fetching a package during the installation of a port (but I don't
think this really matters!) FreeBSD 5.4 keep saying

BAD SU victor to root on /dev/ttyp1

What does it mean and how can I avoid that?

Vittorio

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


Re: PF RULES! But mine doesn't ...

2005-05-10 Thread Fafa Hafiz Krantz

 The rules I suggested are so that external machines can talk to your DNS
 server (querying about the domain it is authoritative for), and so that
 responses can get back to those machines.
 
 Your nameserver, however, may also be trying to get requests out. When
 it does this, by default, it will use a random source-port. By
 specifying
 
 options {
   query-source address * port 53;
 }
 
 in your named.conf, your nameserver will _also_ use port 53 as the
 source port on any requests _that it originates_. (That's the
 distinction). If you do this, then you won't need port 53 mentioned in
 your other keep state rule.
 
 I suspect that this might actually be the cause of your transient FTP
 concern; you should try modifying your nameserver config before you go
 any further.

Great :) Thanks man, I'll try that.
Isn't this something that ought to be in every named.conf?

What ports do it go to by default?

 (This assumes that your resolv.conf is configured to use the local
 machine as a nameserver in the first instance. If that is not the case,
 then you will still need the port 53 clause in your DNS and NTP
 section, because other programs will use random ports in an attempt to
 get DNS queries out into the wild.)

No, my resolv.conf contains my ISP's nameservers.

 Your ruleset looks pretty simple, to be honest.

I've heard many experts say 'your ruleset looks like shit',
maybe because they're jealous of my nice headers ;)

Ok, so now my named.conf's option looks like this:

options {
directory /etc/namedb;
pid-file /var/run/named/pid;
query-source address * port 53;
};

Should I specify where to log to?
Because it doesn't log.

 I'm afraid that where the specifics of PF are concerned, I know nothing:
 the advice I've given you is just generic firewall stuff :-/ It looks to
 me like your PF config is set up to use some kind of FTP proxy running
 on localhost:8021. On the other hand, I could be barking up the wrong
 tree completely; I've pretty much run out of useful things to say about
 this config.

Well you do seem to me like a jack of all trades.

Have a wonderful day! :)

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf



-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


building FreeBSD distro

2005-05-10 Thread mats . lindberg




Hi,

I need to make some minor modifications to the FreeBSD-5.4 release
 - changing some config files (e.g. /etc/hosts /etc/rc)
 - editing the kernel conf-file and recompile/install  the kernel
and then make a new personal set of installation CD's
Which is the smartest way to go about it?
Do I need to use the /usr/src make build and /usr/release make release
scheme?
If so can I use the 5.4 distro CD's as the CVS repository somehow? Or do I
really need the cvs checkout via internet - I'm having problems with this
(company rules conc internet access).
If not so how do I do?

Mats

___

This e-mail communication (and any attachment/s) may contain confidential
or privileged information and is intended only for the individual(s) or
entity named above and to others who have been specifically authorized to
receive it. If you are not the intended recipient, please do not read,
copy, use or disclose the contents of this communication to others. Please
notify the sender that you have received this e-mail in error by reply
e-mail, and delete the e-mail subsequently.
Thank you.
_


Ce message (ainsi que le(s) fichier/s), transmis par courriel, peut
contenir des renseignements confidentiels ou protgs et est destin 
lusage exclusif du destinataire ci-dessus. Toute autre personne est par
les prsentes avise quil est strictement interdit de le diffuser, le
distribuer ou le reproduire. Si vous lavez reu par inadvertance, veuillez
nous en aviser et dtruire ce message.
Merci.
_

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


firewall_enabled: not found mail message (was IPFW custom rules file not loading)

2005-05-10 Thread Nicholas Henry
Thank you for you help - I misunderstood the firewall_script and
firewall_type. Everything works well now. Just one annoying problem. I
continually get a mail msg regarding firewall_enabled not found:

From [EMAIL PROTECTED] Sat May  7 12:44:00 2005
Date: Sat, 7 May 2005 12:44:00 -0400 (EDT)
From: [EMAIL PROTECTED] (Cron Daemon)
To: [EMAIL PROTECTED]
Subject: Cron [EMAIL PROTECTED] /usr/libexec/save-entropy

firewall_enable: not found

Can anyone tell me how to resolve this issue?

Thanks again,
Nicholas

On 5/3/05, Giorgos Keramidas [EMAIL PROTECTED] wrote:
 On 2005-05-03 15:18, Nicholas Henry [EMAIL PROTECTED] wrote:
  May  3 14:25:22 babe kernel: firewall_enable: not found
  May  3 14:25:22 babe kernel: ipfw2 initialized, divert disabled, rule-based 
  forwarding dis$
  May  3 14:25:22 babe kernel: Flushed all rules.
  May  3 14:25:22 babe kernel: Line 3:
  May  3 14:25:22 babe kernel: bad command `ipfw'
  May  3 14:25:22 babe kernel:
  May  3 14:25:22 babe kernel: Firewall rules loaded, starting divert daemons:
  May  3 14:25:22 babe kernel: firewall_enable: not found
  May  3 14:25:22 babe kernel: .
  May  3 14:25:22 babe kernel: net.inet.ip.fw.enable:
  May  3 14:25:22 babe kernel: 1
  May  3 14:25:22 babe kernel: -
  May  3 14:25:22 babe kernel: 1
 
  I'm refering to the bad command 'ipfw' line. I'm also concerned
  about the firewall_enable not found message.

 It's normal.  You're using firewall_type and yet you have written a
 firewall _script_ in /etc/ipfw.rules.

  ** start rc.conf snippet **
  firewall_enable=YES
  firewall_script=/etc/rc.firewall
  firewall_type=/etc/ipfw.rules
  firewall_quiet=NO
  firewall_logging=NO
  firewall_flags=
  ** send rc.conf snippet **

 Your firewall_type points to a pathname, so the file should contain
 rules in the form:

 check-state
 add allow tcp from any to any 80 keep-state
 add block ip from any to any

  ** start ipfw.rules **
 
  #!/bin/sh
  # Flush out the list before we begin.
  ipfw -q -f flush
 
  # Set rules command prefix
  cmd=ipfw -q add
  skip=skipto 801
  pif=fxp0#found by doing a ifconfig or netstat -nr
# public interface name of NIC

 Your ipfw.rules file is written in the form of a firewall_script.
 The difference between the two is small but important.

 A firewall_type file contains just a set of rules that ipfw(8) will
 parse, without intervention by a shell.

 A firewall_script is executed by the /bin/sh shell, as a normal shell
 script.  One example of what can be used as a firewall_script is
 /etc/rc.firewall (in pre-5.X versions) or /etc/rc.d/ipfw (in FreeBSD
 5.X or later).

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


firefox crashes after upgrade to R5.4

2005-05-10 Thread Hou Ian
Hi,
After successful upgrade to R5.4 via
buildworld/installworld on my amd64/R5.3 machine,
everything works quite well except that the
firefox-1.0.3 crashes whenever I try to use find
(Ctrl-f) or access to localhost for samba
administration. The firefox window got closed
immediately and core-dump without leaving any other
trace when either of the above events take place.

Anyone has any idea? Thanks in advance.

James 



__ 
Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard. 
http://promotions.yahoo.com/new_mail 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: firefox crashes after upgrade to R5.4

2005-05-10 Thread Kent Stewart
On Tuesday 10 May 2005 06:59 am, Hou Ian wrote:
 Hi,
 After successful upgrade to R5.4 via
 buildworld/installworld on my amd64/R5.3 machine,
 everything works quite well except that the
 firefox-1.0.3 crashes whenever I try to use find
 (Ctrl-f) or access to localhost for samba
 administration. The firefox window got closed
 immediately and core-dump without leaving any other
 trace when either of the above events take place.

 Anyone has any idea? Thanks in advance.


You didn't say the magic works make kernel. Did you build and install 
a new kernel?

Kent

-- 
Kent Stewart
Richland, WA

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


Re: firefox crashes after upgrade to R5.4

2005-05-10 Thread Hou Ian

--- Kent Stewart [EMAIL PROTECTED] wrote:
 On Tuesday 10 May 2005 06:59 am, Hou Ian wrote:
  Hi,
  After successful upgrade to R5.4 via
  buildworld/installworld on my amd64/R5.3 machine,
  everything works quite well except that the
  firefox-1.0.3 crashes whenever I try to use find
  (Ctrl-f) or access to localhost for samba
  administration. The firefox window got closed
  immediately and core-dump without leaving any
 other
  trace when either of the above events take place.
 
  Anyone has any idea? Thanks in advance.
 
 
 You didn't say the magic works make kernel. Did
 you build and install 
 a new kernel?
 
 Kent
 
Yes, I did make buildkernel/installkernel, of course.
Sorry I didn't make that clear. The dmesg confirms I
am now running 5.4 and everything else doesn't have a
single problem.

BTW, I had even re-portinstall the firefox port and
the problem persists.

__
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]


[no subject]

2005-05-10 Thread Chen Xu
asd
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: firefox crashes after upgrade to R5.4

2005-05-10 Thread mark wolgemuth
Check to make sure you don't have a /etc/libmap.conf setup with  
mappings for firefox-- let it use the default.

--mark
On May 10, 2005, at 10:26 AM, Hou Ian wrote:
--- Kent Stewart [EMAIL PROTECTED] wrote:
On Tuesday 10 May 2005 06:59 am, Hou Ian wrote:
Hi,
After successful upgrade to R5.4 via
buildworld/installworld on my amd64/R5.3 machine,
everything works quite well except that the
firefox-1.0.3 crashes whenever I try to use find
(Ctrl-f) or access to localhost for samba
administration. The firefox window got closed
immediately and core-dump without leaving any
other
trace when either of the above events take place.
Anyone has any idea? Thanks in advance.

You didn't say the magic works make kernel. Did
you build and install
a new kernel?
Kent

Yes, I did make buildkernel/installkernel, of course.
Sorry I didn't make that clear. The dmesg confirms I
am now running 5.4 and everything else doesn't have a
single problem.
BTW, I had even re-portinstall the firefox port and
the problem persists.
__
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 freebsd-questions- 
[EMAIL PROTECTED]


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


Network Config

2005-05-10 Thread Marek Pawinski
Hi

I have been playing around with Linux for quite a while and thought i
would give FreeBSD 5.4 a go now that's it out.

Only hassle i had with a Live FreeBSD distro was setting up the network.
In linux its ifconfig eth0 192.168.1.1 what would the command be in
FreeBSD ?

Any thing else to look for ?

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


Re: Network Config

2005-05-10 Thread Fabian Keil
Marek Pawinski [EMAIL PROTECTED] wrote:

 I have been playing around with Linux for quite a while and thought i
 would give FreeBSD 5.4 a go now that's it out.
 
 Only hassle i had with a Live FreeBSD distro was setting up the network.
 In linux its ifconfig eth0 192.168.1.1 what would the command be in
 FreeBSD ?

On FreeBSD there is no general name for the NIC,
it depends on the hardware.

Use ifconfig to see which devices are available.

 Any thing else to look for ?

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

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


Re: Network Config

2005-05-10 Thread Charles Swiger
On May 10, 2005, at 10:53 AM, Marek Pawinski wrote:
Only hassle i had with a Live FreeBSD distro was setting up the 
network.
In linux its ifconfig eth0 192.168.1.1 what would the command be in
FreeBSD ?

Any thing else to look for ?
Try running dhclient.  This will do the right thing for most 
well-configured networks.
Beyond that, look at dmesg, or do an ifconfig -a to see all of the 
NICs present in your machine.

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


Re: firefox crashes after upgrade to R5.4

2005-05-10 Thread Hou Ian
Thanks mark but that didn't help. My libmap.conf file
only contains the following two lines and I don't
think any of them is for firefox.

# candidate mapping
libm.so.2   libm.so.3

Though there's no libmap.conf in my /etc/defaults
folders, the timestamp on this libmap file shows quite
certainly that it is a default one without my
modification or changes from the upgrade process. I
even tried to rename the file to something else to see
how things go but the results are the same as before.

--- mark wolgemuth [EMAIL PROTECTED] wrote:
 
 Check to make sure you don't have a
 /etc/libmap.conf setup with  
 mappings for firefox-- let it use the default.
 
 --mark
 
 On May 10, 2005, at 10:26 AM, Hou Ian wrote:
 
 
  --- Kent Stewart [EMAIL PROTECTED] wrote:
 
  On Tuesday 10 May 2005 06:59 am, Hou Ian wrote:
 
  Hi,
  After successful upgrade to R5.4 via
  buildworld/installworld on my amd64/R5.3
 machine,
  everything works quite well except that the
  firefox-1.0.3 crashes whenever I try to use
 find
  (Ctrl-f) or access to localhost for samba
  administration. The firefox window got closed
  immediately and core-dump without leaving any
 
  other
 
  trace when either of the above events take
 place.
 
  Anyone has any idea? Thanks in advance.
 
 
 
  You didn't say the magic works make kernel. Did
  you build and install
  a new kernel?
 
  Kent
 
 
  Yes, I did make buildkernel/installkernel, of
 course.
  Sorry I didn't make that clear. The dmesg confirms
 I
  am now running 5.4 and everything else doesn't
 have a
  single problem.
 
  BTW, I had even re-portinstall the firefox port
 and
  the problem persists.
 
  __
  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
 freebsd-questions- 
  [EMAIL PROTECTED]
 
 
 
 ___
 freebsd-questions@freebsd.org mailing list

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

__
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]


Error in shell encryption

2005-05-10 Thread Antony Thomson

Hi,

Whenever i run the encrypted shell script,  i'm getting the below given error
(Encryption is done using shc command in freebsd-4.10)

%sh shcsample.sh.x
shcsample.sh.x: 1: Syntax error: ( unexpected

Same error throws for all the scripts with .sh.x extention but working fine for 
.sh (without encryption)


I want to protect my password details in shell script. If there is any other 
way, please provide your suggestion




Thanks in advance
Antony Thomson
INDIA



-
Yahoo! Mail
 Stay connected, organized, and protected. Take the tour
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Learning UNIX internals

2005-05-10 Thread Alden Pierre
Charles Swiger wrote:
On May 7, 2005, at 12:57 PM, Lowell Gilbert wrote:
Yes, it will be.  You'll need something more basic to start with.
While the books you asked about in your initial post will be okay,
my suggestion would be [Tanenbaum, Modern Operating Systems,
ISBN 0130313580], which provides more of a theoretical background for
OS concepts.

I'd second this recommendation.  Tanenbaum's a good author...
I'm currently using this book in my OS class this semester.  I have no 
knowledge on unix internals, but this book gives
an excellent overview on OS concepts. After we had finished the chapter 
2 on threads and process,  I used this site
to learn about synchornization 
http://www.llnl.gov/computing/tutorials/workshops/workshop/pthreads/MAIN.html#Overview.
Not to mention after finishing each chapter, we used 
Nachos(http://www.cs.washington.edu/homes/tom/nachos/) to build
on the ideas Tanenbaum's talked about.  Once I'm done with this book, I 
think I'll be ready to look at the book by Marshall
Kirk McKusick.  I'm in undergrad in my 2nd year in the computer science 
curriculm, so I was fortunate to have a great professor
to help me along the way.

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


Re: firefox crashes after upgrade to R5.4

2005-05-10 Thread Alex Zbyslaw
Hou Ian wrote:
After successful upgrade to R5.4 via
buildworld/installworld on my amd64/R5.3 machine,

everything works quite well except that the
firefox-1.0.3 crashes whenever I try to usefind

(Ctrl-f) or access to localhost for samba
administration. The firefox window got closed
immediately and core-dump without leaving any
other trace when either of the above events take place.
If firefox is like mozilla, then you can make the port with debugging
  make WITH_DEBUG=1
That might a) give you more info about what happens just before it 
crashes and b) give you a -g executable you can use with your core file.

The only other question is, did you update gnome recently, and did you follow 
the instructions in /usr/ports/UPDATING? --look for 20050312.  Only guessing 
mind.  My last attempt at thunderbird crashed constantly -- far more often than 
your firefox.  I just gave up.
Also, be warned that with debugging, mozilla beeps quite a lot as it seems to 
fail assertions doing just about anything.  Not very accurate assertions, I 
guess ;)  Also, you may need to tweak or delete /var/db/ports/firefox/options 
when you want to recompile without debugging again.  That one caught me out, 
and mozilla is *still* beeping like a mad thing.
--Alex
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ports backup corrupted windows

2005-05-10 Thread Xian
On Tuesday 10 May 2005 08:58, Ted Mittelstaedt wrote:
 PRN: is a device under Windows, specifically the first printer port.

 How did you create this file?  If you attempted to create it in Windows,
 the operating system would have rejected it.  What you will have to do
 is mount the DOS partition under UNIX and access it from the UNIX side
 directly.

 Ted

snip

I have had things like this before. Any idea how to do this on an ntfs slice, 
since all the open soucer ntfs drivers I have come accross are read only?

/Xian

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


RE: FreeBSD on AMD 64 Boot Lock Up - ACPI Related

2005-05-10 Thread Joseph Borg
First of all, please to not top-post. It disturbs the normal flow of
reading.

But to answer your question, if your PC's devices are all correctly
working with FreeBSD drivers and if you don't use power management I see
no great need for ACPI. Laptops might need the power management
component of ACPI. Some motherboards use ACPI to let you read out things
like temperatures and fan speeds. But those can mostly also be
discovered by other programs.

Sorry for top-posting. Will remember not to do it again. Thanks for all your
help. So far the system seems fine with ACPI disabled.
Thanks,

Joe

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


Re: USB tape drive

2005-05-10 Thread Geert Hendrickx
On Fri, May 06, 2005 at 10:45:23AM +0200, Geert Hendrickx wrote:
 I have a USB tape streamer (OnStream USB30), what do I need to get it
 running?  /dev/sa0 is not configured.  All the kernel says is: 
 
  ugen0: Freecom Connector for DVD drive, rev 1.00/9.21, addr 2
  ugen0: Freecom Connector for DVD drive, rev 1.00/9.21, addr 2

Apparantly the OnStream devices don't follow the standard USB/SCSI
specifications and need a custom driver.  Such a driver has been
developed for Linux: http://osst.sourceforge.net/ under the GPL.  

Is there any chance this could be ported to *BSD?  

GH

(please CC me)

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


NVIDIA Driver on 5.4 RC3

2005-05-10 Thread Joseph Borg
Hi,
I've got an NVIDIA TNT2 and I'm trying to install NVIDIA's driver on the AMD
64 Release of 5.4 RC3. The driver I'm trying to install is:
NVIDIA-FreeBSD-x86-1.0-7174.tar.gz.

When I try to install it, make stops with an error saying that vm86.h was
not found. Has anyone come across this problem before? 

Alternatively, does anyone know of another driver I can use with my card
that will support 1024x768 at true colour depth?

Thanks in advance.
Joe

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


Re: BAD SU

2005-05-10 Thread vdm . fbsd
But user victor it's me! I mean I have only root and a user victor (belonging
to the group wheel too!) with no special privileges...

Could the cause of that warning be the fact that - in view of the long time
required for the compilation - I opened a new console as user 'victor' and
then failed the su command having provided the wrong password?
Vittorio
-- Messaggio originale --
From: Xian [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Date: Tue, 10 May 2005 17:03:18 +0100
Subject: Re: BAD SU


On Tuesday 10 May 2005 14:32, [EMAIL PROTECTED] wrote:
 While fetching a package during the installation of a port (but I don't
 think this really matters!) FreeBSD 5.4 keep saying

 BAD SU victor to root on /dev/ttyp1

 What does it mean
It means that someone not on the console is using the su command on your

computer. They are trying to become root and not managing it. That someone

logged in with the user name victor.

 and how can I avoid that?
If victor is allowed to mess about as root, it is a case of stopping the

messages getting to the console.

If victor is not... have stern words with victor ;-)

 Vittorio

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

--
/Xian

In C we had to code our own bugs. In C++ we can inherit them
unknown author
___
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: NVIDIA Driver on 5.4 RC3

2005-05-10 Thread Rod Person
On Tue, 10 May 2005 12:24:30 -0400, Joseph Borg [EMAIL PROTECTED] wrote:
Hi,
I've got an NVIDIA TNT2 and I'm trying to install NVIDIA's driver on the  
AMD
64 Release of 5.4 RC3. The driver I'm trying to install is:
NVIDIA-FreeBSD-x86-1.0-7174.tar.gz.

When I try to install it, make stops with an error saying that vm86.h was
not found. Has anyone come across this problem before?
I have the same type of card and use the NVIDIA driver with no problem.
I'm not sure, but does the driver support AMD 64 cpu??
Alternatively, does anyone know of another driver I can use with my card
that will support 1024x768 at true colour depth?
The Xorg driver 'nv' - I believe it is - should support 1024x768, it just
doesn't do the 3D acceleration of the Nvidia driver.
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


cannot kill -9 a process

2005-05-10 Thread Athanasios Douitsis
Hello all,

I have run into a peculiar problem. A process in one of my servers
has stopped working, but when I kill -9 the pid the process won't go away.

ps axuw | grep nagios
nagios 36818  0.0  0.1  3964 2184  ??  TLs  30Mar05  46:14.69 
/usr/local/bin/nagios -d /usr/local/etc/nagios/nagios.cfg

and

kill -9 36818 


Well, it won't die no matter how many times I'll try to kill -9 it. 

My uname is 

5.3-SECURITY FreeBSD 5.3-SECURITY #0: Sun Jan 16 09:53:48 UTC 2005 [EMAIL 
PROTECTED]:/usr/obj/usr/src/sys/SMP  i386

Does anyone have any constructive suggestion on how to get rid of it?

Thanks in advance
Athanasios


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


Re: cannot kill -9 a process

2005-05-10 Thread Chad Leigh -- Shire.Net LLC
On May 10, 2005, at 10:43 AM, Athanasios Douitsis wrote:
Hello all,
I have run into a peculiar problem. A process in one of my servers
has stopped working, but when I kill -9 the pid the process won't  
go away.

ps axuw | grep nagios
nagios 36818  0.0  0.1  3964 2184  ??  TLs  30Mar05  46:14.69 /usr/ 
local/bin/nagios -d /usr/local/etc/nagios/nagios.cfg

and
kill -9 36818
Well, it won't die no matter how many times I'll try to kill -9 it.
Typically it is stuck waiting for some IO and cannot be killed in  
that state (happens on nfs for me once in a while for example).  Try  
to figure out what it is waiting for and fix that problem so that the  
IO will complete

for example lsof may help you track down
Chad
My uname is
5.3-SECURITY FreeBSD 5.3-SECURITY #0: Sun Jan 16 09:53:48 UTC  
2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386

Does anyone have any constructive suggestion on how to get rid of it?
Thanks in advance
Athanasios
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions- 
[EMAIL PROTECTED]

---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
[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: cannot kill -9 a process

2005-05-10 Thread Dan Nelson
In the last episode (May 10), Athanasios Douitsis said:
 Hello all,
 
 I have run into a peculiar problem. A process in one of my servers
 has stopped working, but when I kill -9 the pid the process won't go away.
 
 ps axuw | grep nagios
 nagios 36818  0.0  0.1  3964 2184  ??  TLs  30Mar05  46:14.69 
 /usr/local/bin/nagios -d /usr/local/etc/nagios/nagios.cfg

T means the process has been stopped. ps axlw will also print the
wchan column, which is what part of the kernel the process was waiting
in before it was stopped, and the flags column, which may tell you what
kind of stop it's in (see the ps manpage to decode the flags).  On 5.3
I would occasionally see threaded processes hang when multiple threads
tried to fork at once, but they usually freed themselves up after 20
seconds or so.  If that's the case, upgrading to 5.4 will help.

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


Re: BAD SU

2005-05-10 Thread Jerry McAllister
 
 But user victor it's me! I mean I have only root and a user victor 
 (belonging
 to the group wheel too!) with no special privileges...
 
 Could the cause of that warning be the fact that - in view of the long time
 required for the compilation - I opened a new console as user 'victor' and
 then failed the su command having provided the wrong password?

Most likely, that is it.
There should be a console message every time someone attempts
to su, at least if unsuccessful.

jerry

 Vittorio
 -- Messaggio originale --
 From: Xian [EMAIL PROTECTED]
 To: freebsd-questions@freebsd.org
 Date: Tue, 10 May 2005 17:03:18 +0100
 Subject: Re: BAD SU
 
 
 On Tuesday 10 May 2005 14:32, [EMAIL PROTECTED] wrote:
  While fetching a package during the installation of a port (but I don't
  think this really matters!) FreeBSD 5.4 keep saying
 
  BAD SU victor to root on /dev/ttyp1
 
  What does it mean 
 It means that someone not on the console is using the su command on your
 
 computer. They are trying to become root and not managing it. That someone
 
 logged in with the user name victor.
 
  and how can I avoid that? 
 If victor is allowed to mess about as root, it is a case of stopping the
 
 messages getting to the console.
 
 If victor is not... have stern words with victor ;-)
 
  Vittorio
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 
 -- 
 /Xian
 
 In C we had to code our own bugs. In C++ we can inherit them
 unknown author
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 

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


ps: bad namelist

2005-05-10 Thread Godfrey Hamshire
Hello
I wondered if  any one on this list has had this happen to them and what a 
solution was

ps: bad namelist
w: bad namelist
I did a trawl of Google and they talk about an incomplete upgrade etc being 
the cause.

In my case the last thing I did was update via protupgrade Rrv clamd 
certainly did not do any system update or similar adventurous stuff.

If this helps the box is running Freebsd 4.7
I have also checked to see if the server has been cracked this is not the case.

Kind Regards
Godfrey
~
Compu-Doc On-Line - http://www.compudoc.co.za
   Striving To Serve You Better
~
Godfrey J. Hamshire  Compu-Doc On-Line
10 Perth Place
 Umbilo Durban 4001
 Phone 08614659009
 Fax 031 4651998
 Cell  083 773 8776
~
Katsumoto: A perfect blossom. You could spend your whole life searching for
one, and it would not be a wasted life.
~  

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


freebsd reinstalling

2005-05-10 Thread Peter Svec
Hi,

I want to reisntall my freebsd server, but i have problems with buildworld. So 
I decide to make new installation from FTP, but... i want to keep some 
partitions from older version (/home, /var/www, /var/mail). When I start 
sysinstall and I will create new slices exactly as in old system, will be my 
dota lost or not.

thanks for answer

FilesystemSize   Used  Avail Capacity  Mounted on
/dev/ad4s1a  10.0G   153M   9.0G 2%/
devfs 1.0K   1.0K 0B   100%/dev
/dev/ad4s1g19G12G   5.8G68%/export
/dev/ad4s1e   1.9G47M   1.7G 3%/root
/dev/ad5s1e   1.9G   6.1M   1.8G 0%/tmp
/dev/ad5s1h   4.8G   3.7G   775M83%/usr
/dev/ad4s1f   4.9G   495M   4.0G11%/var
/dev/ad5s1d15G18K14G 0%/backhome
/dev/ad5s1a   3.0G   1.4G   1.3G53%/var/mail
/dev/ad5s1f   4.8G   2.8G   1.6G63%/var/www
procfs4.0K   4.0K 0B   100%/proc


petko
-- 
Hot glass looks exactly the same as cold glass.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BAD SU

2005-05-10 Thread Tomas Quintero
On 5/10/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 But user victor it's me! I mean I have only root and a user victor 
 (belonging
 to the group wheel too!) with no special privileges...
 
 Could the cause of that warning be the fact that - in view of the long time
 required for the compilation - I opened a new console as user 'victor' and
 then failed the su command having provided the wrong password?
 Vittorio

Correct, if you typed the wrong password, it would print that message.

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


Re: A beautiful dmesg! Maybe one day?

2005-05-10 Thread Fafa Hafiz Krantz

  We can't just forget about it and pray for it to go away.
 
  This is an aesthetic violation to FreeBSD's professional image,
  that is considered to be more important now than ever.
 
 There is no aesthetic violation to forget about or pray over.

I like to appreciate.
And it's easier to appreciate something that is CORRECT.

real memory  = 100663296 (96 MB)
avail memory = 93036544 (88 MB)

Looks like it's been written by some Linux geek.

Real memory  = 100663296 (96 MB)
Available memory = 93036544 (88 MB)

Doesn't.

 As you suggested, I compared these with diff, ignoring the gratuitous
 spacing modification using diff -b.
 
 In the end, I don't think I can consider even one of your changes to
 be an improvement.  The closest you came to a useful change was the
 capitalisation of Real memory, but that's hardly necessary, and
 the accompanying change to the next line upsets the formatting.

Ofcourse it doesn't improve the functionality.
And I get the feeling that's what you're all about.

 In short, I think you should find some other way to pretty up your FreeBSD
 boot.  As suggested earlier, try man splash.

Again, I want it to look correct.

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf



-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Re: A beautiful dmesg! Maybe one day?

2005-05-10 Thread Rick Pettit
On Tue, May 10, 2005 at 01:18:36PM -0500, Fafa Hafiz Krantz wrote:
 
   We can't just forget about it and pray for it to go away.
  
   This is an aesthetic violation to FreeBSD's professional image,
   that is considered to be more important now than ever.
  
  There is no aesthetic violation to forget about or pray over.
 
 I like to appreciate.
 And it's easier to appreciate something that is CORRECT.
 
 real memory  = 100663296 (96 MB)
 avail memory = 93036544 (88 MB)
 
 Looks like it's been written by some Linux geek.
 
 Real memory  = 100663296 (96 MB)
 Available memory = 93036544 (88 MB)
 
 Doesn't.
 
  As you suggested, I compared these with diff, ignoring the gratuitous
  spacing modification using diff -b.
  
  In the end, I don't think I can consider even one of your changes to
  be an improvement.  The closest you came to a useful change was the
  capitalisation of Real memory, but that's hardly necessary, and
  the accompanying change to the next line upsets the formatting.
 
 Ofcourse it doesn't improve the functionality.
 And I get the feeling that's what you're all about.
 
  In short, I think you should find some other way to pretty up your FreeBSD
  boot.  As suggested earlier, try man splash.
 
 Again, I want it to look correct.

Time to fork your own project - from the postings I have seen from you on
various BSD lists you are going in a direction all your own.

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


Re: ps: bad namelist

2005-05-10 Thread Jerry Bell
Typically this is caused by a kernel and utilities (like ps and w) being
out of sync.  It sounds like you don't think that is the case, though.  I
suppose it could be a problem with your procfs, but I'm not sure that
would cause this kind of symptom.  My suspicion is still on
inconsistencies between the kernel and world.
 ps: bad namelist
 w: bad namelist


Jerry
http://www.syslog.org


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


shutdown -r - halt!

2005-05-10 Thread Andrea Venturoli
Hello.
As per subject: on a quite recent machine running FreeBSD 5.4, when I 
issue shutdown -r now the machine powers off.
Where do I start digging into this?

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


Re: A beautiful dmesg! Maybe one day?

2005-05-10 Thread Clifton Royston
On Tue, May 10, 2005 at 01:18:36PM -0500, Fafa Hafiz Krantz wrote:
...
 Real memory  = 100663296 (96 MB)
 Available memory = 93036544 (88 MB)
 
 Doesn't.
 
  As you suggested, I compared these with diff, ignoring the gratuitous
  spacing modification using diff -b.
  
  In the end, I don't think I can consider even one of your changes to
  be an improvement.  The closest you came to a useful change was the
  capitalisation of Real memory, but that's hardly necessary, and
  the accompanying change to the next line upsets the formatting.
 
 Ofcourse it doesn't improve the functionality.
 And I get the feeling that's what you're all about.
 
  Indeed, you understand correctly.  Functionality is exactly what the
BSD family of OSs is all about.

  Most kernel developers are busy with activities like improving system
performance on multi-CPU systems, increasing OS reliability with SATA
drives, and other activities of a deep and essential nature.  I don't
generally tell the kernel developers what to do, because I know that
they know their own knowledge domain far better than I do.

[...]
  In short, I think you should find some other way to pretty up your FreeBSD
  boot.  As suggested earlier, try man splash.
 
 Again, I want it to look correct.
 
  The appearance is a matter of personal taste, and de gustibus non
disputandum. Your claim that your personal preference is correct
does not cause other people to prefer it.

  It should be clear by now that you are getting nowhere trying to
persuade others to implement this for you, so your only course is to
implement it yourself.  If these changes matter a great deal to you, I
suggest you invest the sweat to change it on your own system.  You have
all the sources, you have the power.  If you don't know how yet, you
have the opportunity to learn.  If you succeed and post public patches
to do it, then others can share the changes if they wish, and you will
get some smidgen of positive recognition and credibility.

  If this matters so much to you, it should be worth your effort.

  If you are incapable of making these changes, then your preferences
will get some smidgin less weight, as there will be that much less
evidence that your opinions should be valued.  The open source world is
largely a meritocracy and technocracy; this is not to say that
politics and opinions play no part, but generally speaking working
code wins.

  Mostly people in the OSS world take it for granted that others
understand this, which may be why nobody has told you this in so many
words before now.

  -- Clifton

-- 
  Clifton Royston  --  [EMAIL PROTECTED] 
 Tiki Technologies Lead Programmer/Software Architect
I'm gonna tell my son to grow up pretty as the grass is green
And whip-smart as the English Channel's wide...
-- 'Whip-Smart', Liz Phair
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NVIDIA Driver on 5.4 RC3

2005-05-10 Thread Mike Jeays
On Tue, 2005-05-10 at 12:37, Rod Person wrote:
 On Tue, 10 May 2005 12:24:30 -0400, Joseph Borg [EMAIL PROTECTED] wrote:
 
  Hi,
  I've got an NVIDIA TNT2 and I'm trying to install NVIDIA's driver on the  
  AMD
  64 Release of 5.4 RC3. The driver I'm trying to install is:
  NVIDIA-FreeBSD-x86-1.0-7174.tar.gz.
 
  When I try to install it, make stops with an error saying that vm86.h was
  not found. Has anyone come across this problem before?
 
 I have the same type of card and use the NVIDIA driver with no problem.
 I'm not sure, but does the driver support AMD 64 cpu??
 
  Alternatively, does anyone know of another driver I can use with my card
  that will support 1024x768 at true colour depth?
 
 The Xorg driver 'nv' - I believe it is - should support 1024x768, it just
 doesn't do the 3D acceleration of the Nvidia driver.

Even the VESA driver works at this resolution with the GEFORCE 440 card
- I am not saying the performance is spectacular, but it works fine for
me.

Section Device

Identifier  Card0
Driver  vesa
VendorName  nVidia Corporation
BoardName   NV17 [GeForce4 MX 440]
ChipSet vesa
BusID   PCI:1:0:0
EndSection

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
SubSection Display
Viewport   0 0
Depth 15
Modes 800x600
EndSubSection
SubSection Display
Viewport   0 0
Depth 16
Modes 1280x1024
EndSubSection
SubSection Display
Viewport   0 0
Depth 24
Modes 1024x768
EndSubSection
EndSection

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


message on my cell phone

2005-05-10 Thread Rosemary Robinson
I got an email text message on my cell phone on 5-9-05.  
It reads[EMAIL PROTECTED] (mailing error) This is an automatically generated 
E-Mail Delivery Status Notification.  Mail-Header, Mail-Body and Error 
Description are attached *** AntiVi3:36am 5/0/05

What is this?  Please do not send things to my cell phone number.  Where did 
you get my number?  Take it off whatever list you have it on.

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


Re: A beautiful dmesg! Maybe one day?

2005-05-10 Thread Paul Schmehl
If you want to pretty up dmesg, then submit the patches.  You can start 
with machdep.c line 442.  Scrounge around in the code for printf 
statements and change the text to anything you want.  Then submit it for 
inclusion in the next release.

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Error in shell encryption

2005-05-10 Thread Kris Kennaway
On Tue, May 10, 2005 at 08:21:23AM -0700, Antony Thomson wrote:
 
 Hi,
 
 Whenever i run the encrypted shell script,  i'm getting the below given error
 (Encryption is done using shc command in freebsd-4.10)
 
 %sh shcsample.sh.x
 shcsample.sh.x: 1: Syntax error: ( unexpected

What is an encrypted shell script?  It sounds like some third party
thing, which you should discuss with the relevant third party
developers.

Kris

pgpSrN06Z0OWh.pgp
Description: PGP signature


Re: sound problems

2005-05-10 Thread Lowell Gilbert
Kyle Lafkoff [EMAIL PROTECTED] writes:

 loaded sound / snd_ess
 
 dmesg shows:
 
 pcm0: ESS Technology Maestro-2E port 0xd800-0xd8ff irq 5 at device 8.0 on 
 pci0
 pcm0: cannot allocate DMA memory
 device_attach: pcm0 attach returned 6
 pcm0: ESS Technology Maestro-2E port 0xd800-0xd8ff irq 5 at device 8.0 on 
 pci0
 pcm0: cannot allocate DMA memory
 
 ???

Looks like snd_ess isn't the right driver.

Try the recommendation from the handbook:  load snd_driver
(which loads *all* of the drivers) and see which one it 
uses (and whether it works).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: message on my cell phone

2005-05-10 Thread Dan Nelson
In the last episode (May 10), Rosemary Robinson said:
 I got an email text message on my cell phone on 5-9-05.  
 It reads[EMAIL PROTECTED] (mailing error) This is an automatically generated 
 E-Mail Delivery Status Notification.  Mail-Header, Mail-Body and Error 
 Description are attached *** AntiVi3:36am 5/0/05
 
 What is this?  Please do not send things to my cell phone number.
 Where did you get my number?  Take it off whatever list you have it
 on.

That looks like a virus email, where the recipient was
[EMAIL PROTECTED], and your cellphone number was forged as the
sending address.  The message bounced, and the bounce message ended up
on your cellphone.  I don't think anyone at freebsd.org was
responsible.  It's possible the sending address was randomly generated.

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


Boot loader doesn't see ATA disk after successful install

2005-05-10 Thread Brian O'Shea
Hello all,

I recently installed FreeBSD 5.4-RC4 on an i386 (I know, just before
5.4-RELEASE was posted...I should have waited!).  The install was
successful, however after it completed and the system rebooted, the
boot loader could not find the root filesystem.  This system also has
a SCSI disk (disk2) which has an older release of FreeBSD installed.
That is the FFS and swap partitions that you see in the lsdev output
below.  The IDE disk onto which I installed 5.4-RC4 is disk1 (as can
be seen by the currdev setting; see below).  Note that it sees the
disk, but not the partitions that I created on it.

OK lsdev
cd devices:
disk devices:
disk0:   BIOS drive A:
disk1:   BIOS drive C:
disk2:   BIOS drive D:
disk2s1a: FFS
disk2s1b: swap
disk2s1d: FFS
disk2s1e: FFS
disk2s1f: FFS
disk2s1g: FFS
pxe devices:
OK show currdev
disk1s1a:
OK ls
open '/' failed: no such file dor directory
OK

Not OK!  :-/
Any idea what I could have done wrong?  When I created the slice on
disk1, sysinstall warned me that the geometry was incorrect.  Instead
it used some other values that it considered to be more sane.  I have
gone through the install twice, both with the same results.  The
second time I looked up what the BIOS thought the geometry was, and
specified that to sysinstall.  In both cases I created one slice on
the disk containing all available space, and created partitions for
the filesystems and swap device.  I also installed the boot loader in
the MBR.

Any advice kindly appreciated.  Please let me know if there is any
more information that you need about my system and I will do my best
to provide it.

Regards,
-brian


__
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: Kerberos

2005-05-10 Thread Tillman Hodgson
On Mon, May 09, 2005 at 05:44:23PM -0700, Damian Sobieralski wrote:
  Look into the GSSAPI options for /etc/ssh/ssh_config instead. 
  Newer OpenSSH versions support Kerberos natively and 
  don't need PAM hacks.
 
  Thanks Tillman! I was using PAM only based on someone's
 recommendation. As I've already admitted limited kerberos knowledge, I
 didn't know enough to question this approach. Based on your advice,
 I'll look into GSSAPI and I'll post my results to the group.  :-)

As a get you started hint, set these in your ssh_config on the client
hosts:

 GSSAPIAuthentication yes
 GSSAPIDelegateCredentials yes

And these in the sshd_config in the destination hosts:

 GSSAPICleanupCredentials yes
 GSSAPIAuthentication yes

Then obtain a valid ticket with kinit and test OpenSSH with:

ssh -vvv -o PreferredAuthentications=gssapi-with-mic hostname.domain.tld

(We're specificying the auth option explicitly to avoid things like
 pubkey, etc. You won't need to do this in the Real World once it's
 been confirmed to be working.)

A successful login displays this in the output:

debug1: Authentications that can continue: 
publickey,gssapi-with-mic,keyboard-interactive
debug1: Next authentication method: gssapi-with-mic
debug1: Delegating credentials
debug1: Delegating credentials
debug1: Authentication succeeded (gssapi-with-mic).

Note that OpenSSH doesn't appear to be very smart about handling
multi-homed hosts, so expect to run into difficulties in that situation
(one of the reasons that I just use `telnet -x` instead).

-T


-- 
Waking a person unnecessarily should not be considered a capital crime.
 For a first offense, that is.
-- Robert Heinlein
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


euid !=0,directory /tmp/.ICE-unix will not be created

2005-05-10 Thread Darrel

I can startx with twm but not Gnome2-lite.  The X server shuts down 
immediately 'Cannot establish any listening sockets'

I do not think it is a font problem, but there is an entry in Xorg log which 
states /usr/X11R6/lib/X11/fonts/CID is not valid, deleted from path.

Darrel
I installed gdm-2.6.0.9 remotely and expect that my X server problem has 
disappeared.
Ghostscript 7.07 did not install, so I installed ghostscript-gpl-8.15 and made 
ggv-2.8.4_2 depend on it by
running 'portupgrade -a'. There is another port that I made depend on 
ghostscript-gpl-8.15, but I can not
remember which one.  Portupgrade indicated the stale dependency, though.
I issued mkfontdir to potentially fix the fonts, but did not know which options 
to use and probably
have not completed troubleshooting my font problem:
# mkfontdir /usr/X11R6/lib/X11/fonts/CID
Perhaps CID appeared with the failed ghostscript-7.07 install.
Darrel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


proper use of dump to backup a 5.3 box

2005-05-10 Thread Steve
This is a follow up to a question I posted not long ago about the best way 
to do a real, complete backup of a freebsd 5.3 box I'm using at home.  I 
was looking at several options to do a complete backup so I could recover 
my server (this is used at home for personal and development purposes) in 
case of a hard drive failure or whatever.  Originally I was leaning towards 
rsync'ing dumps to another older freebsd box I have at home but I just 
decided to put a 120 gig Western Digital USB drive on the server and backup 
to that instead of trying to do it over the network.

So I have this FAT32 120 gig drive connected to my P4 FreeBSD box that has 
a 40 gig drive and it works great and everything.  I created a 
/mnt/usbdrive directory for this drive and it's mounted successfully. In 
the /mnt/usbdrive directory I have two 
subdirectories:  /mnt/usbdrive/backups and /mnt/usbdrive/dumps.  I am using 
the .../backups directory to do a daily backup of selected directories from 
the P4 box and I want to put my dumps from the in the .../dumps 
directory.  I read the man page for dump but I'm still a little unsure of 
the proper way to use the command.  Can someone suggest the best way to 
actually execute the dump? (what flags and options, etc).  Sorry if this is 
n00bish I just want to do this right the first time.  I think this is the 
syntax I should use the first time:

# dump -0u -f /mnt/usbdrive/dumps /
Will this dump the entire file system to the usbdrive?  I want to do a dump 
once a month, what would the proper syntax be for doing an incremental dump?

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


Hardware RAID 5 - Need vinum?

2005-05-10 Thread Tony Shadwick
I've worked with RAID5 in FreeBSD in the past, with either vinum or a 
hardware raid solution.  Never had any problems either way.

I'm now building a server for myself at home, and I'm creating a large 
volume to store video.  I have purchased 3 200GB EIDE hard drives, and a 6 
channel Promise SX6000 ATA RAID controller.

I know how to set up a RAID5 set, and create a mountpoint (say 
/media/video).

What my concern is when I start to fill up the ~400GB of space I'm giving 
myself with this set.  I would like to simply insert another 200GB drive 
and expand the array, allowing the hardware raid to do the work.

The problem I see with this is that yes, the /dev/(raid driver name)0 will 
now be that much larger, however the original partition size and the 
subsequent slices will still be the original size.  Do I need to (and is 
there a way?) to utilize vinum and still allow the hardware raid 
controller to do the raid5 gruntwork and still have the ability to 
arbitrarily grow the volume as needed?  The only other solution I see is 
to use vinum to software-raid the set of drives, leaving it as a glorified 
ATA controller card, and the cpu/ram of the card unitilized and burden the 
system CPU and RAM with the task.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


No more penis enlarge ripoffs!

2005-05-10 Thread Peg
Bigger, harder, and longer - lasting results NOW with a discreet little patch.
http://www.sonkom.info/ss/
Brand New Penis Enhancement Product
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: starting mysql server automatically

2005-05-10 Thread Paul Keyes
Thanks!

I re-made and reinstalled the ports and things are
working now.

--- Dan Nelson [EMAIL PROTECTED] wrote:
 In the last episode (May 09), Paul Keyes said:
  I tried adding mysql_enable=YES to /etc/rc.conf
 and
  rebooted but sockstat -4 | grep mysql showed
 nothing
  and mysql server wasn't running.
  
  Some information about my system:
  
  $uname -r
  5.3-RELEASE
  
  $pkg_info | grep mysql
  mysql-client-5.0.3_1 Multithreaded SQL
 database(client)
  mysql-server-5.0.3_1 Multithreaded SQL
 database(server)
 
 Try building the mysql50-server and mysql50-client
 ports; they come
 with FreeBSD-style startup scripts.  What you pasted
 looks like the
 generic one shipped with the source distribution,
 and it doesn't look
 like it got installed right:
 
  if test -z $basedir
  then
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@
  else
bindir=$basedir/bin
sbindir=$basedir/sbin
  fi
 
 The @xxx@ blocks should have been replaced with
 paths to
 /usr/local/something .
 
 -- 
   Dan Nelson
   [EMAIL PROTECTED]
 

__ 
Post your free ad now! http://personals.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: proper use of dump to backup a 5.3 box

2005-05-10 Thread Jerry McAllister
 
 This is a follow up to a question I posted not long ago about the best way 
 to do a real, complete backup of a freebsd 5.3 box I'm using at home.  I 
 was looking at several options to do a complete backup so I could recover 
 my server (this is used at home for personal and development purposes) in 
 case of a hard drive failure or whatever.  Originally I was leaning towards 
 rsync'ing dumps to another older freebsd box I have at home but I just 
 decided to put a 120 gig Western Digital USB drive on the server and backup 
 to that instead of trying to do it over the network.
 
 So I have this FAT32 120 gig drive connected to my P4 FreeBSD box that has 
 a 40 gig drive and it works great and everything.  I created a 
 /mnt/usbdrive directory for this drive and it's mounted successfully. In 
 the /mnt/usbdrive directory I have two 
 subdirectories:  /mnt/usbdrive/backups and /mnt/usbdrive/dumps.  I am using 
 the .../backups directory to do a daily backup of selected directories from 
 the P4 box and I want to put my dumps from the in the .../dumps 
 directory.  I read the man page for dump but I'm still a little unsure of 
 the proper way to use the command.  Can someone suggest the best way to 
 actually execute the dump? (what flags and options, etc).  Sorry if this is 
 n00bish I just want to do this right the first time.  I think this is the 
 syntax I should use the first time:
 
 # dump -0u -f /mnt/usbdrive/dumps /

Almost, but that would attempt to write the dump to a file called dumps
in the /mnt/usbdrive/ directory.   Also, you want the the -a switch when
dumping to a file so it doesn't try to calculate media (eg tape) size
and ask for second and third tapes.   So, something more like

 dump 0auf /mnt/usbdrive/dumps/rootdump.20050510 /

might be what you want.   That would get you a dump of the whole root
filesystem.   If you have another file system such as /usr then a second
part like

 dump 0auf /mnt/usbdrive/dumps/usrdump.20050510 /usr

should be done, etc.

 
 Will this dump the entire file system to the usbdrive?  I want to do a dump 
 once a month, what would the proper syntax be for doing an incremental dump?

If you are doing dumps once per month, don't bother with incremental dumps.
Do a full (level 0) dump each time.   Keep three and throw away any older.

To do a complete restore of the root file system, such as at a disk failure,
you will need to boot from some other media.  The fixit CD is a good
choice.   Download the CD 2 and keep it around somewhere safe for that
eventuality.

jerry

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


cups problem

2005-05-10 Thread andy
I recently upgraded from 5.3 to 5.4 release, and I just noticed CUPS is
not working properly.  It is running as a proess:

 ps -aux|grep cups
root   410  0.0  0.6  4792  3216  ??  Ss5:18PM   0:00.01
/usr/local/sbin/cupsd

but when I try to login thru the web interface I get a dialog box saying
connection refused when attempting to contact localhost:631.

The manual is not helpful regarding this problem.  I have stopped the
daemon, and deinstalled/reinstalled the software but it has not fixed the
problem.  How do I go about diagnosing/fixing the problem?  Any help is
appreciated.

TIA,

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


NFS Can't enumerate maps

2005-05-10 Thread Benjamin Keating
Howdy Gang,

Im trying to setup a NIS slave in a already NIS powered network based
on the handbook rules
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-nis.html.

My masters relevant rc.conf

nis_client_enable=YES
nisdomainname=LONGNOW
nis_server_enable=YES
rpc_ypupdated_enable=YES
rpcbind_enable=YES
nis_yppasswdd_enable=YES
nis_yppasswdd_flags=-t /etc/master.passwd -i


My slaves relevant rc.conf

nis_client_enable=YES
nisdomainname=LONGNOW
nis_server_enable=YES
rpc_ypupdated_enable=YES
rpcbind_enable=YES


both the master and slave have /etc/hosts entries:
192.168.1.3 tic
192.168.1.11   bis
and have verified at the CLI that each can be pinged from the other machine.

#NOPUSH=True 
is commented out on the masters Makefile.

Following the guide, on the slave I do:

$ sudo ypinit -s tic LONGNOW


and get:


Can't enumerate maps from tic. Please check that it is running.
Note: using hardcoded maplist for map transfers.

Server Type: SLAVE Domain: LONGNOW Master: tic

Creating an YP server will require that you answer a few questions.
Questions will all be asked at the beginning of the procedure.

Do you want this procedure to quit on non-fatal errors? [y/n: n]


sockstat's (relevant services only):

MASTER:
rpc.yppass rpc.ypupdate, ypbind, ypserv, rpcbind
SLAVE:
ypbind, rpc.ypupdate. rpcbind


Why can't it enumerate maps from tic? Im lost and all google brings up
is Linux related info complaining about ypinit having a bad rep in
Linux.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


cups problem (fwd)

2005-05-10 Thread andy
I did some more digging and found that I am having a problem with the
loopback interface: here is some more info

ifconfig
sk0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 10.0.x.x netmask 0xff00 broadcast 10.0.1.255
inet6 fe80::20e:a6ff:fe90:fc26%sk0 prefixlen 64 scopeid 0x1
ether 00:0e:a6:90:fc:26
media: Ethernet autoselect (100baseTX full-duplex,flag0,flag1)
status: active
plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3

 cat /etc/hosts
127.0.0.1 localhost.foo.bar localhost amd64 localhost.localdomain
192.168.1.175 amd64.foo.bar amd64 amd64.foo.bar.


when I try ping I get:

]# ping localhost
PING localhost.foo.bar (127.0.0.1): 56 data bytes
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address

what does this mean and how do you fix it?

-- Forwarded message --
Date: Tue, 10 May 2005 17:30:02 -0400 (EDT)
From: [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Subject: cups problem

I recently upgraded from 5.3 to 5.4 release, and I just noticed CUPS is
not working properly.  It is running as a proess:

 ps -aux|grep cups
root   410  0.0  0.6  4792  3216  ??  Ss5:18PM   0:00.01
/usr/local/sbin/cupsd

but when I try to login thru the web interface I get a dialog box saying
connection refused when attempting to contact localhost:631.

The manual is not helpful regarding this problem.  I have stopped the
daemon, and deinstalled/reinstalled the software but it has not fixed the
problem.  How do I go about diagnosing/fixing the problem?  Any help is
appreciated.

TIA,

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


Bonobo-warning when exiting Gnome in freeBSD 5.3

2005-05-10 Thread modelt20
Hi!

I have my X windows configured to launch Gnome by
default (like page 150 of the handbook), and it seems
to work fine. It looks great, functions well, and all
seems good.

When I exit Gnome, however (using the 'Action' 'Logout'
menu item), I get several warnings:

(nautilus : 1348) WARNING**: destroyed file still being
monitored 

(repeated 4 times)

Bonobo-warning **: leaked a total of 1 refs to 1 bonobo
object(s).

Does anyone know what configuration setting I should
change?

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



Re: proper use of dump to backup a 5.3 box

2005-05-10 Thread Roland Smith
On Tue, May 10, 2005 at 05:28:04PM -0400, Jerry McAllister wrote:
 
  dump 0auf /mnt/usbdrive/dumps/rootdump.20050510 /
 
 might be what you want.   That would get you a dump of the whole root
 filesystem.   If you have another file system such as /usr then a second
 part like
 
  dump 0auf /mnt/usbdrive/dumps/usrdump.20050510 /usr

To save space, you can compress the dump with bzip2:

  dump 0auf - /usr | bzip2 /mnt/usbdrive/dumps/usrdump.20050510.bz2

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpQTIWU8gzF4.pgp
Description: PGP signature


Re: cups problem (fwd)

2005-05-10 Thread Roland Smith
On Tue, May 10, 2005 at 06:13:30PM -0400, [EMAIL PROTECTED] wrote:
 ifconfig
 sk0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 inet 10.0.x.x netmask 0xff00 broadcast 10.0.1.255
 inet6 fe80::20e:a6ff:fe90:fc26%sk0 prefixlen 64 scopeid 0x1
 ether 00:0e:a6:90:fc:26
 media: Ethernet autoselect (100baseTX full-duplex,flag0,flag1)
 status: active
 plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
 inet6 ::1 prefixlen 128
 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3

Looks like your loopback interface is only configured as IPv6, not
IPv4. You should add inet 127.0.0.1' to the ifconfig_lo0 line in
/etc/rc.conf, I think.

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpiSWmvW3Y9r.pgp
Description: PGP signature


Re: Mailinglist privacy: MY NAME ALL OVER GOOGLE!

2005-05-10 Thread Mike Brown
Anthony Atkielski wrote:
 It _is_ the fault of the mailing list manager that posts are being
 archived without the permission of mailing-list members.  Members must
 be required to explicitly grant permission when they subscribe.

Even if they did, there is no way for the mailing list software or the 
administrators of the list to know who is receiving the messages or whether 
those addresses correspond to individual human beings. The list is just a list 
of addresses. It is quite possible, even likely, that at least one or two of 
the addresses subscribed to this very list are archiving every post, or 
perhaps reflecting the posts to email users on another network.

In short, if you don't want it public, don't post it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


pthread compiler issues

2005-05-10 Thread vizion

Hi

I have had problems compiling packages generating pthread error messages.
I am running FreeBSD 5.3. with linux support. This time it was firefox
based with tar balls -1.0.1  1.0.2.

Comments please

David

David Southwell  Ham call sign M0TAU
   Remove  nospamme_ from reply to ** 
   40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V
Taurus. Currently in San Diego, CA. Sailing May bound for Europe via
Panama Canal.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pthread compiler issues

2005-05-10 Thread Kris Kennaway
On Tue, May 10, 2005 at 04:29:00PM -0700, [EMAIL PROTECTED] wrote:
 
 Hi
 
 I have had problems compiling packages generating pthread error messages.
 I am running FreeBSD 5.3. with linux support. This time it was firefox
 based with tar balls -1.0.1  1.0.2.
 
 Comments please

You've given us nothing to comment on.  Show exactly what you're doing
and what problems you encountered.

Kris


pgpRJER6T7oas.pgp
Description: PGP signature


sorry for late post on MY NAME ALL OVER blah blah

2005-05-10 Thread Mike Brown
Sorry; didn't notice as I was catching up on email that it was a
dead thread already, and that I was replying to a known troll.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


5.3-5.4 (ia32) binary upgrade problem

2005-05-10 Thread db
Hi all

I have tried this with two cd's on two computers (both running 5.3). 
I've downloaded 5.4-disc1
run /stand/sysinstall
Upgrade (gives me a warning saying the cd is 5.4-release and what I have is 
5.3-security) and then:
Unable to transfer the base distribution from acd0

So now what? My securelevel is -1 and all filesystems are mounted rw.

br
db

Ps: Please cc to me as I am not on the list.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.3-5.4 (ia32) binary upgrade problem

2005-05-10 Thread Kris Kennaway
On Wed, May 11, 2005 at 01:43:17AM +, db wrote:
 Hi all
 
 I have tried this with two cd's on two computers (both running 5.3). 
 I've downloaded 5.4-disc1
 run /stand/sysinstall
 Upgrade (gives me a warning saying the cd is 5.4-release and what I have is 
 5.3-security) and then:
 Unable to transfer the base distribution from acd0
 
 So now what? My securelevel is -1 and all filesystems are mounted rw.

You need to run the 5.4 sysinstall (e.g. by booting the CD), not the
random old sysinstall you have installed that knows nothing about 5.4.

Kris


pgptTiz8lfBJX.pgp
Description: PGP signature


Re: 5.3-5.4 (ia32) binary upgrade problem

2005-05-10 Thread db
On Tuesday 10 May 2005 23:44, you wrote:
  I have tried this with two cd's on two computers (both running 5.3).
  I've downloaded 5.4-disc1
  run /stand/sysinstall
  Upgrade (gives me a warning saying the cd is 5.4-release and what I have
  is 5.3-security) and then:
  Unable to transfer the base distribution from acd0
 
  So now what? My securelevel is -1 and all filesystems are mounted rw.

 You need to run the 5.4 sysinstall (e.g. by booting the CD), not the
 random old sysinstall you have installed that knows nothing about 5.4.
 
Ok thanks :-) .I could be wrong but I think I did the 5.2-5.3 upgrade 
like I wrote above :-S

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


Re: 5.3-5.4 (ia32) binary upgrade problem

2005-05-10 Thread Kris Kennaway
On Wed, May 11, 2005 at 02:06:38AM +, db wrote:
 On Tuesday 10 May 2005 23:44, you wrote:
   I have tried this with two cd's on two computers (both running 5.3).
   I've downloaded 5.4-disc1
   run /stand/sysinstall
   Upgrade (gives me a warning saying the cd is 5.4-release and what I have
   is 5.3-security) and then:
   Unable to transfer the base distribution from acd0
  
   So now what? My securelevel is -1 and all filesystems are mounted rw.
 
  You need to run the 5.4 sysinstall (e.g. by booting the CD), not the
  random old sysinstall you have installed that knows nothing about 5.4.
  
 Ok thanks :-) .I could be wrong but I think I did the 5.2-5.3 upgrade 
 like I wrote above :-S

Lucky you that it worked :)

Kris


pgpmqy7iaufy6.pgp
Description: PGP signature


Re: PF RULES! But mine doesn't ...

2005-05-10 Thread Giorgos Keramidas
On 2005-05-10 07:19, Fafa Hafiz Krantz [EMAIL PROTECTED] wrote:
 Giorgos Keramidas [EMAIL PROTECTED] wrote:
  Show us the output of:
 
  # pfctl -sr
 
  [snip ruleset]

 Hello!

 # pfctl -sr

 scrub in all fragment reassemble
 block drop log all
 pass quick on lo0 all
 pass quick on ep0 all

Good so far.

 pass out on lnc0 inet proto tcp from (lnc0) to any keep state
 pass out on lnc0 inet proto udp from (lnc0) to any keep state
 pass out on lnc0 inet proto icmp from (lnc0) to any keep state
 pass in on lnc0 inet proto tcp from any to (lnc0) port = domain
 pass in on lnc0 inet proto udp from any to (lnc0) port = domain
 pass out on lnc0 inet proto tcp from (lnc0) port = domain to any
 pass out on lnc0 inet proto udp from (lnc0) port = domain to any
 pass out on lnc0 inet proto udp from (lnc0) to any port = domain keep state
 pass out on lnc0 inet proto udp from (lnc0) to any port = ntp keep state
 pass in on lnc0 inet proto tcp from any to (lnc0) port = ssh flags S/SA keep 
 state
 pass in on lnc0 inet proto tcp from any to (lnc0) port = http flags S/SA keep 
 state
 pass in on lnc0 inet proto tcp from any to (lnc0) port = auth flags S/SA keep 
 state
 pass in on lnc0 inet proto tcp from any port = ftp-data to (lnc0) user = 62 
 flags S/SA keep state
 pass in on lnc0 proto tcp from any to any port = 31337 keep state
 pass in on lnc0 proto tcp from any to any port 5:5

There are at least two problems with the above rules:

   1. You are using (lnc0) on all the rules below.
   2. There are no address mapping rules (nar or binat).

The reason why (1) may cause problems is that they assume that all
packets that come *in* on the lc0 interface have as their source or
destination address one of the IP addresses of that interface.  This may
not be true if you have packet forwarding enabled.  Especially when NAT
is not enabled; which is not, in your ruleset.

Even if NAT _is_ enabled, I think that packets that come in on ep0 will
still have the same source address as they go in lnc0 and will only
change their source address en route through lnc0, as the NAT rules
are applied.

Pay very close attention to the following example from the pf.conf
manpage itself.  It may help a bit to explain what I said above:

In the example below, the machine sits between a fake internal
144.19.74.*  network, and a routable external IP of 204.92.77.100.
The no nat rule excludes protocol AH from being translated.

# NO NAT
no nat on $ext_if proto ah from 144.19.74.0/24 to any
nat on $ext_if from 144.19.74.0/24 to any - 204.92.77.100

Both number (1) and (2) are not problems if you have public, routable IP
addresses on all the hosts visible through the ep0 interface.  The fact
that you do have a problem suggests that the IP addresses of the ep0
interface (not visible above) are all parts of unroutable, private
address blocks.

Another problem that is easily noticed is that you have lots of
redundant rules that serve only as a waste of CPU cycles.

For instance, these sets of rules will match a common set of IP packets.
You may find it useful to note that the *first* rule of each group
matches a superset of the packets that the rest match, so you can keep
just the first rule of each group for exactly the same effect!

pass out on lnc0 inet proto tcp from (lnc0) to any keep state
pass out on lnc0 inet proto tcp from (lnc0) port = domain to any

pass out on lnc0 inet proto udp from (lnc0) to any keep state
pass out on lnc0 inet proto udp from (lnc0) port = domain to any
pass out on lnc0 inet proto udp from (lnc0) to any port = domain keep state

- Giorgos

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


Re: pthread compiler issues

2005-05-10 Thread vizion

Twas said by  Kris Kennaway and my ignorance encourages me to join the
dialogue
 On Tue, May 10, 2005 at 04:29:00PM -0700, [EMAIL PROTECTED] wrote:

 Hi

 I have had problems compiling packages generating pthread error
 messages.
 I am running FreeBSD 5.3. with linux support. This time it was firefox
 based with tar balls -1.0.1  1.0.2.

 Comments please

 You've given us nothing to comment on.  Show exactly what you're doing
 and what problems you encountered.
Here is the terminating output -- let meknow if you need any earlier output :
---

/usr/local/lib/libgthread-2.0.so: undefined reference to
'pthread_attr_destroy'
/usr/local/lib/libgthread-2.0.so: undefined reference to 'pthread_create'
/usr/local/lib/libgthread-2.0.so: undefined reference to 'pthread_attr_init'
/usr/local/lib/libgthread-2.0.so: undefined reference to 'pthread_exit'
/usr/local/lib/libgthread-2.0.so: undefined reference to 'pthread_equal'
/usr/local/lib/libgthread-2.0.so: undefined reference to
'pthread_getschedparam'
/usr/local/lib/libgthread-2.0.so: undefined reference to
'pthread_attr_setscope'
/usr/local/lib/libgthread-2.0.so: undefined reference to
'pthread_setschedparam'
/usr/local/lib/libgthread-2.0.so: undefined reference to
'pthread_attr_setstacksize'
/usr/local/lib/libgthread-2.0.so: undefined reference to
'pthread_attr_setschedparam'
/usr/local/lib/libgthread-2.0.so: undefined reference to
'pthread_attr_setdetachstate'
/usr/local/lib/libgthread-2.0.so: undefined reference to 'pthread_join'
/usr/local/lib/libgthread-2.0.so: undefined reference to
'pthread_cond_timedwait'
/usr/local/lib/libgthread-2.0.so: undefined reference to
'pthread_attr_getschedparam'
gmake[5]: *** [name-client-2] Error 1
gmake[5]: Leaving directory
'/usr/ports/devel/ORBit2/work/ORBit2-2.12.2/src/services/name'
gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory
'/usr/ports/devel/ORBit2/work/ORBit2-2.12.2/src/services/name'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory
'/usr/ports/devel/ORBit2/work/ORBit2-2.12.2/src/services'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory '/usr/ports/devel/ORBit2/work/ORBit2-2.12.2/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory '/usr/ports/devel/ORBit2/work/ORBit2-2.12.2'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/devel/ORBit2.
*** Error code 1
Stop in /usr/ports/devel/gconf2.
*** Error code 1
Stop in /usr/ports/www/firefox.
---


 Kris



David Southwell  Ham call sign M0TAU
   Remove  nospamme_ from reply to ** 
   40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V
Taurus. Currently in San Diego, CA. Sailing May bound for Europe via
Panama Canal.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Compiling jdk15

2005-05-10 Thread Ryan Winograd
Hi all,
I'm having problems compiling the jdk15 port on my machine.
It's running 5.3-Release and also has the jdk14 and linux-sun-jdk14 
ports installed.
Here is the end of the make install output.

Note: * uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
21 errors
12 warnings
gmake[3]: *** [.compile.classlist] Error 1
fi gmake[3]: Leaving directory
gmake[2]: *** [all] Error 1
`/usr/ports/java/jdk15/work/j2se/make/java/java' gmake[2]: Leaving
gmake[1]: *** [all] Error 1
directory `/usr/ports/java/jdk15/work/j2se/make/java' gmake[1]:
gmake: *** [j2se-build] Error 2
Leaving directory `/usr/ports/java/jdk15/work/j2se/make' *** Error
code 2
Stop in /usr/ports/java/jdk15.
If being able to see the whole thing would be helpful, it can be
downloaded from http://cspain.no-ip.info/jdk15build.out
Thx in advance for all help and advice, and if any other info about my
system would be helpful, please let me know and i'll post it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pthread compiler issues

2005-05-10 Thread Kris Kennaway
On Tue, May 10, 2005 at 05:11:59PM -0700, [EMAIL PROTECTED] wrote:
 
 Twas said by  Kris Kennaway and my ignorance encourages me to join the
 dialogue
  On Tue, May 10, 2005 at 04:29:00PM -0700, [EMAIL PROTECTED] wrote:
 
  Hi
 
  I have had problems compiling packages generating pthread error
  messages.
  I am running FreeBSD 5.3. with linux support. This time it was firefox
  based with tar balls -1.0.1  1.0.2.
 
  Comments please
 
  You've given us nothing to comment on.  Show exactly what you're doing
  and what problems you encountered.
 Here is the terminating output -- let meknow if you need any earlier output :
 ---
 
 /usr/local/lib/libgthread-2.0.so: undefined reference to
 'pthread_attr_destroy'

Yes..it indicates it's not linking to the thread library at all.  Also
note that this is ORBit, not firefox.

 Stop in /usr/ports/devel/ORBit2.

Kris

pgpJF42ctF70d.pgp
Description: PGP signature


Re: pthread compiler issues

2005-05-10 Thread Kris Kennaway
On Tue, May 10, 2005 at 05:12:42PM -0700, Kris Kennaway wrote:
 On Tue, May 10, 2005 at 05:11:59PM -0700, [EMAIL PROTECTED] wrote:
  
  Twas said by  Kris Kennaway and my ignorance encourages me to join the
  dialogue
   On Tue, May 10, 2005 at 04:29:00PM -0700, [EMAIL PROTECTED] wrote:
  
   Hi
  
   I have had problems compiling packages generating pthread error
   messages.
   I am running FreeBSD 5.3. with linux support. This time it was firefox
   based with tar balls -1.0.1  1.0.2.
  
   Comments please
  
   You've given us nothing to comment on.  Show exactly what you're doing
   and what problems you encountered.
  Here is the terminating output -- let meknow if you need any earlier output 
  :
  ---
  
  /usr/local/lib/libgthread-2.0.so: undefined reference to
  'pthread_attr_destroy'
 
 Yes..it indicates it's not linking to the thread library at all.  Also
 note that this is ORBit, not firefox.

Also double-check that all supporting packages are up-to-date, e.g. by
using portupgrade -a.

Kris


pgpehzzdAHV93.pgp
Description: PGP signature


[no subject]

2005-05-10 Thread Ematto
Sorry for my email.. my question is: was  Unable to make new root filesystem 
on /dev/ad0s1a!
Command returned status 36  resolved help me please!!!

I speak bad english..sorry!! :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pthread compiler issues

2005-05-10 Thread vizion

Twas said by  [EMAIL PROTECTED] and my ignorance encourages me to join
the dialogue

 Twas said by  Kris Kennaway and my ignorance encourages me to join the
 dialogue
 On Tue, May 10, 2005 at 04:29:00PM -0700, [EMAIL PROTECTED] wrote:

These lines weremissing off the end of the output:


*** Error code 2
Stop in /usr/ports/devel/ORBit2.
*** Error code 1
Stop in /usr/ports/devel/gconf2.
*** Error code 1
Stop in /usr/ports/www.firefox

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


Re: pthread compiler issues

2005-05-10 Thread Clifton Royston
On Tue, May 10, 2005 at 05:11:59PM -0700, [EMAIL PROTECTED] wrote:
 Twas said by  Kris Kennaway and my ignorance encourages me to join the
 dialogue
  On Tue, May 10, 2005 at 04:29:00PM -0700, [EMAIL PROTECTED] wrote:
  I have had problems compiling packages generating pthread error
  messages.
  I am running FreeBSD 5.3. with linux support. This time it was firefox
  based with tar balls -1.0.1  1.0.2.
...
 
  You've given us nothing to comment on.  Show exactly what you're doing
  and what problems you encountered.
 Here is the terminating output -- let meknow if you need any earlier output :
 ---
 
 /usr/local/lib/libgthread-2.0.so: undefined reference to
 'pthread_attr_destroy'
 /usr/local/lib/libgthread-2.0.so: undefined reference to 'pthread_create'
 /usr/local/lib/libgthread-2.0.so: undefined reference to 'pthread_attr_init'
 /usr/local/lib/libgthread-2.0.so: undefined reference to 'pthread_exit'
 /usr/local/lib/libgthread-2.0.so: undefined reference to 'pthread_equal'
 /usr/local/lib/libgthread-2.0.so: undefined reference to
 'pthread_getschedparam'

  Well, this seems rather like the same problem I was having several
weeks back trying to build MySQL from ports on a 4.10 system (with or
without enabling Linuxthreads.) That's what induced me to subscribe to
-questions, since I would have felt too dumb posting the question to
-hackers.  It seemed as though the build process was just plain failing
to link certain libraries which I could see were there on the command
line to cc.

  At the moment I have no helpful suggestions to offer you.  I never
got any suggestions other than to try rebuilding libtool 1.5, which I
did, and which didn't seem to help.

  I did confirm that it was not a problem with the port, as I was able
to build it just fine on a different 4.x system.  The system is not
broken or crippled, as I've been able to install the binary package on
the system which couldn't build it, and have been running it just fine. 
I still have not figured out why I can't build this specific app from
ports on this one machine.

  I will be very interested if you get anywhere with this, and if I get
anywhere on going back to the problem - which I need to do eventually -
I will post a followup.

  -- Clifton

-- 
  Clifton Royston  --  [EMAIL PROTECTED] 
 Tiki Technologies Lead Programmer/Software Architect
I'm gonna tell my son to grow up pretty as the grass is green
And whip-smart as the English Channel's wide...
-- 'Whip-Smart', Liz Phair
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pthread compiler issues

2005-05-10 Thread Kris Kennaway
On Tue, May 10, 2005 at 05:20:08PM -0700, [EMAIL PROTECTED] wrote:
 
 Twas said by  [EMAIL PROTECTED] and my ignorance encourages me to join
 the dialogue
 
  Twas said by  Kris Kennaway and my ignorance encourages me to join the
  dialogue
  On Tue, May 10, 2005 at 04:29:00PM -0700, [EMAIL PROTECTED] wrote:
 
 These lines weremissing off the end of the output:
 
 
 *** Error code 2
 Stop in /usr/ports/devel/ORBit2.
 *** Error code 1
 Stop in /usr/ports/devel/gconf2.
 *** Error code 1
 Stop in /usr/ports/www.firefox

I saw and responded to that; it means that ORBit2 was the port with
the problem, not firefox.

Kris



pgpfzrfW7vhk6.pgp
Description: PGP signature


  1   2   >