12-13-2013
Why don't use apachectl to start it?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I installed FreeBSD6.x and apache2.x using gzip the tar files.i then gave ./configure command.It is know that by default apache2 will be created in /usr/local/apache2 but when i give ./configure command apache2 is not created and iam not able to execute apachectl start it says command not... (2 Replies)
Discussion started by: kumarangopi
2 Replies
2. UNIX for Advanced & Expert Users
I have synced two linux machines; /home, /var/lib/mysql, and /var/www. As soon as I synced /etc/passwd and /etc/shadow I lost httpd and mysqld service. Anybody has any idea what caused httpd and mysqld down?
When I try "/sbin/service httpd fullstatus" it gives "Elinks: Connection refused".
... (5 Replies)
Discussion started by: kumarrana
5 Replies
3. Web Development
Hi,
I have a bit problem with my server.. The httpd server seems to be running and all but the websites which are hosted on it are not opening .. any hints what else it might be, here is what I get when /etc/init.d/httpd status
Thank you for your replies (6 Replies)
Discussion started by: c0mrade
6 Replies
4. Red Hat
Hi there
I have installed httpd and telnet-server on RHEL5 standalone machine.
Normally when i install these services they work once i
edit /etc/xinetd.d/telnet
disable = no
start httpd and xinetd services ..
#chkconfig --level 345 httpd on
#chkconfig --level 345 xinetd on
... (4 Replies)
Discussion started by: dplinux
4 Replies
5. Red Hat
Hi, I was wondering if someone could help me out here. I am super-paranoid, so am trying to limit what PHP files can be executed on this server. I have a small list of files that I want to allow. The rest, deny:
<Files ~ "\.(php|php3)$">
order allow,deny
deny from all
</Files>
I... (0 Replies)
Discussion started by: Lobster
0 Replies
6. Red Hat
I am working with CentOS 6.5.
Indeed the document root /var/www/html is a directory and it is a mount point of one file system (not NFS)
I observed, if I unmount that file system, I could able to start httpd.
Is it restricted in CentOS 6.X that the Documentroot can not be a mount point? ... (5 Replies)
Discussion started by: atanubanerji
5 Replies
7. UNIX for Dummies Questions & Answers
e.g.
File name: File.txt
cat File.txt
Result:
#INBOUND_QUEUE=FAQ1
INBOUND_QUEUE=FAQ2
I want to get the value for one which is not commented out.
Thanks, (3 Replies)
Discussion started by: Tanu
3 Replies
8. Red Hat
hi
is it possible ?
explain tome about below items
StartServers 8
MinSpareServers 10
MaxSpareServers 20
ServerLimit 4000
MaxClients 4000
MaxRequestsPerChild 4000
this is my servers 8gig ram & cpu 12 core...
what cann i putting in order this ?
tnx (1 Reply)
Discussion started by: mnnn
1 Replies
9. UNIX for Advanced & Expert Users
Hi,
Most of our systems have the apache customized, and started manually via the command line. One eg :
# ps -aux | grep http
root 6278 0.0 0.0 112708 984 pts/2 S+ 16:32 0:00 grep --color=auto http
root 6398 0.0 0.3 570636 14376 ? Ss Sep17 8:34... (6 Replies)
Discussion started by: anaigini45
6 Replies
LEARN ABOUT MOJAVE
apachectl
APACHECTL(8) apachectl APACHECTL(8)
NAME
apachectl - Apache HTTP Server Control Interface
SYNOPSIS
When acting in pass-through mode, apachectl can take all the arguments available for the httpd binary.
apachectl [ httpd-argument ]
When acting in SysV init mode, apachectl takes simple, one-word commands, defined below.
apachectl command
SUMMARY
apachectl is a front end to the Apache HyperText Transfer Protocol (HTTP) server. It is designed to help the administrator control the
functioning of the Apache httpd daemon.
The apachectl script can operate in two modes. First, it can act as a simple front-end to the httpd command that simply sets any necessary
environment variables and then invokes httpd, passing through any command line arguments. Second, apachectl can act as a SysV init script,
taking simple one-word arguments like start, restart, and stop, and translating them into appropriate signals to httpd.
If your Apache installation uses non-standard paths, you will need to edit the apachectl script to set the appropriate paths to the httpd
binary. You can also specify any necessary httpd command line arguments. See the comments in the script for details.
The apachectl script returns a 0 exit value on success, and >0 if an error occurs. For more details, view the comments in the script.
OPTIONS
Only the SysV init-style options are defined here. Other arguments are defined on the httpd manual page.
start Loads the org.apache.httpd launchd job.
stop, graceful-stop
Unloads the org.apache.httpd launchd job.
restart, graceful
Unloads, then loads the org.apache.httpd launchd job.
fullstatus
Displays a full status report from mod_status. For this to work, you need to have mod_status enabled on your server and a text-based
browser such as lynx available on your system. The URL used to access the status report can be set by editing the STATUSURL variable
in the script.
status Displays a brief status report. Similar to the fullstatus option, except that the list of requests currently being served is omit-
ted.
configtest
Run a configuration file syntax test. It parses the configuration files and either reports Syntax Ok or detailed information about
the particular syntax error. This is equivalent to apachectl -t.
The following option was available in earlier versions but has been removed.
startssl
To start httpd with SSL support, you should edit your configuration file to include the relevant directives and then use the normal
apachectl start.
Apache HTTP Server 2018-07-06 APACHECTL(8)