simple singularities

ubuntu & nagios2

Filed under: flickr — fri13th November 21, 2008 @ 9:50 am

nagios is an open source server management system.. though the design isn’t cool like its competitors, it has many useful features you have to check. i installed it to ubuntu and test it.. actually it was very simple.. just apt-get install nagios2 and add new auth info and that’s all.. you can get further information from ubuntu howto site.

there are something missing parts in that howto. you have to setup apache2.conf manually
open /etc/apache2/apache2.conf and add
Include /etc/nagios2/apache2.conf

and you have to *start* nagios. strangely, restart doesn’t work..
sudo /etc/init.d/nagios2 start

and you can see nagios is working on your server.
good luck, server guys~

samba leopard ubuntu problem..

Filed under: flickr — fri13th November 15, 2008 @ 3:17 pm

i said ubuntu 8.10 has some samba problem, and i changed it to 8.04 and the problem wasn’t disappeared. actually it was some kind of permission problem. mac uses id:staff but ubuntu uses id:id. because the group is different the access is limited also.. i don’t know how to setup correctly to solve this problem. i just set the samba dir in ubuntu. and use avahi to connect to leopard.

this is the sample code

smb.conf

1
2
3
4
5
6
7
8
9
10
[shared]
comment = Shared
path = /home/yourid/shared
read only = no
browseable = yes
writable = yes
valid users = yourid
valid group = staff
write list = yourid
create mask = 0777

and

1
sudo apt-get -y install avahi-daemon

wish you luck!

ubuntu 8.10 sucks!

Filed under: linux — fri13th November 13, 2008 @ 8:24 pm

i like ubuntu so much. this linux does rock really! it’s stable and fast and full of useful features. i anticipated new version of ubuntu so long. i couldn’t wait the release date, so i installed rc using upgrade, and the tregedy started from then.

at first, i faced apache virtual host didn’t work right.. i remained configuration files and that cause a problem(can you believe it?). i changed some and apache worked, but always showed error messages when starting. and i faced more serious problem of samba network, this one also worked without problem in previous ubuntu. i couldn’t write some file above the shared directory. i checked and re-cheched the permission and no good at all. i googled it and knew the main suspect of this problem was new kernel.

and one more, i installed vmware toolbox and i couldn’t control mouse pointer..

so i give up and go back to 8.04. i was very surprised that there are too many critical bugs in ubuntu. i learned it’s very fool to use cutting edge server solution. i think i may not wait another ubuntu. next time i upgrade my ubuntu will be last half of next year, i guess..