General :: Command For Restarting Apache?
Jun 14, 2010i know it's a very simple command to restart apache via ssh.
View 13 Repliesi know it's a very simple command to restart apache via ssh.
View 13 RepliesI have just compiled apache with the following command code...
View 4 Replies View RelatedAny one have an idea How to clear apache cache without restarting apache server.
View 5 Replies View RelatedI want to run a linux command with apache through web browser and that's is not working. and it's working properly when I execute this command through terminal, where is the problem?
NOTE: apache have the privileges to execute the command
What's the command to reload .vimrc without restarting vim?
View 2 Replies View Relatedafter restarting Apache site is down?
View 1 Replies View RelatedI am having a problem in that the Web Server (Apache) keeps stopping. I know this as watchdog is emailing me. Then about 15mins later it starts again. I cannot seem to find why. can anyone give me pointers as where to look to find the issue.
View 1 Replies View Relatedi am using ubuntu 10.10. I had installed apache2 and subversion, using webdav, as described in the unbuntu wiki. SVN was working as expected, I could commit files, etc. I then installed php5 and mysql, as described in the ubuntu wiki, and i now get the following on apache restart:
apache2: Syntax error on line 203 of /etc/apache2/apache2.conf: Syntax error on line 2 of /etc/apache2/mods-enabled/dav_svn.load: Cannot load /usr/lib/apache2/modules/mod_dav_svn.so into server: /usr/lib/libgssapi_krb5.so.2: symbol krb5_authdata_context_copy, version krb5_3_MIT not defined in file libkrb5.so.3 with link time reference Action 'configtest' failed.
whats the difference between restarting/stopping apache using 'service httpd restart/stop' and apachectl restart/stop. I know that using 'service httpd restart' is actually a script in /etc/init.d/httpd but what about apachectl?
View 1 Replies View RelatedWhats the proper netstat command to see if Apache hit the MaxClient setting?
View 1 Replies View RelatedI am using rhel5 with ip 192.168.0.254.i am using rhel on vmware 7. when i run links 192.168.0.254 then i got error "bash : links : command not found" i want to know why this error is showing? when i use red hat without vmware then there is no problem.
View 2 Replies View RelatedI am unable to start apache on my linux machine with following errors Starting httpd: Syntax error on line 117 of /etc/httpd/conf/httpd.conf: Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration I am using CentOS5 with apache version httpd-2.2.13
View 99 Replies View Relatedwill the command service httpd restart the apache service if i enable httpsd service in graphical mode
View 12 Replies View RelatedI have a machine with several IP addresses with eth devices like eth0, eth0:1, eth0:2, eth0:3. Can I restart only eth0 without bringing down eth0:1? It would be really convenient to be able to log in via SSH on eth0:1 and restart eth0 without locking myself out or not being able to bring the network back up.
If I stop eth0, will that automatically stop all the others?
i have a problem with my server, it was rebooted to get a special upgrade and it never turned on again. the support told me it's giving grub error 15, file not found. my server is a debian lenny 5 32bit one in raid 1. my menu.lst is:
[URL]
and fdisk -l gives:
Quote:
root@grml:/# fdisk -l
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
[code]...
Disk /dev/md0 doesn't contain a valid partition table
I am attaching a LTO-3 tape drivce into my RHEL5 linux machine. Every time i used to restart my machine to detect the tape drive is there any way to rescan the buses to detect the newly attached scsi devices. In solaris "devfsadm" and "iostat" is there. I need the same kind of thing in linux.
View 2 Replies View RelatedI have Kubuntu 10.10. and it doesn't apply changes I did from terminal or any customization except after rebooting.
View 1 Replies View RelatedI am running LMDE with xfce desktop version 4.8.0 and Windows 7 on a sony vaio. Everything works fine except for one minor inconvenience... When I am using xfce and want to reboot to windows, I have to click shutdown,turn the computer off then back on to get to the grub menu. If I click restart, it reboots back into xfce without ever showing the grub menu.
View 1 Replies View RelatedCode:
#!/bin/bash
ulimit -c unlimited
while true; do ./executeable; done
When i will write this in console it will run executeable file and it will generate report : core.pid after crash so i can gdb the report. The application after crash will restart how can i prevent restarting the application after it's crash?
I need to increase the default stack size on Linux. As I know there are usually two ways:
ulimit -s size
/etc/security/limits.conf
The ulimit method only works as long as I am logged in.
limits.conf will work after a restart.
Is there a possible way to increase the limit without restarting?
I have Win XP SP2 installed on my machine. I wanted to try Ubuntu and i created a CD an and wanted to install the OS. The CD booted and i selected the option of "using The OS together and selecting which one to boot" or something similar to that. Ubuntu and changed MBR and installed itself. However on restarting I am getting Error 18. Now i am unable to use my computer at all.
In recover my XP at the moment and how to install Linux so that it does not mess around with any other OS?
I have GShutdown 0.2 on ubuntu .when i put it on with some time it is just restarting the session and going directly to login window. "sudo shutdown -P -- --" is working properly so why the GShutdown 0.2 is not??
View 1 Replies View RelatedI've installed a JBoss-JON-Agent on a Linux-machine. Normally to start the JON-Agent I have to go to /opt/jboss/VGER1/Agent/bin/ and run ./ rhq-agent-wrapper.sh startBut sometimes the Linux-machine will be restarted and I have to start the JON-Agent manually.Now what I want is: when the Linux-machine is restarting, the JON-Agent will be restarted.
View 4 Replies View RelatedPossibly related to this previous question, I would like to be able to run a task for a specified amount of time, then stop/kill it, then start it again. Specifically, I run the Folding@Home application on my Linux workstation. Periodically, it will have trouble logging-in to the home server, and will sit idle for a long time, but not release memory/resources it has claimed (yes, I realize this is likely a bug in the tool, but I can't fix that currently). Typically just the act of killing and starting the tool will allow it to check-in again. So, I would like to be able to run something like:
run_for <time> ./fah6
Does such a tool exist, or should I write a wrapper than nukes the fah6 client after, say, a week and restart it?
I just made a minor change to the smb.conf file, is there a way to force the samba service to read that change without restarting samba completely?
View 6 Replies View Relatedthe only issue that i have: the wireless is always disabled.
when i install new updates, the wireless comes back enabled and everything is fine but when i restart ubuntu its disabled again !!
i have a DELL studio 1537 laptop (broadcomm wifi card)with a win7 service pack 1/linux ubuntu 10.04 LTS dual boot.
Apache is complaining about an error with SetEnvIfNoCase when I tried to start it. I've checked that the module /usr/local/apache2/modules/mod_rewrite.so exists. Also the 2nd code block below shows that I'm using the <IfModule rewrite_module></IfModule> tags so if the module isn't available, Apache shouldn't have read that part of the file. The fact that it's reading inside that tag pair means it's able to load the mod_rewrite.so DSO.
Code:
[root@test httpd-2.2.19]# service httpd restart
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 203 of /usr/local/apache2/conf/httpd.conf:
Invalid command 'SetEnvIfNoCase', perhaps misspelled or defined by a module not included in the server configuration
[Code]...
I ssh to a remote server which is running in SUSE. And I want to install apache2.0 there. Then I used yast2 to install it. But after installing it, I go to the terminal and type" apache -version" to check if apache is installed there. And it said "-bash: apache: command not found". I don't if I haven't successfully installed it, or I have installed it but just haven't put it into PATH yet. So, my problem is that can anyone tell how to check if I have installed it? If I have installed it, then what is the path of the directory it locates? And if I haven't probably installed it, then can you tell me the how I can installed it? And I am asked to install apache mod_wsgi as well.
View 9 Replies View RelatedI am trying to install Zend Server, and that went well. Apache and all the other items were installed.
But when I go to start Apache, I get this error:
Quote:
root@laptop:~# /etc/init.d/apache2 restart
* Restarting web server apache2 Syntax error on line 6 of /etc/apache2/sites-enabled/zendserver_gui.conf:
Invalid command 'php_admin_flag', perhaps misspelled or defined by a module not included in the server configuration
[fail]
And on line 6: php_admin_flag tidy.clean_output off
The rest of the file is below:
Quote:
# Warning: Modifying this file will break the Zend Server Administration Interface
Listen 127.0.0.1:10083
NameVirtualHost 127.0.0.1:10083
# do not allow override of this value for the UI's Vhost as it should always be off when generating non-html content such as dynamic images
code....
1-Can I have the shell command which allows me to have the number of reques ts/seconds under the Apache server?
2-And the number of sons threads in service/wait?