Problems activating your account? Send notification email to: admin@post4vps.com
Host4Fun Budget VPS Hosting

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Open game panel problem
#1
Hello guys,
Again and again
I have faced a new OGP Problem
It was working fine and suddenly i got "Could not connect to the database."
Gimme +rep Heart
[Image: img.php?userid=496]
Thanks For Post4VPS and Virmach for the amazing VPS 9
#2
Check the Database settings and in your cpanel. Make sure that your DB's are connected with each privelliges! That should fix the issue.
Terminal
HostLease Media Group Netherlands
World Leader in Hosting Services
The best knowledge user for VPN Services
#3
(04-15-2019, 02:52 PM)F7N Wrote:  Check the Database settings and in your cpanel. Make sure that your DB's are connected with each privelliges! That should fix the issue.

I tried to start MySQL Manually from the vps and it gave me errors
root@vps570089:~# systemctl start mariadb.service
Job for mariadb.service failed because the control process exited with error code.
See "systemctl status mariadb.service" and "journalctl -xe" for details.
root@vps570089:~# systemctl stats mariadb.service

Unknown operation stats.
Gimme +rep Heart
[Image: img.php?userid=496]
Thanks For Post4VPS and Virmach for the amazing VPS 9
#4
You can see the error message or better said the reason for the failure of the MariaDB process startup by running the command that is suggested by systemd to see more details. journalctl (frontend for journald) is basically a log of all operations executed through/in systemd environment including errors.

To get the entry of the error you have to execute the startup of MariaDB again even if it fails and right after that run the journalctl command. So run these two commands and post the full output here for debugging.

Start MariaDB service:
systemctl start mariadb

Get the journalctl log:
journalctl -xe -l
With best regards
Hidden Refuge
IT specialist for system integration

#5
Furthermore, googling the issue as to why MariaDB "suddenly" stopped working should help you figure out what's the issue. My guess would be that something messed up with Maria when u were installing something else, and due to that it now fails to start.
Thanks to Shadow Hosting and Post4VPS for my VPS 5!
#6
(04-15-2019, 03:38 PM)Hidden Refuge Wrote:  You can see the error message or better said the reason for the failure of the MariaDB process startup by running the command that is suggested by systemd to see more details. journalctl (frontend for journald) is basically a log of all operations executed through/in systemd environment including errors.

To get the entry of the error you have to execute the startup of MariaDB again even if it fails and right after that run the journalctl command. So run these two commands and post the full output here for debugging.

Start MariaDB service:
systemctl start mariadb

Get the journalctl log:
journalctl -xe -l
root@vps570089:~# systemctl start mariadb
Job for mariadb.service failed because the control process exited with error code.
See "systemctl status mariadb.service" and "journalctl -xe" for details.
And the journalctl command gave me long log so i took ss from it and iam uploading it now
[Image: Screenshot-2019-04-21-18-41-04-787-com-s...icessh.jpg]
Gimme +rep Heart
[Image: img.php?userid=496]
Thanks For Post4VPS and Virmach for the amazing VPS 9
#7
You can redirect the output into a file with a simple redirection pipe ">".

journalctl -xe -l > journalctl.log
With best regards
Hidden Refuge
IT specialist for system integration

#8
When i use journalctl -xe -l > journalctl.log nothing happens
It just give me [root@hostname~ folder]
Gimme +rep Heart
[Image: img.php?userid=496]
Thanks For Post4VPS and Virmach for the amazing VPS 9
#9
The log provided in your screen is of no use because it only contains the first lines. You can notice that there is a field/button like element in the bottom left corner that says "More". You would have to use navigation keys to go down until you reach the end of the log with the latest log entries (most likely containing information about the MariaDB startup failure).

The later command I told you has no console output because as I said it redirects the output of the whole command to a file instead of the console.

Try these please:
systemctl start mariadb
journalctl -xn -l > mariadb-fail.log

Open the mariadb-fail.log file after the two commands and show the content here or upload that log file to a file hosting site.
With best regards
Hidden Refuge
IT specialist for system integration

#10
I uploaded it here https://firex-hosting.com/mariadb-fail.log
Gimme +rep Heart
[Image: img.php?userid=496]
Thanks For Post4VPS and Virmach for the amazing VPS 9
 


Possibly Related Threads...
Thread Author Replies Views Last Post
  How to Install Two Control Panel roy79482 8 206 04-25-2019, 06:06 AM
Last Post: roy79482
Exclamation VPS 1 problem chanalku91 12 526 02-22-2019, 07:28 AM
Last Post: deanhills
  apache 2 problem sagher 6 431 01-05-2019, 11:56 PM
Last Post: chanalku91
  apt-get update and apt-get upgrade problem youssefbasha 28 3,530 07-16-2018, 11:20 AM
Last Post: youssefbasha
  My VPS 1 Panel is not working! HarisHayat 1 578 05-28-2018, 01:38 PM
Last Post: Dynamo

Forum Jump:


Users browsing this thread: 1 Guest(s)

Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - SSDBlaze - VPSlices - Abc-Hosters - Hyper Expert - Shadow Hosting - Bladenode - HostDoc - Hostlease


About Post4VPS

Post4VPS is a forum/destiny where you can Delploy Your Free VPSs just by the Power of Posts.

We Provide VPSs of many locations like Germany,US,Canada,France,London,etc.

We also Provide VPSs of Both Linux and Windows OS.