Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 25 Sep 2018, 00:48
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Network
Samba version 4.1.9 trimmed version for pup releases
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 3 [34 Posts]   Goto page: Previous 1, 2, 3 Next
Author Message
slavvo67

Joined: 12 Oct 2012
Posts: 1570
Location: The other Mr. 305

PostPosted: Sat 04 Jul 2015, 15:43    Post subject:  

I'm going to try on a Fresh QU just to see. Mick0, thanks but that didn't work. GCMartin, I always use Barry's full USB installs. Still the most automated way to get Puppy on a USB, I think.

I'll get you all more facts soon.

Slavvo67
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12324
Location: Stratford, Ontario

PostPosted: Sun 05 Jul 2015, 06:08    Post subject:  

@slavvo67: I tried some Samba4 packages in Quirky April 702 and it is missing many required components. But there are some older packages that work in Quirky. The forum's Samba gurus can recommend one.
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 6730
Location: Earth

PostPosted: Sun 05 Jul 2015, 14:36    Post subject:  

Just had this report handed in:
Quote:

Blue Pup V6 (Based on QT 6.0.5 k3-12-6)
Code:
# date
Sun Jul  5 17:08:45 BST 2015
# uname -a
Linux BluePupV6 3.12.6 #1 SMP Wed Dec 25 02:35:43 GMT 2013 i686 i686 i686 GNU/Linux
# /etc/init.d/rc.samba start
Starting Samba:  /usr/sbin/smbd -D
                 /usr/sbin/nmbd -D
#
Then reboot:
# date
Sun Jul  5 17:14:54 BST 2015
# uname -a
Linux BluePupV6 3.12.6 #1 SMP Wed Dec 25 02:35:43 GMT 2013 i686 i686 i686 GNU/Linux
# /etc/init.d/rc.samba start
Starting Samba:  /usr/sbin/smbd -D
[2015/07/05 17:15:34,  0] ../lib/util/debug.c:595(reopen_logs_internal)
  Unable to open new log file '/var/log/samba/log.smbd': No such file or directory
[2015/07/05 17:15:34,  0] ../source3/lib/dumpcore.c:249(dump_core_setup)
  Unable to setup corepath for smbd: No such file or directory
[2015/07/05 17:15:34,  0] ../lib/util/debug.c:595(reopen_logs_internal)
  Unable to open new log file '/var/log/samba/log.smbd': No such file or directory
[2015/07/05 17:15:34,  0] ../source3/smbd/server.c:1205(main)
  smbd version 4.1.9 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2013
[2015/07/05 17:15:34.599710,  0] ../lib/util/debug.c:595(reopen_logs_internal)
  Unable to open new log file '/var/log/samba/log.smbd': No such file or directory
[2015/07/05 17:15:34.600444,  0] ../lib/util/debug.c:595(reopen_logs_internal)
  Unable to open new log file '/var/log/samba/log.smbd': No such file or directory
[2015/07/05 17:15:34.600658,  0] ../lib/util/debug.c:595(reopen_logs_internal)
  Unable to open new log file '/var/log/samba/log.smbd': No such file or directory
                 /usr/sbin/nmbd -D
Unable to setup corepath for nmbd: No such file or directory
[2015/07/05 17:15:34,  0] ../lib/util/debug.c:595(reopen_logs_internal)
  Unable to open new log file '/var/log/samba/log.nmbd': No such file or directory
[2015/07/05 17:15:34,  0] ../lib/util/debug.c:595(reopen_logs_internal)
  Unable to open new log file '/var/log/samba/log.nmbd': No such file or directory
[2015/07/05 17:15:34,  0] ../source3/nmbd/nmbd.c:904(main)
  nmbd version 4.1.9 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2013
[2015/07/05 17:15:34.639165,  0] ../lib/util/debug.c:595(reopen_logs_internal)
  Unable to open new log file '/var/log/samba/log.nmbd': No such file or directory
[2015/07/05 17:15:34.639908,  0] ../lib/util/debug.c:595(reopen_logs_internal)
  Unable to open new log file '/var/log/samba/log.nmbd': No such file or directory
#

UCF2FS Pup (Based on Unicorn-6.0 k3.14.20)

