Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: Problem z wystarowaniem mysql,elasticsearch
Forum PHP.pl > Forum > Serwery WWW
rad11
Mam problem z wystartowaniem miedzyinnymi z mysql na jednym z serwerów czy pomoże mi ktoś dojść do tego co mogło by być nie tak?

Puszczam zwykłe:

sudo /etc/init.d/mysql start

otrzymuje komunikat:

* Starting MySQL (Percona Server) database server mysqld


Ale niestety nic się nie dzieje komunikat stoi w miejscu, jakieś sugestie ? :/

W logach mysql jest takie cos:

Kod
160816 11:16:10 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
160816 11:25:09 mysqld_safe Starting mysqld daemon with databases from /data/mysql
2016-08-16 11:25:09 0 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
2016-08-16 11:25:09 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2016-08-16 11:25:09 0 [Note] /usr/sbin/mysqld (mysqld 5.6.29-76.2) starting as process 22456 ...
160816 11:25:10 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended


w elasticu:

Kod
[2016-08-16 05:20:59,927][WARN ][cluster.routing.allocation.decider] [Preview] high disk watermark [90%] exceeded on [4I8_hsSTRsCY4aMlw36efQ][Preview][/var/lib/elasticsearch/elasticsearch/nodes/0] free: 2.6gb[6.8%], shards will be relocated away from this node
[2016-08-16 05:20:59,927][INFO ][cluster.routing.allocation.decider] [Preview] rerouting shards: [high disk watermark exceeded on one or more nodes]
Pyton_000
Rozumiem że logi już przebadałeś i nic w nich nie ma....
rad11
Python oczywiście że tak. Dodam że wszystko stanęło jakoś w nocy. Na pierwszy rzut oka okazało się że w /dev/root brakło miejsca(98% zajętego było) więc wyczyściłem wszystkie logi(zajmowały ponad 10 GB) miejsce się zwolniło ale niestety mysql , elasticsearch nie chcą ruszyc
Pyton_000
Restart maszyny robiłeś?
rad11
Tak. Ziomek mówi że może to być wina coś z "montowaniem systemu plików" czy jakoś tak ale kompletnie nie wiem jak to naprawić i czy to jest to
Pyton_000
Jeśli tak to w syslog powinieneś mieć wskazówki
'Zerknij w polecenie `dmesg`
rad11
To polecene zwraca mi zawartosc pliku dmesg w którym mam ostatnie linijki:

Kod
Freeing unused kernel memory: 1052K (ffffffff825b1000 - ffffffff826b8000)
usb 3-4.1: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
usb 3-4.1: ep 0x82 - rounding interval to 32 microframes, ep desc says 40 microframes
input: HID 0557:2419 as /devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4.1/3-4.1:1.0/0003:0557:2419.0001/input/input0
hid-generic 0003:0557:2419.0001: input: USB HID v1.00 Keyboard [HID 0557:2419] on usb-0000:00:14.0-4.1/input0
input: HID 0557:2419 as /devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4.1/3-4.1:1.1/0003:0557:2419.0002/input/input1
hid-generic 0003:0557:2419.0002: input: USB HID v1.00 Mouse [HID 0557:2419] on usb-0000:00:14.0-4.1/input1
random: init urandom read with 122 bits of entropy available
init: plymouth-upstart-bridge main process (238) terminated with status 1
init: plymouth-upstart-bridge main process ended, respawning
grsec: time set by /sbin/hwclock[hwclock:240] uid/euid:0/0 gid/egid:0/0, parent /sbin/init[init:1] uid/euid:0/0 gid/egid:0/0
random: nonblocking pool is initialized
init: plymouth-upstart-bridge main process (248) terminated with status 1
init: plymouth-upstart-bridge main process ended, respawning
init: plymouth-upstart-bridge main process (251) terminated with status 1
init: plymouth-upstart-bridge main process ended, respawning
init: ureadahead main process (241) terminated with status 5
systemd-udevd[368]: starting version 204
md: bind<sdb3>
md: bind<sda3>
md/raid1:md3: active with 2 out of 2 mirrors
md3: detected capacity change from 0 to 257454768128
Adding 523260k swap on /dev/sda2.  Priority:-1 extents:1 across:523260k SS
Adding 523260k swap on /dev/sdb2.  Priority:-2 extents:1 across:523260k SS
md3: unknown partition table
EXT4-fs (md1): re-mounted. Opts: errors=remount-ro,discard
ixgbe 0000:03:00.0: registered PHC device on eth0
EXT4-fs (md3): mounted filesystem with ordered data mode. Opts: discard,data=ordered
md: bind<sdc1>
md: bind<sdd1>
md/raid1:md2: active with 2 out of 2 mirrors
md2: detected capacity change from 0 to 2000264495104
md2: unknown partition table
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
8021q: adding VLAN 0 to HW filter on device eth0
EXT4-fs (md2): mounting with "discard" option, but the device does not support discard
EXT4-fs (md2): mounted filesystem with ordered data mode. Opts: discard,data=ordered
init: failsafe main process (955) killed by TERM signal
init: atd main process (1137) terminated with status 1
init: atd main process ended, respawning
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2025 Invision Power Services, Inc.