I have to load ipt_route into my iptables on Centos 5.3 . I found a document about this
Code:
http://www.netfilter.org/documentation/HOWTO//netfilter-extensions-HOWTO-2.html#ss2.2
But I see that I cannot download and install like the document.
I'm running the alsa upgrade script and I have ffmpeg installed so it finds the /usr/local/lib/libavcodec.a first when I want it to use the /usr/lib/libavcodec.so instead because otherwise make errors occur.
Can I point it to use the PATH to /usr/lib/libavcodec.a or should I just uninstall ffmpeg temporarily.
I'm taking here about tins of directories, thousands of files. I'm looking to find a command that makes me able to move the results above to another path, and to create that path once it doesn't exist like below:
Java applet not loading image with relative path(e.g. images/1.jpg) but loads image with absolute path(i.e. from /root/user/images/1.jpg) . This is a problem when i want to host the applet on web server
I have a server (RHEL 5.5, 2.6.18-92.1.6.el5) connected to two SANs by multiple paths. But the server's only seeing one path at a time. The only exceptions are the controllers from my HP EVA SAN, as you can see below (which indicates correct zoning). Sometimes when I reboot the server, everything will switch to the other path, but it has never (that I know of) switched while the server is up and running.
[root@cobra ~]# lsscsi [0:0:0:1] disk NETAPP LUN 7320 /dev/sda [0:0:0:2] disk NETAPP LUN 7320 /dev/sdb [0:0:2:0] storage HP HSV210 5000 -
[code]...
I have triple-checked the zoning and masking/presentation, and everything looks correct. I'm working this through a paid support contract, too, but they're proving useless.
I have a program that takes a relative path as input appends it to a some path string to get the actual path.
Now all I can input is the relative path. So if I want to go one level above my input will be ../mypath.
If I know the depth of the path used internally, I can use .. as many times to go to the root directory and then give the absolute path. But suppose I do not know the depth of the directory, can I construct a relative path string such that it considers it as a relative path. One way could be to have enough .. in the path string so that I can force an absolute path for some maximum depth of path.
Is there some path string syntax that I am not aware of but can achieve this?
Experimenting with shell variables, accidentally deleted the path variable how could I return to the original path value. What kinds of problems will I have if I don't have a path variable.
how to add a path to PATH variable permanently so that it remains persisent even after closing shell and rebooting the system when i added a path, to variable it remained there as long as i didn't closed the shell. but when i reopened it ,changed were undone.
I have a path c:windowsackup I need this string to be changed into /windows/back/up I used the command -bash-3.00$ echo windackup | sed 's/\//g' but the output is windbackup
prefix=user@my-server: find . -depth -type d -name .git -printf '%h�' | while read -d "" path ; do ( cd "$path" || exit $?
[code]....
How shall i go about changing the absolute path to relative path, so that /home/git/mirror/android/adb/ndk.git gets converted to /mirror/android/adb/ndk.git //echo <command> "$prefix$PWD.git" ?? - anything for relative path?
After upgrading to CentOS 5.4, my root path seems screwed.The issue is present for CRONJOBs that run as the root user as well as when I su to the user through SSH.
I need the following path ALWAYS: PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin It currently only gives root:
I have a RH 5.5 server which boots from SAN and i use device mapper multipath driver.all the ports are up(see the multipath -ll output below) and i can see all the device but still when i do the multipath command it gives me this output, im wondering whether this is a lvm.conf configuration issue.
I just installed CentOS 5 last night. Former Debian user.I was having problems with commands like ifconfig and visudo. So naturally I ran locate and noticed that they where in /usr/sbin. Then echo $PATH and noticed /usr/sbin was not there.Should I add it to my $PATH?
I am trying to figure out how i can add the path /usr/sbin/ into the $PATH variable. I want this to be used from the normal account. I am bored settinh this manualy each time my computer starts.
I just set up an internal mail server for my office using Postfix, Dovecot and Squirrelmail. It works great except for one tiny problem. When I send mail, I address it to user@myoffice (no .com, .net, etc) and it works perfectly. However, somewhere in my work, I screwed up and for whatever dumb reason put myoffice.net somewhere in there and now the return-path always shows up as user@myoffice.net instead of just user@myoffice. Does anyone know how to fix the return-path so that when someone clicks reply it goes to user@myoffice? I've Googled and searched here without finding my answer, apologies if it's out there and I've just failed to see it. Rest assured I have done a couple hours of searching before finally asking for help.
I am failing to set PATH for all the users on a linux box(Fedora 8), permanently. Basically, I have installed two different versions of python(2.5 & 2.7) Python2.5 path is /usr/bin and it is set by default for all users(not by me, also i don't know how ) and it is working fine.
Python2.7 path is /usr/bin/Python27/bin, so tried this:
PATH=$PATH:/usr/bin/Python27/bin
And it worked only for that particular session and for only root, as I set path from root user. So, i need this to be set for all the users on the linux box, including root, more importantly as permanent. So if any user types "python27" at the command prompt, it should give python2.7 prompt.
We have too many audio Paths, for each user have one. We would like to create a unique folder to Read in network.
For example:
The idea is Mapping all folders to the path /pub/Music in server, so all user can access all music online in the server.
Very Well. How we can do it?
And when pc1 and pc2 have the same subfolder, like Beatles, and in the subfolder have different folders ( PC1-Beatles/Revolver ) (PC2-Beatles/Habbey_Road) or The same folder (PC1-Beatles/The_Mistery_Magic_Tour) (PC3-Beatles/The_Mistery_Magic_Tour)...
Is there a way to set a short cut so that you don't have to type out the full path to directories in CentOS? For example instead of typing out /var/log to get to log files, can you just type logs and have the OS know to cd to /var/log automatically?
I have my server setup so I have to create the user account and directory structure for a domain, add the domain to the httpd.conf file, but then I can create subdomains by adding a folder.
I have been trying to install the NumPy package for Python on to my home directory, as I run as part of a server and do not have permissions to install new packages in the Linux server.
I have set up Python in my home directory, and have configured ~/.bash_profile to find my local Python (which works, confirmed by testing).
However, when I attempt to install the NumPy package, I get the message error: could not create '/usr/local/lib/python2.6': Permission denied Which I find strange because I do not see why it would need to install files anywhere except my local Python directory.
how I might be able to specify the directory in which files are installed?
I have a question regarding the user that chkconfig runs as. My chkconfig script calls some other scripts to start up a tomcat instance. But the secondary scripts use %JAVA_HOME and for some reason the user it's running under doesn't have that defined. I can call the scripts directly as the root or as another user and it works properly. But I added an echo in the script and when chkconfig calls the script it has a much smaller $PATH and no $JAVA_HOME.
I'm running postfix with virtual domains and want to modify the delivery path. Right now, I have one path for each user that's found with a database lookup.Before mail hits Postfix, it will have an x-spam-header: yes/no/uncertain field. When mail with x-spam-header: yes the lookup for the path would return /var/mail/domain/username/.Inbox/.spam.
What I think I'd like to do is parse the x-spam-header value in postfix, populate a variable, then use the variable to modify the path lookup in the database. header_checks has a FILTER option, but that's just beyond my skillset at the moment.Or, maybe I'm better off modifying the path with a procmail recipe? Currently, my mailbox_command = procmail -a "$EXTENSTION"
a new hardisk and a reinstall later I find myself face with 2 problems now. firstly I followed, [URL]... which seemed to work fine, accross the network I can "see" all the workgroup computers. Now try login to karmic's or (other linux box) jaunty, can't find network path. tried turning off the firewalls, still no go. the two linux boxes can chat merrily, and the 2 windows boxes can chat, but to each other. however after fidling a bit , on karmic i now get
Quote: Could not display "network:///" Nautilus cannot handle "network" locations
so firstly how do i reinstall everything, the how deal with windows.
trying to install sunray server 5.0 which claims to support RHEL 5.3 or greater, but I can't even manage to get the utinstall to find the jre, which is installed. java -version is fine, which java, is fine. I've tried a zillion paths. Does java perhaps have to be in a specific location? Wouldn't the path to the jre normally be the ~/jre/bin the utinstall looks like: Enter Java v1.6 (or later) location [/usr/java]: No JRE found at /usr/java
I'm missing some features only available from MySQL 5.5.6 and therefore neither Debian's archive or dotdeb supports my needs Is it difficult (link / guide) to compile MySQL myself from my Mac or virtual debian and then distribute it to my servers, will it likely cause more problems and will I be able to compile upgrades later or change back to Debian archive (or dotdeb) when they are releasing a sufficient version? I've been administrating my servers for 2 years now and have some knowledge how things is working :-)