Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10th March 2011, 07:00 PM
Ramon8 Offline
Registered User
 
Join Date: Mar 2011
Posts: 11
windows_7chrome
cannot start mysql: touch: setting times of `/var/log/mysqld.log': Bad address

Hello,

Could you please help me?

I have Fedora 13 32 bits in a VPS.


I cannot start mysql. I do know how to solve this problem and
I did google but I cannot find any solutions.



This is the error:

touch: setting times of `/var/log/mysqld.log': Bad address


Any ideas? Thanks


[root@fx ~]# yum install mysql mysql-devel mysql-server
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mysql.i686 0:5.1.55-1.fc13 set to be installed
---> Package mysql-devel.i686 0:5.1.55-1.fc13 set to be installed
---> Package mysql-server.i686 0:5.1.55-1.fc13 set to be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================== ==============================
Package Arch Version Repository Size
================================================== ==============================
Installing:
mysql i686 5.1.55-1.fc13 updates 908 k
mysql-devel i686 5.1.55-1.fc13 updates 128 k
mysql-server i686 5.1.55-1.fc13 updates 8.3 M

Transaction Summary
================================================== ==============================
Install 3 Package(s)

Total download size: 9.3 M
Installed size: 26 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): mysql-5.1.55-1.fc13.i686.rpm | 908 kB 00:02
(2/3): mysql-devel-5.1.55-1.fc13.i686.rpm | 128 kB 00:00
(3/3): mysql-server-5.1.55-1.fc13.i686.rpm | 8.3 MB 00:24
--------------------------------------------------------------------------------
Total 348 kB/s | 9.3 MB 00:27
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : mysql-5.1.55-1.fc13.i686 1/3
Installing : mysql-server-5.1.55-1.fc13.i686 2/3
Non-fatal POSTIN scriptlet failure in rpm package mysql-server-5.1.55-1.fc13.i68
6
/bin/touch: setting times of `/var/log/mysqld.log': Bad address
warning: %post(mysql-server-5.1.55-1.fc13.i686) scriptlet failed, exit status 1
Installing : mysql-devel-5.1.55-1.fc13.i686 3/3

Installed:
mysql.i686 0:5.1.55-1.fc13 mysql-devel.i686 0:5.1.55-1.fc13
mysql-server.i686 0:5.1.55-1.fc13

Complete!
[root@fx ~]#

[root@fx ~]# chkconfig --levels 235 mysqld on

[root@fx ~]# /etc/init.d/mysqld start

touch: setting times of `/var/log/mysqld.log': Bad address
Starting mysqld: [ OK ]
touch: setting times of `/var/lock/subsys/mysqld': Bad address

[root@fx ~]#
Reply With Quote
  #2  
Old 10th March 2011, 10:50 PM
Raffaello22 Offline
Registered User
 
Join Date: Oct 2008
Location: Poland
Posts: 49
linuxfedorafirefox
Re: cannot start mysql: touch: setting times of `/var/log/mysqld.log': Bad address

Hello,

Are you sure that MySQL doesn't start ? Check by netstat or another tool if service is listening on 3306 port (port 3306 if you are using default configuration ). I think that it is problem with post-install script mysql-server-5.1.55-1.fc13.i686 rpm packet. Post-installing scripts are performed after extract data with packet and are responsible for create files.

It's simple command to check what post-install scipts in mysql-server packet do.

Code:
rpm -q --scripts  mysql-server
....
postinstall scriptlet (using /bin/sh):
if [ $1 = 1 ]; then
    /sbin/chkconfig --add mysqld
fi
/bin/chmod 0755 /var/lib/mysql
/bin/touch /var/log/mysqld.log
Analyse post-install script and check if you have appropriate access privileges.

regards,
Rafal
Reply With Quote
  #3  
Old 15th March 2011, 10:05 PM
Vector's Avatar
Vector Offline
Banned
 
Join Date: Jul 2006
Location: Transgression
Age: 32
Posts: 1,183
linuxfirefox
Re: cannot start mysql: touch: setting times of `/var/log/mysqld.log': Bad address

I don't see mysql-libs installed.

Here's some common packages that you'd need:

mysql
mysql-administrator
mysql-connector-c++
mysql-gui-common
mysql-libs
mysql-query-browser
mysql-server
mysql-workbench
php-mysql
Reply With Quote
  #4  
Old 17th March 2011, 06:52 PM
Ramon8 Offline
Registered User
 
Join Date: Mar 2011
Posts: 11
windows_7chrome
Re: cannot start mysql: touch: setting times of `/var/log/mysqld.log': Bad address

Thanks for the info packages
Reply With Quote
Reply

Tags
address, bad, mysql, setting, start, times, touch

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
#/etc/init.d/mysqld start FAILS won't start mysql cwynn Servers & Networking 17 19th September 2006 02:59 AM
touch : setting times : Bad Address dishkuvek Fedora Core 5 - Dev 3 4th February 2006 08:32 PM
mysqld won't start Aardvark Freak Servers & Networking 17 31st May 2005 03:14 AM
Help Setting Up mysqld 07dcolem Servers & Networking 4 2nd February 2005 12:07 AM
MySQL: Starting mysqld JohnB Servers & Networking 2 28th January 2005 04:28 PM


Current GMT-time: 05:40 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat