Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2009-10-10 18:34:15

  zielony001 - Użytkownik

zielony001
Użytkownik
Zarejestrowany: 2008-09-02

PLD - net jest, a poldek wyświetla connection timed out

Ostatnio zachęcony pozytywnymi opiniami na dugu zainstalowałem PLD th z cri. Problem pojawił się już na początku, gdy chciałem doinstalować trochę softu z repo.
Poldek uparł sie i przy jakiejkolwiek próbie użycia wyświetla: "connection timed out". Sprawdziłem, net chodzi. Pingi na przykładowe wp.pl itp chodzą stronki w lynx też.
Pogrzebałem na google, ale znalazłem tylko porady typu: "sprawdź kable" (sprawdzone kilkukrotnie), tyle że np. debian odpalony na tym sprzęcie chodzi ładnie. Mam więc takie pytanie czy jest coś w konfiguracji samego poldka co może powodować takie objawy?

Offline

 

#2  2009-10-10 19:18:11

  azhag - Admin łajza

azhag
Admin łajza
Skąd: Warszawa
Zarejestrowany: 2005-11-15

Re: PLD - net jest, a poldek wyświetla connection timed out

[quote=zielony001]Mam więc takie pytanie czy jest coś w konfiguracji samego poldka co może powodować takie objawy?[/quote]
Owszem. Jakie repozytoria masz podane?


Błogosławieni, którzy czynią FAQ.
[url=http://www.opencaching.pl]opencaching[/url] :: [url=http://dug.net.pl/sources.list]debian sources.list[/url] :: [url=http://www.linuxportal.pl/blogi/azhag/wpisy]coś jakby blog[/url] :: [url=http://dug.net.pl/]polski portal debiana[/url] :: linux user #403712

Offline

 

#3  2009-10-10 20:50:18

  zielony001 - Użytkownik

zielony001
Użytkownik
Zarejestrowany: 2008-09-02

Re: PLD - net jest, a poldek wyświetla connection timed out

jak narazie z braku lepszego pomysłu standardowe z instalacji :)

/etc/poldek/repos.d/pld.conf:

Kod:

# PLD Linux Distribution <http://www.pld-linux.org/>.
#
# Main sources for PLD Linux 3.0 (Th)

# specify our packages architecture
_arch   = i686

# main PLD-site for often changed things (test, ready):
_pld_main_prefix = ftp://ftp.th.pld-linux.org/dists/th

## Some mirrors
## You can use them if you have better connection there
# CI TASK:
#_prefix = ftp://ftp.task.pld-linux.org/dists/th
_prefix = %{_pld_main_prefix}

# PLD Linux 3.0 (Th): main sources
[source]
type   = pndir
name   = th
path   = %{_prefix}/PLD/%{_arch}/RPMS/
auto   = yes
autoup = yes
[source]
type   = pndir
name   = th
path   = %{_prefix}/PLD/noarch/RPMS/
auto   = yes
autoup = yes
# PLD Linux 3.0 (Th): obsolete sources (kde3, ...)
[source]
type   = pndir
name   = th-obsolete
path   = %{_prefix}/obsolete/%{_arch}/RPMS/
auto   = no
autoup = no

[source]
type   = pndir
name   = th-obsolete
path   = %{_prefix}/obsolete/noarch/RPMS/
auto   = no
autoup = no

# PLD Linux 3.0 (Th): ready sources (testing stage before moved to main)
[source]
type   = pndir
name   = th-ready
path   = %{_pld_main_prefix}/ready/%{_arch}/RPMS/
auto   = no
autoup = no

[source]
type   = pndir
name   = th-ready
path   = %{_pld_main_prefix}/ready/noarch/RPMS/
auto   = no
autoup = no

# PLD Linux 3.0 (Th): test sources (built packages to be moved to ready)
[source]
type   = pndir
name   = th-test
path   = %{_pld_main_prefix}/test/%{_arch}/RPMS/
auto   = no
autoup = no

[source]
type   = pndir
name   = th-test
path   = %{_pld_main_prefix}/test/noarch/RPMS/
auto   = no
autoup = no

na wszelki wypadek podam jeszcze poldek.conf

Kod:

# poldek main configuration file.

# Some macros. Macros are local, they are not visible in included files
# and macros declared in them are not visible to includer.
# Macros names starts with underscore '_'.

# Both local and remote files may be included. Included files may not contain
# [global] section, it will be ignored anyway.

# local sources
%include source.conf

# /etc/poldek/repos.d/*.conf
%includedir repos.d

# External downloaders configuration, not necessary in most cases, cause
# to internal HTTP and FTP client.
#%include fetch.conf

[global]


# This parameter allows to configure the default repository index type.
#default index type = pndir

# Cache directory for downloaded files. NOTE that parent directory of cachedir
# must exist.
cachedir = $HOME/.poldek-cache

# Switch to ordinary user at startup when executed by root
#runas = poldek

