Can't create database
Hi expert, I Install vertical in one centos vm. All configuration are default. But failed when create database. before install: service iptables stop yum remove selinux* install db: [root@lvstest1 pjh]# cat /etc/redhat-release CentOS release 6.3 (Final) [root@lvstest1 pjh]# rpm -ivh vertica-ce-6.0.1-0.x86_64.RHEL5-direct.rpm ...... To complete installation and configuration of the cluster, run: /opt/vertica/sbin/install_vertica [root@lvstest1 pjh]#/opt/vertica/sbin/install_vertica ....... Updating spread configuration... Verifying spread configuration on whole cluster. Error Monitor 0 errors 2 warnings //where I can get these warning Installation completed with warnings. Installation complete. Use admintools to create database(default config) and get this when finish. *** Creating database: bg *** 127.0.0.1 OK [vertica-ce][(6, 0, 1)][000][x86_64] Creating database bg Spread does not seem to be running on 127.0.0.1. The database will not be started on this host. The following host(s) are not available: 127.0.0.1. You should get them running first. Operation can not be completed. adminTools Last Chance Error Handler running... raised error: error message: list index out of range trace file: /opt/vertica/log/adminTools-dbadmin.errors REPORT THIS INFORMATION TO TECHNICAL SUPPORT AND INCLUDE CONTENTS OF THE TRACE FILE IN YOUR REPORT [root@lvstest1 pjh]# ps -ef | grep vertica spread 27731 1 0 19:56 ? 00:00:00 /opt/vertica/spread/sbin/spread -n N127000000001 -c /opt/vertica/config/vspread.conf [root@lvstest1 pjh]# netstat -na | grep 4803 tcp 0 0 127.0.0.1:4803 0.0.0.0:* LISTEN udp 0 0 127.0.0.1:4803 0.0.0.0:* [root@lvstest1 pjh]#cat /opt/vertica/log/adminTools-dbadmin.errors handler invoked: 2013-05-06 19:58:33 raised error: Traceback (most recent call last): File "/opt/vertica/bin/admintools", line 312, in ac.runApp() File "/opt/vertica/oss/python/lib/python2.7/site-packages/vertica/ui/adminCtrl.py", line 3942, in runApp self.__ui.runFromNavigation("main") File "/opt/vertica/oss/python/lib/python2.7/site-packages/vertica/ui/uiMgr.py", line 265, in runFromNavigation self.__navigator.navigate(runFrom) File "/opt/vertica/oss/python/lib/python2.7/site-packages/vertica/ui/Navigator.py", line 298, in navigate ((self.__menus[ nextMenu ][ self.NAV_MACTIONS ])[ offset ])() File "/opt/vertica/oss/python/lib/python2.7/site-packages/vertica/ui/adminCtrl.py", line 1853, in createDB result, info = self.__exec.createDB(DBName, nodesInDB, DBpassword=DBpassword, licenseFile=DBinclude.CONFIG_SHARE_DIR + "/license.key") File "/opt/vertica/oss/python/lib/python2.7/site-packages/vertica/engine/adminExec.py", line 3318, in createDB portNo=port, DBpassword=DBpassword, licenseFile=licenseFile, logger=logger, whichNodesRunSpread=restrictSpread) File "/opt/vertica/oss/python/lib/python2.7/site-packages/vertica/network/SSH.py", line 1538, in createDBMultiNodes code = checkForRunning(dbName, [nodes[initiatorOffset]], askForContinue=interactive, KSafety=k, procCheck=process_checker, spreadHosts=whichNodesRunSpread, logger=logger, requires_all_up=True) IndexError: list index out of range 1. How to do next to fix this problem? OS version? 2. Spread is ok. Why database can't connect spread? 3. I got 2 warning when install, how can I get the warning log? Thanks
0
Comments