Ubuntu Servers :: Collectd-exec Not Working?

May 11, 2010

using 10.04 and i can't get this to work any ideas?relevent bits from collectd.conf

Code:
LoadPlugin exec
<Plugin exec>

[code]....

View 2 Replies


ADVERTISEMENT

Ubuntu Servers :: Resin Can't Find JAVA_HOME - Exec: 40: -jar: Not Found

Aug 21, 2010

I've been following the instructions to install Resin, and all seems to go well until I try to run the /bin/httpd.sh file. It simple says:

Code:

exec: 40: -jar: not found

I suspected this was something to do with my JAVA_HOME variable not being set, so I looked up how to do this and added it to my /etc/bash.bashrc file. Saying "echo $JAVA_HOME" does indeed return the correct path so I don't think this is the problem.

View 5 Replies View Related

Software :: Top Command Version 3.2.6 Invalid Results Compared To CollectD?

Mar 11, 2011

I am trying to get the correct CPU usage using top. I ran collectD and I got different results.This especially happens when the CPU usage is close to 100%.Has anyone experienced having the top command report different results than other CPU usage utilities?

View 5 Replies View Related

Ubuntu Servers :: Website Not Working \ Default Site Is Working?

Jan 19, 2011

I just installed the lamp stack and so far my default site is working. But a 2nd site I made is not working.I created the config file in /etc/apache2/sites-availableit reads:Quote:

<VirtualHost myip:80>
ServerAdmin webmaster@mydomain.com
ServerName mydomain.com

[code]....

View 9 Replies View Related

Ubuntu Servers :: After Some PHP Fatal Errors / Php Do Not Working / But Html Is Still Working

Mar 7, 2011

I have very interesting problem after ~10 PHP Fatal error, php 5(latest one) in apache2(latest one) in Ubuntu Server 10.10(with latest updates) just do not work. So if try any php page it's not working(user see white page), but HTML still work fine.What that can be? So only restart apache is help to back php. (we are running Wordpress blog 3.1)

View 2 Replies View Related

Ubuntu Servers :: .htaccess Working, Rewrite Not Working Properly?

Apr 25, 2011

I had a problem with apache2 and getting .htaccess working. I have done some things and i believe its working the ErrorDocument command is anyway. I believe there may be some problems with the rewrites though.Im trying to take a urlhttp://localhost/showthread/123and make it display whats on http://localhost/index.php?showthread=123The rewrite rule is Quote:

Options +FollowSymLinks
RewriteEngine on
RewriteRule ^showthread/([^/.]+)/?$ index.php?showthread=$1 [L]

[code]....

View 8 Replies View Related

Ubuntu :: General, How To Exec On Ls Results?

Feb 10, 2010

Find a file and need to do something to it, think there must be a single line solution for:

$ ls *.c
$ cat *.c

View 1 Replies View Related

Ubuntu :: Using Find And Exec - Convert To Ogg?

Mar 12, 2011

I have a bunch of .caf files in a directory that I want to convert to ogg but I cannot figure out way to do it (except manually). I want to do: sox filename.caf filename.ogg

[Code]...

View 2 Replies View Related

Ubuntu :: Lock Symbol Won't Go Away, Even After 'chown' Exec?

Jan 27, 2011

I did the chown task, as root, and the file icon still has the lock symbol on it. I did it on another file on my desktop just before that, and the symbol went away.I checked 'Properties', and it shows me as owner.It's an ISO on my desktop, copied from LXF Magazine DVD.

View 1 Replies View Related

Ubuntu Multimedia :: Forcing The Exec Bit For Read Only?

Apr 28, 2011

trying to run stuff from CD or DVD ROMS >without< copying to my cluttered hard drive, and came to a thought that I'd like evaluated: Would it work to perhaps use sed during the cd-rom auto-mount or some other point to enable the executable bit for *.exe and other 'executables' to somehow override the read only factor? I'm not too familiar with sed except that i know it can insert/replace new patterns of data for defined patterns of existing data.. so would something like this work? Could it be implemented as permanent function of Ubuntu to 'checkbox' cd/dvd mounts to insert the exec' bit on all, known, or choice files as a sort of 'virtual' permissions that can be placed on RO mounts?

View 2 Replies View Related

Ubuntu Servers :: Samba 3.0.28a - ACL Working 3.5.2 ACL Not Working?

Apr 23, 2010

