Debian GNU/Linux

Bind multiprocessor

Fórumok

Udv mindenkinek,

Azt olvastam, hogy a BIND9-es mar tud tobb processzoron futni ill tobb magon.

Van egy A64 X2-m, csak a BIND fut rajta (sarge+2.6.15-7). A top szepen mutatja, hogy a 0-as magra rault a named es 70-95 %-on hasznalja, de a masik mag szinte nem csinal semmit.

Hogyan lehetne ravenni a bind-ot, hogy hasznalja a masik magot is ?

Elore is koszi.

exim4 config

Fórumok

Hali,

exim4-et próbálok összehozni amavisd-new-val. A gondom az alábbi: a dpkg-reconfigure exim4-config beállítja elvileg az exim-et, de nem találom a konfig fájlját. /etc/exim4/exim4.conf nem létezik, a /etc/exim4/conf.d-ben pedig egy éves fájlok vannak, tehát ide sem írt semit sem.

Beállítottam, hogy ne darabolja szét a fájlokat, s csak ez módosult: update-exim4.conf.conf.

Ezzel mit lehet kezdeni? Így nem tudok beleírni a konfig fájlba :(

UPS-nut-USB

Fórumok

Hali!
Ubuntu server 6.06-tal szenvedek, egy IBM xSeries226-on, egy MGE Pulsar Evolutin 1100-as UPS-szel.
A UPS (neve az alábbi logokban: 'enyim') USB-n csatlakozik, a newhidups drivert használom.
Probléma: a driver csak akkor találja meg a UPS-t, ha az USB-kábelt kihúzom és visszadugom.

Amit kiderítettem:
-a kernel bootoláskor megtalálja a UPS-t (dmesg):
[42949416.840000] usb 2-2: new low speed USB device using uhci_hcd and address 2

-és utánna (syslog, csak az idevágó üzenetekkel):

Jun 16 10:27:44 csiga kernel: [42949424.420000] kjournald starting. Commit interval 5 seconds
Jun 16 10:27:44 csiga upsd[4680]: Can't connect to UPS [enyim] (newhidups-auto): No such file or directory
Jun 16 10:27:49 csiga upsd[4706]: Startup successful
Jun 16 10:27:49 csiga upsmon[4708]: Startup successful
Jun 16 10:27:49 csiga upsd[4706]: Connection from 127.0.0.1
Jun 16 10:27:49 csiga upsd[4706]: Client monuserKUKAC(csakhogy ne tördeljen a drupal)127.0.0.1 logged into UPS [enyim]
Jun 16 10:27:49 csiga upsmon[4709]: Poll UPS [enyimKUKAClocalhost] failed - Driver not connected
Jun 16 10:27:49 csiga upsmon[4709]: Communications with UPS enyim@localhost lost
Jun 16 10:27:54 csiga upsmon[4709]: Poll UPS [enyimKUKAClocalhost] failed - Driver not connected
Jun 16 10:27:54 csiga upsmon[4709]: UPS enyimKUKAClocalhost is unavailable
Jun 16 10:27:59 csiga upsmon[4709]: Poll UPS [enyimKUKAClocalhost] failed - Driver not connected
Jun 16 10:28:34 csiga last message repeated 7 times
-kihúzom az USB-kábelt
Jun 16 10:28:37 csiga kernel: [42949478.200000] usb 2-2: USB disconnect, address 2
-visszadugom az USB-kábelt
Jun 16 10:28:38 csiga kernel: [42949479.730000] usb 2-2: new low speed USB device using uhci_hcd and address 3
Jun 16 10:28:39 csiga upsmon[4709]: Poll UPS [enyimKUKAClocalhost] failed - Driver not connected
Jun 16 10:28:59 csiga last message repeated 4 times
-/etc/init.d/nut stop
Jun 16 10:29:00 csiga upsmon[4709]: Signal 15: exiting
Jun 16 10:29:00 csiga upsd[4706]: Client monuserKUKAC127.0.0.1 logged out
Jun 16 10:29:00 csiga upsmon[4708]: upsmon parent: read: Success
Jun 16 10:29:00 csiga upsd[4706]: Signal 15: exiting
-/etc/init.d/nut restart
Jun 16 10:29:42 csiga upsd[4965]: Connected to UPS [enyim]: newhidups-auto
Jun 16 10:29:47 csiga upsd[4966]: Startup successful
Jun 16 10:29:47 csiga upsmon[4968]: Startup successful
Jun 16 10:29:47 csiga upsd[4966]: Connection from 127.0.0.1
Jun 16 10:29:47 csiga upsd[4966]: Client monuserKUKAC127.0.0.1 logged into UPS [enyim]
-egyszer mindig elveszti a kapcsolatot
Jun 16 10:29:47 csiga upsmon[4969]: Poll UPS [enyimKUKAClocalhost] failed - Variable not supported by UPS
Jun 16 10:29:47 csiga upsmon[4969]: Communications with UPS enyimKUKAClocalhost lost
Jun 16 10:29:52 csiga upsmon[4969]: Poll UPS [enyimKUKAClocalhost] failed - Variable not supported by UPS
Jun 16 10:29:52 csiga upsmon[4969]: UPS enyimKUKAClocalhost is unavailable
-megtalálja újra
Jun 16 10:29:57 csiga upsmon[4969]: Communications with UPS enyimKUKAClocalhost established
-innetől boldog

Az idegtől remegek,
A falnak megyek,
Mit tegyek, ó egek???

Sarge base-config update error

Fórumok

Mai frissítés:
Preconfiguring packages ...
base-config template parse error: Template #30 in /tmp/base-config.template.249130 does not contain a 'Template:' line
[...]
Setting up base-config (2.53.10.1) ...
Template #30 in /var/lib/dpkg/info/base-config.templates does not contain a 'Template:' line

Hibás a csomag és javítják majd?
Egyáltalán kell ez nekem egy futó rendszeren?

Postfix

Fórumok

Hogyan lehet a quotát beizzítani postfix alatt a maildirekre?
Ez alapján megpróbáltam beállítani: http://vhcs.puuhis.net/wiki/index.php/Mail_quota
De amikor kiadom a "dpkg-buildpackage" parancsot akkor a következőt kapom: "dpkg-parsechangelog: error: cannot open debian/changelog to find format: No such file or directory dpkg-buildpackage: unable to determine source package"
Mindenki ezt a patch-et használja, vagy van jobb?

Előre is köszönöm.

Autodetect

Fórumok

Hell0 mindenki!

Az lenne a kérdésem, h. ha vannak olyan eszközeim, mint digitális kamera, pen-drive, rack-es winyo és ezek nincsenek mindig csatlakoztatva, h. tudnám megoldani, h. automatikusan mountolja őket?

kabel a rengetegben (wireless vs. debian sarge)

Fórumok

udv mindenkinek,

rovid hattertortenet: - volt nekem valaha egy deb 3.1 installalva a laptopomra nagy kuszkodesek aran sikerult beinditanom rajta egy PCI wireless kartyat. szepen mukodott is meg a mult heten, amikor megprobaltam telepiteni a szinten debian alapu ubuntu-t. (mivel a live verzio felismerte a halokartyamat, gondoltam telepitem!) kar volt, ugyanis azon koze a keves emberek koze tartozom, akiknek a gepen nem fut a telepites (hibauzenettel elszall!) mar irtam arra a forumra is ...

a lenyeg, hogy ujra raktam a debian sarge-t, es a dokumentaciok alapjan ahogy telepitettem annak idejen probaltam telepiteni a kartyat megint, de nem akar mukodni :( mar vagy 3-4-szer ujratelepitettem a rendszert 2 nap alatt (ami nem annyira lelkesito egy 650Mhz-es gepen :) )

amim van:
ndiswrapper -l
bcm43xx driver present
lsbcmnds driver present
lstinds driver present, hardware present

lspci
[...]
0000:06:00.0 Network controller: Texas Instruments ACX 54Mbps Wireless Interface <- tehat gondolom ezek szerint latja a kartyat (!?)

/etc/network/interfaces
auto lo
iface lo inet loopback
( no es szerintem innen hianyzik a wlan0 vagy akarmi... azt nekem kell(ene) ide beirnom ????)

iwconfig
lo no wireless extensions

sit0 no wireless extensions

( es nyilvan innen is hianyzik a wlan0)

a lenyeg, hogy en letoltottem a rendes driver-t, ami a texas chipsethez kell meg minden (ja, ez egyebkent egy linksys kartya! WPC54G)

no, hat ha tudtok segiteni az nagyon jo lenne... koszi elore is :)

