You are not logged in.

#1 2012-03-30 15:52:19

ciembor
Member
Registered: 2008-03-30
Posts: 57

Starting MySQL Server fails

Here is an error:

[root@peace ciembor]# rc.d start mysqld && mysql_secure_installation
/etc/rc.conf: line 19: warning: setlocale: LC_CTYPE: cannot change locale (pl_PL): No such file or directory
:: Starting MySQL Server                                                 [FAIL] 
/sbin/splash-functions-arch.sh: line 501: [: : integer expression expected

Am I the only one with this problem?

Offline

#2 2012-03-30 15:57:56

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: Starting MySQL Server fails

Start off with having a look at your locale settings. More info to be found here.


Burninate!

Offline

#3 2012-03-30 16:09:33

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Starting MySQL Server fails

Edit: seems there is a country suffix by default, nevermind me.

Last edited by .:B:. (2012-03-30 16:28:40)


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#4 2012-03-30 16:26:56

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Starting MySQL Server fails

Try

LC_CTYPE="pl_PL.UTF-8"

Offline

#5 2012-03-30 16:42:37

ciembor
Member
Registered: 2008-03-30
Posts: 57

Re: Starting MySQL Server fails

Oh, that's not a problem, I should omit this line:). The problem is here:

/sbin/splash-functions-arch.sh: line 501: [: : integer expression expected

And I don't know how to solve it. I'm already updating my system.

Offline

#6 2012-03-30 16:45:09

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Starting MySQL Server fails

Where did you get this file from? Can you post line 501 and, say, 10 lines before it and 10 after?

Offline

#7 2012-03-30 17:20:13

ciembor
Member
Registered: 2008-03-30
Posts: 57

Re: Starting MySQL Server fails

ArchLinux specific splash functions for fbsplash

# calculate and set PROGRESS
splash_set_progress() {
        PROGRESS=65535 # 100%
        [ "${splash_step}" -lt "${splash_steps}" ] && \                                            # 501
                PROGRESS=$(( PROGRESS * ${splash_step} / ${splash_steps} ))
}

Offline

Board footer

Powered by FluxBB