[Asterisk-Users] Astcc Configuration Problem

Darren Wiebe darren at aleph-com.net
Tue Aug 2 06:38:04 MST 2005


Try this line in /var/lib/astcc and see if it helps.

"chown apache *" and

"chown -R apache *" from /var/www/cgi-bin.

If it does not help, do an "ls -l" in /var/www and see who owns it.  
Then repeat the command above with the correct user. 

Darren Wiebe
darren at aleph-com.net

chawki hammoud wrote:

>Hi:
>
>How do I check it? 
>
>Thanks
>
>--- Darren Wiebe <darren at aleph-com.net> wrote:
>
>  
>
>>Check and make sure that astcc-config.conf is owned
>>by the same process 
>>that owns apache.  Usually the problem is that
>>astcc-admin cannot write 
>>to the file due to permission problems.
>>
>>Darren Wiebe
>>darren at aleph-com.net
>>
>>chawki hammoud wrote:
>>
>>    
>>
>>>Hi:
>>>
>>>I used astcc to create database. After I get the
>>>message database created, I save the configuration
>>>      
>>>
>>and
>>    
>>
>>>I move to the next step to assign trunk and route.
>>>      
>>>
>>But
>>    
>>
>>>I get the message:
>>>Database unavailable -- please check configuration
>>>Cannot edit routes until database is configured
>>>
>>>I checked the databse and it's in mysql, the file
>>>/var/lib/astcc/astcc-config.conf is empty.
>>>astcc-admin.cgi is supposed to write a file based
>>>      
>>>
>>on
>>    
>>
>>>the configuration, but for some reason doesn't
>>>I inserted data manually into the databse tables
>>>      
>>>
>>and
>>    
>>
>>>astcc works fine on asterisk and write data into
>>>      
>>>
>>the
>>    
>>
>>>database.
>>>Why the web browser can't see the database it
>>>      
>>>
>>created?
>>    
>>
>>>could apache be the problem although it's running?
>>>
>>>Regards;
>>>Chawki
>>>
>>>
>>>		
>>>      
>>>
>>____________________________________________________
>>    
>>
>>>Start your day with Yahoo! - make it your home page
>>>      
>>>
>>>http://www.yahoo.com/r/hs 
>>>
>>>_______________________________________________
>>>Asterisk-Users mailing list
>>>Asterisk-Users at lists.digium.com
>>>      
>>>
>>http://lists.digium.com/mailman/listinfo/asterisk-users
>>    
>>
>>>To UNSUBSCRIBE or update options visit:
>>> 
>>>      
>>>
>http://lists.digium.com/mailman/listinfo/asterisk-users
>  
>
>>> 
>>>
>>>      
>>>
>>_______________________________________________
>>Asterisk-Users mailing list
>>Asterisk-Users at lists.digium.com
>>
>>    
>>
>http://lists.digium.com/mailman/listinfo/asterisk-users
>  
>
>>To UNSUBSCRIBE or update options visit:
>>  
>>
>>    
>>
>http://lists.digium.com/mailman/listinfo/asterisk-users
>  
>
>
>
>
>		
>__________________________________ 
>Yahoo! Mail for Mobile 
>Take Yahoo! Mail with you! Check email on your mobile phone. 
>http://mobile.yahoo.com/learn/mail 
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
>  
>




More information about the asterisk-users mailing list