Bug #10319
closedError during /opt/rudder/bin/rudder-init
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
Updated by François ARMAND over 7 years ago
- Assignee set to Benoît PECCATTE
Thanks for reporting. Benoit, could you look to it please?
Updated by Benoît PECCATTE over 7 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
Updated by Hamlyn Mootoo over 7 years ago
[root@rserver ~]# rpm qa |grep redhat-release 1 root rudder 957 Mar 1 17:26 /var/rudder/configuration-repository/ncf/ncf.conf
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-
[root@rserver ~]# ls la /var/rudder/ncf/local/ 1 root root 957 Mar 1 17:31 ncf.conf
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------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 ~]#
Updated by Hamlyn Mootoo over 7 years ago
- File rudder.n2Gutnbdcc.log rudder.n2Gutnbdcc.log added
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.
Updated by Benoît PECCATTE over 7 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.
Updated by Benoît PECCATTE over 7 years ago
- Is duplicate of Bug #10028: Transient update error on ncf/local added