cancel
Showing results for 
Search instead for 
Did you mean: 

Server is shutting down right after starting

Quoquo_
Champ in-the-making
Champ in-the-making

Hello,

I've successfully installed nuxeo on my computer but i can't get to start the server.

More exactly, it start for about a handfull of second then shut down on his own. I am able to load the very first page of the setup wizard before it shut down if i click at the right time, so the problem probably isn't coming from an incorrect installation. I've tried uninstalling and re-installing in a different location, starting the .bat as admin and disabling various process without any results.

Startup logs are showing no errors.

2012-04-24 12:08:49,763 INFO  [org.nuxeo.launcher.config.ConfigurationGenerator] Nuxeo home:          C:\Nuxeo 
2012-04-24 12:08:49,763 INFO  [org.nuxeo.launcher.config.ConfigurationGenerator] Nuxeo configuration: C:\ProgramData\Nuxeo\conf\nuxeo.conf
2012-04-24 12:08:49,763 INFO  [org.nuxeo.launcher.config.ConfigurationGenerator] Nuxeo home:          C:\Nuxeo
2012-04-24 12:08:49,763 INFO  [org.nuxeo.launcher.config.ConfigurationGenerator] Nuxeo configuration: C:\ProgramData\Nuxeo\conf\nuxeo.conf
2012-04-24 12:08:49,779 INFO  [org.nuxeo.launcher.config.ConfigurationGenerator] Include template: C:\Nuxeo\templates\common
2012-04-24 12:08:49,779 INFO  [org.nuxeo.launcher.config.ConfigurationGenerator] Include template: C:\Nuxeo\templates\default
2012-04-24 12:08:49,944 INFO  [org.nuxeo.launcher.config.ServerConfigurator] Detected Tomcat server.
2012-04-24 12:08:49,944 INFO  [org.nuxeo.launcher.config.ConfigurationGenerator] No current configuration, generating files...
2012-04-24 12:08:50,004 INFO  [org.nuxeo.launcher.config.ConfigurationGenerator] Configuration files generated.
2012-04-24 12:08:51,247 WARN  [org.nuxeo.launcher.NuxeoLauncher] Server started with process ID 6932.
  • Error logs are empty.
  • Windows seven 32bits

Thanks.

1 ACCEPTED ANSWER

bruce_Grant
Elite Collaborator
Elite Collaborator

Since you're on Windows, you have installed/reinstalled, I would make absolutely sure that your nuxeoctl.bat is using the correct Nuxeo Home/Conf file. On Windows a registry entry is used by default for default configuration file location.

Try editing nuxeoctl.bat and add these two lines right after initial comments...

set NUXEO_HOME=C:\path\to\nuxeoinstall        (replace path\to\nuxeoinstall with your install dir)
set NUXEO_CONF=%NUXEO_HOME%\bin\nuxeo.conf

And then add just after the tag :FOUND_NUXEO_LAUNCHER add a line to jump around registry stuff

rem  avoid the registry
if not "%NUXEO_CONF%" == "" if exist "%NUXEO_CONF%" goto FOUND_NUXEO_CONF

This will at least ensure everything is pointed to the right place, and there aren't any artifacts from a previous install.

View answer in original post

8 REPLIES 8

bruce_Grant
Elite Collaborator
Elite Collaborator

Since you're on Windows, you have installed/reinstalled, I would make absolutely sure that your nuxeoctl.bat is using the correct Nuxeo Home/Conf file. On Windows a registry entry is used by default for default configuration file location.

Try editing nuxeoctl.bat and add these two lines right after initial comments...

set NUXEO_HOME=C:\path\to\nuxeoinstall        (replace path\to\nuxeoinstall with your install dir)
set NUXEO_CONF=%NUXEO_HOME%\bin\nuxeo.conf

And then add just after the tag :FOUND_NUXEO_LAUNCHER add a line to jump around registry stuff

rem  avoid the registry
if not "%NUXEO_CONF%" == "" if exist "%NUXEO_CONF%" goto FOUND_NUXEO_CONF

This will at least ensure everything is pointed to the right place, and there aren't any artifacts from a previous install.

Quoquo_
Champ in-the-making
Champ in-the-making

Thanks for your answer.

Do you have anything else running on any of the Nuxeo default ports?

Quoquo_
Champ in-the-making
Champ in-the-making

I have killed most of the process that I thought could mess up with Nuxeo (Without result yet) but I don't know how to be sure.

Quoquo_
Champ in-the-making
Champ in-the-making

So it's working now.

Good to hear you got it working

Quoquo_
Champ in-the-making
Champ in-the-making

I tried restarting all the process but Nuxeo is still working fine.

Not applicable

hi,

I just spend 3 hours on a stupid mistake,with exactly the same result, nuxeo shutting down after 5min even every thing seem working.
Check your nuxeo.conf, I bind it to my eth0 interface and forgotten to change nuxeo.loopback.url (was still on localhost)
here my config, now everything work :

nuxeo.templates=postgresql,dam,collaboration
nuxeo.bind.address=10.3.36.220
nuxeo.server.http.port=8081
nuxeo.server.ajp.port=8010
nuxeo.server.https.port=8444
nuxeo.url=http://10.3.36.220:8081/nuxeo
nuxeo.loopback.url=http://10.3.36.220:8081/nuxeo
org.nuxeo.ecm.contextPath=/nuxeo

Hope this help.

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.