[Engine-devel] Deploy ovirt-engine error

ShaoHe Feng shaohef at linux.vnet.ibm.com
Wed Jun 13 03:00:01 UTC 2012


I follow this guide http://ovirt.org/wiki/Building_oVirt_engine

1)
$> make install_tools
make: *** No rule to make target `install_tools'.  Stop

I have check the Makefile, there is really no install_tools rule.

2)
#>  make install_config
*** Deploying engine-config & engine-manage-domains
# Configuration files for the configuration tool:
install -m 644 
backend/manager/tools/engine-config/src/main/resources/engine-config.conf /etc/ovirt-engine/engine-config/
install -m 644 
backend/manager/tools/engine-config/src/main/resources/engine-config.*properties 
/etc/ovirt-engine/engine-config/
install -m 644 
backend/manager/tools/engine-config/src/main/resources/log4j.xml 
/etc/ovirt-engine/engine-config/
# Jar files for the configuration tool:
# XXX: Should replace with links to the actual locations
# of the jar files, or fix the scripts to use that.
install -m 644 
/home/fsh/work/vm/wkspace/ovirt-engine/rpmbuild/SOURCES/engine-config-3.1.0-0001.jar 
/usr/share/ovirt-engine/engine-config/lib/
install: cannot stat 
`/home/fsh/work/vm/wkspace/ovirt-engine/rpmbuild/SOURCES/engine-config-3.1.0-0001.jar': 
No such file or directory
make: *** [install_config] Error 1


3) can not start jboss-as after deploy ovirt-engine.
  $# service jboss-as start
=========================================================================

   JBoss Bootstrap Environment

   JBOSS_HOME: /usr/share/jboss-as

   JAVA: java

   JAVA_OPTS:  -server -XX:+UseCompressedOops -XX:+TieredCompilation 
-Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4S
tack=true -Dorg.jboss.resolver.warning=true 
-Dsun.rmi.dgc.client.gcInterval=3600000 
-Dsun.rmi.dgc.server.gcInterval=3600000 -Djb
oss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true 
-Djboss.server.default.config=standalone.xml

=========================================================================

10:39:51,401 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA
10:39:51,643 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA
10:39:51,682 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final 
"Brontes" starting
10:39:51,689 ERROR [org.jboss.msc.service.fail] MSC00001: Failed to 
start service jboss.as: org.jboss.msc.service.StartException
  in service jboss.as: Failed to start service
         at 
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767) 
[jboss-msc-1.0.2.GA.jar:1.
0.2.GA]
         at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) 
[rt.jar:1.7.0_b147-icedtea]
         at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) 
[rt.jar:1.7.0_b147-icedtea]
         at java.lang.Thread.run(Thread.java:722) 
[rt.jar:1.7.0_b147-icedtea]
Caused by: java.lang.IllegalStateException: JBAS014922: Directory 
/usr/share/jboss-as/standalone/data/content is not writable
         at 
org.jboss.as.repository.ContentRepository$Factory$ContentRepositoryImpl.<init>(ContentRepository.java:123)
         at 
org.jboss.as.repository.ContentRepository$Factory.addService(ContentRepository.java:97)
         at 
org.jboss.as.server.ApplicationServerService.start(ApplicationServerService.java:134) 
[jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
         at 
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) 
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
         at 
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) 
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
         ... 3 more

10:39:51,694 ERROR [stderr] java.util.concurrent.ExecutionException: 
Operation failed
10:39:51,695 ERROR [stderr]     at 
org.jboss.threads.AsyncFutureTask.operationFailed(AsyncFutureTask.java:74)
10:39:51,695 ERROR [stderr]     at 
org.jboss.threads.AsyncFutureTask.get(AsyncFutureTask.java:268)
10:39:51,695 ERROR [stderr]     at 
org.jboss.as.server.Main.main(Main.java:98)
10:39:51,695 ERROR [stderr]     at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
10:39:51,695 ERROR [stderr]     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
10:39:51,707 ERROR [stderr]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
10:39:51,707 ERROR [stderr]     at 
java.lang.reflect.Method.invoke(Method.java:601)
10:39:51,708 ERROR [stderr]     at 
org.jboss.modules.Module.run(Module.java:260)
10:39:51,708 ERROR [stderr]     at 
org.jboss.modules.Main.main(Main.java:291)
10:39:51,708 ERROR [stderr] Caused by: 
org.jboss.msc.service.StartException in service jboss.as: Failed to 
start service
10:39:51,708 ERROR [stderr]     at 
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767)
10:39:51,708 ERROR [stderr]     at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
10:39:51,708 ERROR [stderr]     at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
10:39:51,709 ERROR [stderr]     at java.lang.Thread.run(Thread.java:722)
10:39:51,709 ERROR [stderr] Caused by: java.lang.IllegalStateException: 
JBAS014922: Directory /usr/share/jboss-as/standalone/data/content is not 
writable
10:39:51,709 ERROR [stderr]     at 
org.jboss.as.repository.ContentRepository$Factory$ContentRepositoryImpl.<init>(ContentRepository.java:123)
10:39:51,709 ERROR [stderr]     at 
org.jboss.as.repository.ContentRepository$Factory.addService(ContentRepository.java:97)
10:39:51,709 ERROR [stderr]     at 
org.jboss.as.server.ApplicationServerService.start(ApplicationServerService.java:134)
10:39:51,710 ERROR [stderr]     at 
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
10:39:51,710 ERROR [stderr]     at 
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
10:39:51,710 ERROR [stderr]     ... 3 more
13469


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/engine-devel/attachments/20120613/0b3ebae3/attachment.html>


More information about the Engine-devel mailing list