Page 1 of 1

problem with astguiclient log

PostPosted: Thu Nov 15, 2007 6:34 am
by wlidha
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

PostPosted: Thu Nov 15, 2007 9:02 am
by ramindia
Hi

this could be a permission problem

check the rights and configs again

ram

PostPosted: Thu Nov 15, 2007 9:41 am
by peacy
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.