Re: Jail and disk space

2005-06-06 Thread Tim Aslat
On Sun, 5 Jun 2005 02:00:35 -0500
"DrVince" <[EMAIL PROTECTED]> wrote:
> Could I use quota to limit jails?

Not really, but you might be able to use a "memory disk" (man md,
mdconfig) to limit the entire jail to a set size.

I haven't tried this myself, but I'm guessing something like this should
work.

#--- create jail script ---
#!/bin/sh
ID=${ARGV[1]}
DEST=/jails/jail.${ID}
IMAGE=/jails/images/jail.${ID}

# create a blank disk image of 512 Mb
dd if=/dev/zero of=${IMAGE} bs=1024k count=512
mdconfig -a -t vnode -f ${IMAGE} -u ${ID}
bsdlabel -w md${ID} auto
newfs md${ID}c
mount /dev/md${ID}c ${DEST}

# create jail using created image
cd /usr/src
mkdir -p ${DEST}
make world DESTDIR=${DEST}
cd etc
make distribution DESTDIR=${DEST}
mount_devfs devfs ${DEST}/dev
cd ${DEST}
ln -sf dev/null kernel
# End script ---

Again, I haven't tested this, I've just copied & pasted from the
various man pages into a semi-coherent script.

Cheers

Tim

-- 
Tim Aslat <[EMAIL PROTECTED]>
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 8 84193434
Mobile: +61 0401088479
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Jail and disk space

2005-06-06 Thread Björn König

Tim Aslat wrote:


"DrVince" <[EMAIL PROTECTED]> wrote:


Could I use quota to limit jails?


Not really, but you might be able to use a "memory disk" (man md,
mdconfig) to limit the entire jail to a set size.

I haven't tried this myself, but I'm guessing something like this should
work.


This sounds like a great idea. It would make backups and moving resp. 
copying jails much easier.


Thanks for this thought. I'll try it today.

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


Re: SATA HD power management disabling

2005-06-06 Thread Alex Zbyslaw

O. Hartmann wrote:


Hello.
Using atacontrol cap  
shows me on both devices

power management   yes  yes
advanced power management  yes  no
automatic acoustic management  yes  yes



You can try the Feature Tool here: 
http://www.hitachigst.com/hdd/support/download.htm  You need to create a 
bootable floppy.  It's the only way I've  found to control AAM (which I 
want ON, but if you like grinding seek chatter, who am I to argue :-)).  
It does APM as well.


If you find any other ways, I'd love to know.

--Alex


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


Re: patch errors

2005-06-06 Thread Alex Zbyslaw

FreeBSD MailingLists wrote:


on all other servers I cvsup the src and ports tree, but for some
reason the internet connection at the location of this particular
server gets kicked when I start cvsup.  so I had to resort to this
method.

I am not entirely convinced that it is a stale patch issue for 2 reasons.
1)  I have untar'd the same file on 2 different servers and only this
one has issues updating the ports
2) I have tar'd up the /usr/ports dir from a different server that
updates via cvsup.  The original server updates fine but when untar'd
on this particular server the same exact patch errors appear.

which leads me to believe the error is outside the ports tree itself.
 

Did you delete the ports tree before untaring?  You don't mention that.  
(You could also investigate rsync or rdist to keep this machine's port 
tree up to date since that will do the deletions for you).


--Alex

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


Re: Logitech Cordless Internet Pro Desktop

2005-06-06 Thread Riv Octovahriz
Ruben van Staveren wrote:

>
> On 18 May 2005, at 9:20, Paig Chong Woo wrote:
>
>>>
>>> It seems that FreeBSD already detect the mouse as ums0, and the 
>>> keyboard
>>> as ukbd0, but my mouse didn't work.
>>> usbd already attach my mouse as ums0, and still nothing happens
>>>
>>> Anyone had the similar problem? Or even better, does anyone has any
>>> solution for this :-)
>>
>
> Please see http://www.freebsd.org/cgi/query-pr.cgi?pr=63837 for a fix.
>
> Works for my Logitech Cordless Desktop.
>
> Regards,
> Ruben
>
>
>
thank you so much, it works perfectly :)


signature.asc
Description: OpenPGP digital signature


Re: FreeBSD Co-location

2005-06-06 Thread dgmm
On Sunday 05 June 2005 22:43, Vinicius Pavanelli Vianna wrote:
> I'm looking for FreeBSD co-located servers on united states or any other
> country that have good internet connections, for a secondary backup of
> data and web host for the company I work to, sorry for this OT message,
> but could any of you send me good sites where i can find this? Is
> difficult to judge well too outside of this market.

Have you considered the implications of storing data out of country?  There 
may be laws relating to your data and what you can do with it either local to 
you or local to where you store it.

Depending on the data, it may be a non-issue, but I know of at least one 
company who's been bitten by this.

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


Performance

2005-06-06 Thread Michael Louie Loria
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

Will FreeBSD 5.4 run smoothly in a Compaq 750 Mhz, 64
MB RAM PC
installing all of the packages because I want to test
and try setting up
different servers?

Thanks,

Michael Louie Loria
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (MingW32)
Comment: GPG Public Key:
https://www.biglumber.com/x/web?qs=0x4A256EC8
Comment: GPG Public Key:
http://www.lorztech.com/GPG.txt
Comment: Yahoo ID: michaellouieloria

iD8DBQFCpPDEEWLHf0olbsgRA4T4AJ9GzRfuyjNk6hlau8CanjYZoJIpvgCdEwjf
VOX7CUNkAaAfVOZ1Y+eYuX8=
=STlq
-END PGP SIGNATURE-


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.6.2 - Release
Date: 6/4/2005




__ 
Discover Yahoo! 
Get on-the-go sports scores, stock quotes, news and more. Check it out! 
http://discover.yahoo.com/mobile.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


PHP on freebsd ports not working

2005-06-06 Thread Philip Wege
Unable to get php to work through ports system:

Php5 and Apache2 is being used.

The test script looks like this :


Hello World






Logs only says :

[Mon Jun 06 07:50:48 2005] [notice] caught SIGTERM, shutting down
[Mon Jun 06 07:53:12 2005] [notice] Apache/2.0.54 (FreeBSD) PHP/5.0.4
configured -- resuming normal operations

The following was added to httpd.conf :

LoadModule php5_modulelibexec/apache2/libphp5.so

When the one open machineip/test.php , it displayes the empty webpage
and its title.

I got a feeling im missing config lines that needs to be added to
httpd.conf , can anyone help ? 





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


Re: Performance

2005-06-06 Thread Oliver Leitner

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Michael Louie Loria wrote:
| Will FreeBSD 5.4 run smoothly in a Compaq 750 Mhz, 64
| MB RAM PC
| installing all of the packages because I want to test
| and try setting up
| different servers?
|
| Thanks,
|
| Michael Louie Loria

Dear Michael

e

thats a pretty heavy machine for an os that runs on 486...

well, depending on which exact servers, software or programs you want to
run on it, its either enough, or it isnt...

if you want more exact calcs, please apply us with some more information...

Greetings
Oliver Leitner
Technical Staff
http://www.shells.at
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (MingW32)

iD8DBQFCpAAYWvEVE8MtwbgRAnHcAJ9C1J93ci3u5lCdhYan9fohPcGsigCfXS42
ljZU3fi4VLKTvcDYo6LwGes=
=bLPx
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Performance

2005-06-06 Thread Michael Louie Loria
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

Oliver Leitner wrote:
> Michael Louie Loria wrote:
> | Will FreeBSD 5.4 run smoothly in a Compaq 750 Mhz,
64
> | MB RAM PC
> | installing all of the packages because I want to
test
> | and try setting up
> | different servers?
> |
> | Thanks,
> |
> | Michael Louie Loria
> 
> Dear Michael
> 
> e
> 
> thats a pretty heavy machine for an os that runs on
486...
> 
> well, depending on which exact servers, software or
programs you want to
> run on it, its either enough, or it isnt...
> 
> if you want more exact calcs, please apply us with
some more information...
> 
> Greetings
> Oliver Leitner
> Technical Staff
> http://www.shells.at

I want to try setting up DNS, Email, SSH ... servers.
For educational
purposes only. I will also use it surfing the web,
emails, word
processing, programming, multimedia like playing audio
cd's and mp3.

750Mhz
64MB RAM
20GB Hard disk
128Kbps DSL connection via Linksys router

Thanks,

Michael Louie Loria
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (MingW32)
Comment: GPG Public Key:
https://www.biglumber.com/x/web?qs=0x4A256EC8
Comment: GPG Public Key:
http://www.lorztech.com/GPG.txt
Comment: Yahoo ID: michaellouieloria

iD8DBQFCpPR8EWLHf0olbsgRA3bLAJ9mS6lOoVnj+qcR3AXbNi/sEOYWzgCdH7GY
y/bLYiprWKcmSH4G0CCxdZk=
=3YfN
-END PGP SIGNATURE-


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.6.2 - Release
Date: 6/4/2005


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


Re: PHP on freebsd ports not working

2005-06-06 Thread Nelis Lamprecht
On 6/6/05, Philip Wege <[EMAIL PROTECTED]> wrote:
> Unable to get php to work through ports system:
> 
> Php5 and Apache2 is being used.
> 
> The test script looks like this :
> 
> 
> Hello World
> 
> 
>  echo "Hello World";
> ?>
> 
> 
> 
> Logs only says :
> 
> [Mon Jun 06 07:50:48 2005] [notice] caught SIGTERM, shutting down
> [Mon Jun 06 07:53:12 2005] [notice] Apache/2.0.54 (FreeBSD) PHP/5.0.4
> configured -- resuming normal operations
> 
> The following was added to httpd.conf :
> 
> LoadModule php5_modulelibexec/apache2/libphp5.so
> 
> When the one open machineip/test.php , it displayes the empty webpage
> and its title.
> 
> I got a feeling im missing config lines that needs to be added to
> httpd.conf , can anyone help ?
> 

I assume you added the following which would have displayed after your
php5 installation:

[EMAIL PROTECTED]>$ pkg_info -D php5-5.0.4_1
Information for php5-5.0.4_1:

Install notice:
***

Make sure index.php is part of your DirectoryIndex.

You should add the following to your Apache configuration file:

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

***

Also, it's probably best to test your php5 installation using phpinfo();
Just add  to a filename.php and access it via your web browser.

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


Re: Performance

2005-06-06 Thread Dmitry Mityugov
On 6/6/05, Michael Louie Loria wrote:
...
> I want to try setting up DNS, Email, SSH ... servers.
> For educational
> purposes only. I will also use it surfing the web,
> emails, word
> processing, programming, multimedia like playing audio
> cd's and mp3.
> 
> 750Mhz
> 64MB RAM
> 20GB Hard disk
> 128Kbps DSL connection via Linksys router

I believe that with only 64MB RAM, you should avoid heavy-weight
window managers like KDE or Gnome. In addition, you'll probably need
to create a large swap partition, larger than the installation program
will suggest.

-- 
Dmitry

"We live less by imagination than despite it" - Rockwell Kent, "N by E"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: DNS and Gateway in FreeBSD?

2005-06-06 Thread Xu Qiang
? ? wrote:
> Xu Qiang wrote:
> 
>> Hi, all:
>> 
>> In setting up my FreeBSD machine in my LAN, I only assigned it an ip
>> address and a netmask, just as the handbook said
>> (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/config-network-setup.html).
>> 
>> But after that, it can identify the proxy server's name even i
>> didn't give it an explicit DNS server ip address. (It can ping
>> proxy.abc.com) And I found the gateway is also found automatically
>> by the machine. (It is automatically added into the line beginnin
>> with "defaultrouter=")
>> 
>> Is it designed behavior? I can't understand that. :(
>> 
>> Regards,
>> Xu Qiang
>> 
>> 
> May be, you have dhcp client runned on this machine ?


No, I didn't have dhcp installed. :(

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

vipw: could not lock the passwd file: : Operation not supported

2005-06-06 Thread Valerio Daelli

Hi all,
we have FreeBSD 5.4 jail which is mounted via NFS from a host machine.
The filesystem containing the jail is mounted from a remote machine.
Everything is fine, except when I try to add a user in the jail I get a:

vipw: could not lock the passwd file: : Operation not supported

I solved the problem in pwd_mkdb using the -i switch.
But I can't find any similar options in vipw.
Has anyone an idea about this?
Bye

Valerio Daelli


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


Bento Cluster

2005-06-06 Thread Mloumi
dear sir,
hen i asked the question about the Bento Cluster, some one gives me this adress 
:
http://pointyhat.freebsd.org/errorlogs/
is it the new name of the "BENTO Cluster" or is it another project.
else on this page, where is the exact link to the "Bento Cluster" and is there 
any images about this project on this site or on the internet.
THANKS
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Kernel complains of Infinite interrupt loop

2005-06-06 Thread Noah
freebsd-4.11-p3
bacula-1.36
onstream ADR50 SCSI External tape drive


well I just dont know what all this means so I am asking for some guidance.  I
was backing up to an onstream ADR50 tape drive with bacula.  The process since
errored and the daemon is stopped.  I dont know why these Infinite interrupt
loop messages are ending up every minute in the /var/log/messages file.

clues please?



--- snip ---

Jun  5 21:48:27 typhoon /kernel: Infinite interrupt loop, INTSTAT = 0ahc1:
Recovery Initiated
Jun  5 21:48:27 typhoon /kernel: >> Dump Card State Begins
<
Jun  5 21:48:27 typhoon /kernel: ahc1: Dumping Card State while idle, at
SEQADDR 0x18
Jun  5 21:48:27 typhoon /kernel: Card was paused
Jun  5 21:48:27 typhoon /kernel: ACCUM = 0x4, SINDEX = 0x48, DINDEX = 0xe4,
ARG_2 = 0x1
Jun  5 21:48:27 typhoon /kernel: HCNT = 0x0 SCBPTR = 0x0
Jun  5 21:48:27 typhoon /kernel: SCSIPHASE[0x0] SCSISIGI[0x18] ERROR[0x0]
SCSIBUSL[0x0] 
Jun  5 21:48:27 typhoon /kernel: LASTPHASE[0x1] SCSISEQ[0x1a] SBLKCTL[0xa]
SCSIRATE[0x0] 
Jun  5 21:48:27 typhoon /kernel: SEQCTL[0x10] SEQ_FLAGS[0xc0] SSTAT0[0x10]
SSTAT1[0x0] 
Jun  5 21:48:27 typhoon /kernel: SSTAT2[0x0] SSTAT3[0x0] SIMODE0[0x8]
SIMODE1[0xac] 
Jun  5 21:48:27 typhoon /kernel: SXFRCTL0[0x80] DFCNTRL[0x0] DFSTATUS[0x89] 
Jun  5 21:48:27 typhoon /kernel: STACK: 0x0 0x164 0x179 0x17
Jun  5 21:48:27 typhoon /kernel: SCB count = 20
Jun  5 21:48:27 typhoon /kernel: Kernel NEXTQSCB = 14
Jun  5 21:48:27 typhoon /kernel: Card NEXTQSCB = 14
Jun  5 21:48:27 typhoon /kernel: QINFIFO entries: 
Jun  5 21:48:27 typhoon /kernel: Waiting Queue entries: 0:4 
Jun  5 21:48:27 typhoon /kernel: Disconnected Queue entries: 
Jun  5 21:48:27 typhoon /kernel: QOUTFIFO entries: 
Jun  5 21:48:27 typhoon /kernel: Sequencer Free SCB List: 1 2 3 4 5 6 7 8 9 10
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 
Jun  5 21:48:27 typhoon /kernel: Sequencer SCB Info: 
Jun  5 21:48:27 typhoon /kernel: 0 SCB_CONTROL[0x50] SCB_SCSIID[0x57]
SCB_LUN[0x0] SCB_TAG[0x4] 
Jun  5 21:48:27 typhoon /kernel: 1 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff] 
Jun  5 21:48:27 typhoon /kernel: 2 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff] 
Jun  5 21:48:27 typhoon /kernel: 3 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff] 
Jun  5 21:48:27 typhoon /kernel: 4 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff] 
Jun  5 21:48:27 typhoon /kernel: 5 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff] 
Jun  5 21:48:27 typhoon /kernel: 6 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff] 
Jun  5 21:48:27 typhoon /kernel: 7 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff] 
Jun  5 21:48:27 typhoon /kernel: 8 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff] 
Jun  5 21:48:27 typhoon /kernel: 9 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff] 
Jun  5 21:48:27 typhoon /kernel: 10 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff] 
Jun  5 21:48:27 typhoon /kernel: 11 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff] 
Jun  5 21:48:27 typhoon /kernel: 12 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff] 
Jun  5 21:48:27 typhoon /kernel: 13 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff] 
Jun  5 21:48:27 typhoon /kernel: 14 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff] 
Jun  5 21:48:27 typhoon /kernel: 15 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff] 
Jun  5 21:48:27 typhoon /kernel: 16 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff] 
Jun  5 21:48:27 typhoon /kernel: 17 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff] 
Jun  5 21:48:27 typhoon /kernel: 18 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff] 
Jun  5 21:48:27 typhoon /kernel: 19 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff] 
Jun  5 21:48:27 typhoon /kernel: 20 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff] 
Jun  5 21:48:27 typhoon /kernel: 21 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff] 
Jun  5 21:48:27 typhoon /kernel: 22 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff] 
Jun  5 21:48:27 typhoon /kernel: 23 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff] 
Jun  5 21:48:27 typhoon /kernel: 24 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff] 
Jun  5 21:48:27 typhoon /kernel: 25 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff] 
Jun  5 21:48:27 typhoon /kernel: 26 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff] 
Jun  5 21:48:27 typhoon /kernel: 27 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff] 
Jun  5 21:48:27 typhoon /kernel: 28 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff] 
Jun  5 21:48:27 typhoon /kernel: 29 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff] 
Jun  5 21:48:27 typhoon /kernel: 30 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff]

FreeBSD 5.x with > 70k users?

2005-06-06 Thread Ben Hockenhull
Hi there,

I'm attempting to migrate an old BSDI system to FreeBSD.  The system in
question has about 71k users, with UIDs from about 2000 up to about 7.
When I import the master.passwd file (formats are the same) to the new
system and try to rebuild the .db files, it fails with a pwd_mkdb: put:
Unknown error: 0 .

As best I can tell, if I import a small subset of the users (about 5k),
things work fine.  From what I understand, FreeBSD can have massive UIDs,
with the caveat that some applications may not like UIDs > 65535.

I did some research and found someone reporting an identical problem, but
didn't see that he'd found a solution.  Any input, pointers, solutions
greatly appreciated.

Ben


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


SSH, SSL and DNS headaches

2005-06-06 Thread dwinner-lists
Can anybody provide me with some insight into this before I rip all of my hair 
out:

Starting 3 days ago, suddenly it seemed to take a very, very, verly long time 
for ssh and ssl communications to negotiate between nodes on my network.

I have 3 subnets:

a LAN (10.10.0.0/16)
a DMZ (10.20.0.0/16)
a secured subnet for databases (10.30.0.0/16)

I have 2 DNS/Bind servers running in the DMZ: 1 for the public web servers that 
get NAT'd, and provide public DNS lookups for the outside world. The other DNS 
server is for internal queries, providing the cooresponding private IP 
addresses to LAN clients and servers in the DMZ and secure subnet. Both sDNS 
servers are running FreeBSD (one is 5.2.1, the other is 5.3)

Everything has been working great for months, until, like I said, 3 days ago. 
Some SSH negotiations were taking so long that they would time out before I 
would have a chance to enter the password for my private key. Apache/SSL 
communincations are also taking a long time. But when I make intial connections 
over port 80, it is very fast. I have also been able to make straight 
postgresql connections from nodes on my LAN to database servers in my secure 
subnet, but if I ssh to and from the same boxesslow timeouts. It seems to 
be that encrypted traffic is having a problem.

The weird thing is that when I tried on a couple of servers to change the DNS 
server in resolv.conf from the internal (private IP address) DNS server to the 
public server, it seemed to speed things up. But I don't understand whywhy 
would it be faster if a lookup reply is providing the external PUBLIC ip 
address instead of the internal PRIVATE ip address? And I also don't understand 
why this would have just suddenly started 3 days ago after working fine.

All the subnets are seperated by a Cisco PIX 515 firewall, and I see no errors 
on it. I also see no errors on any of my FreeBSD boxes in the logs (other than 
the SSH timeout errors). I've tried rebooting the PIX, rebooting my DNS 
servers, rebooting all the equipment on my communication rack (router, 
firewall, switches, etc.). I'm really confused.

One thing that has helped is that on 5.3 boxes, I put "UseDNS no" in 
sshd_config, and that seemed to help the SSH problem (but no Apache/SSL). I 
can't do this on all the boxes, though...some are 5.2.1, and when I put the 
same directive in there, I get an invalid config message when I try to restart 
SSH.

Thanks for any help on this. I am going insane.

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


Re: Looking for files older than n number of days?

2005-06-06 Thread Francisco Reyes

On Sun, 5 Jun 2005, Dan Nelson wrote:


I ran it on a directory and was surprised to find that both -5 AND +5
listed a file from February. :-(


-5 definitely should not, and doesn't on my system.  It should be
interpreted as "less than 5 days from midnight tonight".


I think I found a bug in find.
If you add the '-ls' parameter before the -mtime it ignores mtime.
Example:
find . -ls -mtime -5d
Shows all files in directory.


find . -mtime -5d -ls
Shows correctly files modified less than 5 days old.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Fast partial reboot?

2005-06-06 Thread Paul Hoffman
Greetings again. Under 5.x, is there a way to quickly reboot FreeBSD 
if I'm not sitting at the console? I want the equivalent of, if I 
were sitting at the console, 'shutdown now' followed by specifying 
'/bin/sh' followed by 'exit'.

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


Re: Looking for files older than n number of days?

2005-06-06 Thread Jerry McAllister
> 
> On Sun, 5 Jun 2005, Dan Nelson wrote:
> 
> >> I ran it on a directory and was surprised to find that both -5 AND +5
> >> listed a file from February. :-(
> >
> > -5 definitely should not, and doesn't on my system.  It should be
> > interpreted as "less than 5 days from midnight tonight".
> 
> I think I found a bug in find.
> If you add the '-ls' parameter before the -mtime it ignores mtime.
> Example:
> find . -ls -mtime -5d
> Shows all files in directory.
> 
> 
> find . -mtime -5d -ls
> Shows correctly files modified less than 5 days old.

I am not sure it is exactly a bug.  It seems to be dependant on how
find processes its parameters - in order of occurance.   A similar effect
can be seen with some other parameter combinations such as putting -print
in the wrong place - you can get all files in the system printed or none
rather than just what you want.   Possibly the man page needs to be
updated to make the effect of parameter order clear.

jerry

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

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


RE: Performance

2005-06-06 Thread Michael Louie Loria
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

Thanks for the advices. I nid more RAM ;-)

Michael Louie Loria
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (MingW32)
Comment: GPG Public Key:
https://www.biglumber.com/x/web?qs=0x4A256EC8
Comment: GPG Public Key:
http://www.lorztech.com/GPG.txt
Comment: Yahoo ID: michaellouieloria

iD8DBQFCpS3jEWLHf0olbsgRAx3eAJ0bsLwwvpqAY2DwnxnUOnOaT83LKACfRtXn
/1NJTHJGJayaVscC2gTaF6o=
=XZ7Z
-END PGP SIGNATURE-


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.6.2 - Release
Date: 6/4/2005




__ 
Discover Yahoo! 
Use Yahoo! to plan a weekend, have fun online and more. Check it out! 
http://discover.yahoo.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Looking for files older than n number of days?

2005-06-06 Thread Dan Nelson
In the last episode (Jun 06), Jerry McAllister said:
> > I think I found a bug in find.
> > If you add the '-ls' parameter before the -mtime it ignores mtime.
> > Example:
> > find . -ls -mtime -5d
> > Shows all files in directory.
> > 
> > find . -mtime -5d -ls
> > Shows correctly files modified less than 5 days old.
> 
> I am not sure it is exactly a bug.  It seems to be dependant on how
> find processes its parameters - in order of occurance.  A similar
> effect can be seen with some other parameter combinations such as
> putting -print in the wrong place - you can get all files in the
> system printed or none rather than just what you want.  Possibly the
> man page needs to be updated to make the effect of parameter order
> clear.

Correct.  Each primary returns 'true' or 'false', and the first 'false'
primary causes process to end for that file.

OPERATORS
 The primaries may be combined using the following operators.  The
 operators are listed in order of decreasing precedence.
[...]
 expression -and expression
 expression expression
  The -and operator is the logical AND operator.  As it is
  implied by the juxtaposition of two expressions it does not
  have to be specified.  The expression evaluates to true if
  both expressions are true.  The second expression is not
  evaluated if the first expression is false.

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


Re: Looking for files older than n number of days?

2005-06-06 Thread Francisco Reyes

On Mon, 6 Jun 2005, Jerry McAllister wrote:


find . -mtime -5d -ls
Shows correctly files modified less than 5 days old.


in the wrong place - you can get all files in the system printed or none
rather than just what you want.   Possibly the man page needs to be
updated to make the effect of parameter order clear.


And that would probably be simpler too than changing the code too.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


rsyncing a SMBFS fiole system

2005-06-06 Thread munn

My machine id is:
FreeBSD isca.dyndns.org 5.3-RELEASE-p15 FreeBSD 5.3-RELEASE-p15 #2: Sat 
May 14 11:09:57 EDT 2005 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386


I am trying to use rsync to backup some photographic files.  When I run 
my script ./Photos.sh on the smbfs file system ~/testmnt it errors with 
the following message.


[isca]rsync sudo ./Photos.sh ~/testmnt/
rsync: readdir("/disk2/home/munn/testmnt/BillMorocco/Sahara"): Bad file 
descriptor (9)

rsync error: some files could not be transferred (code 23) at main.c(789)
[isca]rsync

The rsync logfile contains the following:

Directory /disk2/home/munn/testmnt/
/usr/local/bin/rsync -rptgovR --exclude-from=./excludes14021 --delete 
--backup --backup-dir=/photos//Jun0605 /disk2/home/munn/testmn

t/ /photos//testrsync
building file list ... done
IO error encountered -- skipping file deletion
/disk2/home/munn/testmnt/BillMorocco/Sahara/

sent 6206 bytes  received 26 bytes  12464.00 bytes/sec
total size is 593701823  speedup is 95266.66

Googling on the bad file descriptor message, there are a couple of 
messages noting the same problem and asking for help.  So far as I can 
see there were no responses.


I have one additional observation.  If I delete one file from the 
directory /disk2/home/munn/testmnt/BillMorocco/Sahara then the script 
runs perfectly.  It doesn't matter what file is deleted.


If I copy the directory structure from the XP machine to the FreeBSD 
one, the script works perfectly.


Obviously I have a workaround ... the excludes file with the entry 
Sahara ignores the failing directory but I would prefer to understand 
the error.


Any help or suggestions would be appreciated 

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


Re: Looking for files older than n number of days?

2005-06-06 Thread Francisco Reyes

On Mon, 6 Jun 2005, Dan Nelson wrote:


OPERATORS
The primaries may be combined using the following operators.  The
operators are listed in order of decreasing precedence.
[...]
expression -and expression
expression expression
 The -and operator is the logical AND operator.  As it is
 implied by the juxtaposition of two expressions it does not
 have to be specified.  The expression evaluates to true if
 both expressions are true.  The second expression is not
 evaluated if the first expression is false.


Does that mean that "-ls" always evaluates to false?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Looking for files older than n number of days?

2005-06-06 Thread Jerry McAllister
> 
> In the last episode (Jun 06), Jerry McAllister said:
> > > I think I found a bug in find.
> > > If you add the '-ls' parameter before the -mtime it ignores mtime.
> > > Example:
> > > find . -ls -mtime -5d
> > > Shows all files in directory.
> > > 
> > > find . -mtime -5d -ls
> > > Shows correctly files modified less than 5 days old.
> > 
> > I am not sure it is exactly a bug.  It seems to be dependant on how
> > find processes its parameters - in order of occurance.  A similar
> > effect can be seen with some other parameter combinations such as
> > putting -print in the wrong place - you can get all files in the
> > system printed or none rather than just what you want.  Possibly the
> > man page needs to be updated to make the effect of parameter order
> > clear.
> 
> Correct.  Each primary returns 'true' or 'false', and the first 'false'
> primary causes process to end for that file.
> 
> OPERATORS
>  The primaries may be combined using the following operators.  The
>  operators are listed in order of decreasing precedence.
> [...]
>  expression -and expression
>  expression expression
>   The -and operator is the logical AND operator.  As it is
>   implied by the juxtaposition of two expressions it does not
>   have to be specified.  The expression evaluates to true if
>   both expressions are true.  The second expression is not
>   evaluated if the first expression is false.

Unfortunately, that kind of precise operational language blows right
by someone with not much experience with such things.That is true
of many points of documentation.   It often takes some more conversational
type language to unlock the official language.

jerry

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


Re: Looking for files older than n number of days?

2005-06-06 Thread Dan Nelson
In the last episode (Jun 06), Francisco Reyes said:
> On Mon, 6 Jun 2005, Dan Nelson wrote:
> >OPERATORS
> >The primaries may be combined using the following operators. 
> >The operators are listed in order of decreasing precedence.
> >[...]
> >expression -and expression
> >expression expression
> > The -and operator is the logical AND operator.  As it is
> > implied by the juxtaposition of two expressions it does not
> > have to be specified.  The expression evaluates to true if
> > both expressions are true.  The second expression is not
> > evaluated if the first expression is false.
> 
> Does that mean that "-ls" always evaluates to false?

Nope; "find . -ls -ls"  will print every filename twice.  You might
want to list every filename for logging purposes, then do some other
processing (-delete maybe, or something called via -exec) on certain
other conditions.  More manpage pasting:

 -ls This primary always evaluates to true.  The following
 information for the current file is written to standard
 output: its inode number, size in 512-byte blocks, file
 permissions, number of hard links, owner, group, size in
 bytes, last modification time, and pathname.

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


Re: SSH, SSL and DNS headaches

2005-06-06 Thread Duane Winner
Well, it's a little comforting to know that it's not just me...and yup, 
that's about when it started for me: around noon (EST) on Friday 5/3.


Please post if you come up with anything.
I'm also trying to cross-post to [EMAIL PROTECTED]

Cheers,
DW

John Brooks wrote:


I am having a similar problem which started on friday at about
noon. This is on four freebsd boxes (4.11) that were updated via 
cvsup on May 3 from cvsup10, 11, and 12. These four boxes have

been in use for 18 months without issue. I make connections
to ip addresses and not resolvable names, so dns should not be
the show stopper in my case. I have already encountered two
other people experiencing the same type problem, one of which
had updated using cvsup10 in the same time frame as me. The
second has yet to respond.

I am heading over to the clients network now to run checksums
on the source code files. (I have other networks that are not
affected).

--
John Brooks
[EMAIL PROTECTED] 

 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Monday, June 06, 2005 8:55 AM
To: FreeBSD - Questions
Subject: SSH, SSL and DNS headaches


Can anybody provide me with some insight into this before I rip 
all of my hair out:


Starting 3 days ago, suddenly it seemed to take a very, very, 
verly long time for ssh and ssl communications to negotiate 
between nodes on my network.


I have 3 subnets:

a LAN (10.10.0.0/16)
a DMZ (10.20.0.0/16)
a secured subnet for databases (10.30.0.0/16)

I have 2 DNS/Bind servers running in the DMZ: 1 for the public 
web servers that get NAT'd, and provide public DNS lookups for 
the outside world. The other DNS server is for internal queries, 
providing the cooresponding private IP addresses to LAN clients 
and servers in the DMZ and secure subnet. Both sDNS servers are 
running FreeBSD (one is 5.2.1, the other is 5.3)


Everything has been working great for months, until, like I said, 
3 days ago. Some SSH negotiations were taking so long that they 
would time out before I would have a chance to enter the password 
for my private key. Apache/SSL communincations are also taking a 
long time. But when I make intial connections over port 80, it is 
very fast. I have also been able to make straight postgresql 
connections from nodes on my LAN to database servers in my secure 
subnet, but if I ssh to and from the same boxesslow timeouts. 
It seems to be that encrypted traffic is having a problem.


The weird thing is that when I tried on a couple of servers to 
change the DNS server in resolv.conf from the internal (private 
IP address) DNS server to the public server, it seemed to speed 
things up. But I don't understand whywhy would it be faster 
if a lookup reply is providing the external PUBLIC ip address 
instead of the internal PRIVATE ip address? And I also don't 
understand why this would have just suddenly started 3 days ago 
after working fine.


All the subnets are seperated by a Cisco PIX 515 firewall, and I 
see no errors on it. I also see no errors on any of my FreeBSD 
boxes in the logs (other than the SSH timeout errors). I've tried 
rebooting the PIX, rebooting my DNS servers, rebooting all the 
equipment on my communication rack (router, firewall, switches, 
etc.). I'm really confused.


One thing that has helped is that on 5.3 boxes, I put "UseDNS no" 
in sshd_config, and that seemed to help the SSH problem (but no 
Apache/SSL). I can't do this on all the boxes, though...some are 
5.2.1, and when I put the same directive in there, I get an 
invalid config message when I try to restart SSH.


Thanks for any help on this. I am going insane.

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


   



 



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


Re: copy configuraton to another box

2005-06-06 Thread K. Greenwood
--- Angelo Munez <[EMAIL PROTECTED]> wrote:

> Hi Bros,..
> 
> I need a little help... i have an existing freebsd
> box., im a newbie. the thing is i wnat to build
> another box and i just wnat to copy all
> configuration
> regardless of comilation of the kernel.. is there
> anyway i can do that,, to copy the firewall
> configutaion and all the rules of ipfw? thnks more
> power guys

Considering no one else has responded, I may as well
give an attempt.  The following page should be worth a
read.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NEW-HUGE-DISK

That being said however, you have failed to inform us
what version you currently have/will be upgrading to. 
That little variable could cause consternation.  I
assume that you know best whether you will upgrade
your system or not.

Good luck



__ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: DNS and Gateway in FreeBSD?

2005-06-06 Thread Lowell Gilbert
Xu Qiang <[EMAIL PROTECTED]> writes:

> ? ? wrote:
> > Xu Qiang wrote:
> > 
> >> Hi, all:
> >> 
> >> In setting up my FreeBSD machine in my LAN, I only assigned it an ip
> >> address and a netmask, just as the handbook said
> >> (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/config-network-setup.html).
> >> 
> >> But after that, it can identify the proxy server's name even i
> >> didn't give it an explicit DNS server ip address. (It can ping
> >> proxy.abc.com) And I found the gateway is also found automatically
> >> by the machine. (It is automatically added into the line beginnin
> >> with "defaultrouter=")
> >> 
> >> Is it designed behavior? I can't understand that. :(
> >> 
> >> Regards,
> >> Xu Qiang
> >> 
> >> 
> > May be, you have dhcp client runned on this machine ?
> 
> 
> No, I didn't have dhcp installed. :(

Yes, you do.  A dhcp client is part of the base system.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Fast partial reboot?

2005-06-06 Thread Tim Erlin
Paul Hoffman wrote:
> Greetings again. Under 5.x, is there a way to quickly reboot FreeBSD if
> I'm not sitting at the console? I want the equivalent of, if I were
> sitting at the console, 'shutdown now' followed by specifying '/bin/sh'
> followed by 'exit'.

Paul,

Sounds like you're looking for 'shutdown -r now'

You might check the man page for shutdown to verify that's what you
want. There's also 'fastboot' or 'reboot' which doesn't notify users and
cleanly terminate running processes.

--Tim Erlin

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


Re: KDE apps

2005-06-06 Thread Dick Hoogendijk
On 05 Jun Gary Kline wrote:
>   Anybody know a means of using some of the more nifty KDE 
>   tools--say, kdict--without using Gnome or KDE?

Run a window manager (fvwm2?) ;-)

The needed (kde) libs always need to be installed though.

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11 ++ FreeBSD 5.3
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Fast partial reboot?

2005-06-06 Thread Paul Hoffman

At 10:02 AM -0500 6/6/05, Tim Erlin wrote:

Sounds like you're looking for 'shutdown -r now'


Nope. 'shutdown -r now' does a full reboot of the PC, which means 
re-loading the kernel and all the devices. That's quite a bit slower 
than 'shutdown now' and exiting the single-user shell.

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


warnings and errors in /var/log/messages with 5.4

2005-06-06 Thread Louis LeBlanc
I've recently upgraded to 5.4 RELEASE, and now I have my various USB
devices working with the ehci driver.  Problem is I'm getting some
errors and warnings in /var/log/messages that I never saw with 5.3.

The umass related error is always as follows:
Jun  6 10:30:25 keyslapper kernel: umass0: Phase Error, residue = 0
Jun  6 10:30:25 keyslapper kernel: (da0:umass-sim0:0:0:0): Synchronize cache 
failed, status == 0x4, scsi status == 0x0

The device currently on da0 is a USB 2.0 memory key (1G Attache).

I'm not sure what this error means.  Is there any more detail to be
had?


The warning, I'm not so sure about:
Jun  2 17:50:40 keyslapper kernel: Warning: pid 41908 used static ldt 
allocation.
Jun  2 17:50:40 keyslapper kernel: See the i386_set_ldt man page for more info

It looks like the kernel is logging a warning any time a process uses
the i386_set_ldt system call, and the manpage explicitly states that
you can really hose your process by using that call.

Is there any more detail to be had on the LDT issue?

Thanks.
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

No problem is insoluble.
-- Dr. Janet Wallace, "The Deadly Years", stardate 3479.4


pgpLskajPxlag.pgp
Description: PGP signature


Re: Jail and disk space

2005-06-06 Thread Chad Leigh -- Shire.Net LLC


On Jun 6, 2005, at 1:09 AM, Tim Aslat wrote:


On Sun, 5 Jun 2005 02:00:35 -0500
"DrVince" <[EMAIL PROTECTED]> wrote:


Could I use quota to limit jails?



Not really, but you might be able to use a "memory disk" (man md,
mdconfig) to limit the entire jail to a set size.


Yes, I do this.  Almost all my jails reside in md devices (or more  
than one if I have separate ones for logs etc).


Dump works on md devices so it  makes it pretty easy.

Since I use a shared master jail mounted readony inside each jail,  
the jail md devices only have the jail specific files in them and the  
jail users data.  /bin /sbin /lib /usr/bin etc are all shared  
readonly.  Appropriate links into the md device for /usr/local .  / 
etc and /var are in the md device.


Chad




I haven't tried this myself, but I'm guessing something like this  
should

work.

#--- create jail script ---
#!/bin/sh
ID=${ARGV[1]}
DEST=/jails/jail.${ID}
IMAGE=/jails/images/jail.${ID}

# create a blank disk image of 512 Mb
dd if=/dev/zero of=${IMAGE} bs=1024k count=512
mdconfig -a -t vnode -f ${IMAGE} -u ${ID}
bsdlabel -w md${ID} auto
newfs md${ID}c
mount /dev/md${ID}c ${DEST}

# create jail using created image
cd /usr/src
mkdir -p ${DEST}
make world DESTDIR=${DEST}
cd etc
make distribution DESTDIR=${DEST}
mount_devfs devfs ${DEST}/dev
cd ${DEST}
ln -sf dev/null kernel
# End script ---

Again, I haven't tested this, I've just copied & pasted from the
various man pages into a semi-coherent script.

Cheers

Tim

--
Tim Aslat <[EMAIL PROTECTED]>
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 8 84193434
Mobile: +61 0401088479
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions- 
[EMAIL PROTECTED]"




---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
[EMAIL PROTECTED]


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


Moving mail spools

2005-06-06 Thread Matt Juszczak

Hi all,

We've got a new freebsd server setup, and an old mail server with 
slackware on it.


We need to move the mail spools from the slack machine to the freebsd 
machine.  if I just copy them over to var/mail will it automatically 
work or does freebsd use a different format?


Thanks!

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


Re: Question about booting with the NT booter.

2005-06-06 Thread Giorgos Keramidas
On 2005-06-06 01:19, Artur Soares <[EMAIL PROTECTED]> wrote:
> Hi,
> I am one afraid guy with this on his machine:
> Disk 1 (master): 40GB - Windows XP (NTFS) on the first 10GB, FAT32 for
> storage to the rest.
> Disk 2 (slave): 80GB - FreeBSD 5.4 on the first 50 GB, FAT32 for storage
> to the rest.
>
> Both are at the same IDE controller (disk 1 is ad0, disk 2 is ad1)
>
> I have (mis)installed the BSD boot manager to the ad1, which, since is
> master, is being bipassed at the start, and windows is starting his
> usual business. So I have no glimpse whatsoever of FreeBSD when I boot,
> but takeing a peek via PartitionMagic, it is there. Also, I was
> succesfull at all steps of the installation.
>
> I would like to know how to (step-by-step, talking to a noob here) enter
> BSD, get the boot0 file and copy it into C: as if you were talking to a
> 5 year old boy you just met on the street.

Hi Artur,

General questions about FreeBSD should be posted to the freebsd-questions
mailing list, not [EMAIL PROTECTED]  I've already redirected this reply to
that list.

Having said that, the following is probably what you need to do:

1.  Boot into FreeBSD

2.  Install the boot0 boot manager to ad1:

# boot0cfg -v /dev/ad1

3.  Copy the installed boot manager to a file:

# cd /tmp
# dd if=/dev/ad1 of=/tmp/boot0.bin bs=512 count=1

4.  Transfer the boot0.bin file to the Windows partition, by copying
it to the FAT32 partition of ad0.

# mount_msdosfs /dev/ad1s2 /mnt
# cp /tmp/boot0.bin /mnt
# sync ; umount /mnt

5.  Reboot and start Windows XP

6.  Copy the boot0.bin file to C:\boot0.bin

7.  Configure Windows Explorer to show ALL the files (i.e. not to
hide system files)

8.  Remove the "read only" attribute of the C:\boot.ini file by
right-clicking it and tweaking its properties.

9.  Edit C:\boot.ini (with Notepad) and add a line with the location
of the boot0.bin file:

C:\boot0.bin="FreeBSD"

10. Set the read-only attribute of boot.ini again

That should be all there is to it.

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


Re: Moving mail spools

2005-06-06 Thread Giorgos Keramidas
On 2005-06-06 11:48, Matt Juszczak <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> We've got a new freebsd server setup, and an old mail server with
> slackware on it.
>
> We need to move the mail spools from the slack machine to the freebsd
> machine.  if I just copy them over to var/mail will it automatically
> work or does freebsd use a different format?

Yes.  UNIX mailbox files are simply a sequence of mail messages
concatenated after each other.

Please note that you should only move mailboxes while delivery is
stopped to them though.  Otherwise, you may end up with corrupt
mailboxes on the destination folder.

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


Re: Moving mail spools

2005-06-06 Thread Daniel Gerzo
Hi Matt,

Monday, June 6, 2005, 5:48:21 PM, you typed:

> Hi all,

> We've got a new freebsd server setup, and an old mail server with 
> slackware on it.

> We need to move the mail spools from the slack machine to the freebsd
> machine.  if I just copy them over to var/mail will it automatically
> work or does freebsd use a different format?

mailboxes are all over the world the same. the only problem you could
get are the permissions.

> Thanks!

> -Matt

-- 
Best Regards,

 DanGer, ICQ: 261701668  | e-mail protecting at: http://www.2pu.net/
 http://danger.rulez.sk  | proxy list at:http://www.proxy-web.com/
 | FreeBSD - The Power to Serve!

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


Re: PHP on freebsd ports not working

2005-06-06 Thread Kevin Kinsey

Philip Wege wrote:


Unable to get php to work through ports system:


 





I got a feeling im missing config lines that needs to be added to
httpd.conf , can anyone help ? 
 




You need "AddModule" in addition to "LoadModule"; and
the real crux of the issue is probably the lack of "AddType"
directives.  Maybe this will help?

==

# grep php /usr/local/etc/apache/httpd.conf

LoadModule php5_modulelibexec/apache/libphp5.so
AddModule mod_php5.c
   
   
   DirectoryIndex index.php index.php3 index.html
   
   DirectoryIndex index.php3 index.html
   
   
   DirectoryIndex index.php index.html
   
   
   AddType application/x-httpd-php3 .php3 .html
   AddType application/x-httpd-php3-source .php3s
   
   AddType application/x-httpd-php .php .html .asp .php3
   AddType application/x-httpd-php-source .phps
   AddType application/x-httpd-php .php .html .asp
=

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


Re: KDE apps

2005-06-06 Thread Gary Kline
On Mon, Jun 06, 2005 at 05:10:05PM +0200, Dick Hoogendijk wrote:
> On 05 Jun Gary Kline wrote:
> > Anybody know a means of using some of the more nifty KDE 
> > tools--say, kdict--without using Gnome or KDE?
> 
> Run a window manager (fvwm2?) ;-)
> 
> The needed (kde) libs always need to be installed though.
> 

I'm still using ctwm; it was just up-rev'd to v 3.7 
so it's not totally dead!  in my opinion, ctwm can be 
hand-tweaked to any degree.  Re kde, I think I have 
everything installed to run it as another user.  
This is installed: /var/db/pkg/kdelibs-3.4.0_2  and
the Gnome tools run.  KDE, nope.  

(?)

gary


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

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


Personal Wiki without a webserver/database

2005-06-06 Thread Ray Seals
I would like to have a desktop wiki that doesn't need a big database
server or web server.  I have been using wikidPad for windows but since
my main machine is a BSD laptop.  I looked through the ports but
basically everything wants a web server installed.

Any suggestions?  

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


Re: Personal Wiki without a webserver/database

2005-06-06 Thread Ray Seals
On Mon, 2005-06-06 at 11:43 -0500, Ray Seals wrote:
> I would like to have a desktop wiki that doesn't need a big database
> server or web server.  I have been using wikidPad for windows but since
> my main machine is a BSD laptop.  I looked through the ports but
> basically everything wants a web server installed.
> 
> Any suggestions?  
> 

I have one for myself.  Read.  Just found dokuwiki in the ports.

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


Re: vipw: could not lock the passwd file: : Operation not supported

2005-06-06 Thread Valerio Daelli




From: Nikolas Britton <[EMAIL PROTECTED]>
Reply-To: Nikolas Britton <[EMAIL PROTECTED]>
To: Valerio Daelli <[EMAIL PROTECTED]>
Subject: Re: vipw: could not lock the passwd file: : Operation not 
supported

Date: Mon, 6 Jun 2005 10:20:10 -0500
MIME-Version: 1.0
Received: from wproxy.gmail.com ([64.233.184.206]) by mc2-f21.hotmail.com 
with Microsoft SMTPSVC(6.0.3790.211); Mon, 6 Jun 2005 08:26:52 -0700
Received: by wproxy.gmail.com with SMTP id 67so4729994wrifor 
<[EMAIL PROTECTED]>; Mon, 06 Jun 2005 08:26:51 -0700 (PDT)
Received: by 10.54.49.26 with SMTP id w26mr3295310wrw;Mon, 06 Jun 
2005 08:20:11 -0700 (PDT)

Received: by 10.54.124.2 with HTTP; Mon, 6 Jun 2005 08:20:10 -0700 (PDT)
X-Message-Info: JGTYoYF78jEHjJx36Oi8+Z3TmmkSEdPtfpLB7P/ybN8=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;s=beta; 
d=gmail.com;
h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; 
   
b=I46dF0QiyvoOaAaieZMXRo9eli2REHtIyOzsvoJNfKA106m75TVN2eyGqF+PiwyDr4/NPhGsJwTbBk5VXzljyjP9OKgb2zDuFEZTf+9p4GvPGPs8Tz1R+J/+n1nMLRZeaGGGSAVQ7KKj3BsWhPIcEtJbAvS1Agj2rhzc3B/kIjo=
References: <[EMAIL PROTECTED]> 
<[EMAIL PROTECTED]>

Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 06 Jun 2005 15:26:52.0848 (UTC) 
FILETIME=[2A6AAB00:01C56AAC]


On 6/6/05, Valerio Daelli <[EMAIL PROTECTED]> wrote:
> Hi all,
> we have FreeBSD 5.4 jail which is mounted via NFS from a host machine.
> The filesystem containing the jail is mounted from a remote machine.
> Everything is fine, except when I try to add a user in the jail I get a:
>
> vipw: could not lock the passwd file: : Operation not supported
>
> I solved the problem in pwd_mkdb using the -i switch.
> But I can't find any similar options in vipw.
> Has anyone an idea about this?
> Bye
>
> Valerio Daelli

It sounds like your not logged in as root, I'm sure you are but I have
never played with jails. Have you tried the adduser or pw commands?,
vipw is not the best tool for adding users because you can fsck your
system if your not careful.



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


Re: FreeBSD 5.x with > 70k users?

2005-06-06 Thread Tony Shadwick
I can only suggest a workaround, which would be to consider a different 
user management system, say LDAP.  You're still going to have the issue of 
some apps not liking high numbered uid's, but it bypasses the pwd_mkdb 
issue.  Not to mention once you have it in place managing users and 
attributes should be much easier.  Getting to that point, however, is an 
adventure all unto itself I'm afraid. :\


On Mon, 6 Jun 2005, Ben Hockenhull wrote:


Hi there,

I'm attempting to migrate an old BSDI system to FreeBSD.  The system in
question has about 71k users, with UIDs from about 2000 up to about 7.
When I import the master.passwd file (formats are the same) to the new
system and try to rebuild the .db files, it fails with a pwd_mkdb: put:
Unknown error: 0 .

As best I can tell, if I import a small subset of the users (about 5k),
things work fine.  From what I understand, FreeBSD can have massive UIDs,
with the caveat that some applications may not like UIDs > 65535.

I did some research and found someone reporting an identical problem, but
didn't see that he'd found a solution.  Any input, pointers, solutions
greatly appreciated.

Ben


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


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


Re: vipw: could not lock the passwd file: : Operation not supported

