[OpenSIPS-Users] New build error

Daniel Goepp dan at goepp.net
Tue Jun 22 21:41:06 CEST 2010


At least each time we are getting a different error, now we are seeing:

# opensipsdbctl create
[: 488: ==: unexpected operator
-e \E[37;33mINFO: test server charset
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
password: NO)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
password: NO)
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
[: 300: =: unexpected operator
-e \E[37;33mINFO: creating database opensips ...
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
password: NO)

Let me know if I can provide more info.

Thanks

-dg


On Mon, Jun 21, 2010 at 2:29 AM, Bogdan-Andrei Iancu <bogdan at voice-system.ro
> wrote:

> Hi Daniel,
>
> I made several fixes that hopefully fixed this annoying problem. Please
> update from SVN and retest.
>
> Regards,
> Bogdan
>
> --
> Bogdan-Andrei Iancu
> OpenSIPS Bootcamp
> 20 - 24 September 2010, Frankfurt, Germany
> http://www.voice-system.ro
>
>
> Daniel Goepp wrote:
> > Well, that solved the first error we were getting, but now we are
> > seeing this one:
> >
> > root at ubuntu:/usr/local/etc/
> > opensips# opensipsdbctl create
> > MySQL password for root:
> > -e \E[37;33mINFO: test server charset
> > -e \E[37;33mINFO: creating database opensips ...
> > -e \E[37;33mINFO: Core OpenSIPS tables succesfully created.
> > Install presence related tables? (y/n): n
> > /usr/local/sbin/opensipsdbctl: 300: Bad substitution
> > root at ubuntu:/usr/local/etc/opensips#
> >
> > This is on the exact same system.  And a side not, we took the source
> > we used to build one of our production boxes from a few months ago,
> > and can build it just fine on this same server, it's just the latest
> > from the 1_6 branch that we can't create the DB with.
> >
> > Thoughts?
> >
> > Thanks
> >
> > -dg
> >
> >
> > On Thu, Jun 10, 2010 at 8:56 AM, Bogdan-Andrei Iancu
> > <bogdan at voice-system.ro <mailto:bogdan at voice-system.ro>> wrote:
> >
> >     Hi Daniel,
> >
> >     It should be fixed on SVN trunk and 1.6 SVN branch - just update
> >     and it
> >     should work
> >
> >     Regards,
> >     Bogdan
> >
> >     Daniel Goepp wrote:
> >     > Sorry, and to be even more specific:
> >     >
> >     > $ uname -a
> >     > Linux ip-10-251-126-130 2.6.21.7-2.fc8xen-ec2-v1.0 #2 SMP Tue Sep 1
> >     > 10:04:29 EDT 2009 i686 GNU/Linux
> >     >
> >     > Thanks
> >     >
> >     > -dg
> >     >
> >     >
> >     > On Fri, Jun 4, 2010 at 10:04 AM, Daniel Goepp <dan at goepp.net
> >     <mailto:dan at goepp.net>
> >     > <mailto:dan at goepp.net <mailto:dan at goepp.net>>> wrote:
> >     >
> >     >     Sorry sure, same system we have been using for other
> >     installs, but
> >     >     I'm definitely open to the idea that it's a local issue,
> >     just have
> >     >     no idea what might be causing it.  The system is an Ubuntu 9.04
> >     >     fresh base install, nothing but the libraries that we have
> >     always
> >     >     installed on Ubuntu to get OpenSIPS doing:
> >     >
> >     >     apt-get install bison flex
> >     >     apt-get install libsctp-dev libmysqlclient16-dev libexpat1-dev
> >     >     libxml2-dev libradiusclient-ng-dev
> >     >     apt-get install libxmlrpc-c3-dev libperl-dev libsnmp-dev
> >     >     libldap-dev libconfuse-dev libpcre3-dev
> >     >     apt-get install mysql-server
> >     >     apt-get install subversion
> >     >     apt-get install ngrep
> >     >
> >     >     We are continuing to try to investigate here too, but any
> >     help is
> >     >     much appreciated.
> >     >
> >     >     -dg
> >     >
> >     >
> >     >
> >     >     On Fri, Jun 4, 2010 at 8:22 AM, Anca Vamanu
> >     <anca at opensips.org <mailto:anca at opensips.org>
> >     >     <mailto:anca at opensips.org <mailto:anca at opensips.org>>> wrote:
> >     >
> >     >         Hi Daniel,
> >     >
> >     >         I think it is a issue related to the system that you
> >     use, not
> >     >         an error
> >     >         in the script since it works on other systems. Can you
> >     please
> >     >         say what
> >     >         is the version your operating system?
> >     >
> >     >         Regards,
> >     >
> >     >         --
> >     >         Anca Vamanu
> >     >         www.voice-system.ro <http://www.voice-system.ro>
> >     <http://www.voice-system.ro>
> >     >
> >     >
> >     >
> >     >         Daniel Goepp wrote:
> >     >         > I just checked out a fresh copy of the 1.6 branch,
> updated
> >     >         my Makefile
> >     >         > making just the following changes:
> >     >         >
> >     >         > exclude_modules?= jabber xmpp rls mi_xmlrpc xcap_client \
> >     >         >         db_postgres db_unixodbc db_oracle db_berkeley
> >     >         aaa_radius \
> >     >         >         osp perlvdb mmgeoip \
> >     >         >         presence presence_xml presence_mwi
> >     presence_dialoginfo \
> >     >         >         pua pua_bla pua_mi pua_usrloc pua_xmpp
> >     pua_dialoginfo \
> >     >         >         ldap h350 memcached db_http json
> >     >         >
> >     >         > No errors on the install, but am getting this when I
> >     try to
> >     >         create the DB:
> >     >         >
> >     >         > root at ip-10-251-126-130:/usr/local/etc/opensips#
> >     >         opensipsdbctl create
> >     >         >
> >     /usr/local/lib/opensips/opensipsctl/opensipsdbctl.base: 35:
> >     >         Syntax
> >     >         > error: Missing '}'
> >     >         >
> >     >         > Never had this one before.  Ideas?  I'm going to see if I
> >     >         can manually
> >     >         > fix, but wondering if this is something broken in the
> >     source.
> >     >         >
> >     >         > Thanks.
> >     >         >
> >     >         > -dg
> >     >         >
> >
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100622/3e5a1731/attachment-0001.htm 


More information about the Users mailing list