[NFPBX] Meine Telefon taucht nicht auf dem Dashboard auf

dl3sd at ixyd.net dl3sd at ixyd.net
Fr Feb 10 21:05:58 CET 2023


Ich hab grade gesehen, dass wir gestern noch von einem 192.x.x.x Netz geredet haben ;)
 
Ggf. hat sich das Provisioning durch die vorher falsche IP-Detection selber "vom Snom entfernt.."
Im Log vom phonemgmtd eben war keine Provisionierung zu sehen.
 
Will sagen, bitte prüf nochmal die Setting-Url auf dem Snom..
 
Ggf. löst sich dann auch das Problem mit der SIP Anmeldung..
 
73 de DL3SD

> Hans-Jürgen Bersch DL7ATR via notfunk_pbx <notfunk_pbx at lists.darc.de> hat am 10.02.2023 20:23 CET geschrieben:
>  
>  
> Typo bei mir, alle Adressen sind 10.144.191.xxx
> 
> Am 10.02.2023 20:06 schrieb DL3SD via notfunk_pbx <notfunk_pbx at lists.darc.de>:
> 
> > Ah Mist, ich bin da gedanklich eben falsch abgebogen..
> >  
> > Nach dem restart des ganzen Stacks kann es gut sein, dass der phonemgmtd schneller startet als die DB.
> > Daher kommen die Fehlermeldungen.. unten sieht man allerdings, dass er dann korrekt gestartet hat.
> >  
> > Interessant ist dabei folgende Zeile:
> > time="2023-02-10T16:42:36Z" level=info msg="pbxAddress: 10.144.191.83"
> >  
> > Vorhin hattest du geschrieben:
> > "Rechner mit ntpbx auf 10.144.181.83"
> >  
> > Sprich hast du da ggf. einen Dreher in der IP in der LOCAL_V4?
> > 191 vs 181
> >  
> > 73 de DL3SD
> >  
> >  
> > 
> > > Hans-Juergen via notfunk_pbx <notfunk_pbx at lists.darc.de> hat am 10.02.2023 19:20 CET geschrieben:
> > >  
> > >  
> > > 
> > > dl7atr at ntpbx:/opt/docker/nfpbx$ docker compose logs db
> > > db  | 2023-02-10 16:42:34+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.9.4+maria~ubu2204 started.
> > > db  | 2023-02-10 16:42:35+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
> > > db  | 2023-02-10 16:42:35+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.9.4+maria~ubu2204 started.
> > > db  | 2023-02-10 16:42:35+00:00 [Note] [Entrypoint]: MariaDB upgrade not required
> > > db  | 2023-02-10 16:42:35 0 [Note] mariadbd (server 10.9.4-MariaDB-1:10.9.4+maria~ubu2204) starting as process 1 ...
> > > db  | 2023-02-10 16:42:35 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
> > > db  | 2023-02-10 16:42:35 0 [Note] InnoDB: Number of transaction pools: 1
> > > db  | 2023-02-10 16:42:35 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
> > > db  | 2023-02-10 16:42:35 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts)
> > > db  | 2023-02-10 16:42:35 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB
> > > db  | 2023-02-10 16:42:35 0 [Note] InnoDB: Completed initialization of buffer pool
> > > db  | 2023-02-10 16:42:35 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes)
> > > db  | 2023-02-10 16:42:35 0 [Note] InnoDB: 128 rollback segments are active.
> > > db  | 2023-02-10 16:42:35 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ...
> > > db  | 2023-02-10 16:42:35 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB.
> > > db  | 2023-02-10 16:42:35 0 [Note] InnoDB: log sequence number 88847; transaction id 130
> > > db  | 2023-02-10 16:42:35 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
> > > db  | 2023-02-10 16:42:35 0 [Note] Plugin 'FEEDBACK' is disabled.
> > > db  | 2023-02-10 16:42:35 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work.
> > > db  | 2023-02-10 16:42:35 0 [Note] Server socket created on IP: '0.0.0.0'.
> > > db  | 2023-02-10 16:42:35 0 [Note] Server socket created on IP: '::'.
> > > db  | 2023-02-10 16:42:35 0 [Note] InnoDB: Buffer pool(s) load completed at 230210 16:42:35
> > > db  | 2023-02-10 16:42:35 0 [Note] mariadbd: ready for connections.
> > > db  | Version: '10.9.4-MariaDB-1:10.9.4+maria~ubu2204'  socket: '/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution
> > > db  | 2023-02-10 17:38:36 6 [Warning] Aborted connection 6 to db: 'unconnected' user: 'unauthenticated' host: '127.0.0.1' (This connection closed normally without authentication)
> > > db  | 2023-02-10 17:38:36 7 [Warning] Aborted connection 7 to db: 'unconnected' user: 'unauthenticated' host: '127.0.0.1' (This connection closed normally without authentication)
> > > 
> > >  
> > > 
> > >  
> > > 
> > > Am 2023-02-10 18:48, schrieb DL3SD via notfunk_pbx:
> > > 
> > > > Ah ok, der phonemgmtd kann die Datenbank nicht erreichen.. vermutlich klemmt da was beim Starten der Datenbank.
> > > > Zeig mal bitte die Ausgabe von:
> > > >  
> > > > docker compose logs db
> > > >  
> > > > Darin ist vermutlich zu sehen, was das Problem ist..
> > > >  
> > > > 73 de DL3SD
> > > > 
> > > > > 
> > > > > dl7atr at ntpbx:/opt/docker/nfpbx$ docker logs phonemgmtd
> > > > > PBXADDRESS: 10.144.191.83
> > > > > time="2023-02-10T16:42:35Z" level=error msg="db not pingable: dial tcp 127.0.0.1:3306: connect: connection refused"
> > > > > panic: runtime error: invalid memory address or nil pointer dereference
> > > > > [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x54a3d3]
> > > > > 
> > > > > goroutine 1 [running]:
> > > > > database/sql.(*DB).conn(0x0, {0x80d248, 0xc0000a8000}, 0x1)
> > > > >     /usr/local/go/src/database/sql/sql.go:1290 +0x53
> > > > > database/sql.(*DB).query(0xc0000be040?, {0x80d248, 0xc0000a8000}, {0x78fb24, 0x50}, {0x0, 0x0, 0x0}, 0x10?)
> > > > >     /usr/local/go/src/database/sql/sql.go:1732 +0x5d
> > > > > database/sql.(*DB).QueryContext(0x2?, {0x80d248, 0xc0000a8000}, {0x78fb24, 0x50}, {0x0, 0x0, 0x0})
> > > > >     /usr/local/go/src/database/sql/sql.go:1710 +0xda
> > > > > database/sql.(*DB).QueryRowContext(...)
> > > > >     /usr/local/go/src/database/sql/sql.go:1815
> > > > > database/sql.(*DB).QueryRow(0x0?, {0x78fb24?, 0x0?}, {0x0?, 0x641384d6174d62e?, 0xc000016000?})
> > > > >     /usr/local/go/src/database/sql/sql.go:1829 +0x4a
> > > > > main.initDatabase()
> > > > >     /phonemgmtd/cmd/phonemgmtd/db.go:89 +0x65
> > > > > main.init.0()
> > > > >     /phonemgmtd/cmd/phonemgmtd/main.go:38 +0x385
> > > > > 
> > > > 
> > > 
> > 
> 
-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <https://lists.darc.de/mailman/private/notfunk_pbx/attachments/20230210/161666c7/attachment-0001.html>


Mehr Informationen über die Mailingliste notfunk_pbx