I have just upgraded to FC 12 from FC 11 everything on FC 11 was fine, I has samba, openvpn, subversion, tinyproxy and apache all working fine. Friends could vpn in and do all the stuff they where allowed to do,
Now unfortunately I have this issue after upgrading to FC12, All the samba mounts have disappeared from all my friends computers, when I look at the log files I now see this;
smbd/server.c:457(smbd_open_one_socket) smbd_open_once_socket: open_socket_in: Address already in use
Last night i updated to 9.10, all good except i can no longer access my samba shares!!
here is the info from log.smbd after i stared it this afternoon
Code: smbd version 3.4.0 started. Copyright Andrew Tridgell and the Samba Team 1992-2009 [2010/01/12 16:35:57, 1] param/loadparm.c:6355(map_parameter) Unknown parameter encountered: "executable" [2010/01/12 16:35:57, 0] param/loadparm.c:7449(lp_do_parameter)
I've reinstalled my debian file server - was running 4.0 and went for a clean 5.04 install.
Everything worked out well, system is running even more smoothly but I cannot connect to the shares.
I had backed up my smb.conf and put that one in place, the users are created + smbpasswd's are set. Samba is running and yesterday (day of reinstall) I was able to connect without any problem but today I get a Quote:
Smbstatus shows that there has been a connection, the username is listed in /etc/passwd and I entered the password once again but no difference.
At first, I thought there was a problem with file/directory permissions but I have restored the data with rsync so those permissions are like before.
I have read quite some about setting up/configuring Samba and I guess it must have something to do with credentials but no clue to where to look anymore.
provide support for a small business that uses Windows machines to access files stored on an Ubuntu server which has just been upgraded from 8.04 to 10.04 (32 bit version). Before the upgrade the users accessed their share by this batch file:
net use x: \servernamesharename /user:username
This would then prompt the user for his or her password which they would enter to allow them access to the share.Since upgrading to 10.04, the user gets a "system error 58" stating "The specified server cannot perform the requested operation"If the batch file command is changed to:
net use x: \servernamesharename
The same error message is given. The only work around I have found is to modify the file to read:
net use x: \servernamesharename /user:username password
This is not ideal at all as it makes the password protection useless.When I performed the upgrade I left the smb.conf unchanged. The smb.conf file is:
# # Sample configuration file for the Samba suite for Debian GNU/Linux. # # # This is the main Samba configuration file. You should read the
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 ?
I'm having some troubles with my samba shares on a fresh install of Fedora 10 x86_64 on my laptop. The laptop has only the KDE Desktop environment. I'm trying to share between this computer and my homebrew server via a wrt54g linksys router running DD-WRT firmware. The server is running Fedora 9 i386.
The shares on the server can be read by the laptop, and I have been consistently able to mount the server shares on the laptop using mount.cifs, but only when the firewall on the server is down. Shares are only visible between the machines when the firewall is down on the machine containing the share. I set up the shares using the system-config-samba tool, and the firewalls are both set to allow samba server and samba client. I can typically see the laptop from the server, but not the shares, and only when the laptop firewall is disabled. I can access the Laptop shares from the laptop. When trying to mount the laptop shares on the server, a warning message stating that the mount failed appears. Shares show up as correct in both the system-config-samba tool, and the KDE sharing tools. The share shows a "shared" icon in the dolphin browser.
From all that I know, the shares should work perfectly. I've searched the web, perused the man pages and how-to's, and combed through the forums, and everything I've found tells me that the shares should be working. Since they are not working, it leads me to believe that I must have made a mistake someone and not noticed it.
I just installed a F12 server at home, replacing a FC9 server that ran samba to share media files. I had no problems connecting to samba on FC9 (the version escapes me, sorry) however Win7 seems to be fighting the F12 samba (v3.4.7) trying to do the same thing. I create a directory share, it shows up in windows explorer, but when I try and open it win7 tells me I dont have rights to it.
I created a printer share via samba, and successfully connected to it from win7 and use it as my default printer, and that works OK. I know win7 uses smb2 as its samba protocol, and that might be some of the problem (or all of it), but I'm not sure. I also have googled and saw that people have had had issues with samba as their domain controller while trying to join win7 into the domain, however I do not use win7 as a pdc at all. The solution for this seems to be registry hacks, but I am not sure they apply to me as I haven't seen anyone correlate it. Tailing the logs, this is what I see when I try and explore the file share from win7:
Code: [2010/04/26 13:09:56, 1] smbd/notify_inotify.c:421(inotify_watch) inotify_add_watch returned Permission denied
Now I have edited smb.conf manually in the past but to try anything I've even played with webmin to see all the options I might be missing, still my conf is fairly simple:
I see the movies share in win7, but it doesn't let me in. I tried disabling requiring 128bit encryption for NTLM as one suggestion but that didn't work. Also changing local security policies to send LM & NTLM responses, and that didn't work.
After latest samba updates from updates-testing (F11) I can't copy any file from the network via samba: when copy process reaches almost end of the file, error message appears 'Invalid argument'. Such error happens with any read attempt on a network file - the last ~5% of a file can not be read.
I am in the process of migrating my small workplace to a basic spin i've created of f14. Everything is suave but some file browser windows eg: file upload in gmail, hotmail etc, does not show my samba shortcuts i've created nor even the option to browse the network in the "places" section. It shows other locally created shortcuts but no samba ones. Just to test it, even creating an ftp:// shoftcut yeilds no dice. I had a quick search through the forums and I couldn't find anything. I have a feeling this has an easy solution that my inferior brain cannot comprehend! Loving F14 on my macbook pro and so are my employees in my office! Feels much less bloated than Ubuntu IMHO.
I am having a problem accessing my samba shares from my notebook that has a fresh install of Fedora 15. I know that the server with the samba shares is working since I can access them from the windose box. I have just moved from using Ubuntu to Fedora and have definitely found my home. How would I tell if samba is running (or any service for that matter) on my notebook? I Installed samba-client
Code: yum install samba-client
Though I still cannot access the shares. All it shows is windows network.
I install CentOS 5.4 on a customer's workstation. They out-of-date nature of Enterprise is not at all working out for him. Since Enterprise is essentially FC6, is it possible to just upgrade him to FC12, or am I looking at a wipe and reinstall?
I had an older fedora box (I think it was Core 3) that acted as my file server in my small network (4). It worked fine when I had all XP clients connecting to it. Recently we decided to get all new computers. So now I have a fedora 10 box acting as my file/print server and all Vista Home premium computers as the clients. For the life of me I can not get samba to work. When I try to map the network drives on windows it will not let me authenticate. I install swat and try it that way, still no luck. Here is a copy of my smb.conf file:
Code: # Samba config file created using SWAT # from UNKNOWN # Date: 2009/05/19 21:47:31
[global] workgroup = AIVILANET server string = Bighat Samba Server interfaces = eth0 null passwords = Yes smb passwd file = /etc/samba/smbpasswd passdb backend = tdbsam username map = /etc/samba/smbusers syslog only = Yes announce version = 5.0 name resolve order = hosts wins bcast socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192 printcap name = CUPS wins support = Yes
[HP-LaserJet-1200] comment = HP LaserJet 1200 path = /var/spool/samba read only = No printable = Yes printer name = HP-LaserJet-1200 oplocks = No share modes = No
[printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No
[home] path = /home/savona/ username = savona valid users = @Users admin users = savona write list = savona force user = savona force group = savona read only = No hosts allow = 10.0.0.2
I am baffled by fedora's feeble attempts to work with Samba. I have ran various versions of Fedora for the last few years, and sporadically, the Samba gui and samba itself have had such problems. My current problem in Fedora 11 (64bit) is that samba doesn't seem to be running correctly. It is allowing the hosting of shares, but it does not show that it is running in the services gui. It shows enabled, but when I attempt to change it by starting or stopping, nothing happens. The samba gui also shows that it launches but then never actually starts. I saw very similar problems with Fedora 9.
Mozilla programs are not connecting to the network. All other networking programs are working: yum, wget, skype, opera, nslookup, etc. Firefox and Thunderbird are not able to connect to the network. What happened? My box was working fine earlier! All I can figure is something included in the yum update that I performed today.
I decided to upgrade finally. It didn't go smoothly and right now I'm not really sure what is going on. During the install when it was scanning my disks it threw a timeout error but continued anyway. I completed the install but one thing that seemed odd to me is that I wasn't asked about packages or anything and it never prompted me for any other CDs. I wasn't sure what was going on. I did a re-install but same results.
So I figured fine I'll just configure things myself. I went to mount my other partitions and was unable to. I'm not sure what was done but I've not been able to get to my old data. I'm not even sure where to start because things are so different. I ran fdisk -l and I see these devices:
/dev/sda /dev/sdb /dev/dm-0 /dev/dm-1
Under /dev/sda It shows /dev/sda1 but tells me that partition 1 does not end on cylinder boundary it then shows /dev/sda2. This has a System of Linux LVM. Same with my /dev/sdb1. I am guessing this is where my 2 old partitions went. I looked up LVM which I didn't know anything about before. Previously I was about to mount my partitions directly so I'm pretty sure they were not LVM. So somehow these got converted?
I don't know what /dev/dm-0 and /dev/dm-1 are but I do get errors on them:
Disk /dev/dm-0 doesn't contain a valid partition table Disk /dev/dm-1 doesn't contain a valid partition table
Right now I'm trying to simply get to my data once again or determine if it's unrecoverable. At this point I'm at a loss as to how to proceed. I know I didn't tell the install to format anything other than the first partition. Oh and after the two Fedora installs I did take a peek at Unbuntu. I started that install and it told me that the partition I was installing on was too small. So I canceled it. It showed the other partitions but I could see no way to read them.
After upgrading from FC10 to FC12 here I notice I cannot login to the GUO console locally as root, yet this worked with FC10. Attached is my /etc/gdm/custom.conf settings and I've got the login for root set true whih is where it was and working prior to the upgrade.. Also I don't see the shutdown/restart options as before either:
I have a hard drive which I put in an enclosure so that I can attach it by USB to my laptop, like a giant flash drive. In other words, its an external Hard Drive now. When I first plug it in it is detected and mounts like you would expect, but after a few minutes it unmounts. It's like the drive spins down and unmounts or something.
So, I want to remount it over my network rather than having to walk over to the computer and unplug the Hard Drive and then plug it back in. I would even be happy if I could just remote desktop onto that machine and remount the device somehow.
Here's the problem:
When the Hard Drive is mounted, and I run the "mount" command in terminal it shows up as:
/dev/sdc1 on /media/"NAME OF HARD DRIVE"
but when it unmounts itself and I run lsusb in terminal it only shows up as:
Bus 002 Device 053: ID 13fd:1840 Initio Corporation
I don't know how to get it to mount based on that name. So, I am asking: given that it shows up with that name, how can I remount the device from the command line...
The ultimate goal being to get it to reappear in my SAMBA shares.
Pulseaudio setup. My pulseaudio was working when I was using FC11 and it stops working after I upgrade to FC12 using preupgrade. The system sees audio device and alsa is working correctly. No audio at all (system audio and mplayer) from Pulseaudio. I am using the onboard Intel audio. The verify from the alsamixer that the volume is not muted. I also tries all the combination of profiles in the pavucontrol and in some of the profiles, I can see the output volume bar is moving, but still no sound pulseaudio-0.9.19-2.fc12.x86_64 alsa-plugins-pulseaudio-1.0.21-2.fc12.x86_64 Attached is the pulseaudio log when playing video from mplayer.
kpackagekit warned me about a distribution upgrade to FC12in order to set things in motion i have to press the upgrade button is this action completely safe?since my FC11 is working like a charm, and i consider to upgrade to FC13, depending on the fact if i can build kernel drivers for kernel 2.6.32-,, that is still in the testing repo'smy idea is to upgrade all available packages from testing when fc11 is EOL, and i will see what happends after this upgrade, if my system crashes or whats so ever, i will install FC13.
Took an FC12 system to FC13 via 'preupgrade'There was a REALLY old version of gimp-print-cups in RPM, and the installer announced "a fatal error occurred". However, everything else seemed to download properly and I allowed the upgrader to reboot the system.
a) grub boots the kernel, then the kernel can't find root and panics. It does this because it can't root file system with root=UUID= kernel option. If I manually tweek the grub line to use root=/dev/sdx, kernel finds its root and boots up to the next problem.
b) GUI environment not launched. Init scripts die on "error loading modules.dep". Sure enough - one is not there. Ran "depmod" to generate it ,and rebooted. System reboots into GUI, where I login to find the next problem.
c) Evolution won't start. Reason turns out the evolution-data-server from FC12 is still present. Did a check on just how many other FC12 RPM's are present: 1100. Yeah - over 1000. About 850 of the FC12 RPM's also had FC13 replacements installed. Did an "rpm -e" on these. Also had to do some remove action on mkinitrd, nash, plymouth-scripts-0.8.0, and parted-1.9.0 as there are replacements for these utilities under different package names. That cleaned up the system some, to present me with the next problem.
d) yum package repository still linked into FC12. Removed fedora-release-12-2.noarch and then I could "yum install" evolution and a few other packages properly.
I've done one other FC12->FC13 upgrade today, and that went flawlessly. So, I think in general the upgrade works fine. It just looks like if preupgrade finds anything amiss, it doesn't take care of a lot of things and generally leaves you with an unbootable mess to clean up.
I had a fairly smooth upgrade process using PreUpgrade on my main workstation, but I still have a huge bunch of fc12, some of which have fc13 analogs installed, some of which don't (a total of 317 packages). Also, I still have the Constantine gdm theme, probably as a symptom of these lingering packages. Can I just yum erase these? Do I need to check which have analogs in fc13? I don't know which step of the upgrade I forgot, but it seems I'm stuck somewhere in between, although
After the Upgrade of my Fedora Insatallation (FC 10 => 12) I have some problems with Gnome and the Login via console. The system actually boots fine and all kind of services like Postfix, IMAP, Samba, SSHD, Apache, etc. are avialable normally.
If I try however to work directly on the server I only see the completed Fedora progress icon and not as hoped for, the Login to Gnome. Also the attempt to change to a plain console with ALT-CTRL-F1 fails.
Since actually everything seems to work quite fine, I am somewhat helpless, according to should I look for, to get Gnome and the Console Login working again.
If I use Nautilus server conect, I can see my NAS smb shares, but I keep getting asked for password and cannot get into these shares.If I do a mount on these same shares, as root, they mount no problem using same username and password.
Was using preupgrade from FC11x64 to 12x64. Preupgrade caused alot of problems like /boot not enough diskspace. After some searching found the steps and preupgrade proceed happily but after reboot got kernel panic grrr.
Took 3 days to find another machine to download and burn the FC12x64 disk. So I booted via the FC12x64 disk and selected the 1st option to install/upgrade. I thought it is upgrade and so choose replace my existing linux system however it wiped out everything on the disk. I have some important data in my home directory. I think it is in LVM, not a partition like /dev/sda1. How can I recover them? Was using stock settings.
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 have a tricky problem which I could soIve with a c program. I wrote one and found I didnt have gcc so I tried to install it. I was told I needed to install packages. I acknowledged and an error was generated gcc-4.4.2-7.fc12.i686 requires libgomp = 4.4.2-7.fc12 I try to install libgomp and go round again.