-
#1
Hey,
Sometimes (actually random), valid query commands get’s an answer as ‘command not found‘. I can’t reproduce it clearly, but I think it deserves to be here in a Bug Report.
For example, I’ve got a querybot who sends a keepalive ‘whoami‘ every 5 minutes, to prevent disconnection. In one of those times, it returned ‘error id=256 msg=command not found, which in turn is not what's expected‘.
I’ve also experienced this with couple others commands, like clientpoke, clientmove, clientkick, sendtextmessage, channeledit
For this specific command, this isthe logs (2020-05-01 01:47:31 was the response with error):
And when I was looking for the logs, I’ve found in another time aswell in other querybot instance, but with the command channeledit, still giving out the same command not found error message (2020-05-01 00:29:31 was the response with error):
This happens time to time, IDK if this is known but should be posted here.
-
#2
Sadly unknown query commands are not logged…
But I guess you might sending some more «\r»s or «\n»s or something other along (which may even was stuck in the pipeline due to the last command)
A long time ago I had something similar using puttys telnet protocol. But that’s fixed not and telnet control commands are filtered.
-
#3
Well, there is proper thread locking in order to prevent this situations… When anything is being sent, every other thing will wait until it’s time. I’m pretty sure it doens’t have extra characters being sent or stuch in the pipe since it only happens at TeaSpeak (the same bot is also used in TS3 and in 6 months~ i’ve never seen it happen in there, only in Tea, pretty much every day).
So, by now I’m logging the whole query command that gave me error (not only the starting command) so we can check better.
-
#5
@WolverinDEV I think this problem was resolved in version 1.4.19? I’m waiting for your comment.
Stripping prefixed `\r` within a query command, which resulted in rare cases in a command not found error
—- Automatically Merged Double Post —-
// Fixed && Closed
Last edited:
I’m calling client.addGroups(<sgid>), but I get the following error:
{ Error: command not found
at Command.getError (/Users/timche/Workspace/ts3-twitch-live-bot/node_modules/ts3-nodejs-library/lib/transport/Command.js:80:16)
at TeamSpeakQuery.handleQueryError (/Users/timche/Workspace/ts3-twitch-live-bot/node_modules/ts3-nodejs-library/lib/transport/TeamSpeakQuery.js:113:52)
at TeamSpeakQuery.handleLine (/Users/timche/Workspace/ts3-twitch-live-bot/node_modules/ts3-nodejs-library/lib/transport/TeamSpeakQuery.js:84:18)
at ProtocolRAW.emit (events.js:198:13)
at ProtocolRAW.EventEmitter.emit (domain.js:448:20)
at lines.forEach.line (/Users/timche/Workspace/ts3-twitch-live-bot/node_modules/ts3-nodejs-library/lib/transport/protocols/raw.js:56:36)
at Array.forEach (<anonymous>)
at ProtocolRAW.handleData (/Users/timche/Workspace/ts3-twitch-live-bot/node_modules/ts3-nodejs-library/lib/transport/protocols/raw.js:56:15)
at Socket.emit (events.js:198:13)
at Socket.EventEmitter.emit (domain.js:448:20)
id: 256,
msg: 'command not found',
extra_msg: undefined,
failed_permid: undefined }
I couldn’t figure out why this happens, but it seems there shouldn’t be anything wrong on my end.
If you have any idea, help is much appreciated. Thanks for this great library!
|
freday54 • PM |
friends see a teamspeak3 off the server seems to be dropped Jan 27, 2014 12:30 PM |
|
Joined: Dec 17, 2012 |
Please ensure that this server is currently up and running and is not firewalled. he can’t fix it please help I can’t [email protected] |
|
burn • PM |
Jan 27, 2014 1:26 PM |
|
Joined: Sep 28, 2006 |
The server in your favorites does not have the client list query enabled. Feel free to visit our Teamspeak 3 forum in it’s server administration section if you need assistance on doing this as there is already a sticky topic on it. I am retired from GameTracker after 11 years and will not be responsive for support requests. |
|
freday54 • PM |
Jan 27, 2014 4:35 PM |
|
Joined: Dec 17, 2012 |
the firewall this ip was allowed to whom a 208.167.241.190 but if you look at the pictures, a solution to this problem I couldn’t find it [email protected] Last edited by: freday54 Jan 27, 2014 7:59 PM |
|
freday54 • PM |
Jan 27, 2014 7:58 PM |
|
Joined: Dec 17, 2012 |
telnet entry channels with the commands which I will get to the this is a little bit other superstar you serial [email protected] |
|
burn • PM |
Jan 27, 2014 8:18 PM |
|
Joined: Sep 28, 2006 |
Again, you are missing the client list query permission. You have been to the correct link considering you posted the URL above, now you just need to follow the instructions to add the permission back. I did not say anything about a firewall issue. I am retired from GameTracker after 11 years and will not be responsive for support requests. |
|
freday54 • PM |
Jan 27, 2014 8:33 PM |
|
Joined: Dec 17, 2012 |
login serveradmin CENSORED do you think what is the problem here ? [email protected] |
|
freday54 • PM |
Jan 27, 2014 9:53 PM |
|
Joined: Dec 17, 2012 |
which privileges the need to adjust now, my server does not list the pictures I sent to you what to do, I need to tell you, I couldn’t find the forum !. [email protected] |
-
-
#41
Sorry, hat etwas gedauert, danke für die Geduld.
Zuerst: Firewall ausschalten war es!!! Jetzt geht es. Habe zwar jetzt die Firewall wieder eingeschaltet um zu testen, aber es geht immer noch.
Vielen Dank!!!!
Das mit dem Zugriff mittels TS3 Client hatte vorher nie funktioniert, erst Dein Tipp hat es gebracht.
Jetzt habe ich aber das Problem, dass ich nicht auf die Server-Oberflächte komme via ipnas:10011, aber das kriege ich hoffentlich auch noch hin.
Oder hast Du mir noch einen Tipp?
Backup habe ich gemacht.
-
-
#42
Ich benutzer Teamspeak selbst nicht. Ich hab einfach «nur» jahrelange Erfahrung mit Docker
Wie kommst Du darauf, dass auf Port 10011 ene Server-UI zu finden ist? Ich habe den Container spasseshalber bei mir gestartet und im Browser http://dsmip:10011 eingegeben. Wenn man lange genug wartet, erscheinen solche Fehlermeldungen:
TS3
Welcome to the TeamSpeak 3 ServerQuery interface, type «help» for a list of commands and «help <command>» for information on a specific command.
error id=256 msg=command\snot\sfound
error id=256 msg=command\snot\sfound
error id=256 msg=command\snot\sfound
Es scheint mir eher eine technische Schnittstelle oder für die Nutzung mit der Kommandozeile zu dienen.
Das können sicherlich die anderen beantworten, die TS auch tatsächlich nutzen.
Viel Erfolg!
Update:
Es ist ein Telnet-Port
Code:
telnet 192.168.200.X 10011
Trying 192.168.200.X...
Connected to 192.168.200.X.
Escape character is '^]'.
TS3
Welcome to the TeamSpeak 3 ServerQuery interface, type "help" for a list of commands and "help <command>" for information on a specific command.
-
-
#43
Vielen Dank, das war mir nicht ganz klar. Mit Telnet habe ich noch keine grosse Erfahrung. Teste es aber heute Abend aus.
Beste Grüsse und nochmals vielen Dank
Heimi75
-
-
#44
Wenn man die Konfiguration und Logs so gut aufbereitet teilt wie Du es gemacht hast: immer wieder gerne!
-
-
#45
Hallo zusammen,
häng mich hier mal mit dran. War auch User von Diablos Paket, wollte jetzt auf Docker umsteigen.
Offizielles Docker Image gezogen, Container mit den Einstellungen aus #38 gestartet. Dachte mir kann ja so schwer nicht sein
Container stoppt dann wieder:
Lass ich den Mount von meinem Ordner auf den /var/ts3server weg, geht alles und ich kann mich zum TS auch verbinden.
Was mich dann aber stutzig macht: Verbinde ich mich per SSH zur DS, befindet sich in /var/ kein ts3server Ordner. Der TS läuft aber ja?
Edit: Auch mit dem Mount fehlt dieser Ordner…
Mit «docker exec teamspeak ls» seh ich auch die selbe Ordnerstruktur wie in dem Backup vom alten spk-TS (iwo müssen die files ja schließlich sein )
Das ist der Punkt an dem ich endgültig aussteige. Wo sind die Files bzw. warum klappt der Mount nicht?
Hab auch versucht unter / mit WinSCP die ts3server.sqlitedb zu suchen. Erfolglos
Auch schon Image gelöscht und neu angefangen…
Ich hab von meinem spk-TS noch ein Backup, das ich eigentlich einspielen wollte. Sonst muss ich ewig in die TS Config investieren.
Und den Charme des Mounts hätte ich schon gerne, damit ich in meinen Ordnern die Files habe/backupen kann.
Ideen?
Danke
-
-
#46
Überleg mal was innerhalb und was außerhalb des Containers ist. Nur letzteres jkannst du auch direkt im Dateisystem auf deinem Host / DS sehen (per SSH).
Der Mount-Pfad /var/ts3server ist ein Ordner innerhalb des Containers.
Der Datei/Ordner ist der Ort auf deiner DS der in den Container unter Mount-Pfad eingehängt wird.
Mit docker exec containername Befehl führst du einen Befehl innerhalb des Containers aus und bekommst die Ausgabe auf dein Host-Terminal zurück geliefert.
-
-
#47
Was mich dann aber stutzig macht: Verbinde ich mich per SSH zur DS, befindet sich in /var/ kein ts3server Ordner. Der TS läuft aber ja?
Der einzige Fehler ist hier nur eine falsche Erwartungshaltung. Ein Container ist (bis auf die Abhängigkeit zum Host-Kernel) eine selbstgenügende, abgeschlossene Einheit.
Solange Du kein Host-Verzeichnis als Volume in den dafür vorgesehen Pfad im Container hängst (bitte exakt(!) aus der Beschreibung auf Dockerhub übernehmen) werden die Daten im «Wegewerfspeicher» des Container landen und spätestens wenn Du den Container mit einem neuem Image aktuallisieren willst, sind die Daten pfutsch.
Teile mal bitte Screenshots von den Volume-Einstellungen Deines Containers?.
-
-
#48
Danke euch beiden für die Aufklärungsarbeit. Erste Berührpunkte für mich mit Docker, dass es ja virtualisiert ist war bekannt, daran gedacht, dass Host/Docker FS nicht ein und dieselben sind habe ich jetzt aber irgendwie nicht. Denkfehler meinerseits
Mein Volume Mount sieht so aus:
Wie in Post #39 halt, oder übersehe ich was?
Zu den Errors find ich auch leider online nichts. :/
Wenn ich jetzt einen Container initial OHNE Volume-Mount erstelle und diesen dann im Nachhinein hinzufüge, stoppt der Container auch wieder.
Fehler sind dann aber teils anders:
-
-
#49
mmh, also «wie in» heißt für mich «exakt». Und zwischen docker/teamspeak und NAS/Docker/TS3 ist irgendwie schon ein Unterschied, nicht wahr?
Ist zwar schöne Abstrahierungsarbeit es auf deine Ordnerstruktur umzusetzen, aber da hängt ja noch mehr dran (Benutzer, ID, Zugriffsrechte des Docker daemon, Ordner etc).
Also vielleicht erst mal exakt wie in den Vorgaben probieren.
-
-
#50
In der Logausgabe steht es zwar nicht explizit, aber wenn ein Verzeichnis/Dateien im Volume nicht angelegt werden können, dann wird es mit hoher Wahrscheinlichkeit an Berechtigungsproblemen liegen.
Ich hab mir gerade mal das Dockerfile und das Entrypoint-Skript angesehen: im Dockerfile werden ts3server (sowohl als Gruppe, als auch als Benutzer) mit der UID=9987 und GID=9987 angelegt. Das Entrypoint-Skript started den Hauptprozess mit diesem Benutzer.
Ich bezweifle das auf dem Host das Verzeichnis /volume?/NAS/Docker/TS3 diesem Benutzer gehört. Am einfachsten ist es über ssh, bei ausgeschaltetem Container , den Befehl sudo chown 9987:9987 -R /volume?/NAS/Docker/TS3/ auszuführen und den Container dann zu starten. Sofern die Daten in dem erwarteten Zustand sind sollte es funktionieren. Das ? bei /volume? muss natürlich durch die richtige Zahl ersetzt werden, die zu dem Volume passt, auf dem der Share liegt.
Allerdings gibt es auch Konstellationen von die Syno-ACLS (die Berechtigungen, die man über die UI setzt), die aufs verrecken die Zusammenarbeit mit Containern nicht erlauben. Da kann man ggf. die ACLS entfernen, so dass nur noch die Unix-Permissions greifen.
Danke euch beiden für die Aufklärungsarbeit. Erste Berührpunkte für mich mit Docker, dass es ja virtualisiert ist war bekannt, daran gedacht, dass Host/Docker FS nicht ein und dieselben sind habe ich jetzt aber irgendwie nicht. Denkfehler meinerseits
Bei welcher Form der Virtualisierung ist es denn so wie Du es dir usrprünglich gedacht hast?! Mir fällt nicht eine ein. Das mit dem Denkfehler passt aber schon
Zuletzt bearbeitet:
-
-
#51
Wow… großes Facepalm in meine Richtung. Danke @Fusion!
Ich dachte, das wäre ein selbst ausgesuchter Ordner. Gerechtfertigt hat diesen Ordner hier auch niemand wenn ich das richtig gesehen hab. Hab das dann nicht hinterfragt und dann war ich da wohl in meinem Übermut schon ein wenig zu schnell mit anpassen auf meine Umgebung…
Dass Docker damals bei der Installation scheinbar einen eigenen Share angelegt hat (und dort höchstwahrscheinlich spezielle Berechtigungen vergeben) wusste ich gar nicht.
Hab nochmal einen neuen Container angelegt mit Mount dorthin und hat auf Anhieb geklappt. Seh auch die Files. Dann kann ich jetzt ja einfach das Backup da reinkopieren, prima!
Nehm ich für zukünftige Arbeit mit Docker so mit!
@haydibe: ja, die Logs sahen mir auch nach Berechtigungsproblem aus. Ist jetzt denke ich auch klar warum. Das mit dem Befehl und den cucstom Permissions könnte ich bei Gelegenheit noch probieren. Am einfachsten wird aber denke ich die Nutzung des «docker» shares sein.
Danke auch dir!
Gut, dass es ja bekanntlich keine dummen Fragen gibt…
-
-
#52
Ich werde aus Deiner Antwort nicht schlau.
Der Screenshot vom Volumes-Reiter der Container-Konfiguration hat als Wert für Mount Path exakt den Container-Pfad der vom Image vorgesehen ist und zur Beschreibung auf Dockerhub passt. Soweit korrekt.
Der File/Folder ist die Host-Seite, die man frei auswählt. Die Berechtigungen (Besitzer/Unix-Permissions) für dieses Verzeichnis müssen zu dem Benuter im Container passen — wie ich es in meinem vorherigen Beitrag geschrieben habe. In diesem Verzeichnis sollte dann auch das Backup vom alten Teamspeak Server liegen.
-
-
#53
Deinem ersten Absatz gebe ich Recht, das sehe ich auch so.
Hab jetzt folgendes gemacht:
Bestehenden Container nochmal weg, dann Backup in meinen Ordner /volume1/NAS/Docker/TS3 kopiert.
Anschließend mit deinem oben geschriebenen Befehl bei ausgeschaltetem Container für diesen Ordner den Owner geändert (mit -R ja auch rekursiv auf Files). Wird auch so in der GUI wiedergegeben. Übrigens nach Abgleich jetzt der selbe Owner wie unter \docker\teamspeak.
(Dass man überhaupt chown machen muss bei einem custom Ordner finde ich eh komisch. Wenn ich in der «Volumes» GUI von Docker schon alle meine Ordner auswählen/konfigurieren kann gehe ich davon aus, dass ich auch alle nutzen kann bzw. sollte er die benötigten Einstellungen vllt von selbst machen?)
Starten des Containers klappt leider trotzdem nicht, Fehler sind die selben wie in meinem vorigen Post (database out of memory, failed to open database, etc.)
Wenn ich allerdings /docker/teamspeak nutze und da mein Backup reinkopiere funktioniert es einwandfrei — gerade getestet
-
-
#54
Hallo,
ich hätte eine Frage zu TeamSpeak das im Docker läuft, die Installation von Docker und die Einrichtung von TeamSpeak war eigentlich Kinderleicht. Hab nur kurz dann den Container dann nochmal gestoppt und den kompletten TeamSpeak 3 Ordner Inhalt von meinen Mac mini (der bis dahin der Server war) dann zu Docker/teamspeak kopiert, so dass mein alter Token sowie auch die Ganzen Einstellungen (auch die ganzen Rechte der anderen Usern), Channels, Icons etc. etc. wieder so sind wie früher.
Da zum testen der Server aktuell nur im Netzwerk zu erreichen ist, sind entsprechend keine User drauf bzw. nur ich bin drauf. Der Server benötigt so 23MB RAM aktuell, wie viel ist Sinnvoll für diesen Server nun an RAM herzugeben? Ich will einfach nicht Sinnloserweise viel zu viel dafür hergeben, wenn es nicht nötig ist.
Wäre Super, wenn Ihr mir so eure Erfahrungswerte eventuell so sagen könntet, was der TeamSpeak Server bei euch so verbraucht.
Danke schon mal.
-
-
#55
Ressourcen braucht man in den meisten Fällen nicht zu begrenzen. Es wird nichts fest reserviert und dynamisch nur das genommen, was auch gebraucht wird.
-
-
#57
Seit ~ 8Uhr heute morgen, hab ich kein TeamSpeak mehr, berichtete man mir
Als ich nach Hause kam, habe ich den Container gestoppt und neu gestartet, sogar die DiskStation (nach stoppen den Container) komplett neu gestartet
Der Text unten bei 15:01:38 wird immer und immer wieder neu in die Log geschrieben und er kann nicht mehr starten. Meldung: «TeamSpeak-Container wurde unerwartet beendet»
Was ist passiert, den seit damals lieb er komplett ohne Störung durch!
Danke für jede Hilfe
-
-
#58
Mal das Image und den Container aktualisiert auf die neueste Version?
-
-
#59
Lade das neueste Image, Update den Container und probiere es damit. Dein Container scheint ja mindestens ein halbes Jahr alt zu sein und im Dezember gab es ein Update auf 3.13.3
-
-
#60
In der letzten Zeile des Screenshots steht: «The default license has expired. Please use the latest server version».
Mit der IT ist es wie mit jeder guten Ehe auch: Jahrelang macht man dasselbe und auf einmal ist es falsch
Description of problem: With Fedora 11 and the latest updates, I find that dkms_autoinstaller does not work at all. It says: /etc/rc5.d/S04dkms_autoinstaller: line 143: log_action_end_msg: command not found on startup. Version-Release number of selected component (if applicable): 2.0.21.1-2.fc11 How reproducible: Every time Steps to Reproduce: 1. Configure a module for dkms build... 2. Boot the system Actual results: Error reported - see above Expected results: Module is built and installed Additional info: I'm testing with the NVIDIA module distribution from rpmforge.net - http://apt.sw.be/fedora/10/en/i386/RPMS.rpmforge/nvidia-x11-drv-173.08-1.beta.fc10.fc10.rf.i386.rpm (there is no fc11 version yet, but surely that makes no difference in this context?)
Comment 1
Toralf
2009-08-03 15:32:26 UTC
After some further investigation, I found that the problem was caused by missing kernel headers - which had to do with the fact that a "yum upgrade" had somehow failed to install a new kernel-devel even though an old version was there. After installing the package in question, everything work as bit better - the build still fails, but I think this may be a problem with the module itself. It seems to me that there is still a minor bug, though - surely the startup report failure, and not exit on script error when the headers are missing.
Comment 2
Matt Domsch
2009-08-03 15:53:59 UTC
This message is due to the initscript trying to use the LSB-approved functions, when the redhat-lsb package is not installed. Ugh. Marking this as depends on splitting redhat-lsb up, so we don't have to install many megabytes of libraries just to get these initscript-using echo functions.
Comment 3
Matt Domsch
2009-08-22 18:02:49 UTC
DKMS 2.1.0.0 removes the need for Requires: lsb. This is built in rawhide, so please test it there if you can. I'll think about building it for testing in F11 also.
Comment 7
Fedora Update System
2009-08-25 04:32:49 UTC
dkms-2.1.0.0-1.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update dkms'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-8929
Comment 8
Fedora Update System
2009-08-25 16:02:58 UTC
dkms-2.1.0.0-1.el5 has been pushed to the Fedora EPEL 5 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update dkms'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/EL-5/FEDORA-EPEL-2009-0339
Comment 9
Fedora Update System
2009-08-25 16:03:22 UTC
dkms-2.1.0.0-1.el4 has been pushed to the Fedora EPEL 4 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update dkms'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/EL-4/FEDORA-EPEL-2009-0316
Comment 14
Fedora Update System
2009-09-10 22:56:33 UTC
dkms-2.1.0.1-1.el4 has been pushed to the Fedora EPEL 4 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update dkms'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/EL-4/FEDORA-EPEL-2009-0431
Comment 15
Fedora Update System
2009-09-10 22:56:46 UTC
dkms-2.1.0.1-1.el5 has been pushed to the Fedora EPEL 5 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update dkms'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/EL-5/FEDORA-EPEL-2009-0436
Comment 16
Fedora Update System
2009-09-11 23:25:10 UTC
dkms-2.1.0.1-1.fc10 has been pushed to the Fedora 10 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update dkms'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-9486
Comment 17
Fedora Update System
2009-09-11 23:34:05 UTC
dkms-2.1.0.1-1.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update dkms'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-9510
Comment 18
Fedora Update System
2009-09-28 18:23:23 UTC
dkms-2.1.0.1-1.el4 has been pushed to the Fedora EPEL 4 stable repository. If problems still persist, please make note of it in this bug report.
Comment 19
Fedora Update System
2009-09-28 18:23:43 UTC
dkms-2.1.0.1-1.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.
Comment 20
Fedora Update System
2009-09-29 14:29:21 UTC
dkms-2.1.0.1-1.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.
Comment 21
Fedora Update System
2009-09-29 14:34:47 UTC
dkms-2.1.0.1-1.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.
Comment 22
Chad Feller
2009-10-29 22:39:30 UTC
problem persists: # /etc/init.d/dkms_autoinstaller start Running DKMS auto installation service for kernel 2.6.18-164.2.1.el5 /etc/init.d/dkms_autoinstaller: line 143: log_action_end_msg: command not found versions: # rpm -q dkms redhat-lsb dkms-2.1.0.1-1.el5 redhat-lsb-3.1-12.3.EL redhat-lsb-3.1-12.3.EL # cat /etc/redhat-release Red Hat Enterprise Linux Client release 5.4 (Tikanga) # uname -srmpovi Linux 2.6.18-164.2.1.el5 #1 SMP Mon Sep 21 04:37:42 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
Comment 23
Chad Feller
2009-10-29 23:20:27 UTC
Note: this only appears: /etc/init.d/dkms_autoinstaller: line 143: log_action_end_msg: command not found if there was an error. if the module(s) build successfully, that message is not displayed. on success I get: # /etc/init.d/dkms_autoinstaller start Running DKMS auto installation service for kernel 2.6.18-164.2.1.el5 Done
Comment 24
Rehan Khan
2010-12-04 22:09:23 UTC
This issue is also present in F14. None of the redhat-lsb rpms are installed on a default install. redhat-lsb redhat-lsb-graphics redhat-lsb-printing The descriptions of each package don't really give much away. Has anything changed with respect to these? Installing the above rpms also pulls in pax, gettext and gettext-libs for a total install of 6.7MB on disk (according to smart package manager). Doesn't seem too much for a desktop machine?
Comment 25
Rehan Khan
2010-12-04 22:43:39 UTC
Some further information: Installing the Redhat LSB packages does not solve the problem :( It looks like the logging functions in /lib/lsb/init-functions calls some scripts in /etc/redhat-lsb which are missing. I have reported this here: https://bugzilla.redhat.com/show_bug.cgi?id=245494 in any case the dkms init script uses a function called 'log_action_end_msg' which does not seem to be supported in /lib/lsb/init-functions. It also references this as '$DEBIAN_STYLE_LOGGING'. Should this not be closer to LSB style logging? Does any of this even matter for the future with systemd on the horizon? Also I can't seem to re-open the ticket. cheers
Comment 26
Rehan Khan
2010-12-04 23:23:31 UTC
Sorry, please ignore the comments about the missing functions (they actually exist) and the '$DEBIAN_STYLE_LOGGING', I misread the script.
Although the dkms_installer script sources /lib/lsb/init-functions it does not seem to use those functions. Very confusing for those not quite paying attention like myself.
The original error reported in the bug is due to the 'log_action_end_msg 1' not being wrapped in an if statement.
Making it look like this:
if [ ! -z "$DEBIAN_STYLE_LOGGING" ]; then
log_action_end_msg 1
fi
fixes the error message.
Would that mean that on Fedora the script fails silently (no indication to the user that the modules are not built)?
