Start script

2012-02-20 Thread Fedora Linux
Hello friends I have a doubt about how to make a start script to launche services and do some stuff every time that fedora boots... I created a script /etc/rc.d/init.d/MyStartupScript rwxr-xr-x rm -fr /tmp/* rm -fr /tmp/.* mysqld_safe --user=mysql but it simply does nothing... I have Fedora

Re: MySQL is not working on PHP with Fedora 16

2012-01-24 Thread Fedora Linux
, Fedora Linux wrote: # setsebool httpd_can_network_connect_db on I have just tried, but still does not work: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13) Any other idea? Connecting manually it works What AVC's are you seeing. Most likely

Re: MySQL is not working on PHP with Fedora 16

2012-01-24 Thread Fedora Linux
access that posted another user on my thread, but didn't work... How can I unlock it? I've never used SELinux... Thanks for your help! On Mon, Jan 23, 2012 at 1:04 PM, bruce badoug...@gmail.com wrote: are you running selinux? On Mon, Jan 23, 2012 at 1:05 PM, Fedora Linux fedorali

Re: MySQL is not working on PHP with Fedora 16

2012-01-23 Thread Fedora Linux
.. [i assume you can] -what are the permissions on the mysql db/tbls? have they changed? --did you stop/restart mysql? -what do the mysql logs say? let us know.. On Sun, Jan 22, 2012 at 12:28 PM, Mike Wright mike.wri...@mailinator.comwrote: On 01/22/2012 07:02 AM, Fedora Linux wrote

Re: MySQL is not working on PHP with Fedora 16

2012-01-23 Thread Fedora Linux
# setsebool httpd_can_network_connect_db on I have just tried, but still does not work: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13) Any other idea? Connecting manually it works $ mysql -u root -h localhost -p Enter password: Welcome to the MySQL

MySQL is not working on PHP with Fedora 16

2012-01-22 Thread Fedora Linux
Hello I have a web application but it is not working on my Fedora 16 with PHP, for some reason it is unable to connect to the MySQL server, it returns the error: [Sun Jan 22 08:40:24 2012] [error] [client ::1] PHP Warning: mysql_connect(): Can't connect to local MySQL server through socket

nepomukindexer was killed by signal 6 (SIGABRT)

2011-12-28 Thread Fedora Linux
Hello I have Fedora 16 for x86_64, from time to time it sends the error nepomukindexer was killed by signal 6 (SIGABRT) thru the Automatic Bug Reporting Tool, but now it keeps sending the error every 20 or 30 seconds and there are lots of instances of nepomuxindexer running at the same time one