Symlink from modules failed

tomsyr

Guru
Joined
Oct 26, 2007
Messages
266
Reaction score
1
I'm getting the following on the FreePBX status page:

Symlink from modules failed

retrieve_conf failed to sym link:
/etc/asterisk/sip_notify.conf from core/etc
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 3 hours, 43 minutes ago
(retrieve_conf.SYMLINK)

Is there something I can do to 'fix' this?
Everything seems to be working fine - I have done the update scripts/fixes.
I'm running Piaf 1.7.5.5

Thanks,
Tom
 
Hi

Simply follow the instructions:-

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.

Joe
 
I also have this problem - but do I just rename it just like any other file? Which one do I rename?
 
Thanks Joe -
I renamed sip_notify.conf - did a amportal stop/start - that didn't clear it up so I rebooted since this isn't in production yet. I still have the error, but now it says:

Symlink from modules failed

retrieve_conf failed to sym link:
/etc/asterisk/sip_notify.conf from core/etc
Blah blah blah...

Added 16 hours, 54 minutes ago
(retrieve_conf.SYMLINK)

So how do I clear the warning message that was generated before I made the change, and how am i sure it worked after i get rid of the error message :)

Thanks,
Tom
 
I've done some other changes in the FreePBX GUI. I did the 'apply configuration changes', and now it no longer show the Symlink error.
Thanks,
Tom
 
Same problem

[SIZE=-1]retrieve_conf failed to sym link:
/etc/asterisk/chan_dahdi.conf from dahdiconfig/etc
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 2 hours, 23 minutes ago
(retrieve_conf.SYMLINK)

[/SIZE]
So I tried renaming /etc/asterisk/chan_dahdi.conf which resulted in my PRI not working. Which file should I be renaming?

I'm also getting the following and don't know if it's related. I will wait and then post this error in another thread.

The following commands failed with the listed error
/var/lib/asterisk/bin/module_admin listonline (1)
Added 19 hours, 24 minutes ago
(cron_manager.EXECFAIL)


[SIZE=-1]System Info:[/SIZE]
[SIZE=-1]CentOS release 5.5 (Final)[/SIZE]
phpSysInfo-2.5.4
FreePVX 2.8.0.4
Processors 2
Model Intel(R) Xeon(TM) CPU 3.20GHz
CPU Speed 3.19 GHz
Cache Size 2.00 MB
SCSI Devices - MegaRAID LD 0 RAID5 419G (Direct-Access)
- PE/PV 1x6 SCSI BP (Processor)
 
Are the 2 chan_dahdi.conf files different? Do they need to be?
Look for the differences in those two files, and make sure they are the same.
Make sure have backups of the files first. Unlike my error, yours is dealing with a very critical file.
Tom
 
I can not find the second file, more specifically I can't find the directory dahdiconfig/etc
 
I have searched and can not find a second file. Anyone know where it might be?
 
Here's my two cents...

I believe that path is relative to /var/www/html/admin/modules. Specifically:

/var/www/html/admin/modules/dahdiconfig/etc/chan_dahdi.conf

If you're trying to resolve the message above, you need a symbolic link in /etc/asterisk back to the above path. Here is how mine is setup for /etc/asterisk/chan_dahdi.conf:

Code:
lrwxrwxrwx 1 asterisk asterisk 59 Sep 24 19:55 chan_dahdi.conf -> /var/www/html/admin/modules/dahdiconfig/etc/chan_dahdi.conf

You'll want to back up the existing file in /etc/asterisk/chan_dahdi.conf. This set up, if I'm not mistaken, makes use of the DAHDI module in FreePBX when configured this way. You'll need to configure your card from there.

Or... just disable/remove the DAHDI module and I'd bet the message goes away. :rolleyes5:
 
This client is running a PRI, so the dahdi is necessary. The system is working fine, zero problems. Can this message be ignored or is it an indication of something that will get worse?
 
Disabling the module in FreePBX should not disable DAHDI as long as you leave the original file in in its place.

If it were me, I'd leave well enough alone - especially if it's working.
 

Members online

No members online now.

Forum statistics

Threads
26,686
Messages
174,406
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top