JAVA_HOME and other Oracle tales

RUS: Открываю заявку на вступление в джентельменский клуб “Пуканы запеченые от продуктов Oracle” принимайте меня! ENG: How to Install JAVA 7 (JDK 7u79) on CentOS/RHEL 7/6/5 and Fedora Configuring Environment Variables Most of Java based application’s uses environment variables to work. Use following commands to set up these variable properly. It’s also good to add following commands to any start-up script like ~/.bashrc or ~/.bash_profile. Setup JAVA_HOME Variable # export JAVA_HOME=/opt/jdk1.7.0_79 Setup JRE_HOME Variable # export JRE_HOME=/opt/jdk1.7.0_79/jre Setup PATH Variable # export PATH=$PATH:/opt/jdk1.7.0_79/bin:/opt/jdk1.7.0_79/jre/bin From: http://tecadmin.net/steps-to-install-java-on-centos-5-6-or-rhel-5-6/# Read more…

How to convert an OVA virtual machine to VHD

This is “How to convert an OVA virtual machine to VHD” guide link My approve for this guide, it’s worked: How to convert an OVA virtual machine to VHD     Read more…

PostgreSQL first run

This is the most common issue for PostgreSQL first run in Linux env: configure the server to allow TCP/IP connections postgresql server it can produce PostgeSQL cannot connect to database host Here I’ll show how to fix it before you struggle with firewall and ports: I’ve found ot here: 17.3. Starting the Database Server and How Do I Enable remote access to PostgreSQL database server? My situation: vi /var/lib/pgsql/data/pg_hba.conf add the string: host all all 10.10.29.0/24 trust with my range and next config: vi /var/lib/pgsql/data/postgresql.conf add the string: listen_addresses=’*’ After that restart the service: systemctl restart postgresql.service also you can use an old ‘service postgresql restart’ [root@centst010 ~]# service postgresql restart Redirecting to /bin/systemctl restart postgresql.service And here it is: [root@centst010Short Read more…

Helix Perforce – the name has changed and that`s all for now

Overview Perforce is a commercial, proprietary revision control system developed by Perforce Software, Inc. The Perforce server manages a central database and a master repository of file versions. Perforce supports both Git clients and clients that use Perforce’s own protocol. A Git client can communicate with the Perforce server over SSH or HTTPS, and other Perforce clients communicate with the server via TCP/IP using a proprietary RPC and streaming protocol. Users submit changed files together in changelists, which are applied as atomic commits. The Perforce database is proprietary, preconfigured, and self-installed. It stores system-related metadata (file state, file attributes, branching and merging history, changelists, change descriptions, users, groups, labels, etc.). Files are identified by namespace (i.e., by OS-neutral filenames). FileShort Read more…

OwnCloud usefull commands

Here I’ll collect useful commands for OwnCloud REFRESH OWNCLOUD FILE CACHE -su apache or webuser php /path/of/owncloud/console.php files:scan –all For user:  /var/www/owncloud/console.php files:scan sharad   But sometimes better to chose option AJAX to scan only specific folder I think. Read more…

All about Atlassian JIRA 2.2

THE problem: Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one of these environment variable is needed to run this program THE investigation: This occurs when you try to run any bat\sh from the jira base dir. version.bat THE solution: from here For my situation, I`ve just add C:\Progra~1\Atlassian\JIRA\jre Right-click the My Computer icon on your desktop and select Properties. Click the Advanced tab. Click the Environment Variables button. Under System Variables, click New. Enter the variable name as JAVA_HOME. Enter the variable value as the installation path for the Java Development Kit. If your Java installation directory has a space in its path name, you should use the shortened path name (e.g.C:\Progra~1\Java\jre6) in the environment variable instead.Short Read more…

ADDM Appliance cannot start, tomcat freeze

