------=_Part_4284968_312906203.1350546010972
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Hi,=20
Maybe this will help. I create a note, how remove and install a new install=
ation on RHEVM 3.1:=20
Remove / Uninstall RHEVM & VDSM (clear old installation)=20
#### Manager: ####=20
rhevm-cleanup=20
yum -y remove rhevm* vdsm-bootstrap=20
rm -rf /var/log/ovirt-engine/engine*=20
rm -rf /var/log/ovirt-engine/server*=20
rm -rf /tmp/*=20
yum clean all=20
*** Clean PostgresSQL ***=20
psql -U postgres -l=20
dropdb -U postgres engine_2012_06_26_10_20_21=20
psql -U postgres -l=20
#### Host ####=20
service vdsmd stop=20
# service libvirtd stop=20
initctl stop libvirtd=20
service libvirtd status=20
# initctl status libvirtd=20
### yum remove libvirt* vdsm* qemu* sanlock*=20
yum -y remove *vdsm* *libvirt* *qemu* *sanlock* jpackage* vdsm-python*=20
rm -rf /etc/libvirt/DC-04=20
rm -rf /var/lib/libvirt/=20
rm -rf /var/log/vdsm/=20
## rm -rf /var/log/vdsm/vdsm.log*=20
## rm -rf /var/log/vdsm/libvirt.log*=20
rm -rf /tmp/*=20
yum clean all=20
# yum makecache=20
### Disconnect all iSCSI sessions:=20
iscsiadm -m session=20
iscsiadm -m session -u=20
iscsiadm -m node=20
iscsiadm -m node -o delete=20
iscsiadm -m session=20
iscsiadm -m node=20
### umount PosixFS=20
ls -l /rhev/data-center/mnt/10.35.97.44\:_vol1_=20
umount /rhev/data-center/mnt/10.35.97.44\:_vol1_=20
----- Original Message -----
From: "Andres Gonzalez" <tuchoz(a)gmail.com>
To: "Dave Neary" <dneary(a)redhat.com>
Cc: users(a)ovirt.org
Sent: Wednesday, October 17, 2012 10:23:12 PM
Subject: Re: [Users] [oVirt 3.1] reinstallation
On Sat, Oct 13, 2012 at 6:39 AM, Dave Neary < dneary(a)redhat.com
>
wrote:
> Hi,
=20
> On 10/11/2012 03:52 AM, Andres Gonzalez wrote:
=20
> > I'm trying to reinstall but when I execute:
engine-cleanup I get
> > the
>=20
=20
> > following errors:
>=20
=20
> <snip>
=20
> > Stopping ovirt-engine service... [ ERROR ]
>=20
=20
> > Error: Couldn't connect to the database server.Check
that
> > connection
> > is
>=20
=20
> > working and rerun the cleanup utility
>=20
=20
> > Error: Cleanup failed.
>=20
=20
> > please check log at
>=20
=20
> > /var/log/ovirt-engine/engine- cleanup_2012_10_10_23_38_30. log
>=20
=20
> I had the same issue and found out what the problem was by
looking
> in
> the oVirt start-up logs - the issue was that the database was not
> starting, because of an operating system setting (which I
> documented
> in
http://wiki.ovirt.org/wiki/ Troubleshooting in the section "I am
> having trouble connecting to the database. In the system log, I get
> the following message from Postgres").
=20
> The issue is that SHMMAX is set low on Fedora 17 by default,
and
> you
> need to increase it.
=20
> Let me know if this is the problem, or whether this is a
different
> issue for you.
=20
> Thanks,
=20
> Dave.
=20
Hi Dave,
I changed the values according to the wiki but stills happens the
same error.
Regards.
Andres
--
AGD
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
--=20
Have a nice day =E2=98=BA=E2=98=BB=E2=98=BA=E2=98=BB=E2=98=BA!=20
Thank you and best regards=20
Vladimir Vyazmin=20
Mobile: +972 (0) 50 277 2707=20
Phone: +972 (0) 9 769 2346=20
Email: vvyazmin(a)redhat.com=20
------=_Part_4284968_312906203.1350546010972
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<html><head><style type=3D'text/css'>p { margin: 0;
}</style></head><body><=
div style=3D'font-family: times new roman,new york,times,serif; font-size: =
12pt; color: #000000'>Hi,<br><br>Maybe this will help. I create a note,
how=
remove and install a new installation on RHEVM 3.1:<br><br>Remove / Uninst=
all RHEVM & VDSM (clear old installation)<br><br>#### Manager: ####
<br=
<br>rhevm-cleanup<br>yum -y remove rhevm*
vdsm-bootstrap<br><br>rm -rf /va=
r/log/ovirt-engine/engine*<br>rm
-rf /var/log/ovirt-engine/server*<br>rm -r=
f /tmp/*<br><br>yum clean all<br><br>*** Clean PostgresSQL
***<br>psql -U p=
ostgres -l<br>dropdb -U postgres engine_2012_06_26_10_20_21<br>psql -U post=
gres -l<br><br><br><br>#### Host #### <br><br>service
vdsmd stop<br># servi=
ce libvirtd stop<br>initctl stop libvirtd<br>service libvirtd
status<br># i=
nitctl status libvirtd<br><br>### yum remove libvirt* vdsm* qemu*
sanlock*<=
br>yum -y remove *vdsm* *libvirt* *qemu* *sanlock* jpackage* vdsm-python*<b=
r>rm -rf /etc/libvirt/DC-04<br>rm -rf /var/lib/libvirt/<br>rm -rf
/var/log/=
vdsm/<br>## rm -rf /var/log/vdsm/vdsm.log*<br>## rm -rf /var/log/vdsm/libvi=
rt.log*<br>rm -rf /tmp/*<br><br>yum clean all<br># yum
makecache<br><br>###=
Disconnect all iSCSI sessions:<br>iscsiadm -m session<br>iscsiadm -m sessi=
on -u<br>iscsiadm -m node<br>iscsiadm -m node -o delete<br>iscsiadm -m
sess=
ion<br>iscsiadm -m node<br><br>### umount PosixFS<br>ls -l
/rhev/data-cente=
r/mnt/10.35.97.44\:_vol1_<br>umount /rhev/data-center/mnt/10.35.97.44\:_vol=
1_<br><br><hr id=3D"zwchr"><blockquote
style=3D"border-left:2px solid rgb(1=
6, 16, 255);margin-left:5px;padding-left:5px;color:#000;font-weight:normal;=
font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-ser=
if;font-size:12pt;"><b>From: </b>"Andres Gonzalez"
&lt;tuchoz(a)gmail.com&gt;=
<br><b>To: </b>"Dave Neary"
&lt;dneary(a)redhat.com&gt;<br><b>Cc: </b>users@o=
virt.org<br><b>Sent: </b>Wednesday, October 17, 2012 10:23:12
PM<br><b>Subj=
ect: </b>Re: [Users] [oVirt 3.1] reinstallation<br><br><div
class=3D"gmail_=
quote">On Sat, Oct 13, 2012 at 6:39 AM, Dave Neary <span
dir=3D"ltr"><<a=
href=3D"mailto:dneary@redhat.com"
target=3D"_blank">dneary(a)redhat.com</a>&=
gt;</span> wrote:<br><blockquote class=3D"gmail_quote"
style=3D"margin:0 0 =
0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<div class=3D"im"><br>
<br>
On 10/11/2012 03:52 AM, Andres Gonzalez wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0
.8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
I'm trying to reinstall but when I execute: engine-cleanup I get the<br>
following errors:<br>
</blockquote>
<br></div>
<snip><div class=3D"im"><br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0
.8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Stopping ovirt-engine service...
=
[ ERROR ]<br>
<br>
Error: Couldn't connect to the database server.Check that connection is<br>
working and rerun the cleanup utility<br>
Error: Cleanup failed.<br>
please check log at<br>
/var/log/ovirt-engine/engine-<u></u>cleanup_2012_10_10_23_38_30.<u></u>log<=
br>
</blockquote>
<br></div>
I had the same issue and found out what the problem was by looking in the o=
Virt start-up logs - the issue was that the database was not starting, beca=
use of an operating system setting (which I documented in <a href=3D"http:/=
/wiki.ovirt.org/wiki/Troubleshooting"
target=3D"_blank">http://wiki.ovirt.o=
rg/wiki/<u></u>Troubleshooting</a> in the section "I am having
trouble conn=
ecting to the database. In the system log, I get the following message from=
Postgres").<br>
<br>
The issue is that SHMMAX is set low on Fedora 17 by default, and you need t=
o increase it.<br>
<br>
Let me know if this is the problem, or whether this is a different issue fo=
r you.<br>
<br>
Thanks,<br>
Dave.<span class=3D"HOEnZb"><font
color=3D"#888888"><br><br></font></span><=
/blockquote><div><br></div><div>Hi
Dave, </div><div><br></div><div>I c=
hanged the values according to the wiki but stills happens the same error.<=
/div>
<div><br></div><div>Regards.</div><div>Andres</div><div> </div></div><=
br><br clear=3D"all"><div><br></div>--
<br>AGD<br>
<br>_______________________________________________<br>Users mailing
list<b=
r>Users@ovirt.org<br>http://lists.ovirt.org/mailman/listinfo/users<br></blo=
ckquote><br><br><br>-- <br><div><span
name=3D"x"></span><br>Have a nice day=
=E2=98=BA=E2=98=BB=E2=98=BA=E2=98=BB=E2=98=BA!<br>Thank you and best regar=
ds<br><br>Vladimir Vyazmin<br>Mobile: +972 (0) 50 277
2707<br>Phone: =
+972 (0) 9 769 2346<br>Email: vvyazmin(a)redhat.com<span
name=
=3D"x"></span><br></div></div></body></html>
------=_Part_4284968_312906203.1350546010972--