Friday 20 September 2013

Service modules_dep in Linux Enable or Disable

Service modules_dep in Linux Enable or Disable - Enable it
It is one-time bootup script, not a daemon. So it does not consume resources after bootup. You can browse its source code at /etc/init.d/modules_dep

It's a small script that fixes module.dep for iptables
Read More

Saslauthd Linux Service enable or disable

Saslauthd Linux Service disable or enable is depend on your postfix

saslauthd is a daemon process that handles plaintext authentication requests on behalf of the SASL library

Postfix for SMTP Authentication using SASL for this saslauthd necessary

so if you are running postfix then enable Saslauthd service otherwise disable Saslauthd service
Read More

Thursday 5 September 2013

Solution : DBus error org.gtk.Private.RemoteVolumeMonitor.Failed:An operation is already pending

If you get Unable to mount usb drives and getting DBus error org.gtk.Private.RemoteVolumeMonitor.Failed:An operation is already pending like below

Solution is Do as root

[root@sys ~]# cd /media/
[root@sys media]# ls -a
.  ..  04376381-139c-4953-bd94-8d9ae3a23790  .hal-mtab-lock  NAGESH J
remove .hal-mtab-lock
[root@sys media]# rm -rf .hal-mtab-lock 
[root@sys media]# 

Read More

Wednesday 4 September 2013

Which services should be disabled in Linux

To enhance performance you can disable some services in Linux system check below information to disable unimportant services

NetworkManager  0:off   1:off   2:on    3:on    4:on    5:on    6:off

You can do without NetworkManager, but I find it awfully handy for dealing with changing wifi on a laptop (which you say you're using). If you don't need it, though, no harm in turning this off.
acpid           0:off   1:off   2:on    3:on    4:on    5:on    6:off

This is probably what's making your power button work, and what makes the system suspend when you close the lid. You can live without it, but probably don't want to.
auditd          0:off   1:off   2:on    3:on    4:on    5:on    6:off

This is the userspace part of the Linux Auditing System, which is a more secure way of logging kernel-level events than syslog. Among other things, it records SELinux alerts. Strictly speaking, you don't need it.
avahi-daemon    0:off   1:off   2:off   3:on    4:on    5:on    6:off

This is for autodiscovery of services on a network — printers being a big example. It's not required.
cpuspeed        0:off   1:on    2:on    3:on    4:on    5:on    6:off

This will probably just start the right in-kernel CPU frequency scaling driver as an on-start operation, and not run anything. (And if it can't for whatever reason and runs the daemon, you probably want it.)
haldaemon       0:off   1:off   2:off   3:on    4:on    5:on    6:off

This runs hald, which is in the process of being obsoleted but which is, as of Fedora 14, still used for a few things. Best to leave it on for now
ip6tables       0:off   1:off   2:on    3:on    4:on    5:on    6:off
iptables        0:off   1:off   2:on    3:on    4:on    5:on    6:off

This sets up the kernel-level packet filter and doesn't leave any user-space daemon running. Leave it on.
irqbalance      0:off   1:off   2:off   3:on    4:on    5:on    6:off

This is for multi-cpu/multi-core systems. If you just have one, it will exit harmlessly after a few seconds. You can gain a few milliseconds of startup time by chkconfiging it off.
lvm2-monitor    0:off   1:on    2:on    3:on    4:on    5:on    6:off
mdmonitor       0:off   1:off   2:on    3:on    4:on    5:on    6:off

If you're sure you're not using lvm (note that you can use ext4 on top of lvm!), you can turn off lvm2-monitor, and the same goes for md software RAID and mdmonitor.
messagebus      0:off   1:off   2:on    3:on    4:on    5:on    6:off

This is the d-bus system message bus. If you're using a modern desktop environment, you'll basically need this. If you're not, you can get away without it, but will probably have to hack things up. (I'm pretty sure gdm needs it, for example.)
netfs           0:off   1:off   2:off   3:on    4:on    5:on    6:off

This doesn't run any daemons, but starts any network filesystems in /etc/fstab/. It's harmless either way.
nfslock         0:off   1:off   2:off   3:on    4:on    5:on    6:off
rpcbind         0:off   1:off   2:on    3:on    4:on    5:on    6:off
rpcgssd         0:off   1:off   2:off   3:on    4:on    5:on    6:off
rpcidmapd       0:off   1:off   2:off   3:on    4:on    5:on    6:off

If you're not using NFS, NIS, or some other RPC-based service, all of these can go off.
rsyslog         0:off   1:off   2:on    3:on    4:on    5:on    6:off

You technically don't need to log anything, but you probably really want to. You could consider tuning it to work in a more lightweight way on your laptop.
smolt           0:off   1:off   2:on    3:on    4:on    5:on    6:off

This sends anonymized usage statistics back to the Fedora Project. It doesn't run anything, but there's a cron file in /etc/cron.d/smolt which checks the state here. If you don't want it, I suggest removing the entire smolt package. (But consider leaving it — the data is useful to the people putting the distro together for you, and it's only once a month.)
udev-post       0:off   1:on    2:on    3:on    4:on    5:on    6:off

Another run-and-done startup script, this one needed to keep rules generated during the boot process around once the system is up. Leave it on.

Above information taken from 

Read More
Here We Write The Problems we face at different situations and Solutions to those problems.