kenyin612 2022-04-17 21:33
浏览 7
已结题

Ubuntu20已成功装上pgAdmin4,用浏览器访问报404 Not Found

问题遇到的现象和发生背景

您好!请教个问题,我按照您在《ubuntu20.04安装postgresql12及pgadmin4》中的指引成功安装上pgadmin4,apache也已经启动。但不知为何用浏览器访问 http://localhost/pgadmin4 时提示 404 not found.

问题相关代码,请勿粘贴截图

Creating storage and log directories.
We can now configure the Apache Web server for you. This involves enabling the wsgi module and configuring the pgAdmin 4 application to mount at /pgadmin4. Do you wish to continue (y/n)? y
The Apache web server is not running. We can enable and start the web server for you to finish pgAdmin 4 installation. Continue (y/n)? y
Synchronizing state of apache2.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable apache2
Apache successfully enabled.
Apache successfully started.
You can now start using pgAdmin 4 in web mode at http://127.0.0.1/pgadmin4

运行结果及报错内容

Not Found

The requested URL was not found on this server.

Apache/2.4.41 (Ubuntu) Server at localhost Port 80

我的解答思路和尝试过的方法
我想要达到的结果
  • 写回答

1条回答 默认 最新

  • kenyin612 2022-04-17 22:10
    关注

    问题已解决了,reboot之后就可以。

    评论

报告相同问题?

问题事件

  • 系统已结题 4月25日
  • 创建了问题 4月17日

悬赏问题

  • ¥15 名为“Product”的列已属于此 DataTable
  • ¥15 安卓adb backup备份应用数据失败
  • ¥15 eclipse运行项目时遇到的问题
  • ¥15 关于#c##的问题:最近需要用CAT工具Trados进行一些开发
  • ¥15 南大pa1 小游戏没有界面,并且报了如下错误,尝试过换显卡驱动,但是好像不行
  • ¥15 没有证书,nginx怎么反向代理到只能接受https的公网网站
  • ¥50 成都蓉城足球俱乐部小程序抢票
  • ¥15 yolov7训练自己的数据集
  • ¥15 esp8266与51单片机连接问题(标签-单片机|关键词-串口)(相关搜索:51单片机|单片机|测试代码)
  • ¥15 电力市场出清matlab yalmip kkt 双层优化问题