Code:
# date
Sun Jul  5 17:49:44 BST 2015
# uname -a
Linux UCF2FS-Pup 3.14.20 #1 SMP Thu Oct 9 16:57:53 BST 2014 i686 i686 i686 GNU/Linux
# /etc/init.d/rc.samba start
Starting Samba:  /usr/sbin/smbd -D
/usr/sbin/smbd: error while loading shared libraries: libgnutls.so.28: cannot open shared object file: No such file or directory
                 /usr/sbin/nmbd -D
/usr/sbin/nmbd: error while loading shared libraries: libgnutls.so.28: cannot open shared object file: No such file or directory
#
This report sheds some light on what is happening in @ETP'S and @BarryK's 32bit distros.

My thinking is that this might need be added to default conf
Code:
[global]
    log level = 2
    log file = /var/log/samba/log.%m
    max log size = 50
    debug timestamp = yes
And the log pathname should "match" as much as possible the existing available path in modern PUP distro's filesystem. At the very least, the majority of them. The one shown above is what would be found in the LightHouse/PhatSlacko distro. I think this is the SAMBA default, though.

Here's Lighthouse's lib

Any helpful Ideas on the lib issues shown in the report?

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engines or use DogPile
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 11160

PostPosted: Mon 06 Jul 2015, 06:13    Post subject:  

Blue Pup V6...thats suggests a broken save system or more likely /var/log is being erased at shutdown....

UCF2FS Pup...needs a symlink to whatever gnutls is included this week.

Neither will be fixed by playing with the samba config.

quirky missing components...well its pretty standard stuff but then we are dealing with quirky. gnutls will most likely be one of them...symlinking seems to work...it did in Lucid.

mike
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12324
Location: Stratford, Ontario

PostPosted: Mon 06 Jul 2015, 08:27    Post subject:  

mikeb wrote:
quirky missing components...well its pretty standard stuff but then we are dealing with quirky. gnutls will most likely be one of them...symlinking seems to work...it did in Lucid.mike

You can't symlink to files that aren't there. But for another 3MB of content, you can have Samba4 in Quirky April 702.
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 11160

PostPosted: Mon 06 Jul 2015, 08:29    Post subject:  

So no gnutls in quirky then...well I did suspect this.

You have a list of the missing libs handy?

Must be fun installing anything into that Very Happy
I don't have much time for alpha testing

mike
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 6730
Location: Earth

PostPosted: Mon 06 Jul 2015, 12:43    Post subject:  

Something said may have led to a view that "UCF2FS Pup is based on BK's Quirky Unicorn."

It is not.

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engines or use DogPile
Back to top
View user's profile Send private message 
ETP


Joined: 19 Oct 2010
Posts: 1096
Location: UK

PostPosted: Mon 06 Jul 2015, 16:00    Post subject: Samba version 4.1.9 Slimmed down version.  

With regard to UCF2FS Pup it is based on my own f2fs image of 666philb's Unicorn-6.0 building block puplet
that was released on 22nd Dec 2014 & is woof based.

http://www.murga-linux.com/puppy/viewtopic.php?t=96973

The solution as mikeb pointed out is a symlink.
I can confirm that a link to /usr/lib/libgnutls.so.26.22.6 works.

The problem with Blue Pup once again as mikeb suggested, is the tmp/var in BK's
Quirky build. Upon installing the pet it works but does not survive a reboot as
the additional directories and their contents do not survive a reboot. Adding to the
problem is that by default /var/samba/log is present when /var/log/samba is needed.
Following a reboot you can create that or better uninstall the pet then reinstall it
as their are numerous entries in var.
Unless anyone has any bright ideas BK's Quirky builds look like a no go area.

_________________
Regards ETP

Kennels
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12324
Location: Stratford, Ontario

PostPosted: Mon 06 Jul 2015, 16:22    Post subject: Re: Samba version 4.1.9 Slimmed down version.  

ETP wrote:
Unless anyone has any bright ideas BK's Quirky builds look like a no go area.

There are other Samba packages that put their var folder in a location that would survive a reboot. Like
Code:
/usr/local/samba/var

Last edited by rcrsn51 on Tue 07 Jul 2015, 08:43; edited 1 time in total
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 11160

PostPosted: Tue 07 Jul 2015, 04:27    Post subject:  

Hmmm it would seem any system that is messing up folders in /var would need sorting as it would more than likely affect other software too.

Mountains and Mohammed stuff. This particular samba build is pretty much as it comes from their sources so would normally expect /var to be usable / persistant

My guess its happening in rc.shutdown or whatever is used in quirky.

