Cant start apache after reboot

emigrante

New Member
Mar 11, 2012
3
0
1
Harstad, Norway, Norway
Clean install of proxmox 2.0 on Debian 6. Installed webmin. Got in to webmin and installed my domain in bind. Changes the hostname to my domain and restartet the server. After reboot apache want start.

root@xxxxxx:~# service apache2 start
Starting web server: apache2Syntax 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 'start' failed.
The Apache error log may have more information.
failed!

Googled around and found out "pvecm updatecerts" will fix my problem.

root@xxxxxxx:~# pvecm updatecerts
unable to get IP for node 'xxxxxx' - node offline?


Any ide?
 
The name in /etc/hostname need to be resolvable via /etc/hosts. What values do you have?

# cat /etc/hostname

and

# cat /etc/hosts
 
Thanks for the reply.

root@xxxxxx:~# cat /etc/hostname
MyDomain.com
root@xxxxxx:~#

root@xxxxxx:~# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
176.xx.xxx.xxx MyDomain.com
# The following lines are desirable for IPv6 capable hosts
#(added automatically by netbase upgrade)
::1 ip6-localhost ip6-loopback
feo0::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
 
Think i resolved the hostname issue and apache is starting.

But now when i log in to the proxmox web interface i got a error message saying "Parameter Verification failed. (400)"

Emigrante
 
I have this problem. It resolved with change the hostname in /etc/hosts and /etc/hostname with the same in installation.

Thanks for all.

Enjoy proxmox!!