Debian Programming :: ANT Script Task Failing

Mar 8, 2010

Using ant with

Code: Select all<script language="jython" manager="auto">

is failing

BUILD FAILED
/root/dawndusk/times_build.xml:25: Unable to create javax script engine for jython
at org.apache.tools.ant.util.optional.JavaxScriptRunner.evaluateScript(JavaxScriptRunner.java:86)
at org.apache.tools.ant.util.optional.JavaxScriptRunner.executeScript(JavaxScriptRunner.java:69)

I have ant-optional installed. Do I need to register specific languages?

Apache Ant version 1.8.0 compiled on February 20 2010

Detected Java version: 1.6 in: /usr/lib/jvm/java-6-openjdk/jre

View 1 Replies


ADVERTISEMENT

Programming :: Using Stdout For More Than One Task?

Jun 30, 2009

I want to parse my mail log file and reuse the results but I'm having a hard time structuring the syntax. Something like:

Code:

grep hostname /var/log/mail.log |
grep NOQUEUE: |
sed -e 's/hostname postfix/smtpd/[[0-9]*]: //g'

at this point I want to redirect what I have in hand to a file but also ... fork? or split? whatever the term, to continue onward so that I can pipe the results further into wc -l or sort or programX. without having to re-loop through that huge log file.

View 2 Replies View Related

OpenSUSE :: Tasks Overlap In Task Bar (system Tray / Task Manager)?

Jun 26, 2011

Anybody knows how to fix overlapping tasks in KDE system taskbar?Here System Monitor overlaps with digiKamWorkaround to rearrange icons - start any new task.Sorry for taking real photo of the screen. When I do PrintScreen KSnapShot task appears in the list and makes all task to rearrange. The resulting screenshot contains already fixed view.

View 5 Replies View Related

Ubuntu Installation :: Task Manager Or Task Bar, Keeps Changing Length?

May 29, 2011

After upgrading from 10.10 to 11.04 all of a sudden, the task manager or task bar, keeps changing length. The individual window "buttons" themselves keep changing size - flashing even, and the space between them also changes. It is driving me nuts! The little system tray(?) icons no longer appear in the system tray, but all stacked on top of each other in the top left corner.

View 1 Replies View Related

General :: Launching A Task From Cli And Divorcing It From Terminal Task?

Feb 10, 2011

How do you launch a task from a terminal command line interface and it not be kill'ed if you close the terminal window. Like if I run jedit I type jedit & which launches jedit as a backgorund task. But, if I close terminal window, jedit dies to. How do I laucnch jedit and completely divorce it from the terminal task?

View 6 Replies View Related

Programming :: Way To Find The Task Switches From Gdb Coredump?

Mar 15, 2011

I have a coredump file which gives stacktrace. But I dont know which thread executed or any task switches happened before a crash happened from a given thread. is there anyway to find out.

View 3 Replies View Related

Programming :: C++ Failing To Pass By Value?

Jan 25, 2010

I have a strange problem with a simple program. I have a container class that holds a pointer. I did this so I could use another container class that does several pass by value calls. I didn't want to be copying the object over and over again, so decided to build this simple container that simply copied the pointer in the copy constructor.

However, the pass by value call seems to be failing in a strange way. When the pass-by-value function is called, the program jumps into the copy constructor just fine and performs the pointer assignment operation. The program will copy the pointer value 0x20 (for argument sake) to the "this->base" location. Within the copy constructor, this has the address 0x28. Then when it jumps into the function, instead of pass by value argument being at 0x28 (as expected), it is at 0x36. Then 0x36->base has the address 0x28. Thus the base is now pointing at what was the new pointer container. At this point the data is corrupted and random things happen.

It seems that there is some strange assignment and double nesting going on. I really do not understand what is going on.

Below is some code. I have stripped away all the other code trying to isolate the problem. I have added comments explaining what my debugger is telling me.

Code:
using namespace std;
class paramPnt // Need to determine how order is tracked
{
private:
long order;

[Code].....

View 4 Replies View Related

Programming :: Run Cgi As Root Using Setreuid Failing

Nov 16, 2010

I'm calling a cgi-script on an apache webserver. The script needs to create a textfile and write certain values into it. When I do:

Code:
static const std::string outputFile( "/flash/myfile.ini" );
std::fstream fileStr( outputFile.c_str(), ( std::fstream::out | std::fstream::trunc ) );
if( !fileStr.is_open() )
{
throw std::runtime_error( "Failed to open config file." );
}
The runtime error is always thrown.

So I wish to run this cgi as root by doing this:

[Code]....

View 1 Replies View Related

Programming :: Continue Execution Of A Python Program While A Background Task Is Going On?

Aug 28, 2010

I'm trying to figure out how to continue execution of a Python program while a background task is going on.

In bash, it is adding "&" to the end as in:

Code:
#! /bin/bash
find / -iname "*.py" > /tmp/all_pys &
echo "looking for all python scripts and putting them in /tmp/all_pys"
(yes, I know I could just put the echo BEFORE the find but I just use it for example)

Say I do that in python (not necessarily running the shell, but perhaps using scriptutil.ffind or something similar), but want to allow the user to be doing something else while running that search in the background, how would I thread, fork, subprocess (not to be confused with the module and Popen) [or whatever I should call it] that?

View 14 Replies View Related

Programming :: Lighttpd Startup Script Failing?

Aug 4, 2010

I am using Ubuntu 9.04Following is a startup script I am trying.

Code:
#!/bin/sh
USER=lighttpd

[code]....

View 3 Replies View Related

Programming :: Typeset -i Failing And Return Exit Code 1

Nov 18, 2010

I have this command in ksh:

1. typeset -i INTEGER INTEGER=aaa In all platforms except of Linux it is failing and return exit code 1 Why in Linux it is not failing? I must it for my number tests

2. The same for printf command. Only in Linux the bellow command is not failing: printf "%d" aaa

View 7 Replies View Related

Programming :: C++ List Regular Files Function Failing Inconsistently?

Mar 28, 2011

I've got a problem with a piece of code. Basically, I use my listRegularFiles function in two separate places in my code. The first time I run itit appears to work perfectly well. If I use it a second time, however, it blows a gasket. I'll post my code below, and if anybody has any ideas,Here's the code for listRegularFiles:

Code:
string listRegularFiles(char* dirname)
{

[code]...

View 2 Replies View Related

Programming :: Attempting To Do A Strdup Is Failing With A Segmentation Fault Within Libc?

Mar 12, 2010

Does anyone see a problem with my code? attempting to do a strdup is failing with a segmentation fault within libcplugintools.h

Code:
/* Provide function for adding files to be copied/linked
into report

[code]...

View 1 Replies View Related

Debian :: Cron Task Not Working

Jun 27, 2015

I have a ts3.desktop file in my /usr/share/applications folder that I want to run on system boot. I have typed the following commands which don't work

Code: Select allcrontab -e

Then in the editor, I typed the following line at the bottom of file. I also made the necessary carriage return after this line.

Code: Select all@reboot gtk-launch ts3 /usr/share/applications

Then I pressed ctrl+o to save it.

After I put these commands in, I did the following command to troubleshooting this issue, see below.

Code: Select all$ crontab -l
no crontab for server
$ps -ef | grep cron | grep -v grep
root         532      1   0 21:35 ?                 00:00:00 /usr/sbin/cron -f

But after I reboot and nothing happens, the application doesn't start.

View 1 Replies View Related

General :: Evolution Task List Reminder (sync With Phone And Online Task List)

May 19, 2011

I have my task list in evolution (mainly so it can sync with my phone and online task list) but I always forget to look at the task list. Is there an application or plugin which periodically displays the contents of the tasklist or even better, it briefly displays the most urgent/important tasks when I login? Or anything else which automatically displays the most important tasks. Currently I have to open the task list and look at them (which I usually forget). I do not mean some kind of alarm when the task is due but more a daily reminder of what to do.

View 3 Replies View Related

Programming :: Kernel Module - Task_struct / Files Struct, Open_fds, And The Open File Descriptors In Task?

May 1, 2010

This for Kernel 2.6.29.6. I'm trying to code a kernel module that displays process information.

how to count opened file descriptors per task. I have been able to write a module that lists all the current process names along with their pid number in /var/log/messages. Basically, I cycle through the ring of processes using the macro for_each_process(task) and printk the comm and pid of each task. I'm trying to see how many file descriptors each task has open. I've been reading up in books and all over the internet. At first I thought I needed to access max_fds under files_struct, but that just lists the maximum number of file descriptors that can be opened per task, which by default is set at 256. I then thought about counting the elements in the fd_array. But then I learned that every task's fd_array is initially set at 32. Now I know that I need to access open_fds of type fd_set * in files_struct. open_fds is a pointer to all the open file descriptors. The problem is that I don't know how to access a pointer of type fd_set.

Is there a good guide or book that really focuses on type fd_set and open_fds? Every book and resource I've read never really go into depth on this. relationship between files struct, open_fds, and the open file descriptors in task?

View 4 Replies View Related

Debian :: Starting A Task At System Initialization

Aug 3, 2010

The question - before searching and reading - was "how is it done? (see subject)"The question now is - "am I interpreting it correctly?"It seems that basically 3 things need to be done:place a copy of the startup script in /etc/init.d;in rc?.d, define symbolic links to the startup script run chkconfig or insserv to activate the script.

View 3 Replies View Related

Debian :: Skype Icon Disappear From Task Bar

Dec 11, 2010

when i start my skype account after login, I minimize and on the task bar appear the Icon , but few minute after, the icon disappear from the task bar. If I check the process (wy typing ps -aux | grep skype) i found the process of skype, but I'm unable to get it in foreground (nor with alt-tab key. I was unable to see the skype icon).so every time I have to kill the process ad start it again.

View 1 Replies View Related

Debian Configuration :: DomU Freezes With Task

Apr 7, 2016

We have several systems (DELL-Server PowerEdgde) installed with Debian Jessie 8.4 (physical server and VM) and if the server has big Disk I/O (copy, backup with Backup Exec) the VMs freeze.

Console output:
[168960.072192] INFO: task jbd2/xvda2-8:139 blocked for more than 120 seconds.
[168960.072209] Not tainted 3.16.0-4-amd64 #1
[168960.072213] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[168960.072220] jbd2/xvda2-8 D ffff8803e72946e8 0 139 2 0x00000000

[code]....

The system installed: Linux version 3.16.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.8.4 (Debian 4.8.4-1) ) #1 SMP Debian 3.16.7-ckt25-1 (2016-03-06)

I installed Jessie with ext4 and ext3, same error!

View 3 Replies View Related

Debian Configuration :: Task Blocked For More Than 120 Second Hung_task_timeout_secs?

Feb 8, 2010

we are getting Out of memory issue in web server log & kern.log at same time cpu load is comming very high....

top - 13:37:10 up 221 days, 12:43, 0 users, load average: 90.56, 61.63, 31.44
Tasks: 229 total, 64 running, 165 sleeping, 0 stopped, 0 zombie
Cpu(s): 1.6%us, 0.3%sy, 0.0%ni, 97.2%id, 0.8%wa, 0.0%hi, 0.1%si, 0.0%st

[code]....

View 4 Replies View Related

Debian Multimedia :: Faulty Icons In LXDE Task Bar Since 8.0

May 2, 2015

I saw that on every computer in which I installed LXDE on Debian 8 (the problem was not existing on Debian 7.8.0)

So I decided to use mate-desktop-environment but a brand new problem (always ) made his apparition when I try to use tightvncserver on a Mate desktop (no task bar, and memory growing GB after GB up to the memory explosion after 1 or 2 minutes with 16GB RAM -I will post another subject for that once I will know more things about it - since it is, after all, an huge problem causing the computer to crash if "reboot" our "vncserver -kill :1" is not quickly done)

But here talking about LXDE taskbar: others LXDE users, do you have this problem with the icons ?

View 2 Replies View Related

Debian :: How Can I Tell Which Library Is Failing

Feb 11, 2011

I am trying to install a printer driver on an amd64 that was designed for 32bit only (of course)Squeeze automaticallty installed the ia32_libs package, but it may not be enough.How can I tell which library is failing?I do get an error on libcupsimage.so.2 but it does exist in /usr/lib/libcupsimage.so.2

View 4 Replies View Related

Debian :: Prevent The Gnome Task Bar Icons From Rearranging Themselves When Reboot?

Apr 10, 2010

they change positions every time and locking them only makes it harder for me to arrange them back.

View 1 Replies View Related

Debian :: Squeeze Failing To Hibernate?

Jul 30, 2011

I've had a problem trying to hibernate, sleep doesn't work either, when I try it starts to hibernate but then the screen flashes and when I move the mouse I'm returned to my current X session. I see the following in dmesg

PM: Device usb10 failed to freeze: error -2
[  682.481822] sd 0:0:0:0: [sda] Starting disk
[  682.798713] Restarting tasks ... done.

Apparently this notation points to a USB root hub, I have a USB 3 capable MB and I saw few mailing lists suggesting this was a bug but I can't find a fix, anyone out there resolved this?

cat /proc/version: Linux version 2.6.32-5-amd64 (Debian 2.6.32-35) (dannf@debian.org) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP

View 3 Replies View Related

Debian :: K3b Is Failing To Make Copies Of DVDs?

May 6, 2010

I am trying to make a backup copy of a DVD without success. k3b simply stays there silent doing nothing and I have to terminate the application. Is there a way to make DVD copies if one needs to?EDIT:I am using the home partition for caching as it is the biggest one on the disks; /tmp is too small.

View 5 Replies View Related

Debian Installation :: Create Bootable USB Failing

Feb 11, 2016

Every time I try to create a bootable USB on my sid boxes, it comes out corrupt. I'm trying to use a multi-arch netinst iso so I can back up my tablet. Anyway, I use

[code]
# cp debian-8.3.0-amd64-i386-netinst.iso /dev/sdf
[code]

And it won't boot, so I checked the drive with gparted on my desktop, and get some errors about invalid block sizes and corrupt partitions. When I try fdisk, it lists an EFI partition as I would expect, and then another partition with the right size, but its listed as type empty. I also get some invalid size errors there. This happens with an older iso I have successfully used in the past. When I run fdisk on the ISO file, I get the same errors as the USB drive. Here's the output
[code]

daniel@frakenstein:~/Downloads$ sudo fdisk -l ./debian-8.3.0-amd64-i386-netinst.iso
Disk ./debian-8.3.0-amd64-i386-netinst.iso: 556 MiB, 583008256 bytes, 1138688 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos

[Code]...

I think my issue is with the message about 2048 vs 512 byte block sizes. I tried setting up partitions on my drive and just copying data to them from the iso. This makes the BIOS recognize the USB disk and it tries to run the bootloader, but fails since the symlinks are messed up copying that way. I've tried a few different boxes (all running sid) and I get the same results on all of them.

View 6 Replies View Related

Debian Installation :: External HDD Mounting Failing?

Apr 2, 2011

I just installed Debian Squeeze onto my desktop and when i try to access it I get a dialog displaying:Error mounting: mount exited with exit code 1: helper failed with:Error opening '/dev/sdb1': Permission deniedFailed to mount '/dev/sdb1': Permission deniedPlease check '/dev/sdb1' and the ntfs-3g binary permissions,and the mounting user ID. More explanation is provided at[URL]

View 3 Replies View Related

Debian :: UFW Failing To Deny Incoming Pings

Feb 3, 2016

I'm unable to get the "Uncomplicated Firewall" (UFW) to deny incoming pings. I've set it to deny incoming. Yet when I ping it, it responds.I'm using Debian 8.2 jessie KDE fresh/clean install with all updates.Below is the terminal output from a simple test (I've added an extra line feed between the commands for clarity):On a Debian 8.2 computer -- I install UFW, enable it, check its status (deny incoming), and get the Ethernet address:

Code: Select allroot@Computer:/home/user# apt-get install ufw                                                                                                             
.... (long output -- no errors or warnings)
root@Computer:/home/user# ufw enable
Firewall is active and enabled on system startup

[code]...

The Debian computer with UFW active is responding to the pings, when it should be ignoring them.Rebooting the Debian computer doesn't fix the problem.This setup is very simple. I'm using all UFW defaults.This is a new Debian 8.2 install (clean) with all updates.

View 3 Replies View Related

Debian :: Failing To Edit Applications Menu

Jan 16, 2011

Decided to swap from ubuntu to full blown debian - and glad I did - just feels right using debian to me. Anyways. On my desktop im trying to edit my "Applications" menu" so that it includes "Programming" and "Other" sections of the menu. So i righclick "Applications" goto "Edit Menus" and try to checkbox the "Programming" & "Other" menu options. Alas as soon as I check them - the tick dissapears again - and there is no way for me to edit the menu. Its my system I have full access.

View 4 Replies View Related

Debian Configuration :: Failing To Install The SAMBA?

Sep 13, 2010

I get the following errors when installing samba.

slutb0x:/etc/samba# aptitude install samba-dbg

The following NEW packages will be installed:

samba{a} samba-dbg

0 packages upgraded, 2 newly installed, 0 to remove and 1 not upgraded.Need to get 49.2MB/55.5MB of archives. After unpacking 149MB will be used.Do you want to continue?

[code]...

View 5 Replies View Related







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