Ubuntu Installation :: How To Install Samba Service ?
Aug 20, 2010How to install samba on ubuntu.
View 1 RepliesHow to install samba on ubuntu.
View 1 RepliesI've been trying to install samba the last couple days, every time I do apt-get install samba it says that its the latest version but there's no samba folder in /etc/ and when I try /etc/init.d/samba start (or stop or restart) I get no such file or directory errors.
I've tried apt-get --purge remove samba to remove it and then reinstall but it does nothing and after the reinstall I'm still left with the above problem.
I have a few computers that share files from this main Ubuntu desktop - I've been having samba problems so I've run Quote: sudo aptitude purge samba then re-installed it from the Software Centre. But it's not starting:
Code:
brent@Bertha:~$ sudo service samba start
samba: unrecognized service
I got alarm on Firestarter showing attack from samba service on port 139 . Is that ok for my host computer ? or a serious attack .
View 9 Replies View RelatedI used samba on FedoraCore2 before...and now i cannot config the same on FC10. I cannot start the service smb ( /etc/init.d/smb restart or service smb restart ) those commands dont work. How can i do to config samba service.
View 11 Replies View RelatedSet up a new cluster service for a cifs share. Has these properties:
Service name = cifs_cases
Autostart is checked
name=cases type=GFS Scope=shared
[code]....
I am trying to install sysstat. Below is the error I get.
Loaded plugins: refresh-packagekit
[URL]: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.....
Error Downloading Packages:
sysstat-8.0.4-5.fc10.x86_64: failure: Packages/sysstat-8.0.4-5.fc10.x86_64.rpm from fedora: [Errno 256] No more mirrors to try.
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.
Which command i need to use to start or stop samba service in suse10? I tried rcsmbd start , ./smbd start , /etc/rc.d/init.d/smbd start and no result. And the second question . How i need to connect to samba server from windows7 ? Are there any samba client programs or i must connect from cmd ?
View 2 Replies View RelatedJust like the title states, as soon as my server comes up, I see the samba share that I made and can browse it just fine.
I don't see the printer share nor can I print to the shared printer until I execute service smbd restart from an ssh login. Then I see the printer and then I can network print.
Before restarting smbd, I do check to see if it's already running and it is (two instances are running in fact). When I restart smbd, there are still two smbd services running but they have higher PID numbers (and I can then print).
I'm running 10.04. how to make it all start up happily the first time without any intervention from me?
This is what I get:
Code:
root@Jason-Lin:/# apt-get install samba
Reading package lists... Done
Building dependency tree
Reading state information... Done
[code]...
This is a fresh 11.04 install. I grabbed a couple of the basics (alternate browsers, media players, etcetera) but other than that I haven't made any modifications or installed any strange packages.
Code:
root@Jason-Lin:/# uname -a
Linux Jason-Lin 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 i686 i386 GNU/Linux
I am trying to give yum install samba command to install samba software in my FEDORA9 machine but I am getting errors as I am not able to connect to any of the UPDATE servers as they show links are not available.
View 1 Replies View RelatedI downloaded and installed the newest version of Fedora, version 15, in my refurbished computer. It's the CD version; so much of the stuff are missing, including an office suite. I didn't have a DVD-ROM drive on the system, thus I installed the CD version. On the CD version, I was displeased that I can't install Samba offline; I had to download it. Don't ask me why I don't want to download it, it's just my preference to be able to have a basic computer function like Samba on an official distribution, like a calculator, an office suite (again, was left out), and a file manager.
Fedora's website describes the DVD edition of the operating system as having more software than the CD version. Now, for those who have used the new Fedora and also used Samba, does it come installed, or do you have to go online to download it? I understand if you don't want MP3s or DVD decryption software, but how does LAN file-sharing count as something that's illegal?
What is the command to install CUPS and Samba, like yum install. I don't want to be installing wrong things and then end up with dependency problems, and after that what do i need to configure to have CUPS print from the localhost, and so that other computers from the networks also be able to print from the server, that is i'm workin on a server. As for samba i just need the installation command, then i want to figure the rest out.
View 1 Replies View RelatedI am trying to setup LDAP server on Ubuntu 10.04 and am sticking to the old /etc/ldap/slapd.conf file configuration.
I had to comment ldapi:/// from /etc/default/slapd since it was giving 'Address already in use error'. Also had to juggle with pid directory and file issues
After that I was able to start the slapd daemon (service slapd start) but now I am running into multiple issues:
1. Can't stop the service with service slapd stop
Code:
## Service stop returns 0, maybe because start-stop-daemon is not giving error
#service slapd stop
Stopping OpenLDAP: slapd.
# echo $?
0
Will switching to BDB database resolve this ?Also can't I slapcat at non-root user ??
I am running Server 10. I have a requirement to perform an action before the MySQL service starts, and perform another action after MySQL service stops.
I found the init script for MySQL under /etc/init/mysql.conf. I added my thing to the pre-start script there and works fine.
I am having trouble finding the script that stops the server so I can modify.
will the command service httpd restart the apache service if i enable httpsd service in graphical mode
View 12 Replies View Relatedi can smb in centos 5 and i run service smb restart, it shows :smb: unrecognized service..... i run rpm -qa |grep samba,it shows
samba-common-3.0.33-3.7.el5
samba-client-3.0.33-3.7.el5
.....
i am trying to install ACtiveMQ-5.3.0 as a service on ubuntu 9.10 but somehow i cannot. I can start it manually from the bin/ directory i have tried to add it to system/preferences/startup applications, but when i restart my computer activemq is not started (i can check by entering localhost:8161/admin I dont know why it cannot be started as i dont know where to look for startup applications that failed to start
View 1 Replies View RelatedStill a Linux noob here. I downloaded openssh and did a ./configure and a make install. How can I run openssh as a service? When I try /etc/init.d/ssh restart it doesn't work. It's installed in /etc/openssh.
View 9 Replies View Relatedi just installed frox ftp proxy for my server using apt-get install frox.after i installed it i did 'sudo /ietc/init.d/frox start" and got t this "starting frox:caching ftp proxy server: disabled"
View 2 Replies View RelatedI need to start a service before network service How to?
View 1 Replies View RelatedHow to install rpm service? I performed command
# yum remove sqlite
and it removed rpm and yum services, as well as many others. How to reverse changes?
Debian Lenny, Stable: So I followed this procedure:
Step 1:
* Copy files to the /etc/openvpn/easy-rsa/ directory
sudo mkdir /etc/openvpn/easy-rsa/
sudo cp -R /usr/share/doc/openvpn/examples/easy-rsa/2.0/* /etc/openvpn/easy-rsa/
Step 2:
* Edit /etc/openvpn/easy-rsa/vars
sudo vi /etc/openvpn/easy-rsa/vars
Change these lines at the bottom so that they reflect your new CA.
export KEY_COUNTRY="US"
export KEY_PROVINCE="CA"
export KEY_CITY="SanFrancisco"
[code]....
I can login with my other machine to my server but wehen I start hte server it does not fail. seem sto work, but windows see nothing. How to give the passwords to my users?
I wonder how could I start my ruby on rails mongrel_cluster at the start of my openSUSE 11.0 Server and I don't have a GUI. So the shell solution would be good.
View 1 Replies View RelatedWell, i can not install httpd service, when i execute yum -y install httpd i get this message
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5&arch=i386&repo=os error was
[Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
I have reviewed the HowTo wiki on Setting up an SSL secured Webserver with CentOS [URL], and have successfully set up my server.
We are using the conditional <IfDefine SSL> tags around the <VirtualHost _default_:443> section. I wanted to do this because we are deploying a standard <VirtualHost> section that is appended to the httpd.conf file for several Apache versions on several OS's, and this makes maintenance much easier. Sometimes the server will be configured with SSL support, and sometimes not, depending on certain functions of our application that the end user will require and determine. Our application then determines which mode the server should be run in depending on these functions, what OS is being run, what version of Apache is being run, etc, and starts the httpd server in the appropriate mode. For CentOS 5 with Apache 2.2, if the application indicates SSL is required (and we expect the server to be configured appropriately), then we do the following:
/usr/sbin/apachectl -D SSL -k start
whenever i try to update or install a new software this problem shows up Resolving ftp.3drealms.com... failed: Name or service not known. wget: unable to resolve host address `ftp.3drealms.com' --2010-05-23 12:20:14-- ftp://ftp.3drealms.com/pub/share/1rott13.zip => `/usr/share/games/rott/1rott13.zip'
View 3 Replies View RelatedI need to install a webservice server coding in java & running in JBoss AS onto a blade server with Linux OS. Anybody knows what way to make use all the power of that blade? Or just install it as install on other system? In my point of view, there are two ways I could do: Implement a webservice "server" which accept the incoming request, and then deliver to its "client" webservice. So we would run one instance of server and many instance of client. Other way is just improve the current implementation, accept incoming request and try to use multi-thread as many as possible to maximum the performance of the blade server.
View 1 Replies View RelatedWhen I ran updates and installed 9.10, this message appeared, "Network service discovery disabled. Your current network has a .local domain, which is not recommended and incompatible with the Avahi network service discovery. The service has been disabled." The computer will not respond to anything, completely frozen--I am not able to open any programs and the CPU itself seems to be running loudly.
View 1 Replies View Related