LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Closed Thread
  Search this Thread
Old 07-03-2020, 08:52 AM   #1
LXCnut
LQ Newbie
 
Registered: May 2020
Posts: 24

Rep: Reputation: Disabled
Trouble installing Samba


Hello, I have been having difficulty installing Samba. I first installed it in Ubuntu 18 LTS lxc container running on proxmox pve, through "apt install samba". However the version installed by this command was quite outdated and gave me the error "Can not dump core files; core path not specified" when i was trying to configure samba-ad-dc using "samba-tool domain provision --use-rfc2307 --interactive"
samba --version = 4.6.7

Since some online forums suggested it might be a release bug, i decided to try installing the latest samba (4.12.5) from source. I downloaded the tar ball, extracted, installed dependencies, run ./configure, make, make install; however samba did not install despite these commands indicating success.

I have tried installing from source on ubuntu 18 standalone desktop and i get a bunch of errors from ./configure

Will appreciate any input
 
Old 07-03-2020, 03:22 PM   #2
wagscat123
Member
 
Registered: Jan 2009
Location: Maryland-Pennsylvania border, USA
Distribution: openSUSE 15.2/15.3, Tumbleweed, Kubuntu 18.04/21.04, macOS 10.15, antiX 19, and Linux Mint 19.3
Posts: 860
Blog Entries: 45

Rep: Reputation: 120Reputation: 120
Did you run the commands to manually install with sudo/root privileges?
 
Old 07-04-2020, 05:55 AM   #3
LXCnut
LQ Newbie
 
Registered: May 2020
Posts: 24

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by wagscat123 View Post
Did you run the commands to manually install with sudo/root privileges?
yeah, all commands run as root
 
Old 07-06-2020, 09:19 AM   #4
dc.901
Senior Member
 
Registered: Aug 2018
Location: Atlanta, GA - USA
Distribution: CentOS/RHEL, openSuSE/SLES, Ubuntu
Posts: 1,005

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Is Ubuntu 18 a requirement? Can you use 20.04?
Reason I ask, is 20.04 "ships with Samba 4.11.x" https://wiki.ubuntu.com/FocalFossa/ReleaseNotes

-----

Getting software from repo will also make your life easy down the road when you have to install patches.

Last edited by dc.901; 07-06-2020 at 09:22 AM.
 
Old 07-08-2020, 06:59 AM   #5
LXCnut
LQ Newbie
 
Registered: May 2020
Posts: 24

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by dc.901 View Post
Is Ubuntu 18 a requirement? Can you use 20.04?
Reason I ask, is 20.04 "ships with Samba 4.11.x" https://wiki.ubuntu.com/FocalFossa/ReleaseNotes

-----

Getting software from repo will also make your life easy down the road when you have to install patches.
Thanks for this. I didnt know that. Let me try 20 and see if i still get the same issues.
 
Old 07-08-2020, 10:16 AM   #6
LXCnut
LQ Newbie
 
Registered: May 2020
Posts: 24

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by dc.901 View Post
Is Ubuntu 18 a requirement? Can you use 20.04?
Reason I ask, is 20.04 "ships with Samba 4.11.x" https://wiki.ubuntu.com/FocalFossa/ReleaseNotes

-----

Getting software from repo will also make your life easy down the road when you have to install patches.
Installed Ubuntu 20.4 LTS template on lxc container (unprivileged), and NO it does not ship with samba as i had to install it.
#apt install samba //installs samba version 4.11.6
This version of samba still produces the same error: Unable to dump core files: core path not set

From the research online, it seems samba requests core access which provides it with real root rights so as to dump the files. With unprivileged containers which pick most of their settings from the host node, have this 'real root' disabled. The only way to run it is by using privileged containers.

My conclusion is that I cannot use containers since using an unprivileged container is NOT an option for me!
 
Old 07-13-2020, 04:27 PM   #7
Sum1
Member
 
Registered: Jul 2007
Distribution: Fedora, CentOS, and would like to get back to Gentoo
Posts: 332

Rep: Reputation: 30
Can you post your smb.conf file

And also run testparm and copy the results to the post as well.
 
Old 07-14-2020, 07:35 AM   #8
LXCnut
LQ Newbie
 
Registered: May 2020
Posts: 24

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Sum1 View Post
Can you post your smb.conf file

And also run testparm and copy the results to the post as well.
Ok, how will it help because its a lxc container and samba issue?!
 
Old 07-14-2020, 07:45 AM   #9
Sum1
Member
 
Registered: Jul 2007
Distribution: Fedora, CentOS, and would like to get back to Gentoo
Posts: 332

Rep: Reputation: 30
Quote:
My conclusion is that I cannot use containers since using an unprivileged container is NOT an option for me!
Please excuse, I overlooked the most important statement above.
 
Old 07-14-2020, 08:06 AM   #10
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,804

Rep: Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306
duplicate of https://www.linuxquestions.org/quest...lp-4175672772/
 
Old 07-14-2020, 08:11 AM   #11
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,804

Rep: Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306
why on earth do you ignore the error message? You must configure core path. That's all. It is not related to samba, every version will require the mentioned core path.
Opening a new thread still will not solve it.
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble installing Xastir: Trouble with the dependency library gpsmanshp tristan.sebens Linux - Software 0 10-13-2017 04:48 AM
Trouble mounting Samba share from Windows Mobile 6.1 - samba weirdness cleidh_mor Linux - Server 0 09-21-2008 02:43 PM
I am having trouble installing Samba drinkymilk Linux - Newbie 2 01-11-2008 06:58 PM
Having trouble installing rpms for new Samba release TechHawk Linux - Networking 3 05-12-2004 02:07 AM
trouble ahead, trouble behind....trouble with mplayer Goonie Linux - Software 3 07-02-2003 02:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration