OpenGGSN (was Re: OpenBTS error)

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Harald Welte laforge at gnumonks.org
Thu Aug 23 09:03:47 UTC 2012


Hi Arturo,

please make sure your subject is correct.  Your message is not about
OpenBTS, but about OpenGGSN.

Secondly, OpenGGSN has its own mailing list, which is the better place
to ask your question:

On Wed, Aug 22, 2012 at 07:14:22PM +0200, Arturo Rivas wrote:
> *openggsn[7002]: gtp.c: 719: State information file (/var/lib/ggsn/gsn_restart) not found. Creating new file.*
> *openggsn[7002]: gtp.c: 740: fopen(path=/var/lib/ggsn/gsn_restart, mode=w) failed: Error = No such file or directory*

This is also very clear: It tries to create the file
/var/lib/ggsn/gsn_restart, but apparently the directory /var/lib/ggsn
does not exist!

> *openggsn[7002]: gtp.c: 808: bind(fd0=4, addr=bf86f8dc, len=16) failed: Error = Address already in use*
> *openggsn[7002]: ggsn.c: 498: Failed to create gtp*

Even more clear: the GTP protocol has already bound to, i.e. you have
some other process running that has already claimed the GTP protocol on
your specified IP address.

GTP is a layer4 protocol, not layer5 like http/ftp.  You cannot have
multiple prgrams using GTP on the same IP address.  Only one GTP socket
can be opened for each address.  In case of doubt, run GGSN and SGSN on
separate machines.

-- 
- Harald Welte <laforge at gnumonks.org>           http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
                                                  (ETSI EN 300 175-7 Ch. A6)




More information about the OpenBSC mailing list