[26398] in Athena Bugs
sun4 9.3.11: solaris-athena
daemon@ATHENA.MIT.EDU (Ray C. He)
Wed Mar 16 20:00:59 2005
Message-Id: <200503170100.j2H10Gb8000901@shiny-new-sun.mit.edu>
To: bugs@mit.edu
Date: Wed, 16 Mar 2005 20:00:16 -0500
From: "Ray C. He" <rayhe@mit.edu>
X-Spam-Score: -4.9
X-Spam-Flag: NO
Errors-To: bugs-bounces@mit.edu
System name: shiny-new-sun.mit.edu
Type and version: Sun-Blade-100 9.3.11 (with mkserv)
Display type: m
Shell: /bin/athena/tcsh
Window manager: sawfish
What were you trying to do?
login/activate machine
What's wrong:
a message like.. "this machine failed to activate.. please contact hotline..."
What should have happened:
I should have been able to login.
Please describe any relevant documentation references:
After a discussion on -c sipb, the problem was resolved.
See below for discussion.
Basically, this seems like such a trivial problem that is extremely difficult to troubleshoot. It would make sense if something like this would be able to fix itself.
Instance: solaris-athena Time: Wed Mar 16 19:32:02 2005 Host: TOUR-EIFFEL.MIT.EDU
From: <rayhe>
Hmm.. I have a SunBlade 150 with the message that it has failed to
activiate.. what does this mean? (I have tried power cycling it)
Instance: solaris-athena Time: Wed Mar 16 19:32:30 2005 Host: PROWLER.MIT.EDU
From: Devil in the Shape of a Woman <sly>
it doesn't have network typically
Instance: solaris-athena Time: Wed Mar 16 19:32:33 2005 Host: PORTNOY.MIT.EDU
From: John Hawkinson, KB1CGZ <jhawk>
What it really means is "athena sucks."
Possibly it's off the network, or it doesn't have hesiod info,
or its system packs are not attached for some other reason.
Login as root and investigate.
Instance: solaris-athena Time: Wed Mar 16 19:32:57 2005 Host: TOUR-EIFFEL.MIT.EDU
From: <rayhe>
i am logged in as root.. it is on the network.
Instance: solaris-athena Time: Wed Mar 16 19:33:15 2005 Host: PORTNOY.MIT.EDU
From: John Hawkinson, KB1CGZ <jhawk>
What does attach say?
Instance: solaris-athena Time: Wed Mar 16 19:33:26 2005 Host: PORTNOY.MIT.EDU
From: John Hawkinson, KB1CGZ <jhawk>
And what version of athena is it running?
Instance: solaris-athena Time: Wed Mar 16 19:35:05 2005 Host: PROWLER.MIT.EDU
From: Devil in the Shape of a Woman <sly>
also is this a new machine? did someone just change its hostname? sun's need
hesiod info to be able to run athena properly, if no one told hesreq the
hostname is a sun and is running athena the machine will be sad
Instance: solaris-athena Time: Wed Mar 16 19:35:13 2005 Host: TOUR-EIFFEL.MIT.EDU
From: ray c. he <rayhe>
athena 9.3.. attach says... no such file or directory opening directory
/var/atehna/attachtab/mountpoint/
Instance: solaris-athena Time: Wed Mar 16 19:35:42 2005 Host: TOUR-EIFFEL.MIT.EDU
From: ray <rayhe>
the machine is shiny-new-sun.mit.edu
Instance: solaris-athena Time: Wed Mar 16 19:35:49 2005 Host: TOUR-EIFFEL.MIT.EDU
From: ray c. he <rayhe>
it was running before then stopped suddenly
Instance: solaris-athena Time: Wed Mar 16 19:35:51 2005 Host: PORTNOY.MIT.EDU
From: John Hawkinson, KB1CGZ <jhawk>
Do you have a /var/athena at all? Is your disk fubar'd?
Try
attach -O -L athena-sun4sys-93
Instance: solaris-athena Time: Wed Mar 16 19:36:55 2005 Host: TOUR-EIFFEL.MIT.EDU
From: eof <rayhe>
could not create attachtab file /var/athena/attachtab/mountpoint/_=install:
No such file or directory
Instance: solaris-athena Time: Wed Mar 16 19:37:19 2005 Host: PROWLER.MIT.EDU
From: Devil in the Shape of a Woman <sly>
ls -la /var/athena/attachtab ? (and /var/athena/ if that doesn't work)
Instance: solaris-athena Time: Wed Mar 16 19:37:25 2005 Host: PORTNOY.MIT.EDU
From: John Hawkinson, KB1CGZ <jhawk>
==> Do you have a /var/athena at all? Is your disk fubar'd?
Try
Instance: solaris-athena Time: Wed Mar 16 19:37:42 2005 Host: TOUR-EIFFEL.MIT.EDU
From: rayhe <rayhe>
/var/athena exists
Instance: solaris-athena Time: Wed Mar 16 19:37:51 2005 Host: TOUR-EIFFEL.MIT.EDU
From: eof <rayhe>
/var/athena/attachtab contains a .lock
Instance: solaris-athena Time: Wed Mar 16 19:37:57 2005 Host: TOUR-EIFFEL.MIT.EDU
From: eof <rayhe>
(is otherwise empty)
Instance: solaris-athena Time: Wed Mar 16 19:38:10 2005 Host: PORTNOY.MIT.EDU
From: John Hawkinson, KB1CGZ <jhawk>
Try rm-ing the .lock and running attach again.
Instance: solaris-athena Time: Wed Mar 16 19:38:39 2005 Host: PROWLER.MIT.EDU
From: Devil in the Shape of a Woman <sly>
check to make sure you're not logging disk errors
(jhawk will that actually work? I didn't think attach recreated teh
mountpoint directory)
Instance: solaris-athena Time: Wed Mar 16 19:39:28 2005 Host: TOUR-EIFFEL.MIT.EDU
From: ray <rayhe>
attach does not recreate the mountpoint directory, but teh command does
create another .lock file
Instance: solaris-athena Time: Wed Mar 16 19:39:44 2005 Host: PORTNOY.MIT.EDU
From: John Hawkinson, KB1CGZ <jhawk>
Craete:
[portnoy!jhawk] ~source/athena/lib/locker> ls -l /var/athena/attachtab/
total 12
drwxr-xr-x 2 root other 512 Mar 14 21:30 directory
drwxr-xr-x 2 root other 2048 Mar 16 19:34 locker
drwxr-xr-x 2 root other 3072 Mar 16 19:34 mountpoint
Instance: emacs Time: Wed Mar 16 19:39:54 2005 Host: whooper.wustl.edu
From: just a very naughty boy <alex_c>
<stark> emacs-w3m rocks.
Instance: solaris-athena Time: Wed Mar 16 19:42:40 2005 Host: TOUR-EIFFEL.MIT.EDU
From: rayhe <rayhe>
jhawk: huh?
Instance: solaris-athena Time: Wed Mar 16 19:42:51 2005 Host: PORTNOY.MIT.EDU
From: John Hawkinson, KB1CGZ <jhawk>
context, ray?
Instance: solaris-athena Time: Wed Mar 16 19:43:18 2005 Host: TOUR-EIFFEL.MIT.EDU
From: ray c. he <rayhe>
What was your recommendation from the last command?
Instance: solaris-athena Time: Wed Mar 16 19:43:23 2005 Host: PORTNOY.MIT.EDU
From: John Hawkinson, KB1CGZ <jhawk>
Create those 3 directories.
Instance: solaris-athena Time: Wed Mar 16 19:43:37 2005 Host: TOUR-EIFFEL.MIT.EDU
From: ray <rayhe>
aye aye..
Instance: solaris-athena Time: Wed Mar 16 19:45:22 2005 Host: TOUR-EIFFEL.MIT.EDU
From: eof <rayhe>
while successful (no error messages), attach doesn't seem to actaually attach
anything
Instance: solaris-athena Time: Wed Mar 16 19:48:43 2005 Host: TOUR-EIFFEL.MIT.EDU
From: rayhe <rayhe>
Hmm.. I am now able to login through the console but I cannot using the
xlogin screen
Instance: solaris-athena Time: Wed Mar 16 19:48:57 2005 Host: PORTNOY.MIT.EDU
From: John Hawkinson, KB1CGZ <jhawk>
Well, did you re-run the attach command?"
Instance: solaris-athena Time: Wed Mar 16 19:49:14 2005 Host: TOUR-EIFFEL.MIT.EDU
From: eof <rayhe>
yes
Instance: solaris-athena Time: Wed Mar 16 19:49:17 2005 Host: PORTNOY.MIT.EDU
From: John Hawkinson, KB1CGZ <jhawk>
Oh, sorry, missed a zephyr.
So when you run "attach" with no args, it doesn't show the system
packs attached?
Instance: solaris-athena Time: Wed Mar 16 19:49:27 2005 Host: TOUR-EIFFEL.MIT.EDU
From: rayhe <rayhe>
it does not
Instance: solaris-athena Time: Wed Mar 16 19:50:14 2005 Host: PORTNOY.MIT.EDU
From: John Hawkinson, KB1CGZ <jhawk>
That's special. Try again with -h -n -O -L?
Instance: solaris-athena Time: Wed Mar 16 19:50:28 2005 Host: PORTNOY.MIT.EDU
From: John Hawkinson, KB1CGZ <jhawk>
(attach -h -n -O -L athena-sun4sys-93)
Instance: solaris-athena Time: Wed Mar 16 19:51:04 2005 Host: TOUR-EIFFEL.MIT.EDU
From: ray c. he <rayhe>
several things are now attached
Instance: solaris-athena Time: Wed Mar 16 19:51:40 2005 Host: PORTNOY.MIT.EDU
From: John Hawkinson, KB1CGZ <jhawk>
great. Now run /etc/athena/reactivate
Instance: solaris-athena Time: Wed Mar 16 19:52:29 2005 Host: TOUR-EIFFEL.MIT.EDU
From: rayhe <rayhe>
my hero.
Instance: solaris-athena Time: Wed Mar 16 19:52:53 2005 Host: PORTNOY.MIT.EDU
From: John Hawkinson, KB1CGZ <jhawk>
Now, please submit a bug report about this being too hard to debug and
how attach should create those directories for you and not just leave
a .lock file behind. Best to incldue a patch if you're up to it.
Instance: solaris-athena Time: Wed Mar 16 19:32:02 2005 Host: TOUR-EIFFEL.MIT.EDU
From: <rayhe>
Hmm.. I have a SunBlade 150 with the message that it has failed to
activiate.. what does this mean? (I have tried power cycling it)
Instance: solaris-athena Time: Wed Mar 16 19:32:30 2005 Host: PROWLER.MIT.EDU
From: Devil in the Shape of a Woman <sly>
it doesn't have network typically
Instance: solaris-athena Time: Wed Mar 16 19:32:33 2005 Host: PORTNOY.MIT.EDU
From: John Hawkinson, KB1CGZ <jhawk>
What it really means is "athena sucks."
Possibly it's off the network, or it doesn't have hesiod info,
or its system packs are not attached for some other reason.
Login as root and investigate.
Instance: solaris-athena Time: Wed Mar 16 19:32:57 2005 Host: TOUR-EIFFEL.MIT.EDU
From: <rayhe>
i am logged in as root.. it is on the network.
Instance: solaris-athena Time: Wed Mar 16 19:33:15 2005 Host: PORTNOY.MIT.EDU
From: John Hawkinson, KB1CGZ <jhawk>
What does attach say?
Instance: solaris-athena Time: Wed Mar 16 19:33:26 2005 Host: PORTNOY.MIT.EDU
From: John Hawkinson, KB1CGZ <jhawk>
And what version of athena is it running?
Instance: solaris-athena Time: Wed Mar 16 19:35:05 2005 Host: PROWLER.MIT.EDU
From: Devil in the Shape of a Woman <sly>
also is this a new machine? did someone just change its hostname? sun's need
hesiod info to be able to run athena properly, if no one told hesreq the
hostname is a sun and is running athena the machine will be sad
Instance: solaris-athena Time: Wed Mar 16 19:35:13 2005 Host: TOUR-EIFFEL.MIT.EDU
From: ray c. he <rayhe>
athena 9.3.. attach says... no such file or directory opening directory
/var/atehna/attachtab/mountpoint/
Instance: solaris-athena Time: Wed Mar 16 19:35:42 2005 Host: TOUR-EIFFEL.MIT.EDU
From: ray <rayhe>
the machine is shiny-new-sun.mit.edu
Instance: solaris-athena Time: Wed Mar 16 19:35:49 2005 Host: TOUR-EIFFEL.MIT.EDU
From: ray c. he <rayhe>
it was running before then stopped suddenly
Instance: solaris-athena Time: Wed Mar 16 19:35:51 2005 Host: PORTNOY.MIT.EDU
From: John Hawkinson, KB1CGZ <jhawk>
Do you have a /var/athena at all? Is your disk fubar'd?
Try
attach -O -L athena-sun4sys-93
Instance: solaris-athena Time: Wed Mar 16 19:36:55 2005 Host: TOUR-EIFFEL.MIT.EDU
From: eof <rayhe>
could not create attachtab file /var/athena/attachtab/mountpoint/_=install:
No such file or directory
Instance: solaris-athena Time: Wed Mar 16 19:37:19 2005 Host: PROWLER.MIT.EDU
From: Devil in the Shape of a Woman <sly>
ls -la /var/athena/attachtab ? (and /var/athena/ if that doesn't work)
Instance: solaris-athena Time: Wed Mar 16 19:37:25 2005 Host: PORTNOY.MIT.EDU
From: John Hawkinson, KB1CGZ <jhawk>
==> Do you have a /var/athena at all? Is your disk fubar'd?
Try
Instance: solaris-athena Time: Wed Mar 16 19:37:42 2005 Host: TOUR-EIFFEL.MIT.EDU
From: rayhe <rayhe>
/var/athena exists
Instance: solaris-athena Time: Wed Mar 16 19:37:51 2005 Host: TOUR-EIFFEL.MIT.EDU
From: eof <rayhe>
/var/athena/attachtab contains a .lock
Instance: solaris-athena Time: Wed Mar 16 19:37:57 2005 Host: TOUR-EIFFEL.MIT.EDU
From: eof <rayhe>
(is otherwise empty)
Instance: solaris-athena Time: Wed Mar 16 19:38:10 2005 Host: PORTNOY.MIT.EDU
From: John Hawkinson, KB1CGZ <jhawk>
Try rm-ing the .lock and running attach again.
Instance: solaris-athena Time: Wed Mar 16 19:38:39 2005 Host: PROWLER.MIT.EDU
From: Devil in the Shape of a Woman <sly>
check to make sure you're not logging disk errors
(jhawk will that actually work? I didn't think attach recreated teh
mountpoint directory)
Instance: solaris-athena Time: Wed Mar 16 19:39:28 2005 Host: TOUR-EIFFEL.MIT.EDU
From: ray <rayhe>
attach does not recreate the mountpoint directory, but teh command does
create another .lock file
Instance: solaris-athena Time: Wed Mar 16 19:39:44 2005 Host: PORTNOY.MIT.EDU
From: John Hawkinson, KB1CGZ <jhawk>
Craete:
[portnoy!jhawk] ~source/athena/lib/locker> ls -l /var/athena/attachtab/
total 12
drwxr-xr-x 2 root other 512 Mar 14 21:30 directory
drwxr-xr-x 2 root other 2048 Mar 16 19:34 locker
drwxr-xr-x 2 root other 3072 Mar 16 19:34 mountpoint
Instance: emacs Time: Wed Mar 16 19:39:54 2005 Host: whooper.wustl.edu
From: just a very naughty boy <alex_c>
<stark> emacs-w3m rocks.
Instance: solaris-athena Time: Wed Mar 16 19:42:40 2005 Host: TOUR-EIFFEL.MIT.EDU
From: rayhe <rayhe>
jhawk: huh?
Instance: solaris-athena Time: Wed Mar 16 19:42:51 2005 Host: PORTNOY.MIT.EDU
From: John Hawkinson, KB1CGZ <jhawk>
context, ray?
Instance: solaris-athena Time: Wed Mar 16 19:43:18 2005 Host: TOUR-EIFFEL.MIT.EDU
From: ray c. he <rayhe>
What was your recommendation from the last command?
Instance: solaris-athena Time: Wed Mar 16 19:43:23 2005 Host: PORTNOY.MIT.EDU
From: John Hawkinson, KB1CGZ <jhawk>
Create those 3 directories.
Instance: solaris-athena Time: Wed Mar 16 19:43:37 2005 Host: TOUR-EIFFEL.MIT.EDU
From: ray <rayhe>
aye aye..
Instance: solaris-athena Time: Wed Mar 16 19:45:22 2005 Host: TOUR-EIFFEL.MIT.EDU
From: eof <rayhe>
while successful (no error messages), attach doesn't seem to actaually attach
anything
Instance: solaris-athena Time: Wed Mar 16 19:48:43 2005 Host: TOUR-EIFFEL.MIT.EDU
From: rayhe <rayhe>
Hmm.. I am now able to login through the console but I cannot using the
xlogin screen
Instance: solaris-athena Time: Wed Mar 16 19:48:57 2005 Host: PORTNOY.MIT.EDU
From: John Hawkinson, KB1CGZ <jhawk>
Well, did you re-run the attach command?"
Instance: solaris-athena Time: Wed Mar 16 19:49:14 2005 Host: TOUR-EIFFEL.MIT.EDU
From: eof <rayhe>
yes
Instance: solaris-athena Time: Wed Mar 16 19:49:17 2005 Host: PORTNOY.MIT.EDU
From: John Hawkinson, KB1CGZ <jhawk>
Oh, sorry, missed a zephyr.
So when you run "attach" with no args, it doesn't show the system
packs attached?
Instance: solaris-athena Time: Wed Mar 16 19:49:27 2005 Host: TOUR-EIFFEL.MIT.EDU
From: rayhe <rayhe>
it does not
Instance: solaris-athena Time: Wed Mar 16 19:50:14 2005 Host: PORTNOY.MIT.EDU
From: John Hawkinson, KB1CGZ <jhawk>
That's special. Try again with -h -n -O -L?
Instance: solaris-athena Time: Wed Mar 16 19:50:28 2005 Host: PORTNOY.MIT.EDU
From: John Hawkinson, KB1CGZ <jhawk>
(attach -h -n -O -L athena-sun4sys-93)
Instance: solaris-athena Time: Wed Mar 16 19:51:04 2005 Host: TOUR-EIFFEL.MIT.EDU
From: ray c. he <rayhe>
several things are now attached
Instance: solaris-athena Time: Wed Mar 16 19:51:40 2005 Host: PORTNOY.MIT.EDU
From: John Hawkinson, KB1CGZ <jhawk>
great. Now run /etc/athena/reactivate
Instance: solaris-athena Time: Wed Mar 16 19:52:29 2005 Host: TOUR-EIFFEL.MIT.EDU
From: rayhe <rayhe>
my hero.
Instance: solaris-athena Time: Wed Mar 16 19:52:53 2005 Host: PORTNOY.MIT.EDU
From: John Hawkinson, KB1CGZ <jhawk>
Now, please submit a bug report about this being too hard to debug and
how attach should create those directories for you and not just leave
a .lock file behind. Best to incldue a patch if you're up to it.