Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: LaylaNahar
  • Content: Threads
  • Order by date
  1. LaylaNahar

    looking for linux distribution recommendation

    Hi, I have centos 5 installed on my sony viao (sony vaio digital studio pcv-r553ds) I installed smokeping (http://oss.oetiker.ch/smokeping/index.en.html), I had a lot of trouble getting dependencies up to date. I want to start over, install an up-to-date OS & then ad smokeping, maybe...
  2. LaylaNahar

    Can someone reccomend an open-source public licence sales software?

    Hi I need to set up a sales software / CRM. I need something of zero cost and public license. I thought of using Sugar (I'm thinking there is a 0 cost version and that it is public license) but Sugar seems like it might be darn hard to deal with. I've checked the wikipedia page that compares...
  3. LaylaNahar

    how to start a process/daemon as a different user

    Hello, If I am logged in as userA and I want to start process as userB (userB being something other than root) how do I do this? (I'm setting up and troubleshooting smokeping. I got some help that says, "Make sure smokeping is running as www:www or has permissions to /var/www/smokeping as...
  4. LaylaNahar

    would like help resolving dependencies, RRDTool on Centos 4

    Hi I have tried to install RRDTools on my Centos 4.5 system using the *.rpm files from the Centos/Red Hat link on this page http://www.mrtg.org/rrdtool/download.en.html I get dependency problems as shown below. I ran yum update perl the other day and got the message that there were no updates...
  5. LaylaNahar

    libpng build fails to find library that is present

    Hello, I am using Centos 5.2 and following these instructions to build RRDTool (http://oss.oetiker.ch/rrdtool/doc/rrdbuild.en.html) The command : env CFLAGS="-O3 -fPIC" ./configure --prefix=$INSTALL_DIR run from the libpng-1.2.18 directory always ends in the failure: checking for zlibVersion...
  6. LaylaNahar

    reg exp and value assignment

    Hi, I have a file with lines in this form: ; MAC=0004f2171cf0 I have detected the lines using /MAC/ is there a way that I can use a kind of 'reverse' of the detection to assign to my variable everything in that line that is not '; MAC='? thanks ever so much. LN
  7. LaylaNahar

    How can I replace a line of whitespace with -nothing-

    Hi there, I have some files in which I want to eliminate lines with no text. currently I'm just eliminating those lines which have only the "\n" character on them like so: if (($lines[$i] eq "\n") && ($lines[$i+1]) && ($lines[$i+2])) { chomp ($lines[$i]); } I'd like to replace...
  8. LaylaNahar

    best way to handle pasted input that includes carriage returns

    Hello, I want to build an array in perl by copying and pasting, as input, a list like the one below. ; MAC=0004f2125ad2 ; MAC=0004f2125e5c ; MAC=0004f2125f15 ; MAC=0004f212604a The closest I have come is by using this code: while(<STDIN>) { $newmac = <STDIN>; push(@maclist, $newmac)...
  9. LaylaNahar

    copied from Oreilly &quot;Learning Perl&quot; - but the logic doesn't work

    Hi - I copied this script from Oreilly's 'Learning Perl'. I'm pretty sure I copied it accurately, but the logic doesn't work. when you don't guess the secret word, the elsif clause is executed twice in a row, advancing the index to the end of the array, instead of just on to the next item...

Part and Inventory Search

Back
Top