Install fails on Vista Home Premium 64 bit

I've downloaded and ran ejabberd-2.0.4-windows-installer.exe. I then get this message:

   Error running Post Install Script.
   The installation may have not completed correctly.

I've tried running C:\Program Files (x86)\ejabberd-2.0.4\bin\postinstall.cmd as an administrator and I get this error:

Windows Script Host
Script: C:\Program Files (x86)\ejabberd-2.0.4\bin\manual.vbs
Line: 10
Char: 1
Error: Invalid root in registry key "HKLM\SOFTWARE\Ericsson\Erlang\ErlSrv\1.1\ejabberd\InternalServiceName".
Code: 80070002
Source: WshShell.RegRead

I do not have the registry key: HKLM\SOFTWARE\Ericsson

So I tried install erlang: http://erlang.org/download/otp_win32_R13A.exe, It installed successfully but I still don't have that registry key.

If I try running ejabberd anyways with C:\Program Files (x86)\ejabberd-2.0.4\bin\start.cmd
It says Starting ejabberd... for a while then opens an error page in my browser with a link to a log, The log contains this:

=INFO REPORT==== 2009-03-17 14:27:23 ===
    application: ejabberd
    exited: {bad_return,
                {{ejabberd_app,start,[normal,[]]},
                 {'EXIT',
                     {badarg,
                         [{erlang,list_to_integer,["20 10"]},
                          {win32_dns,'-translate/2-lc$^2/1-2-',1},
                          {win32_dns,'-translate/2-lc$^2/1-2-',1},
                          {win32_dns,'-translate/2-lc$^1/1-1-',1},
                          {win32_dns,'-config_keys/2-lc$^0/1-0-',2},
                          {win32_dns,'-config_keys/2-lc$^0/1-0-',2},
                          {win32_dns,all_configs,0},
                          {win32_dns,pick_config,0}]}}}}
    type: temporary

That looks like a dns issue, my dns is working fine. I've tried different things from the ejabberd server domain in the installation, such as my machine name, localhost, 127.0.0.1, etc.

Any ideas on where to go from here?

Install fails on Vista Home Premium 32bits and XP SP3

I have the same error when running the Post Install Script and when running ejabberd start script C:\Program Files\ejabberd-2.0.4\bin\start.cmd

look :

Steps to try

Gromph wrote:

Install fails on Vista Home Premium 64 bit

I've downloaded and ran ejabberd-2.0.4-windows-installer.exe. I then get this message:

   Error running Post Install Script.
   The installation may have not completed correctly.

I don't know if the Windows installer supports 64bit or not.

You can try from scratch:

  • Uninstall Erlang/OTP. ejabberd binary installers from ProcessOne site already include Erlang/OTP.
  • Uninstall any ejabberd you have.
  • Delete the remaining ejabberd installation directories, so they don't confuse you.
  • Now install ejabberd 2.0.4.
  • During PostInstall, ejabberd is started to register the admin account.
  • When installation finishes with some error message, check ejabberd.log and sasl.log, they may contain some useful error message.

This problem is now reported

This problem is now reported here: Problem parsing win32 dns sometimes.

Until a new release is published, you can compile from source code with the fix, or copy win32_dns.beam that includes the fix.

This solves the problem.

This solves the problem. Thanks for posting the link for win32_dns.beam. Keep up the great work!

I have had such problem, It's

I have had such problem,
It's fix by installing erlang R12b5,

look :

Syndicate content