Issues with new 2.1.8 install

rdmi 8000/tcp # iRDMI
irdmi 8000/udp # iRDMI
vcom-tunnel 8001/tcp # VCOM Tunnel
vcom-tunnel 8001/udp # VCOM Tunnel
teradataordbms 8002/tcp # Teradata ORDBMS
teradataordbms 8002/udp # Teradata ORDBMS
mcreport 8003/tcp # Mulberry Connect Reporting Service
mcreport 8003/udp # Mulberry Connect Reporting Service
mxi 8005/tcp # MXI Generation II for z/OS
mxi 8005/udp # MXI Generation II for z/OS
qbdb 8019/tcp # QB DB Dynamic Port
qbdb 8019/udp # QB DB Dynamic Port
intu-ec-svcdisc 8020/tcp # Intuit Entitlement Service and Discovery
intu-ec-svcdisc 8020/udp # Intuit Entitlement Service and Discovery
intu-ec-client 8021/tcp # Intuit Entitlement Client
intu-ec-client 8021/udp # Intuit Entitlement Client
oa-system 8022/tcp # oa-system
oa-system 8022/udp # oa-system
ca-audit-da 8025/tcp # CA Audit Distribution Agent
ca-audit-da 8025/udp # CA Audit Distribution Agent
ca-audit-ds 8026/tcp # CA Audit Distribution Server
ca-audit-ds 8026/udp # CA Audit Distribution Server

can i just use another port???

That looks like you were grepping for the port in /etc/services - which is very much meaningless for most ports >1024, since there’s just so much stuff that could use the port. Most likely you aren’t using any of the services.
Use lsof -i | grep 8000 to check what’s actually running on the port.

And yes, you can use another port. indico run --help

hi
I have tried using a different port and stil falling over.
I have done an lsof -i (results below) and also the error i get - have you any ideas? i have been through things this morning and think i installed it all OK

[indico@dev-events02 ~]$ lsof -i
COMMAND      PID   USER   FD   TYPE   DEVICE SIZE/OFF NODE NAME
java        1812 indico   46u  IPv6 78476139      0t0  TCP *:43835 (LISTEN)
java        1812 indico   65u  IPv6 78477123      0t0  TCP *:35152 (LISTEN)
java        1812 indico   70u  IPv6 78477287      0t0  TCP localhost.localdomain:35152->localhost.localdomain:47086 (ESTABLISHED)
java        1812 indico   83u  IPv6 78476913      0t0  TCP localhost.localdomain:43835->localhost.localdomain:48858 (ESTABLISHED)
python2.7   4366 indico    3u  IPv4 77859241      0t0  TCP dev-events02.geant.org:8010 (LISTEN)
python2.7   4852 indico    3u  IPv4 78476912      0t0  TCP localhost.localdomain:48858->localhost.localdomain:43835 (ESTABLISHED)
python2.7   5285 indico    3u  IPv4 78477648      0t0  TCP localhost.localdomain:47086->localhost.localdomain:35152 (ESTABLISHED)
Xvnc       84683 indico    5u  IPv6   362763      0t0  TCP *:6001 (LISTEN)
Xvnc       84683 indico    6u  IPv4   362764      0t0  TCP *:6001 (LISTEN)
Xvnc       84683 indico    9u  IPv4   362772      0t0  TCP *:5901 (LISTEN)
Xvnc       84683 indico   10u  IPv6   362773      0t0  TCP *:5901 (LISTEN)
Xvnc       84683 indico   28u  IPv6 78429379      0t0  TCP dev-events02.geant.org:5901->[2001:799:cb2:101:95c0:93b9:adf4:9c78]:57280 (ESTABLISHED)
maildump   92752 indico    5u  IPv4   911929      0t0  TCP localhost.localdomain:socks (LISTEN)
maildump   92752 indico    6u  IPv4   911930      0t0  TCP localhost.localdomain:10843 (LISTEN)
maildump   92752 indico    7u  IPv4   911931      0t0  TCP localhost.localdomain:blackjack (LISTEN)
python2.7 124142 indico    3u  IPv4 77829582      0t0  TCP dev-events02.geant.org:irdmi (LISTEN)
[indico@dev-events02 ~]$ 

 * Serving Indico on http://dev-events02:8000
 * Werkzeug debugger console on http://dev-events02:8000/console
 * Werkzeug debugger console is available to all clients!
Traceback (most recent call last):
  File "/opt/indico/dev/indico/env/bin/indico", line 11, in <module>
    load_entry_point('indico', 'console_scripts', 'indico')()
  File "/opt/indico/dev/indico/env/lib/python2.7/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/opt/indico/dev/indico/env/lib/python2.7/site-packages/flask/cli.py", line 586, in main
    return super(FlaskGroup, self).main(*args, **kwargs)
  File "/opt/indico/dev/indico/env/lib/python2.7/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/opt/indico/dev/indico/env/lib/python2.7/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/opt/indico/dev/indico/env/lib/python2.7/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/opt/indico/dev/indico/env/lib/python2.7/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/opt/indico/dev/indico/env/lib/python2.7/site-packages/click/decorators.py", line 64, in new_func
    return ctx.invoke(f, obj, *args, **kwargs)
  File "/opt/indico/dev/indico/env/lib/python2.7/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/opt/indico/dev/indico/src/indico/cli/core.py", line 162, in run
    run_cmd(info, **kwargs)
  File "/opt/indico/dev/indico/src/indico/cli/devserver.py", line 77, in run_cmd
    extra_files=extra_files, request_handler=QuietWSGIRequestHandler if quiet else None)
  File "/opt/indico/dev/indico/env/lib/python2.7/site-packages/werkzeug/serving.py", line 987, in run_simple
    s.bind(server_address)
  File "/usr/lib64/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
