Mochabomb

Web Design and Technical notes

Mochabomb header image 4

Entries Tagged as 'Linux'

How to mess up your Xen guest (make it nearly useless)

January 8th, 2008 4:27 am · 3 Comments

I made some changes to a VBD based Xen server - here’s what not to do:

Use a password in the httpd cert - if I ran xm console server I did not see that prompt - needed to use the vnc/gui to see this - entered it and got closer
Spaces in device names using system-config-network [...]

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • Digg
  • Slashdot
  • Technorati
  • MisterWong
  • Reddit

[Read more →]

Tags: Linux · Xen

PHP memory limit results in blank pages

November 5th, 2007 1:47 pm · No Comments

From a Drupal install, got a blank page when logging in….

[Mon Nov 05 13:20:36 2007] [error] [client 71.139.36.123] PHP Fatal error:
Allowed memory size of 16777216 bytes exhausted (tried to allocate 92160 bytes) in
/home/someuser/public_html/modules/event/event_timezones.inc on line 331, referer: http://example.com/
Up the memory in php.ini a few MB, restart httpd and all was working..

These icons link to social [...]

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • Digg
  • Slashdot
  • Technorati
  • MisterWong
  • Reddit

[Read more →]

Tags: Apache · Drupal · Linux · PHP

DNS Troubleshooting

November 1st, 2007 4:09 am · No Comments

Yeah, its 5am - got clients that rely on me to get things done…
DNS: Best free tool to use: http://www.dns.lu/en/EN-LUTestNoms.php
If seeing “not advertising as nameserver”, that means in the zone file that server is not listed:

mochabomb.com. IN NS ns1.mochabomb.com.
mochabomb.com. IN NS ns2.mochabomb.com.
mochabomb.com. [...]

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • Digg
  • Slashdot
  • Technorati
  • MisterWong
  • Reddit

[Read more →]

Tags: Linux

Quick NFS Setup Notes

October 27th, 2007 2:39 am · No Comments

Quick NFS Setup Notes:
Server with files to be shared:
# service portmap start; service nfslock start; service nfs start
# echo ” /home/sharedfiles (ro,sync) >> /etc/exports
Server that accesses these files
Edit /etc/vfstab
server:/share/adir /opt/adir nfs ro,sync [...]

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • Digg
  • Slashdot
  • Technorati
  • MisterWong
  • Reddit

[Read more →]

Tags: Linux

NFS with Shorewall & SELinux - CentOS

October 22nd, 2007 12:01 am · No Comments

These are my notes from what I got working for a CentOS NFS with Shorewall and SELinux. Here are the following:
* Server called “server” (192.168.1.10) exporting /opt/goodies for machine “client” (192.168.1.15) to use in /usr/local/goodies
* Both are running *nix with Shorewall firewall
* This config works for CentOS - others may need tweaking. [...]

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • Digg
  • Slashdot
  • Technorati
  • MisterWong
  • Reddit

[Read more →]

Tags: Linux · Networking