General :: Automatically Disable Some DAEMONS In /etc/rc.conf?

Aug 25, 2010

trying to automatically disable some DAEMONS in /etc/rc.conf. This requires inserting ecxlamation signs itno the file. The example command

Code:
echo Hi?|sed 's/?/!/'
returns "unterminated `s' command".
but

Code:
echo netfs|sed 's/netfs/!netfs/'
returns !netfs as expected.

Where does the difference come from?

View 4 Replies


ADVERTISEMENT

General :: Reslove.conf Changes Automatically ?

Jan 12, 2011

I've a static ip configuration in my eth0 ,and i've added my nameserver in resolve.conf,but every time after the service network restart my resolve.conf changes to default and at the reboot time i'm not getting my ip assigned automatically

Code:

After the restart my eth0 changes to

Code:

I'm using fc9 and my machine is a VPN connected so the ip has to assign automatically of every boot.

View 8 Replies View Related

General :: Disable .rhosts Support In /etc/pam.conf?

Jan 7, 2010

cd /etcsed e s/^.*pam_rhosts_auth/#&/ < /etc/pam.conf >pam.conf.newmv pam.conf.new pam.confpkgchk -f -n -p /etc/pam.confWhat does the "sed /^.*pam_rhosts_auth/" command actually eans?

View 6 Replies View Related

OpenSUSE :: Disable TV-Out Without Xorg.conf?

Mar 31, 2010

I am running Crossover Office on a laptop on OpenSuSE 11.2 with a fair bit of success (Outlook is still twitchy related apparently to the http stack). But whenever I do disk I/O to a windows app and I have a second monitor plugged in it flashes to black.

In prior OpenSuSE versions I used to be able to stop this by adding entries to disable the TV output in xorg.conf but now it appears that there is no xorg.conf in use. How do I disable this in the post-sax2 era?

Dell Lattitude E6500 4Gb x64_86

View 1 Replies View Related

General :: Filtering Daemons List?

Feb 10, 2011

How do i filter the daemoms list for just 1 letter and then turn off certain run levels for that daemon?

View 2 Replies View Related

Fedora :: Generate Grub.conf File Automatically

Nov 16, 2009

After a kernel upgrade on my linux, my grub.conf become empty. How can I auto generate grub.conf file? I don't want to do it from scratch.

View 3 Replies View Related

Debian :: When Editing My Xorg.conf - Add The Automatically Keyword ?

Oct 17, 2009

The owners manual of my monitor gives me the following informations:

When editing my xorg.conf, do I have to add the automatically 'keyword' ? (saw nothing about it in man xorg.conf or man nv)

View 6 Replies View Related

General :: Running Control Scripts As Daemons ?

Jun 6, 2011

I'm working with debian squeeze in an embedded system that have an ARMv5 on it.

I need to maintain active several programs, they always have to be running, and if they die, no matter what happend, they must be launched again.

Now I have one script for each program that basically do this:

Code:

And then I call all the script from etc/inittab whith respawn. That work fine for me, but I think that there is a better way to do this...

View 3 Replies View Related

General :: Back Out Of The Daemons Config Screen?

Feb 15, 2011

how to back out of the Network/Daemons configuration screen, so I can return to the install menu.I just tried the CTRL-O -> <CR> CTRL-X, it did not work.

View 2 Replies View Related

Fedora Networking :: Wvdial Does Not Automatically Update Resolv.conf In Fc 12

Mar 31, 2010

My resolv.conf states:

No nameservers found; Try putting DNS servers into your ifcfg files in /etc/sysconfig/network-scripts like so: [...]

After running wvdial. I suppose I have to create a file ifcfg-ppp0, but what does it have to contain in order to automatically grep the DNS servers from wvdial?

In Ubuntu, it works just fine, just that I don't have an Ubuntu installation anymore.

View 3 Replies View Related

General :: Give Web Application/daemons File Permissions?

Dec 4, 2010

I have a web application which calls scripts on the linux box it's deployed on. Currently, there are some file permission issues which prevent the scripts from running properly. How can I give my web application the needed permissions? I thought of creating a user 'group' , assigning my web app to that group, and changing the ownership of the script files to the new group. Unfortunately, I'm having trouble with the following: What user id does my web app have? If my web app does not have an user id,

View 3 Replies View Related

Hardware :: Disable Secondary Graphics Card On Xorg.conf?

Dec 27, 2010

I installed Ubuntu 10.04 on my sister's laptop (it's a Packard Bell; not sure about the model, but I could check); it has two graphics cards: the primary is an ATI Technologies Inc Mobility Radeon HD 3650, and the second one is an Intel Corporation Mobile 4 Series. After installation, installed the ATI driver through the restricted devices manager (xorg-driver-fglrx package, I think), and after a couple of reboots, the screen simply went black after boot and I couldn't do anything (I couldn't even switch to a virtual console, and booting on recovery mode was the same). So I booted with the ubuntu live flash drive from which I installed it, and deleted the xorg.conf file, and now I have a GUI, but it uses only the Intel card. I would like to use the ATI card if possible, but the problem is, if I use a xorg.conf file set up to use the fglrx driver, then I have a black screen, and if I use no xorg.conf file, it automatically switches to the Intel card. I also looked in the BIOS for an option to disable the Intel graphics card, but it doesn't have it (it's a very simple BIOS). So, since there seems to be a conflict between both cards, is there a way to tell xorg to ignore one graphics card? (the Intel one, in this case?).

P.S.: Here I attach two Xorg logs: Xorg.0.log is the last one (without using a xorg.conf file, and using the Intel card), and the Xorg.1.log file is the one of my previous attempts at using the ATI card.

I forgot, here is the outpput of lspci:

Code:
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)

[Code]....

View 7 Replies View Related

General :: Debian Lenny Won't Startup Koha Daemons At Boot

Oct 11, 2009

I have installed Koha on Debian Lenny. It does work well, but I have to manually start the koha-zebra-ctl.sh by entering /usr/share/koha/bin/koha-zebra-ctl.sh start The is, however, that this starts at boot from /etc/init.d/koha-zebra-daemon. Like /etc/init.d/koha-zebra-daemon start (does not work now) In the koha-zebra-daemon file I have:

#!/bin/sh
# Quick start-stop-daemon example, derived from Debian /etc/init.d/ssh
set -e
# Must be a valid filename

[code]....

I have made a symbolic link;

ln -s /usr/share/koha/bin/koha-zebra-ctl.sh /etc/init.d/koha-zebra-daemon

I have tried checking whether the symbolic link exists with readlink, but this never seems to return anything anywhere.

View 6 Replies View Related

General :: Backup Daemons Or Mdadm RAID Across Internal And External HDDs?

Aug 15, 2010

I'm building a new desktop computer, on which I plan to install Debian Squeeze. I'll have a 1 TB SATA hard drive in the system. I'm also considering using two 500 GB external USB drives, but I'm debating about how I want to use them. Running them all separately for 2 TB of space could be a nightmare, with three potential points of failure, so I was thinking of using the two external drives as a backup system instead.

I'm considering linking the two external drives in a RAID 0 array, then linking that array and the internal drive in a RAID 1 array. I would use mdadm software RAID for all of this so I could use individual partitions in the arrays, avoid hardware dependency, and have greater software control. So now is this feasible to do (having a partial RAID 0+1 setup)? Moreover, what kind of performance could I expect from using potentially slow external drives (one of which I know has a very long spin-up time after idle periods) in a mirroring setup with the internal drive?Would I be far better off using a filesystem backup daemon instead?

EDIT:After some more research and brainstorming, I've decided I might just end up using rsync+cron, lsyncd, or DRBD (assuming it can easily make backups locally). I'd probably have to link up the external drives in RAID 0 (or use some filesystem link trickery). But I suppose such a setup would offer greater control, flexibility in disk capacities (the full system isn't so strictly limited to the capacity of the smallest member of the array), and granularity than RAID 0+1 would.I'm still open to thoughts on the mdadm RAID 0+1 solution, but does anyone have any advice on choosing backup software? For some background on my needs, I'll be using this computer as both an everyday desktop and a personal LAMP server (MySQL database files would be included in the backups).

View 6 Replies View Related

Ubuntu :: Automatically Disable Wireless When Connected With A Wire?

Jan 10, 2011

Does anyone know how is it possible to achieve this?

That once an ethernet cable is connected the wireless will be disabled and once the ethernet is disconnecter the wireless will be reconnected.

Using Ubuntu Maverick 64-bit.

View 2 Replies View Related

Ubuntu :: Automatically Enable Or Disable Spellchecking In Vim Depending On Filetype?

Jul 11, 2010

Is there a way to automatically enable or disable spellchecking in vim depending on the filetype? I often work with tex files (with lots of text) where the spellchecking is useful, and scripts and conf files where spellchecking often marks variables and functions (which are often in red or similar colour), making them unreadable (red text on red background).

View 3 Replies View Related

Ubuntu Servers :: Disable Apache 2 Ngnix Server Will Serve Files In / Var / Www Automatically

Sep 6, 2010

So if I disable apache 2 my ngnix server will serve the files in /var/www automatically.

View 1 Replies View Related

General :: Slackware 13 Automatically Lock - Ktorrent Start Automatically?

Jan 25, 2010

what to do for lock automatically slackware 13 if not used for n minutes ?What can i do to start automatically the ktorrent (a bittorrent program for linux) on system starts on slackware 13 ?

View 2 Replies View Related

General :: Disable Blank Cd Autostart - Disable The Window And The Icon From The Desktop?

Jan 24, 2011

I have Ubuntu 10.04 with Gnome. Whenever I put in a blank CD/DVD an icon on the desktop appears named "Blank CD/DVD" and a window appears asking me what I want to do with it. How do I disable the window and the icon from the desktop?

View 2 Replies View Related

Ubuntu :: Where To Control (REAL) Daemons KDE?

Jan 30, 2010

Anyone knows where I can control daemons startup on KDE? On systemsetting there is only KDE daemons, I want to control startup of crond/mysqld/apache2d and son on.

I want something like this from Gnome

View 3 Replies View Related

Ubuntu :: Daemons Being Killed On Logout?

Jan 20, 2011

How do I prevent ubuntu from killing my server daemons on user logout. I have the user irc which I run Unrealircd on but unfortunately I have to be logged into that user in terminal to keep it running, the moment i exit it loses connection in xchat.

View 9 Replies View Related

CentOS 5 Networking :: Daemons Is Not Responding

Jun 4, 2009

The server is a Dell 1650 1U server, which a fresh install of CentOS 5.3, formatting the drive in the process. It has two e1000 NIC's and based on the wiring eth0 is the public segment and eth1 is the private segment.Both nic's make a solid 100mb connection to the cisco switch, and I can ping both interfaces "just fine".

If I run nmap on a remote PC that is also dual-homed in this fashion, I get the same response as to which ports are open (essentially everything since I disabled iptables temporarily to troubleshoot this issue) on both interfaces, which would be the expected result.But... and here is the source of my confusion... I can see the server by pinging it, I can use SSH to make such a connection and log in, but I cannot get apache to "answer the phone" so to speak.Runing "tcpdump -i eth0" shows me that my browser on a remote PC is attempting to connect, but without reply.If I send my browser to the ip address of eth1, I get the default CentOS new web server page as is the norm.Nothing shows in my /var/log/httpd/access_log or error_log at all... apache simply isn't answering.The httpd.conf is the original, and the one line I attempted to 'adjust' was the "listen 80" line, which I added the ip addresses specifically, but that didn't change anything.I am unsure how nmap can indicate the port is open and there is a service behind it, when on the same PC that ran nmap, I cannot connect at all.Might anyone have a clue to toss me so I can work to figure this out?

View 1 Replies View Related

Fedora :: 10 Show Daemons Loading At Boot?

Feb 2, 2009

Just installed FC10. I edited the /etc/inittab to start FC at the command prompt. However, how can I change the boot so that I can see the daemons loading not just that graphical bar at the bottom of the screen.

View 3 Replies View Related

Slackware :: : Automatic START Of 3 Daemons At Boot?

May 17, 2010

I'm loging my slackware as a simple user After each reboot I need to start cupsd for my printer nfsd and mountd to export my shared directories I use init 4 for my desktop I would like these services to start always without the konsol and the command lines.

View 8 Replies View Related

CentOS 5 :: Make Daemons Dump Core?

Oct 22, 2010

I modified the following files according to all I found after googling the net:

/etc/security/limits.conf
* soft core unlimited
/etc/profile
ulimit -c unlimited[code]....

I don't get a core file when I kill -11 <pid_of_sleep>

System is centos 5.3

View 3 Replies View Related

Fedora :: Selected Important Daemons Unable To Start?

Feb 2, 2011

Haldaemon, pscd not starting... cannot force to start. Do not start when running service pscd start. Just failed. Boot message is below:

Remounting root filesystem in read-write mode: [ OK ]
Mounting local filesystems: [ OK ]
Enabling /etc/fstab swaps: [ OK ]

[code]...

View 14 Replies View Related

Slackware :: How To Stop Starting Daemons At Boot Time

Dec 28, 2009

How to stop starting daemons at boot time? For example:rc.bluetooth

View 3 Replies View Related

Fedora :: Errors - Alerts Booting F13 - Default Daemons Config ?

Dec 22, 2010

I receive these alerts when booting.

What do they means?

Why some daemons find for config on a non-existent file (/etc/modprobe.conf)?

Maybe because these daemons was disabled and reenabled?

Code:

Code:

And hostname command output is "localhost.localdomain".

Where I can find daemons' default setting list?

View 1 Replies View Related

Ubuntu :: System Hangs On Boot When Stating Samba Daemons

Feb 7, 2010

My system was working fine. I followed a thread online to try to get samba to share better, installed "winbind" and now I can't get passed "Checking System Files" on boot up.

Upon boot, "Checking System Files":
Starting Firestarter firewall .... fails.
Starting samba daemons _ .... Just hangs there forever

Is there a way to get back into my system so that I can uninstall winbind, firestarter, or samba if need be?

View 1 Replies View Related

CentOS 5 Server :: Loading Multiple Virtual Host Conf Files From Httpd.conf?

Jun 1, 2009

I've been scanning the apache2 docs for the past few days and have not come up with an answer my following issue:

In my httpd.conf file, at the very end, I have the line

Include conf/vhosts/vhost_*.conf

However, when I run apache checkconfig or try to start apache, it gives me the error:

httpd: Syntax error on line 993 of /etc/httpd/conf/httpd.conf: Could not open configuration file /etc/httpd/conf/vhosts/vhost_1.conf: Permission denied

It appears as if the Include line is correct - in terms of it grabbing the first virtual host conf file. However, I'm confused on the permissions. the /etc/httpd folder is owned by root:root, as are the subfolders. As a test, I chown'd the conf/vhost folder combination and all the vhost files to apache:apache to see if that made a difference, and it appeared to make no difference at all. The log files don't contain anything (assumed because apache isn't starting). If I place the contents of the vhosts in a singular vhosts.conf it works - with the permissions set to root:root. I'd like to avoid having to use one vhosts conf for the configuration I'm trying to achieve - as it would make my life a lot easier.

View 3 Replies View Related







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