fedora

Is Network Up? C++ Fedora/Unix

Does any one have a snippet of their code that, checks if the network is enabled on a machine and has an active IP Address. I have a networking software that connects to other client machines, Although it works when the machine is connected but if i unplug the cable or disable the network, It throws a whole reem of exceptions. It woul...

What tools do you use to upload files to amazon ec2 Linux instances?

I am using the standard fedora AMI with the LAMP stack bundled and I want to upload files onto the server from my Windows desktop. What is the "normal" approach for this? I am not a UNIX admin by any stretch, although I am more than comfortable with FTP and the basics of a BASH shell. As far as I can see there is no FTP server install...

What are some good places to look for default apache startup settings in Fedora 8?

I'm running a small instance of Amazon Web Service's basic Fedora 8 LAMP stack. The default site is set up at /home/username/helloworld, but my web root of choice is at /home/username/example.com. Problem is, when the server reboots, it starts up using the httpd.conf in /home/username/helloworld. I have no idea where to even start loo...

init never reaping zombie/defunct processes

Hi, On my Fedora Core 9 webserver with kernel 2.6.18, init isn't reaping zombie processes. This would be bearable if it wasn't for the process table eventually reaching an upper limit where no new processes can be allocated. Sample output of ps -el | grep 'Z': F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD 5 Z ...

OpenCV cvNamedWindow not appearing under Fedora

Hello, As the title suggests I'm simply trying to get a named window to come up. I've been working with OpenCV for over a year now, and never had this problem before. For some reason, the window never opens. I've tried running some of my old scripts and everything works fine. As a very cut down example, see below #include "cv.h" #incl...

Amazon EC2 php/fedora htaccess mod_rewrite not working

Amazon EC2 with Fedora, there are 2 instances of the httpd conf, the doc root is automatically set as /home/webuser/helloworld/conf/httpd.conf and the default (which is also there) is /etc/httpd/conf/httpd.conf . Mod rewrite is enabled with both, we are in drupal, the .htaccess is in the folder it needs to be (on Drupal) and it loads t...

how to solve errors like ‘struct iphdr’ has no member named ‘daddr’

I ran a program ( the link is - http://www.security-freak.net/raw-sockets/sniffer_eth_ip_tcp.c ) in my fedora core 5. On compilation , i get the following errors : [root@localhost ~]# gcc sniffer_eth_ip_tcp.c In file included from sniffer_eth_ip_tcp.c:12: /usr/include/linux/ip.h:97: error: expected specifier-qualifier-list before ‘u...

Passenger/mod_rails fails to initialize in Fedora 12 when starting Apache

I am in the process of setting up a server to run a Ruby on Rails application on Fedora 12, using Passenger. I am at the stage where I've installed Passenger, set it up as prescribed, but get the following errors when I restart Apache: [Wed Jan 13 15:41:38 2010] [notice] caught SIGTERM, shutting down [Wed Jan 13 15:41:40 2010] [notice]...

nokia 3110c with fedora

hai friends In my application i want to send sms using nokia 3310c mobile which is connected to a fedora core 8.while connecting the a new file named ttyACM0 is created in /dev directory i tried to send at commands using this file the first at command is returning ok ie., at then i tried at+cmgf=1 return ok then tried at+cmgl="ALL" i...

Using ClearCase with Fedora

My goal is to use ClearCase (7.0.1+) on Fedora (12+, 64bit) in a company where most of the developers are blissfully using the standard CC/Windows development environment. My most recent experience is with git on Fedora 12 and I find that to be a very comfortable and productive programming environment. Two solutions to this problem spri...

Error Installing Gitosis on Fedora Core

I'm trying to follow these instructions on installing gitosis: http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way and these: http:// www.webtop.com.au/installing-git-and-gitosis-on-fedora-10 And at the point where I need to clone the gitosis-admin.git repository from the server I'm setting up, I am receivi...

How to automatically add user account *and* password with a Bash script

I need to have the ability to create user accounts on my Linux ( Fedora 10 ) and automatically assign a password via a bash script ( or otherwise, if need be ). It's easy to create the user via Bash eg: [whoever@server ]# /usr/sbin/useradd newuser But is it possible to assign a password in Bash, something functionally similar to thi...

Send/Receive sms using AT command from fedora in python Application

hai guys Can any one help me to send and receive sms using AT command in python application Os: fedora 8 which phone will be better with linux(nokia,sony ericson,samsung,.....)? In that which all phone will support send /receive sms using AT command? ...

Send AT-command through bluetooth from python application

hai guyz, how can i send AT-command through bluetooth from a python application? OS:fedora 8 Any one please healp me with the code? which package i need to import? from where can i download it? ...

fedora Chrome , cant access localhost or 127.0.0.1 when offline

i have open my httpd or apache , it works when online , but not when offline ... ...

Can you manually set resolution (pixel height/width) for Firefox 3 on Linux?

Trying to get my 800px width swf to take up the full width of the browser, but Firefox always shrinks it to about 2/3 size. Wondering if I can manually set the width FF opens up to, so that my swf will display at full resolution. Running Fedora 10. Any advice is much appreciated. ...

What does "zend_mm_heap corrupted" mean

All of the sudden I've been having problems with my application that I've never had before. I decided to check the Apache's error log, and I found an error message saying "zend_mm_heap corrupted". What does this mean. OS: Fedora Core 8 Apache: 2.2.9 PHP: 5.2.6 ...

how to automate timed running of 2 programs ?

I'm working in linux. I have two programs that run for infinite time ( that is , wont stop unless i kill the process ).i want to run program 1 first and then run program 2 after 20 seconds ( both will have to run simultaneously as one reads a file written by the other ).Currently , i am running the 2 programs by manually keeping track of...

how to kill 2 processes in linux

I have two programs running simultaneously ( in linux ) , with one running at the background. When i press ctrl+c , the prompt returns , but the processes seem to continue.. How to kill them both ? ...

How to Enable Mono on an ISPConfig 3 Server?

I'd like to give my users the ability to use ASP.NET on my server. It is running ISPConfig 3 on Fedora 12. I've searched the internet and was able to come up with this: Serving ASP.NET from ISPConfig This doesn't seem to be enough though. On first try I started getting 500 internal server errors telling me that it was missing some neede...