2.1 create cluster error - unable to create directory'/etc/pve/priv' - file exists

dns173

Active Member
Dec 12, 2011
65
0
26
hi
i have three server .
master 192.168.1.30
node01 192.168.1.31
...

i install 2.1 system to five server input password very easy 'abc123'

i think editor password 'aaa/vvcom' .

create cluster error

master server command 'pvecm create vps' is ok.

node01 server command 'pvecm add 192.168.1.30' error


unable to create directory'/etc/pve/priv' - file exists

why?

now server node01 reboot

netstat -ant

root@node01:~# netstat -ant
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 127.0.0.1:85 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:58571 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 48 113.10.200.25:22 27.154.161.78:44718 ESTABLISHED
tcp6 0 0 :::22 :::* LISTEN
tcp6 0 0 :::443 :::* LISTEN
tcp6 0 0 :::8006 :::* LISTEN
tcp6 0 0 :::80 :::* LISTEN


web server is no good. help me.thanks
 
Re: 2.1 create cluster error - unable to create directory'/etc/pve/priv' - file exist

Got the same error on v2.2. Maybe I should have upgraded before joining the server to cluster.

And then apache restart sayz..

root@czc75320yq:~# /etc/init.d/apache2 restartSyntax error on line 13 of /etc/apache2/sites-enabled/pve-redirect.conf:
SSLCertificateFile: file '/etc/pve/local/pve-ssl.pem' does not exist or is empty
Action 'configtest' failed.
The Apache error log may have more information.
failed!

Oddly enough the server can been controlled from the clusters web-panel (on different host).
Edit: After reboot connection to port 8006 is refused. (Because it's not up.)
 
Last edited:
Re: 2.1 create cluster error - unable to create directory'/etc/pve/priv' - file exist

Tried this...

root@czc75320yq:/etc/pve/priv# dpkg-reconfigure pve-cluster Restarting pve cluster filesystem: pve-clusterfuse: failed to access mountpoint /etc/pve: Transport endpoint is not connected
[main] crit: fuse_mount error: Transport endpoint is not connected
[main] notice: exit proxmox configuration filesystem (-1)
(warning).
invoke-rc.d: initscript pve-cluster, action "restart" failed.
 
Re: 2.1 create cluster error - unable to create directory'/etc/pve/priv' - file exist

And the plot thickens. The whole pve folder disappeared somewhere. I'm starting to suspect RAID problem.

root@czc75320yq:~# cd /etc/pve-bash: cd: /etc/pve: Transport endpoint is not connected

root@czc75320yq:~# ls -ahl
-rw-r--r-- 1 root root 2.8K Jan 20 2011 protocols
d????????? ? ? ? ? ? pve
-rw------- 1 root root 0 Oct 24 10:15 .pwd.lock
 
Last edited:
Re: 2.1 create cluster error - unable to create directory'/etc/pve/priv' - file exist

Try to remount the file system with:

# service pve-cluster restart
 
Re: 2.1 create cluster error - unable to create directory'/etc/pve/priv' - file exist

Only thing that solved this was rejoining the cluster again with --force option. I'm thinking some how the first join got interrupted and first sync did not complete.
pvecm add IP-ADDRESS-HERE --force
<<== Magical command. Highly recommended :)
 
Last edited: