[NFPBX] Meine Telefon taucht nicht auf dem Dashboard auf

dl7atr at darc.de dl7atr at darc.de
Fr Feb 10 19:20:50 CET 2023



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/20683bec/attachment-0001.html>


Mehr Informationen über die Mailingliste notfunk_pbx