Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
for those in Unix...
nipper
Running TS552 SP2 Solaris 2.8
We have needed to bounce TS a couple times & have ended up with stale NFS handles.
Do most people reboot the server ? Stale NFS handles happen when a file is open whie the FS is unloaded, could
have happened but I have not been able to find anything showing it did.
Common problem ? Bounce the server instead of /etc/init.d/iw stop and start ?
Andy
Find more posts tagged with
Comments
Johnny
Yep its a real pain in the ****.
Sometimes you can try the umount command... but it usually doesnt work.
Sometimes TeamSite will load correctly as it will just pick up the old handle.
Most of the time, when you get caught you can only fix it with a kick in the guts.
try this script
#!/usr/bin/sh
echo "Processes running out of /iwmnt..."
/usr/sbin/fuser -c /iwmnt 2>&1 | sed 's/[^0-9]*\([0-9]*\)/\1,/g' | xargs ps -fp 2>/dev/null
echo "\nProcesses running out of /.iwmnt..."
/usr/sbin/fuser -c /.iwmnt 2>&1 | sed 's/[^0-9]*\([0-9]*\)/\1,/g' | xargs ps -fp 2>/dev/null
Run this shell script before you stop teamsite. It will tell you about any processes running on the mount points.
An Interwoven guru helped me come up with it. I found it really useful.
(Dont want to sound like im taking his credit! :-) )
John Cuiuli
Consultant
Sydney, Australia
nipper
John
You need this modification (at least on SOlaris 2.8) -c requires a mount point (which is /iwmnt/default)
#!/usr/bin/sh
echo "Processes running out of /iwmnt..."
/usr/sbin/fuser -c /iwmnt/default 2>&1 | sed 's/[^0-9]*\([0-9]*\)/\1,/g' | xargs ps -fp 2>/dev/null
echo "\nProcesses running out of /.iwmnt..."
/usr/sbin/fuser -c /.iwmnt/default 2>&1 | sed 's/[^0-9]*\([0-9]*\)/\1,/g' | xargs ps -fp 2>/dev/null
Andy
Johnny
Ahh yes... thats a good point to mention.
The mount point on my side was /iwmnt .. so I didnt think to mention it.
Good eyes 99!
John Cuiuli
Consultant
Sydney, Australia
skip11
I've found that sometimes bouncing statd and lockd will free a
stale NFS file handle. You can of course, remove the offending
entry in /etc/mnttab, but then you have other problems that
only a reboot will clear.
Skip