OAM and Sharepoint 2013 integration - iis

I'm using Sharepoint server 2013 running on Windows Server 2012R2 and IIS 8.5.
I want to integrate sharepoint 2013 with OAM(Oracle Access Manager) for single sign on purpose. I followed some guides on the internet, but it all use webgate 10g to communicate with OAM server and integrate with sharepoint 2010. I tried to install webgate 10g on IIS 8.5 but it seem doesn't work, maybe compatibility problem. Then i tried install webgate 11g but it doesn't work too.
Here is my event viewer log when i browse the web application that is protected by webgate 11g:
And here is my log in oblog in webgate folder:
2016/04/27#00:12:30.754000 8216 5736 INIT ERROR 0x000003B6 base\oblistrwutil.cpp:225 "Could
not read
file" filename^e:\oracle\product\11.1.1\as_2\webgate\iis/oblix/lang/en-us/globalmsg.xml
2016/04/27#00:12:30.755000 8216 5736 INIT ERROR 0x000003B6 base\oblistrwutil.cpp:225 "Could
not read
file" filename^e:\oracle\product\11.1.1\as_2\webgate\iis/oblix/lang/fr-fr/globalmsg.xml
2016/04/27#00:12:30.755000 8216 5736 INIT ERROR 0x000003B6 base\oblistrwutil.cpp:225 "Could
not read
file" filename^e:\oracle\product\11.1.1\as_2\webgate\iis/oblix/lang/de-de/globalmsg.xml
2016/04/27#00:12:30.755000 8216 5736 INIT ERROR 0x000003B6 base\oblistrwutil.cpp:225 "Could
not read
file" filename^e:\oracle\product\11.1.1\as_2\webgate\iis/oblix/lang/es-es/globalmsg.xml
2016/04/27#00:12:30.755000 8216 5736 INIT ERROR 0x000003B6 base\oblistrwutil.cpp:225 "Could
not read
file" filename^e:\oracle\product\11.1.1\as_2\webgate\iis/oblix/lang/it-it/globalmsg.xml
2016/04/27#00:12:30.755000 8216 5736 INIT ERROR 0x000003B6 base\oblistrwutil.cpp:225 "Could
not read
file" filename^e:\oracle\product\11.1.1\as_2\webgate\iis/oblix/lang/ja-jp/globalmsg.xml
2016/04/27#00:12:30.755000 8216 5736 INIT ERROR 0x000003B6 base\oblistrwutil.cpp:225 "Could
not read
file" filename^e:\oracle\product\11.1.1\as_2\webgate\iis/oblix/lang/ko-kr/globalmsg.xml
2016/04/27#00:12:30.755000 8216 5736 INIT ERROR 0x000003B6 base\oblistrwutil.cpp:225 "Could
not read
file" filename^e:\oracle\product\11.1.1\as_2\webgate\iis/oblix/lang/zh-cn/globalmsg.xml
2016/04/27#00:12:30.755000 8216 5736 INIT ERROR 0x000003B6 base\oblistrwutil.cpp:225 "Could
not read
file" filename^e:\oracle\product\11.1.1\as_2\webgate\iis/oblix/lang/zh-tw/globalmsg.xml
2016/04/27#00:12:30.755000 8216 5736 INIT ERROR 0x000003B6 base\oblistrwutil.cpp:225 "Could
not read
file" filename^e:\oracle\product\11.1.1\as_2\webgate\iis/oblix/lang/pt-br/globalmsg.xml
2016/04/27#00:12:30.858000 8216 5736 INIT ERROR 0x000003B6 base\oblistrwutil.cpp:225 "Could
not read
file" filename^e:\oracle\product\11.1.1\as_2\webgate\iis/config/oblog_config.xml
2016/04/27#00:12:33.213000 8216 1068 CONNECTIVITY ERROR 0x0000211E ..\src\obsocket.cpp:430 "Invalid
hostname for OAM Server defined."
2016/04/27#00:12:35.495000 8216 1068 CONNECTIVITY ERROR 0x0000211E ..\src\obsocket.cpp:430 "Invalid
hostname for OAM Server defined."
2016/04/27#00:12:37.757000 8216 1068 CONNECTIVITY ERROR 0x0000211E ..\src\obsocket.cpp:430 "Invalid
hostname for OAM Server defined."
2016/04/27#00:12:40.016000 8216 1068 CONNECTIVITY ERROR 0x0000211E ..\src\obsocket.cpp:430 "Invalid
hostname for OAM Server defined."
2016/04/27#00:12:40.016000 8216 5736 CONFIG ERROR 0x00000505 ..\src\obconfig.cpp:747 "ObAccess
exception thrown" raw_code^0
2016/04/27#00:12:40.016000 8216 5736 ACCESS_GATE FATAL 0x00001520 ..\src\iisentry_web_gate.cpp:619 "Exception
thrown during WebGate initialization"
2016/04/27#00:12:40.017000 8216 5736 ACCESS_GATE FATAL 0x0000182C ..\src\iisentry_web_gate.cpp:620 "The
AccessGate is unable to contact any Access Servers." raw_code^301
2016/04/27#00:12:40.017000 8216 5736 CONFIG FATAL 0x0000181C ..\src\obconfig.cpp:863 "Oracle
AccessGate API is not initialized." raw_code^204
2016/04/27#00:12:40.017000 8216 5736 CONFIG FATAL 0x0000181C ..\src\obconfig.cpp:863 "Oracle
AccessGate API is not initialized." raw_code^204
2016/04/27#00:12:40.018000 8216 5736 CONFIG FATAL 0x0000181C ..\src\obconfig.cpp:863 "Oracle
AccessGate API is not initialized." raw_code^204
2016/04/27#00:12:40.018000 8216 5736 CONFIG FATAL 0x0000181C ..\src\obconfig.cpp:863 "Oracle
AccessGate API is not initialized." raw_code^204
2016/04/27#00:12:40.018000 8216 5736 CONFIG FATAL 0x0000181C ..\src\obconfig.cpp:863 "Oracle
AccessGate API is not initialized." raw_code^204
2016/04/27#00:12:40.018000 8216 5736 CONFIG FATAL 0x0000181C ..\src\obconfig.cpp:863 "Oracle
AccessGate API is not initialized." raw_code^204
2016/04/27#00:12:40.018000 8216 5736 CONFIG FATAL 0x0000181C ..\src\obconfig.cpp:863 "Oracle
AccessGate API is not initialized." raw_code^204
2016/04/27#00:12:40.019000 8216 5736 CONFIG FATAL 0x0000181C ..\src\obconfig.cpp:863 "Oracle
AccessGate API is not initialized." raw_code^204
I have a question, On webserver IIS, to communicate with OAM Server i just need to install Webgate or need to be install other components? I'm really confused, please help me, thank you all.

