Project

General

Profile

Actions

Bug #10319

closed

Error during /opt/rudder/bin/rudder-init

Added by Hamlyn Mootoo almost 8 years ago. Updated almost 8 years ago.

Status:
Rejected
Priority:
N/A
Category:
Server components
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Here is the output:
-------------------------------------

Network(s) added:
10.10.4.0/24
Add more networks? (yes/no) yes
yes

Enter network allowed to access server (i.e 192.168.0.0/24): 192.168.1.0/24
192.168.1.0/24
Network(s) added:
10.10.4.0/24
192.168.1.0/24
Add more networks? (yes/no) no
no

SUMMARY OF OPTIONS:

Allowed networks: 10.10.4.0/24 192.168.1.0/24

Hit any key to continue....
Configuring and installing initial CFEngine promises... Done.
Initializing LDAP database... done.

Updating Rudder password file with random passwords... done.
Cleaning up temporary directories... done.
Restarting services...cp: cannot create regular file `/var/rudder/ncf/local/': Is a directory
done.

Reinitialization complete, Rudder is currently reloading.

You can access it via https://<hostname>/rudder

( Example: https://rserver/rudder )

Thank you for using Rudder.
-----------------------------------------------------------------------------

Rudder seems to work okay though despite this error.


Files

rudder.n2Gutnbdcc.log (20.7 KB) rudder.n2Gutnbdcc.log Hamlyn Mootoo, 2017-03-02 13:09

Related issues 1 (0 open1 closed)

Is duplicate of Rudder - Bug #10028: Transient update error on ncf/localReleasedAlexis MoussetActions
Actions #1

Updated by François ARMAND almost 8 years ago

  • Assignee set to Benoît PECCATTE

Thanks for reporting. Benoit, could you look to it please?

Actions #2

Updated by Benoît PECCATTE almost 8 years ago

Hello Hamlyn.

What is your distribution name and version ?
Does the file /var/rudder/configuration-repository/ncf/ncf.conf exist ?
What is there in your directory /var/rudder/ncf/local/ ?

Thank you

Actions #3

Updated by Hamlyn Mootoo almost 8 years ago

[root@rserver ~]# rpm qa |grep redhat-release
redhat-release-server-6Server-6.5.0.1.el6.x86_64
[root@rserver ~]# uname -a
Linux rserver 2.6.32-431.29.2.el6.x86_64 #1 SMP Sun Jul 27 15:55:46 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux
[root@rserver ~]# ls -l /var/rudder/configuration-repository/ncf/ncf.conf
-rw-r--r-
1 root rudder 957 Mar 1 17:26 /var/rudder/configuration-repository/ncf/ncf.conf
[root@rserver ~]# ls la /var/rudder/ncf/local/
total 20
drwxr-xr-x 3 root root 4096 Mar 1 17:31 .
drwxr-xr-x 4 root root 4096 Mar 1 17:31 ..
-rw------
1 root root 957 Mar 1 17:31 ncf.conf
rw------ 1 root root 44 Mar 1 17:31 ncf_hash_file
drwx------ 2 root root 4096 Mar 1 17:31 ncf-hooks.d
[root@rserver ~]#

Actions #4

Updated by Hamlyn Mootoo almost 8 years ago

My guess is that at the time of the copy, the path /var/rudder/ncf/local/ does not exist (at least the whole path does not exist). I don't know if it will help but I attached a log file.

Actions #5

Updated by Benoît PECCATTE almost 8 years ago

  • Status changed from New to Rejected

Thank you, I found the bug.
This is a duplicate of http://www.rudder-project.org/redmine/issues/10028 that has just been solved.

Actions #6

Updated by Benoît PECCATTE almost 8 years ago

  • Is duplicate of Bug #10028: Transient update error on ncf/local added
Actions

Also available in: Atom PDF