Surveillance Station Fehlermeldung aus dem auth.log

ctrlaltdelete

Benutzer
Contributor
Sehr erfahren
Maintainer
Mitglied seit
30. Dez 2012
Beiträge
13.633
Punkte für Reaktionen
5.809
Punkte
524
Kann jemand was mit dieser Fehlermeldung aus dem auth.log anfangen, die kommt "haufenweise"

cat /var/log/auth.log
Code:
2024-08-15T20:59:52+02:00 DS920plus ssmessaged_SYNO.SurveillanceStation.Camera_8_List[2482]: APIPriority.cpp:198 ERROR: IF_RUN_AS(0, 0)
2024-08-15T21:00:32+02:00 DS920plus ssmessaged_SYNO.SurveillanceStation.Camera_8_List[2482]: APIPriority.cpp:198 ERROR: IF_RUN_AS(0, 0)
2024-08-15T21:00:33+02:00 DS920plus ssmessaged_SYNO.SurveillanceStation.Camera_8_List[2482]: APIPriority.cpp:198 ERROR: IF_RUN_AS(0, 0)
2024-08-15T21:01:35+02:00 DS920plus ssmessaged_SYNO.SurveillanceStation.Camera_8_List[2482]: APIPriority.cpp:198 ERROR: IF_RUN_AS(0, 0)
2024-08-15T21:09:52+02:00 DS920plus ssmessaged_SYNO.SurveillanceStation.Camera_8_List[2482]: APIPriority.cpp:198 ERROR: IF_RUN_AS(0, 0)
2024-08-15T21:19:52+02:00 DS920plus ssmessaged_SYNO.SurveillanceStation.Camera_8_List[2482]: APIPriority.cpp:198 ERROR: IF_RUN_AS(0, 0)
 

c0smo

Benutzer
Contributor
Sehr erfahren
Maintainer
Mitglied seit
08. Mai 2015
Beiträge
7.485
Punkte für Reaktionen
1.653
Punkte
274
Heute gabs zwei Systemweite Vorfälle. Vielleicht hängt es damit zusammen?

Hast du auch ältere Einträge?
 

ctrlaltdelete

Benutzer
Contributor
Sehr erfahren
Maintainer
Mitglied seit
30. Dez 2012
Beiträge
13.633
Punkte für Reaktionen
5.809
Punkte
524
ja, haufenweise ältere.
 

ctrlaltdelete

Benutzer
Contributor
Sehr erfahren
Maintainer
Mitglied seit
30. Dez 2012
Beiträge
13.633
Punkte für Reaktionen
5.809
Punkte
524
Kann das mit meiner verschobenen PostgresDB zu tun haben, die habe auf Volume2 verschoben
Code:
2024-07-22T03:51:11+02:00 DS920plus ssmessaged_SYNO.SurveillanceStation.Camera_8_List[11857]: APIPriority.cpp:198 ERROR: IF_RUN_AS(0, 0)
2024-07-22T04:00:05+02:00 DS920plus sudo[31359]:     root : PWD=/ ; USER=postgres ; COMMAND=/bin/psql -Atc SELECT COUNT(*) FROM pg_roles WHERE rolname='SurveillanceStation'
2024-07-22T04:00:05+02:00 DS920plus sudo[31359]: pam_unix(sudo:session): session opened for user postgres by (uid=0)
2024-07-22T04:00:05+02:00 DS920plus sudo[31359]: pam_unix(sudo:session): session closed for user postgres
 

c0smo

Benutzer
Contributor
Sehr erfahren
Maintainer
Mitglied seit
08. Mai 2015
Beiträge
7.485
Punkte für Reaktionen
1.653
Punkte
274
Man findet nicht viel dazu. Ausser das hier. Da geht's aber in Richtung Paketmanager.
 
  • Like
Reaktionen: ctrlaltdelete

ctrlaltdelete

Benutzer
Contributor
Sehr erfahren
Maintainer
Mitglied seit
30. Dez 2012
Beiträge
13.633
Punkte für Reaktionen
5.809
Punkte
524
Aber in der Postgres finde ich keine Surveillance:
Code:
postgres@DS920plus:~$ psql --list
                                            List of databases
     Name     |           Owner            | Encoding  |  Collate   |   Ctype    |   Access privileges   
