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
Regards,
Kumaran T
On 11/2/2011 6:27 PM, George Niculae wrote:
On Wed, Nov 2, 2011 at 2:52 PM, Venkateshwaran T
<[email protected]> wrote:
Hi George,
Stunnel service failed with following error message as before in freshly
installed 0.0.4.5.2-11th Nov build through rpm installation
Checking config files..
OK
Starting client to connect to allow connections to other
systems...
Starting server to allow connections from other systems...
Waiting for exit...
Please send me /usr/bin/sipx-tunnel
George
#!/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
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
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.202:27018
_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev/