thanks, here is what I found #ls -la /usr/bin/perl #lrwxrwxrwx 1 root root 5 Nov 3 07:23 /usr/bin/perl -> perl5 #ls -la /usr/bin/perl5 #lrwxrwxrwx 1 root root 9 Nov 3 07:22 /usr/bin/perl5 -> perl5.6.1 #locate perl5.6.1 #(nothing) #locate perl5. #/usr/bin/sperl5.8.0 #/usr/bin/perl5.8.0
does this mean that the symlink is looking for 5.6.1 and I only have 5.8.0? is it easy to change or replace the symlink? tia Rich B >>> [EMAIL PROTECTED] 11/08/03 05:31AM >>> Richard Babcock wrote: > Greetings all, > A few days ago I was using K3b and my computer 'stopped responding.' I > had a > 'Microsoft moment' and foolishly chose to simply reset the pc. I know > better. I usually use webmin when this happens and restart the system. > The > action has apparently done some damage to perl. Some of the error > messages > during boot up follow: > -----snip----- > Building Window Manager Sessions /usr/sbin/fndSession: > /usr/sbin/chksession: > /usr/bin/perl: bad interpreter: No such file or directory > /usr/sbin/fndSession: line 12: perl: command not found > /usr/sbin/fndSession: /usr/sbin/chksession: /usr/bin/perl: bad > interpreter: > No such file or directory > ...other lines work fine > Loading parallel port printer kernel modules... > /etc/rc3.d/S60cups: /usr/sbin/correctcupsconfig: /usr/bin/perl: bad > interpreter: No such file or directory > ...other lines work fine > /etc/webmin/start: /usr/share/webmin/miniserv.pl: /usr/bin/perl: bad > interpreter: No such file or directory > ...other lines work fine > -----end snip----- > harddrake also fails and when I try to run harddrake2 from the console > I get > the following error message: > -----snip----- > -bash: /usr/sbin/harddrake2: /usr/bin/perl: bad interpreter: No such > file or > directory > -----end snip----- > Also, I cannot run and XWindow session. > > I have poked around quite a bit for info on removing and reinstalling > perl. > There is quite a bit on installing perl modules but I haven't found > much on > installing the interpreter. Or could I perhaps simply have broken sim > links? > I took a look at the RPM's on disk 2 of the installation disks and > there is > a lot there with 'perl' in the name but I do not know which, if any, > would > repair my situation. > A further 'Microsoft moment' prompted me to perform an upgrade using > the ML > cd's. I ended up with old entries on my lilo menu but the same errors > on > startup and still no X. > The next 'Microsoft moment' will be to reinstall everything from > scratch. I > am confident this is completely unnecessary but am at a loss as to what > to > do next. Any help would be appreciated greatly. > I am using ML 9.1 on an AMD processor. > tia > Rich B > > /usr/bin/perl is usually a simlink As yu can see from my mdk9.0 box: ls -la /usr/bin/perl lrwxr-xr-x 1 root root 5 Nov 7 2002 /usr/bin/perl -> perl5* Its a symlink to perl5 which in turn is symlink to: [EMAIL PROTECTED] validator]# ls -la /usr/bin/perl5 lrwxr-xr-x 1 root root 9 Nov 7 2002 /usr/bin/perl5 -> perl5.8.0* perl5.8.0 the reason for that is pretty simple, /usr/bin/perl should always point to the perl binary on your system, regardless if what perl you have installed. Its possible that you have lost the symlinks.. check to see if they are there. rgds Franki -- Please sign our petition to encourage notebook manufacturers to offer video card upgrades just like desktops. http://www.petitiononline.com/inspiron/petition.html For free scripts, online webmaster tools, HTML, XHTML, Perl & PHP tutorials and stuff, visit: http://htmlfixit.com, Free web developer resources.
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com