Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.

Zobrazit příspěvky

Tato sekce Vám umožňuje zobrazit všechny příspěvky tohoto uživatele. Prosím uvědomte si, že můžete vidět příspěvky pouze z oblastí Vám přístupných.


Témata - Cepela

Stran: [1] 2
1
Obecná podpora / informace o spustenem procesu
« kdy: 09 Listopad 2013, 12:57:11 »
Ahoj, mam velkou prosbu, potrebuji zjistit co nejvice informaci o spustenem procesu. Na stroji se mi objevil proces
Kód: [Vybrat]
www-data 20260 73.3  0.0  63376  2320 ?        Ssl  Nov08 678:24 ./m64 -o stratum+tcp://mine.pool-x.eu:9000 -u gvsall.64 -p 64 --algo scrypt --no-longpoll -B Ocividne se tam nekdo naboural a tenhle "balast" tam nahodil. Nedokazu ale zjistit jak. locate m64 nic nenajde, v crontab taky nic. Po restartu to po chvilce opet naskoci. Vzhledem k tomu, ze to bezi pod uzivatelem www-data, tak predpokladam, ze se to tam dostalo pres nej. Takze tedka hledam jak se toho zbavit a samozrejme i jak tomu zabranit pro priste. Lze nejak omezit uzivatel www-data (zadne opravneni by ale mit nemel). Moc diky

