fedora 17: systemctl cannot start mysqld

fedora fedora at ayni.com
Mon Jun 25 14:45:06 UTC 2012


Thanks, Harald, for the immediate reply.

what I did sofar:

moved /usr/lib/systemd/system/mysqld.service to
/usr/lib/systemd/system/mysqld.service.orig

copied your version of the service file into
/usr/lib/systemd/system/mysqld.service

systemctl --system daemon-reload

systemctl start mysqld.servic

and is still blocked at the same point

suomi


On 06/25/2012 04:22 PM, Reindl Harald wrote:
>
>
> Am 25.06.2012 16:18, schrieb fedora:
>> Hi listers
>> Sofar (i.e. up to fedora 15) no problem to start mysqld at system startup.
>>
>> Since i did a fresh install of fedora 17, no more startup of mysqld at sysemboot.
>>
>> I call
>> systemctl start mysqld.service
>>
>> and it hangs forever
>
> maybe some side-effect of the dumb still using of mysqld_safe
> thats why i define since F15 my own mysqld.service which
> worked perfectly long before any fedora-package and respects
> service ordering of mysqld-dependent services
>
> this one blow is untouched since a long time and working
> from F15 until F17 unchanged
>
> [Unit]
> Description=MySQL Database
> Before=postfix.service dovecot.service dbmail-imapd.service dbmail-lmtpd.service dbmail-pop3d.service
> dbmail-postfix-policyd.service
>
> [Service]
> Type=simple
> PIDFile=/var/run/mysqld/mysqld.pid
> ExecStartPre=/usr/libexec/mysqld-prepare-db-dir
> ExecStart=/usr/libexec/mysqld --defaults-file=/etc/my.cnf --pid-file=/var/run/mysqld/mysqld.pid
> --socket=/var/lib/mysql/mysql.sock --open-files-limit=30000 --basedir=/usr --user=mysql
> ExecStartPost=/usr/libexec/mysqld-wait-ready $MAINPID
> ExecStop=/bin/kill -15 $MAINPID
> Restart=always
> RestartSec=1
> TimeoutSec=300
> LimitNOFILE=30000
> LimitMEMLOCK=infinity
> OOMScoreAdjust=-1000
> SysVStartPriority=64
>
> [Install]
> WantedBy=multi-user.target
>
>
>



More information about the users mailing list