[root@DNS-323]# rcmysqld startCreating MySQL system tables...Installing MySQL system tables...141109 16:33:32 [Warning] '--skip-locking' is deprecated and will be removed in a future release. Please use '--skip-external-locking' instead.OKFilling help tables...141109 16:33:34 [Warning] '--skip-locking' is deprecated and will be removed in a future release. Please use '--skip-external-locking' instead.OKTo start mysqld at boot time you have to copysupport-files/mysql.server to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !To do so, start the server, then issue the following commands:/usr/bin/mysqladmin -u root password 'new-password'/usr/bin/mysqladmin -u root -h DNS-323 password 'new-password'Alternatively you can run:/usr/bin/mysql_secure_installationwhich will also give you the option of removing the testdatabases and anonymous user created by default. This isstrongly recommended for production servers.See the manual for more instructions.You can start the MySQL daemon with:cd /usr ; /usr/bin/mysqld_safe &
You can test the MySQL daemon with mysql-test-run.plcd /usr/mysql-test ; perl mysql-test-run.plPlease report any problems with the /usr/bin/mysqlbug script!Starting mysqld_safe: OK.
[root@DNS-323]# mysqlWelcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 2Server version: 5.1.73 Source distributionCopyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.Oracle is a registered trademark of Oracle Corporation and/or itsaffiliates. Other names may be trademarks of their respectiveowners.Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.mysql>
Joao, when I try to set the admin password, I'm getting stuck at the errorerror: 'Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)'
rcmysqld start = Starting mysqld safe: OKDoes /var/run/mysql/mysql.sock exists? No,
ipkg --force-depends remove mysql mysql-libs mysql-server # remove all mysql packages
rm -rf /var/lib/mysql /usr/lib/mysql /usr/share/mysql /usr/lib/libmysqlclient* # remove mysql databases and other mysql info, otherwise they will be reused at re-install
ipkg install mysql mysql-server # re-install fresh
rcmysqld start # start the server, it prints some info, run instead the suggested interactive
mysql_secure_installation # answer the qeustions and assign a root user password
mysql -u root -p # check that you can login to mysql using the root user; the password given above will be asked
mysql> quit # leave mysql
Bye
ipkg --force-depends remove mysql mysql-libs mysql-server # remove all mysql packages
rm -rf /var/lib/mysql /usr/lib/mysql /usr/share/mysql /usr/lib/libmysqlclient* # remove mysql databases and other mysql info, otherwise they will be reused at re-install
ipkg install mysql mysql-server # re-install fresh
rcmysqld start # start the server, it prints some info, run instead the suggested interactive
mysql_secure_installation # answer the qeustions and assign a root user password
--
You received this message because you are subscribed to a topic in the Google Groups "Alt-F" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/alt-f/u2PLreOvwc4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to alt-f+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/alt-f.
For more options, visit https://groups.google.com/d/optout.
ipkg --force-depends remove mysql mysql-libs mysql-server # remove all mysql packages
rm -rf /var/lib/mysql /usr/lib/mysql /usr/share/mysql /usr/lib/libmysqlclient* # remove mysql databases and other mysql info, otherwise they will be reused at re-install
ipkg install mysql mysql-server # re-install fresh
rcmysqld start # start the server, it prints some info, run instead the suggested interactive
mysql_secure_installation # answer the qeustions and assign a root user passwordAll that goes well, until I try to enter the password for root, then I get the socket error again.
[root@DNS-323]# rcmysqld start
Starting mysqld_safe: OK.
[root@DNS-323]# rcmysqld status
mysqld stopped
[root@DNS-323]# cat /var/log/mysql/mysqld.log
170720 18:57:24 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
170720 18:57:24 [Warning] '--skip-locking' is deprecated and will be removed in a future release. Please use '--skip-external-locking' instead.
170720 18:57:24 [ERROR] Can't start server : Bind on unix socket: Address already in use
170720 18:57:24 [ERROR] Do you already have another mysqld server running on socket: mysql ?
170720 18:57:24 [ERROR] Aborting
170720 18:57:24 [Note] /usr/sbin/mysqld: Shutdown complete
170720 18:57:25 mysqld_safe mysqld from pid file /var/run/mysql/mysqld.pid ended
170720 18:59:44 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
170720 18:59:45 [Warning] '--skip-locking' is deprecated and will be removed in a future release. Please use '--skip-external-locking' instead.
170720 18:59:45 [ERROR] Can't start server : Bind on unix socket: Address already in use
170720 18:59:45 [ERROR] Do you already have another mysqld server running on socket: mysql ?
170720 18:59:45 [ERROR] Aborting
170720 18:59:45 [Note] /usr/sbin/mysqld: Shutdown complete
170720 18:59:45 mysqld_safe mysqld from pid file /var/run/mysql/mysqld.pid ended
170723 12:18:17 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
170723 12:18:18 [Warning] '--skip-locking' is deprecated and will be removed in a future release. Please use '--skip-external-locking' instead.
170723 12:18:18 [ERROR] Can't start server : Bind on unix socket: Address already in use
170723 12:18:18 [ERROR] Do you already have another mysqld server running on socket: mysql ?
170723 12:18:18 [ERROR] Aborting
170723 12:18:18 [Note] /usr/sbin/mysqld: Shutdown complete
170723 12:18:18 mysqld_safe mysqld from pid file /var/run/mysql/mysqld.pid ended
170725 14:51:31 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
170725 14:51:31 [Warning] '--skip-locking' is deprecated and will be removed in a future release. Please use '--skip-external-locking' instead.
170725 14:51:31 [ERROR] Can't start server : Bind on unix socket: Address already in use
170725 14:51:31 [ERROR] Do you already have another mysqld server running on socket: mysql ?
170725 14:51:31 [ERROR] Aborting
170725 14:51:31 [Note] /usr/sbin/mysqld: Shutdown complete
170725 14:51:31 mysqld_safe mysqld from pid file /var/run/mysql/mysqld.pid ended
170726 11:49:42 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
170726 11:49:42 [Warning] '--skip-locking' is deprecated and will be removed in a future release. Please use '--skip-external-locking' instead.
170726 11:49:42 [ERROR] Can't start server : Bind on unix socket: Address already in use
170726 11:49:42 [ERROR] Do you already have another mysqld server running on socket: mysql ?
170726 11:49:42 [ERROR] Aborting
170726 11:49:42 [Note] /usr/sbin/mysqld: Shutdown complete
170726 11:49:42 mysqld_safe mysqld from pid file /var/run/mysql/mysqld.pid ended
170726 13:56:09 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
170726 13:56:09 [Warning] '--skip-locking' is deprecated and will be removed in a future release. Please use '--skip-external-locking' instead.
170726 13:56:09 [ERROR] Can't start server : Bind on unix socket: Address already in use
170726 13:56:09 [ERROR] Do you already have another mysqld server running on socket: mysql ?
170726 13:56:09 [ERROR] Aborting
170726 13:56:09 [Note] /usr/sbin/mysqld: Shutdown complete
170726 13:56:09 mysqld_safe mysqld from pid file /var/run/mysql/mysqld.pid ended
170726 13:56:48 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
170726 13:56:48 [Warning] '--skip-locking' is deprecated and will be removed in a future release. Please use '--skip-external-locking' instead.
170726 13:56:48 [ERROR] Can't start server : Bind on unix socket: Address already in use
170726 13:56:48 [ERROR] Do you already have another mysqld server running on socket: mysql ?
170726 13:56:48 [ERROR] Aborting
170726 13:56:48 [Note] /usr/sbin/mysqld: Shutdown complete
170726 13:56:48 mysqld_safe mysqld from pid file /var/run/mysql/mysqld.pid ended
[root@DNS-323]# ls -ld /var/run/mysql
drwxrwxrwx 2 mysql mysql 40 Jul 20 18:57 /var/run/mysql
[root@DNS-323]# ls -l /var/run/mysql
total 0
[root@DNS-323]# cat /var/run/mysql/mysqld.pid
cat: can't open '/var/run/mysql/mysqld.pid': No such file or directory
[root@DNS-323]# pidof mysqld
[root@DNS-323]#
[root@DNS-323]# rm -rf /var/lib/mysql /usr/lib/mysql /usr/share/mysql /usr/lib/libmysqlclient*
[root@DNS-323]# rcmysqld start
-sh: rcmysqld: not found
[root@DNS-323]# rcmysqld status
-sh: rcmysqld: not found
[root@DNS-323]# cat /var/log/mysql/mysqld.log
[root@DNS-323]# ls -ld /var/run/mysql
drwxrwxrwx 2 28 35 40 Jul 20 18:57 /var/run/mysql
[root@DNS-323]# ls -l /var/run/mysql
total 0
[root@DNS-323]# cat /var/run/mysql/mysqld.pid
cat: can't open '/var/run/mysql/mysqld.pid': No such file or directory
[root@DNS-323]# pidof mysqld
[root@DNS-323]#
It looks like there's 2 versions of MySQL, but I even used the command you gave to uninstall it, and remove all traces. So I'm even more stumped now.[root@DNS-323]# rcmysqld start
Starting mysqld_safe: OK.
[root@DNS-323]# rcmysqld status
mysqld stopped
[root@DNS-323]# cat /var/log/mysql/mysqld.log
170720 18:57:24 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
170720 18:57:24 [Warning] '--skip-locking' is deprecated and will be removed in a future release. Please use '--skip-external-locking' instead.
170720 18:57:24 [ERROR] Can't start server : Bind on unix socket: Address already in use
170720 18:57:24 [ERROR] Do you already have another mysqld server running on socket: mysql ?
[root@DNS-323]# netstat -lnp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:515 0.0.0.0:* LISTEN 742/inetd
tcp 0 0 0.0.0.0:901 0.0.0.0:* LISTEN 742/inetd
tcp 0 0 0.0.0.0:902 0.0.0.0:* LISTEN 742/inetd
tcp 0 0 0.0.0.0:873 0.0.0.0:* LISTEN 742/inetd
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 835/smbd
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 1499/lighttpd
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 742/inetd
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 742/inetd
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 742/inetd
tcp 0 0 0.0.0.0:23 0.0.0.0:* LISTEN 742/inetd
tcp 0 0 0.0.0.0:8443 0.0.0.0:* LISTEN 1499/lighttpd
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 742/inetd
tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 835/smbd
tcp 0 0 0.0.0.0:990 0.0.0.0:* LISTEN 742/inetd
netstat: /proc/net/tcp6: No such file or directory
udp 0 0 0.0.0.0:123 0.0.0.0:* 758/ntpd
udp 0 0 192.168.0.255:137 0.0.0.0:* 809/nmbd
udp 0 0 192.168.0.3:137 0.0.0.0:* 809/nmbd
udp 0 0 0.0.0.0:137 0.0.0.0:* 809/nmbd
udp 0 0 192.168.0.255:138 0.0.0.0:* 809/nmbd
udp 0 0 192.168.0.3:138 0.0.0.0:* 809/nmbd
udp 0 0 0.0.0.0:138 0.0.0.0:* 809/nmbd
netstat: /proc/net/udp6: No such file or directory
netstat: /proc/net/raw6: No such file or directory
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node PID/Program name Path
unix 2 [ ACC ] STREAM LISTENING 1958 1500/php-cgi /var/lib/lighttpd/sockets/php.socket-0
unix 2 [ ACC ] STREAM LISTENING 1960 1501/php-cgi /var/lib/lighttpd/sockets/php.socket-1
unix 2 [ ACC ] STREAM LISTENING 1962 1502/php-cgi /var/lib/lighttpd/sockets/php.socket-2
unix 2 [ ACC ] STREAM LISTENING 1964 1503/php-cgi /var/lib/lighttpd/sockets/php.socket-3
unix 2 [ ACC ] STREAM LISTENING 1154 809/nmbd /var/run/samba/unexpected
On Wednesday, 26 July 2017 19:00:01 UTC+1, James Pike wrote:It looks like there's 2 versions of MySQL, but I even used the command you gave to uninstall it, and remove all traces. So I'm even more stumped now.[root@DNS-323]# rcmysqld start
Starting mysqld_safe: OK.
[root@DNS-323]# rcmysqld status
mysqld stopped
[root@DNS-323]# cat /var/log/mysql/mysqld.log
170720 18:57:24 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
170720 18:57:24 [Warning] '--skip-locking' is deprecated and will be removed in a future release. Please use '--skip-external-locking' instead.
170720 18:57:24 [ERROR] Can't start server : Bind on unix socket: Address already in use
170720 18:57:24 [ERROR] Do you already have another mysqld server running on socket: mysql ?netstat -lnpwill tell you all processes listening on tcp and unix sockets, you have to discover which one is using the port or socket and kill it.
On a running system, the unix socket mysql.sock and tcp port 3306 should belong to process with pid 2892 and name mysqld
I don't see anything. I'm even more confused now. LOL
Rebooted the box, repeated the steps you gave,
and when I got to the root password again,
got the socket error.
Do you think a clean install of Atl-F1.0 would help?
I upgrade to the RC6, then 1.0.
Well, I'm still getting the error. Tried just hitting enter at the root password prompt, and got the error again.I've noticed if I start the server...it instantly shuts down again with that error:[ERROR] Can't start server : Bind on unix socket: Address already in use
[ERROR] Do you already have another mysqld server running on socket: mysql ?
[ERROR] AbortingBut you saw, there's nothing using that socket. I'm gonna have to wait until later tonight (This NAS is my TV Show streamer, and my grandsons are watching Blue's Clues from it, right now. LOL) and I'm just going to wipe the drives,
and install a clean install of 1.0. Something had to of gotten screwed up. I'm going to use you directions above, to install it, and see how it goes.
Hopefully it'll take.
Is it possible to use the alt-f httpd as a web server
to supply debian repositories to my net?
I was just going to link the repositories under /var/www/html but it is not there.
Thanks for any insight.
Perazim --
You received this message because you are subscribed to the Google Groups "Alt-F" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alt-f+unsubscribe@googlegroups.com.
I got lighttpd running on a non-standard port.
I had asked but not heard about the max drive size in alt-f.
I think you were on vacation.
WD has announced drives as large as 14TB.
Thanks,
Perazim
--