Debian Configuration :: Can't Shutdown Cups And Avahi-daemon

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


ADVERTISEMENT

Debian :: Cups Not Starting With The Server / Getting Error Unable To Read Configuration File '/etc/cups/cupsd.conf' - Exiting?

Feb 24, 2011

cups does not start with the server. When I try to start from the terminal I get the error message

cupsd: Unable to read configuration file '/etc/cups/cupsd.conf' - exiting!
cupsd: Child exited with status 1!

The log files show nothing. cupsd.conf exists. It is user - root and group - root with permissions set at 0644.

My interpretation of this is that the program is not launching from either boot or terminal for a fundamental reason. I do not quite see what that reason is .

View 2 Replies View Related

General :: Avahi Daemon Failure

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

Ubuntu :: No Avahi-daemon On Server Lucid?

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

Software :: Avahi-daemon Multiple Procs?

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

Ubuntu Networking :: Avahi-daemon Won't Start Automatically Sometimes?

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

General :: Can't Reach Runlevel 5 - Avahi-daemon Fails?

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

Ubuntu :: How To Stop Avahi-daemon From Running And Starting Up?

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

Fedora :: Plasma Has Gone Crazy And Avahi Daemon Doesn't Work On F12?

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

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 View Related

Ubuntu Networking :: Netatalk And Avahi-daemon Problems - Services Not Advertising?

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

Server :: Avahi-daemon[4335]: WARNING: No NSS Support For MDNS Detected

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

Ubuntu :: Manually Restart The Avahi-daemon In Order For The Music Players Unable To 'see' The Music Server?

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

Networking :: Want To "absolutely" Remove The Avahi-daemon

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

Debian Configuration :: CUPS Configuration In Mac

Nov 3, 2010

I repair and network Canon copiers, and we have a couple of schools here in the US that have added some Mac computers (OS 10.6). The copiers they're running (Canon ImageRunner 5000) have stopped print driver support as of Mac OS 10.5, so I'm attempting to use CUPS as a workaround. Printing isn't an issue normally, but they're using the Canon "Job Accounting" feature to track usage, and that's where my problem lies. This is not a problem for any Windows OS machines, as drivers are available all the way through Windows 7.I have Linux Mint installed on my laptop, and am trying to configure one of the copiers here in the office with CUPS before I hit the field and do it for real, and had no problem installing the copier on my computer. Printing works great, however when I attempt to query printer for default options I get this error.

"Unsupported format 'application/vnd.cups-command'!" Does anyone have an idea of how to get past this point so I can save my company a lot of money by not having to replace machines? Please be aware I'm just a novice using Linux, so any steps to take will have to be spelled out. I can follow directions well, so feel free to post a walkthrough and I'll make the changes right away.

View 3 Replies View Related

Debian Configuration :: Nmbd Daemon Dies After Boot?

Mar 7, 2010

I am running a recently built Debian 'Lenny' system 5.0.4.I used the gui install and asked for desktop/file server/ I created a raid 1 systemsing two similar drives.Finally I set up some samba shares to use from my (wife's) windows PC. I wanted to use PC names rather than IP adresses to access the shares so activated wins.My Debian system, called arcturus, did not appear in windows network places. After much trial and error and googling found that the nmbd service had stopped.'/etc/init.d/samba restart' reported nmbd not present, stopped smbd and then restarted both. My networking then all came to life.There is a Ubuntu forum discussion around this subject and the consensus seems that the samba daemons are starting before the network is properly established. I have installed a work-around by putting the restart line in /etc/rc.local.But I'm concerned that I have some kind of configuration error.The following is a section of my log.nmbd after setting logging to level 3:-

Initialising global parameters
[2010/03/07 14:22:56, 3] param/params.c:pm_process(569)
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"

[code]....

View 5 Replies View Related

Debian Configuration :: CUPS Not Working In Squeeze?

Jul 6, 2010

I don't print much, but tonight needed to print and found that none of the printers were listed in Okular or Openoffice, then when I tried to open Cups Administration http://localhost:631/ I got the error message Connection to Server Refused

View 4 Replies View Related

General :: Can't Disable Cups Daemon On Ubuntu 10.04

Jun 9, 2011

Fresh install of Ubuntu 10.04 x86_64.

I've tried to disable cups service from sysvinit scripts, but why cups is still starting with the computer?

Code:
root@computer:/home/user# update-rc.d cups disable
update-rc.d: warning: cups start runlevel arguments (none) do not match LSB Default-Start values (2 3 4 5)

[Code].....

View 5 Replies View Related

Debian Configuration :: CUPS PDF - Strange Characters In Text

Apr 18, 2016

I can't find the reason cups pdf driver do this. I created my default printer as is told:

CUPS PDF--> Generic Printer--> Generic CUPS-PDF Printer

The pdf created shows well, but when i drag to select and copy text, it copies some strange characters as following:

✁✂✂✄
☎✆✝✞✟✟✝✆✠✡☛ ☞✌☛✍✡✎ ✏ ☛✄✑✄ ✎✞✟✄✂✒✞✓ ✔✁✓✁ ✕✖✞✑✗✓✞ ✍✁✂✂✄
☎✆✝✞✟✟✝✆✜✁ ✢✖✟✝✖✛✁ ✘✞✂ ✘✖✣✞✓✄ ✏ ✤✁✛✥ ✜✁✦✟✄✣☎✘✄✛
✁✂✂✄
☎✆✝✞✟✟✝✆✕✞✛✓✞✝✄✟ ✘✞ ✙✣✁ ✑✞✣✝✞ ✖✣✝✞✂✖✧✞✣✝✞★ ✍✞✛✣✖✛✁✂✂✄

View 3 Replies View Related

Debian Configuration :: Cups Not Starting In Squeeze For Some Reason?

Jan 19, 2011

I use Sysv-rc-conf to turn on/off services. I initially turned off cups (I'm pretty sure it was on by default) using this method, but now I have turned it back on again, it won't start at boot. I have to start it manually each session. I've probably missed something but here goes anyway,

spoovy@dandelion:/etc/rc5.d$ pwd
/etc/rc5.d
spoovy@dandelion:/etc/rc5.d$ ll

[code]....

View 1 Replies View Related

Debian Configuration :: Squeeze Cups 1.4.4 Add Network Printer?

Feb 8, 2011

I am unable to figure out how to set up a net work printer with new squeeze installation. I have used cups ver 1.3.8 on lenny and have never had any difficulty, this new version 1.4.4 I'm unable to gain any ground with.I did a purge and re-install with no luck?

View 10 Replies View Related

Debian Configuration :: CUPS Raw Print Queues Not Working?

Apr 16, 2011

I am trying to set up a print server here on a Squeeze system using the stock debian CUPS package. It seems that since Apple has bought this package, it has caused me nothing but grief. I have set up two different USB printers with raw print queues, and every time I send a print job to either of them, the job disappears into thin air, with no error output. In fact, when I look at the queue, it says the job was completed successfully. I look at the logs, and there is no output indicating any issues. Just for kicks, I reconfigured one of the printers to use a linux driver, and it printed just fine (a little slow, but fine). I set it back to raw, and the jobs disappear again into oblivion.

I have done this many times in the past, and never had any issues -- I even had this very same printer set up that way about a year ago, and it worked great. The only noteworthy thing that seems to have changed is that there are no longer any files called "mime.types" and "mime.convs". It seems they have been replaced by "raw.types" and "raw.convs". The contents of these two files are as follows:

raw.types: application/octet-stream

View 9 Replies View Related

Debian Configuration :: CUPS And Multiple Printer IP Numbers?

May 29, 2011

Our Canon MX340 printer is WiFi connected using an IP address. This works well except that whenever the printer is turned off (for any reason) it chooses another IP next time it is turned on. As near as I can tell, it has two IP numbers: 192.168.1.64 and 192.168.1.65 Is it possible to enter both in the CUPS configuration so that CUPS will find the printer whichever number it is using?

View 1 Replies View Related

Debian Configuration :: Sending Commands To The Printer Besides The CUPS System?

Nov 30, 2010

reason my Debian 5 system will not stop printing blank pages. I've got the CUPS system installed, and I've gone to the control page and canceled everything. I've also turned the printer off and restarted it several times. Every time it comes back online it starts printing blank pages again. My paper does not need to be heat treated. It's fine as it is. So, how to I stop this waste of electricity and printer MTBF? What else might be sending commands to the printer besides the CUPS system?

View 2 Replies View Related

Debian Configuration :: Epson LX400 Dot Matrix With CUPS And No Lsusb?

Jun 21, 2011

trying to configure an old Epson LX 400 dot matrix printer with cups. I really need this printer to print vauchers. System is Debian SID, latest cups 1.4.3 cups was recently change to reject lsusb printing and now uses libusb. lsusb sees printer, but does not name it:

$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 1a40:0201 TERMINUS TECHNOLOGY INC.

[code]....

View 2 Replies View Related

Debian Configuration :: Setting Up A CUPS/Samba Shared Network Printer?

Aug 19, 2010

how to get clients connecting to an office printer. during a migration from windows server to debian/samba.

We have:

5 windows XP machines one Windows Server 2003 machine, PDC of the old domain One debian Samba PDC (of TEST domain)/print server (with CUPS installeD) running in a virtual machine hosted by the windows server One Toshiba eStudio 3511 printer

Using the CUPS control panel, I've been able to autodetect and add the printer, and it appears as an available share in SWAT for samba. However, the driver isn't perfect. CUPS could only supply drivers for the 3510c, not the 3511.

However, clients on the TEST domain are unable to access it. Doing so gives an error about a local policy preventing a connection to the print queue. I've tried googling this error and the fix that comes up in every result about changing a point and print policy setting, does not work.

however, I've been able to work around the issue. by first logging in as local administrator, navigating to the domain server, then inputting the domain root account credentials at the prompt. That allows me to attempt to connect to printers, but with a different error

"The server for the printer does not have the correct driver installed...."

I very strongly suspect that the 3510 driver actually will work, but it's just not being shared properly. The printer driver share folder is /var/lib/samba/printers, and that directory contains only a few empty subfolders. CUPS did not place the driver there as I would expect, and that is where clients are looking for it.

The thing is, I have no idea where CUPS DID put the driver.

On the old domain, the printer uses drivers for es4511, and looking on the toshiba site, this seems to be what they provide. The Toshiba Site provides a huge variety of drivers, including several windows ones, a universal driver, and a CUPS PPD. Cups asks for an optional PPD during install and I tried supplying that. It said installed successfully, but didn't change anything.

I've tried pasting the windows drivers into /var/lib/samba/printers/W32X86 too, and likewise with other drivers from toshiba's site. but this doesn't change anything either, so I'm at a bit of a loss.

how to install/setup drivers on a samba PDC, for windows machines?

Also relevant, my smb.conf:
anyone see any possible causes of problems?
# Samba config file created using SWAT
# from UNKNOWN ()
# Date: 2010/08/19 13:03:07

[code]....

View 12 Replies View Related

Debian Configuration :: HOW To Wipe RAM At Shutdown

Aug 19, 2011

I search many hours on the web for wipe my ram in a secure way and i find nothing good/secure/work exept URL... and i think it's the best solution for wipe RAM at shutdown!Im a newbie user and i want to implement this solution on my debian system at shutdown, i think its very easy because TAILS is based on debian! Does someone can put the procedures for get that on a debian box please?

View 8 Replies View Related

Debian Configuration :: Erase Memory At Shutdown

Jul 10, 2010

Without being paranoiac, it seems possible to keep the memory content for some minutes after shutdown and dump it accessing directly to the hardware.So how to fill the memory with constant or random pattern before halting? Is there a kernel option that I can give at boot time , or an other tool I can install from Debian/Ubuntu to achieve this ?

View 14 Replies View Related

Debian Configuration :: Run A Script On A Low Battery Shutdown?

Jul 13, 2011

I have looked all over the place but I can't find if this is possible. I am running Debian 6 as a media server (SMB) and it is tied to a UPS, I used gnome power management to set up a low battery shutdown but this UPS also is powering another embedded computer. So, I was wondering if it was possible to have a script run (to log in and shut down the embedded system) before gnome power management shuts down the Debian server. I know I could probably get it to run on every shutdown, but I am looking for low power only.

View 1 Replies View Related

Debian Configuration :: When Shutdown Screen Always Stays On And Then It Hangs

Dec 12, 2015

I'm using Debian Sid xfce on my lenovo laptop. When i try to shutdown, the screen always stays on (the fans turn off). It says "reached target shutdown", then this happens: [URL] .... and then it hangs. I have to press the power button to shut it down. (I have the same problem with reboot). I had the same issues with Jessie.

Things i tried so far and didn't work:

Code: Select allshutdown -h now
shutdown -p now
halt
poweroff
systemctl poweroff
init 0

I edited /etc/default/grub and added the following options at "GRUB_CMDLINE_LINUX_DEFAULT":

acpi=force, acpi=off*, acpi=noirq

*acpi=off: shutdown (not reboot) worked a few times but i didn't have wifi and power manager didn't seem to work

none of them worked..

I have no energy or wake up options at my BIOS.

I found out that i can normally reboot with the Alt + sysrq + REISUB key combination.

View 5 Replies View Related







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