About these ads

Firefox Error code: sec_error_reused_issuer_and_serial

The correct way to solve is to regenerate a new certificate on the device you’re connecting to.
Or to update the firmware of this device.

Error code: sec_error_reused_issuer_and_serial

If it is not possible, enter in this folder and delete these two files
%APPDATA%\Mozilla\Firefox\Profiles\<random.string>
cert_override.txt
cert8.db

Restart Firefox. Try again and if it doesn’t solve, remove all the certificates on Firefox options.

You may also want to install this extension Skip Cert Error. It will skip the confirmation for self-generated certificates. Valuable for the IT professionals. Since you won’t be adding the certificate permanently, this error won’t show again. Remember to check the option “has domain mismatch”

Skip Cert Error

Source:
Error code: sec_error_reused_issuer_and_serial

Bug 435013 – Cert error “sec_error_reused_issuer_and_serial” (e.g. for Linksys devices) cannot be overridden

About these ads

Scanning for new disk in a VMware host running Suse Linux 10 SP4

Scanning for new disk in a VMware host running Suse 10 SP4

root@linux:~ # cat /etc/*release
SUSE Linux Enterprise Server 10 (x86_64)
VERSION = 10
PATCHLEVEL = 4
LSB_VERSION=”core-2.0-noarch:core-3.0-noarch:core-2.0-x86_64:core-3.0-x86_64″

I use the following command to scan the SCSI bus

root@linux:~ # echo “- – -” > /sys/class/scsi_host/host0/scan

List the disks. It’s the last one

root@linux:~ # fdisk -l

Then I make a partition for the disk. The first time, when there is not a valid DOS partition I like to write and call fdisk again

root@linux:~ # fdisk /dev/sdf
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won’t be recoverable.

The number of cylinders for this disk is set to 9137.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.

Running again and this time creating the partition

root@linux:~ # fdisk /dev/sdf

The number of cylinders for this disk is set to 9137.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-9137, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-9137, default 9137):
Using default value 9137

Command (m for help): t
Selected partition 1
Hex code (type L to list codes): 8e
Changed system type of partition 1 to 8e (Linux LVM)

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.

Add the partition to LVM

root@linux:~ # pvcreate /dev/sdf1
Physical volume “/dev/sdf1″ successfully created

Verify the file system size

root@linux:~ # df -h /usr/oradata/oradvt061t
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/softwarevg-dvt061lv
168G 133G 26G 84% /usr/oradata/oradvt061t

Add the disk to the volume group

root@linux:~ # vgextend softwarevg /dev/sdf1
Volume group “softwarevg” successfully extended

See the characteristics of the volume group

root@linux:~ # vgdisplay softwarevg
— Volume group —
VG Name softwarevg
System ID
Format lvm2
Metadata Areas 4
Metadata Sequence No 11
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 4
Open LV 4
Max PV 0
Cur PV 4
Act PV 4
VG Size 385.98 GB
PE Size 4.00 MB
Total PE 98810
Alloc PE / Size 69376 / 271.00 GB
Free PE / Size 29434 / 114.98 GB
VG UUID 0BsKwN-18al-1TT8-gctq-fRK4-ccJl-fNXL6g

And the disk added

root@dsv080:~ # pvdisplay /dev/sdf1
— Physical volume —
PV Name /dev/sdf1
VG Name softwarevg
PV Size 69.99 GB / not usable 793.00 KB
Allocatable yes
PE Size (KByte) 4096
Total PE 17918
Free PE 17918
Allocated PE 0
PV UUID 21Q3wb-2tKn-xUdP-9ZBa-tqbp-vhvS-MhSbVt

Increase the logical volume using the new disk

root@linux:~ # lvextend -l +17918 /dev/softwarevg/dvt061lv
Extending logical volume dvt061lv to 239.99 GB
Logical volume dvt061lv successfully resized

Then resize the file system

root@linux:~ # ext2online /dev/softwarevg/dvt061lv
ext2online v1.1.18 – 2001/03/18 for EXT2FS 0.5b

Verify the file system size

root@linux:~ # df -h /usr/oradata/oradvt061t
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/softwarevg-dvt061lv
237G 133G 92G 60% /usr/oradata/oradvt061t

abrtd and abrt showing Corrupted or bad directory in /var/log/messages

Jul 24 10:52:12 rhel6 abrtd: New client connected
Jul 24 10:52:12 rhel6 abrt-server[66371]: Saved Python crash dump of pid 66370 to /var/spool/abrt/pyhook-2014-07-24-10:52:12-66370
Jul 24 10:52:12 rhel6 abrtd: Directory ‘pyhook-2014-07-24-10:52:12-66370′ creation detected
Jul 24 10:52:27 rhel6 abrtd: Sending an email…
Jul 24 10:52:27 rhel6 abrtd: Email was sent to: root@localhost
Jul 24 10:52:27 rhel6 abrtd: Duplicate: UUID
Jul 24 10:52:27 rhel6 abrtd: DUP_OF_DIR: /var/spool/abrt/pyhook-2014-06-12-14:10:18-27149
Jul 24 10:52:27 rhel6 abrtd: Corrupted or bad directory ‘/var/spool/abrt/pyhook-2014-07-24-10:47:08-41575′, deleting
Jul 24 10:54:44 rhel6 abrt: detected unhandled Python exception in ‘/usr/share/rhn/up2date_client/hardware.py’

You need to update the package rhn-client-tools and its dependencies.

root@rhel6:~ # yum update rhn-client-tools
root@rhel6:~ # service rhnsd restart

Souce: https://access.redhat.com/solutions/506353

Mirroring RHN repositories

To mirror the repository for RHEL 5, run the command below

root@rhel5:~# reposync -p /redhat –repoid=rhel-x86_64-server-5 -l

[rhel-x86_64-server-5: 12937 of 16070 ] Skipping existing getPackage/samba3x-3.6.6-0.139.el5_10.x86_64.rpm
[rhel-x86_64-server-5: 12938 of 16070 ] Downloading getPackage/samba3x-3.6.6-0.140.el5_10.x86_64.rpm
samba3x-3.6.6-0.140.el5_10.x86_64.rpm | 5.9 MB 00:25
[rhel-x86_64-server-5: 12939 of 16070 ] Skipping existing getPackage/samba3x-client-3.3.8-0.51.el5.x86_64.rpm

It will create a directory with the name of the channel

root@rhel5:~# ls -l /redhat
total 2914724
drwxr-xr-x 3 root root 4096 Jul 31 2013 rhel-x86_64-server-5

After you download all the packages, create the database for the packages

root@rhel5:~ # createrepo –database /redhat/rhel-x86_64-server-5/getPackage/
16070/16070 – gcc-objc++-4.1.2-46.el5.x86_64.rpm
Saving Primary metadata
Saving file lists metadata
Saving other metadata

And verify it to see if there is a problem

root@rhel5:~ # verifytree /redhat/rhel-x86_64-server-5/getPackage/
Loaded plugins: product-id, rhnplugin
Checking repodata:
verifying repomd.xml with yum
verifying filelists checksum
verifying primary checksum
verifying primary_db checksum
verifying other_db checksum
verifying other checksum
verifying filelists_db checksum
Checking groups (comps.xml):
verifying comps.xml with yum
comps file missing or unparseable

As of today, July 17th 2014, you need 34GB for RHEL 5

root@rhel5:/redhat/rhel-x86_64-server-5 # du -sh .
34G .

Same steps for Red Hat Enterprise Linux 6

root@rhel6:~ # reposync -p /redhat –repoid=rhel-x86_64-server-6 -l

root@rhel6:~ # createrepo –database /redhat/rhel-x86_64-server-6/getPackage/
Spawning worker 0 with 12900 pkgs
Workers Finished
Gathering worker results

Saving Primary metadata
Saving file lists metadata
Saving other metadata
Generating sqlite DBs
Sqlite DBs complete

root@rhel6:~ # verifytree /redhat/rhel-x86_64-server-6/getPackage/
Loaded plugins: product-id, refresh-packagekit, rhnplugin
This system is receiving updates from RHN Classic or RHN Satellite.
Checking repodata:
verifying repomd.xml with yum
verifying filelists checksum
verifying primary checksum
verifying other checksum
verifying filelists_db checksum
verifying primary_db checksum
verifying other_db checksum
Checking groups (comps.xml):
verifying comps.xml with yum
comps file missing or unparseable

As of today, July 17th 2014, you need 21GB for RHEL 6

root@rhel6:/redhat/rhel-x86_64-server-6/getPackage # du -sh .
21G .

Received disconnect from host: 2: bind: Permission denied

I was receiving the error message Received disconnect from host: 2: bind: Permission denied when trying to connect using ssh.

Received disconnect from 172.16.36.110: 2: bind: Permission denied

root@linux:~ # rpm -q openssh
openssh-4.2p1-18.38.3

root@linux:~ # cat /etc/*release
SUSE Linux Enterprise Server 10 (x86_64)
VERSION = 10
PATCHLEVEL = 2
LSB_VERSION=”core-2.0-noarch:core-3.0-noarch:core-2.0-x86_64:core-3.0-x86_64″

I solved this problem unchecking Allow agent forwarding
Allow Agent Forwarding

fsck in Linux: Superblock last write time is in the future. FIXED

When rebooting the server and it shows this message:

Superblock last write time is in the future. FIXED

Move the file /etc/adjtime and set the hardware clock using the command below:

root@linux:~ # mv /etc/adjtime /etc/adjtime.bak

root@linux:~ # hwclock
Fri 27 Jun 2014 11:27:05 AM BRT -0.574168 seconds

root@linux:~ # hwclock —systohc —localtime

root@linux:~ # hwclock -w

root@linux:~ # hwclock
Fri 27 Jun 2014 11:30:17 AM BRT -0.616638 seconds

Source: After reboot, the Linux system time is always wrong
Using the hwclock program

HPOM: Flood Gate has Detected a Storm for Application

Contact Support Team or Technical Lead. Flood Gate has Detected a Storm for Application (CLONED_LINUX.SETAOFFICE.COM^:^ntpmon^:^) Logfile: None Annotations: No

Node : cloned_linux.setaoffice.com
Node Type : Intel/AMD x86(HTTPS)
Severity : major
OM Server Time: 2014-03-21 10:02:21
Message : Contact Support Team or Technical Lead. Flood Gate has Detected a Storm for Application (CLONED_LINUX.SETAOFFICE.COM^:^ntpmon^:^) Logfile: None Annotations: No
Msg Group : OS
Application : esf
Object : Event Storm
Event Type :
not_found

Instance Name :
not_found

Instruction : No

This error was appearing in my case because this server was cloned and probably it has the same certificate as the cloned machine.

I reinstalled HPOM.

yum: No module named gzip or another library

You are troubleshooting your yum installation, getting the missing libraries

root@linux:~ # yum whatprovides
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

No module named gzip

Please install a package which provides this module, or
verify that the module is installed correctly.

