Data Infrastructure Management Software Discussions

Highlighted

OCUM 6.2 RedHat - not work requred user

Hello,

i am install OCUM 6.2 to RHEL 6.6 (CenOS 6.6) and after installation don't work corectly.
I am red documentation.
Install requred SW, switch JAVA, isstall rrdtool, MySQL enterprise etc.

All package isntall corectly and OCUM start ... web interface work, byt say me:

User account needed:

You need to create at least one user account in order to log in to OnCommand Unified Manager.

To complete that process, follow the user account creation steps mentioned in the Administration guide.

After you complete creating a user account, close this dialog box. You will now be able to login to OnCommand Unified Manager.
12 REPLIES 12
Highlighted

Re: OCUM 6.2 RedHat - not work requred user

Was the install executed as root (not sudo)?

Is /tmp mounted as noexec (If it is, this errror is one that can be encountered)?

Highlighted

Re: OCUM 6.2 RedHat - not work requred user

hello,

yes i install as root, not sudo

/tmp:
drwxrwxrwt. 9 root root 4096 1. dub 21.32 tmp

no tmpfs, only directory

Highlighted

Re: OCUM 6.2 RedHat - not work requred user

RHEL 6.5 is the supported release for the host OS.  No other distribution has been qualified for installation of Unified Manager 6.2.

Check /etc/fstab for the mount options for tmp.

Is SELinux disabled?

Did you capture the console output of the "yum install ..." command and can you post here?

 

Highlighted

Re: OCUM 6.2 RedHat - not work requred user

Is this RedHat distribution ?

Can you provide output of this command

 

  1. cat /etc/redhat-release

  2. rpm -qf /etc/redhat-release 


Highlighted

Re: OCUM 6.2 RedHat - not work requred user

/tmp isn't mounted

/dev/mapper/vg_dfm-lv_root / ext4 defaults 1 1
UUID=cb73ac26-6e86-4b56-854e-4bad122c47a6 /boot ext4 defaults 1 2
/dev/mapper/vg_dfm-lv_swap swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0

Yes selinux was enabled ... i am disable selinux now

Highlighted

Re: OCUM 6.2 RedHat - not work requred user

CentOS and RHEL is absolutly same distribution.

cat /etc/redhat-release
CentOS release 6.6 (Final)

rpm -qf /etc/redhat-release

centos-release-6-6.el6.centos.12.2.x86_64

 

Highlighted

Re: OCUM 6.2 RedHat - not work requred user

Can you attach the output of following command

    cat /etc/fstab

 

UM 6.2 only supports RedHad distribution of RHEL.

 

 

Highlighted

Re: OCUM 6.2 RedHat - not work requred user

CentOS is RHEL ... compiled from same SRPM work with same repository, 100% binary compatibility

I don't use tmp as separate FS ... i know linux very well 

[root@dfm ~]# cat /etc/fstab

#
# /etc/fstab
# Created by anaconda on Mon Mar 30 12:27:41 2015
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/vg_dfm-lv_root / ext4 defaults 1 1
UUID=cb73ac26-6e86-4b56-854e-4bad122c47a6 /boot ext4 defaults 1 2
/dev/mapper/vg_dfm-lv_swap swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0

Highlighted

Re: OCUM 6.2 RedHat - not work requred user

Thanks. We may need couple of more information.

Please provide following information

 

Attach install.log at /var/log/ocum

Attach jboss.log at /var/log/ocie

Attach boot.log at /var/log/ocie

Attach ocumserver-debug.log /var/log/ocum

 

output of

     ps -ef | grep -i java

     ps -ef | grep -i mysql

 

 

Highlighted

Re: OCUM 6.2 RedHat - not work requred user

[root@dfm ~]# ps -ef | grep -i java
jboss 2440 2394 28 16:16 ? 00:10:31 java -Dcodebase=http://localhost:80 -Donaro.home=/opt/netapp/essentials -Dserver.logs=/var/log/ocie -Dlog4j.configuration=boot.log4j.properties -Dhttp.socketfile=/var/run/ocum/ocum.socket -Dhttp.port=80 -Dhttps.port=443 -Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2 -Dmysql.port=3306 -Dcom.sun.management.jmxremote.port=33333 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Djava.rmi.server.hostname=localhost -Xmx5600m -Xms5600m -XX:PermSize=512m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/log/ocum/heap-dumps/ -XX:ErrorFile=/var/log/ocum/jvm/java_error_%p.log -Djboss.shutdown.forceHalt=false -Djava.rmi.server.useCodebaseOnly=true -DlegacyParsing=true -Djboss.platform.mbeanserver -Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl -Djava.util.logging.manager=org.jboss.logmanager.LogManager -Dorg.jboss.logging.Logger.pluginClass=org.jboss.logging.logmanager.LoggerPluginImpl -Djboss.boot.server.log.dir=/var/log/ocie -Djboss.server.log.dir=/var/log/ocie -verbose:gc -Xloggc:/var/log/ocie/gc_jboss.log -XX:+PrintGCDateStamps -XX:+PrintGCDetails -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=3M -XX:NewRatio=2 -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+ExplicitGCInvokesConcurrentAndUnloadsClasses -XX:CMSInitiatingOccupancyFraction=70 -XX:+UseCMSInitiatingOccupancyOnly -Ddfm.install.dir=/opt/netapp/ocum -Dlogback.configurationFile=/opt/netapp/essentials/jboss/server/onaro/conf/logback-server.xml -Dnet.sourceforge.cobertura.datafile=/opt/netapp/essentials/jboss/server/onaro/data/cobertura.ser -Djava.net.preferIPv4Stack=true -Dprogram.name=run.sh -Dlogging.configuration=file:/opt/netapp/essentials/jboss/bin/logging.properties -Djava.library.path=/opt/netapp/essentials/jboss/bin/native/lib64 -Djava.endorsed.dirs=/opt/netapp/essentials/jboss/lib/endorsed -classpath /opt/netapp/essentials/jboss/lib/jboss-logmanager.jar:/opt/netapp/essentials/jboss/bin/run.jar org.jboss.Main -c onaro -b 0.0.0.0 -Dlogging.override.file=/opt/netapp/ocum/etc/logging-override.xml
jboss 3302 1 2 16:26 ? 00:00:43 java -Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2 -Dlog4j.configuration=ocie-production.xml -Donaro.home=/opt/netapp/essentials -Dcodebase=https://localhost:443 -Djava.library.path=/opt/netapp/essentials/au/bin -Dacq.home=/opt/netapp/essentials/au -Djavax.xml.transform.TransformerFactory=com.icl.saxon.TransformerFactoryImpl -Djava.security.properties=/opt/netapp/essentials/au/conf/java.security -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=5679 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Xmx2700m -Xms2700m -XX:PermSize=64m -XX:MaxPermSize=256m -classpath /opt/netapp/essentials/au/conf:/opt/netapp/essentials/au/*:/opt/netapp/essentials/au/lib/*:/opt/netapp/essentials/au/lib/xml/xerces/*:/opt/netapp/essentials/au/lib/xml/jdom/*:/opt/netapp/essentials/au/lib/jboss/client/*:/opt/netapp/essentials/au/lib/xml-3rd/*:/opt/netapp/essentials/au/lib/shared/*:/opt/netapp/essentials/au/../jboss/common/lib/* -Dno.trap=false -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/log/ocie -XX:ErrorFile=/var/log/ocieau_error_%p.log -verbose:gc -Xloggc:/var/log/ocie/gc_au.log -XX:+PrintGCDateStamps -XX:+PrintGCDetails -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=1M com.onaro.sanscreen.acquisition.framework.Main start

[root@dfm ~]# ps -ef | grep -i mysql
root 1745 1 0 16:16 ? 00:00:00 /bin/sh /usr/bin/mysqld_safe --datadir=/data --pid-file=/var/run/mysqld/mysqld.pid
mysql 2346 1745 0 16:16 ? 00:00:21 /usr/sbin/mysqld --basedir=/usr --datadir=/data --plugin-dir=/usr/lib64/mysql/plugin --user=mysql --log-error=/var/log/mysql/error.log --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/run/mysqld/mysqld.sock --port=3306
jboss 2440 2394 28 16:16 ? 00:10:32 java -Dcodebase=http://localhost:80 -Donaro.home=/opt/netapp/essentials -Dserver.logs=/var/log/ocie -Dlog4j.configuration=boot.log4j.properties -Dhttp.socketfile=/var/run/ocum/ocum.socket -Dhttp.port=80 -Dhttps.port=443 -Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2 -Dmysql.port=3306 -Dcom.sun.management.jmxremote.port=33333 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Djava.rmi.server.hostname=localhost -Xmx5600m -Xms5600m -XX:PermSize=512m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/log/ocum/heap-dumps/ -XX:ErrorFile=/var/log/ocum/jvm/java_error_%p.log -Djboss.shutdown.forceHalt=false -Djava.rmi.server.useCodebaseOnly=true -DlegacyParsing=true -Djboss.platform.mbeanserver -Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl -Djava.util.logging.manager=org.jboss.logmanager.LogManager -Dorg.jboss.logging.Logger.pluginClass=org.jboss.logging.logmanager.LoggerPluginImpl -Djboss.boot.server.log.dir=/var/log/ocie -Djboss.server.log.dir=/var/log/ocie -verbose:gc -Xloggc:/var/log/ocie/gc_jboss.log -XX:+PrintGCDateStamps -XX:+PrintGCDetails -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=3M -XX:NewRatio=2 -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+ExplicitGCInvokesConcurrentAndUnloadsClasses -XX:CMSInitiatingOccupancyFraction=70 -XX:+UseCMSInitiatingOccupancyOnly -Ddfm.install.dir=/opt/netapp/ocum -Dlogback.configurationFile=/opt/netapp/essentials/jboss/server/onaro/conf/logback-server.xml -Dnet.sourceforge.cobertura.datafile=/opt/netapp/essentials/jboss/server/onaro/data/cobertura.ser -Djava.net.preferIPv4Stack=true -Dprogram.name=run.sh -Dlogging.configuration=file:/opt/netapp/essentials/jboss/bin/logging.properties -Djava.library.path=/opt/netapp/essentials/jboss/bin/native/lib64 -Djava.endorsed.dirs=/opt/netapp/essentials/jboss/lib/endorsed -classpath /opt/netapp/essentials/jboss/lib/jboss-logmanager.jar:/opt/netapp/essentials/jboss/bin/run.jar org.jboss.Main -c onaro -b 0.0.0.0 -Dlogging.override.file=/opt/netapp/ocum/etc/logging-override.xml

File is impossible attached here, i am upload to net:
http://mysharegadget.com/158980998

Highlighted

Re: OCUM 6.2 RedHat - not work requred user

Hello,

now work.

I am disable selinux
resize FS to 160GB (from 36GB)
set IP from DHCP to IP (but this is not important, because i am use /etc/hosts)

(stop process)

uninstall all
delete /data/*

install again

 

... now install script create umadmin, root not work (dfm ...)
from umadmin work, user exist, continue confog from web work OK

View solution in original post

Highlighted

Re: OCUM 6.2 RedHat - not work requred user

Its good to know installation went fine. 

 

However, we would look at the logs to see why installation failed earlier. 

UM does support SELinux. 

 

We strongly suggest you to install UM on RedHat distribution of RHEL. 

Check out the KB!
Knowledge Base
All Community Forums