mike
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 11160

PostPosted: Tue 07 Jul 2015, 14:59    Post subject:  

Ok added 64 bit packages if anyone wants them...similar structure to the 32 bit.

just to reiterate these are meant for consideration to include in puppy releases and not as yet another standalone samba server package inorder to provide basic two way samba support.

mike
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 6730
Location: Earth

PostPosted: Tue 07 Jul 2015, 16:01    Post subject: This SAMBA works for all of your "smart" LAN devices, too!  

This SAMBA has been tested on 32bit TahrPUP, LxTahrPUP, Vivid, Slacko, LUPU, UCF2FS PUP, and RG66 provided TNG removal instructions couple weeks ago so that this PET could be correctly installed in his distros. RG's instructions are to use Menu>Setup>Remove builtin packages where you scroll to TNG to remove it. Following this step, you merely click this SAMBA PET to have it bring ALL elements of your system's SAMBA features up-to-date for ALL OF YOUR LAN devices/phones/tablets/etc. If it talks to Apple/Microsoft, it will work with this SAMBA for your PUPs.

With LUPU and UCF2FS PUPs, a symlink is needed. It may be as simple as this: "its just wants a gnutls 28 -> 26 symlink that's all."

This distro works very very well with a much much friendly Puppy exclusive from @01Micko's work, the SSM, which shows up in Menu>Network>"SAMBA Simple Management" making SAMBA easy to understand and use.

Most recently it WORKS as an upgrade to most every PUP 64bit distros. The exception being @BarryK's Quirky-April distro series of 2014-2015 as his lib structures depart from his traditional PUPs.

Please post any use issues to this thread for resolution and direct assistance.

This author will listen to any request provided, and has a track record of such. Further, with this SAMBA package, you will NOT LOSE ANY FUNCTIONALITY! It does NOT discard functionality to meet some size objective. It intends to insure functionality is maintained in its packaging and its performance is stellar. Its the same subsystem carried over from @01Micko who pioneered SAMBA V4 in Puppyland.

Further, this SAMBA maintains compatibility with "official" SAMBA as was configure by @01Micko for Puppy Linux. It components have NOT been bastardized as has been seen elsewhere. Thus, anyone who has SAMBA experience, no matter their backgrounds can assist an user who might have issues. Again, this maintains official SAMBA conformity.

Hope this is helpful.

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engines or use DogPile
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 11160

PostPosted: Wed 08 Jul 2015, 07:23    Post subject:  

Quote:
Most recently it WORKS as an upgrade to most every PUP 64bit distros. The exception being @BarryK's Quirky-April distro series of 2014-2015 as his lib structures depart from his traditional PUPs.


so libraries are not in /usr/lib64 then and that's not in the path or is there more to it?

mike
Back to top
View user's profile Send private message 
xanad


Joined: 28 Feb 2014
Posts: 400
Location: 2 locations: MonteRosa Alp and Milano

PostPosted: Thu 09 Jul 2015, 04:44    Post subject:  

mikeb wrote:
Quote:
Most recently it WORKS as an upgrade to most every PUP 64bit distros. The exception being @BarryK's Quirky-April distro series of 2014-2015 as his lib structures depart from his traditional PUPs.


so libraries are not in /usr/lib64 then and that's not in the path or is there more to it?

mike


Yes, the structure of paths in Q64 is particular. the paths /lib64/ and /usr/lib64 not seem to exist although there are. Libs from the original deb or rpm must be placed in /lib/ although they should actually be in /lib64/ and those of /usr/lib64 go in /usr/lib. There not seems to be a possible symlink to the correct path. Same reasoning even for sub-paths x86_64. This creates a lot of difficulties in creating new apps, which must be created manually every time.

_________________
www.xanad.tk Html5 Parallax
Back to top
View user's profile Send private message Visit poster's website 
mikeb


Joined: 23 Nov 2006
Posts: 11160

PostPosted: Thu 09 Jul 2015, 04:55    Post subject:  

Quote:
This creates a lot of difficulties in creating new apps, which must be created manually every time.


Hmm reminds me of a thread about sticking to 'standards'...

Anyway since this is meant for system inclusion does it work if all the libs in /usr/lib64 are moved to /usr/lib then? Or does that cause further problems?

mike
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 3 [34 Posts]   Goto page: Previous 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Network
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0827s ][ Queries: 12 (0.0181s) ][ GZIP on ]