General :: Sendto Failed -1 : Invalid Argument?
Sep 10, 2010I'm not sure why the sndto() is failing.
STATUS send_request(const packet_t * pkt)
{
int fd = -1; /* socket filedescriptor */
[code].....
I'm not sure why the sndto() is failing.
STATUS send_request(const packet_t * pkt)
{
int fd = -1; /* socket filedescriptor */
[code].....
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 RelatedWhen 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.
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]....
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
I've read hundreds of threads on this problem but they seem to be intermittent and the resolution has been using a different kernel version.
I'm using the latest kernel but I still have this problem
Running Logical Volume Manager gui and attempting to extend the volume results in the same error.
Today i upgraded my system and started getting error when i update, install or remove a package. The error isn't restricted only to one repository so i thing something is wrong with my system.
[Code]....
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]...
My hard drives kept dropping out of the raid array, so I finally identified the problem as a bad sata cable. I redid the wires and now when I try to assemble I get this:
Code:
mdadm -v --assemble --scan /dev/md0
mdadm: looking for devices for /dev/md0
mdadm: no recogniseable superblock on /dev/sde4
[code].....
Trying to get scanning going with my all-in-one, and have been troubleshooting it for awhile, and nothing works. Could use expert advice on this topic for an HP c6380 All-in-One. Printing does fine. All attempts at scanning are failing. scanimage -L says the device is my webcam. I don't know if usb scanner is in /dev.
View 4 Replies View RelatedI am trying to scan with an All-in-One HP c6380. I get the message:Failed to start scanner: Invalid argumentwhen I press the scan button in the GUI.
View 14 Replies View RelatedI have a Sweex USB webcam which I am trying to setup with ZoneMinder, however I cannot find the settings for it, and when I run:
Code:
I get:
Code:
Code:
Provide settings, or how to fix ZMU?
I have a SONY laptop, PCG-7181M model. It came with Windows 7 but I changed the OS to Ubuntu. Last night it asked me to upgrade to the new version called Natty Narwhal. I had to go to bed so I changed the sleep timer on the laptop to 2 hours, the time it would have taken the upgrade to complete. I woke up and the laptop was off, now only the grub menu shows up and the laptop won't boot. I tried doing this: - When the machine boots up, press Esc to get to the Grub menu - Select one of the recovery mode options. This will boot you up to a single-user root prompt. - Run sudo fdisk /dev/sda (this assumes that your hard drive is at sda) - Type p to see which hard drive partition is labeled Linux swap. In my case the partition was /dev/sda5. Type q to exist fdisk. - Type these commands:
[code]...
I'm having some difficulities with truecrypt and cannot figure out what's wrong since this is my first attempt to create hidden encrypted partition. I'm using ubuntu 9.10 64b with latest 6.3a truecrypt. After using truecrypt gui (just command truecrypt) I've tried: create volume-->create volumne within a partition/drive-->hidden trucrypt volume --> select some /dev/sdX by my choice --> select aes & sha512 --> password --> and format it.
when formating finished message "wrong ss, swith or wrong superblock of /dev/loop0" appeared. I've got no idea what could I do with it neither know whats program trying to do! Ok formating's done, then if you're trying to mount that partition then I would expect prompt for password, but that did not happen ...
EDIT: sudo mount /dev/loop0 /media/tmp/ also complaint about wrong superblock, but that does not ring any bell since i've got no idea what /dev/loop0 is or is for...
EDIT2: I've tried another approach also:
sudo truecrypt -t -c
sudo truecrypt -t /dev/sda3 --filesystem=none
but the first command finished creating 100G drive in 1 sec (nonsense) and latter one prints:
Error: device-mapper: reload ioctl failed: Invalid argument
Command failed
I'm trying to mount my new Western Digital Elements 2tb hard drive, but every time I try to plug it into the computer I get this error message:
Quote:
Error mounting: mount exited with exit code 12: Failed to read last sector (3907027119): Invalid argument
HINTS: Either the volume is a RAID/LDM but it wasn't setup yet, or it was not setup correctly (e.g. by not using mdadm --build ...), or a wrong device is tried to be mounted, or the partition table is corrupt (partition is smaller than NTFS),
[code].....
But when I tried opening the hard drive from nautilus I still got the same error message as above (no other volumes was connected at the time). I've also tried opening and watching it in GParted, and I can see it there as a volume that's not allocated. When I tried to allocate the hard it I got the message that it had no partition table. And that I cold make one. I tried and Ubuntu suggested to make a MS-DOS partition table for it. But there I got a little scared as I've not done this before. The external hard drive is brand new and was brought today. And I don't have the possibility to test it with Windows or Mac as I'm using Linux only on my machines.
I'm running Kubuntu Karmic on my Dell Inspiron laptop - about 200 bug fixes behind because my only available internet is a cellular connection on a crappy wi-fi router - and last night, I suspended it, but it shut down instead. Not a problem, it does this fairly often, figure the RAM gets jostled or something.
But when I go to boot it up, it gets stuck at the pre-loading screen before getting garbled and dropping to the shell, where it says "mount: mounting /dev/disk/by-uuid/[insert hex code here] failed: invalid argument". Of course, mounting /root/sys, /root/dev and /root/proc fails, (directory does not exist) and it gives me the busybox initramfs prompt.
after upgrading ClamAV to version 0.97.1 and run the command Code: clamscan -r -i / --exclude-dir=^/sys --exclude-dir=^/dev --exclude-dir=^/proc | mail -s "clamav scan report XYSERVER" xy@mail.com the following errors appeared:
[Code].....
We Are Using Centos 5 64Bit with Kernel 2.6.18.92 with Amd Athlon ProcessorThe problem when calling setsockopt it return error errno:22 InvalidargumentThis code run on Macos ,Sunsolaris ,But fail to execute on Centos 5 64bit & The SCTP mailing group told me that this problem belongs to centosexample form ibm webside
/*
server
*/
[code]....
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].
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
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 Relatediam 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
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.
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?
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 RelatedI'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]....
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.
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:
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.
Option -m: Invalid argument near character 14
View 1 Replies View Related