zM

apt fetch

Fórumok

Az mitol lehet vajon, hogy apt-get update lefut, upgrade nem, try --fix-missing, apt-get install bitchx, akarmi nem, mindig try --fix-missing, -f-el sem csinal semmit, sources.list tobbszorosen lellenorizve, tobb, azaz regi illetve friss iso-k telepitve, van olyan, hogy pl egy x-window-system-core bekeri ugye, hogy az akarhany megat lehuzza, leokezom, majd szo nelkul 404-el fut vegig.
Friss telepitesnel, etch es sid sources.list-ekkel probalva.

Scanner problema (genius colorpage vivid III usb)

Fórumok

A fent emlitett scannert felizzadtam debian sarge ala. Mukodesre is tudom birni, ha a /proc/usb/002/00x jogosultsagat 646-ra, akkor userken-t is tudom hasznalni. Ellenkezo esetben device not found a hibauzenet. Mit kell ahhoz konfigolnom, hogy userkent is mukodjon rendesen a scanner??
Kimenetek:
lsusb
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 005: ID 0458:2004 KYE Systems Corp. (Mouse Systems)
Bus 002 Device 002: ID 0458:0036 KYE Systems Corp. (Mouse Systems)
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000

ls -la /dev/usb/scanner*
crw-rw-rw- 1 root root 180, 48 2006-04-07 00:52 /dev/usb/scanner0
crw-rw-rw- 1 root root 180, 49 2006-04-07 00:52 /dev/usb/scanner1
...

cat /etc/sane.d/u12.conf
# U12-SANE Backend configuration file
#

# each device needs at least two lines:
# - [usb] vendor-ID and product-ID
# - device devicename
# i.e. for Plustek (0x07B3) U1212 (0x0001)
# [usb] 0x07B3 0x0001
# device /dev/usbscanner
# or
# device libusb:bbb:ddd
# where bbb is the busnumber and ddd the device number
# make sure that your user has access to /proc/bus/usb/bbb/ddd
#
# additionally you can specify some options
# warmup, lOffOnEnd, lampOff
#
# For autodetection use
# [usb]
# device /dev/usbscanner
#
# or simply
# [usb]
#
# or if you want a specific device but you have no idea about the
# device node or you use libusb, simply set vendor- and product-ID
# [usb] 0x07B3 0x0001
# device auto
#
# NOTE: autodetection is safe, as it uses the info it got
# from the USB subsystem. If you're not using the
# autodetection, you MUST have attached that device
# at your USB-port, that you have specified...
#

[usb] 0x0458 0x2004
device /dev/usb/scanner0
#libusb:002:006

#
# options for the previous USB entry
#
# switch lamp off after xxx secs, 0 disables the feature
option lampOff 300

# warmup period in seconds, 0 means no warmup
option warmup 15

# 0 means leave lamp-status untouched, not 0 means switch off
# on sane_close
option lOffOnEnd 1

#
# for adjusting the default gamma values
#
#option redGamma 1.5
#option greenGamma 1.5
#option blueGamma 1.5
#option grayGamma 1.5

#
# and of course the device-name
#
device auto

#
# to define a new device, start with a new section:
# [usb]
#