08-17-2007
Porting linux ftpd code to Aix
Dear All,
I have already ported the linux ftpd daemon to AIX earlier. When the ftp client does a "DIR" command, I have intercepted the call to the remote machine at the server code and added my code to browse IBM Message Queue, so that the client will see the files in the IBM Message Queue instead of the remote file system
Now the problem is, IBM MQ Series is too costly for the clients. Now I plan to replace the IBM Message Queue with Unix Message Queues.
Will Unix Message Queues have the capability to handle large xml files say 50MB,100MB files? This is my Question. Please help me to solve this problem
cheers
Siva
10 More Discussions You Might Find Interesting
1. AIX
Hi ,
Can someone help me get some support documents on the common issues/pitfalls and any other details with respect to porting the application running on C codes from HP-UX to AIX. Help will be valuable.
Thanks a lot (0 Replies)
Discussion started by: Sinbad
0 Replies
2. Programming
We are in requirement to port relative file organization files from OpenVMS V7.1-1H2 to AIX Unix. These file contains multiple binary records each of 512 bytes but it could be possible that a few bytes are padded up to fill the record structure.
One of our thought process is to write a program... (1 Reply)
Discussion started by: S.P.Prasad
1 Replies
3. Programming
Hi All,
I would like to know of the steps needed for the implementation of a shell in AIX. This shell is written by one of our developers and is currently running in Solaris. This needs to be ported to AIX. Does any of you guys know the implementation steps to do this. If so please do let me... (5 Replies)
Discussion started by: dhanamurthy
5 Replies
4. UNIX for Advanced & Expert Users
Dear All,
I want to port GNU ftpd daemon server from Linux to AIX. I want to download GNU ftpd daemon for linux. Please tell me from where I can download this code and which code will be most suitable for this porting? Please help in this regard.
Thanks
Siva (0 Replies)
Discussion started by: srksn
0 Replies
5. AIX
Hi, I'm trying to get this script to work on an AIX 5.3 box, I couldn't get pgrep for AIX, I also realize that ps works differently on the IBM boxes. Could anybody just give me the specifics of a work around for my problem, I'll adjust the whole script:
#!/bin/bash
# applabs.com
#to do:
#... (3 Replies)
Discussion started by: thebytegrill
3 Replies
6. AIX
Hi,
When we tried to port our Pro*C programs from sun solaris to AIX,
We get following error messages:
The following library is not available... This library file is required for Pro*C Object Linking and Bin creation.
/usr/lib/libnsl.so.1.
Can anybody help us on this ?
Regards
rbs100 (1 Reply)
Discussion started by: rbs100
1 Replies
7. Shell Programming and Scripting
Hi,
I am porting one shell script from Linux to AIX. I had .ksh file and i have changed it to .sh file for aix. on linux this script is running fine but on aix it gives me "unexpected end of file" error.
Could any one suggest me what to do to port this script error free?
Thanks in... (6 Replies)
Discussion started by: joy_1
6 Replies
8. AIX
Hi all,
I am facing problem in porting to 64 bit AIX especially with compiling options to compile and run under 64 bit kernel.Can any one put some light on the issue
thanks in advance
vishal (14 Replies)
Discussion started by: vishalzone2002
14 Replies
9. UNIX Desktop Questions & Answers
Hi All,
I am ftping a file from unix to mainframe. Now the problem arises that i want to check if the file was ftpd or not. Is there any way i could do this? (4 Replies)
Discussion started by: vikas.rao11
4 Replies
10. AIX
I am orignally a VC++ programmer, this is the my post in UNIX form.
I have an existing source code, that was developed in old HP-UX system, the objective is to make it work on new AIX system.
It does'nt appear that AIX has the necessary libraries or even run the application if its... (0 Replies)
Discussion started by: maverick786us
0 Replies
LEARN ABOUT SUSE
ocf_heartbeat_pure-ftpd
OCF_HEARTBEAT_PURE-(7) OCF resource agents OCF_HEARTBEAT_PURE-(7)
NAME
ocf_heartbeat_Pure-FTPd - Manages a Pure-FTPd FTP server instance
SYNOPSIS
Pure-FTPd [start | stop | monitor | validate-all | meta-data]
DESCRIPTION
This script manages Pure-FTPd in an Active-Passive setup
SUPPORTED PARAMETERS
script
The full path to the Pure-FTPd startup script. For example, "/sbin/pure-config.pl" (optional, string, default /sbin/pure-config.pl)
conffile
The Pure-FTPd configuration file name with full path. For example, "/etc/pure-ftpd/pure-ftpd.conf" (optional, string, default
/etc/pure-ftpd/pure-ftpd.conf)
daemon_type
The Pure-FTPd daemon to be called by pure-ftpd-wrapper. Valid options are "" for pure-ftpd, "mysql" for pure-ftpd-mysql, "postgresql"
for pure-ftpd-postgresql and "ldap" for pure-ftpd-ldap (optional, string, no default)
pidfile
PID file (optional, string, default /var/run/resource-agents/pure-ftpd-default.pid)
SUPPORTED ACTIONS
This resource agent supports the following actions (operations):
start
Starts the resource. Suggested minimum timeout: 20s.
stop
Stops the resource. Suggested minimum timeout: 20s.
monitor
Performs a detailed status check. Suggested minimum timeout: 20s. Suggested interval: 60s.
validate-all
Performs a validation of the resource configuration. Suggested minimum timeout: 20s.
meta-data
Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5s.
EXAMPLE
The following is an example configuration for a Pure-FTPd resource using the crm(8) shell:
primitive example_Pure-FTPd ocf:heartbeat:Pure-FTPd
op monitor depth="0" timeout="20s" interval="60s"
SEE ALSO
http://www.linux-ha.org/wiki/Pure-FTPd_(resource_agent)
AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors)
resource-agents 1.0.3 07/05/2010 OCF_HEARTBEAT_PURE-(7)