This is a multi-part message in MIME format.
--------------070607080209020406010509
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Here is what I retrieved from the postresql logs:
LOG: database system was interrupted; last known up at 2015-12-04
10:57:43 CST
LOG: unexpected pageaddr 0/69564000 in log file 0, segment 107, offset
5652480
LOG: invalid primary checkpoint record
LOG: unexpected pageaddr 0/6952A000 in log file 0, segment 107, offset
5414912
LOG: invalid secondary checkpoint record
PANIC: could not locate a valid checkpoint record
LOG: startup process (PID 1637) was terminated by signal 6: Aborted
LOG: aborting startup due to startup process failure
LOG: database system was interrupted; last known up at 2015-12-04
10:57:43 CST
LOG: unexpected pageaddr 0/69564000 in log file 0, segment 107, offset
5652480
LOG: invalid primary checkpoint record
LOG: unexpected pageaddr 0/6952A000 in log file 0, segment 107, offset
5414912
LOG: invalid secondary checkpoint record
PANIC: could not locate a valid checkpoint record
LOG: startup process (PID 2632) was terminated by signal 6: Aborted
LOG: aborting startup due to startup process failure
Also, when I did the sync on the ovirt vm it was powered off. I know not
to do live syncs as there could be issues. That's why I'm so confused
that there's a pr oblem.
On 12/7/15 1:03 AM, Yedidyah Bar David wrote:
On Mon, Dec 7, 2015 at 12:09 AM, Melissa Mesler
<melissa(a)aasteel.com> wrote:
> Hopefully someone can give me a good idea of how to troubleshoot an ovirt
> issue. I am running 3.5 on CentOS 6.7. Here is the issue I'm having. I have
> Ovirt running as a virtual machine in KVM. I recently moved (with virtsync)
> the vm to rebuild the host. Once the host was rebuilt I moved ovirt back.
> Now ovirt-engine starts but is inaccessible. In the logs it says this:
>
> 2015-12-06 15:57:24,558 ERROR [org.ovirt.engine.core.bll.Backend] (MSC
> service thread 1-2) Error in getting DB connection. The database is
> inaccessible. Original exception is: DataAccessResourceFailureException:
> Error retreiving database metadata; nested exception is
> org.springframework.jdbc.support.MetaDataAccessException: Could not get
> Connection for extracting meta data; nested exception is
> org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get
> JDBC Connection; nested exception is java.sql.SQLException:
> javax.resource.ResourceException: IJ000453: Unable to get managed connection
> for java:/ENGINEDataSource
>
> I did notice that I can't get postgresql to start.
What happens when you try? Check/post also pg logs please, from
/var/lib/pgsql/data/pg_log/ .
> Everything worked
> perfectly fine before. Any ideas?
Was the copy done from a live machine? From a snapshot? Perhaps it wasn't
consistent? Need to check pg logs.
Best,
--------------070607080209020406010509
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit
<html>
<head>
<meta content="text/html; charset=utf-8"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<small>Here is what I retrieved from the postresql logs:<br>
<br>
LOG: database system was interrupted; last known up at 2015-12-04
10:57:43 CST<br>
LOG: unexpected pageaddr 0/69564000 in log file 0, segment 107,
offset 5652480<br>
LOG: invalid primary checkpoint record<br>
LOG: unexpected pageaddr 0/6952A000 in log file 0, segment 107,
offset 5414912<br>
LOG: invalid secondary checkpoint record<br>
PANIC: could not locate a valid checkpoint record<br>
LOG: startup process (PID 1637) was terminated by signal 6:
Aborted<br>
LOG: aborting startup due to startup process failure<br>
LOG: database system was interrupted; last known up at 2015-12-04
10:57:43 CST<br>
LOG: unexpected pageaddr 0/69564000 in log file 0, segment 107,
offset 5652480<br>
LOG: invalid primary checkpoint record<br>
LOG: unexpected pageaddr 0/6952A000 in log file 0, segment 107,
offset 5414912<br>
LOG: invalid secondary checkpoint record<br>
PANIC: could not locate a valid checkpoint record<br>
LOG: startup process (PID 2632) was terminated by signal 6:
Aborted<br>
LOG: aborting startup due to startup process failure</small><br>
<br>
<small>Also, when I did the sync on the ovirt vm it was powered off.
I know not to do live syncs as there could be issues. That's why
I'm so confused that there's a pr oblem.</small><br>
<br>
<br>
<div class="moz-cite-prefix">On 12/7/15 1:03 AM, Yedidyah Bar David
wrote:<br>
</div>
<blockquote
cite="mid:CAHRwYXv0ZmtWe4JsTHQtTRRJ4BO5heGmYpnNoZZVbKR0R1vZaQ@mail.gmail.com"
type="cite">
<pre wrap="">On Mon, Dec 7, 2015 at 12:09 AM, Melissa Mesler <a
class="moz-txt-link-rfc2396E"
href="mailto:melissa@aasteel.com"><melissa@aasteel.com></a>
wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hopefully someone can give me a good idea of how to
troubleshoot an ovirt
issue. I am running 3.5 on CentOS 6.7. Here is the issue I'm having. I have
Ovirt running as a virtual machine in KVM. I recently moved (with virtsync)
the vm to rebuild the host. Once the host was rebuilt I moved ovirt back.
Now ovirt-engine starts but is inaccessible. In the logs it says this:
2015-12-06 15:57:24,558 ERROR [org.ovirt.engine.core.bll.Backend] (MSC
service thread 1-2) Error in getting DB connection. The database is
inaccessible. Original exception is: DataAccessResourceFailureException:
Error retreiving database metadata; nested exception is
org.springframework.jdbc.support.MetaDataAccessException: Could not get
Connection for extracting meta data; nested exception is
org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get
JDBC Connection; nested exception is java.sql.SQLException:
javax.resource.ResourceException: IJ000453: Unable to get managed connection
for java:/ENGINEDataSource
I did notice that I can't get postgresql to start.
</pre>
</blockquote>
<pre wrap="">
What happens when you try? Check/post also pg logs please, from
/var/lib/pgsql/data/pg_log/ .
</pre>
<blockquote type="cite">
<pre wrap="">Everything worked
perfectly fine before. Any ideas?
</pre>
</blockquote>
<pre wrap="">
Was the copy done from a live machine? From a snapshot? Perhaps it wasn't
consistent? Need to check pg logs.
Best,
</pre>
</blockquote>
<br>
</body>
</html>
--------------070607080209020406010509--