Red Hat / Fedora :: Php Exec(); Can't Reload Httpd?
Apr 4, 2010
When I try to reload httpd service through commandline interface directly, it works. But when I tried to reload service of named and httpd using php exec(), it doesn't works.service named reloadservice httpd reloadThe service named is OK but httpd got problem.My OS is CentOS 5.4 .
My script:
echo exec("service named reload"); result is " Reloading named: [OK] "
but
[code]....
View 3 Replies
ADVERTISEMENT
Sep 19, 2010
I have installed fedora 13 in my system. httpd server is also installed. when I tried to start the service of httpd, following error message displayed: Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80
View 1 Replies
View Related
Nov 30, 2010
We have ubuntu server and bind9 installed and setup.When I issue rndc reload or /etc/init.d/bind9 reload I got this:rndc: connection to remote host closedThis may indicate that* the remote server is using an older version of the command protocol,* this host is not authorized to connect,* the clocks are not syncronized, or* the key is invalid.If I issue named-checkconf /etc/bind/named.conf I got this:/etc/bind/named.conf.local:165: unknown key 'rndc-key'I got the key files in the right location but I'm not sure if we even need to use them.
View 2 Replies
View Related
Dec 5, 2010
eog notices when a PNG file changes, and offers to reload it.But it does not reload until I move the mouse over to the monitor where I stuck eog, and click ReloadHow can I make eog just reload automatically without asking -- the way evince does, for PDFs?
View 1 Replies
View Related
Jul 13, 2010
I make partition on fedora-12, after that it gives me warning
kernel was unable to re-read the partition table on /dev/sda (Device or resource busy). This means Linux won't know anything about the modifications you made until you reboot.
Is it possible to reload partition without reboot, i tried partprobe as well but no luck.
View 1 Replies
View Related
Sep 24, 2010
trouble when I log in the fedora as a normal user(not root) today. When I fill the username and the password press enter key. Then pop up a little window locate at topleft corner. And have one line message : "/usr/bin/xterm : Could not exec /bin/bash : Permission Denied"hen I log in as root, it's ok. And when I open shell and type "su username" then the console print "su: /bin/bash: Permission denied"I have checked the perms of "/bin/bash" , it's 755. And I have tried all things which suggested from articles searched through Google. like change / or /root and other directory's permissions but failed
View 4 Replies
View Related
Dec 24, 2010
I'm new to Apache configuration so could be misunderstanding but shouldn't the characters highlighted in red below be removed?
Code:
View 9 Replies
View Related
Nov 7, 2009
I was told to simply go into the fstab folder to allow myself permissions to execute files without becoming root, but instead of following it blindly I need a 2nd opinion. I cannot install a specific program because of configuration problems even though I downloaded all the gcc, g++ etc packages.
View 14 Replies
View Related
Jul 1, 2011
I have copied /usr/share/gnome-shell/themes/* to ~/.themes/myShell/gnome-shell and also the folders from Adawita and my customisations etc.
When I look in the overview - themes I can select my theme however when i reload the shell the themes option has disappeared and i get this error in looking glass:
why I get this?
Also if I load gnome-tweak-tool and select another theme, move my custom folder out of ~/.themes and reload the shell I get the themeselector loading properly again.
View 6 Replies
View Related
Nov 9, 2009
accidentally I do something wrong with my server and the httpd folder missing and I need it to setup my mail server and anyone can help me what can I do without reinstalling my Cent OS? Here is the error msg :
[root@mydomain etc]# service httpd stop
Stopping httpd: [FAILED]
[root@mydomain etc]# service httpd restart
[code]....
View 3 Replies
View Related
Jul 30, 2010
We are using this url on our testing box and this ip is reverse proxy IP ( 10.192.64.52)
Without reverse proxy:- URL is working fine.
http://10.192.16.77/akc-qa/arsys/ser...TS000000001430
But with reverse proxy its putting escape [%25] in between %3a
[url]
Is it possible to write a rewrite rule to bypass escape [NE] for this particular URL?
View 1 Replies
View Related
Jan 6, 2011
I am a very new Linux user (newb) so I could be missing something very obvious. I have a Toshiba Satellite L645D-S4056 and recently installed Fedora 14 (64-bit GNOME) with all sorts of updates and software.
I'm working my way through all of the hardware to get it all running properly. I figured out how to get the RealTek wireless-n adapter working. The webcam is working even with Skype which is tricky on the 64-bit version.
At the moment, my touchpad doesn't work. I see a lot of articles online about the touchpad not double-tapping, but mine doesn't work at all. I've been using a mouse for all my GUI stuff.
I went to SYSTEM --> PREFERENCES --> MOUSE and selected the touchpad tab, but I can't figure out how to make it work.
View 1 Replies
View Related
Jun 10, 2011
Running CentOS 5 x64 And today my httpd is running very slow and I can't find a fix. Looked all over different forums
When starting httpd I get the message: /var/lock/subsys/httpd': No space left on device I checked that directory above and there is no file called httpd tried rebooting server
Can't do updates too:
[root@u15438957 ~]# yum update
Loaded plugins: fastestmirror, priorities
rpmdb: unable to join the environment
[Code]...
View 4 Replies
View Related
Jul 7, 2011
when i put in the command
sudo /etc/init.d/httpd
httpd.service - LSB: start and stop Apache HTTP Server
Loaded: loaded (/etc/rc.d/init.d/httpd)
Active: inactive (dead)
[Code]....
what should i do to get it up and running.?
View 2 Replies
View Related
Jun 26, 2010
I have been having trouble installing some programs because of some dependency resolution errors. Sometimes I can work around it, and sometimes I can't.
The problem is that it looks for a package named in a different way or something.
Currently, I'm having problems installing "evolution-data-server" from source. It gives an error during configuring that says "libdb" can't be found, but I do know I have it installed.
I'm giving "reseting the repos" a shot because this might solve everything else. Basically, what I want to happen is that the package manager, and the repository list, would be back to "normal", the state where it's as if I just installed F13.
Here are screenshots of my repo list
It's tiring sorting out dependencies manually. Plus, there are no guarantees that I can have a successful installation.
View 6 Replies
View Related
Sep 10, 2009
I've read hundreds of threads on this problem but they seem to be intermittent and the resolution has been using a different kernel version.
I'm using the latest kernel but I still have this problem
Running Logical Volume Manager gui and attempting to extend the volume results in the same error.
View 3 Replies
View Related
Feb 28, 2009
I am tyring to setup my webserver on Fedora 10 to do the following.
first, i want to require logins when people access my machine. This i have working through the .htaccess file.
Second, i want directories that do not have an index.html file to be auto indexed. This is where its not working for me. I get a 403.
the only change from the default setting in the httpd.conf file is AllowOverride AuthConfig
it would seem that the default settings for are
<Directory "/var/www/html">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
[Code].....
IF i put an index.html file in sub/ i no longer get a 403, i just get that file.
View 6 Replies
View Related
Apr 11, 2010
I've installed Eclipse PDT with yum and httpd got installed as well. The problem is everytime httpd starts it chooses different (random) port and refuses connections to other ports like 80 (displays 403 forbidden error). That's really annoyng because I have to launch eclipse and open file in "PHP Browser" to get the right port. It also makes me unable to setup vhosts properly (i think). How to force apache to stick to the 80 port? Heres my httpd.conf: [URL] The only things I've changed there is added vhost
View 7 Replies
View Related
Apr 27, 2010
I have Fedora 12 x86_64 installed in my computer. I have also installed system-config-httpd, but when I go to System --> Administration --> Server Settings --> HTTP, nothing shows up.
View 4 Replies
View Related
Jul 25, 2011
I get the following error, after installing and configuring httpd - it will not start any longer:
Code:
Starting httpd (via systemctl): Job failed. See system logs and 'systemctl status' for details.Where can I find the system log for this so I can post what is actually causing this?
View 10 Replies
View Related
Jan 19, 2009
We have apache installed at a directory other than the default location. There are two httpd.conf files on the server, one at the apache installation directory, and the other one is the default one at /etc/httpd/conf. The apache ran very well with the customized httpd.conf before, but after I installed php 5, the server seems taking the default httpd.conf and doesn't display the html pages which are installed at our apache directory. How to let the server know not to use the default httpd.conf and use the customized one instead?
View 3 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
Oct 20, 2009
I modified my httpd.conf file without making a backup. Apache runs fine but I am having a perplexing problem with drupal and want to try a vanilla httpd.conf file. Where can I get a 'virgin' configuration file for fedora 10?
View 1 Replies
View Related
Dec 19, 2009
I just did a clean install of FC12 x86_64 and want to configure tomcat to run behind apache httpd. What is the easiest way to accomplish this? I'm a newbie at server configuration so detailed instructions would be nice
View 4 Replies
View Related
Mar 26, 2010
I have opened up the Service Configuration window that shows all the services and their status. My httpd says that it is enabled, but also that "this service is dead" and there is a orangish triangle. I can run phpMyAdmin on my server, but I can't run it from any other PC on my network.
View 13 Replies
View Related
Apr 6, 2010
I have a VPS which is running HTTPD, and its getting blown to bits by a DOS Attack. Turns out mod_evasive is totally useless (due to not running a total - rather counting per child process) and the only way to stop the box from running at 100% on all cores is to term HTTPD. So, what rules can I implement on the iptables firewall to block multiple requests from an IP? I saw this: [URL] Where someone has posted some rules but these dont work ("unknown error 4294967295" on the 3rd line). This is what i'm after though - block multiple requests from a single IP for a certain period of time.
View 3 Replies
View Related
Jun 24, 2010
On this system httpd does not start on boot. I can manually start it without errors with service httpd start.
Code:
chkconfig --list httpd
httpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
Where do I look to see why it wont start?
View 9 Replies
View Related
Nov 18, 2010
I rebuilt my box with Fedora 14. installed httpd, mysql php etc. when I tried to start my httpd it was giving me error about finding the root document and server name I was able to fix temp the issue with the name by placing ServerName 192.168.1.105:80 in the httpd.conf file and the root document somehow was fixed also. but I am still can't start the httpd and no error message except that it failed. I also disabled Selinix but still no luck.
View 11 Replies
View Related
May 15, 2011
Sometimes httpd (the apache web server) fails to start and displays an error (98: Address already in use: make_sock: could not bind to address xxx.xxx.xxx.xxx:80). This happens even when no other service is listening on port 80, as evident from the output of "lsof -i :80" and "netstat -A inet -lnp". This is due to a configuration file mixup. Both /etc/httpd/conf/httpd.conf and /etc/httpd/conf.d/system-config-httpd.conf contain the directive "Listen :80". If you comment out the "Listen 80" in /etc/httpd/conf.d/system-config-httpd.conf, httpd will again start.
View 1 Replies
View Related
Feb 1, 2009
Since I started using Fedora 10 I can't login as root. Even though the system recognizes the root password when it requires it for certain administrative tasks it refuses to let me login as root.
When I try to edit httpd.conf I get the message "could not save file..." it doesn't even prompt me for the root password. My httpd service is dead and I can't resurrect it, what should I do?
View 2 Replies
View Related