It’s possible that the above module doesn’t match the
current version of Python, which is:
2.4.3 (#1, Aug 29 2011, 10:55:55)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-51)]

If you cannot solve this problem yourself, please go to
the yum faq at:

http://wiki.linux.duke.edu/YumFaq

If you see a different module, try to install all python libraries

root@linux:~ # yum repolist
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

No module named zlib

Please install a package which provides this module, or
verify that the module is installed correctly.

It’s possible that the above module doesn’t match the
current version of Python, which is:
2.4.3 (#1, Aug 29 2011, 10:55:55)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-51)]

If you cannot solve this problem yourself, please go to
the yum faq at:

http://wiki.linux.duke.edu/YumFaq

List the packages starting with python

root@linux:~ # rpm -qa –qf “%{n}-%{arch}\n” | grep ^python
python-ldap-x86_64
python-urlgrabber-noarch
python-x86_64
python-libs-x86_64
python-devel-x86_64
python-sqlite-x86_64
python-numeric-x86_64
python-iniparse-noarch
python-elementtree-x86_64
python-dmidecode-x86_64
python-devel-i386

And query each one of them to see if there is a missing file. Reinstall the packages that report missing files.

root@linux:~ # rpm -V python-devel-2.4.3-44.el5_7.1
missing /usr/lib64/python2.4/test/decimaltestdata/normalize.decTest
missing /usr/lib64/python2.4/test/decimaltestdata/quantize.decTest
missing /usr/lib64/python2.4/test/output/test_tokenize
missing /usr/lib64/python2.4/test/test_normalization.pyc
missing /usr/lib64/python2.4/test/test_normalization.pyo
missing /usr/lib64/python2.4/test/test_zipfile.py
missing /usr/lib64/python2.4/test/test_zipfile.pyc
missing /usr/lib64/python2.4/test/test_zipfile.pyo
missing /usr/lib64/python2.4/test/test_zipimport.py
missing /usr/lib64/python2.4/test/test_zipimport.pyc
missing /usr/lib64/python2.4/test/test_zipimport.pyo
missing /usr/lib/python2.4/test/decimaltestdata/normalize.decTest
missing /usr/lib/python2.4/test/decimaltestdata/quantize.decTest
missing /usr/lib/python2.4/test/output/test_tokenize
missing /usr/lib/python2.4/test/test_normalization.pyc
missing /usr/lib/python2.4/test/test_normalization.pyo
missing /usr/lib/python2.4/test/test_zipfile.py
missing /usr/lib/python2.4/test/test_zipfile.pyc
missing /usr/lib/python2.4/test/test_zipfile.pyo
missing /usr/lib/python2.4/test/test_zipimport.py
missing /usr/lib/python2.4/test/test_zipimport.pyc
missing /usr/lib/python2.4/test/test_zipimport.pyo

root@linux:~ # rpm -V python-ldap-2.2.0-2.1

root@linux:~ # rpm -V python-urlgrabber-3.1.0-6.el5

root@linux:~ # rpm -V python-devel-2.4.3-44.el5_7.1
missing /usr/lib64/python2.4/test/decimaltestdata/normalize.decTest
missing /usr/lib64/python2.4/test/decimaltestdata/quantize.decTest
missing /usr/lib64/python2.4/test/output/test_tokenize
missing /usr/lib64/python2.4/test/test_normalization.pyc
missing /usr/lib64/python2.4/test/test_normalization.pyo
missing /usr/lib64/python2.4/test/test_zipfile.py
missing /usr/lib64/python2.4/test/test_zipfile.pyc
missing /usr/lib64/python2.4/test/test_zipfile.pyo
missing /usr/lib64/python2.4/test/test_zipimport.py
missing /usr/lib64/python2.4/test/test_zipimport.pyc
missing /usr/lib64/python2.4/test/test_zipimport.pyo
missing /usr/lib/python2.4/test/decimaltestdata/normalize.decTest
missing /usr/lib/python2.4/test/decimaltestdata/quantize.decTest
missing /usr/lib/python2.4/test/output/test_tokenize
missing /usr/lib/python2.4/test/test_normalization.pyc
missing /usr/lib/python2.4/test/test_normalization.pyo
missing /usr/lib/python2.4/test/test_zipfile.py
missing /usr/lib/python2.4/test/test_zipfile.pyc
missing /usr/lib/python2.4/test/test_zipfile.pyo
missing /usr/lib/python2.4/test/test_zipimport.py
missing /usr/lib/python2.4/test/test_zipimport.pyc
missing /usr/lib/python2.4/test/test_zipimport.pyo

root@linux:~ # rpm -V python-sqlite-1.1.7-1.2.1

root@linux:~ # rpm -V python-numeric-23.7-2.2.2.el5_6.1

root@linux:~ # rpm -V python-iniparse-0.2.3-4.el5

root@linux:~ # rpm -V python-elementtree-1.2.6-5

root@linux:~ # rpm -V python-libs-2.4.3-44.el5_7.1
missing /usr/lib64/python2.4/_MozillaCookieJar.py
missing /usr/lib64/python2.4/_MozillaCookieJar.pyc
missing /usr/lib64/python2.4/_MozillaCookieJar.pyo
missing /usr/lib64/python2.4/tokenize.py
missing /usr/lib64/python2.4/tokenize.pyc
missing /usr/lib64/python2.4/tokenize.pyo
missing /usr/lib64/python2.4/tzparse.py
missing /usr/lib64/python2.4/tzparse.pyc
missing /usr/lib64/python2.4/tzparse.pyo
missing /usr/lib64/python2.4/zipfile.py
missing /usr/lib64/python2.4/zipfile.pyc
missing /usr/lib64/python2.4/zipfile.pyo

root@linux:~ # rpm -V python-dmidecode-3.10.13-1.el5_5.1

There was a problem importing one of the Python modules required to run yum

I had a problem with the server and then yum was not running

root@linux:~ # yum whatprovides libbz2.so.1
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

libbz2.so.1: cannot open shared object file: No such file or directory

Please install a package which provides this module, or
verify that the module is installed correctly.

It’s possible that the above module doesn’t match the
current version of Python, which is:
2.4.3 (#1, Aug 29 2011, 10:55:55)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-51)]

If you cannot solve this problem yourself, please go to
the yum faq at:

http://wiki.linux.duke.edu/YumFaq

I ran python manually and tried to import the module

root@linux:~ # python
Python 2.4.3 (#1, Aug 29 2011, 10:55:55)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-51)] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.
>>> import yum
Traceback (most recent call last):
File “”, line 1, in ?
File “/usr/lib/python2.4/site-packages/yum/__init__.py”, line 23, in ?
import rpm
File “/usr/lib64/python2.4/site-packages/rpm/__init__.py”, line 7, in ?
from _rpm import *
ImportError: libbz2.so.1: cannot open shared object file: No such file or directory

Seeing other server, I needed this two files

root@other_linux:~ # find / -name libbz2.so.1
/usr/lib/libbz2.so.1
/usr/lib64/libbz2.so.1

Which are a link

root@linux:~ # ls -l /usr/lib/libbz2.so.1
lrwxrwxrwx 1 root root 15 Mar 14 11:09 /usr/lib/libbz2.so.1 -> libbz2.so.1.0.3
root@linux:~ # ls -l /usr/lib64/libbz2.so.1
lrwxrwxrwx 1 root root 15 Mar 14 11:10 /usr/lib64/libbz2.so.1 -> libbz2.so.1.0.3

They didn’t exist in the server

root@other_linux:~ # ls -l /usr/lib/libbz2.so.1.0.3
-rwxr-xr-x 1 root root 71852 Sep 20 2010 /usr/lib/libbz2.so.1.0.3
root@other_linux:~ # ls -l /usr/lib64/libbz2.so.1.0.3
-rwxr-xr-x 1 root root 67792 Sep 20 2010 /usr/lib64/libbz2.so.1.0.3

root@linux:~ # ls -l /usr/lib/libbz2.so.1.0.3
ls: /usr/lib/libbz2.so.1.0.3: No such file or directory
root@linux:~ # ls -l /usr/lib64/libbz2.so.1.0.3
ls: /usr/lib64/libbz2.so.1.0.3: No such file or directory

The package bzip2-libs provide the files. Download it and install the package with rpm and try to run yum again

root@other_linux:~ # yum whatprovides /usr/lib/libbz2.so.1.0.3
Loaded plugins: downloadonly, rhnplugin, security
Importing additional filelist information
repository/filelists_db | 40 MB 00:04
bzip2-libs-1.0.3-3.i386 : Libraries for applications using bzip2
Repo : repository
Matched from:
Filename : /usr/lib/libbz2.so.1.0.3

bzip2-libs-1.0.3-6.el5_5.i386 : Libraries for applications using bzip2
Repo : repository
Matched from:
Filename : /usr/lib/libbz2.so.1.0.3

bzip2-libs-1.0.3-4.el5_2.i386 : Libraries for applications using bzip2
Repo : repostory
Matched from:
Filename : /usr/lib/libbz2.so.1.0.3

bzip2-libs-1.0.3-6.el5_5.i386 : Libraries for applications using bzip2
Repo : repository
Matched from:
Other : Provides-match: /usr/lib/libbz2.so.1.0.3

Symantec Enterprise Security Manager install error: 32bit libpam not detected, aborting installation

Trying to install Symantec ESM on Red Hat Enterprise Linux

root@linux:/tmp/esm100 # ./Linux18.sh esmmanager.setaoffice.com linux.setaoffice.com
Logging ESM install to /tmp/esm_install.log.30608
32bit libpam not detected, aborting installation

When installing PAM 32 bits it shows the following libraries are needed

root@linux:/tmp/esm100 # rpm -ivh pam-1.1.1-13.el6.i686.rpm
error: Failed dependencies:
libaudit.so.1 is needed by pam-1.1.1-13.el6.i686
libcrack.so.2 is needed by pam-1.1.1-13.el6.i686
libdb-4.7.so is needed by pam-1.1.1-13.el6.i686
libselinux.so.1 is needed by pam-1.1.1-13.el6.i686

Install audit-libs, cracklib, db4 and finally pam

root@linux:/tmp/esm100 # rpm -ivh audit-libs-2.2-2.el6.i686.rpm
Preparing… ########################################### [100%]
1:audit-libs ########################################### [100%]

root@linux:/tmp/esm100 # rpm -ivh cracklib-2.8.16-4.el6.i686.rpm
Preparing… ########################################### [100%]
1:cracklib ########################################### [100%]

root@linux:/tmp/esm100 # rpm -ivh db4-4.7.25-18.el6_4.i686.rpm
Preparing… ########################################### [100%]
1:db4 ########################################### [100%]

root@linux:/tmp/esm100 # rpm -ivh libselinux-2.0.94-5.3.el6_4.1.i686.rpm
Preparing… ########################################### [100%]
1:libselinux ########################################### [100%]

root@linux:/tmp/esm100 # rpm -ivh pam-1.1.1-13.el6.i686.rpm
Preparing… ########################################### [100%]
1:pam ########################################### [100%]

Follow

Get every new post delivered to your Inbox.

Join 309 other followers

%d bloggers like this: