can not install samba on pogo E02

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Re: can not install samba on pogo E02

Postby pepedog » Thu Feb 28, 2013 3:18 pm

$this->bbcode_second_pass_code('', 'systemctl start smbd
systemctl enable smbd
systemctl status smbd')
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: can not install samba on pogo E02

Postby sjwoo » Thu Feb 28, 2013 5:04 pm

$this->bbcode_second_pass_code('', '[root@pogo ~]# systemctl start smbd
[root@pogo ~]# systemctl enable smbd
ln -s '/usr/lib/systemd/system/smbd.service' '/etc/systemd/system/multi-user.target.wants/smbd.service'
[root@pogo ~]# systemctl status smbd
smbd.service - Samba SMB/CIFS server
Loaded: loaded (/usr/lib/systemd/system/smbd.service; enabled)
Active: active (running) since Thu 2013-02-28 11:02:25 EST; 15s ago
Main PID: 565 (smbd)
CGroup: name=systemd:/system/smbd.service
+-565 /usr/sbin/smbd -D
+-567 /usr/sbin/smbd -D

Feb 28 11:02:25 pogo systemd[1]: PID file /var/run/samba/smbd.pid not readable (yet?...rt.
Feb 28 11:02:25 pogo systemd[1]: Started Samba SMB/CIFS server.
Feb 28 11:02:26 pogo smbd[566]: [2013/02/28 11:02:26.046523, 0] printing/print_cups...ct)
Feb 28 11:02:26 pogo smbd[566]: Unable to connect to CUPS server /var/run/cups/cups....ory
Feb 28 11:02:26 pogo smbd[565]: [2013/02/28 11:02:26.053206, 0] printing/print_cups...ck)
Feb 28 11:02:26 pogo smbd[565]: failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL')

I copied the smb.conf from my raspberry pi to this one, and voila, it works now. So it must've been the default smb.conf that was causing the problem. Taking a look at the default smb.conf, it looked very out of date (i.e., it mentioned Windows NT and such). So I think this is a problem that people will have if they try to use the default smb.conf that comes with the install.

$this->bbcode_second_pass_code('', '[root@pogo ~]# systemctl status smbd
smbd.service - Samba SMB/CIFS server
Loaded: loaded (/usr/lib/systemd/system/smbd.service; enabled)
Active: active (running) since Thu 2013-02-28 11:27:37 EST; 9min ago
Main PID: 769 (smbd)
CGroup: name=systemd:/system/smbd.service
+-769 /usr/sbin/smbd -D
+-771 /usr/sbin/smbd -D

Feb 28 11:27:37 pogo systemd[1]: Starting Samba SMB/CIFS server...
Feb 28 11:27:37 pogo systemd[1]: PID file /var/run/samba/smbd.pid not readable (yet?...rt.
Feb 28 11:27:37 pogo systemd[1]: Started Samba SMB/CIFS server.
[root@pogo ~]#')

This still doesn't work:

$this->bbcode_second_pass_code('', '[root@pogo ~]# systemctl status samba
samba.service
Loaded: error (Reason: No such file or directory)
Active: inactive (dead)

[root@pogo ~]#')

Do I need to worry?

Another thing I'm noticing is that when I try to copy large files (>100MB), it takes quite some time for it to start. The larger the file, the longer the lead time. I just tried to copy a 700MB file, and it took a good 20 seconds for it to start.
sjwoo
 
Posts: 38
Joined: Thu Dec 15, 2011 2:46 pm

Re: can not install samba on pogo E02

Postby confucius » Thu Feb 28, 2013 5:11 pm

I still have the same problem following your suggestions. I somehow know where the problems are. Even after I change the permission using chmod 777, the write permission is still not granted to other users. Only root has the write permission. Weird, I have got no error message after chmod 777.

I have already spent 10 hours on the pogoplug. Still can not set it up correctly. Thank you for your help!

$this->bbcode_second_pass_quote('rty', 'T')hese 3 lines do not belong to the "global" section:
$this->bbcode_second_pass_quote('', '
')public = yes
read only = no
writeable = yes


Move all three to [test]
confucius
 
Posts: 7
Joined: Wed Feb 27, 2013 4:34 pm

Re: can not install samba on pogo E02

Postby Socaltom » Thu Feb 28, 2013 5:31 pm

$this->bbcode_second_pass_quote('confucius', 'I') still have the same problem following your suggestions. I somehow know where the problems are. Even after I change the permission using chmod 777, the write permission is still not granted to other users. Only root has the write permission. Weird, I have got no error message after chmod 777.

I have already spent 10 hours on the pogoplug. Still can not set it up correctly. Thank you for your help!



smbd.service is the file sharing service, not samba, so you will always get an error message if you try and start samba.service

Are the other users trying to edit and save files, or are they trying to save new files?
Tom
used to be owned by me
Pink Pogo V2, Black Pogo V3, Zyxel NAS 325 v1,
used to be Adminstrator for
Goflex net, Black V3, Black V2
Now I have a couple of raspberry pi ( 3+ and 4)
Socaltom
 
Posts: 571
Joined: Thu Apr 07, 2011 2:21 pm
Location: The left side
Top

Re: can not install samba on pogo E02

Postby confucius » Thu Feb 28, 2013 5:53 pm

Thanks Tom! The problem I have now is to copy files from my windows machine to the external drive attached to pogoplug. I can not create a new folder or copy files to the samba drive. Windows tells me that I do not have the permission. However, I check in Webmin that "everyone" has read and write permission to the shared folder.
I searched online. The problem is that the NOT "everyone" has read/write permission under Linux. And I am trying to grant read/write permission to "everyone" for the shared folder under Linux. I can not do it.


$this->bbcode_second_pass_quote('Socaltom', '')$this->bbcode_second_pass_quote('confucius', 'I') still have the same problem following your suggestions. I somehow know where the problems are. Even after I change the permission using chmod 777, the write permission is still not granted to other users. Only root has the write permission. Weird, I have got no error message after chmod 777.

I have already spent 10 hours on the pogoplug. Still can not set it up correctly. Thank you for your help!



smbd.service is the file sharing service, not samba, so you will always get an error message if you try and start samba.service

Are the other users trying to edit and save files, or are they trying to save new files?
Tom
confucius
 
Posts: 7
Joined: Wed Feb 27, 2013 4:34 pm
Top

Re: can not install samba on pogo E02

Postby Socaltom » Thu Feb 28, 2013 10:52 pm

Use the filemanager under webmin select the folder that is give you problems, then select the
"info" button. Change the group to "users" or what ever your user group is, and change the permissions so that all users can write and change the folder contents. Then at the bottom of the pop up apply to " this directory and its subdirectories". you may have to restart the smb.service after, but that is what usually fixes it for me.
Tom
used to be owned by me
Pink Pogo V2, Black Pogo V3, Zyxel NAS 325 v1,
used to be Adminstrator for
Goflex net, Black V3, Black V2
Now I have a couple of raspberry pi ( 3+ and 4)
Socaltom
 
Posts: 571
Joined: Thu Apr 07, 2011 2:21 pm
Location: The left side

Re: can not install samba on pogo E02

Postby yazyazoo » Sun Mar 03, 2013 4:37 am

$this->bbcode_second_pass_quote('confucius', 'T')hanks for the information. I got webmin up and running. However, after the configuration following these steps http://www.webmin.com/samba-howto.html and click restart samba server. I got this error message. Failed to restart Samba servers : /etc/rc.d/samba start failed


Confucius I got that error and can't connect to my shares on Samba. I get that Popup window that you posted earlier in this thread.

What did you do to get rid of it?

Did you try a different Samba .conf file? If so what did you use and could you paste it here? Also how did you mount your drive so that it could be seen from a windows pc?

Do you mount command and then configure in Webmin? Do you know how you would mount a NTFS drive and get it to read and write to the Pogoplug?

Thanks.
yazyazoo
 
Posts: 78
Joined: Fri Sep 07, 2012 5:19 pm
Top

Re: can not install samba on pogo E02

Postby moonman » Sun Mar 03, 2013 5:58 am

Seems samba is not installed?
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: can not install samba on pogo E02

Postby yazyazoo » Sun Mar 03, 2013 6:45 am

I installed Samba from the second post on the thread by SoCalTom. viewtopic.php?f=18&t=5135

I then followed the wiki and copied over the conf file. I followed Webmin wiki on installing Samba and settings. I still can't get it to work.
yazyazoo
 
Posts: 78
Joined: Fri Sep 07, 2012 5:19 pm

Re: can not install samba on pogo E02

Postby moonman » Sun Mar 03, 2013 7:03 am

run "which samba"
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

PreviousNext

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 12 guests