i am using Centos 5, i am trying to mount win2k3 server on centos machine.i am getting the following error.CIFS VFS: cifs_mount failed w/return code = -11
I'm trying to mount a samba share from one Ubuntu server to another Ubuntu server and keep getting:
: cifs_mount failed w/return code = -6
I've searched cifs error codes on google and can't find anything about what it means. Anyone know what it means or has a link to a cifs error codes sheet?
I need to get a return code for the command ldapmodify.I try this and didn't workrc=ldapmodify -a -v -c -p $PORT -h $SRV -D cn=$USR,cn=Users,dc=company,dc=com -w $PWD -f $LDIFFILENAMECOUNTecho "return code " $rc what exactly the way to get the return code of that ?
1. typeset -i INTEGER INTEGER=aaa In all platforms except of Linux it is failing and return exit code 1 Why in Linux it is not failing? I must it for my number tests
2. The same for printf command. Only in Linux the bellow command is not failing: printf "%d" aaa
I learn C++ reading the <C++ primer 4th>, question1.2 let me test if return -1 how the compiler handle this exit code. and in gcc (GCC) 4.1.1 20070105 (Red Hat 4.1.1-52), I get this show:
[youxi600@Arthas C++ Primer]$ cat q1_2.cpp int main() { return -1; } [youxi600@Arthas C++ Primer]$ gcc q1_2.cpp -o q1_2 [youxi600@Arthas C++ Primer]$ ./q1_2 [youxi600@Arthas C++ Primer]$ echo $? 255 [youxi600@Arthas C++ Primer]$ anyone can give me an advise? Many thanks!
I`m using cifs to mount a windows 2008 server share. I`m mounting it read only and using an rsync script which works quiet nice.
Recently I couldnt mount the windows share anymore, i didnt know the account iam using would go inactive if i never logged in.
Just where does cifs write a log if it can`t mount a windows share? If I knew where it is it would also be easier to find the reason if it doesn`t work.
I upgraded my Karmic OS to Lucid the day after it became available and have been having some troubles - I am having trouble starting the OS. Brief history: I have real troubles with the ATI graphics and spent a while trying (finally successfully) to remove fglrx and associated dependencies. I then rebooted ready to install new drivers. I now get the following error on startup:
For the last couple of weeks or so, I have noticed CFS errors on shutdown which has meant that I have needed to physically press the off button to turn the machine off, but since I could still operate I left that problem on the back burner "for when I have more time". Don't know if the two problems are related. Anyway, I am currently in the situation where I cannot start Ubuntu at all unless I use the install CD and try the LIVE distro.
(My PC Has a 1 TB drive and a 500 gig drive. The 1 TB drive has dual boot Vista (came preinstalled and I have a couple of games for it - else, yuk) and Linux. The 500 gig drive is a data drive). I'd rather not reinstall from scratch though may have to? I don't know of any way to repair-install the OS - maybe that would be possible too?
I try to fetch links from a URL using HTML::LinkExtor, but it always return 0 links even if the status code is 200 OK. I am running the following code in Ubuntu 9.04, just curious if the module is too old and its ways of HTTP request is disabled by some platforms.
Getting this error seemingly randomly at login: There was an error starting the GNOME Settings Daemon. Some things, such as themes, sounds, or background settings may not work correctly.
The last error message was: Launch helper exited with unknown return code 1 GNOME will still try to restart the Settings Daemon next time you log in. I thought I might be logging in to fast, but it happened again when I had waited several minutes.
It then says an automatic fsck failed and a manual fsck must be performed, then the system restarted. I have done a manual fsck and it did nothing. I booted up the system with knoppix and did it, nothing.
I have a set of bash scripts that I'm running that automatically build a set of packages for me and redirect their output into logs. Basically, I have a bunch of lines that are something like this: ${CONFIGURE_DIR}/configure &> ${LOG_DIR}/log or cd ${CONFIGURE_DIR} && make &> ${LOG_DIR}/log, etc.
This is supposed to make the entire process silent. However, sometimes with some packages some output leaks to my console (either stdout or stderr). I'm thinking that maybe the configure scripts/make are executing commands within new shell instances that don't inherit my redirect, or something to that effect.
Another reason for thinking this is that in another part of my script I detect errors when running make by testing with "if [ $? -ne 0 ]", and if the redirect leaks to my console and also the leaked output indicates that the build failed ("make: Error" and so on), then my $? test fails (i.e., it thinks that $? == 0, whereas a failed make should return a non-zero value). It's as if my original script can't "see" the results from child commands executed from later scripts.
The problem emerged when I started to make the internal microphone and external speakers work [URL]. In either kernel 2.6.32-24 or 2.6.35-15 - cannot install any package with apt-get. Here is the error I get when installing just anything [URL]. Basically, here is it:
Code: ERROR: Build failed. Please review the build log at /tmp/alsa-driver-linuxant.3620.log dpkg: error processing alsa-driver-linuxant (--configure): subprocess installed post-installation script returned error exit status 2 Setting up libxslt1-dev (1.1.26-1ubuntu1) ... Errors were encountered while processing: alsa-driver-linuxant E: Sub-process /usr/bin/dpkg returned an error code (1)
i am trying to install ubuntu from an SD card, i can run it from the card, and everything works fine, all but the install. i get to step 3 of 6. when pressing forward i get an error message ubiquity.components.partman failed exit code 141
I am re-installing Ubuntu onto my desktop PC which has Windows 7, openSUSE 11.2 and Fedora Core 12. First I tried Ubuntu 9.10. Near the end of the installation the machine reboots and the monitor shows the following message:
"Ubiquity.components.partman failed - Exit code 10. Further info in /var/log/syslog"
Tried again with Ubuntu 10.04 beta2 with same problem.
How can I view and read /var/log/syslog if Ubuntu fails to be installed and therefore I cannot access this log?
I am a beginner in ubuntu and only recently did i install Ubuntu 10.10 using Wubi. I am dual booting along with Windows 7 64bit. Before I got to know of Wubi, I created a free 20GB partition for installing linux. But since it was of no use, I decided to extend another partition adding this 20GB space. The problem now is that I am getting the following error while trying to access the partition.
"Error mounting: mount exited with exit code 12: Failed to read last sector (605949951): 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), or the NTFS boot sector is corrupt (NTFS size is not valid). Failed to mount '/dev/sda5': Invalid argument The device '/dev/sda5' doesn't seem to have a valid NTFS. Maybe the wrong device is used? Or the whole disk instead of a partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?"
These are the results after running sudo fdisk -l /dev/sda: "Disk /dev/sda: 640.1 GB, 640135028736 bytes 255 heads, 63 sectors/track, 77825 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x76c4009c
Device Boot Start End Blocks Id System /dev/sda1 1 1 992+ 42 SFS Partition 1 does not end on cylinder boundary. /dev/sda2 * 1 13 102400 42 SFS Partition 2 does not end on cylinder boundary. /dev/sda3 13 6528 52326400 42 SFS Partition 3 does not end on cylinder boundary. /dev/sda4 6528 42717 290694144 42 SFS
I want to ask about Kmail. I have Kmail from Mandriva. I use Kmail for My Email. And When I reply Message, I found some trouble.
Sending failed: Unknown error code 50. The message content was not accepted. The server responded: "5.7.1 Message refused by BannedWord check. This email has been rejected. The email message was detected as spam." Please send a full bug report at [URL]. The message will stay in the 'outbox' folder until you either fix the problem (e.g. a broken address) or remove the message from the 'outbox' folder. This transport protocol was used: smtp.net
How to solve this email error I get when I try to send email via KMail.
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.
Code: Select alldone. Setting parameters of disc: (none). Setting preliminary keymap...done. Activating swap...done. Checking root file system...fsck from util-linux-ng 2.17.2
[Code] ....
An automatic file system check (fsck) of the root filesystem failed. A manual fsck must be performed, then the system restarted. The fsck should be performed in maintenance mode with the root filesystem mounted in read-only mode. ... failed!
The root filesystem is currently mounted in read-only mode. A maintenance shell will now be started. After performing system maintenance, press CONTROL-D to terminate the maintenance shell and restart the system. ... (warning).
Give root password for maintenance (or type Control-D to continue): _
For now, I just don't know what I should to do next to my system has started to work again...
I had debian lenny running smoothly for a while, then I think the power went out and the computer didn't shutdown smoothly. The next time I started it up I ran into this error: Checking root file system.../etc/rcS.d/S10checkroot.sh: line 274: /sbin/logsave: Permission deniedfailed (code 126)This happens in single user mode as well. I've tried fscking all my partitions but it doesn't help. I've booted in bypassing the normal init and changed the permissions of /sbin/logsave to 777 and during boot I get a message of: The file system check corrected errors on the root partition but requested that the system be restarted. failed!Then the system just reboots automatically without letting me to anything.
I'm currently running 11.3 and decided I'd try upgrading to 11.4 following the instructions here: SDB:System upgrade - openSUSEUnfortunately, my attempts are defeated at the point of trying to refresh the new repos; I get the following message (for the oss repo, in this case):
With 11.4 replaced by 11.3 in the repo url, it refreshes just fine. The only repository that works when I change 11.3 to 11.4 is the Packman repo. I'm not really sure why the connection fails for 11.4 but not 11.3!
Further info: I have an old router with no IPv6 support, but have IPv6 disabled system-wide. I can enter the url for the repositories into firefox and they come up just fine - it's only with zypper/YaST that I get the above error message.I also tried upgrading using the network CD but ran into the same sort of problem. In this case it may be because the CD installer doesn't disable IPv6. (I didn't want to download the DVD at my connection speed, and the KDE live CD is not listed as suitable for upgrade).
I get the following message when trying to access my 1tb usb drive "Error mounting: mount exited with exit code 1: helper failed with: Error opening '/dev/sdr1': Permission denied Failed to mount '/dev/sdr1': Permission denied Please check '/dev/sdr1' and the ntfs-3g binary permissions, and the mounting user ID.More explanation is provided at [URL].. Really wierd thing is Linux Mint Debian reads it just fine
simple scan error as follows: Failed to save file ImageMagick returned error code 11 Command line: convert -adjoin /tmp/simple-scan-DA9MBV.jpg /tmp/simple-scan-XCK4BV.jpg /tmp/simple-scan-NZVYBV.pdf Stdout: Stderr: using karmic note: I have apparmor extra profiles installed but didn't notice one that related to simple scan or imagemagick. Red herring or not?