--------------+----------------------------+-----------+------------+------------+-----------------------
 calendar     | synocalendar               | SQL_ASCII | C          | C          |
 download     | DownloadStation            | SQL_ASCII | C          | C          |
 mediaserver  | MediaIndex                 | UTF8      | en_US.utf8 | en_US.utf8 |
 notestation  | NoteStation                | SQL_ASCII | C          | C          |
 ong          | SynologyApplicationService | SQL_ASCII | C          | C          |
 postgres     | postgres                   | SQL_ASCII | C          | C          |
 synocontacts | Contacts                   | UTF8      | C          | C          |
 synodrive    | postgres                   | SQL_ASCII | C          | C          |
 synofoto     | SynologyPhotos             | UTF8      | C          | C          |
 synoindex    | MediaIndex                 | SQL_ASCII | C          | C          |
 template0    | postgres                   | SQL_ASCII | C          | C          | =c/postgres          +
              |                            |           |            |            | postgres=CTc/postgres
 template1    | postgres                   | SQL_ASCII | C          | C          | =c/postgres          +
              |                            |           |            |            | postgres=CTc/postgres
(12 rows)
 

c0smo

Benutzer
Contributor
Sehr erfahren
Maintainer
Mitglied seit
08. Mai 2015
Beiträge
7.485
Punkte für Reaktionen
1.653
Punkte
274
Aber den AplicationService. Dann vielleicht doch Richtung Paketmanager.
 

ctrlaltdelete

Benutzer
Contributor
Sehr erfahren
Maintainer
Mitglied seit
30. Dez 2012
Beiträge
13.633
Punkte für Reaktionen
5.809
Punkte
524
So ein Mist, seit die Postgres auf dem NVME Volume liegt sind die HDDs super "still".
 

ctrlaltdelete

Benutzer
Contributor
Sehr erfahren
Maintainer
Mitglied seit
30. Dez 2012
Beiträge
13.633
Punkte für Reaktionen
5.809
Punkte
524
@DaveR can you please have a look to this error message from auth.log?
I think this problem occured after i moved the PostgresDb to Volume2
https://www.synology-forum.de/threads/synology-postgres-db-auf-volume-2-nvme-ssd-verschieben.133628
Code:
2024-08-14T07:02:55+02:00 DS920plus sudo[9362]: pam_unix(sudo:session): session opened for user SynologyApplicationService by (uid=0)
2024-08-14T07:02:56+02:00 DS920plus sudo[9362]: pam_unix(sudo:session): session closed for user SynologyApplicationService
2024-08-14T07:10:55+02:00 DS920plus ssmessaged_SYNO.SurveillanceStation.Camera_8_List[2482]: APIPriority.cpp:198 ERROR: IF_RUN_AS(0, 0)
2024-08-14T07:20:55+02:00 DS920plus ssmessaged_SYNO.SurveillanceStation.Camera_8_List[2482]: APIPriority.cpp:198 ERROR: IF_RUN_AS(0, 0)
2024-08-14T07:30:55+02:00 DS920plus ssmessaged_SYNO.SurveillanceStation.Camera_8_List[2482]: APIPriority.cpp:198 ERROR: IF_RUN_AS(0, 0)
2024-08-14T07:33:51+02:00 DS920plus ssmessaged_SYNO.SurveillanceStation.Camera_8_List[2482]: APIPriority.cpp:198 ERROR: IF_RUN_AS(0, 0)
2024-08-14T07:33:52+02:00 DS920plus ssmessaged_SYNO.SurveillanceStation.Camera_8_List[2482]: APIPriority.cpp:198 ERROR: IF_RUN_AS(0, 0)
2024-08-14T07:35:35+02:00 DS920plus ssmessaged_SYNO.SurveillanceStation.Camera_8_List[2482]: APIPriority.cpp:198 ERROR: IF_RUN_AS(0, 0)
2024-08-14T07:40:56+02:00 DS920plus ssmessaged_SYNO.SurveillanceStation.Camera_8_List[2482]: APIPriority.cpp:198 ERROR: IF_RUN_AS(0, 0)
2024-08-14T07:50:56+02:00 DS920plus ssmessaged_SYNO.SurveillanceStation.Camera_8_List[2482]: APIPriority.cpp:198 ERROR: IF_RUN_AS(0, 0)
2024-08-14T07:58:37+02:00 DS920plus sudo[15669]:     root : PWD=/ ; USER=SurveillanceStation ; COMMAND=/var/packages/SurveillanceStation/target/bin/sqlite3 -init /dev/null -cmd .timeout 300000 /var/packages/SurveillanceStation/target/system.db SELECT path from recordingshare WHERE owner_ds_id = 0 AND mount_type = 0;
2024-08-14T07:58:37+02:00 DS920plus sudo[15669]: pam_unix(sudo:session): session opened for user SurveillanceStation by (uid=0)
2024-08-14T07:58:37+02:00 DS920plus sudo[15669]: pam_unix(sudo:session): session closed for user SurveillanceStation
2024-08-14T08:00:04+02:00 DS920plus sudo[19645]:     root : PWD=/ ; USER=postgres ; COMMAND=/bin/psql -Atc SELECT COUNT(*) FROM pg_roles WHERE rolname='SurveillanceStation'
2024-08-14T08:00:04+02:00 DS920plus sudo[19645]: pam_unix(sudo:session): session opened for user postgres by (uid=0)
2024-08-14T08:00:04+02:00 DS920plus sudo[19645]: pam_unix(sudo:session): session closed for user postgres
2024-08-14T08:00:04+02:00 DS920plus sudo[19911]:     root : PWD=/ ; USER=postgres ; COMMAND=/bin/psql -Atc SELECT COUNT(*) FROM pg_roles WHERE rolname='SurveillanceStation'
2024-08-14T08:00:04+02:00 DS920plus sudo[19911]: pam_unix(sudo:session): session opened for user postgres by (uid=0)
2024-08-14T08:00:04+02:00 DS920plus sudo[19911]: pam_unix(sudo:session): session closed for user postgres
2024-08-14T08:00:05+02:00 DS920plus sudo[21328]:     root : PWD=/ ; USER=postgres ; COMMAND=/bin/psql -Atc SELECT COUNT(*) FROM pg_roles WHERE rolname='SurveillanceStation'
2024-08-14T08:00:05+02:00 DS920plus sudo[21328]: pam_unix(sudo:session): session opened for user postgres by (uid=0)
2024-08-14T08:00:05+02:00 DS920plus sudo[21328]: pam_unix(sudo:session): session closed for user postgres
2024-08-14T08:00:06+02:00 DS920plus sudo[21361]:     root : PWD=/ ; USER=postgres ; COMMAND=/bin/psql -Atc SELECT COUNT(*) FROM pg_roles WHERE rolname='SurveillanceStation'
2024-08-14T08:00:06+02:00 DS920plus sudo[21361]: pam_unix(sudo:session): session opened for user postgres by (uid=0)
2024-08-14T08:00:06+02:00 DS920plus sudo[21361]: pam_unix(sudo:session): session closed for user postgres
2024-08-14T08:00:06+02:00 DS920plus sudo[21394]:     root : PWD=/ ; USER=postgres ; COMMAND=/bin/psql -Atc SELECT COUNT(*) FROM pg_roles WHERE rolname='SurveillanceStation'
2024-08-14T08:00:06+02:00 DS920plus sudo[21394]: pam_unix(sudo:session): session opened for user postgres by (uid=0)
2024-08-14T08:00:06+02:00 DS920plus sudo[21394]: pam_unix(sudo:session): session closed for user postgres
2024-08-14T08:00:24+02:00 DS920plus ssmessaged_SYNO.SurveillanceStation.Camera_8_List[2482]: APIPriority.cpp:198 ERROR: IF_RUN_AS(0, 0)
2024-08-14T08:10:24+02:00 DS920plus ssmessaged_SYNO.SurveillanceStation.Camera_8_List[2482]: APIPriority.cpp:198 ERROR: IF_RUN_AS(0, 0)
2024-08-14T08:14:42+02:00 DS920plus sudo[23554]:     root : PWD=/ ; USER=postgres ; COMMAND=/bin/psql -Atc SELECT COUNT(*) FROM pg_roles WHERE rolname='SurveillanceStation'
2024-08-14T08:14:42+02:00 DS920plus sudo[23554]: pam_unix(sudo:session): session opened for user postgres by (uid=0)
2024-08-14T08:14:42+02:00 DS920plus sudo[23554]: pam_unix(sudo:session): session closed for user postgres
2024-08-14T08:14:42+02:00 DS920plus sudo[23593]:     root : PWD=/ ; USER=postgres ; COMMAND=/bin/psql -Atc SELECT COUNT(*) FROM pg_roles WHERE rolname='SurveillanceStation'
2024-08-14T08:14:42+02:00 DS920plus sudo[23593]: pam_unix(sudo:session): session opened for user postgres by (uid=0)
2024-08-14T08:14:42+02:00 DS920plus sudo[23593]: pam_unix(sudo:session): session closed for user postgres
2024-08-14T08:15:08+02:00 DS920plus sudo[26047]:     root : PWD=/ ; USER=postgres ; COMMAND=/bin/psql -Atc SELECT COUNT(*) FROM pg_roles WHERE rolname='SurveillanceStation'
2024-08-14T08:15:08+02:00 DS920plus sudo[26047]: pam_unix(sudo:session): session opened for user postgres by (uid=0)
2024-08-14T08:15:08+02:00 DS920plus sudo[26047]: pam_unix(sudo:session): session closed for user postgres
2024-08-14T08:15:08+02:00 DS920plus sudo[26077]:     root : PWD=/ ; USER=postgres ; COMMAND=/bin/psql -Atc SELECT COUNT(*) FROM pg_roles WHERE rolname='SurveillanceStation'
2024-08-14T08:15:08+02:00 DS920plus sudo[26077]: pam_unix(sudo:session): session opened for user postgres by (uid=0)
2024-08-14T08:15:08+02:00 DS920plus sudo[26077]: pam_unix(sudo:session): session closed for user postgres
2024-08-14T08:15:08+02:00 DS920plus sudo[26092]:     root : PWD=/ ; USER=postgres ; COMMAND=/bin/psql -Atc SELECT COUNT(*) FROM pg_roles WHERE rolname='SurveillanceStation'
2024-08-14T08:15:08+02:00 DS920plus sudo[26092]: pam_unix(sudo:session): session opened for user postgres by (uid=0)
2024-08-14T08:15:08+02:00 DS920plus sudo[26092]: pam_unix(sudo:session): session closed for user postgres
2024-08-14T08:15:08+02:00 DS920plus sudo[26111]:     root : PWD=/ ; USER=postgres ; COMMAND=/bin/psql -Atc SELECT COUNT(*) FROM pg_roles WHERE rolname='SurveillanceStation'
2024-08-14T08:15:08+02:00 DS920plus sudo[26111]: pam_unix(sudo:session): session opened for user postgres by (uid=0)
2024-08-14T08:15:08+02:00 DS920plus sudo[26111]: pam_unix(sudo:session): session closed for user postgres
2024-08-14T08:15:09+02:00 DS920plus sudo[26201]:     root : PWD=/ ; USER=postgres ; COMMAND=/bin/psql -Atc SELECT COUNT(*) FROM pg_roles WHERE rolname='SurveillanceStation'
2024-08-14T08:15:09+02:00 DS920plus sudo[26201]: pam_unix(sudo:session): session opened for user postgres by (uid=0)
2024-08-14T08:15:09+02:00 DS920plus sudo[26201]: pam_unix(sudo:session): session closed for user postgres
2024-08-14T08:15:09+02:00 DS920plus sudo[26220]:     root : PWD=/ ; USER=postgres ; COMMAND=/bin/psql -Atc SELECT COUNT(*) FROM pg_roles WHERE rolname='SurveillanceStation'
2024-08-14T08:15:09+02:00 DS920plus sudo[26220]: pam_unix(sudo:session): session opened for user postgres by (uid=0)
2024-08-14T08:15:10+02:00 DS920plus sudo[26220]: pam_unix(sudo:session): session closed for user postgres
2024-08-14T08:15:13+02:00 DS920plus sudo[26522]:     root : PWD=/ ; USER=SynologyApplicationService ; COMMAND=/usr/bin/pg_dump ong
2024-08-14T08:15:13+02:00 DS920plus sudo[26522]: pam_unix(sudo:session): session opened for user SynologyApplicationService by (uid=0)
2024-08-14T08:15:14+02:00 DS920plus sudo[26522]: pam_unix(sudo:session): session closed for user SynologyApplicationService
2024-08-14T08:20:25+02:00 DS920plus ssmessaged_SYNO.SurveillanceStation.Camera_8_List[2482]: APIPriority.cpp:198 ERROR: IF_RUN_AS(0, 0)
 

DaveR

Benutzer
Sehr erfahren
Mitglied seit
30. Mrz 2022
Beiträge
236
Punkte für Reaktionen
492
Punkte
119
Apart from the errors in auth.log are you actually having any issues with Surveillance Station?

I have never moved the /volume1/@postgres folder and I don't have SurveillanceStation in psql --list either. I think those errors are normal. I only occasionally run Surveillance Station to test things and my auth.log has 8,189 entries with:

ssmessaged_SYNO.SurveillanceStation.Camera_8_List[nnnn]: APIPriority.cpp:198 ERROR: IF_RUN_AS(0, 0)

That's 1 error every 10 minutes over 316 hours, or 13 days, of running Surveillance Station.
 

ctrlaltdelete

Benutzer
Contributor
Sehr erfahren
Maintainer
Mitglied seit
30. Dez 2012
Beiträge
13.633
Punkte für Reaktionen
5.809
Punkte
524
No, surveillance station is running fine.
Thanx a lot
 
  • Like
Reaktionen: DaveR


 

Kaffeautomat

Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.

Als Dankeschön schalten wir deinen Account werbefrei.

:coffee:

Hier gehts zum Kaffeeautomat