Error Symlink from modules failed
retrieve_conf failed to sym link:
/var/lib/asterisk/bin/retrieve_op_conf_from_mysql.php
/var/lib/asterisk/bin/retrieve_op_conf_from_mysql.pl
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 7 seconds ago
(retrieve_conf.SYMLINK)
Does anybody know what this means and what I should do about it (if anything)? Everything appears to still be working!
Got a similar error after normal module upgrades today. Haven’t renamed or deleted files yet… everything seems stable at the moment.
retrieve_conf failed to sym link:
/var/www/html/admin/images/delete.gif
/var/lib/asterisk/bin/retrieve_op_conf_from_mysql.php
/var/lib/asterisk/bin/retrieve_op_conf_from_mysql.pl
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 11 minutes ago
(retrieve_conf.SYMLINK)
Hi friends, I have Elastix FreePBX 1.6 and upgrade to version 2.8, but got the same error with some differences.
“Error Symlink from modules failed
retrieve_conf failed to sym link:
/var/www/html/admin/images/sound_delete.png
/var/www/html/admin/images/play.png
/var/www/html/admin/images/application_link.png
/var/www/html/admin/images/notify_notice.png
/var/www/html/admin/images/notify_delete.png
/var/www/html/admin/images/notify_error.png
/var/www/html/admin/images/notify_update.png
/var/www/html/admin/images/notify_critical.png
/var/www/html/admin/images/notify_security.png
/var/www/html/admin/images/dashboard-sysinfo.png
/var/www/html/admin/images/notify_warning.png
/var/lib/asterisk/bin/retrieve_op_conf_from_mysql.php
/var/lib/asterisk/bin/retrieve_op_conf_from_mysql.pl
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.”
I have made the process of renaming. Old all files listed above. But far to correct the problem remains.
Any ideas? Thank you very much.
The error is detected and reported, or deleted when retrieve_conf runs, and only then.
That is what “apply configuration changes” does, it runs retrieve_conf and then does a module reload in Asterisk afterwards (but the latter is not related)
I upgraded today to 2.8.0.0 and received the following symlink error.
retrieve_conf failed to sym link:
/etc/asterisk/sip_notify.conf
/var/www/html/admin/images/spacer.gif
This can result in FATAL failures to your PBX. If the target file exists and not identical, 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 7 seconds ago
(retrieve_conf.SYMLINK)
I removed these 2 files and made a change in freepbx and applied, the files were recreated but the error still remains.
I’m not sure who is messing with spacer.gif and thus where that is coming from. If you have the Endpoint Manager installed and the restart module installed, then you would be getting a conflict between those as they both try to do a symlink and only one will be successful.
I’m working with tm1000 on that issue so we can get it resolved between the two modules…
Don’t mean to hijack this thread, but I am also getting this message, but it’s for 3 gif files (twice for spacer.gif).
/var/www/html/admin/images/grey_block.gif
/var/www/html/admin/images/logo.gif
/var/www/html/admin/images/spacer.gif
/var/www/html/admin/images/spacer.gif
I can rm -f the files, and when the apply configuration changes is done, they are re-created and I get the error message.
I ran /var/lib/asterisk/bin/retrieve_conf --debug. Here is some snippage that seems relevant.
[DEBUG-retrieve_conf] (devel-debug) Including /var/www/html/admin/modules/configeditoradv/functions.inc.php
[DEBUG-retrieve_conf] (devel-debug) /var/www/html/admin/modules/configeditoradv/functions.inc.php processed OK
[DEBUG-retrieve-conf] (error) /var/www/html/admin/images/grey_block.gif already exists, and is linked to something else!
[DEBUG-retrieve-conf] (error) /var/www/html/admin/images/logo.gif already exists, and is linked to something else!
[DEBUG-retrieve-conf] (error) /var/www/html/admin/images/spacer.gif already exists, and is linked to something else!
[DEBUG-retrieve-conf] (devel-debug) /var/www/html/admin/images/call-compare.png already points to /var/www/html/admin/cdr/images/call-compare.png - OK
[DEBUG-retrieve-conf] (error) /var/www/html/admin/images/spacer.gif already exists, and is linked to something else!
I ran ls -l in the /var/www/html/admin/images directory, here is where I show them linked.
For a bit I had it for some chan_(or -) dahdi.conf file. I deleted it and the error for that one went away.
What I can’t seem to figure out is how retrieve_conf determines what to link and where.
Note: This is on AsteriskNOW 1.7 (asterisk 1.6.9) with FreePBX 2.7. I don’t know that I started getting these messages right after I installed the advanced config editor though.
it sounds like that module has conflicting images. I am not familiar with that module, where did it come from as it appears to be creating the problem?
I updated retrieve_conf to compare the files when there is a conflict and not complain if in fact the files are identical (per an md5sum hash). However, that change has not yet been published on the 2.7 branch as I wanted to make sure the fix did not create problems so only published it on 2.8.
So … once published, if the file it is conflicting with is identical it will no longer complain. (However, it’s still an issue that there is a conflict and it’s probably that module at fault…)
As far as how retrieve_conf determines what to link, it is based on some defined directories in the modules. The images directory is one of them.