Closed gefela closed 2 years ago
Set the server hostname and that name should resolve. Then it will work
I have done it in the hosts file ..
Still not working …
From: Pankaj Pratap Singh [mailto:notifications@github.com] Sent: 10 April 2020 10:24 To: MrMEEE/awx-build awx-build@noreply.github.com Cc: Akemu,E,Edirivere,VRC1 R edirivere.akemu@bt.com; Author author@noreply.github.com Subject: Re: [MrMEEE/awx-build] Internal Server Error (#233)
Set the server hostname and that name should resolve. Then it will work
On Fri, 10 Apr 2020 at 2:44 PM, gefela notifications@github.com<mailto:notifications@github.com> wrote:
When I browse to the awx web inetrafce , I am gettiing the error Internal Server Error
[root@localhost gefela]# systemctl status awx-web ● awx-web.service - AWX web service Loaded: loaded (/usr/lib/systemd/system/awx-web.service; disabled; vendor preset: disabled) Active: deactivating (final-sigterm) since Fri 2020-04-10 06:51:45 BST; 20s ago Process: 32725 ExecStart=/usr/bin/scl enable rh-python36 rh-postgresql10 uwsgi --socket 127.0.0.1:8050 --module=awx.wsgi:application --logto=/var/log/tower/web.log --die-on-term --vacuum --uid awx --gid awx --processes=5 --harakiri=120 --no-orphans --master --max-requests=1000 --master-fifo=/var/lib/awx/awxfifo --lazy-apps -b 32768 (code=killed, signal=TERM) Main PID: 32725 (code=killed, signal=TERM) Tasks: 6 CGroup: /system.slice/awx-web.service ├─32756 uwsgi --socket 127.0.0.1:8050 --module=awx.wsgi:applicatio... ├─32761 uwsgi --socket 127.0.0.1:8050 --module=awx.wsgi:applicatio... ├─32762 uwsgi --socket 127.0.0.1:8050 --module=awx.wsgi:applicatio... ├─32763 uwsgi --socket 127.0.0.1:8050 --module=awx.wsgi:applicatio... ├─32764 uwsgi --socket 127.0.0.1:8050 --module=awx.wsgi:applicatio... └─32765 uwsgi --socket 127.0.0.1:8050 --module=awx.wsgi:applicatio...
Apr 10 06:51:35 localhost.localdomain systemd[1]: Started AWX web service. Apr 10 06:51:45 localhost.localdomain systemd[1]: Stopping AWX web service...
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/MrMEEE/awx-build/issues/233, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQLPW4RA2VBJTPBN4AMYADRL3POVANCNFSM4MFKSINQ .
-- Thanks Pankaj
--
--
"Please consider the environment before printing this e-mail"
This e-mail and any attachments are confidential, may be
legally privileged and are the property of News Corp UK & Ireland
Limited on whose systems they were generated. News Corp UK
& Ireland Limited is the holding company for the News UK group,
is registered in England & Wales under number 81701, has its
registered office at 1 London Bridge Street, London, SE1 9GF and
is registered with VAT number GB 243 8054 69. If you have received
this e-mail in error, please notify the sender immediately and do not
use, distribute, store or copy it in any way. Statements or opinions in
this e-mail or any attachment are those of the author and are not necessarily agreed or authorised by News Corp UK & Ireland Limited
or any member of its group. News Corp UK & Ireland Limited may
monitor outgoing or incoming emails as permitted by law. It acceptsno liability for viruses introduced by this e-mail or attachments.
News Corp UK & Ireland Limited and its titles are committed to abiding by IPSO's regulations and the Editors' Code of Practice that IPSO enforces.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/MrMEEE/awx-build/issues/233#issuecomment-611955912, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHJDTSPYPKDSVMGMQMQU3G3RL3QUXANCNFSM4MFKSINQ.
did you figure this out eventually? because I'm having the exact same problem.
`[root@SGASTDTWR01 ~]# systemctl status awx-web ● awx-web.service - AWX web service Loaded: loaded (/usr/lib/systemd/system/awx-web.service; enabled; vendor preset: disabled) Active: active (running) since Thu 2020-04-16 12:06:45 +08; 3s ago Main PID: 6444 (scl) CGroup: /system.slice/awx-web.service ├─6444 /usr/bin/scl enable rh-python36 rh-postgresql10 uwsgi --socket 127.0.0.1:8050 --module=awx.wsg... ├─6449 /bin/bash /var/tmp/sclJjEEGC ├─6474 uwsgi --socket 127.0.0.1:8050 --module=awx.wsgi:application --logto=/var/log/tower/web.log --die-on-term --vacuu... ├─6483 uwsgi --socket 127.0.0.1:8050 --module=awx.wsgi:application --logto=/var/log/tower/web.log --die-on-term --vacuu... ├─6484 uwsgi --socket 127.0.0.1:8050 --module=awx.wsgi:application --logto=/var/log/tower/web.log --die-on-term --vacuu... ├─6485 uwsgi --socket 127.0.0.1:8050 --module=awx.wsgi:application --logto=/var/log/tower/web.log --die-on-term --vacuu... ├─6486 uwsgi --socket 127.0.0.1:8050 --module=awx.wsgi:application --logto=/var/log/tower/web.log --die-on-term --vacuu... └─6487 uwsgi --socket 127.0.0.1:8050 --module=awx.wsgi:application --logto=/var/log/tower/web.log --die-on-term --vacuu...
Apr 16 12:06:45 SGASTDTWR01.ast.gebgd.org systemd[1]: Started AWX web service. [root@SGASTDTWR01 ~]# systemctl status awx ● awx.service - Application Loaded: loaded (/usr/lib/systemd/system/awx.service; enabled; vendor preset: disabled) Active: active (exited) since Thu 2020-04-16 12:06:45 +08; 25s ago Process: 6441 ExecStart=/bin/true (code=exited, status=0/SUCCESS) Main PID: 6441 (code=exited, status=0/SUCCESS) CGroup: /system.slice/awx.service `
it was working just a day back. and now it said Internal Server Error.
I am having the same problems as well..
I have a backed up working VM of AWX and have used that instead to save me the trouble ..
Eddie Akemu | Senior Security Specialist | CISSP | Mobile: +44 (0) 7442 536 610
From: yourkucing notifications@github.com Sent: 16 April 2020 05:20 To: MrMEEE/awx-build awx-build@noreply.github.com Cc: Akemu,E,Edirivere,VRC1 R edirivere.akemu@bt.com; Author author@noreply.github.com Subject: Re: [MrMEEE/awx-build] Internal Server Error (#233)
did you figure this out eventually? because I'm having the exact same problem.
`[root@SGASTDTWR01 ~]# systemctl status awx-web ● awx-web.service - AWX web service Loaded: loaded (/usr/lib/systemd/system/awx-web.service; enabled; vendor preset: disabled) Active: active (running) since Thu 2020-04-16 12:06:45 +08; 3s ago Main PID: 6444 (scl) CGroup: /system.slice/awx-web.service ├─6444 /usr/bin/scl enable rh-python36 rh-postgresql10 uwsgi --socket 127.0.0.1:8050 --module=awx.wsg... ├─6449 /bin/bash /var/tmp/sclJjEEGC ├─6474 uwsgi --socket 127.0.0.1:8050 --module=awx.wsgi:application --logto=/var/log/tower/web.log --die-on-term --vacuu... ├─6483 uwsgi --socket 127.0.0.1:8050 --module=awx.wsgi:application --logto=/var/log/tower/web.log --die-on-term --vacuu... ├─6484 uwsgi --socket 127.0.0.1:8050 --module=awx.wsgi:application --logto=/var/log/tower/web.log --die-on-term --vacuu... ├─6485 uwsgi --socket 127.0.0.1:8050 --module=awx.wsgi:application --logto=/var/log/tower/web.log --die-on-term --vacuu... ├─6486 uwsgi --socket 127.0.0.1:8050 --module=awx.wsgi:application --logto=/var/log/tower/web.log --die-on-term --vacuu... └─6487 uwsgi --socket 127.0.0.1:8050 --module=awx.wsgi:application --logto=/var/log/tower/web.log --die-on-term --vacuu...
Apr 16 12:06:45 SGASTDTWR01.ast.gebgd.org systemd[1]: Started AWX web service. [root@SGASTDTWR01 ~]# systemctl status awx ● awx.service - Application Loaded: loaded (/usr/lib/systemd/system/awx.service; enabled; vendor preset: disabled) Active: active (exited) since Thu 2020-04-16 12:06:45 +08; 25s ago Process: 6441 ExecStart=/bin/true (code=exited, status=0/SUCCESS) Main PID: 6441 (code=exited, status=0/SUCCESS) CGroup: /system.slice/awx.service `
it was working just a day back. and now it said Internal Server Error.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/MrMEEE/awx-build/issues/233#issuecomment-614406984, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHJDTSMVL5FD5HIS4I6FJPTRM2BSHANCNFSM4MFKSINQ.
How to reproduce this? Maybe I can try to fix it if I face the same problem.
-- Pankaj Pratap Singh Lead System Engineer - Linux [image: NewsTech] http://www.newscorp.com/ M: +91 9873931864 <+91+9873931864> E: pankaj.singh@news.co.uk A: Salarpuria Symphony, Basapura, Hosur Road, Bengaluru, Karnataka, India 560100
On Thu, 16 Apr 2020 at 05:49, gefela notifications@github.com wrote:
I am having the same problems as well..
I have a backed up working VM of AWX and have used that instead to save me the trouble ..
Eddie Akemu | Senior Security Specialist | CISSP | Mobile: +44 (0) 7442 536 610
From: yourkucing notifications@github.com Sent: 16 April 2020 05:20 To: MrMEEE/awx-build awx-build@noreply.github.com Cc: Akemu,E,Edirivere,VRC1 R edirivere.akemu@bt.com; Author < author@noreply.github.com> Subject: Re: [MrMEEE/awx-build] Internal Server Error (#233)
did you figure this out eventually? because I'm having the exact same problem.
`[root@SGASTDTWR01 ~]# systemctl status awx-web ● awx-web.service - AWX web service Loaded: loaded (/usr/lib/systemd/system/awx-web.service; enabled; vendor preset: disabled) Active: active (running) since Thu 2020-04-16 12:06:45 +08; 3s ago Main PID: 6444 (scl) CGroup: /system.slice/awx-web.service ├─6444 /usr/bin/scl enable rh-python36 rh-postgresql10 uwsgi --socket 127.0.0.1:8050 --module=awx.wsg... ├─6449 /bin/bash /var/tmp/sclJjEEGC ├─6474 uwsgi --socket 127.0.0.1:8050 --module=awx.wsgi:application --logto=/var/log/tower/web.log --die-on-term --vacuu... ├─6483 uwsgi --socket 127.0.0.1:8050 --module=awx.wsgi:application --logto=/var/log/tower/web.log --die-on-term --vacuu... ├─6484 uwsgi --socket 127.0.0.1:8050 --module=awx.wsgi:application --logto=/var/log/tower/web.log --die-on-term --vacuu... ├─6485 uwsgi --socket 127.0.0.1:8050 --module=awx.wsgi:application --logto=/var/log/tower/web.log --die-on-term --vacuu... ├─6486 uwsgi --socket 127.0.0.1:8050 --module=awx.wsgi:application --logto=/var/log/tower/web.log --die-on-term --vacuu... └─6487 uwsgi --socket 127.0.0.1:8050 --module=awx.wsgi:application --logto=/var/log/tower/web.log --die-on-term --vacuu...
Apr 16 12:06:45 SGASTDTWR01.ast.gebgd.org systemd[1]: Started AWX web service. [root@SGASTDTWR01 ~]# systemctl status awx ● awx.service - Application Loaded: loaded (/usr/lib/systemd/system/awx.service; enabled; vendor preset: disabled) Active: active (exited) since Thu 2020-04-16 12:06:45 +08; 25s ago Process: 6441 ExecStart=/bin/true (code=exited, status=0/SUCCESS) Main PID: 6441 (code=exited, status=0/SUCCESS) CGroup: /system.slice/awx.service `
it was working just a day back. and now it said Internal Server Error.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub< https://github.com/MrMEEE/awx-build/issues/233#issuecomment-614406984>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/AHJDTSMVL5FD5HIS4I6FJPTRM2BSHANCNFSM4MFKSINQ>.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/MrMEEE/awx-build/issues/233#issuecomment-614413585, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQLPW45CZDS7UTAGZQ4CCTRM2E3XANCNFSM4MFKSINQ .
--
--
"Please consider the environment before printing this e-mail"
This e-mail and any attachments are confidential, may be
legally privileged and are the property of News Corp UK & Ireland
Limited on whose systems they were generated. News Corp UK
& Ireland Limited is the holding company for the News UK group,
is registered in England & Wales under number 81701, has its
registered office at 1 London Bridge Street, London, SE1 9GF and
is registered with VAT number GB 243 8054 69. If you have received
this e-mail in error, please notify the sender immediately and do not
use, distribute, store or copy it in any way. Statements or opinions in
this e-mail or any attachment are those of the author and are not necessarily agreed or authorised by News Corp UK & Ireland Limited
or any member of its group. News Corp UK & Ireland Limited may
monitor outgoing or incoming emails as permitted by law. It acceptsno liability for viruses introduced by this e-mail or attachments.
News Corp UK & Ireland Limited and its titles are committed to abiding by IPSO's regulations and the Editors' Code of Practice that IPSO enforces.
you can follow the installation guide on awx.wiki
Hi. I have the same problem. It happened after updating the packages with the yum update command. Here are the last lines of the file /etc/log/tower/web.log:
Traceback (most recent call last):
File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/awx/wsgi.py", line 39, in <module>
application = get_wsgi_application()
File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/core/wsgi.py", line 12, in get_wsgi_application
django.setup(set_prefix=False)
File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/__init__.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/apps/registry.py", line 114, in populate
app_config.import_models()
File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/apps/config.py", line 211, in import_models
self.models_module = import_module(models_module_name)
File "/opt/rh/rh-python36/root/usr/lib64/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/oauth2_provider/models.py", line 11, in <module>
from django.utils.encoding import python_2_unicode_compatible
ImportError: cannot import name 'python_2_unicode_compatible'
unable to load app 0 (mountpoint='') (callable not found or import error)
*** no app loaded. going in full dynamic mode ***
Project has been updated and moved...
Please move to the new version and report any issues
PROJECT MOVED: https://github.com/miracle-as/AWX-RPM
Issues at: https://github.com/miracle-as/AWX-RPM/issues
**Install guide, tools, utilities are located at: https://awx.wiki
LinkedIn group for Questions, support, talk and more: https://www.linkedin.com/groups/13694893/****
When I browse to the awx web inetrafce , I am gettiing the error Internal Server Error
[root@localhost gefela]# systemctl status awx-web ● awx-web.service - AWX web service Loaded: loaded (/usr/lib/systemd/system/awx-web.service; disabled; vendor preset: disabled) Active: deactivating (final-sigterm) since Fri 2020-04-10 06:51:45 BST; 20s ago Process: 32725 ExecStart=/usr/bin/scl enable rh-python36 rh-postgresql10 uwsgi --socket 127.0.0.1:8050 --module=awx.wsgi:application --logto=/var/log/tower/web.log --die-on-term --vacuum --uid awx --gid awx --processes=5 --harakiri=120 --no-orphans --master --max-requests=1000 --master-fifo=/var/lib/awx/awxfifo --lazy-apps -b 32768 (code=killed, signal=TERM) Main PID: 32725 (code=killed, signal=TERM) Tasks: 6 CGroup: /system.slice/awx-web.service ├─32756 uwsgi --socket 127.0.0.1:8050 --module=awx.wsgi:applicatio... ├─32761 uwsgi --socket 127.0.0.1:8050 --module=awx.wsgi:applicatio... ├─32762 uwsgi --socket 127.0.0.1:8050 --module=awx.wsgi:applicatio... ├─32763 uwsgi --socket 127.0.0.1:8050 --module=awx.wsgi:applicatio... ├─32764 uwsgi --socket 127.0.0.1:8050 --module=awx.wsgi:applicatio... └─32765 uwsgi --socket 127.0.0.1:8050 --module=awx.wsgi:applicatio...
Apr 10 06:51:35 localhost.localdomain systemd[1]: Started AWX web service. Apr 10 06:51:45 localhost.localdomain systemd[1]: Stopping AWX web service...