• Troubleshooting:oVirt-engine


    问题:执行./create_db_devel.sh -u postgres创建数据库时出错

    描述:

    [root@localhost dbscripts]# ./create_db_devel.sh -u postgres
    /home/wqx/tf-git-repo/ovirt-engine-local/backend/manager/dbscripts /home/wqx/tf-git-repo/ovirt-engine-local/backend/manager/dbscripts
    Running original create_db script...
    /home/wqx/tf-git-repo/ovirt-engine-local/backend/manager/dbscripts /home/wqx/tf-git-repo/ovirt-engine-local/backend/manager/dbscripts
    Creating the database: engine
    dropdb: could not connect to database postgres: could not connect to server: Connection refused
        Is the server running on host "localhost" and accepting
        TCP/IP connections on port 5432?
    could not connect to server: Connection refused
        Is the server running on host "localhost" and accepting
        TCP/IP connections on port 5432?
    could not connect to server: Connection refused
        Is the server running on host "localhost" and accepting
        TCP/IP connections on port 5432?
    createdb: could not connect to database postgres: could not connect to server: Connection refused
        Is the server running on host "localhost" and accepting
        TCP/IP connections on port 5432?
    could not connect to server: Connection refused
        Is the server running on host "localhost" and accepting
        TCP/IP connections on port 5432?
    could not connect to server: Connection refused
        Is the server running on host "localhost" and accepting
        TCP/IP connections on port 5432?
    Failed to create database engine
    /home/wqx/tf-git-repo/ovirt-engine-local/backend/manager/dbscripts
    Failed to create database engine
    /home/wqx/tf-git-repo/ovirt-engine-local/backend/manager/dbscripts

    解决方法:重启数据库 service postgresql restart

  • 相关阅读:
    git日常使用的常用命令总结
    wordpress-技术博客主题推荐
    git日常使用的常用命令总结
    wordpress-技术博客主题推荐
    Centos系统安装Python3.7
    LeetCode-----翻转二叉树
    搭建 WordPress 博客教程
    echarts 去掉网格线
    调整柱状图圆角弧度
    Echarts设置y轴值间隔 以及设置 barWidth : 30,//柱图宽度
  • 原文地址:https://www.cnblogs.com/qyddbear/p/3421752.html
Copyright © 2020-2023  润新知