?
Solved

Weird behavior after flash install (CDE terminal window doesn't work!)

Posted on 2004-11-19
9
Medium Priority
?
306 Views
Last Modified: 2013-12-27
I installed a Solaris system from a flash archive (Solaris 8 -> Sunblade 150) and it seemed to go fine.  THe main problem is that when I go to a CDE terminal window on the new system and type "ls" I don't get any response...

#pwd
/
#ls
#
#ps -a
#

I tried it in bash and got the same result (my default shell is csh).  I have verified using the file manager app in CDE that there are lots of files there to list and the ls command works if I telnet into the machine from somewhere else (for one user at least, not for others).  Oddly, some commands do yield screen output from CDE terminal like pwd (see above) and df -k.  "ps -a" does not yield any output but it does from a telnet session.  What the heck is going on!!!

Thanks!
0
Comment
Question by:dcheest
  • 4
  • 3
8 Comments
 
LVL 38

Expert Comment

by:wesly_chen
ID: 12632234
Hi,

   Could you do
# env > /tmp/env.txt 2>&1
and post /tmp/env.txt here?

Wesly
0
 

Author Comment

by:dcheest
ID: 12641955
I am not at the computer right now.  I'll post as soon as I can...
0
 

Author Comment

by:dcheest
ID: 12651751
DISPLAY=:0.0
DTAPPSEARCHPATH=//.dt/appmanager:/usr/dt/appconfig/appmanager/%L:/usr/dt/appconf
ig/appmanager/C
DTDATABASESEARCHPATH=//.dt/types,/usr/dt/appconfig/types/%L,/usr/dt/appconfig/ty
pes/C
DTHELPSEARCHPATH=//.dt/help//%H://.dt/help//%H.sdl://.dt/help//%H.hv://.dt/help/
%H://.dt/help/%H.sdl://.dt/help/%H.hv:/usr/dt/appconfig/help/%L/%H:/usr/dt/appco
nfig/help/%L/%H.sdl:/usr/dt/appconfig/help/%L/%H.hv:/usr/dt/appconfig/help/C/%H:
/usr/dt/appconfig/help/C/%H.sdl:/usr/dt/appconfig/help/C/%H.hv
DTSCREENSAVERLIST=StartDtscreenSwarm StartDtscreenQix     StartDtscreenFlame Sta
rtDtscreenHop StartDtscreenImage StartDtscreenLife     StartDtscreenRotor StartD
tscreenPyro StartDtscreenWorm StartDtscreenBlank
DTSOURCEPROFILE=true
DTXSERVERLOCATION=local
EDITOR=/usr/dt/bin/dtpad
HOME=/
LANG=en_US.ISO8859-1
LC_COLLATE=en_US.ISO8859-1
LC_CTYPE=en_US.ISO8859-1
LC_MESSAGES=C
LC_MONETARY=en_US.ISO8859-1
LC_NUMERIC=en_US.ISO8859-1
LC_TIME=en_US.ISO8859-1  
LOGNAME=root
MAIL=/var/mail/root
MANPATH=/usr/dt/man:/usr/share/man
OPENWINHOME=/usr/openwin
PATH=/usr/sbin:/usr/bin:/usr/dt/bin:/usr/openwin/bin:/bin:/usr/ucb
PWD=/
SESSION_SVR=pcr1
SHELL=/sbin/sh
TERM=dtterm
TERMINAL_EMULATOR=dtterm
TZ=US/Pacific
USER=root
WINDOWID=67108873
XMICONBMSEARCHPATH=//.dt/icons/%B%M.bm://.dt/icons/%B%M.pm://.dt/icons/%B:/usr/d
t/appconfig/icons/%L/%B%M.bm:/usr/dt/appconfig/icons/%L/%B%M.pm:/usr/dt/appconfi
g/icons/%L/%B:/usr/dt/appconfig/icons/C/%B%M.bm:/usr/dt/appconfig/icons/C/%B%M.p
m:/usr/dt/appconfig/icons/C/%B
XMICONSEARCHPATH=//.dt/icons/%B%M.pm://.dt/icons/%B%M.bm://.dt/icons/%B:/usr/dt/
appconfig/icons/%L/%B%M.pm:/usr/dt/appconfig/icons/%L/%B%M.bm:/usr/dt/appconfig/
icons/%L/%B:/usr/dt/appconfig/icons/C/%B%M.pm:/usr/dt/appconfig/icons/C/%B%M.bm:
/usr/dt/appconfig/icons/C/%B
_=/usr/dt/bin/sdt_shell    
dtstart_sessionlogfile=/dev/null
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 38

Expert Comment

by:wesly_chen
ID: 12651795
Is this done in telnet session or console login?
Could you also post the other (env > /tmp/env1.txt 2>&1) for comparison?

Wesly
0
 

Author Comment

by:dcheest
ID: 12883542
I ended up finding the answer on my own.  The system weird behavior was caused by the presence of numerous Solaris 6 binaries on the system (including ls, ps, etc.!).  THese existed in the original system probably the result of a botched patch job.  They didn't cause problems in the original system for whatever (slight difference in hardware caused a different manifestation of the problem).
0
 

Author Comment

by:dcheest
ID: 12883550
One more thing: the fix was simple, just copy the solaris 8 binaries from the install CD and those commands worked great!
0
 
LVL 38

Expert Comment

by:wesly_chen
ID: 12884372
> weird behavior was caused by the presence of
> numerous Solaris 6 binaries on the system

Glad to hear your problem is resolved.

>copy the solaris 8 binaries from the install CD
However, FRESH (not flash) installation of Solaris 8 will be better to
avoid the trouble later on sinc you have Solaris 8 CD.
Besides, apply the latest recommended pateches from sunsolve.
http://sunsolve.sun.com/

Regards,

Wesly
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 12902850
PAQed with points refunded (500)

modulo
Community Support Moderator
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question