Server :: Samba - In Log.smbd - Getting Message Periodically ?

Aug 1, 2011

I'm having a problem with Samba. In log.smbd Im getting this message periodically:

View 8 Replies


ADVERTISEMENT

General :: SAMBA - Could Not Access PID File For Smbd

Feb 9, 2010

samba quit working after win7 I'm new-ish to linux(not using ubuntu tho, but servers)i don't know what PID is.. i just installed a new ubuntu server of an old computer, for file sharing in workgroup with samba, and a little apache server running webmin is also running, giving me an error when restarting samba all worked very well untill i used win7 to access the \server this blog post have a fix for vista7? connecting to samba, but wont fix my problem after i connected to the share with win7 nothing seems to work

Quote:

# service samba status
* nmbd is running
* could not access PID file for smbd

and this:

# service samba start
* starting samba deamons [fail]

restart wont work, neither do reboot the server. I am clueless some of my research is pointing me to /var/run/ and there is no smbd.pid there, not in any folder (nmbd.pid exist) i found something

# service samba reload
* Reloading /etc/samba/smb.conf smbd only
No process in pidfile `/var/run/samba/smbd.pid' found running; none killed.
[ OK ]

i dont have any smbd.pid in the samba dir, should i create a new one.. and where do i get the PID -id that should be inside?

View 4 Replies View Related

Ubuntu Servers :: Smbd Not Running - Reinstall It But Still Giving The Erroneous (?) Status Message ?

Feb 3, 2010

Here's the background info -- I recently installed Ubuntu server 8.04 on TWO machines that are exactly identical.On one machine, all seems perfect.On the other, when I execute "/etc/init.d/samba status" it always shows that smbd is NOT running.But it would seem that it IS running, since I can access the shares I've set up without difficulty either from smbclient on the server or from the windows boxes on the network.ps ax lists smbd as a process as well.The log tells me nothing -- it just reports that samba started. No errors. Not much of anything in there. And if I execute smbstatus, that works just like you'd expect.since the two machines are identical (and I mean exactly the same), and only one is doing this.

I guess I should be happy since they both work (seemingly perfectly).But it still bothers me that I'm getting the message that smbd isn't running on one of them. I tried uninstalling samba and reinstalling it on the machine giving me the erroneous (?) status message. But that changed nothing.Right now there's no data on the machine, and it's not in production, so just doing a bare metal reinstall of the OS is an option. But I'd like to understand what's happening.

View 5 Replies View Related

Ubuntu :: Bastille Removed All Permissions From Samba Smbd Nmbd Files

Mar 24, 2010

After running Bastille to harden my server, Samba stopped working. It had asked me if I would like to disable Samba during the configuration and I selected 'no' so it should not have done this.

When I tried:

Code:
sudo /etc/init.d/samba restart

Nothing happened. I found in the script, if it does not detect smbd and nmbd running, it just exits -- no error message, just simply does nothing.

I found that /usr/sbin/smbd and /usr/sbin/nmbd both had all permissions removed. I set them back to 755 and restarted samba normally.

View 1 Replies View Related

Ubuntu Servers :: Samba Shares Folders But Not Printers Until Restart The Smbd Service?

Jul 18, 2010

Just like the title states, as soon as my server comes up, I see the samba share that I made and can browse it just fine.

I don't see the printer share nor can I print to the shared printer until I execute service smbd restart from an ssh login. Then I see the printer and then I can network print.

Before restarting smbd, I do check to see if it's already running and it is (two instances are running in fact). When I restart smbd, there are still two smbd services running but they have higher PID numbers (and I can then print).

I'm running 10.04. how to make it all start up happily the first time without any intervention from me?

View 2 Replies View Related

Programming :: Periodically Send Message To Client?

Jun 14, 2010

i have a client and server program in C. in that program server is requesting some parameters from client (like systems up time, total memory, no of process running etc).for this i used switch statements. but the problem i am having with this is that,
1. it is always going in default case on client side.2. and i also want my program to send requests/messages to client periodically. means after some interval (say after every 2,3 mins) server sends next request to client.

View 3 Replies View Related

Ubuntu Servers :: Error Message When Starting Samba Server?

Nov 22, 2010

I am trying to share files between Windows XP machine, ubuntu server, debian server and ubuntu desktop. But mainly between ubuntu server and Windows XP computer.I also like to learn samba, because probably I could do all this with ftp server as well.I set up and configured samba following the instruction on Online Ubuntu Server Guide.But when I run the command:sudo /etc/init.d/samba restartI get:bash: /etc/init.d/samba: No such a file or directory I don't know what is wrong?

View 9 Replies View Related

Networking :: Samba Error Message On Connection Between Server And Windows XP?

Apr 5, 2010

I have a Samba server conecting to a windows XP machine that is in workgroup named CLOUDLESS. I have a share folder that resides in the server that can be accessed no problem by the XP client, but I got the following error message from the syslog:

Code:
Apr 5 18:15:44 firefly nmbd[5656]: find_domain_master_name_query_fail:
Apr 5 18:15:44 firefly nmbd[5656]: Unable to find the Domain Master Browser name CLOUDLESS<1b> for the workgroup CLOUDLESS.
Apr 5 18:15:44 firefly nmbd[5656]: Unable to sync browse lists in this workgroup.

[Code]....

View 3 Replies View Related

Server :: Smbd Bind To Port 139 Failed?

Jun 15, 2011

I have just installed Debian 6.0.1 base install, for the use of a file server. I installed samba using apt-get and am using: smbd version 3.5.6

Here is my smb.conf file. Very basic, which by the way, seems OK according to the output of testparm.

Code:
[global]
log level = 3
workgroup = INERT
wins support = yes
[test]

[Code]....

I don't understand why smbd is not reportedly binding to IPv4 ports.

View 1 Replies View Related

Fedora Networking :: Samba Can't Mount Shares - Error Message 'Failed To Receive Shared List From Server'

Oct 4, 2009

It's been awhile since I posted anything which is a good sign my install has been working well and I have been able to handle most everything. However, I'm not able to handle this issue. I recently installed F11 and everything went well. But, when trying to see my other computers on the local network, I cannot. I receive this error message: Unable to mount location Failed to receive shared list from server. I understand the message as it is obvious, but do not know how to fix it.

View 14 Replies View Related

Server :: Log User Samba Who Delete Or Move Files/folders On Samba Server ?

Feb 8, 2010

I need to know is there any way to record or tracking or make logging if when user samba delete files or folders i can know that, cause sometimeon samba server some users complain they lost files, though i have daily backup and i can restore their files, i just want to know if or maybe some other users in one group accidentally move or delete the files.

View 1 Replies View Related

General :: Periodically "losing" Ability To Connect To Server Via SSH?

Mar 18, 2010

I know this isn't exactly a programming question, but it popped up in my use of git for programming projects at least. I've got a web server that I use to host my git repos on, but my ubuntu box seems to "lose" the ability to connect to it via SSH. I'll get a "connection refused" error when I try to ssh or use git. Rebooting my local machine will fix the problem, but only temporarily. I can still connect to the web interface just fine, and the problem manifests with other servers as well.

I've been working around it by pulling my changes over to my laptop and pushing from there, but that's sub-optimal as you can imagine. Has anyone seen something like this? I'd be tempted to say it's some kind of IP caching problem, but I can't connect even using the IP address of the server directly.

View 2 Replies View Related

Software :: Samba Share Not Accessible Access Is Denied Error Message

Jun 24, 2010

I have Samba 3.5.3-61 running on a Fedora Core 13 system. I created a share that is browseable to all systems, and I made sure to create a user account via the smbpasswd utility. When I try to connect to the server from a Windows XP system, I am able to enter the appropriate sharename as well as the username and password.

View 3 Replies View Related

CentOS 5 Server :: Samba-3.0.33 - Cannot Change Computer Names In A Samba Domain?

Oct 8, 2009

I have to rename a group of machines in my little samba domain (tbd backend) but there is an ugly bug that makes this impossible. have set 'rename user script' variable corectly, also checked all configurations.When i change computer name in my windows box, it shows an error saying something like "Error calling remote procedure"Looking on server side, username for the machine gets correctly changed in /usr/passwd, and also in samba database.But samba log says:

===============================================================
[2009/10/08 11:10:32, 0] lib/fault.c:fault_report(42)
INTERNAL ERROR: Signal 11 in pid 11052 (3.0.33-3.7.el5_3.1)

[code]....

View 3 Replies View Related

Server :: Samba And VSFTPD / Create Folder Rights That Samba And Ftp User Will Have An Access To All Directories?

Oct 20, 2010

I would like to configure an access to folder

/fileserver

for two services : Samba and VSFTPD

How to do it ? How to create folder rights that samba and ftp user will have an access (read/write/delete) to all directories in /fileserver.

My system is CentOS. I`m starting samba and vsftpd like a root (/etc/init.d/vsftpd start etc.)

