Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.
Moderator: mike
-
HumorlessJester
- Posts: 5
- Joined: Fri Mar 31, 2017 3:28 pm
- Location: Colorado
Post
by HumorlessJester » Fri Mar 31, 2017 4:10 pm
I have a bare-metal install and when I try to upgrade to 2.0.3-53 and encountering an error:
Code: Select all
Preparing to unpack .../eve-ng_2.0.3-53_amd64.deb ...
Checking MySQL... failed
dpkg: error processing archive /var/cache/apt/archives/eve-ng_2.0.3-53_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/eve-ng_2.0.3-53_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Doing some investigation I found failed login attempts for the user root in my mysql error log:
Code: Select all
2017-03-31T14:20:56.937798Z 7 [Note] Access denied for user 'root'@'localhost' (using password: YES)
2017-03-31T14:28:43.280738Z 8 [Note] Access denied for user 'root'@'localhost' (using password: YES)
2017-03-31T14:30:59.296190Z 9 [Note] Access denied for user 'root'@'localhost' (using password: YES)
For the upgrade to be successful, does the root user need to have the default password? Just to be clear, with the current password EVE-NG works.
-
ecze
- Posts: 533
- Joined: Wed Mar 15, 2017 1:54 pm
Post
by ecze » Fri Mar 31, 2017 4:20 pm
Bare install require to follow :
1.install Esxi with ONLY ssh service from tasksel
2.follow guide :
http://www.eve-ng.net/index.php/documen ... re-install
----
In your case :
Try apt-get remove --purge mysql-server
apt-get -f install
apt-get install eve-ng
apt-get -f install
E.
-
HumorlessJester
- Posts: 5
- Joined: Fri Mar 31, 2017 3:28 pm
- Location: Colorado
Post
by HumorlessJester » Fri Mar 31, 2017 5:00 pm
Ecze,
Thanks for the reply.
A re-install seems like the long way around if I only need to update my MySQL root user back to the default password.
I just wanted to know if that is a requirement of the upgrade process.
-
ecze
- Posts: 533
- Joined: Wed Mar 15, 2017 1:54 pm
Post
by ecze » Fri Mar 31, 2017 7:21 pm
no this is why I gave some command to remove mysql purge all data file from mysql et install eve-ng
E.
-
HumorlessJester
- Posts: 5
- Joined: Fri Mar 31, 2017 3:28 pm
- Location: Colorado
Post
by HumorlessJester » Fri Mar 31, 2017 11:52 pm
E,
Thanks for letting me know. Looks like it might have been a problem with mysql itself. I could log into it and do things, but when I restarted the service the upgrade worked without any issues.
-
RobertoRiosMX
- Posts: 2
- Joined: Tue Mar 21, 2017 4:03 am
Post
by RobertoRiosMX » Wed Apr 05, 2017 11:13 pm
HumorlessJester wrote: ↑Fri Mar 31, 2017 11:52 pm
E,
Thanks for letting me know. Looks like it might have been a problem with mysql itself. I could log into it and do things, but when I restarted the service the upgrade worked without any issues.
Restarting mysqld and running the upgrade again worked fine, thanks!