Red Hat / Fedora :: Sent The Apachectl File To Acapche2 Instead Of Apache2?
Jan 5, 2011
I am working on Apache2, and am up to the 'test' phase of the process. I accidental sent the apachectl file to acapche2 instead of apache2:
[rootlocalhost sbin]# mv apachectl /acpache2
I should have done: mv apachectl /usr/local/apache2/bin
That didn't happen..
I echoed ; echo ./apachectl
./apachectl
Sooo, I know its alive, just have no idea where, help? I need to get this file back to start the HTTP Sever.
View 4 Replies
ADVERTISEMENT
Oct 1, 2010
I finally got my path to save so apachectl is in my path. I can execute apachectl start as a regular user, although the server wont start because there is some sort of lock. When I sudo apachectl start , I get sudo: apachectl:command not found. My visudo file looks like this:Defaults env_keep += "PATH"
User_AliasOWnER=blake
root All=(ALL) ALL
OWNER ALL= NOPASSWD:ALL
View 14 Replies
View Related
Jan 14, 2011
I am using python as a cgi for a simple game that i'm planning to run on a website. It requires the user to enter his name and age. This is saved in a file newly created in his/her name. However, I'm getting this error The above is a description of an error in a Python program, formatted
63 for a Web browser because the 'cgitb' module was enabled. In case you
64 are not reading this in a Web browser, here is the original traceback:
65
66 Traceback (most recent call last):
67 File "/var/www/webprog.cgi", line 51, in <module>
68 main()
69 File "/var/www/webprog.cgi", line 44, in main
[Code]...
View 4 Replies
View Related
Nov 19, 2010
I have suse10 64 bit installed. I am setting up a svn server on it. After installation and adding the modules ,while reloading the apache2 it's throwing the error as: HTML Code: httpd2-prefork: Syntax error on line 113 of /etc/apache2/httpd.conf: Syntax error on line 31 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib64/apache2/mod_dav_svn.so into server: /usr/lib64/libsvn_subr-1.so.0: undefined symbol: apr_memcache_add_server
View 9 Replies
View Related
Dec 9, 2009
I am getting this error
Starting web server: apache2[Wed Dec 09 15:36:40 2009] [warn] NameVirtualHost XX.XX.XX.XXX:80 has no VirtualHosts(99)Cannot assign requested address: make_sock: could not bind to address 68.178.232.100:80
no listening sockets available, shutting down Unable to open logs failed!
also what is 68.178.232.100
View 1 Replies
View Related
Aug 24, 2009
I am trying to access log file which located in /etc/log/apache2. I could get into the directory using `su`. I was able to run ls command under the directory and everything was file. I could run a command,
ls -d /var/log/apache2/*
However after I switched to my account, I got an error. sudo ls -d /var/log/apache2/* ls: cannot access /var/log/apache2/*: No such file or directory
I want to use this command in a bash script to get a list of log files. Should I write the script as root and run it as root?
View 3 Replies
View Related
Dec 31, 2010
I have a Debian 5.0.7 installed to my server. I try to install Apache and SVN to this server. I use this tutorial: http://www.howtoforge.com/subversion...-ubuntu-server
But is unfortunately not working.
My apache virtual host configuration file is:
Code:
This passwd file containing 1 user:
Code:
The rights for the passwd file:
Code:
And apache2 is running like this:
Code:
And if I try to login to my page I got an "Internal Server Error" page.
And my error is in the apache log is this:
Code:
So I'm a little bit confused about it. The apache2 should have rights to open this file. I checked it, the file is exist and the apache2 is have rights for it. I don't understand it.
View 1 Replies
View Related
Aug 18, 2010
I have a LAMP server set up (under Ubuntu 10.04 64-bit), and have a PHP application running on the Apache2 server. I copied the "default" website setup, and created a new one with the root at "/home/kota/WebRoot/".
When running my PHP application though, I come across a major issue: The script doesn't seem to be able to modify any files that are currently on the system, or create new ones.
However, this limitation is restricted to when running through Apache2. In other words, if i run it by typing "php5 myapplication.php" from the terminal, it works without a flaw. This leads me to believe that there is a permissions issue, disallowing Apache2 to create and modify files anywhere on my system.
Although it shouldn't make much of a difference, here is the basic information that I feel I should provide:
Code:
View 2 Replies
View Related
Feb 20, 2010
I'm doing a custom version of mod_musicindex, but can't get the cache to write like it's supposed to.example cache file: /tmp/testing/cacheNow, normally I think setting the dir testing and file cache to www-data:www-data would be enough. Permission denied. I tried 666 as well, figuring why not. Permission denied.777 works, but thats pretty far out there...Am I using the wrong user/group? I figured apache modules would run as apache.Do I need to use 777? 700 or 744 don't work, which is making me think it's not running as apache...
View 2 Replies
View Related
Oct 3, 2010
Whenever I type in my IP address or local domain name in my browser (http://myipaddress), my entire directory tree shows up in the browser. Normally I would not mind this behavior but I am networking my main computer through a router and if anybody within the range of the router types in my IP address in their browser (using their computer), I think they too will be able to access every file on my computer. How do I disable this?
I am running Linux Mint 9 (based on Ubuntu Lucid) and Apache2. I would rather just be limited to using Nautilus to connect to the HTTP server using a password.
View 4 Replies
View Related
Mar 31, 2010
I've just moved on to 10.04 from 9.10. The program worked fine in 9.10. I *may* have overwritteen a conf file in the upgrade...
I now get the error as below:
My userdir.conf is like this:
<IfModule mod_userdir.c>
UserDir public_html
UserDir disabled root
<Directory /home/*/public_html>
[Code]....
and I have the PHP5 module installed. I vaguely recall that I may have had PHP4 installed - would the upgrade have removed it? Is there anywhere I can get it from to try? Anything else to do?
View 9 Replies
View Related
Apr 2, 2011
Anyone have a simple apache2 configuration file package I could get?I'm trying to serve a internal network site for files throughout my network, (music, video, etc). I remember when I did this with Redhat 5-6 and all I had to do was redirect the folder I wanted to share over apache and it worked. You could click on the file you wanted and it played, etc.For some reason I can't even get apache2 that ships with Ubuntu 10.04.02 to even have a "It worked!" internal site or anything. I haven't configured apache2 ever before. It seems to have grown from one or two configuration files to five or so!
View 7 Replies
View Related
Feb 15, 2011
I am installing some SSL certificates on my web server, however I have a couple questions, as I'm not familiar with this process
1) I'm not sure which directory to put them in? What is good practice? Is /var/www/secure a good location so long as I restrict access to the secure directory?
2) I am told to edit the following in my ssl.conf file of apache2
SSLCertificateFile
SSLCertificateKeyFile
SSLCertificateChainFile
However, I cannot find this file, ssl.conf. Nor can I find the above directives in my main apache2.conf file. Where is the ssl.conf file? Or alternatively, could I just add the above directives to my apache2.conf file?
View 2 Replies
View Related
Jun 1, 2010
I'm trying to setup apache2 to drop a core file when it crashes. I know that you need to set the CoreDumpDirectory directive in /etc/apache2/apache2.conf and run "ulimit -c unlimited" from the command line (and restart apache after the ulimit command). But, on a reboot, even though the output of "ulimit -a" shows unlimited, apache2 will not create a core dump file unliess you set ulimit -c unlimited again and restart apache2. There must be a way to configure apache2.conf or something so that ulimit -c unlimited is set prior to apache2 starting, no?
View 2 Replies
View Related
Aug 16, 2011
How can I allow multiple SSL certificates in the default-ssl file in /etc/apache2/sites-available/ folder? I tried
Code:
NameVirtualHost *:443
And
Code:
<VirtualHost *:443>
but I get the error
[Code]...
View 2 Replies
View Related
Nov 11, 2010
I have a server running both apache2 (default port) and squid (3128 port) I set an squid ACL so my LAN 192.168.1.0 gets filtered. ok all works fine except for external web petitions. When i try to access my web server from the outside, using my public ip, i get a SQUID DENIED. i guess that is because in squid ACL's there is something like: http_access all deny at the end of the file. How can i allow external petitions to my web?
View 4 Replies
View Related
Nov 19, 2010
I have suse10 64bit and I was setting up SVN server on it. After all required setup while reloading apache2,its giving the error:
Code:
httpd2-prefork: Syntax error on line 113 of /etc/apache2/httpd.conf: Syntax error on line 31 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib64/apache2/mod_dav_svn.so into server: /usr/lib64/libsvn_subr-1.so.0: undefined symbol: apr_memcache_add_server
View 6 Replies
View Related
Oct 11, 2010
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 Related
Jan 25, 2010
I need a How to: on setting up IP Aliases for Apache2 IP-Based Virtual Hosts
View 2 Replies
View Related
Jul 4, 2009
httpd have been install by default and I don't start it as services. I have install apache2 but don't want to start as service, I can't add it into the chkconfig. When I try to remove httpd, fedora also want to remove these software.
gnome-user-share i586 2.26.0-2.fc11 installed 809 k
httpd-manual i586 2.2.11-8 installed 3.5 M
mod_perl i586 2.0.4-8 installed 6.3 M
[code]....
php and webalizer I don't care as I want to install the new version, but is their any problem removing the other one? Also I want to pount the apache2 documentroot to var/www/httpd but when I do this and try to see the website I got a 403 error (not autorize)
View 1 Replies
View Related
Jan 10, 2010
If I have apache2 without mod_ssl, is it possible to add it using apxs?
View 1 Replies
View Related
May 1, 2010
I need to know how to install php when apache is in /usr/local/apache2
View 6 Replies
View Related
Dec 28, 2009
I've got a basic apache2 setup running w/ multiple virtual hosts, would like to try SSL (i.e. https).
I've got the IP networking side well and truly sorted but I need guidance on the apache/ssl config side. I have installed mod_ssl.
Does anyone have a good guide for Fedora that's recent? All I can find are ubuntu and old fedora 'core' guides, so not sure how much applies to F12. The best ones I can find so far is
https://help.ubuntu.com/community/fo...er/apache2/SSL
http://httpd.apache.org/docs/2.0/ssl/ssl_howto.html
View 7 Replies
View Related
Mar 11, 2011
Installation of SUSE 11 server now when I try to configure apache2 (opening port 80) I get a "cannot adjust apache2 service" error??? Can anyone shed some light on this.
View 1 Replies
View Related
Jul 31, 2010
I have my own website running on my Ubuntu 10.04 server using Apache2. I have a log in page that I would like to use ssl (https) on. I have set up quite a few websites using virtual hosts, but I have never messed with ssl. I know you have to generate a certificate using openssl (which i have installed). I have been trying to find some tutorials online, but everyone of them is different...and nothing seems current.
View 1 Replies
View Related
Mar 5, 2009
Does anyone know what the -k switch does? i.e., apache2 -k restart? I can't get much out of google but on my sarge based web server it's only with the -k switch that a restart actually works.
View 3 Replies
View Related
Aug 3, 2010
I installed apache2 with 'zypper in apache2 apache2-doc' and there's no man pages,
tried
man apache2
man apache
man httpd
View 4 Replies
View Related
Sep 23, 2009
I have a pseudo test server that I irresponsibly let both a need for develop and running of Sid (unstable) version of Debian.
The long story short of it is I was playing around with functions that needed newer versions of software than was available in the stable release so upgraded. That was a done deal and has been working fine for many months. I then needed to upgrade a particular file for an unrelated service and did the dumb move of a full apt-get upgrade. Well in the 800 or so files it updated, one of them has broken Apache.
Apache will start from the command line (/etc/init.d/apache2 start) without any errors, but when I try to navigate to any page it serves I get "500 Internal Server Error".
Looking at the error log I see:
Code:
[Wed Sep 23 11:02:28 2009] [notice] Apache/2.2.13 (Debian) DAV/2 PHP/5.2.11-1 with Suhosin-Patch mod_ssl/2.2.13 OpenSSL/0.9.8k configured -- resuming normal operations
[Wed Sep 23 11:02:31 2009] [error] [client 192.168.1.1] SoftException in Application.cpp:221: File "/Forum//index.php" is not in document root of Vhost "/var/www/phpBB3"
[Code].....
View 3 Replies
View Related
Jun 14, 2011
I am running fedora 14 linux with mysql, php and apache. Just get done with installing each app, But the php doesn't seem to be enabled in apache, since test file doesn't work:
<?php
phpinfo();
?>
View 4 Replies
View Related
Sep 24, 2010
I have installed the following packages on Linux SUSE:
-Apache 2.2.13
-PHP5.3.3
-freeradius + dialupadmin (web interface for freeradius)
since the htdocs and whole dialupadmin are in .php3.i cannot open the web interface, firefox keep asking me if i want to save the file, or chose a specific program tu run.
View 9 Replies
View Related