Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Problem z wystarowaniem mysql,elasticsearch
rad11
post
Post #1





Grupa: Zarejestrowani
Postów: 1 270
Pomógł: 184
Dołączył: 7.10.2012
Skąd: Warszawa

Ostrzeżenie: (0%)
-----


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]


Ten post edytował rad11 16.08.2016, 10:43:36
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 6)
Pyton_000
post
Post #2





Grupa: Zarejestrowani
Postów: 8 068
Pomógł: 1414
Dołączył: 26.10.2005

Ostrzeżenie: (0%)
-----


Rozumiem że logi już przebadałeś i nic w nich nie ma....
Go to the top of the page
+Quote Post
rad11
post
Post #3





Grupa: Zarejestrowani
Postów: 1 270
Pomógł: 184
Dołączył: 7.10.2012
Skąd: Warszawa

Ostrzeżenie: (0%)
-----


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

Ten post edytował rad11 16.08.2016, 10:09:40
Go to the top of the page
+Quote Post
Pyton_000
post
Post #4





Grupa: Zarejestrowani
Postów: 8 068
Pomógł: 1414
Dołączył: 26.10.2005

Ostrzeżenie: (0%)
-----


Restart maszyny robiłeś?
Go to the top of the page
+Quote Post
rad11
post
Post #5





Grupa: Zarejestrowani
Postów: 1 270
Pomógł: 184
Dołączył: 7.10.2012
Skąd: Warszawa

Ostrzeżenie: (0%)
-----


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

Ten post edytował rad11 16.08.2016, 10:20:50
Go to the top of the page
+Quote Post
Pyton_000
post
Post #6





Grupa: Zarejestrowani
Postów: 8 068
Pomógł: 1414
Dołączył: 26.10.2005

Ostrzeżenie: (0%)
-----


Jeśli tak to w syslog powinieneś mieć wskazówki
'Zerknij w polecenie `dmesg`
Go to the top of the page
+Quote Post
rad11
post
Post #7





Grupa: Zarejestrowani
Postów: 1 270
Pomógł: 184
Dołączył: 7.10.2012
Skąd: Warszawa

Ostrzeżenie: (0%)
-----


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
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 23.08.2025 - 20:01