[OpenSIPS-Users] MySQL connection error
Barsan Liviu
barsanl at yahoo.com
Fri Jun 10 15:03:05 CEST 2011
Hello,
The opensips -h returns what is expected:
root at P4302:~# opensips -h
version: opensips 1.6.4-2-notls (i386/linux)
Usage: opensips -l address [-l address ...] [options]
...
I haven't any file in /usr/local/atc
And I see now the first time that cfg-target can be given at make.
Thanks,
Liviu
________________________________
From: Andrew Pogrebennyk <andrew.pogrebennyk at portaone.com>
To: Barsan Liviu <barsanl at yahoo.com>
Cc: opensipusers <Users at lists.opensips.org>
Sent: Fri, June 10, 2011 3:55:43 PM
Subject: Re: [OpenSIPS-Users] MySQL connection error
Liviu,
On 10.06.2011 15:45, Barsan Liviu wrote:
> Last installation was from sources, something like:
> 1. Copy the tar to /usr/src
> 2. untar
> 3. cd opensips-1.6.2-tls
> 4. make prefix=/
> make prefix=/ modules
> make prefix=/ install
>
> As far as I know this is the standard installation.
Please reply to the mailing list or keep it in the CC field.
IIRC I was using the following build commands:
make prefix=/usr cfg-target=/etc/opensips/ all
make prefix=/usr cfg-target=/etc/opensips/ install
Run opensips -h, what does the -f option tell you?
Like:
$ opensips -h
version: opensips 1.6.1-notls (i386/linux)
Usage: opensips -l address [-l address ...] [options]
Options:
-f file Configuration file (default
/usr/local/etc/opensips/opensips.cfg)
> Maybe can help the output from *find / -name 'opensips*'*:
>
> /lib/opensips
> /lib/opensips/opensipsctl
> /lib/opensips/opensipsctl/opensipsctl.sqlbase
> /lib/opensips/opensipsctl/opensipsdbctl.dbtext
> /lib/opensips/opensipsctl/opensipsctl.dbtext
> /lib/opensips/opensipsctl/opensipsctl.fifo
> /lib/opensips/opensipsctl/opensipsctl.unixsock
> /lib/opensips/opensipsctl/opensipsctl.base
> /lib/opensips/opensipsctl/opensipsctl.ctlbase
> /lib/opensips/opensipsctl/opensipsdbctl.base
> /etc/init.d/opensips-mi-proxy
> /etc/opensips-mi-proxy
> /etc/opensips
> /etc/opensips/opensips.cfg
> /etc/opensips/opensipsctlrc
> /usr/lib/python2.5/site-packages/xcap/interfaces/opensips.py
> /usr/lib/python2.5/site-packages/xcap/interfaces/backend/opensips.py
> /usr/lib/python2.6/dist-packages/xcap/interfaces/opensips.pyc
> /usr/lib/python2.6/dist -packages/xcap/interfaces/opensips.py
> /usr/lib/python2.6/dist-packages/xcap/interfaces/backend/opensips.pyc
> /usr/lib/python2.6/dist-packages/xcap/interfaces/backend/opensips.py
> /usr/lib/pymodules/python2.6/mediaproxy/interfaces/opensips.pyc
> /usr/lib/pymodules/python2.6/mediaproxy/interfaces/opensips.py
> /usr/lib/pymodules/python2.6/opensips_mi_proxy-1.0.4.egg-info
> /usr/lib/pymodules/python2.6/miproxy/opensips.pyc
> /usr/lib/pymodules/python2.6/miproxy/opensips.py
> /usr/src/opensips-cp
> /usr/src/opensips-cp/config/tools/system/cdrviewer/opensips_cdrs_1_6.pgsql
> /usr/src/opensips-cp/config/tools/system/cdrviewer/opensips_cdrs_1_6.mysql
> /usr/src/opensips-1.6.4-2-tls
> /usr/src/opensips-1.6.4-2-tls/opensipsdbctl.8
> /usr/src/opensips-1.6.4-2-tls/etc/opensips.cfg
> /usr/src/opensips-1.6.4-2-tls/db/schema/opensips-permissions.xml
> /usr/src/opensips-1.6.4-2-tls/db/schema/opensips-uri_db.xml
> /usr/src/opensips-1.6.4-2-tls/db/schema/opensips-rls.xml
> /usr/src/opensips-1.6.4-2-tls/db/schema/opensips-closeddial.xml
> /usr/src/opensips-1.6.4-2-tls/db/schema/opensips-registrar.xml
> /usr/src/opensips-1.6.4-2-tls/db/schema/opensips-alias_db.xml
> /usr/src/opensips-1.6.4-2-tls/db/schema/opensips-imc.xml
> /usr/src/opensips-1.6.4-2-tls/db/schema/opensips-standard.xml
> /usr/src/opensips-1.6.4-2-tls/db/schema/opensips-pdt.xml
> /usr/src/opensips-1.6.4-2-tls/db/schema/opensips-presence.xml
> /usr/src/opensips-1.6.4-2-tls/db/schema/opensips-carrierroute.xml
> /usr/src/opensips-1.6.4-2-tls/db/schema/opensips-dialog.xml
> /usr/src/opensips-1.6.4-2-tls/db/schema/opensips-domainpolicy.xml
> /usr/src/opensips-1.6.4-2-tls/db/schema/opensips-extensions.xml
> /usr/src/opensips-1.6.4-2-tls/ db/schema/opensips-userblacklist.xml
> /usr/src/opensips-1.6.4-2-tls/db/schema/opensips-siptrace.xml
> /usr/src/opensips-1.6.4-2-tls/db/schema/opensips-cpl.xml
> /usr/src/opensips-1.6.4-2-tls/db/schema/opensips-dispatcher.xml
> /usr/src/opensips-1.6.4-2-tls/db/schema/opensips-lcr.xml
> /usr/src/opensips-1.6.4-2-tls/db/schema/opensips-b2b.xml
> /usr/src/opensips-1.6.4-2-tls/db/schema/opensips-usrloc.xml
> /usr/src/opensips-1.6.4-2-tls/db/schema/opensips-auth_db.xml
> /usr/src/opensips-1.6.4-2-tls/db/schema/opensips-nathelper.xml
> /usr/src/opensips-1.6.4-2-tls/db/schema/opensips-group.xml
> /usr/src/opensips-1.6.4-2-tls/db/schema/opensips-drouting.xml
> /usr/src/opensips-1.6.4-2-tls/db/schema/opensips-speeddial.xml
> /usr/src/opensips-1.6.4-2-tls/db/schema/opensips-msilo.xml
> /usr/src/opensips-1.6.4-2-tls/db/schema/opensips-dialplan.xml
> /usr /src/opensips-1.6.4-2-tls/db/schema/opensips-domain.xml
> /usr/src/opensips-1.6.4-2-tls/db/schema/opensips-avpops.xml
> /usr/src/opensips-1.6.4-2-tls/db/schema/opensips-load_balancer.xml
> /usr/src/opensips-1.6.4-2-tls/db/schema/opensips-acc.xml
> /usr/src/opensips-1.6.4-2-tls/utils/opensipsunix
> /usr/src/opensips-1.6.4-2-tls/utils/opensipsunix/opensipsunix.8
> /usr/src/opensips-1.6.4-2-tls/utils/opensipsunix/opensipsunix.c
> /usr/src/opensips-1.6.4-2-tls/utils/opensipsunix/opensipsunix.d
> /usr/src/opensips-1.6.4-2-tls/utils/opensipsunix/opensipsunix.o
> /usr/src/opensips-1.6.4-2-tls/utils/opensipsunix/opensipsunix
> /usr/src/opensips-1.6.4-2-tls/doc/doxygen/opensips-doxygen
> /usr/src/opensips-1.6.4-2-tls/opensips.cfg.5
> /usr/src/opensips-1.6.4-2-tls/packaging/fedora/opensips.spec
> /usr/src/opensips-1.6.4-2-tls/packaging/fedora/opensips.init
> /usr/src/opensips-1.6.4-2-tls/packaging/debian/opensips.default
> /usr/src/opensips-1.6.4-2-tls/packaging/debian/opensips.README.Debian
> /usr/src/opensips-1.6.4-2-tls/packaging/debian/opensips.dirs
> /usr/src/opensips-1.6.4-2-tls/packaging/debian/opensips.init
> /usr/src/opensips-1.6.4-2-tls/packaging/debian/opensips.postinst
> /usr/src/opensips-1.6.4-2-tls/packaging/debian/opensips.examples
> /usr/src/opensips-1.6.4-2-tls/packaging/rpm/opensips.default
> /usr/src/opensips-1.6.4-2-tls/packaging/rpm/opensips.spec.CentOS
> /usr/src/opensips-1.6.4-2-tls/packaging/rpm/opensips.spec.SuSE
> /usr/src/opensips-1.6.4-2-tls/packaging/rpm/opensips.init
> /usr/src/opensips-1.6.4-2-tls/packaging/rpm/opensips.init.SuSE
> /usr/src/opensips-1.6.4-2-tls/packaging/debian-etch/opensips.default
> /usr/src/opensips-1.6.4-2-tls/packaging/debian-etch/opensips.README.Debian
> /usr/src/opensips-1.6.4-2-tls/packaging/debian-etch/opensips.dirs
> /usr/src/opensips-1.6.4-2-tls/packaging/debian-etch/opensips.init
> /usr/src/opensips-1.6.4-2-tls/packaging/debian-etch/opensips.postinst
> /usr/src/opensips-1.6.4-2-tls/packaging/debian-etch/opensips.examples
> /usr/src/opensips-1.6.4-2-tls/packaging/gentoo/opensips-1.6.4.ebuild
> /usr/src/opensips-1.6.4-2-tls/packaging/gentoo/opensips.init
> /usr/src/opensips-1.6.4-2-tls/opensips
> /usr/src/opensips-1.6.4-2-tls/opensips.8
> /usr/src/opensips-1.6.4-2-tls/scripts/opensipsctl.8
> /usr/src/opensips-1.6.4-2-tls/scripts/opensipsctl.sqlbase
> /usr/src/opensips-1.6.4-2-tls/scripts/opensipsctl.db_berkeley
> /usr/src/opensips-1.6.4-2-tls/scripts/opensipsdbctl.oracle
> /usr/src/opensips-1.6.4-2-tls/scripts/opensipsdbctl.mysql
> /usr/src/opensips-1.6.4-2-tls/scripts/opensipsdbctl.dbtex t
> /usr/src/opensips-1.6.4-2-tls/scripts/opensipsctl.pgsql
> /usr/src/opensips-1.6.4-2-tls/scripts/opensipsdbctl
> /usr/src/opensips-1.6.4-2-tls/scripts/opensipsctl.oracle
> /usr/src/opensips-1.6.4-2-tls/scripts/opensipsctl.dbtext
> /usr/src/opensips-1.6.4-2-tls/scripts/opensipsdbctl.db_berkeley
> /usr/src/opensips-1.6.4-2-tls/scripts/opensipsctl.fifo
> /usr/src/opensips-1.6.4-2-tls/scripts/opensipsdbfunc.oracle
> /usr/src/opensips-1.6.4-2-tls/scripts/dbtext/opensips
> /usr/src/opensips-1.6.4-2-tls/scripts/opensipsctl.unixsock
> /usr/src/opensips-1.6.4-2-tls/scripts/opensipsdbctl.pgsql
> /usr/src/opensips-1.6.4-2-tls/scripts/opensipsctl.base
> /usr/src/opensips-1.6.4-2-tls/scripts/opensipsctl.ctlbase
> /usr/src/opensips-1.6.4-2-tls/scripts/opensipsdbctl.base
> /usr/src/opensips-1.6.4-2-tls/scripts/opensipsctlrc
> /usr/src/opensips-1.6 .4-2-tls/scripts/opensipsctl.mysql
> /usr/src/opensips-1.6.4-2-tls/scripts/opensipsctl
> /usr/src/opensips-1.6.4-2-tls/scripts/db_berkeley/opensips
> /usr/src/opensips-1.6.4-2-tls/modules/perl/opensipsxs.xs
> /usr/src/opensips-1.6.4-2-tls/modules/xmpp/doc/opensips-xmpp.cfg
> /usr/src/opensips-1.6.4-2-tls_src.tar.gz
> /usr/src/opensips-cp_4.0.tgz
> /usr/bin/opensips-mi-proxy
> /usr/share/pyshared/mediaproxy/interfaces/opensips.py
> /usr/share/pyshared/opensips_mi_proxy-1.0.4.egg-info
> /usr/share/pyshared/xcap/interfaces/opensips.py
> /usr/share/pyshared/xcap/interfaces/backend/opensips.py
> /usr/share/pyshared/miproxy/opensips.py
> /usr/share/doc/opensips-mi-proxy
> /usr/share/man/man1/opensips-mi-proxy.1.gz
> /usr/share/python-support/opensips-mi-proxy.public
> /tmp/opensipsInstall.log
> /var/lib/update-rc.d/opensips-m i-proxy
> /var/lib/dpkg/info/opensips-mi-proxy.list
> /var/lib/dpkg/info/opensips-mi-proxy.conffiles
> /var/lib/dpkg/info/opensips-mi-proxy.md5sums
> /var/lib/dpkg/info/opensips-mi-proxy.prerm
> /var/lib/dpkg/info/opensips-mi-proxy.postinst
> /var/lib/dpkg/info/opensips-mi-proxy.postrm
> /var/lib/mysql/opensips
> /var/cache/apt/archives/opensips-mi-proxy_1.0.4_all.deb
> /var/www/opensips-cp
> /var/www/opensips-cp/config/tools/system/cdrviewer/opensips_cdrs_1_6.pgsql
> /var/www/opensips-cp/config/tools/system/cdrviewer/opensips_cdrs_1_6.mysql
> /var/run/opensips-mi-proxy
> /var/log/opensips.log
> /sbin/opensipsdbctl
> /sbin/opensips
> /sbin/opensipsctl
> /sbin/opensipsunix
> /share/doc/opensips
> /share/man/man8/opensipsctl.8
> /share/man/man8/opensipsunix.8
> /share/man/man8/opensips.8
> /share/man/man5/opensips.cfg.5
> /share/opensips
> /share/opensips/dbtext/opensips
>
> Thanks,
> Liviu
--
Sincerely,
Andrew Pogrebennyk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110610/90af761d/attachment-0001.htm>
More information about the Users
mailing list