18.02.2014 Views

string

string

string

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Cannot find SERVER hostname in<br />

network database<br />

Cause<br />

A brief description: the user is on a different subnet and is running permanent<br />

licenses:<br />

ultra1(50)% cc -o hello hello.c<br />

License Error : Cannot find the license server (fry)<br />

in the network database for product(Sun WorkShop Compiler C)<br />

Cannot find SERVER hostname in network database (-14,7)<br />

cc: acomp failed for hello.c<br />

ultra1(51)%<br />

Action<br />

First, make sure that the server is up and running. Second, make sure that the server<br />

is in the /etc/hosts file of the client system by typing: ping server name. Third,<br />

check the license daemon on teh server to see if it is running. Fourth, make sure that<br />

there is an elementary license file on the client:<br />

cd /etc/opt/licenses<br />

more sunpro.loc<br />

Fifth, in the sunpro.loc directory are there only text license files such as<br />

sunpro.lic,1? Sixth, on the client check:<br />

% cd /etc<br />

% more nsswitch.conf | grep hosts<br />

hosts: nis [NOTFOUND=return] files<br />

This says that it will use the nis server to look up the IP address. If it is set first for<br />

nis and the /etc/hosts file has the server listed by name, change the line to<br />

hosts:<br />

files nis<br />

Then see if it can find it. If not, try truss and snoop to see what is going on.<br />

32 Solaris Common Messages and Troubleshooting Guide ♦ October, 1998

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!