CentOS 5 :: Run Command To Start System?
Feb 22, 2011I want to load a second instance of squid after reboot. For this I use this sentence "/usr/sbin/squid-f/etc/squid/squid-2.conf"vi /etc/rc.d/rc.local
View 1 RepliesI want to load a second instance of squid after reboot. For this I use this sentence "/usr/sbin/squid-f/etc/squid/squid-2.conf"vi /etc/rc.d/rc.local
View 1 RepliesI need to start a xen domain from console with xm command but the 'new' sub command is missing?
[root@sambie xen]# xm new CENTOS-5.3-PDC
Error: Sub Command new not found!
2nd and 3rd might be linux kernel problems but may help someone else so I included here.1st -- run level 4, /etc/rc.d/rc.4 and xdm -nodaemonJust installed 13.1 on an odd system, including building a new kernel.One thing I do is have the system boot to a command prompt and then run /etc/rc.d/rc.4 to start XBut I found that the rc.4 uses xdm -nodaemon flag and it was causing problems so I removed and all is pretty good. I still see some odd behavior with the virtual ttys sometimes.2nd -- when building a new kernel, I found I need the device-mapper butcouldn't tell if that was a linux kernel issue or something to do with lilo, I didn't want and don't need multiple disk devices like for LVM or MD so I didn't plan to have this enabled.3rd -- CONFIG_EXT4_USE_FOR_EXT23 When that kernel config option was selected and I have only an EXT4 filesystem, the filesystem was mounted as an EXT2, even though the kernel had no EXT2 feature. /etc/fstab specified EXT4 but the mount command showed EXT2. A silent problem that could leave an unpleasant surprise since EXT2 hos no journaling.4th -- I had to run lilo -C by hand in a virtual tty before finishing the install. This was what I had to do when installing 13.0 on different hardware. It seems that the lilo part of the install needs some sorting out.
View 9 Replies View RelatedI can't find the start command for Gnome from Terminal.
I tried:
start gnome
startx
start gne
Nothin is matching. In the Documenation is no help from console.
I am trying to attach my server to 2 diferent networks, with fixed ip addresses,
eth0 = 192.168.0.2 255.255.255.0 with gateway 192.168.0.1. This is currently working, and I can ssh o the machine on this address
eth1 = 192.168.150.5 255.255.255.0 with gateway 192.168.150.1
When I try and start eth1 with ifconfig eth1 up, I get the error message "eth1: unknown interface: no such device"
I have configured eth1 using system-config-network-tui and /etc/sysconfig/networking/devices/ifcfg-eth1 looks correct
GATEWAY=192.168.150.1
TYPE=Ethernet
DEVICE=eth1
BOOTPROTO=none
[Code].....
I am unable to start apache on my linux machine with following errors Starting httpd: Syntax error on line 117 of /etc/httpd/conf/httpd.conf: Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration I am using CentOS5 with apache version httpd-2.2.13
View 99 Replies View RelatedI've got an install of CentOS 5.3 in a VM which was installed without X or Gnome.I've added X (yum groupinstall 'X Window System') and Gnome (yum groupinstall 'GNOME Desktop Environment) and can now run startx no problem.However on boot I get a command line login rather than the graphical login screen one normally gets if Gnome is included at install time.What do I need to do to get the graphical login after boot?
View 3 Replies View RelatedI just started setting up a linux box in the office...I have some experience with ssh commands but not setting up a linux system and stuff.The box is connected to our network but I have no clue how to make windows & osx talk with it. How can I go by doing that and also setting up an apache server to be able to connect through network. Right now I have apache/linux/mysql running it works when i go to localhost, but I would also like to let all the computers in office to access it. I would guess that will deal with virtual host which I know how to setup. I just need to setup an IP.
View 19 Replies View RelatedYum command is not working on my system today!
when i write any commands using yum, such as yum check-update or
yum install some package it shows the following code...
shall add something to my repository?
I want to monitor my work on the terminal.I know we can use script command.But every time when I start the terminal, I have to type script to start it.I want to automate it. So where should I include this command so that it will start as soon as I start the terminal ?
MY WORK TILL NOW: I have put this "script" command in the .profile.The when I start the terminal, it became an INFINITE LOOP.I am able to "echo".Thats coming only once.....but if I write a "script" command then it is becoming an INFINITE LOOP.
I have a problem with the system backup. I need to create a system image using the command "tar", but my server has physical disks with LVM and I am executing "linux rescue" for recovering the linux image. After restoring the image on the new server reports "kernel panic", this is caused because the new server where I restored the image doesn't have LVM disks.
View 2 Replies View RelatedI have 3 script BASH. I want start this script when the system start,stop and reeboot.
View 4 Replies View RelatedI'm configuring a new Centos 5.5 server in replacement of an old W2K server.The topology of our network is simple : one file/dhcp/dns relay server and workstations (PC's and some MAC's) plus network printers and scanners.All the workstations have dynamic IP addresses (easier because a lot of 'dynamic' changes : new persons with their own laptop, ...) and the server and printers/scanners have fixed IP addresses.I edited the dhcpd.conf (see here underneath), I have the file dhcpd.leases but it doesn't start !
DHCPD.CONF
ddns-update-style interim;
ignore client-updates;
[code].....
I use release 11.2 and this one works very well. I try new release 11.3 and my system crash when I wont to start system on runlevel 5. There is Sempron 2 GHz CPU and nvidia fx550 graphics card. Keyboard PS2 does not responds but mouse on USB work well. When I start "safe" boot option system work well. What I can to do ? What I must change
View 4 Replies View RelatedI am writing a perl script which uses the matlab compiler to compile a .m file.
I am using the system("mcc �m file.m"). I have matlab installed and both script and exe are in the same drive.But i get the following error .
'mcc' is not a recognised as an internal or external command ,operable in program or batch file.
i am currently trying to install vsFTP onto my new linux server and btw i just started using linux today this is my first time using linux so i got the ftp installed good it got downloaded and everything then i went to open a port for my server for vsFTP i used this comand to open it "-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT" then i closed it by pressing ESC then :wq! and it brought me back to my comand line again so now when i try to start the ip table thing with the comand "service iptables start" then when i execute that comand putty respondes with this "Applying iptables firewall rules: iptables-restore: line 1 failed [FAILED]"
The install Guide im using: [URL]
I install lirc and want to prgram irxevent start automatic when the system start
Code:
System->Preferences->Startup Applications
Add an item,but that not works every time,means sometimes cannot work.
I have installed Centos in my server and when I take, top -c command its not showing the "command" option correctly. Due to the same, I'm not able to correctly track down the file which causes excessive usage. For eg:
top - 09:30:29 up 72 days, 12:46, 2 users, load average: 0.21, 0.16, 0.15
Tasks: 122 total, 1 running, 120 sleeping, 0 stopped, 1 zombie
Cpu(s): 4.8%us, 0.7%sy, 0.0%ni, 93.5%id, 1.0%wa, 0.0%hi, 0.0%si, 0.0%st
[code]....
i restore Centos from backup file,after i have finished,i start centos, it can't start and repost error: IO-APIC + timer doesn't work! Boot with apic=debug and send a report. Then try booting with the 'noapic' option
View 11 Replies View RelatedAnyone know why my fresh installation of centOS server is so slow? Seems like it takes over a minute to execute a command, im not doing anything complicated either. Secondly, how come at times when I type reboot the machine starts to beep, one long loud annoying beep.
View 5 Replies View RelatedI move to Centos in October 2009 from Windoze and machines with 36 bit words. I now have 3 servers with Centos 5.5, 5.5. and 5.2 plus a laptop with 5.4 and am currently trying to put Centos on a 10.2" Netbook running Win XP.
On two 5.5 servers I notice a different graphical start-up process. One starts, from the text announcement "Centos 5.5 Final" with a blue Centos screen. If one displays the text it is shown with a thick blue Centos coloured border. The other starts up with text and stays in text mode until it has displayed the text log-in prompt and then after a few seconds presents the Centos GUI log-in screen.
My question is how can I make both servers, both ostensibly running the identical operating system, behave identically ?
I installed CentOS 5.6 and there was an error, so once it finished, I reburned the cds and installed it again. Now When I start up the cpu, GNU Grub comes up. Version 0.97 (640K lower/2096864K upper memory). How do I get the OS to start up. When i type in boot, I get error 8: Kernel must be loaded before booting".[Moderator edit: Fixed tyop in Subject.]
View 10 Replies View Relatedi've made a big update of almost 300Mb.I'had a working DNS server.Now, when i boot the box, named works and it resolves all the clients.If i make any change (enter a new client for example) and of course i restart named (service named restart), named stop but does not start again !!!In order to get a working named, i 'm obliged to reboot the box?
View 6 Replies View RelatedI may need to handle a Red Hat server soon and thought that has the same command line.Where do I start if I wanted to learn the command line? Especially, how do you connect to a Redhat / Fedora Server using console on windows and do C programming
View 6 Replies View RelatedAfter running a command that spits out a lot of output in screen. I drop to Copy mode and try to find where the command start. This becomes very very challenging when there are lots of lots of similar text to sift through. Is there a way for me to quickly scroll to where my command starts?
View 2 Replies View RelatedI want to add an item to my start up... I went to start up and hit add. I want my conky to start up... I need a terminal and the code conky that should start it how do you get a terminal command in start up.?
View 2 Replies View RelatedI want to add a line to the start-up of my proxy server that does the IPTABLES port re-routing for me automatically instead of having to do it manually every time I restart
View 3 Replies View RelatedI just installed avg85flx-r732-a3168.i386.deb, but I can't start AVG from any menu or command. (Not even in System Menu). So, how can I start it?
View 5 Replies View Relatedis there a way to start a command after sometime of inactivity?I mean a command that start automatically after some period of time when I stop using the keyboard or mouse
View 1 Replies View Relatedi'm using ubuntu with the GUIi have a .pps (power point presentation) on the desktop. I installed the powerpoint viewer and made it the default program for opening the file.when i double click on the file everything works.my problem is i need this on a schedule so i downloaded scheduled task.in scheduled task they ask me the command line i want to execute and that's where it doesn't work. I checked the "allow executing file as program" box on the file but i get the error cannot execute binary file.
View 1 Replies View Related