1 Reply Latest reply on Jun 3, 2014 3:30 PM by Mike Reider

    PXE server startup error

    Mike Reider

      Trying to start up my 8.5 pxe service on Centos 65 (pxe/tftp/dhcp are on separate box from App server, App server is on RHEL5 version 8.5)

       

      getting this error in pxe.log.

       

      03 Jun 2014 10:12:09,710] [main] [INFO] [::] [] Starting PXE Service...

      [03 Jun 2014 10:12:09,739] [Thread-8] [INFO] [::] [] OS Name Linux

      [03 Jun 2014 10:12:09,744] [Thread-8] [INFO] [::] [] Version 2.6.32-431.el6.x86_64

      [03 Jun 2014 10:12:09,744] [Thread-8] [INFO] [::] [] Architecture amd64

      [03 Jun 2014 10:12:09,745] [Thread-8] [INFO] [::] [] Number of Processors Available to JVM 1

      [03 Jun 2014 10:12:09,745] [Thread-8] [INFO] [::] [] JRE Version1.7.0_25 from Oracle Corporation

      [03 Jun 2014 10:12:09,745] [Thread-8] [INFO] [::] [] Maximum JVM Memory (B)1,037,959,168

      [03 Jun 2014 10:12:09,747] [Thread-8] [INFO] [::] [] [PxeServerMonitor]: Current Active RPacketProcessor Threads:0

      [03 Jun 2014 10:12:09,749] [Thread-8] [INFO] [::] [] [PxeServerMonitor]: [Total JVM Memory (B)170,532,864 - Free JVM Memory (B)95,851,288] = Used JVM Memory (B)74,681,576

      [03 Jun 2014 10:12:24,754] [Thread-8] [INFO] [::] [] [PxeServerMonitor]: Current Active RPacketProcessor Threads:0

      [03 Jun 2014 10:12:24,754] [Thread-8] [INFO] [::] [] [PxeServerMonitor]: [Total JVM Memory (B)170,532,864 - Free JVM Memory (B)93,944,856] = Used JVM Memory (B)76,588,008

      [03 Jun 2014 10:12:24,791] [main] [INFO] [::] [] Will bind to eth0

      [03 Jun 2014 10:12:24,792] [main] [INFO] [::] [] Will bind to Mcast interfaces

      [03 Jun 2014 10:12:24,800] [Thread-9] [INFO] [::] [] (U)FD:245

      [03 Jun 2014 10:12:24,800] [Thread-9] [INFO] [::] [] (M)FD:246

      [03 Jun 2014 10:12:24,800] [Thread-9] [INFO] [::] [] (M)FD:249

      [03 Jun 2014 10:12:24,801] [main] [INFO] [::] [] PxeMain : Starting PXE Server Single DB Mode connecting to DEFAULT Database

      [03 Jun 2014 10:12:24,803] [main] [INFO] [::] [] PxeMain : Version =8.5.00.416

      [03 Jun 2014 10:12:24,803] [main] [INFO] [::] [] PXE Service started.

      [03 Jun 2014 10:12:24,805] [main] [INFO] [::] [] Starting RBAC Role Service...

      [03 Jun 2014 10:12:24,805] [main] [INFO] [::] [] RBAC Role Service started.

      [03 Jun 2014 10:12:24,805] [main] [INFO] [::] [] Starting Event Service...

      [03 Jun 2014 10:12:24,816] [Event-Processor-Thread-0] [INFO] [::] [] Event processor thread started.

      [03 Jun 2014 10:12:24,817] [Event-Processor-Thread-1] [INFO] [::] [] Event processor thread started.

      [03 Jun 2014 10:12:24,817] [Event-Processor-Thread-2] [INFO] [::] [] Event processor thread started.

      [03 Jun 2014 10:12:24,818] [Event-Processor-Thread-3] [INFO] [::] [] Event processor thread started.

      [03 Jun 2014 10:12:24,822] [Event-Transfer-Thread-0] [INFO] [::] [] Event transfer thread started.

      [03 Jun 2014 10:12:24,823] [Event-Transfer-Thread-1] [INFO] [::] [] Event transfer thread started.

      [03 Jun 2014 10:12:24,824] [Event-Transfer-Thread-2] [INFO] [::] [] Event transfer thread started.

      [03 Jun 2014 10:12:24,824] [Event-Transfer-Thread-3] [INFO] [::] [] Event transfer thread started.

      [03 Jun 2014 10:12:24,826] [Event-Transfer-Thread-4] [INFO] [::] [] Event transfer thread started.

      [03 Jun 2014 10:12:24,826] [main] [INFO] [::] [] Event Service started.

      [03 Jun 2014 10:12:24,826] [main] [INFO] [::] [] Starting RBAC User Service...

      [03 Jun 2014 10:12:24,826] [main] [INFO] [::] [] RBAC User Service started.

      [03 Jun 2014 10:12:24,827] [Event-Processor-Thread-4] [INFO] [::] [] Event processor thread started.

      [03 Jun 2014 10:12:24,829] [main] [INFO] [::] [] Starting RBAC Service...

      [03 Jun 2014 10:12:24,829] [main] [INFO] [::] [] Registering Security checkers...

      [03 Jun 2014 10:12:24,831] [Event-Dispatcher-Thread] [INFO] [::] [] Event dispatcher thread started.

      [03 Jun 2014 10:12:24,832] [main] [INFO] [::] [] Security checkers registered.

      [03 Jun 2014 10:12:24,834] [main] [INFO] [::] [] RBAC Service started.

      [03 Jun 2014 10:12:24,835] [main] [INFO] [::] [] Starting File Manager Service...

      [03 Jun 2014 10:12:24,849] [main] [INFO] [::] [] Validating file server host (sloan_bsa1)...

      [03 Jun 2014 10:12:24,880] [main] [ERROR] [::] [] Error installing to Start: name=bladelogic.service.FileManagerService state=Create

      com.bladelogic.om.infra.app.jni.JNIException: /etc/rsc/secure: Permission denied

          at com.bladelogic.om.infra.app.service.file.FileServerUtil.getAgentStatus(Native Method)

          at com.bladelogic.om.infra.app.service.file.FileServerUtil.isFileServerAvailable(FileServerUtil.java:34)

          at com.bladelogic.om.infra.app.service.file.FileManagerServiceImpl.validateCurrentFileServer(FileManagerServiceImpl.java:413)

          at com.bladelogic.om.infra.app.service.file.FileManagerServiceImpl.start(FileManagerServiceImpl.java:170)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

          at java.lang.reflect.Method.invoke(Unknown Source)

          at org.jboss.joinpoint.plugins.reflect.ReflectMethodJoinPoint.dispatch(ReflectMethodJoinPoint.java:72)

          at org.jboss.kernel.plugins.dependency.KernelControllerContextActions.dispatchJoinPoint(KernelControllerContextActions.java:92)

          at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$LifecycleAction.installAction(KernelControllerContextActions.java:452)

          at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$KernelControllerContextAction.install(KernelControllerContextActions.java:147)

          at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)

          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226)

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:593)

          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:346)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:438)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:379)

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:225)

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:151)

          at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:291)

          at com.bladelogic.om.infra.app.service.bootstrap.ServiceBeanXMLDeployer.deployBean(ServiceBeanXMLDeployer.java:38)

          at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:261)

          at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:117)

          at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:91)

          at com.bladelogic.om.infra.app.service.bootstrap.ServiceBootstrap.deploy(ServiceBootstrap.java:225)

          at com.bladelogic.om.infra.app.service.bootstrap.ServiceBootstrap.bootstrap(ServiceBootstrap.java:145)

          at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:91)

          at com.bladelogic.om.infra.app.service.bootstrap.ServiceBootstrap.startup(ServiceBootstrap.java:63)

          at com.bladelogic.om.infra.mfw.fw.BlManager.startWithType(BlManager.java:654)

          at com.bladelogic.om.provisioning.pxe.PxeMain.startServices(PxeMain.java:86)

          at com.bladelogic.om.provisioning.pxe.PxeMain.start(PxeMain.java:33)

          at com.bladelogic.om.provisioning.pxe.PxeMain.start(PxeMain.java:27)

          at com.bladelogic.om.provisioning.pxe.PxeMain.main(PxeMain.java:40)

      [03 Jun 2014 10:12:24,883] [main] [INFO] [::] [] Registering remote services...

      [03 Jun 2014 10:12:24,885] [Thread-0] [INFO] [::] [] Undeploying

       

       

       

      Secure file on App server looks like this:

       

       

      [root@sloan_bsa1 rsc]# cat /usr/lib/rsc/secure

      rscd:port=4750:protocol=5:tls_mode=encryption_only:encryption=tls:

      default:port=4750:protocol=5:tls_mode=encryption_only:encryption=tls:

       

      on PXE server looks like this

      [root@centos65_pxe rsc]# cat /usr/lib/rsc/secure

      rscd:port=4750:protocol=5:tls_mode=encryption_only:encryption=tls:

      default:port=4750:protocol=5:tls_mode=encryption_only:encryption=tls:

      ,

       

      on my app server, exports file looks like this,

      *     rw,user=root

       

      users.local

      BLAdmins:*     rw,map=root

       

      the app server starts up fine w/o FileManagerService errors, I also disabled iptables on both app and pxe servers.

      /etc/rsc/secure is owned by root on both App and PXE servers.

      I know its something simple that Im missing.

        • 1. Re: PXE server startup error
          Mike Reider

          found the problem, on PXE server the file permissions for secure and securecert files in /etc/rsc somehow got changed

           

          it should be

          - rw - r - - r - -    root root secure

          - rw - r - - r - -    root root securecert

           

          on my end it got chagned to

           

          - rw - - - - - - - - -

           

          for both files, not sure why.