# Permits using root privileges for installation only. If set to "auto" then
# automatically turned on when poldek executed as ordinary user.
#use sudo = auto

# Load /etc/apt/sources.list.
#load apt sources list = no

# Handle gzipped indexes externally (needed on RedHat 9 and Fedora Core 1 and 2).
# This option is a workaround for broken zlib linked into librpm; with enabled
# 'auto zlib in rpm' poldek tries to detect such case and then enables external
# *.gz handling automatically.
#vfile external compress = no

# Auto detection of zlib linked into librpm. See 'vfile external compress'
# description.
#auto zlib in rpm = yes

# Automatically download whole index if incremental update fails.
#autoupa = yes

# Do not save given paths into created indexes. This option may significantly
# reduce index size. Example (notice missing starting '/'):
# exclude path = usr/share/doc:usr/share/man:usr/src
#exclude path = 

# Full path name to a PM (rpm for now) binary.
#pm command = /bin/rpm

# Full path name to sudo binary.
#sudo command = /usr/bin/sudo


### File downloaders configuration

# Send ${USER}@${HOSTNAME} as anonymous FTP password (by default
# 'poldek@znienacka.net' is sent)
#vfile ftp sysuser as anon passwd = no

# File getters configuration parameter. By this option URL handlers may be configured.
# To get file from HTTP and FTP servers poldek uses its internal client (what is
# recommended), although it can be changedby this option. Others protocols handled
# by external utilities can be configured also. The syntax is:
# default fetcher = PROTOCOL[,PROTOCOL...]:FETCHER_NAME

# where FETCHER_NAME is a name of one of the fetcher preconfigured in [fetch]
# sections (placed in fetch.conf in default configuration).
# Examples:
# default fetcher = ftp,http:internal
# default fetcher = https:wget
# default fetcher = cdrom:vfjuggle
# vfjuggle is a cdrom getter supplied with poldek.
#default fetcher = http,ftp: internal

# Proxies for internal FTP and HTTP client may be configured in usual
# way, by environment variables ftp_proxy and http_proxy, or by this option.
# Its syntax is similar to "default fetcher" one:
# proxy = PROTOCOL[,PROTOCOL...]:PROXY_URL
# Example:
# proxy = http: http://w3cache.foo.org:8080
#proxy = 

# Comma separated list of hosts or domains which will not be accessed via proxy.
# Option overrides no_proxy environment variable.
# Example:
# noproxy = localhost, .pl, ftp.foo.bar.org
#noproxy = 

# Internal HTTP and FTP client is stubborn, it retries to retrive
# file if connection breaks. This option tells it how many times
# it should try.
#vfile retries = 128


### Installation options

# Install packages in small groups instead of doing all-or-nothing
# installations.
#particle install = yes

# Do not remove downloaded packages after its successful installation.
#keep downloads = no

# Controls visibility of multiple package instances with different EVR.
# If on, only one, highest version will be visible.
#unique package names = no

# Epoch autopromotion during dependency comparision. RPM specific.
# Set it up if you are using system with rpm prior to 4.2.1 version.
#promoteepoch = no

# Confirm packages installation.
#confirm installation = no

# Confirm packages removal.
#confirm removal = yes

# Let the user select package among equivalents.
choose equivalents manually = yes

# Prevent package listed from being upgraded if they are already installed.
hold = kernel*

# Ignore package list - packages fits given mask will be invisible.
# ignore = *-smp-* foo*
ignore = vserver-packages
#ignore = 

# Conflicts with already installed packages are treated as resolved
# if at least one of multiple-installed package satisfies conflict.
# rpm doesn't support such cases, so --pm-nodeps is needed (use with
# care).
#allow duplicates = yes


### RPM specific options

# rpm macros can be set by this option. Examples:
# rpmdef   = _install_langs pl:pl_PL:lt:lt_LT
# Do not install any documentation:
# rpmdef  = _netsharedpath /usr/share/info:/usr/share/man
# rpmdef  = _excludedocs 1
# If non-zero, all erasures will be automagically repackaged.
# rpmdef  = _repackage_all_erasures 1
#rpmdef = 


### Dependency processing settings
# Subtle dependency processing options, they should not be changed
# unless you know what you are doing

# RPM 4.4.6 introduces auto dependencies based on package directories.
# Option controls this feature.
#auto directory dependencies = auto

# Automatically install packages required by installed ones.
#follow = yes

# Greedy upgrades, i.e. upgrade packages which dependencies are broken
# by being uninstalled ones.
#greedy = yes

# Be yet more greedy; if successor of orphaned package found, and this
# successor drags no packages then upgrade the package instead of process
# its dependencies. Option value is implied by 'greedy' one by defalut.
#aggressive greedy = yes

# Be tolerant for unmatched versioned dependencies which rpm tolerates, e.g.
# package A requires capability foo >= 1.0 while package B provides "foo"
# without any version. Use with care, it may cause weird dependency errors.
#mercy = no

