XLS/CSV filter script

2013-03-28 bef zés Makó Gábor

Üdv!

Egy XLS-ből (ami CSV is lehet) szeretnék két mezőt kiszűrni egy adott 
lista (pl. TXT) alapján.
Tehát az XLS/CSV-ben sok mező van, de nekem csak pl. ID,ERTEK mezők 
kellenek. Illetve csak azok a sorok, amelyekben az ID értéke egy adott 
TXT listában van.

Van erre valami script?



Gábor

_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: Nagios nsca

2013-01-23 bef zés Makó Gábor

Megvan a hiba.
A debug szintet -1-re állítottam és a logban látszódott, hogy csak a 
send_nsca.cfg konfig fájl jogosultsága rossz volt (rw---).
Beállítottam és szuperul megy. :)



G.

_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Nagios nsca

2013-01-18 bef zés Makó Gábor

Hi!

A nagios-ban szeretném kipróbálni az nsca-t.
Az nrpe-t kipróbáltam, szépen működött.

Az nsca-val a távoli gépen szkriptekkel lehet check-elni? Vagy a távoli 
szerveren is lehet nagios?
Pontosan hogyan is működik ez az nsca?


G.


_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: Fedora 14 (x86_64) ieee1394...

2010-12-21 bef zés Makó Gábor

Feltettem a dvgrab csomagot és működik. :O


Gábor


_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Fedora 14 Firefox 3.6.x video nem jelenik meg...

2010-12-13 bef zés Makó Gábor

Hi!

FC14 (x86_64) Firefox 3.6.13, az ustream recorded videók nem jelennek 
meg (video helyén nagy fehérség). A live videók mennek szépen! Ez mitől van?

Gábor


_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


3D avi to avi

2010-12-07 bef zés Makó Gábor

Hi!

Egy 3D avi-t mivel lehet átkonvertálni avi formára (mpg4, divx, xvid)?
Tehát az avi 3D szemüveggel nézhető és ezt szeretném átkonvertálni.


Gábor


_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: WebCamStudio Fedora 14 (x86_64)...

2010-12-02 bef zés Makó Gábor
Talán ez a patch segít:
http://webcamstudio.3802688.n2.nabble.com/openSUSE-11-3-and-2-6-34-kernel-patch-td5450018.html


_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: WebCamStudio Fedora 14 (x86_64)...

2010-12-02 bef zés Makó Gábor

http://www.google.com/url?sa=Dq=http://webcamstudio.3802688.n2.nabble.com/openSUSE-11-3-and-2-6-34-kernel-patch-td5450018.htmlusg=AFQjCNH5bhoMHrf-2e7QGfqCMb3Uqu77VA

Lefordult és működik szépen.

Gábor


_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


WebCamStudio Fedora 14 (x86_64)...

2010-12-01 bef zés Makó Gábor

Hi!

Egy webcamstudio modult kellene fordítanom a WebcamStudio-hoz (Fedora 14 
x86_64):
make -C /lib/modules/2.6.35.6-48.fc14.x86_64/source 
SUBDIRS=/usr/share/webcamstudio/webcamstudio-src modules
make[1]: Entering directory `/usr/src/kernels/2.6.35.6-48.fc14.x86_64'
   CC [M]  /usr/share/webcamstudio/webcamstudio-src/webcamstudio.o
/usr/share/webcamstudio/webcamstudio-src/webcamstudio.c: In function 
‘create_pipe’:
/usr/share/webcamstudio/webcamstudio-src/webcamstudio.c:1237:5: error: 
implicit declaration of function ‘kmalloc’
/usr/share/webcamstudio/webcamstudio-src/webcamstudio.c:1237:14: 
warning: assignment makes pointer from integer without a cast
/usr/share/webcamstudio/webcamstudio-src/webcamstudio.c:1250:51: 
warning: passing argument 2 of ‘video_set_drvdata’ makes pointer from 
integer without a cast
include/media/v4l2-dev.h:133:20: note: expected ‘void *’ but argument is 
of type ‘int’
/usr/share/webcamstudio/webcamstudio-src/webcamstudio.c:1257:9: error: 
implicit declaration of function ‘kfree’
/usr/share/webcamstudio/webcamstudio-src/webcamstudio.c:1276:52: 
warning: passing argument 2 of ‘video_set_drvdata’ makes pointer from 
integer without a cast
include/media/v4l2-dev.h:133:20: note: expected ‘void *’ but argument is 
of type ‘int’
/usr/share/webcamstudio/webcamstudio-src/webcamstudio.c:1380:26: 
warning: assignment makes pointer from integer without a cast
/usr/share/webcamstudio/webcamstudio-src/webcamstudio.c:1381:29: 
warning: assignment makes pointer from integer without a cast
make[2]: *** [/usr/share/webcamstudio/webcamstudio-src/webcamstudio.o] 
Error 1
make[1]: *** [_module_/usr/share/webcamstudio/webcamstudio-src] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.35.6-48.fc14.x86_64'
make: *** [all] Error 2



Mi a hiba pontosan?



Gábor
_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux

Re: WebCamStudio Fedora 14 (x86_64)...

2010-12-01 bef zés Makó Gábor

Kiss Gábor:
  Hogy nem include-olta azt a header file-t, amiben a kmalloc(), kfree()
  prototípusa vagy definíciója van.
  Pl. linux/slab.h - linux/sl[aou]b_def.h
 


Pedig a header-ek fent vannak: 2.6.35.6-48.fc14.x86_64, devel és headers 
csomagok (linkek is megvannak).
A Makefile állományban ez van:

# 
ifneq ($(KERNELRELEASE),)

obj-m   := webcamstudio.o

else

KVER  := $(shell uname -r)
KLINK := $(shell test -e /lib/modules/${KVER}/source/  echo source || 
echo build)
KSRC  := /lib/modules/$(KVER)/$(KLINK)
PWD   := $(shell pwd)
DEST  := /lib/modules/$(KVER)/kernel/drivers/misc

# Fix some problem with suse  9.2 and suse = 9.2
is_suse := $(shell test -e /etc/SuSE-release  echo 1 || echo 0)
ifeq ($(is_suse),1)
   suse_version := $(shell grep VERSION /etc/SuSE-release | cut -f 3 -d 
 | tr -d .)
   is_suse_92_or_greater := $(shell test $(suse_version) -ge 92  echo 1)
   ifeq ($(is_suse_92_or_greater),1)
KSRC := /lib/modules/$(KVER)/build
   endif
endif



all default:
$(MAKE) -C $(KSRC) SUBDIRS=$(PWD) modules

install:
install -d $(DEST)
install -m 644 -c webcamstudio.ko $(DEST)
-/sbin/depmod -a


uninstall:
rm -f $(DEST)/webcamstudio.ko
-/sbin/depmod -a
clean:
rm -f .*.cmd *.o *.mod.c *.ko .v* *~ core
rm -rf .tmp_versions/
rm -f Module*
endif
# 


Mit kellene ezen módosítanom, hogy megtalálja a kérdéses header-t?


Egyébként CentOS 5.5 alatt lefordult simán. :)



Gábor


_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: DVD írás - iró hiba?

2010-11-08 bef zés Makó Gábor

Kiss Gábor irta:
  Egyszer nagyon leégtem egy hasonlóval.
  Kicseréltettem a vadi új írót a boltban, és a másik
  is ugyanazt játszotta.
  A megoldás a packet writing (udftools csomag) kikapcsolása
  volt.
 


..és ez a packet writing csak úgy beállítódott volna?

Megnézem...
Van valami parancs az udftools csomagban amivel ki lehet 
kapcsolni ezt?

Gábor



_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


DVD írás - iró hiba?

2010-11-06 bef zés Makó Gábor

Hi!

Egyik íróprogram se ír CD/DVD-t egy gépen (FC14). Írási hiba az írás 
elején (néha nem fér az eszközhöz üzenettel).
Ha beteszek bármilyen CD/DVD-t, akkor egy darabig villog (ahogy kell) az 
író LED-je, aztán az író LED-je nem marad égve.
Döglött az író? :(


Gábor


_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Játék Gnome ikonok...

2010-10-09 bef zés Makó Gábor

Hi!

Fc13 alatt ha a futtatok egy játékot (akár repo-ból, akár nem repo-ból), 
a játékból kilépés után a GNOME panelen levő ikonokat megkeveri. Ez 
gondolom bug.
Persze hiába vannak az ikonok zárolva a panelhez.

Lehet ezzel kezdeni valamit?


G.


_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


GIMP 2 kép egyesítése...

2010-08-28 bef zés Makó Gábor

Hi!

Bocs, hogy inkább GIMP kérdés, de Linux alatt csinálnám. :)

Szóval adott egy JPG kép és egy animált GIF. Ezeket szeretném összehozni 
egy képpé. Az animált GIF egy háttér nélküli repülő madár sziluettje, 
csak rá szeretném tenni a JPG-re és kész. Azaz a JPG elött repkedjen a 
madár.
Meg lehet ezt oldani?

Ha nagyon off a kérdés, akkor magánban tudnátok segíteni?
Köszi,

Gábor


_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: GIMP 2 kép egyesítése...

2010-08-28 bef zés Makó Gábor

Vizipók írta:
  Esetleg ha a JPG-t is átkonvertálod GIF-é és úgy rakod rá a madarat?
 
 

A madaras GIF 241 képkocka. 241 réteg a GIMP-ben.
GIF-be átrakva a JPG-t se tudom hogy érdemes egyesíteni a kettőt. :)

A rétegeket próbáltam áthúzni a háttérre, de a képkockák háttere nem 
változik. Vagy másképp kellene?


Gábor



_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


VLC streaming (http)...

2010-08-20 bef zés Makó Gábor

Hi!

Ezzel indítom a streaming-et helyben (192.168.1.64 IP-s gépen):
cvlc screen:// :screen-fps=1 :file-caching=300 :sout 
'#transcode{vcodec=mp2v,vb=800,scale=1}:std{access=http,mux=ts,dst=192.168.1.64:13001/}'


Majd csatlakoznék helyben a http-s stream-hez:
[ga...@fedora ~]$ vlc http://192.168.1.64:13001/
VLC media player 1.0.6 Goldeneye
[0x14c9098] main libvlc: A VLC futtatása az alapértelmezett felülettel. 
A VLC felület nélküli használatához használja a „cvlc” parancsot.
[0x7f99a00011f8] main access error: connection failed: Kapcsolat elutasítva
[0x7f99a00011f8] access_http access error: cannot connect to 
192.168.1.64:13001
[0x7f99a00011f8] main access error: connection failed: Kapcsolat elutasítva
[0x7f99a00011f8] access_mms access error: cannot connect to 
192.168.1.64:13001
[0x7f99cce8] main input error: open of `http://192.168.1.64:13001/' 
failed: (null)

