- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- CDE doesn't start
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 11:50 PM
07-08-2004 11:50 PM
CDE doesn't start
I have installed HP-UX 11i on a C3000 workstation, nothing speciall to remark (default installation)...
all worked fine, at first reboot no error was showed, and the CDE is supposed to start.
Well, the X server starts but the CDE login not... The screen is black with the funny "sand clock" ...
I started at level 2 (init 2) and checked that network and hostname worked fine,(192.168.0.11 255.0.0.0 no default gw)...
so where is the problem? why it doen's show the cde login?
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2004 12:01 AM
07-09-2004 12:01 AM
Re: CDE doesn't start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2004 12:11 AM
07-09-2004 12:11 AM
Re: CDE doesn't start
do I answered your question?
Ta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2004 12:21 AM
07-09-2004 12:21 AM
Re: CDE doesn't start
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2004 01:50 AM
07-09-2004 01:50 AM
Re: CDE doesn't start
Well, I know what happens if network is not working, so I checked it at init 2. As I said, it's fine, I can ping to anywhere in the lan...
I have set NO gw, and the netmask was in 255.255.255.0 at the begginig, but I read somewhere taht HP needs this strange netmask...so I changed it (I don't remeber where I found that..)
So, I'm sure networks works, the hostname is correct and /etc/hosts is well configured...
Could the problem come from an other thing?
Ta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2004 01:53 AM
07-09-2004 01:53 AM
Re: CDE doesn't start
I could go to level 2, add the route, check network and try CDE, but what do I have to see to confirm that the network works fine? AIS I can ping to everywhere in the lan...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2004 02:46 AM
07-09-2004 02:46 AM
Re: CDE doesn't start
127.0.0.1 localhost loopback
entry. Use nslookup to see that it can find your hostname correctly. Use the /usr/contrib/bin/X11/dr_dt command to see what CDE thinks is happening. Look at the end of syslog:
tail /var/adm/syslog/syslog.log
Look in your .dt directory for the error logs.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2004 03:04 AM
07-09-2004 03:04 AM
Re: CDE doesn't start
How are you doing name resolution? files? DNS? NIS? Check /etc/nsswitch.conf. CDE needs to be able to do a forward and reverse lookup for your machine. Do get an answer back when you run:
nslookup "host_name"
nslookup "host_IP_Address"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2004 03:48 AM
07-09-2004 03:48 AM
Re: CDE doesn't start
/usr/contrib/bin/X11/dr_dt,
which makes a set of tests. Sometimes it helps to locate problems of CDE.
But this all smells like name resolution problem.
Could you check /etc/nsswitch.conf, and nslookup hostname and nslookup WS-IP-address
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2004 06:21 AM
07-09-2004 06:21 AM
Re: CDE doesn't start
thanks to all!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2004 08:45 AM
07-09-2004 08:45 AM
Re: CDE doesn't start
Regards,
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2004 08:02 PM
07-11-2004 08:02 PM
Re: CDE doesn't start
as I said on Friday, thanks for all the
replies to my problem.
Well, I've done some test:
-The /etc/resolv.conf doesn't exists (I have no DNS server set)
-The /etc/nsswitch.conf is set to files (all the parameters)
-The etc/hosts exists and conatins:
127.0.0.1 localhost loopback
192.168.0.11 HEIDI
-and the nslookup HEIDI and nsloopuk 192.168.0.11 works fine, it can resolve.
-The syslog is not ahowing anything interesting, no errors... just syasy it's initializing services.
-The .dt directory doesn't exist yet cause I have never started CDE.
And finally, I ran the dr_dt script and it's showing something interesting:
WARNING: The / directory is not properly configured. The current configuration is:
permissions = drwxr-xr-x
owner = root
group = root
For HP CDE to function correctly, it should be a directory with the following configuration:
permissions = dr-xr-xr-x
owner = root
group = sys
But, if I change the permision, I wont be able to write on the directory!! ¿?¿?
INFO: HP CDE sets the DISPLAY environment variable to
an X terminal, querying another server, or remotely logged into this system. Users typically set the DISPLAY variable in
.dtprofile, .profile, .login, .kshrc or .cshrc (depending on the shell). Unless you really need to, make sure you are not
setting it.
Ok, in wich file of the ones listend above do I have to set the VARIABLE value?
And next warning are the worst ones...
WARNING: /usr/dt/bin/xmbind does not exist. It needs to be on the system in order for HP CDE to run properly. There may have been a problem at installation. You can either reinstall HP CDE or get a copy of the file
from another compatible system.
WARNING: /usr/dt/bin/suid_exec does not exist. It needs to be on the system in order for HP CDE to run properly. There may have been a problem at installation. You can either reinstall HP CDE or get a copy of the file from another compatible system.
mmmmm.. Do I really have to reintall the OS?
In first installation I found 0 errors..?¿?
Where could I get theese files?
If I have to reisntall from the beggining, what do I have to do in oreder to correct this problem?
Well, other WARNINGS come from CDE"Language"..but I'll take a look after correcting this ones firs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2004 03:45 AM
07-12-2004 03:45 AM
Re: CDE doesn't start
I found some information about the error (just one web talking about patches) tahnks what it says and what I've done:
1.dr_dt is checking for /usr/dt/bin/suid_exec
and xmbind which do not load.
Resolution:
The dr_dt utility has been fixed so that the search for suid_exec will not be done as it is not delivered. Also search for xmbind would be done at the correct location.
So, I did a link to xmbind in /usr/dt/bin and a touch of suid_exec in same directory...
I also set DISPLAY env variable to HEIDI:0 , but it still hangs on black screen ....
I'm really lost, could someone bring me back to the corect way?
Ta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2004 04:27 AM
07-12-2004 04:27 AM
Re: CDE doesn't start
Check to make sure dtlogin started OK (/etc/rc.log), and is running on your system. Check your Xserver logs (/var/X11/Xserver/logs)
Also, check to make sure you have the latest patches for your graphics adapter. Take a look at the latest Xserver patch, I seem to remember some special intructions related to the the graphics adapter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2004 06:10 AM
07-12-2004 06:10 AM
Re: CDE doesn't start
> WARNING: The / directory is not properly configured. The current configuration is:
permissions = drwxr-xr-x
> owner = root
> group = root
> For HP CDE to function correctly, it should be a directory with the following configuration:
> permissions = dr-xr-xr-x
> owner = root
> group = sys
> But, if I change the permision, I wont be able to write on the directory!! à ¿?à ¿?
Not true at all! Whether / is 755 or 555, the root user can *always* write and/or read any file in any directory. Ordinary users must never be allowed to write to /. The warning from dr_dt can be ignored though since 555 has no effect on root. The group could be changed to sys but I doubt it will have any effect at all. CDE should not be writing into /. NOTE: change root's $HOME directory to /root if you haven't already. There should be *no* files in /, just directories. By moving root's $HOME directory, you'll improve the reliability of the system.
> Ok, in wich file of the ones listend above do I have to set the VARIABLE value?
This should have been set for you automatically. You can put the DISPLAY value into .dtprofile and possibly into .profile.
Since the other errors are showing up, you may need to reinstall. Always use the interactive screen and check on the first tab where it shows the version of HP-UX being installed. There may be several choices. NOTE: If you aren't using the CDROM technical Workstations (aka, TCO release), that is likely the problem. For 11i, there is a server CDROM set and a workstation CD
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2004 07:26 PM
07-12-2004 07:26 PM
Re: CDE doesn't start
I don't want to reinstall!!! snif snif...
This CD's were sent by HP directly...
I'll go back to 10.20 again...
But, last chance:
dtlogin is running:
#ps -ef | grep dtlogin
root 4079 3968 0 04:14:06 ? 0:00 /usr/dt/bin/dtlogin
root 4132 4079 0 04:14:13 ? 0:00 /usr/dt/bin/dtlogin
Logs show next:
Xserver Configuration from command line arguments:
/usr/bin/X11/X :0 -auth /var/dt/HEIDIAAAa04079
Xserver Configuration from X0screens:
GlxIsSlsSmart
GlxSlsFastCursor
Dynamically Loaded Library List;
Library Creation Times: Library Names:
Fri Jul 9 06:10:30 2004: /usr/bin/X11/X
.
.
.
Fri Jul 9 05:56:52 2004: /usr/lib/libnss_dns.1
Fri Jul 9 05:56:52 2004: /usr/lib/libnss_nis.1
Fri Jul 9 05:56:29 2004: /usr/lib/libnss_files.1
Fri Jul 9 06:10:31 2004: /usr/lib/X11/extensions/hp7lc2k.1
Fri Jul 9 06:10:31 2004: /usr/lib/X11/extensions/hid.1
That's all... no errors..nothing!!!
Ah! the .profile file has NO DISPLAY value!!
just DISPLAY=HEIDI:0 ¿?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2004 01:08 AM
07-14-2004 01:08 AM
Re: CDE doesn't start
Well, CDE bypasses the 'normal' login with /etc/profile and .profile. CDE will source .dtprofile for settings as well as a global settings file when it starts. However, DISPLAY=HEIDI:0.0 has me concerned. What do you see when you type:
hostname
If you see HEIDI, that is likely the problem. UPPERCASE is not always translated to lowercase like it is in a PC. In looking at /etc/hosts, I see that it is also shown as UPPERCASE. However, there are some areas of networking that may treat UPPERCASE as lowercase, thus causing the CDE problem. I would run /sbin/set_parms and change the hostname from HEIDI to heidi and reboot. set_parms should take care of all the config files and this may get you going.
Bill Hassell, sysadmin