Menu
Menu

error while loading shared libraries: libxml2.so.2: wrong ELF class: ELFCLASS32

Posted in Cum sa on ianuarie 7, 2017

La rulare yum avem eroarea: error while loading shared libraries: libxml2.so.2: wrong ELF class: ELFCLASS32 Apare atunci cand sunt instalate ambele versiune libxml2 - 32/64bit. Verificam pachetele instalate: rpm -qa --queryformat '%{n}-%{v}-%{r}.%{arch}\n' libxml2 Stergem versiune 32bit rpm -e libxml2-2.6.26-2.1.25.el5_11.i386

Lipsa SQLServerWriter la VSSadmin list writers

Posted in Cum sa on iulie 11, 2016

La services - modificam utilizatorul sub care ruleaza serviciul SQL Server Writer Service de la Local Service la un utilizator cu drepturi de administrare. Testat cu Windows 2012.

Stergere sym links

Posted in Cum sa on iulie 6, 2016

Stergere sym links din directorul curent. find -type l -delete

Extragere adrese de email

Posted in Cum sa on aprilie 29, 2016

Le extragem, le sortam, si le afisam doar pe cele unice: awk -v RS='[[:alnum:]_.]+@[[:alnum:]_]+[.][[:alnum:]]+' 'RT{print RT}' |sort|uniq

451 4.4.0 DNS temporary failure

Posted in Cum sa on ianuarie 8, 2016

Eroarea apare pe servere de email QMail # yum install pdns-recursor # service pdns-recursor start # chkconfig pdns-recursor on# yum install pdns-recursor # service pdns-recursor start # chkconfig pdns-recursor on Apoi in /etc/resolv.conf nameserver 127.0.0.1nameserver 127.0.0.1 Pachetul pdns-recursor e disponobil in EPEL

Upgrade windows 2012 server

Posted in Cum sa on octombrie 13, 2015

Upgrade de la windows 2012 standard trial la windows 2012 standard sau datacenter. Din powershell aflam editia curenta: dism.exe /online /Get-CurrentEdition Editii la care putem face upgrade: dism.exe /online /Get-TargetEditions Facem upgrade: dism.exe /online /Set-Edition:ServerDatacenter /AcceptEula /ProductKey:KEY-KEY-KEY-KEY

named.conf corupt servere cPanel

Posted in Cum sa on septembrie 24, 2015

/usr/local/cpanel/scripts/rebuilddnsconfig /etc/init.d/named restart

Install kernel headers

Posted in Cum sa on iunie 14, 2015

Instalare kernel headers centos yum install kernel-devel Pentru kernelul curent, pe care s-a bootat yum install kernel-devel-$(uname -r)

Setare gateway CentOS

Posted in Cum sa on iunie 11, 2015

ip route replace default via 192.168.0.1 dev eth0 Verificam cu ip route show

Curatare fisiere php cu prima linie modificata

Posted in Cum sa on mai 27, 2015

Un pic de bash + perl find . -type f -name \*.php -exec grep -rl 'isset($GLOBALS' {} \; |xargs -i -n 1 perl -pi -e "s/^<\?php.+isset\(\$GLOBALS.*$/\<\?php/g" {}find . -type f -name \*.php -exec grep -rl 'isset($GLOBALS' {} \; |xargs -i -n 1 perl -pi -e "s/^<\?php.+isset\(\$GLOBALS.*$/\<\?php/g" {} Ce face - cauta in toate fisierele php Read More »

1 2 3 12