Help Configuring Samba
Am new on Linux. I recently did install Linux8.0, then had problems configuring Samba after this command:
# smbclient -U% -L localhost Error: added interface ip=194.180.75.90 bcast=194.180.255 nmask=255.255.255.0 error connecting to 127.0.0.1:139 (connection refused) error connecting to 127.0.0.1 (connection refused) connection to localhost failed> Can anyone pls help Ad |
Did you start the service ("/sbin/service smb start"). Does "netstat -tuanp" confirm that the servers are listening?
|
Is samba running?
service smb start |
When I tried: /usr/sbin/ smbd
or smbd start from whatever directory level, DID NOT RETURN ANY VALUE or ERROR MESSAGE /usr/sbin/ smb start RETURNED: Command not found! what else have I got to do please????? |
Have you installed the samba server?
rpm -q samba will tell you if you have or have not. Find your installation disks and look for the samba rpm and then install with rpm -ivh samab-{whatever_version}.rpm Please note that there have been many security fixes to samba since the RH8 version, so you should get the latest version from the Red Hat site. |
SORRY I HAVE TO BOTHER U GUYS MORE111
#Testparm result: Load smb config files from //etc/samba/smb.conf Processing Sections "[netlogon]" Global parameter logon path found in Service Section! Global parameter logon home found in Service Section! Processing Sections "[profiles]" Processing Sections "[homes]" Processing Sections "[Printers]" Loades Services file OK. I still cant locate source of the problem. Ad |
Dear Corrin,
I hate installed Samba. The command: rpm -q samba produced the response: samba-2.2.3a-64 How else can I resolve this please. thanks Ad |
Quote:
You can only start smb as root Also if you want to ensure that smb starts whenever you but up your machine, as user root, fire up redhat-config-services and enable smb to stop in runlevels 0, 1, 2, and 6 and enable smb to start in runlevels 3, 4, 5 I trust that your default runlevel is either 3 or most probably 5 (with Xserver running). |
Zmedico,
thanks for your tip. /sbin/service smb start produced response: commend not found and #whereis service produced response :service what else can I do please??? ad |
As Corin pointed out, you need to have root privileges to start or stop a service.
you can login as root and run service smb start |
Quote:
BTW- /sbin/service isn't required. The script /etc/rc.d/init.d/smb can be ran directly. Of course, first use "su" to become root. |
Zmediko,
rpm --verify initscripts produced the response: package initscripts is not installed. must i install it thru Yast please? thanks ad |
If you are on a SuSE system, then you do indeed need to install the package initscripts, and this is most easily done through YaST[2].
|
thanks Corin, how do i install the Package Initscripts thru YaST2. Ihave tried several CDs from the available 7 CDs in the package, but cant get an auto run Installation.
|
HURRAH!!! I seems to be making some progress, but......
# smbclient -U% -L localhost produced the response: added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0 added interface ip=194.180.75.90 bcast=194.180.255 nmask=255.255.255.0 Domain=[ARBEITSGRUPPE] OS=[Unix] Service=[Samba 2.2.3a] Sharename Type Comment -------------- ------ ------------ netlogon Disk Network Logon Service IPC$ IPC IPC Service (Samba 2.2.3a) ADMIN$ Disk IPC Service (Samba 2.2.3a) Server Comment -------- ------------ Workgroup Master ------------- --------- BUT AM YET TO LOCATE THE LINUX/SAMBA SERVER ON MY WINDOWS SERVER. pls help ad |
All times are GMT -5. The time now is 05:40 PM. |