Results 1 to 5 of 5

Thread: symbolic links

Hybrid View

  1. #1

    Unhappy symbolic links

    I have a problem with my system and symbolic links.

    cleanlinks / was run on the system and I was unable to stop until it was half way through. Now there are strange things happening (missing symlinks).

    Is there someway to undue or repair the system or do I need a fresh install. ( yes I should have a backup :-) but it was on the todo list).

    OS : openSUSE 11.1 x64

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,240

    Default Re: symbolic links

    I bit more explanation would have been usefull. I have even no 'cleanlinks' program on my system. I found some documentation with Google. Hope it is the same as you use.

    This documentation says that cleanlink removes symlinks where there is no target. (Could be dangerous when you have symlinks to files on a partition that is by change not mounted at the moment ).

    Did you run this as root? (you did not tell).

    Who has the problems and what are they? (you did not copy/past any error message).

    The man page I found says that a cleanlinks reports on what it does. Did you not keep that listing?

    When you did this as root and when important system components arer broken, you have a problem. When it is a particular program that complains, it may help to re-install that package.
    Henk van Velden

  3. #3

    Default Re: symbolic links

    Sorry for the incomplete message

    Yes the user had root access when the command was run and the directory start point was /. This command "cleanlinks" finds all dangling symbolic links and removes them.

    UnfortunatelyI do not have the history of the run so I don't know what happened exactly (what was removed).

    Example of thing gone bad are java and programs reling on java. Reinstalled java but when users logged on the nepomuk service could not use sesame as a backend (missing symbolic link).


    Do not know the full extent of the damage. But was hoping there was a way to verify and repair

  4. #4

    Default Re: symbolic links

    Found a possible solution. rpm -Va and patience with manual fixing.

  5. #5
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,240

    Default Re: symbolic links

    First change the root password and don't tell that user.

    When it were realy only dangling links, I wonder why that is a problem to a program. IMHO not sound programming.

    Wish you succes.

    And yes, raise the priority of the Backup Project!
    Henk van Velden

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •