04-27-2017
Quote:
Originally Posted by
anaigini45
Thank you, for the information.
However, is there a command that can stop the server from listening to port 10000?
I need to stop the listening on this port.
If the issue is about this port number specifically, you can configure apache to listen to a different TCP port by editing the /etc/apache2/httpd.conf file (or a file referenced by it), "Listen" directive.
Otherwise, there is no way to configure apache not to listen on any port, which would be quite pointless, just stop the server.
---------- Post updated at 17:56 ---------- Previous update was at 17:51 ----------
Quote:
Originally Posted by
rbatte1
A good tool is lsof
As long as it is installed which is often not the case, "lsof" not being part of Solaris distributions. See
How to install pkg lsof in Solaris 11?, especially the last posting.
10 More Discussions You Might Find Interesting
1. Solaris
Well, i changed my lan card and finally i got it up and running, i have /etc/resolv.conf with
domain xxx.xxx
nameserver xxx.xxx.xxx.xxx
and it was working with me earlier with the old lan card, with the new one i added it ip using auto-dhcp and its received an ip from my dhcp and it can ping... (4 Replies)
Discussion started by: XP_2600
4 Replies
2. UNIX for Dummies Questions & Answers
how do u check if a daemon is running in AIX..
Is it ps -ef|grep daemon
lssrc -s demon ???
Thanks! (0 Replies)
Discussion started by: karthikosu
0 Replies
3. Windows & DOS: Issues & Discussions
Dear Sir / Madam,
With due respect, I am putting forwarad a question that whenever I am trying to check the current Service Pack & Hotfixes in Windows XP, I am getting the response like as under:
(Windows can't find the" qfecheck.exe " check it again) in GUI mode
... (1 Reply)
Discussion started by: swapan
1 Replies
4. Shell Programming and Scripting
hi,
i am new to this scripting stuff so please help.
i need a script that should check network connection while process.bsh is running which connects to a server for some time (e.g. 30 secs to a minute) and I wanted to make sure that network interruption does not happen during this time period... (2 Replies)
Discussion started by: bun $ ny
2 Replies
5. Shell Programming and Scripting
HI CAN ANY ONE HELP ME FOR BELOW QUESTION
CHECKING AVAILABILITY OF SERVICE IN LINUX (2 Replies)
Discussion started by: satheeshkr_cse
2 Replies
6. Shell Programming and Scripting
How can I tell, in a shell script, if a certain service is running? I know how to do this on the command line, but not in a script. Is an error thrown somehow that I can check?
Thanks. (6 Replies)
Discussion started by: daflore
6 Replies
7. UNIX for Dummies Questions & Answers
May i please know
1) How to check if FIFO process is down?
2) How to bring FIFO up and running?
we are using redhat Linux OS and bash shell
Thank you. (1 Reply)
Discussion started by: Ariean
1 Replies
8. Shell Programming and Scripting
I want to check the postgres service for client PC which is remotely placed through shell script , whether the Postgres service is working or not.I don't have an idea to develop this script.Please give me a code.
Client PC IP Address:
10.66.1.133 (2 Replies)
Discussion started by: kannansoft1985
2 Replies
9. Red Hat
Hi
How ssh service at all levels always running in her file /etc/inittab?
vi /etc/inittab
10::respawn:/etc/init.d/sshd
I added this line
& save
run init q
But it did not (6 Replies)
Discussion started by: mnnn
6 Replies
10. Shell Programming and Scripting
Hi
I have created a PowerShell script which successfully checks whether windows service pgsql-9.2 is running.
I have tried to call that PowerShell script with a shell/bash script within a LINUX machine but have been unsuccessful.
Is there a way of a shell/Perl script to check whether a... (5 Replies)
Discussion started by: simpsa27
5 Replies
LEARN ABOUT MOJAVE
git-instaweb
GIT-INSTAWEB(1) Git Manual GIT-INSTAWEB(1)
NAME
git-instaweb - Instantly browse your working repository in gitweb
SYNOPSIS
git instaweb [--local] [--httpd=<httpd>] [--port=<port>]
[--browser=<browser>]
git instaweb [--start] [--stop] [--restart]
DESCRIPTION
A simple script to set up gitweb and a web server for browsing the local repository.
OPTIONS
-l, --local
Only bind the web server to the local IP (127.0.0.1).
-d, --httpd
The HTTP daemon command-line that will be executed. Command-line options may be specified here, and the configuration file will be
added at the end of the command-line. Currently apache2, lighttpd, mongoose, plackup and webrick are supported. (Default: lighttpd)
-m, --module-path
The module path (only needed if httpd is Apache). (Default: /usr/lib/apache2/modules)
-p, --port
The port number to bind the httpd to. (Default: 1234)
-b, --browser
The web browser that should be used to view the gitweb page. This will be passed to the git web--browse helper script along with the
URL of the gitweb instance. See git-web--browse(1) for more information about this. If the script fails, the URL will be printed to
stdout.
start, --start
Start the httpd instance and exit. Regenerate configuration files as necessary for spawning a new instance.
stop, --stop
Stop the httpd instance and exit. This does not generate any of the configuration files for spawning a new instance, nor does it close
the browser.
restart, --restart
Restart the httpd instance and exit. Regenerate configuration files as necessary for spawning a new instance.
CONFIGURATION
You may specify configuration in your .git/config
[instaweb]
local = true
httpd = apache2 -f
port = 4321
browser = konqueror
modulePath = /usr/lib/apache2/modules
If the configuration variable instaweb.browser is not set, web.browser will be used instead if it is defined. See git-web--browse(1) for
more information about this.
SEE ALSO
gitweb(1)
GIT
Part of the git(1) suite
Git 2.17.1 10/05/2018 GIT-INSTAWEB(1)