[ga...@fedora ~]$ cvlc http://192.168.1.64:13001/
VLC media player 1.0.6 Goldeneye
[0xdfde48] dummy interface: using the dummy interface module...
[0x7fa6f0001738] main access error: connection failed: Kapcsolat elutasítva
[0x7fa6f0001738] access_http access error: cannot connect to 
192.168.1.64:13001
[0x7fa6f0001738] main access error: connection failed: Kapcsolat elutasítva
[0x7fa6f0001738] access_mms access error: cannot connect to 
192.168.1.64:13001
[0x7fa70c000ce8] main input error: open of `http://192.168.1.64:13001/' 
failed: (null)
[0x7fa70c000ce8] main input error: A bemenet nem nyitható meg
[0x7fa70c000ce8] main input error: A VLC nem képes megnyitni a(z) 
„http://192.168.1.64:13001/” MRL-t.



Az elindított VLC-n látszódik is a kép. Miért nem tudja megnyitni? 
Tűzfal nem fut.

Gábor



_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux

KVM/QEMU winxp guest...

2010-08-20 bef zés Makó Gábor

Hi!

FC13 x86_64 alatt próbálom:
A winxp (sp3) telepítő el is indul, de az első ujraindítás után a 
virtuális gép konzolján.
Booting from Hard Disk...

Lemezolvasási hiba történt
Újraindítás: Ctrl+Alt+Del


Kell valami spéci a win-hez v. bug?


Gábor

_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: KVM/QEMU winxp guest...

2010-08-20 bef zés Makó Gábor


Az első win reboot után a virtuális gépen visszaállítottam a Boot-ot 
csak CDROM-ra, akkor elindult. Azaz folytatódott a telepítés...
:)

Gábor


_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: KVM/QEMU winxp guest...

2010-08-20 bef zés Makó Gábor

Hi!

A telepítés végén a win fagyott a virt.gépben. Nem is indul csak fekete 
marad a virt.gp képernyője.
A vmware azért stabilabb... :(


Gábor


_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: KVM/QEMU winxp guest...

2010-08-20 bef zés Makó Gábor

  A telepítés végén a win fagyott a virt.gépben. Nem is indul csak
  fekete marad a virt.gp képernyője.
 


Vagy csak kegyetlen lassú...
(AMD Athlon 64 X2 CPU-n fut.)

Az első indulás órá(k)ba telik. Ez mitől lehet?


Gábor




_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: CentOS openvz openldap multimaster start problem...

2010-08-18 bef zés Makó Gábor

Krisztian VASAS irta:
  openvz -nek nincs kozolja (olyasmi, mint xm console)?
 

vzctl enter 102

ezzel lépek be a VPS-re, kapok egy sima konzolt, ahol futtatható 
már pl. a mc is. Leállításkor kidob, mint ha ssh-val lennék bent.


  van joga irni bele?
 

Persze.




Gábor



_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: CentOS openvz openldap multimaster start problem...

2010-08-16 bef zés Makó Gábor


Gabor HALASZ irta:
  Azt, hogy az ldap es a libdb jol mukodik, nem a port hibas,
  sot ahogy latom, a service restart is jo, igy az initscriptje 
  is. Meg kellene nezni a konzolt shutdown-kor, hogy tenyleg

Marmint hogy a vzctl stop 102 közben?


  leallitja-e + az initscript stop vegere egy sync parancs.
 



Mármint ide?

# openldap 2.4.x /etc/rc.d/init.d/ldap
function stop() {
# Stop daemons.
prog=`basename ${slapd}`
echo -n $Stopping $prog: 
killproc ${slapd}
RETVAL=$?
echo
[ $RETVAL -eq 0 ]  rm -f /var/lock/subsys/ldap /var/run/slapd.args
return $RETVAL
sync # ide kellene a sync?
}



A hivatalos centos5.5-ben levő 2.3 stop-ja:
function stop() {
# Stop daemons.
prog=`basename ${slapd}`
echo -n $Stopping $prog: 
killproc -d $STOP_DELAY ${slapd}
RETVAL=$?
echo
if [ $RETVAL -eq 0 ]; then
if grep -q ^replogfile /etc/openldap/slapd.conf; then
prog=`basename ${slurpd}`
echo -n $Stopping $prog: 
killproc ${slurpd}
RETVAL=$?
echo
fi
fi
[ $RETVAL -eq 0 ]  rm -f /var/lock/subsys/ldap /var/run/slapd.args
return $RETVAL
}





Gabor



_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: Centos 5.5 bind 9.x - domain...

2010-08-16 bef zés Makó Gábor

Hi!

A named.conf-ban a 'view internal' részben is próbáltam definiálni a 
zónát, de úgysem jó. A domain-t így is kintről keresi.

Miért a netről keresi, mikor még a forwarders sincs megadva a bind-nak?


Gábor


_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: CentOS openvz openldap multimaster start problem...

2010-08-16 bef zés Makó Gábor

Gabor HALASZ irta:
  Mi az, hogy semmi?
 


Semmi változás, ugyanaz.
Hiába akarnám sync-elni, a '-d' opció sem segített.


Gábor




_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


VLC desktop streaming...

2010-08-14 bef zés Makó Gábor

Hi!

http://www.nerdlogger.com/2008/01/stream-your-linuxwindowsmac-desktop-as.html

Linux alatt ki is próbáltam (Fedora13):
vlc screen:// :screen-fps=30 :screen-caching=100 --sout 
'#transcode{vcodec=mp4v,vb=4096,acodec=mpga,ab=256,scale=1,width=1280,height=800}:rtp{dst=192.168.1.64,port=1234,access=udp,mux=ts}'

Helyben meg is tudom nyitni VLC-vel:

   vlc rtp://@192.168.1.64:1234


Távoli gépről (LAN) nem megy. Egy win kliens VLC (legfrissebb 1.1.2 ) 
azt mondja:
A VLC nem képes megnyitni a .. MRL-t.

A linuxon kikapcsoltam a tűzfalat, de nem az a baj. Mi kellhet még hogy 
a távoli gép is lássa a streamet?



Gábor



_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: VLC desktop streaming...

2010-08-14 bef zés Makó Gábor

Hi!

  vlc screen:// :screen-fps=30 :screen-caching=100 --sout
  '#transcode{vcodec=mp4v,vb=4096,acodec=mpga,ab=256,scale=1,
  width=1280,height=800}:rtp{dst=192.168.1.64,port=1234,
  access=udp,mux=ts}'
 

A dst IP cím a cél címe, tehát a megjelenítendő gép címe. Azaz nálam 
192.168.1.65 kellett volna lennie, ezzel megy.
A megjelenítendő gépen a VLC-ben ezt kellett meghívni:

   rtp://@:1234


Több kliens esetén még tesztelem hogyan működik. :)



Szládovics Péter irta:
  OFF: VLC desktop streaming...
  aximális tisztelettel kérek elnézést mindenkitől az offért - tudom, ez
  is illemtanba ütközik -, de engem kifejetetten zavar, sőt, roppant
  módon bosszant, hogy Gábor levelei széttörik az összes threadet,
  amibe ír.
 

Elnézést, de igazán nem szeretnék kellementlenséget okozni!
Remélem nem nálam van a hiba forrása. Ha igen, akkor korrigálom...


Gábor



_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Centos 5.5 bind 9.x - domain...

2010-08-13 bef zés Makó Gábor

Hi!

Adott egy bind (openvz VPS, de nincs jelentősége).
Az intranet.domain.hu zóna (csak példa) definilálásával a bind szépen 
el is indul, de a névfeloldás nem működik:

nslookup vz103.intranet.domain.hu
Server: 127.0.0.1
Address:127.0.0.1#53
** server can't find vt103.intranet.domain.hu: NXDOMAIN


Ha más zónát definiálok (1 karakter más), pl. intranet.domain2.hu, 
akkor oké minden. Gondolom a netről lekéri, hogy a domain.hu létezik 
és onnan keresi a rekordbejegyzéseket. Ezt ki lehet küszöbölni?


A named.conf:
# 
options
{
 // query-sourceport 53;
 // query-source-v6 port 53;

 listen-on { any; };

 directory /var/named; // the default
 dump-file   data/cache_dump.db;
 statistics-file data/named_stats.txt;
 memstatistics-file  data/named_mem_stats.txt;

};
logging
{
 channel default_debug {
 file data/named.run;
 severity dynamic;
 };
};
view;
view localhost_resolver
{
 match-clients   { localhost; };
 match-destinations  { localhost; };
 recursion yes;
 # all views must contain the root hints zone:
 include /etc/named.root.hints;

 include /etc/named.rfc1912.zones;
};
view internal
{
 match-clients   { localnets; };
 match-destinations  { localnets; };
 recursion yes;
 // all views must contain the root hints zone:
 include /etc/named.root.hints;

 zone my.internal.zone {
 type master;
 file my.internal.zone.db;
 };
 zone my.slave.internal.zone {
 type slave;
 file slaves/my.slave.internal.zone.db;
 masters { /* put master nameserver IPs here */ 
127.0.0.1; } ;
 };
 zone my.ddns.internal.zone {
 type master;
 allow-update { key ddns_key; };
 file slaves/my.ddns.internal.zone.db;
 };
};
//key ddns_key
//{
//  algorithm hmac-md5;
//  secret use /usr/sbin/dns-keygen to generate TSIG keys;
//};
viewexternal
{
 match-clients   { any; };
 match-destinations  { any; };

 recursion no;

 allow-query-cache { none; };

 include /etc/named.root.hints;

 zone my.external.zone {
 type master;
 file my.external.zone.db;
 };
};
# 





A named.rfc1912.zones
# --
zone localdomain IN {
 type master;
 file localdomain.zone;
 allow-update { none; };
};

zone localhost IN {
 type master;
 file localhost.zone;
 allow-update { none; };
};

zone 0.0.127.in-addr.arpa IN {
 type master;
 file named.local;
 allow-update { none; };
};

zone 
0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa 
IN {
 type master;
 file named.ip6.local;
 allow-update { none; };
};

zone 255.in-addr.arpa IN {
 type master;
 file named.broadcast;
 allow-update { none; };
};

zone 0.in-addr.arpa IN {
 type master;
 file named.zero;
 allow-update { none; };
};
#
# my zones ##
#
zone 10.21.172.in-addr.arpa IN {
 type master;
 file 10.21.172.in-addr.arpa.zone;
 allow-update { none; };
};

zone intranet.domain.hu.in-addr.arpa IN {
 type master;
 file intranet.domain.hu.zone;
 allow-update { none; };
};


zone  0.1.10.in-addr.arpa {

 type master;
 file  0.1.10.in-addr.arpa.zone;
};

zone  domain2.hu {
 type master;
 file  domain2.hu.zone;
};
# --




Gábor


_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: CentOS openvz openldap multimaster start problem...

2010-08-13 bef zés Makó Gábor

Gabor HALASZ irta:
  Tobb variaciot is el tudok kepzelni, de leginkabb azt, amit mar irtam:
  bugos a virtualizacio, nem szinkronizalja a diszket rendesen (a
  virtualbox is tudja ujabban, ha freebsd fut benne es rebootolom, akkor
  a reset hatasara osszeomlik a virtualis gep, es erosen esetleges
  allapotban marad a diszk, oracle rulez).
  Eloszor kuldj egy 15-os signal-t a slapd-nek, aztan inditsd ujra, es
  nezd meg, panaszkodk-e a db-re.
 

Hi!

ps ax:
11588 ?Ssl0:07 /usr/sbin/slapd -h ldap:/// -u ldap

[r...@vz102 ~]# kill -15 11588
[r...@vz102 ~]# ps ax
   PID TTY  STAT   TIME COMMAND
 1 ?Ss 0:00 init [3]
  9319 ?Ss0:00 /sbin/udevd -d
  9688 ?Ss 0:00 syslogd -m 0
  9745 ?Ss 0:00 /usr/sbin/sshd
  9865 ?Ss 0:00 sendmail: accepting connections
  9880 ?Ss 0:00 sendmail: Queue run...@01:00:00 for 
/var/spool/clientmqueue
  9892 ?Ss 0:00 crond
15439 ?Ss 0:00 vzctl: pts/0
15440 pts/0Ss 0:00 -bash
15459 pts/0R+ 0:00 ps ax
[r...@vz102 ~]# service ldap start
A(z) slapd beállítási fájljainak ellenőrzése:  /etc/openldap/slapd.conf: 
line 164: rootdn is always granted unlimited privileges.
bdb_monitor_db_open: monitoring disabled; configure monitor database to 
enable
config file testing succeeded
[  OK  ]
slapd indítása:[  OK  ]
[r...@vz102 ~]# service ldap restart
slapd leállítása:  [  OK  ]
A(z) slapd beállítási fájljainak ellenőrzése:  /etc/openldap/slapd.conf: 
line 164: rootdn is always granted unlimited privileges.
bdb_monitor_db_open: monitoring disabled; configure monitor database to 
enable
config file testing succeeded
[  OK  ]


A kill -15 ... után jól indul és valóban működik. Ez mit jelent?


Gábor




_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: CentOS openvz ssh...

2010-08-12 bef zés Makó Gábor

Laszlo Beres irta:
  A kernelnek nincs sok koze ahhoz, amit latsz. En megemelnem a
  loglevelt, debuggal inditanam az sshd-t, -vvv opcioval a
  klienst, megneznem az /etc/hosts.{allow,deny} file-okat.
 

Ha nem is a kernel, de az openvz lehet ludas.
Ugyanaz a konfig mint a működő VPS-eken. A hosts.allow/deny üres.

Igen, a -v opciót felejtettem csak el. De megnézem... :)


Papai Balazs irta:
  Gondolom a root ssh meg van engedve..
 

Természetesen.


Azért gyanús, mert a openldap sem indul automatice rendesen az 
egyik VPS-en (lsd. korábbi téma: CentOS openvz  openldap 
multimaster start problem...).


Gábor



_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: CentOS openvz ssh...

2010-08-12 bef zés Makó Gábor

Laszlo Beres irta:
  Nem ismerem az openvz-t, de amiket eddig leirtal, azok mind
  alkalmazasszintu problemanak tunnek. Erdemes volna megkeresni
  rendesen az okokat.
 


Semmi extrát nem csináltam, egy alap VPS-t létrehoztam 
template-ből, mint a többit. A config ugyanaz, mint a működő 
VPS-eknél.

De kipróbálom majd a -v opcióval, csak nem vagyok azelőtt a gép 
előtt. Most már én is kíváncsi vagyok mit fog debugolni. :)


Gábor



_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: CentOS openvz ssh...

2010-08-12 bef zés Makó Gábor

Hi!

Bocs, de bevágom az egész debugot. A jelszó ok, de valami nem jó. Csak 
nem értem, hogy mi?

[r...@centos ~]# ssh -vvv 172.21.10.105
OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 172.21.10.105 [172.21.10.105] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: identity file /root/.ssh/identity type -1
debug1: identity file /root/.ssh/id_rsa type -1
debug1: identity file /root/.ssh/id_dsa type -1
debug1: loaded 3 keys
debug1: Remote protocol version 2.0, remote software version OpenSSH_4.3
debug1: match: OpenSSH_4.3 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.3
debug2: fd 3 setting O_NONBLOCK
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit: 
diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: 
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-...@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit: 
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-...@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit: 
hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: 
hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,z...@openssh.com,zlib
debug2: kex_parse_kexinit: none,z...@openssh.com,zlib
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: kex_parse_kexinit: 
diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: 
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-...@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit: 
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-...@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit: 
hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: 
hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,z...@openssh.com
debug2: kex_parse_kexinit: none,z...@openssh.com
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: mac_init: found hmac-md5
debug1: kex: server-client aes128-cbc hmac-md5 none
debug2: mac_init: found hmac-md5
debug1: kex: client-server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(102410248192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug2: dh_gen_key: priv key bits set: 124/256
debug2: bits set: 522/1024
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug3: check_host_in_hostfile: filename /root/.ssh/known_hosts
debug3: check_host_in_hostfile: match line 3
debug1: Host '172.21.10.105' is known and matches the RSA host key.
debug1: Found key in /root/.ssh/known_hosts:3
debug2: bits set: 509/1024
debug1: ssh_rsa_verify: signature correct
debug2: kex_derive_keys
debug2: set_newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug2: set_newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug2: key: /root/.ssh/identity ((nil))
debug2: key: /root/.ssh/id_rsa ((nil))
debug2: key: /root/.ssh/id_dsa ((nil))
debug1: Authentications that can continue: 
publickey,gssapi-with-mic,password
debug3: start over, passed a different list 
publickey,gssapi-with-mic,password
debug3: preferred gssapi-with-mic,publickey,keyboard-interactive,password
debug3: authmethod_lookup gssapi-with-mic
debug3: remaining preferred: publickey,keyboard-interactive,password
debug3: authmethod_is_enabled gssapi-with-mic
debug1: Next authentication method: gssapi-with-mic
debug3: Trying to reverse map address 172.21.10.105.
debug1: Unspecified GSS failure.  Minor code may provide more information
Unknown code krb5 195

debug1: Unspecified GSS failure.  Minor code may provide more information
Unknown code krb5 195

debug1: Unspecified GSS failure.  Minor code may provide more information
Unknown code krb5 195

debug2: we did not send a packet, disable method
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: 

Re: CentOS openvz ssh...

2010-08-12 bef zés Makó Gábor

Mea culpa! :)

A /etc/pam.d/system-auth-ac-ben volt hiba:
... pam_mkhomedir.so ...

1000 Bocsi!!




_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: CentOS openvz openldap multimaster start problem...

2010-08-11 bef zés Makó Gábor

Gabor HALASZ irta:
  Azert fura, mert egy sima kill-el szokta leallitani az rc
  script is. De az unclean shutdown akkor is unclean shutdown
   :), szoval az biztos, hogy
  az libdb szerint nem fejezte be.
  Sanda gyanum, hogy bugzik a virtualizaciod, a guest kiirja a
  dolgait a diszkre, a host meg nem szinkronizalja. Probalj egy
  sync-et rakni az rc scriptbe a stop vegere.
  Probald meg leallitas utan es inditas elott (plane, ha
  kikapcsolt allapotban hozzafersz a guest diszkjehez)
  db_verify-jal megnezni a db allapotat.
 


Nem igazán jó. Most is többnyire hibát jelez, ritkán jó 
induláskor a vz102 ldap indulása.
A HOST OS rc.local-ban betettem, hogy:

vztl exec 102 service ldap restart

Ezzel oké lesz a dolog, csak érdekes, hogy elvileg nem áll le 
rendesen.

Próbáltam újból létrehozni a VPS-t, de nem jó, ugyanaz. Érdekes... :(



Gábor



_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


CentOS openvz ssh...

2010-08-11 bef zés Makó Gábor

Hi!

Na ezt most miért csinálja?
vz104-en ssh fut.

HOST gépről ssh 172.21.10.104
Jelszó megad:
Connection to 172.21.10.104 closed.

Ujretelepítettem az openssh-t, a ~/.ssh alatt a kitöröltem a host 
key-eket, de semmi.
Most ennyire fáradt vagyok és nem látom a problémát? ;)

A többi VPs-en megy az ssh.


Gábor


_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: CentOS openvz ssh...

2010-08-11 bef zés Makó Gábor

Erdelyi Gabor irta:
  A logban van valami?
  Home-ja van a juzernek? Ahhoz joga? Shellje?
 

A root-nak van home-ja.
A logban semmi. Ezért nem értem.

Lehet hogy tényleg bugos egy kicsit az openvz (pedig stabil kernel)?


Gábor

_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: CentOS openvz openldap multimaster start problem...

2010-08-10 bef zés Makó Gábor

Gabor HALASZ irta:
  Mert nem shutdown-olja a szervert, az rc scriptek kornyeket
  nezegesd
 


igen, de a másik VPS-nél sincs az rc.d-ben Kxxldap symlink és ott 
nincs gond. :O

Mindkettőhöz tettem, asszem jó lesz.


Gábor


_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: CentOS openvz openldap mkhome...

2010-08-10 bef zés Makó Gábor

Gabor HALASZ irta:
  nss-ldap?
 

Ez a csomag fent van, az authconf-tui figyelmeztet is a lib-re.
A ...pam_mkhome.so... bejegyzés hova kellene igazából az openldap-os 
szerver (vz102) system-auth-ac-jébe v. a vz101 VPS-ébe, ahol a userek 
lennének?
(Tehát a userek és az openldap nem egy szerveren van!)


  hacsak nem a replicator a root is egyben
 

Igen, ez baj?
A multimasteres példádban láttam és véletlen ezt állítottam be 
rootdn-nek is. A replicator user mihez kell?


  moduleload  back_monitor
 

file not found, ilyen modul nincs. Majd keresek. :)


Gábor



_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: CentOS openvz openldap mkhome...

2010-08-10 bef zés Makó Gábor

A vz101 VPs a userek + mail postafiok (Maildir) helye. Az autentikáció 
ldap-ból a vz102 VPS-ből.
A vz102 VPS-en az openldap működik is, ha ide ssh-zik be a user, akkor 
létrejön a home-ja. De én a vz101-en szeretném létrehozni a home-t.

Vagy ilyet nem lehet?


Gábor




_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Levelezés megy?

2010-08-10 bef zés Makó Gábor

Üdv!

Elnézést a listától, de leveleim nem érkeznek meg a listára.
Működik a rendszer?


Gábor


_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: Linux lista

2010-08-10 bef zés Makó Gábor

Pápai Balázs írta:
 Én a szombati leveleidet látom. Mellékelek egy képet a
 leveleidről. Ezeken kívül is írtál?



Az archívumban 2-2 levél látszódik az említett témákban. De ezen 
kívül küldtem még. Nem csak egy helyről, hanem otthon és 
melóhelyről is - de sehonnan nem érkezett meg. Legalábbis nem látom.

Gábor




_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: CentOS openvz openldap mkhome...

2010-08-10 bef zés Makó Gábor

Hi!

Megvan. A vz101-esen az /etc/ldap.conf-ban uri ldap://127.0.0.1; 
volt az uri ldap:/172.21.10.102 helyett.


Gábor


_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


CentOS openvz openldap mkhome...

2010-08-07 bef zés Makó Gábor

Hi!

Egy dolog nem müxik az openldap-ban (x86_64, centos 5.5).
A vz101 VPS-en lenne a userek home-ja, itt van levelezés (ldap: 
vz102 VPS-ről).
A vz102 VPS-en van az openldap. Megy is, csak a user home-ja nem 
jön létre. Pl. ha be szeretnék ssh-zni a HOST gépről, akkor a 
jelszó után csak Connection closed by 172.21.10.101 üzenetet 
kapok. A root be tud ssh-zni (persze ezt később letiltom). 
Szerintem a home-t nem tudja létrehozni.
Az /etc/pam.d/system-auth-ac-ben megadtam az ide voantkozó részt:
session   required   pam_mkhome.so umask=0022

A pam_mkhome.so létezik mindkét VPS-en.
Mi hiányzik a home létrehozásához?




Még1 kérdés:
az openldap indulaskor ezt írja még:
Checking configuration files for slapd: 
/etc/openldap/slapd.conf: line 164: rootdn is always granted 
unlimited privileges.
dbd_monitor_db_open: monitoring disabled; configure monitor 
database to enable
config file testing succeeded [ OK ]


A 164-es sor:
access to dn.subtree=dc=intranet,dc=domain,dc=hu
 by dn.exact=cn=replicator,dc=intranet,dc=domain,dc=hu read



Gábor



_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


CentOS openvz openldap multimaster start problem...

2010-08-07 bef zés Makó Gábor

A vz102 VPS-en a boot-kor az openldap nem indul el.
A logban ugye nincs semmi, de ha belépek a vz102 VPS-re és 
service ldap restart:
... unclean shutdown detected; attempt revocery;
...
config file testing succeeded[ OK ]


Ha még1x restart-ot adok közvetlen ezután, akkor nincs a fenti 
üzenet (unclean shutdown detected; attempt revocery;).


De minden system boot után az openldap-ot újra kell indítani a 
fenti üzenet miatt a vz102 VPS-en.
(Ez a VPS a multimaster-ban az elsőként létrehozott. Nem tudom 
van-e jelentősége.)
A másik multimaster (vz105 VPS-ben) gond nélkül megy.

Már próbáltam, hogy az első (vz102) VPS-ben a /var/lib/ldap alatt 
töröltem. De reboot után ugyanaz.



Miért írja, hogy hibás leállást érzékelt? Pedig ez nem lehet.


Gábor


_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Virtualizációs kérdés...

2010-08-06 bef zés Makó Gábor

Hi!

Egy virtualizációs kérdés:
Adott egy HOST gép és a szolgáltatások VPS-ekben futnának.
A userek (maildir postafiók /home/username alatt)lennének egy VPS-en. 
Az autentikáció openldap lenne. Érdemes ugyanezen a VPS lennie az 
openldap-nak is v. külön VPS-ben fusson az openldap?

Egyelőre más VPS-en csak FTP+SAMAB, ill. DNS+DHCP futna.


Tehát érdemes-e az openldap-nak külön VPS?



Gábor



_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: Virtualizációs kérdés...

2010-08-06 bef zés Makó Gábor

Persze openvz-re gondoltam. :)

Gábor


_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: CentOS Openldap multimaster: syncrepl: database already shadowed...

2010-08-05 bef zés Makó Gábor

  http://staff.osuosl.org/~jeff/openldap/
 

Leszedtem a 2.4-es openldap-ot. El is indult. :)
De a moduleload syncprov.la kellett a slapd.conf-ba.



Gabor HALASZ irta:
  Persze, ha meg akarod valtoztatni a replikaciot, akkor eleg
  atirni a konfigot, letorolni a slave dbdir-jet, es
  ujraszinkronizalni (ez altalaban automatikus)
 

Most csak egy centos-on fut. Visszatettem a multimaster 
bejegyzéseket. Ezzel ha megtalálja majd a hálón a másik 
multimaster ldap-ot, akkor szinkronizálnak majd?
Ebben az esetben nem kell törölni semmit, ugye?


Gábor



_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: CentOS Openldap multimaster: syncrepl: database already shadowed...

2010-08-05 bef zés Makó Gábor
From: Gabor HALASZhalas...@freemail.hu:
 Nem tudom, mit csinal, ha valami szemetet talal a dbdirben. En ki
 szoktam onnan mindent torolni a libdb konfigjat kiveve, ha mar volt
 valami elotte (meg ha valami fs problema miatt esetleg inkonzisztense
 valna, nem erdemes a dbutil-lal vacakolni, ha van ep peldany). Ha
 egyszer elkezdtek szinkronizalni, onnantol a chekpointok segitsegevel
 mar megbeszelik, ki hol tart, ha felbeszakad, vagy kesobb valamiert
 kiesnek a szinkronbol.




Megtalálták egymást a VPS-ek és szinkronizálták a felvitt Organization 
Unit-ot. :)

Kösz!


Gábor

_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


CentOS Openldap multimaster: syncrepl: database already shadowed...

2010-08-04 bef zés Makó Gábor

Hi!

Halasz Gabor irta a 
CentOS openldap replication...  témában:
# --- slapd.conf ---
...
overlay syncprov
syncprov-checkpoint 100 10
syncprov-sessionlog 100

serverid1   ldap://egyikldap.x.y
serverid2   ldap://masikldap.x.y

syncrepl rid=1
  provider=ldap://egyikldap.x.y
  binddn=cn=replicator,dc=x,dc=y
  bindmethod=simple
  credentials=secret
  searchbase=dc=x,dc=y
  type=refreshAndPersist
  interval=00:00:00:10
  retry=5 5 300 +
  timeout=1

syncrepl rid=2
  provider=ldap://masikldap.x.y
  binddn=cn=replicator,dc=x,dc=y
  bindmethod=simple
  credentials=secret
  searchbase=dc=x,dc=y
  type=refreshAndPersist
  interval=00:00:00:10
  retry=5 5 300 +
  timeout=1

mirrormode  true

access to dn.subtree=dc=x,dc=y
  by dn.exact=cn=replicator,dc=x,dc=y read

limits dn.exact=cn=replicator,dc=x,dc=y
  size=unlimited
  time=unlimited
# --- slapd.conf ---


Nekem azt írja vissza, hogy syncrepl: database already shadowed.

Az openldap 2.3 a centos5.5-ban és ha jól olvastam a multimaster 
2.4+ openldap-ban megy. Tehát nem tudja ez az openldap még?

Azt lehet, hogy egy sima openldapot bekonfigolok és utána (majd 
valamikor) átírva a slapd.conf-ot átállítom multimasterre?


Gábor


_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: CentOS Openldap multimaster: syncrepl: database already shadowed...

2010-08-04 bef zés Makó Gábor

Hi!

Találtam egy ilyet:
http://www.opensubscriber.com/message/cen...@centos.org/11590746.html

Ezt megpróbálhatom? openldap2.4.x centos-ra.

Gábor



_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: CentOS Openldap multimaster: syncrepl: database already shadowed...

2010-08-04 bef zés Makó Gábor

Laszlo Beres irta:
  Egyreszt ugy tunik, backportoltak:
 
  [r...@centos1 ~]# rpm -q --changelog openldap-servers | grep
  -C 2 multi
 
  * Mon Sep 18 2006 Jay Fenlason fenla...@redhat.com 2.3.27-3
  - Include --enable-multimaster to close
bz#185821: adding slapd_multimaster to the configure options
 

Elvileg mennie kell a multimasternek v. nem?


  Masreszt az Enterprise-class Linux Distribution-ban csak
  jatekra hasznalunk openldapot, rendes celokra Dicetory Servert
  - http://directory.fedoraproject.org (csak hogy a stilusnal
   maradjunk).
 

A FDS is openldap-on alapul, tudtommal.


Gábor


_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


CentOS OpenVZ 2 HOST...

2010-08-03 bef zés Makó Gábor

Hi!

Összeraktam egy openvz-t:
- CentOS 5.5
- ovzkernel 028stab070.2

A VPS-eknek venetX eszközeik vannak, nem a fizikai gép LAN IP cím 
tartományából:
- HOST1 fizikai gép: 192.168.1.64 (192.168.1.0/24)
- VPS-ek: 172.21.10.101... stb.

Egy iptables scripttel maszkolok, hogy kintről is láthatóak 
legyenek a VPS-ek (SNAT, DNAT). Szépen megy is minden.


Egy dolgot szeretnék még, hogy egy másik fizikai gépen (HOST2) 
levő ilyen VPS-eket is lássák, azaz oda-vissza lássák egymást a 
VPS-ek a két HOST-on. Pl.:
- HOST2 fizikai gép: 192.168.1.65 (192.168.1.0/24)
- VPS-ek: 172.21.10.101... stb.
Ehhez csak iptables script-en múlik? Pl. szeretném, hogy két 
openldap szerver lássa egymást (multimaster), amik a két 
különböző HOST VPS-ein vannak.


Gábor


_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: CentOS OpenVZ 2 HOST...

2010-08-03 bef zés Makó Gábor

Krisztian VASAS irta:
  Előrebocsátom, hogy nem volt még dolgom openvz-vel, de mind
  xen, mind
  kvm biztosít bridged lehetőséget. Ahogy utánanéztem, openvz
  is, csak nem
  venet kell neki, hanem veth. Bővebben openvz wikiben
  olvashatsz.
 

Tudom, szinte mindet elovastam. Ezt is tudom:
http://wiki.openvz.org/Differences_between_venet_and_veth

Mindegyik eszköznek van előnye. A venet alapból létezik, talán 
mert gyorsabb és biztonságosabbanak (controlled by host!) irja a 
fenti wiki.

A venet nem látható kívülről, míg a veth igen. A venet esetében 
iptables segítségével kell maszkolgatni stb.
Gondolom nekem is ezt kell tennem. Hasonló maszkolást kell 
alkalmaznom mindkét gépen.


Gábor




_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: Virtualizáció

2010-07-30 bef zés Makó Gábor

Gabóca irta:
  Első két találat a virtualizáció szóra a Gugliban:
  http://virtualizacio.blog.hu/
  http://virtualizacio.lap.hu/
 


Ez oké, csináltam is már openvz-vel virtuális gépe(ke)t.
Csak egy dolog maradt ki, hogy mikortól érdemes kialakítani?
2 v. 3 funkciónál is érdemes (pl. ftp, samba szolgáltatások esetén)?

Gábor



_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Virtualizáció

2010-07-29 bef zés Makó Gábor

Hi!

Mikor érdemes virtualizációt használni (OpenVZ)?
Pl. FTP, Samba, VPN funkciókra érdemes 3 virtuális gépet tenni?


Gábor



_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


CentOS openldap replication...

2010-07-28 bef zés Makó Gábor

Hi!

Egy replikáló openldap a kérdés (2 gép).
A doksi (http://www.openldap.org/doc/admin24/replication.html) 
szerint:

1. Provider sldap szerver (slapd.conf):
database bdb
 suffix dc=Example,dc=com
 rootdn dc=Example,dc=com
 directory /var/ldap/db
 index objectclass,entryCSN,entryUUID eq

 overlay syncprov
 syncprov-checkpoint 100 10
 syncprov-sessionlog 100

2. Consumer slapd szerver (slapd.conf):
 database hdb
 suffix dc=Example,dc=com
 rootdn dc=Example,dc=com
 directory /var/ldap/db
 index objectclass,entryCSN,entryUUID eq

 syncrepl rid=123
 provider=ldap://provider.example.com:389
 type=refreshOnly
 interval=01:00:00:00
 searchbase=dc=example,dc=com
 filter=(objectClass=organizationalPerson)
 scope=sub
 attrs=cn,sn,ou,telephoneNumber,title,l
 schemachecking=off
 bindmethod=simple
 binddn=cn=syncuser,dc=example,dc=com
 credentials=secret



Ezt a binddn=cn=syncuser,dc=example,dc=com usert az Provider-en 
létre is kell hozni gondolom. Kell ennek valami különleges 
jogosultságot adni?

Elvileg csak ennyi a (lényeges) konfig a replikáló slapd-hez?
(Nyilván a LDAP fát is létre kell hozni pl. scriptből. Ez ok.)


Gábor



_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: CentOS openldap replication...

2010-07-28 bef zés Makó Gábor

Gabor HALASZ irta:
  Nem, mert nem olvastad vegig a documentaciot, igy a lenyegrol
  lemaradtal: mar tud multimastert, mirrormodet, igy nem kell
  consumer es provider. Ilyesmire ird at mindketto konfigjat:
 


OK, kösz!
A kliensek/munkaállomások (pl. windows) tudni fogják, hogyha 
kiesik az 1. szerver, akkor a 2.-ról kell autentikálni?


Samba esetén - ami ldap-ból autentikál - mindként ldap szerver 
címét meg kell adni a samba configjában? Elvileg csak ennyi a 
plusz ebben a multimasteres módban?


Gábor



_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Fedora 13 Samsung VP-D101 udev error?...

2010-07-18 bef zés Makó Gábor

Hi!

Fc13 alatt rákötöttem a $SUBJ-beli miniDV kamerat.
Nem csinal semmit, korabbi Fedorakkal siman működött.

Firewire modulok rendben (firewire_uhci, firewire_core).
A Kino progival szoktam a gépre tölteni a videot.
Hol keressem a hibát, vagy valami bug lesz?

Bootkor a udevd ilyeneket irogat:
...
udevd[404]: SYSFS{}= will be removed in a future udev version, please 
use ATTR{}= to match the event device, or ATTRS{}= to match a parent 
device, in /etc/udev/rules.d/kino.rules:13

udevd[404]: SYSFS{}= will be removed in a future udev version, please 
use ATTR{}= to match the event device, or ATTRS{}= to match a parent 
device, in /etc/udev/rules.d/kino.rules:15

udevd[404]: SYSFS{}= will be removed in a future udev version, please 
use ATTR{}= to match the event device, or ATTRS{}= to match a parent 
device, in /etc/udev/rules.d/kino.rules:17

udevd[404]: SYSFS{}= will be removed in a future udev version, please 
use ATTR{}= to match the event device, or ATTRS{}= to match a parent 
device, in /etc/udev/rules.d/kino.rules:19

udevd[404]: SYSFS{}= will be removed in a future udev version, please 
use ATTR{}= to match the event device, or ATTRS{}= to match a parent 
device, in /etc/udev/rules.d/kino.rules:21

udevd[404]: SYSFS{}= will be removed in a future udev version, please 
use ATTR{}= to match the event device, or ATTRS{}= to match a parent 
device, in /etc/udev/rules.d/kino.rules:23

udevd[404]: SYSFS{}= will be removed in a future udev version, please 
use ATTR{}= to match the event device, or ATTRS{}= to match a parent 
device, in /etc/udev/rules.d/kino.rules:25
...




Gábor


_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Fedora 13 httpd...

2010-06-14 bef zés Makó Gábor


Hi!

Frissítettem F13-ra (x86_64; preupgrade-val). A httpd nem megy, 
ha felteszem a php csomagokat:
 yum install php-*


A logban csúnya memóriahivatkozások vannak, meg invalid pointer.
A php csomagok nélkül megjelenik az apache tesztoldala.



Gábor





_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: Fedora 13 httpd...

2010-06-14 bef zés Makó Gábor
2010.06.14. 9:41 keltezéssel, Makó Gábor írta:
 Frissítettem F13-ra (x86_64; preupgrade-val). A httpd nem megy, ha
 felteszem a php csomagokat:
 yum install php-*


 A logban csúnya memóriahivatkozások vannak, meg invalid pointer.
 A php csomagok nélkül megjelenik az apache tesztoldala.




Kérdés lemaradt...

A neten nem találtam rá semmit. Bugos lehet vmelyik csomag?

Gábor


_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: Fedora 13 httpd...

2010-06-14 bef zés Makó Gábor

Hi!

Ez van az error.log-ban:
[Sun Jun 13 12:59:05 2010] [notice] suEXEC mechanism enabled (wrapper: 
/usr/sbin/suexec)
[Sun Jun 13 12:59:06 2010] [notice] Digest: generating secret for digest 
authentication ...
[Sun Jun 13 12:59:06 2010] [notice] Digest: done
*** glibc detected *** /usr/sbin/httpd: free(): invalid pointer: 
0x7fa7571f52c0 ***
=== Backtrace: =
/lib64/libc.so.6(+0x3853c75726)[0x7fa766b12726]
/usr/lib64/libstdc++.so.6(_ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEE8overflowEi+0x165)[0x7fa756f98865]
/usr/lib64/libstdc++.so.6(_ZNSt15basic_streambufIcSt11char_traitsIcEE6xsputnEPKcl+0x35)[0x7fa756f9c985]
/usr/lib64/libstdc++.so.6(_ZNSo5writeEPKcl+0x4d)[0x7fa756f93c0d]
/usr/lib64/libvmime07.so.0(_ZN5vmime7utilitylsERNS0_12outputStreamERKSs+0x11)[0x7fa7376bcc21]
/usr/lib64/libvmime07.so.0(_ZNK5vmime9mediaType8generateERNS_7utility12outputStreamEmmPm+0xeb)[0x7fa73769df9b]
/usr/lib64/libvmime07.so.0(_ZNK5vmime9component8generateEmm+0x19f)[0x7fa73767699f]
/usr/lib64/libvmime07.so.0(_ZN5vmime15textPartFactoryC2Ev+0xc3)[0x7fa7376b5ab3]
/usr/lib64/libvmime07.so.0(_ZN5vmime15textPartFactory11getInstanceEv+0x3c)[0x7fa7376b626c]
/usr/lib64/libvmime07.so.0(+0x3856481cda)[0x7fa737671cda]
/usr/lib64/libvmime07.so.0(+0x385652b386)[0x7fa73771b386]
=== Memory map: 
7fa7375f-7fa737752000 r-xp  08:02 48053711 
  /usr/lib64/libvmime07.so.0.7.1
7fa737752000-7fa737952000 ---p 00162000 08:02 48053711 
  /usr/lib64/libvmime07.so.0.7.1
7fa737952000-7fa737961000 rw-p 00162000 08:02 48053711 
  /usr/lib64/libvmime07.so.0.7.1
7fa737961000-7fa737962000 rw-p  00:00 0
7fa737962000-7fa737976000 r-xp  08:02 48053700 
  /usr/lib64/libicalss.so.0.43.0
7fa737976000-7fa737b75000 ---p 00014000 08:02 48053700 
  /usr/lib64/libicalss.so.0.43.0
7fa737b75000-7fa737b76000 rw-p 00013000 08:02 48053700 
  /usr/lib64/libicalss.so.0.43.0

...stb.


Ez akkor mitől is lehet, hol keressem a hibát?
Vagy bug?


Gábor



_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: msgfmt

2010-05-31 bef zés Makó Gábor

Hi!

Hogyan is kellen akkor szépen fordítanom .mo fájlt?
msgunfmt zarafa_original.mo  zarafa.po
msgfmt -o zarafa.mo zarafa.po

A zarafa.mo maradt text file, nem változott rajta semmi... :(


Gábor



_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


msgfmt

2010-05-23 bef zés Makó Gábor

Hi!

Fedora 12.
A zarafa-t szeretném magyarítani. A .mo fájlból .po-t csinálva 
fordítanám. Majd csinálnék belőle .mo-t.

msgunfmt zarafa_original.mo  zarafa.po
msgfmt -o zarafa.mo zarafa.po

A vége nem stimmel, a .po-ból visszaalakított .mo fájl maradt .po 
formátumú, sima szöveges fájl. Mit rontok el?


Vagy megvan valakinek a magyarítása? :)


G.



_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: VMWare Player 3.0 Fedora 12...

2010-03-23 bef zés Makó Gábor

Kosa Attila:
  Marmint a windowsra (kerdezed a linux listan)? Amugy a tools
  telepitese teszi fel.
 

Mármint, hogy az open-vm-tools csomag nem teszi fel. Ezért 
kérdezem. :)

  Alahuztam neked, hogy mi miatt problemazik. Nem az Internet
  miatt...
 

Igen, a certificate...
A /usr/lib/vmware/resources alatt van valami mozilla-cert***.crt 
fájl. Ezt át kellett neveznem (törölnöm), mert akkor el sem 
indult a vmware. :O



SZALAI Karoly:
  ettol meg lehet neki problemaja az internettel:
  http://communities.vmware.com/thread/250609?tstart=0
 

Itt nem láttam a megoldást... :(
Valami proxy-t magyaráznak ott a .vmware/preferences fájlba.
De otthon nincs proxy-m, vagy ez nem egészen az?




G.




_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


VMWare Player 3.0 Fedora 12...

2010-03-22 bef zés Makó Gábor

Hi!

Bocs, hogy kicsit VMWare kérdés!
F12 alatt feltettem egy WinXP-t VMWare-ben. (Az open-vm-tools csomag 
fent van.)

A VGA driver nincs fent a VM-ben. Hogy lehet feltenni?

Korábban mintha automatice volt ez. Akkor nem volt lassú a VGA kártya 
ugyanezen a gépen (igaz swap particiom nem volt akkor).

A VM/Install VMWare Tools.. menüre ezt irja:
A certificate error occured for the update server. Check your Internet 
settings or cotact your system administrator.

A virtualis WinXP gép simán látja a netet!! Nem értem miért sír az 
internet miatt...


G.



_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: Firefox 3.5 fekete kép...

2009-11-29 bef zés Makó Gábor

Én írtam 2009/09/20:
  Fedora 11, firefox-ban a honlapokon levő képek helyett fekete box
  jelenik meg. Ez valami bug?
 
  Elég sok kép helyett ez jelenik meg és nem látok benne logikát, hogy
  miért pont azoknál.
 
  Próbáltam addon-on nélkül is, hátha egy addon csinálja, de nem...
 

Gábor Lénárt írta 2009/09/20:
  compiz, vagy vmi hasonlo dolog nem fut? Ugy remlik ott emlegettek
  ilyen hibakat, probalj minden ilyen dolgot kikapcsolni, hogy ugy is
  jelentkezik-e.
 


hi!

Opera böngészővel minden szépen látszódik, csak a FF-al van fekete kép.
Van 5letetek?

G.


_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: gnome-terminal ALT_Gr+w...

2009-11-28 bef zés Makó Gábor
2009-11-28 12:00 keltezéssel, linux-requ...@mlf.linux.rulez.org írta:
From: Ámon Tamáss...@amon.hu

 Ctrl+alt+w mukodik? Esetleg angol nyelvu lett valamiert a kiosztas...



Azzal sem működött és a (Alt_Gr + q)  \ sem. Persze maradt magyar 
bill.kiosztás minden!!

Nyomkodtam a billentyűket és most megint jó. :)
Nem egészen értem...

G.



_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


gnome-terminal ALT_Gr+w...

2009-11-27 bef zés Makó Gábor

hi!

Lehet hogy amatőr kérsés, de a gnome-terminal nem eszi meg az ALT 
Gr+w bill (pipe). kombinációt. Nem csinál rá semmit.

Mit állítottam el? :)



G.




_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: Wine Fedora 11 (SSL) error?...

2009-11-10 bef zés Makó Gábor

hi!

Ha a progit windows alatt elindítom 
(vezérlőpult-internetbeállítások-proxy használat), akkor szintén:
Could not connect to
Please check your network connection and server address, and try again.


Wine (FC11) alatt, amikor próbáltam simán ki tudna menni a netre, natolt 
hálózatban van a linuxos gép.
A wine nem tud kimenni ssl-en(?), mert egy wine alatti firefox simán 
működik. :(

G.



_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Wine 1.1.32 Fedora x86_64 (SSL?)...

2009-11-07 bef zés Makó Gábor


Hi!

Ma volt egy frissítés wine-hoz, 1.1.32.
Az első program telepítés után futott, aztán semmi:
wine: '/home/user/.wine' is a 32-bit prefix, it cannot be used with 
wow64 Wine.


Ez most mi? A neten nem sokminden van erről az üzenetről... :(
(32 és 64 bites csomagok is fent vannak.)

G.



_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: Wine 1.1.32 Fedora x86_64 (SSL?)...

2009-11-07 bef zés Makó Gábor

Hi!

Csak az i586-ot feltéve ok. :)


G.



_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Wine Fedora 11 (SSL) error?...

2009-11-07 bef zés Makó Gábor

Hi!

A wine (1.1.32) működik szépen, használható pl. a windowsos firefox.
De van egy progi, ami SSL-t használva akarna netre menni:
Could not connect to
Please check your network connection and server address, and try again.
Error Code: 0x80070002

Mi lehet a baja? Maga a hibakód több hibát jelenthet a neten talált 
infók alapján.
Merre keresgéljek?

G.



_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: Fedora 11 wine DNS...

2009-11-05 bef zés Makó Gábor

Hi!

Kideritettem a kérdeéses progi a ssl protoklt használ.
Ezért nem megy. Mi kell ehhez?

A wine honlapján ezt találtam (http://wiki.winehq.org/Secur32):
Secur32
Secur32.dll mainly contains the Secure Service Provider Interface, SSPI. 
SSPI allows developers to use different providers of secure socket-like 
services. In SSPI, a Secure Service Provider (SSP) is loaded by the 
system and queried for the capabilities it supports. You (the client 
developer) can choose which provider you want by name. Normal SSPs (I 
don't know a better name for them) are loaded by secur32.dll in the 
context of the calling process.

The are also authentication SSPs, which are capable of authenticating 
users. They're loaded (in Windows) in the context of the LSA. Since Wine 
doesn't have an LSA and doesn't authenticate users, I'm only talking 
about normal SSPs here.

SSPI is a plugin interface: SSPs are implemented in external DLLs, and 
secur32.dll loads them. Wine's secur32.dll is already able to load 
native SSP DLLs.

Wine's Secur32.dll also provides a couple of built-in SSPs, the NTLM 
provider and the Schannel provider.



Mi is hiányzik? secur32.dll?



G.



_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Wine SSL [volt: Fedora 11 wine DNS...]

2009-11-05 bef zés Makó Gábor

Hi!

Szóval a kérdéses progi elindul kapcsolódna is a netre, de nem tud és 
konzolon ennyi látszódik:

fixme:secur32:schan_InitializeSecurityContextW Using hardcoded NORMAL 
priority
fixme:crypt:CertVerifyCertificateChainPolicy unimplemented for 4

SSL-t használ és ez nincs fent a wine-os windows-ban?

Sima windowsos Firefox tökéletesen működik. Tehát csak az SSL hiányzik.

G.



_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Fedora 11 wine DNS...

2009-11-04 bef zés Makó Gábor

Hi!

A wine alatt hogyan kell a hálózatot beállítani.
Automatice létrejött a .wine alatt minden, csak egy windows-os progi nem 
lát ki a netre - sztem nem találja a dns-t/gateway-t.
Ezt hol lehet beállítani, hogy lássa a wines progi?

G.



_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: Fedora 11 wine DNS...

2009-11-04 bef zés Makó Gábor

Hi!

Bocs, lemaradt... 64bites rendszerről van szó.

A winwhq.org-on megtaláltam a lehetséges okot:

6.22. Why doesn't DNS resolve in 64-bit OS's?
Many distributions don't provide all the 32-bit compatibility libraries 
that wine needs. In this case, wine needs 32-bit DNS libraries. On 
Ubuntu/Debian, this package is lib32nss-mdns. To install it on those 
OS's, use:
sudo apt-get install lib32nss-mdns


Fedora alatt nem tudom mi kellhet. Az nss-mdns.i586 csomag fent van.



G.



_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


LDAP migration...

2009-10-13 bef zés Makó Gábor

Hi!

Letöltöttem a MigrationTools.tgz-t a http://www.padl.com-ról.
Ha migrálni szeretnék userket openldap-ba, akkor a 
migrate_passwd.pl scripttel tehetem meg?
Gondolom létre kell hoznom egy üres ldap fát, ill. a 
migrate_common.ph-ban beállítani a $DEFAULT_MAIL_DOMAIN és 
$DEFAULT_BASE változót.
Mi a teendőm még? Csak futtatni a scriptet?
./migrate_passwd.pl /etc/passwd passwd.ldif


G.



_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Fedora NetworkManager...

2009-10-04 bef zés Makó Gábor

hi!

Hol lehet megmondani a Fedora-ban a NM-nek, hogy milyen resolv.conf-ot 
használjon? Alapból csak a namserver ... van benne.
Több nameserver bejegyzést és search opciót is szeretnék.

Eddig hiába próbáltam átírni az /etc/sysconfig/network és 
network-scripts könyvtárak alatt. Szóval hol tárolja igazából?

G.



_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: Fedora NetworkManager...

2009-10-04 bef zés Makó Gábor

Kapcsolódik a kérdéshez...
Ha a resolv.conf-ban bent van a 127.0.0.1 (helyi bind) is, akkor a 
Midnight Commander lassan indul. Kb. 1 perc(?) kell neki.
Mit keres ilyen lassan?

G.


_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: Fedora NetworkManager...

2009-10-04 bef zés Makó Gábor

Vizipok:
  /etc/resolv.conf ?
 

Igen, de ezt felülírja bootoláskor (illetve a hálozat indításakor, pl. 
service network restart).

1-2 szolgáltatás is lassan indul boot-kor (pl. sendmail, cupsd).
A helyi DNs nem tetszik neki (bind).

G.


_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Fedora NetworkManager ( bind)...

2009-10-04 bef zés Makó Gábor

Hi!

Ha a networkManager-ben (system-config-network) beállítom hogy:
DNS1: saját IP címem lokális bind
DNS2: router IP címe

akkor akadozik a hálózat, nem igazán működik semmi, minden lassú.
Ha csak a router van DNS-nek, akkor OK.

Az /etc/named.conf igy nez ki:
options {
listen-on port 53 { 127.0.0.1; 192.168.1.67; };
listen-on-v6 port 53 { ::1; };
directory   /var/named;
dump-file   /var/named/data/cache_dump.db;
 statistics-file /var/named/data/named_stats.txt;
 memstatistics-file /var/named/data/named_mem_stats.txt;
allow-query { localhost; 192.168.1.67; };
recursion yes;
dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside . trust-anchor dlv.isc.org.;
};

logging {
 channel default_debug {
 file data/named.run;
 severity dynamic;
 };
};

zone . IN {
type hint;
file named.ca;
};

# itt vannak a zonak definialva:
include /etc/named.rfc1912.zones;

#include /etc/named.dnssec.keys;
#include /etc/pki/dnssec-keys/dlv/dlv.isc.org.conf;
#include /etc/pki/dnssec-keys//named.dnssec.keys;
#include /etc/pki/dnssec-keys//dlv/dlv.isc.org.conf;
# --- end of file ---

G.


_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: Ext3 .Trash-500 könyvtár...

2009-09-25 bef zés Makó Gábor

Szládovics Péter:
  Semmi köze az NTFS-nek a recycle bin-hez.
  Ez ugyanis az. Minden fájlrendszeren csinál ilyet, még a
  VFAT-on is.
 

Eddig csak NTFS partíción láttam.
Ha kézzel másolok egy fájlt erre a partícióra és törlöm, akkor 
miért nem lesz ilyen könyvtár?
Ahol a rendszervan (/) ott sincs ilyen könyvtár. :O

G.





_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: Ext3 .Trash-500 könyvtár...

2009-09-25 bef zés Makó Gábor

SZABO Zsolt:
  Vannak file kezelok, ill. egyeb feluletek, amik csinalnak
  trash kezelest. Nem lehet, hogy ez a progi sajatossaga? Mas
  particiorol valo torleskor nem csinal ilyet?
 

Másik partíción is csinálta ha jól emlékszem (az is ntfs volt).
Valószínű a progi sajátossága... :(


  Egyebkent a mount mit mond? Abban lathatod, hogy milyen
  fajlrendszert ismert fel a megadott particion...
 

Az fdisk és a mount szerint is ext3.



G.
_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Ext3 .Trash-500 könyvtár...

2009-09-24 bef zés Makó Gábor

Hi!

Fc11 alatt volt egy NTFS partívióm (ntfs-3g). Ezt töröltem fdisk-ben és 
létrehoztam egy Linux (83) típusú partíciót, amit meg is formáztam ext3-al.
Erről a partícióról, ha a transmission torrent progiból törlök fájlokat, 
akkor létrejön egy .Trash-500 nevű mappa, ami az NTFS partíción szokott.
Ha kézzel másolok oda és törlök egy fájlt, akkor nincs ilyen.
Most akkor ez még mindig NTFS partíció? :(


G.



_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: CentOS openvz lassú...

2009-09-23 bef zés Makó Gábor

From: Kovács Attila:
  lo interface van?
 

Van, persze.

G.


_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Fedora 11 - Gnome panel openarena...

2009-09-23 bef zés Makó Gábor


hi!

Fc11 alatt szépen megy az openarena, de ha kilépek a progiból, akkor 
felül a gnome panelen az indítóikonjaim átrendeződnek (egymásmellé 
rendez mindent). :(

Mitől csinálja ezt?

G.


_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


OpenVZ

2009-09-22 bef zés Makó Gábor


Hi!

Készítettem egy kis doksit az openvz/centos5.3 párosról 
(tapasztalataimról).
Elérhető http://www-m-info.hu/letoltesek Linux kategóriában.


G.




_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: OpenVZ

2009-09-22 bef zés Makó Gábor


Pontosabban:


Hi!

Készítettem egy kis doksit az openvz/centos5.3 párosról
(tapasztalataimról).
Elérhető http://www.m-info.hu/letoltesek Linux kategóriában.


G.





_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: Firefox 3.5 fekete kép...

2009-09-22 bef zés Makó Gábor

Gábor Lénárt:
  compiz, vagy vmi hasonlo dolog nem fut? Ugy remlik ott
  emlegettek ilyen hibakat, probalj minden ilyen dolgot
  kikapcsolni, hogy ugy is jelentkezik-e.
 

Vannak fent compiz-gnome csomagok...

A neten azt találtam, hogy asztaleffektusok-ban lehet ilyenek 
kapcsolgatni, de nálam mintha nem lenne..
Futok vele mégegy kört... :)

G.





_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: CentOS openvz lassú...

2009-09-22 bef zés Makó Gábor

Hi!

Ugyanaz az openvz, ugyanazon a gépen Fedora alatt szintén lassú.
A yum (yum update) szintén [Socket error] Timed out üzeneteket köpköd.
Egy lynx-el viszont a VPS szépen böngész. :O

Az lehet gond, hogy 2 router wifi-n kapcsolódik egymással?
Az egyik AP-ként megy, a másik Client-Bridge módban és AP-n lehet 
kimenni a netre.

Ugyanez az openvz (yum update) egy másik ugyanolyan hardveren, CentOS5.3 
alatt, egy másik helyi hálózatban gond nélkül megy.
Szerintem a LAN-nál lesz valami, ugye?


G.





_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Firefox 3.5 fekete kép...

2009-09-20 bef zés Makó Gábor

Hi!

Fedora 11, firefox-ban a honlapokon levő képek helyett fekete box 
jelenik meg. Ez valami bug?

Elég sok kép helyett ez jelenik meg és nem látok benne logikát, hogy 
miért pont azoknál.


Próbáltam addon-on nélkül is, hátha egy addon csinálja, de nem...


G.



_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: CentOS openvz lassú...

2009-09-19 bef zés Makó Gábor

Üdv!

A fizikai gép /etc/resolv.conf-ja:
nameserver 192.168.1.254
Ez a helyi (LAN) router IP-je.

Van 5db VPS (101,102,103,104,105), a 102-n van egy bind, ami a VPS DNS-e 
(example-hu.com domain). Itt csak a VPS-ek nevei vannak definiálva.

Ha a fizikai gépen beírom az resolv.conf-ba
nameserver 192.168.1.254
nameserver 192.168.1.102

akkor láthatók a VPS dns nevek. Viszont a nete felé elszáll néha(?) a 
dns:   server can't find... NXDOMAIN
Tehát a nameserver 192.168.1.102 sort ki kell vennem, de akkor IP 
cimmel tudok csak a VPS-ekre hivatkozni.

A VPS-nek a resolv.conf-ja:
nameserver 192.168.1.102
nameserver 192.168.1.254

Ezek viszont kifele nem látnak no servers reached.

A VPS 102 named.conf-jában (ő a bind DNS) hiába írtam be a forwarders { 
192.168.1.254; } nem segitett.

A kérdés tehát hogyan kellene beállítanom a VPS DNS-t ill. a fizikai gép 
resolv.conf-ját, hogy lássanak a netre és a VPS DNS bejegyzéseit is 
lehessen lekérni?
Vagy VPS-re ne is tegyek DNS-t, csak a fizikai gépre?
Egy korábbi thread alapján ebből indultam ki (ahogy javasoltátok):
vz101 openldap, samba
vz102 dns, (openvpn?)
vz103 sql
vz104 http, ftp
vz105 mail



G.


_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: CentOS openvz lassú...

2009-09-18 bef zés Makó Gábor

A fizikai gép 192.168.1.67, a VPS-ek: 192.168.1.101 - 105.
Van egy DNS a 192.168.1.102-n.

Lehet DNS gondja?
A yum --noplugins install csomag -ra jobb a helyzet. Ekkor is van 
csak timed out, de legalább elkezd dolgozni.
A downloadonly, fastestmirror pluginek ilyenkor nem aktívak. Valami 
nem jó a pluginokban?

G.



_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


CentOS openvz lassú...

2009-09-17 bef zés Makó Gábor

Hi!

Feltettem egy CentOS 5.3-at openvz-vel (5db VPS-el).
A yum szinte több óráig szed le egy pár KB-os csomagot. Timed out 
idűtúllépés van. A tcpdump semmi extra forgalmat nem lát. A top rendben.
De a firefox böngésző is ugyanolyan lassú.

Bebootolok ugyanazzal a géppel egy Fedora-val, akkor simán megy 
x*100KB/s sebességgel a net.

Merre kezdjek el keresgélni a CentOS-on?

(HW: GIGABYTE alaplap/AMD64 X2 CPU AM2, 2GB/DDR2 RAM)


G.




_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


OpenVZ - bind VPS-en REFUSED...

2009-09-13 bef zés Makó Gábor

Hi!

CentOS 5.3 rendszer, a vz102.example-hu.com (192.168.1.102) VPS-en van 
bind telepitve. Itt működik is!

A többi VPS-en be van állítva a 192.168.1.102 nameserver-nek:
vzctl set 101 --nameserver 192.168.1.102 --save


Viszont DNS kérés nem kap választ (nslookup):
Server: 192.168.1.102
Address:192.168.1.102#53
** server can't find vz101.example-hu.com: REFUSED

(host):
Host vz101.example-hu.com not found: 5(REFUSED)

(dig):
;  DiG 9.3.4-P1  vz101.example-hu.com
;; global options:  printcmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: REFUSED, id: 27660
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;vz101.example-hu.com.  IN  A

;; Query time: 2 msec
;; SERVER: 192.168.1.102#53(192.168.1.102)
;; WHEN: Sun Sep 13 04:30:58 2009
;; MSG SIZE  rcvd: 38



Miért van REFUSED a többi VPS-en? A 102-es VPS-en - ahol a bind van - 
meg megy szépen?
(A VPS-ek látják egy mást, mert be tudnak ssh-zni egymáshoz.
A 102-es VPS-en a named a 127.0.0.1 és a 192.168.1.102 címen is fut!)

G.



_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: OpenVZ - bind VPS-en REFUSED...

2009-09-13 bef zés Makó Gábor

Elfelejtettem irni valóban, hogy a bind logban is látszik denied a kérés.
A named.conf-ban egy módosítás megoldotta a problémát:

  allow-query { any; }


Most működik. Bár egy idő után (1-2) perc a bind nem működik.
Egy routeren Client-Bridge módban egy másik routeren keresztül megyek ki 
a netre, ott is van DNS. Ezek összeakadhatnak?
Ha újraindítom a VPS-eket, akkor megint jó a bind.

G.



_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: CentOS lang support...

2009-09-13 bef zés Makó Gábor

Hi!

Milyen csomagok kellenek, hogy pl. magyar nyelvet is lehessen választani
a CentOS-ban (system-config-language)?

OpenVZ alatt csak angol van.

G.



_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


MySQL ldap autentikáció...

2009-09-12 bef zés Makó Gábor

Hi!

Azt szeretném, ha a MySQL az ldap-ból autentikálna.
Merre keresgéljek ehhez a neten?

G.



_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


CentOS lang support...

2009-09-06 bef zés Makó Gábor


Hi!

Milyen csomagok kellenek, hogy pl. magyar nyelvet is lehessen választani 
a CentOS-ban (system-config-language)?

G.



_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: OpenVZ - cElementTree is needed...

2009-09-06 bef zés Makó Gábor

Papp Tamas írta:
  http://rpm.pbone.ne/
 


Ez nem is létezik.

A neten azt olvastam, hogy bugos a csomag ill. a .spec file.

G.


_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


OpenVZ - cElementTree is needed...

2009-09-05 bef zés Makó Gábor

Hi!


CentOS 5.3-nál szinte mindegyik openvz kernel esetén ezt hibát kapom ha 
fel szeretném tenni a vzyum/vzrpm csomagot:

Missing dependecy: cElementTree.so is neede by package 
vzyum-2.4-0-11.noarch (openvz-utils)

Mi ez a cElementTree.so?


G.



_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


  1   2   3   >