ask mohon bantuan'a tntang samba

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
Post Reply
User avatar
ganome

ask mohon bantuan'a tntang samba

Post 04 Jul 2013, 18:25

ini knp ya ...
[spoiler]

Code: Select all

apt-get install samba 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-2.6.32-38 python-libuser libuser1 linux-headers-2.6.32-38-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0B/6,264kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
(Reading database ... 195309 files and directories currently installed.)
Preparing to replace samba 2:3.4.7~dfsg-1ubuntu3.10 (using .../samba_2%3a3.4.7~dfsg-1ubuntu3.10_i386.deb) ...
stop: Unknown instance: 
stop: Unknown instance: 
Unpacking replacement samba ...
Processing triggers for ureadahead ...
Processing triggers for ufw ...
Processing triggers for man-db ...
Setting up samba (2:3.4.7~dfsg-1ubuntu3.10) ...
smbd start/running, process 4095
start: Job failed to start
[/spoiler]
ad yg tau bnrin'a bagaimana ..


User avatar
q_p
Contact:

Post 04 Jul 2013, 19:29

Coba anda cek dengan

Code: Select all

# dpkg -l | grep samba
dan ouputnya anda pastekan di sini


User avatar
ganome

Post 05 Jul 2013, 09:04

[spoiler]

Code: Select all

dpkg -l |grep samba
ii  samba                                2:3.4.7~dfsg-1ubuntu3.10                              SMB/CIFS file, print, and login server for U
ii  samba-common                         2:3.4.7~dfsg-1ubuntu3.10                              common files used by both the Samba server a
ii  samba-common-bin                     2:3.4.7~dfsg-1ubuntu3.10                              common files used by both the Samba server a
ii  samba-doc                            2:3.4.7~dfsg-1ubuntu3.10                              Samba documentation
ii  samba-doc-pdf                        2:3.4.7~dfsg-1ubuntu3.10                              Samba documentation in PDF format
ii  samba4-clients                       4.0.0~alpha8+git20090912-1                            client utilities from Samba 4
ii  samba4-common-bin                    4.0.0~alpha8+git20090912-1                            Samba 4 common files used by both the server
rc  system-config-samba                  1.2.63-0ubuntu4                                       GUI for managing samba shares and users
[/spoiler]
itu kang pragola pati ..


User avatar
q_p
Contact:

Post 05 Jul 2013, 11:46

Anda cek dengan ps aux mas, jika outputnya seperti ni bawah ini berarti samba sudah jalan =

Code: Select all

# ps aux | grep smbd
root      1045  0.0  0.0 122496  4964 ?        Ss   Jul01   0:03 smbd -F
root      1171  0.0  0.0 123088  3060 ?        S    Jul01   0:03 smbd -F
root     10449  0.3  0.0 131240  7836 ?        S    08:53   0:32 smbd -F
root     10802  0.2  0.0 131156  6328 ?        S    09:31   0:20 smbd -F
root     11356  0.0  0.0 130788  4900 ?        S    09:56   0:00 smbd -F
root     17079  0.2  0.0 130924  5388 ?        S    10:46   0:06 smbd -F
root     23358  0.0  0.0   8112   880 pts/0    S+   11:42   0:00 grep --color=auto smbd
Sebelumnya apakah install juga tools pendukung-nya ?

Code: Select all

apt-get install samba samba-common samba-doc libcupsys2 winbind smbclient smbfs


User avatar
ganome

Post 06 Jul 2013, 12:22

tools pndukung'a sdh sya install kang .. dn ini hasil dri ps aux ..

Code: Select all

ps aux | grep smbd
root      2214  0.0  0.0   3344   836 pts/0    S+   12:15   0:00 grep --color=auto smbd

mungkin ada solusi'a kang ..


User avatar
ganome

Post 06 Jul 2013, 12:27

setelah sya tambahin

Code: Select all

 apt-get install samba samba-common samba-doc libcupsys2 winbind smbclient smbfs 
ini saya --reinstall lagi samba"a ..

Code: Select all

 apt-get install samba --reinstall
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-2.6.32-38 python-libuser libtevent0 libuser1 samba4-common-bin
  libldb0 linux-headers-2.6.32-38-generic libreadline5
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B/6,264kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
(Reading database ... 195386 files and directories currently installed.)
Preparing to replace samba 2:3.4.7~dfsg-1ubuntu3.10 (using .../samba_2%3a3.4.7~dfsg-1ubuntu3.10_i386.deb) ...
stop: Unknown instance: 
stop: Unknown instance: 
Unpacking replacement samba ...
Processing triggers for ureadahead ...
Processing triggers for ufw ...
Processing triggers for man-db ...
Setting up winbind (2:3.4.7~dfsg-1ubuntu3.10) ...
 * Starting the Winbind daemon winbind                                   [fail] 
invoke-rc.d: initscript winbind, action "start" failed.
dpkg: error processing winbind (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up samba (2:3.4.7~dfsg-1ubuntu3.10) ...
smbd start/running, process 2567
start: Job failed to start

Errors were encountered while processing:
 winbind
E: Sub-process /usr/bin/dpkg returned an error code (1) 


User avatar
ganome

Post 06 Jul 2013, 12:35

ini isi folder samba'a ..

Code: Select all

ls -l /etc/samba/
total 4
drwxr-xr-x 2 root root 4096 2010-04-03 04:58 tls


User avatar
q_p
Contact:

Post 06 Jul 2013, 17:16

Anda uninstall (purge) saja semuanya, lalu anda install lagi samba + tool pendukung-nya


Post Reply

Who is online

Users browsing this forum: No registered users and 36 guests