Ubuntu Networking :: Avahi-daemon Service File Permissions?
Jun 19, 2010
In a previous thread I had detailed an issue I was having with avahi not firing up properly at startup.As a bit of background: the services available on the server aren't advertising until I restart the avahi-daemon manually after startup - The syslog shows the daemon starting on boot, but it never seems to access the service file.I was wondering if it is possible that this may be a file permission problem?
View 1 Replies
ADVERTISEMENT
Jan 25, 2010
Since I've updated to 9.10 my avahi-daemon sometimes won't start at boot.I've to "restart" it manually.I reinstalled it without success.Has anyone here the same problem? Or a useful solution?
View 1 Replies
View Related
May 13, 2010
I have recently installed netatalk and avahi-daemon on my lucid server but, much to my chagrin, I have to run
Code:
restart avahi-daemon every time I boot to get the service to advertise.
both avahi-daemon and netatalk have been added to the appropriate runlevels.
View 9 Replies
View Related
Oct 11, 2010
Quote:
Originally Posted by uselpa Why do you absolutely want to remove it? There is no good reason for Avahi-daemon to be automatically installed on a server that is setup up with a static ip address. Also, I would like to someone to explain the loqic in having such a service on a server running an Oracle Database.
All of the servers I manage run a bare minimum footprint. Unnecessary services waste server resources and they are potential security risks if not updated.This is why I want to "absolutely" remove the Avahi-daemon.
Dave Walden
Linux Systems Administrator
CARFAX, INC.
View 3 Replies
View Related
Jun 6, 2010
After upgrading from scratch to Ubuntu server 10.04 (previously 9.10), I noticed that my server was cast out of the Cheers bar , i.e., nobody knows its name anymore! (I have several Linux boxes on my home network).
Is there a new direction on how local networks are supposed to be configured? a new protocol? I know my problem is solved by simply installing avahi-daemon, but I wonder how other people are dealing with this issue.
View 5 Replies
View Related
Apr 15, 2010
i am running a sabayon linux system 5.0 when i attempt to log in onto my user account it fades back to log in page. i attempted to log in on the console and it still wont do so, but the avahi daemon does have two exclamation points in red which signifies to my mind an issue with avahi.
i log in as root and the computer opens...i go to system and it says the avahi daemon is not activating..my question... do i need the avahi daemon or is it redundant?would removing avahi damage the over all operating of my computer or should i have a geek reconfigure it
View 2 Replies
View Related
Mar 24, 2011
I am tring to stop avahi from starting and running at all.I use kill PID and killall avahi-daemon and it will not go away, it comes back with a new PID. Does anyone know a way of stopping it?
View 2 Replies
View Related
Dec 10, 2010
I was wondering why avahi runs under multiple processes. So far it running on tow exposed network ports.
Code:
oliver-desktop:~$ pidof avahi-daemon
1158 1157
Code:
@oliver-desktop:~$ sudo lsof | grep 1158
[Code].....
View 1 Replies
View Related
Nov 15, 2015
I've been using linux for a few months. Recently I have installed debian jessie and I'm learning how to secure my laptop. I have installed
Code: Select allapt-get install sysv-rc-conf
to shutdown few services that I believe I don't need at boot which I found very useful. Among others I have deselected avahi-daemon, cups, cups-browsed, etc. The problem is that, after rebooting, when running:
Code: Select allnetstat -lntup
I still find 'avahi-daemon: r' and 'cupsd' running. I have tried
Code: Select allsystemctl stop cups
systemctl disable cups
systemctl stop avahi-daemon
systemctl disable avahi-daemon
But after rebooting these services are aklways running. I do not know whta to do.
Output of netstat -lntup
Code: Select all[*]Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 250/cupsd
tcp6 0 0 ::1:631 :::* LISTEN 250/cupsd
udp 0 0 0.0.0.0:16409 0.0.0.0:* 526/dhclient
udp 0 0 0.0.0.0:68 0.0.0.0:* 526/dhclient
[Code] ....
I'm aware that cups seems to work just for my printer but I do not understand why I can't just disable it.
View 5 Replies
View Related
May 6, 2011
my Sabayon desktop won't boot into runlevel 5 anymore:
Code:
ERROR: avahi-daemon failed to start
Also can't start avahi manually, verbose mode gives no extra information, debug says: (...)
Code:
* Starting avahi-daemon ...
+ /usr/sbin/avahi-daemon -D
+ eend 1
+ exit 1
* ERROR: avahi-daemon failed to start
(sic)
I suspect this to be related to the hplip drivers I installed before the last reboot, all I did was select the package in sulfur, and as it worked right out of the box, I changed nothing else.
View 6 Replies
View Related
Mar 28, 2010
As mentioned in the title something is terribly wrong with my system. After some updates in the last 2 days Plasma keeps on crashing like a jackhammer. Kwin reports bugs and siece to work. That said I have no borders of any window I have opened and no Kickstart menu. (I am using KDE 4.4.1.) On top of it all when I rebooted the system it just hangs when it is supposed to start X and KDM. When I switch to verbose boot I see that Avahi Daemon has a "Failed" sign. I have tried with older kernels, but that did not solve anything. To be honest I am clueless on how to fix Avahi. The easiest way is to reinstall Fedora, but I would have stuck with Windows for that and where is the learning opportunity in that?
View 1 Replies
View Related
Apr 23, 2010
recently i notice this warning in my /var/log/messages avahi-daemon[4335]: WARNING: No NSS support for mDNS detected, consider installing nss-mdns! but i can't install it yum install nss-mdns No package nss-mdns available.
View 6 Replies
View Related
May 2, 2010
I use mt-daapd music server to stream music to a couple of network music players (which use UPnP protocols). Recently (last month or so) I have found that on restarting my ubuntu system I need to manually restart the avahi-daemon in order for the music players to be able to 'see' the music server. I think avahi-damon is running when ubuntu first starts up. The output of a ps aux shows:
[Code]...
I'd like to understand why I need to restart the avahi-daemon and either solve this or learn a way to automate restarting it on system boot up so I don't have to do it manually each time. My system is ubuntu 9.10 64 bit and the version of avahi-daemon is 0.6.25
View 2 Replies
View Related
Jun 16, 2010
I'd like to create a couple of upstart scripts for some network service daemons (eg. usenet downloading service, torrent service, media management services, etc).Basically they should start after the network service is started and the system is running (runlevel 2?) but I'm just wondering if anybody has an example script or more specific start/stop conditions that I can use.
View 1 Replies
View Related
Jul 7, 2010
I have a java program which I need to run as a service or daemon. What is the most stable method to do it? It will be heavy processing socket programming which will be continously receiving data?
View 4 Replies
View Related
Jun 14, 2011
I have installed version of ntop 4.0.3 by guide.But I can't start ntop daemon/service. I didn't find a service file for starting.During the installation there was no problem only want to RRDTool so I installed that. Now there is no necessary package required.
View 1 Replies
View Related
Jun 22, 2011
I have created a script named ssh_inotify.sh to check /var/log/auth.log log file for newly started ssh session and display a question message box. This script uses inotifywait to monitor this above log file for modify file event and zenity to create question message boxes.Now i have created a startup service config file named ssh_inotify under /etc/init.d folder and placed the script ssh_inotify.sh under /usr/sbin and chmod this script to be executable.
The service config file ssh_inotify uses start-stop-daemon to run this script as background process.Now theproblem is that when i start this service using sudo service ssh_inotify start, the service is started, I can confirm this using ps -A | grep ssh_inotify also i can check for the PID associated with it under /var/run/ssh_inotify.pid. Now when i ssh to my machine, i do not get the question message box, I am writing in log file and in that i can see that the message under cancel button option for question message box is getting printed.This script runs perfectly when run directly or using start-stop-daemon command directly (exact command as typed in service config file above) on terminal, but not when this same command is executed using service file.Can someone please suggest me the solution and reason for such behavior when same command executed under different mode (using service or directly from terminal).If you guys require code, i can attach the files (currently i am in office so don't have access to these files.)
View 1 Replies
View Related
Mar 8, 2010
Am not sure of the best way to go about writing a script. All I need at the moment is to start a java http server program at startup.How should I write languagetool.sh so as to be able to stop the script execution?
View 10 Replies
View Related
Jul 25, 2010
I have a few ubuntu machines in my house, 1 mythtv backend server with other services as well, 2 mythbuntu frontends boxes hooked up to tv's etc. I wanted to push the audio from my laptop out over pulseaudio to the machine connected to the AV equipment.
I could not see any other pulseaudio sinks in padevchooser... this lead me down the road to investigating avahi.
When I run avahi-browse on my laptop (hydrogen) it only returns the services published from itself:
Code:
$ avahi-browse -ta
+ wlan0 IPv4 byron's remote desktop on hydrogen VNC Remote Access local
+ wlan0 IPv4 hydrogen [00:1b:77:71:97:76] Workstation
[Code]....
My laptop has vmware on it, and I've changed the vmnet intefaces to not support multicast so avahi ignores them. but I'm still at a loss to why my laptop can't see the other machines on my network with avahi (mdns).
View 1 Replies
View Related
Sep 6, 2010
why my new Ubuntu 10.04 computer won't automatically advertise afp thru avahi to the network? This is a new install of Ubuntu 10.04, I downloaded and installed newest version of Netatalk, and the Avahi daemon. Both installed with no issues. (I followed instructions from articles on here) I can manually login to Ubuntu afp share from my iMac, by going to "Go to Server" and typing in the ip 10.0.1.3 and putting in the Ubuntu username and password. I just can't get it to advertise or broadcast itself to the network like it is supposed to using netatalk and avahi. I've followed all of the tutorials I can find on this, but nothing works. Even if I issue the command to restart avahi daemon, Ubuntu still isn't seen in the iMac's finder window? Because I can manually login to it, I am assuming that netatalk is working properly. I've even tried to issue the command to restart netatalk first, then restart avahi, but still nothing?
View 2 Replies
View Related
May 5, 2011
I've got problem with Avahi on my laptop. It can see the other machines and services on the LAN but not it's own local services and I have no idea why. The laptop (hostname: forseti) sports Ubuntu 10.10, installed aavahi-daemon, avahi-dnsconfd and libapache2-mod-dnssd. Firewall is disabled. Other hosts on the LAN are: magni (openSuSE 11.4 with lots of services published and visible from forseti) and freya (Ubuntu 10.10 with gnome-user-share up & running). Forseti can see the other hosts and their services but not itself. The other hosts can't see forseti. Checked both with nautilus and CLI's avahi-browse.
View 1 Replies
View Related
Jan 12, 2011
I can not receive file in yahoo service with pidgin !
View 3 Replies
View Related
May 5, 2010
I got a new X201 which is running Ubuntu 10.04. While at home, everything is fine, at work, I encounter some issues with wireless. the signal cuts in and out repeatedly.Here's the output of ping. I set it to ping a server every 90 seconds, 10 times. So this is a snapshot of 15 minutes of network activity...
Code:
PING (REDACTED) bytes of data.
64 bytes from (REDACTED): icmp_seq=1 ttl=252 time=1.50 ms
64 bytes from (REDACTED): icmp_seq=2 ttl=252 time=2.13 ms
64 bytes from (REDACTED): icmp_seq=3 ttl=252 time=1.38 ms
[code]....
Also I tried this (from a 2 year old thread which was most relevant solution I could find):
Code:
Changing AVAHI_DAEMON_DETECT_LOCAL=1 to AVAHI_DAEMON_DETECT_LOCAL=0 in /etc/default/avahi-daemon has got rid of the irritating pop-up. Basically, every 5 minutes or so, for a solid 60 seconds or so I get no signal. I've tried updating the kernel, and doing apt-get remove avant-daemon, but still have problems.
View 1 Replies
View Related
Nov 26, 2010
I am wondering if it is possible to use avahi to resolve hostnames across a gateway. With gateway I mean a linux box with ip_forward'ing enabled to pass traffic between interfaces. The gateway connects two networks with all hosts running Ubuntu and specifically avahi-daemon. The gateway is not running avahi and I am not able to install it there. The firewall configuration on the gateway is not blocking any traffic between the networks. I am able to send UDP packets from a host on one network to a host on the other.
When I run tcpdump on a host and try to ping that host.local from a machine on the other network I see no traffic. This means that the gateway is not passing the multicast traffic along. Is there any special setup required on the gateway to allow this?
View 2 Replies
View Related
Mar 9, 2011
I am sharing some folders from my Ubuntu machine, using Netatalk and Avahi, over my network.I access these folders from my Mac using the AFP protocol.When all is well, my Ubuntu folders show up in Finder on the Mac and I can connect to them.But at random intervals, the Ubuntu folders will disappear. Sometimes they reappear a short while later.At other times, they wont appear until I go to my Ubuntu machine, and re-save (even if i don't change anything) the file:/etc/avahi/services/afpd.service.
View 3 Replies
View Related
Jul 24, 2011
I have a laptop with Ubuntu 11.04. Failed to connect my home wireless network, which is composed of a modem and a Netgear router.
ifconfig showing:
wlan0 Link encap:Ethernet HWaddr 00:24:d6:07:2b:a2
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:30238 errors:0 dropped:0 overruns:0 frame:0
TX packets:24005 errors:0 dropped:0 overruns:0 carrier:0
[Code]....
I do not quite understand how the virtual interface wlan0:avahi appeared. My guess was, my request "sudo dhclient wlan0" failed to get a valid ip, although I did not get any error message from running that command. I executed "sudo dhclient wlan0" again, but still no error message or network connection.
Later today, I tried to connect to a public wireless network. Still got the same error. But when I reboot my machine, no such problems.
View 5 Replies
View Related
Oct 16, 2010
Finally I managed to install my printer/scanner drivers.The last thing I need to do is to add the following two lines to 40-libsane.rules (which is a read only file):# Brother scanners ATTRS{idVendor}=="04f9", ENV{libsane_matched}="yes".How can I change permissions for this file or add these lines without changing permissions?
View 2 Replies
View Related
May 8, 2011
i want to run a stable service for downloading file in fedora 14 in a network with 800 users. i want to whole of users can connect to server and download my files.
View 8 Replies
View Related
Nov 23, 2010
Two machines:
fedora.local = F14 default
mingisapsycho.local = Mac OS X 10.6.4
I want to be able to ssh/scp between these two machines using:
ssh -l login fedora.local
and
ssh -l login mingisapsycho.local
rather than using IP addresses. Neither of these works, from either of the two machines. This does work between Mac OS machines. And I can ssh if I use IPs. So it seems that by default Avahi is not configured even though it is running? I really don't understand. By "does not work" I mean I get on both machines: ssh: Could not resolve hostname blah.local: Name or service not known
View 6 Replies
View Related
Jul 8, 2011
F15 current
avahi-daemon installed
nss-mdns installed
firewall totally disabled (for now while testing)
connected to network wirelessly
For perhaps 5 minutes I can either ssh into or from the F15 computer using:
ssh chris@macbook2.local
OR
ssh chris@f15.local
Works fine, no problems. And then in about five minutes it work resolve in either direction: ssh: Could not resolve hostname f15.local: nodename nor servname provided, or not known
I can still ssh in using an IP address. So I do:
[chris@f15 ~]$ service avahi-daemon status
avahi-daemon.service - Avahi mDNS/DNS-SD Stack
Loaded: loaded (/lib/systemd/system/avahi-daemon.service)
[code]....
*sigh* No that's not it. I just found no mDNS service in or out of the computer 3 minutes 26 seconds after restarting it, no additional items in messages.
View 3 Replies
View Related