Apache2 mistakes with my websites - mysql

I will start with the fact that I have an UBUNTU 16.04 server with OCS Inventory and GLPI, MyPHPadmin, Apache2 etc. on it.
Each computer on which the OCS Agent will be installed will appear in the program database which is at the given address: MY_Adress_IP / ocsreports.
Today I wanted to install OCS plugins but one of the plugins required the installation of the Ngnix package. After refreshing the page, I received the "403 Forbidden" message. I checked Apache2 status. The log displayed an error during the start of the httpd process.
I uninstalled with apt-get purge and apt-get removed ngnix, but this gave a negative result because the address: My_Adress_IP / ocsreport does not work as if the page did not exist.
I reinstalled Apache2. He started, but my site does not work (website OCS, GLPI, Myphpadmin panel)
I will add that OCS, GLPI, PHP, APACHE2, MyPHPadmin is installed on the server.
How to connect or configure the new Apache2 with OCS? Will I have to install OCS from scratch?
I will add that My_Adress_IP / myphpadmin does not work either.
Show databases command; shows that there are bases.
Sorry for my bad language.

Related

Apache 2 Ubuntu default page not loading on web browser

everyone. i installed moodle on ubuntu operating system, using putty software. i followed the step by step process on how to install moodle on apache2 server from https://docs.moodle.org/26/en/Step-by-step_Installation_Guide_for_Ubuntu. after the installation process, localhost doesnt seem to load the apache2 ubuntu default page.
To enure that the server is ruuning, i used sudo systemctl status apache2 to check server status and it shows server is active.
Please any possible solutions on how i can solve this issue?

how to install mysql-server Ubuntu 18.04

I am using windows 10 and installed Ubuntu from the windows app store. In the terminal I type sudo apt-get install mysql-server.
I have tried multiple guides of making sure I removed all Sql installs and files that could have been installed already. The strange thing is I just downloaded Ubuntu and never had mysql on the system. I continue to get the below error.
Error displayed
Setup Explained:
I just went to the windows store and downloaded the canonical software. Unfortunately, I dont know much about this linux. I just downloaded and I can just open up the ubuntu exe. This may be the root of my problem. Its a windows app.

Upgrading from 3.0 to 3.2

I'm tying to upgrade the Zabbix Server from 3.0 to 3.2 on Ubuntu 16.04 that I didn't install by myself and I don't know if it was istalled form repository or sources. I've done all the necessary backups and when I'm tying to execute this command
sudo apt-get install --only-upgrade zabbix-server-mysql zabbix-frontend-php zabbix-agent
I get this message
Skipping zabbix-server-mysql, it is not installed and only upgrades
are requested.
I'm using MySQL with a working DB for Zabbix. Can the Zabbix Server be installd without the zabbix-server-mysql package and still use the MySQL database? If yes, does it mean that the previous user installed it from sources and not from the repository?
I didn't find similar problems searching the net so maybe someone here can help me.
dpkg-query -l 'zabbix*'
You'll see if Zabbix has been installed through the packages.
According to the error message you have, I would say definitely no.
Do a typical install through the packages, re-enter the login/pass of your MySQL DB and it will upgrade it. Don't forget to make a backup first, just in case something goes wrong.

xamp: how I can get localhost page (with big xampp logo)

I have installed XAMPP and started Apache and MySQL, but when I try to enter local host it appears that
----- <Welcome to XAMPP for Windows 5.6.12
You have successfully installed XAMPP on this system! Now you can start using Apache, MySQL, PHP and other components. You can find more info in the FAQs section or check the HOW-TO Guides for getting started with PHP applications.
Start the XAMPP Control Panel to check the server status.> -----
the XAMPP s own dashboard page.. it seems every thing is ok Apache and MySQL are running but I cant get local host page. what have to do?
Try http://localhost/xampp
Perphaps the http server is blocked by your local firewall?

Xampp 1.8.3-4 server issue with FTP and MySQL

It's been two days I'm Googling to find a solution and not successful as of now. I'm trying to get Xampp 1.3.8-4 working properly in my Mac Maverics.
Out of the 3 green indicators in the 'Manage Servers' window only Apache Web Server is running and trying hard to get MySql database and proFTPD running with no luck.
This has been working fine and only change I've done is installed WordPress and added a few themes if that helps.
Application logs says below;
Starting all servers...
Starting MySQL Database...
Starting ProFTPD...
Checking syntax of configuration file
/Applications/XAMPP/xamppfiles/proftpd/scripts/ctl.sh : proftpd started
Starting MySQL Database...
Stopping all servers...
Stopping Apache Web Server...
/Applications/XAMPP/xamppfiles/apache2/scripts/ctl.sh : httpd stopped
Restarting all servers...
Starting MySQL Database...
Starting Apache Web Server...
/Applications/XAMPP/xamppfiles/apache2/scripts/ctl.sh : httpd started
Starting ProFTPD...
Checking syntax of configuration file
/Applications/XAMPP/xamppfiles/proftpd/scripts/ctl.sh : proftpd started
Any help would be much appreciated.
Thank you.
This might be because the you are trying to run two Apache servers at the same time. I got the same problem on my Mac running Xampp 1.8.3-4 server and i got my Apple version of Apache server already running. If you open your browser and type 'localhost' and it say 'It Works', means the the apple version of Apache server is already running.
To stop the Apple version of Apache server:
In OSX 10.7 and earlier, you could start and stop the Apache Web Server in Control Panel, by choosing "Sharing" and then unchecking the "Web Sharing" checkbox. As of 10.8 this option is no longer in the control panel.
To disable Apple's version of Apache in current versions of OS X, open a Terminal window and type this command:
sudo apachectl stop
You will need to type your system password when prompted, then you should be able to start the XAMPP version of Apache.
Reference:
https://community.apachefriends.org/f/viewtopic.php?f=29&t=68351