where is the mysql error log
location: ubuntuforums.com - date: August 29, 2010
I can't seem to find where mysql error logs are kept. I've generated a few errors and then checked /var/log/syslog, /var/log/mysql.log and /var/log/mysql/error.log and didn't see mysql errors in any of those files. The 2 mysql files were empty and I didn't see any mysql errors in syslog.
Here is the what the logging portion of my.cnf looks like.
# * Logging and Replication
# Both location gets rotated by the cronjob.
# Be aware that this log type is a performance killer.
# As of 5.1 you can enable the log at runtime!
#general_log_file = /var/log/mysql/mysql.log
#general_log = 1
log_error = /var/log/mysql/error.log
# Here you can see queries with especially long duration
#log_slow_queries = /var/log/mysql/mysql-slow.log
#long_query_time = 2
# The following can be used as easy to replay backup logs or for replication.
# note: if you are setting up a replication slave, see README.Debian about
Apache Error Log
location: ubuntuforums.com - date: July 25, 2009
Im recieving this error in my apache log.
[Wed Jul 22 03:38:27 2009] [error] [client 127.0.0.1] File does not exist: /var/www/scrape
[Wed Jul 22 03:38:28 2009] [error] [client 127.0.0.1] File does not exist: /var/www/announce
[Wed Jul 22 03:39:48 2009] [error] [client 127.0.0.1] File does not exist: /var/www/announce
Could anyone explain the reason for this?
Samba Error Log
location: ubuntuforums.com - date: July 29, 2010
Does anyone else have the message "Unable to mount location - Failed to retrieve share list from server"?
If you do, could you please check your logs and see if you also have these errors?
I haven't read the trouble shoot guide like it suggested yet because I figured its good to post here first to try and get a solution, and because its almost 1000 pages! If I find the solution to this before someone is able to answer I'll post it.
Also, is this a bug that needs to be filed or has already been filed?
Cheers - CC7
******@athlonServer:~$ cat /var/log/samba/log.
log.127.0.0.1 log.__ffff_192.168.0.101 log.nmbd.1.gz
log.192.168.0.101 log.__ffff_192.168.0.120 log.smbd
log.192.168.0.120 log.******-pc log.smbd.1.gz
log.__ffff_127.0.0.1 log.nmbd log.******-pc
*******@athlonServer:~$ cat /var/log/samba/log.*****-pc
[2010/07/24 17:59:50, 0] lib/util_sock.c:539(read_fd_with_timeout)
Location of MySQL Error Log Files
location: ubuntuforums.com - date: November 14, 2009
According to multiple books, the default location for the error logs in Linux is in the data directory. In the case of Ubuntu, this location is /var/lib/mysql and the file should be called <host>.err.
This is indeed not correct, since the only mysql error file I can find is mysql.err which happens to be located in /var/log
So both incorrect file name and location according to the books.
Furthermore, by default, error logging is enabled when you install MySQL, but the error log file in /var/log is empty, even if I executed a DROP USER noneexistinguser; which resulted in an error.
I added log-error=/var/lib/mysql under [mysqld] in my.cnf and restarted the MySQL server, but yet there are no .err files created in that directory whenever I execute something faulty in MySQL, nor is something showing up in the mysql.err file.
Could someone be so kind and enlighten me.
Apache error log not updating
location: ubuntuforums.com - date: August 4, 2009
Help needed relating to apache error log not updating on error in php script.
Location of the log is:/usr/local/apache2/htdocs/error.log
On starting apache,there are some entries in error log like:-
[Tue Aug 04 09:56:43 2009] [notice] Child 2040: Acquired the start mutex.
[Tue Aug 04 09:56:43 2009] [notice] Child 2040: Starting 250 worker threads.
But,on testing the php pages,if any error is encountered,the log is not reflecting the script error.
Fixing errors apache error.log
location: ubuntuforums.com - date: December 28, 2010
I have been tackling all the errors the keep poping up in my apache error.log
I have searched for information but all i get is matches to people with other problems that i am not having but have this in ther error log.
[Mon Dec 27 20:59:10 2010] [notice] Apache/2.2.14 (Ubuntu) PHP/5.3.2-1ubuntu4.5 with Suhosin-Patch configured -- resuming normal operations
This is my error I get. I'm not sure what is really causing it. At this moment I have no errors with anything that i am doing on my server. aka nothing appears to be broke.
I'm just attempting to fix a potential problem before it arises.
Thanks for your time
apache permission denied error log
location: linuxquestions.com - date: March 4, 2010
i'm new to linux server and just trying to configurate an apache server on my Fedora 12
when is start the httpd service i get the following massage:
Need Help setting up an error log for PHP errors
location: ubuntuforums.com - date: August 7, 2013
I was going through a tutorial that shows how to specify an error log. On the tutorial they set the error_log = /media/sf_sandbox/php_errors.log
on the /etc/php5/apache2/php.ini
My question is how did the set up the file, because it didn't show that on the tutorials.
When i ran the command tail "-f /media/sf_sandbox/php_errors.log" it gave me the following warning ...cannot open `/media/sf_sandbox/php_errors.log' for reading: No such file or directory
Any help would be highly appreciated! Thanks
Ubuntu Server 8.10 PHP not writing errors to browser or apache error log
location: ubuntuforums.com - date: March 2, 2009
I've installed Ubuntu Server 8.10 along with Apache2, php5, mysql, postgres 8.3 and everything needed to link them all together. I've looked in the php.ini and the display_errors directive is set to "On" and the error logging directive is on as well.
The problem is that PHP errors will only be written to the browser if I place the code error_reporting(E_ALL) in the scripts, otherwise it wont do it. Also, php errors are not being written to the apache error.log file. I've tried looking around and I cannot find a solution.
I have a working Windows Server 2003 web server and compared the httpd.conf and php.ini files to the ones I have on my ubuntu server and they're the same, yet windows logs errors to the screen and to the apache error log.
Am I missing something? Please help.
Thanks in advance.
Apache error log path
location: linuxquestions.com - date: December 20, 2011
I am apache IP based virtual Hosting on CentOS 5.I want to discuss about Error logs. In the virtual Host directive the default is
Page: 1 2 3 4 5 6 7 8 9 10