[cisco-voip] AUNP dialplan bug
FrogOnDSCP46EF
ciscoboy2006 at gmail.com
Tue Dec 2 12:20:54 EST 2008
Disagree to my post.
I have managed to install it. It's all good now.
The problem was in original package there is a file missing. So I had to
copy it manually before runing the install in /common/download directory
along with rest of other files.
-frog
Search Results Dial PlanDescriptionInstalled VersionSystem Version
AUNP<https://172.16.16.11:8443/ccmadmin/dialPlanEdit.do?key=AUNP>Australia
Numbering Plan 1.1(5) 1.1(5) Rows per Page
On Wed, Dec 3, 2008 at 4:06 AM, FrogOnDSCP46EF <ciscoboy2006 at gmail.com>wrote:
> I'm trying to install AUNP in CUCM 5x and having below issue when i click
> on install under call-routing> dialplan install.
>
>
>
> Status Database connection failed An Error Occurred: 28000
> I have all files there in cucm # prompt
>
>
> [root at cmc5 download]# ll
> total 1120
> drwxr-xr-x 3 root root 4096 Apr 29 2008 AUNP
> -rwxrwxrwx 1 root root 1467 Apr 29 2008 copstart.sh
> -rw-r--r-- 1 root root 243 Apr 29 2008 DialPlanInfo.csv
> -rw-r--r-- 1 root root 95 Dec 2 10:45
> dp-ffr.3-1-6.AU.cop.md5
> -rw-r--r-- 1 root root 557071 Dec 2 10:46 IDP
> -rw-r--r-- 1 root root 557071 Dec 2 10:46 IDP_orig
> [root at cmc5 download]#
>
> it seems it runs below script - copstart.sh
>
> i tried to run it manually and here is what i got:
>
> [root at cmc5 download]# sh copstart.sh
> csv DSN=ccm_super /usr/local/cm/idp/DialPlanInfo.csv
> Update Statistics DSN=ccm_super
> Success
> [root at cmc5 download]#
>
> but still in cucm admin interface shows that its not installed:
>
> any idea? it sounds like a bug.
>
>
>
>
> [root at cmc5 download]# more copstart.sh
> #!/bin/bash
> #
> # copstart.sh script will create dial plan directories, copies the dial
> plan fi
> les and also inserts the dialplaninfo data in# to CM database
> #
> # SYNOPSIS
> # copstart.sh
> #
> # turn it on for debug
> # set x
> #
> #
> LOGFILE=`pwd`/install.log
> INSTALLDIR=/usr/local/cm
> LOGDIR=/var/log/active/cm/trace
> INSTALLDB=/usr/local/cm/bin/installdb
> TMPDIR=`pwd`
>
>
> LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cm/lib
> export LD_LIBRARY_PATH
>
> # Creating Directories.
> mkdir -p $INSTALLDIR/idp/AUNP/6
> mkdir -p $LOGDIR/idp/AUNP
>
> # Copying Files
> cp -fp ${TMPDIR}/IDP $INSTALLDIR/idp/
> cp -fp ${TMPDIR}/DialPlanInfo.csv $INSTALLDIR/idp/
> cp -fp ${TMPDIR}/DialPlanInfo.csv /usr/local/cm/db/csv/products/
> cp -fp ${TMPDIR}/AUNP/6/* $INSTALLDIR/idp/AUNP/6
>
> # Permissions
> chmod 770 $LOGDIR/idp
> chown ccmservice:ccmbase $LOGDIR/idp
> chmod 770 $LOGDIR/idp/AUNP
> chown ccmservice:ccmbase $LOGDIR/idp/AUNP
> chmod 770 $INSTALLDIR/idp
> chown tomcat:tomcat $INSTALLDIR/idp
> chmod 770 $INSTALLDIR/idp/AUNP
> chown tomcat:tomcat $INSTALLDIR/idp/AUNP
> chmod 770 $INSTALLDIR/idp/AUNP/6
> chown tomcat:tomcat $INSTALLDIR/idp/AUNP/6
> chmod 770 $INSTALLDIR/idp/AUNP/6/*
> chown tomcat:tomcat $INSTALLDIR/idp/AUNP/6/*
> chmod 770 $INSTALLDIR/idp/IDP
> chown tomcat:tomcat $INSTALLDIR/idp/IDP
> chmod 644 /usr/local/cm/db/csv/products/DialPlanInfo.csv
> chown database:ccmbase /usr/local/cm/db/csv/products/DialPlanInfo.csv
>
> # Inserting Values in the AvailDialPlan table.
> $INSTALLDB -c $INSTALLDIR/idp/DialPlanInfo.csv
>
> exit 0
> [root at cmc5 download]#
>
>
>
> --
> Smile, you'll save someone else's day!
> Frog
>
--
Smile, you'll save someone else's day!
Frog
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20081203/81481edd/attachment.html>
More information about the cisco-voip
mailing list