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.
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?
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?
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.
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.
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,
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)
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
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).
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).
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 ?
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?
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.
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.
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?
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.
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.
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?
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.