AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-209799

Mahmoud.Eskandari's questions

Martin Hope
Mahmoud.Eskandari
Asked: 2016-08-07 03:48:01 +0800 CST

Nginx 98:地址已在使用-无法启动高性能Web服务器问题[重复]

  • -2
这个问题在这里已经有了答案:
无法重启 nginx,bind() failed (98: Address already in use) (5个回答)
6年前关闭。

我的服务器运行良好...直到重新启动,重新启动 Nginx 后运行不正常!

操作系统:Ubuntu服务器

nginx版本:nginx/1.10.0(Ubuntu)

HHVM 脚本服务器

我尝试了很多方法,但我无法解决这个问题:

配置已经OK。

nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful

Aug 06 16:05:48 HHVM systemd[1]: Starting A high performance web server and a reverse proxy server...
-- Subject: Unit nginx.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit nginx.service has begun starting up.
Aug 06 16:05:48 HHVM nginx[1618]: nginx: [emerg] listen() to 0.0.0.0:80, backlog 511 failed (98: Address already in use)
Aug 06 16:05:49 HHVM nginx[1618]: nginx: [emerg] listen() to 0.0.0.0:80, backlog 511 failed (98: Address already in use)
Aug 06 16:05:49 HHVM nginx[1618]: nginx: [emerg] listen() to 0.0.0.0:80, backlog 511 failed (98: Address already in use)
Aug 06 16:05:50 HHVM nginx[1618]: nginx: [emerg] listen() to 0.0.0.0:80, backlog 511 failed (98: Address already in use)
Aug 06 16:05:50 HHVM nginx[1618]: nginx: [emerg] listen() to 0.0.0.0:80, backlog 511 failed (98: Address already in use)
Aug 06 16:05:51 HHVM nginx[1618]: nginx: [emerg] still could not bind()
Aug 06 16:05:51 HHVM systemd[1]: nginx.service: Control process exited, code=exited status=1
Aug 06 16:05:51 HHVM systemd[1]: Failed to start A high performance web server and a reverse proxy server.
-- Subject: Unit nginx.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit nginx.service has failed.
--
-- The result is failed.
Aug 06 16:05:51 HHVM systemd[1]: nginx.service: Unit entered failed state.
Aug 06 16:05:51 HHVM systemd[1]: nginx.service: Failed with result 'exit-code'.

NginX 运行,我在 Web 浏览器上看到“404 File Not Found”,这意味着 hhvm 没有运行。

我该如何解决?

ubuntu nginx hhvm
  • 2 个回答
  • 3947 Views
Martin Hope
Mahmoud.Eskandari
Asked: 2014-12-05 08:03:10 +0800 CST

centos6.4上安装mysql 5.6冲突报错

  • 0

当我尝试安装 mysql 5.6 并从 centos 中删除 mysql 5.1 时,
现在没有在我的 VPS 中安装任何 mysql。

yum install mysql-server
Loaded plugins: fastestmirror, refresh-packagekit
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirror.fdcservers.net
 * extras: mirror.ubiquityservers.com
 * updates: mirrors.gigenet.com
Resolving Dependencies
--> Running transaction check
---> Package mysql-server.x86_64 0:5.1.73-3.el6_5 will be installed
--> Processing Dependency: mysql = 5.1.73-3.el6_5 for package: mysql-server-5.1.73-3.el6_5.x86_64
--> Running transaction check
---> Package mysql.x86_64 0:5.1.73-3.el6_5 will be installed
--> Processing Conflict: mysql-server-5.1.73-3.el6_5.x86_64 conflicts MySQL-server
--> Finished Dependency Resolution
Error: mysql-server conflicts with MySQL-server-5.6.16-1.el6.x86_64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[root@jg58 man1]# yum install mysql
Loaded plugins: fastestmirror, refresh-packagekit
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirror.fdcservers.net
 * extras: mirror.ubiquityservers.com
 * updates: mirrors.gigenet.com
Resolving Dependencies
--> Running transaction check
---> Package mysql.x86_64 0:5.1.73-3.el6_5 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package         Arch             Version                  Repository      Size
================================================================================
Installing:
 mysql           x86_64           5.1.73-3.el6_5           base           894 k

Transaction Summary
================================================================================
Install       1 Package(s)

Total size: 894 k
Installed size: 2.4 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test


Transaction Check Error:
  file /usr/bin/mysql_config from install of mysql-5.1.73-3.el6_5.x86_64 conflicts with file from package MySQL-devel-5.6.16-1.el6.x86_64
  file /usr/share/man/man1/mysql_config.1.gz from install of mysql-5.1.73-3.el6_5.x86_64 conflicts with file from package MySQL-devel-5.6.16-1.el6.x86_64
  file /usr/bin/my_print_defaults from install of mysql-5.1.73-3.el6_5.x86_64 conflicts with file from package MySQL-server-5.6.16-1.el6.x86_64
  file /usr/share/man/man1/my_print_defaults.1.gz from install of mysql-5.1.73-3.el6_5.x86_64 conflicts with file from package MySQL-server-5.6.16-1.el6.x86_64

Error Summary
-------------

和 mysql ststus 是:

grep -i mysql
MySQL-embedded-5.6.16-1.el6.x86_64
mysql-community-release-el6-5.noarch
MySQL-server-5.6.16-1.el6.x86_64
MySQL-devel-5.6.16-1.el6.x86_64
MySQL-shared-compat-5.6.16-1.el6.x86_64
perl-DBD-MySQL-4.013-3.el6.x86_64
MySQL-shared-5.6.16-1.el6.x86_64
mysql
  • 1 个回答
  • 3344 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve