Mac OS X xampp mysql and proftpd not working - mysql

I have decided to start with laravel and successfully installed it in my mac but the problem is I can't connect to my localhost/phpmyadmin because XAMPP wont make mysql start and proftpd.
Here's the log
Starting MySQL Database...
Starting Apache Web Server...
/Applications/XAMPP/xamppfiles/apache2/scripts/ctl.sh : httpd started
Starting ProFTPD...
Exit code: 8
Stdout:
Checking syntax of configuration file
proftpd config test fails, aborting
Stderr:
2020-04-24 15:42:55,322 mypc-2 proftpd[22004]: warning: unable to determine IP address of 'mypc-2'
2020-04-24 15:42:55,322 mypc-2 proftpd[22004]: error: no valid servers configured
2020-04-24 15:42:55,322 mypc-2 proftpd[22004]: fatal: error processing configuration file '/Applications/XAMPP/xamppfiles/etc/proftpd.conf'
and I dont know why it says mypc-2 when it should only be mypc

Related

Cannot start minishift on mac Catalina

I tried a couple of time to install uninstall and reinstall openshift on 2 macs with os Catalina 10.15.7 but it never starts.
I read Minishift cannot start in macOS and installed the var as described. but I still get the error below. Did anybody manage to install it on Catalyna and managed to resolve these errors?
kind regards
Markus
-- Starting Minishift VM ........ FAIL E0423 15:57:02.814314 21785 start.go:499] Error starting the VM: Error creating the VM. Error creating machine: Error in driver during machine creation: Error setting up host only network on machine start: /usr/local/bin/VBoxManage hostonlyif ipconfig vboxnet1 --ip 192.168.99.1 --netmask 255.255.255.0 failed:
VBoxManage: error: Code E_ACCESSDENIED (0x80070005) - Access denied (extended info not available)
VBoxManage: error: Context: "EnableStaticIPConfig(Bstr(pszIp).raw(), Bstr(pszNetmask).raw())" at line 242 of file VBoxManageHostonly.cpp
. Retrying.
Error starting the VM: Error creating the VM. Error creating machine: Error in driver during machine creation: Error setting up host only network on machine start: /usr/local/bin/VBoxManage hostonlyif ipconfig vboxnet1 --ip 192.168.99.1 --netmask 255.255.255.0 failed:
VBoxManage: error: Code E_ACCESSDENIED (0x80070005) - Access denied (extended info not available)
VBoxManage: error: Context: "EnableStaticIPConfig(Bstr(pszIp).raw(), Bstr(pszNetmask).raw())" at line 242 of file VBoxManageHostonly.cpp
It seens a virtualbox configuration error about network access deniying. Try this:
Access or create file /etc/vbox/networks.conf (or where your vbox configuration file is located)
Change the content to: *0.0.0.0/0 ::/0

Error while running mysql_secure_installation on arch linux

I'm trying to install MySQL(pure) on Arch Linux so I downloaded the following file from https://dev.mysql.com/downloads/mysql/.
mysql-8.0.26-linux-glibc2.17-x86_64-minimal-rebuild.tar.xz
I extracted it and tried to run ./mysql_secure_installation but after I enter the root password I get the following error message:
[rob#archrob bin]$ sudo ./mysql_secure_installation
Securing the MySQL server deployment.
Enter password for user root:
Error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
How can I fix this?
I tried to download it from AUR repository too but when I run the makepkg -si it get a point of the installation it looks like will take forever.
Build files have benn written to /home/rob/mysql/src/build
[0%] Built target INFO_BIN
[0%] built target abi_check
[0%] built target INFO_SRC
[0%] Building CXX object extra/protobuf...
[0%] and so on...
After one hour it was at [22%] so I stopped the installation and tried from the official website.
You'll need to start mariadb before running mysql_secure_installation:
$ sudo systemctl start mariadb.service

mysqld: unrecognized service

I'm trying to install a MySql Server on Red Hat Linux.
I've downloaded the tar file and unarchived it.
Then, I ran:
rpm -qpl mysql-community-server-5.7.17-1.e16.x86_64.rpm
Then I tried running
service mysqld start
But I'm getting mysqld: unrecognized service
I also tried using the full path to the mysqld: service /usr/sbin/mysqld/ start but that shows the same issue.
Any idea what is wrong?
on my Ubuntu platform, I encountered the same problem showing "mysqld: unrecognized service".
to solve this error, the commend should be:
sudo service mysql start

Permission denied when starting MySQL Server from MySQL Workbench in Ubuntu

I am using Linux Ubuntu 14.04 LTS, i installed Mysql Workbench using the Ubuntu software center. Now, i am unable to start the server both when i open a connection or i click on Start Server button.
The server is configured to run on localhost:3306 (the default configuration).
Here is the Mysql Workbench Startup Message Log:
2016-02-28 12:10:27 - Checked server status: Server is stopped.
2016-02-28 12:10:35 - Checked server status: Server is stopped.
2016-02-28 12:10:50 - Starting server...
2016-02-28 12:10:50 - Executting '/etc/init.d/mysqld start'
2016-02-28 12:10:53 - Checked server status: Server is stopped.
2016-02-28 12:10:59 - Could not stop server. Permission denied
2016-02-28 12:10:59 - Checked server status: Server is stopped.
You need to do this with root privileges, so you need the ability to use sudo. You will be prompted for your password when you do this. If you are not allowed, then you have to apply for sudo access.
I think also your actual problem is you don't have mysql server installed. Not too sure what workbench is. If you want to make databases and tables and store information on the server, you need to install mysql server. At the command prompt:
$ sudo apt-get install mysql-server
to install server. Then to run
$ sudo bash
$ service mysql start
or
$ mysqld_safe
Then to find out if it is running
$ service mysql status
● mysql.service - MySQL Community Server
Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2016-02-28 22:31:48 AEDT; 3min 11s ago
The line saying "Active: ..." is what you are looking for

Bad user name error in Xampp for mac

Suddenly, the apache and MySQL won't start anymore. I already restarted the mac several times, but the error persists:
Starting Apache Web Server...
Exit code: 8
Stdout:
apache config test fails, aborting
Stderr:
AH00543: httpd: bad user name lucasvallim
I didn't change any configuration at all, it was running normally but then this error appeared...
Any suggestions?