Re: home on a gbde encrypted partion

2004-05-22 Thread platanthera
On Sunday 23 May 2004 01:56, Robert Storey wrote:
> On Sat, 22 May 2004 12:54:29 +0200
>
> platanthera <[EMAIL PROTECTED]> wrote:
> > On Friday 21 May 2004 17:49, platanthera wrote:
> > > hi all,
> > >
> > > I want to move my home directory to a gbde encrypted partition.
> > > I plan to have only the default dotfiles in /home/xxx (before
> > > mounting the encrypted partition), log in as usual, attach and
> > > fsck the encrypted partion and then mount it 'over' /home/xxx. Is
> > > there anything wrong with this approach?
> >
> > hmm... obviously there is something wrong. I can't unmount my
> > current home directory later. Not really surprising..
>
> Interesting question. File /etc/passwd is where the system determines
> where a user's data files will
> be located. For example, user "robert" on my system:
>
> [EMAIL PROTECTED]:~> cat /etc/passwd | grep robert
> robert:*:1005:1006:User &:/home/robert:/usr/local/bin/bash
>
> So just create a special user (using sysinstall), perhaps user
> "secure". Instead of putting his login directory at /home/secure, put
> it on /secure (a directory you manually create) and (as root) mount
> /secure on an encrypted partition. After /secure is mounted, login as
> user secure. You'll have to tweak permissions of course so that user
> secure can read/write files on this partition.

hi Robert,
thanks for your reply. In the meantime I decided to move /home 
completely to an encrypted partition, which I attach and mount as root 
before logging in under my user account.
Think that's the easiest approach..

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


can't startx from user after upgrade

2004-05-22 Thread hoe-waa
Hello

I have just successfully upgrade gnome 2.4 to gnome 2.6.
Well, at least that's the message on the screen after upgrade. :)

Before the upgrade all was working well. After the upgrade 
I have some problems. I cannot startx from a regular user login.

When trying, I get the following errors:

$startx
xauth: timeout in locking authority file /home/robert/.Xauthority
xauth: timeout in locking authority file /home/robert/.Xauthority
xauth: timeout in locking authority file /home/robert/.Xauthority
xauth: timeout in locking authority file /home/robert/.Xauthority

Fatal server error:
Cannot move old logfile "/var/log/XFree86.0.log.old"

When reporting a problem (blah, blah)


giving up.
xinit: No such file or directory (errno 2): unable to connect to X server
xinit: No such process (errno 3): Server error.
xauth: timeout in locking authority file /home/robert/.Xauthority
$

If I startx from a root login, I get to gnome but it seems to load very
slow. 

I also am not able to su from a normal login to root. 

$su
Password:
May 22 06:48:27 bsd-desktop su: BAD SU robert to root on /dev/ttyv0
su: Sorry
$

I am running FreeBSD 5.2RC. 

TIA
Robert

P.S. If this message was duplicated, I apologize. 
I received a message from my mail admin that it 
could not be sent. So I am sending again.

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


Re: PPP takes the system over :(

2004-05-22 Thread -=Nihr0M=-
Hello Lowell Gilbert! 

Yes, I have a vterminal open (konsole), but it does change nothing...
I can open another virtual term, but only when my network activity is 
close to zero.

#top
last pid:   660;  load averages:  0.07,  0.11,  0.08  up 
0+00:13:55  09:33:10
47 processes:  3 running, 44 sleeping
CPU states:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt, 
100% idle
Mem: 60M Active, 45M Inact, 38M Wired, 160K Cache, 34M Buf, 99M Free
Swap: 99M Total, 99M Free

  PID USERNAME PRI NICE   SIZERES STATETIME   WCPUCPU 
COMMAND
  626 root  960 22580K 19008K select   0:07  1.03%  1.03% 
ksysguard
  590 root  960 24028K 19500K RUN  0:02  0.29%  0.29% 
kdeinit
  518 root  960 80652K 79280K RUN  0:11  0.00%  0.00% 
XFree86
  612 root  960 33632K 29960K select   0:10  0.00%  0.00% 
kdeinit
  546 root  960 23432K 19344K select   0:06  0.00%  0.00% 
kdeinit
  577 root  960 24844K 20912K select   0:03  0.00%  0.00% 
kdeinit
  575 root  960 23536K 19744K select   0:02  0.00%  0.00% 
kdeinit
  573 root  960 22500K 18068K select   0:02  0.00%  0.00% 
kdeinit
  628 root  960  1772K  1372K select   0:01  0.00%  0.00% 
ksysguardd
  462 root  960  1228K   708K select   0:01  0.00%  0.00% 
moused
  641 root  960 23220K 20076K select   0:01  0.00%  0.00% 
kget
  581 root  960 22184K 17808K select   0:01  0.00%  0.00% 
kdeinit
  624 root 116   20  3300K  2064K select   0:01  0.00%  0.00% ppp
  584 root  960 21796K 16984K select   0:00  0.00%  0.00% 
kdeinit
  569 root  960 25556K 20296K select   0:00  0.00%  0.00% 
kdeinit
  552 root  960 22384K 18044K select   0:00  0.00%  0.00% 
kdeinit

that nice of ppp is my doing - I thought it would take less resources 
- no result.
And at that moment I downloaded a file...


"-=Nihr0M=-" <[EMAIL PROTECTED]> writes:
Hello, I have a 5.2.1-Release.
The problem is, when I start PPP -auto  and my modem
connects, when tcp transaction is going (e.g I download a file or 
open
a web page...) I'm not able to run any other
program (it seems like comp 'freezes'). That just sux... but when 
the
action completes, all htese progs start ...
duh...

BTW, my system is Athlon 1200Mhz, 256Megs of RAM, 200 of 2500 mb 
free
on HDD, external USR modem
Do you have a terminal open at the time?
Can you log in to a different virtual terminal?
Can you try running top(1) when you do the ppp(8) connect and see 
what
your system thinks it is doing?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Mail Scan Alert!

2004-05-22 Thread Email Administrator
Bu mesaja ekli olan bir eklenti otomatik olarak silindi.
Eklentinin silinme sebebi: 
Olasý Kötü Niyetli E-Posta Ýçeriði Bulundu 
Eklenti ismi: message.pif 

Hacettepe Üniversitesi e-posta sistemi aþaðýda belirtilen 
uzantýlara sahip tüm eklentileri silmektedir. Bu eklentilerin 
silinme sebebi, genellikle virüs, truva atý gibi kötü niyetli 
programlar içermeleridir. 
Otomatik olarak silinen eklenti uzantýlarý: 
exe, bat, scr, pif, cmd, vbs, com 
  - Hacettepe University E-Posta Servisleri

-- 
An attachment that was attached to this message has been removed. 
The reason given for removal: 
Possible Malicious Email Content Detected 
Attachment name: message.pif 

Hacettepe University mail system automatically removes attachments 
with the following extensions. The reason for removal is that, files 
with these extensions generally include malicious programs like viruses, 
trojan horses etc.
Automatically removed attachment extensions: 
exe, bat, scr, pif, cmd, vbs, com 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD Installation error

2004-05-22 Thread Bill Moran
M Prabhanjan wrote:
I am unable to install FreeBSD on a PC that has 4GB disk space.
I am trying to install from a CD that I bought sometime back.
In the installation's Choose Distributions menu, I choose to install
X-Developer and X-Kern-Developer distributions.
 
I get the following error message during the installation:
"Write failure on transfer! (wrote -1 bytes of 240640 bytes)
 [ Press enter to  continue ] "
On pressing enter, I get the following message:
"User Confirmation Requested
Unable to transfer the scontrib distribution from acd0c.
Do you want to try to retrieve it again?"
 
Is this due to lack of disk space (4GB) or bad sectors in the hard disk?
If you switch to the interactive shell and issue "df -h", it will tell you
how much space it used.
I've only seen this particular error when there was a hardware problem,
however.  I may be remembering wrong, but I seem to remember a cheap CD-ROM
plugged into the same chain as the HDD causing this.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Invalid partition table after sysinstall modifications

2004-05-22 Thread Warren Block
On Sat, 22 May 2004, Doug Poland wrote:

> I've got a 4.9-STABLE system that was dual-booted between FBSD and
> Win2K.  I had no further need for the windows slice so I used sysinstall
> to delete the NTFS slice, write it as type 165, newfs'd it, mounted it,
> and wrote a bunch of data to the new ufs slice.  So far so good...
> About 8 hours after this procedure the system hung, I rebooted and
> received the message,
>
>"Invalid partition table"
>
> I was able to boot the system with a FreeSBIE live bootable CDROM and
> fsck all the ufs slices.  The data on all slices appear to be good, but
> I cannot figure out how to get this box to boot again.  I've google'd
> and read the appropriate handbook sections.

Hmm.  It looks like that error comes from the plain mbr code
(/boot/mbr), not the boot-selector loader (/boot/boot0).  The plain mbr
only wants one partition (slice) to be active.

See what fdisk has to say about your partitions.

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


Re: Postfix possibly ignoring myhostname and mydomainname?

2004-05-22 Thread Toni Schmidbauer
On Thu, May 20, 2004 at 01:13:19PM +0100, Edd wrote:
> I want postfix to send email from a domain name different to the one that
> it really is. This is because I have no real (as in on the net) domain
> associated with it, so I am going to use my website address so that the
> from field resolves and relays are happy to pass on my mail.

sorry, but this is definitely a postfix only question. i would
ask this on [EMAIL PROTECTED], people there are very
helpful.

hth,
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |


pgpQd991Ob3uJ.pgp
Description: PGP signature


Re: home on a gbde encrypted partion

2004-05-22 Thread Robert Storey


On Sat, 22 May 2004 12:54:29 +0200
platanthera <[EMAIL PROTECTED]> wrote:

> On Friday 21 May 2004 17:49, platanthera wrote:
> > hi all,
> >
> > I want to move my home directory to a gbde encrypted partition.
> > I plan to have only the default dotfiles in /home/xxx (before
> > mounting the encrypted partition), log in as usual, attach and fsck
> > the encrypted partion and then mount it 'over' /home/xxx.
> > Is there anything wrong with this approach?
> 
> hmm... obviously there is something wrong. I can't unmount my current 
> home directory later. Not really surprising..

Interesting question. File /etc/passwd is where the system determines where a
user's data files will
be located. For example, user "robert" on my system:

[EMAIL PROTECTED]:~> cat /etc/passwd | grep robert
robert:*:1005:1006:User &:/home/robert:/usr/local/bin/bash

So just create a special user (using sysinstall), perhaps user "secure". Instead
of putting his login directory at /home/secure, put it on /secure (a directory
you manually create) and (as root) mount /secure on an encrypted partition.
After /secure is mounted, login as user secure. You'll have to tweak permissions
of course so that user secure can read/write files on this partition.

regards,
Robert

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


Re: 4.10 RC3

2004-05-22 Thread Erik Trulsson
On Sat, May 22, 2004 at 04:34:14PM -0700, Joseph Davida wrote:
> Will the final release 10 support the
> Silicon Image (SiI) 3112 SATA150 controller and the
> Promise PDC20276 UDMA133 controller ?

If they are not supported in 4.10RC3 (and as far as I can tell they are
not) then they won't be in the final release either.
They seem to be supported by 5-CURRENT though.
It is essentially only bugfixes that get added between a release
candidate and the final release; not new features.


-- 

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


FreeBSD Installation error

2004-05-22 Thread M Prabhanjan
I am unable to install FreeBSD on a PC that has 4GB disk space.
I am trying to install from a CD that I bought sometime back.
In the installation's Choose Distributions menu, I choose to install
X-Developer and X-Kern-Developer distributions.
 
I get the following error message during the installation:
"Write failure on transfer! (wrote -1 bytes of 240640 bytes)
 [ Press enter to  continue ] "
On pressing enter, I get the following message:
"User Confirmation Requested
Unable to transfer the scontrib distribution from acd0c.
Do you want to try to retrieve it again?"
 
Is this due to lack of disk space (4GB) or bad sectors in the hard disk?
However, through a search on the internet I found that someone else also has gotten 
into the same problem described above [unfortunately it is in Japanese and I cant make 
a word out of it!]

Here is the output of uname -a from interactive shell:
FreeBSD 4.3-RELEASE FreeBSD 4.3-RELEASE #1: Sat Apr 21 11:15:36 GMT 2001 [EMAIL 
PROTECTED]: /usr/src/sys/compile/BOOTMFS 
 
Thanks,
MP


Mahidas P 
(O)408-273-7836 
(R)408-245-4591
 
"Wisdom is two notches up knowledge"




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


4.10 RC3

2004-05-22 Thread Joseph Davida
Will the final release 10 support the
Silicon Image (SiI) 3112 SATA150 controller and the
Promise PDC20276 UDMA133 controller ?

Also, I have a 
dc0: <82c169 PNIC 10/100BaseTX> port 0x8400-0x84ff mem
0xe3027000-0xe30270ff irq
 18 at device 4.0 on pci2
dc0: Reserved 0x100 bytes for rid 0x10 type 4 at
0x8400

which works fine under windows, but will not work
under 5.2-CURRENT-20040508-JPSNAP

Cheers,

jd




__
Do you Yahoo!?
Yahoo! Domains – Claim yours for only $14.70/year
http://smallbusiness.promotions.yahoo.com/offer 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Invalid partition table after sysinstall modifications

2004-05-22 Thread Doug Poland
Hello,
I've got a 4.9-STABLE system that was dual-booted between FBSD and 
Win2K.  I had no further need for the windows slice so I used sysinstall 
to delete the NTFS slice, write it as type 165, newfs'd it, mounted it, 
and wrote a bunch of data to the new ufs slice.  So far so good... 
About 8 hours after this procedure the system hung, I rebooted and 
received the message,

  "Invalid partition table"
I was able to boot the system with a FreeSBIE live bootable CDROM and 
fsck all the ufs slices.  The data on all slices appear to be good, but 
I cannot figure out how to get this box to boot again.  I've google'd 
and read the appropriate handbook sections.

This box isn't that important and I could just copy off the data I need 
and re-install the OS.  However, I'd like to figure out what went wrong 
and fix it the *right* way.

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


Re: 2 questions

2004-05-22 Thread Lowell Gilbert
Osmany Guirola Cruz <[EMAIL PROTECTED]> writes:

> how can i know the amount of free RAM and SWAP

Why would you want RAM to be free?
try top(1).

> how can i configure my "anonymmos ftp" , things like bandwith or number ou 
> users

"man ftpd" explains pretty much everything you need to know about
runnign anonymous FTP with the base system ftp daemon.  It isn't
capable of bandwidth shaping, although dummynet(4) is (in my opinion)
the best way to control that -- assuming you really need to, which
probably isn't the case, even if you think you do.  

I don't think the stock ftpd can control number of users.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ahc reports lots of pci parity errors

2004-05-22 Thread Michael Havens

Hey buddy, did you ever resolve the data parity error issue? While 
investigating your free-bsd list I discovered another person  had encountered 
the same problem (see 1- below). Their solution seems to implicate  an ISA 
card. However, I found a reason and a solution at the following address:
orange.kame.net/dev/cvsweb.cgi/kame/freebsd5/ sys/dev/aic7xxx/
aic7xxx_pci.c?rev=1.1.1.2
*
 * Disable PCI parity error checking.  Users typically
 * do this to work around broken PCI chipsets that get
 * the parity timing wrong and thus generate lots of spurious
 * errors.  The chip only allows us to disable *all* parity
 * error reporting when doing this, so CIO bus, scb ram, and
 * scratch ram parity errors will be ignored too.
 */

PLUG, so my question to you  is how does one disable parity error reporting 
and what could be detrimental in doing this?

As I was reviewing this mailing I took heed of the last message at thebottom:

On lot of motherboards I've seen some PCI slots share a single 
interrupt. I don't know if this is the case with your motherboard, 
but if it is then I can certainly imagine it causing problems.

So I will save this message and restart and see if any devices have the same 
IRQ..

I opened BIOS  and found ACPI IRQ = 10; however that could be changed to 9 or 
11. I also found IRQ 10 assigned to PCI/ISA PnP but found I could change that 
to Legacy ISA (which I did).and restarted the computer.. and got the 
same error. (did I do this right?)

So now I will unplug the ISA card. this isn't the problem.

I now am certain that the data parity timing is wrong.
-- 
<:-)Mike(-:>

1-
Hiho! :-)

I'm getting lots of those, but my system is stable.

ahc0: PCI error Interrupt at seqaddr = 0x
ahc0: Signaled a Target Abort
ahc0: WARNING WARNING WARNING WARNING
ahc0: Too many PCI parity errors observed as a target.
ahc0: Some device on this bus is generating bad parity.
ahc0: This is an error *observed by*, not *generated by*, this
controller.
ahc0: PCI parity error checking has been disabled.
ahc0: WARNING WARNING WARNING WARNING
ahc0: PCI error Interrupt at seqaddr = 0x


I'm running 5.2.1-RELEASE with ACPI disabled.

Usually I'm getting one or two errors over a period of  two weeks or
longer, but since I'm using my old ISA Creative SB32, I'm getting lots
in a very short period of time.

What could cause that? A broken PCI-card? Motherboard? 

TIA :-)

Bye
Marc



Maybe a problem with the ISA-to-PCI bridge on your motherboard, or else a 
timing problem.  You aren't playing with the bus frequency multipliers, 
overclocking, or anything like that, right?

Dump the ISA soundcard for a PCI one and you'll probably do better...

-- 
-Chuck



> Maybe a problem with the ISA-to-PCI bridge on your motherboard, or
> else a timing problem.  You aren't playing with the bus frequency
> multipliers, overclocking, or anything like that, right?

Nope, nothing at all. It's a Tyan Thunder X with two PII-Xeon 450Mhz,
nothing overclocked.

> Dump the ISA soundcard for a PCI one and you'll probably do better...

Yep, just removed it.

But as i wrote above I still get sporadic parity errors even without
that old isa-card.

Any idea what might cause those?

Bye
Marc



Hmm, I narrowed it down.

It starts going havoc if there are more than 4 PCI cards inserted. If
the fifth card is a PCI card, I get lots of errors and even lockups
really soon, if the fifth card is an ISA card, i get less errors and
I've only encountered one lockup until now.

I've two NICs and two graphic-cards (all PCI), ide-controller onboard
and scsi controller onboard.

Is this behaviour something that might be expected with this kind of
setup or is it a sign of defective/failing hardware (buggy/broken
southbridge, as Chuck suggested)?

TIA :-)

Bye
Marc



On lot of motherboards I've seen some PCI slots share a single interrupt. I 
don't know if this is the case with your motherboard, but if it is then I can 
certainly imagine it causing problems.
--
Toomas Aas






This message has been scanned for viruses by the VEI Internet
Automatic Email Spam and Virus Scanner, and is believed to be free of spam or viruses.
Please report spam to [EMAIL PROTECTED] If you would like 98.9 % spam blocked from your
E-mail then go to VEI Internet for details. Anti-spam/Anti-virus is FREE with every 
account. 


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


Re: PPP takes the system over :(

2004-05-22 Thread Lowell Gilbert
"-=Nihr0M=-" <[EMAIL PROTECTED]> writes:

> Hello, I have a 5.2.1-Release.
> 
> The problem is, when I start PPP -auto  and my modem
> connects, when tcp transaction is going (e.g I download a file or open
> a web page...) I'm not able to run any other
> program (it seems like comp 'freezes'). That just sux... but when the
> action completes, all htese progs start ...
> duh...
> 
> BTW, my system is Athlon 1200Mhz, 256Megs of RAM, 200 of 2500 mb free
> on HDD, external USR modem

Do you have a terminal open at the time?
Can you log in to a different virtual terminal?
Can you try running top(1) when you do the ppp(8) connect and see what
your system thinks it is doing?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: XFree86 help...

2004-05-22 Thread Michal Pasternak
hitokiri [Sat, May 22, 2004 at 04:51:55PM -0500]:
> Alright, so I recently migrated to FreeBSD and had some trouble
> configuring the network. I got that problem fixed for the most part now as
> the internet works, except when I go into X. About a minute after I get into
> X, my internet stops working, and I have to restart the whole computer to
> get it back up again. I have absolutely no clue as to what the problem might
> be, or how to solve it. Any suggestions?

Suggestions? Here you go. Perhaps tell us more about your network
configuration, tell us how does "the internet" stops working (can you ping
anyone on LAN? what about external interface?), also tell us about your X
configuration (eg. which environment / WM do you use), place .xinit and
/var/log/XFree86.log.0 somewhere on the web, so we could see it.

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


XFree86 help...

2004-05-22 Thread hitokiri
Alright, so I recently migrated to FreeBSD and had some trouble configuring the 
network. I got that problem fixed for the most part now as the internet works, except 
when I go into X. About a minute after I get into X, my internet stops working, and I 
have to restart the whole computer to get it back up again. I have absolutely no clue 
as to what the problem might be, or how to solve it. Any suggestions?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Learning perl

2004-05-22 Thread Christopher Nehren
On Sat, May 22, 2004 at 13:10:05 EDT, Matthew Seaman scribbled these
curious markings:
> On Sat, May 22, 2004 at 11:48:42AM -0400, JJB wrote:
> > Looking for recommendations of best web sites for tutorials on
> > learning perl,
> > asking questions of peer group, lookup syntax, paper books, ETC.
> 
> Three things:
> 
> The Camel:  http://www.oreilly.com/catalog/pperl3/
> 
> The Llama:  http://www.oreilly.com/catalog/lperl3/
> 
> and the Monks:  http://www.perlmonks.org/
> 
>   Cheers,
> 
>   Matthew
> 

I can only mirror Matthew's advice with wholehearted enthusiasm. Start
with the Llama, work your way to the Camel, and be sure to learn about
the great services offered by the Monks. I have a couple of titles to
add:

Mastering Regular Expressions[1]: http://www.oreilly.com/catalog/regex2

Mastering Algorithms with Perl[2]: http://www.oreilly.com/catalog/maperl


[1]: Not specifically Perl-oriented, but a must-read regardless.
[2]: Decent algorithms can speed up 90% of the code that you write. And
when they can't, it's often beyond the capability of the software to 
help you.

If you're really serious about learning and using Perl, you'll also want
to look into many of the application-specific books written with Perl as
the target language. There's database handling, XML processing, even
bioinformatics. Most of these are O'Reilly titles, with at least a
couple of major exceptions: Damian Conway's book on objects, and Lincoln
Stein's (of CGI.pm fame) book on networking.

-- 
I abhor a system designed for the "user", if that word is a coded
pejorative meaning "stupid and unsophisticated".  -- Ken Thompson
-
Unix is user friendly. However, it isn't idiot friendly.
-
Please CC me in all replies, even if I'm on the relevant list(s).


pgpCHQXdONzdL.pgp
Description: PGP signature


Re: cron can't find root or operator

2004-05-22 Thread David Fleck
On Sat, 22 May 2004, chip wrote:
> So, now I am trying to run -
> crontab crontab
> in my non-root user directory, as the non-root user, and it fails with this-
> "crontab: crontab: No such file or directory"
> I tried -
> crontab -u chip crontab -e(with and without the -e)
> also and it failed with the same message. So I then su'd and tried again
> and got the same message again. The I tried -
> /etc/crontab -u chip crontab  (with and without the -e)
> and get permission denied, as root.

1. Using the information in crontab(5), write a file containing your cron
jobs in your favorite text editor.

2. run 'crontab {filename}' to install the cron.

3. run 'crontab -l' to verify that cron has installed your file.


--
David Fleck
[EMAIL PROTECTED]

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


Re: keyboard country mapping

2004-05-22 Thread Warren Block
On Sat, 22 May 2004, arden wrote:

> I'm in the UK but my install has set up my keyboard as American how can
> i alter it ?

You can choose a keymap interactively with kbdmap.

Based on 'man rc.conf', adding keymap="uk.cp850" to your rc.conf may do
what you want.  (I'm not sure if that's the right one, though.)

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


Re: keyboard country mapping

2004-05-22 Thread Doug Poland
arden wrote:
hi folks 

I'm in the UK but my install has set up my keyboard as American how can
i alter it ? 

kbdcontrol /usr/share/syscons/keymaps/uk.iso.kbd
or, whatever keyboard definition you prefer.
--
Regards,
Doug
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: keyboard country mapping

2004-05-22 Thread Michal Pasternak
arden [Sat, May 22, 2004 at 09:55:38PM +0100]:
> I'm in the UK but my install has set up my keyboard as American how can
> i alter it ?

2 ways:
 * run /stand/sysinstall and choose "Keymap"
 * man kbdcontrol, keymaps are in /usr/share/syscons/keymaps

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


Re: login help

2004-05-22 Thread Warren Block
On Sat, 22 May 2004, Chris Svensrud wrote:

> I am running FreeBSD 4.9 and am having trouble with root login password. I
> have tried to reset the password using boot as single user:
>
> # mount -u /
> # mount -a
> # passwd
>
> # exit
>
> when I try to login I still get a problem when using root. I can login as
> another user, but not root.

You did not include a description of the problem or an error message.

> >From what I have seen it appers that the problem stems from the smb.conf file.

What problem?  The procedure shown above does not affect smb.conf.
Maybe you are looking for smbpasswd, but it's difficult to say without
any details.

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


keyboard country mapping

2004-05-22 Thread arden
hi folks 

I'm in the UK but my install has set up my keyboard as American how can
i alter it ? 

arden 

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


Re: cron can't find root or operator

2004-05-22 Thread Bill Moran
chip wrote:
Thanks for all the help. I like the changes so far. What about 
specifically mentioning in the Handbook chapter that when a user runs 
the command
crontab crontab
the user should do this in their own home directory. My problem was I 
ran it in the /etc directory, not knowing any better, probably becuase 
that bit wasn't mentioned in the Handbook, or if I recall correctly, 
even the FAQ. The Handbook text states
"Let us take a look at the /etc/crontab file (the system crontab):"
Followed by the section on the user crontab and the warning paragraph, 
but no mention of doing this in the user directory, not /etc.
Please take another look at that chapter in the handbook.  It was just
updated today with changes provoked by this conversation.  I feel that
it's much better at explaining how things work now, but I'd be interested
to hear feedback from someone like yourself, who is having difficulty.
So, now I am trying to run -
crontab crontab
in my non-root user directory, as the non-root user, and it fails with 
this-
"crontab: crontab: No such file or directory"
The second "crontab" in that command is the filename of a file to use as
input when creating the crontab.  It doesn't appear as if you've created
such a file.  If you want to create one from scratch, "crontab -e" might
work better for you.
I tried -
crontab -u chip crontab -e (with and without the -e)
also and it failed with the same message. So I then su'd and tried again 
and got the same message again. The I tried -
/etc/crontab -u chip crontab (with and without the -e)
and get permission denied, as root.
I am running 5.1-Release, and a standard default install.
Regards,
Chip

Bill Moran wrote:
David Fleck wrote:
If you already have a file written in the proper format, you can load it
as your crontab by specifying 'crontab {filename}'. (That's what section
6.6.1 in the handbook is trying to say.  Unfortunately, it is not at all
clear on this.)

There was an outstanding PR on this ... I made a few additions, and I 
think
the handbook will explain this much better now.  Sounds like a 
committer is
going to get this into the tree within the next few days.

http://www.freebsd.org/cgi/query-pr.cgi?pr=docs%2F66963
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"


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


Re: etrn script..

2004-05-22 Thread Julien Gabel
> I have an etrn script I want to run, but it has to be run AFTER sendmail
> starts
>
> how do I do that under 5.2.1 ?

Eventually adding this script in /usr/local/etc/rc.d/.
-- 
-jpeg.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 2 questions

2004-05-22 Thread Michal Pasternak
Osmany Guirola Cruz [Sat, May 22, 2004 at 02:16:48PM -0400]:
> how can i know the amount of free RAM and SWAP

top
vmstat

> how can i configure my "anonymmos ftp"

Use /stand/sysinstall for a user-friendly way to do that -

Configure/Networking/Anon FTP

>, things like bandwith

DUMMYNET traffic shaper is one of the available options:

http://cs.ecs.baylor.edu/~donahoo/tools/dummy/tutorial.htm
http://www.freebsd.org/cgi/man.cgi?query=dummynet&sektion=4

> or number ou 
> users

I don't know, what you mean by "numer ou users".

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


etrn script..

2004-05-22 Thread J.D. Bronson
I have an etrn script I want to run, but it has to be run AFTER sendmail 
starts

how do I do that under 5.2.1 ?
thanks!

--
J.D. Bronson
Aurora Health Care // Information Services // Milwaukee, WI USA
Office: 414.978.8282 // Email: [EMAIL PROTECTED] // Pager: 414.314.8282
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cron can't find root or operator

2004-05-22 Thread chip
Thanks for all the help. I like the changes so far. What about 
specifically mentioning in the Handbook chapter that when a user runs 
the command
crontab crontab
the user should do this in their own home directory. My problem was I 
ran it in the /etc directory, not knowing any better, probably becuase 
that bit wasn't mentioned in the Handbook, or if I recall correctly, 
even the FAQ. The Handbook text states
"Let us take a look at the /etc/crontab file (the system crontab):"
Followed by the section on the user crontab and the warning paragraph, 
but no mention of doing this in the user directory, not /etc.

So, now I am trying to run -
crontab crontab
in my non-root user directory, as the non-root user, and it fails with this-
"crontab: crontab: No such file or directory"
I tried -
crontab -u chip crontab -e 	(with and without the -e)
also and it failed with the same message. So I then su'd and tried again 
and got the same message again. The I tried -
/etc/crontab -u chip crontab 		(with and without the -e)
and get permission denied, as root.
I am running 5.1-Release, and a standard default install.
Regards,
Chip

Bill Moran wrote:
David Fleck wrote:
If you already have a file written in the proper format, you can load it
as your crontab by specifying 'crontab {filename}'. (That's what section
6.6.1 in the handbook is trying to say.  Unfortunately, it is not at all
clear on this.)

There was an outstanding PR on this ... I made a few additions, and I think
the handbook will explain this much better now.  Sounds like a committer is
going to get this into the tree within the next few days.
http://www.freebsd.org/cgi/query-pr.cgi?pr=docs%2F66963
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


login help

2004-05-22 Thread Chris Svensrud
I am running FreeBSD 4.9 and am having trouble with root login password. I 
have tried to reset the password using boot as single user:

# mount -u /
# mount -a
# passwd

# exit

when I try to login I still get a problem when using root. I can login as 
another user, but not root. 

I have been looking on users groups and messages boards for solutions, but all 
I have seen is users with similar problems. (No Solutions!) 

From what I have seen it appers that the problem stems from the smb.conf file.

PLEASE HELP!

-Chris

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


Re: Maintainer of WHOIS command

2004-05-22 Thread Julien Gabel
> Who is the FreeBSD Maintainer of WHOIS command?

 $ ident /usr/src/usr.bin/whois/whois.c
or
 http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.bin/whois/whois.c
... might give you an idea of who are commiting to this utility.

> Does anybody know if there is some official organization that
> maintains the unix whois command? Can I get an copy of the newer
> whois command to use on my Freebsd 4.9 system?

There exists other clients of this type in the ports collection:
 http://www.freebsd.org/cgi/ports.cgi?query=whois&stype=name

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


2 questions

2004-05-22 Thread Osmany Guirola Cruz
how can i know the amount of free RAM and SWAP
how can i configure my "anonymmos ftp" , things like bandwith or number ou 
users

 

On Saturday 22 May 2004 01:57 pm, fbsd_user wrote:
> Who is the FreeBSD Maintainer of WHOIS command?
>
> The FreeBSD 4.9 version of whois command seems to automatically
> drill down from the ARIN database through the RIPE database to find
> the ISP owner of the entered IP address just fine. But does not do
> the same thing with the LACNIC or APNIC databases.  Some posts I
> found in news groups seem to indicate that the FreeBSD version of
> the whois command is out of date, and missing some new auto
> navigation logic that handles the other database inquires.
>
> Does anybody know if there is some official organization that
> maintains the unix whois command? Can I get an copy of the newer
> whois command to use on my Freebsd 4.9 system?
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

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


Maintainer of WHOIS command

2004-05-22 Thread fbsd_user
Who is the FreeBSD Maintainer of WHOIS command?

The FreeBSD 4.9 version of whois command seems to automatically
drill down from the ARIN database through the RIPE database to find
the ISP owner of the entered IP address just fine. But does not do
the same thing with the LACNIC or APNIC databases.  Some posts I
found in news groups seem to indicate that the FreeBSD version of
the whois command is out of date, and missing some new auto
navigation logic that handles the other database inquires.

Does anybody know if there is some official organization that
maintains the unix whois command? Can I get an copy of the newer
whois command to use on my Freebsd 4.9 system?

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


Re: Learning perl

2004-05-22 Thread Matthew Seaman
On Sat, May 22, 2004 at 11:48:42AM -0400, JJB wrote:
> Looking for recommendations of best web sites for tutorials on
> learning perl,
> asking questions of peer group, lookup syntax, paper books, ETC.

Three things:

The Camel:  http://www.oreilly.com/catalog/pperl3/

The Llama:  http://www.oreilly.com/catalog/lperl3/

and the Monks:  http://www.perlmonks.org/

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpEUyMWOu1sC.pgp
Description: PGP signature


Re: Errors building PHP 4.3.6

2004-05-22 Thread Robert Fitzpatrick
On Sat, 2004-05-22 at 12:48, Michal Pasternak wrote:
> Robert Fitzpatrick [Sat, May 22, 2004 at 12:10:11PM -0400]:
> > On Sat, 2004-05-22 at 11:56, Michal Pasternak wrote:
> > > Robert Fitzpatrick [Sat, May 22, 2004 at 11:46:50AM -0400]:
> > > > esmtp# ldd /usr/local/bin/psql
> > > > /usr/local/bin/psql:
> > > > libpq.so.3 => /usr/local/lib/libpq.so.3 (0x28096000)
> > > > libkrb5.so.20 => /usr/local/lib/libkrb5.so.20 (0x280b2000)
> > > 
> > > Hmm, ok, so you need to include -l parameter to the linker on the line in
> > > Makefile, that the error occures. (-lkrb5 perhaps)
> > 
> > OK, trying to find that Makefile. I don't find PHP 4.3.6 under the
> > /usr/ports, only 4.3.4. Where does portupgrade put this Makefile?
> 
> I didn't mean the Makefile in ports, the error is obviously in some port
> work directory, but I am unable to say which one, basing on the information
> you supplied.

Yeah, I found it under /usr/ports/lang/php4/work/php-4.3.6/Makefile, but
cannot seem to find anything related to libpq or krb5. Do you know where
I should look in the file?

-- 
Robert

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


can't startx after upgrade

2004-05-22 Thread hoe-waa
Aloha

I have just successfully upgrade gnome 2.4 to gnome 2.6. At least
that's the message I received after running the upgrade script. :)

Before the upgrade all was working well. After the upgrade 
I have some problems. I cannot startx from a regular user login.

When trying, I get the following errors:

$startx
xauth: timeout in locking authority file /home/robert/.Xauthority
xauth: timeout in locking authority file /home/robert/.Xauthority
xauth: timeout in locking authority file /home/robert/.Xauthority
xauth: timeout in locking authority file /home/robert/.Xauthority

Fatal server error:
Cannot move old logfile "/var/log/XFree86.0.log.old"

When reporting a problem (blah, blah)


giving up.
xinit: No such file or directory (errno 2): unable to connect to X server
xinit: No such process (errno 3): Server error.
xauth: timeout in locking authority file /home/robert/.Xauthority
$

If I startx from a root login, I get to gnome but it seems to load very
slow. 

I also am not able to su from a normal login to root. 

$su
Password:
May 22 06:48:27 bsd-desktop su: BAD SU robert to root on /dev/ttyv0
su: Sorry
$

I am running FreeBSD 5.2RC. 

TIA
Robert

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


Re: Errors building PHP 4.3.6

2004-05-22 Thread Michal Pasternak
Robert Fitzpatrick [Sat, May 22, 2004 at 12:10:11PM -0400]:
> On Sat, 2004-05-22 at 11:56, Michal Pasternak wrote:
> > Robert Fitzpatrick [Sat, May 22, 2004 at 11:46:50AM -0400]:
> > > esmtp# ldd /usr/local/bin/psql
> > > /usr/local/bin/psql:
> > > libpq.so.3 => /usr/local/lib/libpq.so.3 (0x28096000)
> > > libkrb5.so.20 => /usr/local/lib/libkrb5.so.20 (0x280b2000)
> > 
> > Hmm, ok, so you need to include -l parameter to the linker on the line in
> > Makefile, that the error occures. (-lkrb5 perhaps)
> 
> OK, trying to find that Makefile. I don't find PHP 4.3.6 under the
> /usr/ports, only 4.3.4. Where does portupgrade put this Makefile?

I didn't mean the Makefile in ports, the error is obviously in some port
work directory, but I am unable to say which one, basing on the information
you supplied.

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


Re: Errors building PHP 4.3.6

2004-05-22 Thread Robert Fitzpatrick
On Sat, 2004-05-22 at 11:56, Michal Pasternak wrote:
> Robert Fitzpatrick [Sat, May 22, 2004 at 11:46:50AM -0400]:
> > esmtp# ldd /usr/local/bin/psql
> > /usr/local/bin/psql:
> > libpq.so.3 => /usr/local/lib/libpq.so.3 (0x28096000)
> > libkrb5.so.20 => /usr/local/lib/libkrb5.so.20 (0x280b2000)
> 
> Hmm, ok, so you need to include -l parameter to the linker on the line in
> Makefile, that the error occures. (-lkrb5 perhaps)

OK, trying to find that Makefile. I don't find PHP 4.3.6 under the
/usr/ports, only 4.3.4. Where does portupgrade put this Makefile?

-- 
Robert

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


about install vmware!

2004-05-22 Thread KYO
hi
I downloaded the vmware 4.0 for linux program in my
computer,when I type './vmware-install.pl',this
install program request binary lsmod and other
things.I read the handbook chapter 22,but I can't find
any solution.So,please tell me how can I intall the
vm4?(I don't want to install vm3 or vm2)

thanks.




__
Do you Yahoo!?
Yahoo! Domains – Claim yours for only $14.70/year
http://smallbusiness.promotions.yahoo.com/offer 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Errors building PHP 4.3.6

2004-05-22 Thread Michal Pasternak
Robert Fitzpatrick [Sat, May 22, 2004 at 11:46:50AM -0400]:
> esmtp# ldd /usr/local/bin/psql
> /usr/local/bin/psql:
> libpq.so.3 => /usr/local/lib/libpq.so.3 (0x28096000)
> libkrb5.so.20 => /usr/local/lib/libkrb5.so.20 (0x280b2000)

Hmm, ok, so you need to include -l parameter to the linker on the line in
Makefile, that the error occures. (-lkrb5 perhaps)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Learning perl

2004-05-22 Thread JJB
Looking for recommendations of best web sites for tutorials on
learning perl,
asking questions of peer group, lookup syntax, paper books, ETC.

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


Re: Errors building PHP 4.3.6

2004-05-22 Thread Robert Fitzpatrick
On Sat, 2004-05-22 at 11:08, Michal Pasternak wrote:
> Robert Fitzpatrick [Sat, May 22, 2004 at 10:48:22AM -0400]:
> > I have Heimdal 0.6 port installed on FreeBSD 5.2.1 and getting this error when
> > trying to build and do portupgrade for PHP 4.3.6 from 4.3.4.
> > 
> > Can anyone suggest what the problem may be?
> 
> libpq is PostgreSQL client library, so I think you could start with
> rebuilding PgSQL to include KRB support (I suppose, that PgSQL .h files get
> some #defined value from PHP, and automatically start to include KRB
> support, which is obviously not compiled in in your case)

I just portupgraded PostgreSQL to 7.4.2 last week finding the server and
client both in the same /usr/ports/databases/postgresql7. I had
WITH_HEIMDAL_KRB5 defined in /etc/make.conf, which is supposed to get
the Kerberos support built in according to the pg Makefile.

Do you think something went wrong then? Looks good here:

esmtp# ldd /usr/local/bin/psql
/usr/local/bin/psql:
libpq.so.3 => /usr/local/lib/libpq.so.3 (0x28096000)
libkrb5.so.20 => /usr/local/lib/libkrb5.so.20 (0x280b2000)
libasn1.so.6 => /usr/local/lib/libasn1.so.6 (0x280f)
libcrypto.so.3 => /usr/local/lib/libcrypto.so.3 (0x28116000)
libroken.so.16 => /usr/local/lib/libroken.so.16 (0x2821c000)
libcrypt.so.2 => /lib/libcrypt.so.2 (0x2822a000)
libintl.so.6 => /usr/local/lib/libintl.so.6 (0x28243000)
libssl.so.3 => /usr/local/lib/libssl.so.3 (0x2824c000)
libz.so.2 => /lib/libz.so.2 (0x2827d000)
libreadline.so.4 => /lib/libreadline.so.4 (0x2828b000)
libm.so.2 => /lib/libm.so.2 (0x282b9000)
libutil.so.4 => /lib/libutil.so.4 (0x282d2000)
libc.so.5 => /lib/libc.so.5 (0x282de000)
libcom_err.so.2 => /usr/local/lib/libcom_err.so.2 (0x283b8000)
libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x283bb000)
libncurses.so.5 => /lib/libncurses.so.5 (0x284aa000)
esmtp# ls -la /usr/local/lib/libpq.so
lrwxr-xr-x  1 root  wheel  10 May 16 17:34 /usr/local/lib/libpq.so ->
libpq.so.3

-- 
Robert

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


RE: PPP takes the system over :(

2004-05-22 Thread JJB
Based on the very little info you posted, here is the same level of
reply.
You have your system configured incorrectly.

Now is that reply useful?

About as useful as your question is. Nobody here has ESP so they can
not remotely read your mind or the contents or your system's config
files. When asking for help it's your responsibility to provide
enough info for readers of your post to actually help you.

Post full contents of the following config files to get meaningful
help.
Rc.conf, dmesg.boot, ppp.conf, ppp.log, firewall rules, output from
ps ax command while user ppp is running.

If you are trying to use kernel ppp, change to user ppp as it's a
whole lot easier to debug.
Is this an new clean install from cdrom?
Have you used FBSD before?
Besides just saying you have an "external USR modem" how about model
number and speed(IE 33.6, 56K or what)

Details man details. The more details you provide the more helpful
the reply will be.




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of -=Nihr0M=-
Sent: Saturday, May 22, 2004 6:28 AM
To: [EMAIL PROTECTED]
Subject: PPP takes the system over :(

Hello, I have a 5.2.1-Release.

The problem is, when I start PPP -auto  and my modem
connects,
when tcp transaction is going (e.g I download a file or open a web
page...) I'm not able to run any other
program (it seems like comp 'freezes'). That just sux... but when
the
action completes, all htese progs start ...
duh...

BTW, my system is Athlon 1200Mhz, 256Megs of RAM, 200 of 2500 mb
free
on HDD, external USR modem

Looking forward to hearing from you,

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

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


Errors building PHP 4.3.6

2004-05-22 Thread Robert Fitzpatrick
I have Heimdal 0.6 port installed on FreeBSD 5.2.1 and getting this error when
trying to build and do portupgrade for PHP 4.3.6 from 4.3.4.

Can anyone suggest what the problem may be?

/usr/local/lib/libc-client4.so: warning: tmpnam() possibly used
unsafely; consider using mkstemp()
/usr/local/lib/libpq.so: undefined reference to `krb5_cc_get_principal'
/usr/local/lib/libpq.so: undefined reference to
`krb5_sname_to_principal'
/usr/local/lib/libpq.so: undefined reference to `krb5_cc_default'
/usr/local/lib/libpq.so: undefined reference to `krb5_cc_close'
/usr/local/lib/libpq.so: undefined reference to `error_message'
/usr/local/lib/libpq.so: undefined reference to `krb5_free_error'
/usr/local/lib/libpq.so: undefined reference to `krb5_sendauth'
/usr/local/lib/libpq.so: undefined reference to `krb5_free_principal'
/usr/local/lib/libpq.so: undefined reference to `krb5_unparse_name'
/usr/local/lib/libpq.so: undefined reference to `krb5_free_context'
/usr/local/lib/libpq.so: undefined reference to `krb5_init_context'
*** Error code 1

-- 
Robert

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


Re: cron can't find root or operator

2004-05-22 Thread Bill Moran
David Fleck wrote:
If you already have a file written in the proper format, you can load it
as your crontab by specifying 'crontab {filename}'. (That's what section
6.6.1 in the handbook is trying to say.  Unfortunately, it is not at all
clear on this.)
There was an outstanding PR on this ... I made a few additions, and I think
the handbook will explain this much better now.  Sounds like a committer is
going to get this into the tree within the next few days.
http://www.freebsd.org/cgi/query-pr.cgi?pr=docs%2F66963
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


LSI 20320R Raid Card

2004-05-22 Thread J.D. Bronson
I have asked this and no one replied, but I have more information...
The card seems very well supported (mpt) but yet when I setup a RAID MIRROR 
and it is resyncing  - the card DOES tell Freebsd 5.2.1, but the message is 
unrecognized:


Waiting 10 seconds for SCSI devices to settle
mpt0: Unknown event 0xb
mpt0: Unknown event 0xb
GEOM: create disk da0 dp=0xc7b72050
=
Is there plans to fix this so that the card and the driver can tell the OS
whats going on?
Thanks.

--
J.D. Bronson
Aurora Health Care // Information Services // Milwaukee, WI USA
Office: 414.978.8282 // Email: [EMAIL PROTECTED] // Pager: 414.314.8282
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cron can't find root or operator

2004-05-22 Thread David Fleck
On Fri, 21 May 2004, carvin5string wrote:
[...]
> It would be nice to see some info about the differance between the
> system and user crontabs and how to properly create and use a user
> crontab, as well as when/why one would want to use a user crontab.

I missed the earlier parts of this exchange, so forgive me if I'm
repeating what's already been said.  User crontabs allow specific users
to run crons that are meaningful to them only, without cluttering up the
system crons (or having to be root to make changes).

Users create crontabs for themselves with the 'crontab -e' command.  The
format is described in the crontab(5) man page.

If you already have a file written in the proper format, you can load it
as your crontab by specifying 'crontab {filename}'. (That's what section
6.6.1 in the handbook is trying to say.  Unfortunately, it is not at all
clear on this.)

For instance, I have the following cron for user dcf on my home system:

dcf>$ crontab -l
# run fetchmail, dump results to cronlog
*/15 * * * * /usr/local/bin/fetchmail --ssl -Z,571 >> /home/dcf/fetch.log
# timestamp fetch.log
0 * * * *date >> /home/dcf/fetch.log
# clean tex, lyx files out of home dir
0 1 * * */home/dcf/.clean


--
David Fleck
[EMAIL PROTECTED]

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


Re: Problems with qmail and connecting to smtp daemon and problem with my virtual domain.

2004-05-22 Thread Peter Risdon
Mattias Björk wrote:
Hi, list(ners)
Problem nr 1.
I have read the following guide to install qmail:
http://www.stevenfettig.com/mythoughts/archives/cat_qmailhowto.php

I'll try to help. You might have looked at these already but if not, 
they're worthwhile:

http://cr.yp.to/qmail.html for a general guide, especially the qmail 
pictures, and:

http://www.lifewithqmail.org - especially read:
http://www.lifewithqmail.org/lwq.html#test for some diagnostic and 
testing guidance.

Probably the starting point for testing a new installation is to look at 
the output of:

#qmailctl stat
to make sure everything is running properly. All uptimes should be > 1 
second and identical or very close to it. You should see lines for at 
least qmail-smtpd and qmail-send and their respective logs.

I have not installed from source by my self, I found that all programs 
where avalible thru ports. I will make this as sort as possible,

There is disagreement between the author of qmail and the port 
maintainer about where the service directory should go. djb says 
/service whereas the port maintainer says /var/service and this can lead 
to strange mixed installations, especially when you've been following 
installation or configuration guides that are not specific to FreeBSD. 
Check that you only have one or the other. If qmailctl stat does not 
show enough processes, this might be why.

I set up vpopmail with domain "setiathome.birch.se". The domain is 
"birch.se", fqdn is "setiathome.birch.se" for the host. I didn't how 
ever install everything. I didn't install ezmlm-idx and auotrespond, 
but its not vital for the operation of the mail-server at this time.

That should be fine.
I had this problem, that i couldn't send message to the FreeBSD 
mailinglists, but I solved it by adding my ISP outgoing smtpserver to 
/var/qmail/control/smtproutes. Perhaps it hade something to do with 
reversed DNS.

I don't think this list checks reverse DNS. Could you send mail anywhere 
else? Some ISPs do not allow e-mail to be sent through their network 
unless their smtp server is used, as an anti-spam precaution.

Here are my directory listing from /var/qmail/control/:
defaultdomain   plusdomain  smtproutes
locals  rcpthosts   virtualdomains
locals.lock rcpthosts.lock  virtualdomains.lock
me  servercert.pem
In the file defaultdomain and plusdomain are the string entry 
"birch.se". In the me file there are the hostname of the mail server. 
And finaly in the "virtualdomains" file are the string: 
"setiathome.birch.se:setiathome.birch.se"

That means you're expecting to receive mail addressed to 
[EMAIL PROTECTED], not [EMAIL PROTECTED] - is that what you want? 
There should also be an entry in rcpthosts, just the domain name, 
setiathome.birch.se in this case. Have you made these entries by hand? 
You shouldn't need to since you are running vpopmail (see below).

My problems is that I can connect to port 25. The problem is that 
nothing happens, look below:



Make sure that qmailctl stat gives the right output before going any 
further.


How ever, in the first chapter of the guide. It says the following at 
"1.6 courier-imap Hack" :

"Because the SMTP after IMAP4(s)/POP3(s) of courier-imap does not 
work, here is a small wrapper. This "hack" tracks the IP of the 
authenticating user and allows for SMTP sending (i.e. a form of 
authenticated SMTP relay)."

Perhaps that have something to do with that it doesn't work.

I'm not sure how...
Problem nr 2.
The other problem is that I have a user named "thrawn" that is a local 
user on the system.
The home directory of the user is "/usr/home/thrawn".
And the the Maildir diretory is "/usr/home/thrawn/Maildir". When I 
connect to my mail via imapd-ssl, It uses the local user Maildir.

This is a big problem. There shouldn't be a Maildir in this directory, 
if you set up the domain properly under vpopmail. Use the vpopmail 
binaries to add domains and users (see below).

Secondly, it seems that imapd-ssl is not using the right authentication 
module. It needs to use something that checks with vpopmail and then 
shows the correct directory. Perhaps consider using courier-imapd 
instead; it's written by the same people who produced vpopmail and 
integrates well with it.

But I have a domain for vpopmail at the following directory 
"/usr/local/vpopmail/domains/setiathome.birch.se"

If you're using vpopmail and it has been set up properly and knows about 
the domain, this is the start of the directory tree where mail should be 
placed.

And there I also have a user named "thrawn" and with the same password 
as the local "thrawn" account. If I understand it correctly for some 
reason courier-imap doesn't use my virtual domain, but it does use the 
local user. Im sure that it might be me that I have done something 
wrong or the documentation is not completly correct.

See below.
Perhaps I should use another domain name and se

Re: Install Identd for FreeBSD 4.5

2004-05-22 Thread Matthew Seaman
On Sat, May 22, 2004 at 07:27:17PM +0700, Hadi Surya Wijaya wrote:

> Questions : How to Install Identd on FreeBSD 4.5 step by 
> step ..?

identd is built in.  Just edit your /etc/inetd.conf and uncomment the
line that says:

#auth   stream  tcp nowait  rootinternalauth -r -f -n -o UNKNOWN 
-t 30

(Uncomment the following line as well if you use IPv6)

Then restart inetd(8) by:

# kill -HUP `cat /var/run/inetd.pid`

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpMMJvjfVXxZ.pgp
Description: PGP signature


Re: Install Identd for FreeBSD 4.5

2004-05-22 Thread Michal Pasternak
Hadi Surya Wijaya [Sat, May 22, 2004 at 07:26:14PM +0700]:
> Questions : How to Install Identd on FreeBSD 4.5 step by 
> step ..?

It is already there - uncomment proper lines in /etc/inetd.conf and restart
inetd (or, make sure you're running it, it is not enabled by default)

Also, if your FreeBSD is really 4.5, I'd consider updating to the latest
stable version.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Install Identd for FreeBSD 4.5

2004-05-22 Thread Hadi Surya Wijaya
Dear .
I am have problem in Server FreeBSD for conecting to 
DalNet .

* Connecting to mesra.kl.my.dal.net (6665)
-mesra.kl.my.dal.net- *** Looking up your hostname...
-mesra.kl.my.dal.net- *** Found your hostname, cached
-mesra.kl.my.dal.net- *** Checking Ident
-mesra.kl.my.dal.net- *** No Ident response
You have been autokilled.
-
-mesra.kl.my.dal.net- *** You are not welcome on this 
network.
-mesra.kl.my.dal.net- *** autokilled for [AKILL 
ID:1039081090K-c] [exp/identd] IRC clients from your 
domain are required to respond to identd requests in order 
to connect to DALnet. Send email to [EMAIL PROTECTED] with 
[exp/ident] as the subject, or visit 
http://kline.dal.net/exploits/ident.html (2004/05/22 
01.09)

* Disconnected
Questions : How to Install Identd on FreeBSD 4.5 step by 
step ..?

Thank's to for your help..
Hadi
===
"Gabung INSTANIA, dapatkan XENIA. Daftar di www.telkomnetinstan.com, langsung dapat 
akses Internet Gratis..
Dan ..ikuti "Instan Smile" berhadiah Xenia,Tour S'pore, Komputer,dll, info hub : TELKOM 
Jatim 0-800-1-467826 "
===
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Install Identd for FreeBSD 4.5

2004-05-22 Thread Hadi Surya Wijaya
Dear .
I am have problem in Server FreeBSD for conecting to 
DalNet .

* Connecting to mesra.kl.my.dal.net (6665)
-mesra.kl.my.dal.net- *** Looking up your hostname...
-mesra.kl.my.dal.net- *** Found your hostname, cached
-mesra.kl.my.dal.net- *** Checking Ident
-mesra.kl.my.dal.net- *** No Ident response
You have been autokilled.
-
-mesra.kl.my.dal.net- *** You are not welcome on this 
network.
-mesra.kl.my.dal.net- *** autokilled for [AKILL 
ID:1039081090K-c] [exp/identd] IRC clients from your 
domain are required to respond to identd requests in order 
to connect to DALnet. Send email to [EMAIL PROTECTED] with 
[exp/ident] as the subject, or visit 
http://kline.dal.net/exploits/ident.html (2004/05/22 
01.09)

* Disconnected
Questions : How to Install Identd on FreeBSD 4.5 step by 
step ..?

Thank's to for your help..
Hadi
===
"Gabung INSTANIA, dapatkan XENIA. Daftar di www.telkomnetinstan.com, langsung dapat 
akses Internet Gratis..
Dan ..ikuti "Instan Smile" berhadiah Xenia,Tour S'pore, Komputer,dll, info hub : TELKOM 
Jatim 0-800-1-467826 "
===
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Install Identd for FreeBSD 4.5

2004-05-22 Thread Hadi Surya Wijaya
Dear .
I am have problem in Server FreeBSD for conecting to 
DalNet .

* Connecting to mesra.kl.my.dal.net (6665)
-mesra.kl.my.dal.net- *** Looking up your hostname...
-mesra.kl.my.dal.net- *** Found your hostname, cached
-mesra.kl.my.dal.net- *** Checking Ident
-mesra.kl.my.dal.net- *** No Ident response
You have been autokilled.
-
-mesra.kl.my.dal.net- *** You are not welcome on this 
network.
-mesra.kl.my.dal.net- *** autokilled for [AKILL 
ID:1039081090K-c] [exp/identd] IRC clients from your 
domain are required to respond to identd requests in order 
to connect to DALnet. Send email to [EMAIL PROTECTED] with 
[exp/ident] as the subject, or visit 
http://kline.dal.net/exploits/ident.html (2004/05/22 
01.09)

* Disconnected
Questions : How to Install Identd on FreeBSD 4.5 step by 
step ..?

Thank's to for your help..
Hadi
===
"Gabung INSTANIA, dapatkan XENIA. Daftar di www.telkomnetinstan.com, langsung dapat 
akses Internet Gratis..
Dan ..ikuti "Instan Smile" berhadiah Xenia,Tour S'pore, Komputer,dll, info hub : TELKOM 
Jatim 0-800-1-467826 "
===
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Looking to build server, best option for reliable FreeBSD supported hardware (SCSI RAID5)?

2004-05-22 Thread Joan Picanyol i Puig
On Sat, 22 May 2004 02:43:22 +1000, Antony Mawer wrote:
> We're looking at probably 4x146gb SCSI drives in RAID5, and I want to 
> make sure we have hardware that's known to work under FreeBSD before we 
> go placing an order. What vendors/equipment are people currently running 
> reliably under FreeBSD (either 4.x or 5.x)? Any recommendations?

Peruse the -scsi@ archives. In particular look for a recent thread like
"Recommended RAID controller"

qvb
-- 
pica


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


Re: Router take advantage of device polling

2004-05-22 Thread Matthew Seaman
On Sat, May 22, 2004 at 06:51:32AM -0400, Jeffrey Lyon wrote:
> I am currently running a router pushing about 15 megabit of traffic, 
> with CPU usage like so:
> 
> root 25  5.9  0.0 0   12  ??  WL   10:16AM  47:49.70  (irq7: 
> bge0 amr0)
> root 14  5.9  0.0 0   12  ??  WL   10:16AM  55:15.63  (swi1: net)
> root 26  3.0  0.0 0   12  ??  LL   10:16AM  28:42.81  (irq5: bge1)
> 
> I am told that activating the device_polling kernel option will cause a 
> substantial reduction in this usage. Is there any truth to that statement?

Probably not.  I see you are using bge(4) devices -- there's nothing
in the polling(4) or bge(4) man pages to suggest that the bge
interface does support polling, and the code in /usr/src/sys/dev/bge
makes no reference to the DEVICE_POLLING cpp macro, so it's unlikely
to help with that hardware.

Assuming you've got suitable hardware, whether device polling gains
you much, or anything at all depends on the nature of the traffic
you're dealing with.  There are about dozen kernel tunables that you
can use to optimize traffic flows. See the polling(4) man page for
more information.

Cheers,

Matthew


-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpUU7kuDeBRI.pgp
Description: PGP signature


Re: spamassassin+filtering with kmail

2004-05-22 Thread Admin
Think I got it.
Not that I claim I know what I'm doing, but at last I got it somewhat working.
It's now filtering my " Test Spam messages " and ONLY those, to the desired 
Spamfolder :-), but I doubt it's filtering on the number of  " stars " as I 
wants it to do.

What I did was the following steps :

Create a new filter and rename it to Spam.
Setting Filter Criteria to match any of the following
X-Spam-Flag containsYES
X-Spam-Scorecontains*

Filter Actions :
file into folderSpam

Advanced Options
x   Apply this filter to incoming messages
x   on manual filtering
x   If this filter matches, stop processing here.

Still intersted in tips and hints on how to get this properly working :-)

/ Regards Hasse.

On Friday 21 May 2004 17.37, Hasse wrote:
> Hi everybody.
>
> FreeBSD 4.10-PRERELEASE #0
>
> Just installed MIMEDefang+SpamAssassin+ClamAV on my mailserver,
> and everything is running fine but don't seem to get spamfiltering  on " *
> " to work with KMail.
> My filter looks like this : X-Spam-Score  contains  *Action: File in
> folder Spam
> Tried different options, but it either moves ALL or NONE to the Spam
> folder. I have changed the report order in mimedefang filter so the stars
> come first. Looks kike this :
> X-Spam-Score:  (1000.999)
>
> Any hints ?
>
> / Hasse.
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: home on a gbde encrypted partion

2004-05-22 Thread platanthera
On Friday 21 May 2004 17:49, platanthera wrote:
> hi all,
>
> I want to move my home directory to a gbde encrypted partition.
> I plan to have only the default dotfiles in /home/xxx (before
> mounting the encrypted partition), log in as usual, attach and fsck
> the encrypted partion and then mount it 'over' /home/xxx.
> Is there anything wrong with this approach?

hmm... obviously there is something wrong. I can't unmount my current 
home directory later. Not really surprising..
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


PPP takes the system over :(

2004-05-22 Thread -=Nihr0M=-
Hello, I have a 5.2.1-Release.
The problem is, when I start PPP -auto  and my modem 
connects, 
when tcp transaction is going (e.g I download a file or open a web 
page...) I'm not able to run any other
program (it seems like comp 'freezes'). That just sux... but when the 
action completes, all htese progs start ...
duh...

BTW, my system is Athlon 1200Mhz, 256Megs of RAM, 200 of 2500 mb free 
on HDD, external USR modem

Looking forward to hearing from you,
Slava 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Router take advantage of device polling

2004-05-22 Thread Jeffrey Lyon
I am currently running a router pushing about 15 megabit of traffic, 
with CPU usage like so:

root 25  5.9  0.0 0   12  ??  WL   10:16AM  47:49.70  (irq7: 
bge0 amr0)
root 14  5.9  0.0 0   12  ??  WL   10:16AM  55:15.63  (swi1: net)
root 26  3.0  0.0 0   12  ??  LL   10:16AM  28:42.81  (irq5: bge1)

I am told that activating the device_polling kernel option will cause a 
substantial reduction in this usage. Is there any truth to that statement?

Thanks.
--
Jeffrey Lyon, Independent Associate
[EMAIL PROTECTED]
http://www.prepaidlegal.com/hub/jeffreylyon
Pre-Paid Legal Services, Inc.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: compiler err trying to make buildworld.

2004-05-22 Thread Matthew Seaman
[Sinal 11 problems]

On Sat, May 22, 2004 at 02:21:17AM -0700, Gary Kline wrote:
>   Can you give me a URL or should I google around?  Y'know,
>   the more I think about it, most of the time this system
>   went down was during heavy builds or very heavy loads.  
>   It's a kind-of home brew, i815 box that Ihaven't touched
>   for > year.  Prob'ly enough dust in there to make a 
>   (large) pillow;)

This is the FAQ that has been mentioned:

http://www.bitwizard.nl/sig11/

It's a bit Linux centric in places, but still good.  The FreeBSD take
on all this is at:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/troubleshoot.html#SIGNAL11

You should clean out your machine as soon as possible -- all this
overheating and crashing really isn't good for it.  If it carries on,
something quite expensive is likely to break.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpQyT0tWGhnp.pgp
Description: PGP signature


Re: Install IPFILTER question

2004-05-22 Thread Remko Lodder
well...
Stephen Liu wrote:

options IPFILTER#ipfilter
support
options IPFILTER_LOG#ipfilter
logging
options IPFILTER_DEFAULT_BLOCK  #block all
packets by default
options PFIL_HOOKS  #required by
IPFILTER
That seems like you have to enable this in the kernel config, recompile 
it, and it should load.
The rest of the rules etc you need to write yourself.

Kindly advise how to install IPFILTER and/or edit
kernel option to enable it.
As we do always with your countless questions, see above.
Note, that i personally would love to see you grow a bit more into
FreeBSD. What do i mean with that?
Try yourself, and search on the internet, the mailinglist archives etc 
to achieve your goal. You ask plenty of questions which most of them are
findable on the internet or perhaps even in the handbook and or faq.

The reason i say this is the amount of questions you provide, and the 
"growth" level i personally see (nearly flat ...)
If you are able to search/find/tryout etc. You will understand FreeBSD 
sooner, giving us more space since you are then able to reply to 
questions yourself ;)

Cheers!
TIA
B.R.
Stephen Liu
___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
--
Kind regards,
Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl Dutch community for helping newcomers on the 
hackerscene
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: upgrading ports, skipping or deferring from automatic upgrades

2004-05-22 Thread Matthew Seaman
On Sat, May 22, 2004 at 04:59:57AM +, Andy Smith wrote:

> On the other hand, is there maybe a simple way to tell portupgrade
> *never* to upgrade specific ports unless they are forced or
> specified singly?

There is.  That's what the HOLD_PKGS array in
/usr/local/etc/pkgtools.conf is for.  That will stop portupgrade
attempting to upgrade that package (or pkgdb or portversion doing
their things).  Use the -f/--force flag to override the held status.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpwGvH90hGNF.pgp
Description: PGP signature


Re: Help: Uncommenting FTP line in Inetd.conf: What's Next???

2004-05-22 Thread Matthew Seaman
On Fri, May 21, 2004 at 09:52:35PM -0700, Mark Jayson Alvarez wrote:

> What's the difference between an ftp and a tftp? 
> And what's next? 

tftp is the "trivial file transfer program" -- which is a very
different beast to your standard FTP server.  TFTP is used for moving
files between machines usually local to one site.  As it doesn't
include any effective authentication mechanism it's not useful for
transferring files outside your trust bounduaries -- use ordinary FTP
for that.

One of the principal uses for TFTP is to support diskless booting.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp86dqnJh01i.pgp
Description: PGP signature


Re: How to secure ftp over SSH (how to make ftpd listen only to 127.0.0.1)?

2004-05-22 Thread Pavel Duda
Constantine wrote:
Hello,
I am very concerned about the security of my servers. My favourite 
file-management software does not support any other unix standards than 
plain ftp.

How is it possible to set up my FreeBSD 5.2.1 that way, that it will 
accept ftp connections only from itself, so that iff the login to the 
system is done via SSH with port-forwarding, then one can open 
ftp-connection?

(It will be very nice if in this case the username/password is not 
requested again, i.e. the ftp connection is anonymous and yet the 
ftp-client gets the same rights to files as SSH-logged user, who has the 
port-forwarding, but this does not sound like easy doable.)

Put it in other words, how can I make ftpd listen only to 127.0.0.1?
Constantine.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"

I've forgot about hosts.allow it should work as well if you dont want to 
use ipfw.

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


Re: Multiple CPUs

2004-05-22 Thread Matthew Seaman
On Fri, May 21, 2004 at 03:55:23PM -0700, Nicholas Bernstein wrote:
> How can one detect if a system is using multiple CPUs? 
> I'm running freebsd 4.9 and I was hoping that either uname or top would
> give some information as to whether or not the second cpu is being used.
> dmegs outputs the following:
> 
>   CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2399.33-MHz 686-class CPU)
> 
> but I want to make sure that this is not just showing it's been
> detected, as opposed to being used. 

% sysctl hw.ncpu

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpMfgdHc11OX.pgp
Description: PGP signature


Re: compiler err trying to make buildworld.

2004-05-22 Thread Gary Kline
On Sat, May 22, 2004 at 01:05:49AM -0700, Kent Stewart wrote:
> On Saturday 22 May 2004 12:07 am, Gary Kline wrote:
> > People,
> >
> > Doesn't a bunch of ftal signal 11's indicate probable
> > bad RAM?  In my maillog, sendmail exited scores of times
> > with a sig 11 errror, and earlier tonight, in trying
> > to do a make wold/kernel, and so on, the following err
> > showed up:
> >
> > cc: Internal compiler error: program cpp0 got fatal signal 11
> > mkdep: compile failed
> > *** Error code 1
> >
> > Does this mean that I may have a disc drive going bad,
> > or flakey memory, or what??
> >
> 
> There is a FAQ on tracing down sig-11's. Anything that heats up or 
> memory can be bad. If the fans on your coolers are more than a year 
> old, make sure they are turning as fast as they should be :).
> 


Can you give me a URL or should I google around?  Y'know,
the more I think about it, most of the time this system
went down was during heavy builds or very heavy loads.  
It's a kind-of home brew, i815 box that Ihaven't touched
for > year.  Prob'ly enough dust in there to make a 
(large) pillow;)

At least I may be getting to the root cause of all these
crashed.

thanks much,

gary


-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: Mounting error on CDROM was ( )

2004-05-22 Thread Remko Lodder
Hello,
[EMAIL PROTECTED] wrote:
Please be so kind to fill in the subject form, makes it easier, at least 
for me ;)

PROBLEM: Error Mounting CDROM
AT BOOT SYSTEM DISPLAYS: acd0: CDROM
THE COMMAND THAT I USED TO ACCESS IT WAS: mount /dev/acd0
WHICH RETURNED: CD9660:/dev/acd0: Input/output error
Try mount /cdrom the entry is created automagically when it's detected o 
n installation.

I checked  /dev to insure that the device was there I checked the kernel, tried to add option SCSI_REPORT_GEOMETRY ,
> obviously the CDROM is ATA which I now know after checking the boot log.
Please wrap your lines at ~ 80 chars,
Well try the mount /cdrom option...
What are FLAGS?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
--
Kind regards,
Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl Dutch community for helping newcomers on the 
hackerscene
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Network printing question: apsfilter + samba over Win2k network

2004-05-22 Thread Pavel Duda
Mike wrote:
Michal Pasternak wrote:
Mike [Fri, May 21, 2004 at 02:55:19PM -0700]:
PROBLEM: I'm able to "see" the printer from the Win2k client accoss 
the network, Windows 2k prompts for a driver and I load the driver. 
Windows reports that the printer is "ready", however when I try to 
print a test page, nothing happens.

Do the logs in /var/log/ say anything useful?
Mike,
Hmm... the /var/log/log.smbd had several of these entries:
[2004/05/21 14:04:19, 0] printing/print_cups.c:cups_printer_fn(107)
  Unable to connect to CUPS server localhost - Connection refused
So I added this rule to IPFW (for Cups):
ipfw add allow tcp from 192.168.1.0/24 to me 515
And I re-started cups: /usr/local/etc/rc.d/cups.sh start
So now (it doesn't complain):
[2004/05/21 17:05:40, 0] smbd/server.c:main(791)
  smbd version 2.2.8a started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
I also check the lpd-errs log but couldn't find anything.  I've also 
re-read the apsfilter manual but it really doesn't cover in a detail how 
to configure to a Windows client network.

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

I recommend to take a look at cups logs.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: compiler err trying to make buildworld.

2004-05-22 Thread Kent Stewart
On Saturday 22 May 2004 12:07 am, Gary Kline wrote:
>   People,
>
>   Doesn't a bunch of ftal signal 11's indicate probable
>   bad RAM?  In my maillog, sendmail exited scores of times
>   with a sig 11 errror, and earlier tonight, in trying
>   to do a make wold/kernel, and so on, the following err
>   showed up:
>
> cc: Internal compiler error: program cpp0 got fatal signal 11
> mkdep: compile failed
> *** Error code 1
>
>   Does this mean that I may have a disc drive going bad,
>   or flakey memory, or what??
>

There is a FAQ on tracing down sig-11's. Anything that heats up or 
memory can be bad. If the fans on your coolers are more than a year 
old, make sure they are turning as fast as they should be :).

Kent

-- 
Kent Stewart
Richland, WA

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


StarOffice60 port help

2004-05-22 Thread Hermes Trismegistus
Is there some documentation for installing port StarOffice60? I have
looked on freebsd.org, dutifully did my google'ing, and read all files in
"/usr/ports/editors/staroffice60". When I run "make" in the port
directory, I just get this stdout:

===>  staroffice-6.0_2 is an interactive port.

I have the staroffice install binary, and the tar patch. I just need a bit
of direction. Hopefully, someone can point me in the right direction.

[EMAIL PROTECTED] root]> uname -a
FreeBSD sherman.trismegistus.net 5.2-CURRENT FreeBSD 5.2-CURRENT #2: Wed
Mar 17 22:57:36 CST 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SHERMAN  i386

Thanks and Cheers,

J. Craig Woods
UNIX/Linux Network/System Administration
http://www.trismegistus.net/resume.htm
Entropy requires no maintenance.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


compiler err trying to make buildworld.

2004-05-22 Thread Gary Kline

People,

Doesn't a bunch of ftal signal 11's indicate probable
bad RAM?  In my maillog, sendmail exited scores of times 
with a sig 11 errror, and earlier tonight, in trying
to do a make wold/kernel, and so on, the following err
showed up:

cc: Internal compiler error: program cpp0 got fatal signal 11
mkdep: compile failed
*** Error code 1

Does this mean that I may have a disc drive going bad,
or flakey memory, or what??

Anybody?

gary


-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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