I upgraded Samba to 3.5.2 to enable Windows 7 to log in to the PDC. ACL was working with the Samba 3.0.28a that came with 8.04LTS. After upgrade I can now log in to the domain with Win 7 but ACL permissions are not working on Win7, XP or anything. They still show on the server but any attempt to change permissions on the workstation fails with "Access is Denied" and only user/group/other permissions are doing anything. Anyone know what changes for the ACL were made between the two versions? I know they're working on switching to VFS modules but setting "vfs objects = acl_xattr"

View 1 Replies View Related

Networking :: 451 Unable To Exec Qq

Jun 15, 2010

An unknown error has occurred. Subject 'testing', Account: 'abc@xxxx.net', Server: '202.177.x.x', Protocol: SMTP, Server Response: '451 unable to exec qq (#4.3.0)', Port: 25, Secure(SSL): No, Server Error: 451, Error Number: 0x800CCC6A

View 1 Replies View Related

General :: Using PHP Exec With Java

Feb 17, 2011

izzit possible to use a php exec function to trigger a jar file using -java method?ters/new.png"');However when I run the index.php, it doesn't trigger action.Instead when I run this code in the terminal, it works perfectly well.So is there any configuration needed to perform such action?Oh btw I'm using XAMPP in linux ubuntu and CBSim.jar to convert some images.

View 2 Replies View Related

Software :: Gdb - Exec Cmd When Breakpoint Was Hit?

Dec 8, 2008

I have two breakpoint b1 and b2, and I deinfed scripts s1 and s2 to exec at break time. how to make s1 autorun when b1 was hit?

View 1 Replies View Related

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 View Related

Programming :: Exec And Ssh : Command In Scripting?

Aug 4, 2010

I am a newbie, I am writing a script file to execute some programs.

# ! bin/ bash

clear

echo "*************************************"
echo " ACOUSTIC MODELLING - BELLHOP "
echo "*************************************"
#exec ssh automatix
code....

problem 1 : I can ssh to the required space but after the terminal prompts me for password it stops ececuting the script.

problem 2: after performing the 'exec' command for the first time. its not executing anything after that line. is there any work around for this.

View 1 Replies View Related

Debian :: SYSCP Does It Need Access To Something To Exec Commands?

Dec 29, 2010

Im trying to setup SYSCP, only to use to make my life easy, and not commercial.When adding a ftp account, the folder it not created, allso there is no files created in the site-enabeld folder when adding domains.Im guessing is it something whit access from the php, but what should i change?

View 2 Replies View Related

General :: Exec Command With Grep Output?

Feb 15, 2011

I have a requirement to find the files having its name as ack_reply. However, there are many other files in the same directory as these resides. Now I have to remove these files from the folder and retain others after 7 days. So I tried to write the below script with grep command.

find $directory -type f -mtime +7 | grep ack_reply

how can I pass this output to -exec command.

If I am not using grep command my script would be as

find $directory -type f -mtime +7 -exec remove.sh {}\;;

How can I use -exec with grep and find.

View 4 Replies View Related

Fedora :: Could Not Exec /bin/bash Permission Denied?

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

General :: Ssh Exec Command And Exit Session

Jan 13, 2011

is it possible to execute command and terminate session all in one phrase

something like this connect to server hostname and than execute command "ls" and than some command

ssh username"at"hostname ls "something"

without "something" this phrase connects to server and lists directory, I need something that after listing directory, terminates session.

View 1 Replies View Related

General :: Unmount The Partition With Exec Permissions?

Aug 9, 2010

My hosting company said: You need to unmount the partition with exec permissions, install memcached and re-mount it with no-exec as a security measure.

Code:

[root@server tmp]# pecl install memcache
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl
channel-update pecl.php.net" to update

[code].....

View 4 Replies View Related

Programming :: Bash Redirection With Exec: Specify Fd With Variable?

Feb 21, 2010

Within a bash script, I'm attempting to redirect file descriptors with exec, e.g. exec 3>&1 1>&2; however, I'd like to do something like exec $FD>&1 1>&2, which doesn't work because bash tries to execute the value of $FD. Various placements of eval fail, as well. Is there a way around this, or am I stuck hard-coding the descriptor?

View 3 Replies View Related

Programming :: Fork/exec Versus Posix_spawn

Sep 30, 2010

Just coming over from Windows here... where I've been using "CreateProcess" which returns a value depending on whether the process was created successfully or not.

