I am aware of using lsof for checking the files currently accessed by a process. Does there exist a way to see all files that an application opens in it's lifetime?
I have installed httpd 2.2.15 on CentOS 6.5 (minimal installation with no cPanel) with modsecurity 2.8. When I am starting httpd I am getting this error:
Starting httpd: Syntax error on line 23 of /etc/httpd/conf.d/modsecurity.conf: ModSecurity: Found another rule with the same id
The line 23 is:
"id:'200000',phase:1,t:none,t:lowercase,pass,nolog,ctl:requestBodyProcessor=XML"
Please advise. Thx in advanced
I'm trying to run the netdiag command to troubleshoot the internet connection but when I run it in cmd I get the following message:
'netdiag' is not recognized as an internal or external command,
operable program or batch file.
Also, I have tried typing "net diag", which gives me a syntax error, but that NET command seems to be something completely different.
Searching on google for answers gives me results that deal with Windows Server 2003; I'm on a Windows XP machine.
I would like to grant users of the wheel group (other sysadmins) su access without being asked for password.
I know how to do it with pam in linux, but the question now is for FreeBSD. I am not familiar with the syntax for FreeBSD's PAM subsystem. What shall I enter in /etc/pam.d/su instead of the default:
auth sufficient pam_rootok.so no_warn
auth sufficient pam_self.so no_warn
auth requisite pam_group.so no_warn group=wheel root_only fail_safe ruser
auth include system
# account
account include system
# session
session required pam_permit.so
I have a Java program working with this syntax:
command.jar namefile
I have to run this program for 1600 files in a directory. How can I run this command for every file automatically?
Is there a DOS batch command? Or another way?
Windows 7 Home Premium 32 bit
2 GB RAM
Duo 1.6MHz processors
Since upgrading from Vista to Win 7 File Hippo Update Checker no longer works? It appears to go through the motions of checking the software because the popup window appears but it never fires up the results in a browser which it used to do in Vista.
It simply does nothing after the initial popup window appears and disappears.
Have tried uninstall/reinstall with no joy.
Any ideas?
PBX: Nortel Opt 81c
Connection: Analog lines through Procomm or Reflections
We are thinking about backing up the Nortel PBX config and checking them into the subversion.
I am wondering if anyone has found the a way to automate the pulling of the configs off the Nortel PBX. Configs would be programming listing in plain text that we can diff in subversion to see what has been changed.
An example config would be to go into ld 21 and printing the RDBs.
Hi Guys,
What is the syntax for searching a file with file name that STARTS with a certain phrase?
Example:
I have two files:
60933 blahblah.xls
PZ 60933 blahblah.xls
I would like to search only for the first one but Windows Search always returns two results.
I have tried these but none of them seem to work:
filename:60933
filename:^60933*
filename:60933..xls
My setup: Windows XP Pro CZ, Windows Search 4, files are located on indexed network share.
What causes this error?
Error: Multilib version problems found. This often means that the root
cause is something else and multilib version checking is just
pointing out that there is a problem. Eg.:
1. You have an upgrade for glibc which is missing some
dependency that another package requires. Yum is trying to
solve this by installing an older version of glibc of the
different architecture. If you exclude the bad architecture
yum will tell you what the root cause is (which package
requires what). You can try redoing the upgrade with
--exclude glibc.otherarch ... this should give you an error
message showing the root cause of the problem.
2. You have multiple architectures of glibc installed, but
yum can only see an upgrade for one of those arcitectures.
If you don't want/need both architectures anymore then you
can remove the one with the missing update and everything
will work.
3. You have duplicate versions of glibc installed already.
You can use "yum check" to get yum show these errors.
...you can also use --setopt=protected_multilib=false to remove
this checking, however this is almost never the correct thing to
do as something else is very likely to go wrong (often causing
much more problems).
Protected multilib versions: glibc-2.12-1.107.el6_4.5.i686 != glibc-2.12-1.107.el6_4.2.x86_64 Error: Protected multilib versions: db4-4.7.25-18.el6_4.i686 != db4-4.7.25-17.el6.x86_64 You could try using --skip-broken to work around the problem
** Found 10 pre-existing rpmdb problem(s), 'yum check' output follows:
32:bind-libs-9.8.2-0.17.rc1.el6_4.6.x86_64 is a duplicate with 32:bind-libs-9.8.2-0.17.rc1.el6_4.5.x86_64
chkconfig-1.3.49.3-2.el6_4.1.x86_64 is a duplicate with chkconfig-1.3.49.3-2.el6.x86_64
db4-4.7.25-18.el6_4.x86_64 is a duplicate with db4-4.7.25-17.el6.x86_64
12:dhcp-common-4.1.1-34.P1.el6_4.1.x86_64 is a duplicate with 12:dhcp-common-4.1.1-34.P1.el6.centos.x86_64
glibc-2.12-1.107.el6_4.5.x86_64 is a duplicate with glibc-2.12-1.107.el6_4.2.x86_64
glibc-common-2.12-1.107.el6.x86_64 has missing requires of glibc = ('0', '2.12', '1.107.el6')
glibc-common-2.12-1.107.el6_4.2.x86_64 is a duplicate with glibc-common-2.12-1.107.el6.x86_64
glibc-common-2.12-1.107.el6_4.5.x86_64 is a duplicate with glibc-common-2.12-1.107.el6_4.2.x86_64
krb5-libs-1.10.3-10.el6_4.6.x86_64 is a duplicate with krb5-libs-1.10.3-10.el6_4.4.x86_64
tzdata-2013g-1.el6.noarch is a duplicate with tzdata-2013c-2.el6.noarch
I'm trying to fetch the VNC access data from a virtual machine managed by libVirt. However, when I run virsh dumpxml $machine, the vnc passwd is missing:
<graphics type='vnc' port='-1' autoport='yes'/>
Checking the same using virsh edit $machine, I see the password is actually there:
<graphics type='vnc' port='-1' autoport='yes' passwd='asdf'/>
Why is this? Is this intentional (what reason?), or could this be a bug?
I'm trying to configure the cygwin to work with TWiki, I have to input this in the Cygwin bash shell:
mount -b -s c:/...
but it doesn't recognize the -s, I already fixed the problem with -b, it changed the syntax and now is mount -o binary for the mount -b part. But now it says unknown option with the "-s" anyone?? help?? or what does the -s mean, so I can look it up :S
When I access http://localhost/ I get 403 Forbidden, but if I access http://localhost/~username it serves up pages. Things I've tried:
- checking error logs
- swapping out with original httpd conf files
- changing DocumentRoot to my user directory (after all that should work if I can access ~username)
I've seen 30 plus Q&A sites that all point to people having trouble with user directories being forbidden. I have the opposite problem, and so I'm tearing my hair out here.
I am on a VPS, so I am trying to conserve memory. Across all my databases, I had a total of 5 innodb tables; I converted them all to myisam. However, even after triple-checking to make sure I had no more innodb tables, I am still crashing when I use skip-innodb in my.cnf.
When I'm using auctex with emacs to write LaTeX documents, I would like to be able to add a couple more options to the list of environment types that auctex "recognises" and can autocomplete, namely Theorem, Lemma, Proof, itemize* and a couple of others. Which variable to I need to edit? I have played around in customize-apropos LaTeX and auctex, but I haven't found it.
(lisp code snippet to add to my .emacs would be preferred, I don't quite understand the syntax yete)
This is my dir list on my NFS:
macbook-pro-andrey-k:Download Andrey$
ls
1289816143_PL_t1181913
1289816171_PL_t1183807
1290117075_BFD_DVD02(Drums)
I can't delete "1290117075_BFD_DVD02(Drums)" using
sudo rm -Rf
1290117075_BFD_DVD02(Drums)
because I get error message
-bash: syntax error near unexpected
token `('
Hlp plz, how can I either rename the dir so that the error message would not show up or delete the dir right away omitting rename procedure?
Thank you.
I need a raytracer, but I have some trouble with povray. is there a free, cross platform alternative which accepts a simple subset of povray syntax ? need to run it from command line. no graphics.
Hi all,
I got thie message when i started apache service
The Apache service named reported the following error:
httpd.exe: Syntax error on line 128 of C:/data/apache/conf/httpd.conf: Cannot load C:/data/apache/modules/mod_wsgi.so into server: The specified module could not be found. .
Not sure what went wrong, I do have
"C:/data/apache/modules/mod_wsgi.so"
Thanks for any help.
I can't seem to find any way to connect to a remote IIS instance with my local INETMGR on my Windows 7 machine. It shows my settings for my local IIS and everything I've tried from clicking various places on the connections panel, changing the address in the address bar and checking the various menubar menus none seem to offer connect to another machine.
Now I get a script.sh, previously it was executed using PuTTY provided it was written in VMWare, but now I want to execute in Windows using Cygwin, I already copy the script.sh out to the corresponding directory, but some commands Cygwin can not recognise.
generate(){
date +%T
}
TIME = generate()
echo " Current Time: $TIME"
After execute in Cygwin
script.sh: line 3: syntax errot neat unexpected token '$'<\r''
script.sh: line 3:'generate<><
While installing the fedora desktop I had unchecked the Games and Entertainment section but I can still see the same Games options available in the menu.
I tried checking the same in the Add/Remove Programs but I was not able to get the option for uninstalling the same.
Games which are present are: AisleRiot Solitaire, lagno, Mines and Sudoku
I would like to delete the games options available. Can someone help me doing the same?
I can't wrap my brain around the new pam.d configuration syntax used in Ubuntu 10.04. How do I setup PAM so that it allows users stored in my LDAP database to login.
I already configured nscd, so id <user> or getent passwd are already listing my LDAP users, but PAM doesn't work, whether the normal shell login nor su.
We are wanting to deploy our application to our Test server from our Hudson server.
I'd like to be able to have hudson copy the application files and start a script that would run locally on our Test server.
We can't use psexec because of a cross domain policy.
Currently we are doing this manually, by RDPing to the Test server and checking out the code from subversion manually.
Are there alternatives to PSExec that can bypass the cross domain policy problem?
Let's say there are some folder in the D: drive:
D:\Air
D:\Abonden
D:\All
D:\Whatever
I want to delete all folders starting with "A" (including all subfolders and files). I tried this command:
rmdir D:\A* /s /q
I get an error, though :(
The filename, directory name, or volume label syntax is incorrect.
The del command works with *, but I need to delete folders as well.
Is there a way to achieve that via the rmdir command?
My text and programmers editor of choice, when working on a windows box is TSE (The Semware Editor). It is small, it is fast, it is configurabel, and since I've used it (and it's predecessor QEdit) for over twenty years, my fingers can do the editing on autopilot, while the brain is busy with syntax and design.
Do you know of a similar editor preferably one that runs on Windows, Linux and OS X (and Solaris ..)
I've tried to use VIM (I know how to use VI even longer thant TSE) but it doesn't feel right.
i am trying to set the environment variables in tcsh shell and it is not working. This is the syntax that i am using currently
setenv MYSQL_HOME=/opt/mysql/mysql/bin
my other question is i have a c-shell script that i am editing. Is setenv the same as a regular set MYSQL=${MYSQL_HOME}/bin/sqlplus?
set MYSQL_HOME=/opt/mysql/mysql/bin
or should i just set the MYSQL_HOME to where the mysql executable is ?