niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » Linux » Distributions » RedHat
Inappropriate ioctl for device
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
Author Message
Shabam
*nix forums beginner


Joined: 20 Feb 2005
Posts: 13

PostPosted: Tue Aug 09, 2005 1:55 am    Post subject: Inappropriate ioctl for device Reply with quote

I copied over user data from a old hard drive to a new one. After that,
whenever I try to run a cgi script, it gives me the error:

Inappropriate ioctl for device

While it's trying to write to a particular file. I look at the file. It's
there, writeable/readable by the cgi. The only way for me to fix this is to
delete the file and recreate it. The same permissions and everything. Now
the error is gone.

What's causing this error and how do I go about fixing it permanently?
Back to top
Sam
*nix forums Guru Wannabe


Joined: 19 Aug 2004
Posts: 143

PostPosted: Thu Aug 11, 2005 12:51 am    Post subject: Re: Inappropriate ioctl for device Reply with quote

Shabam wrote:
Quote:
I copied over user data from a old hard drive to a new one. After that,


What's causing this error and how do I go about fixing it permanently?


Could be a mismatch with old/new libraries

that the cgi uses ?

use strace to see what ioctl is being sent.
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
The time now is Fri Jan 09, 2009 8:06 am | All times are GMT
navigation Forum index » *nix » Linux » Distributions » RedHat
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Flash device can't find in kernel and redboot Kevin embedded 1 Thu Jul 20, 2006 10:04 am
No new posts raw device and solaris 10 osamaism@gmail.com Server 1 Wed Jul 19, 2006 9:11 am
No new posts raw device and solaris 10 osamaism@gmail.com Server 0 Wed Jul 19, 2006 9:11 am
No new posts postmaster: StreamConnection: accept: No such device or a... Reid Thompson PostgreSQL 2 Tue Jul 18, 2006 8:26 pm
No new posts cant open boot device on e3500 bl8n8r Solaris 2 Mon Jul 17, 2006 5:31 pm

Dutch Bodybuilding Forums | Mortgages | Mobile Phones | Credit Card information | Credit Counseling
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1197s ][ Queries: 16 (0.0517s) ][ GZIP on - Debug on ]