Symlink error in FreePBX after restore from backup

Discussion in 'General' started by izrunas, Jul 7, 2009.

  1. izrunas

    Joined:
    Mar 4, 2009
    Messages:
    94
    Likes Received:
    0
    I get this error in FreePBX status panel after restoring from backup. I have tried moving the files listed to another directory, but the error persists. Help?


    retrieve_conf failed to sym link:
    /var/www/html/admin/images/th_call-compare.png
    /var/www/html/admin/images/corner-tl.png
    /var/www/html/admin/images/fleche-d.gif
    /var/www/html/admin/images/jukebox_ti60.gif
    /var/www/html/admin/images/asterisk.gif
    /var/www/html/admin/images/header-search.png
    /var/www/html/admin/images/icon_up_12x12.GIF
    /var/www/html/admin/images/button-search.gif
    /var/www/html/admin/images/sidenav-selected.gif
    /var/www/html/admin/images/spacer.gif
    /var/www/html/admin/images/btn_top_12x12.gif
    This can result in FATAL failures to your PBX. If the target file exists, the symlink will not occur and you should rename the target file to allow the automatic sym link to occur and remove this error, unless this is an intentional customization.
    Added 22 minutes ago
    (retrieve_conf.SYMLINK)
     
  2. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
    First off I would check (and repair if necessary) the ownership of

    ls -las /var/www/html/admin/images

    is it is not owned by asterisk

    chown -R asterisk:asterisk /var/www/html/admin/images

    (if it doesn't exist create it first)

    Next make sure that

    /var/www/html/admin/cdr/images/
    exists and has those files in it (the symlink "targets" )

    my suspicion is that that directory is incomplete, they are just graphics elements so everything will work in their absence.
     

Share This Page