Technology and troubleshooting.

Wednesday, November 11, 2020

Cisco Any Connect VPN installation failed : Rolling Back Windows. There is a problem with the windows installer package....

Many of us might have noticed the below error message while installing Cisco Any Connect VPN on Windows computers.

Error Message: There is a problem with the windows installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.

Cisco Any Connect VPN installation failed : Rolling Back Windows. There is a problem with the windows installer package....

 Reason: There could be an issue with Signature Verification of the Package.

Below is the screenshot of the error message, post this error the installation status will be " Rolling Back" and the installation gets failed.

Cisco Any Connect VPN installation failed : Rolling Back Windows. There is a problem with the windows installer package....

When you contact your system admins, they might say there could be an issue with the Operating System files.

Of course, we have to do basic checks on Anti Virus software which may block such installation.

After doing a little bit of research we had found the actual issue. To overcome this issue, follow the below procedures:

*    On your Windows computer go to Advanced Boot Options by pressing F8 (or based on the manufacturer) while rebooting the computer.

*     For the older version of Windows the Advanced Boot Options will be shown as below.

Cisco Any Connect VPN installation failed : Rolling Back Windows. There is a problem with the windows installer package....

*    To get into the Advanced boot options page for Windows 10, hold the Shift key and click restart. Once restarted you will see the options as in the below screenshot.


Cisco Any Connect VPN installation failed : Rolling Back Windows. There is a problem with the windows installer package....

Follow these steps to disable the signature verification, Click Troubleshoot > Startup setting > 

Restart. Now you will get Startup Setting Options (refer below image), on this screen click F7 to Disable the " Driver Signature Environment"

After this, your system will get restarted and the Cisco Anyconnect VPN installation will not be an issue :-)

Cisco Any Connect VPN installation failed : Rolling Back Windows. There is a problem with the windows installer package....

Share:

Thursday, February 27, 2020

tshark: The file to which the capture would be saved ("xxxx.pcap") could not be opened: Permission denied.

tshark: The file to which the capture would be saved ("xxxx.pcap") could not be opened: Permission denied.

This tutorial describes how to fix tshark: The file to which the capture would be saved ("xxxx.pcap") could not be opened: Permission denied. I doing some research with tshark on Linux. While starting my research i get stuck with error Permission denied unable to redirect the wireshark output into file.

tshark: The file to which the capture would be saved ("xxxx.pcap") could not be opened: Permission denied.


I was running tshark in root. It is the most privileged account in Linux even though i got the same error message  tshark: The file to which the capture would be saved ("xxxx.pcap") could not be opened: Permission denied.

Error:-

  tshark: The file to which the capture would be saved ("xxxx.pcap") could not be opened: Permission denied.

Solution:-

Redirect the output other than / root. What i did, I just create a folder called capture on /home/.

[root@syslog ~]# mkdir -p /home/capture
Run the capture again capture the packet on different path.

[root@syslog ~]# sudo tshark -i ens192 -w /home/capture/mycapt.pcap  Running as user "root" and group "root". This could be dangerous.
Capturing on 'ens192'
96 ^C
[root@syslog ~]# ls -alFh /home/capture/
total 16K
drwxr-xr-x. 2 root root  25 Nov 12 12:58 ./
drwxr-xr-x. 5 root root  53 Nov 12 12:58 ../
-rw-------. 1 root root 13K Nov 12 12:59 mycapt.pcap

tshark: The file to which the capture would be saved ("xxxx.pcap") could not be opened: Permission denied.

 


Share:

Saturday, November 4, 2017

MS PowerPoint: server application, source file, or item can't be found, or returned an unknown error. You may need to reinstall the server application

MS PowerPoint: server application, source file, or item can't be found, or returned an unknown error. You may need to reinstall the server application

This tutorial describes how to fix server application, source file, or item can't be found, or returned an unknown error. You may need to reinstall the server application in MS PowerPoint. Today Morning I received a call from the customer. They unable to insert the PDF object into the Microsoft PowerPoint 2010. I Just look into that machine and resolved the reported problem.
Unable to insert PDF file in Microsoft PowerPoint
Error:-
server application, source file, or item can't be found, or returned an unknown error. You may need to reinstall the server application.png
Solution:- These are the steps followed to resolve this issue.


Step#1 Install the DDL:- regsvr32 %systemroot%\system32\ole32.dll
                              DLL installation
Step#2 Disable Protected Mode by going to Edit > Preferences > General  [Deselecting or Uncheck the Radio Button] Enable Protected Mode at startup.
                              
Step#3 Restart Reader and the PowerPoint.
I hope this information is useful for you. Please forgive any typos or incomplete sentences.
Share:

Monday, October 2, 2017

A Free and Simple Network Device Configuration Change Management Solution in CLI using puTTY.

Have you had trouble tracking changes to devices in you infrastructure.?
Do you not have budget to spend a pretty penny on log management software

I faced the same issue some time ago and it had me thinking.
What is the best way to keep track of the changes made while also reducing the effort it takes to document, validate and rollback the changes if necessary, without having to spend on costly and/or complicated software.

Without further ado, let us get to the crux of the solution by explaining how it works first and then giving you the method i used to implement it.
A Free and Simple Network Device Configuration Change Management Solution in CLI using puTTY.

There maybe better ways to go about this. If you have any, please highlight it in the comments below.

_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

The Command Line Interface is most often used to make configuration changes to network devices and Linux systems with the help of a terminal emulator using SSH or Telnet.

We make use of one of the most famous terminal emulator puTTY.

Putty is a small but versatile emulator with a wide variety of features and functions.