Now I'm trying to create a process on linux and I've been learning about fork/exec, and I've been struggling with the fact that there seems to be no easy way to know (within the original parent process) if exec succeeded or not. (without forcing the parent process to hang around polling it or something).

Anyway, I've now just discovered the posix_spawn function, and it seems exactly what I need. However I'm finding the documentation a little hard to understand. In particular, I can't find actual confirmation that it will definitely return an error if creating the process fails (like CreateProcess does on windows). So can anyone confirm that for me?

The text on the documentation states: "If posix_spawn() or posix_spawnp() fail for any of the reasons that would cause fork() or one of the exec family of functions to fail, an error value shall be returned as described by fork() and exec"

This makes me think it uses exec/fork under the hood, and so I wonder if it can be trusted..?

And also, most of the examples on the internet for creating processes use fork/exec, so I wonder if there is some catch with posix_spawn I haven't read about... (since it seems a much simpler way of doing things)

View 2 Replies View Related

Programming :: Gdb Debugging Exec From Child Process?

Jul 14, 2011

Im using gdb for debugging my application.. I was able to debug child process(when fork comes) .. and in child process we have an exec call to .... So the problem is, when the control come to exec , the exec process is executing at a time... I could not debug the exec. process... error is stack curruption due to same frame So, is there any way to debug the exec process

View 1 Replies View Related

Programming :: Passing Usb_dev_handle After Fork Exec?

Aug 19, 2010

I have been struggling with this for about a week now. I'm working with QuickUSB to send video streams to and from a device. I get the fastest results by fork()ing and exec()ing new processes everytime I run a pipeline, which works great when reading from files, but now i have to transition it so that i am reading/writing data over a QuickUSB bus. I have it working for each individual process, but i can't run multiple processes because it won't let me open the device. After looking through QuickUSB's API a little closer, i found that the QHANDLE type that they use to describe the usb device is actually just a usb_dev_handle *. From what i have found, this is an incomplete structure, so i am having trouble with opening it in the main process and passing it to each new process to write to it. I already have semaphores set up to prevent multiple processes using it at the same time. I just CANT find out how to utilize the same usb device between two process that are forked and exec. i also must do the exec() because otherwise my gtk and gstreamer fails for trying to share resources.

View 1 Replies View Related

Red Hat :: Backup Exec Default Exclude List?

Feb 4, 2010

I am looking for a default, or starting "exclude list" for system backups. We are currently using Symantec Backup Exec, but I also do not think that is important to this question. I would think that the Oracle "lock" files and the /var/run/*.pid files can be excluded from the backup, and probably the dell file also. Can some provide a list of files/directories that can be excluded (from backup) for RHEL 5?

View 1 Replies View Related

Slackware :: Can't Exec /bin/login: No Such File Or Directory

Apr 13, 2011

Running Slack-13.1 64 bit stable Upgraded this morning kdelibs shadow and xrdb (patches). Can't login anymore at init 3:

Code:

can't exec /bin/login: No such file or directory

Can see /bin/login from other distro what to do where to search?

View 11 Replies View Related

Fedora Installation :: Enabling User Exec To Install?

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

Debian :: Cannot Install Kernel - Tar: Bzip2: Cannot Exec: No Such Directory

Sep 8, 2010

I have used this guide to install kernel in my linux cyberciti.biz/tips/compiling-linux-kernel-26.html stage 1 worked perfectly. Now at stage 2 when I write the command dir/ls in the tmp directory I see the file: linux-2.6.26.tar.bz2 (2.6.26 is the version of my kernel) And now if I try to the tar function on my file and write it like this: Code: tar -xjvf linux-2.6.26.tar.bz2 -C /usr/src it gives me couple of errors like:

tar: bzip2: can not exec: no such directory
tar: error is unrecoverable: exiting now
tar: child returned status 2
tar: error exit delayed from previus errors

View 2 Replies View Related

General :: /usr/bin/xterm: Could Not Exec /bin/bash: Permission Denied

Sep 24, 2010

I'm in 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 top left corner. And have one line message : "/usr/bin/xterm : Could not exec /bin/bash : Permission Denied" Then 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.

Code:

[root@localhost lib]# ldd /bin/bash
linux-gate.so.1 => (0x00687000)
libtinfo.so.5 => /lib/libtinfo.so.5 (0x05846000)

[code]....

View 2 Replies View Related







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