Blog dedicated to Oracle Applications (E-Business Suite) Technology; covers Apps Architecture, Administration and third party bolt-ons to Apps

Saturday, July 19, 2008

ksh: vncserver not found

On starting vncserver the following error appeared:

ksh: vncserver not found

which vncserver returned:

Even starting it with the fully qualified path gave the same not found error

Since vncserver is a perl script, I even tried:

perl /usr/local/bin/vncserver

Same error.

Finally I opened the vncserver file in vi and saw that the first line read:

However perl is installed in /usr/bin/perl

$ which perl

So I edited the path in the first line of the vncserver file
from /usr/local/bin/perl
to /usr/bin/perl

After this vncserver started without issues

No comments: