The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
26 views

Sending char* throug TCP Socket in C (Unix) [migrated]

i'm just learning how to handle socket and tcp connection in C. I've got an application (a long one) which basically sends and receive char arrays with the system call write from server to client and ...
1
vote
0answers
12 views

How to safely upgrade the version of libxml2 on our server

We currently libxml2 2.7.7 installed on our servers. This is a dependency of lxml which we use on two difference clusters of Zope instances runing our 2 Plone CMS applications. We'd like to upgrade ...
1
vote
2answers
119 views

Where to find FCGI app's FreeBSD nginx coredump file?

I'm running a FCGI spawn app on nginx on FreeBSD. It is buggy and I would like to analyse the .core file of the crash. But I don't have any clue where its generated. Does anyone know?
1
vote
1answer
145 views

How to compile mysql56-client to USE_OLD_FUNCTIONS on FreeBSD 10?

EDIT: I solved my issue - I was editing the wrong include file. See the end of this post for the fix. I'm migrating some applications from an old FreeBSD 4.3 server to a new FreeBSD 10 server. ...
0
votes
1answer
50 views

Is the following setuid program a security risk?

I have the following program in .c set as setuid chmod only read/execute by owner and will set it immutable, as i will the php script it invokes. #include <stdio.h> #include <stdlib.h> ...
0
votes
1answer
26 views

Strange issue on netadapter lantronix matchport bgpro

I'm connected to a switch on a LAN, i've tested my matchport on others network and i've not accused this problem. On this istead i seen a lot of UP and DOWN of eht0 on startup. Someone know something ...
-1
votes
1answer
64 views

CVS Beginner ,need software [closed]

I am a CVS beginner i want to begin to use it I read a lot about CVS and what it do As i read i found that i need two software CVS server and CVS client What is the best free software i can use ...
0
votes
2answers
238 views

how to give cname to any device?

I am working on linux environment and c language. I can not use python,perl,PHP and apache. What my exact need is I want to give a same host name to each device connected in the network. I know that ...
0
votes
1answer
185 views

Mysql select query not generating result on cron but is ok via terminal

We have a C program (source is below). We compile it with: gcc -Wall -Wextra -g $(mysql_config --cflags) get1ReceiveSource.c $(mysql_config --libs) -lrt -o get1Receive The select give results ...
0
votes
1answer
228 views

Which Package has net_tstamp.h?

I attempted to compile the source code here: http://os1a.cs.columbia.edu/lxr/source/Documentation/networking/timestamping/timestamping.c?a=x86;v=2.6.32 However, I got a compiler error: error: ...
-3
votes
1answer
367 views

Daemonizing a C program and location of copying the file [closed]

I have to run a C program using monit. so I had to demonize it. what i did was i took a daemon template made some changes and arrived at this file as below, which is a script file: # Source function ...
1
vote
2answers
1k views

Linux Scheduler (not using all cores on multi-core machine) RHEL6

I'm seeing strange behavior on one of my servers (running RHEL 6). There seems to be something wrong with the scheduler. Here's the test program I'm using: #include <stdio.h> #include ...
0
votes
0answers
224 views

Issue with ICMP ping Echo reply

My application is testing devices connectivity using ping ICMP functionality. It is working fine for all devices except for a particular device that is CISCO wireless controller. I am not able to ...
3
votes
1answer
367 views

Manually apply puppet class

I am testing a puppet init.pp file (on windows) that looks something like: class myclass { package { 'java': ensure => installed, provider => 'msi', source => ...
2
votes
2answers
741 views

Getting interface MTU under Linux with PCAP

I am interested in storing packets I sniff using PCAP. As I preallocate the memory I need - i.e. a multiple of the MTU of the interface I am sniffing from, I would like to discover how much memory I ...
1
vote
0answers
237 views

Erroneous IDE errors? (status=0x58 { DriveReady SeekComplete DataRequest })

I keep seeing these appearing on an embedded linux product I work on: hda: dma_intr: status=0x58 { DriveReady SeekComplete DataRequest } ide: failed opcode was: unknown hda: DMA disabled ide0: reset: ...
0
votes
1answer
440 views

Is there a rate limiting tool for linux that can limit rates per process or socket?

I found tc, which allows you to filter by ip, port etc. and then limit rates. But I was wondering if there was anything that could filter by application or limit rate given another process' socket .. ...
0
votes
0answers
120 views

nginx module - can't get started

I'm trying to run the "hello" module from the following URL: http://blog.zhuzhaoyuan.com/2009/08/creating-a-hello-world-nginx-module/ I've done a ./configure ...
1
vote
2answers
570 views

How to Start Linux Daemon program at boot up

I am confused on how to start my Daemon C program at boot-up. The program runs as a Daemon OK when I satrt it from command shell, but now I want it to start up every time at boot-up. I have searched ...
1
vote
2answers
521 views

Issues installing packages on FreeBSD 8.2

I'm running into an issue installing some packages on FreeBSD 8.2. I realize some of what the problem is but am not certain on the process for remedying the issue. For example, I'm trying to install ...
7
votes
2answers
2k views

How can I take advantage of IW10 in kernel 2.6.33?

I've read that 2.6.33+ allows setting custom cwnd. if the IW is 10 by default (for all distros? only some?) how does one view what the current IW is on a particular compiled kernel? references: ...
0
votes
1answer
744 views

how to investigate real problem with TX packet drops in linux?

I have my vps on CentOS running some my own software wich uses very fast algorithm of sending specially constructed RAW TCP packets to numerous systems running my software. I have noticed too many ...
1
vote
1answer
80 views

PCI configuration

I would need an help to solve a problem. I work on a system based on CompactPCI platform. The system is composed by: 3U CompactPCI CPU Blades (based on Pentium M processor) 3U CompactPCI ...
0
votes
3answers
813 views

How to view linux kernel logs online?

I have a kernel module logging input of some sensor while I work with it. I want to see if there is a command that outputs /var/log/messages (for example) but waits for more logs to come. That is, ...
-1
votes
2answers
128 views

Shell script output and input from c programs [closed]

I am new to Shell scripting.How am I supposed to take the output of a c program that i execute and give it as an input to another c program all using shell.
1
vote
2answers
478 views

Check if IP is static or dynamic programmatically in Ubuntu

I'm trying to determine whether my IP has been statically or dynamically assigned in Ubuntu 11.04 from within C. The closest I've come is examining /var/lib/dhcp/dhclient.leases, but that doesn't ...
1
vote
3answers
372 views

Program to monitor new exe files in Windows (C/C++)

I am currently looking for a program or source in C / C++ that will allow me to monitor any new executable files and output the results to a text file Any help would be greatly appreciated
0
votes
1answer
267 views

What can you diagnose from the netstat output on what's causing proxy working madly?

My http proxy server is listening at port 8888(IP changed for security reason): [root@ ~]# netstat -ano|grep 8888 tcp 0 0 212.133.43.195:8888 0.0.0.0:* LISTEN off ...
-1
votes
1answer
136 views

tcpdump related [closed]

Can anyone inform about the commands/codes through which we can perform network monitoring or debugging activity with the help of tcpdump?
0
votes
2answers
102 views

Oracle Installation In HP-UX

I wanna install Oracle 10g in HP UX 11.3(RISC Machine). As per the Oracle installation pre-requisites, it requires HP C/aC++ Compiler to be installed along with the requisite patches for the same. The ...
0
votes
3answers
157 views

unable to properly execute binaries from PHP

I was building an app on a SUSE box, and had a binary called create_group for instance, which had a suid bit and allowed my PHP app to call exec('create_group grpname'); and create a new group (there ...
2
votes
3answers
2k views

How to reinject the packet in the Iptables?

I have a packet inside a packet a.k.a tunneling. So essentially it's of the following form: [IP HEADER 1][IP HEADER 2][PAYLOAD] After reading the first header(done by a library) I will get the ...
1
vote
3answers
674 views

Implementing IP fragmentation

I'm working on an application that does network traffic generation. The application has eth1 in promiscous mode. So it directly handles all incoming and outgoing traffic. One of the features I'm ...
1
vote
1answer
139 views

Compiling native c extensions in Ruby when Ruby is installed in home directory

I have no root on the machine I'm working on, so I've had to install ruby in my home directory. Everything works fine, except that I am not able to compile any native ruby extensions because it cannot ...
16
votes
3answers
19k views

What is the maximum number of files a file system can contain?

Given the current structure of a directory entry on a ext4 file system on Ubuntu, what is the maximum number of files a file system can contain? What is the general method of calculating the maximum ...
0
votes
1answer
1k views

Call to undefined function curl_init()

I've enabled curl in PHP.INI en restarted my machine and Apache. extension=php_curl.dll Still I get the following error in my php script: Call to undefined function curl_init() I'm running XAMP on ...