View 1 Replies View Related

Server :: Ubuntu 10.04 Samba + LDAP - Getting Samba To Work Properly

Sep 23, 2010

I'm having some trouble getting samba to work properly. I'm following this tutorial [URL] when I run

Code: sudo smbclient -L localhost I receive the following: Code: Enter root's password: Anonymous login successful Domain=[SAMBA] OS=[Unix] Server=[Samba 3.4.7]
tree connect failed: NT_STATUS_END_OF_FILE I'm lost!

View 3 Replies View Related

Ubuntu Servers :: Smbd. Failed To Connect To Socket?

Nov 21, 2010

I have a new install of Ubuntu 10.04.1 LTS server. But I get errormessages trying to start samba.

caesar@klem:/etc/samba$ restart smbd
restart: Unable to connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory

I have tride to remove an install samba. And deleted smb.conf. And startet with the original.

smb.conf:
workgroup = Easyways
server string = %h server (Samba, Ubuntu)
log file = /var/log/samba/log.%m
max log size = 1000

[Code]....

View 2 Replies View Related

Ubuntu :: Not Automatically Starting Smbd (upstart Event)

Jan 9, 2011

I have posted this somewhere here before and solved it but can't seem to find it. Just waisted 50 minutes googling and checking man pages for upstart. By the way; are man pages written by someone using their tows to type and getting beaten by a stick for every character they type? It seems missing a lot of info. Anyway, I know smbd is started with /etc/init/smbd.conf and there is a line like:

