我安装了XAMPP Linux 1.8.2并尝试启动服务器(/opt/lampp/lampp start),它的响应如下
Starting XAMPP for Linux 1.8.2-2...
XAMPP: Starting Apache...fail.
XAMPP: Another web server is already running.
XAMPP: Starting MySQL...ok.
XAMPP: Starting ProFTPD...fail.
XAMPP: Another FTP daemon is already running.
我不能打开localhost,xam
我正在Linux服务器上运行一个长脚本。为了避免因为不活动而被踢开,我使用了screen来确保脚本运行到终止。现在已经有几个小时了,我想知道屏幕到底激活了多长时间。我用screen -S fragmentation ./fragment-all.sh启动屏幕的命令。我没有根特权。
yangsong@lanikai ~ $ screen -ls
There is a screen on:
852342.fragmentation (Detached)
1 Socket in /tmp/screen/S-yangsong.
操作系统
$ uname -a
Linux aurora 4.4.0-59-generic #80-Ubuntu SMP Fri Jan 6 17:47:47 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
MySQL
$ mysqladmin --version
mysqladmin Ver 8.42 Distrib 5.7.16, for Linux on x86_64
显然,有东西试图以root的形式登录到mysql服务器上。
service mysql start
但我不知道那是什么。
/var/log/mysql/error.log中与启动服务器相关
我正在用apache运行一个基于django的web应用程序。我可以从python和linux shell连接到mysql,但是,当我运行服务器时,我得到了以下错误。我哪里做错了?
OperationalError at /
(2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)")
Request Method: GET
Request URL: http://dev.ls.co.uk/
Django Vers
在我的linux服务器上执行mysql时,使用以下命令重新启动
service mysql restart
restart: Unable to connect to Upstart:
Failed to connect to socket /com/ubuntu/upstart: Connection refused
如何解决这个问题