Ordinarily /lib/cpp is a symbolic link to /usr/bin/cpp. So, the first thing to do is to make sure that this link is present. ls -l /lib/cpp should produce something like:
lrwxrwxrwx 1 root root 14 Jul 29 02:27 /lib/cpp -> ../usr/bin/cpp If this link is missing, then create it, as root: ln -s /usr/bin/cpp /lib/cpp Also, when you do a ps and a grep, sometimes the grep will show up and sometimes it won't (sort of a benign race condition). So, you have to look at the output. Use "ps -auxw | grep vnc" and then look at the output. Probably it is as you suggest but it is easy to check. A better way to check is to do something like "netstat -na | grep 5800" (assuming that 5800 is your port; replace it with the correct value). What you are looking for here is a "LISTEN" line showwing something listening on the VNC port. Again it probably isn't there but (again) it is easy enough to check. I think that the link may be missing, so send another email if that doesn't get you anywhere. On Tuesday 13 August 2002 12:25, Scott White wrote: > Hello, > I am new to this discussion group. I am trying to set up VNC on our RED > HAT mail server without success. Perhaps someone can help me identify the > problem with the VNC server. > > I am running the server that installed by default on Redat 7.2. I could not > connect from any of the windows VNC clients on the network, or ping/telnet > to 59xx or 58xx. A 'ps' of the Linux box showed, I think, that the VNC > server was not running (ps -ef | grep vnc) since there was only one line > in the response which I assumed was my query. The log file in ~/.vnc/ > showed the server listening on ports 5801 and 5901. The final line of the > log was sh: /lib/cpp: no such file or directory. > This looked like it might be the problem, but I don't know what to do about > it. > Can anyone suggest a direction? > > Scott.... > > > > **************************************************<?xml:namespace prefix = > o ns = "urn:schemas-microsoft-com:office:office" /> > > (A)bort, (R)etry, (K)ick system? > > ************************************************** > > This e-mail is intended solely for the above-mentioned recipient and it may > contain confidential or privileged information. If you have received it in > error, please notify us immediately at 604-527-9993 and delete the e-mail. > You must not copy, distribute, disclose or take any action in reliance on > it. The contents of this message do not necessarily reflect the opinions > or intent of Rocky Mountain Bicycles a division of Procycle Group Inc. > > This e-mail message and any attached files have been scanned for the > presence of computer viruses, however, you are advised that you open any > attachments at your own risk. > > ************************************************** > _______________________________________________ > VNC-List mailing list > [EMAIL PROTECTED] > http://www.realvnc.com/mailman/listinfo/vnc-list -- Seth Kurtzberg MIS 480-661-1849 Pager 888-605-9296 or [EMAIL PROTECTED] Cell 480-620-1099 _______________________________________________ VNC-List mailing list [EMAIL PROTECTED] http://www.realvnc.com/mailman/listinfo/vnc-list