You just need to install and Configure WebGate on IIS Webserver.
The OAM hostname is either incorrect or not getting resolved from your IIS box.
2016/04/27#00:12:33.213000 8216 1068 CONNECTIVITY ERROR 0x0000211E
..\src\obsocket.cpp:430 "Invalid hostname for OAM Server defined."
2016/04/27#00:12:35.495000 8216 1068 CONNECTIVITY ERROR 0x0000211E
..\src\obsocket.cpp:430 "Invalid hostname for OAM Server defined."

You must apply BP13 along with the IIS 10g webgate. We have applied patch and it is successfully integrated with Sharepoint 2013 for SSO and WNA.
If any queries revert to me

Related

OSError: [Errno 36] File name too long: while deploying bot on heroku

While deploying this repo on heroku I'm getting error as I mentioned below:
app[worker.1]: OSError: [Errno 36] File name too long: 'filename'
May be getting error because of outdated version of pyrogram ?

Problems with ansible

in the work I have a task to install Zabbix Agent on a list of machines using Ansible.
My problem is that the machines have some cache problems and I tried to solve it using Ansible but with no succed, I've tried using
- command: apt-get install -f
become: true
and also
- name: Update and upgrade apt packages
become: true
apt:
upgrade: yes
update_cache: yes
But always I have an pretty big error message.
fatal: [MACHINE IP]: FAILED! => {"changed": true, "cmd": ["apt-get", "install", "-f"], "delta": "0:01:13.499864", "end": "2018-11-21 17:55:11.172264", "msg": "non-zero return code",
"rc": 100, "start": "2018-11-21 17:53:57.672400", "stderr": "No apport report written because the error message indicates its a followup error from a previous failure.\nNo apport report
written because MaxReports is reached already\nNo apport report written because MaxReports is reached already\nNo apport report written because MaxReports is reached already\nNo apport
report written because MaxReports is reached already\nNo apport report written because MaxReports is reached already\nNo apport report written because MaxReports is reached already\nNo
apport report written because MaxReports is reached already\nNo apport report written because MaxReports is reached already\nNo apport report written because MaxReports is reached already\nNo
apport report written because MaxReports is reached already\nNo apport report written because MaxReports is reached already\nNo apport report written because MaxReports is reached already\nE:
Sub-process /usr/bin/dpkg returned an error code (1)", "stderr_lines": ["No apport report written because the error message indicates its a followup error from a previous failure.",
"No apport report written because MaxReports is reached already", "No apport report written because MaxReports is reached already", "No apport report written because MaxReports is reached
already", "No apport report written because MaxReports is reached already", "No apport report written because MaxReports is reached already", "No apport report written because MaxReports
is reached already", "No apport report written because MaxReports is reached already", "No apport report written because MaxReports is reached already", "No apport report written because
MaxReports is reached already", "No apport report written because MaxReports is reached already", "No apport report written because MaxReports is reached already", "No apport report written
because MaxReports is reached already", "E: Sub-process /usr/bin/dpkg returned an error code (1)"], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state
information...\nThe following packages were automatically installed and are no longer required:\n libcurl3 linux-headers-4.4.0-101 linux-headers-4.4.0-101-generic\n
linux-headers-4.4.0-103 linux-headers-4.4.0-103-generic\n linux-headers-4.4.0-104 linux-headers-4.4.0-104-generic\n linux-headers-4.4.0-109 linux-headers-4.4.0-109-generic\n
linux-headers-4.4.0-112 linux-headers-4.4.0-112-generic\n linux-headers-4.4.0-116 linux-headers-4.4.0-116-generic\n linux-headers-4.4.0-31 linux-headers-4.4.0-31-generic
linux-headers-4.4.0-87\n linux-headers-4.4.0-87-generic linux-headers-4.4.0-96\n linux-headers-4.4.0-96-generic linux-headers-4.4.0-97\n linux-headers-4.4.0-97-generic
linux-headers-4.4.0-98\n linux-headers-4.4.0-98-generic linux-image-4.4.0-101-generic\n linux-image-4.4.0-103-generic linux-image-4.4.0-104-generic\n
linux-image-4.4.0-109-generic linux-image-4.4.0-112-generic\n linux-image-4.4.0-116-generic linux-image-4.4.0-31-generic\n linux-image-4.4.0-87-generic
linux-image-4.4.0-96-generic\n linux-image-4.4.0-97-generic linux-image-4.4.0-98-generic\n linux-image-extra-4.4.0-101-generic linux-image-extra-4.4.0-103-generic\n
linux-image-extra-4.4.0-104-generic linux-image-extra-4.4.0-109-generic\n linux-image-extra-4.4.0-112-generic linux-image-extra-4.4.0-116-generic\n
linux-image-extra-4.4.0-31-generic linux-image-extra-4.4.0-87-generic\n linux-image-extra-4.4.0-96-generic linux-image-extra-4.4.0-97-generic\n
linux-image-extra-4.4.0-98-generic\nUse 'sudo apt autoremove' to remove them.\n0 upgraded, 0 newly installed, 0 to remove and 143 not upgraded.\n15 not fully installed or removed.\nAfter
this operation, 0 B of additional disk space will be used.\nSetting up initramfs-tools (0.122ubuntu8.1) ...\r\nupdate-initramfs: deferring update (trigger activated)\r\nSetting up
linux-firmware (1.157.20) ...\r\nupdate-initramfs: Generating /boot/initrd.img-4.4.0-108-generic\r\nW: mdadm: /etc/mdadm/mdadm.conf defines no arrays.\r\n\r\ngzip: stdout: No space left on
device\r\nE: mkinitramfs failure cpio 141 gzip 1\r\nupdate-initramfs: failed for /boot/initrd.img-4.4.0-108-generic with 1.\r\ndpkg: error processing package linux-firmware
(--configure):\r\n subprocess installed post-installation script returned error exit status 1\r\nSetting up linux-image-4.4.0-139-generic (4.4.0-139.165)
...\r\nRunning depmod.\r\nupdate-initramfs: deferring update (hook will be called later)\r\nThe link /initrd.img is a dangling linkto /boot/initrd.img-4.4.0-138-generic\r\nExamining
/etc/kernel/postinst.d.\r\nrun-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-139-generic /boot/vmlinuz-4.4.0-139-generic\r\nrun-parts:
executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-139-generic /boot/vmlinuz-4.4.0-139-generic\r\nupdate-initramfs: Generating /boot/initrd.img-4.4.0-139-generic\r\nW: mdadm:
/etc/mdadm/mdadm.conf defines no arrays.\r\n\r\ngzip: stdout: No space left on device\r\nE: mkinitramfs failure cpio 141 gzip 1\r\nupdate-initramfs: failed for
/boot/initrd.img-4.4.0-139-generic with 1.\r\nrun-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1\r\nFailed to process /etc/kernel/postinst.d at
/var/lib/dpkg/info/linux-image-4.4.0-139-generic.postinst line 1052.\r\ndpkg: error processing package linux-image-4.4.0-139-generic (--configure):\r\n subprocess installed post-installation
script returned error exit status 2\r\ndpkg: dependency problems prevent configuration of linux-image-extra-4.4.0-139-generic:\r\n linux-image-extra-4.4.0-139-generic
depends on linux-image-4.4.0-139-generic; however:\r\n Package linux-image-4.4.0-139-generic is not configured yet.\r\n\r\ndpkg: error processing package linux-image-extra-4.4.0-139-generic
(--configure):\r\n dependency problems - leaving unconfigured\r\ndpkg: dependency problems prevent configuration of linux-image-generic:\r\n linux-image-generic
depends on linux-image-4.4.0-139-generic; however:\r\n Package linux-image-4.4.0-139-generic is not configured yet.\r\n linux-image-generic depends on linux-image-extra-4.4.0-139-generic;
however:\r\n Package linux-image-extra-4.4.0-139-generic is not configured yet.\r\n linux-image-generic depends on linux-firmware; however:\r\n Package linux-firmware is not
configured yet.\r\n\r\ndpkg: error processing package linux-image-generic (--configure):\r\n dependency problems - leaving unconfigured\r\ndpkg: dependency problems prevent configuration of
linux-generic:\r\n linux-generic depends on linux-image-generic (= 4.4.0.139.145); however:\r\n Package linux-image-generic is not configured yet.\r\n\r\ndpkg: error processing package
linux-generic (--configure):\r\n dependency problems - leaving unconfigured\r\nSetting up linux-image-4.4.0-109-generic (4.4.0-109.132) ...\r\nInternal Error: Could not find image
(/boot/vmlinuz-4.4.0-109-generic)\r\ndpkg: error processing package linux-image-4.4.0-109-generic (--configure):\r\n subprocess installed post-installation script returned error exit
status 2\r\nSetting up linux-image-4.4.0-112-generic (4.4.0-112.135) ...\r\nInternal Error: Could not find image (/boot/vmlinuz-4.4.0-112-generic)\r\ndpkg: error processing package
linux-image-4.4.0-112-generic (--configure):\r\n subprocess installed post-installation script returned error exit status 2\r\nSetting up linux-image-4.4.0-116-generic (4.4.0-116.140)
...\r\nRunning depmod.\r\nupdate-initramfs: deferring update (hook will be called later)\r\nThe link /initrd.img is a dangling linkto /boot/initrd.img-4.4.0-139-generic\r\nExamining
/etc/kernel/postinst.d.\r\nrun-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-116-generic /boot/vmlinuz-4.4.0-116-generic\r\nrun-parts: executing
/etc/kernel/postinst.d/initramfs-tools 4.4.0-116-generic /boot/vmlinuz-4.4.0-116-generic\r\nupdate-initramfs: Generating /boot/initrd.img-4.4.0-116-generic\r\nW: mdadm:
/etc/mdadm/mdadm.conf defines no arrays.\r\n\r\ngzip: stdout: No space left on device\r\nE: mkinitramfs failure cpio 141 gzip 1\r\nupdate-initramfs: failed for
/boot/initrd.img-4.4.0-116-generic with 1.\r\nrun-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1\r\nFailed to process /etc/kernel/postinst.d at
/var/lib/dpkg/info/linux-image-4.4.0-116-generic.postinst line 1052.\r\ndpkg: error processing package linux-image-4.4.0-116-generic (--configure):\r\n subprocess installed
post-installation script returned error exit status 2\r\nSetting up linux-image-4.4.0-138-generic (4.4.0-138.164) ...\r\nRunning depmod.\r\nupdate-initramfs: deferring update
(hook will be called later)\r\nThe link /initrd.img is a dangling linkto /boot/initrd.img-4.4.0-116-generic\r\nExamining /etc/kernel/postinst.d.\r\nrun-parts:
executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-138-generic /boot/vmlinuz-4.4.0-138-generic\r\nrun-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-138-generic
/boot/vmlinuz-4.4.0-138-generic\r\nupdate-initramfs: Generating /boot/initrd.img-4.4.0-138-generic\r\nW: mdadm: /etc/mdadm/mdadm.conf defines no arrays.\r\n\r\ngzip: stdout:
No space left on device\r\nE: mkinitramfs failure cpio 141 gzip 1\r\nupdate-initramfs: failed for /boot/initrd.img-4.4.0-138-generic with 1.\r\nrun-parts:
/etc/kernel/postinst.d/initramfs-tools exited with return code 1\r\nFailed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-4.4.0-138-generic.postinst line
1052.\r\ndpkg: error processing package linux-image-4.4.0-138-generic (--configure):\r\n subprocess installed post-installation script returned error exit status 2\r\nSetting up
linux-image-extra-4.4.0-108-generic (4.4.0-108.131) ...\r\ndepmod: FATAL: could not load /boot/System.map-4.4.0-108-generic: No such file or directory\r\nrun-parts: executing
/etc/kernel/postinst.d/apt-auto-removal 4.4.0-108-generic /boot/vmlinuz-4.4.0-108-generic\r\nrun-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-108-generic
/boot/vmlinuz-4.4.0-108-generic\r\nupdate-initramfs: Generating /boot/initrd.img-4.4.0-108-generic\r\nW: mdadm: /etc/mdadm/mdadm.conf defines no arrays.\r\n\r\ngzip:
stdout: No space left on device\r\nE: mkinitramfs failure cpio 141 gzip 1\r\nupdate-initramfs: failed for /boot/initrd.img-4.4.0-108-generic with 1.\r\nrun-parts:
/etc/kernel/postinst.d/initramfs-tools exited with return code 1\r\ndpkg: error processing package linux-image-extra-4.4.0-108-generic (--configure):\r\n subprocess
installed post-installation script returned error exit status 1\r\ndpkg: dependency problems prevent configuration of linux-image-extra-4.4.0-109-generic:\r\n
linux-image-extra-4.4.0-109-generic depends on linux-image-4.4.0-109-generic; however:\r\n Package linux-image-4.4.0-109-generic is not configured yet.\r\n\r\ndpkg:
error processing package linux-image-extra-4.4.0-109-generic (--configure):\r\n dependency problems - leaving unconfigured\r\ndpkg: dependency problems prevent configuration of
linux-image-extra-4.4.0-112-generic:\r\n linux-image-extra-4.4.0-112-generic depends on linux-image-4.4.0-112-generic; however:\r\n Package linux-image-4.4.0-112-generic is
not configured yet.\r\n\r\ndpkg: error processing package linux-image-extra-4.4.0-112-generic (--configure):\r\n dependency problems - leaving unconfigured\r\ndpkg: dependency
problems prevent configuration of linux-image-extra-4.4.0-116-generic:\r\n linux-image-extra-4.4.0-116-generic depends on linux-image-4.4.0-116-generic; however:\r\n
Package linux-image-4.4.0-116-generic is not configured yet.\r\n\r\ndpkg: error processing package linux-image-extra-4.4.0-116-generic (--configure):\r\n dependency problems -
leaving unconfigured\r\ndpkg: dependency problems prevent configuration of linux-image-extra-4.4.0-138-generic:\r\n linux-image-extra-4.4.0-138-generic depends on
linux-image-4.4.0-138-generic; however:\r\n Package linux-image-4.4.0-138-generic is not configured yet.\r\n\r\ndpkg: error processing package linux-image-extra-4.4.0-138-generic
(--configure):\r\n dependency problems - leaving unconfigured\r\nProcessing triggers for initramfs-tools (0.122ubuntu8.1) ...\r\nupdate-initramfs: Generating
/boot/initrd.img-4.4.0-108-generic\r\nW: mdadm: /etc/mdadm/mdadm.conf defines no arrays.\r\n\r\ngzip: stdout: No space left on device\r\nE: mkinitramfs failure cpio 141 gzip
1\r\nupdate-initramfs: failed for /boot/initrd.img-4.4.0-108-generic with 1.\r\ndpkg: error processing package initramfs-tools (--configure):\r\n subprocess installed post-installation
script returned error exit status 1\r\nErrors were encountered while processing:\r\n linux-firmware\r\n linux-image-4.4.0-139-generic\r\n linux-image-extra-4.4.0-139-generic\r\n
linux-image-generic\r\n linux-generic\r\n linux-image-4.4.0-109-generic\r\n linux-image-4.4.0-112-generic\r\n linux-image-4.4.0-116-generic\r\n linux-image-4.4.0-138-generic\r\n
linux-image-extra-4.4.0-108-generic\r\n linux-image-extra-4.4.0-109-generic\r\n linux-image-extra-4.4.0-112-generic\r\n linux-image-extra-4.4.0-116-generic\r\n
linux-image-extra-4.4.0-138-generic\r\n initramfs-tools", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...",
"The following packages were automatically installed and are no longer required:", " libcurl3 linux-headers-4.4.0-101 linux-headers-4.4.0-101-generic", " linux-headers-4.4.0-103
linux-headers-4.4.0-103-generic", " linux-headers-4.4.0-104 linux-headers-4.4.0-104-generic", " linux-headers-4.4.0-109 linux-headers-4.4.0-109-generic", "
linux-headers-4.4.0-112 linux-headers-4.4.0-112-generic", " linux-headers-4.4.0-116 linux-headers-4.4.0-116-generic", " linux-headers-4.4.0-31 linux-headers-4.4.0-31-generic
linux-headers-4.4.0-87", " linux-headers-4.4.0-87-generic linux-headers-4.4.0-96", " linux-headers-4.4.0-96-generic linux-headers-4.4.0-97", " linux-headers-4.4.0-97-generic
linux-headers-4.4.0-98", " linux-headers-4.4.0-98-generic linux-image-4.4.0-101-generic", " linux-image-4.4.0-103-generic linux-image-4.4.0-104-generic", "
linux-image-4.4.0-109-generic linux-image-4.4.0-112-generic", " linux-image-4.4.0-116-generic linux-image-4.4.0-31-generic", " linux-image-4.4.0-87-generic linux-image-4.4.0-96-generic", "
linux-image-4.4.0-97-generic linux-image-4.4.0-98-generic", " linux-image-extra-4.4.0-101-generic linux-image-extra-4.4.0-103-generic", " linux-image-extra-4.4.0-104-generic
linux-image-extra-4.4.0-109-generic", " linux-image-extra-4.4.0-112-generic linux-image-extra-4.4.0-116-generic", " linux-image-extra-4.4.0-31-generic linux-image-extra-4.4.0-87-generic", "
linux-image-extra-4.4.0-96-generic linux-image-extra-4.4.0-97-generic", " linux-image-extra-4.4.0-98-generic", "Use 'sudo apt autoremove' to remove them.", "0 upgraded, 0 newly
installed, 0 to remove and 143 not upgraded.", "15 not fully installed or removed.", "After this operation, 0 B of additional disk space will be used.", "Setting up initramfs-tools
(0.122ubuntu8.1) ...", "update-initramfs: deferring update (trigger activated)", "Setting up linux-firmware (1.157.20) ...", "update-initramfs: Generating /boot/initrd.img-4.4.0-108-generic",
"W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.", "", "gzip: stdout: No space left on device", "E: mkinitramfs failure cpio 141 gzip 1", "update-initramfs: failed for
/boot/initrd.img-4.4.0-108-generic with 1.", "dpkg: error processing package linux-firmware (--configure):", " subprocess installed post-installation script returned error exit status 1",
"Setting up linux-image-4.4.0-139-generic (4.4.0-139.165) ...", "Running depmod.", "update-initramfs: deferring update (hook will be called later)", "The link /initrd.img is a dangling linkto
/boot/initrd.img-4.4.0-138-generic", "Examining /etc/kernel/postinst.d.", "run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-139-generic /boot/vmlinuz-4.4.0-139-generic",
"run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-139-generic /boot/vmlinuz-4.4.0-139-generic", "update-initramfs: Generating /boot/initrd.img-4.4.0-139-generic", "W: mdadm:
/etc/mdadm/mdadm.conf defines no arrays.", "", "gzip: stdout: No space left on device", "E: mkinitramfs failure cpio 141 gzip 1", "update-initramfs: failed for
/boot/initrd.img-4.4.0-139-generic with 1.", "run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1", "Failed to process /etc/kernel/postinst.d at
/var/lib/dpkg/info/linux-image-4.4.0-139-generic.postinst line 1052.", "dpkg: error processing package linux-image-4.4.0-139-generic (--configure):", "
subprocess installed post-installation script returned error exit status 2", "dpkg: dependency problems prevent configuration of linux-image-extra-4.4.0-139-generic:",
" linux-image-extra-4.4.0-139-generic depends on linux-image-4.4.0-139-generic; however:", " Package linux-image-4.4.0-139-generic is not configured yet.", "",
"dpkg: error processing package linux-image-extra-4.4.0-139-generic (--configure):", " dependency problems - leaving unconfigured", "dpkg: dependency problems prevent configuration of
linux-image-generic:", " linux-image-generic depends on linux-image-4.4.0-139-generic; however:", " Package linux-image-4.4.0-139-generic is not configured yet.", " linux-image-generic
depends on linux-image-extra-4.4.0-139-generic; however:", " Package linux-image-extra-4.4.0-139-generic is not configured yet.", " linux-image-generic depends on linux-firmware;
however:", " Package linux-firmware is not configured yet.", "", "dpkg: error processing package linux-image-generic (--configure):", " dependency problems - leaving unconfigured",
"dpkg: dependency problems prevent configuration of linux-generic:", " linux-generic depends on linux-image-generic (= 4.4.0.139.145); however:", " Package linux-image-generic is not
configured yet.", "", "dpkg: error processing package linux-generic (--configure):", " dependency problems - leaving unconfigured", "Setting up linux-image-4.4.0-109-generic
(4.4.0-109.132) ...", "Internal Error: Could not find image (/boot/vmlinuz-4.4.0-109-generic)", "dpkg: error processing package linux-image-4.4.0-109-generic (--configure):", "
subprocess installed post-installation script returned error exit status 2", "Setting up linux-image-4.4.0-112-generic (4.4.0-112.135) ...", "Internal Error: Could not find image
(/boot/vmlinuz-4.4.0-112-generic)", "dpkg: error processing package linux-image-4.4.0-112-generic (--configure):", " subprocess installed post-installation script returned error exit
status 2", "Setting up linux-image-4.4.0-116-generic (4.4.0-116.140) ...", "Running depmod.", "update-initramfs: deferring update (hook will be called later)", "The link /initrd.img is
a dangling linkto /boot/initrd.img-4.4.0-139-generic", "Examining /etc/kernel/postinst.d.", "run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-116-generic
/boot/vmlinuz-4.4.0-116-generic", "run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-116-generic /boot/vmlinuz-4.4.0-116-generic", "update-initramfs: Generating
/boot/initrd.img-4.4.0-116-generic", "W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.", "", "gzip: stdout: No space left on device", "E: mkinitramfs failure cpio 141 gzip 1",
"update-initramfs: failed for /boot/initrd.img-4.4.0-116-generic with 1.", "run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1", "Failed to process
/etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-4.4.0-116-generic.postinst line 1052.", "dpkg: error processing package linux-image-4.4.0-116-generic (--configure):",
" subprocess installed post-installation script returned error exit status 2", "Setting up linux-image-4.4.0-138-generic (4.4.0-138.164) ...", "Running depmod.",
"update-initramfs: deferring update (hook will be called later)", "The link /initrd.img is a dangling linkto /boot/initrd.img-4.4.0-116-generic", "Examining /etc/kernel/postinst.d.",
"run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-138-generic /boot/vmlinuz-4.4.0-138-generic", "run-parts: executing /etc/kernel/postinst.d/initramfs-tools
4.4.0-138-generic /boot/vmlinuz-4.4.0-138-generic", "update-initramfs: Generating /boot/initrd.img-4.4.0-138-generic", "W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.", "",
"gzip: stdout: No space left on device", "E: mkinitramfs failure cpio 141 gzip 1", "update-initramfs: failed for /boot/initrd.img-4.4.0-138-generic with 1.",
"run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1", "Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-4.4.0-138-generic.postinst line
1052.", "dpkg: error processing package linux-image-4.4.0-138-generic (--configure):", " subprocess installed post-installation script returned error exit status 2",
"Setting up linux-image-extra-4.4.0-108-generic (4.4.0-108.131) ...", "depmod: FATAL: could not load /boot/System.map-4.4.0-108-generic: No such file or directory",
"run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-108-generic /boot/vmlinuz-4.4.0-108-generic", "run-parts: executing /etc/kernel/postinst.d/initramfs-tools
4.4.0-108-generic /boot/vmlinuz-4.4.0-108-generic", "update-initramfs: Generating /boot/initrd.img-4.4.0-108-generic", "W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.", "",
"gzip: stdout: No space left on device", "E: mkinitramfs failure cpio 141 gzip 1", "update-initramfs: failed for /boot/initrd.img-4.4.0-108-generic with 1.",
"run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1", "dpkg: error processing package linux-image-extra-4.4.0-108-generic (--configure):",
" subprocess installed post-installation script returned error exit status 1", "dpkg: dependency problems prevent configuration of linux-image-extra-4.4.0-109-generic:",
" linux-image-extra-4.4.0-109-generic depends on linux-image-4.4.0-109-generic; however:", " Package linux-image-4.4.0-109-generic is not configured yet.", "",
"dpkg: error processing package linux-image-extra-4.4.0-109-generic (--configure):", " dependency problems - leaving unconfigured", "dpkg: dependency problems
prevent configuration of linux-image-extra-4.4.0-112-generic:", " linux-image-extra-4.4.0-112-generic depends on linux-image-4.4.0-112-generic; however:", " Package
linux-image-4.4.0-112-generic is not configured yet.", "", "dpkg: error processing package linux-image-extra-4.4.0-112-generic (--configure):", " dependency problems
- leaving unconfigured", "dpkg: dependency problems prevent configuration of linux-image-extra-4.4.0-116-generic:", " linux-image-extra-4.4.0-116-generic depends on
linux-image-4.4.0-116-generic; however:", " Package linux-image-4.4.0-116-generic is not configured yet.", "", "dpkg: error processing package linux-image-extra-4.4.0-116-generic
(--configure):", " dependency problems - leaving unconfigured", "dpkg: dependency problems prevent configuration of linux-image-extra-4.4.0-138-generic:", "
linux-image-extra-4.4.0-138-generic depends on linux-image-4.4.0-138-generic; however:", " Package linux-image-4.4.0-138-generic is not configured yet.", "",
"dpkg: error processing package linux-image-extra-4.4.0-138-generic (--configure):", " dependency problems - leaving unconfigured", "Processing triggers for initramfs-tools
(0.122ubuntu8.1) ...", "update-initramfs: Generating /boot/initrd.img-4.4.0-108-generic", "W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.", "", "gzip: stdout: No space left on device",
"E: mkinitramfs failure cpio 141 gzip 1", "update-initramfs: failed for /boot/initrd.img-4.4.0-108-generic with 1.", "dpkg: error processing package initramfs-tools (--configure):",
" subprocess installed post-installation script returned error exit status 1", "Errors were encountered while processing:", " linux-firmware", " linux-image-4.4.0-139-generic",
" linux-image-extra-4.4.0-139-generic", " linux-image-generic", " linux-generic", " linux-image-4.4.0-109-generic", " linux-image-4.4.0-112-generic", " linux-image-4.4.0-116-generic",
" linux-image-4.4.0-138-generic", " linux-image-extra-4.4.0-108-generic", " linux-image-extra-4.4.0-109-generic", " linux-image-extra-4.4.0-112-generic",
" linux-image-extra-4.4.0-116-generic", " linux-image-extra-4.4.0-138-generic", " initramfs-tools"]}
When I try to install it without Ansible everything works fine until I tried to start the service
-- Unit zabbix-agent.service has begun starting up.
Nov 22 16:03:00 FRPARUDASTOH02 zabbix_agentd[2748]: zabbix_agentd [2748]: /etc/zabbix/zabbix_agentd.conf.d: [2] No such file or directory
Nov 22 16:03:00 FRPARUDASTOH02 systemd[1]: zabbix-agent.service: Control process exited, code=exited status=1
Nov 22 16:03:00 FRPARUDASTOH02 systemd[1]: Failed to start Zabbix Agent.
-- Subject: Unit zabbix-agent.service has failed
-- Defined-By: systemd
The Linux that I'm sing are Ubuntu 16
There are lots of stdout: No space left on device messages in that log.
Your /var may be full and causing numerous issues.

