We have a plesk server running on a Ubuntu 14.04.2 LTS machine. We check the state of the mailqueue with nagios, executing the "mailq" command. After the AutoInstaller upgraded our installation from 12.0.18 update 38 to 39, we noticed, that the nagios check failed.
After investigating a little bit, it seems that we found the problem:
When I enter "mailq" in the shell, the command is executed and gives me an proper output. But when I try to execute the command with its full path "/usr/bin/mailq" nothing happens, and I have to cancel with [ctrl]+[c]. The which-command delivers exactly the same path as written above...
i signed up for vps from vps.me and i got ssh credential i logged in ssh using token2shell but when i put my server ip "10.223.1.157" in google chorome but then it says unable to find even i am not able to access ftp through filezilla also
I am using Apache 2.4.1 (Win64), PHP 5.3.10 on Microsoft Windows 2008 server. I have also installed Microsoft VC++ 2010 (64 bit). I successfully configured mod_fcgid 2.3.7 as per the instructions. This was confirmed by running info php page. But when I run FastCGI test scripts, the output is displayed in text form and not in html format.
I am working with an Apple Lion Server. I want to give users the possibility to gain access to certain share points with the webbrowser via the WebDAV protocol. The OS allows to define sharepoints with the GUI. In this GUI you can adjust, that the users are allowed to access the sharepoints via WebDAV but it is not possible to access the folders via a browser. You just get an error from the webserver after a login:
You don't have permission to access /webdav/ on this server.
So I have looked for the relevant configuration file "httpd_webdavsharing.conf" (apache v2.2)
Code:
# # Apache Config for WebDAV Sharing # Activated and deactivated by com.apple.webapp.webdavsharing webapp #
RegisterResource "WebDAV Sharing: %c %s" /webdav main webdav RewriteEngine On RewriteMap webdavmap prg:/usr/libexec/webdavsharing/webdavsharing_mapper
[Code] .....
Is there a way to modify the code in such a way that it allows the favoured access?
I have Configured Apache2.4.4 for forward Proxy and tested from my browser the response is very slow and even not coming complete Response for some requests.
I also Tested the same for Apache2.2 Forward Proxy it is very fast and good.
May I know what is the Problem in Apache 2.4
Is there any Issues in proxy modules (mod_proxy,mod_proxy_connect.so,mod_proxy_http.so) in Apache2.4
This is the same configuration i used for Apache2.2 and Apache2.4
i have made my all pages with .html extension and hence my SEO is based on accordingly. Now i made some changes to htaccess that causes to not inclusion of header and footer pages (both are made with .php extension ). so i decided to change the extension of pages (.html to .php) and it wokrs. due to SEO and large number of pages i want all my pages .php (made later). to get converted automatically with .html in browser. so is it possible using .htaccess rewrite.
I currently have a basic level VPS and was wondering if it is wise to upgrade apache from 1.3 to 2.2 and php to 5?
I am not quite sure why do I want to upgrade when everything is already running smoothly but it's just if something better exist then why not take advantage of that?
Anyone who can advise if this is going to a be a wise move? I have quite a few sites running on php so might have issues with newer version.
I have Apache 2.4.6 running without problem on Windows 7 Ultimate.
I upgraded to Apache 2.4.9 by:
Stopping Apache; Renaming the 2.4.6 directory to "old"; Extracting the files from the zip to the Apache directory; and Copying the old httpd.conf to the Apache directory. After rebooting I found that I could not access localhost (or 127.0.0.1).
I then reverted to Apache 2.4.6. Localhost is now working.
I just ran a simple yum update php on the server, because I need to be running 5.2 instead of 5.1.6
The update went smoothly, so I restarted httpd, and all hell broke loose. Apache can't start because of a whole lot of missing modules. So I commented out every single LoadModule line to see if that would get it to start, and it started complaining about the configuration file of some other software being incorrect (because that configuration file pointed to some module that no longer exists)
At one point I was able to get apache to start, I believe by copying my old configuration file to httpd.conf and then commenting out some lines that it was complaining about. Apache started, but no pages were loading.
So right now, basically, I've got no web service running at all on the server. I really didn't expect all of these problems for a simple PHP update, but obviously I was mistaken.
Is it worth trying to fix this myself (intermediate linux user here) or would it just be easier to hire someone to come in and do it for me?
# If a PT_LOAD event is triggered, then if the following contains the path to # a script, it will be run in a child process. For example, the script could # contain commands to terminate and restart httpd, php, exim, etc incase of # looping processes. The action script must have the execute bit an # interpreter (shebang) set
It's a feature of CSF, how to write a script that will output the contents of top -c to another file?
Problem is that the only way to stop this command is pressing CTRL + C, and i just need some option to specify how much time the tcpdump will be running, i need it running for 1 minute for example, and then it should automatically stop.
how do i get all the current dns values for a domain name? i have tried using 'dig domain any' and get varied results. the first time it is as if i ran 'dig domain a' I then run 'dig domain mx' and see the mx records. an issue of 'any' then shows the mx records so far i have to run dig with every record type. what is another way to get all the dns values for a domain name?
I cant access gmail from my internet connection, but google is opening and also all other emils are opend(yahoo,aol...). Im using windows 2000 OS. Is it a problm of mail server of gmai?
What command could I use to get the last line of an output?
Heres why...
I use this command:
netstat -plan|grep :80|awk {'print $5'}|cut -d: -f 1|sort|uniq -c|sort -nk 1 I would like to get just the last line of the output, the output looks like this:
The reason is because I'd like to get that last figure to place into a file on a certain time period (through a cron), which will then be graphed with PHP.
I use Munin to monitor the health of our servers, I can tell by looking at the graphs there's nothing to worry about, however, I'm struggling to baseline acceptable performance.what would be classed as 'normal' output for some of the more relevant munin graphs.
I've been looking at the Apache* modules and this is the output from one of our servers:
average of: 300 accesses per minute, 6 busy servers and 4.10MB a minute volume
max of: 1400 accesses per minute, 81 busy servers and 51MB a minute volume
This is a dedicated box running one site.
We have another box that is running approximately 30 sites
average of: 30 accesses per minute, 1 busy server and a 500K a minute volume
max of: 322 accesses per minute, 11 busy servers and a 4MB a minute volume.
These servers are pretty much the same spec, dual core 64Bit, 4GB of ram, two SATA disks in RAID1.
I'm trying to download this 1 GB file on my Linux server CentOS. But its requiring me to enter a Captcha image which doesn't show up using Elinks or Lynx the two browser I tried.
Wget was my first thing that I tried but that wouldnt work since its impossible to enter the captcha using wget command.
So I need some help how should I download this to my server I'm on Slow DSL connection and it would take weeks to download 1 GB using my desktop and then reuploading it again to server using FTP.