Hello,
I've installed proxmox on a debian jessie in a usb drive and i don't keep log until next reboot (/var/log is mount on tmpfs).
When i restart my system "/var/log" is empty (nothing wrong here).
It seems pveproxy can't create folder and file "/var/log/pveproxy/access.log" so I can't connect on web manager.
My request :
Could you add a check on "/var/log/pveproxy/access.log" and create folder + file if don't exists ?
Tips to fix temporarily (root crontab @ reboot) :
@reboot /bin/mkdir /var/log/pveproxy && /bin/touch /var/log/pveproxy/access.log && /bin/chown root:www-data /var/log/pveproxy/access.log && /bin/chmod 664 /var/log/pveproxy/access.log
Thanks.
Best Regards, XeL.
---------
pveversion -v
proxmox-ve: 4.1-28 (running kernel: 4.2.6-1-pve)
pve-manager: 4.1-2 (running version: 4.1-2/78c5f4a2)
pve-kernel-4.2.6-1-pve: 4.2.6-28
lvm2: 2.02.116-pve2
corosync-pve: 2.3.5-2
libqb0: 0.17.2-1
pve-cluster: 4.0-29
qemu-server: 4.0-42
pve-firmware: 1.1-7
libpve-common-perl: 4.0-42
libpve-access-control: 4.0-10
libpve-storage-perl: 4.0-38
pve-libspice-server1: 0.12.5-2
vncterm: 1.2-1
pve-qemu-kvm: 2.4-18
pve-container: 1.0-35
pve-firewall: 2.0-14
pve-ha-manager: 1.0-16
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u1
lxc-pve: 1.1.5-5
lxcfs: 0.13-pve2
cgmanager: 0.39-pve1
criu: 1.6.0-1
I've installed proxmox on a debian jessie in a usb drive and i don't keep log until next reboot (/var/log is mount on tmpfs).
When i restart my system "/var/log" is empty (nothing wrong here).
It seems pveproxy can't create folder and file "/var/log/pveproxy/access.log" so I can't connect on web manager.
My request :
Could you add a check on "/var/log/pveproxy/access.log" and create folder + file if don't exists ?
Tips to fix temporarily (root crontab @ reboot) :
@reboot /bin/mkdir /var/log/pveproxy && /bin/touch /var/log/pveproxy/access.log && /bin/chown root:www-data /var/log/pveproxy/access.log && /bin/chmod 664 /var/log/pveproxy/access.log
Thanks.
Best Regards, XeL.
---------
pveversion -v
proxmox-ve: 4.1-28 (running kernel: 4.2.6-1-pve)
pve-manager: 4.1-2 (running version: 4.1-2/78c5f4a2)
pve-kernel-4.2.6-1-pve: 4.2.6-28
lvm2: 2.02.116-pve2
corosync-pve: 2.3.5-2
libqb0: 0.17.2-1
pve-cluster: 4.0-29
qemu-server: 4.0-42
pve-firmware: 1.1-7
libpve-common-perl: 4.0-42
libpve-access-control: 4.0-10
libpve-storage-perl: 4.0-38
pve-libspice-server1: 0.12.5-2
vncterm: 1.2-1
pve-qemu-kvm: 2.4-18
pve-container: 1.0-35
pve-firewall: 2.0-14
pve-ha-manager: 1.0-16
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u1
lxc-pve: 1.1.5-5
lxcfs: 0.13-pve2
cgmanager: 0.39-pve1
criu: 1.6.0-1