root no found

2004-05-19 Thread mehrdad nosrati

Dear All,

I've a FreeBSD 3.4 Release.My cronttab file is like:



# /etc/crontab - root's crontab for FreeBSD
#
# $FreeBSD: src/etc/crontab,v 1.18.2.2 1999/08/29
14:18:39 peter Exp $
#
SHELL=/bin/sh
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
HOME=/var/log
#
#minute hourmdaymonth   wdaywho command
#
*/5 *   *   *   *   root
/usr/libexec/atrun
#
# rotate log files every hour, if necessary
0   *   *   *   *   rootnewsyslog
#
# do daily/weekly/monthly maintenance
59  1   *   *   *   root   
periodic daily 21 | sendmail root
30  3   *   *   6   root   
periodic weekly 21 | sendmail root
30  5   1   *   *   root   
periodic monthly 21 | sendmail root
#
# time zone change adjustment for wall cmos clock,
# does nothing, if you have UTC cmos clock.
# See adjkerntz(8) for details.
1,310-5 *   *   *   root   
adjkerntz -a

but every 5 minute I receive a mail from cron daemon
in
which it says:

Cron [EMAIL PROTECTED] root /usr/libexec/atrun

root:not found

I highly appreciate to whom have a good idea for this
problem.




Yahoo! Messenger - Communicate instantly...Ping 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: root no found

2004-05-19 Thread jan . muenther
 but every 5 minute I receive a mail from cron daemon
 in
 which it says:
 
 Cron [EMAIL PROTECTED] root /usr/libexec/atrun
 
 root:not found

Well, yeah. You specify a username there, and that's not part of the crontab
format - this isn't inetd (see man 5 crontab for reference). 

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


Special Keys in less

2004-05-19 Thread Volker Lieder
Hello,
i have a Freebsd 4.9 installed and have the following wish/problem.
I want to use the Pos1 and End-Keys in less.
For Pos1 the beginning of the file should be shown and for End the end.
Has anybody an idea how to configure less so that this could work?

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


ufs2 file system and zope/zeo directorystorage q

2004-05-19 Thread Ken Gunderson
Howdy:

I'd have a Zope/Zeo site that I'd like to set up to use 
DirectoryStorage.  DirectoryStorage author states:


bushy

If you are using a filesystem that is inefficient with directories 
containing larger than a few hundred items. This is optimal for most 
conventional filesystems, such as ext2 on linux. In this format each 
object is given its own directory nested inside 8 levels of 
subdirectory. Each revision of an object has its own file in that 
directory.

chunky

If you are using a filesystem that is most efficient with directories 
containing tens of thousands of subdirectories, or hundreds of 
thousands of files. This is optimal for filesystems such as reiser3 or 
JFS on linux. In this format, one subdirectory is shared by up to 65000 
objects. That subdirectory is nested inside 4 levels of subdirectory.


I am unsure whether UFS2 would best utilize the chunky or busy 
options.  The 64 bit pointers allow for up to 65K subdirs w/in a dir, 
correct?  So the large number of subdirs under chunky format could be 
handled.  Dirhash and dirpref can deal can cope with large numbers of 
files per directory, correct.  But then doesn't UFS2 still use more 
linear model?  

Any insights from the filesystem gurus would be appreciated.  Please 
'cc, as I am not subscribed to questions.

TIA--

-- 
Best regards,

Ken Gunderson
GPG Key-- 9F5179FD

Freedom begins between the ears.  -- Edward Abbey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: c and freebsd

2004-05-19 Thread Cordula's Web
 hello i'm learing c and hoping to make bsd a life long friend. i'm thinking 
 about building a cluster in total of about 20-25+ clients. does freebsd support 
 c, i expect it to, and does that come with graphic functions and name a 
 list of prog. languages that freebsd supports, please. coming from microsoft (the 
 bastard) . please explain it in dummy terms , i'm 16 by the way, thanx a 
 whole lot! Troye. sexy brittany spears

The excellent C/C++ compiler gcc is part of FreeBSD. FreeBSD itself
is written in C, so you can expect excellent support :). If you
mean by graphic functions the equivalent of Microsoft's MFC classes
to write GUIs, you can have a look at gnome/gtk+ (for C) or kde/qt
(for C++). If you mean an IDE, glade and kdevelop can be quite useful.

FreeBSD supports a lot of additional programming languages if you
install their compilers or interpreters via the ports system. Have
a look at /usr/ports/lang for a huge list!
  http://www.freshports.org/lang/

Please browse the documentation on FreeBSD's website:
  http://www.freebsd.org/docs.html

An introduction for newbies:
  http://www.freebsd.org/projects/newbies.html

The FreeBSD Handbook
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html

The Developer's Handbook (Chapter 2 is what you want):
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/index.html

Happy hacking :-)

Cheers,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/

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


Fwd: Re: root no found

2004-05-19 Thread mehrdad nosrati
 Note: forwarded message attached. 

But if see the man of atrun(8) then you can see these
line:
*/5 *   *   *   *   root   
/usr/libexec/atrun

which create an error for me!


Yahoo! Messenger - Communicate instantly...Ping 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html---BeginMessage---
 but every 5 minute I receive a mail from cron daemon
 in
 which it says:
 
 Cron [EMAIL PROTECTED] root /usr/libexec/atrun
 
 root:not found

Well, yeah. You specify a username there, and that's not part of the crontab
format - this isn't inetd (see man 5 crontab for reference). 

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


Re: Fwd: Re: root no found

2004-05-19 Thread Rob
mehrdad nosrati wrote:
 Note: forwarded message attached. 

But if see the man of atrun(8) then you can see these
line:
*/5 *   *   *   *   root   
/usr/libexec/atrun

which create an error for me!
Does that mean /usr/src/libexec/atrun/atrun.man is out-of-synch
with crontab syntax?
R.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fwd: Re: root no found

2004-05-19 Thread andrew clarke
On 2004-05-19 18:33, mehrdad nosrati wrote:
Note: forwarded message attached. 

But if see the man of atrun(8) then you can see these
line:
*/5 *   *   *   *   root   
/usr/libexec/atrun

which create an error for me!
 

atrun(8) refers to /etc/crontab, not /var/cron/tabs/root.
Note that /etc/crontab is NOT edited with /usr/bin/crontab -e.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How To Copy A Group of Files To Different Name?

2004-05-19 Thread Ruben de Groot
 On Tue, 18 May 2004, Drew Tomlinson wrote:
 
  OK, thanks.  I'm using tcsh but I think I figure out how to do it
  following your example.  So a script is the only way to do it in
  *nix?  Being born and raised on MS-DOS, I'm accustomed to the copy bac*
  bac*.old syntax.

On the command line (tcsh):

 ls bac*
bac1  bac2  bac3
 foreach file ( bac* )
foreach? cp -p $file $file.old
foreach? end
 ls bac*
bac1  bac1.old  bac2  bac2.old  bac3  bac3.old

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


Re: remote monitoring system variables?

2004-05-19 Thread Matthew Seaman
On Tue, May 18, 2004 at 04:20:39PM -0500, Stephen P. Cravey wrote:
 I was afraid of that. I'll look more closely into the SNMP MIBS to see
 how much of what I need is available. The Issue I have with scripting
 SNMP is that the OID numbers for custom scrips seem to be dependant on
 how many scripts you are running. I'll verify that, but it looks like I
 may be writing some code to handle encrypted (or at least obfuscated)
 transmission of sysctl and ipfw data over an authenticated network
 connection.

Never could decide myself if the concept of read/write access to the
sysctl MIB tree via SNMP was way cool or run away, screaming!

Cheers,

Matthew

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


pgpEtjTX01YTi.pgp
Description: PGP signature


Samba PDF printing

2004-05-19 Thread Andrea Venturoli
Hello.
I've set up Samba in order provide a PDF creation tool which works as a virtual 
printer.
Everything works fine, but not after a reboot.
After the machine is powered up PDF creation will silently fail.
sh /usr/local/etc/rc.d/samba.sh stop ; sh /usr/local/etc/rc.d/samba.sh start will 
fix this.
Any hint?
Why would such a service fail on startup, but work if restarted later?

 bye  Thanks
av.




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


Re: Special Keys in less

2004-05-19 Thread Nelis Lamprecht
On Wed, 2004-05-19 at 09:27, Volker Lieder wrote:
 Hello,
 i have a Freebsd 4.9 installed and have the following wish/problem.
 I want to use the Pos1 and End-Keys in less.
 For Pos1 the beginning of the file should be shown and for End the end.
 Has anybody an idea how to configure less so that this could work?
 
 Volker

Hi,

I'm not sure what you mean by Pos1 key ? On my machine from both console
and gnome-terminal I can use the Home and End key to get to the
beginning and end of the file using versions 358 and 371 of less. It
works on both FreeBSD 4.x and 5.x in my case.

Cheers,
-- 
Nelis Lamprecht
PGP: http://www.8ball.co.za/pgpkey/nelis.asc
Unix IS user friendly.. It's just selective about who its friends are.


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


Is There Any Professional To Help Me!

2004-05-19 Thread mehrdad nosrati

Dear All,

I've a FreeBSD 3.4 Release.My cronttab file is like:



# /etc/crontab - root's crontab for FreeBSD
#
# $FreeBSD: src/etc/crontab,v 1.18.2.2 1999/08/29
14:18:39 peter Exp $
#
SHELL=/bin/sh
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
HOME=/var/log
#
#minute hourmdaymonth   wdaywho command
#
*/5 *   *   *   *   root
/usr/libexec/atrun
#
# rotate log files every hour, if necessary
0   *   *   *   *   rootnewsyslog
#
# do daily/weekly/monthly maintenance
59  1   *   *   *   root   
periodic daily 21 | sendmail root
30  3   *   *   6   root   
periodic weekly 21 | sendmail root
30  5   1   *   *   root   
periodic monthly 21 | sendmail root
#
# time zone change adjustment for wall cmos clock,
# does nothing, if you have UTC cmos clock.
# See adjkerntz(8) for details.
1,310-5 *   *   *   root   
adjkerntz -a

but every 5 minute I receive a mail from cron daemon
in
which it says:

Cron [EMAIL PROTECTED] root /usr/libexec/atrun

root:not found


if you see man atrun(8) then you can see the line
similar to that on mine,I mean:
*/5 *   *   *   *   root
/usr/libexec/atrun


I highly appreciate to whom have a good idea for this
problem.

--Sincerely,
--Mehrdad.





Yahoo! Messenger - Communicate instantly...Ping 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Special Keys in less

2004-05-19 Thread Simon Barner
 I'm not sure what you mean by Pos1 key?

Pos1 == Home on German keyboards.

 On my machine from both console
 and gnome-terminal I can use the Home and End key to get to the
 beginning and end of the file using versions 358 and 371 of less. It
 works on both FreeBSD 4.x and 5.x in my case.

Also confirmed with an xterm (FBSD 5.2.1).

@ OP: Do you set the right keyboard type? I have the following in
/etc/X11/XF86Config

Option XkbRules   xfree86
Option XkbModel   pc105
Option XkbLayout  de
Option XkbVariant  nodeadkeys

Simon


signature.asc
Description: Digital signature


Re: Howto set sysinstall to use CURRENT packages

2004-05-19 Thread Matthew Seaman
On Tue, May 18, 2004 at 01:55:54PM -0700, Dinesh Nadarajah wrote:

 How do I set sysinstall to use current packages? In the config menu I
 changed 5.2.1-RELEASE to 5.2.1-CURRENT and several other values but
 would not recognize. Complains no such distribution is available on
 ftp.freebsd.org.

