Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi everybody!
I've got a problem with starting X server on my Sun Solaris station. I think I messed the /usr/lib directory. Well, let's begin from the beginning:
1. The /usr/lib was corrupted because of command : cp /opt/sfw/lib/lib* /usr/lib/2. When we boot the Sun Solaris station we get the message: X server cannot be started in display :0.
The login window does not appear.3. If we check the Xerror file in /var/dt/ there are several warnings like that:
ld.so.1: dtgreet: fatal: relocation error: file /usr/dt/lib/libDtWidget.so.2: symbol _XmStrings21: referenced symbol not found.
And then : Error Server for Display :0 cannot be started.4. When we execute the command xinit the window is opened and we can open graphical applications from it.
5. We have a backup of /usr on the tape which is connected to another Sun station. We restored the whole /usr filesystem to the corrupted machine filesystem different from /usr.6. Do we have to boot from CD to restore /usr/lib from this filesystem? Can we just copy all the libraries to .usr/lib in a regular mode? Is it better to restore the whole /usr filesystem or just /usr/lib? Will cp command work properly with symbolic links in /usr/lib if we execute cp /our_filesystem_with_backup/lib usr/lib/?
7. Is there any alternative solution without restoring the filesystem?
Thank you all in advance for the help.

I think that restoring the filesystem is the best way to solve the problem. If you are sure that nothing is defect under the /usr filesystem except from /usr/lib you only need to restore /usr/lib.
On the other hand that also depends on if you are able to access only the /usr/lib on your backup-tape.
When restoring only /usr/lib you should not need to boot from a cdrom, if you need to restore the whole of the /usr filesystem however you will need to boot from a cdrom.One thing that just might work is to remove the Xserver packages (pkgrm) and then reinstall the Xserver packages (pkgadd). This is a longshot and I´m not sure if it will work. The problem is that there might be more than just the Xserver files being corrupt under /usr/lib.
//TechMark

I am having the same problem with X server not starting on a Trusted solaris 8 box. When I look at the /var/dt/Xerrors: the out is something like this. VUIDGFORMAT: Invalid argument
Fatal server error:
failed to initialize core devices
XIO: fatal IO error 146 (Connection refused) on X server ":
0.0"
after 0 requests (0 known processed) with 0 events rem
aining.
Sat Nov 2 22:11:44 2002
error (pid 401): Server for display :0 terminated unexpected
ly 1
VUIDGFORMAT: Invalid argument
Fatal server error:
failed to initialize core devices
XIO: fatal IO error 146 (Connection refused) on X server ":
0.0"
after 0 requests (0 known processed) with 0 events remaining.
Sat Nov 2 22:11:45 2002
error (pid 401): Server for display :0 terminated unexpectedly 1
VUIDGFORMAT: Invalid argument
Fatal server error:
failed to initialize core devices
XIO: fatal IO error 146 (Connection refused) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.
Sat Nov 2 22:11:47 2002
error (pid 401): Server for display :0 terminated unexpectedly 1
VUIDGFORMAT: Invalid argument
Fatal server error:
failed to initialize core devices
XIO: fatal IO error 146 (Connection refused) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.
Sat Nov 2 22:11:48 2002
error (pid 401): Server for display :0 terminated unexpectedly 1
Any help would be great
Andy

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |