General :: OSError: [Errno 22] Invalid Argument

Apr 19, 2011

iam having a problem while using the urlwatch utility in linux

/usr/bin/urlwatch --urls=/home/etika/Desktop/etikaa.txt
file pathname is /home/etika/Desktop/etikaa.txt

when ownership is tomcat it doesnot run when ownership is etika(which is the user on the system through which iam running my script why the file which is passed to urlwatch is not accepted if that's file owner is tomcat6 it gives the following error

Traceback (most recent call last):

File "/usr/bin/urlwatch", line 221, in <module>
for job in handler.parse_urls_txt(urls_txt):
File "/usr/share/urlwatch/urlwatch/handler.py", line 128, in parse_urls_txt
shelljob_errors.append('%s not owned by %s' % (urls_txt, os.getlogin()))
OSError: [Errno 22] Invalid argument

but when the ownership of the file is changed to etika it run smoothly why urlwatch does not run when the file containing the urls is owned by tomcat with full 777 permission but run with etika (user on the system) through this iam running my shell script

View 2 Replies


ADVERTISEMENT

General :: Cannot Run ARPD Command - Invalid Argument

Aug 17, 2010

I've a problem when I try to run arpd program to support my honeyd software but when I try to execute it then it shows this error message
./arpd 10.0.0.0/8
arpd: intf_get: Invalid argument
My arpd installation based on this tutorial [URL].

View 2 Replies View Related

General :: Dmsetup Create Invalid Argument?

Nov 3, 2010

I am getting the following error message when running dmsetup command:

dbacb01:~ # echo 0 4096 linear /dev/loop1 0 | dmsetup create new
device-mapper ioctl cmd 9 failed: Invalid argument
Command failed
dbacb01:~ # uname -a
Linux dbacb01 2.6.5-7.282-smp #1 SMP Tue Aug 29 10:40:40 UTC 2006 i686 GNU/Linux

View 1 Replies View Related

General :: When Type Ifconfig - Invalid Argument

Jul 1, 2011

When i type 'ifconfig eth0 192.168.25.1 255.255.255.0' the outcome is 'SIOCSIFADDR : invalid argument', but when i check the ip address using /sbin/ifconfig i see the ip address is updated to 192.168.25.1 and is up. When i restart the linux box,the /sbin/ifconfig is reset to 192.168.100.1 .what should i do so that the linux box /sbin/ifconfig should not change when am rebooting.

View 12 Replies View Related

General :: Sendto Failed -1 : Invalid Argument?

Sep 10, 2010

I'm not sure why the sndto() is failing.

STATUS send_request(const packet_t * pkt)
{
int fd = -1; /* socket filedescriptor */

[code].....

View 1 Replies View Related

General :: Samba Error While Copying Invalid Argument

Jan 4, 2010

I'm running ubuntu 9.04 and trying to pull over some files via the GUI from a XP box over locally. I'm getting this error:

"error while copying file into /volcano/tunes invalid argument" (under show more details)

If I just copy over a mp3 file it works fine but the when I copy the entire directory I get this error.

View 1 Replies View Related

General :: SET Failed On Device Wlan0 ; Invalid Argument

Sep 29, 2010

I m unable to bring my wireless lan UP and getting the following error: SET failed on device wlan0 ; Invalid argument in dmesg i m getting : link not ready wlan0 Network card is : Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)

View 7 Replies View Related

General :: Making Packet Sniffer Using Raw Socket - Invalid Argument

Nov 16, 2010

I am actually making a packet sniffer using raw socket. Its just that when I use the command '
if((ioctl(rawsock, SIOCGIFINDEX, &ifr)) == -1)
to get the interface index...
Its gives me an error saying :invalid argument?

View 2 Replies View Related

General :: An Error Occurred In Avast Engine: Invalid Argument

Jun 15, 2011

I loaded Avast anti virus into Ubuntu 10.10 this morning. It seemed to go okay and uploaded the updates. But then it stopped. Now when I try to start it I get the following error message. 'An error occurred in avast! engine: Invalid argument'

View 1 Replies View Related

General :: Read Swap Header Failed Invalid Argument (F12)

Aug 25, 2010

When I boot, after startup and before I log on, an error icon appears. I click - it shows a summary of the material that normally rolls by on a unix startup. One item is checked. It says:

Code:
Enabling /etc/fstab swaps: swapon: /dev/mapping/vg_knox-lv_swap:
read swap header failed: invalid argument
I have 1 disk - it has 2 partitions - one an 83 type with a file system in it, holds the kernel, mounts at /boot.

The second partition is an 8e type contains a volume group logically split between lv_root and lv_swap and physically located on sda2. As I understand it, the system is having trouble processing the commands for lv_swap. I am tempted to mess with these commands, but don't have enough know how to do so and am short on the time required to learn enough to master this subject.

View 5 Replies View Related

General :: Mount USB Mounting /dev/sda1 On /mnt/usb Failed: Invalid Argument

Jul 23, 2010

I am using an embed linux application and trying to mount a USB device. The USB worked fine in windows. I then put it on my Linux box formatted (I hope correctly) And then tried to do the following to mount it

Code:

Disk /dev/sda: 4040 MB, 4040748544 bytes
255 heads, 63 sectors/track, 491 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[code]....

View 10 Replies View Related

General :: Mount: Mounting /dev/loop0 On /mount_dir Failed: Invalid Argument

Nov 25, 2010

I am getting error while mounting loop dev over mount_dir. my step as follows:

#mkdir /mount_dir
#mount -o loop /mount_dir
mount: mounting /dev/loop0 on /mount_dir failed: Invalid argument

View 1 Replies View Related

General :: Svn: Berkeley DB Error While Creating Environment For Filesystem Repo/db: Invalid Argument

Apr 14, 2009

I'm having trouble getting subversion working on Centos 4.7. When I try to create a repository using:

Code:
svnadmin create /path/to/repo
I get:
Code:

svn: Berkeley DB error while creating environment for filesystem repo/db: Invalid argument
svn: bdb: Berkeley DB library configured to support only DB_PRIVATE environments

I've searched the Net, with little luck. Threads seem to suggest that Centos has this flag compiled into the Berkeley DB RPM by default; whereas SVN doesn't want it. Someone, somewhere, must have got this to work and I'm sure it's something really simple I'm doing wrong.

[code]....

View 1 Replies View Related

Red Hat :: Error Inserting MD5 - Invalid Argument

Mar 24, 2011

I am running Red Hat with 2.6.18-194.8.1.el5PAE kernel version. I am trying to run encryptfs to encrypt a partition on my hard drive. One of the kernel modules necessary is the md5.ko. I noticed it wasn't loaded in when doing an lsmod. I tried running modprobe md5 and it fails to load:

[root@ ~]# /sbin/modprobe -v md5
insmod /lib/modules/2.6.18-194.8.1.el5PAE/kernel/crypto/md5.ko
FATAL: Error inserting md5 (/lib/modules/2.6.18-194.8.1.el5PAE/kernel/crypto/md5.ko): Invalid argument

I ran dmesg and grepped for md5, but I didn't see anything in there.

View 1 Replies View Related

Ubuntu :: TTY Fonts - KDFONTOP: Invalid Argument ?

Jan 15, 2011

I was trying to change the console fonts. I remember that I did successfully change the console fonts back when I was using Jaunty with this:

Code:

View 8 Replies View Related

Ubuntu :: Error Failed: Invalid Argument

Mar 5, 2011

i downloaded baldurs gate II shadows of amn iso's, because i lost one of the CD's to the box, but anyways, I went to mount the third .ISO for installation, and BAM! my computer froze, so i waited five minutes, came back, and still frozen. shut it down for 20 minutes, pulled it back up, and it's got this error as follows; "Mount: mounting /dev/disk/by-uuid/65b0a6a-a366-435a-a086-58428cfe2bd1 on /root Failed: invalid argument

[code]...

View 6 Replies View Related

Networking :: Invalid Argument With Iwconfig Command

Jan 31, 2011

I am trying to connect to a wireless network. I got a problem with network manager. So I try to connect manually

I found wireless network around by using "iwlist scan" command.

I want to connect to a network with ESSID "MCC(Mandalay)" and Key "mdymcctraining"

Here is my problem The output of "iwconfig" command is

Code:

What does it mean "invalid argument"? It means that my wireless pre-sharedkey is not correct? I am sure the key is valid. It is used by any others with window 7.

View 1 Replies View Related

Server :: Option -m: Invalid Argument Near Character 14

Nov 26, 2010

Option -m: Invalid argument near character 14

View 1 Replies View Related

Software :: ORBInitialHost Localhost Says Invalid Argument

May 30, 2010

I am trying to get the hello world example to work on my fedora box I have all the compilers etc I have followed the example [URL]... it all goes fine untill 5 I type in the command: java HelloServer -ORBInitialPort 1050 -ORBInitialHost localhost& and it says invalid arugment helloserer

[code]...

then it states the compiler usage.

View 7 Replies View Related

Debian Hardware :: Scanner Fail With Invalid Argument

Oct 29, 2014

This error is very difficult to solve, but also appears widespread across the Debian universe and also others like Arch and Fedora. I use a Canon LiDE 110 scanner and it has always worked very well under Linux. This same problem affects many other scanners not just the 110. Run any front end like xSane and after initially appearing to be OK it will fail with an Invalid Argument error.

But, it does not happen to everyone. I have several machines to experiment with so I did. I also used Debian Testing and Sid, Ubuntu 14.04 and 14.10 and various Mint versions and desktops.

The error is all to do with USB3. Plugging the scanner into a USB2 port does not in and of itself solve the issue. Nor does running the scanner through a hub. On my older laptop without USB3 hardware my scanner works like a charm using any modern Linux. On my very old spare desktop it also works fine despite having USB3.

But, on my shiny new Intel i5 on an ASUS H97I Plus it all falls apart. After much reading of forums and many dead ends we find the problem is modern machines with Intel xHCI Mode in the BIOS. It has to be off, not enabled, auto nor super auto. But when you turn it off you turn off USB3 support and your system falls back to USB2 only. My old spare machine has an AMD chipset and USB3 enabled does not cause this error.

So if you need to use your scanner and get this error then xHCI mode is the workaround. Fine if you have no real need for USB3, but most definitely a temporary solution.

Where in the system does this error come from? Too hard for me. Is it in Sane or in the libusb sub system or all the way up to the kernel? However if you have any USB device that has stopped working this setting in your BIOS has got to be worth a try. It is nothing to do with permissions or firmware.

sane-utils updated to 1.0.24-5 in sid (Dec 12, 2014) problem still exists.

View 5 Replies View Related

Ubuntu Installation :: Cannot Mount /dev/loop0 :invalid Argument

Apr 8, 2011

I'm having troubles installing ubuntu on my "Acer one 522" netbook, I have made a pendrive with unetbootin and ubuntu 11.04 natty and upon booting into the usb i get the boot loader displayed properly, start to load ubuntu, then about halfway through i get some screen tearing with a really small shot of the boot loader screen in the top left hand corner followed by some command lines saying "cannot mount /dev/loop0 :invalid argument".

View 1 Replies View Related

Applications :: Hdparm LSI Controller Support - Invalid Argument

Jan 7, 2010

I have SSDs connect to my Linux machine through the LSI SAS/SATA 1068E controller. I've been trying to issue a ATA secure erase command to my SSDs, but I keep getting error. In fact even hdparm -i fails.

# hdparm -i /dev/sda
/dev/sda:
HDIO_DRIVE_CMD(identify) failed: Invalid exchange
HDIO_GET_IDENTITY failed: Invalid argument

Initially I thought there was some kernel configuration issue, so I tried connecting a SSD to the on board SATA and I no longer get errors. The secure erase worked. It seems there is some compatibility issue with hdparm and the LSI controller/driver I'm using. Any way to make hdparm play nice with my LSI controller? Has anyone had success getting hdparm to work with drives connected to an LSI controller?

Additianal info:
Linux Kernel: 2.6.30
hdparm: v9.27
LSI driver: Fusion MPT SAS Host driver 3.04.07

View 4 Replies View Related

Software :: RHEL5 - ACL Mount (Invalid Argument Near Character 1)

Mar 12, 2010

I am using rhel5. I am trying to implement acl's I created one partition mounted on directory /aclmount
Created 3 users and group sales
Created one file under mounted dir quotation
I tried this command
#sudo /usr/bin/setfacl -m -u:user1:rw- aclmount/quotation
I am getting this out put
setfacl: Option -m: Invalid argument near character 1

View 5 Replies View Related

Software :: Warning: Invalid Argument Supplied For Foreach()

Apr 27, 2011

I am trying to duplicate our company website running from Centos 5.5 to another Fedora 13 box. The output is ok but when I tried to open 1 page which automatically search pdf files, this errors appear:

Warning: fopen(help_search/file - file.txt) [function.fopen]: failed to open stream: No such file or directory in/var/www/html/site/index.php on line 1018

Warning: Invalid argument supplied for foreach() in /var/www/html/site/index.php on line 1023

Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings.You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Manila' for 'PHT/8.0/no DST' instead in/var/www/html/site/index.php on line 1297

Warning: date()[function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Manila' for 'PHT/8.0/no DST' instead in /var/www/html/site/index.php on

I was just confused because in Centos 5.5 it works fine.

View 2 Replies View Related

CentOS 5 :: Unusual Error During Run Time - Invalid Argument

Oct 21, 2010

I've just moved a server across to CentOS 5.5 64-bit and I have been trying to get some custom software running on it. However I'm getting an unusual error during run time:
sched_setaffinity: Invalid argument
I've had this software working on a old versions of Gentoo (2.6.12-gentoo-r6) and Fedora. And the latest version of Ubuntu server 10.04.1. (All 64 bit). It looks remarkable similar to:
Core test failed on s390x RHEL6
If v7 bug fix and enhancement update has been incorporated into CentOS 5.5 64 bit yet? Or how I might find out.

View 3 Replies View Related

Debian :: Crypsetup Invalid Argument Creating Partition On USB Stick

Jul 10, 2015

I have a problem trying to create an encrypted LUKS partition on a USB pen drive, but I don't know whether it is a hardware or software issue.

I just installed debian on this laptop with non-free packages:

Code: Select allroot@debianpc:~# uname -a
Linux debianpc 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) x86_64 GNU/Linux

Then just to learn cryptsetup I thought it was safer playing with a partition on an old usb pen drive. But when I try the command:

Code: Select allcryptsetup -v --debug --cipher aes-xts-plain64 --key-size 512 --hash sha512 --iter-time 3000 --use-urandom --verify-passphrase luksFormat /dev/sdb2

I get the usual message (Are you sure? ...), I type yes then it fails with code 22:

Code: Select all# cryptsetup 1.6.6 processing "cryptsetup -v --debug --cipher aes-xts-plain64 --key-size 512 --hash sha512 --iter-time 3000 --use-urandom --verify-passphrase luksFormat /dev/sdb2"
# Running command luksFormat.
# Locking memory.
# Installing SIGINT/SIGTERM handler.
# Unblocking interruption on signal.

WARNING!
========
This will overwrite data on /dev/sdb2 irrevocably.

Are you sure? (Type uppercase yes): yes
# Unlocking memory.
Command failed with code 22: Invalid argument

I had /var/log/messages open in tail on another terminal, but no message appeared. I tried the same command deleting one by one the parameters, but I got the same behaviour, so I don't think it is a parameter problem.

View 1 Replies View Related

Fedora :: Scanner Driver For Brother DCP385C - Invalid Argument

Mar 23, 2011

My Brother DCP385 Printer/Scanner goes alright Printing but will not Scan. I keep getting this message: 'brother3:bus3:dev1': invalid argument. My OS is Fedora 14. Brother seems to only go up to Fedora 12 in their driver page . There is no mention of Fedora 14 .

Pentium 4, 80Gb HDD, 1Gb Ram

View 1 Replies View Related

Fedora :: Driver For Brother DCP385C Scanner - Invalid Argument

May 22, 2011

I have been looking through Brother drivers and can get the drivers for Brother DCP385C printer and scanner but the scanner will not work . It keeps telling me "failed to open device - 'Brother3:bus3;dev1':invalid argument" . I have looked into the Brother site but it does not tell me what to do for Fedora 14 . It only goes up to Fedora 12.

View 1 Replies View Related

OpenSUSE :: Error: Cannot Open Basenames Index Using Db3 - Invalid Argument (22)

Jul 6, 2011

i am trying to update my system from a new clean install that i made i am running the update from yast and i am getting the listed message:

Code:
Subprocess failed. Error: RPM failed: rpmdb: /var/lib/rpm/Basenames: unexpected file type or format
error: cannot open Basenames index using db3 - Invalid argument (22)

View 8 Replies View Related

Ubuntu Networking :: Samba Error While Copying, Invalid Argument?

Jan 5, 2010

I'm running ubuntu 9.04 and trying to pull over some files via the GUI from a XP box over locally. I'm getting this error:"error while copying file into /volcano/tunes invalid argument" (under show more details)If I just copy over a mp3 file it works fine but the when I copy the entire directory I get this error.

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved