Re: МТА на десктопе
По моему мнению MTA на десктопе сто лет не нужен, но есть некоторые пакеты, которые хотят MTA. Я считаю что ставить всякие постфиксы и эксимы - это безцельно расходовать ресурсы машини, особенно когда система оправляет максимум 1-2 письма в день (пользователи пользуют сервер организации) Как сделать чтоб и волки были сыты (те два письма доставлялись на сервер) и овцы целы (у секретарши на компе небыло МТА, он у нее довольно старый) ? Никто не мешает использовать что-либо иное, например sendEmail или msmtp и т.д. Тут уже вопрос переходит в другую область - кто у Вас с того компьютера отправляет почту? -- To UNSUBSCRIBE, email to debian-russian-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Выбор fake raid контроллера (sata)
Что посоветуете? Хотелось бы приобрести сабж, но так чтобы при этом не было гемороя на свою пятую точку. http://www.adaptec.com/en-US/products/Controllers/Hardware/sata/entry/AAR-1420SA/ -- To UNSUBSCRIBE, email to debian-russian-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re[2]: настройка mod_rewrite
-Original Message- From: Andrey Tataranovich tataranov...@gmail.com To: debian-russian@lists.debian.org Date: Thu, 16 Jul 2009 12:01:28 +0300 Subject: Re: настройка mod_rewrite 2009/7/14, Kirill Brilliantov brillian...@inbox.ru: Приветсвую! В настройках виртульного хоста прописано: RewriteEngine On RewriteRule ^/print/([a-z]+)/?$ /print.php?to=$1 [L] [skipped] Почему это происходит и как с этим бороться? Спасибо. Как этот вопрос соотносится с Debian? Никак. Простите, не знал что тут обсуждается только Debian. По глупости свой всегда считал, что тут происходит общение русскоговорящих пользователей Debian. -- To UNSUBSCRIBE, email to debian-russian-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
настройка mod_rewrite
Приветсвую! В настройках виртульного хоста прописано: RewriteEngine On RewriteRule ^/print/([a-z]+)/?$ /print.php?to=$1 [L] RewriteRule ^/print/([a-z]+)/(int|ext)/?$ /print.php?to=$1q=$2 [L] RewriteRule ^/([a-z]+)/?$ /index.php?to=$1 [L] RewriteRule ^/([a-z]+)/(([a-z]|[0-9])+)/?$ /index.php?to=$1q=$2 [L] Если я хожу по ссылка site.ru/news или site.ru/search, назовем их однокомпонентными, все хорошо. Стоит мне перейти по двукомпонентной ссылке, site.ru/mail/int, так сразу все ссылки получают префикс. Трансформируются из site.ru/news в site.ru/mail/news. В логах следующее: 127.0.0.1 - - [11/Jul/2009:20:14:48 +0400] [office.company.ru/sid#86b5d70][rid#8f9a2a0/initial] (2) rewrite '/mail/int' - '/index.php?to=mailq=int' 127.0.0.1 - - [11/Jul/2009:20:14:48 +0400] [office.company.ru/sid#86b5d70][rid#8f9a2a0/initial] (3) split uri=/index.php?to=mailq=int - uri=/index.php, args=to=mailq=int 127.0.0.1 - - [11/Jul/2009:20:14:48 +0400] [office.company.ru/sid#86b5d70][rid#8f9a2a0/initial] (2) local path result: /index.php 127.0.0.1 - - [11/Jul/2009:20:14:48 +0400] [office.company.ru/sid#86b5d70][rid#8f9a2a0/initial] (2) prefixed with document_root to /var/www/office/index.php 127.0.0.1 - - [11/Jul/2009:20:14:48 +0400] [office.company.ru/sid#86b5d70][rid#8f9a2a0/initial] (1) go-ahead with /var/www/office/index.php [OK] 127.0.0.1 - - [11/Jul/2009:20:14:51 +0400] [office.company.ru/sid#86b5d70][rid#8f96290/initial] (2) init rewrite engine with requested uri /mail/search ^ 127.0.0.1 - - [11/Jul/2009:20:14:51 +0400] [office.company.ru/sid#86b5d70][rid#8f96290/initial] (3) applying pattern '^/print/([a-z]+)/?$' to uri '/mail/search' 127.0.0.1 - - [11/Jul/2009:20:14:51 +0400] [office.company.ru/sid#86b5d70][rid#8f96290/initial] (3) applying pattern '^/print/([a-z]+)/(int|ext)/?$' to uri '/mail/search' Если модифицировать правило установкой флага R, RewriteRule ^/([a-z]+)/(([a-z]|[0-9])+)/?$ /index.php?to=$1q=$2 [L,R], то эффект префикса пропадает и все работает как надо. Но, что естественно, видна строка запроса. Почему это происходит и как с этим бороться? Спасибо. -- To UNSUBSCRIBE, email to debian-russian-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re[2]: Samba: не могу получить список локальных пользователей
С выставлением прав через галочки вроде разобрался, пользователей по-прежнему не могу получить. Проблема похоже локализовывается, Windows сообщает - Следующая ошибка мешает отображению каких-либо элементов: Множественные подключению к серверу или общему ресурсу пользовытелем с использованием более одного имени не разрешены. Отключите все предыдущие подключения к серверу или общему ресурсу и повторите попытку. В конфиге никаких упоминаний по данному вопросу не нашел, Google также не просветил. Подскажите? -- To UNSUBSCRIBE, email to debian-russian-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re[2]: Samba: не могу получить список локальных пользователей
15:43 Tue 30 Jun, Kirill Brilliantov wrote: На Debian Lenny x64 установлена samba 2:3.2.5-4lenny6. [skip] Проблема в следующем - при заходе с Windows через диалог Безопастность не возможно просмотреть пользователей Linux, отображаются только встроенные группы Windows, и не отображаются галочки прав на директорию. При попытке их установить ничего не меняется. При этом с файлами такой проблемы не наблюдается. Проблему с выставлением прав через галочки из Windows решил пересборкой пакетов samba и samba-common, версия 3.0.24-6etch10 из Debian Etch, для Debian Lenny. Работает только на вложенных директориях. В качестве побочного эффекта получил активную вкладку DFS и это без выставления в конфиге msdfs root = y у корневых директорий. Локальных пользователей по прежнему не получается получить. -- To UNSUBSCRIBE, email to debian-russian-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Samba: не могу получить список локальных пользователей
Доброго дня! На Debian Lenny x64 установлена samba 2:3.2.5-4lenny6. Конфиг: [global] workgroup = COMPANY obey pam restrictions = Yes passdb backend = tdbsam passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . syslog = 0 log file = /var/log/samba/samba.log max log size = 1000 acl compatibility = win2k deadtime = 5 socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192 load printers = No show add printer wizard = No dns proxy = No wins server = 192.168.10.240 panic action = /usr/share/samba/panic-action %d invalid users = root admin users = +sambaadmin create mask = 0660 directory mask = 0770 inherit permissions = Yes inherit acls = Yes map acl inherit = Yes hide unreadable = Yes map archive = No map readonly = no store dos attributes = Yes follow symlinks = No dos filemode = Yes [share] path = /samba/share valid users = +sambauser read only = No Файловая система смонтирована с acl: /dev/mapper/vg3-samba /samba ext3 rw,acl 0 0 Права на директорию: drwxrwxr-x 3 root sambauser 4096 2009-06-26 10:28 /samba/share/ Проблема в следующем - при заходе с Windows через диалог Безопастность не возможно просмотреть пользователей Linux, отображаются только встроенные группы Windows, и не отображаются галочки прав на директорию. При попытке их установить ничего не меняется. При этом с файлами такой проблемы не наблюдается. С Linux я нормально получаю список пользователей: net rpc user -U user -S 192.168.10.243 Enter user's password: User name Comment - backup nobody lp sshd root daemon mail Debian-exim news bin user .. Что самое неприятное, все работатет на тестовой машине с Debian Etch x86 и samba 3.0.24-6. В чем проблема? Спасибо. -- To UNSUBSCRIBE, email to debian-russian-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re[2]: Samba: не могу получить список локальных пользователей
15:43 Tue 30 Jun, Kirill Brilliantov wrote: На Debian Lenny x64 установлена samba 2:3.2.5-4lenny6. [skip] Проблема в следующем - при заходе с Windows через диалог Безопастность не возможно просмотреть пользователей Linux, отображаются только встроенные группы Windows, и не отображаются галочки прав на директорию. При попытке их установить ничего не меняется. При этом с файлами такой проблемы не наблюдается. [skip] Что самое неприятное, все работатет на тестовой машине с Debian Etch x86 и samba 3.0.24-6. А с чего бы винде отображать пользователей? Я про то, что винда в домене самбы, нигде и слова не прочел. Да, сеть не доменная, на рабочей группе. С чего отображать - не знаю. Но еще раз обращаю вниманием, что на тестовой машине, Debian Etch x86 и samba 3.0.24-6, я могу просмотреть локальных пользователей и настроить необходимые права. Если же это был баг я хочу его воспроизвести и использовать. -- To UNSUBSCRIBE, email to debian-russian-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
ошибка при компиляции ядра
Доброго дня! Предвижу Ваше возмущение за банальные вопросы, но не откажите в помощи. Возникает следующая ошибка и я не понимаю в чем суть и как исправить. Полный текст ошибки в аттаче error.txt. В ошибке говорится, что нет файла scripts/basic/fixdep.c: [EMAIL PROTECTED] ls -l kernel-source-2.6.8/scripts/basic/ total 36 -rw-r--r-- 1 root root 9759 2004-08-14 09:36 docproc.c -rw-r--r-- 1 root root 9004 2004-08-14 09:36 fixdep.c -rw-r--r-- 1 root root 856 2004-08-14 09:36 Makefile -rw-r--r-- 1 root root 5593 2004-08-14 09:36 split-include.c Но он ведь есть. Но судя по последующим записям заковыка именно в нем. Но что именно не так я, увы, понять не могу. Ядро устанавливалось посредством aptitude install kernel-source-2.6.8. В результате я получил файл kernel-source-2.6.8.tar.bz2, который распаковывал tar -jxvf kernel-source-2.6.8.tar.bz2. Было высказано предположение что нет хедеров ядра. Доустановил. Поставил пакет kernel-header-2.6.8-2, т.к. имею ядро: [EMAIL PROTECTED] apt-cache policy kernel-image-2.6.8-2-686 kernel-image-2.6.8-2-686: Installed: 2.6.8-16sarge1 Candidate: 2.6.8-16sarge1 Version Table: *** 2.6.8-16sarge1 0 500 cdrom://[Debian GNU/Linux 3.1 r1 _Sarge_ - Official i386 Binary-1 (20051218)] unstable/main Packages 500 http://security.debian.org stable/updates/main Packages 500 http://debian.nsu.ru sarge/main Packages 100 /var/lib/dpkg/status 2.6.8-16 0 500 cdrom://[Debian GNU/Linux 3.1 r0a _Sarge_ - Official i386 Binary-1 (20050607)] unstable/main Packages [EMAIL PROTECTED] apt-cache policy kernel-headers-2.6.8-2 kernel-headers-2.6.8-2: Installed: 2.6.8-16sarge1 Candidate: 2.6.8-16sarge1 Version Table: *** 2.6.8-16sarge1 0 500 cdrom://[Debian GNU/Linux 3.1 r1 _Sarge_ - Official i386 Binary-2 (20051218)] unstable/main Packages 500 http://security.debian.org stable/updates/main Packages 500 http://debian.nsu.ru sarge/main Packages 100 /var/lib/dpkg/status 2.6.8-16 0 500 cdrom://[Debian GNU/Linux 3.1 r0a _Sarge_ - Official i386 Binary-1 (20050607)] unstable/main Packages Соответствено директории /usr/src и /usr/include имеют вид: [EMAIL PROTECTED] ls -l /usr/include/ total 8 -rw-r--r-- 1 root root 2076 2005-01-05 01:43 initreq.h lrwxrwxrwx 1 root root 36 2006-11-29 21:09 linux - /usr/src/kernel-source-2.6.8/include lrwxrwxrwx 1 root root 20 2006-11-04 18:34 X11 - ../X11R6/include/X11 drwxr-xr-x 2 root root 4096 2006-02-06 18:12 xchat [EMAIL PROTECTED] ls -l /usr/src total 34116 drwxr-xr-x 16 root root 4096 2006-11-29 21:31 kernel-headers-2.6.8-2 drwxr-xr-x 3 root root 4096 2006-11-29 21:30 kernel-kbuild-2.6-3 drwxr-xr-x 18 root root 4096 2006-11-28 22:20 kernel-source-2.6.8 -rw-r--r-- 1 root root 34880682 2006-09-07 05:12 kernel-source-2.6.8.tar.bz2 Выполнение make menuconfig по-прежнему заканчивается тойже ошибкой. Подскажите, пожалуйста, что я делаю не так? [EMAIL PROTECTED] make menuconfig HOSTCC scripts/basic/fixdep scripts/basic/fixdep.c:97:23: sys/types.h: No such file or directory scripts/basic/fixdep.c:98:22: sys/stat.h: No such file or directory scripts/basic/fixdep.c:99:22: sys/mman.h: No such file or directory scripts/basic/fixdep.c:100:20: unistd.h: No such file or directory scripts/basic/fixdep.c:101:19: fcntl.h: No such file or directory scripts/basic/fixdep.c:102:20: string.h: No such file or directory scripts/basic/fixdep.c:103:20: stdlib.h: No such file or directory scripts/basic/fixdep.c:104:19: stdio.h: No such file or directory In file included from /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h:7, from /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:11, from scripts/basic/fixdep.c:105: /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:122:75: limits.h: No such file or directory scripts/basic/fixdep.c:106:19: ctype.h: No such file or directory scripts/basic/fixdep.c:107:24: netinet/in.h: No such file or directory scripts/basic/fixdep.c: In function `usage': scripts/basic/fixdep.c:121: warning: implicit declaration of function `fprintf' scripts/basic/fixdep.c:121: error: `stderr' undeclared (first use in this function) scripts/basic/fixdep.c:121: error: (Each undeclared identifier is reported only once scripts/basic/fixdep.c:121: error: for each function it appears in.) scripts/basic/fixdep.c:122: warning: implicit declaration of function `exit' scripts/basic/fixdep.c: In function `print_cmdline': scripts/basic/fixdep.c:127: warning: implicit declaration of function `printf' scripts/basic/fixdep.c: At top level: scripts/basic/fixdep.c:130: error: `NULL' undeclared here (not in a function) scripts/basic/fixdep.c: In function `grow_config': scripts/basic/fixdep.c:143: warning: implicit declaration of function `realloc' scripts/basic/fixdep.c:143: warning: assignment makes pointer from integer without a cast scripts/basic/fixdep.c:144: error: `NULL' undeclared (first use in this
Решено: ошибка при компиляции ядра
Спасибо всем откликнувшися. Проблема действительно была из-за отсутствия libc6-dev. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
PPPoE
Здравствуйте, Alexander. Вы писали 22 августа 2005 г., 16:46:00: А можно посмотреть на лог нормального подключения, а также /etc/ppp/options и /ppp/peers/dsl-provider ? Смотрим в man pppd на exit status: 15 The link was terminated because the peer is not responding to echo requests. Пока грешим на MTU. # /etc/ppp/options # Originally created by Jim Knoble [EMAIL PROTECTED] # Modified for Debian by alvar Bray [EMAIL PROTECTED] # Modified for PPP Server setup by Christoph Lameter [EMAIL PROTECTED] # # To quickly see what options are active in this file, use this command: # egrep -v '#|^ *$' /etc/ppp/options # Specify which DNS Servers the incoming Win95 or WinNT Connection should use # Two Servers can be remotely configured # ms-dns 192.168.1.1 # ms-dns 192.168.1.2 # Specify which WINS Servers the incoming connection Win95 or WinNT should use # ms-wins 192.168.1.50 # ms-wins 192.168.1.51 # Run the executable or shell command specified after pppd has # terminated the link. This script could, for example, issue commands # to the modem to cause it to hang up if hardware modem control signals # were not available. #disconnect chat -- \d+++\d\c OK ath0 OK # async character map -- 32-bit hex; each bit is a character # that needs to be escaped for pppd to receive it. 0x0001 # represents '\x01', and 0x8000 represents '\x1f'. asyncmap 0 # Require the peer to authenticate itself before allowing network # packets to be sent or received. # Please do not disable this setting. It is expected to be standard in # future releases of pppd. Use the call option (see manpage) to disable # authentication for specific peers. auth # Use hardware flow control (i.e. RTS/CTS) to control the flow of data # on the serial port. crtscts # Use software flow control (i.e. XON/XOFF) to control the flow of data # on the serial port. #xonxoff # Specifies that certain characters should be escaped on transmission # (regardless of whether the peer requests them to be escaped with its # async control character map). The characters to be escaped are # specified as a list of hex numbers separated by commas. Note that # almost any character can be specified for the escape option, unlike # the asyncmap option which only allows control characters to be # specified. The characters which may not be escaped are those with hex # values 0x20 - 0x3f or 0x5e. #escape 11,13,ff # Don't use the modem control lines. #local # Specifies that pppd should use a UUCP-style lock on the serial device # to ensure exclusive access to the device. lock # Don't show the passwords when logging the contents of PAP packets. # This is the default. hide-password # When logging the contents of PAP packets, this option causes pppd to # show the password string in the log message. #show-password # Use the modem control lines. On Ultrix, this option implies hardware # flow control, as for the crtscts option. (This option is not fully # implemented.) modem # Set the MRU [Maximum Receive Unit] value to n for negotiation. pppd # will ask the peer to send packets of no more than n bytes. The # minimum MRU value is 128. The default MRU value is 1500. A value of # 296 is recommended for slow links (40 bytes for TCP/IP header + 256 # bytes of data). #mru 1500 # Set the interface netmask to n, a 32 bit netmask in decimal dot # notation (e.g. 255.255.255.0). #netmask 255.255.255.0 # Disables the default behaviour when no local IP address is specified, # which is to determine (if possible) the local IP address from the # hostname. With this option, the peer will have to supply the local IP # address during IPCP negotiation (unless it specified explicitly on the # command line or in an options file). #noipdefault # Enables the passive option in the LCP. With this option, pppd will # attempt to initiate a connection; if no reply is received from the # peer, pppd will then just wait passively for a valid LCP packet from # the peer (instead of exiting, as it does without this option). #passive # With this option, pppd will not transmit LCP packets to initiate a # connection until a valid LCP packet is received from the peer (as for # the passive option with old versions of pppd). #silent # Don't request or allow negotiation of any options for LCP and IPCP # (use default values). #-all # Disable Address/Control compression negotiation (use default, i.e. # address/control field disabled). #-ac # Disable asyncmap negotiation (use the default asyncmap, i.e. escape # all control characters). #-am # Don't fork to become a background process (otherwise pppd will do so # if a serial device is specified). #-detach # Disable IP address negotiation (with this option, the remote IP # address must be specified with an option on the command line or in # an options file). #-ip # Disable IPCP negotiation and IP communication. This option should # only be required if the peer is buggy and gets confused by requests # from pppd for IPCP negotiation. #noip # Disable magic number