CentOS 5 :: Make Autostart When OS Start
May 27, 2009
usually i run the file with
1. open the terminal (log in as root)
2. then just write sh Start-ServiceEngine from the folder it self.
i try to make auto start with this way :
1. create file in /etc/init.d/ name blah
[blah]
#! /bin/sh
sh /root/service-engine/Start-ServiceEngine
exit
[/blah]
2. changing the mod : chmod 755 /etc/init.d/blah but when i restart the centOs it seem run but with error on my program.
View 1 Replies
ADVERTISEMENT
Sep 2, 2010
I'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].....
View 3 Replies
View Related
Jan 11, 2011
What's the easiest way to make things autostart in KDE? The only method I know is to make links to the applications and then put them in the KDE autostart folder. Last time I did that, I had a lot of trouble with not being allowed to make the links unless I was root. Is there a simpler way?
View 1 Replies
View Related
Oct 17, 2010
Is it possible to make a personalized version of ubuntu livecd that autostart ssh after booting? I need to test if video card failure cause my computer to freeze.If that's too complicated or not possible, is there any other livecd that does that?
View 2 Replies
View Related
Nov 5, 2009
I'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 Related
Jan 1, 2011
CentOS 5.5, I've installed Synergy to share my keyboard/mouse and it works fine. Now I'm trying to get it to load automatically at boot.
The command is simple, "synergyc <computername>".
I've tried putting the command (see above) into rc.local I've tried putting the command in a script and referencing in in rc.local I've followed the instructions for building it into init levels (2-5) with chkconfig
Quote:chkconfig --list
synergy.sh 0:off 1:off 2:on 3:on 4:on 5:on 6:off
View 19 Replies
View Related
Apr 18, 2011
I have a new CentOS 5.6 installation. It was installed in text mode. I have changed the line id:3:initdefault: in /etc/inittab to id:5:inittab. Even after that change, gdm does not start automatically. gdm is installed, and can be started from the command line. I have put DISPLAYMANAGER="GNOME" and DESKTOP="GNOME" in /etc/sysconfig/desktop.
I would like to get gdm to start automatically.
I observer that rhgb is running after startup:
[root@host ~]# ps axu |grep rhgb
root 3830 0.0 0.0 165676 10816 ? Ss 12:10 0:00 /usr/bin/rhgb
root 3840 0.0 0.0 87976 7996 tty8 Ss+ 12:10 0:07 /usr/bin/Xorg -s off
[Code]....
View 13 Replies
View Related
Jan 28, 2010
I am fairly new to linux.We have a machine running CentOS 4.4 and sometimes the machine has to be rebooted. Each time after the reboot, I have to SSH in and manually restart one of our application. I have been reading about doing this online and I am a little confuse.Seems like there are multiple possibilities for starting things up. My finding suggest using the inittab file. Then my question is what runlevel do I pass in? Should I use runlevel 1, 2, 3, or 5? Once the runlevel is determine, then how should I name my startup script? I know to use "S" but what number should I give it? Or, another way to approach this is to put my autostart script in the /etc/rc.local file?
View 4 Replies
View Related
Oct 1, 2009
I am trying to build a fat client on an old pc. I have CentOS 5.3 installed standalone. Basically when the user turns on the pc, it automatically logs into a linux account and the desktop appears. I have installed rdesktop 1.60 to connect to a Win2008 server. From the command line or from a launcher icon I created on the linux desktop everything works fine. What I want to do is for the system to automatically execute rdesktop after the automatic login to linux. So I used the Sessions GUI. (Go to System, then Preferences, then More preference, then Sessions.) Within the Sessions GUI, I clicked on the "Startup Programs" tab and click on the "Add' button.
I type in :
rdesktop -f servername (where -f gives you full screen, and servername is the name of the windows server)
This works a couple of times, then it fails. When you reboot the linux pc, it will auto login, then show the rdesktop screen for a split second, disappears and then it shows the linux gnome desktop.
View 5 Replies
View Related
May 4, 2011
I have a mysql database and i use it with apache for my webpages. And I guess it dosen't start when the computer starts so I have to manually start it with "sudo /etc/init.d/mysql start" This returns fail so i went to '/var/run/mysqld/' and the folder was empty. I don't know if this is the problem or not. How can I fix this?
View 9 Replies
View Related
Jul 26, 2011
I just compiled volwheel and added "volwheel &" to my autostart.sh file in openbox and it would not start. I then ran it from my terminal and recieved this error message:
Can't locate Alsa.pm in @INC (@INC contains: /usr/local/lib/volwheel /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/local/bin/volwheel line 24.
BEGIN failed--compilation aborted at /usr/local/bin/volwheel line 24.
View 2 Replies
View Related
May 11, 2011
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]
View 5 Replies
View Related
Aug 5, 2011
Im running cent os 5.5 64 bit. I simply want to type in a url (In my browser) on my windows desktop, that downloads a zipped folder from my cent os server.
View 2 Replies
View Related
Aug 15, 2009
FC11 I tried to load the nvidia driver because google earth suggested I needed to do this in order for the program to run faster now I'm in a bit of a mess.
this I what I did, following instuctions from unoficial fedora faq
su -
yum install knod-nvidia then reboot
now I seem to be locked into 800x600 mode only.
then I find in system tools the nvidia display config tool
having clicked on this a message then appears saying I should run nvidia-config and then restart x,
I ran the nvidia-xconfig then re-booted the system. now all I get is a flashing curser on the screen.
I tried typing startx at this prompt but nothing happens.
View 14 Replies
View Related
Nov 19, 2010
Because I had some difficulties to make awstats running (I'm not an expert!), I would share my experience with a MINI STEP BY STEP GUIDE. I would like also to discuss some details with experts thus at the end of the guide ,I'll make some questions to them:
I have installed a new server Centos 5.5 32 bit and configured 3 virtual hosts; at the end of /etc/httpd/conf/http.conf I have:
-------http.conf virtual host--------
ServerName 127.0.0.1
NameVirtualHost *:80
<VirtualHost *:80>
[code]....
View 2 Replies
View Related
Sep 26, 2009
I have installed Oracle 10G on Linux Fedora 10. after installing the database everything went successfully even if I reboot my machine so I was very satisfied at this point. When started to install Oracle Developer but with not that's much of success but I got problem in the end of installatin, anyway I closed the installation and I shutdown the pc. In the next day I want to log to linux Fedora to using KDE I couldn't andI got this problem "Could not start kdeinit4. check your installation". KDE was perfect before installing the second oracle but I have no idea why KDE crash and how to have it back again. Actually I played in some library that related in Oracle directory not related to root but I don't know what happend exactly. Please help me in steps to sovle this problem. I'm really afraid of losing the KDE and need to install linux fedora from beginning,
View 1 Replies
View Related
May 5, 2011
When I haven't run yum for a little awhile, it's slow to start up because it goes through all the progress bars of downloading from different repositories. specially, just now updates/primary_db had to download 5.5MB.
Is there some way to automate this so it happens in the background and not when starting up?
View 2 Replies
View Related
Feb 12, 2010
I'm running Ubuntu 9.10, and using wbar as my dock, and when i boot up my computer and log-in I like to have my dock there instead of opening it. Is there a way to make it open automatically right when I log in?
View 1 Replies
View Related
Sep 4, 2010
How do I make something start on boot? I remember there being a command.. nano something, can anyone tell me?
View 3 Replies
View Related
Jun 25, 2010
For any custom application I create which needs to run at startup, what I normally do is have an entry in my /etc/init.local that executes the app.Now if I just putCode:/data/app/prod/start And the app writes data to relative paths, it will be writing data all over the system. Is there a method of starting a script so it is aware of the folder it is in? Sure I can do "cd [folder]" then start the app, but wondering if there's a better way.
View 1 Replies
View Related
Mar 27, 2010
I've just install Slack 13 and had been looking into the website for configure info. What is my problem is the #xorgconfig does not start on my system. It says command not found. I had searched for answer on the web and found no answer so I post here for help. Is there anything else I need to install to get my intel graphic card display more then 1024 resolution?
View 7 Replies
View Related
Aug 9, 2010
How can I make slackware startx whenever it starts instead of having to go login as root and type startx each time?
View 6 Replies
View Related
Apr 8, 2009
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 Related
Jul 1, 2010
I added this:
Code:
clear
fortune | cowsay | echo
to the bottom of my .profile expecting a cow to tell me a fun quote whenever i pull up a terminal. It hasn't done anything, however. How do I achieve my desired effect?
View 4 Replies
View Related
Jan 6, 2011
I was running Ubuntu 9.10 with 3 - 1.5TB drives in a software Raid 5 array. The OS is installed to a separate drive. I decided to format the OS drive and install Ubuntu 10.10, but having done that I can no longer get my Raid array to start. When I am in the Disk Utility and hit the "Start RAID Array" button I get a message saying that there are not enough components to start the Raid array, even though the 3 raid drives show up within the Disk Utility.
View 1 Replies
View Related
Feb 27, 2011
I have made several start-up disk, just made 2 today, but certain ISO's won't even go into the "start up disk creator" window.I've made them with Ubuntu, Kubuntu, Linux Mint, Xubuntu, Lubuntu, Ultimate-Edition, Peppermint One & Peppermint Ice, but I can't make one with Puppy, PCLinuxOS, and a couple others.I'm trying to make one with "system rescue cd" so I can use it to totally wipe my 500GiB hdd, before I start to partition & install OS's on it. I downloaded system rescue & saved it to my desktop, but start up disk creator won't let me make a start up usb with it.My questions are...
1. Why does it refuse to make some & not others?
2. I know it's not totally necessary but, is there really any reason to completely wipe it before writing over it? Such as longevity or speed?
View 8 Replies
View Related
Apr 25, 2011
how do I make conky wait to start? I have read the post how to do it but when I try it says file not found.
View 9 Replies
View Related
May 27, 2011
I have a lenovo thinkpad laptop, and it has both touch-pad (standard build in laptop mouse) and touch-point (in the middle of the keyboard) mouse options.
I almost invariably use the touch-point and the accompanied scroller and key-buttons.
HOWEVER, for the scroller to be recognized by ubuntu you must run two scripts as follows:
xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation" 8 1
xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Button" 8 2
Restarting the computer resets these settings, and you must re-run them each time you start up ubuntu.
I am looking to write a script that will automatically run itself (which will execute the above commands), or to permanently change these settings so that it will not be necessary to run them at each start-up.
Thanks in advance, and if there is another thread on these forums that I should move to (or even just another thread that would be a more likely place to get a response). This seemed like the best forum (one which can certainly hold this post without violating any rules), but I may have missed something.
View 4 Replies
View Related
Apr 15, 2010
Is it possible to bring KDM up after startup instead of tty1? Is yes, how?
View 3 Replies
View Related
Aug 7, 2010
Does any one know how i can make YaKuake start on boot.
View 1 Replies
View Related