06-23-2010
any error in server.log?
what happended while start your script?
8080 is listening?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Postfix has an initscript just like sendmail did so while logged in as root, simply type: ntsysv and select postfix.
The message above is from the Redhat postifx FAQ. I tried running ntsysv and postfix is not listed as a selection. I can start postfix manually without any problems, but I need... (2 Replies)
Discussion started by: kmgrady01
2 Replies
2. Solaris
How to start Oracle database automatically when after SunSolaris is being re-booted?
TIA,
Greg (3 Replies)
Discussion started by: greg0320
3 Replies
3. Solaris
Hi,
I have installed oracle 9i on solaris 10 sucessfully. I have configured listener & tnsname.ora file sucessfuly. Even i can start database manully by starting listener first and from sqlplus promt data base sucessfully. Now i want to start the database automatically after system reboots.
I... (2 Replies)
Discussion started by: Sachin Vaidya
2 Replies
4. Red Hat
Hi all,
I'm looking to cover a corner case for an upcoming test cycle. Is there a way to boot a RedHat Advanced Server 4 (update 3) installed on a Power PC machine to use a 32 bit kernel? This would be similar to what is done here -> https://www.unix.com/aix/26204-aix-platform.html
I've done... (0 Replies)
Discussion started by: philrau
0 Replies
5. Ubuntu
Hi masters,
I am still learning trades in kernel. I am trying to learn the basic of daemon programming. Can any one tell me how can I start a daemon automatically during boot up. I will be greatfull if anyone post some example code to the above task.
Also what are... (3 Replies)
Discussion started by: iamjayanth
3 Replies
6. UNIX and Linux Applications
Can any body give me the script to start postgre SQL 8.3.1 when boot linux? (2 Replies)
Discussion started by: shiraz
2 Replies
7. UNIX for Advanced & Expert Users
Hello All
i have a question related to some services,i want to start some services with server linux centos.
i make "chkconfig httpd on" and "chkconfig asterisk on",but when i verify with chkconfig --list i found
httpd 0: off 1: off 2: on 3: on 4: on 5: on 6:... (6 Replies)
Discussion started by: bernard12
6 Replies
8. Ubuntu
Hi all http://ubuntuforums.org/images/smilies/smiley-faces-80.gif,
I am customizing the LIVE CD of Xubuntu 12.04.. I removed the ubiquity package and changed the live username and hostname using uck-gui.. I am almost done with the customization. Now after the splash screen , the text in motd... (1 Reply)
Discussion started by: selvarajvss
1 Replies
9. Linux
Can anyone tell me how to start pc automatically when power comes,
here I just want to start server automatically, on boot, my server starts automatically because I have written some startup commands in rc.local file but if power fails, then how can I boot automatically (2 Replies)
Discussion started by: Akshay Hegde
2 Replies
10. Red Hat
Hello,
I am in the process of learning Linux OS.
How do I run the below lines of code automatically as root on server startup.
cd /opt/program_folder/ServiceManager/bin
nohup ./servce_manager DEV &
Currently, as soon as the server is up and running I log in as root (as this... (6 Replies)
Discussion started by: rparavastu
6 Replies
LEARN ABOUT DEBIAN
httest
HTTEST(1) User Commands HTTEST(1)
NAME
httest - test HTTP driven application
SYNOPSIS
httest [OPTIONS] scripts
DESCRIPTION
httest is a script based tool for testing and benchmarking web applications, web servers, proxy servers and web browsers. httest can emu-
late clients and servers in the same test script, very useful for testing proxys.
OPTIONS
-V --version
Print version number and exit
-h --help
Display usage information (this message)
-n --suppress
do no print start and OK|FAILED
-s --silent
silent mode
-e --error
log level error
-w --warn
log level warn
-i --info
log level info
-d --debug
log level debug for script debugging
-p --debug-system
log level debug-system to log more details
-L --list-commands
List all available script commands
-C --help-command
Print help for specific command
-t --duration
Print test duration
-T --timestamp
Time stamp on every run
-S --shell
Shell mode
-S --shell
Shell mode
-D --define
Define variables
EXAMPLES
httest script.htt
httest -Ts script.htt
SCRIPTS
httest is script based. The following script examples can be but into a scripte i.e. sample.htt and can be called like
httest sample.htt
SIMPLE SCRIPT
Get a page and do expect return code 200 OK.
CLIENT
_REQ www.google.ch 80
__GET /search?q=apache HTTP/1.1
__Host: www.google.ch
__
_EXPECT headers "HTTP/1.1 200 OK"
_WAIT
END
CUT AND PAST SCRIPT
Cut and past from a HTTP stream, i.e we cut the apache host to access it in the second request.
CLIENT
_REQ www.google.ch 80
__GET /search?q=apache HTTP/1.1
__Host: www.google.ch
__
_MATCH body '<a href="http://([^/]*)/" class=l>Welcome! - The <em>Apache</em> HTTP Server Project' APACHE_HOST
_WAIT
_REQ $APACHE_HOST 80
__GET / HTTP/1.1
__Host: $APACHE_HOST
__
_WAIT
END
CLIENT SERVER SCRIPT
We can hold client and server in the same host. Actually multiple client and multiple server. Very useful to test forward or reverse prox-
ies. Or a webapplication which communicat itself with third party servers i.e. mail server.
This is a very basic selfcontained test you can run on any maschine.
CLIENT
_REQ localhost 8080
__GET /foo HTTP/1.1
__Host: localhost
__
_WAIT
END
SERVER 8080
_RES
_EXPECT "/foo"
_WAIT
__HTTP/1.1 200 OK
__Content-Length: AUTO
__
__Hello World
END
SSL SCRIPT
Of course SSL do also work with httest, just put "SSL:" before port.
CLIENT
_REQ localhost SSL:8080
__GET /foo HTTP/1.1
__Host: localhost
__
_WAIT
END
SERVER SSL:8080
_RES
_EXPECT "/foo"
_WAIT
__HTTP/1.1 200 OK
__Content-Length: AUTO
__
__Hello World
END
AUTHOR
Written by Christian Liesch
REPORTING BUGS
Report bugs to http://sourceforge.net/projects/htt
COPYRIGHT
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
httest 2.2.6 June 2012 HTTEST(1)