Re: jdk14+tomcat5 crashing box

2004-01-06 Thread Sheldon Hearn
On (2003/12/31 04:55), Brett Gulla wrote:

 Thanks for the input, but the problem seems to have been fixed.  Here's what I
 did:
 1. cvsup'd to 5.2 RC
 2. upgraded to tomcat 5.0.16
 
 PS.  Using native threads (-lc_r not -pthread)

I believe that the problem was fixed in FreeBSD itself, because an
upgrade from a pre-5.2-RC1 to 5.2-CURRENT fixed exactly this problem for
me.  I didn't need to upgrade Tomcat.

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


Linking disk utilization to a process

2003-11-07 Thread Sheldon Hearn
Hi folks,

Can anyone suggest a way to link disk utilization to a process?

I can see whether my disks are busy with systat -vmstat, but I don't
know how to find out _which_ processes are causing the work.

Ideas?

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


mount_smbfs: RPC struct is bad

2003-10-30 Thread Sheldon Hearn
Hi folks,

I'm using SMBFS on FreeBSD 4.9-PRERELEASE from 2003-09-18, and running
into problems mounting W2K shares.  I was last able to mount these
shares a month ago.  Since then, the only change I'm aware of was the
world update (to catch security patches) and accompanying mergemaster.

Here's the config:

/etc/fstab:
//[EMAIL PROTECTED]/backup /smb/foo smbfs noauto,ro,-N 0 0

/etc/nsmb.conf
[default]
workgroup=BAR
[FOO:BACKUP:BACKUP]
password=xyzzy

Here's the problem:

# mount /smb/foo
smbfs: unable to open connection: syserr = RPC struct is bad

Any ideas?  Google, Rambler and a search of the freebsd-questions
archive both came up empty-handed.

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


Re: mount_smbfs: RPC struct is bad

2003-10-30 Thread Sheldon Hearn
On (2003/10/30 11:37), Sheldon Hearn wrote:

 I'm using SMBFS on FreeBSD 4.9-PRERELEASE from 2003-09-18, and running
 into problems mounting W2K shares.  I was last able to mount these
 shares a month ago.  Since then, the only change I'm aware of was the
 world update (to catch security patches) and accompanying mergemaster.

I've just tried with FreeBSD 4.9-STABLE, using today's sources and I
still get:

 # mount /smb/foo
 smbfs: unable to open connection: syserr = RPC struct is bad

Backups are suffering.  Any ideas (even shots in the dark) would be
helpful.

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


Re: mount_smbfs: RPC struct is bad

2003-10-30 Thread Sheldon Hearn
On (2003/10/30 18:16), Sheldon Hearn wrote:

  I'm using SMBFS on FreeBSD 4.9-PRERELEASE from 2003-09-18, and running
  into problems mounting W2K shares.  I was last able to mount these
  shares a month ago.  Since then, the only change I'm aware of was the
  world update (to catch security patches) and accompanying mergemaster.
 
 I've just tried with FreeBSD 4.9-STABLE, using today's sources and I
 still get:
 
  # mount /smb/foo
  smbfs: unable to open connection: syserr = RPC struct is bad
 
 Backups are suffering.  Any ideas (even shots in the dark) would be
 helpful.

Found the problem.

The Windows user backup, as which the FreeBSD box authenticates when
mounting the Windows shares, was created on the domain controller
without Password never expires enabled, and the business concerned
doesn't have a password recycling policy designed to handle automatic
password expiry of system accounts.

SMBFS expects one of several responses to the authentication phase, but
your password has expired, please change it isn't one of them.  I'll
send my findings to Boris, the author of our SMBFS support.

At least this is in the archives, now. :-)

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


kern.openfiles doesn't agree with fstat

2003-09-23 Thread Sheldon Hearn
Hi folks,

I've got an ipfilter-enabled RELENG_4 firewall that acts as a DHCP and
SMB server for our office LAN.

It's running into its upper limit of files, as reported by
kern.openfiles.  However, when I try to use fstat to report on processes
that hold open file handles, the numbers disagree:

kern.maxfiles: 9992
kern.maxfilesperproc: 4496
kern.openfiles: 8265

# fstat | awk '$5 ~ /^\// {print $2}' | sort | uniq -c | sort -nr
  99 httpd
  63 mysqld
  50 smbd
  48 getty
  45 screen
  37 sshd
  35 bash
  30 nfsd
  27 sh
  24 nfsiod
  ...

The total number of filehandles reported in this way is about 600.

Why would these two tools disagree in this way?

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


Duplex printing with HP DeskJet 6122

2003-06-01 Thread Sheldon Hearn
Hi folks,

We just got an HP DeskJet 6122 for printing Unix docs.  It comes with a
duplexing unit, which works when driven by the supplied Windows driver.

However, I'd really rather have this thing connected to my FreeBSD
workstation.

I've tried CUPS and LPRng, and neither of the two support this printer's
duplexing feature out of the box.

Does anyone have any suggestions?

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