Can't acces the webadmin interface

Hey everyone,

my free license is expiring in a few days and i can’t access my web admin interface to update it. Neither from remote nor from localhost. Although a few months back it worked flawlessly. I always get a blank page of death on http://188.214.105.101:9000/ Anything else that i can try? The web mail client works ok. I don’t have any problems with it. On https i get a This site can’t provide a secure connection.

I’ve tried restarting the services a few times and the server also but no luck.
Anything else i can try?

Thanks
Catalin

Have you confirmed that you have access to that port / the port is listening? It might be that it’s not enabled. I did look up a way to turn enable it if it’s off.

Axigen Mail Server - How to enable the Webadmin interface

Thank you for the reply. I doubt it’s the port since it used to work but no it doesn’t. Even more it doesn’t work from localhost. I’ve checked now and it has 3 rules enabled in the firewall… Checked also and Port 9000 is open on 188.214.105.101.

Maybe a ssl one? Can’t figure it tho’

Hello Catalin,

Till you will find the problem with the WebAdmin interface please do not forget that you could simply replace the existing axigen_lk.bin file (from the Aixgen working directory) with the one corresponding to the new license (pay attention to the keep the file read and write rights and ownership details).

After replacing that file (my recommendation is to back-up your old file) you need to restart Axigen service so it will use the new license.

HTH,
Ioan

I know, i kept this one as a last resort since i didn’t want to meddle with the files and might break something by replacing something else. But thank your suggestions none the less and also for the detail about ownership. I would have totally overlook that.

Hello Catalin,

Now that you have a safety net for applying the license let’s check why you do not have acces to the WebAdmin interface.

Could you please:
1/ connect into CLI (like telnet 127.0.0.1 7000 from your server console)
2/ login with your admin user
3/ navigate to server context (like config server)
4/ share the output from:

  • show attr services

5/ navigate to webadmin context (like config webadmin)

6/ share with us the output from:

  • list listeners
  • list urlRedirects

From one of our test systems we have something like this:

support@test-9SD3:~$ telnet 127.0.0.1 7000
Welcome to AXIGEN's Command Line Interface
You must login first. For a list of available commands, type HELP

<login> user admin
<password> xxx-xxx-xxx

<#> config server

<server#> show attr services
services = (log processing smtpIncoming smtpOutgoing pop3 imap webmail cli webadmin reporting ftpBackup rpop)

<server#> config webadmin

<server-webadmin#> LIST Listeners

The list of Listeners for this service:

address        | enable
-------------------------
0.0.0.0:9000   | yes
127.0.0.1:9191 | yes
:::9000        | yes

+OK: command successful

<server-webadmin#> list UrlRedirects

The list of UrlRedirects rules for this service:

address        | host      | port | auto
------------------------------------------
127.0.0.1:8000 | localhost | 8443 | yes

+OK: command successful

Basically we like to know if:
i/ if the webadmin service is started
ii/ if there is at least one enabled listener
iii/ if there is no urlRedirects that may prevent connecting to the WebAdmin

HTH,
Ioan

Thank you for the indepth walktrough
services = (log processing smtpIncoming smtpOutgoing pop3 imap webmail cli webad min reporting ftpBackup rpop webmailProxy)


The list of Listeners for this service:

address      | enable
-----------------------
0.0.0.0:9000 | yes


The list of UrlRedirects rules for this service:

address        | host      | port | auto
------------------------------------------
127.0.0.1:8000 | localhost | 8443 | yes

SO it looks like i missing this two

127.0.0.1:9191 | yes
:::9000 | yes

Hello Catalin,

No, you are not missing anything - the example was just to know what to expect.

So, we have a confirmation that:
1/ the webadmin service is started
2/ there is an enabled listener on port 9000

Now, could you please share the output from the following 2 commands executed on the console of your Axigen server:

$ curl http://127.0.0.1:9000 -o /tmp/webadmin.http
$ curl -k https://127.0.0.1:900 -o /tmp/webadmin.https

Basically we are testing if on the 9000 WebAdmin listener we get an answer via HTTP or HTTPS.

HTH,
Ioan

ugh, you lost me here.
I don’t know how to this…

I’ve tried in powershell and command line but no luck :frowning:

any more specific info how to run the curl commands?

Hello Catalin,

Ah, are you running Axigen on Windows?

If this is the case let’s open a local browser on the Windows instance where Axigen is running and try to connect to:
1/ http://127.0.0.1:9000
2/ https://127.0.0.1:9000

Is any of the above connections successful?

HTH,
Ioan

That i can do
http://127.0.0.1:9000/
blank page, no error in console, Status 200 OK in GET but nothing else downloaded

https://127.0.0.1:9000
This site can’t provide a secure connection / ERR_SSL_PROTOCOL_ERROR

ok - so it looks that we have an HTTP connection.

let’s see what you get when simulating an HTTP request via a telnet command executed from the Windows terminal, like:

$ telnet 127.0.0.1 80<press-ENTER>
GET / HTTP/1.0<press-ENTER>
<press-ENTER>

I dont know If this was what i supposed to do

ok - so, as you see, the output was provided by the Microsoft-HTTPAPI server and not Axigen.

Now, if you are sure that the telnet commands were executed on the console from the Windows server where Axigen is running, I could not provide any explanation why you have another server (which is identifying as Microsoft-HTTPAPI) intercepting / responding on the same port as Axigen WebAdmin is supposed to respond so you definitely have to extend the investigations.

From Axigen side we could add another HTTP listener for WebAdmin service so you could try to connect on that port (for example, via CLI, like: config server > config webadmin > add listener 0.0.0.0:9999 > commit > save config).

HTH,
Ioan

Ok, probably because we have some other services that provide interfaces on local 80? Redis, xampp, …

So I’ve done the setup on 9999. Should it respond on localhost:9999 now?

ah, only now I have seen that on post #12 instead of connecting on port 9000 I’ve give you instructions to connect on port 80.

so, could you please:

1/ open a new cmd terminal on the Windows instance that is running Axigen server

2/ execute the following commands:

$ telnet 127.0.0.1 9000<press-ENTER>
GET / HTTP/1.0<press-ENTER>
<press-ENTER>

And coming back to your last question - could you please re-run the CLI commands mentioned in post #6 so we’ll see if the listener on port 9999 has been added and it is enabled?

If yes, what you get (from a web browser and telnet) when connection to it locally?

HTH,
Ioan

image
this is for 9000

and for 9999 (added a 8329) for good measure also

image

ok - so the Axigen-WebAdmin is providing an answer when connecting to 127.0.0.1 on port 9000. Nevertheless the strange part is that you get a 400 Bad Request error code but at least we are receiving something.

now, please investigate furthermore why the local opened browser get an empty page when connecting to http://127.0.0.1:9000 as I’ve no other ideas other than the obvious ones like restarting the server or checking if the webadmin folder from Axigen working directory is still on disk / have any access permissions problems / etc.

as you know, the problems like it was working before but not now do not appear from “thin air” but as a consequence of some manual / automated actions. thus my advice for you is to review what was changed / installed / updated on the Windows server between the moment “it was working before” and the moment “but not now”.

HTH,
Ioan

Oh, i found out what it was … or the reason. It was a failed update … webadmin-10.3.1.28.0. I’ve reverted to the backup and now it works.

Can’t I uinstall the whole Axigen and reinstall while keeping the DB and config files?

LE: License expiry date: November 29, 2023

Hello Catalin,

I’m glad that you’ve managed to find the main problem and fix it in the end.

Coming back on your question, I could only recommend to contact our support channel (if entitled) as “the devil is in details” especially when discussing about Windows and installation options an admin has.

BR,
Ioan