Re: Funny one: "install" dumps core?

2004-10-01 Thread Andy Holyer
On 1 Oct 2004, at 04:49, Subhro wrote:
Its not the install script. Its basically make which is acting up.

No, it's install: when I type the install command manually I get the 
same seg fault, and the destination file is left size 0. Though I don't 
get a problem when I type install with no arguments...

On Thu, 30 Sep 2004 17:03:04 +0100, Andy Holyer <[EMAIL PROTECTED]> 
wrote:
I've managed to get the source and kernel out of sync (I blame a
confusion between "make world" and "make buildworld"). Now in trying 
to
install a port, I get "Segmentation Fault - Core dumped" when it gets
to the install process.

I could understand "ps" core dumping, but "install"? That's 
practically
a shell script! Has anyone seen this before? Any idea what the 
solution
is?

---
Andy Holyer, Systems Administrator
Hedgehog Broadband, 11 Marlborough Place Brighton BN1 1UB
08451 260895 x 241
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"


--
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India

---
Andy Holyer, Systems Administrator
Hedgehog Broadband, 11 Marlborough Place Brighton BN1 1UB
08451 260895 x 241
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Funny one: "install" dumps core?

2004-09-30 Thread Andy Holyer
I've managed to get the source and kernel out of sync (I blame a 
confusion between "make world" and "make buildworld"). Now in trying to 
install a port, I get "Segmentation Fault - Core dumped" when it gets 
to the install process.

I could understand "ps" core dumping, but "install"? That's practically 
a shell script! Has anyone seen this before? Any idea what the solution 
is?

---
Andy Holyer, Systems Administrator
Hedgehog Broadband, 11 Marlborough Place Brighton BN1 1UB
08451 260895 x 241
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Advice: "The Right" authentication method

2004-09-23 Thread Andy Holyer
I'm working on writing the "Control Panel" scripts which subscribers to 
our ISP will use to set up their eMail accounts and web space.

Here's the Server spec:
FreeBSD-Current;
Perl 5.6.1, no problem installing any needed modules;
Apache 2;
I'm keeping ordinary customers off the machine, so I run Postfix and 
Cyus and use sasl2 for customer passwords. I'd like to use these ID to 
arrange access to the control panel system.

I'm stuck at the very start of my design process. I have two tasks to 
do:

Verify that users have supplied the correct password; and let the perl 
scripts know who that visitor is, so that we can select the correct 
accounts to show.

Do I use SASL directly? or LDAP? or do I implement an Apache module to 
handle access and let Apache do the work?

I want to do "The right thing" - that is, the most general and correct 
thing possible, I've got years of experience in perl scripting, but at 
the moment I wandering around in a twisty litte maze of standards, all 
different.

Clue, please?
Thanks in advance for any advice.
---
Andy Holyer, Systems Administrator
Hedgehog Broadband, 11 Marlborough Place Brighton BN1 1UB
08451 260895 x 241
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /var/db/pkg/cups-base-1.1.20.0/+CONTENTS: No such file or directory

2004-09-19 Thread Andy Smith
On Sun, Sep 19, 2004 at 09:58:26AM -0400, Lowell Gilbert wrote:
> Andy Smith <[EMAIL PROTECTED]> writes:
> > I don't know what I have done to cause this, but now every use of
> > the various portutils results in this message:
> > 
> > /var/db/pkg/cups-base-1.1.20.0/+CONTENTS: No such file or directory

[...]

> Force a reinstall of that package?  The ports tools are
> indeed going to have a lot of problems if your package
> database is incomplete like that...

I seem to have "fixed" this problem by removing
/var/db/pkg/cups-base-1.1.20.0 and then reinstalling the port.


pgpdQ3fmwxCAh.pgp
Description: PGP signature


/var/db/pkg/cups-base-1.1.20.0/+CONTENTS: No such file or directory

2004-09-17 Thread Andy Smith
Hi folks,

I don't know what I have done to cause this, but now every use of
the various portutils results in this message:

/var/db/pkg/cups-base-1.1.20.0/+CONTENTS: No such file or directory

That files does indeed not exist, althoug the directory does and the
port is installed.

Based on googling I have tried running pkgdb -F and portsdb -u, but
it doesn't help.  Both run without error.

Does anyone have any ideas?


pgpjGrMGgjFiR.pgp
Description: PGP signature


Re: Multiple IP addresses in a Jail

2004-09-08 Thread Andy Smith
On Wed, Sep 08, 2004 at 12:16:28PM -0400, Frederick N. Brier wrote:
> I need to specify 2 IP addresses for the Jail, not one.  I had
> heard there was a patch to do this and that it had been added to
> FreeBSD 5.3.  Is this not the case?  Is there a patch?  Is there
> another way to do this?  Thank you.

There's this, not sure how current the patch it though..

http://freebsdwiki.org/Using_multiple_IPs_in_a_jail

-- 
http://freebsdwiki.org/ - Encrypted mail welcome - keyid 0xBF15490B

"Reinventing the wheel is bad not only because it wastes time, but because
 reinvented wheels are often square."
 -- Henry Spencer


pgpIB1vSB4MR0.pgp
Description: PGP signature


Re: ports vs source

2004-09-03 Thread Andy Smith
On Fri, Sep 03, 2004 at 06:34:32PM +0300, Cristi Tauber wrote:
>Yes i know something ... like the avantages of rpm and another
> linux package managers. But .. I want apache 1.3.31 with php-4.3.4 and
> mysql 4.0.20 (let's say) ... from ports ... i understand that I can
> %choose% what version i want to install ?? Is that correct ?

Well, if you installed those applications from ports you would
currently get apache 1.3.31, php 4.3.8 and mysql 4.0.20 (assuming
you chose the mysql40-server port and not 41-server or 50-server).

You can't choose specific versions of those applications, but I
don't really see why you would want to do that; you normally want
the latest that is maintained for FreeBSD.

Please do not top post.


pgpU1OiQWoKfp.pgp
Description: PGP signature


Way OT: How long does your box run for?

2004-09-03 Thread Andy Holyer
The other day I was explaining something to my boss (a suit), and I 
mentioned that a FreeBSD box would easily run for a year or more. "Oh", 
he said, "and then you've got to reboot it?". I explained that 
generally some upgrade comes along that reqwuires a reboot, but I 
realized that I don't know how long a box would stay up in the maximum. 
So, come on, this should be fun, what's the biggest uptime you've ever 
had for a BSD box?

---
Andy Holyer, Technical stuff
Hedgehog Broadband, 11 Marlborough Place Brighton BN1 1UB
08451 260895 x 241
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ntop constant segfaults

2004-08-27 Thread Andy Smith
Perhaps this would be better on an ntop-specific list but due to how
completely broken this applications apears to be I wondered if
anyone else on FreeBSD has seen this..

Basically, on -STABLE, the net/ntop port just won't stay running for
more than a few minutes without segfaulting like so:

Aug 27 16:07:40 nubian ntop[85870]:   ntop v.3.0 SourceForge .tgz MT (SSL)
Aug 27 16:07:40 nubian ntop[85870]:   Configured on Aug 26 2004  7:47:47, built on Aug 
26 2004 07:48:58.
Aug 27 16:07:40 nubian ntop[85870]:   Copyright 1998-2004 by Luca Deri <[EMAIL 
PROTECTED]>
Aug 27 16:07:40 nubian ntop[85870]:   Get the freshest ntop from http://www.ntop.org/
Aug 27 16:07:40 nubian ntop[85870]:   Initializing ntop
Aug 27 16:07:40 nubian /kernel: sis0: promiscuous mode enabled
Aug 27 16:07:40 nubian ntop[85870]:   Checking sis0 for additional devices
Aug 27 16:07:40 nubian ntop[85870]:   Resetting traffic statistics for device sis0
Aug 27 16:07:40 nubian ntop[85870]:   DLT: Device 0 [sis0] is 1, mtu 1514, header 14
Aug 27 16:07:40 nubian ntop[85870]:   Initializing gdbm databases
Aug 27 16:07:40 nubian ntop[85870]:   Now running as requested user 'ntop' (1030:1030)
Aug 27 16:07:40 nubian ntop[85870]:   VENDOR: Loading MAC address table.
Aug 27 16:07:40 nubian ntop[85870]:   VENDOR: Checking for MAC address table file
Aug 27 16:07:40 nubian ntop[85870]:   VENDOR: File 
'/usr/local/etc/ntop/specialMAC.txt.gz' does not need to be reloaded
Aug 27 16:07:40 nubian ntop[85870]:   VENDOR: ntop continues ok
Aug 27 16:07:40 nubian ntop[85870]:   VENDOR: Checking for MAC address table file
Aug 27 16:07:41 nubian ntop[85870]:   VENDOR: File '/usr/local/etc/ntop/oui.txt.gz' 
does not need to be reloaded
Aug 27 16:07:41 nubian ntop[85870]:   VENDOR: ntop continues ok
Aug 27 16:07:41 nubian ntop[85870]:   INIT: Parent process is exiting (this is normal)
Aug 27 16:07:41 nubian ntop[85872]:   INIT: Bye bye: I'm becoming a daemon...
Aug 27 16:07:41 nubian ntop[85872]:   Now running as a daemon
Aug 27 16:07:41 nubian ntop[85872]:   OSFP: Checking for OS fingerprint table file
Aug 27 16:07:41 nubian ntop[85872]:   OSFP: Loading file 
'/usr/local/etc/ntop/etter.passive.os.fp.gz'
Aug 27 16:07:41 nubian ntop[85872]:   ASN: Checking for Autonomous System Number table 
file
Aug 27 16:07:41 nubian ntop[85872]:   **WARNING** ASN: Unable to open file 
'AS-list.txt'
Aug 27 16:07:41 nubian ntop[85872]:   I18N: This instance of ntop does not support 
multiple languages
Aug 27 16:07:41 nubian ntop[85872]:   IP2CC: Checking for IP address <-> Country Code 
mapping file
Aug 27 16:07:41 nubian ntop[85872]:   IP2CC: Loading file 
'/usr/local/etc/ntop/p2c.opt.table.gz'
Aug 27 16:07:43 nubian ntop[85872]:   IP2CC: ...found 52395 lines
Aug 27 16:07:43 nubian ntop[85872]:   GDVERCHK: Guessing at libgd version
Aug 27 16:07:43 nubian ntop[85872]:   GDVERCHK: ... as 2.0.21+
Aug 27 16:07:43 nubian ntop[85872]:   Initializing external applications
Aug 27 16:07:43 nubian ntop[85872]:   Initializing semaphores, mutexes and threads
Aug 27 16:07:43 nubian ntop[85872]:   THREADMGMT: Started thread (134577152) for 
network packet analyser
Aug 27 16:07:43 nubian ntop[85872]:   THREADMGMT: Started thread (135754752) for 
fingerprinting
Aug 27 16:07:43 nubian ntop[85872]:   THREADMGMT: Started thread (135755776) for idle 
hosts detection
Aug 27 16:07:43 nubian ntop[85872]:   THREADMGMT: Started thread (135756800) for DNS 
address resolution
Aug 27 16:07:43 nubian ntop[85872]:   Calling plugin start functions (if any)
Aug 27 16:07:43 nubian ntop[85872]:   Sniffying...
Aug 27 16:07:43 nubian ntop[85872]:   INIT: Created pid file (/var/db/ntop/ntop.pid)
Aug 27 16:07:43 nubian ntop[85872]:   Listening on [sis0]
Aug 27 16:07:43 nubian ntop[85872]:   Now running as requested user 'ntop' (1030:1030)
Aug 27 16:07:43 nubian ntop[85872]:   Loading Plugins
Aug 27 16:07:43 nubian ntop[85872]:   Searching for plugins in 
/usr/local/lib/ntop/plugins
Aug 27 16:07:43 nubian ntop[85872]:   ICMP: Welcome to icmpWatchPlugin. (C) 1999-2004 
by Luca Deri
Aug 27 16:07:43 nubian ntop[85872]:   LASTSEEN: Welcome to LastSeenWatchPlugin. (C) 
1999 by Andrea Marangoni
Aug 27 16:07:44 nubian ntop[85872]:   NETFLOW: Welcome to NetFlow.(C) 2002-04 by Luca 
Deri
Aug 27 16:07:44 nubian ntop[85872]:   NFS: Welcome to nfsWatchPlugin. (C) 1999-2004 by 
Luca Deri
Aug 27 16:07:45 nubian ntop[85872]:   PDA: Welcome to PDAPlugin. (C) 2001-2004 by 
L.Deri and W.Brock
Aug 27 16:07:45 nubian ntop[85872]:   RRD: Welcome to rrdPlugin. (C) 2002-04 by Luca 
Deri.
Aug 27 16:07:45 nubian ntop[85872]:   SFLOW: Welcome to sFlowPlugin. (C) 2002-04 by 
Luca Deri
Aug 27 16:07:45 nubian ntop[85872]:   XML: Welcome to xmldump plugin. (C) 2003-2004 by 
Burton Strauss
Aug 27 16:07:45 nubian ntop[85872]:   Calling plugin start functions (if any)
Aug 27 16:07:45 nubian ntop[85872]:   RRD: Welcome to the RRD plugin
Aug 27 16:07:45 nubian ntop[85872]:   RRD: Mask for new directories is 0700
Aug 27 16:07:45 nubian ntop[85872]:   RRD: 

Re: Postfix thinks there isn't enough disk space in a jail

2004-08-26 Thread Andy Smith
On Thu, Aug 26, 2004 at 01:53:15PM -0400, Charles Ulrich wrote:
> In normal operation, Postfix makes a system call to check to see if it can
> create a file of a certain size. Inside a jail, this call will not succeed as
> per the very design of jails. Thus, you must use the following one-line patch
> to make postfix work.

Hmm, I run postfix in two jails (both hosted on -STABLE), and have
never had this problem unless I've really been out of disk..


pgpV00er9KhzB.pgp
Description: PGP signature


Netgear WG511 (no driver attached)

2004-08-22 Thread Andy
not sure if you got this problem solved yet, but the reason the ath driver didnt work 
is because the WG511 uses the Prism Duette chipset (it is the WG511T that uses the ath)
You can get it up and running under linux, (http://www.prism54.org) but i do not know 
of any native FreeBSD drivers
If you've already solved this, than ignore me ;)
-andy
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Mozilla Thunderbird on FreebSD

2004-07-25 Thread &#x27;Andy'
Hello -
I did a search on the freebsd.org website and I can't find any info 
regarding the porting of Mozilla Thunderbird.

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


Re: Signing up for an email account?

2004-07-23 Thread &#x27;Andy'
Hello my name is Andy and Im looking for a web-based email that is 
powered by FreeBSD servers. Is there a way to signup for an email 
address like [EMAIL PROTECTED] or something like that so I could access 
it from all over the world? Im looking for something thats similar to 
Hotmail account.

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


Re: Packet filters

2004-07-23 Thread Andy Baran
Thanks guys :) All I really needed to know was whether the packets would
pass through the filters or not.  So I'm pretty good to go at this
point.

>>> Bill Moran <[EMAIL PROTECTED]> 07/23/04 01:50PM >>>
"JJB" <[EMAIL PROTECTED]> wrote:
> Bill's post is correct only if the firewall defaults to pass all.

True.

I guess the point that I didn't make clear (because I didn't state it
at
all) is that the firewall doesn't do anything that isn't clearly
stated
in the rules.  Even when it's set to drop by default, you can see that
a rule is added at the end of the ruleset to that effect.

