I apologize that I sent a wrong server file but error message looks same but not sure..So attaching the correct file..

Regards,
Kumaran T

On 11/2/2011 6:48 PM, Venkateshwaran T wrote:

Its RPM installation.I followed the steps in Wiki.
1.yum update(updated the system)
2.yum install sipxecs
3.yum update--(stunnel packages installed)
4.Restart sipxecs services
    It failed because I forget to do sipxecs-setup
5.Then did sipxecs-setup
6.Rebooted the server

Regards,
Kumaran T

On 11/2/2011 6:42 PM, George Niculae wrote:
On Wed, Nov 2, 2011 at 3:07 PM, Venkateshwaran T
<[email protected]>  wrote:
George,
     Please check the attached files
I noticed few more failed message in job status page
  1.When I changed logging levels to debug following error message
File replication: app.config
File replication: vm.args
  2.And After sending profiles following failed message
sipxconfig-report-config

Is this a yum update or ISO fresh install? I suspect there are some
permissions issues, please open a jira and describe the steps you took
and attach snapshot

George


client = yes
foreground = yes
CApath = /etc/sipxpbx/ssl/authorities
cert = /etc/sipxpbx/ssl/ssl.crt
key = /etc/sipxpbx/ssl/ssl.key
# verify = 2 means cert. based on client and server side
verify = 2
debug = 5
output = /var/log/sipxpbx/stunnel-client.log
pid = /var/run/sipxpbx/stunnel-client.pid

[mongod-primary]
accept = 27019
connect = 176.25.3.201:27018
foreground = yes
CApath = /etc/sipxpbx/ssl/authorities
cert = /etc/sipxpbx/ssl/ssl.crt
key = /etc/sipxpbx/ssl/ssl.key
# verify = 2 means cert. based on client and server side
verify = 2
debug = 5
output = /var/log/sipxpbx/stunnel-server.log
pid = /var/run/sipxpbx/stunnel-server.pid

[mongod]
accept = 27018
connect = 27017
#!/bin/sh

. /usr/libexec/sipXecs/sipx-utils.sh
Status=0
Action=RUN
PidFile=/var/run/sipxpbx/tunnel.pid

onStart() {
    echo $$ > ${PidFile}    
    echo "Starting client to connect to allow connections to other systems..."
    stunnel /etc/sipxpbx/tunnel/client.conf >> 
/var/log/sipxpbx/tunnel-client.log 2>&1 &
    ClientPID=$!
    echo "Starting server to allow connections from other systems..."
    stunnel /etc/sipxpbx/tunnel/server.conf >> 
/var/log/sipxpbx/tunnel-server.log 2>&1 &
    ServerPID=$!    
    # kill -9 spawned processes
    trap "echo 'shutting down'; kill -9 ${ClientPID}; kill -9 ${ServerPID}; 
exit 0" INT TERM
    echo "Waiting for exit..."
    wait
}

onStop() {
    sipx_stop tunnel ${PidFile}
}

checkResult() {
    if [ "$1" -eq "0" ]; then echo "OK"; else echo "Failed"; fi
    Status=$[$Status + $1]
}

onConfigTest() {
    echo -n "Checking config files.."
    test -f /etc/sipxpbx/tunnel/client.conf && \
        test -f /etc/sipxpbx/tunnel/server.conf
    checkResult $?
}

while [ $# -ne 0 ]
do
    case ${1} in
        -c|--configtest)
            Action=CONFIGTEST
            ;;

        --stop)
            Action=STOP
            ;;

        -h|--help|*)
            Action=HELP
            ;;
    esac

    shift # always consume 1
done

if [ ${Action} = CONFIGTEST ]
then
    onConfigTest
    exit $Status
elif [ ${Action} = RUN ]
then
    onConfigTest
    onStart
elif [ ${Action} = STOP ]
then
    onStop
elif [ ${Action} = HELP ]
then

cat <<USAGE
Usage: sipx-tunnel [-s|--stop]
                    [-c|--configtest]
                    [-h|--help]

Start a tunnel client and server to other sipx systems

Options include:

  none                 Starts the tunnel
 
  --stop               Stop the currently running process

  --configtest         Run diagnostics

USAGE

fi
_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev/

Reply via email to