我正在尝试使用apache2卸载apt-get purge apache2,它显示了以下内容
root@indrajit-MacBookPro:/home/indrajit# apt-get purge apache2
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages ha
当涉及到linux和XAMPP时,我是一个初学者,我想使用php和mySql创建一个网站。问题是我不知道如何制作一个新的apache服务器。当我重新启动apache时,我收到了这条消息,谁能告诉我这意味着什么,以及如何解决它?
$ sudo /etc/init.d/apache2 restart
[sudo] password for sheila:
1. Restarting web server apache2
AH00558: apache2: Could not reliably determine the server's fully
qualified domain na
如果我进入:
sudo apt-get install apache2
我得到:
Setting up apache2-bin (2.4.7-1ubuntu4.8) ...
Setting up apache2-data (2.4.7-1ubuntu4.8) ...
Setting up apache2 (2.4.7-1ubuntu4.8) ...
ERROR: Config file dir.conf not properly enabled: /etc/apache2/mods-enabled/dir.conf is a real file, not touching it
dpkg: e
我正在尝试安装本地服务器,但在安装apache时似乎无法通过这个错误。
在我的终端上,我运行sudo apt-get install apache2,在按enter键时,我得到以下内容:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you
我的apache服务器停止工作,我不知道如何解决它。我在那台服务器上运行了两个wordpress和一个红宝石。几个小时后就停止了。我可以打开服务器,但是当我尝试用浏览器获取网页时,它不会响应。如果我重新启动apache (“服务apache2重新启动”),它将再次正常工作。
我的apache版本:
Server version: Apache/2.4.10 (Debian)
Server built: Aug 31 2015 00:01:48
Server's Module Magic Number: 20120211:37
Server loaded: APR 1.5.1, A
我在重新安装apache2时遇到了一些问题。
我用:
sudo apt-get install --reinstall apache2 apache2-bin
然后错误处理这些信息,
/etc/init.d/apache2: 64: .: Can't open /etc/apache2/envvars
/etc/init.d/apache2: 76: .: Can't open /etc/apache2/envvars
ERROR: APACHE_PID_FILE needs to be defined in /etc/apache2/envvarsinvoke-rc.d: i
当我尝试加载网页时:过了一段时间,它显示opps the google crome cannot connect to the server
有关此错误的详细信息,请参阅服务器错误日志。
apache error.log:
/var/www/neighborTree-live/shared/bundle/ruby/1.8/gems/mysql2-0.2.11/lib/active_record/connection_adapters/mysql2_adapter.rb:56:
[BUG] Segmentation fault
ruby 1.8.7 (2009-12-24 patchlevel
我已经用Ruby1.9.2建立了RVM系统,据我所知,它运行得很好。
但是当我试图编译乘客apache2模块时
passenger-install-apache2-module
它将其编译为系统的1.8.7 ( ext/ruby文件夹包含ruby-1.8.7-x86_64-linux),当我启动apache时,乘客会抱怨:
*** Phusion Passenger: no passenger_native_support.so found for the current Ruby interpreter. Compiling one...
# mkdir -p /usr/local/rvm/
我有一个安装了WordPress的不同的流浪汉盒子。
我刚刚使用ssh,但是不知道如何重启Apache。
下面是我尝试过的(以及错误):
$ sudo restart apache2
restart: Unknown job: apache2
$ sudo service apache2 restart
apache2: unrecognized service
apachectl restart
The program 'apachectl' is currently not installed. To run 'apachectl' please ask
命令:-
sudo apt-get remove apache2.2-common
结果:-
The following packages have unmet dependencies:
apache2 : Depends: apache2.2-common (= 2.2.22-1ubuntu1.8) but it is not going to be installed
apache2-mpm-prefork : Depends: apache2.2-common (= 2.2.22-1ubuntu1.8) but it is not going to be installed
li
当我调用这个URL:https://MyMediawikiDoma.in/index.php?title=MyArticle&type=revision&diff=3441&oldid=3424时
使用此回溯路径的Apache2崩溃:
(gdb) where
#0 0x00007fe6039edc8a in ?? () from target:/usr/lib/apache2/modules/libphp7.2.so
#1 0x00007fe6039ee6eb in ?? () from target:/usr/lib/apache2/modules/libphp7
我想重新启动我的服务器,所以我做了:
sudo service apache2 restart
相反,它向我展示了以下信息:
Job for apache2.service failed. See 'systemctl status apache2.service' and 'journalctl -xn' for details.
然后我做了systemctl -l status apache2.service,得到了以下结果:
apache2.service - LSB: Apache2 web server
Loaded: loaded (/
我想在我的Linux中开始学习WWW编程。我已经安装了PHP,现在我想安装MySQL。我试着遵循http://www.cyberciti.biz/faq/install-mysql-server-5-on-ubuntu-linux/上的说明,但是我得到了以下错误消息:
sudo /etc/init.d/apache2 restart
* Restarting web server apache2
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1