Komunikat o błędzie

  • User warning: The following module is missing from the file system: bueditor. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: field_validation_extras. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: field_validation_ui. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: geshifield. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: geshifilter. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: google_plusone. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: linkit. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: property_validation. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: taxonomy_menu. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: tweetbutton. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: wysiwyg. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: field_validation. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • Notice: Undefined index: execute_responsive_theme w drupal_theme_initialize() (linia 100 z /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/theme.inc).
  • Notice: Trying to get property 'filename' of non-object w _drupal_theme_initialize() (linia 146 z /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/theme.inc).
  • Notice: Trying to get property 'name' of non-object w _theme_load_registry() (linia 335 z /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/theme.inc).
  • Notice: Undefined index: execute_responsive_theme w theme_get_setting() (linia 1440 z /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/theme.inc).

Komenda

W konsoli podajesz
[bash]journalctl -u cronie.service -f[/bash]

Zastosowanie: 
Logi cron w journalctl na żywo
Wiedza: 
Praktyczna

Komplikacja

Podczas wykonywania kopii zapasowej
[bash]
mysqldump -ujuzek -pposzlo baza_juzka > kopia_zapasowa.sql[/bash]
Zwraca komunikat
[code]mysqldump: Error: 'Unknown error 1227' when trying to dump tablespaces[/code]

Rozwiązanie

Wykonam polecenie
[bash]
mysqldump --no-tablespaces -ujuzek -pposzlo baza_juzka > kopia_zapasowa.sql[/bash]

Wiedza: 
Praktyczna

w konsoli podajesz
[bash]
sed -E 's/([a-z])([A-Z])/\1\n\2/g' plik[/bash]

Wiedza: 
Praktyczna

W konsoli podajesz
[bash]
convert plik.png plik.jpg[/bash]

Zastosowanie: 
Konwertowanie plików graficznych JPG do PNG
Wiedza: 
Praktyczna

W konsoli podajesz
[bash] find -type f | grep -v './plik-*' | xargs rm[/bash]

Wiedza: 
Praktyczna

W konsoli podajesz
[bash]awk '!a[$0]++' plik
[/bash]

Zastosowanie: 
Usuwanie zduplikowanych rekordów w pliku - AWK
Wiedza: 
Praktyczna

W konsoli podajesz
[bash]convert *.png -auto-orient plik.pdf[/bash]

Zastosowanie: 
Konwertowanie plików graficzny do PDF
Wiedza: 
Praktyczna

W konsoli podajesz
[bash]grep -rE "(\"|')fraza""(\"|')"
[/bash]

Zastosowanie: 
Jak znaleźć pojedyncze i podwójne apostrofy grep
Wiedza: 
Praktyczna

W konsoli podajesz
[bash]grep -lr "fraza" | xargs -i cp --parents {} katalog_docelowy
[/bash]

Zastosowanie: 
Kopiowanie znalezionych plików przez grep wraz z architekturą katalogów
Wiedza: 
Praktyczna

W konsoli podajesz
[bash]
find . -type f -name '*.css' -exec yui-compressor --type css {} -o {} \; ; find . -type f -name '*.js' -exec yui-compressor --type js {} -o {} \; [/bash]

Wiedza: 
Praktyczna

Strony

Subskrybuj RSS - Komenda