FreePBX Paid Support


Not Logged in - No Account?

Don't have an account? Registering an account with us allows you to post to the forums, easily track new posts, subscribe to threads, pm (private message) other forum members, and receive periodic news letters (you can opt out if you desire). Once you are logged in this message will no longer appear. If you don't have an account, you can create one by registering here. Lost your password, request a new password. We respect your privacy which means we collect minimal information when you register and we do not resell that information or use it in any objectionable way. You can review our privacy policy for full details.


Another Error message...

w5waf's picture

retrieve_conf failed to sym link the /etc/asterisk/extensions.conf.orig file from modules

What did I do to get this message?

the /etc/asterisk/extensions.conf.orig file is a backup file ...

Bill


__________________


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Another Error message...

p_lindheimer's picture

retrieve_conf will symlink all files that are located in certain directories under the various modules. The failure is most likely caused because of permissions at one end or the other of the attempted link.


__________________

Philippe Lindheimer - FreePBX Project Leader
FreePBX Training Opportunities - Click Here
Get Official Paid Support - Click Here


Am struggling with it myself

ketil's picture

...and have ruled out some possible things...

1 The retrieve_conf is looking into a directory in the /var/www/html-directory. I have umasked that directory to 0000, and have also done chmod -r 777 ../html
2 The retrieve_conf - file is also looking into the /etc/asterisk - directory. The same umask and chmod-thing written above is also done on that directory.
3 There is also a issue on the retrieve_conf-directory itself, so I umask-and chmodded that directory as well..

Am quite frustrated about it, am I missing a directory here?
- Am using 2.3.0.3 on my system, it is a fresh install...


i'm having the same problem

Rhombus's picture

"retrieve_conf failed to sym link the /etc/asterisk/extensions.conf file from modules "

This error is not helpful. It doesn't tell me *why* retrieve_conf cannot sym link.

... and I can't see how permissions would be the cause. The Asterisk directory is owned by asterisk:asterisk and has 664 permissions, as are/do all the configuration files inside it.

This is a fresh install. I thought maybe it was because I had done 'make samples', but then I discovered the Asterisk must be running in order to install FreePBX, so I need the sample files. A chicken/egg problem. The only way I have been able to get it to work at all is by manually creating the sym links, and even then, it doesn't work satisfactorily.

Any ideas?


first off - what version of

p_lindheimer's picture

first off - what version of asterisk? I have been able to start asterisk without an extensions.conf file (it's the same as having no dialplan). Maybe that changed. What does it say in the full log for an error?

As far as the symlink - permissions is usually the only issue. Try running retrieve_conf as user asterisk form the command line, does it give you and more details?
------------------------------------
Philippe Lindheimer - FreePBX Project Lead
http//freepbx.org - IRC #freepbx


__________________

Philippe Lindheimer - FreePBX Project Leader
FreePBX Training Opportunities - Click Here
Get Official Paid Support - Click Here


Same issue

ddalton's picture

I am using freepbx 2.3.1.3 on Asterisk 1.4.17 I have the symlink that this error complains about and it is world read writeable... I am not sure what the issue is, I just ignore the error because everything is working ok.... has anyone resolved this?


Solution

chrisbryant's picture

What's mentioned above is correct about running retrieve_conf and making sure the permissions are correct, but there is one other small detail. You should just need to remove the existing conf file first so that it can create the symlink. It can't create a symlink if there is already a file there first.

I found the proper solution is to make sure your folders/files in the /ect/asterisk directory are all owned by asterisk user/group and then actually just remove the extensions.conf file (make sure you have a backup just in case.)

Then run retrieve_conf from your /var/lib/asterisk/bin/ (make sure you rut it logged in as the asterisk user and not some other user account on the system.)

That will automatically create the symlink for you and you should be good to go.


__________________

--
Gravitek Labs