Code: start on local-filesystems Now it needs to be started on? (manually) I can't seem to find any useful information but did seem to find the upstart man pages a hundred times or so (same info same missing parts). I would love to get involved writing documentation for these things if only I know what I was doing.

View 3 Replies View Related

Ubuntu Servers :: Nmbd Does Not Start But Smbd Starts

Jan 14, 2011

The time the server smbd and nmbd functioned normally but when I restart the service he returned smbd nmbd not normal but when I try to start it the following error occurs:

Code:
service nmbd start
start: Job failed to start
service nmbd status
nmbd stop/waiting

[Code]....

View 4 Replies View Related

OpenSUSE :: Unable To Setup Corepath For Smbd: Permission Denied

Jun 6, 2011

I installed samba em my opensusse and i have fallows error: Unable to setup corepath for smbd: Permission denied

View 1 Replies View Related

Fedora :: Can't Log Periodically Into PhpMyAdmin

Jul 1, 2010

I have Apache, MySql server, and phpMyAdmin installed on my desktop. With the default installation of phpMyAdmin, I should be able to log in as root without a password. (Or at least every other time I have installed it, I could.) However, that isn't the case. I can't log in to phpMyAdmin period. I have tried setting the password for root with MySql through the terminal. Still no results. No matter what I do, when I try to log in to phpMyAdmin, I am denied access.

this is a fairly common issue (though I have never encountered it before) as I found similar posts in numerous forums, etc. I finally found a solution and now have it working. In case others have a similar problem, I am posting the solution that I used here. First open a terminal. Then use the following command

Code:
mysqladmin -u root password NEWPASSWORD
Substitute NEWPASSWORD with the password that you want to use and then you should be able to log in to phpMyAdmin as root with the new password.

View 2 Replies View Related

Ubuntu :: PHP Cli - How To Run A Page Periodically

Apr 20, 2010

I have to run this page: [URL].., because it fetches the content of some feeds(RSS) and then inserts into Database and then sends SMS texts to subscribed users. when i run it with php-cli in bash like this: php feeds.php?u=y&d=y

I only get:
[4] 11719

but nothing happens, running it like this: black@loopserver:/var/www/loop/cp$ php 'feeds.php?u=y&d=y' Could not open input file: feeds.php?u=y&d=y

Can any one please tell me what to do? I think the problem is coming by passing get parameters, if i just run feeds.php everything goes fine, but I need to pass in those.

View 5 Replies View Related

Ubuntu :: Does Anyone Know If ISO Is Updated Periodically?

May 21, 2010

Does anyone know if the ISO is updated periodically? Also is it just me or is Google Chrome faster than Firefox?

View 2 Replies View Related

Ubuntu :: Renewing IP In A Periodically?

Sep 22, 2010

I want to use a script to renew my IP every 5 minutes. I have a static IP and it seems that when another person enter the same IP address as mine, my IP is stolen and is assigned to him.

I know that Cron is responsible for running a script at some time interval. How can I use that to renew my IP?

View 2 Replies View Related

OpenSUSE Network :: USB Disconnects Periodically

Sep 15, 2010

It's a bit unnerving.The monitor suddenly goes black, the keyboard resets, the mouse resets. And after about 2 - 3 seconds all is back to normal.My USB setup is a bit complicated (mostly because I could). A 7 port hub is connected to a USB port on the computer. Among other things, the 7 port hub is connected to a four port hub on the monitor (Viewsonic). The mouse is connected to the 4 port hub. The PS1 keyboard is connected to the PS1-to-USB convertor which is connected to the 4 port hub.

View 4 Replies View Related

Ubuntu :: Mouse Freezes For 1-3 Sec Periodically?

Jan 24, 2010

I have ubuntu 9.04 and once every 30 mins or so my mouse freezes up for 1-3 seconds. This generally does not bother me except when im playing games

View 2 Replies View Related

Hardware :: Why Does My Monitor Flashing Periodically

Dec 29, 2010

Why does my monitor flashing periodically?

I tried to change the Resolution and Refresh rate. But it does flashing yet. When I installed the system that flashing too. Period of about ten seconds

In windows xp dont have this situation.

My monitor is "HP vs17" Ubuntu version is 10.10 Desktop

View 2 Replies View Related

Debian Configuration :: Untar Periodically Using Crontab ?

Jan 17, 2010

how to untar a file name /opt/Backup/abc.tar.gz2 periodically with crontab in debian. My Script name is abc.sh and i write it as

crontab -e
*/2 * * * * /bin/sh/ /opt/Bachup/abc.sh
while my abc.sh file is as under
#!/bin/sh
tar -xvf /opt/Backup/abc.tar.gz2

But it did not give any result. When i run it as sh abc.sh. it works succefully. but not in the crontab.

View 4 Replies View Related

Debian Multimedia :: Xmodmap Periodically Resets

Jan 3, 2016

I have a custom .Xmodmap file to change the keyboard layout. The problem is that sometimes the keyboard layout changes back to the default. I have seen the lights on the keyboard blink at times, so I tried unplugging and reconnecting the keyboard and yes - that reset the layout. I can see keyboard removed/detected entries in the logs as well, so I guess my keyboard reconnects sometimes, I don't know why. However the solution from the post earlier (to rename the xmodmap file to ~/.Xmodmap) did not work. So is there another default filename I should use? Or do I have to enable xmodmap to run when a keyboard is plugged in somehow?

The only thing I can think of right now is to monitor /var/log/Xorg.0.log for "Adding input device USB Keyboard" and running xmodmap when that happens... but I'm really hoping for a better solution.If I can't fix the xmodmap problem, maybe I can fix the usb disconnects.I read something about power saving settings for usb. After some digging, I found that those settings are in /sys/bus/usb/devices/.../power/. However, disabling autosuspend for the hub did not seem to work (it was already disabled for the keyboard).

But I found something else in kern.log. Perhaps the keyboard disconnects has something to do with static electricity?

Code: Select all[ 7078.175830] usb 1-10-port3: disabled by hub (EMI?), re-enabling...
[ 7078.175888] usb 1-10.3: USB disconnect, device number 4
[ 7078.624349] usb 1-10.3: new full-speed USB device number 6 using xhci_hcd
[ 7078.729012] usb 1-10.3: New USB device found, idVendor=04d9, idProduct=0125
[ 7078.729014] usb 1-10.3: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 7078.729016] usb 1-10.3: Product: USB Keyboard

View 0 Replies View Related

OpenSUSE :: Automated Script To Run Zypper Dup Periodically?

Mar 14, 2010

I recently updated my girlfriends laptop (and my own) to KDE 4.4 (using the Factory repository). I am also using some additional repositories like PackMan.

I recently read on this forum, that the updater-applet is only updating from the main repositories (the ones set up after install). I would like to update from all updates periodically using "zypper dup".

I read somewhere else, that cronjobs are used to run scripts based on schedules. how I could run "zypper dup" with a cronjob and preferably under root, so I dont have to type the password every time?

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved