Go to advanced search

by fbe
Sun Feb 03, 2019 11:07 am
Forum: Deutsch
Topic: MySQL/MariaDB - Can't read from messagefile '/usr/share/mysql/english/errmsg.sys'
Replies: 2
Views: 1269

Re: MySQL/MariaDB - Can't read from messagefile '/usr/share/mysql/english/errmsg.sys'

Code: Select all

sudo systemctl stop mariadb
sudo apt-get install mariadb-server-core-10.1 --reinstall
sudo systemctl start mariadb
Aber Du solltest Dir Sorgen machen, warum die Datei weg ist, falls das weiterhin beim Reboot schiefgeht.
by fbe
Thu Jan 31, 2019 8:14 pm
Forum: Troubleshooting
Topic: mysql (mariadb) sends daily "error" emails
Replies: 10
Views: 1028

Re: mysql (mariadb) sends daily "error" emails

I set up by following the Foundation tutorial in https://projects.raspberrypi.org/en/projects/lamp-web-server-with-wordpress/7 If I can't get it working with the password I may give this a trial, but I can't be the only person to follow this. You (and not only you) definitely did something wrong. J...
by fbe
Wed Jan 30, 2019 7:04 pm
Forum: Troubleshooting
Topic: mysql (mariadb) sends daily "error" emails
Replies: 10
Views: 1028

Re: mysql (mariadb) sends daily "error" emails

... or if you don't want to write the root password in plain text into a config file: grant all privileges on *.* to 'root'@'localhost' identified with 'unix_socket' with grant option; This removes the root password in MariaDB and allows login as root only if you are root. If wordpress stops working...
by fbe
Sun Jan 27, 2019 8:52 pm
Forum: Other programming languages
Topic: Raspberry Pi MySQL Remote Connection (error: 10061)
Replies: 5
Views: 3059

Re: Raspberry Pi MySQL Remote Connection (error: 10061)

The config, however, does not contain a bind-adress x.x.x.x line (/etc/mysql/my.cnf) for my to comment out. Added it myself breaks the service, causing errors when trying to restart it. Checking other possible config file locations resulted in only empty files. kodi Additionally, comparing to the "...
by fbe
Sun Jan 27, 2019 8:19 pm
Forum: Beginners
Topic: I failed to install LAMP/Wordpress using project guide
Replies: 2
Views: 242

Re: I failed to install LAMP/Wordpress using project guide

If you want to restart on the "Download WordPress" page beginning with cd /var/www/html/ sudo rm * you only need to drop the wordpress database in mariadb before proceeding on the "Set up your WordPress Database" page. Try to login to your server. If sudo mysql works, you didn't setup native passwor...
by fbe
Thu Jan 24, 2019 5:59 pm
Forum: General discussion
Topic: MySQL password problems?
Replies: 1
Views: 219

Re: MySQL password problems?

First make sure that the mariadb-server package is installed: apt search mariadb-server should show a line saying that mariadb-server-10.1 is installed. If so, you can recreate the database from scratch. First reboot if unsure to make sure that no manually started deamon is still running, then: sudo...
by fbe
Wed Jan 23, 2019 6:16 pm
Forum: General discussion
Topic: SHARE PRINTER BETWEEN Windows Server 2008 and Raspberyy PI
Replies: 1
Views: 223

Re: SHARE PRINTER BETWEEN Windows Server 2008 and Raspberyy PI

Did you try it with the "Queue Name" instead of the "Description"? E.g. "http://172.16.24.11:631/EPSON_LX-350".
by fbe
Mon Jan 21, 2019 5:58 pm
Forum: General discussion
Topic: Cannot boot from USB without SD card
Replies: 9
Views: 2302

Re: Cannot boot from USB without SD card

Keep on booting from SD cards if you can't boot your system from USB.
Stop compiling kernels if you can't boot them.
Start fresh with the latest Raspbian Stretch.
Light candles that your system keeps running for the months, you need to restore all on the new installed latest Raspbian Stretch system.
by fbe
Fri Jan 18, 2019 10:46 pm
Forum: Networking and servers
Topic: apache2 and python script
Replies: 14
Views: 1671

Re: apache2 and python script

Look into (don't edit) /etc/apache2/conf-enabled/serve-cgi-bin.conf. Remove the "/usr" from the url. It should be "/cgi-bin/stepper.py" and your python file should be in /usr/lib/cgi-bin. If this doesn't help make sure that cgi (or cgid) is enabled. sudo a2enmod cgi sudo systemctl restart apache2 an...
by fbe
Tue Jan 15, 2019 9:28 pm
Forum: Beginners
Topic: What functionality is lost when deleting the pi user?
Replies: 5
Views: 1203

Re: What functionality is lost when deleting the pi user?

Given the system only keeps the hash of the password it cannot pipe it into any commands, my guess it the lock option would be the best of the two but it’s a guess. You additionally need to remove the pi-greeter package to avoid unwanted automatic login as user pi to the desktop after updates. Othe...
by fbe
Sat Jan 12, 2019 11:50 pm
Forum: Troubleshooting
Topic: install ssh server on Raspbian Stretch Lite, i only have access to the sd card
Replies: 3
Views: 2110

Re: install ssh server on Raspbian Stretch Lite, i only have access to the sd card

Of course you need to reinstall ssh server if you accidently removed it. If you have a card reader connected to your raspberry pi you could boot from a new image, then mount your damaged installation and chroot into it. Otherwise you could place commands into /etc/rc.local of your damaged image. You...
by fbe
Tue Jan 08, 2019 5:58 pm
Forum: Raspberry Pi OS
Topic: Raspbian Lite: Please have SSH enabled by default
Replies: 21
Views: 28527

Re: Raspbian Lite: Please have SSH enabled by default

Instead of looking for an empty ssh file a config file could be used with settings, that otherwise the initial setup would ask for.
by fbe
Thu Jan 03, 2019 7:05 pm
Forum: General discussion
Topic: rc.local not working
Replies: 4
Views: 900

rc.local is working

Programs started from rc.local have root privileges by default. "sudo" is not needed here. You may use "sudo -u pi ..." if you want to run your program as pi from rc.local.
Replace ~/radio/... by /home/pi/radio/...
by fbe
Thu Jan 03, 2019 5:55 pm
Forum: Beginners
Topic: MySQL
Replies: 1
Views: 250

Re: MySQL

If you didn't do anything else than you described, everything still should be fine. The root user even should have a password. The "problem" is, that it isn't used for authentication. Try sudo mysql to login (the server should run "normally" without "--skip-grant-tables"). If that works, create an a...
by fbe
Wed Jan 02, 2019 5:10 pm
Forum: Beginners
Topic: Arrow and Del keys not working
Replies: 2
Views: 716

Re: Arrow and Del keys not working

Please check what login shell is configured for the user. If you didn't specify it when creating the user, the default should be /bin/sh. Check the output of echo $0 in a terminal or on the console. If you don't see "bash" type bash and everything should be fine - unless you leave the bash with exit...
by fbe
Tue Jan 01, 2019 7:59 pm
Forum: Deutsch
Topic: Zugriffsrecht auf Datenbank gewähren
Replies: 9
Views: 3717

Re: Zugriffsrecht auf Datenbank gewähren

Ja. Ich benutze MySQL/MariaDB zwar eigentlich nicht mehr (habe überhaupt keine Datenbank am laufen...) aber kürzlich hab ich mich schon damit beschäftigt. Und da Wiederholung schult, bin ich noch mal durchgegangen. Das ganze mit Raspbian Stretch. Installation MariaDB sudo apt install mariadb-server ...
by fbe
Mon Dec 31, 2018 5:50 pm
Forum: Deutsch
Topic: Zugriffsrecht auf Datenbank gewähren
Replies: 9
Views: 3717

Re: Zugriffsrecht auf Datenbank gewähren

Also bind-addressen sind die IP-Addressen des Servers, über die Verbindungen gestattet werden. Normalerweise localhost oder 127.0.0.1, um nur lokale Verbindungen zu gestatten. 0.0.0.0 gestattet Verbindungen über alle Netzwerkschnittstellen. Außerdem musst Du Datenbankuser anlegen, deren "host" auf D...
by fbe
Sat Dec 29, 2018 1:36 pm
Forum: Troubleshooting
Topic: Seagate plus hub 8TB error
Replies: 7
Views: 550

Re: Seagate plus hub 8TB error

...
or if the drive has an exFAT filesystem:

Code: Select all

sudo apt install exfat-utils
But I see at Amazon, that a NTFS driver is recommended on a Mac, to use it without reformatting...
by fbe
Fri Dec 28, 2018 9:37 pm
Forum: General discussion
Topic: Setup web-server, installed Owncloud, cannot see web-server
Replies: 7
Views: 593

Re: Setup web-server, installed Owncloud, cannot see web-server

There is most likely only the apache2 webserver installed, but the the owncloud installation changed the configuration. Nobody can help you unless you explain, how you installed owncloud. Maybe you followed a tutorial... You should look into the files below /etc/apache2. If the owncloud setup follow...
by fbe
Thu Dec 27, 2018 10:23 pm
Forum: Beginners
Topic: SSH Only Works After "Service SSH Restart"
Replies: 2
Views: 4391

Re: SSH Only Works After "Service SSH Restart"

Why did you edit /etc/ssh/ssh_config? This is the client configuration, not the server configuration.

Try

Code: Select all

sudo systemctl enable ssh
sudo systemctl start ssh
or use raspi-config (command line interface) or Raspberry Pi Configuration (desktop application) to enable the ssh service.
by fbe
Wed Dec 26, 2018 9:34 pm
Forum: Deutsch
Topic: PI ZERO Structure needs cleaning
Replies: 3
Views: 1531

Re: PI ZERO Structure needs cleaning

Also wenn Du Etcher benutzt, dann brauchst Du die SD Karte vorher normalerweise nicht zu formatieren. Das ist aber nicht die Ursache Deines Problems. Eigentlich wird die root-Partition beim ersten Booten mit einem originalen Raspbian Image automatisch vergrößert. Also was machst Du da? Hast Du das G...
by fbe
Wed Dec 26, 2018 8:33 pm
Forum: C/C++
Topic: Wirring pi and SPI communication
Replies: 16
Views: 4279

Re: Wirring pi and SPI communication

You should not use the return value from wiringPiSPISetup as channel in wiringPiSPIDataRW.
by fbe
Sat Dec 22, 2018 9:47 pm
Forum: Beginners
Topic: Migrating from an sd card to an external hard drive
Replies: 7
Views: 2269

Re: Migrating from an sd card to an external hard drive

Try SD Card Copier (piclone)

Go to advanced search