Skocz do zawartości

cezary188

WHT Pro
  • Zawartość

    293
  • Rejestracja

  • Ostatnio

  • Wygrane dni

    1

Posty napisane przez cezary188


  1. Wybaczcie moja niepojetnosc w tej materii ale zdaje sie czegos nie rozumiem. Ogolnie wordpressy instalowane na serwerze z DA maja problemy z prawami do wykonywania poleceń. Być może to jakas kwestia konfiguracji w DA o ktorej nie wiem. Problem jest taki ze przez caly czas co nie chce zrobic to prosi mnie o podanie hasla do ftp ale to jeszcze ok, skrypt nie moze tworzyc katalogow np dla pluginow czy themow. Nie moze aktualizowac htaccess czy stworzyc pliku wp-config.php w glownym katalogu. Niektorych pluginow nie moze wogole aktywowac bo nie maja praw. Inne skrypty nie miewaja takich problemow. Ogolnie na serwerze jest tez firewall ale watpie zeby to on blokowal tworzenie plikow skrytowi. Jak mozna zaradzic w tej sytuacji bo nie mam pomyslow gdzie szukac.


  2. Niestety

     

    s:~# /etc/init.d/mysql stop
    Stopping MySQL database server: mysqld failed!
    s:~# /etc/init.d/mysqld stop
    Stopping mysqld:			    [ FAILED ]
    s:~# netstat -antu | grep 3306
    tcp	    0	  0 127.0.0.1:3306		  0.0.0.0:*			   LISTEN
    s:~# ps aux | grep mysql
    root	  2988  0.0  0.0   2852  1376 ?	    S    19:03   0:00 /bin/sh /usr/bi
    n/mysqld_safe
    mysql	 3109  0.0  0.2 137972 18136 ?	    Sl   19:03   0:01 /usr/sbin/mysql
    d --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysql
    d/mysqld.pid --socket=/var/run/mysqld/mysqld.sock --port=3306
    root	  3110  0.0  0.0   1764   560 ?	    S    19:03   0:00 logger -t mysql
    d -p daemon.error
    root	  7139  0.0  0.0   3380   756 pts/0    S+   22:39   0:00 grep mysql
    s:~#

     

    Powiem tak ogolnie ja od rana walcze z tym i w miedzy czasie zainstalowalem tak z konsoli mysql ale to nie zmienia tego ze blad jak byl jest identycznie ten sam


  3. s:~# dpkg -l | grep mysql
    ii  libdbd-mysql-perl					    4.007-1+lenny1			    A Per
    l5 database interface to the MySQL database
    ii  libmysqlclient15off					  5.0.51a-24+lenny5			 MySQL
    database client library
    ii  libmysqlclient16						 5.1.62-1					  MySQL
    database client library
    rc  libmysqlclient18						 5.5.24+dfsg-4				 MySQL
    database client library
    ii  mysql-client-5.1						 5.1.62-1					  MySQL
    database client binaries
    ii  mysql-common							 5.1.62-1					  MySQL
    database common files, e.g. /etc/mysql/my.cnf
    ii  mysql-server-5.1						 5.1.62-1					  MySQL
    database server binaries and system database setup
    ii  mysql-server-core-5.1				    5.1.62-1					  MySQL
    database server binaries
    s:~#

     

    Dodam ze ten my.cnf jest teraz skonfigurowany tak jak polecil tutaj user bo nie bylo tam w zasadzie nic


  4. No ja wiem ze jedno wchodzi na drugie ale nie mam pojecia jak to porobic. Oto wyniki komend:
    
    s:~# dpkg - l | grep mysql
    dpkg: need an action option
    
    Type dpkg --help for help about installing and deinstalling packages [*];
    Use `dselect' or `aptitude' for user-friendly package management;
    Type dpkg -Dhelp for a list of dpkg debug flag values;
    Type dpkg --force-help for a list of forcing options;
    Type dpkg-deb --help for help about manipulating *.deb files;
    Type dpkg --license for copyright license and lack of warranty (GNU GPL) [*].
    
    Options marked [*] produce a lot of output - pipe it through `less' or `more' !
    s:~# ls -al /etc/init.d/mysql*
    -rwxr-xr-x 1 root root 5.4K 2010-11-30 09:25 /etc/init.d/mysql
    -rwxr-xr-x 1 root root 1.3K 2010-03-02 09:03 /etc/init.d/mysqld
    s:~# /etc/init.d/mysqld stop
    Stopping mysqld:			    [ FAILED ]
    s:~# netstat -ant | grep 3306
    tcp	    0	  0 127.0.0.1:3306		  0.0.0.0:*			   LISTEN
    s:~# ps aux | grep mysql
    root	   328  0.0  0.0   3376   736 pts/0    R+   22:28   0:00 grep mysql
    root	  2988  0.0  0.0   2852  1376 ?	    S    19:03   0:00 /bin/sh /usr/bi
    n/mysqld_safe
    mysql	 3109  0.0  0.2 137972 18136 ?	    Sl   19:03   0:01 /usr/sbin/mysql
    d --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysql
    d/mysqld.pid --socket=/var/run/mysqld/mysqld.sock --port=3306
    root	  3110  0.0  0.0   1764   560 ?	    S    19:03   0:00 logger -t mysql
    d -p daemon.error
    s:~#
    


  5. A konkretniej jak z tym ip bo nie robiłem tego nigdy jakas komende?

    Z tym soceket to jest tak ze wedlug roznych wskazowek on powinien chyba byc w var/run/mysqld/ na innym serwerze tam mam mysql.sock tam tez jest msqld.pid a co do

    /var/lib/mysql/mysql.sock no to jakos trzeba utworzyc ten plik. Ogolnie dodam ze to sie stalo po restarcie serwera :D I usunal sie ten mysql.sock

    Widzialem tez ze mozna utworzyc plik metoda touch i przypisac mu prawa ale to tez nie dziala


  6. Tak jak w temacie w skrócie przy wpisaniu

     

    mysql

     

    oraz na stronach dostaje:

     

    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run
    /mysqld/mysqld.sock' (2)

     

     

    dodatkowo mój my.cnf wyglada tak:

     

     

    
    [mysqld]
    local-infile=0
    

     

    No i nie moge sie polaczyc z DA na porcie 2222 dostaje komunikat ze polacznie zostalo zresetowane podczas wczytywania strony, ale to zapewne jest związane z tym ze mysql nie dziala prawidłowo.

     

    Jakies pomysły jak to naprawic ?


  7. deb	 ftp://mirror.hetzner.de/debian/packages  lenny		  main contrib non-free
    deb	 ftp://mirror.hetzner.de/debian/security  lenny/updates  main contrib non-free
    
    deb	 http://ftp.de.debian.org/debian  lenny  main non-free contrib
    deb	 http://ftp.de.debian.org/debian  sid  main non-free contrib
    deb-src http://ftp.de.debian.org/debian  lenny  main non-free contrib
    
    deb	 http://security.debian.org/  lenny/updates  main contrib non-free
    deb-src http://security.debian.org/  lenny/updates  main contrib non-free


  8. Niby proste ale mam jakieś problemy z systemem zdaje się. System to Debian 5 32 bit.

    Przy probie instalacji:

    s:~# apt-get install proftpd-mod-mysql
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:
    
    The following packages have unmet dependencies:
     libssl1.0.0: Breaks: openssh-client (< 1:5.9p1-4) but 1:5.1p1-5 is to be insta
    lled
    		   Breaks: openssh-server (< 1:5.9p1-4) but 1:5.1p1-5 is to be insta
    lled
    E: Broken packages
    s:~#
    


  9. Witam, posiadam serwer w hetzner który od jakiegoś czasu trochę sie marnuje bo główna domena która generowała ruch póki co jest wstrzymana i tak się zastanawiam czy by komuś nie udostępnić co by się nie marnował.?

     

    Serwer to EQ4 podpięty pod 100Mbit

    i7 920 2.67 Ghz

    8GB RAM

     

    Miejsca na dysku i trafficu jest sporo.

    Panel Direct Admin jak potrzeba jest.

    Zainteresowanych prosze o kontakt na PW z iloscia miejsca i trafficu oraz przeznaczeniem i proponowana cena jaka ich interesuje. Wszystko do obgadania. Pozdrawiam

×