[Bug 1189133] New: YaST2 http server configuration cannot display the log
http://bugzilla.opensuse.org/show_bug.cgi?id=1189133 Bug ID: 1189133 Summary: YaST2 http server configuration cannot display the log Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Tumbleweed Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 Assignee: yast2-maintainers@suse.de Reporter: giecrilj@stegny.2a.pl QA Contact: jsrain@suse.com Found By: --- Blocker: --- When I tell Listening ports configuration panel to open the access log, I get a generic error message. Workaround: tell the Log viewer to display the access log. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1189133
Christopher Yeleighton
http://bugzilla.opensuse.org/show_bug.cgi?id=1189133
Christopher Yeleighton
http://bugzilla.opensuse.org/show_bug.cgi?id=1189133
http://bugzilla.opensuse.org/show_bug.cgi?id=1189133#c2
--- Comment #2 from Christopher Yeleighton
(In reply to Christopher Yeleighton from comment #0)
When I tell Listening ports configuration panel to open the access log, I get a generic error message. Workaround: tell the Log viewer to display the access log.
I think that I can reproduce myself, but when reporting a YaST bug is nice to provide logs as documented here:
2021-08-05 12:41:13 <1> localhost.localdomain(785) [Ruby] cwm/service_widget.rb(handle):42 handling event {"EventSerialNo"=>2, "EventType"=>"MenuEvent", "ID"=>:show_access_log} 2021-08-05 12:41:13 <1> localhost.localdomain(785) [Ruby] yast2/service_widget.rb(handle_input):135 handle event show_access_log 2021-08-05 12:41:13 <1> localhost.localdomain(785) [Ruby] modules/HttpServerWidgets.rb(initListenSettings):3223 Listen: [$["ADDRESS":"", "PORT":"80"]] 2021-08-05 12:41:13 <1> localhost.localdomain(785) [Ruby] modules/HttpServerWidgets.rb(showAccessLogPopup):1022 Index 0 is out of array size 2021-08-05 12:41:13 <1> localhost.localdomain(785) [ui] YPushButton.cc(setFunctionKey):202 Guessing button role YOKButton for YPushButton "Zamknij" at 0x7fd3bc5a7700 from function key F10 2021-08-05 12:41:13 <1> localhost.localdomain(785) [Ruby] modules/LogViewCore.rb(Start):161 Calling process agent with command tail -f /var/log/apache2/access_log -n 100 | /usr/sbin/logresolve2 2021-08-05 12:41:13 <1> localhost.localdomain(785) [liby2util++] ExternalProgram.cc(start_program):202 Executing '/bin/sh' '-c' 'tail -f /var/log/apache2/access_log -n 100 | /usr/sbin/logresolve2' 2021-08-05 12:41:14 <1> localhost.localdomain(785) [liby2util++] ExternalProgram.cc(checkStatus):361 pid 893 exited with status 127 2021-08-05 12:41:14 <3> localhost.localdomain(785) [Ruby] modules/LogViewCore.rb(GetNewLines):66 B����d podczas odczytywania plik��w dziennika. 2 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1189133
http://bugzilla.opensuse.org/show_bug.cgi?id=1189133#c3
Knut Alejandro Anderssen Gonz��lez
(In reply to Knut Alejandro Anderssen Gonz��lez from comment #1)
(In reply to Christopher Yeleighton from comment #0)
When I tell Listening ports configuration panel to open the access log, I get a generic error message. Workaround: tell the Log viewer to display the access log.
I think that I can reproduce myself, but when reporting a YaST bug is nice to provide logs as documented here:
2021-08-05 12:41:13 <1> localhost.localdomain(785) [Ruby] cwm/service_widget.rb(handle):42 handling event {"EventSerialNo"=>2, "EventType"=>"MenuEvent", "ID"=>:show_access_log} 2021-08-05 12:41:13 <1> localhost.localdomain(785) [Ruby] yast2/service_widget.rb(handle_input):135 handle event show_access_log 2021-08-05 12:41:13 <1> localhost.localdomain(785) [Ruby] modules/HttpServerWidgets.rb(initListenSettings):3223 Listen: [$["ADDRESS":"", "PORT":"80"]] 2021-08-05 12:41:13 <1> localhost.localdomain(785) [Ruby] modules/HttpServerWidgets.rb(showAccessLogPopup):1022 Index 0 is out of array size 2021-08-05 12:41:13 <1> localhost.localdomain(785) [ui] YPushButton.cc(setFunctionKey):202 Guessing button role YOKButton for YPushButton "Zamknij" at 0x7fd3bc5a7700 from function key F10 2021-08-05 12:41:13 <1> localhost.localdomain(785) [Ruby] modules/LogViewCore.rb(Start):161 Calling process agent with command tail -f /var/log/apache2/access_log -n 100 | /usr/sbin/logresolve2 2021-08-05 12:41:13 <1> localhost.localdomain(785) [liby2util++] ExternalProgram.cc(start_program):202 Executing '/bin/sh' '-c' 'tail -f /var/log/apache2/access_log -n 100 | /usr/sbin/logresolve2' 2021-08-05 12:41:14 <1> localhost.localdomain(785) [liby2util++] ExternalProgram.cc(checkStatus):361 pid 893 exited with status 127 2021-08-05 12:41:14 <3> localhost.localdomain(785) [Ruby] modules/LogViewCore.rb(GetNewLines):66 B����d podczas odczytywania plik��w dziennika. 2
If I'm not wrong there is no /usr/sbin/logresolve2, isn't it? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1189133
http://bugzilla.opensuse.org/show_bug.cgi?id=1189133#c4
Christopher Yeleighton
/usr/sbin/logresolve2: No such file or directory
This message goes to /dev/null apparently, instead of being passed on to the operator. I tried { ln -T /usr/bin/logresolve /usr/sbin/logresolve2; }; the error went away but the result is empty because logresolve is incompatible with tail -f---apparently, it waits for the input to end before printing anything. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1189133
http://bugzilla.opensuse.org/show_bug.cgi?id=1189133#c7
--- Comment #7 from Christopher Yeleighton
participants (1)
-
bugzilla_noreply@suse.com