# Taking into account package Suggests.
#suggests = yes

# Taking into account package Obsoletes.
#obsoletes = yes

# Taking into account package Conflicts.
#conflicts = yes

Offline

 

#4  2009-10-11 09:45:45

  svL - Użytkownik

svL
Użytkownik
Zarejestrowany: 2007-06-17

Re: PLD - net jest, a poldek wyświetla connection timed out

sprawdź inny serwer
ftp.pld-linux.org
ftp4.pld-linux.org
ftp.atm.pld-linux.org


"God, root, what is difference?"

Offline

 

#5  2009-10-13 23:06:47

  zielony001 - Użytkownik

zielony001
Użytkownik
Zarejestrowany: 2008-09-02

Re: PLD - net jest, a poldek wyświetla connection timed out

Niestety bez zmian. Czy problem może być związany z tą finezyjną konstrukcją pliku z repozytoriami, mam na myśli te wszystkie zmienne typu: "_prefix" ?

Offline

 

#6  2009-10-14 19:45:34

  svL - Użytkownik

svL
Użytkownik
Zarejestrowany: 2007-06-17

Re: PLD - net jest, a poldek wyświetla connection timed out

nie chce mi się porównywać z Twoim plikiem konf, http://pastebin.com/m7d3b8fa5 tu masz mój


"God, root, what is difference?"

Offline

 

#7  2009-10-18 16:12:57

  zielony001 - Użytkownik

zielony001
Użytkownik
Zarejestrowany: 2008-09-02

Re: PLD - net jest, a poldek wyświetla connection timed out

z niewiadomych przyczyn, nie pomogło. spróbuje jeszcze klasyszcznej reinstalacji - może pomoże, a jak nie to zawsze można wrócić do debiana:)
dzięki za pomoc i cierpliwość.

Offline

 

#8  2009-10-18 20:56:23

  svL - Użytkownik

svL
Użytkownik
Zarejestrowany: 2007-06-17

Re: PLD - net jest, a poldek wyświetla connection timed out

dobra trochę się wyjaśniło, były ruchy na serwerze i jeszcze nie wszystko gra ;)
_pld_main_prefix =  ftp://master-ftp.pld-linux.org//dists/th
na takim ustawieniu w pld.conf u mnie działa, te które podałem poprzednio nie bardzo


"God, root, what is difference?"

Offline

 

#9  2009-12-20 19:51:35

  ippo76 - fakam fszycho

ippo76
fakam fszycho
Zarejestrowany: 2009-02-22
Serwis

Re: PLD - net jest, a poldek wyświetla connection timed out

Podniosę temat,

też mi się zachciało pld, usiłuję postawić z chroota, [url=http://forum.pld-linux.org/viewtopic.php?p=5197#5197]wg tego opisu[/url] ale "utykam" w p.3.
Klepię tar tfvj i zaczyna wypakowywać, oto końcówka tego, co wypluwa:

Kod:

./mnt/
./opt/
./proc/
./root/
./srv/
./initrd/
./selinux/
./sys/

Potem próba chroota:

Kod:

blaszak:~$ sudo chroot /mnt/pld/
chroot: cannot run command `/bin/bash': No such file or directory

i kupa; nie wiem, co jest grane, bo w folderze /mnt/pld nie ma żadnych plików; tar -xvjf też daje taki sam rezultat...

Edycia:
Nie wiem, co schrzaniłem, ale wypakował mi to do /home, przy okazji (używałem sudo) zmienił mi właściciela /home na roota..... nic nie rozumiem...

Edzia2:
Jak się samo zesr.ło, tak się samo naprawiło... Chyba mam wirusa :)

Ostatnio edytowany przez ippo76 (2009-12-20 20:21:18)


ippo76@jid.dug.net.pl

Moja składka do ZUS = 2/3, moja składka do OFE = 1/3;
Stan mojego konta w ZUS = 2XYZ, stan konta w OFE = 3XYZ.

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
To nie jest tylko forum, to nasza mała ojczyzna ;-)

[ Generated in 0.009 seconds, 11 queries executed ]

Informacje debugowania

Time (s) Query
0.00012 SET CHARSET latin2
0.00004 SET NAMES latin2
0.00091 SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='18.220.206.141' WHERE u.id=1
0.00102 REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '18.220.206.141', 1732308725)
0.00048 SELECT * FROM punbb_online WHERE logged<1732308425
0.00087 SELECT topic_id FROM punbb_posts WHERE id=130169
0.00009 SELECT id FROM punbb_posts WHERE topic_id=15172 ORDER BY posted
0.00054 SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=15172 AND t.moved_to IS NULL
0.00005 SELECT search_for, replace_with FROM punbb_censoring
0.00219 SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=15172 ORDER BY p.id LIMIT 0,25
0.00107 UPDATE punbb_topics SET num_views=num_views+1 WHERE id=15172
Total query time: 0.00738 s