2005-06-06 Thread Valerio Daelli
Yes, I am root. The problem is that some tools like vipw and pam utilities 
want
to get a flock on some files, like /etc/passwd. If they can't (because of 
plain NFS) they complain.

I've been suggested to try with rpc.lockd.
Thanks for your help!

Valerio Daelli


It sounds like your not logged in as root, I'm sure you are but I have
never played with jails. Have you tried the adduser or pw commands?,
vipw is not the best tool for adding users because you can fsck your
system if your not careful.



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


Re: link in handbook appears to be broken

2005-06-06 Thread Steven Friedrich
On Monday 06 June 2005 01:16 am, Ted Mittelstaedt wrote:
> >-Original Message-
> >From: [EMAIL PROTECTED]
> >[mailto:[EMAIL PROTECTED] Behalf Of Steven
> >Friedrich
> >Sent: Sunday, June 05, 2005 7:24 PM
> >To: Ted Mittelstaedt
> >Cc: freebsd-questions@freebsd.org
> >Subject: Re: link in handbook appears to be broken
> >
> >On Sunday 05 June 2005 06:48 pm, Ted Mittelstaedt wrote:
> >> >-Original Message-
> >> >From: [EMAIL PROTECTED]
> >> >[mailto:[EMAIL PROTECTED] Behalf Of Steven
> >> >Friedrich
> >> >Sent: Sunday, June 05, 2005 8:20 AM
> >> >To: Ted Mittelstaedt
> >> >Cc: freebsd-questions@freebsd.org
> >> >Subject: Re: link in handbook appears to be broken
> >> >
> >> >On Saturday 04 June 2005 01:04 am, Ted Mittelstaedt wrote:
> >> >> Hi Steven
> >> >>
> >> >>   Please don't waste time with this.  development of
> >
> >burncd is pretty
> >
> >> >> much
> >> >> dead.  Even the CD's on the list that it supported (of which
> >> >
> >> >I have one)
> >> >
> >> >> often didn't work right.  And all of them are old, no longer in
> >> >> production.
> >> >> burncd is there so if you have a burner sitting around you can plug
> >> >> it in and see if it works.
> >> >>
> >> >>   These days most people use the ATAPI/CAM driver with IDE
> >> >
> >> >burners, see:
> >> >
> >> >
> >> >http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creati
> >> >ng-cds.ht
> >> >
> >> >> ml#ATAPICAM
> >> >>
> >> >> Ted
> >> >
> >> >Ok, but I'm getting nearly the same error with cdrecord.
> >> >
> >> >cdrecord -blank=all -eject dev=toshiba seemed to work ok.
> >> >cdrecord dev=toshiba cd1.iso didn't complain
> >> >but then mount /cdrom produced
> >> >acd0: READ_BIG - MEDIUM ERROR asc=0x15 ascq=0x00 error=0x00
> >> >
> >> >
> >> >Can someone tell me where to find the meanings of these codes?
> >>
> >> What you see is what you get - the error "MEDIUM ERROR" seems pretty
> >> clear to me - it means that the CD you burned isn't readable.  What
> >> are you after - a masters thesis spewed out for every little error?
> >> That would bloat the code.
> >>
> >> FreeBSD tells you there's an error it's your job to find out why
> >> there is one.
> >>
> >> Since as you said in your other posting you are making good CD's at
> >> low-speed burn, and frizbees at high speed burn, there is a
> >
> >good chance
> >
> >> you
> >> are underrunning the buffer in the burner.  Get a faster CPU
> >
> >or live with
> >
> >> lower speed burns.
> >>
> >> UNIX is a preemptive operating system.  That means that during your CD
> >> burn, if something else goes on in the system by some other process,
> >> then your burning process gets paused.  If the burner you are
> >
> >using has
> >
> >> a very small internal buffer than it will run out of data and you will
> >> produce a frisbee.
> >>
> >> WinXP by contrast lets apps like Roxio basically halt the OS while
> >> your doing some time-critical operation.  That's fine for a
> >
> >single-user
> >
> >> OS but pretty stupid for a server what has lots of people using it
> >> all the time.  That is why people don't use WinXP for servers.
> >>
> >> You cna try playing with the nice command and your cd burns and see if
> >> you can make any difference.
> >>
> >> Ted
> >
> >My machines (2) are 2.4 GHz pentium 4s.
>
> OK, in that case chances it's a buffer underrun are much lower.
>
> >I use the same drive
> >and media under
> >winXP and using Roxio, I've burned freeBSD 4.11 ISOs and booted
> >from them.
> >The Memorex 1x-4x media worked with cdrecord but the Memorex
> >4x-12x media
> >doesn't, even when I tell it to burn at 4x like the 1x-4x media did.
> >
> >I'm not expecting the software to decode the asc, ascq, and
> >error codes, but I
> >do expect to find them documented in a header or a book, man
> >page, somewhere.
>
> They are documented, these guys have the docs:
>
> http://www.t13.org/
>
> You will have to pay them for them.   Or, go to the technical library of
> your nearest university and make copies of the appropriate pages of the
> standards.
>
> ASC = Associated Sense Code
> ASCQ = Associated Sense Code Qualifier
>
> These are codes returned to the driver by the CD reader, unexpectedly of
> course,
> which is why it errored.  The software driver decoded enough to know that
> the
> cd reader is reporting a medium error, so it tells you that, then passes
> the
> sense code that the reader is returning.  You could look up the sense
> code
> in the documentation provided by the manufacturer of the cdrom reader
> drive
> if you really want to know, and I can almost guarentee you will get
> something
> nonsensical.
>
> Even if the FreeBSD driver decoded the ASC code, since the ASC code
> the drive is returning is garbage, it is useless for you.  Your
> getting caught up in minutae during the troubleshooting process rather
> than
> focusing on the basics.
>
> The basics are that your burner is producing frisbees.  Now, you know
> that the
> burner hardware is good under Windows, so that rul

Re: Personal Wiki without a webserver/database

2005-06-06 Thread Nikolas Britton
On 6/6/05, Ray Seals <[EMAIL PROTECTED]> wrote:
> I would like to have a desktop wiki that doesn't need a big database
> server or web server.  I have been using wikidPad for windows but since
> my main machine is a BSD laptop.  I looked through the ports but
> basically everything wants a web server installed.
> 
> Any suggestions?
> 
http://freshmeat.net/search/?q=wiki§ion=projects

It's going to be tuff to find a nice wiki that doesn't req. a web
server/db combo but you could opt. for lightweight servers:

HTTP servers:
http://www.freebsd.org/cgi/url.cgi?ports/www/mathopd/pkg-descr
http://www.freebsd.org/cgi/url.cgi?ports/www/mini_httpd/pkg-descr
http://www.freebsd.org/cgi/url.cgi?ports/www/thttpd/pkg-descr
http://www.freebsd.org/cgi/url.cgi?ports/www/webfs/pkg-descr
http://www.freebsd.org/cgi/url.cgi?ports/www/wyvern/pkg-descr
http://www.freebsd.org/cgi/url.cgi?ports/www/zerowait-httpd/pkg-descr

Database:
http://www.freebsd.org/cgi/ports.cgi?query=Berkeley+DB+&stype=all&release=5-STABLE%2Fi386
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: FreeBSD 5.x with > 70k users?

2005-06-06 Thread Ted Mittelstaedt

Did you set the PW_SCAN_BIG_IDS as documented in the man page for
pwd_mkdb?

Ted

>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Ben Hockenhull
>Sent: Monday, June 06, 2005 6:36 AM
>To: freebsd-questions@freebsd.org
>Subject: FreeBSD 5.x with > 70k users?
>
>
>Hi there,
>
>I'm attempting to migrate an old BSDI system to FreeBSD.  The system in
>question has about 71k users, with UIDs from about 2000 up to
>about 7.
>When I import the master.passwd file (formats are the same) to the new
>system and try to rebuild the .db files, it fails with a pwd_mkdb: put:
>Unknown error: 0 .
>
>As best I can tell, if I import a small subset of the users (about 5k),
>things work fine.  From what I understand, FreeBSD can have
>massive UIDs,
>with the caveat that some applications may not like UIDs > 65535.
>
>I did some research and found someone reporting an identical
>problem, but
>didn't see that he'd found a solution.  Any input, pointers, solutions
>greatly appreciated.
>
>Ben
>
>
>___
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to
>"[EMAIL PROTECTED]"
>

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


aspell upgrade problem

2005-06-06 Thread Lei Sun
Hi,

I am trying to do a upgrade of aspell on freebsd5.4 using 

cvsup portsupfile
# cd /usr/ports
# make fetchindex
# protupgrade aspell 

and it's giving me errors:

...
=> Attempting to fetch from ftp://ftp.lip6.fr/pub/gnu/aspell/.
fetch: aspell-0.60.2.tar.gz: local modification time does not match remote
=> Attempting to fetch from ftp://ftp.chg.ru/pub/gnu/aspell/.
fetch: aspell-0.60.2.tar.gz: local modification time does not match remote
...
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

Stop in /usr/ports/textproc/aspell.
*** Error code 1

Stop in /usr/ports/textproc/aspell.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade14913.0 make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! textproc/aspell (aspell-0.60.2)   (checksum mismatch)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed

I saw http://www.freebsd.org/cgi/ports.cgi?query=aspell&stype=all
aspell version is suppose to be aspell-0.60.2_1 

What am I doign wrong? What am I suppose to do?

Thanks in advance !

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


Re: freebsd cable disconnected problem

2005-06-06 Thread Diogo Della
Yes, the localhost go to this IP.

This machine has 3 NIC with 3 different IP address. If the onboard sis0 is not 
connected, ssh or ftp 127.0.0.1 does not work.

Other machines has the same problem, but a llitle different. In other FreeBSD, 
if a make any modifications like include a default gateway on the routing 
table, it does not work.

Is there any security issue or something like?

Thanks.

Diogo Della

On May 26, 2005, at 4:07 PM, Diogo Della wrote:
> It is very strange: if a put the initial ip address of the
> interface and disconnect the cable "ssh localhost" does not work.
> But, if a let this running and put the cable again, "ssh localhost"
> works.
>
> What is going on? FreeBSD need to be connected and with the same ip
> address I set at installation for the network deamon to work?

Does localhost actually go to IP 127.0.0.1?
Do you have a localhost route, check "netstat -nr"...?

You can also take a look at what your daemons are binding to via:
"netstat -anp TCP | grep LISTEN".  Are they binding to *.port or
otherwise?

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


strange network behaviour

2005-06-06 Thread ben
on Friday i set up 4 old celeron boxes as DNS servers for a client.  after
about 5 minutes, their ability to reach the network vanishes... they can't
ping their router, and inbound network traffic vanishes.  rebooting fixes
the problem... for another ~ 5 min.

the only things running are chrooted bind, postfix, and webmin.  ipfw is
on, with firewall_type="open".  i've also tried it with ipfw disabled.

The same thing happens with my laptop, which is also running 5-STABLE as
of about noon on friday.

I know this sounds like a network issue, but is there anything in the
system that might cause thist type of behavior?  it doesn't seem to be the
hardware - my laptop is a pentium M centrino system with a bg nic, and
they're old Celeron 500 machines with fxp nics.

the kernel config is attached, in case i've done something really stupid
in there

thanks,

ben
# DNS4BOB - custom kernel for bob's dns servers

machine i386
cpu I686_CPU
ident   DNS4BOB

# To statically compile in device wiring instead of /boot/device.hints
hints   "GENERIC.hints" # Default places to look for devices.

#optionsSCHED_4BSD  # 4BSD scheduler
options SCHED_ULE
options INET# InterNETworking
options INET6   # IPv6 communications protocols
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big directories
options MD_ROOT # MD is a potential root device
options NFSCLIENT   # Network Filesystem Client
options NFSSERVER   # Network Filesystem Server
options NFS_ROOT# NFS usable as /, requires NFSCLIENT
options MSDOSFS # MSDOS Filesystem
options CD9660  # ISO 9660 Filesystem
options PROCFS  # Process filesystem (requires PSEUDOFS)
options PSEUDOFS# Pseudo-filesystem framework
options GEOM_GPT# GUID Partition Tables.
options COMPAT_43   # Compatible with BSD 4.3 [KEEP THIS!]
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
#optionsSCSI_DELAY=15000# Delay (in ms) before probing SCSI
#optionsKTRACE  # ktrace(1) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time 
extensions
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
options AHC_REG_PRETTY_PRINT# Print register bitfields in debug
# output.  Adds ~128k to driver.
options AHD_REG_PRETTY_PRINT# Print register bitfields in debug
# output.  Adds ~215k to driver.
options ADAPTIVE_GIANT  # Giant mutex is adaptive.

device  apic# I/O APIC

# Bus support.  Do not remove isa, even if you have no isa slots
device  isa
#device eisa
device  pci

# Floppy drives
device  fdc

# ATA and ATAPI devices
device  ata
device  atadisk # ATA disk drives
device  ataraid # ATA RAID drives
device  atapicd # ATAPI CDROM drives
device  atapifd # ATAPI floppy drives
device  atapist # ATAPI tape drives
options ATA_STATIC_ID   # Static device numbering

# SCSI Controllers
#device ahb # EISA AHA1742 family
#device ahc # AHA2940 and onboard AIC7xxx devices
#device ahd # AHA39320/29320 and onboard AIC79xx devices
#device amd # AMD 53C974 (Tekram DC-390(T))
#device isp # Qlogic family
#device mpt # LSI-Logic MPT-Fusion
#device ncr # NCR/Symbios Logic
#device sym # NCR/Symbios Logic (newer chipsets + those of 
`ncr')
#device trm # Tekram DC395U/UW/F DC315U adapters

#device adv # Advansys SCSI adapters
#device adw # Advansys wide SCSI adapters
#device aha # Adaptec 154x SCSI adapters
#device aic # Adaptec 15[012]x SCSI adapters, AIC-6[23]60.
#device bt  # Buslogic/Mylex MultiMaster SCSI adapters

#device ncv # NCR 53C500
#device nsp # Workbit Ninja SCSI-3
#device stg # TMC 18C30/18C50

# SCSI peripherals
device  scbus   # SCSI bus (requir

Re: KDE apps

2005-06-06 Thread Nathan Kinkade
On Mon, Jun 06, 2005 at 09:11:38AM -0700, Gary Kline wrote:
> On Mon, Jun 06, 2005 at 05:10:05PM +0200, Dick Hoogendijk wrote:
> > On 05 Jun Gary Kline wrote:
> > >   Anybody know a means of using some of the more nifty KDE 
> > >   tools--say, kdict--without using Gnome or KDE?
> > 
> > Run a window manager (fvwm2?) ;-)
> > 
> > The needed (kde) libs always need to be installed though.
> > 
> 
>   I'm still using ctwm; it was just up-rev'd to v 3.7 
>   so it's not totally dead!  in my opinion, ctwm can be 
>   hand-tweaked to any degree.  Re kde, I think I have 
>   everything installed to run it as another user.  
>   This is installed: /var/db/pkg/kdelibs-3.4.0_2  and
>   the Gnome tools run.  KDE, nope.  
> 
>   (?)
> 
>   gary

One thing I have found about attempting to run KDE apps when using
another wm is that KDE apps will usually launch up several other KDE
related processes (kdeinit, etc.) that eat up a lot of memory.  I once
just renamed kdeinit to something like kdeinit.off so that I could use
ther tabbed X terminal program called konsole.  konsole gave some errors
on launch, but otherwise mostly worked, though some functionality was
working.  In short, it seemed to me that if one is going to run a bunch
of KDE apps they are probably best off to just run KDE wm, too.

Nathan


pgpZpSV5S6NEl.pgp
Description: PGP signature


arplookup failed

2005-06-06 Thread Kövesdán Gábor

Hello,

The following message has been often repeating in my messages log:

Jun  6 19:24:38 server kernel: arplookup  failed: 
host is not on local network


I know what arp is, and I understand this message, but I don't know what 
causes it, but it annoys me, and I'd like to remove it from my log, 
since it doesn't make any severe error, and I would like compendious log 
files. Do You have any idea?


Cheers,

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


Re: What do this wired dmesg mean ?

2005-06-06 Thread Nathan Kinkade
On Sun, Jun 05, 2005 at 09:43:58PM -0800, Supote Lee wrote:
> Hi list,
> 
>   I have a box for apache webserver and running fine for
> years. Today I've just found the kernel message below:
> 
> --- snipped ---
> /kernel: ata1-slave: ATA identify retries exceeded
> /kernel: ata1-master: ATA identify retries exceeded
> 
> xl0: transmission error: 90
> xl0: tx underrun, increasing tx start threshold to 120 bytes
> xl0: transmission error: 90
> xl0: tx underrun, increasing tx start threshold to 180 bytes
> --- snipped ---
> 
>  Could anybody tell me what wrong is this box ?
> 
> TIA
> pjn

Well, do you have any devices on the secondary IDE controller?  If so,
it would appear that they are failing to respond to the systems attempts
at identifying them.  Maybe the devices are faulty, or maybe there is
something wrong with the cable or possibly even the controller.

I don't know much about the 3com related errors, but my basic
understanding is that the xl0 driver went to send data, but found the
cards buffer empty when it expected to find data there ready to
transmit, so perhaps it is attempting to wait for a little more data to
fill the buffer before attempting to send.  My guess is that there is
something not quite right with the card.

Nathan


pgpG0zw8CEEpj.pgp
Description: PGP signature


Re: aspell upgrade problem

2005-06-06 Thread Kent Stewart
On Monday 06 June 2005 10:31 am, Lei Sun wrote:
> Hi,
>
> I am trying to do a upgrade of aspell on freebsd5.4 using
>
> cvsup portsupfile
> # cd /usr/ports
> # make fetchindex
> # protupgrade aspell
>
> and it's giving me errors:
>
> ...
> => Attempting to fetch from ftp://ftp.lip6.fr/pub/gnu/aspell/.
> fetch: aspell-0.60.2.tar.gz: local modification time does not match
> remote => Attempting to fetch from ftp://ftp.chg.ru/pub/gnu/aspell/.
> fetch: aspell-0.60.2.tar.gz: local modification time does not match
> remote ...
> => port manually into /usr/ports/distfiles/ and try again.
> *** Error code 1
>
> Stop in /usr/ports/textproc/aspell.
> *** Error code 1
>
> Stop in /usr/ports/textproc/aspell.
> ** Command failed [exit code 1]: /usr/bin/script -qa
> /tmp/portupgrade14913.0 make
> ** Fix the problem and try again.
> ** Listing the failed packages (*:skipped / !:failed)
> ! textproc/aspell (aspell-0.60.2)   (checksum mismatch)
> --->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
>
> I saw http://www.freebsd.org/cgi/ports.cgi?query=aspell&stype=all
> aspell version is suppose to be aspell-0.60.2_1
>
> What am I doign wrong? What am I suppose to do?
>

When I get messages like you are, I go into the distfile directory and 
delete the file it is having problems with. Most of the time, the 
problem goes away.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: KDE apps

2005-06-06 Thread Gary Kline
On Mon, Jun 06, 2005 at 11:51:06AM -0600, Nathan Kinkade wrote:
> On Mon, Jun 06, 2005 at 09:11:38AM -0700, Gary Kline wrote:
> > On Mon, Jun 06, 2005 at 05:10:05PM +0200, Dick Hoogendijk wrote:
> > > On 05 Jun Gary Kline wrote:
> > > > Anybody know a means of using some of the more nifty KDE 
> > > > tools--say, kdict--without using Gnome or KDE?
> > > 
> > > Run a window manager (fvwm2?) ;-)
> > > 
> > > The needed (kde) libs always need to be installed though.
> > > 
> > 
> > I'm still using ctwm; it was just up-rev'd to v 3.7 
> > so it's not totally dead!  in my opinion, ctwm can be 
> > hand-tweaked to any degree.  Re kde, I think I have 
> > everything installed to run it as another user.  
> > This is installed: /var/db/pkg/kdelibs-3.4.0_2  and
> > the Gnome tools run.  KDE, nope.  
> > 
> > (?)
> > 
> > gary
> 
> One thing I have found about attempting to run KDE apps when using
> another wm is that KDE apps will usually launch up several other KDE
> related processes (kdeinit, etc.) that eat up a lot of memory.  I once
> just renamed kdeinit to something like kdeinit.off so that I could use
> ther tabbed X terminal program called konsole.  konsole gave some errors
> on launch, but otherwise mostly worked, though some functionality was
> working.  In short, it seemed to me that if one is going to run a bunch
> of KDE apps they are probably best off to just run KDE wm, too.
> 
> Nathan

konsole is another KDE app that I like since it allows me 
more flexibility that std xterm.  Given my druthers, I would
use Gnome over KDE -- if I had only those choices.  I suppose 
it boils down to one's preference of basically CLI or GUI.

thanks!

gary





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

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


Re: patch errors

2005-06-06 Thread Kris Kennaway
On Mon, Jun 06, 2005 at 11:29:35AM +0900, FreeBSD MailingLists wrote:
> on all other servers I cvsup the src and ports tree, but for some
> reason the internet connection at the location of this particular
> server gets kicked when I start cvsup.  so I had to resort to this
> method.
> 
> I am not entirely convinced that it is a stale patch issue for 2 reasons.
> 1)  I have untar'd the same file on 2 different servers and only this
> one has issues updating the ports

Because you have stale files underneath.

> 2) I have tar'd up the /usr/ports dir from a different server that
> updates via cvsup.  The original server updates fine but when untar'd
> on this particular server the same exact patch errors appear.

Because you have stale files underneath.

> which leads me to believe the error is outside the ports tree itself.

Highly unlikely.

Kris


pgpOfKRDHuQbC.pgp
Description: PGP signature


RE: link in handbook appears to be broken

2005-06-06 Thread Ted Mittelstaedt

Yes, use DAO.  But the software should know that since it's an ISO to
do that automatically.  An ISO image on a multisession CD would be
senseless, of course.  An ISO image needs to be written and the CD
closed in a single session.

Ted

>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Steven
>Friedrich
>Sent: Monday, June 06, 2005 10:03 AM
>To: Ted Mittelstaedt
>Cc: freebsd-questions@freebsd.org
>Subject: Re: link in handbook appears to be broken
>
>
>On Monday 06 June 2005 01:16 am, Ted Mittelstaedt wrote:
>> >-Original Message-
>> >From: [EMAIL PROTECTED]
>> >[mailto:[EMAIL PROTECTED] Behalf Of Steven
>> >Friedrich
>> >Sent: Sunday, June 05, 2005 7:24 PM
>> >To: Ted Mittelstaedt
>> >Cc: freebsd-questions@freebsd.org
>> >Subject: Re: link in handbook appears to be broken
>> >
>> >On Sunday 05 June 2005 06:48 pm, Ted Mittelstaedt wrote:
>> >> >-Original Message-
>> >> >From: [EMAIL PROTECTED]
>> >> >[mailto:[EMAIL PROTECTED] Behalf Of Steven
>> >> >Friedrich
>> >> >Sent: Sunday, June 05, 2005 8:20 AM
>> >> >To: Ted Mittelstaedt
>> >> >Cc: freebsd-questions@freebsd.org
>> >> >Subject: Re: link in handbook appears to be broken
>> >> >
>> >> >On Saturday 04 June 2005 01:04 am, Ted Mittelstaedt wrote:
>> >> >> Hi Steven
>> >> >>
>> >> >>   Please don't waste time with this.  development of
>> >
>> >burncd is pretty
>> >
>> >> >> much
>> >> >> dead.  Even the CD's on the list that it supported (of which
>> >> >
>> >> >I have one)
>> >> >
>> >> >> often didn't work right.  And all of them are old, no longer in
>> >> >> production.
>> >> >> burncd is there so if you have a burner sitting around
>you can plug
>> >> >> it in and see if it works.
>> >> >>
>> >> >>   These days most people use the ATAPI/CAM driver with IDE
>> >> >
>> >> >burners, see:
>> >> >
>> >> >
>> >> >http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creati
>> >> >ng-cds.ht
>> >> >
>> >> >> ml#ATAPICAM
>> >> >>
>> >> >> Ted
>> >> >
>> >> >Ok, but I'm getting nearly the same error with cdrecord.
>> >> >
>> >> >cdrecord -blank=all -eject dev=toshiba seemed to work ok.
>> >> >cdrecord dev=toshiba cd1.iso didn't complain
>> >> >but then mount /cdrom produced
>> >> >acd0: READ_BIG - MEDIUM ERROR asc=0x15 ascq=0x00 error=0x00
>> >> >
>> >> >
>> >> >Can someone tell me where to find the meanings of these codes?
>> >>
>> >> What you see is what you get - the error "MEDIUM ERROR"
>seems pretty
>> >> clear to me - it means that the CD you burned isn't readable.  What
>> >> are you after - a masters thesis spewed out for every little error?
>> >> That would bloat the code.
>> >>
>> >> FreeBSD tells you there's an error it's your job to find out why
>> >> there is one.
>> >>
>> >> Since as you said in your other posting you are making good CD's at
>> >> low-speed burn, and frizbees at high speed burn, there is a
>> >
>> >good chance
>> >
>> >> you
>> >> are underrunning the buffer in the burner.  Get a faster CPU
>> >
>> >or live with
>> >
>> >> lower speed burns.
>> >>
>> >> UNIX is a preemptive operating system.  That means that
>during your CD
>> >> burn, if something else goes on in the system by some
>other process,
>> >> then your burning process gets paused.  If the burner you are
>> >
>> >using has
>> >
>> >> a very small internal buffer than it will run out of data
>and you will
>> >> produce a frisbee.
>> >>
>> >> WinXP by contrast lets apps like Roxio basically halt the OS while
>> >> your doing some time-critical operation.  That's fine for a
>> >
>> >single-user
>> >
>> >> OS but pretty stupid for a server what has lots of people using it
>> >> all the time.  That is why people don't use WinXP for servers.
>> >>
>> >> You cna try playing with the nice command and your cd
>burns and see if
>> >> you can make any difference.
>> >>
>> >> Ted
>> >
>> >My machines (2) are 2.4 GHz pentium 4s.
>>
>> OK, in that case chances it's a buffer underrun are much lower.
>>
>> >I use the same drive
>> >and media under
>> >winXP and using Roxio, I've burned freeBSD 4.11 ISOs and booted
>> >from them.
>> >The Memorex 1x-4x media worked with cdrecord but the Memorex
>> >4x-12x media
>> >doesn't, even when I tell it to burn at 4x like the 1x-4x media did.
>> >
>> >I'm not expecting the software to decode the asc, ascq, and
>> >error codes, but I
>> >do expect to find them documented in a header or a book, man
>> >page, somewhere.
>>
>> They are documented, these guys have the docs:
>>
>> http://www.t13.org/
>>
>> You will have to pay them for them.   Or, go to the technical
>library of
>> your nearest university and make copies of the appropriate
>pages of the
>> standards.
>>
>> ASC = Associated Sense Code
>> ASCQ = Associated Sense Code Qualifier
>>
>> These are codes returned to the driver by the CD reader,
>unexpectedly of
>> course,
>> which is why it errored.  The software driver decoded enough
>to know that
>> the
>> cd reader is reporting a medium error, so it tells you that,
>then passes

Re: ssh delays 40 seconds

2005-06-06 Thread luke
also, you might want to look into the UseDNS option in the sshd_config
file. this will cause the server to not perform dns lookups on
connecting hosts.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: freebsd cable disconnected problem

2005-06-06 Thread Diogo Della
I figure this out.

I don't know why. Somebody could explain me 

But the problem is that the machine could not reach the DNS server configured 
at /etc/resolv.conf. If the default router is configured or not, the FreeBSD 
box could not reach the DNS server.

No problem with this, but why when a DNS is configured the machine can not run 
ssh or ftp localhost or from a remote host.

Thanks.

Diogo Della

De:[EMAIL PROTECTED]

Para:"freebsd-questions" freebsd-questions@freebsd.org

Cópia:

Data:Mon, 6 Jun 2005 14:32:17 -0300

Assunto:Re: freebsd cable disconnected problem

> Yes, the localhost go to this IP.
>
> This machine has 3 NIC with 3 different IP address. If the onboard sis0 is 
> not connected, ssh or ftp 127.0.0.1 does not work.
>
> Other machines has the same problem, but a llitle different. In other 
> FreeBSD, if a make any modifications like include a default gateway on the 
> routing table, it does not work.
>
> Is there any security issue or something like?
>
> Thanks.
>
> Diogo Della
>
> On May 26, 2005, at 4:07 PM, Diogo Della wrote:
> > It is very strange: if a put the initial ip address of the
> > interface and disconnect the cable "ssh localhost" does not work.
> > But, if a let this running and put the cable again, "ssh localhost"
> > works.
> >
> > What is going on? FreeBSD need to be connected and with the same ip
> > address I set at installation for the network deamon to work?
>
> Does localhost actually go to IP 127.0.0.1?
> Do you have a localhost route, check "netstat -nr"...?
>
> You can also take a look at what your daemons are binding to via:
> "netstat -anp TCP | grep LISTEN". Are they binding to *.port or
> otherwise?
>
> --
> -Chuck
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: strange network behaviour

2005-06-06 Thread Nathan Kinkade
On Mon, Jun 06, 2005 at 10:46:33AM -0700, [EMAIL PROTECTED] wrote:
> on Friday i set up 4 old celeron boxes as DNS servers for a client.  after
> about 5 minutes, their ability to reach the network vanishes... they can't
> ping their router, and inbound network traffic vanishes.  rebooting fixes
> the problem... for another ~ 5 min.
> 
> the only things running are chrooted bind, postfix, and webmin.  ipfw is
> on, with firewall_type="open".  i've also tried it with ipfw disabled.
> 
> The same thing happens with my laptop, which is also running 5-STABLE as
> of about noon on friday.
> 
> I know this sounds like a network issue, but is there anything in the
> system that might cause thist type of behavior?  it doesn't seem to be the
> hardware - my laptop is a pentium M centrino system with a bg nic, and
> they're old Celeron 500 machines with fxp nics.
> 
> the kernel config is attached, in case i've done something really stupid
> in there
> 
> thanks,
> 
> ben

What is your default rule for IPFW?  I once had a similar problem in a
setup that included an IPFW machine in bridge mode.  I would turn on the
firewall and everything worked fine for about 5 or 10 minutes,
after which everything broke down.  The setup looked like this:

[gateway (cisco)] <--> [ipfw (bridge mode)] <--> [internal net]

It turns out what was happening was that the ipfw machine running
in bridge mode with a default rule of deny was not allowing ARP requests
to pass between the gateway and the internal net.  As soon as the ARP
entries expired on the internal net, access to the external network
broke down because ARP lookups for the gateways IP address were failing
because of the IPFW machine.  In the end we had to set the default IPFW
rule to accept and add two rules before that denying any TCP or UDP
packets.

I'm not sure if this has anything to do with your situation, but I
though I'd throw it out there as one possiblity that involves IPFW.

Nathan


pgpGLqXbc582w.pgp
Description: PGP signature


Fwd: Re: [R] Unable to compile R-2.1.0

2005-06-06 Thread Vic FreeBSD

No-one has an idea?
vITTORIO
--  Messaggio inoltrato  --

Subject: Re: [R] Unable to compile R-2.1.0
Date: 13:51, lunedì 6 giugno 2005
From: Prof Brian Ripley <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc: r-help 

This has been reported to R-bugs twice already (and also on the lists):
it seems autoconf and FreeBSD are making different assumptions.

If you look in today's R-devel archive you will see the requests for
information I set on the second report.

It seems no one using FreeBSD ever tested the alphas or betas of R 2.1.0.

On Mon, 6 Jun 2005 [EMAIL PROTECTED] wrote:
> I downloaded the latest R-2.1.0 tarball from cran (the one of 18/4/05) to
> compile it under FreeBSD. Take into account that I compiled R-2.0.1 in the
> same machine and OS like a charme, flawlessly and at the very fiirst shot.
>
> Now with R-2.1.0, ./configure doesn't seem to say anything alarming but
> make stops. Here an extract of both ./configure and make:
>
> # ./configure
> ..
> R is now configured for i386-unknown-freebsd5.4
>
>  Source directory:  .
>  Installation directory:/usr/local
>
>  C compiler:gcc -D__NO_MATH_INLINES -g -O2
>  C++ compiler:  g++  -g -O2
>  Fortran compiler:  f77  -g -O2
>
>  Interfaces supported:  X11, tcltk
>  External libraries:readline, BLAS(ATLAS)
>  Additional capabilities:   PNG, JPEG, iconv, MBCS, NLS
>  Options enabled:   R profiling
>
>  Recommended packages:  yes
>
> configure: WARNING: you cannot build info or html versions of the R manuals
>
>
> #make
> 
> NLINES  -g -O2 -c util.c -o util.o
> gcc -I../../src/extra/zlib -I../../src/extra/bzip2 -I../../src/extra/pcre
>  -I. -I../../src/include -I../../src/include -I/usr/local/include
> -DHAVE_CONFIG_H -D__NO_MATH_INLINES  -g -O2 -c version.c -o version.o
> gcc -I../../src/extra/zlib -I../../src/extra/bzip2 -I../../src/extra/pcre
>  -I. -I../../src/include -I../../src/include -I/usr/local/include
> -DHAVE_CONFIG_H -D__NO_MATH_INLINES  -g -O2 -c vfonts.c -o vfonts.o
> f77   -g -O2 -c xxxpr.f -o xxxpr.o
> gcc -export-dynamic -L/usr/local/lib -o R.bin  Rmain.o  CConverters.o
> CommandLineArgs.o Rdynload.o Renviron.o RNG.o apply.o arithmetic.o apse.o
> array.o attrib.o base.o bind.o builtin.o character.o coerce.o colors.o
> complex.o connections.o context.o cov.o cum.o dcf.o datetime.o debug.o
> deparse.o deriv.o dotcode.o dounzip.o dstruct.o duplicate.o engine.o
> envir.o errors.o eval.o format.o fourier.o gevents.o gram.o gram-ex.o
> graphics.o identical.o internet.o iosupport.o lapack.o list.o logic.o
> main.o mapply.o match.o memory.o model.o names.o objects.o optim.o
> optimize.o options.o par.o paste.o pcre.o platform.o plot.o plot3d.o
> plotmath.o print.o printarray.o printvector.o printutils.o qsort.o random.o
> regex.o registration.o relop.o saveload.o scan.o seq.o serialize.o size.o
> sort.o source.o split.o sprintf.o startup.o subassign.o subscript.o
> subset.o summary.o sysutils.o unique.o util.o version.o vfonts.o xxxpr.o
> ../unix/libunix.a ../appl/libappl.a ../nmath/libnmath.a  -lf77blas -latlas
> -lg2c -lm  ../extra/zlib/libz.a ../extra/bzip2/libbz2.a
> ../extra/pcre/libpcre.a /usr/local/lib/libintl.so -Wl,-rpath
> -Wl,/usr/local/lib -lreadline -lm -liconv errors.o(.text+0x154b): In
> function `do_gettext':
> /tmp/R-2.1.0/src/main/errors.c:779: undefined reference to
> `__builtin_alloca'
> errors.o(.text+0x15fa):/tmp/R-2.1.0/src/main/errors.c:752: undefined
> reference to `__builtin_alloca'
> errors.o(.text+0x1652):/tmp/R-2.1.0/src/main/errors.c:760: undefined
> reference to `__builtin_alloca'
> errors.o(.text+0x16aa):/tmp/R-2.1.0/src/main/errors.c:770: undefined
> reference to `__builtin_alloca'
> errors.o(.text+0x1728):/tmp/R-2.1.0/src/main/errors.c:738: undefined
> reference to `__builtin_alloca'
> errors.o(.text+0x274d):/tmp/R-2.1.0/src/main/errors.c:829: more undefined
> references to `__builtin_alloca' follow
> *** Error code 1
>
> Stop in /tmp/R-2.1.0/src/main.
> *** Error code 1
>
> Stop in /tmp/R-2.1.0/src/main.
> *** Error code 1
>
> Stop in /tmp/R-2.1.0/src.
> *** Error code 1
>
> Stop in /tmp/R-2.1.0.
>
>
> What's the matter with it and what should I do next?
>
> VITTORIO
>
> __
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html

--
Brian D. Ripley,  [EMAIL PROTECTED]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel:  +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UKFax:  +44 1865 272595

---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubsc

Re: aspell upgrade problem

2005-06-06 Thread Lei Sun
Which file should I delete? 

It is getting errors like "checksum mismatch".



I did a "make clean"

[EMAIL PROTECTED] ls
Makefilepkg-plist.csb   pkg-plist.ga  
 pkg-plist.lapkg-plist.orpkg-plist.tet
distinfopkg-plist.cypkg-plist.gd  
 pkg-plist.ltpkg-plist.papkg-plist.tl
files   pkg-plist.dapkg-plist.gl  
 pkg-plist.lvpkg-plist.plpkg-plist.tn
pkg-descr   pkg-plist.depkg-plist.gv  
 pkg-plist.mipkg-plist.ptpkg-plist.tr
pkg-plist   pkg-plist.de-altpkg-plist.he  
 pkg-plist.mkpkg-plist.qupkg-plist.uk
pkg-plist.afpkg-plist.elpkg-plist.hi  
 pkg-plist.mnpkg-plist.ropkg-plist.uz
pkg-plist.ampkg-plist.enpkg-plist.hil 
 pkg-plist.mrpkg-plist.rupkg-plist.vi
pkg-plist.azpkg-plist.eopkg-plist.hr  
 pkg-plist.mspkg-plist.rwpkg-plist.wa
pkg-plist.bepkg-plist.espkg-plist.hsb 
 pkg-plist.mtpkg-plist.scpkg-plist.yi
pkg-plist.bgpkg-plist.etpkg-plist.hu  
 pkg-plist.nbpkg-plist.skpkg-plist.zu
pkg-plist.bnpkg-plist.fapkg-plist.ia  
 pkg-plist.nds   pkg-plist.sl
pkg-plist.brpkg-plist.fipkg-plist.id  
 pkg-plist.nlpkg-plist.sv
pkg-plist.capkg-plist.fopkg-plist.is  
 pkg-plist.nnpkg-plist.sw
pkg-plist.cspkg-plist.frpkg-plist.it  
 pkg-plist.nypkg-plist.ta



On 6/6/05, Kent Stewart <[EMAIL PROTECTED]> wrote:
> On Monday 06 June 2005 10:31 am, Lei Sun wrote:
> > Hi,
> >
> > I am trying to do a upgrade of aspell on freebsd5.4 using
> >
> > cvsup portsupfile
> > # cd /usr/ports
> > # make fetchindex
> > # protupgrade aspell
> >
> > and it's giving me errors:
> >
> > ...
> > => Attempting to fetch from ftp://ftp.lip6.fr/pub/gnu/aspell/.
> > fetch: aspell-0.60.2.tar.gz: local modification time does not match
> > remote => Attempting to fetch from ftp://ftp.chg.ru/pub/gnu/aspell/.
> > fetch: aspell-0.60.2.tar.gz: local modification time does not match
> > remote ...
> > => port manually into /usr/ports/distfiles/ and try again.
> > *** Error code 1
> >
> > Stop in /usr/ports/textproc/aspell.
> > *** Error code 1
> >
> > Stop in /usr/ports/textproc/aspell.
> > ** Command failed [exit code 1]: /usr/bin/script -qa
> > /tmp/portupgrade14913.0 make
> > ** Fix the problem and try again.
> > ** Listing the failed packages (*:skipped / !:failed)
> > ! textproc/aspell (aspell-0.60.2)   (checksum mismatch)
> > --->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
> >
> > I saw http://www.freebsd.org/cgi/ports.cgi?query=aspell&stype=all
> > aspell version is suppose to be aspell-0.60.2_1
> >
> > What am I doign wrong? What am I suppose to do?
> >
> 
> When I get messages like you are, I go into the distfile directory and
> delete the file it is having problems with. Most of the time, the
> problem goes away.
> 
> Kent
> 
> --
> Kent Stewart
> Richland, WA
> 
> http://users.owt.com/kstewart/index.html
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ssh delays 40 seconds (SOLVED???)

2005-06-06 Thread Robert Marella

luke wrote:

also, you might want to look into the UseDNS option in the sshd_config
file. this will cause the server to not perform dns lookups on
connecting hosts.


Luke

Okay, that takes care of the delay. I had to change it to "no" on all 
boxes that I ssh into. Does this have any negative ramifications? My 
firewall excludes all incoming (at this time) so I am not too worried 
about being compromised.


It still leaves the question in my pea brain as to why it has worked for 
6 months and just started this nonsense in the last week or so. Did 
something change with 5.4?


Thanks for responding.

I want to thank everyone else for responding also. The consensus was 
that I need DNS/named working on my gateway/firewall so I will be 
reading and studying to have that working in the near future.


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


Remote X client

2005-06-06 Thread Karel Miklav
I ssh on remote server, set DISPLAY, then run Thunderbird, Links etc.
remotely and everything looks and works great. Now I try Firefox and
WTF! it read configuration from the local machine! Links and settings
are all local and it doesn't resolve as I didn't set up route on local
machine yet. So it's local, but how can that happen - it was run over
ssh on remote machine?!

Regards,
Karel Miklav


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


Re: aspell upgrade problem

2005-06-06 Thread Kent Stewart
On Monday 06 June 2005 01:04 pm, Lei Sun wrote:
> Which file should I delete?
>
> It is getting errors like "checksum mismatch".
>
> -
>---
>
> I did a "make clean"
>

You need to
cd /usr/ports/distfiles
ls aspell*
and rm  aspell-0.60.2.tar.gz or which ever one is giving you the 
checksum error.

Kent

>
> On 6/6/05, Kent Stewart <[EMAIL PROTECTED]> wrote:
> > On Monday 06 June 2005 10:31 am, Lei Sun wrote:
> > > Hi,
> > >
> > > I am trying to do a upgrade of aspell on freebsd5.4 using
> > >
> > > cvsup portsupfile
> > > # cd /usr/ports
> > > # make fetchindex
> > > # protupgrade aspell
> > >
> > > and it's giving me errors:
> > >
> > > ...
> > > => Attempting to fetch from ftp://ftp.lip6.fr/pub/gnu/aspell/.
> > > fetch: aspell-0.60.2.tar.gz: local modification time does not
> > > match remote => Attempting to fetch from
> > > ftp://ftp.chg.ru/pub/gnu/aspell/. fetch: aspell-0.60.2.tar.gz:
> > > local modification time does not match remote ...
> > > => port manually into /usr/ports/distfiles/ and try again.
> > > *** Error code 1
> > >
> > > Stop in /usr/ports/textproc/aspell.
> > > *** Error code 1
> > >
> > > Stop in /usr/ports/textproc/aspell.
> > > ** Command failed [exit code 1]: /usr/bin/script -qa
> > > /tmp/portupgrade14913.0 make
> > > ** Fix the problem and try again.
> > > ** Listing the failed packages (*:skipped / !:failed)
> > > ! textproc/aspell (aspell-0.60.2)   (checksum
> > > mismatch) --->  Packages processed: 0 done, 0 ignored, 0 skipped
> > > and 1 failed
> > >
> > > I saw http://www.freebsd.org/cgi/ports.cgi?query=aspell&stype=all
> > > aspell version is suppose to be aspell-0.60.2_1
> > >
> > > What am I doign wrong? What am I suppose to do?
> >
> > When I get messages like you are, I go into the distfile directory
> > and delete the file it is having problems with. Most of the time,
> > the problem goes away.
> >
> > Kent
> >
> > --
> > Kent Stewart
> > Richland, WA
> >
> > http://users.owt.com/kstewart/index.html

-- 
Kent Stewart
Richland, WA

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


problema con el sonido

2005-06-06 Thread Meleagro Slackware
puse mi /boot/defaults/loader.conf asi:

##
###  Sound modules  ##
##
snd_via8233_load="YES"  # via8233

Solo active esa y me funcionó el sonido, pero ahora he reinicioado el
sistema y aun manteniendose asi el archivo, nada mas iniciar kde me
sale el mensajito de sonido no disponible.

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


Re: ssh delays 40 seconds (SOLVED???)

2005-06-06 Thread Robert Marella
Resending because I did not see it come in ti -questions and I keep 
having mail bounced sending to "Jonathan Chen <[EMAIL PROTECTED]>".


luke wrote:

also, you might want to look into the UseDNS option in the sshd_config
file. this will cause the server to not perform dns lookups on
connecting hosts.


Luke

Okay, that takes care of the delay. I had to change it to "no" on all
boxes that I ssh into. Does this have any negative ramifications? My
firewall excludes all incoming (at this time) so I am not too worried
about being compromised.

It still leaves the question in my pea brain as to why it has worked for
6 months and just started this nonsense in the last week or so. Did
something change with 5.4?

Thanks for responding.

I want to thank everyone else for responding also. The consensus was
that I need DNS/named working on my gateway/firewall so I will be
reading and studying to have that working in the near future.

Robert

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


rueba del ratón

2005-06-06 Thread Meleagro Slackware
Cómo puedo hacer para poner la rueda del ratón a funcionar.
kde me va bien, pero si miro en /etc/X11/ no hay ningún fichero.
¿ donde se encuentra el xorg.conf ? si hago un whereis xorg.confno me
lo encuentra
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Bento Cluster

2005-06-06 Thread Kris Kennaway
On Sun, Jun 05, 2005 at 05:59:15PM -0400, [EMAIL PROTECTED] wrote:
> dear sir,
> hen i asked the question about the Bento Cluster, some one gives me this 
> adress :
> http://pointyhat.freebsd.org/errorlogs/
> is it the new name of the "BENTO Cluster" or is it another project.

It's the same thing..bento was the name of the previous machine that hosted it.

> else on this page, where is the exact link to the "Bento Cluster"
> and is there any images about this project on this site or on the
> internet.

No images, but it would just be boring pictures of random hardware.

Kris


pgpSwZ54hDNu6.pgp
Description: PGP signature


Re: ssh delays 40 seconds (SOLVED???)

2005-06-06 Thread Kevin Kinsey

Robert Marella wrote:


luke wrote:


also, you might want to look into the UseDNS option in the sshd_config
file. this will cause the server to not perform dns lookups on
connecting hosts.



Did something change with 5.4?



I don't think so; I've had the problem appear a long time ago
from some locations.  Looking at the CVS web, it appears
that *maybe* this came on when OpenSSH 3.7.1p2 was
imported in January, 2004.

So maybe you were a little behind on mergemaster ...

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


Re: Performance

2005-06-06 Thread Dmitry Mityugov
On 6/6/05, Michael Louie Loria wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: RIPEMD160
> 
> Thanks for the advices. I nid more RAM ;-)

Please, don't get me wrong. There are several light-weight window
managers that may work very well on 64MB RAM (and, as people say, they
behave closer to traditional Unix than managers that were mentioned
above). But if you plan to "surf the web, emails, word
 processing" in graphical mode, then yes, the more RAM your machine
has the better. Or just create a big swap partition, FreeBSD is very
good on swapping unused portions of memory to disk. BTW, I am posting
this from a machine that has 256 MB RAM and a 4 GB swap partition (but
it also has 2 RAM disks that can grow up to 1 GB each).

-- 
Dmitry

"We live less by imagination than despite it" - Rockwell Kent, "N by E"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ssh delays 40 seconds (SOLVED???)

2005-06-06 Thread Robert Marella

Kevin Kinsey wrote:

Robert Marella wrote:


luke wrote:


also, you might want to look into the UseDNS option in the sshd_config
file. this will cause the server to not perform dns lookups on
connecting hosts.




Did something change with 5.4?




I don't think so; I've had the problem appear a long time ago
from some locations.  Looking at the CVS web, it appears
that *maybe* this came on when OpenSSH 3.7.1p2 was
imported in January, 2004.

So maybe you were a little behind on mergemaster ...


Hello Kevin

I built this gateway in January 2005 with 5.3 CDs. All worked fine so 
(IIRC) I waited until 5.4 was released to update. There is also a good 
chance that I did some incremental 5.3 updates but I can't be for sure 
because all was well on the gateway and I was doing the incremental 
thing on other boxes. Either way, OpenSSH 3.7.1p2 would have been on the CD.


I'm pretty anal about doing the mergemaster dance when updating :)

Thanks for the $0.02. Always appreciated.

Robert

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


pkgdb problem

2005-06-06 Thread Vizion
Hi

I managed  to get my pkgdb entirely screwed up - and there is now no database.

I tried pkgdb -fu
And was told there were 0 pkgs!

How do I rebuild from scratch?

Thanks 
David
-- 
40 yrs navigating and screwed up computing in blue waters!
English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing May/June bound for Europe via Panama 
Canal.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


WINE on FreeBSD

2005-06-06 Thread William Bloom
After having installed wine on FreeBSD and used it successfully for some 
applications, I've found that it would be useful to run an application that 
needs a network connection to elsewhere on the network.  It is not apparent to 
me how I would go about configuring TCP/IP in wine, and I've not found anything 
at winehq.com that explains this.  I've tried adding entries to system.reg for 
TCP/IP but these are ineffective.  Yet I read postings elsewhere from people 
who 
have done this successfully on Linux, and even a few postings from people who 
have done successfully with FreeBSD in the past (although the technique for 
doing so was unmentioned).

Can someone suggest a resource/how-to that would educate me on how to do this 
for FreeBSD?

For reference, any attempt to use ipconfig gets these messages...

fixme:win:GetProcessWindowStation (void): stub
fixme:user:GetUserObjectInformationW (0x1 2 0x0 0 0x33fbd4),stub!
fixme:win:GetThreadDesktop (9): stub
fixme:user:GetUserObjectInformationW (0x1 2 0x0 0 0x33fbd8),stub!
fixme:user:GetUserObjectInformationW (0x1 2 0x159c38 0 0x33fbd4),stub!
fixme:user:GetUserObjectInformationW (0x1 2 0x159c38 0 0x33fbd8),stub!
fixme:ntdll:NtQueryVolumeInformationFile device info not properly supported on 
this platform
err:module:find_forwarded_export function not found for forward 
'AdvApi32.WmiNotificationRegistrationW' used by 
L"C:\\WINDOWS\\system32\\WMI.dll". If you are using builtin L"WMI.dll", try 
using the native one instead.

...and any attempt to ping gets a wine debugger after the following messages...

fixme:seh:EXC_RtlRaiseException call (from 0x1001949) to unimplemented function 
KERNEL32.dll.SetThreadUILanguage
wine: Unhandled exception (thread 000b), starting debugger...

I did take the suggestion mentioned above from the error message (I specified 
'builtin' for WMI.dll), but this had no effect.  My wine version is 20050419.


Bill
-- 
William Bloom <[EMAIL PROTECTED]> (602) 604-3100
Eldorado Computing, Inc.  5353 North 16th Street, Suite 400
Phoenix, Az 85016  http://www.eldocomp.com

-- CONFIDENTIALITY NOTICE --

Information transmitted by this e-mail is proprietary to MphasiS and/or its 
Customers and is intended for use only by the individual or entity to which it 
is addressed, and may contain information that is privileged, confidential or 
exempt from disclosure under applicable law. If you are not the intended 
recipient or it appears that this mail has been forwarded to you without proper 
authority, you are notified that any use or dissemination of this information 
in any manner is strictly prohibited. In such cases, please notify us 
immediately at [EMAIL PROTECTED] and delete this mail from your records.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Moving mail spools

2005-06-06 Thread Charles Swiger

On Jun 6, 2005, at 11:53 AM, Giorgos Keramidas wrote:

On 2005-06-06 11:48, Matt Juszczak <[EMAIL PROTECTED]> wrote:

We need to move the mail spools from the slack machine to the freebsd
machine.  if I just copy them over to var/mail will it automatically
work or does freebsd use a different format?


Yes.  UNIX mailbox files are simply a sequence of mail messages
concatenated after each other.

Please note that you should only move mailboxes while delivery is
stopped to them though.  Otherwise, you may end up with corrupt
mailboxes on the destination folder.


Good point.  Note that one should stop *clients* reading the mail via  
IMAP or whatever, too.  :-)


--
-Chuck

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


Re: strange network behaviour

2005-06-06 Thread Charles Swiger

On Jun 6, 2005, at 1:46 PM, [EMAIL PROTECTED] wrote:
on Friday i set up 4 old celeron boxes as DNS servers for a  
client.  after
about 5 minutes, their ability to reach the network vanishes...  
they can't
ping their router, and inbound network traffic vanishes.  rebooting  
fixes

the problem... for another ~ 5 min.

the only things running are chrooted bind, postfix, and webmin.   
ipfw is

on, with firewall_type="open".  i've also tried it with ipfw disabled.


Someone who mentioned ARP may be right, judging by the timeout, but  
perhaps not if you've turned IPFW off entirely.  Five minutes is also  
about right if you've got dynamic routing or a second DHCP server  
lurking enabled somewhere and is sending out a bad route.


Are you sure the router is OK?

--
-Chuck

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


Re: arplookup failed

2005-06-06 Thread Charles Swiger

On Jun 6, 2005, at 1:59 PM, Kövesdán Gábor wrote:

The following message has been often repeating in my messages log:

Jun  6 19:24:38 server kernel: arplookup   
failed: host is not on local network


I know what arp is, and I understand this message, but I don't know  
what causes it, but it annoys me, and I'd like to remove it from my  
log, since it doesn't make any severe error, and I would like  
compendious log files. Do You have any idea?


It generally means that one or more of your hosts do not agree on  
what the subnet mask should be.  You should look into and fix this  
problem; layer-2 problems can result in remarkable and unexpected  
network behavior sometimes...


--
-Chuck

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


Re: Looking for files older than n number of days?

2005-06-06 Thread Paul Schmehl
--On Sunday, June 05, 2005 23:47:44 -0400 Francisco Reyes 
<[EMAIL PROTECTED]> wrote:



On Sun, 5 Jun 2005, Paul Schmehl wrote:


Use negation.
find ! -n 10 blah


Could not get it to work with anything like that syntax.
For starters I don't see "-n". I see newer but that seems to compare to
another file.. Is this something you have done in the past?

All I gave you was an example of how negation works, not a specific command 
for find.


Try this: find {path} ! -newer {path to file with date you want}

Or you can touch a file with the date you want.  Then use that file as the 
"key" for find to know what "! -newer" means.


Take a look at this:



There's tons of ways to do what you want.  You just need to choose one that 
you like.


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


Re: arplookup failed

2005-06-06 Thread Alex Zbyslaw

Kövesdán Gábor wrote:

Jun  6 19:24:38 server kernel: arplookup  failed: 
host is not on local network


I know what arp is, and I understand this message, but I don't know 
what causes it, but it annoys me, and I'd like to remove it from my 
log, since it doesn't make any severe error, and I would like 
compendious log files. Do You have any idea?


Leaving out the IP address serves no purpose and without a) the IP 
address(es) and subnet mask(s) of the host this message comes from and 
b) the IP address that causes the message, you are simply asking us to 
be psychic.


However, here is the scenario which has caused my machine to generate 
these messages:


1) External address assigned by DHCP from a cable modem e.g. 82.50.100.101
2) My internal network address 192.165.5.1/255.255.0.0
3) Cable modem itself insists it has address 192.9.100.1

Address 3 is accessed via address 1 (the external interface) but has an 
IP address consistent with being on the internal network, hence the message.


--Alex


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


Re: pkgdb problem

2005-06-06 Thread Kris Kennaway
On Mon, Jun 06, 2005 at 02:14:16PM -0700, Vizion wrote:
> Hi
> 
> I managed  to get my pkgdb entirely screwed up - and there is now no database.
> 
> I tried pkgdb -fu
> And was told there were 0 pkgs!
> 
> How do I rebuild from scratch?

If you accidentally delete your /var/db/pkg directory then the only
way to recover it is to restore from backup.

Kris


pgpSDNRuN6mk6.pgp
Description: PGP signature


Re: ssh delays 40 seconds (SOLVED???)

2005-06-06 Thread Duane Winner





I want to thank everyone else for responding also. The consensus was 
that I need DNS/named working on my gateway/firewall so I will be 
reading and studying to have that working in the near future.



This is what I ended up having to do today...I tried to do what you did 
(set 'UseDNS no' in sshd_config), but my problem was that not all of my 
boxes are 5.3 or 5.4on my 5.2.1 boxes, using the 'UseDNS no' caused 
sshd not to restart. Same problem on some of my older Linux boxes still 
running.


So I set up some in-addr.arpa records for my internal subnets (which I 
never bothered to do or needed to do before) , and that seemed to take 
care of things.





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




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


Re: strange network behaviour

2005-06-06 Thread Duane Winner

[EMAIL PROTECTED] wrote:


on Friday i set up 4 old celeron boxes as DNS servers for a client.  after
about 5 minutes, their ability to reach the network vanishes... they can't
ping their router, and inbound network traffic vanishes.  rebooting fixes
the problem... for another ~ 5 min.

the only things running are chrooted bind, postfix, and webmin.  ipfw is
on, with firewall_type="open".  i've also tried it with ipfw disabled.

The same thing happens with my laptop, which is also running 5-STABLE as
of about noon on friday.

I know this sounds like a network issue, but is there anything in the
system that might cause thist type of behavior?  it doesn't seem to be the
hardware - my laptop is a pentium M centrino system with a bg nic, and
they're old Celeron 500 machines with fxp nics.

 

I believe something happenend out there in DNS land around noon on 
Friday...on the root servers possibly? I've been struggling with slow 
SSH and SSL connections that started around that time, and when I've 
posted, others have reported similar things...all starting around noon 
on Friday. AFAIK, something happened that affected reverse DNS 
lookups...on the machines on which I was able, I could fix SSH by 
setting "UseDNS no" in sshd_config. Today, I cured all the slowness (I 
think so far) by adding in-addr.arpa zones for my internal 10.x.x.x 
subnets.


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


Re: rueba del ratón

2005-06-06 Thread Nathan Kinkade
On Mon, Jun 06, 2005 at 10:42:05PM +0200, Meleagro Slackware wrote:
> Cómo puedo hacer para poner la rueda del ratón a funcionar.
> kde me va bien, pero si miro en /etc/X11/ no hay ningún fichero.
> ¿ donde se encuentra el xorg.conf ? si hago un whereis xorg.confno me
> lo encuentra

Para hacer funcionar la rueda del ratón mira por aquí:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/x.html#X-AND-WHEEL

Buen suerte,

Nathan


pgpYD2fo3l1ri.pgp
Description: PGP signature


Stray IRQ 7 on 5.4-STABLE

2005-06-06 Thread Anthony M. Agelastos

Hello all,

I am encountering the following message on my root window:

Jun 6 14:18:53 ast kernel: stray irq7
Jun 6 14:43:42 ast kernel: stray irq7
Jun 6 18:18:47 ast kernel: stray irq7
Jun 6 19:29:47 ast kernel: stray irq7

I have noticed these stray irq messages periodically, but cannot isolate 
what is causing them (the only mention of irq7 in dmesg relates to my 
printer (parallel printer port)). In the past, they popped up quickly 
prompting the message that there were too many stray irq7 and that it 
wouldn't log them anymore (I forget the exact wording). This appears to 
be a new problem (it hasn't happened that I know of since one of the 
last 2 times I have re-built world (I tend to update thrice every two 
months)). In case it is needed, I am running CUPS and have the 
appropriate (or so I've been told) options in my make.conf file (see it 
below). Does anyone have any ideas? I did some searching and came up 
with nada. Below I show my uname as well as dmesg and make.conf. Any 
help would be greatly appreciated. Thanks.


> uname -a
FreeBSD ast.home.iq 5.4-STABLE FreeBSD 5.4-STABLE #0: Sun May 29 
10:30:27 EDT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/IQKERNEL  i386

(IQKERNEL is GENERIC + SSE (movie playback) + i686 optimized)

> cat make.conf
CPUTYPE?=p3
CFLAGS= -O -pipe
NO_BLUETOOTH=true
CUPS_OVERWRITE_BASE=yes
NO_LPR=true
NOPROFILE=true

# added by use.perl 2005-03-24 18:07:16
PERL_VER=5.8.6
PERL_VERSION=5.8.6

> dmesg
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
   The Regents of the University of California. All rights reserved.
FreeBSD 5.4-STABLE #0: Sun May 29 10:30:27 EDT 2005
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/IQKERNEL
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium III/Pentium III Xeon/Celeron (448.80-MHz 686-class CPU)
 Origin = "GenuineIntel"  Id = 0x673  Stepping = 3
 
Features=0x387f9ff

real memory  = 335413248 (319 MB)
avail memory = 314388480 (299 MB)
npx0:  on motherboard
npx0: INT 16 interface
acpi0:  on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0:  on acpi0
acpi_throttle0:  on cpu0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
nvidia0:  mem 0xf300-0xf3ff,0xfd00-0xfdff irq 
11 at device 0.0 on pci1

isab0:  at device 7.0 on pci0
isa0:  on isab0
atapci0:  port 
0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0

ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
uhci0:  port 0xef80-0xef9f irq 
10 at device 7.2 on pci0

usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0:  at device 7.3 (no driver attached)
pcm0:  port 0xef00-0xef3f irq 9 at device 12.0 on pci0
pcm0: 
rl0:  port 0xe800-0xe8ff mem 
0xfebffc00-0xfebffcff irq 11 at device 13.0 on pci0

miibus0:  on rl0
rlphy0:  on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:02:e3:0f:8b:a0
pci0:  at device 14.0 (no driver attached)
acpi_button0:  on acpi0
atkbdc0:  port 0x64,0x60 irq 1 on acpi0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
psm0:  irq 12 on atkbdc0
psm0: model MouseMan+, device ID 0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on 
acpi0

sio0: type 16550A
ppc0:  port 0x778-0x77b,0x378-0x37f irq 7 drq 
3 flags 0x28 on acpi0

ppc0: SMC-like chipset (ECP-only) in ECP mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0:  on ppc0
ppbus0: IEEE1284 device found /NIBBLE/ECP
Probing for PnP devices on ppbus0:
ppbus0:  MLC,PCL,PML
plip0:  on ppbus0
lpt0:  on ppbus0
lpt0: Polled port
ppi0:  on ppbus0
orm0:  at iomem 0xc-0xc7fff on isa0
pmtimer0 on isa0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
uscanner0: Hewlett-Packard HP ScanJet 3300C, rev 1.00/0.00, addr 2
Timecounter "TSC" frequency 448802339 Hz quality 800
Timecounters tick every 10.000 msec
ad0: 8063MB  [16383/16/63] at ata0-master UDMA33
acd0: CDRW  at ata0-slave PIO4
acd1: DVDROM  at ata1-master PIO4
ad3: 29311MB  [59554/16/63] at ata1-slave UDMA33
Mounting root from ufs:/dev/ad0s1a
stray irq7
stray irq7
stray irq7
stray irq7

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


Sony Ericsson GC75 GPRS MODEM

2005-06-06 Thread Ray Newman

Any idea why the Sony Ericsson GC75 GPRS MODEM fails under 5.4-RELEASE
with pccard0: Card has no functions! but works as a sio under 4.11 RELEASE?

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


djvulibre under 4.11 ?

2005-06-06 Thread Rich Winkel
Does anyone have the djvulibre plugin running under 4.11?  I have
mozilla-1.7.8,2 and djvulibre-3.5.14_1 installed, and all I get
is a blank frame, no error messages.  djview works fine.
Help!!!

Rich

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


Re: pkgdb problem

2005-06-06 Thread Vizion
On Monday 06 June 2005 15:32,  the author Kris Kennaway contributed to the 
dialogue on-
 Re: pkgdb problem: 

>On Mon, Jun 06, 2005 at 02:14:16PM -0700, Vizion wrote:
>> Hi
>>
>> I managed  to get my pkgdb entirely screwed up - and there is now no
>> database.
>>
>> I tried pkgdb -fu
>> And was told there were 0 pkgs!
>>
>> How do I rebuild from scratch?
>
>If you accidentally delete your /var/db/pkg directory then the only
>way to recover it is to restore from backup.

Ooh dear
are there no recovery scripts - I lost my var partition - and the back up was 
overwritten by a blank db!!
I have a file listing of all the packages installed on the system - an output 
from pkg_info.
Do you happen to know if there is any way I can at least get that into the 
pkgdb?

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


Re: WINE on FreeBSD

2005-06-06 Thread jason henson

William Bloom wrote:

After having installed wine on FreeBSD and used it successfully for some 
applications, I've found that it would be useful to run an application that 
needs a network connection to elsewhere on the network.  It is not apparent to 
me how I would go about configuring TCP/IP in wine, and I've not found anything 
at winehq.com that explains this.  I've tried adding entries to system.reg for 
TCP/IP but these are ineffective.  Yet I read postings elsewhere from people who 
have done this successfully on Linux, and even a few postings from people who 
have done successfully with FreeBSD in the past (although the technique for 
doing so was unmentioned).


Can someone suggest a resource/how-to that would educate me on how to do this 
for FreeBSD?


For reference, any attempt to use ipconfig gets these messages...

fixme:win:GetProcessWindowStation (void): stub
fixme:user:GetUserObjectInformationW (0x1 2 0x0 0 0x33fbd4),stub!
fixme:win:GetThreadDesktop (9): stub
fixme:user:GetUserObjectInformationW (0x1 2 0x0 0 0x33fbd8),stub!
fixme:user:GetUserObjectInformationW (0x1 2 0x159c38 0 0x33fbd4),stub!
fixme:user:GetUserObjectInformationW (0x1 2 0x159c38 0 0x33fbd8),stub!
fixme:ntdll:NtQueryVolumeInformationFile device info not properly supported on 
this platform
err:module:find_forwarded_export function not found for forward 
'AdvApi32.WmiNotificationRegistrationW' used by 
L"C:\\WINDOWS\\system32\\WMI.dll". If you are using builtin L"WMI.dll", try 
using the native one instead.


...and any attempt to ping gets a wine debugger after the following messages...

fixme:seh:EXC_RtlRaiseException call (from 0x1001949) to unimplemented function 
KERNEL32.dll.SetThreadUILanguage

wine: Unhandled exception (thread 000b), starting debugger...

I did take the suggestion mentioned above from the error message (I specified 
'builtin' for WMI.dll), but this had no effect.  My wine version is 20050419.



Bill
 

I've used apps that do things on the internet like download updates 
automatically.  I know nothiing of a network setup, maybe you have a dll 
missing or unsupported function in your app.  WINE is not an emulator 
and does not create network connections.  It translates between win32 
binaries and unix.  What you describe sounds like vmware or something 
that is not configured.

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


Re: pkgdb problem

