Survey Campaigns/Press 1

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Survey Campaigns/Press 1

Postby deficit » Thu Jul 11, 2013 2:26 pm

Hello.

ViciDial
VERSION: 2.7-401a
BUILD: 130508-2256
Dedicated Server.
VOIP Carrier.

I am having an issue which is probably simple I am getting the following error when trying to conduct a survey campaign. System calls, I can answer but does not play recordings. Cannot execute agi-VDAD_ALL_outbound.agi

Executing [8366@default:3] AGI("SIP/ALCAZAR-00000003", "agi-VDAD_ALL_outbound.agi|SURVEYCAMP-----LB") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi
== agi-VDAD_ALL_outbound.agi|SURVEYCAMP-----LB: Failed to execute '/var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi': Permission denied
-- Executing [8366@default:4] AGI("SIP/ALCAZAR-00000003", "agi-VDAD_ALL_outbound.agi|SURVEYCAMP-----LB") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi
== agi-VDAD_ALL_outbound.agi|SURVEYCAMP-----LB: Failed to execute '/var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi': Permission denied
-- Executing [8366@default:5] Hangup("SIP/ALCAZAR-00000003", "") in new stack


I have checked permissions on the "agi-VDAD_ALL_outbound.agi" file and they are set to executable.

Well upgraded to current SVN
VERSION: 2.8-407a
BUILD: 130709-1350
/usr/src/astguiclient/trunk
Path: .
Repository UUID: 3d104415-ff17-0410-8863-d5cf3c621b8a
Revision: 1999
Node Kind: directory
Schedule: normal
Last Changed Author: mattf
Last Changed Rev: 1999
Last Changed Date: 2013-07-11 08:33:50 -0400 (Thu, 11 Jul 2013)


Still same problem has to be something simple I am overlooking.

Sorry if I have not provided enough info but would appreciate and helpful pointers.
deficit
 
Posts: 30
Joined: Thu Jul 11, 2013 2:01 pm

Re: Survey Campaigns/Press 1

Postby williamconley » Thu Jul 11, 2013 4:25 pm

1) Welcome to the Party! 8-)

2) As you are obviously new here, I have some suggestions to help us all help you:

When you post, please post your entire configuration including (but not limited to) your installation method and vicidial version with build.

This IS a requirement for posting along with reading the stickies (at the top of each forum) and the manager's manual (available on EFLO.net, both free and paid versions)

You should also post: Asterisk version, telephony hardware (model number is helpful here), cluster information if you have one, and whether any other software is installed in the box. If your installation method is "from scratch" you must post your operating system and should also post the .iso version from which you installed your original operating system. If your installation is "Hosted" list the site name of the host.

If this is a "Cloud" or "Virtual" server, please note the technology involved along with the version of that techology (ie: VMware Server Version 2.0.2). If it is not, merely stating the Motherboard model # and CPU would be helpful.

Similar to This:

Vicibox X.X from .iso | Vicidial X.X.X-XXX Build XXXXXX-XXXX | Asterisk X.X.X | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel DG35EC | Core2Quad Q6600

3) You have an installation issue:
Failed to execute '/var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi': Permission denied


AGI scripts must be executable.

Code: Select all
chmod +x /var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi


perhaps even

Code: Select all
chmod +x /var/lib/asterisk/agi-bin/*.agi


4) Happy Hunting! 8-) (Why are you NOT using Vicibox? Masochist?)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Survey Campaigns/Press 1

Postby deficit » Thu Jul 11, 2013 6:28 pm

William,


Thanks for the reply that's what i thought was the issue as well and checked and chmod the dir before and still have the same issue.

Probably easier at this point to just rebuild the box..

But thank you for all your time and knowledge you put forth on this forum.
deficit
 
Posts: 30
Joined: Thu Jul 11, 2013 2:01 pm

Re: Survey Campaigns/Press 1

Postby williamconley » Thu Jul 11, 2013 7:56 pm

if permission denied after chmod +x, then your user does not have permission to access the file. this would be the user that is running asterisk. consider chmod 777 for testing.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Survey Campaigns/Press 1

Postby deficit » Thu Jul 11, 2013 9:28 pm

Thanks tried 777 same problem weird.,, this was a new system so no data just reformatted and reloaded and is working fine... I really wanted to try to figure out what the underlying issue was but heck redoing was quicker but still bothers me that I could not figure it out.

Thanks for your excellent pointers.
deficit
 
Posts: 30
Joined: Thu Jul 11, 2013 2:01 pm

Re: Survey Campaigns/Press 1

Postby williamconley » Thu Jul 11, 2013 9:35 pm

if 777 still resulted in a permission denied there was something else going on. is it possible that it still failed, but you did not read the actual error (and perhaps the error changed ...)?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Survey Campaigns/Press 1

Postby deficit » Thu Jul 11, 2013 9:54 pm

= agi-VDAD_ALL_outbound.agi|SURVEYCAMP-----LB: Failed to execute '/var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi': Permission denied

Error never changed.,, was same 777 or 755 did not matter.. First thing I did before I posted was chmod 755 *agi all the files in the dir,, retried and than 777 after which i posted,, the error was pretty straight forward a permission problem but could not solve it,,, That's why i thought might have been something so simple i was overlooking it, searched google and forums never seen the error posted or any of the same problems so thought i would post... But all is working great after reload..
deficit
 
Posts: 30
Joined: Thu Jul 11, 2013 2:01 pm

Re: Survey Campaigns/Press 1

Postby williamconley » Thu Jul 11, 2013 11:30 pm

Hm. Perhaps a permission issue with a folder leading to the file. Not likely, but a thought.

Or perhaps a lack of permission to execute the application that will run the file. (Perl)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Survey Campaigns/Press 1

Postby DavidAEsquivel » Sun Jul 14, 2013 11:13 am

This problem occurs when the user running the service does not have R or X rights to the /var/run directory. I've been up for the last 23 hours changing permissions one at a time until I stumbled across this. I would do a chmod 0755 /var/run. That seemed to do the trick for me.
DavidAEsquivel
 
Posts: 4
Joined: Mon Mar 19, 2012 4:11 pm

Re: Survey Campaigns/Press 1

Postby williamconley » Sun Jul 14, 2013 12:16 pm

Good work! Excellent postback! 8-)

Probably only necessary to change the permissions on the actual application PID within the folder (for the application being executed). Interesting.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: No registered users and 117 guests