> 
> If your firewall defaults to deny all, then you need a pass all rule
> for each interface you want to pass through the firewall.
> 
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Behalf Of Bill Moran
> Sent: Friday, July 23, 2004 2:21 PM
> To: Andy Baran
> Cc: [EMAIL PROTECTED] 
> Subject: Re: Packet filters
> 
> "Andy Baran" <[EMAIL PROTECTED]> wrote:
> > This question sounds like it has an easy answer at first but
> please bear
> > with me.  I am going to setup a network tap to monitor network
> traffic
> > flows.  The machine will be running FreeBSD 4.10 and has two NICs.
> One
> > interface will be used for management and the other will be to
> collect
> > the flows.  Obviously, security is a concern with a machine of
> this
> > nature so I need to setup a firewall on the management interface.
> > However, I need to be absolutely sure that the firewall will not
> be
> > handling any of the packets on the second interface.  I am well
> aware
> > that IPFW and IPF can both be setup to monitor only a specific
> > interface.  However, I'd like verification from someone familiar
> with
> > the code for either that the filter will not touch packets on the
> > interface being used as a tap.  My apologies if I'm posing this
> question
> > to the wrong list.  If I am please let me know whom I should be
> asking.
> > Thanks in advance for any replies.
> 
> Since nobody else has answered ...
> 
> While I can't, personally, verify this "at the code level", I can
> say from
> experience, that ALL packets go through the firewall.  Whether or
> not the
> firewall "handles" and of the packets is simply a matter of your
> ruleset.
> Using IPFW, if the packets do not match any rules, they'll simply
> pass in
> one side of the packet filter, and out the other.  With the setup
> you
> describe, you can easily ensure that the packets never get altered
> by
> having a "via" clause in all your rules.
> 
> For example, if your sniffing interface is fxp0 and your management
> interface
> is fxp1, then rules similar to:
> ipfw add drop tcp from any to any 25 via fxp1
> Will _never_ match a packet that comes in or goes out through the
> fxp0 card.
> 
> HTH.
> 
> --
> 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]"
> 
> ___
> [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]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Packet filters

2004-07-23 Thread Andy Baran
Thanks Bill, I was beginning to think I might never get an answer.

>>> Bill Moran <[EMAIL PROTECTED]> 07/23/04 01:21PM >>>
"Andy Baran" <[EMAIL PROTECTED]> wrote:
> This question sounds like it has an easy answer at first but please
bear
> with me.  I am going to setup a network tap to monitor network
traffic
> flows.  The machine will be running FreeBSD 4.10 and has two NICs. 
One
> interface will be used for management and the other will be to
collect
> the flows.  Obviously, security is a concern with a machine of this
> nature so I need to setup a firewall on the management interface. 
> However, I need to be absolutely sure that the firewall will not be
> handling any of the packets on the second interface.  I am well
aware
> that IPFW and IPF can both be setup to monitor only a specific
> interface.  However, I'd like verification from someone familiar
with
> the code for either that the filter will not touch packets on the
> interface being used as a tap.  My apologies if I'm posing this
question
> to the wrong list.  If I am please let me know whom I should be
asking. 
> Thanks in advance for any replies. 

Since nobody else has answered ...

While I can't, personally, verify this "at the code level", I can say
from
experience, that ALL packets go through the firewall.  Whether or not
the
firewall "handles" and of the packets is simply a matter of your
ruleset.
Using IPFW, if the packets do not match any rules, they'll simply pass
in
one side of the packet filter, and out the other.  With the setup you
describe, you can easily ensure that the packets never get altered by
having a "via" clause in all your rules.

For example, if your sniffing interface is fxp0 and your management
interface
is fxp1, then rules similar to:
ipfw add drop tcp from any to any 25 via fxp1
Will _never_ match a packet that comes in or goes out through the fxp0
card.

HTH.

-- 
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]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Packet filters

2004-07-22 Thread Andy Baran
This question sounds like it has an easy answer at first but please bear
with me.  I am going to setup a network tap to monitor network traffic
flows.  The machine will be running FreeBSD 4.10 and has two NICs.  One
interface will be used for management and the other will be to collect
the flows.  Obviously, security is a concern with a machine of this
nature so I need to setup a firewall on the management interface. 
However, I need to be absolutely sure that the firewall will not be
handling any of the packets on the second interface.  I am well aware
that IPFW and IPF can both be setup to monitor only a specific
interface.  However, I'd like verification from someone familiar with
the code for either that the filter will not touch packets on the
interface being used as a tap.  My apologies if I'm posing this question
to the wrong list.  If I am please let me know whom I should be asking. 
Thanks in advance for any replies. 


-
+Andy Baran ... [EMAIL PROTECTED]
+DePaul Computer Security Response Team http://security.depaul.edu
---
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: LRZSZ

2004-07-12 Thread Andy Holyer
On 9 Jul 2004, at 21:55, Alex Mitchell wrote:
A very large automotive supplier (our client) uses HHP Dolphin 7200 
scanners to scan their automotive crates.  The scans are batched in 
the scanners.  When they are ready to upload the data to our server, 
they dock the scanner in the cradle.  The cradle is connected to a 56K 
US Robotics modem.  We wrote the scanner application using 16bit C 
compiler (because the scanners are DOS based).  We're using a Y-Modem 
protocol to upload the data files.  The scanner dials into a modem 
pool to upload the data.  When a connection is established, LRZ is 
used to receive the data files from the scanner.  With smaller files 
(7K and smaller), this works fine.  I've tried uploading a 12K file.  
After uploading 8K, the scanner returns an NAK error.  This error 
keeps repeating until the scanner gives up and the upload fails.  I've 
tried a 24K file, it fails after 16K.  I've tried a 56K file and it 
fails at 16K.  NAK error each time.  I've tried the above scenario on 
FreeBSD 4.7 and FreeBSD 5.2.1 about 30 times for each file size, with 
the exact same result each time.
I had a very similar problem about 10 years ago. Macs trying to send 
mail just hung when they had more than x lines of text.

It turned out in the end that the then MacOs TCP/IP stack was ignoring 
the stated MTU, and just tried to send the whole thing in one huge 
packet. On dial-up, this overflowed the kernel IO buffer size,  and  
hung the process.

In the end I looked at the serial port handling code in the kernel, and 
the buffer size was sensible for a 1990-era machine with 64MB of ram, 
being about 1K each. Since we had plenty of RAM on the boxes, I 
sacrificed a bit by upping the buffer size define to something big (I 
think 64K), rebuilt the kernel and the problem went away.

I wonder if something similar is happening to you?
---
Andy Holyer, Technical stuff
Hedgehog Broadband, 11 Marlborough Place Brighton BN1 1UB
08451 260895 x 241
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: A few simple questions(...if you don't mind)

2004-07-07 Thread Andy Holyer
On 6 Jul 2004, at 11:36, Erik Trulsson wrote:
If you go back a bit further in time there was the Great Worm of 1988,
which targeted VAX and Sun3 systems running BSD code, and which
actually did bring down most of the Internet at the time.  That was the
incident that got people in the Unix community to start thinking 
seriously
about security.

Then again, I survived that. My Unix box was running Coloured Book, so 
the worm didn't see us.

There was one really horrible telnetd exploit which the script kiddies 
got hold of which let them in as root. Trashed a server I had at the 
time in the midwest. The only way I survived was that they did it on 
September 10th 2001, so the client had other things to think about soon 
after

---
Andy Holyer, Technical stuff
Hedgehog Broadband, 11 Marlborough Place Brighton BN1 1UB
08451 260895 x 241
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Libpangoft Problem

2004-07-05 Thread andy
Hi All

Since upgrading to 4.9, and running portupgrade, I have lost several 
gnome-related apps. WHen I try to run  (for example) planner , I get the 
error message /usr/libexec/ld-elf.so.1: Shared object 
"libpangoft2-1.0.so.200" not found
I have used portupgrade, used the gnome upgrade script (gnome wont work 
anymore though, still hoping for an answer from freebsd-gnome) upgraded 
pkgconfig, gettext, pango, libexec, (using portupgrade eg portupgrade -fr 
pkgconfig) and cvsupped - everything that I thought might be related (not 
proficient enough to delve further), I have googled extensively. I can't 
think of anything else except a full reinstall. Before I take such a drastic 
step I thouht I would try here. I am using FreeBSD 4.9 on a P2 with 126MB RAM 
and 20 Gig HDD.
Please reply to this address as I am not on the list.
Thank you in advance for all replies.

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


m0n0BSD: IPSec configuration

2004-06-28 Thread Andy Holyer
I'm playing with m0n0BSD on Soekris boards, FreeBSD Stable 4.10.
I need to get an IPSec tunnel up to allow us to connect to legacy 
systems which use IPSec connection (and which we can't do much with.

The various web resources seem confusing on this - different pages 
mention different interfaces, and on m0n0BSD I'm limited to the tools 
which were installed at burn time.

m0n0wall provides IPSec, so this must be a routine operation. I just 
need to work out exactly what incantation I need to use.

Thanks in advance for any advice.
---
Andy Holyer, Technical stuff
Hedgehog Broadband, 11 Marlborough Place Brighton BN1 1UB
08451 260895 x 241
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: HPA LCD for X?

2004-06-28 Thread Andy Harrison
On Sat, 26 Jun 2004 16:42:24 -0700, Gary Kline <[EMAIL PROTECTED]> wrote:
> 
> 
> Fellow BSDers,
> 
> A friend here in Seattle offered to sell his IBM laptop
> for $100.  It needs a new CDROM drive and I don't think it
> has a NIC.  I've been poking around the web and found that
> ebay has several Thinkpad 1400s.
> 
> i'M planning on using the 'festival' text-to-speech
> synthesizer.  Having X would be  a plus, not a necessity.
> One of the Thinkpad-1400s says its screen is "HPA LCD".
> 
> Two questions:  does X11 4.x work with this type of display?
> Also: are there any other (low-cost/used) laptops worth
> considering?  I do like that stick  mouse gadget.
> 
> feedback?
> 
> thanks,
> 
> gary
> 
> PS: This latop will have limited used, not heavy, daily
> pounding.
> 
> 

I had a Thinkpad 600e (366mhz) for quite a while.  Loaded up with
296MB of RAM it was actually quite functional.  Although it had a
crappy sound card, it worked without any headaches.  I did an ftp
install, too, so you wouldn't even need the cd to at least get up and
running, as long as it has the floppy.


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


Re: How to turn your Perl programs into standalone executables

2004-06-23 Thread Andy Harrison
On Wed, 23 Jun 2004 02:08:57 -0700 (PDT), Sex Maniac
<[EMAIL PROTECTED]> wrote:
> 
> Hi just want to ask, if I have a perl program, and I
> want to turn it into standalone executables/binary.
> Question is how ? What programs/packages/ports I must
> use ?
> 
> Usually in windows98, I can use PerlApp to Turn your
> Perl programs into standalone executables (.exe)
> 
> I don't want my users can see the source program in
> .pl
> I want my source program is hidden from user and the
> others administrators. So I need the executable
> file/binary file only.


man perlcc

Note that, regardless of platform, compiling your perl apps to hide
something is a very bad idea.  It is very easy to run it through
/usr/bin/strings and see bits and pieces of an executable file of any
type.  With the proper tools, one could even run a disassembler on it.

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


Re: how do I switch kernels in 5.x ?

2004-06-22 Thread Andy Miller
On Tue, Jun 22, 2004 at 05:32:10PM -0700, Joe Schmoe wrote:
> 
> I successfully compiled a new kernel, and was using it.  No problem.
> 
> Then I decided to move back to the old, GENERIC kernel.  I did this by moving 
> /boot/kernel to /boot/kernel.new, and then renaming /boot/kernel.old to /boot/kernel
> 
> Is this correct, or will there be problems when I reboot now ?  If it is incorrect, 
> what else needs to be done ?
> 

It shouldn't be a problem unless you updated your userland when you made the
new kernel.  As long as the kernel and userland are from the same release
branch, you should be fine.  If it doesn't work, you can always boot with
the working kernel again and change everything back (information on this can be
found in the handbook).

--
Andy Miller

pgpT8NKBpwPNN.pgp
Description: PGP signature


Re: Courier-imap + Postfix problem

2004-06-22 Thread Andy Harrison
On Tue, 22 Jun 2004 13:27:52 +0200, Gareth Bailey <[EMAIL PROTECTED]> wrote:
> 
> Ok, i haven't got any responses regarding this post, but i
> have found what i think might be causing the problem.
> 
> I setup my server with the hostname "berkeley" and
> installed everything i needed including postfix and
> courier-imap. I have since changed the hostname to "server"
> which was the name of my previous 5.2 release server (i had
> problems with the new berkeley hostname.) Anyway, i see in
> the output of postconf that there are two settings that
> appear to be dependent on the hostname, namely:
> 
> berkeley_db_create_buffer_size=16777216 and
> berkeley_db_read_buffer_size=131072
> 
> Since the hostname changed to "server", shouldn't these now
> be server_db_create_buffer_size=16777216 and
> server_db_read_buffer_size=131072??
> 
> If so:
> 
> 1:)Could this be the source of my errors appearing in
>maillog(see below)?
> 
> 2:)What do i need to do? - Reinstall postfix?
> 
> Please advise,
> 
> King regards
> Gareth
> 
> 
> 
> >Hi all,
> >
> >This problem has to do with my
> >mail setup. I'm running postfix MTA and courier-imap
> >server.
> >
> >My maillog file is filled with messages like the
> following:
> >
> > >file: maildirwatch (fre
> >Jun 20 15:47:05 server imapd-ssl: Error: Input/output
> error
> >Jun 20 15:47:05 server imapd-ssl: Check for proper
> >operation and configuration
> >Jun 20 15:47:05 server imapd-ssl: of the File Access
> >Monitor daemon (famd).
> >Jun 20 15:47:05 server imapd-ssl: Failed to create cache
> >file: maildirwatch (fre
> >Jun 20 15:47:05 server imapd-ssl: Error: Input/output
> error
> >Jun 20 15:47:05 server imapd-ssl: Check for proper
> >operation and configuration
> >Jun 20 15:47:05 server imapd-ssl: of the File Access
> >Monitor daemon (famd).>
> >
> >I'm not too sure where to start - i suspect that whatever
> >is trying to create the cache file doesn't have the
> >neccesary permissions. If so, what is the location of this
> >cache file?  Otherwise, any other suggestions would be
> most
> >welcome.

berkeley is also a database file format...


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


Re: Sendmail for Large Sites

2004-06-22 Thread Andy Holyer
On 18 Jun 2004, at 12:13, Martin McCormick wrote:
How well does the administration of Sendmail scale up to sites
serving as many as 25,000 users?
At this moment, everything is more or less on the table, but
what I envision is 25,000 work stations or so, each using Microsoft
Outlook and several Sendmail servers serving the multitudes.  We might
use dns-based round-robin load balancing for all I know.  This is all
simply a mental exercise at this point, but the hardware is already in
place running a commercial package which may have to be replaced if it
can't be made to perform properly and soon.
I am mainly interested in Sendmail's capacity at this time in
order to suggest it as a possibility if it is realistic to do so.
There are other considerations such as the facts that all
incoming and outgoing messages are checked for malicious attachments.
ldap is used to drive the setting of customer mail delivery
preferences and even their user ID choice.
	To use an American vernacular, it is a tall order.
I'd suggest you look at Postfix, a free alternative to Sendmail 
produced at IBM's TJ Watson Labs.

The advantages of Postfix are as follows:
1) It's not sendmail - it acts identically, but shares no code, so it's 
immune to the sendmail exploits which sometimes appear in the cracker 
communtiy (rather like my iBook accepts viruses, and then watches as 
they fail to execute, being written for the wrong OS and processor)

2) Sendmail is written as a single monolithic program, so each 
executable sendmail uses a big chunk of memory to operate. Postfix is 
written as a network of small programs each of which does a single 
thing. This has a number of advantages: different components can be 
reinforced as need be to respond to minute-to-minute changes in load; 
the overally impact on system resources is smaller; and it's easier to 
spread processing power over multiple threads, processors and even 
hosts. Also if the spooler falls over the rest of the system carries 
on, so you don't have a total panic.

3) Sendmail's configuration file is written in an obscure style which 
has sent many brave souls to their deaths (recent versions are 
improved, but still AFAIK far from crystal clear. Postfix's 
configuration files are huge, but you colud at least read them out loud 
and they'd make some form of sense.

Just my 2p.
---
Andy Holyer, Technical stuff
Hedgehog Broadband, 11 Marlborough Place Brighton BN1 1UB
08451 260895 x 241
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: What's the best possible email failover solution

2004-06-21 Thread Andy Harrison
On Mon, 21 Jun 2004 13:20:06 -0400, Bill Moran <[EMAIL PROTECTED]> wrote:
> 
> Hey,
> 
> I know questions like this get asked a lot, but I'm going to be really specific.
> 
> I know how to set up failover with a backup MX.  That's not what I'm looking
> for.  We have a cyrus-imap server with lots of users connecting via IMAP,
> while everything gets backed up, this only happens once a night.  Thus, if the
> server were to go up in smoke right before the backup occurred, we'd lose
> something like 23 hours worth of emails.
> 
> Does anyone have a solution to provide real-time mirroring of IMAP folders?
> I don't mind manual intervention to get the thing running again, I just want
> to ensure that if an email is received, it's on both machines and can't get
> lost.  Is there a way to get real-time replication of cyrus (I'm no cyrus
> guru, another fellow set this up)
> 
> I'm not tied to Cyrus either, if there's another solution, I'd be happy to
> implement it.
> 
> I have an idea ... by using Dovecot with PostgreSQL storing the actual mail
> folders, with Slony installed to provide real-time replication of the Postgres
> database ... I don't know if Dovecot is able to store the actual mail folders
> in Postgres yet, though ... Anyone?


Real time mirroring would be a long way to go for very little
return.  You'd be much better off with some sort of NAS in a raid
config, even if it were home grown, to store the spools.  Then you can
have as many front-ends as you want, just auth with LDAP or something.


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


Re: FreeBSD 5.2.1 & OpenLDAP21-server won't start

2004-06-20 Thread Andy Harrison
On Sat, 19 Jun 2004 22:55:27 -0400, David Snyder <[EMAIL PROTECTED]> wrote:
> 
> I installed a minimal FreeBSD 5.2.1
> 
> Then installed Openldap21-server from ports with
> # make install clean
> 
> Then installed a script
> cp /usr/ports/net/openldap21-server /usr/local/etc/rc.d/slapd.sh
> 
> configured slapd.conf & ldap.conf
> 
> manually started ldap with /usr/local/libexec/slapd start
> 
> and everything worked but the script won't work.
> 
> So then i viewed teh script and added the three lines to /etc/rc.d that
> was stated in the script.  I rebooted and still ldap didn't start on
> boot but i can do it manually with /usr/local/libexec/slapd start
> 
> Whats the deal?  WHat am I doing wrong?
> 
> -Dave
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

What errors appeared in the logs?

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


Re: problems installing applications that need GTK

2004-06-19 Thread Andy Harrison
On Sat, 19 Jun 2004 18:56:57 +0200 (CEST), Marco Beishuizen
<[EMAIL PROTECTED]> wrote:
> 
> It looks like a lot of programs need gtk20, which doesn't install
> correctly. When I try gtk20 the error is:

Please clarify "doesn't install correctly."


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


Re: FreeBSD Wiki

2004-06-19 Thread Andy Smith
On Sat, Jun 19, 2004 at 01:46:45PM +0100, Graham Bentley wrote:
> I have used in the past Trustix Linux which has a nice Wiki
> page http://doc.trustix.org/cgi-bin/trustixdoc.cgi?TrustixWiki

[...]

> Is there any such resource for FreeBSD ?

Not wishing to step on Kirk's toes but there is another one at the
URL in my signature - also not official of course.  If you have time
to write documentation that doesn't already exist, please do put it
*somewhere* no matter where that is (as long as google can find it).
:)

-- 
http://freebsdwiki.org/ - Encrypted mail welcome - keyid 0xBF15490B

"[Open Source is] like trying to sell human rights to China because it might
 lead to more effective business models."
 -- David Kastrup, news:gnu.misc.discuss


pgp0B2P0BJkA1.pgp
Description: PGP signature


Re: ram disk

2004-06-19 Thread Andy Harrison
On Sat, 19 Jun 2004 07:56:04 -0400, Paul Diaguila <[EMAIL PROTECTED]> wrote:

> #mount -t -o -s1048576,noasync  /dev/sd0s1b  /var/spool/file
>   mount: exec mount_mfs not found in /sbin, /usr/sbin: No such file or
> directory

Instead of mount, you ought to use the mount_mfs command.  It should
also be located in /sbin/ along with mount.

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


Re: ImageMagick

2004-06-18 Thread Andy Harrison
On Fri, 18 Jun 2004 18:44:58 +0900, Luke Kearney <[EMAIL PROTECTED]> wrote:
> 
> Hi,
> I am trying to install IM from the ports collection and have come across
> this showstopper.

Usually when I have problems like that I start nosing around with the
portversion command to make sure all the deps are up to date.

Here's a run of mine:
# portversion -vR ImageMagick
ImageMagick-5.5.7.16<  needs updating (port has 5.5.7.16_1)
XFree86-libraries-4.3.0_7   =  up-to-date with port
expat-1.95.7=  up-to-date with port
fontconfig-2.2.2,1  =  up-to-date with port
freetype2-2.1.7_3   =  up-to-date with port
ghostscript-gnu-7.07_6  =  up-to-date with port
imake-4.3.0_2   =  up-to-date with port
jasper-1.701.0  =  up-to-date with port
jbigkit-1.5 =  up-to-date with port
jpeg-6b_2   =  up-to-date with port
lcms-1.09_1,1   =  up-to-date with port
libfpx-1.2.0.9  =  up-to-date with port
libiconv-1.9.1_3=  up-to-date with port
libmpeg2-0.4.0b_1   =  up-to-date with port
libwmf-0.2.8.2  =  up-to-date with port
libxml2-2.6.9   =  up-to-date with port
pkgconfig-0.15.0_1  =  up-to-date with port
png-1.2.5_5 =  up-to-date with port
python-2.3.3_5  =  up-to-date with port
tiff-3.6.1_1=  up-to-date with port


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


Re: kdm questions

2004-06-18 Thread Andy Harrison
On Fri, 18 Jun 2004 23:10:07 +1000, Brett Wiggins
<[EMAIL PROTECTED]> wrote:
> 
> hello (again),
>   I am still having some problems with kdm, I have searched
> (again) the archives and the handbook. Below are the steps I took,
> files I edited during setup. After I installed the X window system and
> KDE I created the file ~/.xinitrc which contains;

I have nothing in my ~ dir like .xinitrc or any of that.

My /usr/X11R6/etc/rc.d/kdm.sh file contains...

#!/bin/sh
#

PREFIX=/usr/local

case "$1" in
start)
${PREFIX}/bin/kdm &
;;
stop)
/usr/bin/killall -KILL -m kdm 
;;
*)
echo "Usage: `basename $0` start | stop"
exit 64
;;

esac

exit 0


At that point, kdm defaults take over and startkde ends up getting
executed from /usr/local/share/config/kdm/Xsession.

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


Re: perl ?

2004-06-18 Thread Andy Harrison
On Fri, 18 Jun 2004 16:34:38 -0400, JJB <[EMAIL PROTECTED]> wrote:
> 
> I have $email field that sometimes may not end with alpha character.
> 
> How would I codeif  (last position of $email != alpha) { replace
> last pos of $email with blank }
> 
> Or any other coding method to strip off non alpha from $email field
> if present.
> 
> Thanks
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

Something along the lines of:

