Question about the calamari

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi, all 

I have install calamari server, calamari client and diamond on a centos server,
Then i run the following command:
{code}
[root@centos65 content]# sudo calamari-ctl initialize
[INFO] Loading configuration..
[INFO] Starting/enabling salt...
[INFO] Starting/enabling postgres...
[INFO] Initializing database...
[INFO] Initializing web interface...
[INFO] You will now be prompted for login details for the administrative user account.  This is the account you will use to log into the web interface once setup is complete.
Username (leave blank to use 'root'):
Email address: xxx@xxxxxxx
Password:
Password (again):
Superuser created successfully.
[INFO] Starting/enabling services...
[INFO] Restarting services…

{code}

The command hold on and can not go on.

Then i check the log /var/log/calamari/cthulhu.log and find the following error:

{code}
OperationalError: (OperationalError) could not connect to server: Connection refused
	Is the server running on host "localhost" and accepting
	TCP/IP connections on port 5432?
 None None
2014-10-09 21:55:14,970 - WARNING - cthulhu.salt Re-opening connection to salt-master
2014-10-09 21:55:15,024 - WARNING - cthulhu.server_monitor.salt Re-opening connection to salt-master
2014-10-09 21:55:39,977 - WARNING - cthulhu.salt Re-opening connection to salt-master
2014-10-09 21:55:40,031 - WARNING - cthulhu.server_monitor.salt Re-opening connection to salt-master
2014-10-09 21:56:04,983 - WARNING - cthulhu.salt Re-opening connection to salt-master
2014-10-09 21:56:05,048 - WARNING - cthulhu.server_monitor.salt Re-opening connection to salt-master
2014-10-09 21:56:29,992 - WARNING - cthulhu.salt Re-opening connection to salt-master
{code}

The port 5432 seems to be the postgresql port, and the postgresql works very well:
{code}
[louis@centos65 calamari]$ sudo -u postgres psql postgres -p 5432
[sudo] password for louis:
psql (8.4.20)
Type "help" for help.

postgres=# \list
                                  List of databases
   Name    |  Owner   | Encoding |  Collation  |    Ctype    |   Access privileges
-----------+----------+----------+-------------+-------------+-----------------------
 calamari  | calamari | UTF8     | en_US.UTF8  | en_US.UTF8  |
 postgres  | postgres | UTF8     | en_US.UTF-8 | en_US.UTF-8 |
 template0 | postgres | UTF8     | en_US.UTF-8 | en_US.UTF-8 | =c/postgres
                                                             : postgres=CTc/postgres
 template1 | postgres | UTF8     | en_US.UTF-8 | en_US.UTF-8 | =c/postgres
                                                             : postgres=CTc/postgres
(4 rows)
{code}


So what the matter with it? Any idea will be appreciated!!
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com





[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux