[Asterisk-Users] Changing Asterisk install location...

David S. Madole david at madole.net
Wed Jan 25 21:09:54 MST 2006


From: "Douglas Garstang" <dgarstang at oneeighty.com>

> Has anyone tried to (recently) install asterisk in a location not 
> relative
> to /, as a non-root user? Ie editting the PREFIX directive in Makefile.
>
> I did this without issue back in Asterisk 1.0.9/1.2.1. Well now.we have
> the following issues on startup in 1.2.3.
>
> a) db.c:67 dbinit: Unable to open Asterisk database
> Looks like it's still looking for astdb in /var/lib/asterisk Why?
>
> b) pbx_spool.c:401 scan_thread: Unable to open directory
> /var/spool/asterisk/outgoing. Well, duh it isn't there, because I quite
> clearly told you to install under /home/asterisk!
>
> c) It's also still writing log data to /var/log/asterisk

Did you look in your asterisk.conf at the paths that are defined there?

> I'm guessing no one in Digium's QA team has actually tested installing
> Asterisk like this..... *sigh*

I think your attitude is weak.

David




More information about the asterisk-users mailing list