Questions tagged [errno]

errno is an integer variable, which is set by system calls and some library functions in the event of an error to indicate what went wrong. Its value is significant only when the return value of the call indicated an error.

errno is an integer variable, which is set by system calls and some library functions in the event of an error to indicate what went wrong. Its value is significant only when the return value of the call indicated an error.

559 questions
0
votes
1 answer

MySQL errno 150 without solution yet

although this is a repeated question, I have been searching through most of the similar posts, but found nothing useful. Here's my SQL script for MySQL. CREATE DATABASE IF NOT EXISTS store; USE store; CREATE TABLE IF NOT EXISTS Box ( coord VARCHAR…
fasaas
  • 592
  • 1
  • 6
  • 23
0
votes
1 answer

What values can take errno

What values ​​can take errno? At what minimum largest type variables can I store the value errno?
0
votes
0 answers

Strtol implementation different behaviour on 32 and 64 bit machine

#include #include #include #include #include #include #include #define NEGATIVE -1 #define POSITIVE 1 #define OCTAL 8 #define DECIMAL 10 #define HEXADECIMAL 16 #define…
0
votes
1 answer

Linux equivalent of FreeBSD's cpu_set_syscall_retval()

The title pretty much says it all. Looking for the Linux equivalent of cpu_set_syscall_retval() found in /usr/src/sys/amd64/amd64/vm_machdep.c. Not sure if there is even such a thing in Linux but I thought I'd ask anyway. …
0
votes
3 answers

#1005 - Cant create table... (errno: 150)

I have all the primary keys and drop tables in the correct order. I basically want stockID to be a foreign key in my refund table. My schema looks like this... CREATE TABLE refunds ( refundID SMALLINT AUTO_INCREMENT, stockID SMALLINT, refundDate…
user2525364
  • 93
  • 2
  • 3
  • 12
0
votes
1 answer

No such device or address windows

When I used ACE_OS::fopen function to create file for writing, the result was failed and got errno message "No such device or address". Windows OS: windows server 2008 r2 enterprise! It made me confused, what kinds of reasons could cause this…
0
votes
2 answers

Errno 150 can't create the table MYSQL

Im trying to create a table with 2 foreign keys from 2 other tables but I always get an errno 150, i don't understand why they all have the same data type and I am using InnoDB, what could be wrong ? Here is my code CREATE TABLE Employees ( …
Fellow Rémi
  • 159
  • 1
  • 1
  • 9
0
votes
1 answer

Cant understand perror's message with mkdir

I have a piece of code which creates a directory from a string, cwd here is a string giving the directory path. Unfortunately there was an error which didn't allow me to create the directory, so I used the perror() and strerror() functions like so,…
Tanmay
  • 366
  • 1
  • 4
  • 22
0
votes
1 answer

in HortonWorks

I am trying to run hadoop on a VM that I have downloaded from HortonWorks Sandbox (very new at working with hadoop, mahout...) I am using HortonWorks environment to create a table and start working with it. But the problem is that when I upload my…
San
  • 1
  • 1
  • 4
0
votes
0 answers

An Errno::EACCES error

I am getting an error on my stating server which says An Errno::EACCES occurred in items#update: Permission denied - /var/www/ABC/public/items_images/1 /root/.rbenv/versions/1.9.3-p448/lib/ruby/1.9.1/fileutils.rb:247:in `mkdir' My staging.rb file…
Roman
  • 337
  • 1
  • 3
  • 12
0
votes
0 answers

Rails + jquery : ERROR Errno::ECONNRESET: Connection reset by peer

I have a problem when I send an AJAX request with jquery in my Rails 4 app (ruby 2.0). The error is: ERROR Errno::ECONNRESET: Connection reset by peer JS: $("#user_main_filter_all").click(function() { $("#spinner").show(); $.ajax({ …
alex.bour
  • 2,842
  • 9
  • 40
  • 66
0
votes
2 answers

SQL can't create table, errno 150

I'm slowly going crazy because I tied a knot with keys in a database and now when I want to create the database on an other server, it constantly gives back an error. The error occurs at the table 'product'. I'll just give the entire script: SET…
Ken
  • 2,859
  • 4
  • 24
  • 26
0
votes
1 answer

Making a simple HTTP webserver, using errno to reply with "403 Forbidden" and then redirect to a 403 page?

I'm making a simple HTTP webserver, and this is the relevant portion of the code: 179 stat(path, &rd_perm); /* path contains the full path to the original file request */ 180 if(errno == EACCES){ /* We don't have permissions to view…
filpa
  • 3,651
  • 8
  • 52
  • 91
0
votes
1 answer

Initdb for Postgres failing with misleading error message when build on a remote system

I have a build of PostgreSQL's Initdb utility that was compiled and linked on a remote build server running Fedora. On my system (Ubuntu 13.04 64-bit) when the utility is run using the command initdb -D /home/me/postgres_files/ -L…
Pete
  • 62
  • 4
0
votes
1 answer

Can C library functions (specifically sigaddset()) fail with an error not mentioned in standard?

In my program,sigaddset() is failing with error: sigaddset: Invalid Seek which corresponds to ESPIPE in errno.h but this error is not mentioned in the standard definition of sigaddset(). The complete code is too long, I am posting the required…
0xF1
  • 6,046
  • 2
  • 27
  • 50