socket.error: [Errno 98] Address already in use

[indico@dev-events02 ~]$ lsof -i
COMMAND      PID   USER   FD   TYPE   DEVICE SIZE/OFF NODE NAME
java        1812 indico   46u  IPv6 78476139      0t0  TCP *:43835 (LISTEN)
java        1812 indico   65u  IPv6 78477123      0t0  TCP *:35152 (LISTEN)
java        1812 indico   70u  IPv6 78477287      0t0  TCP localhost.localdomain:35152->localhost.localdomain:47086 (ESTABLISHED)
java        1812 indico   83u  IPv6 78476913      0t0  TCP localhost.localdomain:43835->localhost.localdomain:48858 (ESTABLISHED)
python2.7   4366 indico    3u  IPv4 77859241      0t0  TCP dev-events02.geant.org:8010 (LISTEN)
python2.7   4852 indico    3u  IPv4 78476912      0t0  TCP localhost.localdomain:48858->localhost.localdomain:43835 (ESTABLISHED)
python2.7   5285 indico    3u  IPv4 78477648      0t0  TCP localhost.localdomain:47086->localhost.localdomain:35152 (ESTABLISHED)
Xvnc       84683 indico    5u  IPv6   362763      0t0  TCP *:6001 (LISTEN)
Xvnc       84683 indico    6u  IPv4   362764      0t0  TCP *:6001 (LISTEN)
Xvnc       84683 indico    9u  IPv4   362772      0t0  TCP *:5901 (LISTEN)
Xvnc       84683 indico   10u  IPv6   362773      0t0  TCP *:5901 (LISTEN)
Xvnc       84683 indico   28u  IPv6 78429379      0t0  TCP dev-events02.geant.org:5901->[2001:799:cb2:101:95c0:93b9:adf4:9c78]:57280 (ESTABLISHED)
maildump   92752 indico    5u  IPv4   911929      0t0  TCP localhost.localdomain:socks (LISTEN)
maildump   92752 indico    6u  IPv4   911930      0t0  TCP localhost.localdomain:10843 (LISTEN)
maildump   92752 indico    7u  IPv4   911931      0t0  TCP localhost.localdomain:blackjack (LISTEN)
python2.7 124142 indico    3u  IPv4 77829582      0t0  TCP dev-events02.geant.org:irdmi (LISTEN)
[indico@dev-events02 ~]$ 

kill 124142 - because that looks like another indico dev server running on that port (the last line in your lsof output)

Cheers – I didn’t see that – killed off process and socket issue gone.

However.

After starting the startup script and starting a browser it just sits there ‘Loading’ – left it 10 minutes with no progress.

Using indico run -h dev-events02 -q --enable-evalex

am attempting to aceess http://dev-events02:8000 (just clicking on output link)

Interesting, also when running

./bin/maintenance/build-assets.py indico --dev --watch

This does not compete just sits there – final screen output as follows:


mes_standard.print) 36 KiB [entry] [rendered]

chunk {themes_standard_inline_minutes} css/themes_standard_inline_minutes.41073441.css, js/themes_standard_inline_minutes.a54ef23b.bundle.js, css/themes_standard_inline_minutes.41073441.css.map, js/themes_standard_inline_minutes.a54ef23b.bundle.js.map (themes_standard_inline_minutes) 34.7 KiB [entry] [rendered]

chunk {themes_standard_inline_minutes.print} css/themes_standard_inline_minutes.print.2508d741.css, js/themes_standard_inline_minutes.print.aae4f57d.bundle.js, css/themes_standard_inline_minutes.print.2508d741.css.map, js/themes_standard_inline_minutes.print.aae4f57d.bundle.js.map (themes_standard_inline_minutes.print) 36 KiB [entry] [rendered]

Is there any other logs that might gibe me an idea as to what is not happening, or is it all related to the build assets not completing?

That’s correct. --watch makes it automatically rebuild whenever something changes, so terminating would be counterproductive :wink: If you omit --watch it will exit after building (but then you need to re-run it whenever you change css/js files)

Maybe a firewall blocking the requests?

Ok
I have managed to make sure that port 8000 is OK and have been given the following stats for you
It was suggested to me this proves it is going through 8000 to indico but then something else is failing - is there any logs anywhere i could look at?
of course i have put in 12.34.56 and 99.88.77 below as our IT people requested this

[indico@dev-events02 ~]$ netstat -an | grep :8000
tcp        7      0 12.34.56.75:8000        0.0.0.0:*               LISTEN     
tcp      408      0 12.34.56.75:8000        99.88.77.75:41164       ESTABLISHED
tcp       81      0 12.34.56.75:8000        99.88.77.75:41168       CLOSE_WAIT 
tcp        1      0 12.34.56.75:8000        99.88.77.75:41126       CLOSE_WAIT 
tcp        0      0 12.34.56.75:41166       99.88.77.75:8000        ESTABLISHED
tcp      410      0 12.34.56.75:8000        99.88.77.75:41122       CLOSE_WAIT 
tcp        0      0 12.34.56.75:41164       99.88.77.75:8000        ESTABLISHED
tcp        1      0 12.34.56.75:8000        99.88.77.75:41154       CLOSE_WAIT 
tcp        0      0 12.34.56.75:8000        99.88.77.75:41166       ESTABLISHED
tcp        1      0 12.34.56.75:8000        99.88.77.75:41142       CLOSE_WAIT 
[indico@dev-events02 ~]$