FreeSWITCH Service Won't Start



  • pfSense Version: 2.0-RC1 (amd64) built on Sat Feb 26 18:07:23 EST 2011
    FreeSWITCH Version: 0.8.3.6 (Package)

    The package seemed to install correctly, but I have a few issues with it.

    The main issue is that the service doesn't start: When I try to start it I get the message "freeswitch has been started." but the service remains stopped.

    The other issues are PHP errors on various pages:
    - Services > FreeSWITCH > Profiles:
     - Warning: opendir(/usr/local/freeswitch/conf/sip_profiles): failed to open dir: No such file or directory in /usr/local/pkg/freeswitch.inc on line 270
     - Warning: Invalid argument supplied for foreach() in /usr/local/www/packages/freeswitch/freeswitch_profiles.php on line 118
    - Services > FreeSWITCH > Status:
     - Warning: fsockopen(): unable to connect to 192.168.1.67:8021 (Operation timed out) in /usr/local/pkg/freeswitch.inc on line 169
     - Warning: socket_set_blocking(): supplied argument is not a valid stream resource in /usr/local/pkg/freeswitch.inc on line 170
     - Warning: fsockopen(): unable to connect to 192.168.4.1:8021 (Operation timed out) in /usr/local/pkg/freeswitch.inc on line 169
     - Warning: socket_set_blocking(): supplied argument is not a valid stream resource in /usr/local/pkg/freeswitch.inc on line 170 no handle
     - Warning: fclose(): supplied argument is not a valid stream resource in /usr/local/www/packages/freeswitch/freeswitch_status.php on line 181
     - Warning: opendir(/usr/local/freeswitch/conf/sip_profiles): failed to open dir: No such file or directory in /usr/local/pkg/freeswitch.inc on line 270
     - Warning: Invalid argument supplied for foreach() in /usr/local/www/packages/freeswitch/freeswitch_status.php on line 184
     - Warning: fsockopen(): unable to connect to 192.168.1.67:8021 (Operation timed out) in /usr/local/pkg/freeswitch.inc on line 169
     - Warning: socket_set_blocking(): supplied argument is not a valid stream resource in /usr/local/pkg/freeswitch.inc on line 170
     - Warning: fsockopen(): unable to connect to 192.168.4.1:8021 (Operation timed out) in /usr/local/pkg/freeswitch.inc on line 169
     - Warning: socket_set_blocking(): supplied argument is not a valid stream resource in /usr/local/pkg/freeswitch.inc on line 170 no handlestatus
     - Warning: fclose(): supplied argument is not a valid stream resource in /usr/local/www/packages/freeswitch/freeswitch_status.php on line 224
     - Warning: fsockopen(): unable to connect to 192.168.1.67:8021 (Operation timed out) in /usr/local/pkg/freeswitch.inc on line 169
     - Warning: socket_set_blocking(): supplied argument is not a valid stream resource in /usr/local/pkg/freeswitch.inc on line 170
     - Warning: fsockopen(): unable to connect to 192.168.4.1:8021 (Operation timed out) in /usr/local/pkg/freeswitch.inc on line 169
     - Warning: socket_set_blocking(): supplied argument is not a valid stream resource in /usr/local/pkg/freeswitch.inc on line 170 no handleshow channels
     - Warning: fclose(): supplied argument is not a valid stream resource in /usr/local/www/packages/freeswitch/freeswitch_status.php on line 242
     - Warning: fsockopen(): unable to connect to 192.168.1.67:8021 (Operation timed out) in /usr/local/pkg/freeswitch.inc on line 169
     - Warning: socket_set_blocking(): supplied argument is not a valid stream resource in /usr/local/pkg/freeswitch.inc on line 170
     - Warning: fsockopen(): unable to connect to 192.168.4.1:8021 (Operation timed out) in /usr/local/pkg/freeswitch.inc on line 169
     - Warning: socket_set_blocking(): supplied argument is not a valid stream resource in /usr/local/pkg/freeswitch.inc on line 170 no handleshow calls
     - Warning: fclose(): supplied argument is not a valid stream resource in /usr/local/www/packages/freeswitch/freeswitch_status.php on line 261
    - Services > FreeSWITCH > Vars:
     - Warning: fopen(/usr/local/freeswitch/conf/vars.xml): failed to open stream: No such file or directory in /usr/local/www/packages/freeswitch/freeswitch_vars.php on line 56
     - Warning: filesize(): stat failed for /usr/local/freeswitch/conf/vars.xml in /usr/local/www/packages/freeswitch/freeswitch_vars.php on line 57
     - Warning: fread(): supplied argument is not a valid stream resource in /usr/local/www/packages/freeswitch/freeswitch_vars.php on line 57
     - Warning: fclose(): supplied argument is not a valid stream resource in /usr/local/www/packages/freeswitch/freeswitch_vars.php on line 58

    There are no errors or messages in the system log. I have tried reinstalling the package with no luck.

    Any ideas ?

    Thanks.

    Edit: Found that FreeSWITCH isn't yet supported in x64, the thread didn't come up when I searched previously.


Log in to reply