General :: Run A Perl Script Automatically After A Ubuntu Server Has Booted Up?
Jun 21, 2010
I wrote a Perl script which will serve as a daemon, so I'd like to let the OS (in my case, Ubuntu Linux) automatically run my Perl script after it has booted up.
How can I do that?
View 1 Replies
ADVERTISEMENT
Nov 15, 2010
Can a Mac Mini, Server edition, be booted off either of its two disks?
I'm interested in having one disk with OSX Server on it, and the other a dual boot Linux/Windows, to get around OSX's fussiness about boot loaders.
View 1 Replies
View Related
Aug 11, 2010
I am new here and want to lern CentOS. Current I have installed CentOS 5.5 x64 and Perl 5.8.8. Now i have install Perl 5.12.1 which located to /usr/local/bin/perl. But how I can move it to /usr/bin/perl so root based on Perl 5.12.1?
View 7 Replies
View Related
Jun 2, 2011
I am unable to run perl-cgi script in my cent os Apache server. I have used locate perl command in terminal window and it gives following result:
[code]....
tell which is the path to perl for example "usr/bin perl"
View 13 Replies
View Related
Apr 7, 2010
I need to check RAM on a server located in a data center several hundred miles away. So, I can't just walk over and boot to CD to run memtest86. Is it safe to run this while booted into the OS? Does anyone know of a knoppix pxe boot image? I can network boot to something...I just don't know what to network boot to.
View 3 Replies
View Related
Jul 22, 2011
How to write a perl script to ping multiple server and if any server is down then we manually bring up the server within 3hours wehn it goes down and will display a message" server is up within 3hours" and if we are unable to bring the server up manually within 3 hours then we will display a message " unable to bring the server alive". Need perl script to display the message.
View 1 Replies
View Related
Oct 5, 2009
How can I setup my Linux server to automatically synchronize its server clocks? We need to ensure our server clocks are set to the correct time always.
View 2 Replies
View Related
Feb 18, 2010
My RHEL Machine is a Build server and always gets shutdown / rebooted at around 5:30 every evening. No idea whats going on as developers were unable to connect to the machine since three days. When I am visiting the physical server probably next morning (since last 3 days)its doesn't show anything and all i reboot the machine and it comes up without any issue. how to troubleshoot?
View 7 Replies
View Related
Aug 20, 2010
I am in the process of creating a kickstart configuration file for some RedHat 5.5 and Centos 5.5 servers (Production and test respectively).I have googled about a bit but I cannot find a good list of the bare minimum packages required for a command-line system.If anyone knows how I can trim this list down anymore it would be much appreciated. The aim of this kickstart.cfg is to get the system booted to a bare minimum required to install Chef (Server management software). Chef will then setup Apache, Ruby on rails environment etc.
All this server will need to do is, from a static IP, Host a Ruby on rails app, send emails, send data to a server on the web, accept ssh and occasionally and connect to a SMB/CIFS share This list was taken from the anaconda-ks.cfg file after a RedHat install of what I thought was a pretty minimal system onto a VM but I noticed that cups, the avahi daemonsand gam_server are installed and running which I do not believe are needed for a pure web server.I know that these types of questions are hard to answer without a complete knowledge of the operating environment and what "minimum" is in this case ("@core only? but I wanted yum damnit!")
@admin-tools
@base
@core
[code]....
View 1 Replies
View Related
Aug 5, 2010
I'm wondering how I start it automatically when I boot up the ubuntu 10.04? especially, when I created the user "postgres", I set a password to it. every time I issued "su - postgres" command, I need to give it a password.
View 2 Replies
View Related
Mar 1, 2010
some times network disconnected automatically. if we restart rhe server it automatically starts to work. again 2 or 3 days, the same senario is happening. on this server 2 database is running, it makes lot of problem to us. what will be the problem? is any connection parameter is there? (ie i mean only 50 numbers of client connection is only allowed like.) or any problem in NIC card or NIC driver.
View 4 Replies
View Related
Dec 16, 2010
I just booted ubuntu from a disk that I burned to try and salvage some files off a hard drive with a failed boot sector (maybe. not sure what the problem is,). Anyway, I can see the files, and I have a large portable hard drive that I can use (a MyPassport 320gig, if I recall correctly). I'm having trouble accessing the drive, and I think it might be because there's something popping up in the task bar that I can't see. Unfortunately, I can't see the task bar! My screen's resolution is off, and I'm having trouble adjusting it. I browsed the various settings and I couldn't figure out any way to change it.
Is there anything I can do? EDIT: Oops! I didn't look into the Monitors options... how embarrassing.
EDIT2: Okay, looks like I can mess about with the resolutions, but all of them still deny me access to the full screen - still can't see the task bar.
View 3 Replies
View Related
Aug 23, 2010
Since 10.10 is not out yet, I think I'm going to try Mint. (or possibly Lubuntu - I have both ISOs copied to CD already)
Question is: Is it possible to install the new OS on the partition that now contains Ubuntu, without disturbing my Windows Vista partition? (I just need Vista for occasional use of MagicJack- otherwise I'd gladly just wipe the whole disk)
Can I just boot my Ubuntu live CD and run Disk Utility and delete the Ubuntu partition? (I prefer to use GUI rather than CLI).
View 2 Replies
View Related
Nov 28, 2010
I am running a dedicated server with linux cent os 5.5 32 bit with lighttpd, php 5.2.14 and mysql
I am getting problem in my server. The filesystem enters read only mode automatically and then I can't edit any file in my server. This happens by itself. I tried to run fsck command and it gives the following output:
Code:
[root@server]# fsck -A -y
fsck 1.39 (29-May-2006)
e2fsck 1.39 (29-May-2006)
/: recovering journal
Clearing orphaned inode 11108656 (uid=0, gid=0, mode=0140777, size=0)
Clearing orphaned inode 13631499 (uid=27, gid=27, mode=0100600, size=0)
[Code]....
View 2 Replies
View Related
Jul 14, 2010
Linux Server automatically reboots when i plug in the network cable.it was working fine till 2 days back and no changes were made to it.any light on this note pls? kindly confirm if any logs are required for the discussion!
View 1 Replies
View Related
Feb 12, 2010
I have been dual booting my XP and Ubuntu for a while now. However, my pc monitor does not turn on until I am booted into windows/linux. This means I have to 'guess' to a certain extent which OS to select on boot (using GRUB). I expect I will have to change a setting in the BIOS but I am not too sure what to look out for.
After turning on my pc I have to restart it for it too do anything, it appears to just hang!However as I cannot see what is happening due to the monitor problem I am completely in the dark as to why it would do this/what is going on! I have XP installed at the front of my hard drive and Ubuntu at the back. It worked ok the first time I tried it after install (still had the monitor problem but was able to guess) then after that this random problem!
View 3 Replies
View Related
Mar 2, 2010
I have a Fedora 12 system. Having some boot problems here and I booted up my Fedora 12 live CD to troubleshoot it. My boot problem is I get to this message: Registering binary handler for windows applications: Then the screen flashes a few times and enternal hang begins. I installed wine before the reboot. I cannot figure out where my HD (which is sata btw) is after liveCD bootup. I figured I could turn wine off some how. Is it in rc.d or init.d? Anyhow here is my mount info from terminal.
[root@localhost liveuser]# mount
/dev/mapper/live-rw on / type ext4 (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
[code]....
View 7 Replies
View Related
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
Mar 24, 2011
i need to connect to a remote linux server on certain times (automated), but i need to log on to the server. So i want to make a script (shell perhaps) that periodically connects to the server and checks some files and folders.How do i automate it and how can i log on automatically to the remote server without typing everytime the password and login (the script should do it himself)
View 14 Replies
View Related
Dec 17, 2010
I have a small problem with Perl and Apache.
If I use "#!/usr/bin/perl" in the beginning of a perl script the script won't work if the script is at all complicated. Simple scripts like "Hello World" works.
But if I use "#!/usr/bin/perl -w" in the beginning all scripts work?
If I don't use the -w this is whats in the logs:
(2)No such file or directory: exec of '/home/test.net/html/cgi-bin/uh/meny.pl' failed
Premature end of script headers: meny.pl
When I use the -w in the script the error-log shows me this.
meny.pl: Name "main::http_path_cgi" used only once: possible typo at /home/test.net/html/cgi-bin/uh/meny.pl line 24.
View 1 Replies
View Related
Feb 8, 2011
I installed SLES11 SP1 on my machine. It is available with kernel source in /usr/src/. I built another kernel with this source. New kernel image and initrd are available in /boot. But the newly build image is not getting booted up.
View 3 Replies
View Related
Feb 2, 2011
My wireless adapter keeps getting booted from the internet. I heard I might need Ndswrapper. Does anybody know how to use Ndswrapper?
View 2 Replies
View Related
Jun 22, 2011
How to move a data files from one Linux server to another in an online Internet environment, automatically daily, using a script?
View 1 Replies
View Related
Mar 22, 2010
With Mandriva 2010 and KDE 4.3.5 it updated to kernel; 2.6.31.12-1mnb and I want to find out if it boots to this new kernel, or the previous one. In the Ubuntu gnome desktop I do know how to find that easy, so what tool or terminal command will display the current running kernel version ?
View 6 Replies
View Related
Aug 11, 2010
trying to add things - drivers,etc. to make it look/act as it should found out later that it's due to quirkiness of running two systems in tandem (occas)...anyways i'm going to boot a fresh copy of xP pro again tomorrow..any wisdom to be lent b4 i do...uBuntu 10.4 rocks,..so I will be a permanent user/supp of this oS. Thx for having a forum such as this as I am green as can be to this stuff
View 3 Replies
View Related
Aug 14, 2010
I recently reinstalled the B module for perl. Now I found out it didn't just do that, it installed a whole new copy of perl into /usr/local/bin/perl. When I type 'which perl' at the terminal, it says '/usr/local/bin/perl' instead of '/usr/bin/perl'. Normally, this wouldn't bother me. But I installed the one in local/bin without threading support. The one that comes with the system already is build with threading support, which is why I want to switch back to the system perl, and possibly remove the one in /usr/local/bin.
So how do I change it so that the result of 'which perl' returns as '/usr/bin/perl'? And what do I have to do to remove /usr/local/bin/perl?
The reason I need threading support is because I'm designing a file copier that copies several chunks of a file simultaneously to speed up the copying process. Guaranteed a useful script if it works.
View 7 Replies
View Related
Jan 7, 2010
what is wrong i have a web server setup and working fine running a web store in php i have added a search engine for the web the easiest setup programme is with an extension .pl when i try and execute this it asks me if i want to download it or open it i had this problem with the php script which a reboot sorted out so i have tried rebooting but get the same problem does anybody know how i can get it to execute on my server?
View 2 Replies
View Related
Dec 27, 2010
Can anyone tell me what command can be used so that the Linux Centos Server starts mysqld, httpd and ftpd services at boot time automatically?
View 2 Replies
View Related
Jul 7, 2010
I am trying to launch the perl config, but when I do so I can an weird error.It seems to be that it does not regonize perl ?
conf.pl: line 11: =: command not found
conf.pl: line 19: my: command not found
conf.pl: line 20: syntax error near unexpected token `{'
[code]...
View 2 Replies
View Related
Apr 20, 2010
Trying to install libmd5-perl on Ubuntu server 10.04 beta 2! It says there is no candiate version found for libmd5-perl
View 6 Replies
View Related