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  2006-05-21 19:15:39

  Artanis - Użytkownik

Artanis
Użytkownik
Skąd: KatoVice City
Zarejestrowany: 2005-08-17

Portmap nie chce dać się wyłączyć :/

Debian z linii stabilnej; trochę zaniedbany, bo jak parę miechów temu postawiłem go na serwer to tak działał, przyszedł czas na modernizacje i mam problem. Otóż świeżo zainstalowany nfs nie chce się wlączyć, gdzyż gryzie się z portmap'em

Kod:

squall root # dmesg | tail
RPC: failed to contact portmap (errno -5).
NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
NFSD: starting 90-second grace period
portmap: server localhost not responding, timed out
RPC: failed to contact portmap (errno -5).
portmap: server localhost not responding, timed out
RPC: failed to contact portmap (errno -5).
nfsd4: failed to purge old clients from recovery directory v4recovery
portmap: server localhost not responding, timed out
RPC: failed to contact portmap (errno -5).
squall root #

Sam portmap nie chce sie dać odinstalować, ani nawet wylączyć

Kod:

squall root # /etc/init.d/portmap stop
Stopping portmap daemon: portmap    

i stoi aż nacisnę CTRL+C

Chciałem zaktualizować pakiety, może nawet przejść na linię testing, niestety do reinstalacji portmap'a koniecze jest wyłączenie go, które się kończy jak wyżej, a z racji tego, iż jest to serwer nie chciałbym go wyłączać jeśli to nie jest konieczne...

Byłbym wdzięczny za wskazówkę :)


LRU#375319

[Sempron 2800@(300x8)] [1024 MB DDR 400Mhz Elixir] [EPoX 8KDA] [GF66 GT 128 MB DDR3]
[Gentoo ~x86 2.6.20-morph6] [nV 97xx] [KDE3.5.6] [gcc 4.1.2]

Offline

 

#2  2006-05-21 19:25:34

  czadman - Bicycle repairman

czadman
Bicycle repairman
Skąd: Wrocław
Zarejestrowany: 2005-07-08

Re: Portmap nie chce dać się wyłączyć :/

Zainstaluj pakiet strace i wykonaj:

Kod:

strace /etc/init.d/portmap stop

Dostaniesz dużo szczegółów. Ewentualnie spróbuj zabić portmapa:

Kod:

kill -5 `pgrep portmap`

albo

Kod:

kill -9 `pgrep portmap`

