Practical mod_perl / HTML Version / books


previous page: 22.3.10. Out of memory!page up: HTML Version of the booknext page: 22.4. Shutdown and Restart

22.3.11. syntax error at /dev/null line 1, near "line arguments:"


Search







modperlbook.org


 HTML Version


 PDF Version


 Download Code


 Table of Contents


 Errata


 mod_perl2 User's Guide


 Sitemap





Add to Google



Creative Commons License


Written by
Eric Cholet (Logilune)
and Stas Bekman (StasoSphere).

Hosted by ibiblio.org.




























If you see an error of this kind:

syntax error at /dev/null line 1, near "line arguments:"
Execution of /dev/null aborted due to compilation errors.
parse: Undefined error: 0

there is a chance that your /dev/null device is broken. You can test it with:

panic% echo > /dev/null

It should silently complete the command. If it doesn't, /dev/null is broken. Refer to your OS's manpages to learn how to restore this device. On most Unix flavors, this is how it's done:

panic# rm /dev/null
panic# mknod /dev/null c 1 3
panic# chmod a+rw /dev/null

You need to create a special file using mknod, for which you need to know the type and both the major and minor modes. In our case, cstands for character device, 1 is the major mode, and 3 is the minor mode. The file should be readable and writable by everybody, hence the permission mode settings (a+rw).

 

Continue to:

  • prev: 22.3.10. Out of memory!
  • Table of Contents
  • next: 22.4. Shutdown and Restart

Tags

mod_perl, modperl, Apache, perl, cgi, html, mod_perl, e-commerce, scalability, free, open source, OSS, apache, squid, high availability, modperl, linux, unix, Web, www, mod_perl, webserver, admin, apache, book, webmaster, tools, modperl, guide, docs, documentation, help, mod_perl, perl, information, apache, script, errata, eric cholet, perl, apache, mod-perl, stas bekman, mod_perl, cool, perl, Apache, performance, speed, choice




Other projects to check out: meta-religion.com is for those interested in Religious, Spiritual and Esoteric Phenomena. i-want-a-better.com is a community of people discussing what they would like to be improved in their lives and things they use and interact with. You may also want to find a healer in your area or read articles on variety of topics.






TOP
previous page: 22.3.10. Out of memory!page up: HTML Version of the booknext page: 22.4. Shutdown and Restart

© 2007 StasoSphere

[ Privacy Policy ] [ Terms of Use ] [ About Authors ] [ Search ]

Last modified Wed May 7 06:27:44 2008