Debian Configuration :: Failing To Install The SAMBA?
Sep 13, 2010
I get the following errors when installing samba.
slutb0x:/etc/samba# aptitude install samba-dbg
The following NEW packages will be installed:
samba{a} samba-dbg
0 packages upgraded, 2 newly installed, 0 to remove and 1 not upgraded.Need to get 49.2MB/55.5MB of archives. After unpacking 149MB will be used.Do you want to continue?
I am trying yo install the Samba package but not able to as it is failing to connect to RHN network. Do I have to register to RHN in order to get the SAMBA ?
I have trouble setting up NFS on Debian Squeeze (2.6.32-5-kirkwood armv5tel GNU/Linux) running on a Sheevaplug. After some digging and googling I found that the NFS server is (probably) not properly installed.
no rules in iptables or hosts.allow or hosts.deny. Fresh OS install.
apt-get install --reinstall nfs-kernel-server
generates this output: Setting up nfs-kernel-server (1:1.2.2-4) ... Stopping NFS kernel daemon: mountd nfsd. Unexporting directories for NFS kernel daemon.... Exporting directories for NFS kernel daemon....
[Code]....
It could be related to this bug [URL] but I wonder if the fix goes to the arm-branch as well?
I have never had any trouble setting up NFS before.
I am trying to create a local debian repo for 3rd party apps and my own deb's. I have done the following: dpkg-scanpackages debian | gzip -9c> debian/Packages.gz Which did create a file called Packages.gz in the directory However, when I do apt-get update on a client machine I get the following error: W: Failed to fetch [URL] Could not connect to 10.1.1.10:8080 (10.1.1.10). - connect (111: Connection refused) W: Failed to fetch [URL] Unable to connect to 10.1.1.10:8080: W: Some index files failed to download, they have been ignored, or old ones used instead.
The announcement of several new make scripts in the 2.6.32 release notes is very exciting.1.8. Easy local kernel configuration.Most people uses the kernel shipped by distros - and that's good. But some people like to compile their own kernels from kernel.org, or maybe they like following the Linux development and want to try it. Configuring your own kernel, however, has become a very difficult and tedious task - there're too many options, and some times userspace software will stop working if you don't enable some key option. You can use a standard distro .config file, but it takes too many time to compile all the options it enables.
To make easier the process of configuration, a new build target has been added: make localmodconfig. It runs "lsmod" to find all the modules loaded on the current running system. It will read all the Makefiles to map which CONFIG enables a module. It will read the Kconfig files to find the dependencies and selects that may be needed to support a CONFIG. Finally, it reads the .config file and removes any module "=m" that is not needed to enable the currently loaded modules. With this tool, you can strip a distro .config of all the unuseful drivers that are not needed in our machine, and it will take much less time to build the kernel. There's an additional "make localyesconfig" target, in case you don't want to use modules and/or initrds.
I'm hoping someone can help me. I upgraded my server from Lenny to Squeeze this afternoon following the release notes at http://www.debian.org I had no issues and everything is still running. I then installed Sqeeze via the Net Install disc into a virtual machine for some testing. Once the install was complete I found that apt was not working. It turned out the sources file was blank. I manually added the official repos and did an update. There were no new packages for installation.
Now, after a reboot, I get the Grub error: error: ELF header smaller than expected Entering rescue mode... grub rescue>
I have no idea why this happened because I've not changed grub, just played around with apt. Has anybody any idea why apt had a blank sources file and grub is now failing?
I am *finally* getting around to rebuilding my file-sharing computer. I'll be sharing files with both Linux and Windoze machines. It's a home network, so there's nothing fancy needed. I know I have to tweak my smb.conf file until I'm satisfied with the features and security. I'm using SWAT and I'm starting with a bare-bones conf file. It's not secure but I can see the server and selected files/directories from my other Linux box.
My really dumb question is, do I have to reboot both the server and the client machines every time I change the SAMBA configuration? I thought I just had to stop and restart the SAMBA service in the SWAT software - but then the server disappears from my client. It looks like I need to reboot both machines for the client to see the server.
I had set up as a NT4 style PDC. There is no longer any PDC/BDC dynamic with Samba4 and MS AD support.
I purged samba packages and winbind et al and provisioned the domain correctly, and everything works well now.
What follows is the original post.
========================================================================================== After much struggling with DNS settings, I finally got a basic samba AD controller up and running, and then that's about as far as I got.
As soon as I tried to use the RSAT I found that I could not connect RSAT to the AD server while logged in as root.
The error I get is:
Naming information cannot be located because: The specified domain either does not exist or could not be contacted. Contact your system adminsiotrator to verify that your domain is properly configured and is currently online.
I began the install, Debian 6.0, 64 I get through network config, and everything seems to check out, ifconfig, ping testing to the server it's connecting.I need to look into this further server side tomorrow, but assuming there are no network issues.is there any reason it would not connect to download mirrors? I just did an install on same rack, dell server not IBM, it went flawlessly. IBM is already putting up a fight. So, it's failing to download more content, I end up with no GUI and basic install.
I'm running sid, reasonably updated. I decided to add a samba share. I installed samba (2:3.4.8~dfsg-2), samba-tools, smbclient, smbfs, & samba-client. I did a "/etc/init.d/samba start" and even rebooted. But when I try to add a samba password for my regular user I can't.
# smbpasswd -a praxis bash: smbpasswd: command not found I did a "locate smbpasswd" but I'm only seeing:
I'm using Xfce 4.8, which now provides built-in samba browing in thunar. This works like a charm. I can browse a samba share (external HD connecter to router via USB). Yet it appears to me now that the support is limited to thunar. I mean double clicking on a file allows me to open/edit that file if and only if the software itself has samba support. In practice, double-clicking on a movie opens it with vlc thanks to vlc's own smb support. Even then, I can't find a way to add the subtitle file. I reckon that to use the share transparently, I would need to mount it the "mount" way. Either on a mount point like /mnt/hard_drive or something like .gvfs/hard_drive.
Is my understanding correct ? Is that my only option? Considering the disk won't be switched on at startup, fstab is not the solution. Would gigolo be the right choice? I spent some time trying gigolo a few days ago, following an easy tuto found on the web and it didn't work as expected. If needed I could give it another try.
I am trying to install debian from a netinst cd. Everything seems to go fine except when the installer needs to connect to a mirror. It doesn't throw up an error, it just hangs a bit and then seems to keep going a lot quicker than i would expect. For example, when installing additional software, it gets stuck downloading the first few files for about 5 mins and then skips ahead and finishes the entire process in about 5 mins.
What I end up with is a very bare bones system when I fist boot into it, without any of the stuff that I had indicated that I wanted to install (ie desktop environment, web server, etc). The Internet connection works and I am able to ping websites including a number of the mirrors I tried during the install. However when using apt-get it just gets stuck trying to connect to the mirror and doesn't go any further.
I've after latest jessie update a problem with service samba restart. If I use "service samba restart", there is a timeout (after long time) and error.
Output of "systemctl status samba.service":
Code: Select all● samba.service - LSB: ensure Samba daemons are started (nmbd and smbd) Loaded: loaded (/etc/init.d/samba) Active: failed (Result: timeout) since Mo 2014-10-20 02:16:57 CEST; 7s ago Process: 6205 ExecStart=/etc/init.d/samba start (code=killed, signal=TERM)
Okt 20 02:16:57 server systemd[1]: samba.service start operation timed out. Terminating. Okt 20 02:16:57 server systemd[1]: Failed to start LSB: ensure Samba daemons are started (nmbd and smbd).
[Code] ....
Whats going wrong. "service samba restart" should bring no error message if the service is not running previously.
I currently have a Samba share on a Debian 7 system. This share was only ever used by Windows systems on the network.
I just finished setting up a Debian 8 system with Xfce, and now I would like to connect to the share. I already installed gvfs-backends and gvfs-bin. When I go to Thunar file manager, and click browse network, I'm presented with a "Windows Network" shortcut. When clicked it says: Failed to open "Windows Network". Failed to retrieve share list from server: No such file or directory.
Following yesterday's and then today's upgrade of my Debian 8 32-bit system (among other things to samba 2:4.1.17+dfsg-2+deb8u2 (yesterday: ...deb8u1)) I cannot connect my Mint 17.3 laptop to the server anymore. Were there any changes to smb.conf regarding authentication or other aspects that might lead to this problem? I am enclosing part of my smb.conf. By the way - I also have trouble using ssh to connect to the Debian machine, such as the ssh-command taking "for ever" and then getting the message "Write failed: Broken pipe" when entering an ls-command on the command line.
H. Stoellinger smb.conf: [global] workgroup = RAINERMUSIK netbios name = hsdesk server string = Samba Server hsdesk
Let me introduce myself, my name is Carlos Alegría from Chile and I'm System administrator for a educational Institute. We use samba+ldap, for login accounts and file sharing but we not use samba with PDC.
Long time ago at the 2009 year, I was Installing the same system and this worked perfectly. But on our summer the hard disk of server has broken, so i was need installing all the system again. So the problem is with SAMBA, when i connect to the network resource, this is to slow, and when i try transfer files are slow.
My sistem is on Debian 8 Jessie and the Samba Version is 2:4.1.17+dfsg-2+deb
Code: Select all[global] workgroup = LABORATORIO netbios name = Shinigami server string = debian
Is it possible (on lenny, in case that matters) to backup some directories with rdiff-backup, with the target being a WinXP Pro Host, i.e. the target being a SMB share? My idea is to start the XP-Box over WOL, run rdiff-backup and then shut it down using "net rpc SHUTDOWN"...
Using Debian 5.0 Stable, with all current updates, if I type \192.168.0.249 I get samba access and can use all the shared files ok.if I go via the network the computer should be called \squ-eee-zeboxserver but instead comes up as \SQU-EEE-ZEBOXSERsqu-eee-zeboxserver which when clicked gives the attached error.
I'm trying to setup roaming profiles on our Samba PDC. I've been at it all day, running into a lot of issues with access denied, and going around changing permissions hoping to fix it
The problem seems to have evolved over the day, getting worse. Right now it's an error message on logging in: Windows cannot locate the server copy of your roaming profile.....
DETAIL- The network name cannot be found. In addition, the user does not have access to any shares by default.
The server can be accessed manually and the user can connect to shares. The server can be pinged by the client. The client's user profiles do not get stored or retrieved on logout/in
current smb.conf # Samba config file created using SWAT # from UNKNOWN () # Date: 2010/08/22 16:34:42 [global] workgroup = ROSHNI.LOCAL
I just noticed after installing a new server with samba that a portscan will show the samba used ports. This server has two interfaces, a world address eth0 and an intranet eth1. The samba ports show in scanning either interface, even after I changed samba to listen only to the intranet (192.168.x) address.
I am concerned especially about the 139 and 445 ports, which could attract a lot of garbage traffic.This is Debian 5.05 default samba installation.Otherwise similarly installed Ubuntu box with two interfaces does not show samba at all, even though smbd is running and working just fine.
I've been at this for hours now and am still not getting it to work. I recently installed Squeeze on my home server, overwriting a Lenny installation. I've been able to add my NT domain accounts back in and pdbedit shows the expeted values - e.g.:
root@whenim64:/home/samba/profiles# pdbedit -Lv garydale Unix username: garydale NT username: Account Flags: [U ] User SID: S-1-5-21-832165970-4128531365-4003982369-1002 Primary Group SID: S-1-5-21-832165970-4128531365-4003982369-513 Full Name: Gary Dale [Code].....
However, although I can log on, I can't get the roaming profiles working. I get the "windows cannot locate the server copy of your roaming profile" message. Since my Unix account names/numbers are the same and the profiles are in the previously working /home folder that didn't get touched, I can't see how it''s a permissions problem. Noneheless, I removed an old profile which should have let WIndows create a new one. It didn't. I still got the same error. I did have to reinstate the groupmaps (don't know why the samba install doesn't do this) but they seem OK.
I noticed that KDE does not have a way to browse for network printers like Gnome does. I installed system-config-printer to fix this(if there is a KDE route that would be nice as well). Anyway, I go to add a printer and select "Network Printer" and click "Windows Printer via SAMBA". This is where i would typically press "Browse..." but it is unclickable. This leads me to believe that I am missing a package. Essentially my question is: What are the necessary packages to access Windows printers via SAMBA with system-config-printer?
I installed the Gnome desktop CD1 AMD 64 version of Debian Squeeze. I installed samba and python-smbc. I am missing samba printers in my system-config-printer. Anyone know why? [url]
I am trying to install Debian wheezy 7.6 stable, i made a bootable pen drive with netinst but when it arrives the select and install software part i got a error that i cant know what error is because it does not show its name. Just appear a red screen saying that a part in installation fails: Select and install software. I guess that this error is when it is installing tasksel.
I work in a compagny and i encounter a problem with the samba trash.When i delete a file from our network directory, the file don't move to the samba trash directory. But, the server create the same samba tree like the orginal file. It's more simple with a example.This is the file i delete to my samba tree S:departementgestion_informatiqueinformatiquecommut est.txt.This is the samba tree that the server create at the moment when i delete my file : @IPcorbeilledepartementgestion_informatiqueinformatiquecommun
The problem is here : We want the file test.txt into this trash tree and it isn't.This is the Samba trash configuration :
I am trying to configure samba for a stripped down file server. I am running debian with command line only. My problem is that I cannot unmask samba.
See below:
root@debian:/home/aaron# service samba status ● samba.service Loaded: masked (/dev/null) Active: inactive (dead)
I have tried "sudo systemctl unmask samba.service". I receive no errors however it does not actually unmask. I can't find anything online regarding a service stuck on masked status.
I just upgraded to jessie and now Samba won't let me log in anymore. I merged smb.conf manually. It now looks like this (removed comments):
Code: Select all[global] workgroup = WORKGROUP dns proxy = no bind interfaces only = no log file = /var/log/samba/log.%m max log size = 1000 syslog = 0
[Code] .....
With smbclient logs as follows: Code: Select allsmbclient -L 192...
Enter user's password: session setup failed: NT_STATUS_UNSUCCESSFUL
If I provide a wrong password, it raises NT_STATUS_LOGON_FAILURE, also if retry with the correct password.
Not sure about what resolved the issue. But after I purged samba, reconfigured it, added the users AND set www-data's shell to bash again (which was changed during the update), it now seems to work
When I boot up, or come out of standby, etc, it takes about a minute for my Windows shares on Win 7 to show up under Network. Is there anything I can try that will make this initial connection faster? Either on Debian or the Win7 machine? I have the latest Debian vanilla. This is over wifi. My other devices list the shares right away.
I've setup a samba pdc, everything works like a charm.. except for the windows theme of the ldap users.Whenever a user logs in on the xp client.. the xp client automaticly switches to classic view instead of the normal xp-style.