2005-06-06 Thread Kris Kennaway
On Mon, Jun 06, 2005 at 05:30:01PM -0700, Vizion wrote:
> On Monday 06 June 2005 15:32,  the author Kris Kennaway contributed to the 
> dialogue on-
>  Re: pkgdb problem: 
> 
> >On Mon, Jun 06, 2005 at 02:14:16PM -0700, Vizion wrote:
> >> Hi
> >>
> >> I managed  to get my pkgdb entirely screwed up - and there is now no
> >> database.
> >>
> >> I tried pkgdb -fu
> >> And was told there were 0 pkgs!
> >>
> >> How do I rebuild from scratch?
> >
> >If you accidentally delete your /var/db/pkg directory then the only
> >way to recover it is to restore from backup.
> 
> Ooh dear
> are there no recovery scripts - I lost my var partition - and the back up was 
> overwritten by a blank db!!

No, the information is only stored within that directory.

> I have a file listing of all the packages installed on the system - an output 
> from pkg_info.
> Do you happen to know if there is any way I can at least get that into the 
> pkgdb?

Feed it to portinstall to reinstall all of the ports.

Kris

pgpZVIR7JFiEf.pgp
Description: PGP signature


Re: link in handbook appears to be broken

2005-06-06 Thread Steven Friedrich
On Monday 06 June 2005 02:58 pm, Ted Mittelstaedt wrote:
> Yes, use DAO.  But the software should know that since it's an ISO to
> do that automatically.  An ISO image on a multisession CD would be
> senseless, of course.  An ISO image needs to be written and the CD
> closed in a single session.
>
> Ted
>
> >-Original Message-
> >From: [EMAIL PROTECTED]
> >[mailto:[EMAIL PROTECTED] Behalf Of Steven
> >Friedrich
> >Sent: Monday, June 06, 2005 10:03 AM
> >To: Ted Mittelstaedt
> >Cc: freebsd-questions@freebsd.org
> >Subject: Re: link in handbook appears to be broken
> >
> >On Monday 06 June 2005 01:16 am, Ted Mittelstaedt wrote:
> >> >-Original Message-
> >> >From: [EMAIL PROTECTED]
> >> >[mailto:[EMAIL PROTECTED] Behalf Of Steven
> >> >Friedrich
> >> >Sent: Sunday, June 05, 2005 7:24 PM
> >> >To: Ted Mittelstaedt
> >> >Cc: freebsd-questions@freebsd.org
> >> >Subject: Re: link in handbook appears to be broken
> >> >
> >> >On Sunday 05 June 2005 06:48 pm, Ted Mittelstaedt wrote:
> >> >> >-Original Message-
> >> >> >From: [EMAIL PROTECTED]
> >> >> >[mailto:[EMAIL PROTECTED] Behalf Of Steven
> >> >> >Friedrich
> >> >> >Sent: Sunday, June 05, 2005 8:20 AM
> >> >> >To: Ted Mittelstaedt
> >> >> >Cc: freebsd-questions@freebsd.org
> >> >> >Subject: Re: link in handbook appears to be broken
> >> >> >
> >> >> >On Saturday 04 June 2005 01:04 am, Ted Mittelstaedt wrote:
> >> >> >> Hi Steven
> >> >> >>
> >> >> >>   Please don't waste time with this.  development of
> >> >
> >> >burncd is pretty
> >> >
> >> >> >> much
> >> >> >> dead.  Even the CD's on the list that it supported (of which
> >> >> >
> >> >> >I have one)
> >> >> >
> >> >> >> often didn't work right.  And all of them are old, no longer in
> >> >> >> production.
> >> >> >> burncd is there so if you have a burner sitting around
> >
> >you can plug
> >
> >> >> >> it in and see if it works.
> >> >> >>
> >> >> >>   These days most people use the ATAPI/CAM driver with IDE
> >> >> >
> >> >> >burners, see:
> >> >> >
> >> >> >
> >> >> >http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creati
> >> >> >ng-cds.ht
> >> >> >
> >> >> >> ml#ATAPICAM
> >> >> >>
> >> >> >> Ted
> >> >> >
> >> >> >Ok, but I'm getting nearly the same error with cdrecord.
> >> >> >
> >> >> >cdrecord -blank=all -eject dev=toshiba seemed to work ok.
> >> >> >cdrecord dev=toshiba cd1.iso didn't complain
> >> >> >but then mount /cdrom produced
> >> >> >acd0: READ_BIG - MEDIUM ERROR asc=0x15 ascq=0x00 error=0x00
> >> >> >
> >> >> >
> >> >> >Can someone tell me where to find the meanings of these codes?
> >> >>
> >> >> What you see is what you get - the error "MEDIUM ERROR"
> >
> >seems pretty
> >
> >> >> clear to me - it means that the CD you burned isn't readable.  What
> >> >> are you after - a masters thesis spewed out for every little error?
> >> >> That would bloat the code.
> >> >>
> >> >> FreeBSD tells you there's an error it's your job to find out why
> >> >> there is one.
> >> >>
> >> >> Since as you said in your other posting you are making good CD's at
> >> >> low-speed burn, and frizbees at high speed burn, there is a
> >> >
> >> >good chance
> >> >
> >> >> you
> >> >> are underrunning the buffer in the burner.  Get a faster CPU
> >> >
> >> >or live with
> >> >
> >> >> lower speed burns.
> >> >>
> >> >> UNIX is a preemptive operating system.  That means that
> >
> >during your CD
> >
> >> >> burn, if something else goes on in the system by some
> >
> >other process,
> >
> >> >> then your burning process gets paused.  If the burner you are
> >> >
> >> >using has
> >> >
> >> >> a very small internal buffer than it will run out of data
> >
> >and you will
> >
> >> >> produce a frisbee.
> >> >>
> >> >> WinXP by contrast lets apps like Roxio basically halt the OS while
> >> >> your doing some time-critical operation.  That's fine for a
> >> >
> >> >single-user
> >> >
> >> >> OS but pretty stupid for a server what has lots of people using it
> >> >> all the time.  That is why people don't use WinXP for servers.
> >> >>
> >> >> You cna try playing with the nice command and your cd
> >
> >burns and see if
> >
> >> >> you can make any difference.
> >> >>
> >> >> Ted
> >> >
> >> >My machines (2) are 2.4 GHz pentium 4s.
> >>
> >> OK, in that case chances it's a buffer underrun are much lower.
> >>
> >> >I use the same drive
> >> >and media under
> >> >winXP and using Roxio, I've burned freeBSD 4.11 ISOs and booted
> >> >from them.
> >> >The Memorex 1x-4x media worked with cdrecord but the Memorex
> >> >4x-12x media
> >> >doesn't, even when I tell it to burn at 4x like the 1x-4x media did.
> >> >
> >> >I'm not expecting the software to decode the asc, ascq, and
> >> >error codes, but I
> >> >do expect to find them documented in a header or a book, man
> >> >page, somewhere.
> >>
> >> They are documented, these guys have the docs:
> >>
> >> http://www.t13.org/
> >>
> >> You will have to pay them for them.   Or, go to the technical
> >
> >library of
> >
> >> your nearest u

Re: pkgdb problem

2005-06-06 Thread Vizion
On Monday 06 June 2005 17:30,  the author Vizion contributed to the dialogue 
on-
 Re: pkgdb problem: 

>On Monday 06 June 2005 15:32,  the author Kris Kennaway contributed to the
>dialogue on-
>
> Re: pkgdb problem:
>>On Mon, Jun 06, 2005 at 02:14:16PM -0700, Vizion wrote:
>>> Hi
>>>
>>> I managed  to get my pkgdb entirely screwed up - and there is now no
>>> database.
>>>
>>> I tried pkgdb -fu
>>> And was told there were 0 pkgs!
>>>
>>> How do I rebuild from scratch?
>>
>>If you accidentally delete your /var/db/pkg directory then the only
>>way to recover it is to restore from backup.
>
>Ooh dear
>are there no recovery scripts - I lost my var partition - and the back up
> was overwritten by a blank db!!
>I have a file listing of all the packages installed on the system - an
> output from pkg_info.
>Do you happen to know if there is any way I can at least get that into the
>pkgdb?
The file listing is up to date!
Could it be used to pull the rest of the data from elsewhere or am I clutching 
at straws  :-(
David

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


Re: pkgdb problem

2005-06-06 Thread Vizion
On Monday 06 June 2005 18:21,  the author Kris Kennaway contributed to the 
dialogue on-
 Re: pkgdb problem: 

>On Mon, Jun 06, 2005 at 05:30:01PM -0700, Vizion wrote:
>> On Monday 06 June 2005 15:32,  the author Kris Kennaway contributed to the
>> dialogue on-
>>
>>  Re: pkgdb problem:
>> >On Mon, Jun 06, 2005 at 02:14:16PM -0700, Vizion wrote:
>> >> Hi
>> >>
>> >> I managed  to get my pkgdb entirely screwed up - and there is now no
>> >> database.
>> >>
>> >> I tried pkgdb -fu
>> >> And was told there were 0 pkgs!
>> >>
>> >> How do I rebuild from scratch?
>> >
>> >If you accidentally delete your /var/db/pkg directory then the only
>> >way to recover it is to restore from backup.
>>
>> Ooh dear
>> are there no recovery scripts - I lost my var partition - and the back up
>> was overwritten by a blank db!!
>
>No, the information is only stored within that directory.
>
>> I have a file listing of all the packages installed on the system - an
>> output from pkg_info.
>> Do you happen to know if there is any way I can at least get that into the
>> pkgdb?
>
>Feed it to portinstall to reinstall all of the ports.

Sounds like a long process and a sledge hammer to crack a nut - but I guess if 
one has no other tool a sledge hammer will have to do !!!

David 

BTW It looks as though I may have solved the eclipse-devel help bug - I have 
RC1 working now and am testing it to death.


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


RE: DNS and Gateway in FreeBSD?

2005-06-06 Thread Xu Qiang
Lowell wrote:
> Yes, you do.  A dhcp client is part of the base system.

But I assigned my machine a static ip address and netmask, and they never 
changed. I don't know how the machine detect the gateway ip address and DNS 
server ip address which i never assigned to it. :(


Regards,
Xu Qiang


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


MySQL auto login problem

2005-06-06 Thread Derrick Ryalls
Greetings,

I installed mysql on my friend's laptop (remotely) via ports, and now
he has a strange issue when he boots into freebsd.  As the screen is
going through its normal checks it mentions it is starting mysql, then
it goes to a bash prompt.  When I have him type 'whoami' it responds
with mysql.  When he types exit, GDM kicks in and he gets his normal
login window.  Is there anything I should check for that could explain
why mysql is getting logged in?

System is 5.3 release, the script for mysql:

#!/bin/sh
#
# $FreeBSD: ports/databases/mysql41-server/files/mysql-server.sh.in,v
1.3 2005/04/11 08:47:36 ale Exp $
#

# PROVIDE: mysql
# REQUIRE: NETWORKING SERVERS
# BEFORE: DAEMON
# KEYWORD: shutdown

#
# Add the following line to /etc/rc.conf to enable mysql:
# mysql_enable (bool):  Set to "NO" by default.
#   Set it to "YES" to enable MySQL.
# mysql_limits (bool):  Set to "NO" by default.
#   Set it to yes to run `limits -e -U mysql`
#   just before mysql starts.
# mysql_dbdir (str):Default to "/var/db/mysql"
#   Base database directory.
# mysql_args (str): Custom additional arguments to be passed
#   to mysqld_safe (default empty).
#

. /etc/rc.subr

name="mysql"
rcvar=`set_rcvar`

load_rc_config $name

: ${mysql_enable="NO"}
: ${mysql_limits="NO"}
: ${mysql_dbdir="/var/db/mysql"}
: ${mysql_args=""}

mysql_user="mysql"
mysql_limits_args="-e -U ${mysql_user}"
pidfile="${mysql_dbdir}/`/bin/hostname`.pid"
command="/usr/local/bin/mysqld_safe"
command_args="--defaults-extra-file=${mysql_dbdir}/my.cnf
--user=${mysql_user} --datadir=${mysql_dbdir} --pid
-file=${pidfile} ${mysql_args} > /dev/null &"
procname="/usr/local/libexec/mysqld"
start_precmd="${name}_prestart"
mysql_install_db="/usr/local/bin/mysql_install_db"
mysql_install_db_args="--ldata=${mysql_dbdir}"

mysql_create_auth_tables()
{
eval $mysql_install_db $mysql_install_db_args >/dev/null
[ $? -eq 0 ] && chown -R ${mysql_user}:${mysql_user} ${mysql_dbdir}
}

mysql_prestart()
{
if [ ! -d "${mysql_dbdir}/mysql/." ]; then
mysql_create_auth_tables || return 1
fi
if checkyesno mysql_limits; then
eval `/usr/bin/limits ${mysql_limits_args}` 2>/dev/null
else
return 0
fi
}

run_rc_command "$1"

### /etc/rc.conf entries:
mysql_enable="YES"

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


re-setting root password for MYSQL win 2003

2005-06-06 Thread John Andrews
in order to access the MYSQL control centre and MYSQL administrator I
need to be able to re-set the root userpassword, can someone please
advise on how this is done in win2003 server
 
admin tools/computer management/ local users and groups  does not
disclose the MYSQL root user 
see print screen.
 
TIA
 
john 
 
  

--
Disclaimer:
"The information contained in this document is confidential to the addressee(s) 
and
may be legally privileged.  Any view or opinions expressed are those of the 
author
and may not be those of the organisation to which the author belongs.  No 
guarantee
or representation is made that this communication is free of errors, viruses or
interference.  If you have received this e-mail message in error please delete 
it
and notify me.  Thank you."
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: re-setting root password for MYSQL win 2003

2005-06-06 Thread Sarath ER

John Andrews wrote:


in order to access the MYSQL control centre and MYSQL administrator I
need to be able to re-set the root userpassword, can someone please
advise on how this is done in win2003 server

admin tools/computer management/ local users and groups  does not
disclose the MYSQL root user 
see print screen.


TIA

john 




This is the wrong place to ask for a windows qn. Anyways here it is.

The procedure under Windows:

  1.

 Log on to your system as Administrator.

  2.

 Stop the MySQL server if it is running. For a server that is
 running as a Windows service, go to the Services manager:

Start Menu -> Control Panel -> Administrative Tools -> Services
   


 Then find the MySQL service in the list, and stop it.

 If your server is not running as a service, you may need to use
 the Task Manager to force it to stop.

  3.

 Create a text file and place the following command within it on a
 single line:

SET PASSWORD FOR 'root'@'localhost' = PASSWORD('MyNewPassword');
   


 Save the file with any name. For this example the file will be
 |C:\mysql-init.txt|.

  4.

 Open a console window to get to the DOS command prompt:

Start Menu -> Run -> cmd
   


  5.

 We are assuming that you installed MySQL to |C:\mysql|. If you
 installed MySQL to another location, adjust the following commands
 accordingly.

 At the DOS command prompt, execute this command:

C:\> C:\mysql\bin\mysqld-nt --init-file=C:\mysql-init.txt
   


 The contents of the file named by the |--init-file| option are
 executed at server startup, changing the |root| password. After
 the server has started successfully, you should delete
 |C:\mysql-init.txt|.

 Users of MySQL 4.1 and higher who install MySQL using the MySQL
 Installation Wizard may need to specify a |--defaults-file| option:

C:\> C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqld-nt.exe
--defaults-file="C:\Program Files\MySQL\MySQL Server 5.0\my.ini"
--init-file=C:\mysql-init.txt
   


 The appropriate |--defaults-file| setting can be found using the
 Services Manager:

Start Menu -> Control Panel -> Administrative Tools -> Services
   


 Find the MySQL service in the list, right-click on it, and choose
 the |Properties| option. The |Path to executable| field contains
 the |--defaults-file| setting.

  6.

 Stop the MySQL server, then restart it in normal mode again. If
 you run the server as a service, start it from the Windows
 Services window. If you start the server manually, use whatever
 command you normally use.

  7.

 You should be able to connect using the new password.

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


Re: Gnumeric warnings

2005-06-06 Thread Joe Marcus Clarke
On Sun, 2005-06-05 at 00:39 -0400, Anthony M. Agelastos wrote:
> Hello all,
> 
> I wanted to start out by saying thank you to everyone who has given me 
> help and has contributed to making this a good OS and community. Down to 
> business... I just installed Gnumeric from Ports and when I invoke it, 
> it appears to work fine, but I do see warnings printed (see below). Is 
> this normal? Is it a bug; I searched around and the closest thing I found is
> 
> http://mail.gnome.org/archives/gnumeric-list/2004-September/msg00032.html
> 
> However, the author of that post gave directions to fix it for Debian. 
> Will this fix work for FBSD 5.4-STABLE? Is there anything else I should 
> know about it? Why is there a problem in the first place? Any insight 
> and information on the matter would be greatly appreciated. Thank you 
> for your help and time.

It should be a simple matter of reinstalling math/gnumeric.  The port
should handle updating all of the GConf schemas automatically.  All of
my schema definitions have been properly loaded here.

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc


signature.asc
Description: This is a digitally signed message part


  1   2   >