2
Internet a sítě / preklad domeny za natem
« kdy: 08 Říjen 2012, 12:36:23 »
Obracim se opet na zdejsi komunitu s prosbou o pomoc. Mam sit kterou routuji do sveta pomoci gw na debianu s iptables. V teto siti jsou stanice a jeden mailserver na ubuntu s ip 192.168.1.25. Z vnejsku na nej pristupuji bez problemu pres domenu napr mail.aaa.cz a vse bezi ok (webmail, imap, smtp,....). Stolni pc uvnit site maji nastavenou adresu primo, tj. 192.168.1.25 a taky pracuji OK. Problem ale nastane, kdyz ma nekdo notebook a potrebuje pristupovat jak zvenci, tak zevnitr, protoze musi mit nastavenu v mailovem klientu domenovou adresu, ktera se ale spravne nepresmeruje kdyz je uvnit - pri pristupu uvnitr site na mail.aaa.cz se to neproroutuje spravne na 192.168.1.25, ale patrne se to zamota na gw. Da se toto nejak obejit? V jine siti mam mailserver zaroven jako gw a tam se to pomlati OK i zevnitr, ale tady ne. Projistotu pridavam iptables z gw:
Kód: [Vybrat]
# Generated by iptables-save v1.4.2 on Wed May 11 11:48:08 2011
*mangle
:PREROUTING ACCEPT [261490383:122539398190]
:INPUT ACCEPT [20363847:3493207943]
:FORWARD ACCEPT [241098617:119043855803]
:OUTPUT ACCEPT [21846235:8651538356]
:POSTROUTING ACCEPT [262269622:127623941631]
COMMIT
# Completed on Wed May 11 11:48:08 2011
# Generated by iptables-save v1.4.2 on Wed May 11 11:48:08 2011
*nat
:PREROUTING ACCEPT [13525963:898774555]
:POSTROUTING ACCEPT [9757907:540753704]
:OUTPUT ACCEPT [424486:33294577]
-A PREROUTING -s 192.168.1.0/24 -d 90.181.xxx.xxx -p tcp --dport 80 -j DNAT --to-destination 192.168.1.25:80
-A PREROUTING -d 90.181.xxx.xxx -p tcp -m tcp --dport 25 -j DNAT --to-destination 192.168.1.25:25
-A PREROUTING -d 90.181.xxx.xxx -p tcp -m tcp --dport 143 -j DNAT --to-destination 192.168.1.25:143
-A PREROUTING -p tcp -m tcp -d 90.181.xxx.xxx --dport 80 -j DNAT --to-destination 192.168.1.25
-A PREROUTING -p tcp -m tcp -d 90.181.xxx.xxx --dport 110 -j DNAT --to-destination 192.168.1.25
-A PREROUTING -d 90.181.xxx.xxx -p tcp -m tcp --dport 1194 -j DNAT --to-destination 192.168.1.25:1194
-A PREROUTING -i eth1 -p tcp -m tcp --dport 3389 -j DNAT --to-destination 192.168.1.1
-A PREROUTING -i eth1 -p tcp -m tcp --dport 5555 -j DNAT --to-destination 192.168.1.17
-A PREROUTING -i eth1 -p tcp -m tcp --dport 22016 -j DNAT --to-destination 192.168.1.16:22
-A PREROUTING -i eth1 -p tcp -m tcp --dport 22025 -j DNAT --to-destination 192.168.1.25:22
-A PREROUTING -i eth1 -p tcp -m tcp --dport 33891 -j DNAT --to-destination 192.168.1.17:3389
-A PREROUTING -i eth1 -p tcp -m tcp --dport 9997 -j DNAT --to-destination 192.168.1.17:9997
-A PREROUTING -i eth1 -p tcp -m tcp --dport 9998 -j DNAT --to-destination 192.168.1.17:9998
-A PREROUTING -i eth1 -p udp -m udp --dport 6277 -j DNAT --to-destination 192.168.1.25:6277
-A POSTROUTING -o eth1 -j SNAT --to-source 90.181.xxx.xxx
COMMIT
# Completed on Wed May 11 11:48:08 2011
# Generated by iptables-save v1.4.2 on Wed May 11 11:48:08 2011
*filter
:INPUT DROP [0:0]
:FORWARD DROP [8106:396226]
:OUTPUT ACCEPT [21210267:8584805387]
:dos - [0:0]
:dos_lim - [0:0]
:dos_log - [0:0]
:forward_log - [0:0]
:forward_log_lim - [0:0]
:forward_log_log - [0:0]
:input_log - [0:0]
:input_log_lim - [0:0]
:input_log_log - [0:0]
:limit_p - [0:0]
:limit_p_lim - [0:0]
:limit_p_log - [0:0]
:limit_ssh - [0:0]
:limit_ssh_lim - [0:0]
:limit_ssh_log - [0:0]
:limits - [0:0]
:reject_ip - [0:0]
:rezer_ip - [0:0]
:tracking - [0:0]
:tracking_lim - [0:0]
:tracking_log - [0:0]
-A INPUT -i lo -j ACCEPT
-A INPUT -i eth0 -j ACCEPT
-A INPUT -i eth1 -j rezer_ip
-A INPUT -i tap0 -j ACCEPT
-A INPUT -j tracking
-A INPUT -j reject_ip
-A INPUT -j dos
-A INPUT -j limits
-A INPUT -p icmp -m icmp ! --icmp-type 5 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 113 -j REJECT --reject-with icmp-port-unreachable
-A INPUT -i eth1 -p tcp -m tcp --dport 22 -j ACCEPT
-A INPUT -i eth1 -p udp -m udp --dport 1194 -j ACCEPT
-A INPUT -i eth1 -p tcp --dport 1194 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 22 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --dport 69 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --dport 53 -j ACCEPT
-A INPUT -s 192.168.1.25 -i eth0 -p udp -m udp --dport 161 -j ACCEPT
-A INPUT -s 192.168.1.25 -i eth0 -p tcp -m tcp --dport 161 -j ACCEPT
-A INPUT -s 77.240.xxx.xxx -i eth1 -p udp -m udp --dport 161 -j ACCEPT
-A INPUT -s 77.240.xxx.xxx -i eth1 -p tcp -m tcp --dport 161 -j ACCEPT
-A INPUT -i tun+ -p tcp -m tcp --dport 22 -j ACCEPT
-A INPUT -i tun+ -p udp -m udp --dport 53 -j ACCEPT
-A INPUT -j input_log
-A FORWARD -s 192.168.255.201/32 -j DROP
-A FORWARD -i eth1 -o tap0 -m state --state RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -j tracking
-A FORWARD -j reject_ip
-A FORWARD -i eth1 -j dos
-A FORWARD -i eth1 -p tcp -m tcp --dport 22 -j ACCEPT
-A FORWARD -i eth1 -p tcp -m tcp --dport 25 -j ACCEPT
-A FORWARD -i eth1 -p tcp -m tcp --dport 80 -j ACCEPT
-A FORWARD -i eth1 -p tcp -m tcp --dport 110 -j ACCEPT
-A FORWARD -i eth1 -p tcp -m tcp --dport 143 -j ACCEPT
-A FORWARD -i eth1 -p tcp -m tcp --dport 3389 -j ACCEPT
-A FORWARD -i eth1 -p tcp -m tcp --dport 33895 -j ACCEPT
-A FORWARD -i eth1 -p tcp -m tcp --dport 5555 -j ACCEPT
-A FORWARD -p tcp -m tcp --dport 9997 -j ACCEPT
-A FORWARD -p tcp -m tcp --dport 9998 -j ACCEPT
-A FORWARD -i eth1 -j rezer_ip
-A FORWARD -i eth0 -o eth0 -j ACCEPT
-A FORWARD -i eth0 -p icmp -j ACCEPT
-A FORWARD -i eth0 -o eth1 -j ACCEPT
-A FORWARD -i eth0 -o tun+ -j ACCEPT
-A FORWARD -i tap0 -j ACCEPT
-A FORWARD -i tun+ -j ACCEPT
-A OUTPUT -j reject_ip
-A dos -m hashlimit --hashlimit-upto 1/sec --hashlimit-burst 100 --hashlimit-mode srcip --hashlimit-name dos --hashlimit-htable-size 64 --hashlimit-htable-max 512 --hashlimit-htable-expire 1200$
-A dos -m hashlimit --hashlimit-upto 2/min --hashlimit-burst 3 --hashlimit-mode srcip --hashlimit-name log_dos --hashlimit-htable-size 16 --hashlimit-htable-max 128 --hashlimit-htable-expire 30$
-A dos -m limit --limit 2/min --limit-burst 1 -j ULOG --ulog-prefix "DoS (limit IP):"
-A dos -j DROP
-A dos_lim -m limit --limit 4/min --limit-burst 10 -j dos_log
-A dos_lim -m limit --limit 4/min --limit-burst 1 -j ULOG --ulog-prefix "DoS (limit TOTAL):"
-A dos_lim -j DROP
-A dos_log -j ULOG --ulog-prefix "DoS:"
-A dos_log -j DROP
-A forward_log -m hashlimit --hashlimit-upto 2/min --hashlimit-burst 3 --hashlimit-mode srcip --hashlimit-name forward_log --hashlimit-htable-size 16 --hashlimit-htable-max 128 --hashlimit-htab$
-A forward_log -m limit --limit 2/min --limit-burst 1 -j ULOG --ulog-prefix "FORWARD (limit IP):"
-A forward_log -j DROP
-A forward_log_lim -m limit --limit 4/min --limit-burst 10 -j forward_log_log
-A forward_log_lim -m limit --limit 4/min --limit-burst 1 -j ULOG --ulog-prefix "FORWARD (limit TOTAL):"
-A forward_log_lim -j DROP
-A forward_log_log -j ULOG --ulog-prefix "FORWARD:"
-A forward_log_log -j DROP
-A input_log -m pkttype --pkt-type broadcast -j DROP
-A input_log -i eth0 -p udp -m udp --dport 137:138 -j DROP
-A input_log -m hashlimit --hashlimit-upto 2/min --hashlimit-burst 3 --hashlimit-mode srcip --hashlimit-name input_log --hashlimit-htable-size 32 --hashlimit-htable-max 256 --hashlimit-htable-e$
-A input_log -m limit --limit 2/min --limit-burst 1 -j ULOG --ulog-prefix "INPUT (limit IP):"
-A input_log -j DROP
-A input_log_lim -m limit --limit 4/min --limit-burst 10 -j input_log_log
-A input_log_lim -m limit --limit 4/min --limit-burst 1 -j ULOG --ulog-prefix "INPUT (limit TOTAL):"
-A input_log_lim -j DROP
-A input_log_log -j ULOG --ulog-prefix "INPUT:"
-A input_log_log -j DROP
-A limit_p -m hashlimit --hashlimit-upto 1/sec --hashlimit-burst 50 --hashlimit-mode srcip,dstport --hashlimit-name limit_p --hashlimit-htable-size 256 --hashlimit-htable-max 2048 --hashlimit-h$
-A limit_p -m hashlimit --hashlimit-upto 2/min --hashlimit-burst 3 --hashlimit-mode srcip --hashlimit-name log_limit_p --hashlimit-htable-size 32 --hashlimit-htable-max 256 --hashlimit-htable-e$
-A limit_p -m limit --limit 2/min --limit-burst 1 -j ULOG --ulog-prefix "Limit port (limit IP):"
-A limit_p -j DROP
-A limit_p_lim -m limit --limit 4/min --limit-burst 10 -j limit_p_log
-A limit_p_lim -m limit --limit 4/min --limit-burst 1 -j ULOG --ulog-prefix "Limit port (limit TOTAL):"
-A limit_p_lim -j DROP
-A limit_p_log -j ULOG --ulog-prefix "Limit port:"
-A limit_p_log -j DROP
-A limit_ssh -s 77.93.xxx.xxx/32 -j RETURN
-A limit_ssh -s 77.93.xxx.xxx/32 -j RETURN
-A limit_ssh -s 89.185.239.105/32 -j RETURN
-A limit_ssh -s 212.24.154.100/32 -j RETURN
-A limit_ssh -m hashlimit --hashlimit-upto 1/min --hashlimit-burst 3 --hashlimit-mode srcip --hashlimit-name limit_ssh --hashlimit-htable-size 8 --hashlimit-htable-max 64 --hashlimit-htable-exp$
-A limit_ssh -m hashlimit --hashlimit-upto 2/min --hashlimit-burst 3 --hashlimit-mode srcip --hashlimit-name log_limit_ssh --hashlimit-htable-size 4 --hashlimit-htable-max 32 --hashlimit-htable$
-A limit_ssh -m limit --limit 2/min --limit-burst 1 -j ULOG --ulog-prefix "Limit SSH (limit IP):"
-A limit_ssh -j DROP
-A limit_ssh_lim -m limit --limit 4/min --limit-burst 10 -j limit_ssh_log
-A limit_ssh_lim -m limit --limit 4/min --limit-burst 1 -j ULOG --ulog-prefix "Limit SSH (limit TOTAL):"
-A limit_ssh_lim -j DROP
-A limit_ssh_log -j ULOG --ulog-prefix "Limit SSH:"
-A limit_ssh_log -j DROP
-A limits -p tcp -m tcp --dport 22 -j limit_ssh
-A limits -p tcp -m tcp --dport 22 -j RETURN
-A limits -j limit_p
-A reject_ip -s 169.254.0.0/16 -j REJECT --reject-with icmp-port-unreachable
-A reject_ip -d 169.254.0.0/16 -j REJECT --reject-with icmp-port-unreachable
-A reject_ip -s 224.0.0.0/4 -j REJECT --reject-with icmp-port-unreachable
-A reject_ip -d 224.0.0.0/4 -j REJECT --reject-with icmp-port-unreachable
-A rezer_ip -s 10.0.0.0/8 -j DROP
-A rezer_ip -s 172.16.0.0/12 -j DROP
-A rezer_ip -s 192.168.0.0/16 -j DROP
-A rezer_ip -d 10.0.0.0/8 -j DROP
-A rezer_ip -d 172.16.0.0/12 -j DROP
-A rezer_ip -d 192.168.0.0/16 -j DROP
-A tracking -p tcp -m state --state NEW -m tcp ! --tcp-flags FIN,SYN,RST,ACK SYN -m hashlimit --hashlimit-upto 2/min --hashlimit-burst 3 --hashlimit-mode srcip --hashlimit-name log_tracking --h$
-A tracking -p tcp -m state --state NEW -m tcp ! --tcp-flags FIN,SYN,RST,ACK SYN -m limit --limit 2/min --limit-burst 1 -j ULOG --ulog-prefix "Tracking (limit IP):"
-A tracking -p tcp -m state --state NEW -m tcp ! --tcp-flags FIN,SYN,RST,ACK SYN -j DROP
-A tracking -m state --state RELATED,ESTABLISHED -j ACCEPT
-A tracking_lim -m limit --limit 4/min --limit-burst 10 -j tracking_log
-A tracking_lim -m limit --limit 4/min --limit-burst 1 -j ULOG --ulog-prefix "Tracking (limit TOTAL):"
-A tracking_lim -j DROP
-A tracking_log -j ULOG --ulog-prefix "Tracking:"
-A tracking_log -j DROP
COMMIT
# Completed on Wed May 11 11:48:08 2011

3
Hardware / wifi mini-PCI BCM43224 5GHz nejde
« kdy: 31 Červenec 2012, 00:53:56 »
Ahoj, chci se zeptat jestli nekomu u teto karty chodi "a" a "n" mod. Uz nekolik verzi zpet mi karta nenaskenuje zadnou sit v 5G pasmu a jeden maximalne v Gcku. Pouzivam nesvobodne STA ovladace, ktere jsou vsude uvadeny jako nejlepsi, ale nevim, nevim. Dnes jsem zkousel ndiswrapper, ale nejak sem nepochodil a karta snim nebezela. Tak se chci zeptat na zkusenosti ostatnich s touto kartou. Premyslim dokonce o prechodu na jinou kartu ktera zvladne a,b,g,n ale radeji bych tuto rezbehal. Popripade mate nekdo zkusenost treba s Mikrotik R52N?

4
Ubuntu Server / Samba - winbind - hlti log
« kdy: 02 Říjen 2011, 21:47:36 »
Ahoj, prosim o pomoc, winbind mi hlti log nasledujici hlastkou:
Kód: [Vybrat]
Sep 29 05:21:36 localhost winbindd[1979]: [2011/09/29 05:21:36,  0] winbindd/winbindd.c:959(winbindd_listen_fde_handler)
Sep 29 05:21:36 localhost winbindd[1979]:   winbindd: Exceeding 200 client connections, no idle connection found
Sep 29 05:21:36 localhost winbindd[1979]: [2011/09/29 05:21:36,  0] winbindd/winbindd.c:959(winbindd_listen_fde_handler)
Sep 29 05:21:36 localhost winbindd[1979]:   winbindd: Exceeding 200 client connections, no idle connection found
Sep 29 05:21:36 localhost winbindd[1979]: [2011/09/29 05:21:36,  0] winbindd/winbindd.c:959(winbindd_listen_fde_handler)
Sep 29 05:21:36 localhost winbindd[1979]:   winbindd: Exceeding 200 client connections, no idle connection found
Sep 29 05:21:36 localhost winbindd[1979]: [2011/09/29 05:21:36,  0] winbindd/winbindd.c:959(winbindd_listen_fde_handler)
Sep 29 05:21:36 localhost winbindd[1979]:   winbindd: Exceeding 200 client connections, no idle connection found
Sep 29 05:21:36 localhost winbindd[1979]: [2011/09/29 05:21:36,  0] winbindd/winbindd.c:959(winbindd_listen_fde_handler)
Sep 29 05:21:36 localhost winbindd[1979]:   winbindd: Exceeding 200 client connections, no idle connection found
Sep 29 05:21:36 localhost winbindd[1979]: [2011/09/29 05:21:36,  0] winbindd/winbindd.c:959(winbindd_listen_fde_handler)
Sep 29 05:21:36 localhost winbindd[1979]:   winbindd: Exceeding 200 client connections, no idle connection found
Sep 29 05:21:36 localhost winbindd[1979]: [2011/09/29 05:21:36,  0] winbindd/winbindd.c:959(winbindd_listen_fde_handler)
Sep 29 05:21:36 localhost winbindd[1979]:   winbindd: Exceeding 200 client connections, no idle connection found
Sep 29 05:21:36 localhost winbindd[1979]: [2011/09/29 05:21:36,  0] winbindd/winbindd.c:959(winbindd_listen_fde_handler)
Sep 29 05:21:36 localhost winbindd[1979]:   winbindd: Exceeding 200 client connections, no idle connection found
Sep 29 05:21:36 localhost winbindd[1979]: [2011/09/29 05:21:36,  0] winbindd/winbindd.c:959(winbindd_listen_fde_handler)
Sep 29 05:21:36 localhost winbindd[1979]:   winbindd: Exceeding 200 client connections, no idle connection found
Sep 29 05:21:36 localhost winbindd[1979]: [2011/09/29 05:21:36,  0] winbindd/winbindd.c:959(winbindd_listen_fde_handler)
Sep 29 05:21:36 localhost winbindd[1979]:   winbindd: Exceeding 200 client connections, no idle connection found
Sep 29 05:21:36 localhost winbindd[1979]: [2011/09/29 05:21:36,  0] winbindd/winbindd.c:959(winbindd_listen_fde_handler)

log dosahuje obrovskych rozmeru. Na googlu jsem nasel nekol rozporuplnych nazoru na anglickych forech, ale nejak jsem z zadneho nepochopil jak se toho zbavit. Nevite nekdo jak na to? Diky moc

5
Obecná podpora / Odstraneni poskozeneho baliku
« kdy: 02 Září 2011, 10:21:49 »
Ahoj, potreboval bych poradit jak se zbavit poskozeneho baliku. Kdyz udelam cokoli vzdy skoncim nasleduji chybou:
Kód: [Vybrat]
Odinstalování balíku ql650tdcupswrapper …
/var/lib/dpkg/info/ql650tdcupswrapper.postrm: 4: /etc/init.d/cupsys: not found
dpkg: chyba při zpracovávání ql650tdcupswrapper (--remove):
 podproces instalovaný post-removal skript vrátil chybový status 127
Při zpracování nastaly chyby:
 ql650tdcupswrapper
E: Sub-process /usr/bin/dpkg returned an error code (1)

Nelze aktualizovat, instalovat ani odebirat jiny soft. apt-get purge --force-all ql650tdcupswrapper nepomaha. Pls poradte. Dekuji

6
Ahoj, po x letech jsem presel na kubuntu, ale nevim si rady s jednou veci. Kdyz si chci pustit nejake vido, ktere mam na jinem pc, tak se mi v kubuntu chce nejdrive stahnout??? Zkokusel jsem to jak pres sftp, tak i smb, ale vzdy ho to chce nejdrive stahnout a pak az prehravat. V ubuntu to dokazalo prehravat rovnou. Neda se toto nejak nastavit? Prehravac je vlc, dragon, nebo co to tu je v zakladu to radeji vzda rovnou a napise ze neni co prehravat.

7
Ubuntu Server / padajici server 10.04
« kdy: 05 Květen 2011, 14:41:56 »
Ahoj, muzete mi prosim nekdo poradit, jak by se dalo zjistit pro zniceho nic se cely ubuntu server kousne a nereaguje vubec na nic? V logu nikdy nic nenormalniho nenajdu, telplota cpu i hdd je take v normalu. Nekdy to udela uprostred noci, kdyz se flaka, jindy zase pres den za plneho provozu... Pokud by byly vadne pameti, tak by to melo nekde v logu byt, nebo se pletu? Doufal jsem v hlasku KERNEL PANIC nekde v logu, ale prd... da se to jeste nekde jinak vykoukat?

8
Obecná podpora / nastaveni prav souboru a slozek napevno
« kdy: 14 Duben 2011, 11:55:27 »
Ahoj, mam takovy blby dotaz, ale nejak si snim nedokazu poradit a ani nic najit. Mam pres sambu pripojene nejake adresare do kterych se pristupuje z win stanic. Prava jsou na 777 nobody:nogroup - to je OK a slape to. Ale zaroven mi do tohoto adresare zapisuje apache, ktery tam uploaduje soubory do nove vytvorenych adresaru (dela si je sam) a jim nastavi prava na 755 www-data:nogroup takze pak je uzivatel z win nemuze smazat - nema opravneni. Jak mohu tedy nastavit, aby ta prava byla dedicne nastavena napevno i pro nove vytvorene adresare a slozky? Myslel jsem, ze mi v tom pomuze stickbit, ale asi jsem se spletl.

9
Ubuntu Server / CGI Apache2
« kdy: 13 Březen 2011, 11:51:48 »
Tak ja uz jsem taky bezradny, podle toho navodu co je v tomto prispevku http://forum.ubuntu.cz/index.php/topic,36494.0.html jsem udelal vsechno, ale pokud se pokosim spustit ten testovaci soubor, tak mi to do logu vyhodi hlasku
Kód: [Vybrat]
[Sat Mar 12 00:21:40 2011] [error] [client 192.168.10.100] (8)Exec format error: exec of '/usr/lib/cgi-bin/test.pl' failed
[Sat Mar 12 00:21:40 2011] [error] [client 192.168.10.100] Premature end of script headers: test.pl

Pokud se pokusim otevrit cgi soubor, tak se mi chce stahnout.... prava mam nastavena uz pro vsechny pripady na 777

Protoze to spravne odkazuje na slozku /usr/lib/cgi-bin , tak si myslim, ze toto je spravne, ale pro jistotu prikladam

/etc/apache2/sites-avalible/default
Kód: [Vybrat]
<VirtualHost 192.168.10.206>
DocumentRoot "/var/www/"
ServerName 192.168.10.206
CustomLog /var/log/apache2/192.168.10.206 combined
<Directory "/var/www">
AllowOverride All
allow from all
Options +Indexes FollowSymLinks Includes
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/

    <Directory /usr/lib/www>
    Options +ExecCGI
    AddHandler cgi-script cgi pl
    </Directory>

</VirtualHost>

MOC PROSIM O POMOC, uz jen tapu

10
Obecná podpora / Centerim kodovani
« kdy: 22 Únor 2011, 20:21:59 »
Ahoj, pouzivate nekdo centerim (centericq) po cca roce a pul jsem si ho chtel znovu nastavit, ale nadokazu nastavit ani jednu vec, protoze kodovani je uplne silene a tak nic neni k precteni.... centerim-utf8 mam take nainstalovano, ale je to prd platne. Netusite nekdo jak to prinutit, aby to bylo alespon trosku k precteni? Na hacky a carky se muzu vyprdnout, stejne je nepouzivam, ale ten rozsypanej caj je moc... Finch je bohuzel tezko ovladatelny, takze ten to neresi.

11
Ubuntu Server / Chyba cronu [vyřešeno]
« kdy: 21 Leden 2011, 22:38:38 »
Ahoj, mohl by jste me prosim nekdo nakopnout kam se vydat s touto chybou? Nejak nemuzu nic vykoumat... Diky
Kód: [Vybrat]
/etc/cron.daily/amavisd-new:
bayes: expire_old_tokens: locker: safe_lock: cannot create tmp lockfile /var/amavisd/.spamassassin/bayes.lock.server.redotmedia.cz.20620 for /var/amavisd/.spamassassin/bayes.lock: No such file or directory
/etc/cron.daily/logrotate:
error: error running shared postrotate script for '/var/log/mysql.log /var/log/mysql/mysql.log /var/log/mysql/mysql-slow.log '
run-parts: /etc/cron.daily/logrotate exited with return code 1

Verze ubuntu server 10.04

12
Internet a sítě / Samba a promenna datumu
« kdy: 30 Listopad 2010, 23:38:54 »
Ahoj, prosim o radu, pokousim se donutit sambu, aby v ceste pouzila aktualni datu. Primo je to takle, v sambe ma nastaven recycle bin (ten beha paradne), ale podrebuju do cesty kam presouva smazane soubory nastavit promennou aktualni data (tj. aby se v kosi vytvoril adresar s datem kdy byl soubor odstranen a v nem ten soubor). Bohuzel v dokumentaci samby jsem nasel jen promennou %T, ktera je pro toto nepouzitelna, protoze to ulozi jako YYYY/MM/DD/prapodivne_hausnumero ale ja chci adresar YYMMDD. Samba jeste nejaky zbusobem pracuje s promennou prostredi ( %$<ENVVAR> ), ale neprisel jsem na to jak, protoze recycle:repository = /home/kos/%$<%Y> udela zase nejakou kravinu pro cloveka necitelnou. Nemate nekdo s timto zkusenost???
Diky

13
Pracovní prostředí / Gnome - ikony plochy v okne jako v KDE
« kdy: 26 Listopad 2010, 15:49:26 »
Ahoj, prosim poradte, jde nejak v GNOME udelat, aby ikony plochy byly v nejakem ramci, nebo "okne" jako v KDE. Pomoci screenlets to jde udelat pomoci folderview, ale to neni naprosto dostacujici, protoze FV ikony zobrazuje jak v sobe, tak na plose, navic FV neumi zakladni operace pri kliku pravym tlacitkem mysi, atd, atd. Zobrazeni ikon aby nebyly jak na plose, tak ve VF jsem trosku vyresil presunutim do podloszky ~/Plocha/slozka ale pokud pak cokoli pripojim (USB disk, sitove uloziste a tak) tak se mi to logicky pripoji na plochu pod FV a nedostanu se na ne. Diky za radu.

14
Pracovní prostředí / obnoveni dostupnych wifi - KDE
« kdy: 08 Listopad 2010, 22:37:48 »
Da se nejak donutit network manager v KDE aby znovu zaskenoval dostupne wifi site a ja nemusel cekat minutu nez to provede sam???
Dekuji za odpoved.

15
Ahoj, nevite nekdo prosim jak rozbehnout tuhle mechaniku??? V /proc/scsi/scsi ji nevidim, jen DVD mechaniku, v lsmod | grep scsi mam jen toto:
Kód: [Vybrat]
mptscsih               37135  1 mptspi
mptbase                91642  2 mptspi,mptscsih


Takze mozna neni spravne zaveden scsi modul, ale nevim ktery by to presne mel byt. V /dev/ zadne st, nst, type, nebo tabe zarizeni take neni.
Potreboval bych na to zalohovat. Prosim poradte. Strycek google toho taky moc neporadil. Jinak je to cele original usazeno v HP Proliant ML 350 G4

16
Obecná podpora / Klavesova zkratka pro vlozeni textu do terminalu
« kdy: 14 Září 2010, 10:33:47 »
Ahoj, nenapada nekoho jak udelat klavesovou zkratku, ktera by vlozila urcity text do terminalu? Cca 10x za den potrebuji do terminalu hodit znacne dlouhy prikaz, ktery se mi nechce vypisovat rucne a navic nelze dotabovat, protoze to to zarizeni na ktere jsem pripojen neumi... Dekuji za radu.

17
Obecná podpora / chyba pri formatu - usb flash KO
« kdy: 03 Červen 2010, 00:50:10 »
Ahoj, potreboval bych poradit, pri vytvareni live usb flash disku v ubuntu se mi to v cca 27% seklo. Flash disk nini nelze pripojit. V /etc/ se objevi sdb ale neda se snim nic delat. Pokud zadam fdisk /dev/sdb tak se to zasekne a nic to nedela ani po 20 minutach. Vypis /var/log/messages:
Kód: [Vybrat]
usb 1-6: new high speed USB device using ehci_hcd and address 12
Jun  3 00:33:16 saty-laptop kernel: [ 4250.042326] usb 1-6: configuration #1 chosen from 1 choice
Jun  3 00:33:16 saty-laptop kernel: [ 4250.043297] scsi13 : SCSI emulation for USB Mass Storage devices
Jun  3 00:33:21 saty-laptop kernel: [ 4255.045657] scsi 13:0:0:0: Direct-Access     A-DATA   USB Flash Drive  0.00 PQ: 0 ANSI: 2
Jun  3 00:33:21 saty-laptop kernel: [ 4255.050961] sd 13:0:0:0: Attached scsi generic sg1 type 0
Jun  3 00:33:21 saty-laptop kernel: [ 4255.067709] sd 13:0:0:0: [sdb] 31588352 512-byte logical blocks: (16.1 GB/15.0 GiB)
Jun  3 00:33:21 saty-laptop kernel: [ 4255.070132] sd 13:0:0:0: [sdb] Write Protect is off
Jun  3 00:33:52 saty-laptop kernel: [ 4255.073802]  sdb:
Jun  3 00:33:52 saty-laptop kernel: [ 4286.101135] usb 1-6: reset high speed USB device using ehci_hcd and address 12
Jun  3 00:34:23 saty-laptop kernel: [ 4317.100124] usb 1-6: reset high speed USB device using ehci_hcd and address 12
Jun  3 00:34:54 saty-laptop kernel: [ 4348.101113] usb 1-6: reset high speed USB device using ehci_hcd and address 12
Jun  3 00:35:25 saty-laptop kernel: [ 4379.100116] usb 1-6: reset high speed USB device using ehci_hcd and address 12
Jun  3 00:35:56 saty-laptop kernel: [ 4410.101081] usb 1-6: reset high speed USB device using ehci_hcd and address 12
Jun  3 00:36:27 saty-laptop kernel: [ 4441.100101] usb 1-6: reset high speed USB device using ehci_hcd and address 12
Jun  3 00:36:27 saty-laptop kernel: [ 4441.234193] sd 13:0:0:0: [sdb] Unhandled error code
Jun  3 00:36:27 saty-laptop kernel: [ 4441.234205] sd 13:0:0:0: [sdb] Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK
Jun  3 00:36:27 saty-laptop kernel: [ 4441.234219] sd 13:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 08 00
Jun  3 00:36:58 saty-laptop kernel: [ 4472.100869] usb 1-6: reset high speed USB device using ehci_hcd and address 12
Jun  3 00:37:29 saty-laptop kernel: [ 4503.100132] usb 1-6: reset high speed USB device using ehci_hcd and address 12
Jun  3 00:38:00 saty-laptop kernel: [ 4534.101112] usb 1-6: reset high speed USB device using ehci_hcd and address 12
Jun  3 00:38:31 saty-laptop kernel: [ 4565.101107] usb 1-6: reset high speed USB device using ehci_hcd and address 12
Jun  3 00:39:02 saty-laptop kernel: [ 4596.100120] usb 1-6: reset high speed USB device using ehci_hcd and address 12
Jun  3 00:39:33 saty-laptop kernel: [ 4627.101092] usb 1-6: reset high speed USB device using ehci_hcd and address 12
Jun  3 00:39:33 saty-laptop kernel: [ 4627.234123] sd 13:0:0:0: [sdb] Unhandled error code
Jun  3 00:39:33 saty-laptop kernel: [ 4627.234133] sd 13:0:0:0: [sdb] Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK
Jun  3 00:39:33 saty-laptop kernel: [ 4627.234143] sd 13:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 08 00
a porad do kola... Po vytazeni z usb:
Kód: [Vybrat]
usb 1-6: USB disconnect, address 12
Jun  3 00:49:01 saty-laptop kernel: [ 5194.857800] sd 13:0:0:0: [sdb] Unhandled error code
Jun  3 00:49:01 saty-laptop kernel: [ 5194.857807] sd 13:0:0:0: [sdb] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
Jun  3 00:49:01 saty-laptop kernel: [ 5194.857816] sd 13:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 08 00
Jun  3 00:49:01 saty-laptop kernel: [ 5194.859332] Dev sdb: unable to read RDB block 0
Jun  3 00:49:01 saty-laptop kernel: [ 5194.859756]  unable to read partition table
Jun  3 00:49:01 saty-laptop kernel: [ 5194.865357] sd 13:0:0:0: [sdb] READ CAPACITY failed
Jun  3 00:49:01 saty-laptop kernel: [ 5194.865368] sd 13:0:0:0: [sdb] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
Jun  3 00:49:01 saty-laptop kernel: [ 5194.865379] sd 13:0:0:0: [sdb] Sense not available.
Jun  3 00:49:01 saty-laptop kernel: [ 5194.865590] sd 13:0:0:0: [sdb] Attached SCSI removable disk

Nevite nekdo prosim jak by se dala zformatovat? Nechce se mi ji hazet do kose, mam ji sotva tyden.

18
Ubuntu Server / Sitovy scan na sambu
« kdy: 27 Duben 2010, 16:45:14 »
Ahoj, muzete mi prosim nekdo poradit? Mam samba server s prihlasovani pomoci AD (to je OK a slape), velkou kopirku, ktera umi scanovat na sitouve uloziste pomoci smb protokolu. Scaner je zaregistrovan do domeny, ma nastavene loginy a cestu kam zapisovat, ale stejne to neulozi a hlasi chybu ktera je uvedena v manualu takto: An error other than those listed above occurred with the FTP server. takze toho se taky chytit neda... V logu jsem dohledal, ze se scaner normalne k sambe prihlasi, ale nevim co dal se mu nelibi. Prosim mrknete nekdo na ten log, jestli z toho budete moudrejsi...
Kód: [Vybrat]
[2010/04/27 16:26:14,  5] smbd/reply.c:498(reply_special)
  init msg_type=0x81 msg_flags=0x0
[2010/04/27 16:26:14,  3] smbd/process.c:1453(process_smb)
  Transaction 0 of length 62 (0 toread)
[2010/04/27 16:26:14,  5] lib/util.c:632(show_msg)
[2010/04/27 16:26:14,  5] lib/util.c:642(show_msg)
  size=58
  smb_com=0x72
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=1
  smb_tid=65535
  smb_pid=0
  smb_uid=0
  smb_mid=0
  smt_wct=0
  smb_bcc=23
[2010/04/27 16:26:14,  3] smbd/process.c:1272(switch_message)
  switch message SMBnegprot (pid 4908) conn 0x0
[2010/04/27 16:26:14,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/27 16:26:14,  5] auth/token_util.c:522(debug_nt_user_token)
  NT user token: (NULL)
[2010/04/27 16:26:14,  5] auth/token_util.c:548(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2010/04/27 16:26:14,  5] smbd/uid.c:368(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2010/04/27 16:26:14,  3] smbd/negprot.c:567(reply_negprot)
  Requested protocol [LANMAN1.0]
[2010/04/27 16:26:14,  3] smbd/negprot.c:567(reply_negprot)
  Requested protocol [NT LM 0.12]
[2010/04/27 16:26:14,  5] smbd/connection.c:142(claim_connection)
  claiming []
[2010/04/27 16:26:14,  5] auth/auth.c:516(make_auth_context_subsystem)
  Making default auth method list for security=ADS
[2010/04/27 16:26:14,  5] auth/auth.c:46(smb_register_auth)
  Attempting to register auth backend sam
[2010/04/27 16:26:14,  5] auth/auth.c:58(smb_register_auth)
  Successfully added auth method 'sam'
[2010/04/27 16:26:14,  5] auth/auth.c:46(smb_register_auth)
  Attempting to register auth backend sam_ignoredomain
[2010/04/27 16:26:14,  5] auth/auth.c:58(smb_register_auth)
  Successfully added auth method 'sam_ignoredomain'
[2010/04/27 16:26:14,  5] auth/auth.c:46(smb_register_auth)
  Attempting to register auth backend unix
[2010/04/27 16:26:14,  5] auth/auth.c:58(smb_register_auth)
  Successfully added auth method 'unix'
[2010/04/27 16:26:14,  5] auth/auth.c:46(smb_register_auth)
  Attempting to register auth backend winbind
[2010/04/27 16:26:14,  5] auth/auth.c:58(smb_register_auth)
  Successfully added auth method 'winbind'
[2010/04/27 16:26:14,  5] auth/auth.c:46(smb_register_auth)
  Attempting to register auth backend wbc
[2010/04/27 16:26:14,  5] auth/auth.c:58(smb_register_auth)
  Successfully added auth method 'wbc'
[2010/04/27 16:26:14,  5] auth/auth.c:46(smb_register_auth)
  Attempting to register auth backend smbserver
[2010/04/27 16:26:14,  5] auth/auth.c:58(smb_register_auth)
  Successfully added auth method 'smbserver'
[2010/04/27 16:26:14,  5] auth/auth.c:46(smb_register_auth)
  Attempting to register auth backend trustdomain
[2010/04/27 16:26:14,  5] auth/auth.c:58(smb_register_auth)
  Successfully added auth method 'trustdomain'
[2010/04/27 16:26:14,  5] auth/auth.c:46(smb_register_auth)
  Attempting to register auth backend ntdomain
[2010/04/27 16:26:14,  5] auth/auth.c:58(smb_register_auth)
  Successfully added auth method 'ntdomain'
[2010/04/27 16:26:14,  5] auth/auth.c:46(smb_register_auth)
  Attempting to register auth backend guest
[2010/04/27 16:26:14,  5] auth/auth.c:58(smb_register_auth)
  Successfully added auth method 'guest'
[2010/04/27 16:26:14,  5] auth/auth.c:46(smb_register_auth)
  Attempting to register auth backend netlogond
[2010/04/27 16:26:14,  5] auth/auth.c:58(smb_register_auth)
  Successfully added auth method 'netlogond'
[2010/04/27 16:26:14,  5] auth/auth.c:389(load_auth_module)
  load_auth_module: Attempting to find an auth method to match guest
[2010/04/27 16:26:14,  5] auth/auth.c:414(load_auth_module)
  load_auth_module: auth method guest has a valid init
[2010/04/27 16:26:14,  5] auth/auth.c:389(load_auth_module)
  load_auth_module: Attempting to find an auth method to match sam
[2010/04/27 16:26:14,  5] auth/auth.c:414(load_auth_module)
  load_auth_module: auth method sam has a valid init
[2010/04/27 16:26:14,  5] auth/auth.c:389(load_auth_module)
  load_auth_module: Attempting to find an auth method to match winbind:ntdomain
[2010/04/27 16:26:14,  5] auth/auth.c:389(load_auth_module)
  load_auth_module: Attempting to find an auth method to match ntdomain
[2010/04/27 16:26:14,  5] auth/auth.c:414(load_auth_module)
  load_auth_module: auth method ntdomain has a valid init
[2010/04/27 16:26:14,  5] auth/auth.c:414(load_auth_module)
  load_auth_module: auth method winbind has a valid init
[2010/04/27 16:26:14,  5] auth/auth.c:98(get_ntlm_challenge)
  auth_get_challenge: module guest did not want to specify a challenge
[2010/04/27 16:26:14,  5] auth/auth.c:98(get_ntlm_challenge)
  auth_get_challenge: module sam did not want to specify a challenge
[2010/04/27 16:26:14,  5] auth/auth.c:98(get_ntlm_challenge)
  auth_get_challenge: module winbind did not want to specify a challenge
[2010/04/27 16:26:14,  5] auth/auth.c:138(get_ntlm_challenge)
  auth_context challenge created by random
[2010/04/27 16:26:14,  5] auth/auth.c:139(get_ntlm_challenge)
  challenge is:
[2010/04/27 16:26:14,  5] ../lib/util/util.c:304(_dump_data)
  [0000] B2 3C 34 0A 9D A8 48 52                            .<4...HR
[2010/04/27 16:26:14,  3] smbd/negprot.c:368(reply_nt1)
  not using SPNEGO
[2010/04/27 16:26:14,  3] smbd/negprot.c:672(reply_negprot)
  Selected protocol NT LM 0.12
[2010/04/27 16:26:14,  5] smbd/negprot.c:679(reply_negprot)
  negprot index=1
[2010/04/27 16:26:14,  5] lib/util.c:632(show_msg)
[2010/04/27 16:26:14,  5] lib/util.c:642(show_msg)
  size=89
  smb_com=0x72
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=16385
  smb_tid=65535
  smb_pid=0
  smb_uid=0
  smb_mid=0
  smt_wct=17
  smb_vwv[ 0]=    1 (0x1)
  smb_vwv[ 1]=12803 (0x3203)
  smb_vwv[ 2]=  256 (0x100)
  smb_vwv[ 3]= 1024 (0x400)
  smb_vwv[ 4]=   65 (0x41)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=  256 (0x100)
  smb_vwv[ 7]=11264 (0x2C00)
  smb_vwv[ 8]=   19 (0x13)
  smb_vwv[ 9]=64768 (0xFD00)
  smb_vwv[10]=33011 (0x80F3)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=17415 (0x4407)
  smb_vwv[13]= 5527 (0x1597)
  smb_vwv[14]=51942 (0xCAE6)
  smb_vwv[15]=34817 (0x8801)
  smb_vwv[16]= 2303 (0x8FF)
  smb_bcc=8
[2010/04/27 16:26:14,  3] smbd/process.c:1453(process_smb)
  Transaction 1 of length 258 (0 toread)
[2010/04/27 16:26:14,  5] lib/util.c:632(show_msg)
[2010/04/27 16:26:14,  5] lib/util.c:642(show_msg)
  size=254
  smb_com=0x73
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=32769
  smb_tid=65535
  smb_pid=0
  smb_uid=0
  smb_mid=0
  smt_wct=13
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]= 4096 (0x1000)
  smb_vwv[ 3]=   10 (0xA)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=   24 (0x18)
  smb_vwv[ 8]=   24 (0x18)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    4 (0x4)
  smb_vwv[12]=    0 (0x0)
  smb_bcc=193
[2010/04/27 16:26:14,  3] smbd/process.c:1272(switch_message)
  switch message SMBsesssetupX (pid 4908) conn 0x0
[2010/04/27 16:26:14,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/27 16:26:14,  5] auth/token_util.c:522(debug_nt_user_token)
  NT user token: (NULL)
[2010/04/27 16:26:14,  5] auth/token_util.c:548(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2010/04/27 16:26:14,  5] smbd/uid.c:368(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2010/04/27 16:26:14,  3] smbd/sesssetup.c:1404(reply_sesssetup_and_X)
  wct=13 flg2=0x8001
[2010/04/27 16:26:14,  3] smbd/sesssetup.c:1607(reply_sesssetup_and_X)
  Domain=[ZDICE.CTJ]  NativeOS=[KONICA MINOLTA OS 1.0] NativeLanMan=[KONICA MINOLTA LANMAN 1.0] PrimaryDomain=[]
[2010/04/27 16:26:14,  2] smbd/sesssetup.c:1360(setup_new_vc_session)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2010/04/27 16:26:14,  3] smbd/sesssetup.c:1623(reply_sesssetup_and_X)
  sesssetupX:name=[ZDICE.CTJ]\[administrator]@[gend09528]
[2010/04/27 16:26:14,  5] auth/auth_util.c:208(make_user_info_map)
  Mapping user [ZDICE.CTJ]\[administrator] from workstation [gend09528]
[2010/04/27 16:26:14,  5] auth/auth_util.c:120(make_user_info)
  attempting to make a user_info for administrator (administrator)
[2010/04/27 16:26:14,  5] auth/auth_util.c:130(make_user_info)
  making strings for administrator's user_info struct
[2010/04/27 16:26:14,  5] auth/auth_util.c:162(make_user_info)
  making blobs for administrator's user_info struct
[2010/04/27 16:26:14,  3] auth/auth.c:222(check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user [ZDICE.CTJ]\[administrator]@[gend09528] with the new password interface
[2010/04/27 16:26:14,  3] auth/auth.c:225(check_ntlm_password)
  check_ntlm_password:  mapped user is: [ZDICE.CTJ]\[administrator]@[gend09528]
[2010/04/27 16:26:14,  5] ../lib/util/util.c:304(_dump_data)
  [0000] B2 3C 34 0A 9D A8 48 52                            .<4...HR
[2010/04/27 16:26:14,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2010/04/27 16:26:14,  3] smbd/uid.c:428(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2010/04/27 16:26:14,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/04/27 16:26:14,  5] auth/token_util.c:522(debug_nt_user_token)
  NT user token: (NULL)
[2010/04/27 16:26:14,  5] auth/token_util.c:548(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2010/04/27 16:26:14,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/27 16:26:14,  5] lib/username.c:133(Get_Pwnam_alloc)
  Finding user ZDICE+administrator
[2010/04/27 16:26:14,  5] lib/username.c:77(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is zdice+administrator
[2010/04/27 16:26:14,  5] lib/username.c:110(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [ZDICE+administrator]!
[2010/04/27 16:26:14,  5] auth/auth_util.c:1517(fill_sam_account)
  fill_sam_account: located username was [ZDICE+administrator]
[2010/04/27 16:26:14,  4] lib/substitute.c:504(automount_server)
  Home server: updateserver
[2010/04/27 16:26:14,  4] lib/substitute.c:504(automount_server)
  Home server: updateserver
[2010/04/27 16:26:14,  3] auth/auth.c:271(check_ntlm_password)
  check_ntlm_password: winbind authentication for user [administrator] succeeded
[2010/04/27 16:26:14,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2010/04/27 16:26:14,  3] smbd/uid.c:428(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2010/04/27 16:26:14,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/04/27 16:26:14,  5] auth/token_util.c:522(debug_nt_user_token)
  NT user token: (NULL)
[2010/04/27 16:26:14,  5] auth/token_util.c:548(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2010/04/27 16:26:14,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/27 16:26:14,  5] auth/auth.c:297(check_ntlm_password)
  check_ntlm_password:  PAM Account for user [ZDICE+administrator] succeeded
[2010/04/27 16:26:14,  2] auth/auth.c:310(check_ntlm_password)
  check_ntlm_password:  authentication for user [administrator] -> [administrator] -> [ZDICE+administrator] succeeded
[2010/04/27 16:26:14,  5] auth/auth_util.c:2114(free_user_info)
  attempting to free (and zero) a user_info structure
[2010/04/27 16:26:14,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2010/04/27 16:26:14,  3] smbd/uid.c:428(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2010/04/27 16:26:14,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/04/27 16:26:14,  5] auth/token_util.c:522(debug_nt_user_token)
  NT user token: (NULL)
[2010/04/27 16:26:14,  5] auth/token_util.c:548(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2010/04/27 16:26:14,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/27 16:26:14,  3] lib/privileges.c:63(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-21-1051028601-1850085963-4068799721-500]
[2010/04/27 16:26:14,  3] lib/privileges.c:63(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-21-1051028601-1850085963-4068799721-512]
[2010/04/27 16:26:14,  5] lib/privileges.c:128(get_privileges_for_sids)
  get_privileges_for_sids: sid = S-1-1-0
  Privilege set:
  SE_PRIV  0x0 0x0 0x0 0x0
[2010/04/27 16:26:14,  3] lib/privileges.c:63(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-2]
[2010/04/27 16:26:14,  3] lib/privileges.c:63(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-11]
[2010/04/27 16:26:14,  3] lib/privileges.c:63(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-21-1051028601-1850085963-4068799721-513]
[2010/04/27 16:26:14,  3] lib/privileges.c:63(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-21-1051028601-1850085963-4068799721-520]
[2010/04/27 16:26:14,  3] lib/privileges.c:63(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-21-1051028601-1850085963-4068799721-518]
[2010/04/27 16:26:14,  3] lib/privileges.c:63(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-21-1051028601-1850085963-4068799721-519]
[2010/04/27 16:26:14,  3] lib/privileges.c:63(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-21-1051028601-1850085963-4068799721-2604]
[2010/04/27 16:26:14,  3] smbd/password.c:269(register_existing_vuid)
  register_existing_vuid: User name: ZDICE+administrator Real name:
[2010/04/27 16:26:14,  3] smbd/password.c:279(register_existing_vuid)
  register_existing_vuid: UNIX uid 10005 is UNIX user ZDICE+administrator, and will be vuid 100
[2010/04/27 16:26:14,  3] smbd/password.c:211(register_homes_share)
  Adding homes service for user 'ZDICE+administrator' using home directory: '/home/ZDICE/administrator'
[2010/04/27 16:26:14,  5] lib/util_sock.c:526(read_socket_with_timeout)
  read_socket_with_timeout: blocking read. EOF from client.
[2010/04/27 16:26:14,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/27 16:26:14,  5] auth/token_util.c:522(debug_nt_user_token)
  NT user token: (NULL)
[2010/04/27 16:26:14,  5] auth/token_util.c:548(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2010/04/27 16:26:14,  5] smbd/uid.c:368(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2010/04/27 16:26:14,  3] smbd/connection.c:31(yield_connection)
  Yielding connection to
[2010/04/27 16:26:14,  3] smbd/server.c:848(exit_server_common)
  Server exit (failed to receive smb request)

Proc failed to receive smb request????

19
Ahoj, potrebuji z terminalu posilat maily pomoci prikazu mail, ale nevim kde nastavit jaky ma pouzivat smtp server. Mam na jinem stroji vlastni smtp server, ktery z intranetu nepotrebuje prihlaseni. Nemuzu to ale nikde vygooglit. Prosim o pomoc.

20
Ubuntu Server / SAMBA - jina prava ve sdilenem podadresari
« kdy: 08 Duben 2010, 00:00:48 »
Tak a mam dalsi dotaz  ;D V praci lehnul server s win2003server, tak jsem ho konecne nahradil ubuntama a sambou, jenze.... Samba je nastavene, ze cuca uzivatele z AD (funguje super), je nasdileno nekolik adresaru s ruznymi pravy (to taky OK) a jedna slozka (DATA) je sdilena, ze ma kdokoli do ni pristup jak pro cteni, tak zapis. Ted ten problem. V teto slozce DATA je podadresar (SCAN) kam potrebuji, aby meli pristup pouze dva uzivatele (napr. user1@domena.local, user2@domena.local). Zkousle sem to resit tim, ze jsem v linuxu zalozil skupinu (napr. scan) a do ni zadal tyto dva uzivatele a nastavil prava primo v linuxu na 770, vlastnika jsem dal administratora a skupinu tu scan. To ale neslapalo a nepustilo to tam ani ty dva uzivatele ze skupiny. Nevim, jestli jsem ty uzivatele nezapsal do skupiny ve spatnem formatu (user1@domena.local, user1, DOMENA\user1). Jeste takova otazka naokraj, nejak mi neslape parametr admin users = administrator , kdyz jsem zalogovan pod widlema jako domenovy administrator tak me to stejne do soukromych slozek nepusti.... mozna se to take tyka toho spatneho zapisu uzivatele z domeny

21
Ubuntu Server / neustale vypisy v terminalu [vyřešeno]
« kdy: 11 Březen 2010, 21:48:21 »
Ahoj, da se nejak zbavit neustalych vypisuch v terminalu? Na obrazovku se mi neustale vypisuje patrne kern.log a to kdyz nejsem prihlasen, tak ikdyz jsem..... Je docela otravne kdyz pracuji a kazdou vterinu mi tam skoci radek stim co to zablokovalo v sitove komunikaci...
Diky za info

22
Hardware / HP mini 5101 VQ585ES - bluetooth a 5G wifi
« kdy: 30 Listopad 2009, 14:24:02 »
Ahoj, poridil sem si tenhle kousek zeleza a jsme celkem spokojen. Ovsem problem se precijen vyskytl, nejde zprovoznit BT a wifi patrne jede jen na 2,4GHz.... Nemate nekdo taky tento kousek a tyto veci zprovoznene, nebo nevite nekdo jak na to???? Dekuji
To BT to asi vubec nevidi, nebo ho nevidim ja:

Kód: [Vybrat]
root@saty-netbook:~# lsusb
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 04f2:b159 Chicony Electronics Co., Ltd
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 09da:000a A4 Tech Co., Ltd Port Mouse
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Kód: [Vybrat]
root@saty-netbook:~# lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 01)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA AHCI Controller (rev 01)
08:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01)
20:00.0 Ethernet controller: Marvell Technology Group Ltd. Device 436c (rev 10)

Kód: [Vybrat]
root@saty-netbook:~# dmesg |grep Bluetooth
[    0.392023] Bluetooth: Core ver 2.15
[    0.392068] Bluetooth: HCI device and connection manager initialized
[    0.392068] Bluetooth: HCI socket layer initialized
[    1.362526] Bluetooth: L2CAP ver 2.13
[    1.362530] Bluetooth: L2CAP socket layer initialized
[    1.362536] Bluetooth: SCO (Voice Link) ver 0.6
[    1.362540] Bluetooth: SCO socket layer initialized
[    1.362642] Bluetooth: RFCOMM TTY layer initialized
[    1.362649] Bluetooth: RFCOMM socket layer initialized
[    1.362654] Bluetooth: RFCOMM ver 1.11

23
Pracovní prostředí / netbook-launcher nastaveni
« kdy: 30 Listopad 2009, 11:08:42 »
Ahoj, nevite nekdo jak se da nastavit netbook-launcher. Je to celke super rozhrani, ale potreboval bych si ho malinko prizpusobit, napriklad pridat nejake polozky do Files & Folders.... Popripade nezkousel nekdo udelat jeste vedle netbook-launcheru slozku plochy, jako je treba v KDE, ze je videt obsah v okne vedle dalsich serepeticek???

24
Obecná podpora / Terminal - parametr spusteni s jinym kodovanim znaku
« kdy: 18 Listopad 2009, 10:49:47 »
Ahoj, muze mi prosim nekdo poradit s nasledujicim problemem. Obcas se potrebuji pripojit na intranetovy server pres ssh, coz neni zadny problem, ale aby se mi vsechno spravne zobrazovalo, musim pokazde prepnout kodovani znaku na ISO-8859-2. Takze bych chtel do zastupce pro pripojeni k tomuto serveru zapsat jeste nejaky parametr, aby mi kodovani rovnou nastavil. Pokousel sem se to vyresit pres profily, protoze parametr pro nacteni jineho profilu po spusteni sem nasel, ale kodovani se v profilech nastavit neda.... Zaroven ale chci zachovat vychozi kodovani na UTF-8, proto to nenastavim globalne v kofiguraku... V man, ani help nic takoveho neni, jen zmena profilu. Napada Vas nekoho neco? Diky

25
Internet a sítě / Firehol blokuje rajce.net [vyřešeno]
« kdy: 23 Září 2009, 21:55:02 »
Ahoj, nesetkal jste se nekdo stim, ze kdyz mate router pomoci fireholu, tak vam nejdou zobrazit alba na rajce.net??? Stranky se sice nactou, ale misto fotek a nahledu alb je jen prazdny ramecek. Jedine fotky co se mi zobrazi jsou hned na uvodni strance. Patrne to chce komunikovat pres jine porty, ale nevim jak firehol premluvit, aby to spravne routoval.
V logu je videt jen toto:
Kód: [Vybrat]
Sep 23 21:42:17 server kernel: [3297978.075724] 'OUT-unknown:'IN= OUT=eth1 SRC=192.168.10.206 DST=10.0.0.255 LEN=223 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=631 DPT=631 LEN=203
Sep 23 21:42:19 server kernel: [3297980.479904] 'PASS-unknown:'IN=eth1 OUT=ppp0 SRC=192.168.10.100 DST=91.203.99.45 LEN=40 TOS=0x00 PREC=0x00 TTL=63 ID=9425 DF PROTO=TCP SPT=48056 DPT=80 WINDOW=7504 RES=0x00 ACK FIN URGP=0
Sep 23 21:42:48 server kernel: [3298009.100139] 'OUT-unknown:'IN= OUT=eth1 SRC=192.168.10.206 DST=10.0.0.255 LEN=223 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=631 DPT=631 LEN=203
Sep 23 21:43:03 server kernel: [3298024.516272] 'PASS-unknown:'IN=eth1 OUT=ppp0 SRC=192.168.10.100 DST=91.203.99.45 LEN=40 TOS=0x00 PREC=0x00 TTL=63 ID=9426 DF PROTO=TCP SPT=48056 DPT=80 WINDOW=7504 RES=0x00 ACK FIN URGP=0
Sep 23 21:43:19 server kernel: [3298040.304503] 'OUT-unknown:'IN= OUT=eth1 SRC=192.168.10.206 DST=10.0.0.255 LEN=223 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=631 DPT=631 LEN=203
Sep 23 21:43:50 server kernel: [3298071.328253] 'OUT-unknown:'IN= OUT=eth1 SRC=192.168.10.206 DST=10.0.0.255 LEN=223 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=631 DPT=631 LEN=203
Sep 23 21:44:14 server kernel: [3298095.257600] 'PASS-unknown:'IN=eth1 OUT=ppp0 SRC=192.168.10.100 DST=91.203.99.45 LEN=40 TOS=0x00 PREC=0x00 TTL=63 ID=42572 DF PROTO=TCP SPT=48100 DPT=80 WINDOW=6743 RES=0x00 ACK FIN URGP=0
Sep 23 21:44:21 server kernel: [3298102.570697] 'OUT-unknown:'IN= OUT=eth1 SRC=192.168.10.206 DST=10.0.0.255 LEN=223 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=631 DPT=631 LEN=203
Sep 23 21:44:46 server kernel: [3298127.120760] ''IN-modem':'IN=ppp0 OUT= MAC= SRC=80.102.51.76 DST=80.xxx.xxx.xxx LEN=64 TOS=0x00 PREC=0x00 TTL=34 ID=34241 DF PROTO=TCP SPT=3475 DPT=1433 WINDOW=53760 RES=0x00 SYN URGP=65471
Sep 23 21:44:52 server kernel: [3298133.600119] 'OUT-unknown:'IN= OUT=eth1 SRC=192.168.10.206 DST=10.0.0.255 LEN=223 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=631 DPT=631 LEN=203
Sep 23 21:45:23 server kernel: [3298164.427109] 'OUT-unknown:'IN= OUT=eth1 SRC=192.168.10.206 DST=10.0.0.255 LEN=223 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=631 DPT=631 LEN=203
Sep 23 21:45:54 server kernel: [3298195.452059] 'OUT-unknown:'IN= OUT=eth1 SRC=192.168.10.206 DST=10.0.0.255 LEN=223 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=631 DPT=631 LEN=203
Sep 23 21:46:25 server kernel: [3298226.680355] 'OUT-unknown:'IN= OUT=eth1 SRC=192.168.10.206 DST=10.0.0.255 LEN=223 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=631 DPT=631 LEN=203
192.168.10.100 je adresa klienta z ktereho se pokousim rajce.net otevrit a 192.168.10.206 adresa serveru-routru. Takze v logu take neni videt pro by blokoval.

Nastaveni fireholu:
Kód: [Vybrat]
version 5

FIREHOL_LOG_LEVEL="7"

DEFAULT_CLIENT_PORTS="1024:65535"

public_ip="80.xxx.xxx.xxx"

server_icq_ports="tcp/5190"
client_icq_ports="default"

home_ips="192.168.10.206/24"

interface eth1 internal src "${home_ips}"
        policy                  reject
        server all              accept
        client all              accept

interface eth0 external src not "${home_ips} ${UNROUTABLE_IPS}"
        protection strong 10/sec 10
        policy                  drop
        server ident            reject with tcp-reset
        client all              accept

interface ppp0 modem src not "${home_ips} ${UNROUTABLE_IPS}"
        protection strong 10/sec 10
        policy                  drop
        server icmp             accept
        server ping             accept
        server ident            reject with tcp-reset
        server http             accept
        server imap             accept
        server smtp             accept
        server ssh              accept
        server dcc              accept
        server ftp              accept
        client all              accept

router modem2internal inface ppp0 outface eth1
        masquerade reverse
        client all      accept
        server ident    reject with tcp-reset

Jeste tak koukam a naprosto nechapu, proc to blokuje komunikaci zevnitr na tu 91.203.99.45, kdyz je tam client all accept.

Stranky firehol.org toho bohuzel o ladeni moc nereknou.

Diky za info

Stran: [1] 2