...
Just my blog

Blog about everything, mostly about tech stuff I made. Here is the list of stuff I'm using at my blog. Feel free to ask me about implementations.

Soft I recommend
Py lib I recommend

I'm using these libraries so you can ask me about them.

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)

Win_Problems.PNG Первая возможная причина, как может показаться - нехватка ресурсов оперативной памяти, и как говорит хелп: читать нужно или дать больше РАМ или увеличить время для старта всех плагинов. Так как на виндовой машине у меня 4 Гб рам, а на Центосе всего 2 и все работает, я решил не идти на поводу жадной твари, и просто увеличить время:

Plugins require more time to startup:

Resolution You would have to edit some parameters so that JIRA provides more time for the plugins to be extracted, instead of cutting it off and assuming that it failed to startup. To do so, please insert …

Read...

All about Atlassian JIRA

Atlassian JIRA

Пришло время взяться за исследование своего первого продукта на работке. На этот релиз мне выпала Atlassian JIRA вот она на фиц. сайте. В пользу продукта говорит то, что его очень просто установить, что он имеет бесплатную версию для некоммерческого использования и доступен как для Windows так и для Linux. По ходу работы мне предстоит выковырять из продукта всю необходимую информацию, после того как он будет установлен и настроен:

  • install root - win+linux
  • version:
    • package
    • active
    • log or .reg
  • license

И пока все на этом, если дальше будут усложнять, то нужно будет, возможно проследить еще и каки-нибудь зависимости. Итак, установка:

стоит сразу сказать, что установка до неприличного простая на обеих ОС, нужно просто скачать на указанном выше сайте самоустановщики-распаковщики требуемые для версий ОС - .exe и .bin.

Windows:

В винде достаточно просто следовать подсказкам, продукт установится под томкатом, вот так:

Windows_Install.PNG

 Из опций доступны просто ярлыки в меню Пуск: …

Read...

ADDM Stopping Reasoning service

ADDM can stuck on reloading.

ADDMrestart ADDM_500 This doesn`t help: Before ADDM 8.2 you will need to restart reasoning directly:

tw_svc_reasoning --daemon stop tw_svc_reasoning --daemon start 

From ADDM 8.2 it is possible to do this in a single step:

sudo /sbin/service tideway restart reasoning 
 

But this does:

[root@addm sbin]# sudo /sbin/service tideway restart
Stopping local Tideway application services
Stopping Application Server service: Could not stop 'process', pid file '/usr/tideway/var/tw_appserver.pid' missing.
[FAILED]
Stopping Reports service: [ OK ]
Stopping Tomcat: [ OK ]
Stopping Reasoning service: [ OK ]
Stopping CMDB Sync (Transformer) service: [ OK ]
Stopping CMDB Sync (Exporter) service: [ OK ]
Stopping vSphere Proxy service: [ OK ]
Stopping SQL Provider service: [ OK ]
Stopping Phurnace Integration service: [ OK ]
Stopping Mainframe Provider service: [ OK ]
Stopping Discovery service: [ OK ]
Stopping Vault service: [ OK ]
Stopping Model service: [ OK ]
Stopping Security service: [ OK ]
Starting local Tideway …

Read...

Update Redmine 2.6*

Redmine_2_6Как-то совсем упустил момент, когда вышли 2 новых версии редмайна с кучей исправлений и вот обновляху сделал. Кое-какие моменты могут обмать процесс, но общий порядок действий прежний, как описан здесь: http://www.trianglesis.org.ua/update-redmine-2-5-2 Возможные проблемы, некоторые исходят из прошлого гайда, чтобы не ругали меня, что я сломал вам редмайн. Смотрим:  

root@tet-redmine www/redmine# bundle install --without development test
You cannot specify the same gem twice with different version requirements.
You specified: shoulda-matchers (= 1.4.1) and shoulda-matchers (>= 0)

Решается просто закомментированием этих строк. Следующий конфликт начнется от того, что в прошлый раз я во время инсталляции просто руками указал версии, и сейчас файл жестко их использует. Нужно также изменить руками версии в файле gemfile.lock все версии на требуемые ниже:

root@tet-redmine www/redmine# bundle install --without development test
Fetching gem metadata from https://rubygems.org/..........
Fetching additional metadata from https://rubygems.org/..
Resolving dependencies...
You have requested:
  rails = 3.2.21
The bundle currently has rails locked at 3.2.19. …

Read...

centos mount smb

Shitty task I can`t resolve:

[root@web-server tmp]# smbclient -L 192.168.1.22 -U samba
WARNING: The security=share option is deprecated
Enter samba's password:
Domain=[TET-AD] OS=[Windows Server 2008 R2 Enterprise 7601 Service Pack 1] Server=[Windows Server 2008 R2 Enterprise 6.1]

        Sharename       Type      Comment
        ---------       ----      -------
        ADMIN$          Disk      Remote Admin
        C$              Disk      Default share
        Data            Disk      Programms install, Driverpacks, Backups etc.
        E$              Disk      Default share
        F$              Disk      Default share
        Files           Disk      An old IDE 160Gb disk for files and torrents
        H (Daemon tools) Disk
        Home            Disk
        Install         Disk      Installation of programms
        IPC$            IPC       Remote IPC
        J$              Disk      Default share
        Music           Disk      Music from tet-server
        Photos          Disk
session request to 192.168.1.22 failed (Called name not present)
session request to 192 failed (Called name not present)
session request to *SMBSERVER failed (Called name not present)
NetBIOS over TCP disabled -- no workgroup available

But when I`m trying to mount it: 1.

[root@web-server tmp]# mount -t …

Read...

php upgrade Centos 6

Bookmarked

rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm

 

# rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

 

# yum --enablerepo=remi,remi-test install httpd php php-common

 

# yum --enablerepo=remi,remi-test install php-pecl-apc php-cli php-pear php-pdo php-mysql php-pgsql php-pecl-mongo php-sqlite php-pecl-memcache php-pecl-memcached php-gd php-mbstring php-mcrypt php-xml

  http://serverfault.com/questions/466394/how-to-upgrade-php-to-5-4-10-on-centos-6-3 https://webtatic.com/packages/php54/ http://superuser.com/questions/615401/upgrading-php-5-3-3-to-5-4-4-in-centos-6-4

Read...

Python array

Начинаю учить Пайтон, буду набивать шпаргалки.

lst = ['spam', 'drums', 100, 1234]
print(lst[2])
100

Это мой первый массив, детка. Спустя время, это может показаться для меня смешным, но сейчас я очень доволен собой.

Read...

vSphere Datastore usage on disk - alert

Yo! Check this out and try to understand why this happens? Alerts saying there is less than 8Gb free on disk: diskusage160 Volume manager - says there is more than 55% free on that volume: diskusage160_REAL OMG WHY? - That is the question. P.S. - Inventory was reloaded, cleared, wiped. vCenter also has been re-installed totally and all SQL dbs was drop. This is the greatest secret of humanity, after reptiloids of course.

Read...

VMware KB: After installing/upgrading to vCenter Server 5.1, the Active Directory domain is not listed when trying to assign permissions

Be aware, if you lost this shit tread - you can possibly lost your evening by reinstalling the vCenter to find the cause - WHY domain is not listen is Users and Groups! VMware KB: After installing/upgrading to vCenter Server 5.1, the Active Directory domain is not listed when trying to assign permissions.

Read...

VMware KB: Reducing the size of the vCenter Server database when the rollup scripts take a long time to run