Visit Our UNIX and Linux User Community


Rngd: failed fips test


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Rngd: failed fips test
# 1  
Old 04-20-2016
Linux Rngd: failed fips test

I have recently enabled the process rngd, but after couple of days i see it got stopped automatically . Below is what i could find from messages file .

can someone shed light on what could be the reason and how can this can be taken care?

Code:
Apr 1 08:12:05 sap01 rngd: failed fips test
Apr 1 08:12:05 sap01 rngd: too many FIPS failures, disabling entropy source
Apr 1 08:12:05 sap01 ranged: No entropy sources working, exiting rngd"

Moderator's Comments:
Mod Comment Please use CODE tags for all sample input, output, and code segments.

Last edited by Don Cragun; 04-20-2016 at 09:10 PM.. Reason: Add CODE and ICODE tags.
# 2  
Old 05-07-2016
Hello All ,

I figured out what the issue is , good to close this Thread.
# 3  
Old 05-07-2016
If you found the solution by yourself, it would be good and wise to explain here.
Other users may benefit using forum search function if they experience the same/similar problem.

Best regards.
Peasant.
These 2 Users Gave Thanks to Peasant For This Post:
# 4  
Old 05-10-2016
@Peasant , thank you for suggesstion . i didn`t get that idea and thats true

The solution is :::
The FIPS test is something done on government or more secure organizations for extra security check . So everywhere else it will not be used , so when i started a new process called
Code:
"rngd"

on my server by default it is doing the FIPS test which was failing .

So linux had marked it down after certain attempts which is what showing below.
Code:
Apr 1 08:12:05 sap01 rngd: failed fips test
Apr 1 08:12:05 sap01 rngd: too many FIPS failures, disabling entropy source
Apr 1 08:12:05 sap01 ranged: No entropy sources working, exiting rngd"

when i was reading man pages , found an option to ignore , so applied it and worked Smilie

Code:
       -i, --ignorefail
              Ignore repeated fips failures

now i am running as below
Code:
/sbin/rngd -r /dev/urandom -o /dev/random -t 1 -i


Last edited by radha254; 05-10-2016 at 04:21 PM.. Reason: following the rules
This User Gave Thanks to radha254 For This Post:

Previous Thread | Next Thread
Test Your Knowledge in Computers #991
Difficulty: Medium
System V was known inside Bell Labs as Unix 6.0.
True or False?

6 More Discussions You Might Find Interesting

1. Linux

Issue with FIPS

Hello, I'm facing an issue after upgrading CFT (File transfer tool) from 2.5 to 2.7, on one of our test Linux boxes. With CFT profile loaded, we can not initiate remote connections (ssh user @ server). We have the following message: OpenSSL version mismatch. Built against 90801f, You... (3 Replies)
Discussion started by: Joyb25
3 Replies

2. Shell Programming and Scripting

Prefixing test case methods with letter 'test'

Hi, I have a Python unit test cases source code file which contains more than a hundred test case methods. In that, some of the test case methods already have prefix 'test' where as some of them do not have. Now, I need to add the string 'test' (case-sensitive) as a prefix to those of the... (5 Replies)
Discussion started by: royalibrahim
5 Replies

3. Shell Programming and Scripting

How to check weather a string is like test* or test* ot *test* in if condition

How to check weather a string is like test* or test* ot *test* in if condition (5 Replies)
Discussion started by: johnjerome
5 Replies

4. Shell Programming and Scripting

Test on string containing spacewhile test 1 -eq 1 do read a $a if test $a = quitC then break fi d

This is the code: while test 1 -eq 1 do read a $a if test $a = stop then break fi done I read a command on every loop an execute it. I check if the string equals the word stop to end the loop,but it say that I gave too many arguments to test. For example echo hello. Now the... (1 Reply)
Discussion started by: Max89
1 Replies

5. Red Hat

validate test failed

hi everybody, I am new in Linux. I have successfully installed knoppix in my laptop, however, when I want to install ns2.26, some errors occurs in validation test.. It returned "Some Test failed" and it give some comands to re-run the test. I have already set the path before the validation test.... (1 Reply)
Discussion started by: newbie06
1 Replies

6. Shell Programming and Scripting

Bad day !! test condition failed --need a one liner to do --help

Hi all this is simple but bad day for me nothing work out .. Problem is that I wan to check the argument passed to my script and accordignly exit or setup ENV variable I have a script name src_cpcp_preproc.sh i want to pass 2 argumet from command line argumet and check it in the script... (13 Replies)
Discussion started by: jambesh
13 Replies

Featured Tech Videos