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.
- Mobaxterm SSH RDP FTP...
- Thunderbird Email client
- Filezilla FTP client/server
- Nirsoft Win utils
- Sysinternals Win utils
- Pi-Hole AD block by DNS
- NUT UPS manager
- Rpi MON Raspberry monitoring
- Free CAD 3D modelling
- Free Commander Far-like filemanager
- Bitwarden Password manager
- Django web framework
- celery multi-tasking
- celery-beat Celery + Django
- celery-results Celery + Django
- Pillow Python image lib
- wsgi mod Apache + Python
- requests best in WEB requests
- openpyxl make Excell docs
- p4python Perforce + Python
- paramiko SSH + Python
- pyvmomi ESXi Vcenter + Python
I'm using these libraries so you can ask me about them.
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 not say anything, or maybe I still not found THAT log. So, the fastest way to get ADDM to work: Load in your appliance from livecd To to init.d and move file tideway.sh in any safety place Load into ADDM host without starting tideway services Then move previously copied tideway.sh to it's own place and run:
/etc/init.d/tideway {start|stop|status|restart|reload|condrestart|condstart|help}
You probably can see that tomcat does not start still, but now you can cancel it and after run:
Starting local Tideway application services Starting Tomcat: [root@addm opt]# /etc/init.d/tideway condstart
This will try to start all services which not started yet, and may start tomcat also. This guide does not fix the problem, in the next reboot or appliance restart this shitty tomcal will freeze again, twis guide is just to force run ADDM. UPD: Just like this magic looks:
[root@addm ~]# service tideway start 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: ^C [root@addm ~]# service tideway condstart Starting missing local Tideway application services Starting Reports service: [ OK ] Starting Application Server service: [ OK ] [root@addm ~]# service tideway tomcat status Usage: /etc/init.d/tideway {start|stop|status|restart|reload|condrestart|condstart|help} [root@addm ~]# service tideway status Security (pid 1477) is running... Model (pid 1527) is running... Vault (pid 1678) is running... Discovery (pid 1724) is running... Mainframe Provider (pid 1802) is running... Phurnace Integration (pid 1863) is running... SQL Provider (pid 1937) is running... vSphere Proxy (pid 2010) is running... CMDB Sync (Exporter) (pid 2090) is running... CMDB Sync (Transformer) (pid 2152) is running... Reasoning (pid 2202) is running... Tomcat (pid 2467) is running... Reports (pid 4455) is running... Application Server (pid 4507) is running...