[url=http://www.debian.org/][img]http://www.debian.org/logos/openlogo-nd-50.png[/img][/url]

Offline

 

#3  2006-05-21 19:43:49

  Artanis - Użytkownik

Artanis
Użytkownik
Skąd: KatoVice City
Zarejestrowany: 2005-08-17

Re: Portmap nie chce dać się wyłączyć :/

Kod:

squall root # strace /etc/init.d/portmap stop
execve("/etc/init.d/portmap", ["/etc/init.d/portmap", "stop"], [/* 18 vars */]) = 0
uname({sys="Linux", node="squall", ...}) = 0
brk(0)                                  = 0x80e6000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fbe000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=12197, ...}) = 0
mmap2(NULL, 12197, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fbb000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libncurses.so.5", O_RDONLY)  = 3
read(3, "177ELF111331220342"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=252592, ...}) = 0
mmap2(NULL, 257868, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7f7c000
mmap2(0xb7fb2000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x35) = 0xb7fb2000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/libdl.so.2", O_RDONLY)   = 3
read(3, "177ELF11133120f"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=9592, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f7b000
mmap2(NULL, 12404, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7f77000
mmap2(0xb7f79000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7f79000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/libc.so.6", O_RDONLY)    = 3
read(3, "177ELF111331260O1"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1270928, ...}) = 0
mmap2(NULL, 1276892, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e3f000
mmap2(0xb7f6d000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12e) = 0xb7f6d000
mmap2(0xb7f75000, 7132, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f75000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7e3e000
mprotect(0xb7f6d000, 20480, PROT_READ)  = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7e3e6c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
munmap(0xb7fbb000, 12197)               = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3
close(3)                                = 0
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=491664, ...}) = 0
mmap2(NULL, 491664, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7dc5000
close(3)                                = 0
brk(0)                                  = 0x80e6000
brk(0x80e7000)                          = 0x80e7000
brk(0x80e8000)                          = 0x80e8000
brk(0x80e9000)                          = 0x80e9000
getuid32()                              = 0
getgid32()                              = 0
geteuid32()                             = 0
getegid32()                             = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
time(NULL)                              = 1148233307
brk(0x80ea000)                          = 0x80ea000
open("/etc/mtab", O_RDONLY)             = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=269, ...}) = 0
mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7da5000
read(3, "/dev/hda3 / reiserfs rw 0 0nproc"..., 131072) = 269
close(3)                                = 0
munmap(0xb7da5000, 131072)              = 0
open("/proc/meminfo", O_RDONLY)         = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7dc4000
read(3, "MemTotal:       126080 kBnMemFre"..., 1024) = 598
close(3)                                = 0
munmap(0xb7dc4000, 4096)                = 0
brk(0x80eb000)                          = 0x80eb000
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
uname({sys="Linux", node="squall", ...}) = 0
brk(0x80ec000)                          = 0x80ec000
stat64("/root", {st_mode=S_IFDIR|0755, st_size=472, ...}) = 0
stat64(".", {st_mode=S_IFDIR|0755, st_size=472, ...}) = 0
getpid()                                = 18236
getppid()                               = 18235
getpgrp()                               = 18235
rt_sigaction(SIGCHLD, {0x8076f20, [], 0}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
open("/etc/init.d/portmap", O_RDONLY|O_LARGEFILE) = 3
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfdd3118) = -1 ENOTTY (Inappropriate ioctl for device)
_llseek(3, 0, [0], SEEK_CUR)            = 0
read(3, "#!/bin/shn#n# start/stop portmap"..., 80) = 80
_llseek(3, 0, [0], SEEK_SET)            = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
dup2(3, 255)                            = 255
close(3)                                = 0
fcntl64(255, F_SETFD, FD_CLOEXEC)       = 0
fcntl64(255, F_GETFL)                   = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat64(255, {st_mode=S_IFREG|0755, st_size=1076, ...}) = 0
_llseek(255, 0, [0], SEEK_CUR)          = 0
brk(0x80ed000)                          = 0x80ed000
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(255, "#!/bin/shn#n# start/stop portmap"..., 1076) = 1076
brk(0x80ee000)                          = 0x80ee000
open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/gconv/gconv-modules", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=45568, ...}) = 0
mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7da5000
read(3, "# GNU libc iconv configuration.n"..., 131072) = 45568
brk(0x80ef000)                          = 0x80ef000
brk(0x80f0000)                          = 0x80f0000
brk(0x80f1000)                          = 0x80f1000
brk(0x80f2000)                          = 0x80f2000
brk(0x80f3000)                          = 0x80f3000
brk(0x80f4000)                          = 0x80f4000
brk(0x80f5000)                          = 0x80f5000
brk(0x80f6000)                          = 0x80f6000
brk(0x80f7000)                          = 0x80f7000
brk(0x80f8000)                          = 0x80f8000
brk(0x80f9000)                          = 0x80f9000
brk(0x80fa000)                          = 0x80fa000
brk(0x80fb000)                          = 0x80fb000
brk(0x80fc000)                          = 0x80fc000
brk(0x80fd000)                          = 0x80fd000
brk(0x80fe000)                          = 0x80fe000
brk(0x80ff000)                          = 0x80ff000
brk(0x8100000)                          = 0x8100000
brk(0x8101000)                          = 0x8101000
brk(0x8102000)                          = 0x8102000
brk(0x8103000)                          = 0x8103000
brk(0x8104000)                          = 0x8104000
brk(0x8105000)                          = 0x8105000
brk(0x8106000)                          = 0x8106000
brk(0x8107000)                          = 0x8107000
brk(0x8108000)                          = 0x8108000
brk(0x8109000)                          = 0x8109000
brk(0x810a000)                          = 0x810a000
brk(0x810b000)                          = 0x810b000
read(3, "", 131072)                     = 0
close(3)                                = 0
munmap(0xb7da5000, 131072)              = 0
brk(0x810c000)                          = 0x810c000
open("/usr/lib/gconv/ISO8859-2.so", O_RDONLY) = 3
read(3, "177ELF1113312004"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=9436, ...}) = 0
brk(0x810d000)                          = 0x810d000
mmap2(NULL, 12324, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7dc1000
mmap2(0xb7dc3000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7dc3000
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
stat64("/sbin/portmap", {st_mode=S_IFREG|0755, st_size=12440, ...}) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
stat64("/etc/default/portmap", {st_mode=S_IFREG|0644, st_size=62, ...}) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
stat64("/etc/default/portmap", {st_mode=S_IFREG|0644, st_size=62, ...}) = 0
open("/etc/default/portmap", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=62, ...}) = 0
read(3, "# By default listen on all inter"..., 62) = 62
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
brk(0x810e000)                          = 0x810e000
brk(0x810f000)                          = 0x810f000
write(1, "Stopping portmap daemon:", 24Stopping portmap daemon:) = 24
write(1, " portmap", 8 portmap)                 = 8
stat64(".", {st_mode=S_IFDIR|0755, st_size=472, ...}) = 0
stat64("/usr/local/sbin/pmap_dump", 0xbfdd2d20) = -1 ENOENT (No such file or directory)
stat64("/usr/local/bin/pmap_dump", 0xbfdd2d20) = -1 ENOENT (No such file or directory)
stat64("/usr/sbin/pmap_dump", 0xbfdd2d20) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/pmap_dump", 0xbfdd2d20) = -1 ENOENT (No such file or directory)
stat64("/sbin/pmap_dump", {st_mode=S_IFREG|0755, st_size=3384, ...}) = 0
stat64("/sbin/pmap_dump", {st_mode=S_IFREG|0755, st_size=3384, ...}) = 0
brk(0x8110000)                          = 0x8110000
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
_llseek(255, -9, [1067], SEEK_CUR)      = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7e3e708) = 18237
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x8075fa0, [], 0}, {SIG_DFL}, 8) = 0
waitpid(-1,   

Co mi niestety za wiele nie daje, bo nigdy tego nie używałem


LRU#375319

[Sempron 2800@(300x8)] [1024 MB DDR 400Mhz Elixir] [EPoX 8KDA] [GF66 GT 128 MB DDR3]
[Gentoo ~x86 2.6.20-morph6] [nV 97xx] [KDE3.5.6] [gcc 4.1.2]

Offline

 

#4  2006-05-21 19:50:23

  zielkam - były zielony_83 :)

zielkam
były zielony_83 :)
Skąd: Zawiercie
Zarejestrowany: 2006-05-06
Serwis

Re: Portmap nie chce dać się wyłączyć :/

strace pokazuje ci co proces po (_kolei-koleii(ORT)) wykonuje i w ktorym momencie sie "zacina" mozesz ewentualnie zrobic tak

Kod:

 ps ax | grep portmap

a pozniej

Kod:

 kill -9 PID 

Zostałeś zarejestrowany jako użytkownik #416423 przez.. :mrgreen:
##
[url=http://fluxboxpl.org]FluxboxPL[/url] | [url=http://zielony.fluxboxpl.org/blog/]Mój Lepszy Świat[/url] | [url=http://www.unixy.pl/]UnixyPL[/url] | [url=www.adescom.pl]Telenia VOIP dla ISP[/url]
JID: zielony@jabster.pl

Offline

 

#5  2006-05-21 19:53:08

  czadman - Bicycle repairman

czadman
Bicycle repairman
Skąd: Wrocław
Zarejestrowany: 2005-07-08

Re: Portmap nie chce dać się wyłączyć :/

Jeśli nic nie daje to co napisałem (sam nie wiem dlaczego stoi) to wykonaj:

Kod:

update-rc.d -f portmap remove

Zrestartuj system i aktualizuj.
Po aktualizacji wkonaj

Kod:

dpkg-reconfigure portmap

aby przywrócić portmapa.


[url=http://www.debian.org/][img]http://www.debian.org/logos/openlogo-nd-50.png[/img][/url]

Offline

 

#6  2006-05-21 21:29:48

  Artanis - Użytkownik

Artanis
Użytkownik
Skąd: KatoVice City
Zarejestrowany: 2005-08-17

Re: Portmap nie chce dać się wyłączyć :/

Sam proces portmap'a mogę skillować, jednak mimo tego usługa nie chce się wyłączyć :/


LRU#375319

[Sempron 2800@(300x8)] [1024 MB DDR 400Mhz Elixir] [EPoX 8KDA] [GF66 GT 128 MB DDR3]
[Gentoo ~x86 2.6.20-morph6] [nV 97xx] [KDE3.5.6] [gcc 4.1.2]

Offline

 

#7  2009-06-23 11:09:20

  ogr - Nowy użytkownik

ogr
Nowy użytkownik
Skąd: Puszcza Bukowa
Zarejestrowany: 2009-06-23

Re: Portmap nie chce dać się wyłączyć :/

(cóż za odświeżenie tematu hihi)

Podobny problem napotkałem z lenny

Po przywróceniu w /etc/network/interfaces

Kod:

auto lo
iface lo inet loopback

rozruch / zamknięcie - wróciły do "normy".

Offline

 

#8  2009-07-30 21:55:54

  stach81 - Nowy użytkownik

stach81
Nowy użytkownik
Zarejestrowany: 2009-07-30

Re: Portmap nie chce dać się wyłączyć :/

nie chciało mi się wnikać zbyt w samą strukture skryptu (pośpiech) serwer ma byc gotowy dla klienta ASAP a taka pierdułka nie powinna psuć image
(tak wiem to nie profesjonalne)
Jak się dziad portmap zamyka to robi to skrypt /etc/init.d/portmap stop
na tej linijce sie jakby zawieszał

        pmap_dump >/var/run/portmap.state

no to ja go zmodyfikowałem na chama i cześć poniżej kod


Kod:

debian:/home/bartek# cat /etc/init.d/portmap
#!/bin/sh
#
# start/stop portmap daemon.

### BEGIN INIT INFO
# Provides:          portmap
# Required-Start:    $network
# Required-Stop:     $network
# Default-Start:     S 2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: The RPC portmapper
# Description:       Portmap is a server that converts RPC (Remote
#                    Procedure Call) program numbers into DARPA
#                    protocol port numbers. It must be running in
#                    order to make RPC calls. Services that use
#                    RPC include NFS and NIS.
### END INIT INFO

test -f /sbin/portmap || exit 0

. /lib/lsb/init-functions

OPTIONS=""
if [ -f /etc/default/portmap ]; then
  . /etc/default/portmap
elif [ -f /etc/portmap.conf ]; then
  . /etc/portmap.conf
fi

case "$1" in
    start)
        log_begin_msg "Starting portmap daemon..."
        pid=$( pidofproc -p /var/run/portmap.pid /sbin/portmap )
        if [ -n "$pid" ] ; then
              log_begin_msg "Already running."
              log_end_msg 0
              exit 0
        fi
        start-stop-daemon --start --quiet --oknodo --exec /sbin/portmap -- $OPTIONS
        log_end_msg $?

        if [ -f /var/run/portmap.upgrade-state ]; then
          log_begin_msg "Restoring old RPC service information..."
          sleep 1 # needs a short pause or pmap_set won't work. :(
          pmap_set </var/run/portmap.upgrade-state
          log_end_msg $?
          rm -f /var/run/portmap.upgrade-state
        else
          if [ -f /var/run/portmap.state ]; then
            sleep 1 # needs a short pause or pmap_set won't work. :(
            pmap_set </var/run/portmap.state
            rm -f /var/run/portmap.state
          fi
        fi

        mkdir -p /lib/init/rw/sendsigs.omit.d
        rm -f /lib/init/rw/sendsigs.omit.d/portmap
        ln -s /var/run/portmap.pid /lib/init/rw/sendsigs.omit.d/portmap

        ;;
    stop)
        log_begin_msg "Stopping portmap daemon..."
        #pmap_dump >/var/run/portmap.state
        #echo "2"
        #start-stop-daemon --stop --quiet --oknodo --exec /sbin/portmap
        #echo "3"
        #log_end_msg $?
        kill  $(pidof /sbin/portmap )
;;
    force-reload)
        $0 restart
        ;;
    restart)
        $0 stop
        $0 start
        ;;
    *)
        log_success_msg "Usage: /etc/init.d/portmap {start|stop|force-reload|restart}"
        exit 1
        ;;
esac

exit 0

Offline

 

#9  2009-09-05 11:55:45

  tomaszów - Użytkownik

tomaszów
Użytkownik
Skąd: Gdynia
Zarejestrowany: 2008-03-21

Re: Portmap nie chce dać się wyłączyć :/

Miałem podobny problem. Rozwiązałem go dodając do regułek iptables zezwolenie na ruch przez lo

Kod:

IPTABLES -A INPUT -i lo -j ACCEPT
IPTABLES -A OUTPUT -o lo -j ACCEPT

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Nas ludzie lubią po prostu, a nie klikając w przyciski ;-)

[ Generated in 0.011 seconds, 12 queries executed ]

Informacje debugowania

Time (s) Query
0.00013 SET CHARSET latin2
0.00007 SET NAMES latin2
0.00102 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.119.141.115' WHERE u.id=1
0.00065 REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '18.119.141.115', 1732753294)
0.00044 SELECT * FROM punbb_online WHERE logged<1732752994
0.00062 DELETE FROM punbb_online WHERE ident='66.249.66.8'
0.00066 SELECT topic_id FROM punbb_posts WHERE id=124278
0.00177 SELECT id FROM punbb_posts WHERE topic_id=3739 ORDER BY posted
0.00061 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=3739 AND t.moved_to IS NULL
0.00006 SELECT search_for, replace_with FROM punbb_censoring
0.00144 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=3739 ORDER BY p.id LIMIT 0,25
0.00085 UPDATE punbb_topics SET num_views=num_views+1 WHERE id=3739
Total query time: 0.00832 s