Pornire mysql si apache

Discutii despre tot ce nu se incadreaza in celelalte categorii.

Moderators: Moderatori ajutatori, Moderatori

Post Reply
User avatar
wind
Membru, skill +3
Membru, skill +3
Posts: 1457
Joined: 24 Nov 2008, 21:39
Detinator Steam: Da
Detinator server CS: CS.JoiNeT.Ro
SteamID: windcs
Reputatie: Ban 2 luni!
Location: Constanta
Has thanked: 30 times
Been thanked: 58 times
Contact:

16 Jan 2012, 18:46

Stie careva cum pornesc serverul de mysql si cel de apache , umblam prin procese si am dat kill la un proces care nu trebuia acum nu stiu sigur daca este ori mysql ori apache dar stiu sigur ca forumul numai leaga baza de date mysql
Am incercat restartez , sa pornesc tot degeaba uite eroarea care o da la phpmyadmin :
#2002 - Serverul nu răspunde (or the local MySQL server's socket is not correctly configured)

Folosesc debian am incercat ambele comenzi :
/etc/init.d/mysql restart
/etc/init.d/apache2 start

la apache zice ceva de adress already in use: make_sock
si la mysql zice ceva de genu :

Stopping MySQL database server: mysqld.
Starting MySQL database server: mysqld.
RoyalServer
User avatar
xdc
Membru, skill +4
Membru, skill +4
Posts: 1984
Joined: 01 Apr 2010, 18:02
Detinator Steam: Da
CS Status: Apple user
Detinator server CS: dm.xdcnet.ro
SteamID: blacksound10
Reputatie: Fost moderator
Location: [root@localhost]# cd /home/root/Brasov
Has thanked: 5 times
Been thanked: 56 times

16 Jan 2012, 19:15

Incearca etc/init.d/mysqld restart
Be the best , and fuck the rest ;)
User avatar
AmicuL
Membru, skill +4
Membru, skill +4
Posts: 1724
Joined: 11 Nov 2009, 12:27
Detinator Steam: Da
CS Status: hellomotherfucker!
Detinator server CS: Nu
Reputatie: Membru Club eXtreamCS (3 luni)
Locul I la cupa de cutite (2012)
Restrictie moderator
Utilizator neserios (tepar)
Has thanked: 149 times
Been thanked: 210 times

16 Jan 2012, 19:19

service httpd start
service mysqld start

daca tot nu merge, dai un reboot la dedicat si incearca comenzile din nou !
User avatar
wind
Membru, skill +3
Membru, skill +3
Posts: 1457
Joined: 24 Nov 2008, 21:39
Detinator Steam: Da
Detinator server CS: CS.JoiNeT.Ro
SteamID: windcs
Reputatie: Ban 2 luni!
Location: Constanta
Has thanked: 30 times
Been thanked: 58 times
Contact:

16 Jan 2012, 19:27

Am incercat cu ce ati zis voi nu merge ... aceleasi erori la mysql zice asta

Code: Select all

wind@games:~$ sudo /etc/init.d/mysql status
/usr/bin/mysqladmin  Ver 8.41 Distrib 5.0.51a, for debian-linux-gnu on i486
Copyright (C) 2000-2006 MySQL AB
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license

Server version          5.0.51a-24+lenny5
Protocol version        10
Connection              Localhost via UNIX socket
UNIX socket             /var/run/mysqld/mysqld.sock
Uptime:                 10 min 58 sec

Threads: 1  Questions: 89  Slow queries: 0  Opens: 23  Flush tables: 1  Open tables: 17  Queries per second avg: 0.135.
wind@games:~$

Iar la reebot zice asta :

Code: Select all

wind@games:~$ sudo reboot
WARNING: could not determine runlevel - doing soft reboot
  (it's better to use shutdown instead of reboot from the command line)

Broadcast message from root@games (pts/1) (Mon Jan 16 17:14:45 2012):

The system is going down for reboot NOW!
shutdown: timeout opening/writing control channel /dev/initctl
init: timeout opening/writing control channel /dev/initctl
wind@games:~$
Si apache :

Code: Select all

wind@games:~$ sudo /etc/init.d/apache2 restart
Restarting web server: apache2(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
 failed!
wind@games:~$
Later edit : am incercat comanda sudo reboot -f si se pare ca sa restartat acum sa vad daca a pornit. A pornit ce m-am speriat :)) , mersi mult de tot acum merge totul la fel ca inainte :) . Multumesc pentru ajutor
Post Reply

Return to “Discutii generale”

  • Information