How to launch Nuxeo when having "Sent server start command but could not get process ID" error message
Hello,
After restarting the server. nuxeo unbootable, I have the error messages: Sent start command server object Could not get process ID.
Thank you for your feedback.
Shutdown happens 1h after the startup. Are you sure the server wasn't started?
Which command did you run to start the server? What is your OS version? On some Windows versions, it is not possible for the Nuxeo launcher to retrieve the process ID (aka PID
) so a workaround is to start Nuxeo in background (see nuxeoctl commands such as startbg
, restartbg
, …).
You can also follow http://doc.nuxeo.com/x/eABu in order to check if the process ID is retrievable or not.
I have the same problem. The server stops but does not start again.
This problem only occurs if I do this after installing a new JAR archive:
cp xyz.jar /var/lib/nuxeo/server/nxserver/bundles/
/etc/init.d/nuxeo restart
So I think this is a problem with the handling of the archives and some sort of time out (or state management).
The content of server.log
is the following:
2012-05-31 09:39:49,726 INFO [org.quartz.core.QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED shutting down.
2012-05-31 09:39:49,726 INFO [org.quartz.core.QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED paused.
2012-05-31 09:39:49,726 INFO [org.quartz.core.QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED shutdown complete.
I don't know if this exactly the same problem but if I run /etc/init.d/nuxeo start
again then the server starts normally.
I noticed your install files are on the F: drive. I have run into problems on Windows when not installing to C:. See the following link for additional information (http://answers.nuxeo.com/questions/532/force-install-to-use-drive-other-than-c-for-all-components).
I've got the same error and I don't understand why… This http://doc.nuxeo.com/display/KB/Launcher+says+it+couldn%27t+retrieve+process+ID is useless for me, but maybe can it help you?
when i got this message, what i do is to close the browser, run nuxeo and then nuxeo got the process.
it´s simple, but it works for me
Hello Dear:
I found the solution to the problem generated by the aforementioned error message.
What I have done has been as follows:
In nuxeo.conf file located in C:\ProgramData\Nuxeo\Conf\
in the line corresponding to
JAVA_OPTS=-Xms512m -Xmx1024m -XX:MaxPermSize=512m
I set the values in half and EUREKA! this has worked wonders!
Then, the content should look like:
JAVA_OPTS=-Xms256m -Xmx512m -XX:MaxPermSize=256m
.
As a precaution, I have also made this change to the same values in the following files in C:\Nuxeo\bin
:
- nuxeoctl
- pack
Bon voyage!
In your case, that is a Windows specific issue: the JVM can only allocate contiguous available memory. The issue with your workaround is that Nuxeo won't have enough memory and the JVM will spend time in the garbage collector.
A better fix is to add memory to your system and/or run Nuxeo just after startup in order to have more chances to find enough contiguous unused memory.
According to the technical documentation regarding minimum hardware requirements for Windows is suggested 2Gb RAM, Intel Core 2 CPU and at least 300MB free hard disk.
My laptop has 4Gb RAM, Intel Core i3 and 500Gb hard drive with about 200 GB free.
Is there any other reason for Nuxeo only work by modifying the values set?
Thank you.
Let's say you have 2GB of free memory but it is fragmented and the greater contiguous block is about 700MB, then the JVM won't be able to start with a -Xmx1024m
option.
I'm not a Windows expert so I can't give you much more advices or recommend any tool but you could give a look at those:
http://stackoverflow.com/questions/3770457/what-is-memory-fragmentation
http://msdn.microsoft.com/en-us/library/ff650691.aspx
http://blogs.msdn.com/b/tess/archive/2009/04/23/show-me-the-memory-tool-for-visualizing-virtual-memory-usage-and-gc-heap-usage.aspx
This means that your server process hasn't started. Do you have some errors in your logs (log/server.log)? How many memory do you have on your device?
thnks for replay.
server.log: http://pastebin.com/gGrgufMp
so no error memory device is :4Go RAM
and here lof from CMD windows: