Aktuelles
Digital Eliteboard - Das Digitale Technik Forum

Registriere dich noch heute kostenlos, um Mitglied zu werden! Sobald du angemeldet bist, kannst du auf unserer Seite aktiv teilnehmen, indem du deine eigenen Themen und Beiträge erstellst und dich über deinen eigenen Posteingang mit anderen Mitgliedern unterhalten kannst! Zudem bekommst du Zutritt zu Bereichen, welche für Gäste verwehrt bleiben

Registriere dich noch heute kostenlos, um Mitglied zu werden! Sobald du angemeldet bist, kannst du auf unserer Seite aktiv teilnehmen, indem du deine eigenen Themen und Beiträge erstellst und dich über deinen eigenen Posteingang mit anderen Mitgliedern unterhalten kannst! Zudem bekommst du Zutritt zu Bereichen, welche für Gäste verwehrt bleiben

gelöst Nach IPC Installation folgender Fehler im WebIF UDEV IST NICHT INSTALLIERT!

    Nobody is reading this thread right now.
Wieso gehst du so einen umständlichen Weg? Hättest du direkt Bullseye installiert, würde der Fehler nicht auftreten.

Hier die Lösung:
In /var/www/ipc/page/manager.php Zeile 1139 von
Code:
if (!file_exists("/sbin/udevadm")) {
auf
Code:
if (!file_exists("/usr/bin/udevadm")) {
ändern.
Servus,
habe die Datei und die Zeile gefunden, kann Sie aber leider weder per Browser noch per nano editieren, da Sie in Verwendung ist.
Kann mich hier bitte jemand unterstützen, damit ich den Pfad anpassen kann?

Besten Dank!
 
Versuch mal, ob du mit init 4 die Verwendung unterbrechen kannst.
Starten kann man dann wieder mit init 3.
 
Du musst Regestriert sein, um das angehängte Bild zusehen.
Das lässt er bei mir leider nicht zu

//EDIT: hat nun über die Konsole geklappt! Danke für euren Support.
 

Anhänge

Du musst angemeldet sein, um die Anhangsliste zu sehen.
Zuletzt bearbeitet von einem Moderator:
Moin,

ist zwar nicht mein Ding, aber ich hänge mich hier auch mal mit dran.

Habe (hatte) auch das Problem mit dem Pfad von udevadm...... soweit sogut, in der manager.php in Zeile 1139 den Pfad angepasst und gespeichert.
Nun kann ich aber im IPC WebIf System---Manager nicht mehr aufrufen.
Seite bleibt schwarz.
Alles andere geht......

Ne Idee woran das nun liegt?
Kann so ja keine udev Regeln anlegen (doch schon, aber eben nicht so einfach, und das wäre ja der Sinn, oder?)

Achso, Frische Bookworm Installation, frisches IPC auf nem Dell Wyse Thinclient amd64.

Grüße an alle


Edit: War mir nicht bewußt, dass das hier der Raspi Bereich ist..... aber das Problem sollte ja auch hier passen.
 
Zuletzt bearbeitet:
Dann hast du höchst wahrscheinlich in der Seite was verhunzt. Scha mal in /var/log/apache2/error.log ob da was kommt
 
Jo, da kommen Fehler..... aber, ich gebe zu, da hab ich keine Ahnung von....

Code:
[Thu Apr 11 17:27:08.320127 2024] [mpm_event:notice] [pid 441:tid 139986869569408] AH00489: Apache/2.4.57 (Debian) configured -- resuming normal operations
[Thu Apr 11 17:27:08.339776 2024] [core:notice] [pid 441:tid 139986869569408] AH00094: Command line: '/usr/sbin/apache2'
[Thu Apr 11 17:39:27.771688 2024] [mpm_event:notice] [pid 441:tid 139986869569408] AH00492: caught SIGWINCH, shutting down gracefully
[Thu Apr 11 17:39:28.019883 2024] [mpm_prefork:notice] [pid 14749] AH00163: Apache/2.4.57 (Debian) configured -- resuming normal operations
[Thu Apr 11 17:39:28.020340 2024] [core:notice] [pid 14749] AH00094: Command line: '/usr/sbin/apache2'
[Thu Apr 11 17:39:28.962777 2024] [mpm_prefork:notice] [pid 14749] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Apr 11 17:39:29.322852 2024] [mpm_prefork:notice] [pid 14825] AH00163: Apache/2.4.57 (Debian) configured -- resuming normal operations
[Thu Apr 11 17:39:29.323170 2024] [core:notice] [pid 14825] AH00094: Command line: '/usr/sbin/apache2'
[Thu Apr 11 17:46:12.772032 2024] [mpm_prefork:notice] [pid 14825] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Apr 11 17:46:43.284226 2024] [mpm_prefork:notice] [pid 21597] AH00163: Apache/2.4.57 (Debian) configured -- resuming normal operations
[Thu Apr 11 17:46:43.292566 2024] [core:notice] [pid 21597] AH00094: Command line: '/usr/sbin/apache2'
[Thu Apr 11 18:04:03.952054 2024] [mpm_prefork:notice] [pid 519] AH00163: Apache/2.4.57 (Debian) configured -- resuming normal operations
[Thu Apr 11 18:04:03.971469 2024] [core:notice] [pid 519] AH00094: Command line: '/usr/sbin/apache2'
[Thu Apr 11 18:09:27.833146 2024] [mpm_prefork:notice] [pid 519] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Apr 11 18:09:58.346388 2024] [mpm_prefork:notice] [pid 5820] AH00163: Apache/2.4.57 (Debian) configured -- resuming normal operations
[Thu Apr 11 18:09:58.346620 2024] [core:notice] [pid 5820] AH00094: Command line: '/usr/sbin/apache2'
[Thu Apr 11 18:16:10.515127 2024] [mpm_prefork:notice] [pid 564] AH00163: Apache/2.4.57 (Debian) configured -- resuming normal operations
[Thu Apr 11 18:16:10.528826 2024] [core:notice] [pid 564] AH00094: Command line: '/usr/sbin/apache2'
[Thu Apr 11 18:31:34.812938 2024] [php:error] [pid 3843] [client 192.168.2.190:59119] PHP Fatal error:  Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, bool give>
[Thu Apr 11 18:36:57.104203 2024] [mpm_prefork:notice] [pid 516] AH00163: Apache/2.4.57 (Debian) configured -- resuming normal operations
[Thu Apr 11 18:36:57.133358 2024] [core:notice] [pid 516] AH00094: Command line: '/usr/sbin/apache2'
[Thu Apr 11 18:43:29.408511 2024] [php:error] [pid 570] [client 192.168.2.190:59245] PHP Fatal error:  Uncaught TypeError: fclose(): Argument #1 ($stream) must be of type resource, null given in />
[Thu Apr 11 19:45:06.067605 2024] [php:error] [pid 570] [client 192.168.2.190:59590] PHP Parse error:  syntax error, unexpected token "/", expecting end of file in /var/www/ipc/page/manager.php on>
[Thu Apr 11 19:45:19.207508 2024] [php:error] [pid 718] [client 192.168.2.190:59593] PHP Parse error:  syntax error, unexpected token "/", expecting end of file in /var/www/ipc/page/manager.php on>
[Thu Apr 11 19:46:42.593366 2024] [mpm_prefork:notice] [pid 515] AH00163: Apache/2.4.57 (Debian) configured -- resuming normal operations
[Thu Apr 11 19:46:42.623384 2024] [core:notice] [pid 515] AH00094: Command line: '/usr/sbin/apache2'
[Thu Apr 11 19:47:14.686417 2024] [php:error] [pid 518] [client 192.168.2.190:59633] PHP Parse error:  syntax error, unexpected token "/", expecting end of file in /var/www/ipc/page/manager.php on>
[Thu Apr 11 19:47:37.710327 2024] [php:error] [pid 521] [client 192.168.2.190:59638] PHP Parse error:  syntax error, unexpected token "/", expecting end of file in /var/www/ipc/page/manager.php on>
[Thu Apr 11 19:48:27.174051 2024] [php:error] [pid 522] [client 192.168.2.190:59653] PHP Fatal error:  Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, bool given>
[Thu Apr 11 19:49:02.385998 2024] [php:error] [pid 649] [client 192.168.2.190:59657] PHP Fatal error:  Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, bool given>
[Thu Apr 11 19:49:07.972058 2024] [php:error] [pid 518] [client 192.168.2.190:59658] PHP Parse error:  syntax error, unexpected token "/", expecting end of file in /var/www/ipc/page/manager.php on>
[Thu Apr 11 19:50:35.260045 2024] [php:error] [pid 520] [client 192.168.2.190:59660] PHP Parse error:  syntax error, unexpected token "/", expecting end of file in /var/www/ipc/page/manager.php on>
[Thu Apr 11 19:53:58.548391 2024] [php:error] [pid 521] [client 192.168.2.190:59747] PHP Parse error:  syntax error, unexpected token "/", expecting end of file in /var/www/ipc/page/manager.php on>
[Thu Apr 11 19:54:49.135601 2024] [mpm_prefork:notice] [pid 515] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Apr 11 19:55:58.722837 2024] [mpm_prefork:notice] [pid 513] AH00163: Apache/2.4.57 (Debian) configured -- resuming normal operations
[Thu Apr 11 19:55:58.747824 2024] [core:notice] [pid 513] AH00094: Command line: '/usr/sbin/apache2'
[Thu Apr 11 19:56:10.385903 2024] [php:error] [pid 517] [client 192.168.2.190:59780] PHP Parse error:  syntax error, unexpected token "/", expecting end of file in /var/www/ipc/page/manager.php on>
[Thu Apr 11 20:08:17.689164 2024] [php:error] [pid 656] [client 192.168.2.190:59910] PHP Parse error:  syntax error, unexpected token "/", expecting end of file in /var/www/ipc/page/manager.php on>


[Thu Apr 11 17:27:08.320127 2024] [mpm_event:notice] [pid 441:tid 139986869569408] AH00489: Apache/2.4.57 (Debian) configured -- resuming normal operations
[Thu Apr 11 17:27:08.339776 2024] [core:notice] [pid 441:tid 139986869569408] AH00094: Command line: '/usr/sbin/apache2'
[Thu Apr 11 17:39:27.771688 2024] [mpm_event:notice] [pid 441:tid 139986869569408] AH00492: caught SIGWINCH, shutting down gracefully
[Thu Apr 11 17:39:28.019883 2024] [mpm_prefork:notice] [pid 14749] AH00163: Apache/2.4.57 (Debian) configured -- resuming normal operations
[Thu Apr 11 17:39:28.020340 2024] [core:notice] [pid 14749] AH00094: Command line: '/usr/sbin/apache2'
[Thu Apr 11 17:39:28.962777 2024] [mpm_prefork:notice] [pid 14749] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Apr 11 17:39:29.322852 2024] [mpm_prefork:notice] [pid 14825] AH00163: Apache/2.4.57 (Debian) configured -- resuming normal operations
 
Mit was hast du die manager.php editiert?
Also mit welchem Editor?

Alternativ zeig mal bitte wie die Zeilen rund um Zeile 1139 nun aussehen?
Du hast nämlich vermutlich nen \ zuvuek gelöscht
 
