2013-05-20 170 views
1

幾天前我安裝了XAMPP for Linux,並且工作正常。今天我做錯了xampp無法在ubuntu 12.04中啓動?

chmod 777 /opt/lampp 

那麼MySQL將不會啓動。然後,我完全卸載XAMPP然後再重新安裝XAMPP那麼下面的消息來::

Starting XAMPP for Linux 1.8.1... 
XAMPP: Another web server daemon is already running. 
XAMPP: Another MySQL daemon is already running. 
XAMPP: Another FTP daemon is already running. 
XAMPP for Linux started. 

然後我試圖通過鍵入::

sudo service mysql stop 

停止MySQL的話,就說明是:: MySQL的:無法識別的服務

然後我試圖通過鍵入::

sudo service apach2 stop 
停止Apache服務器10

然後它顯示::

apache2: unrecognized service 

任何建議?

回答

0

嘗試:

sudo /etc/init.d mysql restart