Difference between revisions of "Chan skype.so problems"

From Kolmisoft Wiki
Jump to navigationJump to search
(Created page with '[root@ns356744 skypeforasterisk-1.4_1.1.2-x86_64]# make gcc -I/usr/include -o chan_skype.o -c chan_skype.c -pipe -O3 -fPIC -DAST_MODULE=\"chan_skype\" -MD -MT chan_skype.o -MF .c…')
 
 
Line 1: Line 1:
[root@ns356744 skypeforasterisk-1.4_1.1.2-x86_64]# make
[root@ns356744 skypeforasterisk-1.4_1.1.2-x86_64]# make
gcc -I/usr/include -o chan_skype.o -c chan_skype.c -pipe -O3 -fPIC -DAST_MODULE=\"chan_skype\" -MD -MT chan_skype.o -MF .chan_skype.o.d -MP
gcc -I/usr/include -o chan_skype.o -c chan_skype.c -pipe -O3 -fPIC -DAST_MODULE=\"chan_skype\" -MD -MT chan_skype.o -MF .chan_skype.o.d -MP
chan_skype.c: In function 'indicate':
chan_skype.c: In function 'indicate':
chan_skype.c:457: error: 'AST_CONTROL_SRCUPDATE' undeclared (first use in this function)
chan_skype.c:457: error: 'AST_CONTROL_SRCUPDATE' undeclared (first use in this function)
chan_skype.c:457: error: (Each undeclared identifier is reported only once
chan_skype.c:457: error: (Each undeclared identifier is reported only once
chan_skype.c:457: error: for each function it appears in.)
chan_skype.c:457: error: for each function it appears in.)
make: *** [chan_skype.o] Error 1
make: *** [chan_skype.o] Error 1


Asterisk 1.4.18.1 -> 1.4.37-rc1


-----------------------------------------------
Upgrade Asterisk 1.4.18.1 -> 1.4.37-rc1


ns356744*CLI> load chan_skype.so
<br><br>
[2011-03-10 11:21:53] WARNING[27423]: loader.c:434 load_dynamic_module: Error loading module 'chan_skype.so': /usr/lib/asterisk/modules/chan_skype.so: undefined symbol: sfa_license_iterator_destroy
----
[2011-03-10 11:21:53] WARNING[27423]: loader.c:777 load_resource: Module 'chan_skype.so' could not be loaded.
<br><br>


Do not load channel, just restart asterisk
ns356744*CLI> load chan_skype.so
[2011-03-10 11:21:53] WARNING[27423]: loader.c:434 load_dynamic_module: Error loading module 'chan_skype.so': /usr/lib/asterisk/modules/chan_skype.so:  undefined symbol: sfa_license_iterator_destroy
[2011-03-10 11:21:53] WARNING[27423]: loader.c:777 load_resource: Module 'chan_skype.so' could not be loaded.


Do not load channel, just restart asterisk
<br><br>
---------------------------------------------
---------------------------------------------
<br><br>


  5. When chan_skype.so attempts to load, I get an error similar to:
  5. When chan_skype.so attempts to load, I get an error similar to:
       ERROR[1702]: core.cpp:1553 sfa_startup: Skype engine failed to start.
       ERROR[1702]: core.cpp:1553 sfa_startup: Skype engine failed to start.


The skyhost binary (which shows up in the process list as skypeforasterisk)
The skyhost binary (which shows up in the process list as skypeforasterisk)
     failed to start. This could be because a previous instance of this binary
     failed to start. This could be because a previous instance of this binary
     is running and was not properly shut down. Since any new instances try to
     is running and was not properly shut down. Since any new instances try to
Line 29: Line 35:
     restart asterisk.
     restart asterisk.


Another reason for failure could be that disable_tcpauto is set to no (the
Another reason for failure could be that disable_tcpauto is set to no (the
     default) and can not bind to ports 80 and 443 due to asterisk running as
     default) and can not bind to ports 80 and 443 due to asterisk running as
     a non-root user or other services being bound to those ports.
     a non-root user or other services being bound to those ports.


