<fieldset>
<legend>I'm trying to install AUNP in CUCM 5x and having below issue when i click on install under call-routing> dialplan install.<br><br><br><br>Status</legend>
Database connection failed An Error Occurred: 28000
</fieldset><br clear="all">I have all files there in cucm # prompt<br><br><br>[root@cmc5 download]# ll<br>total 1120<br>drwxr-xr-x 3 root root 4096 Apr 29 2008 AUNP<br>-rwxrwxrwx 1 root root 1467 Apr 29 2008 copstart.sh<br>
-rw-r--r-- 1 root root 243 Apr 29 2008 DialPlanInfo.csv<br>-rw-r--r-- 1 root root 95 Dec 2 10:45 dp-ffr.3-1-6.AU.cop.md5<br>-rw-r--r-- 1 root root 557071 Dec 2 10:46 IDP<br>
-rw-r--r-- 1 root root 557071 Dec 2 10:46 IDP_orig<br>[root@cmc5 download]# <br><br>it seems it runs below script - copstart.sh<br><br>i tried to run it manually and here is what i got:<br><br>[root@cmc5 download]# sh copstart.sh <br>
csv DSN=ccm_super /usr/local/cm/idp/DialPlanInfo.csv<br>Update Statistics DSN=ccm_super<br>Success<br>[root@cmc5 download]# <br><br>but still in cucm admin interface shows that its not installed:<br><br>any idea? it sounds like a bug.<br>
<br><br><br> <br>[root@cmc5 download]# more copstart.sh <br>#!/bin/bash<br>#<br># copstart.sh script will create dial plan directories, copies the dial plan fi<br>les and also inserts the dialplaninfo data in# to CM database <br>
#<br># SYNOPSIS<br># copstart.sh <br>#<br># turn it on for debug<br># set x<br>#<br>#<br>LOGFILE=`pwd`/install.log<br>INSTALLDIR=/usr/local/cm<br>LOGDIR=/var/log/active/cm/trace<br>INSTALLDB=/usr/local/cm/bin/installdb<br>
TMPDIR=`pwd`<br><br><br>LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cm/lib<br>export LD_LIBRARY_PATH<br><br># Creating Directories.<br>mkdir -p $INSTALLDIR/idp/AUNP/6<br>mkdir -p $LOGDIR/idp/AUNP<br><br># Copying Files<br>
cp -fp ${TMPDIR}/IDP $INSTALLDIR/idp/<br>cp -fp ${TMPDIR}/DialPlanInfo.csv $INSTALLDIR/idp/<br>cp -fp ${TMPDIR}/DialPlanInfo.csv /usr/local/cm/db/csv/products/<br>cp -fp ${TMPDIR}/AUNP/6/* $INSTALLDIR/idp/AUNP/6<br><br># Permissions<br>
chmod 770 $LOGDIR/idp<br>chown ccmservice:ccmbase $LOGDIR/idp<br>chmod 770 $LOGDIR/idp/AUNP<br>chown ccmservice:ccmbase $LOGDIR/idp/AUNP<br>chmod 770 $INSTALLDIR/idp<br>chown tomcat:tomcat $INSTALLDIR/idp<br>chmod 770 $INSTALLDIR/idp/AUNP<br>
chown tomcat:tomcat $INSTALLDIR/idp/AUNP<br>chmod 770 $INSTALLDIR/idp/AUNP/6<br>chown tomcat:tomcat $INSTALLDIR/idp/AUNP/6<br>chmod 770 $INSTALLDIR/idp/AUNP/6/*<br>chown tomcat:tomcat $INSTALLDIR/idp/AUNP/6/*<br>chmod 770 $INSTALLDIR/idp/IDP<br>
chown tomcat:tomcat $INSTALLDIR/idp/IDP<br>chmod 644 /usr/local/cm/db/csv/products/DialPlanInfo.csv<br>chown database:ccmbase /usr/local/cm/db/csv/products/DialPlanInfo.csv<br><br># Inserting Values in the AvailDialPlan table.<br>
$INSTALLDB -c $INSTALLDIR/idp/DialPlanInfo.csv<br><br>exit 0<br>[root@cmc5 download]# <br><br><br><br>-- <br>Smile, you'll save someone else's day!<br>Frog<br>