This problem happend with me after host with ADDM was unexpectedly. After startup system can not load tomcat end stucks on it like: Starting local Tideway application services Starting Security service: [ OK ] Starting Model service: [ OK ] Starting Vault service: [ OK ] Starting Discovery service: [ OK ] Starting Mainframe Provider service: [ OK ] Starting Phurnace Integration service: [ OK ] Starting SQL Provider service: [ OK ] Starting vSphere Proxy service: [ OK ] Starting CMDB Sync (Exporter) service: [ OK ] Starting CMDB Sync (Transformer) service: [ OK ] Starting Reasoning service: [ OK ] Starting Tomcat: For now I am not sure where problem is and how to catch it, logs does notShort Read more…

All about Atlassian JIRA 2.1 – Atlassian JIRA “AJiraLockedError” and JIRA Startup Failed

Продолжаем мучать свой мозг новыми сюрпризами от JIRA или это я просто такой неудачник: Причина: JIRA Startup Failed The following plugins are required by JIRA, but have not been started: Atlassian JIRA – Plugins – Gadgets Plugin (com.atlassian.jira.gadgets) Atlassian Navigation Links Plugin (com.atlassian.plugins.atlassian-nav-links-plugin) Atlassian JIRA – Plugins – Issue Search (com.atlassian.jira.jira-issue-nav-plugin) Atlassian JIRA – Plugins – Quick Edit Plugin (com.atlassian.jira.jira-quick-edit-plugin) Atlassian REST – Module Types (com.atlassian.plugins.rest.atlassian-rest-module) JIRA Project Config Plugin (com.atlassian.jira.jira-project-config-plugin) Atlassian JIRA – Plugins – REST Plugin (com.atlassian.jira.rest) Opensocial Plugin (com.atlassian.gadgets.opensocial) Applinks Product Plugin (com.atlassian.applinks.applinks-plugin) Atlassian OAuth Service Provider Plugin (com.atlassian.oauth.serviceprovider) Embedded Gadgets Plugin (com.atlassian.gadgets.embedded) Gadget Directory Plugin (com.atlassian.gadgets.directory) Gadget Dashboard Plugin (com.atlassian.gadgets.dashboard) Способ из этого моего поста  может быть бессилен. Копаю дальше. Как оказалось, Jira крайне требовательна к ресурсам,Short Read more…

All about Atlassian JIRA 2

Первые пролблемы возникают на Windows. Линуксовая установка работает норм. JIRA Startup Failed The following plugins are required by JIRA, but have not been started: Atlassian JIRA – Plugins – Gadgets Plugin (com.atlassian.jira.gadgets) Atlassian Navigation Links Plugin (com.atlassian.plugins.atlassian-nav-links-plugin) Atlassian JIRA – Plugins – Quick Edit Plugin (com.atlassian.jira.jira-quick-edit-plugin) Gadget Directory Plugin (com.atlassian.gadgets.directory) Первая возможная причина, как может показаться – нехватка ресурсов оперативной памяти, и как говорит хелп: читать нужно или дать больше РАМ или увеличить время для старта всех плагинов. Так как на виндовой машине у меня 4 Гб рам, а на Центосе всего 2 и все работает, я решил не идти на поводу жадной твари, и просто увеличить время: Plugins require more time to startup: Resolution You would have to edit someShort Read more…

All about Atlassian JIRA

Atlassian JIRA Пришло время взяться за исследование своего первого продукта на работке. На этот релиз мне выпала Atlassian JIRA вот она на фиц. сайте. В пользу продукта говорит то, что его очень просто установить, что он имеет бесплатную версию для некоммерческого использования и доступен как для Windows так и для Linux. По ходу работы мне предстоит выковырять из продукта всю необходимую информацию, после того как он будет установлен и настроен: install root – win+linux version: package active log or .reg license И пока все на этом, если дальше будут усложнять, то нужно будет, возможно проследить еще и каки-нибудь зависимости. Итак, установка: стоит сразу сказать, что установка до неприличного простая на обеих ОС, нужно просто скачать на указанном выше сайте самоустановщики-распаковщики требуемые дляShort Read more…