[Spacewalk-list] spacewalk - GUI console login issue

Andreas Dijkman andreas.dijkman at cygnis.nl
Tue Mar 31 17:56:21 UTC 2020


Have you tried looking in the JS-console of the browers? Maybe it’s not something server-side but something in the browers JavaScript.

White screens are often browser-issues with JavaScript and such. Try opening the Web Console (shortcuts: https://developer.mozilla.org/en-US/docs/Tools/Keyboard_shortcuts) and then load the login-screen.

Kind regards,
Andreas Dijkman



On 31 Mar 2020, at 19:03, Stefan Bluhm <redhat.com at bluhm-de.com<mailto:redhat.com at bluhm-de.com>> wrote:

Hi Gupta,

I really don't know and I am just guessing...

Your postgresql entries do not look like mine (which probably does not mean anything). Not sure if this is normal. Maybe check for its proper functionailty. When I shut down the Postgresql server, I also get a login page issue after a few minutes loading time (!). Maybe right port? Maybe some other conflict?
Check firewall (maybe switch it off temporarily). Maybe other processes are blocking the server?

I doubt that osa-dispatcher is the culprit.
You can start the service with "systemctl start osa-dispatcher.service" (this works similar for all services).
Also "spacewalk-server restart" restarts all services.

Did you actually ever try a restart? Maybe try a postgreql restart first ("systemctl restart postgresql") and if that does not fix it, try "spacewalk-server restart".

Good Luck and Best wishes,

Stefan

________________________________
Von: "GUPTA, AJAY KUMAR" <agupta488 at dxc.com<mailto:agupta488 at dxc.com>>
An: "spacewalk-list" <spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>>
CC: "Gupta Ajay Kumar (Telenor Sverige AB)" <ajay.kumar.gupta at telenor.se<mailto:ajay.kumar.gupta at telenor.se>>
Gesendet: Dienstag, 31. März 2020 16:27:19
Betreff: Re: [Spacewalk-list] spacewalk - GUI console  login issue

Hi Stefan,

There is no disk space issue observed on the server. Enough disk space available under / file system. Also check spacewalk services. There is osa-dispatcher.service is inactive (dead). Can you suggest how can start this individual service.

[root at spacewalk ~]# df -kh
Filesystem             Size  Used Avail Use% Mounted on
devtmpfs               1.9G     0  1.9G   0% /dev
tmpfs                  1.9G     0  1.9G   0% /dev/shm
tmpfs                  1.9G  177M  1.7G  10% /run
tmpfs                  1.9G     0  1.9G   0% /sys/fs/cgroup
/dev/mapper/rhel-root  118G   95G   23G  81% /
/dev/sda1              497M  232M  266M  47% /boot
tmpfs                  378M     0  378M   0% /run/user/1004
tmpfs                  378M     0  378M   0% /run/user/14872
[root at spacewalk ~]#

[root at spacewalk ~]# spacewalk-service status
● postgresql.service - PostgreSQL database server
   Loaded: loaded (/usr/lib/systemd/system/postgresql.service; enabled; vendor preset: disabled)
   Active: active (running) since Mon 2020-02-24 15:44:42 CET; 1 months 5 days ago
  Process: 97082 ExecStop=/usr/bin/pg_ctl stop -D ${PGDATA} -s -m fast (code=exited, status=0/SUCCESS)
  Process: 97242 ExecStart=/usr/bin/pg_ctl start -D ${PGDATA} -s -o -p ${PGPORT} -w -t 300 (code=exited, status=0/SUCCESS)
  Process: 97225 ExecStartPre=/usr/bin/postgresql-check-db-dir ${PGDATA} (code=exited, status=0/SUCCESS)
Main PID: 97257 (postgres)
   CGroup: /system.slice/postgresql.service
           ├─36907 postgres: rhnuser rhnschema 127.0.0.1(39176) idle
           ├─37932 postgres: rhnuser rhnschema [local] idle
           ├─39977 postgres: rhnuser rhnschema 127.0.0.1(42552) idle
           ├─40126 postgres: rhnuser rhnschema 127.0.0.1(42722) idle
           ├─40383 postgres: rhnuser rhnschema [local] idle
           ├─40573 postgres: rhnuser rhnschema [local] idle
           ├─40759 postgres: rhnuser rhnschema [local] idle
           ├─41007 postgres: rhnuser rhnschema [local] idle
           ├─41015 postgres: rhnuser rhnschema [local] idle
           ├─41039 postgres: rhnuser rhnschema [local] idle
           ├─41101 postgres: rhnuser rhnschema 127.0.0.1(43786) idle
           ├─41744 postgres: rhnuser rhnschema [local] idle
           ├─41810 postgres: rhnuser rhnschema [local] idle
           ├─41896 postgres: rhnuser rhnschema 127.0.0.1(44552) idle
           ├─97257 /usr/bin/postgres -D /var/lib/pgsql/data -p 5432
           ├─97271 postgres: logger process
           ├─97273 postgres: checkpointer process
           ├─97274 postgres: writer process
           ├─97275 postgres: wal writer process
           ├─97276 postgres: autovacuum launcher process
           ├─97277 postgres: stats collector process
           ├─97834 postgres: rhnuser rhnschema 127.0.0.1(40228) idle
           ├─97940 postgres: rhnuser rhnschema 127.0.0.1(40230) idle
           ├─97941 postgres: rhnuser rhnschema 127.0.0.1(40232) idle
           ├─97942 postgres: rhnuser rhnschema 127.0.0.1(40234) idle
           ├─97943 postgres: rhnuser rhnschema 127.0.0.1(40236) idle
           ├─97944 postgres: rhnuser rhnschema 127.0.0.1(40238) idle
           ├─97945 postgres: rhnuser rhnschema 127.0.0.1(40240) idle
           ├─97947 postgres: rhnuser rhnschema 127.0.0.1(40242) idle
           ├─97948 postgres: rhnuser rhnschema 127.0.0.1(40244) idle
           ├─97949 postgres: rhnuser rhnschema 127.0.0.1(40246) idle
           ├─97950 postgres: rhnuser rhnschema 127.0.0.1(40248) idle
           ├─97951 postgres: rhnuser rhnschema 127.0.0.1(40250) idle
           ├─97952 postgres: rhnuser rhnschema 127.0.0.1(40252) idle
           ├─97953 postgres: rhnuser rhnschema 127.0.0.1(40254) idle
           ├─97954 postgres: rhnuser rhnschema 127.0.0.1(40256) idle
           ├─97955 postgres: rhnuser rhnschema 127.0.0.1(40258) idle
           ├─98017 postgres: rhnuser rhnschema 127.0.0.1(40272) idle
           └─98018 postgres: rhnuser rhnschema 127.0.0.1(40274) idle

● jabberd.service - Jabber Server
   Loaded: loaded (/usr/lib/systemd/system/jabberd.service; enabled; vendor preset: disabled)
   Active: active (exited) since Mon 2020-02-24 15:44:41 CET; 1 months 5 days ago
  Process: 97229 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
Main PID: 97229 (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/jabberd.service

● tomcat.service - Apache Tomcat Web Application Container
   Loaded: loaded (/usr/lib/systemd/system/tomcat.service; enabled; vendor preset: disabled)
   Active: active (running) since Mon 2020-02-24 15:44:41 CET; 1 months 5 days ago
Main PID: 97222 (java)
   CGroup: /system.slice/tomcat.service
           └─97222 /usr/lib/jvm/jre/bin/java -ea -Xms256m -Xmx256m -Djava.awt.headless=true -Dorg.xml.sax....

● spacewalk-wait-for-tomcat.service - Spacewalk wait for tomcat
   Loaded: loaded (/usr/lib/systemd/system/spacewalk-wait-for-tomcat.service; static; vendor preset: disabled)
   Active: active (exited) since Mon 2020-02-24 15:45:56 CET; 1 months 5 days ago
  Process: 97223 ExecStart=/usr/sbin/spacewalk-startup-helper wait-for-tomcat (code=exited, status=0/SUCCESS)
Main PID: 97223 (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/spacewalk-wait-for-tomcat.service

● httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: active (running) since Mon 2020-02-24 15:45:56 CET; 1 months 5 days ago
     Docs: man:httpd(8)
           man:apachectl(8)
  Process: 97205 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=0/SUCCESS)
  Process: 122962 ExecReload=/usr/sbin/httpd $OPTIONS -k graceful (code=exited, status=0/SUCCESS)
Main PID: 97746 (httpd)
   Status: "Total requests: 0; Current requests/sec: 0; Current traffic:   0 B/sec"
   CGroup: /system.slice/httpd.service
           ├─37870 /usr/sbin/httpd -DFOREGROUND
           ├─40374 /usr/sbin/httpd -DFOREGROUND
           ├─40571 /usr/sbin/httpd -DFOREGROUND
           ├─40694 /usr/sbin/httpd -DFOREGROUND
           ├─41002 /usr/sbin/httpd -DFOREGROUND
           ├─41012 /usr/sbin/httpd -DFOREGROUND
           ├─41013 /usr/sbin/httpd -DFOREGROUND
           ├─41525 /usr/sbin/httpd -DFOREGROUND
           ├─41736 /usr/sbin/httpd -DFOREGROUND
           └─97746 /usr/sbin/httpd -DFOREGROUND

● spacewalk-wait-for-jabberd.service - Spacewalk wait for jabberd
   Loaded: loaded (/usr/lib/systemd/system/spacewalk-wait-for-jabberd.service; static; vendor preset: disabled)
   Active: active (exited) since Mon 2020-02-24 15:44:41 CET; 1 months 5 days ago
  Process: 97237 ExecStart=/usr/sbin/spacewalk-startup-helper wait-for-jabberd (code=exited, status=0/SUCCESS)
Main PID: 97237 (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/spacewalk-wait-for-jabberd.service

● osa-dispatcher.service - OSA Dispatcher daemon
   Loaded: loaded (/usr/lib/systemd/system/osa-dispatcher.service; enabled; vendor preset: disabled)
   Active: inactive (dead) since Mon 2020-02-24 15:44:44 CET; 1 months 5 days ago
  Process: 97286 ExecStart=/usr/sbin/osa-dispatcher --pid-file /var/run/osa-dispatcher.pid (code=exited, status=0/SUCCESS)
  Process: 97284 ExecStartPre=/bin/rm -f /var/run/osa-dispatcher.pid (code=exited, status=0/SUCCESS)
Main PID: 97301 (code=exited, status=0/SUCCESS)

● rhn-search.service - Spacewalk search engine
   Loaded: loaded (/usr/lib/systemd/system/rhn-search.service; enabled; vendor preset: disabled)
   Active: active (running) since Mon 2020-02-24 15:45:57 CET; 1 months 5 days ago
  Process: 97086 ExecStop=/usr/sbin/rhn-search stop (code=exited, status=0/SUCCESS)
  Process: 97755 ExecStart=/usr/sbin/rhn-search start (code=exited, status=0/SUCCESS)
Main PID: 97784 (rhnsearchd)
   CGroup: /system.slice/rhn-search.service
           ├─97784 /usr/bin/rhnsearchd /usr/share/rhn/config-defaults/rhn_search_daemon.conf wrapper.pidfi...
           └─97787 /usr/bin/java -Djava.library.path=/usr/lib:/usr/lib64:/usr/lib/oracle/11.2/client/lib:/...

● cobblerd.service - Cobbler daemon
   Loaded: loaded (/usr/lib/systemd/system/cobblerd.service; enabled; vendor preset: disabled)
   Active: active (running) since Mon 2020-02-24 15:45:56 CET; 1 months 5 days ago
Main PID: 97756 (cobblerd)
   CGroup: /system.slice/cobblerd.service
           └─97756 /usr/bin/python -s /usr/bin/cobblerd --no-daemonize

● taskomatic.service - Taskomatic
   Loaded: loaded (/usr/lib/systemd/system/taskomatic.service; enabled; vendor preset: disabled)
   Active: active (running) since Mon 2020-02-24 15:45:57 CET; 1 months 5 days ago
  Process: 97083 ExecStop=/usr/sbin/taskomatic stop (code=exited, status=0/SUCCESS)
  Process: 97757 ExecStart=/usr/sbin/taskomatic start (code=exited, status=0/SUCCESS)
Main PID: 97776 (taskomaticd)
   CGroup: /system.slice/taskomatic.service
           ├─97776 /usr/bin/taskomaticd /usr/share/rhn/config-defaults/rhn_taskomatic_daemon.conf wrapper....
           └─97786 /usr/bin/java -Dibm.dst.compatibility=true -Dfile.encoding=UTF-8 -Xms256m -Xmx1024m -Dj...
● spacewalk.target - Spacewalk
   Loaded: loaded (/usr/lib/systemd/system/spacewalk.target; enabled; vendor preset: disabled)
   Active: active since Mon 2020-02-24 15:45:57 CET; 1 months 5 days ago
[root at spacewalk ~]#





Regards,
Ajay Kumar Gupta
Professional 2 System Administrator (Linux)
DXC Technology
A 44/45, Galaxy Business Park Sector-62 Noida- 201301 India
Mob: +91 – 9971101172
Advance Leave Notification :

From: spacewalk-list-bounces at redhat.com<mailto:spacewalk-list-bounces at redhat.com> <spacewalk-list-bounces at redhat.com<mailto:spacewalk-list-bounces at redhat.com>> On Behalf Of Stefan Bluhm
Sent: Tuesday, March 31, 2020 7:09 PM
To: spacewalk-list <spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>>
Subject: Re: [Spacewalk-list] spacewalk - GUI console login issue

Hello Ajay,

I was accidentally able to reproduce this issue. On the server, check if all services are running (# spacewalk-service).

Also check your disk space. Mine was full so you see this behaviour.

Maybe this helps.

Best wishes,

Stefan

________________________________
Von: "GUPTA, AJAY KUMAR" <agupta488 at dxc.com<mailto:agupta488 at dxc.com>>
An: "spacewalk-list" <spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>>
Gesendet: Sonntag, 29. März 2020 19:07:23
Betreff: Re: [Spacewalk-list] spacewalk - GUI console  login issue

Spacewalk server is working fine and we are able to patch client server. Only we have issue with GUI console , not getting login screen. Attaching here screenshot. Actually we need to add repository for CentOS 8  on my spacewalk server to patch client server and need GUI console access for same. We have no idea how to repo from command line. Can you help me for same please.

<image002.jpg>

Regards,
Ajay Kumar Gupta
Professional 2 System Administrator (Linux)
DXC Technology
A 44/45, Galaxy Business Park Sector-62 Noida- 201301 India
Mob: +91 – 9971101172
Advance Leave Notification :

From: spacewalk-list-bounces at redhat.com<mailto:spacewalk-list-bounces at redhat.com> <spacewalk-list-bounces at redhat.com<mailto:spacewalk-list-bounces at redhat.com>> On Behalf Of Raymond Setchfield
Sent: Sunday, March 29, 2020 10:30 PM
To: spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>
Subject: Re: [Spacewalk-list] spacewalk - GUI console login issue

There is very little information to go on here.

Is the spacewalk service running?

What does the logs say? Are you receiving any error message when you go to the url?

Ray

On 29 Mar 2020, at 17:58, GUPTA, AJAY KUMAR <agupta488 at dxc.com<mailto:agupta488 at dxc.com>> wrote:
Hi Team,

I have spacewalk 2.8 server running on RHEL 7.7. I am not getting login screen to put my credential to get GUI console access. Please help me to fix the issue.

Regards,
Ajay Kumar Gupta
Professional 2 System Administrator (Linux)
DXC Technology
A 44/45, Galaxy Business Park Sector-62 Noida- 201301 India
Mob: +91 – 9971101172
Advance Leave Notification :


DXC Technology India Private Limited - Unit 13, Block 2, SDF Buildings, MEPZ SEZ, Tambaram, Chennai 600 045, Tamil Nadu. Registered in India, CIN: U72900TN2015FTC102489.
DXC Technology Company -- This message is transmitted to you by or on behalf of DXC Technology Company or one of its affiliates. It is intended exclusively for the addressee. The substance of this message, along with any attachments, may contain proprietary, confidential or privileged information or information that is otherwise legally exempt from disclosure. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient of this message, you are not authorized to read, print, retain, copy or disseminate any part of this message. If you have received this message in error, please destroy and delete all copies and notify the sender by return e-mail. Regardless of content, this e-mail shall not operate to bind DXC Technology Company or any of its affiliates to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. _______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com<mailto:Spacewalk-list at redhat.com>
https://clicktime.symantec.com/3YP2ey18ykwLzawxk1QPbtf7Vc?u=https%3A%2F%2Fwww.redhat.com%2Fmailman%2Flistinfo%2Fspacewalk-list

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com<mailto:Spacewalk-list at redhat.com>
https://clicktime.symantec.com/3W8RrmfF36LtDsHwHBSFUKj7Vc?u=https%3A%2F%2Fwww.redhat.com%2Fmailman%2Flistinfo%2Fspacewalk-list

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com<mailto:Spacewalk-list at redhat.com>
https://www.redhat.com/mailman/listinfo/spacewalk-list
_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com<mailto:Spacewalk-list at redhat.com>
https://www.redhat.com/mailman/listinfo/spacewalk-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20200331/90c4d46f/attachment.htm>


More information about the Spacewalk-list mailing list