problem about log-Collection of common programming errors


  • dezso
    sql-server normalization log
    How can I normalize a table that has four columns for logging the latest activity for a single record:Created On Created By Modified On Modified ByWe have dozens of tables, all with these 4 columns. Is there a way or pattern to normalize this in an efficient and flexible manner?

  • user2284355
    log rsyslog
    I am going insane trying to get rsyslog to send a specific logfile to a remote server over UDP. This is the rsyslog.conf file for the sending server:# /etc/rsyslog.conf Configuration file for rsyslog. # # For more information see # /usr/share/doc/rsyslog-doc/html/rsyslog_conf.html # # Default logging rules can be found in /etc/rsyslog.d/50-default.conf################# #### MODULES #### ################# $ModLoad imuxsock # provides support for

  • mrjrdnthms
    arcmap geoprocessing log
    I am writing a greoprocessing script in python and running it in arcmap 10. The script works as expected until it gets to an area solar radiation calculationAreaSolarRadiation(input_dem, “”, “400”, TimeMultipleDays(2011,1,31),7)It seems every other time I try to run the geoprocessing tool in arcmap the application crashes when it gets to that solar radiation calculation. Sometimes the crash is followed by a prompt to send ESRI an error report. Sometimes I don’t even get that. The dem I am ca

  • Chad Cooper
    qgis windows7 log
    I have a problem with QGIS 1.8 with OSGEO4W installer (windows 7 – 64 bit). QGIS crash on startup, it shows the splash screen and then nothing. I have updated from an old 1.7.4 QGIS version. I have done the same procedure in a portable computer and it works fine. The problem is only in the workstation. Is there a log file to view what is the problem? Thank you

  • RolandoMySQLDBA
    mysql innodb recovery sequence log
    Our site was getting intermittent database errors and I asked my webhost to check what’s happening. After some inspection they found that the database has few issues and tried repairing it. Finally I got following message from them- I have attempted every repair on the InnoDB database and we are stillgetting the InnoDB log sequence number is in the future. At thispoint to get the ibdata and the iblogfile to match up once again wewill need to restore the MySQL directory (which includes databas

  • Rishee
    server configuration log administration syslog
    I have a Ubuntu Server 11.10 installed. wanted to know where hardware related logs are stored & is there any configuration that needs to be done, for those logs to be activated?If possible please mention where to find the logs related to drivers of the respective hardware failuer or something related to particular driver failure? And in case if they are stored in one single log file then how to distinguish the hardware errors or logs from drivers errors or logs?My purpose behind this informa

  • Ramon Suarez
    sync log insync
    When contacting the customer service of Insync they ask to send the logs where do I find them in Ubuntu?

  • WarriorIng64
    10.04 freeze log syslog apport
    Am onUbuntu 10.04.2 LTS Linux skiran 2.6.32-32-generic-pae #62-Ubuntu SMP Wed Apr 20 22:10:33 UTC 2011 i686 GNU/LinuxMy machine froze for the 5th time in 2 days. Had to reboot, and login to a failsafe session to collect and review logs. ALT+F2 to run nm-applet, so that the network connectivity works ALT+F2 to run gnome-do, to launch my applications (I prefer using gnome-do, to using menu options, or ALT+F2)I noticed the following errors in the various /var/log/* files, at the time my machine las

  • green7
    log
    So, if there is some problem with my computer, be it hardware or software, what are the major log files and where are they located?Also, is there a generic location where log files of the other packages might be located?

  • izx
    server command-line kernel log
    My server freezes every day at 00:50 am. I do not know what it can be. In log files I found just such a suspect listing, but I do not know what that means. Could someone help me??kernel: php5-cgi invoked oom-killer: gfp_mask=0x84d0, order=0, oom_adj=0, oom_score_adj=0 kernel: php5-cgi cpuset=/ mems_allowed=0 kernel: Pid: 20316, comm: php5-cgi Not tainted 2.6.38.2-xxxx-std-ipv6-64 #2 kernel: Call Trace: kernel: [<ffffffff810de9e8>] ? dump_header+0x88/0x1d0 kernel: [<ffffffff810aa6e3>]

  • Kevin Bowen
    log privacy syslog
    I have heard that log files contains private data. How can I remove it and what files should I remove from them? Those are very long files so maybe if I know what to remove I can use a script or something else.Any suggestions? Thanks.

  • Seth
    log
    I have been using ubuntu for years, but I am ICT challenged. 12.04LTS recently crashed while I was on the interweb. Now, when i try to boot, it asks me to log in. Never had to do this before, and the 3 possible passwords that I use for everything don’t work. I can log in as a guest, but of course I can’t access my folders or documents. Any thoughts?

  • Octavian Damiean
    screensaver log
    I’m looking for a simple way to determine the rough amount of time per day I spend on a computer. This can be a difficult task if you try to monitor processes, key presses, mouse clicks and the like, because one can be doing anything from thinking about a coding problem, reading a web article, talking on the phone, or gone off walking the dog. The computer cannot read my mind. Since I leave computers on 24/7 monitoring log-ins won’t work. I hit on the idea of logging how much time the computer s

  • d3vid
    shutdown log
    I was at school SSHing to my homebox. All of a sudden, my connection was closed. Attempting to reconnect failed. When I returned home, I discovered that my computer was off.Nobody was at my house and I am sure that I did not have a power outage.How can I figure out how or why my computer shut off? Is there some log in /var/log that could point me in the right direction? Should there be a core dump somewhere that I should find? If so, how do I use core dumps?

  • Jorge Castro
    log logging
    I’m trying to clear a log file in use, and all the commands I’ve tried so far:truncate less tail filenameDon’t get the job done. Deleting the file and creating a new file with the same name doesn’t work either.I heard about a config-file for the log but I have no idea where this is kept. Is there ANY way to fix this problem? This log file will get so big it’ll crash my system.

  • Braiam
    command-line log
    I want to know how to get a log file of a program. This is useful to find the faults in an application when it crashes. I mean opening the application through the terminal and at the same time writing a log file.Are there special commands to do this, or is it automatically done whenever an application is run? If so, where is that log file stored?

  • Echogene
    java log
    I have a certain Java program that occasionally causes Ubuntu to crash. The sound gets stuck on a short loop, the screen output actually ceases (i.e. monitor can find no input and turns off) and no keyboard or mouse inputs work. I have to restart it from the physical power button. My question isn’t how to fix it because I don’t know what is actually happening. I would like to know what logs or logging programs I could look at to get any information on why this is happening. It would be usef

  • vasa1
    security log administration filter
    How to filter system logs (like /var/log/syslog) so that they not contain sensitive data and can be safely used to analyze system problems (crashes etc.)?

  • Anwar Shah
    log
    This question already has an answer here:Which log will tell me why my computer shut down?2 answersSome mornings I wake up to find that my computer has rebooted for reasons unknown to me. I’ve tried looking in various files in Log File Viewer, but none seems to provide any clues.What can I do to investigate what’s going on?edit: This is not a power outage/surge. I’m hooked up to a UPS battery, and the logs always show that reboot happens within a minute or two of the crash.

  • Jorge Castro
    log
    My laptop crashes (which is another question) and when it does so it swiches to a text console and outputs an error which is too long to type (like this). I can’t do anything with it other than sometimes restart X (otherwise restart the computer) when it crashes. Is there any way I can get this error so I can post it? A log somewhere? I’ve tried SSH and conspy, but networking seems to get cut off.

  • Bruno Pereira
    log
    Sometimes it happen that some application crash without give no output error (conky in my case, probably is one of my configuration that is incorrect).Is there somewhere a error log that I can check to understand why it is crashed?

  • RolandiXor
    unity-2d log freenx gnome-session
    I was connecting to a remote laptop using FreeNX and a gnome classic session. After upgrading to 11.10 on the laptop I am now using unity 2D . Sometimes while working on the NX session, the session will suddenly terminate. Since the main change was from classic gnome2 to unity 2d I am afraid that unity 2d is crashing.Are there any logs related to the gnome-session/unity 2d likely used for errors logging ?

  • Bob1000
    log
    Every time I try and log into Code project it crashes (picture of the bugs ok that’s neat but fed up seeing it!).   Using IE9 on Window 7 64 bit – no other problems seen with IE9 or system just Code project   Hope this message works at least…….Any ideas?   Add Just noticed that one of the crashed attempts at logging in must have actualy worked as I’m logged in. So maybe its not the logging in but what the web page does after log in!   As a note: Code project use to be gr

  • Thufir