Cassandra 3.11 throwing error "Exiting due to error while processing commit log during initialization"

I installed Cassandra using brew on mac, it was working fine for few days. But now it started throwing the error without changing anything in yaml file.
Connection error: ('Unable to connect to any servers', {'127.0.0.1': error(61, "Tried connecting to [('127.0.0.1', 9042)]. Last error: Connection refused")})
So I tried to update Cassandra using brew to 3.11. Now while starting Cassandra I am getting this error.
ERROR [main] 2017-09-20 12:52:02,732 JVMStabilityInspector.java:82 - Exiting due to error while processing commit log during initialization.
org.apache.cassandra.db.commitlog.CommitLogReadHandler$CommitLogReadException: Encountered bad header at position 157007 of commit log /usr/local/var/lib/cassandra/commitlog/CommitLog-6-1505888222471.log, with bad position but valid CRC
at org.apache.cassandra.db.commitlog.CommitLogSegmentReader$SegmentIterator.computeNext(CommitLogSegmentReader.java:113) [apache-cassandra-3.11.0.jar:3.11.0]
at org.apache.cassandra.db.commitlog.CommitLogSegmentReader$SegmentIterator.computeNext(CommitLogSegmentReader.java:84) [apache-cassandra-3.11.0.jar:3.11.0]
at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) [guava-18.0.jar:na]
at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) [guava-18.0.jar:na]
at org.apache.cassandra.db.commitlog.CommitLogReader.readCommitLogSegment(CommitLogReader.java:190) [apache-cassandra-3.11.0.jar:3.11.0]
at org.apache.cassandra.db.commitlog.CommitLogReader.readAllFiles(CommitLogReader.java:84) [apache-cassandra-3.11.0.jar:3.11.0]
at org.apache.cassandra.db.commitlog.CommitLogReplayer.replayFiles(CommitLogReplayer.java:140) [apache-cassandra-3.11.0.jar:3.11.0]
at org.apache.cassandra.db.commitlog.CommitLog.recoverFiles(CommitLog.java:177) [apache-cassandra-3.11.0.jar:3.11.0]
at org.apache.cassandra.db.commitlog.CommitLog.recoverSegmentsOnDisk(CommitLog.java:158) [apache-cassandra-3.11.0.jar:3.11.0]
at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:325) [apache-cassandra-3.11.0.jar:3.11.0]
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:600) [apache-cassandra-3.11.0.jar:3.11.0]
at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:689) [apache-cassandra-3.11.0.jar:3.11.0]
From this link Cassandra: Exiting due to error while processing commit log during initialization
I got some info about node tool repair. But even node tool repair is not working.
objc[15089]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/bin/java (0x10934b4c0) and /Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x10abba4e0). One of the two will be used. Which one is undefined.
nodetool: Failed to connect to '127.0.0.1:7199' - ConnectException: 'Connection refused (Connection refused)'.
commit log /usr/local/var/lib/cassandra/commitlog/CommitLog-6-1505888222471.log
It sounds like one of your commit log files got corrupted. Remove that file, and restart.
"But even node tool repair is not working."
I wouldn't worry about that. If you're on a single node cluster (ex: your own Mac), repair doesn't have any other nodes to stream data from, so it won't work anyway.

