I am reading Sams Teach Yourself SQL in one hour a day. In this book they work with both Oracle and MySQL to teach you SQL. So I installed mysql on my box and I am creating the empty database they use in this book so I can follow along as I read. I have noticed a few typos in the book and now I have noticed some code errors too. I just don't know enough to fix em. I am working on creating the empty database and I am getting syntax errors when I create certain tables. I have checked both the printed version of the book and the electronic version (which differ slightly) and both give me the same synatax errors. First is Creating the first table of the database. Here is the code given to me to enter. The Electronic version
how I can correct this error and create these tables?
I have debian 4.0 installed for my apache web server (for some reason I did not require PHP all these days...). Now, I wanted to install PHP5 on the server. But I get http errors.When I run apt-get update I get the following error0% [Connecting to security.debian.org] later it displays[URL]The same happens when I try to install PHP5What could be the reason... should I fix sources.list?
I changed the password on my samba server and now I cannot mount the share anymore from my Windows 7 box. The logs shows no errors whatsoever about authentication, is that normal? I remember from a long time ago that I never saw samba do that and it has made troubleshooting very difficult.
I changed the password with the smbpasswd wanuser command the samba version is 3.2.5
When I crank up the log level, samba shows lots and lots of totally irrelevant messages like connected and disconnected, but not why it got disconnected. On the Windows 7 machine, I get an error that the user and password is not correct. Why does Samba not report it?
Could not convert filename to Unicode: 'H20 dinkus_.pdf': Invalid or incomplete multibyte or wide character Could not convert filename to Unicode: 'ANT0012 H20 Brochure_OFFSET_paths_.pdf': Invalid or incomplete multibyte or wide character ntfs_mst_post_read_fixup: magic: 0x00000000 size: 1024 usa_ofs: 0 usa_count: 65535: Invalid argument
Quote: file has vanished: "/media/sputold_server/2007 Archive/Icon?" file has vanished: "/media/sputold_server/2007 Archive/Resources/stage 1/images/resources/5yr stamp?1.tif"
WHat should i do. How can i delete the files which are on receiver but not on main server
In KDE I have no System Notifications, Kaffiene, Amarok2, Amarok and Xine immediately exit when opened without an error. If I try to open the System Settings/Multimedia or System Settings/Notifications control panels they also exit without an error. I have audio in other applications, MPlayer, Skype, VLC, Songbird, etc., as well as from the Konsole. I've tested Konsole audio using the published guidelines in the Audio HowTo, 'speaker-test' works fine for all users. In Yast2 I can configure and test the audio card without errors, but I am not able to get USB headphones working. I have been through the 'Check your multimedia problem in ten steps'. There are no errors or missing dependencies showing up. I've booted from the 11.2 Live CD and everything worked fine including KDE Notifications and application audio. I've tried deleting my .kde4 profile, this didn't fix the problem, and application and control panel behaviour remained the same with a clean profile.
SNMPv2-MIB::sysORDescr.2 = STRING: The MIB module for SNMPv2 entities SNMPv2-MIB::sysORDescr.3 = STRING: The MIB module for managing TCP implementations SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for managing IP and ICMP implementations SNMPv2-MIB::sysORDescr.5 = STRING: The MIB module for managing UDP implementations SNMPv2-MIB::sysORDescr.6 = STRING: View-based Access Control Model for SNMP. SNMPv2-MIB::sysORDescr.7 = STRING: The SNMP Management Architecture MIB. SNMPv2-MIB::sysORDescr.8 = STRING: The MIB for Message Processing and Dispatching. SNMPv2-MIB::sysORDescr.9 = STRING: The management information definitions for the SNMP User-based Security Model.
Iam trying to burn wave files to a cd that i ripped from a cd when i try burning to gets to 300 meg and stops with these errors CD RECORD RETURNED AN UNKNOWN ERROR (CODE 254) SOMETIMES USING TAO WRITING MODE SOLVES THIS ISSUE Using ubuntu 10.04
I've been using grsync to backup my home directory to an external drive (connected via USB), but lately I've been getting errors very early in the process and I was hoping someone might be able to help me fix them (or at least understand what I'm doing wrong).
Here's the output of a window titled "rsync: stopped" and in red "completed with errors!" rsync: write failed on "/media/LaCie/myhomefolder/.cache/champlain/osm-mapnik/6/12/23.png": Input/output error (5) kyconway/.cache/champlain/osm-mapnik/6/12/26.png rsync error: error in file IO (code 11) at receiver.c(322) [receiver=3.0.8] rsync: connection unexpectedly closed (486 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(601) [sender=3.0.8] Rsync process exit status: 12
whenever I copy (or move) files from one place on my hd to another One or two of them dont copy, and I get an error similar to " There was an error copying the file into [location]. Show more details> Error splicing file: Input/output error. The file is always an .avi file and always between 600MB and 1.4GB in size, how can I fix this problem?
I am running a headless Ubuntu 10.04 server with the 2.6.32-28-generic kernel. For what I can figure out no single direct cause I get a high load average and the following syslog output at random intervals. Generally the load average will drop back down to normal however the kernel errors will still continue What little I have been able to find has pointed to memory issues. I am not totaly convinced this is the cause as the server will be showing >50% free when the errors are happening.
For some reason valgrind can't give an exact line number for memory leaks. I installed all of the debuginfo packages and I am compiling my program (gWaei) with the -g and -O1 flags. I just don't know anymore. Specifically the libwaei ones are worrying.
==26794== Memcheck, a memory error detector ==26794== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. ==26794== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
my rhythmbox is showing a new tab that says "Import errors" I am attaching the screenshot of that error report and one major problem I have found out after that is rhythmbox contains non audio formats (like .iso and others) and rhythmbox tries to play these non audio files and make scratchy sounds. how come its reading these formats and it creates nuisance while the song changes and it tries to play those formats. I am using Lucid Lynx.
I am trying to compile a program for my assignment at school that uses curses.I have installed libncurses5-dev, and curses.h is now in /usr/include, but I am getting all these errors(it compiles fine at school).
Code: grcunning@grcunning-desktop:~/school/cs474/assign7$ gcc -o proj7 proj7.c /tmp/cc2ZFXrs.o: In function `main':
I can install the system, start setting it up, but eventually the system will halt with "Read only" errors, Input/Output errors on the drive the Distro is installed on and crap out. everything is working fine in Windows 7. It is just linux, seemingly. I've checked the hard-drive, memory, etc. I'm at an utter loss as to what is going on!
I've generated some srt subtitle files using gocr from pgm files used in DVD's. The ocr program gets confused between lower case L and upper case i and sees them as the same thing. This results in words with capital i's in them instead of lower case L.
What is the best way to automate the correction without a spell checker? I tried sed, but it's difficult to tell between the i's that you want and those that need changing. I figured that any word that consists solely of capital i's is ok, e.g. Roman Numerals, but any capital i not at the beginning of a word needs changing.
Here is my program. It asks the user for input and then prints a shape of a certain length. The errors I get when I compile are:
shape.c: In function "main": shape.c:22: error: expected identifier or "(" before "int" shape.c:58: error: expected expression before "return" shape.c:59: error: expected expression before "}" token shape.c:59: error: expected expression before "}" token #include<stdio.h> .....
In this case what is the return value of mount. I want to run e2fsck only when either mount fails or mount succeeded but with errors . Is there some way to detect this situatin "mounting fs with errors" in code/script .
I have this project which I've been working on essentially nonstop for the past three days and due to work I am running low on time. I'm new to Linux/Unix and my Teacher has assigned us a scripting project, due for Monday. I have All the functions for the project in a separate file which run as a daemon process when I log in. It has no syntax errors but my Script can not run the functions (I'm not sure where they go before or after the body) and I have one function I'd like you guys to take a look at. It has a Second menu leading to a case statement but it does not run after the Search. I'm Kinda tired of looking at the CLI but I have to finish this.
The 2010 CWE/SANS Top 25 Most Dangerous Programming Errors is a list of the most widespread and critical programming errors that can lead to serious software vulnerabilities. They are often easy to find, and easy to exploit. They are dangerous because they will frequently allow attackers to completely take over the software, steal data, or prevent the software from working at all.
The Top 25 list is a tool for education and awareness to help programmers to prevent the kinds of vulnerabilities that plague the software industry, by identifying and avoiding all-too-common mistakes that occur before software is even shipped. Software customers can use the same list to help them to ask for more secure software. Researchers in software security can use the Top 25 to focus on a narrow but important subset of all known security weaknesses. Finally, software managers and CIOs can use the Top 25 list as a measuring stick of progress in their efforts to secure their software.