Ubuntu Servers :: How To Kow How Run Process

Dec 22, 2010

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 ?

View 1 Replies


ADVERTISEMENT

Ubuntu Servers :: Any Possibility To Get Process History Log?

Feb 25, 2010

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.

View 2 Replies View Related

Ubuntu Servers :: Apache Process Is Repeated?

May 17, 2010

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.

View 3 Replies View Related

Ubuntu Servers :: Www-data Run Process As Different User?

Jun 23, 2010

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?

View 2 Replies View Related

Ubuntu Servers :: No Logfile Lines Found To Process?

Feb 4, 2010

I think I miss something here(Ubuntu 9.10 server 64bit):

/etc/srg/srg.conf

Code:

##### SRG Example Configuration File #####
# Squid log file to process
# Defaults to access.log in the srg directory.
# e.g. log_file "/usr/local/squid/logs/access.log"

[Code].....

WARNING: Configuration file not found!

No logfile lines found to process!

View 1 Replies View Related

Ubuntu Servers :: Update Process (and I) Can't Stop Mysql?

Mar 10, 2010

I'm running an update, and get this:

Code:
The following packages will be upgraded:
apache2 apache2-doc apache2-mpm-prefork apache2-utils apache2.2-common libcupsys2 libmysqlclient15-dev linux-libc-dev mysql-server
mysql-server-5.0 php5-imap sudo
12 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
5 not fully installed or removed.

[Code]...

View 1 Replies View Related

Ubuntu Servers :: Sometimes Does Not Start - Boot Process But Then Hangs

Oct 31, 2010

Running Ubuntu Server 10.04 32 bit. Sometimes when I reboot it does not start up, It seems to be going through the boot process but then just hangs. I have had a look at the log files and can't see anything, but I'm not really sure what I am looking for.

View 2 Replies View Related

Ubuntu Servers :: Process Hangs While Cleaning Cache?

Dec 7, 2010

I have a NFS server and I'm periodically cleaning the cache by using the following lines:

Code:

/bin/sync; /bin/echo 1 > /proc/sys/vm/drop_caches
/bin/sync; /bin/echo 2 > /proc/sys/vm/drop_caches

during the last days the cleaning process gets stucked at '/bin/echo 2', here's the process data:

Code:

27426 root 20 0 5488 704 576 R 100 0.0 896:06.34 /bin/echo 2

the process keeps running, so I find this more strange since it's not in zombie or D state.

View 2 Replies View Related

Ubuntu Servers :: 10.04 - MySQL Process Does Not Start At Boot

Apr 13, 2011

On my Ubuntu 10.04 LTS Server, mysql does not start at boot. I tried this but does not work.
Code:
root@dev:~# chkconfig mysql ON

The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'K02mysql' missing LSB tags and overrides
insserv: warning: script 'S10vzquota' missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs .....

How to make sure mysql process comes up automatically after every reboot

View 4 Replies View Related

Ubuntu Servers :: Avoid Starting Sendmail As Daemon Process

May 1, 2010

I currently have sendmail installed. It starts as a daemon but I want to avoid doing that. I want to start it manually.Also am a dynamic host.so every time i start my computer my ip changes. I use ddclient to update my records at dyndns.com.but how to configure sendmail in the case of dynamic hosts since it looks at the file /etc/hosts which contains information about the static hosts.

View 2 Replies View Related

Ubuntu Servers :: How To Use Start-stop-daemon To Execute Process

Sep 27, 2010

I've just installed subversion.I need to create a script /etc/init.d/svnserve that will start at boot time.I want to use start-stop-daemon --start so I can track my process and eventually kill it using start-stop-daemon --stop.My problem is that I can't get it to work and the documentation shows no exemple.

I've replaced $DAEMON by the whole line: svnserve -d -R -r $REPO_ROOT and got -d is not an option.I'm not quite sure what to do at that point. If someone has some experience with start-stop-daemon it would be great.

View 2 Replies View Related

Ubuntu Servers :: Server Process Created Files Permissions

Nov 20, 2010

Currently have access to a VPS where we are running a small game server on ubuntu - the problem is that it is a multi-user environment, so when one person restarts the server process, all files it creates are owned by that users name and group. I have created a group called 'game' and added both users to it, but I need to know how to make all files in the game server's directory to be r/w/x for the group 'game'. Currently, I have a script that chowns and chmods all files recursively on startup, but I'd prefer not having to do this.

View 4 Replies View Related

Ubuntu Servers :: Upgraded From Server 9.04 To 10.04 And In The Process My Hostname Was Lost

Dec 8, 2010

Just upgraded from Ubuntu Server 9.04 to 10.04 and in the process my hostname was lost.

Code:

Although configure file looks fine:

Code:

The following lines are desirable for IPv6 capable hosts

Have set hostname with:

Code:

But doing it this way you cant use '_' ..

View 4 Replies View Related

Ubuntu Servers :: E: Sub-process /usr/bin/dpkg Returned An Error Code (1)

Dec 19, 2010

I have a little home server running server 8.04 and decided to check for upgrades. One of the upgrades was a new kernal update. It was able to download the update, but errors on uncompressing it. I have even shutdown the server and restarted it. Still no luck.

Here is the screen log from the update process:

(Reading database ... 49993 files and directories currently installed.)
Preparing to replace linux-image-2.6.24-28-server 2.6.24-28.80 (using .../linux- image-2.6.24-28-server_2.6.24-28.81_i386.deb) ...
Done.
Unpacking replacement linux-image-2.6.24-28-server ...

[code]....

View 1 Replies View Related

Ubuntu Servers :: Program/Process Route To Specific Network Device?

Jul 30, 2010

Is there a way to bind specific programs to specific network devices (not IPs, since I have dynamic IPs)?

For example, I wish for irssi to route through eth0 and w3m to route through eth1. Keep in mind these devices have dynamic IPs, so I cannot attached them to an IP.

The solution cannot be accomplished through route since route pivots on IPs not devices.

View 1 Replies View Related

Fedora Servers :: Process Of Updating All The Clients Nodes To The Same OS?

Jun 22, 2011

I'm having a problem with NFS. I'm trying to mount /home, which is on the server, to the client nodes. The server is currently running FC14 (64 bit) and I'm in the process of updating all the clients nodes to the same OS. Currently, all the client nodes are running FC8 (32 bit) and are capable of mounting /home on the server. However, the one client node that I have updated to FC14 is having problems mounting /home. I can ssh to the node with no problem however I get the following message:

Could not chdir to home directory /home/myuserid: Permission denied. Now, if I excute the following command: "sudo mount -a" I get no errors and now I can see my home directory.

View 9 Replies View Related

Ubuntu Servers :: BASH Scripts For Websites - Automatically Download And Process Data

Sep 1, 2011

set up BASH scripts on the server to automatically download and process data, and then upload it to my website. Is it even possible? Do servers allow website owners to place BASH scripts that can run automatically, or keep running indefinitely?

View 5 Replies View Related

Ubuntu Servers :: Write A Shell Script In Order To Automate The Process Of Uploading A File?

May 21, 2010

I am trying to write a shell script in order to automate the process of uploading a file onto an FTP server using the built in FTP commands in ubuntu server (lucid). In order to connect I can use the following:

Code:

ftp wsbeorchids.org.uk
Name (wsbeorchids.org.uk:danielgroves): USERNAME
Password: PASSWORD

In need to pass my username and password in when prompted the prompts. How should I go about doing this? I have tried echoing the values without success. Please not that I am something of an amateur with scripting.

View 6 Replies View Related

Ubuntu Servers :: Access Denied For User 'root'@'localhost' / Set The Password During Installation Process?

Dec 14, 2010

I have installed mysql-server, but i have no access. I have set the password during installation process.

Used command:
mysql -u root -p
error message:

[code]....

View 8 Replies View Related

Server :: Process Of Setting Up A Couple Of Virtual Servers In A Cloud Environment?

Mar 17, 2011

I am in the process of setting up a couple of virtual servers in a cloud environment. I am currently working on my application server (Server 1) and am stuck on the creation of my ruleset for this server.

I need to allow SSH, FTP, HTTP, HTTPS, and PING on this server. This server will also need to be able to talk with a couple of database servers as well as a memcache server (all internally within my cloud environment)

I have been reading on iptables, since I have never messed with them before, and have come up with the ruleset I will paste below. I have taken other steps to secure my server...changing ssh port, not allowing root to login via ssh without logging in as a user, turning off unnecessary daemons, editing my hosts allow/deny files, just to name a few.

I am a newbie to iptables, so I would love a bit of helpful advice, criticism, and even a good explanation why I should add or remove or edit something. I really want to know the how AND the why!

[Code]...

View 4 Replies View Related

Red Hat / Fedora :: Command To Stop That File/process Or Is It Just Kill The Process To Stop The Process?

Nov 11, 2010

I've some file with .sh extensions that runs some softwares.Now,how do I stop running that filesI know we run the command ./start_tomcat.sh to start the apache.Is there any command to stop that file/process or is it just kill the process to stop the process

View 2 Replies View Related

General :: Kills A Process Internally Or From Where It Picks File To Continue Its Process?

Jan 8, 2010

one tell me the internal working of kill command. that is how it kills a process internally or from where it picks file to continue its process.

View 3 Replies View Related

General :: Elevate The Priority Of A Process Without Process Superuser Rights?

Jan 21, 2011

I have a high priority service that I start with sudo nice -n -10 process. This process does not need superuser rights though, except for the priority elevation. But nice requires superuser privileges to elevate priority.

View 3 Replies View Related

General :: How To Identify Raid Degrade Process / How To Rebuilt Process

Jun 12, 2010

send the details raid configuration how to use in linux el5 and how to indentify the raid degrade process and how to rebuilt the process.

View 4 Replies View Related

General :: Sending Signal From Child Process To Parent Process?

Sep 8, 2010

Code:

#include <stdio.h>
#include <unistd.h>
#include <signal.h>

[code]....

Description of what the code does or what i intended to do:

1. Created a child process from parent process using 'fork()'

2. Sent a signal 'SIGALRM' from child process to parent process using 'sigqueue' function.

(The Third parameter of 'siqueue' function contains the message (message msg) which the child process wants to send to the parent process.'msg' is a stucture instance containing a) pid of child and b) string) 5. Print the 'msg' sent by child process inside the signal handler function 'sig_action_function' of the parent process I am getting some junk value when this line is executed

Code:

printf("%d
",msg->cpid);

I expected to get the pid of child process, which the child process sent to parent process through the signal.

View 3 Replies View Related

General :: Process Scheduler A Part Of Process Queue?

Aug 12, 2010

as we all know Process Scheduler does Process scheduling and its a process as well. I was just wondering that if this happens then the Process "Process Scheduler" should be a part of Process queue as well.

So if there are 5 process are there in Process queue & process scheduler is administrating them then since its also a process, once it puts a process under RUN state it should itself go inside queue because at one instant only one process can get executed on a processor. This is quite confusing for me. Please help me out. I tried to search on this but could not find any relevant topics.

View 1 Replies View Related

General :: Find The Parent Process Of A Zombie Process?

May 4, 2010

How do you find the parent process of zombie processes?

When the child process is something where the parent is not entirely obvious...

Is there some way to list processes in tree format or something?

View 3 Replies View Related

Programming :: Displaying Process Id In Shell Script But There Is No Such Process?

Nov 9, 2010

I have a shell script to identify whether the process is running or not. If the process is not running, then I execute another script file to run my application. Below is my script and saved this script as monitorprocess.sh Code: #!/bin/bash

result=$(ps -ef | grep -v grep | grep "applicationname.sh" | awk '{print $2}')
echo $result
if [ "$result" == "" ];

[code]...

View 4 Replies View Related

General :: Process Shows Multiple Process Ids(pids)?

Nov 9, 2010

I have a process running on Linux.When i do ps -eaf | grep <myProcess>, it show muliple entries for <myProcess> with different pids for each entry.Kindly tell me what could be the reason for a process having multiple pids?

View 1 Replies View Related

Programming :: Difference Between Init.rc Process And Normal Process?

Mar 31, 2011

Is there any difference in cpu usage for process in init.rc(runs automatic when boot is happened) and manually running process. Will these both have same priority by default...?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved