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 Mike Lewis 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: *

  1. Amazator

    RPM installation message: "error: can't create transaction lock on /"

    OK guys, the problem has been busted! The message came because there was no entry for the macro rpmlock_path in /usr/lib/rpm/macros. Added the macro with the value "/var/lib/rpm" and now the mysql-devel rpm installs like a charm! Just posting this here to help you guys later...
  2. Amazator

    RPM installation message: "error: can't create transaction lock on /"

    Yes, I am the root user. I log into the system as "root". I've been facing this problem every now and then on RHEL5 only. Does it seem like an RPM core issue?
  3. Amazator

    RPM installation message: "error: can't create transaction lock on /"

    Hi all, I am trying to install the mysql-devel RPM package on Red Hat Enterprise Linux 5 and face a curious error: "error: can't create transaction lock on /" I've done a bit of googling on this and the most often recommended measures were to: (a) make sure I am logged in as "root" (which...
  4. Amazator

    "Start on reboot" fails for a daemon; script works OK from commandline

    Hi, No, there is no failure of dependency for my daemon. It runs in level 5 (full graphical interface level for Red Hat Linux I'm using). It has got to be something else... Thanks.
  5. Amazator

    "Start on reboot" fails for a daemon; script works OK from commandline

    Hi, Our company has designed a daemon that I would need to program to start on a reboot (in runlevel 5). I've created a daemon script for the same (which looks like all other daemon scripts.....the standard ones which accept start|stop|status|restart) and created symbolic links in rc5.d. The...
  6. Amazator

    RPM build errors

    Hi folks, One of our company's products is packaged using an RPM command in the build shell script. Quite randomly, the RPM package gets corrupted on the build server during or after the build script terminates. I don't know why this is happening, but I am not doing anything hi-fi using RPMs...
  7. Amazator

    RPM build errors

    Hi folks, 1 of our company's products is packaged using an RPM command in the build script. Quite randomly, the RPM package gets corrupted on the build server during or after the build script terminates. I don't know why this is happening, but I am not doing anything hi-fi using RPMs, I'm just...
  8. Amazator

    Chaos on a Linux box!

    Hi guys, Someone in my organisation who is high enough in the management chain has access to the root password on one of our servers and while writing some shell scripts, executed the command: mv ${SOME_DIR}/* BKUP_<some date suffix>/ After that, no one's been able to login to that server...
  9. Amazator

    Hash Value is defined or not null

    Let me discuss a special case as a pointer. Sometimes when you are trying 'exists()' on a tied hash, older versions of AnyDBM_File don't allow that....the exists() function isn't even defined in the module for tied hashes. But the latest versions do allow... Regular expressions are the best...
  10. Amazator

    Perl program works on command line but fails as a CGI script

    Hi folks, I've written a program that works fine on command-line but fails as a CGI script when invoked from a browser. Apache is the server. I've put the script in the cgi-bin/<myuserid> folder. The error I get is: [Fri Apr 7 03:32:04 2006] lib.pm: [Fri Apr 7 03:32:04 2006] lib.pm: [Fri Apr...
  11. Amazator

    Problem with variable substitution in Korn Shell

    Folks, Double-quoting -$i didn't help.....guess Feherke was right. :( PHV's suggestion worked out: [code] typeset -i i=$(cat $1 | wc -l) [/ccode] Thnks....
  12. Amazator

    Problem with variable substitution in Korn Shell

    Thanks, all you wonderful folks who helped me! As Columb pointed out, I used the switches -xv for /usr/bin/ksh and saw the debug output and it revealed (let's say i is 9): + head - 9 | ... Probably due to not quoting the "-" character.....it was waiting for my interactive input...the moment...
  13. Amazator

    Problem with variable substitution in Korn Shell

    Hi friends, Am trying to write a lil script that reverses a text file top-to-bottom. It's: #!/usr/bin/ksh i=$(cat $1 | wc -l)...

Part and Inventory Search

Back
Top