CentOS 5 :: Booting An Application To Initialize The System?
Jul 24, 2009how do I create a rule which makes the startup of an application to start CentOS?
View 1 Replieshow do I create a rule which makes the startup of an application to start CentOS?
View 1 Repliesi just installed MATLAB but while i can load it from shell by typing matlab, when i make a panel application launcher and inform it with the path /usr/share/matlab/bin/matlab it does not start.
View 2 Replies View RelatedMy application is developed using GCC and an binary executable created out of it which initializes successfully. By initialization, I meant all the threads in the application are created and I get the required response from the executable. There was a need to create a .so file out of my application instead of binary executable, as it needs to be integrated with another .so file to create a final patch. So we used -fPIC compiler option and created a .so and also an binary executable. But with -fPIC included, the executable fails to initialize at all. It executes some instructions in the main program, before finally haulting down with a " Program received signal SIGSEGV, Segmentation fault." error. And it always fails at the same faulty address which points to nothing in my application code. What is that -fPIC adds to the code, which makes my code fail with strange behaviour.
View 2 Replies View RelatedGood forum server(application) for Centos5(Linux) Server
View 3 Replies View RelatedI installed a second hard drive to my CentOS box. In the LVM GUI tool i see the hard drive but the "Initialize Entity" button is grayed out. I am not very familiar with using the LVM tool so i am not sure what to do from here.
View 1 Replies View RelatedToday, I use the vnc tool to connect the server , but it has the following message:
test@xxx: ~ vi ~/.vnc/xxx:1.log libhal.c 644 : Error connecting to system bus: Message did not receive a reply **(gnome-volume-manger:30626):WARING**: manager.c/912:failed to initialize HAL!
The server's os is CentOS 4.7 x86_64, I tried to google for the answer, but had no anything useful information.
have an OpenSuSE 11.4 (Linux 2.6.37.6-0.5-desktop) with XBMC (10.1) installed.During installation of SuSE, I've created a user called "xbmc" and enabled autologin for this user. After XBMC have been installed I added the following to /home/xbmc/.xinitrc - "exec /usr/bin/ck-launch-session /usr/bin/dbus-launch --exit-with-session /usr/bin/xbmc --standalone -fs"... so far so good - everything is perfectly fine..... or at least almost - when trying to play some musik I get the message "Failed to initialize audio device, Check your Audio Settings"... but if I close XBMC, log in to Gnome as root, open a terminal an su to user "xbmc" and start xbmc from commandline it works if I choose "Internal Analog Audio" in System -> System -> Audio Output. Now the spooky/funny parts appears... I check the options in Audio Output I see the following:
With Autologin:
Defaults
iec958
hdmi
HDA Intel Defaults
[code]...
When returning to auto-login - it stops working again... By the way - to be sure that it wasn't a rights-problem, I ended up changing the UID for the "xbmc"-user to "0" to ensure root-privilegies
I need to initialize the ssh,httpd.vsftpd when the system is initialized, how can i do that?
View 6 Replies View RelatedI have been beating my head against a wall with this for more than an hour.... I purchased a new Ethernet Card to bump up the other side of my network from 10/100 to Gigabit. I previously had a 3c905c 3com card in there before. the chipset I purchased was a realtek 8169 Gigabit..... I removed the old card and put the new one in. Then I ran netconfig but realized that it was holding onto eth0 with 3com's MAC address, so I went and removed the /etc/sysconfig/network-scripts/ifcfg-eth0 file. did a service network restart no eth0 trying to start - perfect... I reran netconfig and configured eth0 with all it settings "Netconfig Did recognise the Realtek 8169"
I saw device not initalized when doing an ifup eth0 So I lsmod and saw the 3com module still running - removed the module rmmod 3com - and checked for 8169 - not running... modprobe 8169 and then checked.. bingo its running... service network restart - same error r8169 device eth0 does not seem to be present... delaying initialization. ok - eff it - ill reboot It came up same thing - did not expect it to change... checked /etc/modprobe.conf - i see its aliased... Verified all things are running... I really don't know where to turn... Im sure I could just call it eth2 but then im going to be rewriting all my iptables "firewall rules" and im trying to avoid that.... ** yes I know I could just use sed to replace all eth0 with eth2 ** but then im not learning why and what i am missing...
heres my output
Code:
[root@router etc]# cat /etc/modprobe.conf |grep 8169 && lspci |grep 8169 && lsmod |grep 8169 && cat /etc/sysconfig/network-scripts/ifcfg-eth0
alias eth0 r8169
[code]...
# iptables -t tproxy -n -L iptables v1.3.5: can't initialize iptables table `tproxy': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. Does exist a tproxy module for CentOS's kernel (2.6.18) ?
View 1 Replies View RelatedI recently installed CentOS on a really old computer and while most things are running well, I am unable to connect to the internet. Using a Damn Small Linux live CD I am able to connect just fine and was able to see that that 'hp100' was being used as the netcard driver. When I tried to set up the network card using that adapter (HP10/100VG ....) it gives me the following error code...
View 1 Replies View RelatedI have HP ML350 G6 Server with RAID10 enabled on bios While trying to install Centos 5.5 64 bit OS I am getting the error mentioned below. "An Error Occured trying to initialize swap on device cciss/codop3. This problem is serious and the install cannot continue."
View 2 Replies View RelatedI am recently getting a very weird error on my Webmin. The result of this problem I suspect is I am no longer able to log into my Maia Mailguard which is my Spam Viewer.
Quote:[BEGIN failed--compilation aborted at (eval 17) line 1.
restarting miniserv
[06/Apr/2011:23:34:09 -0400] Restarting
[06/Apr/2011:23:34:10 -0400] miniserv.pl started
[06/Apr/2011:23:34:10 -0400] Perl module Authen::PAM needed for PAM is not installed : Can't locate Authen/PAM.pm in @INC (@INC contains: /usr/libexec/webmin /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at (eval 17) line 1.
BEGIN failed--compilation aborted at (eval 17) line 1.
Failed to initialize SSL connection
Failed to initialize SSL connection
When I upgraded to CentOS5.2 from 5.1, puplet quit working:
$ sudo /usr/bin/puplet
libnotify-Message: Unable to get session bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Error: unable to initialize pynotify
[code]....
This has probably been asked about before.... I would like to start apps in desktop 2, 3 and 4. To start apps during boot, I use two different methods: The .xinitrc file in /home/dan works fine under: "Add your own lines here..." Startup Applications in Gnome | System works well as well. Here, I can enter nautilus /dir and nautilus starts up just fine in that directory. But as I mentioned, I have yet to find a way to direct the program to run in a different desktop other than #1.
View 1 Replies View Relatedreducing the size of LVM. I did it by using the commands, lvreduce,fsck,resize2fs.After reducing the lvm size, my system is not booting...it is saying file system corrupted error.
View 1 Replies View RelatedI'm trying to install a dual booting machine with OpenSUSE v11.1 32bit and CentOS v5.2 64bit. I installed OpenSUSE first and allowed it to install and configure grub in the MBR and after that I wanted to proceed with CentOS v5.2. The installation went fine with two notable exceptions:- when I had to configure grub installation parameters, CentOS offered me only 2 solutions: either install it on the MBR of the first hard disk or not installing it at all. Other distributions are more flexible allowing you to install it in the boot sector of the root partition for example. Because I didn't want to ruin the existent grub onfiguration, I reluctantly accepted not to install it for CentOS assuming that I could manually configure the entry later in grub's menu.lst file.
- when I was presented with the options for software components installation, I've clicked on virtualization category/function because I intend to use the machine as a VMware host. There was no guidance on screen at that point and I blindly assumed that by choosing the virtualization function I would get necessary tools and drivers that will help me further on. It seems that this was a wrong move as you can see it below.
After completing the installation, I tried to search for a template or guiding on how the menu entry in menu.lst should look like but the grub directory was empty, not surprisingly because I've told CentOS earlier not to install it. Using the files in the /boot directory from the CentOS installation I tried to improvise a menu entry but it's not working. The boot stops with famous Error 13: Invalid or unsupported executable format. Using the file command to check what kind of files I'm trying to load as kernels I'm getting :
marte:~ # file /mnt/vmlinuz-2.6.18-92.el5xen
/mnt/vmlinuz-2.6.18-92.el5xen: gzip compressed data, from Unix, last modified: Tue Jun 10 19:20:51 2008, max compression
[code]....
This is the error: Could not initialize the package information An unresolvable problem occurred while initializing the package information. Please report this bug against the 'update-manager' package and include the following error message:
'E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. Current value: 25165824. (man 5 apt.conf), E:Error occurred while processing libwpeditor-dev (NewFileVer1), E: Problem with MergeList /var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_karmic_universe _binary-amd64_Packages, E:The package lists or status file could not be parsed or opened.'
Use python as example, I have 64bit python 2.4.3 yet I can't found rpm for 32bit one so I try to build it.Use default make or make --enable-readline is ok, python make cannot use CFLAGS, can use OPT and LDFLAGS to add -m32, yetit seems can only search for 64bit lib, or else crush.[Moderator edit: Moved from CentOS-4 to CentOS-5 forum.]
View 9 Replies View RelatedI have a laptop that came with Windows Vista (64-bit) installed. I created a new partition and installed XP (also 64-bit) alongside it.Last night I shrunk my XP partition and created another new partition and installed Linux (CentOS 64-bit) on it. I made an error in judgment and didn't allocate enough space, so I need about 10 more gigs for the Linux partition. It boots up and runs, but I need about 10 more gigs of storage for the files I want to keep on the partition (and yes, they have to be on the partition, I definitely need to know how to do this, not a workaround)I went into Vista and shrunk the XP partition by 10 gigs, so now I have 10 gigs of free, non-partitioned space.
As it stands, when I start up the computer I get the GRUB boot loader. I can boot my Linux install or choose "Other" and be taken to the Vista boot loader. From there I can choose XP or Vista to boot.So, my question is... what is the best way to append the 10 gigs of free space to the Linux partition? Is this something I should do inside of Linux? I have the option to do it in Vista, but the partition shows up as "healthy" but without a file system type.I just don't want to screw up the boot loader, partitions or anything else.This isn't my area of expertise, so if anyone could give me a good suggestion or solid answer
Since RHEL is similar to CentOS posting it here.
Upon booting from DVD, i get the below error: "CentOS CD Not found in any of the media drives. Please insert CentOS CD and press OK."
I have IDE Sony DVD RW AW-G170.
BIOS Setting:
Downloaded the CentOS-5.4-i386-bin-DVD image from centos.org from DVD.torrent using bittorrent file.
When booting from the DVD, it gives me the boot prompt:
Upon pressing enter, the log messages of the boot detect the media drive as: hdc: Sony DVD RW AW-G170 IDE ATAPI CD.
The below steps occur:
1) Select the keyboard type: selected us
2) Select the Language : selected us
3) Select the image:
- Local CDROM
- Hard Drive
- NFS Image
...
...
selected Local CDROM
Then the above error "CentOS CD Not found in any of the media drives. Please insert CentOS CD and press OK."
The booting steps does not ask the for media check step.
The below methods have been tried to solve the problem:
- Burnt the image in another 2 DVDs but the same error "CentOS CD Not found in any of the media drives. Please insert CentOS CD and press OK."
- Upon burning the DVD image , selected the DVD read speed: 8x. Upon burning the DVD selected 18x for burning. and then tried to boot with that DVD
- At the boot prompt entered : linux hdc=cdrom replaced hdc=hdb but the error remains.
What is the best web development application that runs on Centos KDE?Close to Dreamweaver in capabilities.
View 1 Replies View RelatedI've done some installations and configuration of linux systems for different needs and I've never had such a problem:
* The system is Supermicro X6DVL-G mainboard with two Nocona Xeons @ 2,8 GHz, 2 GB DDR333 RAM, 2x160GB Seagate ST3160827AS SATA HDD, ATi RAGE 128 VGA and an external LG USB DVD drive.
* The role of this machine will be Joomla Web/Mail/FTP server for my company's website
I've tried FreeBSD, PC-BSD and now CentOS 5.3. The BSD based OSes installed and ran with no problem but I had trouble configuring them and I decided to move to something little more familiar. However the BSDs didn't detect the integrated Promise RAID controller but CentOS had no problem with that. After some fight with the initial setup I've managed to made it recognizing the external DVD and install the OS. I'm using the whole stripe for the OS, leaving the linux to determine and create the partitions. The installation went smoothly with no errors, but after restart I get the POST messages and then... NOTHING! No error, no panic, nothing, just a blinking cursor. The first thought, confirmed later by several posts I've read, it's the integrated RAID controller making the issue.
Well, I removed the stripe, disabled the controller from the BIOS and installed again, this time with the two separate disks - the sda is bootable with swap and ext3 and sdb is spare with ext3. THE SAME... Third time - only sda is configured for istallation - again NOTHING. Fourth time - sda is configured for installation and No Bootloader option is selected - SAME.
We purchased a virtual server from GoDaddy (1 month trial) to set up as a proxy for our networks (24 of them). I am having 2 separate issues. The first is I can't configure/install NAT and support is telling me the only way I can is to purchase a dedicated server. Here's the error:
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 3128 iptables v1.3.5: can't initialize iptables table `nat': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. Here's the fix: [URL] So, what I am hoping to do is configure this by just opening port 3128 directly, and only allowing access from our networks. As a test I did this and allowed only from our office and it did not work. However I can't connect, so I am wondering what I am doing wrong? Here's my squid configuration:
[Code]....
So I just got a new custom build and my problem is I can't get Ubuntu to boot at all.
I'm using two identical WD Caviar Blue 500gb drives.
I can boot windows off one, but cannot boot ubuntu from the other.
It just hangs after the bios screen saying loading os.
Any idea how to
i have window vista and Scientific linux cern on my machine. but today i have installed fedora 14 in my machine. Now machine does not booting scientific linux cern.
View 5 Replies View RelatedI am new to this debian plotform. How can I add my app to init.d linkup.
I did my programe for I2C Bit banging method and got output on Beaglebone black rev.C hardware.
I want to run my code after booting of beaglebone with out connecting to laptop or login process.
I want just powerup,then run my programe default.
/***************************Extra Information*************
#etc/inittab file
# The default runlevel.
id:2:initdefault:
# Boot-time system configuration/initialization script.
# This is run first except when booting in emergency (-b) mode.
si::sysinit:/etc/init.d/rcS
[Code] .....
How to open an application when fedora system starts.
View 4 Replies View RelatedI don't know if this is the result of an upgrade, software conflict or I did something I shouldn't have without even noticing. I was able to "Add" the main GNOME menu back by right clicking on the menu, etc. Now, Places and System are sub-menus of the main system menu.
View 8 Replies View Relatedhow can we inert our application with a debian based Operating system, what should be basic ground work to be done if one wants to insert his Application(Open Source)within a Linux Operating System(OS).I request you all to send me some clues or hints with some url's for exploring and proceeding further.
View 2 Replies View Related