В новом дистрибутиве CentOS 7 появились новшества, которые поставили меня в некоторый тупик. Пытаясь разобраться, наткнулся на блог Владимира Драча, который помог разобраться со многими вопросами:
Общедоступный "блокнот" с заметками на случай, если придется повторить то, с чем уже разобрался и запустил.
вторник, 2 июня 2015 г.
среда, 29 октября 2014 г.
Oracle + Linux + Time Zone
Основной симптом: не работает web-интерфейс базы данных Oracle (Enterprise Manager).
Копания в многочисленных и глубоко зарытых лог-файлах наводят на мысль об отказе какого-то агента. Разборки с агентом приводят к проблемам с часовым поясом.
И тут начинается просто магия... (буду благодарен любому, кто доходчиво объяснит всё с научной точки зрения!)
Обновление файлов базы временных зон в Linux (/usr/share/timezone) и создание соответствующей ссылки в /etc/localtime помогает настроить правильную синхронизацию времени, но не решает проблемы с запуском агента. Почему - я так и не смог разобраться.
Решил проблему определением переменной окружения TZ для пользователя oracle, от имени которого запускается база данных:
В файл ".bash_profile" в домашней папке пользователя oracle добавляем строку (для меня - Минск - это временная зона GMT+3 ):
Копания в многочисленных и глубоко зарытых лог-файлах наводят на мысль об отказе какого-то агента. Разборки с агентом приводят к проблемам с часовым поясом.
И тут начинается просто магия... (буду благодарен любому, кто доходчиво объяснит всё с научной точки зрения!)
Обновление файлов базы временных зон в Linux (/usr/share/timezone) и создание соответствующей ссылки в /etc/localtime помогает настроить правильную синхронизацию времени, но не решает проблемы с запуском агента. Почему - я так и не смог разобраться.
Решил проблему определением переменной окружения TZ для пользователя oracle, от имени которого запускается база данных:
В файл ".bash_profile" в домашней папке пользователя oracle добавляем строку (для меня - Минск - это временная зона GMT
TZ='Etc/GMT+3'; export TZПосле этого логинимся в систему под пользователем oracle и выполняем команду:
# ./emctl resetTZ agentЕсли выполняется успешно, то пересобираем репозиторий Enterprise Manager:
# ./emca -config dbcontrol db -repos recreate
вторник, 14 октября 2014 г.
вторник, 24 июня 2014 г.
ASDM is being blocked by Java after an upgrade to Java 7u51
Рабочий вариант решения проблемы:
Try these steps that I took and it should work with Jave 7 u51.
1. Go to the ASA IP address in IE.
2. Select Continue to website. (This is where it asks if you want to install the ASDM Launcher)
3. In the Address Bar click on "Certificate Error" then "View Certificates."
4. Go to Details tab and select "Copy to File" and export the cert to my desktop using the default DER format.
5. Open Java Control Panel and go to "Security" tab and "Manage Certificates."
6. Selected "Secure Site" in drop down box and clicked "Import."
7. Select "All Files" in drop down box, and selected the Cert that I exported from IE.
1. Go to the ASA IP address in IE.
2. Select Continue to website. (This is where it asks if you want to install the ASDM Launcher)
3. In the Address Bar click on "Certificate Error" then "View Certificates."
4. Go to Details tab and select "Copy to File" and export the cert to my desktop using the default DER format.
5. Open Java Control Panel and go to "Security" tab and "Manage Certificates."
6. Selected "Secure Site" in drop down box and clicked "Import."
7. Select "All Files" in drop down box, and selected the Cert that I exported from IE.
Официальное решение с сайта cisco.com (не работает):
Symptom:After installing the Java 7 upgrade 51, ASDM cannot be launched from the browser because it is being blocked by Java due to the JAR file manifest missing the Permissions attribute.
Please note that the same problem is affecting in a Web deployment of AnyConnect. While the problem is the same, AnyConnect is a different application from ASDM and will be handled separately.
Conditions:
All versions of ASDM while Java version 7u51 is running on the client computer.
Workaround:
In order to be able to launch ASDM from the browser, upgrade to ASDM 7.1.5.100.
Since ASDM Launcher does not work with Java version 7u51 (see CSCum57517), upgrading ASDM can be done in one of the following two ways:
1. Manual upgrade via CLI:
- Download 7.1.5.100 ASDM image from cisco.com to you local computer
- Upload it to the ASA (see http://www.cisco.com/en/US/docs/security/asa/asa91/configuration/general/admin_swconfig.html#wp1625334 on how to upload a file to the ASA)
- Issue "asdm image asdm-715100.bin" to set the new image as the ASDM image
- Issue "write mem" to save configuration
2. Add a security exception for the ASA in the Java Control Panel, so that you could launch the current ASDM image and upgrade it from within ASDM:
- Open Java Control Panel
* on Windows: Start > Control Panel > Java Control Panel
* on Mac: click on Java icon in System Preferences
- Go to the Security tab
- In the Exception Site List section at the bottom, click Edit Site List and add the ASA you want to manage with ASDM:
https://
where
Further Problem Description:
Please note that ASDM Launcher does not work with Java 7 update 51. The only way to launch ASDM under Java 7u51 is to use the workaround above and launch ASDM from the browser.
понедельник, 4 июня 2012 г.
ASA: Troubleshoot AIP-SSM
Introduction
This document describes how to troubleshoot the unresponsive state of the Advanced Inspection and Prevention Security Services Module (AIP-SSM) in the Cisco 5500 series Adaptive Security Appliance (ASA)."Use CAP_NET_ADMIN and alias netdev-bondX instead" Message on Boot RHEL 6
При создании bonding'а в RHEL 6 по мануалу во время загрузки появляется предупреждение: "Use CAP_NET_ADMIN and alias netdev-bondX instead".
Я решил его незначительным изменением файла /etc/modprobe.d/bonding.conf
bonding (teaming) сетевых интерфейсов в Linux
CentOS 6 Channel Bonding allows administrators to bind multiple network interfaces together into a single Channel using the bonding kernel module and a special network interface called a channel bonding interface. channel bonding enables two or more network interfaces to act as one, simultaneously increasing the bandwidth and providing redundancy.
Подписаться на:
Сообщения (Atom)