Also mit welchem Editor?

Nano 7.2

Code:
                        }
                        $SUCCESS=TRUE;
                } else {
                // if not already added -> add
                        exec("".$PREcmd."".$SudoWebScript."iecho '".$UDEVline."' ".$UDEVRulesFile."",$output);;
                        $SUCCESS=TRUE;
                }
        }
        if ($SUCCESS) {
                exec("".$PREcmd."".$SudoWebScript."udevd reload >/dev/null",$output);
                exec("".$PREcmd."".$SudoWebScript."udevadm trigger >/dev/null",$output);
        }
}

if (isset($WEBIF_OpenedManager) AND $WEBIF_OpenedManager === 1) {
        echo "<div id='UDEV' style='display:block'>\n";
} else { echo "<div id='UDEV' style='display:none'>\n"; }

// check if udev is installed
/if (!file_exists("/usr/bin/udevadm")) {
        echo "<b class=tabred>UDEV IST NICHT INSTALLIERT!</b><br/>\n";
        echo "<b class=tabred>Um dieses Feature nutzen zu koennen muss erst udev installiert werden!</b><br/>";
        echo "<b class=tab>&rarr;</b> <b class=command>apt-get install udev</b><br/>\n";
} else {
        // catch possible readers over /dev/ttyUSB*
        $ttyUSB=glob("/dev/ttyUSB*");
        if (!empty($ttyUSB)) {
                foreach ($ttyUSB AS $USBport) {
                        $READERiSERIAL["$USBport"] = exec("".$PREcmd."".$SudoWebScript."iSerial ".$USBport."");
                        if (!empty($READERiSERIAL["$USBport"])) {
                                $READERallreadyadded["$USBport"] = exec("grep \"".$READERiSERIAL[$USBport]."\" /etc/udev/rules.d/*");
                        }
                        if (isset($READERallreadyadded["$USBport"]) AND !empty($READERallreadyadded["$USBport"])) {
                                $READERudevPort["$USBport"] = exec("echo '".$READERallreadyadded[$USBport]."'|cut -d\",\" -f4|tr '\"' ' '|awk '{print $2}'");
                        }
                }
        }

#$READERiSERIAL["/dev/ttyUB7"] = "A400fRl8";
#$READERiSERIAL["/dev/ttyUB8"] = "Test 1";
#$READERiSERIAL["/dev/ttyUB9"] = "Test 2";
#$READERiSERIAL["/dev/ttyUB10"] = "Test 12";
#$READERudevPort["/dev/ttyUSB8"] = "/dev/t3st";

        // create table content
        if (isset($READERiSERIAL) AND !empty($READERiSERIAL)) {
                $c=0;
 
Zurück
Oben