LINUX.ORG.RU

Сообщения pehser

 

SSL сертификат

Добрый день, купил ssl сертификат нужно поставить на zimbra. Но пороблемы с валидацие.
есть
privat.key.txt
domen.crt
ca_1.crt
ca_2.crt

делаю

# cat ./domen.crt ./ca_1.crt ./ca_2.crt > commercial_ca.crt

подкоректировал перенос строк
проверяю
# openssl verify -show_chain -CAfile ./commercial_ca.crt ./domen.crt


C = US, ST = New Jersey, L = Jersey City, O = The USERTRUST Network, CN = USERTrust RSA Certification Authority
error 2 at 2 depth lookup: unable to get issuer certificate
error ./domen.crt: verification failed

Подскажите в чем ошибка?

 ,

pehser
()

Размер жосткого диска

Есть сервак на debian, к нему куплено виртуальное доп жосткий диск 160гб. Решил я увеличить этот жосткий до 200гб. хостер позволяет изменять размер ...
но вот df -h все равно показует 160Gb, подскажите как систему заставит увидеть все 200?

# fdisk -l

Disk /dev/vda: 160 GiB, 171798691840 bytes, 335544320 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 809E5597-A6A8-4E47-A55E-523CE9071214

Device      Start       End   Sectors   Size Type
/dev/vda1  227328 335544286 335316959 159.9G Linux filesystem
/dev/vda14   2048     10239      8192     4M BIOS boot
/dev/vda15  10240    227327    217088   106M Microsoft basic data

Partition table entries are not in disk order.


Disk /dev/sda: 200 GiB, 214748364800 bytes, 419430400 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

# mount /dev/sda /mnt/volume_ams3_01

# df -h


Filesystem      Size  Used Avail Use% Mounted on
udev            3.9G     0  3.9G   0% /dev
tmpfs           799M   81M  718M  11% /run
/dev/vda1       155G  104G   51G  68% /
tmpfs           3.9G     0  3.9G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           3.9G     0  3.9G   0% /sys/fs/cgroup
/dev/vda15      105M  3.6M  101M   4% /boot/efi
tmpfs           799M     0  799M   0% /run/user/1000
/dev/sda        159G  134G   18G  89% /mnt/volume_ams3_01

 ,

pehser
()

zimbra акаунт АД игнор блокировки

Есть АД и zimbra учетки синхронизированы, но зимбра при авторизации всегда лезет в АД и проверяет пароль, сделал чтобы после двух раз не правильного ввода пароля учетка в зимбре блокировалась, блокирует все хорошо но даже если учтка заблокирована зимбра все равно лезет в АД сверяться (после 5 ошибок банится учетка в АД), как настроить если учетка в zimbre забанина не надо лезть в АД?

 ,

pehser
()

exim smtp

Доброго времени суток, есть веб сервак с почтой exim начил сыпаться спам, такое впечетление что подключаются по smtp к ящику и с него спамят, можно ли настроить так чтоб из вне подключаться к smtp для рассылке нельзя было, только локально скриптам. Насколько я понимаю что если закрыть 25 порт из вне то внешнию почту не будет приходить ... Надо чтоб приходила

 , ,

pehser
()

Тунель IP IP падает

Поднял тунель IPIP debian - mikrotik
Все работает, но современем, с mikrotik, перестает пинговаться, но если пустить с debian ping на микротик то пинговаться начинает с обоих сторон.
Как сделать чтоб тунель «незасыпал»?

P.S

auto tun0
iface tun0 inet static
address 192.168.0.2
netmask 255.255.255.0
up ifconfig tun0 multicast
pointopoint 192.168.0.1
pre-up ip tunnel add tun0 mode ipip local 10.133.255.156 remote 10.133.46.154 ttl 255
post-down iptunnel del tun0

 , ,

pehser
()

https работает не стабильно

Перевели сайт на https сайт то нормально работает то подвисает на процесе TSL руко пожатие и либо вист этот процес либо не открывается вообше «Не удается получить доступ к сайту» хотя по http все открывается влет. Посдкажите как можно решить эту проблему

P.S.
Сертификат COMODO

 , ,

pehser
()

iptables не пускает ftp

Настроил Iptables но теперь не пускает на ftp

