开发者社区> 问答> 正文

阿里云ecs安装小程序,可以远程连接服务器,传了源码,网站打不开

这是目前停滞的状态。
操作后
xshell可以连接主机
xftp也可以上传小程序源码
我把ca证书下载了以后,重命名为cert,替换了/usr/local/nginx/conf/cert里面的cert文件
但是想进数据库进不了,数据库是域名加db_management/
主页也访问不了
反复按照教程操作过,还是一样

有没有大神指导一下?

展开
收起
否极泰来为 2018-06-28 16:09:52 2599 0
2 条回答
写回答
取消 提交回答
  • 阿里云论坛版主,QQ 1978638808
    安全组配置了吗?

    -------------------------

    楼主解决问题了吗?

    2018-07-04 11:08:31
    赞同 展开评论 打赏
  • Re阿里云ecs安装小程序,可以远程连接服务器,传了源码,网站打不开
    改了一下安全组的80端口,发现新错误呵呵,终于不是无法访问了

    :)
    SQLSTATE[HY000] [1049] Unknown database 'shujuku'
    错误位置
    FILE: /data/wwwroot/default/simplewind/Core/Library/Think/Db/Driver.class.php  LINE: 109
    TRACE
    #0 /data/wwwroot/default/simplewind/Core/Library/Think/Db/Driver.class.php(109): E('SQLSTATE[HY000]...')
    #1 /data/wwwroot/default/simplewind/Core/Library/Think/Db/Driver.class.php(1077): Think\Db\Driver->connect()
    #2 /data/wwwroot/default/simplewind/Core/Library/Think/Db/Driver/Mysql.class.php(46): Think\Db\Driver->initConnect(true)
    #3 /data/wwwroot/default/simplewind/Core/Library/Think/Model.class.php(134): Think\Db\Driver\Mysql->getFields('hb_plugins')
    #4 /data/wwwroot/default/simplewind/Core/Library/Think/Model.class.php(122): Think\Model->flush()
    #5 /data/wwwroot/default/simplewind/Core/Library/Think/Model.class.php(1454): Think\Model->_checkTableInfo()
    #6 /data/wwwroot/default/simplewind/Core/Library/Think/Model.class.php(97): Think\Model->db(0, '', true)
    #7 /data/wwwroot/default/simplewind/Core/Common/functions.php(647): Think\Model->__construct('Plugins', '', '')
    #8 /data/wwwroot/default/application/Common/Behavior/InitHookBehavior.class.php(25): M('Plugins')
    #9 /data/wwwroot/default/simplewind/Core/Library/Think/Hook.class.php(153): Common\Behavior\InitHookBehavior->run(NULL)
    #10 /data/wwwroot/default/simplewind/Core/Library/Think/Hook.class.php(89): Think\Hook::exec('Common\\Behavior...', 'run', NULL)
    #11 /data/wwwroot/default/simplewind/Core/Library/Think/App.class.php(194): Think\Hook::listen('app_init')
    #12 /data/wwwroot/default/simplewind/Core/Library/Think/Think.class.php(120): Think\App::run()
    #13 /data/wwwroot/default/simplewind/Core/ThinkPHP.php(97): Think\Think::start()
    #14 /data/wwwroot/default/index.php(58): require('/data/wwwroot/d...')
    #15 {main}

    -------------------------

    Re阿里云ecs安装小程序,可以远程连接服务器,传了源码,网站打不开
    天助自助者
    2018-06-30 15:10:56
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
如何运维千台以上游戏云服务器 立即下载
网站/服务器取证 实践与挑战 立即下载
ECS快储存加密技术 立即下载