Author Topic: pool start and stop errors, can someone explain?  (Read 1350 times)

Offline dynabaul

  • Newbie
  • *
  • Posts: 20
  • Karma: +0/-0
    • View Profile
pool start and stop errors, can someone explain?
« on: January 29, 2013, 01:02:19 pm »
I have a setup with 4 DRU & 1 PPU on linux.  I'm trying to use the commandline to start and stop the pool.  The commands ultimately work but give some errors while working.  What needs fixed to solve these errors?  I don't want to leave them alone and have them eventually corrupt or destroy data even though they do start and stop the pool.

The pool auto starts on it's own so I tried this command to stop it.

Code: [Select]
FlexRAIDCMD localhost - - view class1_0 stop
I got this response:

Code: [Select]
root@flex:/var/lib# /var/lib/flexcmd/FlexRAIDCMD localhost - - view class1_0 stop
log4j:ERROR Could not read configuration file [/var/lib/log4j.properties].
java.io.FileNotFoundException: /var/lib/log4j.properties
at java.lang.Void.<unknown>(Unknown Source)
at java.lang.Void.<unknown>(Unknown Source)
at java.lang.Void.<unknown>(Unknown Source)
at java.lang.Void.<unknown>(Unknown Source)
log4j:ERROR Ignoring configuration file [/var/lib/log4j.properties].
{"success": true, "status": null, "commandMessages": [{"messageCode": "successStoragePoolStopped", "messageData": []}], "serverMessages": null}
=> The Storage Pool was successfully stopped!
log4j:WARN No appenders could be found for logger (com.tchegbe.lib.io.flexraid.cmd.FlexRAIDCmdSocketClient).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.

same for restarting it:

Code: [Select]
FlexRAIDCMD localhost - - view class1_0 start
response:

Code: [Select]
root@flex:/var/lib# /var/lib/flexcmd/FlexRAIDCMD localhost - - view class1_0 start
log4j:ERROR Could not read configuration file [/var/lib/log4j.properties].
java.io.FileNotFoundException: /var/lib/log4j.properties
at java.lang.Void.<unknown>(Unknown Source)
at java.lang.Void.<unknown>(Unknown Source)
at java.lang.Void.<unknown>(Unknown Source)
at java.lang.Void.<unknown>(Unknown Source)
log4j:ERROR Ignoring configuration file [/var/lib/log4j.properties].
{"success": true, "status": null, "commandMessages": [{"messageCode": "successStoragePoolStarted", "messageData": ["/flexRAID_Pool"]}], "serverMessages": null}
=> The Storage Pool started successfully on drive: /flexRAID_Pool:...
log4j:WARN No appenders could be found for logger (com.tchegbe.lib.io.flexraid.cmd.FlexRAIDCmdSocketClient).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.


The link it says to look at doesn't make too much sense as I don't have Tomcat installed so I don't have any idea how to fix it based on that info.

http://logging.apache.org/log4j/1.2/faq.html#noconfig

The pool did start and stop but I'm not sure if these errors mean it was totally successful.  Based on the info on the link it has to do with Apache Tomcat and some kind of logger for it.  So if it's just a logging issue then it shouldn't cause problems down the line, but I want to be sure.



Any ideas how to solve this please let me know.

Thanks.

Offline Brahim

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8,547
  • Karma: +204/-16
    • View Profile
Re: pool start and stop errors, can someone explain?
« Reply #1 on: January 29, 2013, 02:33:35 pm »
You are running it from the wrong directory /var/lib instead of  /var/lib/flexcmd (the correct directory).


Offline dynabaul

  • Newbie
  • *
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: pool start and stop errors, can someone explain?
« Reply #2 on: January 29, 2013, 04:22:40 pm »
I can't believe I didn't see that one, thanks.

Online vestige

  • Hero Member
  • *****
  • Posts: 2,933
  • Karma: +0/-0
    • View Profile