[EMAIL PROTECTED]:~# mysqladmin -u root -p drop slimserver Enter password: Dropping the database is potentially a very bad thing to do. Any data stored in the database will be destroyed.
Do you really want to drop the 'slimserver' database [y/N] y mysqladmin: DROP DATABASE slimserver failed; error: 'Can't drop database 'slimserver'; database doesn't exist' [EMAIL PROTECTED]:~# ls -alrt /etc/slimserver ls: /etc/slimserver: No such file or directory [EMAIL PROTECTED]:~# ls -alrt /usr/share/slimserver ls: /usr/share/slimserver: No such file or directory [EMAIL PROTECTED]:~# cat /etc/passwd | grep -i slimserver [EMAIL PROTECTED]:~# head -1 /etc/apt/sources.list deb http://debian.slimdevices.com stable main [EMAIL PROTECTED]:~# apt-get install slimserver Reading package lists... Done Building dependency tree... Done The following NEW packages will be installed: slimserver 0 upgraded, 1 newly installed, 0 to remove and 15 not upgraded. Need to get 0B/21.3MB of archives. After unpacking 61.5MB of additional disk space will be used. WARNING: The following packages cannot be authenticated! slimserver Install these packages without verification [y/N]? y Selecting previously deselected package slimserver. (Reading database ... 76379 files and directories currently installed.) Unpacking slimserver (from .../slimserver_6.5b1_all.deb) ... Setting up slimserver (6.5b1) ... Adding system user `slimserver' (UID 101) ... Adding new user `slimserver' (UID 101) with group `nogroup' ... Not creating home directory `/usr/share/slimserver'. Starting SlimServer Audio Server. Starting SlimServer Audio Server. Starting SlimServer Audio Server. Starting SlimServer Audio Server. Starting SlimServer Audio Server. Starting SlimServer Audio Server. Starting SlimServer Audio Server. Starting SlimServer Audio Server. Starting SlimServer Audio Server. Starting SlimServer Audio Server. Starting SlimServer Audio Server. [EMAIL PROTECTED]:~# [EMAIL PROTECTED]:~# mv /usr/share/slimserver/MySQL/errmsg.sys /usr/share/slimserver/MySQL/errmsg.sys.from.slimdevices [EMAIL PROTECTED]:~# ln -s /usr/share/mysql/english/errmsg.sys /usr/share/slimserver/MySQL/errmsg.sys 2006-09-04 17:12:55.0116 ERROR: forceCommit: Trying to commit transactions before DB is initialized! 2006-09-04 17:12:55.0142 ERROR: DBI Connection failed: DBI connect('hostname=127.0.0.1;port=9092;database=slimserver:mysql_socket=/var/ca che/slimserver/slimserver-mysql.sock','slimserver',...) failed: Unknown database 'slimserver' at /usr/share/perl5/DBIx/Class/Storage/DBI. pm line 624 2006-09-04 17:12:55.0144 ERROR: Backtrace follows: 2006-09-04 17:12:55.0146 Backtrace: frame 0: Slim::Schema::Storage::throw_exception (/usr/share/perl5/DBIx/Class/Storage/DBI.pm line 630) frame 1: DBIx::Class::Storage::DBI::_connect (/usr/share/perl5/DBIx/Class/Storage/DBI.pm line 588) frame 2: DBIx::Class::Storage::DBI::_populate_dbh (/usr/share/perl5/Slim/Schema/Storage.pm line 32) frame 3: Slim::Schema::Storage::_populate_dbh (/usr/share/perl5/DBIx/Class/Storage/DBI.pm line 515) frame 4: DBIx::Class::Storage::DBI::ensure_connected (/usr/share/perl5/DBIx/Class/Storage/DBI.pm line 529) frame 5: DBIx::Class::Storage::DBI::dbh (/usr/share/perl5/Slim/Schema.pm line 224) frame 6: (eval) (/usr/share/perl5/Slim/Schema.pm line 224) frame 7: Slim::Schema::disconnect (/usr/sbin/slimserver line 1003) frame 8: main::cleanup (/usr/share/perl5/Slim/bootstrap.pm line 259) frame 9: Slim::bootstrap::sigint (/usr/share/perl5/Slim/bootstrap.pm line 290) frame 10: Slim::bootstrap::END (/usr/sbin/slimserver line 0) frame 11: (eval) (/usr/sbin/slimserver line 0) 060904 17:12:55 [Note] /usr/sbin/mysqld: Normal shutdown 060904 17:12:55 [Note] /usr/sbin/mysqld: Shutdown complete InnoDB: Error: log file ./ib_logfile0 is of different size 0 0 bytes InnoDB: than specified in the .cnf file 0 5242880 bytes! 060904 17:13:58 [Warning] Can't open and lock time zone table: Table 'mysql.time_zone_leap_second' doesn't exist trying to live without t hem 060904 17:13:58 [Note] /usr/sbin/mysqld: ready for connections. Version: '5.0.24-Debian_3' socket: '/var/cache/slimserver/slimserver-mysql.sock' port: 9092 Debian etch distribution InnoDB: Unable to lock ./ibdata1, error: 11 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. 060904 17:13:58 InnoDB: Retrying to lock the first data file InnoDB: Unable to lock ./ib_logfile0, error: 11 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Error in opening ./ib_logfile0 060904 17:13:59 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use 060904 17:13:59 [ERROR] Do you already have another mysqld server running on port: 9092 ? 060904 17:13:59 [ERROR] Aborting 060904 17:13:59 [Note] /usr/sbin/mysqld: Shutdown complete Maybe I need to make 100% certain that the slimdevices' mysql is shut down before I do the steps... Back in a minute.... -- biffhero ------------------------------------------------------------------------ biffhero's Profile: http://forums.slimdevices.com/member.php?userid=7313 View this thread: http://forums.slimdevices.com/showthread.php?t=27035 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/unix