-P INPUT ACCEPT
-P FORWARD ACCEPT
-P OUTPUT ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -p tcp -m multiport --dports 20,21,50000:50400 -j ACCEPT
-A INPUT -p udp -m udp --dport 20 -j ACCEPT
-A INPUT -p tcp -m multiport --dports 80,443,8083 -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A INPUT -j REJECT --reject-with icmp-port-unreachable

Подскажите где ошибка?

 ,

pehser
()

Клавиатура genius k220

У данной клавиатуры есть подстветка и для этого специально кнопка scroll Lock в биосе и видовсе все правильно, а вот в manjaro нажатие на кнопку scroll Lock ни чего не дает но при нажатии алт+шифт происходит вкл/вык подсветки. Как сделать чтоб и в linux реакция была на scroll Lock ?

 ,

pehser
()

права на запись через ftp

Добрый день помогите решить задачку
есть два пользователя
pehser и work
домашняя папка у pehser
/home/pehser
у work
/home/pehser/work

в папку /home/pehser/work пользователь work заливает файлы через ftp (vsftpd)
по после этого пользователь pehser не может их редактировать.
подскажите как правильно настроить чтобы оба пользователя могли работать в этой папке и могли редактировать друг друга файлы?

 ,

pehser
()

Скорость работы сайта

Есть vps
1 процесорный - 1Гц
1 гб - ram
debian 7

И есть физический камп в локалке
2 процесора по 1.6Гц
2 Гб - ram
ubuntu 12.4

Взял сайт с vps пренес на локальный сервак в итоге сайт открывается на локальном 1.8s а на vps 980ms

в чем может быть причина что на локальном серваке медлене работает?


 

pehser
()

востановить базу mysql

после проблем на серваке
из базы пропали некотрые таблицы
при по пытке сделать бекап через mysqldump
по этим таблицам видем
mysqldump: Couldn't execute 'show create table ... Table ... doesn't exist (1146)
при старте сервера вижу
[info] Checking for tables which need an upgrade, are corrupt or were
not closed cleanly..

подскажите можно ли их както востановить бекапа нету :(

mysqlcheck --check-upgrade --all-databases --auto-repair -u root -p
mysql_upgrade --force -u root -p
не помогли
Error : Table '...' doesn't exist
status : Operation failed

 ,

pehser
()

не обновляется сервак

помогите решить не могу обновить систему и установить тоже ни чего не получается

aptitude safe-upgrade
The following packages will be upgraded:
acpi-support-base apache2 apache2-mpm-prefork apache2-suexec apache2-utils apache2.2-bin apache2.2-common apt-utils at bind9 bind9-host bind9utils bsd-mailx ca-certificates cpio dbus dnsutils
dovecot-core dovecot-imapd dovecot-pop3d exim4 exim4-base exim4-config exim4-daemon-heavy grub-common grub-pc grub-pc-bin grub2-common host krb5-locales libapache2-mod-php5 libapr1 libbind9-80 libdns88
libgpgme11 libisc84 libisccc80 libisccfg82 liblwres80 libpq5 libsystemd-login0 locales locales-all mime-support multiarch-support mutt mysql-server-5.5 ntp ntpdate openssh-client openssh-server openssl
php5 php5-cgi php5-cli php5-common php5-gd php5-mcrypt php5-mysql phpmyadmin procmail proftpd-basic python python-minimal python-reportbug python2.7 python2.7-minimal reportbug rsyslog tzdata unzip wget
whois
The following partially installed packages will be configured:
initscripts
The following packages are RECOMMENDED but will NOT be installed:
consolekit
73 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/56.4 MB of archives. After unpacking 5,658 kB will be freed.
Do you want to continue? [Y/n/?] y
Reading changelogs... Done
Extracting templates from packages: 100%
Preconfiguring packages ...
Setting up initscripts (2.88dsf-41+deb7u1) ...
insserv: warning: script 'S99selinux' missing LSB tags and overrides
insserv: warning: script 'S97DbSecuritySpt' missing LSB tags and overrides
insserv: warning: script 'selinux' missing LSB tags and overrides
insserv: warning: script 'DbSecuritySpt' missing LSB tags and overrides
insserv: There is a loop between service selinux and single if started
insserv: loop involving service single at depth 11
insserv: loop involving service selinux at depth 10
insserv: loop involving service rsyslog at depth 9
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service selinux and single if started
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on single and therefore on system facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on single and therefore on system facility `$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing initscripts (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
initscripts
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:

 

pehser
()

Не открываются файлы на русском

не открываются, файлы с рукими именами может кто подскажет куда копать?
OS: manjaro
DE: kf5
фото ошибки
http://i61.tinypic.com/140hqo9.png

 , ,

pehser
()

Немогу подключиться к SMTP из вне

Такая трабла на хосте стоит exim4
если на хосте сделать сделать
telent 1.1.1.1 25
220 domen ESMTP Exim 4.80 Wed, 10 Dec 2014 11:51:16 +0200

а если с внешней тачки сделать
telent 1.1.1.1 25
telnet: Unable to connect to remote host: Нет маршрута до узла

netstat -nlp|grep 25
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 2682/exim4
tcp6 0 0 :::25 :::* LISTEN 2682/exim4

iptables пуст

подскажите как сделать чтоб подключалось из вне

 ,

pehser
()

Права на сеть

Решил ребенка наказать на месяц лишения инета, начал смотреть в сторону групп, у ее пользователя только гаппа с именем ее юзера, беглы просмотр гугла навел только на iptable но там тоже не все понял.
Подскажите как для определенного юзера на кампе закрыть доступ к сети?

pehser
()

Krusader и длинные файлы

Подскажите пожалусто можно ли встроенный редактор krusadera настроить чтоб он нормально и быстро открывал длинные файлы пример открыть даже http://code.jquery.com/jquery-1.10.2.min.js
уже за труднения увеличение количества строк решает пролему с открытием но в файле работать практически не возможно - очень тормазит.
Встроенный редактор doublecmd в лет открывает данный фаил :(

pehser
()

Переход с 32 на 64

Вообшем было у меня 4Гб RAM добавил еше 2ГБ и система их не видет, насколько понимаю то проблема в том что система 32битная, может кто подсказать как коректно прейти на 64бит
система arch

pehser
()

wget скачать все картинки товара с сайта

Нужно скачать все картинки товара с сайта http://shop.guess.com/en/
по пробовал через wget
wget -r --level=5 -R http://s7d5.scene7.com/is/image/* http://shop.guess.com/en/

но получил такое
--2013-03-03 20:24:11-- http://shop.guess.com/en/
Распознаётся shop.guess.com (shop.guess.com)... 23.67.143.158
Подключение к shop.guess.com (shop.guess.com)|23.67.143.158|:80... соединение установлено.
HTTP-запрос отправлен. Ожидание ответа... 302 Moved Temporarily
Адрес: http://www.guess.com [переход]
--2013-03-03 20:24:12-- http://www.guess.com/
Распознаётся http://www.guess.com (http://www.guess.com)... 23.14.94.64, 23.14.94.8
Подключение к http://www.guess.com (http://www.guess.com)|23.14.94.64|:80... соединение установлено.
HTTP-запрос отправлен. Ожидание ответа... 302 Moved Temporarily
Адрес: http://www.guess.com/worldofguess/ [переход]
--2013-03-03 20:24:12-- http://www.guess.com/worldofguess/
Повторное использование соединения с http://www.guess.com:80.
HTTP-запрос отправлен. Ожидание ответа... 200 OK
Длина: 8698 (8,5K) [text/html]
Сохранение в каталог: ««shop.guess.com/en/index.html»».

100%[======================================>] 8.698 --.-K/s за 0,05s

2013-03-03 20:24:12 (168 KB/s) - «shop.guess.com/en/index.html» сохранен [8698/8698]

ЗАВЕРШЕНО --2013-03-03 20:24:12--
Общее время: 1,0s
Загружено: 1 файлов, 8,5K в 0,05s (168 KB/s)

подскажите как коректо сделать скачку картинок товаров

pehser
()

lpr не видет принтер

делаю командочку чтоб проверить lpr cat ~/1 | lpr получаю lpr: lp: unknown printer

хотя sudo lpstat -p printer GP-5860II is idle. enabled since Птн 17 Авг 2012 15:23:12

система ubuntu 12.4 подскажите куда копать

pehser
()

Откуда запущен процес

Подскажите как можно определить от куда был запущен процесс
на пример запустил процесс top вот теперь хочу увидеть полный путь откуда он запустился (/usr/bin/top)
пробовал с разными ключами запускать ps но в результате в CMD один и тот же результата «top»

pehser
()

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