my @foo = split( //, $email );

and then do one of these,

pop @foo unless $foo[-1] =~ /[a-zA-Z]/;

or to really want to replace it with a space,

$foo[-1] =~ " " unless $foo[-1] =~ /[a-zA-Z]

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


Re: Starting Apache on 4.10 stable at boot time

2004-06-18 Thread Andy Smith
On Fri, Jun 18, 2004 at 10:42:55AM -0400, Michael W. Oliver wrote:
> On 2004-06-18T16:37:47+0200, Gareth Bailey wrote:
> > I moved our work server over from 5.2 release to 4.10
> > stable. All seems fine except for some reason apache
> > (apache-1.3.31_2) doesn't sart automatically at boot time.
> > 
> > Does starting apache at boot time differ on 4.10 to 5.2? I
> > have the apache.sh script in rc.d/ and it has correct
> > privileges.
> > 
> > What am in missing?
> 
> cd /usr/ports/www/apache13 
> cat pkg-message

I'm also having this problem actually and I can't figure it out.
Yes, I read the pkg-message and put the apache_enable="YES" into
/etc/rc.conf, but it seems like apache.sh never gets run at boot.
I've checked all the seemingly-obvious things like the permissions
etc.  It will start if I do:

 # /usr/local/etc/rc.d/apache.sh start

Since I obviously don't boot that often I haven't had chance to
investigate further..

-- 
http://freebsdwiki.org/ - Encrypted mail welcome - keyid 0xBF15490B

"Last year I went fishing with Salvador Dali.  He was using a dotted line.  He
 caught every other fish."
 -- Steven Wright


pgpHSytY957Vx.pgp
Description: PGP signature


Re: screen 4.00.01 FREEBSD 5.2.1-RELEASE cannot read .bash_profile

2004-06-17 Thread Andy Harrison
On Thu, 17 Jun 2004 20:47:26 +0200, Oliver Fuchs
<[EMAIL PROTECTED]> wrote:
> 
> Hi,
> 
> I am using screen 4.00.01 on FREEBSD 5.2.1-RELEASE.
 

This is a total shot in the dark, but I wonder if this little section
of the manual might apply.


Invoked by remote shell daemon
..

   Bash attempts to determine when it is being run by the remote shell
daemon, usually `rshd'.  If Bash determines it is being run by rshd, it
reads and executes commands from `~/.bashrc', if that file exists and
is readable.  It will not do this if invoked as `sh'.  The `--norc'
option may be used to inhibit this behavior, and the `--rcfile' option
may be used to force another file to be read, but `rshd' does not
generally invoke the shell with those options or allow them to be
specified.

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


Suggestions for replacements for vanilla ftpd?

2004-06-17 Thread Andy Holyer

I'm setting up our main customer web server: as a check-box feature, 
every customer gets 10Mb of free web space on our server. I'm very keen 
that I keep customer and user accounts on the server firmly separate, 
so that means that vanilla ftpd needs replacing.

What are people's favourites out of the 20 or so in ports? From my own 
survey PureFTPd seems favourite, but I thought it couldn't hurt to ask. 
Basically my desiderata are:
No using /etc/passwd for client stuff;
Enforced chrooting
Performance not actually that important, since there's ony 100 or so 
accounts.

I've curerently got user auth data handled by sasl, if that's important.
5.2.1 Release kernel.
On a related note, a web interface to allow customers to update their 
pages would be nice. CPanel is gross overkill, and too expensive for my 
Boss's wallet. Does a simpler tool exist, before I start writing my 
own?

Thanks in advance for any advice.
---
Andy Holyer, Technical stuff
Hedgehog Broadband, 11 Marlborough Place Brighton BN1 1UB
08451 260895 x 241
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: pkgdb and ruby

2004-06-15 Thread Andy Smith
On Tue, Jun 15, 2004 at 09:52:52AM +1000, [EMAIL PROTECTED] wrote:
> What is pkgdb and where can I find it?

$ pkg_info -W $(which pkgdb)
/usr/local/sbin/pkgdb was installed by package portupgrade-20040529
$ pkg_info -o portupgrade-20040529
Information for portupgrade-20040529:

Origin:
sysutils/portupgrade


-- 
http://freebsdwiki.org/ - Encrypted mail welcome - keyid 0xBF15490B


pgpcgcgGpFbkk.pgp
Description: PGP signature


Re: 3com 3c905 watchdog error

2004-06-15 Thread Andy Harrison
On Tue, 15 Jun 2004 17:02:34 -0500, Pat Hayes <[EMAIL PROTECTED]> wrote:
> 
> Undoubtedly this problem has been covered many times. I am not very savy
> with Freebsd.
> 
> I am using Freebsd 4.9 compiled for use with smp. The system has a Promise
> Fasttrak tx2 100 raid card using 4x40 in a raid 0, which is currently acting
> as a small file server for my lan. Whenever I copy large files or a large
> number of smaller files (mp3's) off the server the system reboots or worse
> yet it reboots. The system has a 3com 3c905b-tx nic in the system. I have
> noticed that if I set my other machine, to which I wish to copy the files
> to, to run at 10mbit's and leave the freebsd box at 100mbit/sec the crash
> takes much longer to happen. Normally it would crash within 3-5 minutes, so
> not immediately, and much longer, say 20 minutes if I copy at 10mbit/sec. I
> have also noticed that if I copy 1 600 meg file off, it will not crash, yet
> if I copy 100 mp3's off, it crashes. The system is also running apache,
> sendmail and bind. Initially I was getting xl0 timeout errors. After doing
> some googling I discovered the possibility of a irq conflict. I immediately
> took out any other cards in the system, sound/decoder, and moved the network
> card and promise raid controllers around in slots until the bios post screen
> showed no irq sharing or conflict. Yet the problem still remains. It is here
> now that I've noticed that occasionally instead of locking up, it will just
> reboot, although still most of the time it locks up.
> 
> System information is:
> 
> Abit Bp6 with dual Celeron 366's.
> 
> Standard ide boot drive
> 
> 4 ide 40 gig western digital drives on promise fasttrak tx2 100 raid
> controller
> 
> 3com 3c905b-tx nic
> 
> Nvidia geforce 2 video
> 
> I think that's about all the standard stuff, nothing else in there.
> 
> Any help would really be appreciated
> 
> Pat
> 
> P.S. Please accept in advance my apologies if this seems too simple or a
> dead subject, as I have just joined the mailing list. I really enjoy using
> freebsd, just seems easier than all the linux distro's.
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

What slots are the cards in?  You need to be careful of the last two
slots because they're bus mastering slots.  Try moving one card so
that only one of the last two slots is filled.

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


Re: Devil Mascot

2004-06-15 Thread Andy Harrison
On Tue, 15 Jun 2004 11:20:17 -0400, Chris Lynch
<[EMAIL PROTECTED]> wrote:
> 
> This thread cracks me up. No matter how many times the same subject has been
> brought up, I still can't stop laughing at the silliness of it all.
> Maybe FreeBSD should make a fuzzy bunny that does a happy dance...but, then
> we'd be stepping on the Easter Bunnies toes, and we all know what could
> happen then!!!

Coal in your easter basket?

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


Re: want sudo but not sudo su - how

2004-06-12 Thread Andy Smith
On Sat, Jun 12, 2004 at 11:14:02AM +0100, John wrote:
> Greetings, freebsd-questions
> 
> I want to put operators in sudo BUT I don't want them to sudo su -
> because after they do that, subsequent commands enacted as root don't
> appear in the logs. The desired behaviour would be sudo su command (any
> command) but not sudo su -, for these users. Is there a way of enforcing
> this?

You might be able to do it by limiting the commands that are
accessible to the person, but if they run any shell, or run any
program that drops to a shell (e.g. one they wrote themselves in 2
minutes) then they would have an unrestricted root shell again.

> The reason being that if they do something and the server eg goes
> titsup, I want to see what was done in the logs. Would be grateful for
> any assistance the list may have.

It might be best to just say "I don't want you doing this" and then
punish people who do, since you do have logs.

If you're trying to restrict what people can do with sudo it will be
better to explicitly list each binary they can run as root and make
sure there's no way they can modify those binaries.

-- 
http://freebsdwiki.org/ - Encrypted mail welcome - keyid 0xBF15490B


pgpiVlgjhcNY3.pgp
Description: PGP signature


Re: Backup question

2004-06-09 Thread Andy Smith
On Wed, Jun 09, 2004 at 10:29:27AM -0400, Karen Donathan wrote:
> Hello.
> 
>  What is the best way to back up the html directory?  We do not have a
> tape drive.  Is there a way to have an automated .tar file created and
> sent as email so I could save it on another server?  Any help would be
> great!

In addition to other suggestions, for various remote servers I like
using rsnapshot (google for its homepage, it's also in the ports
collection).

It works as rsync over ssh, and it keeps a configurable amount of
previous snapshots.  e.g. a common configurations is 6 per day at
4-hourly intervals, 7 per week at daily intervals, and 4 per month at
weeks intervals, so that you can always go back to see what your
files were like up to a month ago.

Since your HTML files are probably comparatively small, you may find
this method quite convenient.  Even for large sets of files the
hardlinking of unchanged files means that surprisingly little
overhead of disk space is used.

-- 
http://freebsdwiki.org/ - Encrypted mail welcome - keyid 0xBF15490B


pgp1EMFTHWZzm.pgp
Description: PGP signature


X Session Attach/Detach?

2004-06-09 Thread Andy Harrison
I was just wondering if there was any software to allow this?  I've
been googling around a bit, but not coming up with anything specific.
Sort of like the Sunrays where you can detach from your local machine
where you're working, go to another machine, then reattach to the same
X session.  Yes, I'm aware of tools like vnc and the like, but I was
wondering if there was anything more seamless.


-- 
Andy Harrison
(full headers for details)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problem about ports command

2004-06-05 Thread Andy Smith
On Sat, Jun 05, 2004 at 09:20:34AM +0800, Stephen Liu wrote:
> On running
> # pkg_delete -f portupgrade*
> pkg_delete: No match.

I am thinking perhaps that the shell expanded your * there.  Try:

 # pkg_delete -f 'portupgrade*'

Also, have a read of (and feel free to contribute to)
http://freebsdwiki.org/Port_management

> Is there a device locking all ports commands.  Kindly
> advise how to proceed.  TIA

No.. I think it would be best if you picked one goal (e.g. to install
a single specific port) and tried that, then if you encounter
errors, tell us about them and we can help.

-- 
http://freebsdwiki.org/ - Encrypted mail welcome - keyid 0xBF15490B


pgp53Ya54BnQZ.pgp
Description: PGP signature


Re: sendmail only accepting local connections

2004-06-04 Thread Andy Clements
It is not a foolish question.  While I didn't have sendmail_enable="NO" 
in my /etc/rc.conf, I didn't have
sendmail_enable="YES" either.  When I added sendmail_enable="YES", it 
finally accepted outside
connections.  Yea! THANKS!  I knew it was some small detail that I 
missed.  Sometimes you just
need that small reminder.

Thanks again!
--Andy Clements
Dan MacMillan wrote:
-Original Message-
From: Andy Clements
 

I'm having problems getting sendmail to accept anything but local
connections.
   

This may be a foolish question, but you don't have sendmail_enable="NO" or
some such in your /etc/rc.conf, do you?
-Danny
.
 

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


Re: portupgrade -a question

2004-06-04 Thread Andy Smith
[long lines rewrapped, please try to keep lines below about 72
characters]

On Thu, Jun 03, 2004 at 11:34:16PM +, Jarrod Wageman wrote:
> Hello, I have a freebsd box I just set up and I am wondering about
> some things. I just ran `make buildworld` installworld and all
> that after an extensive cvsup. I still have perl version 5.6
> something. The new version according to perl.com is 5.8 I ran
> portupgrade -a and it didn't upgrade anything. Do I need to move
> to the CURRENT source tree to get these new packages installed?

No, you need to install the /usr/ports/lang/perl5.8 to get perl
5.8.x.  Then if you keep your ports collection up-to-date the other
commands (such as portversion) will tell you when a newer port is
available.

Don't forget to do

 # use.perl port

if you want the port's perl to be the system default.

-- 
http://freebsdwiki.org/ - Encrypted mail welcome - keyid 0xBF15490B


pgpDFioGrmfsC.pgp
Description: PGP signature


sendmail only accepting local connections

2004-06-03 Thread Andy Clements
Hello,
I'm having problems getting sendmail to accept anything but local 
connections.  Example of telnet connections:

bukowski# telnet localhost 25
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.candhsoftware.com.
Escape character is '^]'.
220 bukowski.candhsoftware.com ESMTP Sendmail 8.12.10/8.12.10; Thu, 3 
Jun 2004 17:19:42 -0700 (MST)
quit
221 2.0.0 bukowski.candhsoftware.com closing connection
Connection closed by foreign host.
bukowski# telnet bukowski.candhsoftware.com 25
Trying 65.100.103.66...
telnet: connect to address 65.100.103.66: Connection refused
telnet: Unable to connect to remote host

Netstat only shows that localhost is listenning:
bukowski# netstat -nat
Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address  Foreign Address(state)
tcp4   0  0  127.0.0.1.25   *.*LISTEN
I assume that the local address should be *.25
I've added the following line to my .mc file and recreated sendmail.cf 
and restart sendmail
DAEMON_OPTIONS(`Name=IPv4, Family=inet')

but that didn't change anything I've search through the handbook and 
google and tried several different suggestions but no luck... so I am at 
a loss.

Please CC me on the reply as I am not on the list.
Thanks in advance.
Andy Clements
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: jail patch (5.2.1)

2004-06-03 Thread Andy Smith
On Thu, Jun 03, 2004 at 04:50:03PM -, [EMAIL PROTECTED] wrote:
> I've found (with the help of a list member) a patch for freebsd 4.10 jails
> that allows support for multiple IPs. I have been, however, unable to find
> a patch that works on 5.2.1!

I thought I saw an updated patch for 5.2.x on the author's site,
http://garage.freebsd.pl/ have never tried it though.

> I don't create jails for a long time
> (4.9-RELEASE i think) but on that time i couldn't even use 'top'.

"top" does not work inside a jail, although possibly a patch exists
to make it work.

-- 
http://freebsdwiki.org/ - Encrypted mail welcome - keyid 0xBF15490B


pgpGvbRAw7rG4.pgp
Description: PGP signature


Re: Jail patch

2004-06-01 Thread Andy Smith
On Tue, Jun 01, 2004 at 04:15:51PM -, [EMAIL PROTECTED] wrote:
> Hi list,
> 
> Is there a patch for 4.9 that allows a jail to have multiple IPs ? Is this
> scheduled for any official release soon?

http://freebsdwiki.org/Using_multiple_IPs_in_a_jail

-- 
http://freebsdwiki.org/ - Encrypted mail welcome - keyid 0xBF15490B

"All artists are willing to suffer for their art.  So few are willing to learn
 to draw."
 -- The League Against Tedium


pgpnk5madB2Cz.pgp
Description: PGP signature


Re: New Servers - Mail, Perl - MySQL - PHP and things.

2004-06-01 Thread Andy Smith
On Tue, Jun 01, 2004 at 10:24:53AM -0400, Grant Peel wrote:
> 1. Should I upgrade the perl version. FBSD comes with 5.005_03. I think the
> latest Perl distro was 5.8.

I would say, only if your applications require it.

> If yes, do I install directly from ports?

Yes.

> If yes, how do I ensure the old version is being ignored. I gues
> what I am really asking, is what is
> the correct upgrade procedure?

After installing the perl port, you will get told about "use.perl
port".  Basically you just type that as root and it will add some
things to your /etc/make.conf that makes the port's perl be used in
future.  You can revert with "use.perl system".

> I want to be able to keep THIS (FBSD) installation 'upgradeable'. I have
> done some things to my other systems (FBSD 4.9 and 4.4) that I have been
> told would break if I upgraded the OS.

Well, using ports is a good start.

> 2. What are the key items to adhear to when installing FBSD and other
> software so that the OS remains upgradeable?

It depends exactly what you mean by "upgradeable".  If you install
all your extra software from ports where possible then this means
that the ports collection will help you keep track of dependencies
and newer versions, and interaction with the base system.

> 5. What are the latest releases of Apache, Perl PHP Mysql that seem to play
> nice for everyone.

I still find that I need to use the apache13 port and the
mysql-server40 port to maintain compatability with everything else I
need to use.

-- 
http://freebsdwiki.org/ - Encrypted mail welcome - keyid 0xBF15490B

"[Open Source is] like trying to sell human rights to China because it might
 lead to more effective business models."
 -- David Kastrup, news:gnu.misc.discuss


pgpygum7dTsHb.pgp
Description: PGP signature


Re: openldap dependencies

2004-05-28 Thread Andy Wettstein
On Thu, May 27, 2004 at 03:31:07PM +0100, Daniel Bye wrote:
> On Thu, May 27, 2004 at 09:17:09AM -0500, Andy Wettstein wrote:
> > Hello,
> > 
> > I'm having a problem with the dependencies for openldap.  I build
> > openldap21 with sasl support so I get openldap21-sasl-client.  Then I
> > build pam_ldap and it builds fine, but it depends on openldap21-client.
> > So my dependencies are broken and I need to do a pkg_db -F.  Is there
> > a way to tell packages that depend on openldap21-client to depend on
> > openldap21-sasl-client instead? 
> 
> Yes!  The portupgrade config file, /usr/local/etc/pkgtools.conf is your
> friend in this case.
> 
> The ALT_PKGDEP section is what you want - set something like this (NOT
> TESTED!):
> 
>   ALT_PKGDEP = {
> 'net/openldap21-client' => 'net/openldap21-sasl-client',
>   }
> 
> This simply tells portupgrade and friends that for any package that depends
> on openldap21-client, make it now depend instead on openldap21-sasl-client.
> 

That's almost what I want to have happen, but this seems only
portupgrade will use that (and I couldn't actually get the ALT_PKGDEP to
work).  But I probably need something that changes the @pkgdep, because
I want to be able to install the packages I create on other machines, too.
It doesn't really matter for that package because I won't be able to use
SASL anyway, since I'm going to authenticate Tru64 against this server 
and it has to have direct access to the userPassword attribute, which 
seems like a mostly braindead way to do it.  
   
  
Thanks for your response.
Andy


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


openldap dependencies

2004-05-27 Thread Andy Wettstein
Hello,

I'm having a problem with the dependencies for openldap.  I build
openldap21 with sasl support so I get openldap21-sasl-client.  Then I
build pam_ldap and it builds fine, but it depends on openldap21-client.
So my dependencies are broken and I need to do a pkg_db -F.  Is there
a way to tell packages that depend on openldap21-client to depend on
openldap21-sasl-client instead? 

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


Odd one: my root account disappears into hyperspace.

2004-05-26 Thread Andy Holyer
Here's a really odd one.
I ssh into my server as myself, and then su to root. At which point 
something odd happens:

a) the output of some shell commands seems to be redirected somewhere 
other then my xterm;
b) when I try to run emacs or vi, I get: "emacs: standard input is not 
a tty"

This doesn't happen when I log in as another user and try it. I've 
tried comparing the contents of our two home directories, and there 
appears no difference.

Anyone seen this before?
---
Andy Holyer, Technical stuff
Hedgehog Broadband, 11 Marlborough Place Brighton BN1 1UB
08451 260895 x 241
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


upgrading ports, skipping or deferring from automatic upgrades

2004-05-21 Thread Andy Smith
Hello,

I like to keep my ports up-to-date and to that end I have
portversion generate a nice list of outdated packages on my
systems, the idea being that when I am satisfied, I do a portupgrade
and upgrade them all en masse.

This is not without problems occasionally though.  In the past I've
been bitten by postfix upgrades where the various new postfix
binaries on disk are incompatible with the old running copies and
mail is corrupted.

I also have to remember every time that upgrading the mysql40-server
port will actually stop mysqld at the end, without starting it
again.  Kind of annoying when I have apps connected to the database
long term that will cry loudly when it goes away.

At first, I was thinking the answer would be to use the parts of
pkgtools.conf for executing various commands pre- and
post-installation to make sure things are done properly.

But then it came to me that this won't always work for something
like postfix: multiple programs being called by daemons and having a
short life, at some point an old daemon is going to call a new peer
program and their protocols won't agree, boom, corrupted mail again.

Maybe the solution is to just always be careful about what is going
to be upgraded and do the tricky ones manually at the best time.

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?

What I mean is, say I did "portversion -vL =" and it shows me that I
have 20 packages that could be upgraded, one of them being
mail/postfix.  I'm itching to do this:

sudo portupgrade -aRv

which would upgrade the lot, but I can't because I know that
upgrading databases/mysql40-server will shut down my perfectly
running mysqld.  So my choices become:

- come up with a portupgrade command that excludes mysql

- put off all upgrades until I have had chance to do mysql by itself

I would like to be able to tell portupgrade *never* to upgrade ports
like databases/mysql40-server and mail/postfix when I do
"portupgrade -aRv" and instead wait for me to specifically do:

sudo portupgrade -f databases/mysql40-server

Is this possible?

What do other people do about this?

Yes I realise that being over-zealous with upgrades can be
time-consuming, pointless, and detrimental to reliability.  This is
for personal play stuff, honest. :)

-- 
http://freebsdwiki.org/ - Encrypted mail welcome - keyid 0xBF15490B

"SCSI is usually fixed by remembering that it needs three terminations: One at
 each end of the chain. And the goat."
 -- Andrew McDonald, HantsLUG


pgpEjGA3bKbB9.pgp
Description: PGP signature


Re: Script won't run from cron

2004-05-21 Thread Andy Smith
On Fri, May 21, 2004 at 08:20:04PM +1200, Andrew McNaughton wrote:
> 
> Since upgrading from 4.5-RELEASE to 4.8-RELEASE (actually rebuilding the
> system and mounting the old /home directory), I'm having problems with a
> process which rebuilds a search engine index.  Everything runs fine from
> the command line, but the same script fails when running from cron.
> 
> The /bin/sh script runs, but when it goes to fire up the indexing process,
> that process fails.

You need to figure out a way to get your program to tell you *what*
exactly fails.  A lot of things are different from cron - the most
often noticed one being that you have a much shorter PATH - so maybe
that is it.  But if not, it will save you time to get your
application to report what exactly it is doing that fails.

-- 
http://freebsdwiki.org/ - Encrypted mail welcome - keyid 0xBF15490B


pgpW5qyqJO7VT.pgp
Description: PGP signature


Re: FreeBSD mailing lists

2004-05-21 Thread Andy Smith
On Fri, May 21, 2004 at 07:41:08AM -0400, Mike Jeays wrote:
> Hi!
> 
> I have received no messages at all from freebsd-questions, or one or two
> of the other FreeBSD mailing lists, for about 2 days.  Do you know if
> there is a problem at their end, or has perhaps my ISP decided they are
> all spam?

In addition to the other suggestions, you can also check if the list
is getting messages by looking at the list archives on
http://lists.freebsd.org/pipermail/freebsd-questions/

As well as the other web-accessible list archives there is also
gmane which seems to carry all of the FreeBSD lists, is accessible
via usenet or http, and allows you to read, search and post.  gmane
is great!

http://news.gmane.org/gmane.os.freebsd.questions/

-- 
http://freebsdwiki.org/ - Encrypted mail welcome - keyid 0xBF15490B


pgpwtC7p5aAoX.pgp
Description: PGP signature


Sound card recommendation needed

2004-05-20 Thread Andy Miller
Hello all. I"m in the market for a new sound card and I'm curious what cards
other people may have had success with. I specifically need a SP/DIF optical
audio out port. If anyone knows of any card that has a functioning SP/DIF port
under FreeBSD, let me know.

--
Andy Miller

pgpPLJlbgAeGx.pgp
Description: PGP signature


Re: defining knobs in pkgtools.conf question

2004-05-20 Thread Andy Smith
On Wed, May 19, 2004 at 02:20:55PM -0400, Chiang Seng Chang wrote:
> === quote ===
> 
> OPTIONS=THREADS "Enable thread support" on \
> HUGE_STACK_SIZE "Use a larger thread stack" off \
> UCS2 "Use UCS2 instead of UCS4 for unicode support" off \
> PYMALLOC "Uses python's internal malloc" on
> 
> .include 
> 
> .if defined(WITH_THREADS)
> CONFIGURE_ARGS+=--with-threads
> CFLAGS+=${PTHREAD_CFLAGS}
> .if defined(WITHOUT_HUGE_STACK_SIZE)
> CFLAGS+=-DTHREAD_STACK_SIZE=0x2
> .else
> CFLAGS+=-DTHREAD_STACK_SIZE=0x10
> .endif # defined(WITHOUT_HUGE_STACK_SIZE)
> CONFIGURE_ENV+= LDFLAGS="${PTHREAD_LIBS} ${LDFLAGS}"
> .else
> CONFIGURE_ARGS+=--without-threads
> .if defined(LDFLAGS)
> CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
> .endif # defined(LDFLAGS)
> .endif # defined(WITH_THREADS)
> 
> .if defined(WITHOUT_UCS2)
> CONFIGURE_ARGS+=--enable-unicode=ucs4
> .endif
> 
> .if defined(WITHOUT_PYMALLOC)
> CONFIGURE_ARGS+=--without-pymalloc
> .endif
> 
> === end quote ===
> 
> So if I wish to put the knobs into pkgtools.conf so that it can build it 
> batch mode, do I:
> 
> WITH_THREADS=1
> WITHOUT_HUGE_STACK_SIZE=1

I think that you only need to match the variables used in the
Makefile.  So the above would be correct, and the following two
should just be omitted:

> WITH_UCS2=1
> WITH_PYMALLOC=1

Don't forget you'll need to set BATCH as well.

> I guess my question is how to decide wheather to use WITH_XXX=1 or 
> WITHOUT_XXX=0 ?

Set the exact same variables as the Makefile is testing.

> does WITH_XXX=0 result in #defined(WITH_XXX) returning false ?

I believe not, as "defined()" only tests if that name is defined,
not what its value is.

-- 
http://freebsdwiki.org/ - Encrypted mail welcome - keyid 0xBF15490B


pgpY27aJR6qyu.pgp
Description: PGP signature


Re: Display installed port dependencies

2004-05-17 Thread Andy Smith
platanthera  web.de> writes:
> On Saturday 15 May 2004 03:44, Andy Smith wrote:
> > Hi,
> >
> > Is there a simple way to display a list of all installed packages
> > that depend on another given installed package?
> 
> pkg_info -R foo
> will list all currently installed packages that depend on foo

Doh!  I'm really sorry, that is right in the man page which I DID read.  I have
no idea how I missed it.


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


Display installed port dependencies

2004-05-14 Thread Andy Smith
Hi,

Is there a simple way to display a list of all installed packages
that depend on another given installed package?

i.e. say I would like to know every installed package that depends
on gmake which I also have installed.  Is there any quick way to
display this?

I am aware of portsearch which will allow me to get a nice list of
every port that depends on another port, but as far as I can see
this only operates on the ports collection, not just the ones
installed as packages.

Thanks,
Andy

-- 
http://freebsdwiki.org/ - Encrypted mail welcome - keyid 0xBF15490B

Q. How many mathematicians does it take to change a light bulb?
A. Only one - who gives it to six Californians, thereby reducing the problem to
   an earlier joke.


pgpl5vPMAVjxi.pgp
Description: PGP signature


Re: Apache returning multiple (Identical) pages?

2004-05-14 Thread Andy Holyer
On 14 May 2004, at 15:20, Peter Risdon wrote:

Andy Holyer wrote:

This is a weird one. I'm setting up a PHP page on the web server 
(Apache2, FreeBSD 5.2). When I fetch from a browser, the server 
delivers index.php over and over again, as fast as it can as far as I 
can tell.

However if I telnet to port 80 and type in the get request manually, 
it delivers the page correctly, as far as I can tell. Once, only.

Has anyone seen anything like this before?


I think a little bit more info would help.

Does the apache access log confirm that there are repeated GET 
requests for the page?

Sure does.
Is the page actually refreshing, or does it never seem to have 
finished loading, without the window actually being re-drawn over and 
over again? Infinite loops are a common prob in scripts.

It never gets drawn by the browser. Safari complains of multiple 
redirect directives, whereas http-access-log reports on multiple sends 
of index.php

Have you eliminated the possibility of errors in your PHP script by 
trying a very trivial script indeed, or one that you know works?

Squirrelmail works perfectly on the same server

I've tested it on every web browser I can think of, from Mozillla to 
lynx. Same behavior.

I've just been fiddling with telnet a bit further and I may be getting 
somewhere. I've not been reading deeply enough into the http log - it 
is indeed returning a 302 response to the browser.  Hmmm...
---
Andy Holyer, Technical stuff
Hedgehog Broadband, 11 Marlborough Place Brighton BN1 1UB
08451 260895 x 241

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


Apache returning multiple (Identical) pages?

2004-05-14 Thread Andy Holyer
This is a weird one. I'm setting up a PHP page on the web server 
(Apache2, FreeBSD 5.2). When I fetch from a browser, the server 
delivers index.php over and over again, as fast as it can as far as I 
can tell.

However if I telnet to port 80 and type in the get request manually, it 
delivers the page correctly, as far as I can tell. Once, only.

Has anyone seen anything like this before?

---
Andy Holyer, Technical stuff
Hedgehog Broadband, 11 Marlborough Place Brighton BN1 1UB
08451 260895 x 241
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Problems configuring Postfix/Cyrus/MySQL

2004-05-14 Thread Andy Holyer
I'm trying to config our mail server (FreeBSD-CURRENT) to use the above 
combination, but I'm still getting problems (possibly unconnected):

1) In /var/log/messages I get this message repeatedly:

May 14 10:04:54 tiggywinkle postfix/trivial-rewrite[90799]: fatal: 
mysql:/etc/postfix/mysql-virtual.cf: table lookup problem

/etc/postfix/mysql-virtual.cf has the correct username and password, 
and the database "mail" and the table "virtual" do exist (I can use the 
mysql client to go in and look at it. The table's empty, though.

I've got the cyrus imap and pop3 daemons to go (that is, I can telnet 
to their port and get a sensible prompt, however if I do

cyradm --user cyrus localhost imap

I get no response at all - the command just hangs.

Any advice gratefully received. I have installed postfix and cyrus in 
the past, but that was last century, and without mysql involved.

---
Andy Holyer, Technical stuff
Hedgehog Broadband, 11 Marlborough Place Brighton BN1 1UB
08451 260895 x 241
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Mirroring Mysql databases - and secure tunneling, while I'm at it.

2004-05-12 Thread Andy Holyer
I've looked in the docs, and used google, and I need a quick steer as 
to the best way to proceed.

Our company is running two servers: one is a public web/mail/dns server 
sitting in a rack at Telecity, the other one is sitting here right next 
to me, and should never be seen outside of the office. Both are running 
FreeBSD-CURRENT. Both carry MySQL databases: the public one will carry 
cyrus mail, and authentication data for a radius server, the private 
one will carry our customer account data.

What I'd like to do, following my principle that buildings tend to burn 
down one at a time, is to set the two databases to mirror each other, 
so that we would be able to reconstitute either database if the need 
were to arise. I'd like this to be as easy and automatic as possible. 
Is there a standard vanilla way of doing this, or do I have to get 
inventive?

On the same tack, I'd like to have an encrypted pipe between the two 
servers (over which this company-confidential data will travel). Since 
one of the servers is behind a NAT (and soon will be behind a firewall, 
too), I'd like to use CIPE rather then IPSec. Am I correct in finding 
that CIPE is not implemented on FreeBSD? Do i have to use IPSec?

Thanks for any leads.

---
Andy Holyer, Technical stuff
Hedgehog Broadband, 11 Marlborough Place Brighton BN1 1UB
08451 260895 x 241
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


spppcontrol

2004-05-05 Thread andy
I am trying to build a router based on the following components:
1.ADSL Pci card
2.FreeBSD 5.2.1
3.IPFilter

The card gets configured by the driver, and I am able to connect the ADSL
link, but I can't get authenticated to my ISP.  I am trying to use a
spppcontrol script to negotiate the connection manually.  So, after I
start the ADSL card service I run the script, but it doesn't seem to do
anything.  Here is the script, and the response I get when I execute it:

]# cat sppp.sh
 #!/bin/sh

#--

#   ppp example setup

#   last edit-date: [Tue May  4 21:18:13 2004 ]

#--



echo "Enable Debug for wpaadsl0:"

ifconfig wpaadsl0 debug

echo ""

echo ""

echo "setting PPP options"

spppcontrol wpaadsl0 disable-ipv6

spppcontrol wpaadsl0 myauthproto=pap

spppcontrol wpaadsl0 [EMAIL PROTECTED]

spppcontrol wpaadsl0 myauthsecret=xx


echo ""

echo "finished"
[EMAIL PROTECTED] ~]# ./sppp.sh
Enable Debug for wpaadsl0:


setting PPP options

finished
---

The following is from /var/log/messages:

May  5 12:58:54 duron kernel: WANPIPE Hardware Support Module v2.7.2 (c)
1995-2002 Sangoma Technologies Corp.
May  5 12:58:54 duron kernel: WANPIPE(tm) Multiprotocol Driver v2.7.2 (c)
1995-2001 Sangoma Technologies Inc.
May  5 12:58:54 duron kernel: wanpipe: S518 PCI ADSL card found, cpu(s) 1,
bus #0, slot #11, irq #3
May  5 12:58:54 duron kernel: WANPIPE: Allocating maximum 1 devices:
May  5 12:58:54 duron kernel: WANPIPE: wanpipe1-wanpipe1.
May  5 12:58:54 duron kernel: Processing WAN device wanpipe1...
May  5 12:58:54 duron kernel: wanpipe1: Locating: ADSL card, CPU ,
PciSlot=11, PciBus=0
May  5 12:58:54 duron kernel: wanpipe1: Found: ADSL card, CPU ,
PciSlot=11, PciBus=0
May  5 12:58:54 duron kernel: wanpipe1: Starting hardware setup...
May  5 12:58:54 duron kernel: wanpipe1: ADSL PCI memory at 0xcffb
May  5 12:58:54 duron kernel: wanpipe1: IRQ 3 allocated to the ADSL card
May  5 12:58:54 duron kernel: wanpipe1: Set interrupt handler...
May  5 12:58:54 duron kernel: wanpipe1: Starting ADSL device.
May  5 12:58:54 duron kernel: wanpipe1: Initializing S518 ADSL card...
May  5 12:58:54 duron kernel: wanpipe1: Initializing LAN Interface
May  5 12:58:54 duron kernel: wanpipe1: Enabling ADSL (ATM OAM) Watchdog
May  5 12:58:54 duron kernel: wanpipe1: ADSL HW Addr: 00:77:77:77:78:e6
May  5 12:58:54 duron kernel: wanpipe1: Creating new WAN interface
wpaadsl0...
May  5 12:58:54 duron kernel: wanpipe1: Configuring Interface: wpaadsl0
May  5 12:58:54 duron kernel: wanpipe1: ATM configured for PPP (VC) over
ATM
May  5 12:58:54 duron kernel: wanpipe1: ADSL Link connecting...
May  5 12:58:54 duron kernel: wanpipe1: Attaching SPPP protocol
May  5 12:58:54 duron kernel: wanpipe1: Attaching network interface
wpaadsl0...
May  5 12:59:22 duron kernel: wanpipe1: Cell Delination successful
May  5 12:59:22 duron kernel: wanpipe1: GP_LINK_UP, State Trained
May  5 12:59:22 duron kernel: wanpipe1: ADSL Link connected (Down 1856
kbps, Up 128 kbps)
May  5 12:59:30 duron kernel: wanpipe1: Link connected!
May  5 12:59:32 duron kernel: wanpipe1: Network device is not UP!
May  5 12:59:42 duron kernel: wanpipe1: Network device is not UP!


Not sure what to do now, any advice would be really appreciated.  Thanks
in advance.

Andy



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


Re: What version of freebsd..

2004-04-25 Thread Andy Miller
On Sun, Apr 25, 2004 at 10:26:55AM +0200, Arno Haverlach wrote:
> Currently were going to reinstall all servers we have from redhat 9 to
> freebsd because redhat 9 is EOL...
> 
> But after reading a few mails here that 4.9 is most likely not supported
> for a long time.. what version should we take then?
> 
> We will be using it for multiple servers (mail, database, app, web
> etc..)
> 

It depends.  Most people will tell you that 4.9 will be the best version to use
for a production environment, and they would be right.  However, the 4.x branch
won't be around forever.  Some day in the not so distant future, 5.x will go
to -stable.

If you want proven reliability, go with 4.9.  If you think you might want to 
upgrade to 5.x in the near future, you might want to use 5.2 so you don't have
to hassle upgrading from 4.x to 5.x.  I have personally been using 5.x since
it was still only -current.  I've had no problems on any 5.x-release systems,
they've always preformed well.

I hope this helps you decide.  Good luck with your switch.

--
Andy Miller

pgp0.pgp
Description: PGP signature


Is it worth using both gigabit ether ports?

2004-04-21 Thread Andy Holyer
I work for a small special-purpose ISP, and right now I'm configuring 
our main Web/Mail/DNS server. It's a Dell Poweredge 750, 2.4Gb with 
1Gig of memory and twp 80 GB drives mirrored using vinum.

When I've prepped it up, it's due to go in our rack at Telecity in 
Docklands.

The box came with an Intel twin Gigabit network card, and I'd like to 
use ng_one2many to load share so that the box uses both ports at once.

There doesn't appear to be much about this on the web. My question: is 
it worth doing? Will a get a better and/or more fault-tolerent 
performance by doing this? Do I have to do anything clever with DNS or 
the router (a Cisco 3660) to get requests evenly distributed, or can I 
rely on sharing outgoing traffic?

Thanks in advance for any advice.
---
Andy Holyer, Technical stuff
Hedgehog Broadband, 11 Marlborough Place Brighton BN1 1UB
08451 260895 x 241
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Cups printing problem

2004-04-20 Thread andy
Joe:

Below, please find a copy of my cupsd.conf file.  I'd appreciate it
if you could look at it and help me get network printing working.  I just
need something real simple.  10.0.0.175 is the print server, and I want to
allow all hosts on the local net to print without authentication.


Thanks,

Andy
*
#
# ServerName: the hostname of your server, as advertised to the world.
# By default CUPS will use the hostname of the system.
#
# To set the default server used by clients, see the client.conf file.
#

ServerName 10.0.0.175

#
# ServerAdmin: the email address to send all complaints/problems to.
# By default CUPS will use "[EMAIL PROTECTED]".
#

#ServerAdmin [EMAIL PROTECTED]



 Server Options


#
# AccessLog: the access log file; if this does not start with a leading /
# then it is assumed to be relative to ServerRoot.  By default set to
# "/var/log/cups/access_log"
#
# You can also use the special name "syslog" to send the output to the
# syslog file or daemon.
#

AccessLog /var/log/cups/access_log

#
# Classification: the classification level of the server.  If set, this
# classification is displayed on all pages, and raw printing is disabled.
# The default is the empty string.
#

#Classification classified
#Classification confidential
#Classification secret
#Classification topsecret
#Classification unclassified

#
# ClassifyOverride: whether to allow users to override the classification
# on printouts. If enabled, users can limit banner pages to before or
# after the job, and can change the classification of a job, but cannot
# completely eliminate the classification or banners.
#
# The default is off.
#

#ClassifyOverride off

#
# DataDir: the root directory for the CUPS data files.
# By default "/usr/local/share/cups".
#

#DataDir /usr/local/share/cups

#
# DefaultCharset: the default character set to use. If not specified,
# defaults to "utf-8".  Note that this can also be overridden in
# HTML documents...
#

#DefaultCharset utf-8

#
# DefaultLanguage: the default language if not specified by the browser.
# If not specified, the current locale is used.
#

#DefaultLanguage en

#
# DocumentRoot: the root directory for HTTP documents that are served.
# By default "/usr/local/share/doc/cups".
#

#DocumentRoot /usr/local/share/doc/cups

#
# ErrorLog: the error log file; if this does not start with a leading /
# then it is assumed to be relative to ServerRoot.  By default set to
# "/var/log/cups/error_log"
#
# You can also use the special name "syslog" to send the output to the
# syslog file or daemon.
#

ErrorLog /var/log/cups/error_log

#
# FileDevice: determines whether the scheduler will allow new printers
# to be added using device URIs of the form "file:/foo/bar". The default
# is not to allow file devices due to the potential security vulnerability
# and due to the fact that file devices do not support raw printing.
#

#FileDevice No


#
# FontPath: the path to locate all font files (currently only for
pstoraster)
# By default "/usr/local/share/cups/fonts".
#

#FontPath /usr/local/share/cups/fonts

#
# LogLevel: controls the number of messages logged to the ErrorLog
# file and can be one of the following:
#
# debug2Log everything.
# debug Log almost everything.
# info  Log all requests and state changes.
# warn  Log errors and warnings.
# error Log only errors.
# none  Log nothing.
#

LogLevel debug

#
# MaxLogSize: controls the maximum size of each log file before they are
# rotated.  Defaults to 1048576 (1MB).  Set to 0 to disable log rotating.
#

MaxLogSize 200

#
# PageLog: the page log file; if this does not start with a leading /
# then it is assumed to be relative to ServerRoot.  By default set to
# "/var/log/cups/page_log"
#
# You can also use the special name "syslog" to send the output to the
# syslog file or daemon.
#

PageLog /var/log/cups/page_log

#
# PreserveJobHistory: whether or not to preserve the job history after a
# job is completed, cancelled, or stopped.  Default is Yes.
#

#PreserveJobHistory Yes

#
# PreserveJobFiles: whether or not to preserve the job files after a
# job is completed, cancelled, or stopped.  Default is No.
#

#PreserveJobFiles No

#
# AutoPurgeJobs: automatically purge jobs when not needed for quotas.
# Default is No.
#

#AutoPurgeJobs No

#
# MaxCopies: maximum number of copies that a user can request. Default is
# 100.
#

MaxCopies 100

#
# MaxJobs: maximum number of jobs to keep in memory (active and
completed.)
# Default is 500; the value 0 is used for no limit.
#

MaxJobs 500

#
# MaxJobsPerPrinter: maximum number of active jobs per printer. The
default
# is 0 for no limit.
#

#MaxJobsPerPrinter 0

#
# MaxJobsPerUser: maximum number of active jobs per user. The defa

More dependency hell

2004-04-20 Thread andy
I am trying to install OpenOffice 1.1.1 on a box with a fresh install of
5.2.1Release.  I get Java to compile and install, however Openoffice
chokes because it starts to update all the Gnome stuff.  I cannot get the
update script to run sucessfully, so now the Openoffice install dies and
Gnome is hosed as well.  I tried to install the OO package, and I get the
following error:

[EMAIL PROTECTED] ~]# pkg_add -r openoffice
Error: FTP Unable to get
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/Latest/openoffice.tbz:
File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/Latest/openoffice.tbz'
by URL
[EMAIL PROTECTED] ~]#

Am I stuck here, or is there a way out?  Thanks in advance for any and all
help.

Andy

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


Re: restricting ssh to authorized users

2004-04-19 Thread Andy Miller
On Tue, Apr 20, 2004 at 10:25:06AM +0800, Robert Storey wrote:
> I've been wondering what is the best way to prevent certain users from
> being able to login with ssh, even though I want to allow them ftp access?
> 
> The opposite is easy to accomplish - if I put somebody's name in file
> /etc/ftpusers, that person cannot login with ftp, but they could still
> login with ssh. But I don't see a file /etc/sshusers, and I'm wondering if
> there is some equivalent.

If you don't want someone to be able to login, you can change their
login shell to /sbin/nologin.

--
Andy Miller

pgp0.pgp
Description: PGP signature


mod_perl installation and non-standard perl path

2004-04-19 Thread Andy Harrison
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

For reasons I don't want to trouble you with, I had to install the
latest perl port into /usr/local/rt3/perl/ and now I need to get
mod_perl to compile against that version.


I edited the Makefile, added
MOD_PERLCONFIG=/usr/local/rt3/perl/bin/perl to CONFIGURE_ARGS and I
edited the shebang line in /usr/local/bin/apxs to point to my new
installation of perl.

Then, I tried using this cli in the mod_perl port directory.

 bash-2.05b# PERL5LIB=/usr/local/rt3/perl/lib/site_perl/5.8.2/i386-freebsd 
PREFIX=/usr/local/rt3/perl SITE_PERL=/usr/local/rt3/perl/lib/site_perl make

While pieces of the compile output show that it is using
/usr/local/rt3/perl/*, most of it shows that it's pulling from
/usr/local/lib/perl5/* for libs.

I even combed through the work directory and manually changed the
references to the perl binary to /usr/local/rt3/perl/bin/perl with no
luck.  Same results every time.  And yes, I've been doing a make clean
in between compiles.

Any advice?

- -- 
Andy Harrison
(full headers for details)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAg/NqCYaHi6DasBoRAm7TAJ9k8CudeAUZ0B4Uvb+niSZq5Nzk/gCgkNcI
l04S8LlYKZBh8FUTedjrlqk=
=yTQC
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Cups printing problem

2004-04-17 Thread andy
I am trying to print from a FBSD client to an FBSD print server running
the latest version of Cups.  I can print from the printserver, but not
across the local network.  I receive this error from the Cups browser
admin page:

Brother HL-1440 Foomatic/hl1250 (recommended)
Description: net-printer
Location:
Printer State: processing, accepting jobs.
"Unable to get printer status (client-error-forbidden)!"
Device URI: http://10.0.0.175:631/ipp/

It seems like the server is refusing the connection, is that the problem
or is it something else.  I tried putting an /etc/cups/cupsd.conf so that
it will spool on the server, but it did not work.

Is there something I need to enable or turn on, on the server to make
network printing work?  Any help is appreciated.

TIA,

Andy

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


mod_perl installation and non-standard perl path

2004-04-16 Thread Andy Harrison
For reasons I don't want to trouble you with, I had to install the
latest perl port into /usr/local/rt3/perl/ and now I need to get
mod_perl to compile against that version.


I edited the Makefile, added
MOD_PERLCONFIG=/usr/local/rt3/perl/bin/perl to CONFIGURE_ARGS and I
edited the shebang line in /usr/local/bin/apxs to point to my new
installation of perl.

Then, I tried using this cli in the mod_perl port directory.

 bash-2.05b# PERL5LIB=/usr/local/rt3/perl/lib/site_perl/5.8.2/i386-freebsd 
PREFIX=/usr/local/rt3/perl SITE_PERL=/usr/local/rt3/perl/lib/site_perl make

While pieces of the compile output show that it is using
/usr/local/rt3/perl/*, most of it shows that it's pulling from
/usr/local/lib/perl5/* for libs.

I even combed through the work directory and manually changed the
references to the perl binary to /usr/local/rt3/perl/bin/perl with no
luck.  Same results every time.  And yes, I've been doing a make clean
in between compiles.

Any advice?

-- 
Andy Harrison
(full headers for details)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /proc

2004-04-12 Thread Andy Miller

On Tue, Apr 13, 2004 at 01:56:24AM -0400, Shaun T. Erickson wrote:
> One of the things I really miss from my Linux system, is the /proc 
> directory structure, where I could easily find out so much about my 
> system and, in some cases, modify it.
> 
> Is there are way I can get such a thing under FreeBSD 5.2.1-RELEASE-p4?
>

Read the man for procfs.  It should help you figure out how to do it.


Andy Miller

pgp0.pgp
Description: PGP signature


NIC problem

2004-04-11 Thread andy
I just ran into an unusual problem, and I need some help.  I am trying to
integrate a firewall in my network, based on 5.2.1.Release and Ipfilter.
I actually had everything working, and did something that I think caused
my problem.  I tried to ssh into my firewall and I accidentally used the
wrong interface.  Instead of connecting to the NIC connected to the LAN,
I tried to connect to the outside interface.

Now, somehow there is an option for VLAN when I type ifconfig.
Right under the line for rl0 I see this:
options=8

What is this, and what does it mean.  How do I get rid of it?  I tried to
do ifconfig rl0 destroy, but that doesn't work.

How can I recreate the rl0 interface without the VLAN option?

I could really use some help on this one!  Any advice is appreciated!

TIA

Andy

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


Re: WebMail

2004-04-08 Thread Andy Miller
On Thu, Apr 08, 2004 at 10:59:57PM -0400, Shawn Guillemette wrote:
> I'm looking into options for webmail.. was looking for ideas... Looking for
> something with a good how to .. ;-)
>

SquirrelMail (http://www.squirrelmail.org/) is pretty good.  The website has
pretty good documentation.

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


Install world fails, computer almost unusable

2004-04-07 Thread Andy Rozman (Aleksander)

Hi !

I succesfully compiled FreeBSD 5.2.1, but problem happened when I wanted to do
install. After I run installworld install started but halted at one point
(with copying ld-so.1 in libexec). I found 
ld-so.1.old file which I removed, and after I run installworld again, mtree
failed with core dump, and "Bad Syscall"...

Now I can't do anything. Most of system programs now do core dump. 

Is there a way to solve this?

Andy



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


problems with make world process

2004-04-06 Thread andy
I am trying to use the make world process and am having a major problem.
Everything goes well until the last step.

First I tied upgrading to 4.9 stable by:
cvsuping RELENG_4
make buildworld
make buildkernel
make installkernel
reboot (single user)
mergemaster -p
make installworld
mergemaster
reboot

When I reboot the network is totally broken, if I try to ping 192.168.1.1
my local gateway I get:
ping: sendto: No route to host

So, I thought maybe the mergemaster process hosed things up.  I did the
whole process again and instead of running mergemaster, I rebooted after a
successful installworld.  Again, same thing the network is broken.

Then, I thought maybe something is wrong with 4.9, so I repeated the
exercise again twice going from 5.2.1.Release to 5.2.1.p4.  And still no
luck.  So, I am obviously missing something big or small (or both).

The purpose for doing this is to build a firewall by following the
directions
at:http://www.schlacter.net/public/FreeBSD-STABLE_and_IPFILTER.html

Everything looks ok as far as ifconfig and /etc/rc.conf are concerned.
What can I  do to troubleshoot the network problem?  Any advice would be
greatly appreciated.  TIA


Andy

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


I've broken /boot/device.hints

2004-04-06 Thread Andy Holyer
I was trying to disable ACPI by editing device.hints, and left some 
garbage at the start of the file. Now I find the kernel won't boot - 
you get to the little Daemon flash page, and then kernel load goes on 
and after the first line of boot, the star fails to spin.

I've got a spare copy of the root partition on /dev/ac1s1a but I can't 
seem to boot from there.

This box is very unhappy with ACPI.

If I boot from floppies the emergency shell doesn't seem to include a 
copy of mount, so I can't rectify the fault.

Is there an easy survival route?

Thanks in advance for any advice.

---
Andy Holyer, Technical stuff
Hedgehog Broadband, 11 Marlborough Place Brighton BN1 1UB
08451 260895 x 241
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Internet gateway

2004-04-04 Thread Andy Miller
On Sun, Apr 04, 2004 at 05:57:06PM -0400, Jose Arnel Rimando wrote:
> Hello,
> 
> I just installed a freebsd stable on an old pentium. I want to ask if 
> you guys have additional reading materials in deploying FreeBSD as an 
> internet gateway. I am currently working on a project for a non-profit 
> organization. Thank you very much for your time.
> 

This might help you out:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-routing.html


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


installworld faiing on sparc64

2004-04-02 Thread Andy Miller
I am currently upgrading a Sparc64 system from 5.1 to 5.2.1.  buildworld was
successful, as well as the build and install of the kernel.  After a
reboot, I ran installworld and received the following error message:

===> bin/csh
install -s -o root -g wheel -m 555   csh /bin
install -o root -g wheel -m 444 /usr/src/bin/csh/../../contrib/tcsh/complete.tcsh 
/usr/src/bin/csh/../../contrib/tcsh/csh-mode.el /usr/share/examples/tcsh
gencat -new et_EE.ISO8859-15.cat et_EE.ISO8859-15.msg
gencat:No such file or directory
*** Error code 1

I'm not sure what has gone wrong.  Any input on how to fix this will be
greatly appreciated.

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


Re: CVSup vs. portupgrade

2004-04-02 Thread Andy Miller
On Fri, Apr 02, 2004 at 07:27:31PM -0600, Jay Moore wrote:
> Reading from the FreeBSD handbook on "Using the Ports Collection" leaves me a 
> bit confused wrt CVSup and portupgrade... do these utilities accomplish the 
> same thing?
> 
> Thanks,
> Jay
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

No, they do not do the same thing.  cvsup retrieves the newest source for
a given repository.  portupgrade will upgrade an already installed port.

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


Gnome 2.6 upgrade

2004-04-02 Thread andy
I am running 5.2.1 Release with Gnome 2.4.  I have cvsuped my ports
collection today to the latest update.  What is the procedure to upgrade
to Gnome2.6?

TIA

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


Re: users mounting cdrom

2004-03-29 Thread Andy Miller
On Tue, Mar 30, 2004 at 01:20:42AM +0200, Marcus Wellpoth wrote:
> Hi there
> how can i allow a user which i don't want to take to the operators or wheel 
> group to mount the cdrom drive?
> thanx 
> mw
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

Take a look at this:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER-FLOPPYMOUNT

I think it will answer your question.

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


Re: automounting cd-rom & cd-rw devices

2004-03-27 Thread Andy Miller
On Sat, Mar 27, 2004 at 08:13:39PM -0600, Jay Moore wrote:
> I have a FreeBSD 4.9 system; I am also running KDE...
> 
> I'm building this system for my son (college student) who has been (until now) 
> a Windoze user :(   I'm trying to set this sytem up so that he'll be able to 
> use it with a minimum of calls to tech support (me). One of the issues I am 
> struggling with is how to make the cd-rw & cd-rom devices usable without 
> requiring him to start a root shell and mount/umount these devices.
> 
> There appear to be some KDE applications that support this, but they must be 
> started with root permissions. I figured automounting cd's must be a "FAQ", 
> so I researched the FreeBSD website, and Greg Lehey's book to find "the 
> answer". Unfortuantely, I found very little info. The only good source of 
> "how-to" on this subject was a rather dated article that described 
> configuring amd to do this: 
> 
> http://www.daemonnews.org/200202/automounting.html
> 
> The dearth of sources of info on this lead me to wonder if automounting the cd 
> drives is something that should be done at all. So - my questions are:
> 
> 1) Should I automount cd's?
> 
> 2) What is the "best way" to allow ordinary users to mount cd's?
> 
> Thanks,
> Jay Moore
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
I believe sudo(8) may be an option for you.  It will allow you to give users root 
privilages for specific commands.  Just install sudo from ports.  There are some good 
examples in the sudoers config file for what you want to do.

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


Problem with ncurses install

2004-03-27 Thread Aleksander Rozman - Andy
Hi !

Some time ago I did little experimenting on my FreeBSD box (I was trying to 
compile some programs and I installed new version of ceratain auto* and 
other programs) so after that I couldn't usee gcc anymore. I reinstalled 
gcc and some other tools, but now ncurses is of some older version.
I tried to reinstall ncurses and I succeed, but from is that dynamic 
library libncurses.so.5 is not reinstalled along with other programs, which 
means that most of software on my computer is now unusable... How can I 
force ncurses to install dynamic library (I run install from contrib 
directory)...

Please help
Andy
P.S.: You can imagine that I can't do even build world, since install fails 
because of some unrecognized symbols in ncurses.so.5 (I have still the old 
version, which doesn't work)

**
*  Aleksander Rozman - Andy  * Fandoms:  E2:EA, SAABer, Trekkie, Earthie *
* [EMAIL PROTECTED] * Sentinel, BH 90210, True's Trooper,   *
*[EMAIL PROTECTED]   * Heller's Angel, Questie, Legacy, PO5, *
* Maribor, Slovenia (Europe) * Profiler, Buffy (Slayerete), Pretender*
* ICQ-UIC: 4911125   *
* PGP key available  *http://www.atechnet.dhs.org/~andy/ *
**
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


upgrade question

2004-03-22 Thread andy
I just upgraded from 5.2.1.Release via cvsup to RELENG_5_2.  This is the
p3 security update for openssl issues.  The upgrade completed successfully
up to the last step, when I tried to run mergemaster.  I got the following
response:

*** The directory specified for the temporary root environment,
/var/tmp/temproot, exists.  This can be a security risk if untrusted
users have access to the system.

  Use 'd' to delete the old /var/tmp/temproot and continue
  Use 't' to select a new temporary root directory
  Use 'e' to exit mergemaster

  Default is to use /var/tmp/temproot as is

How should I deal with this? [Use the existing /var/tmp/temproot]
   *** Leaving /var/tmp/temproot intact

*** Creating the temporary root environment in /var/tmp/temproot
 *** /var/tmp/temproot ready for use
 *** Creating and populating directory structure in /var/tmp/temproot

mtree -deU  -f /usr/src/etc/mtree/BSD.root.dist -p /var/tmp/temproot/
*** Error code 1

Stop in /usr/src/etc.

  *** FATAL ERROR: Cannot 'cd' to /usr/src/etc and install files to
  the temproot environment





Before I did the OS upgrade, I upgraded openssl and openssh to the
following versions:

su-2.05b# /usr/local/sbin/sshd -version
sshd: illegal option -- v
sshd version OpenSSH_3.8p1, OpenSSL 0.9.7c 30 Sep 2003

su-2.05b# /usr/local/bin/ssh -version
OpenSSH_3.8p1, SSH protocols 1.5/2.0, OpenSSL 0.9.7c 30 Sep 2003

su-2.05b# openssl version
OpenSSL 0.9.7c-p1 30 Sep 2003



I have the following questions:


What happened to mergemaster, and what can I do to get it to run
sucessfully?

Assuming I get mergemaster to run, do I have to upgrade openssl or
openssh?

Do I have to upgrade Apapche?  If so, what command do I use to get Apache
to use the new version of openssl?


Output from uname:
 uname -a
FreeBSD duron.foo.bar 5.2.1-RELEASE-p3 FreeBSD 5.2.1-RELEASE-p3 #0: Sun
Mar 21 22:18:51 IST 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL  i386

Any help would be appreciated.

TIA,

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


upgrade issues

2004-03-12 Thread andy
I recently upgraded from 5.1.release to 5.2.1 release, everything went
fine except for 2 things.

The cdplayer that comes with Gnome is broken, when I open it it says
"Drive Error".  So, I installed XCDplayer 2.20 from ports, it installed.
However, when I open it and insert a new audio cd, it says "No Disk".  I
have a new Plextor PX-708A internal ATAPI DVD+RW.  I know the drive works,
I can watch and burn DVDs, and I can even rip audio tracks off of a CD,
but I cannot play an audio cd.  Any ideas what caused this or how to
troubleshoot it?

Also, I upgraded from Mozilla 1.5 to 1.6 and in doing so corrupted my
fonts in the browser.  Now the fonts are really big and jagged, changing
them in the preferences does not help.  Do I need to rebuild the fonts, if
so how?

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


Re: [kde-freebsd] KDE 3.2 + startx errors (dcopserver)

2004-02-15 Thread Andy Fawcett
On Sunday 15 February 2004 11:19, Bryan Cassidy wrote:
> I am running FreeBSD 4.9 and have just installed KDE 3.2 from the
> ports without any errors. I know for a fact I have X configured so it
> couldnt be that. I added exec startkde to my .xinitrc file and ran
> 'startx' and I get the following
>
> There was an error setting up inter-process communications for KDE.
> The message returned by the system was:
>
> could not read network connection list
> /home/usr/.DCOPserver_bsdjunky.homeunix.org__0
>
> Please check that the dcopserver program is running.
>
> Second error I get is
>
> Will not save configuration
> Configuration file "/home/usr/.kde/share/config/kwinrc" not writable
>
> Configuration file "/home/usr/.kde/share/config/kdeglobals" not
> writable
>
> Please contact your system admin.
>
>  I have tried running 'dcopserver' as usr and as root with no
> success. Any help would be appreciated.

As root:
chown -R youruser:yourgroup /home/usr/.kde
should fix it.

If not, you need to check the permissions of those files, and ensure 
they are:

-rw--- youruser yourgroup

A.

-- 
Andy Fawcett | [EMAIL PROTECTED]
 | [EMAIL PROTECTED]
"In an open world without walls and fences,  | [EMAIL PROTECTED]
  we wouldn't need Windows and Gates."  -- anon  | [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Bash

2004-02-05 Thread Andy
Thank You Derrick

Wow, talk about a quick response !! Worked like a charm, I already have bash 
up and running as a user.

Thank You
Andy


On Fri, 6 Feb 2004 04:16 pm, you wrote:
> Use chsh = change shell
> Or vipw - and change the shell there.
>
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Andy
> > Sent: Thursday, February 05, 2004 10:24 PM
> > To: [EMAIL PROTECTED]
> > Subject: Bash
> >
> > Hiya All
> >
> > Hoping this is easy. Whenever I log in, I get bash (2) as
> > root, but it does not work with a user login unless I invoke
> > it (/usr/local/bin/bash) and then switches off when close
> > that terminal. Sorry if this question is a bit basic, I have
> > read the man page, and have added the startup lines in
> > ~/.cshrc and in ~/.login, but no good. Can anyone tell me
> > where I have gone wrong here ?
> > Please mail to this address as I am not on the list.
> >
> > All help appreciated
> > Thank You
> > Andy
> > --
> > Powered By FreeBSD 4.7-RELEASE. Free your desktop.
> >
> > ___
> > [EMAIL PROTECTED] mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "[EMAIL PROTECTED]"

-- 
Powered By FreeBSD 4.7-RELEASE. Free your desktop.

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


Bash

2004-02-05 Thread Andy
Hiya All

Hoping this is easy. Whenever I log in, I get bash (2) as root, but it does 
not work with a user login unless I invoke it (/usr/local/bin/bash) and then 
switches off when close that terminal. Sorry if this question is a bit basic, 
I have read the man page, and have added the startup lines in ~/.cshrc and in 
~/.login, but no good. Can anyone tell me where I have gone wrong here ?
Please mail to this address as I am not on the list.

All help appreciated
Thank You
Andy
-- 
Powered By FreeBSD 4.7-RELEASE. Free your desktop.

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


Sysintall problem

2004-01-30 Thread Andy Hanson
I have a Abit BP6 motherboard that I have been running on freebsd 4.X for years 
now.  But the hard drive has been getting close to failure, and I wanted to do a 
clean install of freebsd 5.2.

So I picked up a 80G WD800JB drive and preceded to install Freebsd 5.2.

Unfortunately, I've never been able to boot off a CDROM on this machine, so I 
started the installation off of the 5.2 floppies.

First off, the sysinstall program complains about the disk geometry, but its 
"fixed" geometry numbers don't seem too far off in drive size, so I let it 
slide.  I've never seen this warning before on a freebsd install, but I've seen 
reference to it in the archives, with these sorts of drives.

At any rate I create the slices.
2048M swap
2048M /
2048M /tmp
4096M /var
~66G /usr
Then I start up the standard install.

I apologize as I'm doing this from memory, while at work...
It seems to hang on a a screen with the command something like
newfs -O2 ads1f
at any rate I figure its formatting the drive, and maybe it will take a while. 
But the next morning it is still on the same screen? 12+ hours later.  Even my 
biggest partition being about 66G, it shouldn't take that long to format.

Something is clearly wrong, but after trying several times, I'm out of ideas.

Machine:
Abit Bp6 (2x466 celeron)
256M memory
WD800JB 80G drive
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: libGl.so.14 not found

2004-01-27 Thread andy
Subject:
Re: Blender libGl.so.14 not found
From:
andy <[EMAIL PROTECTED]>
Date:
Wed, 28 Jan 2004 13:58:39 +1000
To:
"Kevin D. Kinsey, DaleCo, S.P." <[EMAIL PROTECTED]>
Kevin D. Kinsey, DaleCo, S.P. wrote:

andy wrote:

Hi all

Tring to install Blender on FreeBSD 4.7-RELEASE (found that this 
version works with the dreaded Ali chipset that kills all other 
distros with the contigmalloc1 error on installation in case that can 
help anyone)
Current problem I have is that when I try to use Blender (installed 
from the ports) I get the error
/usr/libexec/ld-elf.so.1: Shared object "libGL.so.14" not found
after googling found this link 
http://news.gw.com/freebsd.questions/160822
which says

 I assume you've already made the following
links under /usr/X11R6/lib/
libGL.so.14 -> libGL.so.1
libGLU.so.14 -> libGLU.so.1
OK, willing to give this a try, just don't know what links this 
refers to - would this be a symlink ? eg: ln -s 
/usr/x11R6/lib/libGl.so.14 /libGl.so.1 ? I tried  cding to the dir 
and typing exactly what I saw above, no good.
Please reply to me direct as I am not on the list.
Thank you in advance for all replies.

Andy




Yeah, looks like a symlink.  If your syntax
is good, that should do it.  I'm too cautious,
I'd just cd to that dir and do "ln -s thisfile thatfile"...
Kevin Kinsey



Hiya Kevin

Thanks for the quick reply ;) I have the same problem in being too 
cautious. I tought of backing up the libGl file just in case, but then 
if I restore the backup, the symilnk will still be in place, so if I do 
damage, I am not sure how to "unsymlink" (if that is a word lol) the 
file - should this cause problems with other programs, and am worried 
about destroying my system. As a newbie I have done a few installs in 
the last 6 months or so and have limited access to the net ATM so not  
in a good possie to rebuild. When I build the courage tho, I will do it 
the way you have suggested - cding to the directory.

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


Blender libGl.so.14 not found

2004-01-27 Thread andy
Hi all

Tring to install Blender on FreeBSD 4.7-RELEASE (found that this version 
works with the dreaded Ali chipset that kills all other distros with the 
contigmalloc1 error on installation in case that can help anyone)
Current problem I have is that when I try to use Blender (installed from 
the ports) I get the error
/usr/libexec/ld-elf.so.1: Shared object "libGL.so.14" not found
after googling found this link http://news.gw.com/freebsd.questions/160822
which says

 I assume you've already made the following
links under /usr/X11R6/lib/
libGL.so.14 -> libGL.so.1
libGLU.so.14 -> libGLU.so.1
OK, willing to give this a try, just don't know what links this refers 
to - would this be a symlink ? eg: ln -s /usr/x11R6/lib/libGl.so.14 
/libGl.so.1 ? I tried  cding to the dir and typing exactly what I saw 
above, no good.
Please reply to me direct as I am not on the list.
Thank you in advance for all replies.

Andy

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


Re: IBM 325 Server install - hangs on scsi settle

2004-01-16 Thread Andy Clements
fbsd_user wrote:

Changes to PC Bios before installing FBSD

unfortunately, the BIOS on the machine is from 1997.  It's IBM's 
SureBIOS.  I've tried finding a update on IBM's site but no luck.

Virus Warning=, set this option to disable. It's a firmware check of
the hard drive boot sector looking for MS/Windows boot virus. This
will stop FBSD booting from the install CDROM.
set to disable

plug-n-play=,  set this option to disable. FBSD is not sensitive to
Microsoft plug-n-play standard and may refuse to install, or cause
PCI cards not to be found.
not available on BIOS

Disable or set to auto any Bio's option to assign irq numbers to PCI
expansion slots.
 

all set to auto

Disable any ISA expansion slots.
 

not available on BIOS

Operating system type=, set to 'other' or any Unix type of operating
system, don't set to MS/Windows.
 

not available on BIOS

Check to see if the cdrom drive is the slave to the IDE master Hard
drive you are installing to, if so then move the cdrom drive to the
secondary IDE controller as master. There should not be any cdrom
drive sharing the primary IDE controller with the master Hard Drive.
 

The HDDs and CDROM are on SCSI, so I don't think they have any IDE 
controller.  Anyone can feel free to correct me on this issue if I am 
incorrect.

boot sequence=, set this option to (CDROM,C) Since you are
installing FBSD from CDROM you must tell the PC what I/O device to
look at to boot from. Keep in mind that some older CD-ROMs drives
and older PC bios do not support booting off CD-ROM. Generally with
PC manufactured after 1999 this is not the problem.
 

BIOS is old so the old boot option I have is floppy.  The SCSI BIOS had 
a boot option, which I tried.  That failed however, and brought error 
codes from the PC BIOS because it moved the floppy drive to B: and took 
over the a: slot.

When FreeBSD attempts to boot the machine, ahc0 driver (for the Adaptec 
AIC-7880 controller) is loaded but throws the weirdest error:
ahc0: Illegal Configuration. Only two connectors on the adapter can be 
used at one time.
which means nothing to me.  Does anyone know what it is asking for?  I 
even tried removing the CDROM from the SCSI and booting , but the same 
error appears.

Others have loaded 4.9 on 325 PC Servers, however there is something 
about my configuration that is giving the ahc0 driver fits. 

again, please cc with your response as I am not on the list.

Thanks,
Andy Clements
original request:

I have IBM 325 PCServer with one 200 Pentium Pro CPU and two SCSI
HDD
drives and a SCSI CDROM.  I'm installing FreeBSD 4.9 via floppy and
it
hangs when it says:
Waiting 15 seconds for drives to settle

I notice that it is accessing the cdrom, during the wait, but
nothing
else happens.  I've checked the mailing list and all I see is to
turn
the bios virus detect off.  It seem that quite a few people are
having
this problem...
any ideas? interrupt problem?
 

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


Re: IBM 325 Server install - hangs on scsi settle

2004-01-16 Thread Andy Clements
Mike Galvez wrote:

On Thu, Jan 15, 2004 at 03:49:30PM -0700, Andy Clements wrote:
 

Hello,

I have IBM 325 PCServer with one 200 Pentium Pro CPU and two SCSI HDD 
drives and a SCSI CDROM.  I'm installing FreeBSD 4.9 via floppy and it 
hangs when it says:

Waiting 15 seconds for drives to settle

I notice that it is accessing the cdrom, during the wait, but nothing 
else happens.  I've checked the mailing list and all I see is to turn 
the bios virus detect off.  It seem that quite a few people are having 
this problem...

any ideas? interrupt problem?

please CC with your reply as I am not on the list.

Thanks in advance,
Andy Clements
   

I have a couple of 325s with on-board SCSI, SCSI CDROM. Make sure that
your SCSI devices are not set to the same ID as the SCSI card or each
other.
 

The HDDs are on SCSI 0 and 1  and the CDROM is on 6.  At least that is 
what the SCSI BIOS is saying.

Upon plying deeper into the problem I noticed that the ahc0 driver 
(which is the correct driver for my Adaptec AIC-7880) is saying that  
that there is an illegal configuration where there are more than two 
controllers attached to the cable (or something to that effect, 
unfortunately the machine is not in front of me).  I remove the CDROM 
from the SCSI cable and still got the same message.  Is there something 
I can do in the kernel configuration that would solve this?  I also 
notice that IRQ15, where the SCSI is attached, is being used by an ATA 
/ATAPI driver.  Is this correct? 

I don't know whether this helps but I've installed FedoraCore1 on this 
same machine with no problem - I would assume this leans towards the 
fact that there may be no hardware/BIOS problem.

Thanks for your help so far!

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


IBM 325 Server install - hangs on scsi settle

2004-01-15 Thread Andy Clements
Hello,

I have IBM 325 PCServer with one 200 Pentium Pro CPU and two SCSI HDD 
drives and a SCSI CDROM.  I'm installing FreeBSD 4.9 via floppy and it 
hangs when it says:

Waiting 15 seconds for drives to settle

I notice that it is accessing the cdrom, during the wait, but nothing 
else happens.  I've checked the mailing list and all I see is to turn 
the bios virus detect off.  It seem that quite a few people are having 
this problem...

any ideas? interrupt problem?

please CC with your reply as I am not on the list.

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


php5 compile fail

2003-12-14 Thread Aleksander Rozman - Andy
Hi !

I am having weird problem. I tried to install php5 but it seems that 
FreeBSD has some stuff missing. In resolv.h, we are mising 4 aliases 
res_ninit, res_nmkquery, res_nsend, res_nclose. I was working with some 
people on php site, to disover why my compile fails and we came to this 
conclusion, that FreeBSD is missing this aliases. Did anybody else have the 
same problem? How did you solve it?

Take care,
Andy


**
*  Aleksander Rozman - Andy  * Fandoms:  E2:EA, SAABer, Trekkie, Earthie *
* [EMAIL PROTECTED] * Sentinel, BH 90210, True's Trooper,   *
*[EMAIL PROTECTED]   * Heller's Angel, Questie, Legacy, PO5, *
* Maribor, Slovenia (Europe) * Profiler, Buffy (Slayerete), Pretender*
* ICQ-UIC: 4911125   *
* PGP key available  *http://www.atechnet.dhs.org/~andy/ *
**
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs-mirror to nfs mount

2003-12-12 Thread Andy McCarty

Hello all,
I have googled around and found some questions
about this but no answers.

I have a NAS that we mount for home directories.
I would like the cvsup-mirror to be /home/ncvs just
like the default install but I get errors in my log
files and the update fails with the following error.  

Nonexistent prefix "/usr/local/etc/cvsup/prefixes/FreeBSD.cvs" for cvs-all/cvs


The mirror is successful if the prefix is changed to the
local disk.

Any clues would be greatly appreciated.

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


php5 compile fail

2003-12-11 Thread Aleksander Rozman - Andy
Hi !

I am having weird problem. I tried to install php5 but it seems that 
FreeBSD has some stuff missing. In resolv.h, we are mising 4 aliases 
res_ninit, res_nmkquery, res_nsend, res_nclose. I was working with some 
people on php site, to disover why my compile fails and we came to this 
conclusion, that FreeBSD is missing this aliases. Did anybody else have the 
same problem? How did you solve it?

Take care,
Andy


**
*  Aleksander Rozman - Andy  * Fandoms:  E2:EA, SAABer, Trekkie, Earthie *
* [EMAIL PROTECTED] * Sentinel, BH 90210, True's Trooper,   *
*[EMAIL PROTECTED]   * Heller's Angel, Questie, Legacy, PO5, *
* Maribor, Slovenia (Europe) * Profiler, Buffy (Slayerete), Pretender*
* ICQ-UIC: 4911125   *
* PGP key available  *http://www.atechnet.dhs.org/~andy/ *
**
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Console resolution

2003-12-08 Thread Aleksander Rozman - Andy
Hi !

I have just installed FreeBSD onto my notebook. I am using FreeBSD for 
quite some time, and now I decided to install it on my notebook (I got 
tired of both RedHat and Windows 2000, which both didn't work as they 
should (I had both installed on same computer)) and remove everything else 
from it.
Problem is that this notebok Toshiba, has *very* ugly system font. On 
RedHat I solved this problem, by giving higher resolution to text mode 
(which I what I would like to do here). I am wondering if this is also 
possible on freebsd. I use text mode a lot, so this is quite important, I 
use Xwindows only if I must...

Take care.
Andy
**
*  Aleksander Rozman - Andy  * Fandoms:  E2:EA, SAABer, Trekkie, Earthie *
* [EMAIL PROTECTED] * Sentinel, BH 90210, True's Trooper,   *
*[EMAIL PROTECTED]   * Heller's Angel, Questie, Legacy, PO5, *
* Maribor, Slovenia (Europe) * Profiler, Buffy (Slayerete), Pretender*
* ICQ-UIC: 4911125   *
* PGP key available  *http://www.atechnet.dhs.org/~andy/ *
**
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


<    1   2   3   4   5   6   7   >