LINUX.ORG.RU

Сообщения papay

 

Биллинг

Форум — General

Кто знает какую бесплатную Биллинг систему,
чтобы из DBF-файла подсчитать количество звонков на каждое из направлениев,
суммируя стоимость и количество минут/сек?

Я конвертнул DBF используя dbview, подрихтовал кодировку с помощью enconv.
Теперь вид весьма приличный:

Call date  : 02.08.2010 16:17:24
A number   : 7978108
B number   : 810998931234567
Call time  : 00:01:00
Cost       : 2.8800
Zone name  : Uzbekistan (mob)
Type       : МН

Call date  : 30.08.2010 12:25:31
A number   : 7978108
B number   : 83851234567
Call time  : 00:02:00
Cost       : 2.4600
Zone name  : Алтайский край Барнаул (fix)
Type       : МГ

Но мне нужно все это парсить и считать, а мне жаль времени.
Может есть готовое решение?

papay
()

Opsview

Форум — General

Opsview Community edition,
Кто-то использует? Примерный размер сети/ей)? недостатки/достоинства?

Интересут реальный опыт.

спасибо

papay
()

Кто то собирал MPD под Linux?

Форум — General

Сабж, собственно ^^
MPD - Multi-link PPP daemon for FreeBSD

papay
()

zarafa-webaccess language ru_RU.UTF-8

Форум — General

Сабж собственно^^

кто то решил, или нашел, или сам перевел, и желает поделиться?

%)

papay
()

кто тут на память помнит функции Апача?

Форум — General

Доброе утро,

Честно скажу, курил гугл недостаточно. Глянул, чтот не нашел и думаю, что надо у Вас спросить, быстрее будет %)


Есть Апач, который слушает оба порта 80 и 443, но я хочу чтоб при запросе страницы http://бла-бла.ру браузер пользователя автоматически переключался в https://бла-бла.ру

Как сие реализуется в httpd.conf ?

papay
()

собрать Postfix c поддержкой mySQL

Форум — General

Салют трудяги,

Или что-то изменилось, или я просто не могу собрать postfix с поддержкой mySQL для слаки 13.1
Использую этот слакбилд:
http://slackbuilds.org/repository/13.1/network/postfix/
но он без поддержки mySQL.
Читаю readme постфикса:

In order to build Postfix with mysql map support, you will need to add -
DHAS_MYSQL and -I for the directory containing the mysql headers, and the mysqlclient library (and libm) to AUXLIBS, for example:                                                  
    make -f Makefile.init makefiles \                       
    'CCARGS=-DHAS_MYSQL -I/usr/local/mysql/include' \ 
    'AUXLIBS=-L/usr/local/mysql/lib -lmysqlclient -lz -lm'

ОК, правим,
Было:
# TLS, and SASL support
# Postfix unfortunately does not use a handy ./configure script so you
# must generate the makefiles using (what else?) "make makefiles". The
# following includes support for TLS and SASL. It should automatically
# find PCRE and DB3 support. The docs have information for adding
# additional support such as MySQL or LDAP.

make makefiles \
  CCARGS='-DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\" -DUSE_TLS' \
  AUXLIBS="-lssl -lcrypto"

make   
Стало:
make makefiles \
  CCARGS='-DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\" -DUSE_TLS -DHAS_MYSQL -I/usr/include/mysql' \
  AUXLIBS="-lssl -lcrypto -L/usr/lib/mysql -lmysqlclient -lz -lm"

make

При попытке собрать получаю:

gcc -Wmissing-prototypes -Wformat -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\" -DUSE_TLS -DHAS_MYSQL -I/usr/include/mysql -DHAS_PCRE  -g -O -I. -DLINUX2 -c alldig.c
gcc -Wmissing-prototypes -Wformat -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\" -DUSE_TLS -DHAS_MYSQL -I/usr/include/mysql -DHAS_PCRE  -g -O -I. -DLINUX2 -c allprint.c
gcc -Wmissing-prototypes -Wformat -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\" -DUSE_TLS -DHAS_MYSQL -I/usr/include/mysql -DHAS_PCRE  -g -O -I. -DLINUX2 -c argv.c
gcc -Wmissing-prototypes -Wformat -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\" -DUSE_TLS -DHAS_MYSQL -I/usr/include/mysql -DHAS_PCRE  -g -O -I. -DLINUX2 -c argv_split.c
gcc -Wmissing-prototypes -Wformat -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\" -DUSE_TLS -DHAS_MYSQL -I/usr/include/mysql -DHAS_PCRE  -g -O -I. -DLINUX2 -c attr_clnt.c
gcc -Wmissing-prototypes -Wformat -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\" -DUSE_TLS -DHAS_MYSQL -I/usr/include/mysql -DHAS_PCRE  -g -O -I. -DLINUX2 -c attr_print0.c
gcc -Wmissing-prototypes -Wformat -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\" -DUSE_TLS -DHAS_MYSQL -I/usr/include/mysql -DHAS_PCRE  -g -O -I. -DLINUX2 -c attr_print64.c
gcc -Wmissing-prototypes -Wformat -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\" -DUSE_TLS -DHAS_MYSQL -I/usr/include/mysql -DHAS_PCRE  -g -O -I. -DLINUX2 -c attr_print_plain.c
gcc -Wmissing-prototypes -Wformat -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\" -DUSE_TLS -DHAS_MYSQL -I/usr/include/mysql -DHAS_PCRE  -g -O -I. -DLINUX2 -c attr_scan0.c
gcc -Wmissing-prototypes -Wformat -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\" -DUSE_TLS -DHAS_MYSQL -I/usr/include/mysql -DHAS_PCRE  -g -O -I. -DLINUX2 -c attr_scan64.c
gcc -Wmissing-prototypes -Wformat -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\" -DUSE_TLS -DHAS_MYSQL -I/usr/include/mysql -DHAS_PCRE  -g -O -I. -DLINUX2 -c attr_scan_plain.c
gcc -Wmissing-prototypes -Wformat -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\" -DUSE_TLS -DHAS_MYSQL -I/usr/include/mysql -DHAS_PCRE  -g -O -I. -DLINUX2 -c auto_clnt.c
In file included from auto_clnt.c:105:
/usr/include/mysql/events.h:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Event_parse_data'
/usr/include/mysql/events.h:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Event_db_repository'
/usr/include/mysql/events.h:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Event_queue'
/usr/include/mysql/events.h:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Event_scheduler'
/usr/include/mysql/events.h:47: error: expected ')' before 's'
/usr/include/mysql/events.h:70: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Events'
make: *** [auto_clnt.o] Error 1
make: *** [update] Error 1

Где собака порылось, в хидерсах мускуля, код постфикса или в /dev/hands?

papay
()

старенький сервер с SATA

Форум — General

Салют трудягам!

Сервер в стойке, старенький ~6-7 лет.

[root@ftp /home/dmitry]# pciconf -l -cv
hostb0@pci0:0:0:0:      class=0x060000 card=0x342f8086 chip=0x25788086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82875P/E7210 DRAM Controller / Host-Hub Interface'
    class      = bridge
    subclass   = HOST-PCI
    cap 09[e4] = vendor (length 6) Intel cap 3 version 1
pcib1@pci0:0:3:0:       class=0x060400 card=0x00000000 chip=0x257b8086 rev=0x02 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82875P/E7210 PCI to CSA Bridge'
    class      = bridge
    subclass   = PCI-PCI
pcib2@pci0:0:28:0:      class=0x060400 card=0x00000000 chip=0x25ae8086 rev=0x02 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '6300ESB Hub Interface to PCI-X Bridge'
    class      = bridge
    subclass   = PCI-PCI
    cap 07[50] = PCI-X 64-bit bridge supports
uhci0@pci0:0:29:0:      class=0x0c0300 card=0x342f8086 chip=0x25a98086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '6300ESB USB 1.1 UHCI Controller'
    class      = serial bus
    subclass   = USB
uhci1@pci0:0:29:1:      class=0x0c0300 card=0x342f8086 chip=0x25aa8086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '6300ESB USB 1.1 UHCI Controller'
    class      = serial bus
    subclass   = USB
none0@pci0:0:29:4:      class=0x088000 card=0x342f8086 chip=0x25ab8086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '6300ESB Watchdog Timer'
    class      = base peripheral
ioapic0@pci0:0:29:5:    class=0x080020 card=0x342f8086 chip=0x25ac8086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '6300ESB I/O Advanced Programmable Interrupt Controller'
    class      = base peripheral
    subclass   = interrupt controller
    cap 07[50] = PCI-X 64-bit supports 512 burst read, 1 split transaction
ehci0@pci0:0:29:7:      class=0x0c0320 card=0x342f8086 chip=0x25ad8086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '6300ESB USB 2.0 EHCI Controller'
    class      = serial bus
    subclass   = USB
    cap 01[50] = powerspec 2  supports D0 D3  current D0
    cap 0a[58] = EHCI Debug Port at offset 0x80 in map 0x14
pcib3@pci0:0:30:0:      class=0x060400 card=0x00000000 chip=0x244e8086 rev=0x0a hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801 Family (ICH2/3/4/4/5/5/6/7/8/9,63xxESB) Hub Interface to PCI Bridge'
    class      = bridge
    subclass   = PCI-PCI
isab0@pci0:0:31:0:      class=0x060100 card=0x00000000 chip=0x25a18086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '6300ESB LPC Inteface Controller'
    class      = bridge
    subclass   = PCI-ISA
atapci0@pci0:0:31:1:    class=0x01018a card=0x342f8086 chip=0x25a28086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '6300ESB IDE Controller'
    class      = mass storage
    subclass   = ATA
atapci1@pci0:0:31:2:    class=0x01018f card=0x342f8086 chip=0x25a38086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '6300ESB Serial ATA Controller'
    class      = mass storage
    subclass   = ATA
none1@pci0:0:31:3:      class=0x0c0500 card=0x342f8086 chip=0x25a48086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '6300ESB SMBus Controller'
    class      = serial bus
    subclass   = SMBus
em0@pci0:1:1:0: class=0x020000 card=0x342f8086 chip=0x10758086 rev=0x00 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82547EI Gigabit Ethernet Controller'
    class      = network
    subclass   = ethernet
    cap 01[dc] = powerspec 2  supports D0 D3  current D0
vgapci0@pci0:3:0:0:     class=0x030000 card=0x342f8086 chip=0x47521002 rev=0x27 hdr=0x00
    vendor     = 'ATI Technologies Inc'
    device     = 'Rage XL PCI'
    class      = display
    subclass   = VGA
    cap 01[5c] = powerspec 2  supports D0 D1 D2 D3  current D0
fxp0@pci0:3:1:0:        class=0x020000 card=0x342f8086 chip=0x12298086 rev=0x10 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82550/1/7/8/9 EtherExpress PRO/100(B) Ethernet Adapter'
    class      = network
    subclass   = ethernet
    cap 01[dc] = powerspec 2  supports D0 D1 D2 D3  current D0
[root@ftp /home/dmitry]# dmesg |grep ad4
ad4: 953869MB <Seagate ST31000524NS SN11> at ata2-master SATA150
Trying to mount root from ufs:/dev/ad4s1a
ad4: TIMEOUT - READ_DMA retrying (1 retry left) LBA=9916535
ad4: TIMEOUT - READ_DMA retrying (1 retry left) LBA=8533759
ad4: TIMEOUT - READ_DMA48 retrying (1 retry left) LBA=295845648
ad4: TIMEOUT - READ_DMA48 retrying (0 retries left) LBA=295845648
ad4: FAILURE - READ_DMA48 timed out LBA=295845648
g_vfs_done():ad4s1f[READ(offset=136426192896, length=16384)]error = 5
ad4: TIMEOUT - READ_DMA48 retrying (1 retry left) LBA=322190288
ad4: TIMEOUT - READ_DMA48 retrying (0 retries left) LBA=322190288
ad4: FAILURE - READ_DMA48 timed out LBA=322190288
g_vfs_done():ad4s1f[READ(offset=149914648576, length=16384)]error = 5
ad4: TIMEOUT - READ_DMA48 retrying (1 retry left) LBA=344771408
ad4: TIMEOUT - READ_DMA48 retrying (0 retries left) LBA=344771408
ad4: FAILURE - READ_DMA48 timed out LBA=344771408
g_vfs_done():ad4s1f[READ(offset=161476182016, length=16384)]error = 5
ad4: TIMEOUT - READ_DMA48 retrying (1 retry left) LBA=1457267760
ad4: TIMEOUT - READ_DMA48 retrying (0 retries left) LBA=1457267760
ad4: FAILURE - READ_DMA48 timed out LBA=1457267760
g_vfs_done():ad4s1f[READ(offset=731074314240, length=16384)]error = 5
ad4: TIMEOUT - READ_DMA retrying (1 retry left) LBA=19830450
[root@ftp /home/dmitry]#

Стали сыпаться диски. За 2 недели уже второй:

=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   081   065   044    Pre-fail  Always       -       139991064
  3 Spin_Up_Time            0x0003   100   100   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -       7
  5 Reallocated_Sector_Ct   0x0033   009   009   036    Pre-fail  Always   FAILING_NOW 3729
  7 Seek_Error_Rate         0x000f   064   060   030    Pre-fail  Always       -       2969006
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       268
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       7
184 Unknown_Attribute       0x0032   100   100   099    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
188 Unknown_Attribute       0x0032   099   081   000    Old_age   Always       -       38657196070
189 High_Fly_Writes         0x003a   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0022   073   068   045    Old_age   Always       -       27 (Lifetime Min/Max 21/32)
191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       0
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       6
193 Load_Cycle_Count        0x0032   100   100   000    Old_age   Always       -       7
194 Temperature_Celsius     0x0022   027   040   000    Old_age   Always       -       27 (0 20 0 0)
195 Hardware_ECC_Recovered  0x001a   030   029   000    Old_age   Always       -       139991064
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0 

Кабеля менял. Блок питания или контроллер, больше думать не на что :/

papay
()

linux софт для вышивки крестиком

Форум — General

Я знаю,
смешно,,,,
%)

но все же, нужен сабж ^^

P.S. попробовал запустить StitchRu в wine,но к сожалению не отображается левая панель :(

papay
()

(последние обновления Debian Squeeze) у меня одного intel сломался?

Форум — General

Сабж ^^^ cобственно...

ba@d-tel:~$ cat /var/log/Xorg.0.log

X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.32.14-dsa-ia32 i686 Debian
Current Operating System: Linux d-tel 2.6.32-5-686 #1 SMP Tue Jun 1 04:59:47 UTC 2010 i686
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-5-686 root=UUID=c255d4fb-df69-447f-9cc5-ff0661f5ed17 ro quiet
Build Date: 03 June 2010  04:08:50PM
xorg-server 2:1.7.7-2 (Julien Cristau <jcristau@debian.org>) 
Current version of pixman: 0.16.4
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Jul  3 04:20:00 2010
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(==) No Layout section.  Using the first Screen section.
(==) No screen section available. Using defaults.
(**) |-->Screen "Default Screen Section" (0)
(**) |   |-->Monitor "<default monitor>"
(==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
        Entry deleted from font path.
(==) FontPath set to:
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/100dpi/:unscaled,
        /usr/share/fonts/X11/75dpi/:unscaled,
        /usr/share/fonts/X11/Type1,
        /usr/share/fonts/X11/100dpi,
        /usr/share/fonts/X11/75dpi,
        /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
        built-ins
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
(II) Loader magic: 0x81eac60
(II) Module ABI versions:
        X.Org ANSI C Emulation: 0.4
        X.Org Video Driver: 6.0
        X.Org XInput driver : 7.0
        X.Org Server Extension : 2.0
(++) using VT number 7

(--) PCI:*(0:0:2:0) 8086:29c2:1043:82b0 Intel Corporation 82G33/G31 Express Integrated Graphics Controller rev 16, Mem @ 0xfea80000/524288, 0xe0000000/268435456, 0xfe900000/1048576, I/O @ 0x0000dc00/8
(II) Open ACPI successful (/var/run/acpid.socket)
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
        compiled for 1.7.7, module version = 1.0.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 2.0
(II) Loading extension SELinux
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
        compiled for 1.7.7, module version = 1.0.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
        compiled for 1.7.7, module version = 1.0.0
        ABI class: X.Org Server Extension, version 2.0
(==) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions/librecord.so
(II) Module record: vendor="X.Org Foundation"
        compiled for 1.7.7, module version = 1.13.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
        compiled for 1.7.7, module version = 1.0.0
        ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
        compiled for 1.7.7, module version = 1.1.0
        ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(==) Matched intel as autoconfigured driver 0
(==) Matched vesa as autoconfigured driver 1
(==) Matched fbdev as autoconfigured driver 2
(==) Assigned the driver to the xf86ConfigLayout
(II) LoadModule: "intel"
(II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
(II) Module intel: vendor="X.Org Foundation"
        compiled for 1.7.7, module version = 2.9.1
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 6.0
(II) LoadModule: "vesa"
(II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
(II) Module vesa: vendor="X.Org Foundation"
        compiled for 1.7.7, module version = 2.3.0
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 6.0
(II) LoadModule: "fbdev"
(II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
(II) Module fbdev: vendor="X.Org Foundation"
        compiled for 1.7.6.901, module version = 0.4.2
        ABI class: X.Org Video Driver, version 6.0
(II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
        i810-dc100, i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G,
        E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
        965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
        4 Series, G45/G43, Q45/Q43, G41, B43, Clarkdale, Arrandale
(II) VESA: driver for VESA chipsets: vesa
(II) FBDEV: driver for framebuffer: fbdev
(II) Primary Device is: PCI 00@00:02:0
(WW) Falling back to old probe method for vesa
(WW) Falling back to old probe method for fbdev
(II) Loading sub module "fbdevhw"
(II) LoadModule: "fbdevhw"
(II) Loading /usr/lib/xorg/modules/linux/libfbdevhw.so
(II) Module fbdevhw: vendor="X.Org Foundation"
        compiled for 1.7.7, module version = 0.0.2
        ABI class: X.Org Video Driver, version 6.0
(EE) open /dev/fb0: No such file or directory
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: drmOpenMinor returns 9
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
(II) intel(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
(==) intel(0): Depth 24, (--) framebuffer bpp 32
(==) intel(0): RGB weight 888
(==) intel(0): Default visual is TrueColor
(II) intel(0): Integrated Graphics Chipset: Intel(R) G33
(--) intel(0): Chipset: "G33"
(II) intel(0): Output VGA1 has no monitor section
(II) intel(0): EDID for output VGA1
(II) intel(0): Output VGA1 disconnected
(WW) intel(0): No outputs definitely connected, trying again...
(II) intel(0): Output VGA1 disconnected
(WW) intel(0): Unable to find initial modes
(==) intel(0): video overlay key set to 0x101fe
(EE) intel(0): No modes.
(II) UnloadModule: "intel"
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

papay
()

wiki

Форум — General

Трудяги,

Мне тут поручили для локальных нужд компании прикрутить wiki, а я с сим не знаком.

Особых пожеланий к движку нет, поэтому посоветуйте что знаете. На грабли наступать времени не будет, хочется прикрутить и забыть. А модерить и контент набивать будут другие.

Спасибо.

P.S. положить думаю на FreeBSD сервер%)

papay
()

Часы настенные

Форум — Talks

Салют Трудяги,
Ищу купить (Москва) часы настенные с Туксом или дьяволенком BSD.

Помню что где-то раньше видел, а сейчас не могу найти...

papay
()

flow-capture

Форум — General

Салют,
чтот гугл не куриться,,,,

дано:
1) man flow-capture
flow-capture [флаги-флаги, bla-bla -blaaa] localip/remoteip/port
...
.....
When the remoteip is configured only flows from that exporter will be processed, this is the most secure and recommended configuration. When the localip is configured flow-capture will only process flows sent to the localip IP address. If remoteip is 0 (not configured) flows from any source IP address are accepted.
.....
...........

2) Два BGP роутера, в разных подсетях, шлют NetFlow на центральный коллектор.

Вопрос: Как собирать NetFlow, одним процессом, слушая только два IP?


Исходя из мана, flow-capture позволяет или с одного IP или со всех.

Спасибо:)

P.S. 2 процесса flow-capture не хочу:)

papay
()

crontab != manually

Форум — General

Дано:

1)

root@nfCollector /usr/local/bin]# uname -a
FreeBSD nfCollector.bla-bla.ru 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009     root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

2)

[root@nfCollector /home/dmitry]# crontab -l
7       *       *       *       *      /usr/local/bin/send2billing.sh
*/5     *       *       *       *      /usr/local/bin/mrtg /usr/local/etc/mrtg/mrtg.cfg

Как и положено крон отрабатывает каждые 5 минут, на на странице cpu.html вижу: время после инициализации устройства 'NetFlow-Collector': 14748 суток, 12:05:01..

че за хрень..??!!

Делаю вручную /usr/local/bin/mrtg /usr/local/etc/mrtg/mrtg.cfg проверяю: время после инициализации устройства 'NetFlow-Collector': 1 суток, 06:04:41..

В чем разница команды от root в ручную или тож самое от root но кроном?

P.S.

[root@nfCollector /usr/local/bin]# grep NetFlow-Collector /usr/local/www/mrtg/cpu.html
����� ����� ������������� ���������� <strong>'NetFlow-Collector'</strong>: <strong>14748 �����</strong>, <strong>12:05:01</strong>..
[root@nfCollector /usr/local/bin]# /usr/local/bin/mrtg /usr/local/etc/mrtg/mrtg.cfg
[root@nfCollector /usr/local/bin]# grep NetFlow-Collector /usr/local/www/mrtg/cpu.html
����� ����� ������������� ���������� <strong>'NetFlow-Collector'</strong>: <strong>1 �����</strong>, <strong>06:01:28</strong>..
[root@nfCollector /usr/local/bin]