The feature we would be using would be the session logging feature.

What we do is, create a custom profile in putty with a predestined location and save a time-stamped log file to that location every time putty is invoked.

It would be best to have the latest version of puTTY for this to work, but it may work in earlier versions as well.

-----------------

I went about accomplishing this in a windows system by tweaking the registry settings for putty, under [HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\

Under that create a new custom profile that stores the log files in a centralized location. This is invoked every time putty is opened with a batch script.

Here's an example to the reg file and batch script, which you can modify and use according to your needs.

Modify and save the following as a .reg file.


--------------------------------------------------------------------------------------------------------
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\check]
"LogFileName"="\\\\<Share Location>\\Network Change Log\\&Y-&M-&D-&T.log"
"LogType"=dword:00000001

---------------------------------------------------------------------------------------------------------
I have saved it as Netmon.reg and I have named the custom puTTY profile as check.

I have written the script in such a way that the reg file is imported automatically, even if it is not present, in case the script is started in a new machine.

-----------------------------------------_________________________-----------------------------------
@ECHO off

net use L: /d
net use L: \\<Share Location>
reg query HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\check

if %ERRORLEVEL% EQU 1 goto INSTALL
REM if %ERRORLEVEL% is true reg is not installed.
start putty.exe -t -l "check" REM Starts a putty session with check profile loaded
pause...
EXIT /B

:INSTALL
pause...
xcopy "\\<Share>\Network Change Log\Setup\Netmon.reg" %TEMP% /Y REM copy the reg file to REM temp folder
reg import %TEMP%\Netmon.reg
pause...
start putty.exe -t -l "check"

---------------------------------------------_________________________--------------------------------------

We can also convert the above batch script to exe, using a simple batch script to exe converter and customize further to suit individual needs and requirements.

Hope this will be simple way for you to keep track of changes.


Share:

Monday, February 20, 2017

Configure Static IP Address and enable SSH for root a/c in kali linux

How to Configure Static IP Add and enable SSH for root a/c in kali linux and fix ifdown: interface eth0 not configured in kali linux
Configure Static IP Address and enable SSH for root ac in kali linux
step@1

Configure Static IP Address
#vi /etc/network/interfaces
iface eth0 inet static
address 192.168.46.128 [Your Linux machine IP]
netmask 255.255.255.0 [Your Netmask address]
broadcast 192.168.46.255 [Your Broadcast address]
gateway 192.168.46.1 [Your Gateway address]
Write the changes using :wq!

Step@2

Fix ifdown: interface eth0 not configured Error
#vi /run/network/ifstate
eth0=eth0
Write the changes using :wq!
#ifdown eth0
#ifup eth0


Step@3

Enable SSH for root a/c in kali linux
#vi /etc/ssh/sshd_config
# Authentication section
change from "PermitRootLogin without-password" to PermitRootLogin yes
 PermitRootLogin yes
Write the changes using :wq!


That's all :)
I hope this information is useful for you. Please forgive any typos or incomplete sentences.

Share:

Wednesday, January 11, 2017

Set download limit for yum

This tutorial describes how to set download limit for yum. By default there is no throttle limit for yum update, install and upgrade. yum updates consumes all the bandwidth in a network while downloading the yum updates. Overcome this we need to set throttle to limit the download speed for yum.
Set download limit for yum

[Redhat/Centos/Fedora] has an option which allows you to limit the download rate.
Step #1: Open the Linux terminal and travel to /etc/yum.conf using favourite editor.
[root@localhost ~]# vim /etc/yum.conf
add the following line at the end of the yum.conf
throttle=250k

Example:- To set throttle for yum
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=5
bugtracker_url=http://bugs.centos.org/set_project.php?project_id=23&ref=http://bugs.centos.org/bug_report_page.php?category=yum
distroverpkg=centos-release
#This entry will limit the download rate to 250 kilobytes per second
throttle=250k 
That's it..
I hope this information is useful for you. Please forgive any typos or incomplete sentences.
Share:

Friday, November 11, 2016

Determining if ip address is already in use for device eth0 Centos

This tutorial describes how to fix determining if ip address is already in use for device eth0 while configuring the networking and do a network restart this error may occurred.



root@techlanda ~# service network restart Shutting down interface eth0: [ OK ] Shutting down loopback interface: [ OK ] Bringing up loopback interface: [ OK ] Bringing up interface eth0: Determining if ip address 10.26.112.35 is already in use for device eth0... Determining if ip address 10.26.112.35 is already in use for device eth0... Determining if ip address 10.26.112.35 is already in use for device eth0... root@techlanda ~#


Solution:- Something on the network is replaying that difference MAC address that one cause this error message Determining if ip address is already in use for device eth0. 
Just add this to your interface eth0 file.
ARPCHECK=no

root@techlanda ~# find /etc/sysconfig/network-scripts/ -name ifcfg-eth0\* -type f -exec sh -c 'echo ARPCHECK=no >> $1' -- {} \; root@techlanda ~# cat /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=none NM_CONTROLLED=no ONBOOT=yes TYPE=ethernet NETWORK=10.26.112.0 NETMASK=255.255.255.0 IPADDR=10.26.112.35 ARPCACHE=no root@techlanda ~# service network restart
Shutting down interface eth0: [ OK ]
Shutting down loopback interface: [ OK ] Bringing up loopback interface: [ OK ]
Bringing up interface eth0: [ OK ]
root@techlanda ~#

I hope this information is useful for you. Please forgive any typos or incomplete sentences.

Share:

Contributors

Popular Posts