abclinuxu.cz AbcLinuxu.cz itbiz.cz ITBiz.cz HDmag.cz HDmag.cz abcprace.cz AbcPráce.cz
AbcLinuxu hledá autory!
Inzerujte na AbcPráce.cz od 950 Kč
Rozšířené hledání
×
    dnes 14:44 | IT novinky

    Apple bez varování odstranil ze svého obchodu sociální síť VKontaktě i další aplikace skupiny VK, jako je VK Music nebo VK Video [Novinky.cz].

    Ladislav Hagara | Komentářů: 4
    dnes 14:22 | IT novinky

    V dubnu loňského roku představený poštovní klient Notion Mail bude 22. září ukončen.

    Ladislav Hagara | Komentářů: 2
    dnes 04:33 | Komunita

    Konference OpenAlt 2026 hledá přednášející. Proběhne o víkendu 7. a 8. listopadu na půdě Fakulty informačních technologií VUT v Brně. Témata konference jsou: Otevřený a svobodný software, IoT a Hnutí tvůrců, Vzdělávání, Bezpečnost a soukromí, Otevřená společnost, komunity a data, OpenMobility a další.

    Ladislav Hagara | Komentářů: 0
    dnes 04:22 | IT novinky

    Společnosti OpenAI a Broadcom oznámily čip optimalizovaný pro AI pojmenovaný Jalapeño.

    Ladislav Hagara | Komentářů: 0
    včera 20:22 | Nová verze

    Deno (Wikipedie), běhové prostředí (runtime) pro JavaScript, TypeScript a WebAssembly, bylo vydáno v nové verzi 2.9. Hlavní novinkou je deno desktop pro převod Deno projektu na desktopovou aplikaci. Jedná se o alternativu k frameworkům Electron nebo Tauri.

    Ladislav Hagara | Komentářů: 2
    včera 15:44 | IT novinky

    Od zítra jsou Datové schránky oficiálně na nové adrese datovka.gov.cz. Adresa mojedatovaschranka.cz zůstává funkční do 27. srpna 2026, následně budou uživatelé automaticky přesměrováni na datovka.gov.cz.

    Ladislav Hagara | Komentářů: 3
    včera 13:44 | Nová verze

    Dolphin (Wikipedie), tj. open source multiplatformní emulátor herních konzolí GameCube a Wii od Nintenda, byl vydán ve verzi 2606. S podporou Game Boy Playeru.

    Ladislav Hagara | Komentářů: 0
    včera 11:11 | Zajímavý software

    Vasudeva Kamath představil utilitu debvulns, alternativu k nativní utilitě debsecan, pro výpis zranitelností v Debianu. Navíc má především možnost výstupu ve strukturovaných formátech JSON a CSV. V plánu je exportér pro Prometheus.

    Ladislav Hagara | Komentářů: 0
    24.6. 21:44 | IT novinky

    Oficiální český státní eshop s elektronickými dálničními známkami nově najdete na edalnice.gov.cz. Doména gov.cz jasně potvrzuje, že jste na oficiálním státním webu [𝕏].

    Ladislav Hagara | Komentářů: 27
    24.6. 14:22 | Nová verze

    Byla vydána nová verze 4.8.0 interaktivního shellu fish (friendly interactive shell, Wikipedie). Přehled novinek v poznámkách k vydání.

    Ladislav Hagara | Komentářů: 7
    Které desktopové prostředí na Linuxu používáte?
     (11%)
     (8%)
     (2%)
     (17%)
     (31%)
     (3%)
     (6%)
     (2%)
     (15%)
     (26%)
    Celkem 1995 hlasů
     Komentářů: 30, poslední 3.4. 20:20
    Rozcestník


    Dotaz: Apache nenačte mysql - nejde instanou modul

    24.5.2011 00:31 lopikol
    Apache nenačte mysql - nejde instanou modul
    Přečteno: 541×
    Mysql už mám na serveru, ale ne ten modul (.so) pro php. do příkazové řádky jako root dám apt-get install php5-mysql, ale hodí to error:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following NEW packages will be installed:
      php5-mysql
    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    Need to get 76.8 kB of archives.
    After this operation, 299 kB of additional disk space will be used.
    WARNING: The following packages cannot be authenticated!
      php5-mysql
    Install these packages without verification [y/N]? y
    Err http://security.debian.org/ squeeze/updates/main php5-mysql amd64 5.3.3-7+squeeze1
      Could not resolve 'security.debiaFailReason: ResolveFailure
    Failed to fetch http://security.debian.org/pool/updates/main/p/php5/php5-mysql_5.3.3-7+squeeze1_amd64.deb  Could not resolve 'security.debiaFailReason: ResolveFailure
    E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

    Řešení dotazu:


    Odpovědi

    24.5.2011 07:07 Jirka
    Rozbalit Rozbalit vše Re: Apache nenačte mysql - nejde instanou modul
    Zkusils prikazy co ti navrhuje provest (na posledni radce)?
    24.5.2011 07:32 lopikol
    Rozbalit Rozbalit vše Re: Apache nenačte mysql - nejde instanou modul
    Když dám apt-get update
    Err http://ftp.cz.debian.org squeeze Release.gpg
      Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure
    Err http://ftp.cz.debian.org/debian/ squeeze/main Translation-en
      Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure
    Err http://ftp.cz.debian.org squeeze-updates Release.gpg
      Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure
    Err http://ftp.cz.debian.org/debian/ squeeze-updates/contrib Translation-en
      Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure
    Err http://security.debian.org squeeze/updates Release.gpg
      Could not resolve 'security.debiaFailReason: ResolveFailure
    Err http://security.debian.org/ squeeze/updates/contrib Translation-en
      Could not resolve 'security.debiaFailReason: ResolveFailure
    Err http://security.debian.org/ squeeze/updates/main Translation-en
      Could not resolve 'security.debiaFailReason: ResolveFailure
    Err http://ftp.cz.debian.org/debian/ squeeze-updates/main Translation-en
      Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure
    Ign cdrom://[Debian GNU/Linux 6.0.1a _Squeeze_ - Official amd64 DVD Binary-1 20110322-16:05] squeeze Release.gpg
    Ign http://security.debian.org squeeze/updates Release
    Ign http://ftp.cz.debian.org squeeze Release
    Ign http://ftp.cz.debian.org squeeze-updates Release
    Ign http://security.debian.org squeeze/updates/main Sources/DiffIndex
    Ign http://security.debian.org squeeze/updates/contrib Sources/DiffIndex
    Ign http://security.debian.org squeeze/updates/main amd64 Packages/DiffIndex
    Ign http://security.debian.org squeeze/updates/contrib amd64 Packages/DiffIndex
    Ign http://ftp.cz.debian.org squeeze/main Sources/DiffIndex
    Ign http://ftp.cz.debian.org squeeze/main amd64 Packages/DiffIndex
    Err http://security.debian.org squeeze/updates/main Sources
      Could not resolve 'security.debiaFailReason: ResolveFailure
    Err http://security.debian.org squeeze/updates/contrib Sources
      Could not resolve 'security.debiaFailReason: ResolveFailure
    Err http://security.debian.org squeeze/updates/main amd64 Packages
      Could not resolve 'security.debiaFailReason: ResolveFailure
    Ign http://ftp.cz.debian.org squeeze-updates/main Sources/DiffIndex
    Ign http://ftp.cz.debian.org squeeze-updates/contrib Sources/DiffIndex
    Ign http://ftp.cz.debian.org squeeze-updates/main amd64 Packages/DiffIndex
    Ign http://ftp.cz.debian.org squeeze-updates/contrib amd64 Packages/DiffIndex
    Err http://ftp.cz.debian.org squeeze/main Sources
      Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure
    Err http://security.debian.org squeeze/updates/contrib amd64 Packages
      Could not resolve 'security.debiaFailReason: ResolveFailure
    Err http://ftp.cz.debian.org squeeze/main amd64 Packages
      Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure
    Err http://ftp.cz.debian.org squeeze-updates/main Sources
      Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure
    Err http://ftp.cz.debian.org squeeze-updates/contrib Sources
      Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure
    Err http://ftp.cz.debian.org squeeze-updates/main amd64 Packages
      Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure
    Err http://ftp.cz.debian.org squeeze-updates/contrib amd64 Packages
      Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure
    Ign cdrom://[Debian GNU/Linux 6.0.1a _Squeeze_ - Official amd64 DVD Binary-1 20110322-16:05]/ squeeze/contrib Translation-en
    Ign cdrom://[Debian GNU/Linux 6.0.1a _Squeeze_ - Official amd64 DVD Binary-1 20110322-16:05]/ squeeze/main Translation-en
    Ign cdrom://[Debian GNU/Linux 6.0.1a _Squeeze_ - Official amd64 DVD Binary-1 20110322-16:05] squeeze Release
    Ign cdrom://[Debian GNU/Linux 6.0.1a _Squeeze_ - Official amd64 DVD Binary-1 20110322-16:05] squeeze/contrib amd64 Packages/DiffIndex
    Ign cdrom://[Debian GNU/Linux 6.0.1a _Squeeze_ - Official amd64 DVD Binary-1 20110322-16:05] squeeze/main amd64 Packages/DiffIndex
    W: Failed to fetch http://ftp.cz.debian.org/debian/dists/squeeze/Release.gpg  Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure
    
    W: Failed to fetch http://ftp.cz.debian.org/debian/dists/squeeze/main/i18n/Translation-en.gz  Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure
    
    W: Failed to fetch http://security.debian.org/dists/squeeze/updates/Release.gpg  Could not resolve 'security.debiaFailReason: ResolveFailure
    
    W: Failed to fetch http://security.debian.org/dists/squeeze/updates/contrib/i18n/Translation-en.gz  Could not resolve 'security.debiaFailReason: ResolveFailure
    
    W: Failed to fetch http://security.debian.org/dists/squeeze/updates/main/i18n/Translation-en.gz  Could not resolve 'security.debiaFailReason: ResolveFailure
    
    W: Failed to fetch http://ftp.cz.debian.org/debian/dists/squeeze-updates/Release.gpg  Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure
    
    W: Failed to fetch http://ftp.cz.debian.org/debian/dists/squeeze-updates/contrib/i18n/Translation-en.gz  Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure
    
    W: Failed to fetch http://ftp.cz.debian.org/debian/dists/squeeze-updates/main/i18n/Translation-en.gz  Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure
    
    W: Failed to fetch http://security.debian.org/dists/squeeze/updates/main/source/Sources.gz  Could not resolve 'security.debiaFailReason: ResolveFailure
    
    W: Failed to fetch http://security.debian.org/dists/squeeze/updates/contrib/source/Sources.gz  Could not resolve 'security.debiaFailReason: ResolveFailure
    
    W: Failed to fetch http://security.debian.org/dists/squeeze/updates/main/binary-amd64/Packages.gz  Could not resolve 'security.debiaFailReason: ResolveFailure
    
    W: Failed to fetch http://security.debian.org/dists/squeeze/updates/contrib/binary-amd64/Packages.gz  Could not resolve 'security.debiaFailReason: ResolveFailure
    
    W: Failed to fetch http://ftp.cz.debian.org/debian/dists/squeeze/main/source/Sources.gz  Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure
    
    W: Failed to fetch http://ftp.cz.debian.org/debian/dists/squeeze/main/binary-amd64/Packages.gz  Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure
    
    W: Failed to fetch http://ftp.cz.debian.org/debian/dists/squeeze-updates/main/source/Sources.gz  Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure
    
    W: Failed to fetch http://ftp.cz.debian.org/debian/dists/squeeze-updates/contrib/source/Sources.gz  Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure
    
    W: Failed to fetch http://ftp.cz.debian.org/debian/dists/squeeze-updates/main/binary-amd64/Packages.gz  Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure
    
    W: Failed to fetch http://ftp.cz.debian.org/debian/dists/squeeze-updates/contrib/binary-amd64/Packages.gz  Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure
    
    E: Some index files failed to download, they have been ignored, or old ones used instead.
    
    Pokud použiju apt-get install php-mysql --fix-missing
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package php-mysql
    
    MMMMMMMMM avatar 24.5.2011 08:31 MMMMMMMMM | skóre: 44 | blog: unstable | Valašsko :-)
    Rozbalit Rozbalit vše Re: Apache nenačte mysql - nejde instanou modul
    Máte správně nastaven DNS server? Zdá se mi, že nedokáže přeložit hostname ftp.cz.debian.org na IP adresu. Co zkusit zadat třeba ping www.seznam.cz?
    24.5.2011 09:41 lopikol
    Rozbalit Rozbalit vše Re: Apache nenačte mysql - nejde instanou modul
    Výsledek:
    ping: unknown host www.seznam.cz
    MMMMMMMMM avatar 24.5.2011 09:46 MMMMMMMMM | skóre: 44 | blog: unstable | Valašsko :-)
    Rozbalit Rozbalit vše Re: Apache nenačte mysql - nejde instanou modul
    Takže musíte nastavit DNS server. Nejsem Debianista, ale mohlo by pomoci hodit nějaký do /etc/resolv.conf, například veřejný Google DNS nebo prostě nějaký od ISP:

    nameserver 8.8.8.8
    24.5.2011 10:08 lopikol
    Rozbalit Rozbalit vše Re: Apache nenačte mysql - nejde instanou modul
    Mám tam toto:
    # This file describes the network interfaces available on your system
    # and how to activate them. For more information, see interfaces(5).
    
    # The loopback network interface
    auto lo
    iface lo inet loopback
    
    # The primary network interface
    auto eth0
    iface eth0 inet static
            address 192.168.0.2
            netmask 255.255.255.0
            network 192.168.0.138
            nameserver 192.168.0.138
    
    192.168.0.2 to je ip serveru 192.168.0.138 to je ip modemu

    V pc kde mám windows používám taky jen tyto ip (samozřejmě ip pc je jiná), ale jde to jak má. Co se týče DNS serverů, tak ty mám v modemu nastaveny na google.
    Heron avatar 24.5.2011 10:27 Heron | skóre: 53 | blog: root_at_heron | Olomouc
    Rozbalit Rozbalit vše Re: Apache nenačte mysql - nejde instanou modul
    Nic nepokazíte, pokud si ty DNS servery googlu (8.8.8.8 a 8.8.4.4) zadáte přímo do toho Debianu.
    24.5.2011 10:54 lopikol
    Rozbalit Rozbalit vše Re: Apache nenačte mysql - nejde instanou modul
    ok, ale i tak mi to je k ničemu, jelikož stále ping na seznam nejde
    Heron avatar 24.5.2011 10:59 Heron | skóre: 53 | blog: root_at_heron | Olomouc
    Rozbalit Rozbalit vše Re: Apache nenačte mysql - nejde instanou modul
    A jinak síť v tom debianu normálně funguje? Ping na nějaké IP v internetu, třeba zrovna ten seznam (77.75.76.3), případně na dns googlu projde? Pokud ne, co ukáže traceroute, kde se to zastaví.
    24.5.2011 11:02 lopikol
    Rozbalit Rozbalit vše Re: Apache nenačte mysql - nejde instanou modul
    když dám ping na 77.75.76.3, tak výsledek je:
    connect: Network is unreachable
    
    Řešení 1× (MMMMMMMMM)
    Heron avatar 24.5.2011 11:18 Heron | skóre: 53 | blog: root_at_heron | Olomouc
    Rozbalit Rozbalit vše Re: Apache nenačte mysql - nejde instanou modul

    Aha, ten soubor interfaces je poněkud špatně. Chybí tam výchozí brána.

    Předpokládám, že toto

    network 192.168.0.138

    mělo být spíše

    gateway 192.168.0.138
    network 192.168.0.0
    Heron avatar 24.5.2011 11:19 Heron | skóre: 53 | blog: root_at_heron | Olomouc
    Rozbalit Rozbalit vše Re: Apache nenačte mysql - nejde instanou modul
    A potom zrestartovat síť (nebo celý stroj).
    24.5.2011 11:35 NN
    Rozbalit Rozbalit vše Re: Apache nenačte mysql - nejde instanou modul
    Restovat cely stroj je zbytecne, staci:
    ./etc/init.d/networking restart &
    nebo
    ifdown eth0
    ifup eth0
    
    NN
    24.5.2011 11:35 lopikol
    Rozbalit Rozbalit vše Re: Apache nenačte mysql - nejde instanou modul
    moc děkuji. Už to jede ;)

    Založit nové vláknoNahoru

    Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

    ISSN 1214-1267   www.czech-server.cz
    © 1999-2015 Nitemedia s. r. o. Všechna práva vyhrazena.