zoukankan      html  css  js  c++  java
  • 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

  • 相关阅读:
    Linux系统性能优化
    Linux内核模块
    Linux守护进程的启动方法
    已有的游戏如何快速稳定迁移到云上?
    项目重构--使用策略模式
    设计模式学习--装饰者模式(Decorator Pattern)
    C#/ASP.NET应用程序配置文件app.config/web.config的增、删、改操作
    Resharper上手指南
    ReSharper 配置及用法(转)
    使用线程新建WPF窗体(公用进度条窗体)
  • 原文地址:https://www.cnblogs.com/qyddbear/p/3421752.html
Copyright © 2011-2022 走看看