I am using ubuntu 8.10 server for running my sugar crm. because of some reason I can see multiple instances of apache2 running when I issue top command. can I further know about the problem that is occuring.
I know this is more of sugarcrm or php or apache problem but I would like to track the problem.
Apache2 on Ubuntu 10.04 no longer parses PHP files. I've done a complete uninstall and reinstall of both Apache and PHP, but no joy.In the Apache2 log, I get this message: /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object fileI've done the obvious and checked that the library is there and it is. It has permissions of 644 (rw-r--r--).Does anyone know what I'm missing here?
I have this problem for a month now. Some apache process that appears rather slowly using 100% cpu for each core. Today I watch some logs in apache2, namely other_vhosts_access.log and discover this server:8181 127.0.0.1 - - [13/Aug/2011:12:34:52 +0200] "OPTIONS * HTTP/1.0" 200 136 "-" "Apache (internal dummy connection)" On 8181 I have google sitemap generator running but I have it for over a year and it never make any problems.
I have made out a little software as to talk with my friends through network . there are two parts : one is listening to receive messages ,the other will send messages. but the firewall is bothering .so I want to know if I can make my software listen to port 80 while apache is also running .
I am running Montavista distribution. I have an Apache server running in my machine. Now I want to know how many clients are connected to the Apache server and what are the process ids for those sessions. What is the command to do that?
I have been tasked with sending a kill -s SIGHUP (a reload) to a Daemon process owned by root running on a centOS 5.4 machine.
Obviously, Apache cannot normally do this, so I'm going to have to use the sudoers file.
My problem is, how do I allow the Apache user to only run the kill command? nothing else.
in testing, I've gotten Apache to basically run every command prefixed with sudo and no password prompting. But I want the added security to only run the kill command without the password being prompted everything else should prompt for a password.
I'm trying to understand the sudoers file, and i must say, its non-trivial.
is there a simple 1 line I can put in the sudoers file like
Fedora 14. I have Apache HTTP Server installed and running fine. I am interested in doing some java servlet pages. Am I correct that in addition to the above I need to install another server - for example Tomcat - that knows how to process java servlets? I see that yum has tomcat. And that Tomcat is not an add on to the HTTP Server, but an alternative to it? i.e I start one or the other?
I have Webmin installed on an Ubuntu server. I currently have a successful apache server running on port 80, however I want to create a virtual host on port 81. When I try I go to servers->Apache Webserver-> Create Virtual Host I change the port to 81 and the document root to /var/port81www then I click create. How ever when I goto 192.168.1.5:81 (local ip, I know I have to port forward but its not even working local) it does not work.
Ubuntu is repeatedly crashing on me. It seems to be Xorg crashing, but apport only reports that various apps are crashing.The screen will go blank with a blinking dash cursor in the upper left. Then a dialog box will popup and say that xorg is running in low resolution mode. I can click ok and everything comes back up fine, but any running apps are gone.
I have ubuntu server 10.10 with apache2.I want to know who run the process on my server . for example:I have 4 users Bob, Spongbob, Bubblebob, www they have their webspace in public_html folder in their home folder. And if they run some long php script I want know who from them run it.So I just know that apache2 is running under deafult secure account www-data but who ask to run apache2 ?
I noticed with the recent version of Ubuntu, 10.10 that the drop down menus, when selected the sub menus doi not appear straight away. I have to repeatedly go up and down the menu until they appear. They often open a blank box and sometime once selected leave the menu on the screen. This happens on all my machines.
U1 is trying to sync a file which doesn't exist on any of the devices attached to the account nor in the cloud folder. I've tried using U1sdtool to stop it, including the following commands:
I've also tried actually creating a file of the same name that it keeps trying to sync in the hopes that it will latch onto that one instead, but no go. I tried deleting that file, but no go. It constantly loops through the same nonexistent file, over and over and over and over and over...
It also only does this on one device. It does not do that on the other devices.
And, yes, I've done u1sdtool --waiting, and there is the nonexistent file, on the list, with all of the real files that actually do need to be synced backed up behind it.
after having some boot issues not so long ago, i was pointed in the direction of rescatux, which solved my problem at the time. now im having a number of other issues. i am dual booting isodora mint and lucid ubuntu.when my lucid distro is working, it often becomes totally unresponsive during everyday tasks and when i go to restart (or any of the other options) from the shut down menu, i get the window appearing blank.upon rebooting (by pressing ENTER, which works even though there are no buttons within the window), it tells me to either insert boot media or there is a grub failure. this happens almost every session on the computer.
on the times when it says 'insert boot media', generally speaking turning it off for an extended period tends to work. the times when a grub failure occurs, going through rescatux's rescap leads to no other partitions being identified at least 90% of the time.is this something that anyone recognizes the signs for and can offer me a solution? or does this sound like an intermittent hardware problem?
I need to schedule for a repeated task on my Linux, as the followings:
-) Telnet to a remote node -) Issue a command -) Capture the output in a log -) Logout from Telnet -) Wait for a prescribed time interval -) Then redo , but append the subsequent output in just on file
know which options do we have to write such a task?
I was just wondering if there was a way to find out, which processes were active at what time and more importantly when a certain process ended. Is there a log for that? didn't find any.
forums so I'm not sure this is the right place for this topic.So, my question/topic thing is:I have a PHP script that runs on an apache2 web server (www-data).From this script, i want to launch a process that stays alive all the time,ut the parent script keeps on going. So I think I will need to run a command like 'at' to put the process on a queue, and the script can continue and finish, without waiting for the process to stop. But it seems like I will need to run the 'at' command as a different user, because www-data stops the 'atd' process. I'm not sure about that. Does anybody know how this could happen?
I've run into a problem and I don't know if it's apache or php or the combination of both. I can compile apache 2.2.15 just fine, but whenever I try to compile php 5.3.2 into my server, the first two steps work just fine but when I get to the make install part it shows the libphp5.so and it just stays there and I have to cancel the install because it won't finish.
just switched our company from windows server to linux and everything is going good except we have 4 vpn connections though out the country coming to our server. All giving the client machines ip addresses of 192.168.x.x based on where they are located 192.168.1.x for the main location 192.168.2.x for a second location etc, and IIS could see the clients ip instead of the wan ip and was setup to block all ips except 192.168.x.x ip's and this worked great.
So i set up apache the same way, to allow only 192.168 ip's but i guess it doesn't work that way in apache for connections coming though vpn? 2 out of our 4 VPN connections are not static IP's, so the 2 that are I just add that ip to the allow list and that worked.But i don't think we should HAVE to get static ips for the other 2, that's one of the benefits of using VPN, especially if our old windows server didnt need it.Is there any way for apache to see the clients ip address for access or is there something somewhere else that needs changed for this?
I've got some strange looking requests in my access_log which I don't much like the look of. Can someone take a look and let me know if 1) it's possible for other people to use my server as a proxy, and 2) how I can stop them.
My Server is 8.04 (hardy) and Apache is 2.2.8. I have been receiving emails from Apache each time a new stable release is available, most of which say you should install them due to security issues. The current stable release of apache being offered is 2.2.17
Q1) Do you recommend I upgrade from Apache 2.2.8 to 2.2.17? Q2) Does this come automatically with my regular updates via Update Manager once the Ubuntu community thinks its stable enough (it appears that it doesn't)? Q3) What is the best way to install the update? Q4) Any concerns about installing it into a live environment? I don't have a development platform to try it in first.
When starting Apache I get this error in 10.10 (not in 9.10): [Fri Dec 03 21:14:22 2010] [error] (2)No such file or directory: could not open transfer log file /etc/apache2/${APACHE_LOG_DIR}/other_vhosts_access.log. Unable to open logs So where do I define APACHE_LOG_DIR ?
I'm looking to run some R scripts on a mysql database (engine =csv) from the apache webserver.
The goal is to record some statistics/numbers while someone is logged in, pass those numbers to r, run some statistics algorithms on the passed set of data and output an image file back to the logged-in user's html web page.
Doing this along with knowledge on how to call general r functions from within a php framework would be great.
I would like to add ROR to my web server, but I would still like to keep php. I tried doing this a few days ago, but it made my PHP unusable so that it would ask me to download a file rather than displaying the php page. how to install ruby on rails without trashing my system again.
I was wondering if anyone knows how to make a zone file for bind dns server that points "example.com" and all (by all i mean any) sub-domains to this 127.0.0.1 address. and i wanted to set up a virtual host in apache to use /var/www/eample/index.php for 'example.com' and all of its sub-domains.
Ive read online about webmin, ebox etc but are there any others? I'm using gnome on my server and i did a search through the Ubuntu software Centre but nothing came up.
So here is my problem. I have websiteA.com and websiteB.com. I only have one public IP address. And websiteB needs to be constantly restarted, so both need to be on separate apache servers or instances.Virtual directories wont work cause I can only point websiteA to a directory /var/www/websiteA.Reverse proxy wont work cause I can only catch a sub directory.Proxy /websiteA/ URL...Does anyone know how I could get this to work in anyway.
Im trying to just set up my web page so it can be seen on my local home Lan (then Ill try to get it on the internet). I can see the site it on my pc but other network users cant.
They can ping my computer but cant telnet to it on port 6060 (thats the one is set the server up on)
What's wrong with my configuration its mostly the default with a few changes that I hoped would make the site work.
I have had this problem (entering the correct password and having Fedora repeatedly ask me for the password again) for a long time (since FC9) and have recently found what I believe to be a solution.
I know, you'll probably think it's extremely simple, but I just wanted to help any newbies to Fedora who might have the same problem as me.
Solution:
Right click on the Network Manager icon, and select "Edit Connections"
Go to the Wireless tab, and delete the entry for your wireless!Then manually re enter all of the settings.
This worked for me with a WPA2 TKIP connection, but it might work with a WPA2 AES also.
this seems like it should be a simple thing, but I can't find it. Is there a bash shell command that allows you to create a string of repeated characters? Like a string of 100 '*'?