Missing directory!

BrusE

New Member
Nov 5, 2008
17
0
1
I tried to login to my server whit my browser, but it wont work! :(
I tried to start apache manually and I got this.

/var/www# /etc/init.d/apache2 start
Starting web server (apache2)...Syntax error on line 20 of /etc/apache2/sites-enabled/pve.conf:
DocumentRoot must be a directory
failed!

vi /etc/apache2/sites-enabled/pve.conf

DocumentRoot /var/www/pve

when I check /var/www it don´t contain any pve directory!! Its gone!

My other server has one!

Enyone??
 
Here are some possibilities:
1) You have filesystem corruption (restart your server in single-user, do a fsck!)
2) You've somehow accidentally deleted /var/www/pve
3) Somebody else went ahead and deleted /var/www/pve for you (change your root password)
 
1. I cant restart the server! To many people is depending on it.
2. I don't see how I could do that, but I remember there was a update that wanted to remove pve-manager? Do you know how I can see the updates I have installed on the server
3. Hmm I have to check.
 
OK, so you removed the whole software?!

To reinstall, try

# apt-get install proxmox-ve

Then check the output of

# pveversion -v
 
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
proxmox-ve: Depends: pve-manager but it is not going to be installed
Depends: vzdump but it is not going to be installed
E: Broken packages
 
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
pve-manager: Depends: postfix (>= 2.2.8) but it is not going to be installed
E: Broken packages
 
The pve-manager was removed when I updated the machine (I dont know why). When I tried to to reinstall it was asking for the postfix. The postfix was broken and when I manage to reinstall postfix I was able to install the proxmox-ve and the pve-manager was installed to. It looks like everything is working well again! :)

Thank you for the help!
 
ineresting

1. I cant restart the server! To many people is depending on it.
2. I don't see how I could do that, but I remember there was a update that wanted to remove pve-manager? Do you know how I can see the updates I have installed on the server
3. Hmm I have to check.


could you post your sources.list?

Tx, Diaolin
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!