papay
()

Remote Power Switch(и), кто юзает, порекомендуйте

Форум — General

Салют трудягам,

Remote Power Switch(и) от какого производителя используете? Что у нас можно купить с хорошим соотношением цены и качества?

Мне нужна пара >= 8ми портов и пара на 1-2 порта

Спасибо

papay
()

В бинарном файле удалить все совпадающие с «эталоном» куски

Форум — General

Есть кусок (48 байт) бинарного кода, и есть другой БОЛЬШОЙ бинарный файл. Нужно в БОЛЬШОМ файле удалить все эти повторяющиеся по 48 байт «кусочки».

Организовать это типа в пайпе: БОЛЬШОЙ файл | фильтр | новый БОЛЬШОЙ файл

Признателен за мысли по этому поводу ...

papay
()

порекомендуйте ftp-клиент для FreeBSD, для отпраки логов NetFlow

Форум — General

Салют трудяги,

Есть сервер FreeBSD, который коллектор NetFlow. Нужно отправлять логи по ftp на другой сервер.

Какой ftp-клиент порекомендуете прикрутить?

спасибо

papay
()

NetAms авторизацию пользователей (iptables -P FORWARD QUEUE)

Форум — General

Салют Трудяги,

Ubuntu Sever 9.10
Linux routerNAT 2.6.31-14-generic-pae #48-Ubuntu SMP Fri Oct 16 15:22:42 UTC 2009 i686 GNU/Linux

настраиваю в NetAms авторизацию пользователей.
Для этого включаю: iptables -P FORWARD QUEUE
получаю, сообщение: iptables: Bad policy name

В dmesg вижу: no IPv6 routers present
курю гугл,
решаю: ну и х..рн с этим ipv6
Гружусь с выключенным ipv6.

Снова пробую: iptables -P FORWARD QUEUE
и плучаю тот же ответ: iptables: Bad policy name

Снова смотрю dmesg:
[ 21.772767] CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
[ 21.772777] nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
[ 21.772784] sysctl net.netfilter.nf_conntrack_acct=1 to enable it.

OK, золотая рыбка, отключим и это.
А вот фиг мне!, но оно не отключается, т.е. ошибок не выдает, но и не отключает.

Курю гугл и нахожу, что сие старый баг:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/296024


Вопрос к проходившим этот квест:
За какое яйцо нужно подергать кабана, чтобы iptables -P FORWARD QUEUE применился, и я получил: /proc/sys/net/ip_queue ?


Спасибо!

papay
()

router+NAT+webмордовая статистика, на чем построить?

Форум — General

Здравствуйте,

Есть бездисковый терминал. Нужно загрузиться с USB, поднять NAT и считать какой IP и сколько забрал с нэта. Данные накапливать и выдавать вэб-мордой на один из хостов.

Какой букет порекомендуете?
или может уже есть готовые решения...

спасиб

papay
()

Одесса - Москва

Форум — Talks

Салют трудяги,

Вопрос не по теме сайта.

Не хочу где-то специально регистрироваться, чтоб задать этот вопрос. Надеюсь найти здесь того, кто в курсе.

По личным обстоятельствам мне нужно переехать из Одессы в Москву, снять квартиру и устроиться работать ~ 1 год.
Проблема в том, что я уже давно не интересуюсь новостями и не знаю какие сейчас в России законы. В Москве последний раз был в 1991 году и догадываюсь, что с тех пор что-то могло и поменяться%)

Теперь вопрос:
Могу ли я просто приехать сейчас в Москву (предварительно сняв квартиру) и заняться поиском работы? Или я должен регистрироваться и получать какие то разрешения и т.п.

Вопросом я еще совсем не интересовался и буду рад если кто нормально объяснит, как мне поступить.

Прошу глупости тут не говорить, а ответить только если в курсе дел.

Заранее благодарен!


P.S. Работу естественно хочу по специальности, сертифицирован CCNA и LPIC-2.

papay
()

Asus eeeBox

Форум — General

Собственно САБЖ^^

Как то проскакивало в новостях, помню где то читал. То ли бубунта, то ли федора то ли мандрива была спец. сборки под это чудо. Там вАще родной Линух стоит, но какой то совсем урезанный по самое ... Раньше не обращал внимания т.к. не нужно было, а теперь когда перепало эт счастье так и начал вспоминать где видел. Так вроде погуглил, но чтот все не то.

Если кто помнит или имеет это чудо, подскажите.

спасибо :)

papay
()

RSS подписка на новые темы