/etc/init.d/vz: line 163: test: dzhanibekov: integer expression expected

timeJunky

New Member
Dec 21, 2010
23
0
1
Hello,


In spite I can start apache, it is no more possible to access proxmox from the web.

Restarting vz is not possible
Code:
# /etc/init.d/vz restart
Bringing down interface venet0: ..done
Stopping OpenVZ: ..done
Starting OpenVZ: ..done
Bringing up interface venet0: ..done
/etc/init.d/vz: line 163: test: dzhanibekov: integer expression expected
I have installed Debian squeeze with
Code:
#uname -a
Linux pm.vatansesi.com 2.6.35-1-pve #1 SMP Thu Dec 16 06:05:58 CET 2010 x86_64 GNU/Linux
and proxmox:
Code:
[B]# dpkg -l | grep -i proxmox
ii  libpve-storage-perl              1.0-16                      Proxmox VE storage management library
ii  proxmox-ve-2.6.35                1.7-9                       The Proxmox Virtual Environment
ii  pve-headers-2.6.32-4-pve         2.6.32-30                   The Proxmox PVE Kernel Headers
ii  pve-kernel-2.6.18-2-pve          2.6.18-5                    The Proxmox PVE Kernel Image
ii  pve-kernel-2.6.32-3-pve          2.6.32-14                   The Proxmox PVE Kernel Image
ii  pve-kernel-2.6.32-4-pve          2.6.32-30                   The Proxmox PVE Kernel Image
ii  pve-kernel-2.6.35-1-pve          2.6.35-9                    The Proxmox PVE Kernel Image
ii  pve-manager                      1.7-11                      The Proxmox Virtual Environment
[/B]
Google mirrors one similar answer http://git.openvz.org/?p=vzctl;a=commit;h=75678d30df68959474ce303db9e63c29b641b6f0 which does not realy help me.

Any help is appreciated :(
 
Last edited:
# vzlist
Unable to open /proc/vz/veinfo
Unable to open /proc/user_beancounters

# pveversion -v
pve-manager: 1.7-11 (pve-manager/1.7/5470)
running kernel: 2.6.35-1-pve
proxmox-ve-2.6.35: 1.7-9
pve-kernel-2.6.32-3-pve: 2.6.32-14
pve-kernel-2.6.32-4-pve: 2.6.32-30
pve-kernel-2.6.35-1-pve: 2.6.35-9
pve-kernel-2.6.18-2-pve: 2.6.18-5
qemu-server: 1.1-28
pve-firmware: 1.0-10
libpve-storage-perl: 1.0-16
vncterm: 0.9-2
vzctl: 3.0.26.1-1
vzdump: 1.2.6-1
vzprocps: 2.0.11-1dso2
vzquota: 3.0.12-3
pve-qemu-kvm: 0.13.0-3
ksm-control-daemon: 1.0-4
 
You run 2.6.35; no OpenVZ. Go for 2.6.18 or 2.6.32

Sent from Mobile Phone using Tapatalk
 
Hi Tom,

sory, for still being unsure what to do...

As far as I remember, my system should be installed with kvm. How can I ensure that?

Code:
# dpkg -l | grep -i openvz
ii  vzdump                           1.2.6-1                     OpenVZ backup scripts
ii  vzprocps                         2.0.11-1dso2                OpenVZ - server virtualization solution - procps utilities
In case of kvm running... does that mean, that I can remove both packages above?


After some updates the error above with the line163 disappeared after a reboot.

However, I can't access proxmox on the web.

Code:
# /etc/init.d/apache2 restart
Restarting web server: apache2[Wed Mar 16 21:38:41 2011] [warn] The Alias directive in /etc/apache2/sites-enabled/pve.conf at line 46 will probably never match because it overlaps an earlier Alias.
[Wed Mar 16 21:38:41 2011] [warn] NameVirtualHost pm.v....si.com:80 has no VirtualHosts
 ... waiting .[Wed Mar 16 21:38:43 2011] [warn] The Alias directive in /etc/apache2/sites-enabled/pve.conf at line 46 will probably never match because it overlaps an earlier Alias.
[Wed Mar 16 21:38:43 2011] [warn] NameVirtualHost pm.va.....com:80 has no VirtualHosts
Results in:
Code:
# tail /var/log/apache2/error.log
[Wed Mar 16 07:29:59 2011] [notice] caught SIGTERM, shutting down
[Wed Mar 16 07:30:03 2011] [notice] Apache/2.2.17 (Debian) Embperl/2.3.0 mod_ssl/2.2.17 OpenSSL/0.9.8o mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Wed Mar 16 08:17:38 2011] [notice] caught SIGTERM, shutting down
[Wed Mar 16 08:21:10 2011] [notice] Apache/2.2.17 (Debian) Embperl/2.3.0 mod_ssl/2.2.17 OpenSSL/0.9.8o mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Wed Mar 16 08:36:01 2011] [notice] caught SIGTERM, shutting down
[Wed Mar 16 08:39:17 2011] [notice] Apache/2.2.17 (Debian) Embperl/2.3.0 mod_ssl/2.2.17 OpenSSL/0.9.8o mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Wed Mar 16 08:56:57 2011] [notice] caught SIGTERM, shutting down
[Wed Mar 16 09:00:13 2011] [notice] Apache/2.2.17 (Debian) Embperl/2.3.0 mod_ssl/2.2.17 OpenSSL/0.9.8o mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Wed Mar 16 21:38:42 2011] [notice] caught SIGTERM, shutting down
[Wed Mar 16 21:38:44 2011] [notice] Apache/2.2.17 (Debian) Embperl/2.3.0 mod_ssl/2.2.17 OpenSSL/0.9.8o mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations