Hi all,
following guys sent comments on my last summary:
Joe Hatchel [joe_hatchel_at_yahoo.com]
Carl Riches [riches_at_ms.washington.edu]
Paul Henderson [Paul.G.Henderson_at_compaq.com]
thanks you very much. Now I hve the final solution.
Original symptom:
Logging in on a CDE console lasts very long (about 10 minutes).
What caused this problem:
CDE depends on RPC and need to have portmap running. The NFS and NIS
startup scripts will start portmap. Because I do not need NIS, NFS ... I
disabled starting these scripts at boottime in order to optimize / secure
the system.
----> no portmaps ----> problems with starting CDE
Solution 1:
Instead of CDE I used XDM.
Solution 2:
I started NFS at boottime.
Solution 3 = final solution:
Joe (thank you very much!) sent me a script "portmap" which starts only
portmaps without nfs (see below). I copied portmap to /sbin/init.d, created
starting links in /sbin/rc3.d, disabled /sbin/rc3.d/nfs again, and after a
reboot CDE works fine.
Improvements for Tru64 6.0 (hope we will see it)
Compaq should start portmaps at bootime with an own script without the need
of starting NFS, NIS. Furthermore logging in on CDE the system should check
if portmap is running. If not I want to see an error message without waiting
10 minutes.
Joe's script portmap:
#!/bin/sh
#
# startup/shutdown of portmap daemon if nfs is not
# configured. Needed for CDE startup
#
if [ ! -d /usr/sbin ]
then # /usr not mounted
exit
fi
killproc() { # kill the named process(es)
pid=`/usr/bin/ps -e |
/usr/bin/grep -w $1 |
/usr/bin/sed -e 's/^ *//' -e 's/ .*//'`
[ "$pid" != "" ] && kill $pid
}
# Start/stop processes required for portmap
case "$1" in
'start')
#
killproc() { # kill the named process(es)
pid=`/usr/bin/ps -e |
/usr/bin/grep -w $1 |
/usr/bin/sed -e 's/^ *//' -e 's/ .*//'`
[ "$pid" != "" ] && kill $pid
}
# Start/stop processes required for portmap
case "$1" in
'start')
#
echo "Starting Portmap"
/usr/sbin/portmap
;;
'stop')
killproc portmap
;;
*)
echo "Usage: /etc/init.d/portmap { start | stop }"
;;
esac
Thanks again to all guys who spent their time for my CDE problem.
Werner Rost
> ---------------------------------------------------------------------
> ZF Boge GmbH
> Werner Rost
> IT
> Friesdorfer Str. 175
> D-53175 Bonn
>
>
> phone: +49/228/3825 420
> cellular: +49/172/2841 599
> fax: +49/228/3825 398
> werner.rost_at_zfboge.com
>
> www.boge-vibrationcontrol.com
> ---------------------------------------------------------------------
>
>
---------------------------------------------------------
This Mail has been checked for Viruses
Attention: Encrypted mails can NOT be checked!
**
Diese Mail wurde auf Viren geprueft
Hinweis: Verschluesselte mails koennen NICHT auf Viren geprueft werden!
---------------------------------------------------------
Received on Fri Mar 01 2002 - 08:15:39 NZDT