When trying to process netflow data with nfdump I get an error: "Can't process nfdump 1.5.x block type 1. Add --enable-compat15 to compile compatibility code. Skip block." I tried compiling it several times but to no avail. I always get the same error. Where exactly do I need to add that parameter? I tried to adding it to ./configure --enable-compat15, but it makes no difference. Must I add it some place else? Anyone encounter the same problem?
So, I finally figured it out. ./configure --enable-compat15 is correct, but you have to delete all the direcotory and extract from tar.gz again, if you had ran make previously in that directory. Now it works.
Related
I am facing a bit of a conundrum.
I've been trying to form an ISO from a WIM for some time now, but always run into the same error:
It plays up nicely, merges the swm-files as well, but in the end the error comes:
failure when attempting to copy boot files
It may be that I miss the forest for the trees, but I can't find the error.
I am already in the subfolder where etfsboot.com is.
oscdimg -n -m -o -betfsboot.com C:\ZZ C:\YY\XXXXTestimage.iso
So my command, which was also executed.
On C:\ZZ are the subfolders like on a deployment stick, in the subfolder "target" are
the swm-files, the files were adjusted so that it assembles the swm-files (it did this without any problems).
But why can't it write boot files?
Where exactly is my error in thinking that I don't see?
Would be cool if someone here looks into this and maybe sees the needle in the haystack.
Thanks in advance.
applying the iso in the vm
oscdimg without any problems
I just try to create an ISO from a WIM-file
I also splitted the WIM-file and put it into the target-folder
I have started working with the libzip library today. But I do not understand the principle how libzip works.
My focus is on zipping a directory with all the files and dirs within
into a zip-file.
Therefore, I started with zip_open(), then I read the directory
contents and add all the dirs with zip_dir_add() to the archive.
After that, I closed the zip-file with zip_close(). Everything was
fine. The next step should be to add all the files to the archive with
zip_file_add(). But it doesn't work. The last step closing the file
fails.
OK, I forgot to create a zip_source to get this done. I added a
statement a line before to get this source (zip_source_file()). But
still it doesn't work.
What is wrong in my thinking? Do I have to fopen() and fclose() the file on the filesystem also?
And what is the difference between zip_source_file() and zip_source_filep()?
Do I have to fopen() and fclose() the file on the filesystem also?
No, you can just use zip_source_file().
From your comments I think you have the right general idea, but there is probably some detail that is making it fail. Make sure you perform all the error checking the documentation suggests after each libzip call so you can get more information about what is causing it to fail.
You could also compare your code with https://gist.github.com/clalancette/bb5069a09c609e2d33c9858fcc6e170e
I uploaded the Module in Sugar CRM using Module Loader and it is showing in the list but while I try to install it shows me the following error.
Display Log
Failed to copy
cache/upgrades/temp/BqJ0Hh/SugarModules/modules/ls_l2schat to
modules/ls_l2schat
I have given permissions necessary permission to all folders but still getting the same error.
and the directory "cache/upgrades/temp/" is empty. Please let me know how to fix this issue OR debug step by step.
That usually means that your manifest.php is incorrect and it doesn't correspond to what is actually in the zip. Check to see if /SugarModules/modules/ls_l2schat exists in your module's zip file. If it is, check again and make sure that the spelling and casing is EXACTLY right.
I'm trying to do setting a kraftwagen project using http://kraftwagen.org/get-started.html
I can go through the document until Building topic. But after that, when I try to run drush kw-b is it give some error.
$ drush kw-b
Makefile generated from template (/home/dinuka/drush_test/src/tools/build.make.tpl).[success]
Beginning to build /tmp/kwLL5uil. [ok]
drupal-7.22 downloaded. [ok]
file_exists() expects parameter 1 to be string, array given filesystem.inc:185 [warning]
Source directory p is not readable or does not exist. [error]
drush_test copied from p. [ok]
Called command make returned an error.
I can't find drupal-7.22 anywhere. I think it is a problem. I'm a newcomer to Drupal and these things.
Seems to me to be a bug, like this one : https://drupal.org/node/1078318
Maybe you should report it directly (and try to get the patch for it.)
Hope it helps! :)
I am new to FSL, using version 4.1.8. I am trying to run a script that reads and generates *.nii files, which format is normally supported by FSL. I am calling an FSL function, probtrackx from within Matlab. However, I get the following error message seemingly unable to generate or recognize *.nii files:
** ERROR (nifti_image_read): failed to find header file for '~/Documents/fMRI_data/../DTI/fsl_dti/masks/target_mask_001'
** ERROR: nifti_image_open(~/Documents/fMRI_data/../DTI/fsl_dti/masks/target_mask_001): bad header info
ERROR: failed to open file ~/Documents/fMRI_data/../DTI/fsl_dti/masks/target_mask_001
ERROR: Could not open image ~/Documents/fMRI_data/../DTI/fsl_dti/masks/target_mask_001
The files do exist but FSL fails to recognize them. Any help as to how to correct the issue and get FSL to work properly would be most appreciated. I suspect it's a Linux settings issue, just not sure how to fix it. A solution to a related problem in a previous posting suggested adding ls='ls --color=auto'. I've tried it to on avail.
Some FSL tools assume that the $FSLDIR unix unvironment variable is set, which might not be the case in your MATLAB environment. You can fix that with something like setenv('FSLDIR', '/usr/local/fsl') (modified of course if your FSL installation is in a different place). Some also need the regular FSL setup script to be executed as well: system('. ${FSLDIR}/etc/fslconf/fsl.sh'). See also: http://www.fmrib.ox.ac.uk/fsl/fsl/downloading.html.
Instead of the more complicated probtrackx script, another thing to try first is simply:
system('fslhd ~/Documents/fMRI_data/../DTI/fsl_dti/masks/target_mask_001')
If this fails with the same error, then you know that you entered the path to the data incorrectly. For example, do you mean to have the .. in there?
Also, in the future, the best place to get FSL support is on their mailing list at: https://www.jiscmail.ac.uk/cgi-bin/webadmin?A0=fsl
Does MATLAB have access to run other fsl commands? If you are able to run a command from the command line but not through MATLAB, the MATLAB user may not have access to run fsl or may be looking for some FSL variables.
You might have to do the equivalent of this for a linux system