problem with astguiclient log

All installation and configuration problems and questions

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

problem with astguiclient log

Postby wlidha » Thu Nov 15, 2007 6:34 am

hi,
after i hangup it shows on the console
can't open /var/log/astg.../agiout.2007-11-15:permission denied
what can'i do for this
thanks for help
wlidha
 
Posts: 7
Joined: Thu Nov 15, 2007 6:22 am

Postby ramindia » Thu Nov 15, 2007 9:02 am

Hi

this could be a permission problem

check the rights and configs again

ram
Kindly post your feedback, if this solution works.
so its very usefull for others who join later as a NEWBIE.
ramindia
 
Posts: 688
Joined: Wed Oct 11, 2006 4:06 am
Location: India

Postby peacy » Thu Nov 15, 2007 9:41 am

Make sure that the directory has the correct permissions. The install script creates /var/log/astguiclient with rw-rw-rw- (0666) permissions, which is fine if you're running everything as root. But as soon as your asterisk is running as a non-priviledged user it won't be able to write to that directory. (Well, technically it's able to write, but not able to change to that dir, because of the missing 'x' permission.)

Just issue 'chmod 0777 /var/log/astguiclient' and everything should be ok after that.
peacy
 
Posts: 55
Joined: Thu Jul 05, 2007 1:46 pm
Location: UK


Return to Support

Who is online

Users browsing this forum: No registered users and 253 guests