There's no such package collection I'm afraid.  Mostly because there's
no such thing as '5.2.1-CURRENT'.  There is 5-CURRENT, but that is the
bleeding edge absolute latest development version of the OS, and as
it's of no conceivable use except to system developers it doesn't have
a package collection compiled for it. (OTOH, as you can probably use
the packages for a similar OS version, the FTP sites do have a
'packages-5-current' sym-link to the packages-5.2-release directory).

However, the packages for 5.2.1-RELEASE (or 4.10-RELEASE due any time
now...) are updated at reasonably frequent intervals.  Check the
'Latest' directory on the FTP sites -- eg:

ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2-release/Latest
 also, where is the config file for sysinstall? Where can I set its
 package repository, etc?

Sysinstall(8) doesn't really have a config file in the way you mean.
Sysinstall is designed for /installing the system/ (the clue is in the
name) not as a general systems administration interface (although you
can do some stuff with it along those lines).  So the config file that
sysinstall does have is more aimed at doing automated installion.
There isn't a file that sysinstall will automatically check -- if you
want to load a config file you have to either do it via the sysinstall
Menu system, by setting 'LOAD_CONFIG_FILE' in the environment before
you start sysinstall or by telling sysinstall the filename on the
command line.

Instead of sysinstall, try using the pkg_add(1) command -- the man
page will tell you everything you need to know about how to use it.

Cheers,

Matthew

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


pgpUvmbqrVKGT.pgp
Description: PGP signature


Re: root no found

2004-05-19 Thread Matthew Seaman
On Wed, May 19, 2004 at 07:02:41AM +0100, mehrdad nosrati wrote:
 but every 5 minute I receive a mail from cron daemon
 in
 which it says:
 
 Cron [EMAIL PROTECTED] root /usr/libexec/atrun
 
 root:not found

FAQ:


http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#ROOT-NOT-FOUND-CRON-ERRORS

Cheers,

Matthew

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


pgp2ZFhpr8DEK.pgp
Description: PGP signature


Re: Is There Any Professional To Help Me!

2004-05-19 Thread platanthera
On Wednesday 19 May 2004 12:37, mehrdad nosrati wrote:
 Dear All,

 I've a FreeBSD 3.4 Release.My cronttab file is like:



 # /etc/crontab - root's crontab for FreeBSD
 #
 # $FreeBSD: src/etc/crontab,v 1.18.2.2 1999/08/29
 14:18:39 peter Exp $
 #
 SHELL=/bin/sh
 PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
 HOME=/var/log
 #
 #minute   hourmdaymonth   wdaywho command
 #
 */5 *   *   *   *   root
 /usr/libexec/atrun
 #
 # rotate log files every hour, if necessary
 0 *   *   *   *   rootnewsyslog
 #
 # do daily/weekly/monthly maintenance
 59  1   *   *   *   root
 periodic daily 21 | sendmail root
 30  3   *   *   6   root
 periodic weekly 21 | sendmail root
 30  5   1   *   *   root
 periodic monthly 21 | sendmail root
 #
 # time zone change adjustment for wall cmos clock,
 # does nothing, if you have UTC cmos clock.
 # See adjkerntz(8) for details.
 1,310-5 *   *   *   root
 adjkerntz -a

 but every 5 minute I receive a mail from cron daemon
 in
 which it says:

 Cron [EMAIL PROTECTED] root /usr/libexec/atrun

 root:not found


 if you see man atrun(8) then you can see the line
 similar to that on mine,I mean:
 */5 *   *   *   *   root
 /usr/libexec/atrun


 I highly appreciate to whom have a good idea for this
 problem.
 
Did you try to update your /etc/crontab using crontab(1)?
If you did so, have a look at
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#ROOT-NOT-FOUND-CRON-ERRORS

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


[no subject]

2004-05-19 Thread ryutaroh
I do not read the email account [EMAIL PROTECTED].
Thank you.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


postfix port nullclient

2004-05-19 Thread dave
Hello,
If anyone has the latest postfix v2.1 port working as a nullclient
please write me. I am having difficulties, where any mail i send out from
the nullclients goes in to limbo, doesn't bounce and never shows up, nothing
in any of the logs. It's as if i never sent the messages.
Thanks.
Dave.

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


Radius Client

2004-05-19 Thread mitali.vemuganti

Hi,



I have a query. Can any one let me know if the FreeBSD Radius client conforms to RFC 
2865.



Thank you,



Regards,

Mitali Vemuganti





Confidentiality Notice

The information contained in this electronic message and any attachments to this 
message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged 
information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL 
PROTECTED] immediately
and destroy all copies of this message and any attachments.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


network traffic

2004-05-19 Thread Buck Jones
any one know were I can get a netwrk testing tool that can sit on a
server and test the speed of a network connection.. I have a small
network ot work and I get computers that just disappear off the
net..different computer at different times. but most of the time they
are on the net and just are so slow. I have check for virus's and adware
and changed the switching hub out..I have even replaced every network
cable in the place  
 
 
I would like two programs that sit on two computer and just talk to each
other and tell what the speed they are talking and if there is a packet
loss
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SUN Sparc5

2004-05-19 Thread Mike Guice
I have purchased a used SUN Sparc5 170MHz/32MB Ram/2.1GB Drive.
Had to replace the drive with IBM 9GB 
 
What version of BSD would work on this machine?
 
Thanks
 
Mike Guice
 
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SUN Sparc5

2004-05-19 Thread Zoltan HERPAI
On Tue, 18 May 2004, Mike Guice wrote:

 I have purchased a used SUN Sparc5 170MHz/32MB Ram/2.1GB Drive.
 Had to replace the drive with IBM 9GB

 What version of BSD would work on this machine?
hi,

openbsd and netbsd. but you should get some more memory, if you want to
do anything other than routing with it :)

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


Re: Creating ISO image question

2004-05-19 Thread Malcolm Kay
On Monday 17 May 2004 20:58, Stephen Liu wrote:
 HI folks,

 I tried to solve following questions on creating ISO
 image with reference to 'man mkisofs' but could not
 resolve;

 Tree of diectories e.g.

 /usr/home/user-A/document-AAA/subdirectories

 1) To include the complete tree starting from
 /user-A/document-AAA/subdirectories

 2) To include the complete tree starting from
 /document-AAA/subdirectories


You have many responses but I think thay have not
really understood your difficulty; or maybe it is I
who has not understood.

I believe that in case 1) you want to see the 
directory usr on the final CD containing
subdirectory home etc.

And in instance 2) you want to see the 
directory user-A on the final CD containing
document-AAA etc.

In the command 
  mkisofs -r -J -o cd_image.iso dir/
the directory 'dir' does not actually appear on the 
CD. At the top level the CD would contain the files 
and subdirectories appearing in 'dir/'.

To get the full sequence  'user-A/document-AAA/subdirectories/..'
to appear on the CD you would need 
 mkisofs -r -J -o cd_image.iso /usr/home/
But unfortaunately this will include all under home; not
just user-A/document-AAA. The simplest way to achieve what I 
believe you want in instance 2) is to create a temporary tree of 
what you want to see on the CD:
  mkdir tree
  mkdir tree/user-A
  cp -Rp /usr/home/user-A/document-AAA tree/user-A
  mkisofs -r -J -o cd_image.iso tree
(The mkisofs options are just an example -- probably not what you
want)
Now you can remove the temporary tree:
  rm -R tree

You might be able to avoid this copying using the mkisofs
option -graft-points ; but I have no experience with this.

Good luck

Malcolm



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


RE: Start BIND on boot

2004-05-19 Thread Nuno César Pires
Hi,

Sorry not to give my feedback related with your suggestions sooner, but I
was absent.
I have looked to the named messages after boot and apparently it was
everything ok i.e.:

First message:  starting (etc/namedb/named.conf). named 8.3.6-REL .
Second message: limit files set to fdlimit (1024)
Third message:  Ready to answer queries.

There is no messages related with the ROOT SERVERS, the file was updated and
there is a permanent network connection.

Running the ndc status the output is: server is initialising itself

After restarting the server manually, after boot, the status is: server is
up and running.

The result after comment the kern_securelevel=2 and
kern_securelevel_enable=YES lines in the rc.conf and reboot was the same
as described above.

Do you have any more suggestions to debug and solve this problem?

Thanks
Nuno


-Original Message-
From: Charles Swiger [mailto:[EMAIL PROTECTED] 
Sent: terça-feira, 11 de Maio de 2004 20:32
To: Nuno César Pires
Cc: '[EMAIL PROTECTED]'
Subject: Re: Start BIND on boot

On May 11, 2004, at 1:13 PM, Nuno César Pires wrote:
[ ... ]
  The result is that the boot process takes a very long time in the 
 Starting
 Standard Daemons phase. After boot the result of ndc status is: 
 (server is
 initialising itself) and then nothing happen.

 Starting de named manually works just fine.

Hmm.  There isn't enough information available to say what's going on 
for certain, but what you are doing ought to work fine.

Do you have a permanent network connection which is available when your 
system boots?  If the network isn't available, named can't talk to 
other nameservers and it will probably cause a very long delay which 
matches your description.

Check /var/log/messages after a system reboot for messages relating to 
named.  You ought to see something like this:

May 11 15:21:19 daemon.notice pi named[9319]: starting 
(/etc/named.conf).  nam
ed 8.3.7-REL Tue Dec  2 14:40:53 EST 2003   
[EMAIL PROTECTED]:/usr/obj/usr/s
rc/usr.sbin/named
May 11 15:21:19 daemon.warn pi named[9319]: limit files set to 
fdlimit (1024)
May 11 15:21:19 daemon.notice pi named[9320]: Ready to answer queries.
May 11 15:21:19 daemon.warn pi named[9320]: check_hints: A records 
for B.ROOT-
SERVERS.NET class 1 do not match hint records

If there were problems with your named.conf file or one of the zone 
files, you'd see warning messages which ought to be fixed.

-- 
-Chuck
 

CONFIDENCIALIDADE: Esta mensagem e quaisquer documentos em anexo são
confidenciais. Se não for o destinatário desta mensagem, agradecemos que
avise imediatamente o remetente e que a elimine sem a reproduzir, armazenar
ou divulgar a qualquer entidade.

CONFIDENTIALITY: This  e-mail  and  any attachments are confidential and may
be privileged. If  you are not a named recipient, please notify the sender
immediately and do not disclose the contents to another person, use it for
any purpose or store or copy the information in any medium.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Creating ISO image question

2004-05-19 Thread Joe Altman
On Wed, May 19, 2004 at 01:29:16PM +0800, Stephen Liu wrote:
 Hi Joe,
 
 Tks for your advice.
 
 - snip-
  mkisofs -o cd_image.iso flags from mkisofs man
  page dir/ ?
 
 Applying following command lines
 1)
 # mkisofs -o cdimage.raw -R
 /usr/home/user-A/document-AAA
 
 2)
 # mkisofs -R -o cdimage.raw
 /usr/home/user-A/document-AAA
 
 3)
 # mkisofs -o cdimage.raw -R -pathspec
 /usr/home/user-A/document-AAA
 
 all having same result. The path has not been copied
 to the cdimage, only the subdirectories under
 'document-AAA' copied.

Of course; that's what you told mkisofs to do.

 If adding -J to the command line, cdimage can't be
 created with warning 'mkisofs: Joliet tree sort
 failed'
 
 - snip -
  
  Generally I use:
  
  mkisofs -o filename.iso -J -R -P Joe -sysid
  BACKUP -V meaningful string -l backup/
  
  Almost always, I use the same name for the
  filename and for the
  meaningful string.
 
 $ mkisofs -o cdimage.raw -J -R -P Stephen -sysid
 BACKUP -V /Storage-040517/ -l
 /usr/home/satimis/Storage-040517/
 
 
 Plug and Process-Has the Era of Utility Computing
 Finally Arrived.html have the same Joliet name

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


Re: can ´t mount dvd

2004-05-19 Thread Michael Hollmann
sorry, you are right 
thank´s

Jeremy Faulkner wrote:
Michael Hollmann wrote:
hi
dmesg | more
acd1: DVD-R PIONEER DVD RW DVR-107D at ata1-master PIO4

Wow, you don't have much in your dmesg. Or you didn't actually type that 
command.

cat /etc/fstab
/dev/acd1c  /tmp/dvdcd9660  ro,noauto   0   0

Same as above.
mdir /mnt/dvd
cd /dev
sh MAKEDEV acd1

I assume this is on 4.x since you didn't supply the output of uname -a
mount /mnt/dvd

According to the above /etc/fstab you don't have a /mnt/dvd entry.
or
mount /dev/acd1c /mnt/dvd

mount -t cd9660 /dev/acd1 /mnt/dvd
give this error:
mount: /mnt/dvd: unknown special file or file system

The disk doesn't have a UFS file system on it (the default when using 
mount).


why ???

Because.
any ideas ?

Some.

thank´s michael

You're welcome.


--
Mit freundlichen Grüßen
Michael Hollmann
JAWA Management Software GmbH
A-8041 Graz, Liebenauer Hauptstraße 200
Tel:  ++43 (0)316 403274-13
Fax:  ++43 (0)316 403274-10
GSM:  ++43 (0)676 4101431
E-Mail: [EMAIL PROTECTED]
Web:  http://www.jawa.at/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


5.2.1: Wireless X questions

2004-05-19 Thread Shaun T. Erickson
Ok. I installed 5.2.1 on a laptop last night, which went quite nicely. 
During the install, it detected my wireless card, just fine. It wanted 
to dhcp for it, but that (correctly) failed, as my net uses wep. So, it 
punted me to the manual interface configuration screen, where I was 
easily able to tell it everything it needed to successfully get me on 
the air. I was a happy camper. :)

Questions:
1) How do I tell the system the ssid, wepmode, and key, and then have it 
get everything else via dhcp?

2) How do I *easily* handle multiple wireless nets? I will be using the 
laptop on a number of them.

3) How do I tell the system to cope, when I put a wired card in, instead 
of a wireless card, and I just want it to get me on the air with dhcp?

4) It's a Dell Lattitude CPx J. How do I configure X on it? That's 
really two questions ... I skipped the X setup during install, and don't 
know how to get back to that configuration screen, and I don't know 
anything about the video card and screen in the laptop. From the Dell 
support site's original configuration specs for this specific laptop, it 
 says this about the screen: Part# 4564E, Description: Liquid Crystal 
Display, TFT, 14.1, CRNA, Samsung.

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


Re: Samba PDF printing

2004-05-19 Thread Pavel Duda
Andrea Venturoli wrote:
Hello.
I've set up Samba in order provide a PDF creation tool which works as a virtual 
printer.
Everything works fine, but not after a reboot.
After the machine is powered up PDF creation will silently fail.
sh /usr/local/etc/rc.d/samba.sh stop ; sh /usr/local/etc/rc.d/samba.sh start will 
fix this.
Any hint?
Why would such a service fail on startup, but work if restarted later?
 bye  Thanks
av.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
I remember that I had same problem, when samba wasn't started from 
inetd. Now I'm using CUPS PDF priner so I can't check it out, but try to 
start nmbd/smbd directly from inetd.

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


Re: Creating ISO image question (PROBLEM SOLVED)

2004-05-19 Thread Stephen Liu
Hi Malcolm,

Tks for your advice.  

You understand my need completely.  Problem is now
solved as stated at the bottom of this posting.

 I believe that in case 1) you want to see the 
 directory usr on the final CD containing
 subdirectory home etc.
 
 And in instance 2) you want to see the 
 directory user-A on the final CD containing
 document-AAA etc.
 
 In the command 
   mkisofs -r -J -o cd_image.iso dir/
 the directory 'dir' does not actually appear on the 
 CD. At the top level the CD would contain the files 
 and subdirectories appearing in 'dir/'.
 
 To get the full sequence 
 'user-A/document-AAA/subdirectories/..'
 to appear on the CD you would need 
  mkisofs -r -J -o cd_image.iso /usr/home/
 But unfortaunately this will include all under home;
 not
 just user-A/document-AAA. The simplest way to
 achieve what I 
 believe you want in instance 2) is to create a
 temporary tree of 
 what you want to see on the CD:
   mkdir tree
   mkdir tree/user-A
   cp -Rp /usr/home/user-A/document-AAA tree/user-A
   mkisofs -r -J -o cd_image.iso tree
 (The mkisofs options are just an example -- probably
 not what you
 want)
 Now you can remove the temporary tree:
   rm -R tree

I don't expect it would be so complicate on FreeBSD. 
It is rather simple on Linux.

 You might be able to avoid this copying using the
 mkisofs
 option -graft-points ; but I have no experience with
 this.

SOLUTION;

$ mkisofs -U -R -o cdimage.raw -graft-points \
usr/home/user-A/document-AAA/=/usr/home/user-A/document-AAA

2 (two) folders then created;

1) user.  Under this folder
usr/home/user-A/document-AAA/subdirectories+files
(full path)
2) rr_remove  This is an empty folder

I don't know how to get rid of the empty folder
'rr_remove'.  If no solution I will burn a CD to test

Lot of thanks for your HINT

B.R.
Stephen


___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: network traffic

2004-05-19 Thread B Hansson
Buck Jones wrote:
any one know were I can get a netwrk testing tool that can sit on a
server and test the speed of a network connection.. I have a small
network ot work and I get computers that just disappear off the
net..different computer at different times. but most of the time they
are on the net and just are so slow. I have check for virus's and adware
and changed the switching hub out..I have even replaced every network
cable in the place  
 
 
I would like two programs that sit on two computer and just talk to each
other and tell what the speed they are talking and if there is a packet
loss

Have a look at tp-test.
http://sourceforge.net/projects/tptest/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ad0: READ command timeout

2004-05-19 Thread Marcia de Oliveira Cardoso

   Hi,

   I'm trying to install a FreeBsd 4.9 = with floppy disks but it failed
with the message

   ad0: READ command = timeout tag=0 serv=0 -
   resetting ata0: = resetting devices

   I have 2 seagate = disks IDE with 120G and the motherboard is Asus
   P4V8-X. Both auto = configured in BIOS.
   I also have an = extra RealTek 8139 network card.

   So, what is going = wrong? Is there a way to bypass this error? And If
   I disconnect the = cdrom?

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


Cannot Login After Using Kuser to setup Accounts

2004-05-19 Thread Mark Teel
On a fresh install of FreeBSD 5.2, after I add a user via kuser, when I 
logout I cannot log back in!
I get a message stating that the accound has expired, even for the 
root user.

Please help as this has rendered my system unusable.
Thanks
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Is Samba PDC up to snuff ?

2004-05-19 Thread Darryl Hoar
Greetings,
I am planning a restructure of my internal network.
Right now, it has an NT4 Server Primary Domain 
Controller.  I would like to rip it down, install
FreeBSD and set it up as the Primary Domain
Controller.  This is only possible if the Samba
Primary Domain Controller feature works and is
reliable.

I would appreciate anybody who is using this feature
of Samba to comment on it.

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


Total freezeup under network load

2004-05-19 Thread David
Hello,

I've encountered a problem with FreeBSD. When I upload files to my FTP server
(pure-ftpd v1.0.18) on the LAN I get speeds around 3MB/s. Then, suddenly and
at totally random times, the transfer stops. If I'm connected to the server's
IRCd I ping timeout. The server totally freezes for a period of 5-10 seconds
or so. I've tried using two different clients, both give me this result. Even
if there's a problem with the FTPd, the OS/network shouldn't freeze up
totally. The computer in question has a VIA 533MHz board, with an on-board NIC.

I tried asking for help on IRC (#freebsdhelp on EFnet), but it seemed like no 
one had ever encountered this problem before. An op told me to look into 
dummynet. I guess enabling dummynet in the kernel could aid me, but I still
think that it's strange that FreeBSD locks up after a random period of time,
after being under a network load. I would really appreciate help on this.
Thanks.


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


Is Samba PDC up to snuff ?

2004-05-19 Thread Andrea Venturoli
** Reply to note from Darryl Hoar [EMAIL PROTECTED] Wed, 19 May 2004 09:25:31 -0500


 I would appreciate anybody who is using this feature 
 of Samba to comment on it.

I've done that on several network and experienced no major problem. In some case I 
even have a BDC with samba.
Minor issues are there, with profile not always syncronizing well and password change 
not working.

 bye
av.



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


Re: Samba PDF printing

2004-05-19 Thread Andrea Venturoli
** Reply to note from Pavel Duda [EMAIL PROTECTED] Wed, 19 May 2004 16:10:26 +0200


 I remember that I had same problem, when samba wasn't started from  
 inetd. Now I'm using CUPS PDF priner so I can't check it out, but try to  
 start nmbd/smbd directly from inetd.

Aren't samba gurus advertising against this?

This is in any case a workaround, but I'd like to understand what's going on really.

 bye  Thanks
av.



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


Re: network traffic

2004-05-19 Thread Chuck Swiger
Buck Jones wrote:
I would like two programs that sit on two computer and just talk to each
other and tell what the speed they are talking and if there is a packet
loss
ping -f is a pretty good way of stress-testing a LAN.
You can also use time ping -s 1000 -c 1000 -i 0.0001 host or so to send 
approx 1 MB via 1K packets, and divide.  Using ftp or fetch or something that 
provides a speed rate is a little easier, if something running those services 
is handy...

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


ad0: READ command timeout tag=0 serv=0

2004-05-19 Thread Marcia de Oliveira Cardoso

   Hi,

   I'm trying to install a FreeBsd 4.9 = with floppy disks but it failed
with the message

   ad0: READ command = timeout tag=0 serv=0 -
   resetting ata0: = resetting devices

   I have 2 seagate = disks IDE with 120G and the motherboard is Asus
   P4S8X. Both auto = configured in BIOS.
   I also have an = extra RealTek 8139 network card.

   So, what is going = wrong? Is there a way to bypass this error? And If
   I disconnect the = cdrom?

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


[no subject]

2004-05-19 Thread Marcia de Oliveira Cardoso
Hi,

I'm trying to install a FreeBsd 4.9 with floppy disks but it failed
 with the message

ad0: READ command timeout tag=0 serv=0 - 
resetting ata0: resetting devices 

I have 2 seagate disks IDE with 120G and the motherboard is Asus P4V8-X (chipset SIS 
648). Both auto configured in BIOS.


So, what is going wrong? Is there a way to bypass this error? 

Tanks,
Marcia Cardoso


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


Home, End Keys in less with putty on Freebsd

2004-05-19 Thread Volker Lieder
Hello,
i have Problems using the home and end key with putty on a freebsd-box.
I have read that there are some problems with this, but i didn't
find a workaround that works for me.
It is a Freebsd 4.9 and the actual putty-client.
Has anybody an idea?


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


Re: Cannot Login After Using Kuser to setup Accounts

2004-05-19 Thread Matthew Seaman
On Wed, May 19, 2004 at 09:23:24AM -0500, Mark Teel wrote:
 On a fresh install of FreeBSD 5.2, after I add a user via kuser, when I 
 logout I cannot log back in!
 I get a message stating that the accound has expired, even for the 
 root user.
 
 Please help as this has rendered my system unusable.

Hmmm... This sounds like a bug in KDE that was fixed some months ago.
It would scramble the contents of the /etc/master.passwd file.

To get the system back into a working state, reboot into single user
mode (ie. wait until the 10 second countdown before booting the
kernel, hit a key to interrupt and then type 'boot -s' and then just
hit return when prompted to choose a shell.

Now you should be able to restore the master.passwd file from the
backup copy automatically kept in /var/backups.  Try the following
series of commands:

# fsck -p
# swapon -a
# mount -a
# cd /etc
# mv master.passwd master.passwd-`date +%Y%m%d`
# cp /var/backups/master.passwd.bak master.passwd
# pwd_mkdb 
# reboot

That should restore the password file to the state it was before you
tried the changes that caused all of the trouble, and you should now
be able to log in.  If you haven't got a good copy of a password file
in /var/backups, you can use the default installation password file
from /usr/src/etc/master.passwd instead, but remember to set a root
password immediately after you copy it into /etc.

Once you're back up and running properly, update your ports tree using
cvsup(1) and install the latest versions of the KDE software -- using
portupgrade(1) [from the sysutils/portupgrade port] is probably the
most pleasant way to do that, but be sure and check in
/usr/ports/UPDATING to see if there are any special measures you need
to take.  Or you can grab precompiled packages from the FreeBSD FTP
servers.

Cheers,

Matthew

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


pgp3HyTzHX2P5.pgp
Description: PGP signature


IPX issues with 5.2.1 - any news ?

2004-05-19 Thread David Denny
Problems compiling 5.2.1 kernel: NCP won't compile. and IPXROUTED implicated in kernel 
panic when shutting down OS or nwserv (removing the IPX stuff from rc.conf also 
removes the panics).

I understand from a post elsewhere that NCP is fine on 4.9 but I was hoping to stay 
with the 5 branch. And presumably it's the missing NCP that is responsible for the 
panic?

Main question, Is IPX going to be fine in 5.3?

Thanks
David
david (at) chavin (dot) net
-- 
_
Web-based SMS services available at http://www.operamail.com.
From your mailbox to local or overseas cell phones.

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


how-to tell sendmail to mail thru my ISP

2004-05-19 Thread fbsd_user
I have dynamic IP address and ISP blocks inbound port 25 so any
recipients email server that checks back before accepting says I an
invalid sender. Going through my ISP email server should fix this.

How do I tell sendmail to send, relay my outgoing email through
my ISP email server?

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


RE: Squirrell Mail question

2004-05-19 Thread Marius Kirschner
No, squirrelmail requires IMAP, it won't do POP3.  Check the Squirrelmail
Requirements page at:

http://www.squirrelmail.org/wiki/SquirrelMailRequirements

---Marius  

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Darryl Hoar
 Sent: Friday, May 14, 2004 10:53 AM
 To: [EMAIL PROTECTED]
 Subject: Squirrell Mail question
 
 Does squirrell Mail do pop3 as well as smtp ?  In other 
 words, must I install a mail server for smtp prior to 
 installing squirrell mail ?
 
 thanks,
 Darryl
 ___
 [EMAIL PROTECTED] mailing list 
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]

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


Re: how-to tell sendmail to mail thru my ISP

2004-05-19 Thread Mike Hogsett

 I have dynamic IP address and ISP blocks inbound port 25 so any
 recipients email server that checks back before accepting says I an
 invalid sender. Going through my ISP email server should fix this.
 
 How do I tell sendmail to send, relay my outgoing email through
 my ISP email server?

1) go to /etc/mail
2) type make
3) edit /etc/mail/hostname.mc 
4) locate line containing SMART_HOST
5) remove `dnl' from the start of the line
6) change `your.isp.mail.server' with the name of your ISP's SMTP server.
6a) NOTE NOTE NOTE:  make sure your quotes around hostname are right first is ` and 
second is '
7) save file and exit
8) in /etc/mail type, make, make install, and make restart

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


XFree86 problem?

2004-05-19 Thread Schizik
Hello!


This is output from top
As you may notice XFree86 ate 331Mb memory.
After some time it will die after swap_pager_getswapspace(9): failed
This happens daily, after about 8-10 hours of work.
System is 5.2-CURRENT (as of 14-May), same behaviour was on 5.2.1-R
4.8-R worked fine

---

Mem: 87M Active, 6896K Inact, 36M Wired, 6936K Cache, 28M Buf, 43M Free
Swap: 384M Total, 362M Used, 22M Free, 94% Inuse

  PID USERNAME PRI NICE   SIZERES STATETIME   WCPUCPU COMMAND
 1845 root  960   331M 29524K select  24:27  2.44%  2.44% XFree86
 1936 lesha 960 26344K  7884K select   0:27  0.29%  0.29% kdeinit
 1912 lesha 960 27864K 11360K select   4:43  0.15%  0.15% kdeinit
  610 root  960  1208K68K select   1:41  0.05%  0.05% moused
 2640 lesha 960 49588K 18920K select   3:55  0.00%  0.00% firefox-bin

---

Any tips will be much appreciated.


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


pkg_add question

2004-05-19 Thread Hamilton
Hi,
I would like to install gnuls-4.0_1.tgz into my system. When I install by using 
the command 
#pkg_add gnuls-4.0_1.tgz, the system echos Bus error (core dumped).
What does the message mean? How do I install the gnuls package?

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


Re: XFree86 problem?

2004-05-19 Thread Jorn Argelo
Schizik wrote:
Hello!
This is output from top
As you may notice XFree86 ate 331Mb memory.
After some time it will die after swap_pager_getswapspace(9): failed
This happens daily, after about 8-10 hours of work.
System is 5.2-CURRENT (as of 14-May), same behaviour was on 5.2.1-R
4.8-R worked fine
---
Mem: 87M Active, 6896K Inact, 36M Wired, 6936K Cache, 28M Buf, 43M Free
Swap: 384M Total, 362M Used, 22M Free, 94% Inuse
 PID USERNAME PRI NICE   SIZERES STATETIME   WCPUCPU COMMAND
1845 root  960   331M 29524K select  24:27  2.44%  2.44% XFree86
1936 lesha 960 26344K  7884K select   0:27  0.29%  0.29% kdeinit
1912 lesha 960 27864K 11360K select   4:43  0.15%  0.15% kdeinit
 610 root  960  1208K68K select   1:41  0.05%  0.05% moused
2640 lesha 960 49588K 18920K select   3:55  0.00%  0.00% firefox-bin
---
Any tips will be much appreciated.
Alex.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
.
 

You might want to consider asking the current folks. Might be a bug in 
FreeBSD which is causing this.

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


SA-04:10 problem -- GPG error: not a detached signature

2004-05-19 Thread Saint Aardvark the Carpeted
I've just downloaded the SA-04:10 (CVS server) patch and signature
file, and I've run into problems trying to verify it.  I run:

gpg --verify cvs.patch.asc cvs.patch

and instead of the usual Good signature from FreeBSD Security
Officer message, I see this error:

gpg: not a detached signature

I can verify the signature file alone (gpg --verify cvs.patch.asc)
-- gpg is happy with that and says it's a good signature, but that
doesn't check the patch itself.

Am I doing something wrong?  Has anyone else had this problem?

I am now blessing your GPG key ring...
-- 
Saint Aardvark the Carpeted
[EMAIL PROTECTED]
Because the plural of Anecdote is Myth.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


{100-83752} Help Desk Submission

2004-05-19 Thread info
Thank you for submitting a support request. 
A summary of your request is below: 


 Details [Submitted 19-5-2004-1:02 ]


Name..: Unregistered
Subject...: believe me


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


Re: c and freebsd

2004-05-19 Thread Henrik W Lund
[EMAIL PROTECTED] wrote:
hello i'm learing c and hoping to make bsd a life long friend. i'm thinking 
about building a cluster in total of about 20-25+ clients. does freebsd support 
c, i expect it to, and does that come with graphic functions and name a 
list of prog. languages that freebsd supports, please. coming from microsoft (the 
bastard) . please explain it in dummy terms , i'm 16 by the way, thanx a 
whole lot! Troye. sexy brittany spears
Greetings!
Seeing as how FreeBSD is largely written in C, I can hardly think of any 
language which is better supported. This fact notwithstanding, compilers 
for a wide variety of programming languages are available. Check out 
http://www.freebsd.org/ports to find out just exactly what languages are 
available. Click the lang link.

Hope this helps, sexy brittaney spears. ;-)
-Henrik W Lund
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: 11b/g PCMCIA

2004-05-19 Thread Doug White
On Mon, 17 May 2004, Pratt, Benjamin E. wrote:

 Hello, I know this is coming a while after this original topic was
 posted but I just got the same PCMCIA card and did some searching and
 didn't find any info about the card being supported as of yet.

 I am also fairly new to FreeBSD but am interested in knowing what I
 could do to help.  I've got the card, I've been using the FreeSBIE live
 CD on my laptop (install on other machines) and could install on my
 laptop for testing but would like some sort of guide (if available) for
 how I can contribute.

You need to update the wi driver to talk to it, so for starters you need
to know how to hack device drivers, and hardware. Second, you'll need to
get information on how to program the card from Proxim or some other
source. From my recollection Proxim doesn't exactly hand out programming
specs to all comers, if at all.

If you haven't done device drivers before, I don't think there's a lot you
can contribute, unless you want to learn device drivers first :)


 Thanks,

 Ben


 -- Original message from FreeBSD-Current on Thu Oct 9 08:49:21 PDT 2003
 --
 On Thu, 9 Oct 2003 wintran at email.cz wrote:

  Hi,
  does it plan to support PCMCIA card Proxim Orinoco model 8471-WD in
 FreeBSD?

 If someone wants to work on it and can get specs, sure.

 Doug White|  FreeBSD: The Power to Serve
 dwhite at gumbysoft.com  |  www.FreeBSD.org


-- 
Doug White|  FreeBSD: The Power to Serve
[EMAIL PROTECTED]  |  www.FreeBSD.org
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Issues with 5.2.1-RELEASE-p4

2004-05-19 Thread Tom Kiblin
Hello,

I am running a dual xeon with hyperthreading, SCSI system, that
constantly crashes under load.  The box is doing about 40mbs of
transfer, and I get a panic with the following output on the screen:


http://advancedhosters.com/zico.JPG

Any ideas or suggestions?

Thanks,
Tom

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


Re: ad0: READ command timeout tag=0 serv=0

2004-05-19 Thread Parv
in message [EMAIL PROTECTED],
wrote Marcia de Oliveira Cardoso thusly...

 
 I'm trying to install a FreeBsd 4.9 = with floppy disks but it
 failed with the message
 
ad0: READ command = timeout tag=0 serv=0 -
resetting ata0: = resetting devices

Wo! That sent chills through my spine when my hard drive (IBM 10GB)
died a noisy clickity-clack death w/ parting words like above a few
weeks ago.


  - Parv

-- 

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


Re: Issues with 5.2.1-RELEASE-p4

2004-05-19 Thread Jorn Argelo
Tom Kiblin wrote:
Hello,
I am running a dual xeon with hyperthreading, SCSI system, that
constantly crashes under load.  The box is doing about 40mbs of
transfer, and I get a panic with the following output on the screen:
http://advancedhosters.com/zico.JPG
Any ideas or suggestions?
Thanks,
Tom
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
.
 

If I had to guess, Apache is causing your kernel panic. (current process 
= 457 (httpd)). If it isn't a production box, you might as well try to 
disable Apache for a bit. Also, you might want to fix the arplookup 
errors. It might be having something to do with it

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


Re: Is Samba PDC up to snuff ?

2004-05-19 Thread Joan Picanyol i Puig
On Wed, 19 May 2004 10:25:31 -0500, Darryl Hoar wrote:
 Right now, it has an NT4 Server Primary Domain 
 Controller.  I would like to rip it down, install
 FreeBSD and set it up as the Primary Domain
 Controller.  This is only possible if the Samba
 Primary Domain Controller feature works and is
 reliable.

I'm using samba-devel from ports for file/print/profile serving to 2k/xp
clients. Works fine although the setup is not trivial. I don't know
anything about ADS.

qvb
-- 
pica


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


Re: Samba PDF printing

2004-05-19 Thread Joan Picanyol i Puig
On Wed, 19 May 2004 13:14:26 -0500, Andrea Venturoli wrote:
 Everything works fine, but not after a reboot.
 After the machine is powered up PDF creation will silently fail.
 sh /usr/local/etc/rc.d/samba.sh stop ; sh /usr/local/etc/rc.d/samba.sh start will 
 fix this.
 Any hint?

Look at the samba logs after incrementing the log level in smb.conf. 

qvb
-- 
pica


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


permissions

2004-05-19 Thread arden
hi all 

i only have two users on my bsd box me as a standard user and root 
 
the prob ive got at the mo is that only root can mount my cd drive how
do i halter its permissions so standard user can use it 

on a similar vain on my linux boxes i can su root but i get a message
saying sorry is this a bsd thing ?

arden 

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


Re: permissions

2004-05-19 Thread Kent Stewart
On Wednesday 19 May 2004 11:05 am, arden wrote:
 hi all

 i only have two users on my bsd box me as a standard user and root

 the prob ive got at the mo is that only root can mount my cd drive
 how do i halter its permissions so standard user can use it

 on a similar vain on my linux boxes i can su root but i get a message
 saying sorry is this a bsd thing ?


It sounds like you may need to add your personal user name to the wheel 
group in /etc/group. You don't su root but just su. I have never 
worried about mounting a CD-ROM from the user because I usually have a 
console session running as root.

I use su - to switch to root because that invokes the root 
environment.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: permissions

2004-05-19 Thread DanGer
Hello arden,

Wednesday, May 19, 2004, 8:05:34 PM, you wrote:

a hi all 

a i only have two users on my bsd box me as a standard user and root 
 
a the prob ive got at the mo is that only root can mount my cd drive how
a do i halter its permissions so standard user can use it 

try installing sudo from ports..

a on a similar vain on my linux boxes i can su root but i get a message
a saying sorry is this a bsd thing ?

your standart user have to be in the wheel group, only wheel users
are able to su to root

a arden 

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



-- 
Best regards,
 DanGermailto:[EMAIL PROTECTED]

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


[FAQ pointer] Re: permissions

2004-05-19 Thread Lowell Gilbert
arden [EMAIL PROTECTED] writes:

 the prob ive got at the mo is that only root can mount my cd drive how
 do i halter its permissions so standard user can use it 

How do I let ordinary users mount floppies, CDROMs and other removable media?
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER-FLOPPYMOUNT
 on a similar vain on my linux boxes i can su root but i get a message
 saying sorry is this a bsd thing ?

Why do I get the error, ``you are not in the correct group to su root'' when I try to 
su to root?
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#SU-WHEEL-GROUP

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


defining knobs in pkgtools.conf question

2004-05-19 Thread Chiang Seng Chang
Hi,
This is from the lang/python Makefile
=== quote ===
OPTIONS=THREADS Enable thread support on \
HUGE_STACK_SIZE Use a larger thread stack off \
UCS2 Use UCS2 instead of UCS4 for unicode support off \
PYMALLOC Uses python's internal malloc on
.include bsd.port.pre.mk
.if defined(WITH_THREADS)
CONFIGURE_ARGS+=--with-threads
CFLAGS+=${PTHREAD_CFLAGS}
.if defined(WITHOUT_HUGE_STACK_SIZE)
CFLAGS+=-DTHREAD_STACK_SIZE=0x2
.else
CFLAGS+=-DTHREAD_STACK_SIZE=0x10
.endif # defined(WITHOUT_HUGE_STACK_SIZE)
CONFIGURE_ENV+= LDFLAGS=${PTHREAD_LIBS} ${LDFLAGS}
.else
CONFIGURE_ARGS+=--without-threads
.if defined(LDFLAGS)
CONFIGURE_ENV+= LDFLAGS=${LDFLAGS}
.endif # defined(LDFLAGS)
.endif # defined(WITH_THREADS)
.if defined(WITHOUT_UCS2)
CONFIGURE_ARGS+=--enable-unicode=ucs4
.endif
.if defined(WITHOUT_PYMALLOC)
CONFIGURE_ARGS+=--without-pymalloc
.endif
=== end quote ===
So if I wish to put the knobs into pkgtools.conf so that it can build it 
batch mode, do I:

WITH_THREADS=1
WITHOUT_HUGE_STACK_SIZE=1
WITH_UCS2=1
WITH_PYMALLOC=1
or
WITH_THREADS=1
WITHOUT_HUGE_STACK_SIZE=1
WITHOUT_UCS2=0
WITHOUT_PYMALLOC=0
I guess my question is how to decide wheather to use WITH_XXX=1 or 
WITHOUT_XXX=0 ?

does WITH_XXX=0 result in #defined(WITH_XXX) returning false ?
Regards.
-cs
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ad0: READ command timeout tag=0 serv=0 -

2004-05-19 Thread Marcia de Oliveira Cardoso

   Hi,

  I got it ...
  Disable DMA mode in = BIOS and got the system installed.

  Pehaps I can put = disks in DMA 2 ?

   Hi,

   I'm trying to install a FreeBsd = 4.9 with floppy disks but it failed
with the message

   ad0: READ command timeout tag=0 = serv=0 -
   resetting ata0: resetting = devices

   I have 2 seagate disks IDE with = 120G and the motherboard is Asus
   P4V8-X (chipset SIS 648). Both auto = configured in BIOS (DMA 5).
   Cables are ok. I installed debian . But I = nedd FreeBSD.

   So, what is going wrong? Is there = a way to bypass this error?

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


Re: Cannot Login After Using Kuser to setup Accounts

2004-05-19 Thread Christopher Nehren
On Wed, May 19, 2004 at 10:23:24 EDT, Mark Teel scribbled these
curious markings:
 On a fresh install of FreeBSD 5.2, after I add a user via kuser, when I 
 logout I cannot log back in!
 I get a message stating that the accound has expired, even for the 
 root user.

Looks like you got bitten by a bug in KUser that was shipped with
FreeBSD 5.2. This has been fixed in the latest version.

As a fix, try booting into single user mode, mounting your filesystems
(it's important to mount them rw), and then fixing your passwd database
with vipw. 

Regardless of whether that fixes things or not, it's a very good idea to
update KDE to the latest version (or just use the robust user and group
administration tools that have shipped with FreeBSD and that have worked
for years).

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


pgpITL9raEAbo.pgp
Description: PGP signature


sendmail only sends mail for root, not non-root users

2004-05-19 Thread carvin5string
(hopefully the list won't get two copies of this message)
I have determined what the problem is with sendmail - only root can
send mail. 

Here are the messages from maillog (notice the root emails are sent ok,
the www emails are not) -

May 19 11:40:00 www sendmail[11799]: i4JIe0nK011799: to=root,
ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay,
pri=30273, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent
(i4JIe0DU011800 Message accepted for delivery)
May 19 11:40:07 www sm-mta[11801]: i4JIe0DU011800:
[EMAIL PROTECTED], ctladdr=[EMAIL PROTECTED]
(0/0), delay=00:00:07, xdelay=00:00:07, mailer=esmtp, pri=30850,
relay=mail.simrad.com. [193.69.73.2], dsn=2.0.0, stat=Sent (Ok)
May 19 11:41:08 www sendmail[11804]: i4JIf82K011804: SYSERR(www):
collect: Cannot write ./dfi4JIf82K011804 (bfcommit, uid=80, gid=25):
Permission denied
May 19 11:41:08 www sendmail[11804]: i4JIf82K011804: from=www,
size=368, class=0, nrcpts=1, [EMAIL PROTECTED]
May 19 11:41:08 www sendmail[11804]: i4JIf82K011804: SYSERR(www):
queueup: cannot create queue file ./qfi4JIf82K011804, euid=80:
Permission denied

This is from the messages log -

May 19 11:41:08 www sendmail[11804]: i4JIf82K011804: SYSERR(www):
collect: Cannot write ./dfi4JIf82K011804 (bfcommit, uid=80, gid=25):
Permission denied
May 19 11:41:08 www sendmail[11804]: i4JIf82K011804: SYSERR(www):
queueup: cannot create queue file ./qfi4JIf82K011804, euid=80:
Permission denied


What do I have to do to make sendmail send mail for non-root users?
Thanks
Chip




__
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
http://promo.yahoo.com/sbc/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ad0: READ command timeout tag=0 serv=0 -

2004-05-19 Thread Parv
in message [EMAIL PROTECTED],
wrote Marcia de Oliveira Cardoso thusly...

(something about hard drive problems)

Would you please stop sending similar messages repeatedly, so far
4-5 messages with in 2 hours?


  - Parv

-- 

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


5.2.1 Netware Issues...

2004-05-19 Thread David at Andrew
Couple of questions about IPX here that I guess might be related
1- ncp won't compile
2- ipxrouted causes kernel panic when killing nwserv or 
halting/rebooting system

I note that ncp is currently an uncleared bug and wonder if this is 
what's causing the ipxrouted panics.

Anyway, regardless, I was hoping to move this nwserv box from linux to 
freebsd and with usb support, so a 5.x would have been a good solution.

I was wondering therefore under what 5.x the ncp fix might be happening?
Also, is it necessary to use the if_ef drivers for ipxrouted/ipx/nwserv etc?
Thanks in advance
david (at) chavin (dot) net
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: third IDE

2004-05-19 Thread Mark
Ok, I bought the Promise Ultra133, and now FreeBSD (4.9R) recognized my third IDE port:

ATA channel 2:
Master:  ad4 Maxtor 6Y080L0/YAR41BW0 ATA/ATAPI rev 7
Slave:   no device present

But I cannot mount it! mount /dev/ad4s1a /backup says:

mount: /dev/ad4s1a: No such file or directory

And /dev/ad4 does not exist in /dev/. How do I create it??

Thanks, 

- Mark

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


Re: sendmail only sends mail for root, not non-root users

2004-05-19 Thread Matthew Seaman
On Wed, May 19, 2004 at 11:44:13AM -0700, carvin5string wrote:

 What do I have to do to make sendmail send mail for non-root users?
 Thanks

Looks like your permissions are fubar'd.  I assume you're running the
standard sendmail daemon that comes with the system.  If you're
running the ports version, then you'll have to adapt these instructions.

  i) Make sure the permissions are correct on the spool directories
 etc. that sendmail uses:

# mtree -p /var -e -U -f /etc/mtree/BSD.var.dist 
# mtree -p /var -e -U -f /etc/mtree/BSD.sendmail.dist

 ii) Make sure that the permissions on the sendmail binary are correct
 and that mailer.conf is correct.

# /usr/src/usr.sbin/sendmail
# make obj  make depend  make all install

 after which you should end up with sendmail installed as
 /usr/libexec/sendmail/sendmail with ownership/permissions:

% ls -la /usr/libexec/sendmail/sendmail 
-r-xr-sr-x  1 root  smmsp  607444 May 19 17:29 /usr/libexec/sendmail/sendmail

 (or do a complete buildworld cycle if it's time you had an
 upgrade anyway)

 The contents of /etc/mail/mailer.conf should look like this:

# $FreeBSD: src/etc/mail/mailer.conf,v 1.2.2.1 2002/04/09 02:00:56 gshapiro 
Exp $
#
# Execute the real sendmail program, named /usr/libexec/sendmail/sendmail
#
sendmail/usr/libexec/sendmail/sendmail
send-mail   /usr/libexec/sendmail/sendmail
mailq   /usr/libexec/sendmail/sendmail
newaliases  /usr/libexec/sendmail/sendmail
hoststat/usr/libexec/sendmail/sendmail
purgestat   /usr/libexec/sendmail/sendmail

iii) Check your sendmail config.  Judging by the log snippet you show,
 you've got some sort of nasty mess, with non-working parts of
 your system calling itself 'sendmail' (perhaps a remnant of a
 much older version before the split into sendmail-mta and
 sendmail-clientmqueue?)

If necessary move aside any `hostname`.mc files from
/etc/mail, and start again by:

# cd /etc/mail
# mv `hostname`.mc /var/tmp
# rm `hostname`.cf
# make  (this recreates the default `hostname`.mc)
# vi `hostname`.mc
# make
# make install
# make restart

 It's unlikely you'll need to do anything similar with the
 clientmqueue configuration -- the standard freebsd.subit.mc is
 exactly what's required for the vast majority of sites.

Cheers,

Matthew 

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


pgpu22fMSbHQ9.pgp
Description: PGP signature


freebsd + linux dual boot share filesystem?

2004-05-19 Thread Jesse Guardiani
Hello,

I'm about to setup a dual boot of linux + freebsd
(5.2.1-RELEASE) on a 160gb hard disk. I'd really
like linux and freebsd to share (be able to read
and write) the bulk of the disk so that I can work
in either environment freely.

FreeBSD's ext2fs kernel module would seem preferable
over a msdosfs install (yuck...), but SYS-NOTES
labels it as dangerous for even read-only.

Is FreeBSD capable of reliable ext2fs read+write?

If not, is there a filesystem besides msdosfs that
I can share between FreeBSD and Linux?

Thanks!

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


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


Re: Samba PDF printing

2004-05-19 Thread Andrea Venturoli
** Reply to note from Joan Picanyol i Puig [EMAIL PROTECTED] Wed, 19 May 2004 
19:50:11 +0200


  Everything works fine, but not after a reboot. 
  After the machine is powered up PDF creation will silently fail. 
  sh /usr/local/etc/rc.d/samba.sh stop ; sh /usr/local/etc/rc.d/samba.sh start 
  will fix this. 
  Any hint? 

 Look at the samba logs after incrementing the log level in smb.conf.

Wish I could understand something from that :(
Samba logs hold either too few or way to much data; I tried to analyze them, but that 
lead up to nothing.

 bye  Thanks
av.



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


Re: remote monitoring system variables?

2004-05-19 Thread Stephen P. Cravey
Fortunately, this is for data analysis and not administration. As such,
I only need read access to this data. I would consider write access a
serious security problem. :)

Thanks.

-Stephen

On Wed, 19 May 2004 11:18:20 +0100
Matthew Seaman [EMAIL PROTECTED] wrote:

 On Tue, May 18, 2004 at 04:20:39PM -0500, Stephen P. Cravey wrote:
  I was afraid of that. I'll look more closely into the SNMP MIBS to
  see how much of what I need is available. The Issue I have with
  scripting SNMP is that the OID numbers for custom scrips seem to be
  dependant on how many scripts you are running. I'll verify that, but
  it looks like I may be writing some code to handle encrypted (or at
  least obfuscated) transmission of sysctl and ipfw data over an
  authenticated network connection.
 
 Never could decide myself if the concept of read/write access to the
 sysctl MIB tree via SNMP was way cool or run away, screaming!
 
   Cheers,
 
   Matthew
 
 -- 
 Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
   Savill Way
 PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
 Tel: +44 1628 476614  Bucks., SL7 1TH
 UK
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB generic driver problems

2004-05-19 Thread Chris

On Wed, 19 May 2004, Trevor Blackwell wrote:


 I'm also trying to make the Labjack work on FreeBSD 4.9. I haven't
 solved the problem, but I at least know why you're getting a device not
 configured error when writing to the USB endpoint. The ugen driver
 finds that:

   (sce-edesc-bmAttributes  UE_XFERTYPE) == UE_INTERRUPT

 but only allows a generic write for devices with XFERTYPE of UE_BULK. So
 it gives a ENXIO (device not configured) when you call write.

Makes since. So what if we override that code? ;-) I haven't looked at
this for a month or so, but I started writing my own device driver using
the existing ones as a template. I suceeded in detecting the device but
crashed the system with a type 12 when trying to connect. I'm just not
that experienced with C programming, but what better project to get a
crash course in C?

 I've also fooled around with using the uhid driver, but I haven't been
 able to complete a write with it either. If you figure it out, drop me a
 note!

I'll followup with you privately and we can post a summary to the list
when we figure it out.

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


RE: network traffic

2004-05-19 Thread Buck
That works Great but do you know of anything that works in side the network?
does the same thing but inside the network

-Original Message-
From: B Hansson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 19, 2004 7:22 AM
To: freebsd questions
Cc: [EMAIL PROTECTED]
Subject: Re: network traffic


Buck Jones wrote:
 any one know were I can get a netwrk testing tool that can sit on a
 server and test the speed of a network connection.. I have a small
 network ot work and I get computers that just disappear off the
 net..different computer at different times. but most of the time they
 are on the net and just are so slow. I have check for virus's and adware
 and changed the switching hub out..I have even replaced every network
 cable in the place


 I would like two programs that sit on two computer and just talk to each
 other and tell what the speed they are talking and if there is a packet
 loss


Have a look at tp-test.

http://sourceforge.net/projects/tptest/



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


Re: USB generic driver problems

2004-05-19 Thread Trevor Blackwell

I'm also trying to make the Labjack work on FreeBSD 4.9. I haven't
solved the problem, but I at least know why you're getting a device not
configured error when writing to the USB endpoint. The ugen driver
finds that:

  (sce-edesc-bmAttributes  UE_XFERTYPE) == UE_INTERRUPT

but only allows a generic write for devices with XFERTYPE of UE_BULK. So
it gives a ENXIO (device not configured) when you call write.

I've also fooled around with using the uhid driver, but I haven't been
able to complete a write with it either. If you figure it out, drop me a
note!

-- 
Trevor Blackwell  [EMAIL PROTECTED]   (650) 210-9272


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


Re: third IDE

2004-05-19 Thread Kent Stewart
On Wednesday 19 May 2004 02:13 pm, Mark wrote:
 Ok, I bought the Promise Ultra133, and now FreeBSD (4.9R) recognized
 my third IDE port:

 ATA channel 2:
 Master:  ad4 Maxtor 6Y080L0/YAR41BW0 ATA/ATAPI rev 7
 Slave:   no device present

 But I cannot mount it! mount /dev/ad4s1a /backup says:

 mount: /dev/ad4s1a: No such file or directory

 And /dev/ad4 does not exist in /dev/. How do I create it??


I would try

cd /dev
sh MAKEDEV ad4s1a

Kent

-- 
Kent Stewart
Richland, WA

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


Max NFSD processes

2004-05-19 Thread Eric Anderson
I have several heavily used NFS servers, currently running FreeBSD 
4.9-RELEASE.  I'm getting jammed up with all my nfsd processes being 
busy, so clients see slow connections to the server.  I have the nfsd 
starting with a count of 20, which is the max set in the nfsd.c file.

Are there any risks I should be aware of before bumping up the max to 
say 40, or even 50? 

What would it take to make this a sysctl adjustable value?
Should the max be bumped higher by default nowdays?
Thanks - any help/hints is appreciated.
Eric
--
--
Eric Anderson Sr. Systems AdministratorCentaur Technology
Today is the tomorrow you worried about yesterday.
--
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: third IDE

2004-05-19 Thread Mark
Kent Stewart wrote:

 On Wednesday 19 May 2004 02:13 pm, Mark wrote:
 Ok, I bought the Promise Ultra133, and now FreeBSD (4.9R) recognized
 my third IDE port:
 
 ATA channel 2:
 Master:  ad4 Maxtor 6Y080L0/YAR41BW0 ATA/ATAPI rev 7
 Slave:   no device present
 
 But I cannot mount it! mount /dev/ad4s1a /backup says:
 
 mount: /dev/ad4s1a: No such file or directory
 
 And /dev/ad4 does not exist in /dev/. How do I create it??
 
 I would try
 
 cd /dev
 sh MAKEDEV ad4s1a

That simple, eh? :) Thanks! It works.

- Mark

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


Re: Cannot Login After Using Kuser to setup Accounts

2004-05-19 Thread Gerard Seibert
On Wednesday, May 19, 2004 3:00:52 PM Matthew Seaman [EMAIL PROTECTED] wrote:

|Date: Wed, 19 May 2004 16:22:19 +0100
|From: Matthew Seaman [EMAIL PROTECTED]
|Subject: Re: Cannot Login After Using Kuser to setup Accounts
|To: Mark Teel [EMAIL PROTECTED]
|Cc: [EMAIL PROTECTED]
|Message-ID:
|  [EMAIL PROTECTED]
|Content-Type: text/plain; charset=us-ascii
|
|On Wed, May 19, 2004 at 09:23:24AM -0500, Mark Teel wrote:
| On a fresh install of FreeBSD 5.2, after I add a user via kuser, when I 
| logout I cannot log back in!
| I get a message stating that the accound has expired, even for the 
| root user.
| 
| Please help as this has rendered my system unusable.
|
|Hmmm... This sounds like a bug in KDE that was fixed some months ago.
|It would scramble the contents of the /etc/master.passwd file.
|
|To get the system back into a working state, reboot into single user
|mode (ie. wait until the 10 second countdown before booting the
|kernel, hit a key to interrupt and then type 'boot -s' and then just
|hit return when prompted to choose a shell.
|
|Now you should be able to restore the master.passwd file from the
|backup copy automatically kept in /var/backups.  Try the following
|series of commands:
|
|# fsck -p
|# swapon -a
|# mount -a
|# cd /etc
|# mv master.passwd master.passwd-`date +%Y%m%d`
|# cp /var/backups/master.passwd.bak master.passwd
|# pwd_mkdb 
|# reboot
|
|That should restore the password file to the state it was before you
|tried the changes that caused all of the trouble, and you should now
|be able to log in.  If you haven't got a good copy of a password file
|in /var/backups, you can use the default installation password file
|from /usr/src/etc/master.passwd instead, but remember to set a root
|password immediately after you copy it into /etc.
|
|Once you're back up and running properly, update your ports tree using
|cvsup(1) and install the latest versions of the KDE software -- using
|portupgrade(1) [from the sysutils/portupgrade port] is probably the
|most pleasant way to do that, but be sure and check in
|/usr/ports/UPDATING to see if there are any special measures you need
|to take.  Or you can grab precompiled packages from the FreeBSD FTP
|servers.
|
|  Cheers,
|
|  Matthew
|
|-- 
|Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
|  Savill Way


** Reply Separator **
Wednesday, May 19, 2004 6:19:56 PM

I had the exact same problem recently. I reported it as a bug to KDE.
That bug report is still open as far as I can tell. It appears to be a
randomly occurring phenomena.

Gerard Seibert
[EMAIL PROTECTED]



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


Re: Max NFSD processes

2004-05-19 Thread Dan Nelson
In the last episode (May 19), Eric Anderson said:
 I have several heavily used NFS servers, currently running FreeBSD
 4.9-RELEASE.  I'm getting jammed up with all my nfsd processes being
 busy, so clients see slow connections to the server.  I have the nfsd
 starting with a count of 20, which is the max set in the nfsd.c file.
 
 Are there any risks I should be aware of before bumping up the max to 
 say 40, or even 50? 
 
 What would it take to make this a sysctl adjustable value?
 
 Should the max be bumped higher by default nowdays?

What's the output of ps ax | grep nfsd?  How much CPU does the last
nfsd process have?

If your backend storage is a RAID with lots of disks, and your last
nfsd is actually getting some use, then bumping up the nfsds will
probably help.  Although if you're hitting a kernel bottleneck (locking
for example), more nfsds won't do any good.

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


Re: network traffic

2004-05-19 Thread Oscar Ricardo Silva
At 02:41 PM 5/18/2004, you wrote:
any one know were I can get a netwrk testing tool that can sit on a
server and test the speed of a network connection.. I have a small
network ot work and I get computers that just disappear off the
net..different computer at different times. but most of the time they
are on the net and just are so slow. I have check for virus's and adware
and changed the switching hub out..I have even replaced every network
cable in the place
I would like two programs that sit on two computer and just talk to each
other and tell what the speed they are talking and if there is a packet
loss

iperf or netperf?

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


AIO stupidity

2004-05-19 Thread Bjorn Dittmer-Roche
Hey all,

I'm pretty sure I am being stupid, but I couldn't get any help
from google or by searching the archives. Any pointer would be greatly
appretiated!

I am trying to use aio functions in a real-time thread. The
trouble is I keep getting Function not implemented errors. I thought
these functions were implemented! I am using FreeBSD 4.9. the
kernel is self compiled (config below). Anyway, here's a code snipit:

  if( asyncWriteBuffers[ asyncWriteIndex ].pending ) {
 int err = aio_error( (asyncWriteBuffers[asyncWriteIndex].asyncData) );
 if( err == EINPROGRESS )
throw UnderflowException( -16 );
 else if( err != 0 ) {
cout  Async IO Error:   strerror( err )  endl;
throw FatalException( -12, strerror( err ) );
 }
  }
  bzero( (char *) asyncWriteBuffers[asyncWriteIndex].asyncData.aio_fildes,
   sizeof (struct aiocb));
  asyncWriteBuffers[asyncWriteIndex].asyncData.aio_fildes = fd;
  asyncWriteBuffers[asyncWriteIndex].asyncData.aio_buf = localIOBuff;
  asyncWriteBuffers[asyncWriteIndex].asyncData.aio_nbytes
  = (end-start)*(bitdepth3)*channels ;
  asyncWriteBuffers[asyncWriteIndex].asyncData.aio_reqprio = 0;
  if( -1 == aio_write( (asyncWriteBuffers[asyncWriteIndex].asyncData) ) )
 throw FatalException( -12, strerror( errno ) );
  asyncWriteIndex = ( asyncWriteIndex + 1 ) % NUM_ASYNC_WRITE_BUFFERS;


The error happens on call to aio_write, which is the first aio_ function
that gets called. I have checked pretty carefully to make sure the values
in asyncData are valid. (asyncData is of type struct aiocb of course).


TIA,


bjorn

Here's my kernel config:

#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.51.2.2 2003/03/25 23:35:15 jhb Exp $

machine i386
cpu I686_CPU
ident   TWIGGY
maxusers0

#makeoptionsDEBUG=-g#Build kernel with gdb(1) debug symbols

options MATH_EMULATE#Support for x87 emulation
options INET#InterNETworking
options INET6   #IPv6 communications protocols
options FFS #Berkeley Fast Filesystem
options FFS_ROOT#FFS usable as root device [keep this!]
options SOFTUPDATES #Enable FFS soft updates support
options UFS_DIRHASH #Improve performance on big directories
options MFS #Memory Filesystem
options MD_ROOT #MD is a potential root device
options NFS #Network Filesystem
options NFS_ROOT#NFS usable as root device, NFS required
options MSDOSFS #MSDOS Filesystem
options CD9660  #ISO 9660 Filesystem
options CD9660_ROOT #CD-ROM usable as root, CD9660 required
options PROCFS  #Process filesystem
options COMPAT_43   #Compatible with BSD 4.3 [KEEP THIS!]
options SCSI_DELAY=5000 #Delay (in ms) before probing SCSI
options UCONSOLE#Allow users to grab the console
options USERCONFIG  #boot -c editor
options VISUAL_USERCONFIG   #visual boot -c editor
options KTRACE  #ktrace(1) support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options P1003_1B#Posix P1003_1B real-time extensions
options _KPOSIX_PRIORITY_SCHEDULING
options ICMP_BANDLIM#Rate limit bad replies
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  NETATALK #appletalk

# To make an SMP kernel, the next two are needed

Re: Creating ISO image question (PROBLEM SOLVED)

2004-05-19 Thread Warren Block
On Wed, 19 May 2004, [iso-8859-1] Stephen Liu wrote:

 I don't expect it would be so complicate on FreeBSD.
 It is rather simple on Linux.

But mkisofs is the same on both.

 SOLUTION;

 $ mkisofs -U -R -o cdimage.raw -graft-points \
 usr/home/user-A/document-AAA/=/usr/home/user-A/document-AAA

 2 (two) folders then created;

 1) user.  Under this folder
 usr/home/user-A/document-AAA/subdirectories+files
 (full path)
 2) rr_remove  This is an empty folder

 I don't know how to get rid of the empty folder
 'rr_remove'.  If no solution I will burn a CD to test

See the option called '-hide-rr-moved' in the mkisofs man page.

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


/usr out of space

2004-05-19 Thread hoe-waa
Aloha
I'm looking for a little direction (instructions or reading) that
could point me the right way. 

I have a box with an 18G scsi hd that has win98 loaded on slice 1,
FreeBSD 5.2RC loaded on slice 2 and I had a couple of linux distros
loaded in extended partitions. I had blown away one of the linux 
distros a while back. and that partition is idle.

Here is my problem. I ran out of space in /usr. 

Filesystem  1K-blocksUsed   Avail Capacity  Mounted on
/dev/da1s2a253678   75170  15821432%/
devfs   1   1   0   100%/dev
/dev/da1s2e253678 202  233182 0%/tmp
/dev/da1s2f   2421616 2419590 -191702   109%/usr
/dev/da1s2d253678   32722  20066214%/var
/dev/fd0 1424   91415 1%/tmp/floppy


My thoughts were to redo that idle slice (4.5Gig) to a UFS 
and cp usr to it. Then I could change my /etc/fstab to find 
/usr on the new slice. Is this possible?

I've been doing a lot of research (handbook, man bsdlabel, man ccd, 
etc.) and I haven't had much luck.

I first used sysinstall to fdisk the idle slice to a primary slice 
and set it as a type 165. I used the disk label editor in sysinstall
to try to create a single file system as FS and /usr. When trying to 
write this I got an error but the handbook says to ignore any errors.

After reboot, ls -l /dev/da* shows my new slice as da1s4f;

crw-r-  1 root  operator4,  12 May 19 12:59 /dev/da0
crw-r-  1 root  operator4,  14 May 19 12:59 /dev/da0s4
crw-r-  1 root  operator4,  13 May 19 12:59 /dev/da1
crw-r-  1 root  operator4,  15 May 19 12:59 /dev/da1s1
crw-r-  1 root  operator4,  16 May 19 12:59 /dev/da1s2
crw-r-  1 root  operator4,  19 May 19 02:59 /dev/da1s2a
crw-r-  1 root  operator4,  20 May 19 12:59 /dev/da1s2b
crw-r-  1 root  operator4,  21 May 19 12:59 /dev/da1s2c
crw-r-  1 root  operator4,  22 May 19 02:59 /dev/da1s2d
crw-r-  1 root  operator4,  23 May 19 02:59 /dev/da1s2e
crw-r-  1 root  operator4,  24 May 19 02:59 /dev/da1s2f
crw-r-  1 root  operator4,  17 May 19 12:59 /dev/da1s3
crw-r-  1 root  operator4,  18 May 19 12:59 /dev/da1s4
crw-r-  1 root  operator4,  27 May 19 12:59 /dev/da1s4c
crw-r-  1 root  operator4,  28 May 19 12:59 /dev/da1s4f
crw-r-  1 root  operator4,  25 May 19 12:59 /dev/da1s5
crw-r-  1 root  operator4,  26 May 19 12:59 /dev/da1s6

And doing an fdisk shows this

** Working on device /dev/da1 ***
parameters extracted from in-core disklabel are:
cylinders=2213 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=2213 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 11 (0x0b),(DOS or Windows 95 with 32 bit FAT)
start 63, size 4883697 (2384 Meg), flag 0
beg: cyl 0/ head 1/ sector 1;
end: cyl 303/ head 254/ sector 63
The data for partition 2 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 4883760, size 8594775 (4196 Meg), flag 80 (active)
beg: cyl 304/ head 0/ sector 1;
end: cyl 838/ head 254/ sector 63
The data for partition 3 is:
sysid 5 (0x05),(Extended DOS)
start 22458870, size 13092975 (6393 Meg), flag 0
beg: cyl 1023/ head 254/ sector 63;
end: cyl 1023/ head 254/ sector 63
The data for partition 4 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 13478535, size 8980335 (4384 Meg), flag 0
beg: cyl 839/ head 0/ sector 1;
end: cyl 1023/ head 254/ sector 63

but when trying mount /dev/da1s4f /tmp/foo I get;

bsd-desktop# mount /dev/da1s4f /tmp/foo
mount: /dev/da1s4f on /tmp/foo: incorrect super block

When I tried using bsdlabel without any options I got an error.
So I then did a bsdlabel -w da1s4 and the a bsdlabel -e da1s4 
and edited what I believe are the correct numbers for this slice. 
Now when I do the bsdlabel da1s4 with no options, I get

# /dev/da1s4:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  c:  89803350unused0 0 # raw part, don't edit
  f:  8980319   164.2BSD 2048 16384 28552 


I still get the above error when trying to mount this slice.

To sum it up. 

Is it possible to mount, copy and change the /usr partition?

If so, how do I correct the super block problem so I can mount?

Or, is there a much easier way and I have been spinning my wheels for 
the last 6 hours? 

TIA

Robert

P.S. Here's what bsdlabel on da1s2 looks like;

bsd-desktop# bsdlabel da1s2
# /dev/da1s2:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:   52428804.2BSD 2048 16384 32776
  b:  2012752   524288  swap
  c:  85947750unused0 0 # raw 

Re: Max NFSD processes

2004-05-19 Thread Eric Anderson
Dan Nelson wrote:
In the last episode (May 19), Eric Anderson said:
 

I have several heavily used NFS servers, currently running FreeBSD
4.9-RELEASE.  I'm getting jammed up with all my nfsd processes being
busy, so clients see slow connections to the server.  I have the nfsd
starting with a count of 20, which is the max set in the nfsd.c file.
Are there any risks I should be aware of before bumping up the max to 
say 40, or even 50? 

What would it take to make this a sysctl adjustable value?
Should the max be bumped higher by default nowdays?
   

What's the output of ps ax | grep nfsd?  How much CPU does the last
nfsd process have?
If your backend storage is a RAID with lots of disks, and your last
nfsd is actually getting some use, then bumping up the nfsds will
probably help.  Although if you're hitting a kernel bottleneck (locking
for example), more nfsds won't do any good.
 

Here's the output:
  97  ??  Is 0:00.01 nfsd: master (nfsd)
  99  ??  S  4:52.61 nfsd: server (nfsd)
 100  ??  S  1:15.74 nfsd: server (nfsd)
 101  ??  S  0:44.05 nfsd: server (nfsd)
 102  ??  S  0:31.79 nfsd: server (nfsd)
 103  ??  S  0:26.15 nfsd: server (nfsd)
 104  ??  S  0:20.36 nfsd: server (nfsd)
 105  ??  S  0:18.47 nfsd: server (nfsd)
 106  ??  S  0:16.86 nfsd: server (nfsd)
 107  ??  S  0:19.11 nfsd: server (nfsd)
 108  ??  S  0:16.68 nfsd: server (nfsd)
 109  ??  S  0:13.59 nfsd: server (nfsd)
 110  ??  S  0:13.60 nfsd: server (nfsd)
 111  ??  S  0:12.30 nfsd: server (nfsd)
 112  ??  S  0:12.44 nfsd: server (nfsd)
 113  ??  S  0:13.84 nfsd: server (nfsd)
 114  ??  S  0:12.65 nfsd: server (nfsd)
 115  ??  S  0:13.57 nfsd: server (nfsd)
 116  ??  S  0:11.31 nfsd: server (nfsd)
 117  ??  S  0:11.21 nfsd: server (nfsd)
 118  ??  I  0:11.99 nfsd: server (nfsd)
The machine has been up now less than 5 hours, and this is a 'quiet' time. 

During the 'slow' time, top showed the nfsd processes in biorw and 
inode states.  All were consumed in those states. 

The machine has two raid 5 arrays, with a hardware raid controller.  
iostat showed xfer speeds to the first array about 2MB/s, and nothing 
really abnormal about it.  Clients had difficulty with simple things 
like 'ls' on the partition.  mountd was responding quickly with mount 
requests (I believe), but once the mount was made, accessing the nfs 
disk was horribly slow.

Any more ideas?
I'm not subscribed on -questions or -net, so please keep me on the cc's.
Eric
--
--
Eric Anderson Sr. Systems AdministratorCentaur Technology
Today is the tomorrow you worried about yesterday.
--
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


OpenOffice Install in FreeBSD

2004-05-19 Thread Andrew Firestone
Anyone have any luck installing OpenOffice-1.1 for FreeBSD 4.9? 
I only get the error below after getting all the bits from the sun site for
the java install that OpenOffice precipitates.

Java HotSpot (TM) Client VM warning: Can't detect initial thread stack
location

In all the post on this topic I could find the recommended solution was the
following:

kldload linprocfs
mount -t linprocfs linprocfs /compat/linux/proc
with this done rebuild.

After this I still have the same problem building openoffice-1.1 which then
builds the Java. I Have Linux Compatibility 7.1 installed and loaded kldstat
shows it. Any other advice besides giving up on openoffice for FreeBSD?

Kind Regards,

Andrew.

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.688 / Virus Database: 449 - Release Date: 18/05/2004
 


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


Why has cvsup quit working for me?

2004-05-19 Thread Jonathon McKitrick

I don't get it.  It was working last week.  Here's what I get now:

root:~# cvsup /usr/share/examples/cvsup/ports-supfile 
Cannot get IP address of my own host -- is its hostname correct?
root:~# 

I have not changed my hostname.  I have a new firewall at home, but I get
the same message at work as well.  I upgrading something the other day that
updated cvsup, and I had to fix the example supfile, the one I was using.
Other than that, I don't get it.

jm
-- 
My other computer is your windows box.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OpenOffice Install in FreeBSD

2004-05-19 Thread Bill Moran
Andrew Firestone wrote:
Anyone have any luck installing OpenOffice-1.1 for FreeBSD 4.9? 
I only get the error below after getting all the bits from the sun site for
the java install that OpenOffice precipitates.

Java HotSpot (TM) Client VM warning: Can't detect initial thread stack
location
In all the post on this topic I could find the recommended solution was the
following:
kldload linprocfs
mount -t linprocfs linprocfs /compat/linux/proc
with this done rebuild.
After this I still have the same problem building openoffice-1.1 which then
builds the Java. I Have Linux Compatibility 7.1 installed and loaded kldstat
shows it. Any other advice besides giving up on openoffice for FreeBSD?
Looks like you've already checked all the things I would have suggested.
One option is to download a package off the OpenOffice.org site and install
that ... the only difficulty there is finding the older dependent packages and
getting them installed first.
I should really do a make package on my setup and submit it to the OpenOffice.org
folks ...
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Need Advice On Audit Log File Access

2004-05-19 Thread Suhaimi Jamalludin
Hi All,
I have a File Server and all the clients are using WinSCP3 to copy their 
data to my File Server.
Is there any audit log generated for me to check if somebody accidently 
deleted any files in the File Server.
I'm looking at simililar method like Samba-audit log.

By the way I'm using FreeBSD5.2.1
Can some body advice...pleaseee
Really appreciate your help.
--
Regards,
Suhaimi

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


Re: Why has cvsup quit working for me?

2004-05-19 Thread Kent Stewart
On Wednesday 19 May 2004 07:10 pm, Jonathon McKitrick wrote:
 I don't get it.  It was working last week.  Here's what I get now:

 root:~# cvsup /usr/share/examples/cvsup/ports-supfile
 Cannot get IP address of my own host -- is its hostname correct?
 root:~#

 I have not changed my hostname.  I have a new firewall at home, but I
 get the same message at work as well.  I upgrading something the
 other day that updated cvsup, and I had to fix the example supfile,
 the one I was using. Other than that, I don't get it.



You system doesn't know who it is. Check hosts and rc.conf.

Kent

-- 
Kent Stewart
Richland, WA

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


RE: OpenOffice Install in FreeBSD

2004-05-19 Thread Andrew Firestone
One option is to download a package off the OpenOffice.org site and install
that ... the only difficulty there is finding the older dependent packages
and getting them installed first.



But the OpenOffice Package would still build the Java stuff wouldn't it or
do you think the issue is with the openoffice-1.1 port?

Not too familiar with using FreeBSD on a desktop, mainly used it previously
as an email, file etc, server. Just thought it would be great to start using
it on the Desk since there are so many Open Source Desktop apps coming out.

 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.688 / Virus Database: 449 - Release Date: 18/05/2004
 


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


RE: OpenOffice Install in FreeBSD

2004-05-19 Thread Andrew Firestone
Just checked out the status of the port and it looks like it is broken.
www.freebsd.org/cgi/cvsweb.cgi/ports/editors/openoffice-1.1



-Original Message-
From: Bill Moran [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 20 May 2004 12:14 PM
To: Andrew Firestone
Cc: [EMAIL PROTECTED]
Subject: Re: OpenOffice Install in FreeBSD

Andrew Firestone wrote:
 Anyone have any luck installing OpenOffice-1.1 for FreeBSD 4.9? 
 I only get the error below after getting all the bits from the sun site
for
 the java install that OpenOffice precipitates.
 
 Java HotSpot (TM) Client VM warning: Can't detect initial thread stack
 location
 
 In all the post on this topic I could find the recommended solution was
the
 following:
 
 kldload linprocfs
 mount -t linprocfs linprocfs /compat/linux/proc
 with this done rebuild.
 
 After this I still have the same problem building openoffice-1.1 which
then
 builds the Java. I Have Linux Compatibility 7.1 installed and loaded
kldstat
 shows it. Any other advice besides giving up on openoffice for FreeBSD?

Looks like you've already checked all the things I would have suggested.

One option is to download a package off the OpenOffice.org site and install
that ... the only difficulty there is finding the older dependent packages
and
getting them installed first.

I should really do a make package on my setup and submit it to the
OpenOffice.org
folks ...

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com



---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.688 / Virus Database: 449 - Release Date: 18/05/2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.688 / Virus Database: 449 - Release Date: 18/05/2004
 


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


Re: how-to tell sendmail to mail thru my ISP

2004-05-19 Thread Jay Moore
On Wednesday 19 May 2004 11:02 am, fbsd_user wrote:
 I have dynamic IP address and ISP blocks inbound port 25 so any
 recipients email server that checks back before accepting says I an
 invalid sender. Going through my ISP email server should fix this.

 How do I tell sendmail to send, relay my outgoing email through
 my ISP email server?

see the SMART_HOST feature in sendmail.

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


Fwd: Re: root no found(Thanx)

2004-05-19 Thread mehrdad nosrati
 Note: forwarded message attached. 

Thanx a billion for your help.


Yahoo! Messenger - Communicate instantly...Ping 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html---BeginMessage---
On Wed, May 19, 2004 at 07:02:41AM +0100, mehrdad nosrati wrote:
 but every 5 minute I receive a mail from cron daemon
 in
 which it says:
 
 Cron [EMAIL PROTECTED] root /usr/libexec/atrun
 
 root:not found

FAQ:


http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#ROOT-NOT-FOUND-CRON-ERRORS

Cheers,

Matthew

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


pgpKajax66Ry8.pgp
Description: PGP signature
---End Message---
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


memory allocation/deallocation (malloc experts needed)

2004-05-19 Thread Till Plewe
My problem is essentially that freeing large numbers of small chunks
of memory can be very slow. I have run into this problem twice so far.

1) Shutting down python can take several minutes if I have used large
dictionaries. The solution I use here is to exit python without
freeing the allocated memory (not really a good solution).

2) Freeing large hashtables in C. (No solution yet.)

For these hashtables I can fairly easily divide the data into groups
which could be deleted together. If I have all this data in one
predefined region of memory then deleting them would be very
fast. However in order to keep memory consumption as low as possible
without sacrificing speed I am using Judy arrays (see the Judy project
at source forge). But that means I have no direct control over how
malloc is called.

One solution would be to divide the memory in larger regions and to
tell malloc which chunk to use for the next few calls, respectively when a
whole chunk could be freed. But I don't know how to do this.

Cyclone's regions seem to provide more or less what I need but cyclone
works on neither CURRENT nor on amd64. 

Any suggestions where to look/what to read are greatly appreciated 

- Till


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


Re: /usr out of space

2004-05-19 Thread Nicholas Basila
On Wednesday 19 May 2004 08:17 pm, [EMAIL PROTECTED] wrote:

 When I tried using bsdlabel without any options I got an error.
 So I then did a bsdlabel -w da1s4 and the a bsdlabel -e da1s4
 and edited what I believe are the correct numbers for this slice.
 Now when I do the bsdlabel da1s4 with no options, I get

 # /dev/da1s4:
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   c:  89803350unused0 0 # raw part,
 don't edit f:  8980319   164.2BSD 2048 16384 28552


 I still get the above error when trying to mount this slice.

 To sum it up.

 Is it possible to mount, copy and change the /usr partition?

 If so, how do I correct the super block problem so I can mount?

 Or, is there a much easier way and I have been spinning my wheels for
 the last 6 hours?

Perhaps I've missed a step, but it seems that you never did a newfs /
dev/da1s4f. If not, that would be an obvious explanation for the 
incorrect super block error.
At any rate, it is pretty easy to copy data from usr to a new slice and 
change fstab. I do it on occasion. I would recommend making a copy of 
fstab that has the da1s4f as the /usr partition. 
I do a tunefs -n enable on the new filesystem device. Then, I boot into 
single user mode, mount -ro /usr and mount -rw /newusr (and I even 
mount /var if I need to do editing with vi.) I then tar or copy the 
files over (dump works, too). After all that's done, umount /usr and 
umount /newusr. Copy the new version of fstab to /etc/fstab, and try a 
mount /usr or mount -a. If there are no errors, you should be able to 
hit control-d and finish the boot procedure. 
 

Nicholas



 TIA

 Robert

 P.S. Here's what bsdlabel on da1s2 looks like;

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