Ubuntu Networking :: SMB And AFP Shares Not Working After Power Outages - I/O Error
Jul 31, 2011
i was able to mount my SMB shares, but I didn't actually try to transfer data. I tried to move some data off my linux box to my mac, but i got a finder error 36. which i believe is a input/output error. I got further proof of that when i was going through some directories and got this: ls: reading directory .: Input/output error so i'm gonna guess that whatever input/output errors are happening is what is causing AFP and SMB to not work properly.
I'm looking for any power monitoring devices for Linux to allow monitoring power quality, voltage changes, and outages. This would be for North American three phase power system. I want to have this data fed live to my own program. It should be something much better than just jury-rigging a circuit to fee the power waveform into 2 or 3 audio cards.
I have some samba shares working where all I did was right click on the folder, enable sharing and enable guest access. These work fine.
However, when I tried to use the manual way:
[URL]
to create samba shares, so that they would be password protected, I cant access them. In windows 7, the shares are visible so I click them, click "use another account" and type in my samba name and password I created, but I can't access them.
Here is smb.conf
Code: # # Sample configuration file for the Samba suite for Debian GNU/Linux. # #
After upgrading my Sony VAIO from Fedora 12 to Fedora 13 my NFS shares don't seem to be working correctly. First of all, mounting them via /etc/fstab is quite slow now. More importantly, When I transfer files from my laptop client to my NFS share, the owner/group on the client become "nobody". However, on the NFS server, they are both "root". I am using a script containing "cp" commands to perform backups of certain directories, retaining original owner/group info. Since the Fedora 13 upgrade, the script complains with each file that it was unable to preserve the information, and the end of the line always contains "Invalid argument".
As a last resort, I upgraded the 'server' (a 64 bit version) from Fedora 12 to Fedora 13. There has been no improvement.
I have internet on my ubuntu machine (eth0) I am sharing with (eth1) My windows computers are getting IP addresses via DHCP from the Ubuntu Machine, and I can see (and use) samba/windows shares on all computers.Internet connection is not working on any of the windows computers. I have eth1 set to "shared to other computers" under the IPv4 settings
I have ubuntu 10.04. After update I performed yesterday, I could no longer access from other computers shared folders on my ubuntu machine. I checked update history and it included the following that appeared to be related to network shares:
Code: libsmbclient (2:3.4.7~dfsg-1ubuntu3.4) to 2:3.4.7~dfsg-1ubuntu3.7 libpam-smbpass (2:3.4.7~dfsg-1ubuntu3.4) to 2:3.4.7~dfsg-1ubuntu3.7 samba (2:3.4.7~dfsg-1ubuntu3.4) to 2:3.4.7~dfsg-1ubuntu3.7 samba-common (2:3.4.7~dfsg-1ubuntu3.4) to 2:3.4.7~dfsg-1ubuntu3.7
[Code]..
I would prefer to use the latest version because it includes security updates. Does anyone know if there's some trick to getting network shares to work with the latest version of libsmbclient?
PDC SAMBA + OPEN LDAP (ubuntu 9.04) Linux (File Servers) + Windows machines all working well
I'm trying to set up a share drive on my new server using ubuntu 9.10 with samba (v 3.4) and ldapclient and the shares are not working when I defined Valid Users for share folders, that keep me ask me about my user and password, on the logs I have:
[global] workgroup = FLOWCONNECT server string = OSLO SAMBA FILE SERVER [code].....
I have the same set up on my File Server (Ubuntu 9.04) which use samba 3.3 is working fine.Someone know if has some different setting between samba 3.3 (ubuntu 9.04) and samba 3.4 (ubuntu 9.10) that could cause this problem ?
I run opensuse 11 at work. I'm trying to see the list of shares on a "server" that is running windows server 2000. If I try smb://server, it doesn't show any shares, but I can browse directly to it such as smb://server/share1. If I use smbclient, it returns the list of shares correctly. I guess I just don't understand why smbclient shows the list of shared folders, but nautilus cannot.
When in my Fedora 10 I power off the system, by using the gnome icon or even the command line "poweroff", it shut down the machine and power off it as expected - EVEN THE NIC. I can see its led is off ! This happens when I put the machine in hibernate mode too, but not in suspend mode. When I power on and and power off it just after the POST messages, when grub is waiting a key to select an option, I can see the NIC's led is still blinking at each second or so. When I power on the machine and select windows (dual boot system) and then power it off, it power off as expected, I mean, it leaves the NIC on - the led blinks even with the machine powered off. As result, I can't wake up my machine remotely by using Wakeup-On-Lan since the NIC is powered off by Fedora.
i unplugged the wrong machine during an rdiff-backup run, and when i try to ssh to that machine now, i get 'connection refused'. the machine was set up with ssh-copy-id before the accidental unplug.
It's been awhile since I posted anything which is a good sign my install has been working well and I have been able to handle most everything. However, I'm not able to handle this issue. I recently installed F11 and everything went well. But, when trying to see my other computers on the local network, I cannot. I receive this error message: Unable to mount location Failed to receive shared list from server. I understand the message as it is obvious, but do not know how to fix it.
I am using Ubuntu 10.04 64-bit and I purchased a new ALFA AWUS036H wireless card. I would like to know if this "1Watt" wireless card is configured for full power. iwlist wlan0 txpower results:
wlan0 unknown transmit-power information. Current Tx-Power=27 dBm (501 mW). It appears to me that I should be able to increase the power. "iwpriv wlan0 highpower 1" does not work. Do I need to patch the new default driver that comes with Ubuntu 10.04 64-bit with the aircrack one following these directions:[URL]...? Monitor mode and a injection tests seem to work fine with the driver I have installed.
After much research, I have found the solution to my intermittent wireless problem!Whenever the laptop is plugged into power, wireless is perfect, when I'm on battery, wireless is horrible.Here is the fix:
Code: sudo iwconfig eth1 power off Unfortunately, I have to type this in everytime I unplug the laptop.
My XBMC box has been working just fine for a few months. I could easily browse to the Windows shares located on a machine running Windows 7 both within XBMC and Nautilus. However, now I can't browse to the shares using either XBMC or Nautilus (via Places - Network). Furthermore, when using smbclient in terminal I get the following error:
Code: smbclient -L fileserver protocol negotiation failed: ERRnomem.I have tried using the IP number as well (the host is entered in the hosts file.I can ping the machine just fine, using either the IP number or the host name, but the ability to browse its shares is impossible. I can access the shares using another Windows 7 machine, so the shares are there.
I am working as a Linux administrator in a very small data centre with 5 servers with following routine tasks.
1. Managing SAMBA shares and giving user specific access for the shares. 2. Scheduling backup of some mount points with rsycn to store data in remote hard disk 3. User and group administration, with sudo access. 4. Creating and Managing Xen Virtual machines and giving access to other project teams. 5. Automating some tasks with Shell Scripting. 6. Managing FTP server for user uploads.
I have practiced a lot in my home laptop without RHEL training, Cleared RHCE and LPIC1. I want to do some advanced system admin tasks, but do not have option in my current data centre. With Above skills is it possible to get a job ?
upgraded to 10.04 on pangolin performance laptopset power option to never suspend or hibernate or shut down using AC or batteryhowever...the system suspends after a few minutes of idle time, requiring a password to log back on
I'm running Ubuntu 10.04 on a VM and I'm trying to automatically mount two shares from the Windows Vista SP2 host. Currently this is failing with the message "mount error(112): Host is down".
I recently upgraded VMWare Server. Before the upgrade I was able to mount shares without a problem. I can still mount shares on the host using the builtin "Connect to server" feature in Gnome. The problem I'm running into is mounting shares via the command line or via fstab. The relevant lines from my fstab are below.
Just a couple notes: the IP address of the host is static on the virtual network, so using the IP address as the server name should not be an issue. Also, I am able to ping the host fine (which obviously must be true for me to mount using the Gnome feature).
Recently i've switched from ubuntu 8.04 to Lubuntu 10.04, since that time the powerbutton does not work anymore.I've tried to find out how powermanagement is implemented in ubuntu to be able to debug this problem. But most documentation about this topic seems dated.I've already tried a few thing, most important stuff I did is:
- tested the scripts in /etc/acpi/ and added a line to write something to a textfile when its called. But this file is not called when pressing the powerbutton.
- checked bios settings, seems alright (and these settings worked on 8.04 to).
I've recently installed Ubuntu 10.04 and found the following problem: power management doesn't appear to be working. If I'm away from my computer for only a few moments, the screen is on dim when I return and I have to log on again. I've set the following states in Power Management: NEVER SWITCH OFF SCREEN and haven't ticked the DIM WHEN IDLE BOX. Can anyone help with this problem - it's infuriating. Meanwhile, I've gone back to Ubuntu 9.10 ...
I'm using Opensuse 11.4 updated from 11.3, update from 11.2 updated from. I'm mounting at boot time (in fstab) some shares from an opensuse 11.2 server. Mounting worked fine in 11.2, 11.3 and also in 11.4 but suddenly (maybe an automatic update?) It stopped working.... sometimes.
Sometimes they are mounted properly but sometimes they aren't. When mount fails I get a log error: "rpc.statd is not runninf but is required for remote locking. Either use '-o nolock' to keep locks local or start statd"
If I run manually (as root) mount -a the shares mount properly always, so I thought it was a problem of timing (the service starting late) so I tried to get a script to run after the network initialitation, the script does: "mount -a". But it doesn't work either.
Whatever settings I use in the power manager, (Ubuntu default Gnome Power Manager) nothing appears to change. Screen brightness does not change when moving the slider, but is reduced after 5 or 10 minutes (haven't timed it. Probably whatever is default) of inactivity, even though the reduce screen brightness checkbox is unchecked. The latter is pretty annoying when watching online TV streams, especially since the video also exits full screen mode when the screen brightness is reduced.
The weird thing is, as the title implies, that when booting in recovery mode with FailsafeX the power settings seems to work. At least the screen brightness varies as the slider is moved I should probably mention that it is possible even in normal mode to adjust the screen brightness by using the buttons for adjusting screen brightness on my laptop (Fn + arrow up/down)
Everytime I restart my PC and the login, Before the login window goes away a window pops up saying "Power Management has stopped working" If I click cancel nothing happens, if I click Logout Anyway then the window goes away and I continue to login. Whats up with that? I am using a Desktop.
I'm using Fedora 12 with LXDE (sudo yum groupinstall LXDE if you want to try it), and while using LXDE rather than GNOME, the power button doesn't do anything. I found a possible solution here: [URL] but I have no /etc/acpi/ folder. Why is that? Package acpid is needed.
When I change the "Put display to sleep when in active for" it seems to make no difference. The screen goes to sleep when it wants. Some times in the middle of watching a dvd (after about 10 mins when it is set to 1 hour).Could this be done by terminal, perhaps there is a problem between entering in the GUI and actually telling the machine.
I have critical battery, it's always on 1%. Today the power went down so i tried to shutdown computer. I clicked on Shutdown, it asked me if i am sure and that was it. But when power was on i tried to turn on computer but get error. It's blanc screen with some text. Here is text at the end:
both are running 9.04i have samba installed on both, each computer can ping the other, they each have a folder that is being shared, and they each can see a third computer that has windowsxp on it. however, they cannot see each other.not really sure what is going on.went to places/network and nothing shows up except the windowsorkgroup/computer.
Simply share a printer in a small, secure home network spread over 5 or 6 machines running mostly windows (98 through Win7) but using the UBUNTU box as the host for the printer.
The network has basic connectivity. I have no problem pinging any box from any box. Or surfing from any box.
From UBUNTU box, can see and browse Windows Workgroup no problem.
Windows machines see the announcement of UBUNPRIN but cannot connect. Cannot seem to authenticate. I'm thinking that I have the share set up with NO security.
security = SHARE
And
map to guest = Bad User
Adding some terminal output and the smb.conf file...
I'm having a bit of an issue. I have 7 HDD's shared over Samba from a Ubuntu 9.10 server. I'm having trouble getting access to them on all my pc's except for 2(out of the 4). On all the pc"s I get this when I type this command smbtree,
WORKGROUP \UNIVERSE universe server (Samba, Ubuntu) cli_start_connection: failed to connect to UNIVERSE<20> (0.0.0.0). Error NT_STATUS_UNSUCCESSFUL
I have a new Thinkpad X1 Carbon (3rd) and i am very pleased with this machine so far.
Linux support is very good and i only have a few issues remaining.
I am running Debian Jessie and tried this with 2 kernels:
linux-3.16.7-ckt11-1 linux-4.0.4 (vanilla)
Main Problem at the time is really cannot get the power button to work.
thinkpad_acpi module is loaded.
I am not very familiar what possibilities are available to catch input devices. Some search in the internet brought me to the following commands. I tried evtest with no result
Code: Select allroot@x1carbon:~# evtest /dev/input/event3 Input driver version is 1.0.1 Input device ID: bus 0x19 vendor 0x0 product 0x1 version 0x0 Input device name: "Power Button" Supported events: Event type 0 (EV_SYN) Event type 1 (EV_KEY) Event code 116 (KEY_POWER) Properties: Testing ... (interrupt to exit)
I tried acpi_listen also with no result
What else could i try? All other keys like lid event and all fn keys work flawlessly.
Just learned that the event needs about 1 second of pressing time to trigger