Error while bootstrapping ec2 instance on hosted chef server on azure

I am trying to bootstrap ec2 instance using knife on chef server hosted on azure marketplace. the chef client run fails throwing the following error.
PS C:\Users\xyz\chef-repo> knife ec2 server create -I ami-25c00c46 -f t2.micro
--region ap-southeast-1 -N ec2module
-x ubuntu -i abc.pem -r "role[ec2], role[jenkinserver]" -g sg-9f1b31fa sudo
.ap-southeast-1.compute.amazonaws.com Chef encountered an error attempting to create the client "ec2module"
.ap-southeast-1.compute.amazonaws.com Running handlers:
.ap-southeast-1.compute.amazonaws.com [2016-01-20T11:39:26+00:00] ERROR: Running exception handlers
.ap-southeast-1.compute.amazonaws.com Running handlers complete
.ap-southeast-1.compute.amazonaws.com [2016-01-20T11:39:26+00:00] ERROR: Exception handlers complete
.ap-southeast-1.compute.amazonaws.com Chef Client failed. 0 resources updated in 03 seconds
.ap-southeast-1.compute.amazonaws.com [2016-01-20T11:39:26+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
.ap-southeast-1.compute.amazonaws.com [2016-01-20T11:39:26+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
.ap-southeast-1.compute.amazonaws.com [2016-01-20T11:39:26+00:00] ERROR: undefined method `length' for nil:NilClass
.ap-southeast-1.compute.amazonaws.com [2016-01-20T11:39:26+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
There seems to be a problem with the server SSL certificate and perhaps it is related to Chef issue #4301 (read it).
Try downloading the SSL certificate from the Chef Server:
> knife ssl fetch
Then, you can check it with:
> knife ssl check
I hope this helps.

Puppet-Master / Puppet-Agent Deployment fails due to the puppet modules metadata.json file permissions

I am using the Puppet Master / Puppet Agent deployment in CentOS 6.5 64bits.
My problem is about doing the request from Puppet Agent in order to start the puppet modules's installation. When I execute the following commandline from Puppet-Agent:
puppet agent --server <internal-puppet-server-hostname> --test
The ouput result is:
Info: Retrieving pluginfacts
Error: /File[/var/lib/puppet/facts.d]: Failed to generate additional resources using 'eval_generate': Error 400 on SERVER: Permission denied - /etc/puppet/modules/yum/metadata.json
Error: /File[/var/lib/puppet/facts.d]: Could not evaluate: Could not retrieve file metadata for puppet://<internal-puppet-server-hostname>/pluginfacts: Error 400 on SERVER: Permission denied - /etc/puppet/modules/yum/metadata.json
Info: Retrieving plugin
Error: /File[/var/lib/puppet/lib]: Failed to generate additional resources using 'eval_generate': Error 400 on SERVER: Permission denied - /etc/puppet/modules/yum/metadata.json
Error: /File[/var/lib/puppet/lib]: Could not evaluate: Could not retrieve file metadata for puppet://<internal-puppet-server-hostname>/plugins: Error 400 on SERVER: Permission denied - /etc/puppet/modules/yum/metadata.json
Info: Caching catalog for <internal-puppet-agent-hostname>
Info: Applying configuration version '1440623253'
About the returned response, I show that the problem occurs because of the permissions of metadata.json's file. Then, I've checked the permissions of metadata.json:
-r--------. 1 root root 539 2015-08-18 14:19 metadata.json
Some ideas about error occurs? Thanks.

Resources