Ubuntu Servers :: /etc/environment Not Loaded By Root / Daemonized Processes?

Aug 19, 2010

I was under the impression that /etc/environment was the place to put variables if you wanted them to be available to all users at all times. But I just realized root which is running my service processes doesn't seem to load it.My /etc/environment:

Code:
RAILS_ENV="production"
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"

[code]....

View 1 Replies


ADVERTISEMENT

Software :: Protect Environment Variables To Be Changed By Child Processes?

Jul 20, 2010

Im wondering if there is a simple way to protect environment variables to be changed by child processes?

View 1 Replies View Related

Ubuntu :: How To Autostart Processes As Root

May 21, 2010

How do I get processes to run as root during startup? I have a random script and a package which both need to run as root in the background, but I can't find a way to do this automatically.

View 1 Replies View Related

General :: Launch Root Console With A Profile Loaded ?

Dec 31, 2009

I'm trying to launch a root terminal with a profile preloaded, but I'm not yet used to the way gnome handles its syntax, so the default link to root terminal:

Code:

Apparently, the method using gnome-terminal is to add a trailing

Code:

But this did not work, probably because in this case I'm not calling directly on gnome's terminal.

View 2 Replies View Related

Fedora :: Loaded 13 Recently And Soon Couldn't Access 'Root"?

Jul 28, 2010

Old windows user finally real tired of them.. Kudos to Fedora 13 as the only popular Linux OS available for us frugal folk that embraced proprietary hardware on my old pukey hp pavilion laptop dv4000 wi fi card.Sad to report massive issues after allowing some 330+ updates to possibly infect this great OS. I'm currently running this 'Live" so I'm staying brief. My strategy will be to not allow any updating until I'm sure they are trusted and or needed, as this is the chosen OS, and I pledge to be moe involved as I try to figure out where or why this initial install went way south

View 9 Replies View Related

Ubuntu :: System Monitor (Show Root Processes)?

Aug 6, 2011

Is there a way to get the system monitor to show root processes like top does?for example the update manager or xorgusing 10.04.3

View 3 Replies View Related

Ubuntu Servers :: Apache2 Rewrite_module Not Loaded

Mar 19, 2011

My rewrite_module is not loaded checked with a script and double checked with sudo apache2ctl -l. Output:
HTML Code:

[Code]....

One of the Virtual hosts in httpd.conf (probably it's not best practice for Apache2?) is:

[Code]....

The rewrite_module doesn't work because I always get: HTTP Error 500 (just 'static' pages work perfect. I tried everything but I'm not a apache2 config specialist so I should ask some help after searching myself for 10 hours now If you need more information I will try to serve it!

View 6 Replies View Related

Ubuntu Servers :: Kill Processes With Name=x && %mem>y?

Sep 22, 2010

I have an issue on one of my servers whereby the [normally very helpful] du and tar programs are somehow using up too much or my system resources (du 40% mem, tar 20% mem) and causing problems. I am after a command which is able to kill a process without knowledge of a PID but by process name e.g. "du" and memory usage e.g. >= 10%.

Something along the lines of:
kill $(pgrep du) grep %MEM > 10

Although I know that is invalid syntax I cannot fathom the correct/best way to achieve this end!

View 9 Replies View Related

Ubuntu Servers :: JFS - XFS Processes - None Of File Systems Use XFS Nor JFS

Jun 22, 2011

After an update recently I noticed that my process count jumped up quite a bit. Somehow it doesn't seem related (it was an apt update I believe), but I'll just throw it out there. All of the extra processes seem to be related to XFS and JFS file system kernel processes, but none of my file systems use XFS nor JFS, just EXT3 & EXT4. Is there any safe/easy way to kill off these processes and prevent them from re-spawning? I don't find having irrelevant idle processes to be beneficial nor efficient. It's using Ubuntu 10.04 64-bit. Only active file systems are EXT4 and EXT3.

[Code]...

View 2 Replies View Related

Ubuntu Servers :: Get A List Of Users Running Processes?

Feb 22, 2010

I'm looking for a command that will give me a list of users (unique, dont name my user account 60 times) that are running processes on a system.

View 5 Replies View Related

Ubuntu Servers :: When Open Top And Look At The Running Processes - -5 In The Nice And 0 With Everything Else

Apr 1, 2010

When I open top and look at the running processes, there a bunch that are -5 in the nice and 0 with everything else.

[Code]....

View 4 Replies View Related

Ubuntu Servers :: Log That Tracks System Load And Processes?

Apr 19, 2010

I have several web servers running Ubuntu 8.04 64-bit server and occasionally Apache sends my load to 13 and higher.

Is there a log that actually tracks the system load levels and possibly the processes running at the time and their percentage of the load?

At the basic level what I am looking for would be a log of top but not exactly that.

View 1 Replies View Related

Ubuntu Servers :: Apache Processes Listed But Httpd Not Running?

Dec 5, 2010

I have written this script to monitor Apache2:

Code:
#!/bin/bash
#count lines that show apache2 but not the fgrep itself
let i=`ps aux | fgrep apache2 | fgrep -v grep | wc -l`
if [ "$i" -gt 0 ]
then
#log something

[Code]...

It has all been working fine until recently when Apache is becoming unresponsive. I manually ran ps to check and there were 3 processes. However when I ran apache2ctl graceful I got the message 'httpd not running, trying to start' Is there a better way to check if a daemon is up?

View 4 Replies View Related

Ubuntu Servers :: Save All Of The Mail Sendmail Processes To A Named Pipe?

Apr 12, 2010

how I could save all of the mail sendmail processes to a named pipe?

View 5 Replies View Related

Ubuntu Servers :: Run High-priority Multi-threaded Processes In The Background?

Apr 7, 2011

Using Ubuntu server 10.04.2 64-bit all up to date.

I am running multi-threaded processes. These use OpenMP in my own code and the multi-threaded ACML maths library. When run in the foreground, everything is fine i.e. if I have set

export OMP_NUM_THREADS=8

then when I start all 8 cores are in use and things whizz along. However, when running overnight and logged out using e.g. 'at now + 1 minute' then the command, I am only getting about 130% CPU and it slows down accordingly. I have tried renice'ing and calling from within a bash script in case sh is doing something odd but nothing seems to solve it. I am sure that in the recent past this wasn't the case.

The libraries being used are shared versions in case that might have any bearing.

View 1 Replies View Related

Fedora :: 10 Logged In As Root, Cannot Install Package Updates In Graphical Environment?

Jan 17, 2009

I have updated the gdm file to be able to log in as root in Fedora 10.Nevertheless after I had selected package updates to be installed logged in as root I still get an error message that I do not have enough privileges.The terminal installation method is a bit of a problem since I do not think it will search for dependencies and therefore it can be excessively long to figure out what is missing for a package installation. In simple cases it works OK, but in more difficult cases it is a bear.

View 8 Replies View Related

Programming :: Obtaining Access To File In Chroot Environment From Usual Root?

Aug 1, 2011

ccess to an iso file in chroot environment from my usual root (/) env..

Within the chroot environment I have an iso file placed... In my program I need to access this iso file and perform mount and other operations.. But I cant do this in the chroot environment as I have only basic commands here (ls,cp etc.. and no mount)

So how can I access this iso file from my program ? Is there something like a file-descriptor which I can associate with the file exit from the chroot env and access the file via this fd ?

View 6 Replies View Related

Ubuntu Servers :: How To Load The GUI Environment

Mar 13, 2010

I have installed x-11 server using the command

"sudo apt-get install xserver-xorg xserver-xorg-core"

and

"sudo apt-get install openbox"

On the Ubuntu server 9.10 I dont know how to load the GUI environment .

View 1 Replies View Related

Ubuntu Servers :: Any Desktop Environment With 9.10?

Apr 24, 2010

I am a different distribution Linux user but considering to install Ubuntu Server 9.10 to run my personal website.

Question about Ubuntu Server version - does it come with some desktop environment like Gnome or KDE? I would be running Ubuntu Server on my home machine so it would be a nice bonus if I could use it to browse internet or check email.

View 9 Replies View Related

Ubuntu Servers :: OpenERP And Drupal Environment Don't Get Along

May 20, 2011

I had OpenERP completely installed and running just fine. All basic install instructions just worked out of the box on Ubuntu 11.04. Now, we also are going to develop our own web site. For that we needed a web development environment. Due to the small size of our home business, we have to do it all on one PC. So I went ahead and installed everything needed to get Drupal going, among which I had to install:

LAMP
Drupal
Memcached
Memcache
Postfix
Tomcat

and other packages.It all works like a charm, but now my openerp-web crashes when I start it with the following message:

Code:

[20/May/2011:16:17:19] ENGINE Bus STARTING
[20/May/2011:16:17:19] ENGINE Started monitor thread '_TimeoutMonitor'.
[20/May/2011:16:17:19] ENGINE Started monitor thread 'Autoreloader'.

[code]....

For those that do not know it: it is a module that interfaces with the OpenERP server software to allow people to access the system through their web browser, effectively eliminating the use to install a client on their PC. Very practical for our light weight laptop that we use in combination with my PC.

Normally one would connect by browsing to [URL] and automatically get connected with the OpenERP environment.Now, however, that does not work anymore with the above error as a result. Do you guys have any idea if I have to configure something in Apache to get this working again? Possibly with instructions, otherwise I'd get lost again in no time.

View 2 Replies View Related

Ubuntu Servers :: Install Whole Machine Through Desktop Environment

Jan 1, 2010

i want to install whole machine through desktop environment so i want to install ubuntu-desktop but after i want to remove so how can i do so completely remove it after? i am trying to install ACE URL..How to even configure? When i do basic procedures like mkdir build cd build ../configure is says bad interpreter and after i fix this it says something about config.dab or something like that.

View 9 Replies View Related

Ubuntu Servers :: Install LTSP In Desktop Environment?

Jan 25, 2010

I want to been able to connect remotely via RDP protocol with a client (for example from work to house) and I found that I can use [URL... What packages I need to install, and how I configure it? I connect my laptop via wireless throught eth2.

View 4 Replies View Related

Ubuntu Servers :: Sudo Can't Hold Environment / Resolve This?

Oct 6, 2010

I'm with Linux 2.6.32-25-server #44-Ubuntu SMP Fri Sep 17 21:13:39 UTC 2010 x86_64 GNU/Linux , Ubuntu 10.04 Server
And I wanna execute the next script in bash profile code...

View 1 Replies View Related

Ubuntu Servers :: Samba In Large Scale Environment.

Mar 31, 2011

The Linux samba server would be part of the Windows domain.What's the best way to add shares for all of the students, assuming there is 200 students per folder? Is there a way to add a wildcard like $(USER) (that's logged in)//fileserver/ students/classof2011/Bill_Gates? Or would a directory path have to be created for each student?Either way is fine. I'm just curious what the proper protocol is for completing that task.

View 1 Replies View Related

Ubuntu Servers :: VSFTPD With NIS Environment Doesn't Work?

Apr 11, 2011

I installed Ubuntu 10.04 64bit server on DELL R710 server recently.

The basic:
[System Model] --- PowerEdge R710
[Ubuntu] ---
root@pek-mcbuild2:~# cat /proc/version
Linux version 2.6.32-21-generic (buildd@yellow) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #32-Ubuntu SMP Fri Apr 16 08:09:38 UTC 2010
root@pek-mcbuild2:~# uname -ar

[Code]...

View 1 Replies View Related

Ubuntu Servers :: Create Secure Shell Environment For Users?

Feb 25, 2010

I was planning on using my VPS to grant some of my friends shells. The problem though is that I don't want them doing crazy stuff on it, like using up all my RAM or disk space. I would like to limit them to a very small 25 mb disk space, and allow them only certain application in /usr/bin like python perl irssi screen etc. I do NOT want them to be able to cd out of their home directory. I really want this to be setup like the shell provider SHellium. I can setup the FTP and SSH stuff myself.

View 3 Replies View Related

Ubuntu Servers :: Diskless Login - Setup A PXE Boot Environment?

Nov 24, 2010

how to to setup a PXE boot environment. The server contains a LUbuntu 10.10-installation the client is Ubuntu 10.10 Server (I didn't mix up those two...) So, everything is going fine; the client gets an ip-adres, and boots over PXE. The login-prompt is shown. Problem: I can't login. It seems my users are deleted (better not copied). Of course the system (client) works fine when I boot the system from it's harddrive. The only thing I can guess, there going something wrong with:

[Code]....

View 1 Replies View Related

Ubuntu Servers :: Allow Users To Upload And Run Scripts In Controlled Environment?

Apr 22, 2011

I am setting up a small competition for a forum where there are a set of programming tasks to complete (in various languages). At the end of the allocated time, the fastest program that successfully completes the task wins.I would like to set up a server similar to the way the Google AI challenge works, where users can upload code to the server via an html page and the code is executed and profiled on the server.The problem is obviously security... so... how can I configure my server so that the uploaded scripts are run in a completely jailed environment and do not have access to anything outside their folder and cannot execute any commands on the server?The chain of events looks like this: User writes script on local machine -> user zips script -> user browses to server html page -> user uploads script -> script is compiled and executed on the server -> user is shown output from script

View 1 Replies View Related

Ubuntu Servers :: Edit /etc/environment File And Write There My Variable

May 7, 2011

I edit /etc/environment file and write there my variable by it's not effected, what i need to restart daemon that it's show on echo $VARIABLE.

View 1 Replies View Related

Fedora Servers :: Asterisk Ztdummy Compiled / But Not Loaded / Even Afer Asterisk Reinstall?

Sep 13, 2009

I compiled and installed the Asterisk ztdummy package because there is no rpm for it, unfortunately, and i even reinstalled asterisk, but i still get the "No application 'Meetme' for extension..." error when trying to conference. I do a "module show", and it lists other modules that were compiled with the zt source, but not ztdummy.Does anyone know how to fix this? This is more than a passing interest or hobby, because i need to conference about 3 to 5 people to help me test a new Website Content Management System and User Forums Management System i am about to launch as a service.

View 3 Replies View Related







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