Asterisk needs write privileges on /var/lib/

I set up asterisk-gui on the machine, finally. When I log in I get this:

Asterisk needs write privileges on /var/lib/asterisk/static-http/config/

I had to create a ln -s link from that directory to /usr/share/asterisk because I kept getting 404.

[admin@localhost asterisk]$ pwd
/var/lib/asterisk
[admin@localhost asterisk]$ ls -l
total 20
-rw-r–r-- 1 asterisk asterisk 8192 2008-08-25 15:09 astdb
drwxr-xr-x 2 asterisk asterisk 4096 2008-08-25 12:36 gui_backups
drwxr-xr-x 2 asterisk asterisk 4096 2008-08-25 14:46 scripts
drwxr-xr-x 3 asterisk asterisk 4096 2008-08-25 14:46 static-http
[admin@localhost asterisk]$

[admin@localhost asterisk]$ pwd
/usr/share/asterisk
[admin@localhost asterisk]$ ls -l
total 0
lrwxrwxrwx 1 root root 30 2008-08-25 15:12 static-http -> /var/lib/asterisk/static-http/
[admin@localhost asterisk]$

I can’t chmod or chown that link, not sure if that’s possible or how it works; I’m not a guru.

The only user on this machine, aside from root, is admin. I’m not sure if I need to create asterisk with a group of asterisk and run asterisk as that user for this to work, seems silly.

Any ideas?

Also, I only see ‘System Status’ when I login (after I click OK on that dialog box). Here’s what system status shows:

System Status
Uptime :
Not Found

Nothing to see here. Move along.

Asterisk Server

Trunks
Status	Trunk	Type	Username	Port/Hostname/IP
Extensions
	Extension	Name/Label	Type
	-- *No Extension assigned	Check Voicemails	VoiceMailMain
	-- *No Extension assigned	Dial by Names	Directory

The ‘Not found’ and ‘Nothing to see here. Move along.’ are what bothers me most. Obviously, something isn’t right. Screenshots can be had upon request.

Furthermore, this is running Fedora Core 9 with yum install asterisk (1.6 beta).

Resolved:

Removed the RPM and compiled from source (1.4.x, not 1.6.x). Works fine.