Header Shadow Image


Archive for the 'NIX Posts' Category

iPhone Bricked: Update or Recovery

Had the misfortune of experiencing of doing the Apple equivalent of bricking my iPhone while doing an iOS update.  Why did I do an iOS update?  Well here's how I did this without any data loss. 

Lost Thunderbird Settings and Folders

Lost Thunderbird settings and folders?  All settings in our Thunderbird were reset after a string of events including recent upgrade and some random reboots from apparent hardware issues.  Irrespective, file corruption occurred. 

INFO: failed to start postgres / Permissions should be u=rwx (0700).

Getting this?  root ? / ? data ? patroni ? systemctl status patroni ? patroni.service – Runners to orchestrate a high-availability PostgreSQL    Loaded: loaded (/etc/systemd/system/patroni.service; enabled; vendor preset: disabled)    Active: active (running) since Sun 2020-07-12 17:52:48 EDT; 17s ago  Main PID: 10991 (patroni)    CGroup: /system.slice/patroni.service            ??10991 /usr/bin/python2 /bin/patroni /etc/patroni.yml Jul 12 17:53:04 psql01.nix.mds.xyz patroni[10991]: 1184 […]

Bash: PowerLine Configuration under a User Account

Let's setup Powerline to make our prompts look like this in CentOS! How to do this?  Follow the following set of steps to configure this within a non privilidged user account without having to modify many target server root owned files or install any packages in the target UNIX systems. Install powerline using pip3 Python […]

Cloudera: No Java JDK is detected on the host.

Getting this?   "No Java JDK is detected on the host."   One reason for this is a missing symlink /usr/java/latest :   [root@cm-awn01 java]# ls -l /usr/java total 0 drwxr-xr-x 7 root root 245 May 11 00:39 jdk1.8.0_181-cloudera   lrwxrwxrwx 1 root root  21 May 27 13:27 latest -> jdk1.8.0_181-cloudera   [root@cm-awn01 java]#   GL, SC  

Cloudera and Azure: WrongHost: Peer certificate subjectAltName does not match host, expected , got DNS:host01.dom.com, DNS:host02.dom.com, DNS:host03.dom.com

So you're getting this while trying to connect Cloud Hosts to your local Cloudera Infrastructure? WrongHost: Peer certificate subjectAltName does not match host, expected dhcp-100-0-0-100.remote.user.isp.com, got DNS:srv-c01.cdh.local.hst, DNS:cm-r01nn01.cdh.local.hst, DNS:cm-r01nn02.cdh.local.hst

ERROR    (10 skipped) Error sending messages to firehose (retry): mgmt-HOSTMONITOR

Getting this? [24/May/2020 23:08:13 +0000] 5385 MonitorDaemon-Reporter throttling_logger ERROR    (10 skipped) Error sending messages to firehose (retry): mgmt-HOSTMONITOR-a6c8a202b717eae93da5e0a53f184c3a Traceback (most recent call last):   File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/cmf/monitor/firehose.py", line 125, in _send     self._requestor.request('sendAgentMessages', dict(messages=UNICODE_SANITIZER(messages)))   File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/avro/ipc.py", line 141, in request     return self.issue_request(call_request, message_name, request_datum)   File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/avro/ipc.py", line 254, in issue_request […]

ERR NSMMReplicationPlugin CSN not found, we aren’t as up to date, or we purged

Getting below errr? May 24 13:49:11 idmipa03 ns-slapd: [24/May/2020:13:49:11.182396698 -0400] – ERR – NSMMReplicationPlugin – changelog program – repl_plugin_name_cl – agmt="cn=meToidmipa04.mws.mds.xyz" (idmipa04:389): CSN 5dd194af000000040000 not found, we aren't as up to date, or we purged May 24 13:49:11 idmipa03 ns-slapd: [24/May/2020:13:49:11.183726430 -0400] – ERR – NSMMReplicationPlugin – send_updates – agmt="cn=meToidmipa04.mws.mds.xyz" (idmipa04:389): Data required to update […]

kernel: ns-slapd: segfault at ip sp error 4 in libc-2.17.so

Getting this? kernel: ns-slapd: segfault at <ADDR> ip <ALPHA> sp <ALPHA> error 4 in libc-2.17.so Check free memory (/var/log/dirsrv/slapd-MWS-MDS-XYZ/errors): [root@idmipa04 slapd-MWS-MDS-XYZ]# cat errors|tail -n 30 [23/May/2020:16:33:18.519974074 -0400] – WARN – NSACLPlugin – acl_parse – The ACL target cn=casigningcert cert-pki-ca,cn=ca_renewal,cn=ipa,cn=etc,dc=mws,dc=mds,dc=xyz does not exist [23/May/2020:16:33:18.522332851 -0400] – WARN – NSACLPlugin – acl_parse – The ACL target cn=casigningcert […]

DEBUG The ipa-server-upgrade command failed, exception: ScriptError: CA did not start in 300.0s

Getting this? /var/log/ipaupgrade.log 2020-05-23T23:32:58Z ERROR IPA server upgrade failed: Inspect /var/log/ipaupgrade.log and run command ipa-server-upgrade manually. 2020-05-23T23:32:58Z DEBUG   File "/usr/lib/python2.7/site-packages/ipapython/admintool.py", line 178, in execute     return_value = self.run()   File "/usr/lib/python2.7/site-packages/ipaserver/install/ipa_server_upgrade.py", line 56, in run     raise admintool.ScriptError(str(e)) ?2020-05-23T23:16:22Z DEBUG The ipa-server-upgrade command failed, exception: ScriptError: CA did not start in 300.0s […]


     
  Copyright © 2003 - 2013 Tom Kacperski (microdevsys.com). All rights reserved.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License