[Spce-user] error starting rtpproxy

Stefan Sayer stefan.sayer at googlemail.com
Mon Dec 6 10:26:13 EST 2010


Hi,

o Andreas Granig on 12/06/2010 04:19 PM:
> Hi Stefan,
> 
> On 12/06/2010 03:51 PM, Stefan Sayer wrote:
>> when I recreate ngcp config, rtpproxy startup fails:
>>
>> # ngcpcfg apply
>> Generating /etc/odbcinst.ini: OK
>>
>> [...]
>>
>> Generating /etc/ngcp-ossbss/logging.conf: OK
>> Executing postbuild for /etc/ngcp-ossbss/logging.conf
>> Generating /etc/ngcp-ossbss/provisioning.conf: OK
>> Executing postbuild for /etc/ngcp-ossbss/provisioning.conf
>> Generating /etc/crontab: OK
>> Generating /etc/collectd/collectd.conf: OK
>> Executing action for
>> /etc/ngcp-config/templates/etc/asterisk/ngcpcfg.services
>> Stopping Asterisk PBX: asterisk.
>> Starting Asterisk PBX: asterisk.
>> Executing action for
>> /etc/ngcp-config/templates/etc/default/rtpproxy.services
>> Restarting RTP relay: /usr/sbin/rtpproxy: invalid option -- d
>> usage: rtpproxy [-2fvF] [-l addr1[/addr2]] [-6 addr1[/addr2]] [-s path]
>>         [-t tos] [-r rdir [-S sdir]] [-T ttl] [-L nfiles] [-m port_min]
>>         [-M port_max] [-u uname[:gname]]
>>
>>
>> the offending line apparently is "-d INFO" in /etc/defaults/rtpproxy
> 
> This is because your installation didn't go trough cleanly (as discussed
> off-the-list), so you ended up with some wrong package versions after
> manually resolving some conflicts.
weird, looks to me like it's getting the rtpproxy packages through the 
repo that ngcp installer added.

> 
> We're going to reproduce the install issues. In the meanwhile, could you
> please double-check if your /etc/apt/sources.list is identical to
> /usr/share/ngcp-installer/sources.list, and if so, try "apt-get update;
> apt-get upgrade" to fetch the right package versions?
yes, they are the same:
ps38824:/usr/share/ngcp-installer# diff /etc/apt/sources.list 
/usr/share/ngcp-installer/sources.list
ps38824:/usr/share/ngcp-installer# apt-get update 

Hit http://deb.kamailio.org lenny Release.gpg 

Ign http://deb.kamailio.org lenny/main Translation-en_US 
 

Hit http://www.ksplice.com lenny Release.gpg 
 

Ign http://www.ksplice.com lenny/ksplice Translation-en_US 
 

Hit http://www.ksplice.com lenny Release 
 

Hit http://ftp.de.debian.org lenny Release.gpg 
 

Ign http://ftp.de.debian.org lenny/main Translation-en_US 
 

Hit http://security.debian.org lenny/updates Release.gpg 
 

Ign http://security.debian.org lenny/updates/main Translation-en_US 
 

Hit http://volatile.debian.org lenny/volatile Release.gpg 
 

Ign http://volatile.debian.org lenny/volatile/main Translation-en_US 
 

Hit http://deb.sipwise.com lenny Release.gpg
Ign http://deb.sipwise.com lenny/main Translation-en_US
Ign http://deb.sipwise.com lenny-backports Release.gpg
Ign http://deb.sipwise.com lenny-backports/main Translation-en_US
Hit http://repo.percona.com lenny Release.gpg
Ign http://repo.percona.com lenny/main Translation-en_US
Ign http://deb.sipdoc.net debian Release.gpg
Ign http://deb.sipdoc.net debian/main Translation-en_US
Hit http://deb.kamailio.org lenny Release
Hit http://security.debian.org lenny/updates Release
Hit http://ftp.de.debian.org lenny Release
Hit http://volatile.debian.org lenny/volatile Release
Hit http://deb.sipwise.com lenny Release
Hit http://deb.sipwise.com lenny-backports Release
Hit http://repo.percona.com lenny Release
Hit http://deb.sipdoc.net debian Release
Ign http://deb.sipdoc.net debian/main Packages/DiffIndex
Ign http://deb.sipwise.com lenny-backports/main Packages/DiffIndex
Ign http://deb.sipdoc.net debian/main Packages
Ign http://deb.sipwise.com lenny-backports/main Packages
Hit http://deb.sipdoc.net debian/main Packages
Hit http://deb.sipwise.com lenny-backports/main Packages
Ign http://security.debian.org lenny/updates/main Packages/DiffIndex
Hit http://security.debian.org lenny/updates/main Packages
Ign http://www.ksplice.com lenny/ksplice Packages/DiffIndex
Ign http://deb.kamailio.org lenny/main Packages/DiffIndex
Ign http://www.ksplice.com lenny/ksplice Sources/DiffIndex
Ign http://repo.percona.com lenny/main Packages/DiffIndex
Ign http://repo.percona.com lenny/main Packages
Hit http://repo.percona.com lenny/main Packages
Hit http://www.ksplice.com lenny/ksplice Packages
Ign http://ftp.de.debian.org lenny/main Packages/DiffIndex
Ign http://volatile.debian.org lenny/volatile/main Packages/DiffIndex
Ign http://deb.kamailio.org lenny/main Packages
Hit http://www.ksplice.com lenny/ksplice Sources
Ign http://deb.sipwise.com lenny/main Packages/DiffIndex
Hit http://volatile.debian.org lenny/volatile/main Packages
Hit http://ftp.de.debian.org lenny/main Packages
Hit http://deb.kamailio.org lenny/main Packages
Ign http://deb.sipwise.com lenny/main Packages
Hit http://deb.sipwise.com lenny/main Packages
Reading package lists... Done
ps38824:/usr/share/ngcp-installer# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
   libmysqlclient15-dev
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
ps38824:/usr/share/ngcp-installer#


Stefan

> 
> Andreas
> 


-- 
Stefan Sayer
VoIP Services Consulting and Development

Warschauer Str. 24
10243 Berlin

tel:+491621366449
sip:sayer at iptel.org
email/xmpp:stefan.sayer at gmail.com






More information about the Spce-user mailing list