Failure can also occur if the engine_directory is set to a directory which
Failure can also occur if the engine_directory is set to a directory which
     is mounted with the 'noexec' flag or to a directory where the user does
     is mounted with the 'noexec' flag or to a directory where the user does
     not have execute permission.
     not have execute permission.


 
<br><br>
--------------------------------
--------------------------------
<br><br>


  2. I just created an account to manage my Business Control Panel and I can't
  2. I just created an account to manage my Business Control Panel and I can't
     get that account to log in via SFA.
     get that account to log in via SFA.


Only Skype accounts that are actually created from inside the Skype
Only Skype accounts that are actually created from inside the Skype
     Business Control Panel can be used. The account that was created to admin
     Business Control Panel can be used. The account that was created to admin
     the BCP was not created from inside the BCP, so it will not work with
     the BCP was not created from inside the BCP, so it will not work with
Line 49: Line 56:
     account" to create an account that can be used with SFA.
     account" to create an account that can be used with SFA.


<br><br>
--------------------------------------
--------------------------------------
<br><br>


“cannot restore segment prot after reloc: Permission denied”
 
“cannot restore segment prot after reloc: Permission denied”


disable selinux
disable selinux
<br><br>

Latest revision as of 13:21, 7 April 2011

[root@ns356744 skypeforasterisk-1.4_1.1.2-x86_64]# make
gcc -I/usr/include -o chan_skype.o -c chan_skype.c -pipe -O3 -fPIC -DAST_MODULE=\"chan_skype\" -MD -MT chan_skype.o -MF .chan_skype.o.d -MP
chan_skype.c: In function 'indicate':
chan_skype.c:457: error: 'AST_CONTROL_SRCUPDATE' undeclared (first use in this function)
chan_skype.c:457: error: (Each undeclared identifier is reported only once
chan_skype.c:457: error: for each function it appears in.)
make: *** [chan_skype.o] Error 1


Upgrade Asterisk 1.4.18.1 -> 1.4.37-rc1






ns356744*CLI> load chan_skype.so
[2011-03-10 11:21:53] WARNING[27423]: loader.c:434 load_dynamic_module: Error loading module 'chan_skype.so': /usr/lib/asterisk/modules/chan_skype.so:  undefined symbol: sfa_license_iterator_destroy
[2011-03-10 11:21:53] WARNING[27423]: loader.c:777 load_resource: Module 'chan_skype.so' could not be loaded.
Do not load channel, just restart asterisk







5. When chan_skype.so attempts to load, I get an error similar to:
      ERROR[1702]: core.cpp:1553 sfa_startup: Skype engine failed to start.
The skyhost binary (which shows up in the process list as skypeforasterisk)
   failed to start. This could be because a previous instance of this binary
   is running and was not properly shut down. Since any new instances try to
   bind to the same port, they fail. If 'ps aux|grep skypeforasterisk' returns
   any skypeforasterisk processes when Asterisk is not running, kill them and
   restart asterisk.
Another reason for failure could be that disable_tcpauto is set to no (the
   default) and can not bind to ports 80 and 443 due to asterisk running as
   a non-root user or other services being bound to those ports.
Failure can also occur if the engine_directory is set to a directory which
   is mounted with the 'noexec' flag or to a directory where the user does
   not have execute permission.






2. I just created an account to manage my Business Control Panel and I can't
   get that account to log in via SFA.
Only Skype accounts that are actually created from inside the Skype
   Business Control Panel can be used. The account that was created to admin
   the BCP was not created from inside the BCP, so it will not work with
   SFA. Inside the BCP, go to Add Members and click "Create a Business
   account" to create an account that can be used with SFA.







“cannot restore segment prot after reloc: Permission denied”

disable selinux