Need help installing on CentOS 6.4 64Bit

Moderator: crythias

Locked
pituca
Znuny advanced
Posts: 131
Joined: 09 Jan 2013, 02:50
Znuny Version: 5.0.9
Company: OmniRedes

Need help installing on CentOS 6.4 64Bit

Post by pituca »

Hi all,

Please help. Im trying to install ver. otrs-3.2.6-01.noarch.rpm on CentOS 6.4 64Bit. I install MySQL and everything is Ok (yum -y install mysql-server) then when I run the mysql_secure_installation script I get this error:
touch: cannot touch `.my.cnf.2720': Permission denied
touch: cannot touch `.mysql.2720': Permission denied
chmod: cannot access `.my.cnf.2720': No such file or directory
chmod: cannot access `.mysql.2720': No such file or directory




NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!


In order to log into MySQL to secure it, we'll need the current
password for the root user. If you've just installed MySQL, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.

Enter current password for root (enter for none):
/usr/bin/mysql_secure_installation: line 85: .my.cnf.2720: Permission denied
/usr/bin/mysql_secure_installation: line 86: .my.cnf.2720: Permission denied
/usr/bin/mysql_secure_installation: line 87: .my.cnf.2720: Permission denied
/usr/bin/mysql_secure_installation: line 89: .my.cnf.2720: Permission denied
/usr/bin/mysql_secure_installation: line 58: .mysql.2720: Permission denied
/usr/bin/mysql_secure_installation: line 60: .mysql.2720: No such file or directory
Enter current password for root (enter for none):
Before I made this modification as per the instructions:
File:
/etc/my.cnf
added:
max_allowed_packet=16M
query_cache_size=32M
I updated root password but still get the same error.
mysql -u root -p
use mysql;
update user set password=PASSWORD("something-cool") where user='root';
flush privileges;
quit
Thank you so much.
OTRS 5.0.9, , ITSM 5.0.9, MySQL, Ubuntu 14.04, Apache2
wurzel
Znuny guru
Posts: 3274
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Need help installing on CentOS 6.4 64Bit

Post by wurzel »

Hi,

you have no permission to create my.cnf
touch: cannot touch `.my.cnf.2720': Permission denied
touch: cannot touch `.mysql.2720': Permission denied
chmod: cannot access `.my.cnf.2720': No such file or directory
chmod: cannot access `.mysql.2720': No such file or directory

followed the CentOS Instructions from otrs admin book?
SELINUX disabled?
you are root?

... this is NO OTRS Error. Perhaps you should ask in CentOS + MySQL groups.

Flo
OTRS 2025 SILVER (Prod)
OTRS 2025 auf Debian 12 (Test)
Znuny 7.x latest version testing auf Debian 12

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
pituca
Znuny advanced
Posts: 131
Joined: 09 Jan 2013, 02:50
Znuny Version: 5.0.9
Company: OmniRedes

Re: Need help installing on CentOS 6.4 64Bit

Post by pituca »

Hi wurzel,

Thanks for your support. I follow the instructions in the admin manual for installing on CentOS. How do I know I'm using root? I just issued the "su" command and entered my password before executing the script. Also I did not disabled SELINUX as there is not mention of it in the instructions.

Regards.
OTRS 5.0.9, , ITSM 5.0.9, MySQL, Ubuntu 14.04, Apache2
Locked