/srv/irclogs.ubuntu.com/2009/02/11/#ubuntu-server.txt

lirxisnothing special what i can see :/00:00
lirxisjust normal logins through ssh and loading of RAM etc.00:00
jmedinalocal access is logged in /var/log/auth.log and /var/log/user.log00:01
maw_well something will be logged00:01
lirxisFeb 11 00:27:01 thedomain CRON[10561]: pam_unix(cron:session): session closed for user skrisad00:02
lirxisjust a bunch of these00:02
lirxisFeb 11 00:52:25 solkronet kernel: [  116.101860] type=1502 audit(1234309945.389:14): operation="inode_permission" requested_mask="::r" denied_mask="::r" fsuid=100:03
lirxisand that00:03
lirxiswell when i start the comp. and look locally it just shows alot of module loading stats for NET MAIL etc.00:04
lirxisand when it has started it seems like only SSH starts up - webserver, mail and so on is not starting at all00:05
lirxisexcept manually after00:05
lirxisany idea?00:06
maw_have you tried booting to single user mode and if so did that work?00:07
lirxisand how do i do that - i am not familiar with "single user mode" :)00:07
maw_are you sitting in front of the server right now?00:07
lirxisi have ssh contact00:08
maw_well then you can't boot to single user00:08
maw_you need to see the boot loader00:08
lirxisokay what do i have to do?00:08
lirxisokay you meen recovery mode?00:08
maw_how have you been testing local logins so far?00:09
lirxisSSH00:09
maw_.00:09
lirxisno00:09
lirxissorry :P00:09
lirxisim tired00:09
lirxisi have access to the computer :)00:09
lirxisbut not right now00:09
maw_ok, then it is hard for us to recreate the error right?00:10
lirxisbefore i tested locally when i had access to it00:10
maw_and when I previously asked "what is the message on console" you could have said "I don't know because I am not at the computer00:10
lirxiswell - we still have all the server apps wich do not startup..00:10
lirxiswell sorry dude00:10
maw_working with the information you have provided it is difficult to know what the issue is00:11
lirxisi tried to remember just how it looked00:11
maw_the two messages you reported before are for 1) cron 2) a filesystem issue of some kind00:11
lirxisokay00:11
maw_I don't think either are related to your local access issue. But that is speculation as I haven't seen your /var/log/*00:11
lirxiswell the problem accured after upgrading to 8.10 :/00:11
lirxisi can pastbin it00:12
maw_ya that sucks... Personally, I have not done that upgrade and I am not aware of any specific issues00:12
lirxiswich one do you want00:12
lirxisyeah - and i was stupid enough to try it :P00:12
maw_well messages would be good... and auth.log / user.log00:13
lirxisokay00:13
lirxisgive me a sec00:13
lirxishttp://notisec.se/logg.txt00:18
lirxisthats messages00:19
lirxisauth and user has nothing of interest - just login logs from my SSH traffic and webmin logs00:22
lirxisfound anything?00:22
maw_not really00:23
lirxisok :/00:23
lirxiscould it be something with bash?00:23
maw_I haven't used auditd before00:23
maw_but it is complaining about BIND trying to read from some folders00:23
lirxisok00:24
lirxisyeah i can see00:24
maw_it looks like auditd is blocking access to named00:24
maw_but I am not too familiar with auditd00:24
lirxisokay :S00:24
lirxisbut could that be the problem of all this?00:26
lirxisshould not that just affect the DNS server?00:26
maw_I am not sure, is 7.10 > 8.10 a supported upgrade path?00:26
maw_why did you skip 8.04 LTS?00:26
lirxisi took first 8.0400:26
lirxisbut that didnt work either so i thought that maybe another upgrade would fix it if something went wrong00:27
lirxisbut no..00:27
maw_so you had the same problem when you went 7.10 to 8.04?00:27
lirxisyes00:27
maw_ok so.. is named even running right now?00:28
maw_ps aux | grep -i named00:28
maw_sudo /etc/init.d/named status00:28
maw_etc..00:28
maw_if it isn't running what happens when you manually start it?00:28
lirxissyslog    3884  0.0  0.1   2012   680 ?        Ss   00:52   0:00 /sbin/syslogd -a /var/lib/named/dev/log -u syslog00:28
lirxisbind      3926  0.0  1.5  41132  8032 ?        Ssl  00:52   0:00 /usr/sbin/named -u bind -t /var/lib/named00:28
lirxiscant find named00:29
jmedinalirxis: you could disable apparmor just to check that everything works00:29
lirxismaybe i dont have it installed00:29
lirxishave alerady tried that :/00:29
lirxisdoes mysql start when you start apache2?00:30
jmedinayes we know00:30
jmedinawell install apparmor and then disable it, something went wrong00:30
lirxisreinstall you meen?00:31
jmedinayour logs are filled with apparmor (audit) denied messages00:31
lirxisokay..00:31
jmedinacan you check apparmor is running?00:31
lirxison my way00:32
jmedina /etc/init.d/apparmor status00:32
lirxisWarning: found /etc/apparmor.d/force-complain/usr.sbin.clamd, forcing complain mode00:32
kansanmv: inter-device move failed: `images/' to `/var/openx/images'; unable to remove target: Is a directory  (from ext3 => xfs) ... is this not allowed or somethign?00:32
lirxisseems like it is not running at all00:32
lirxissorry00:33
lirxisit did00:33
jmedinais that all?00:33
jmedinathat is not a complet output from status00:33
lirxis4 profiles are loaded.00:33
lirxis0 profiles are in enforce mode.00:33
lirxis4 profiles are in complain mode.00:33
lirxis   /usr/sbin/mysqld00:33
lirxis   /usr/sbin/clamd00:33
lirxis   /usr/bin/freshclam00:33
lirxis   /usr/sbin/named00:33
lirxis2 processes have profiles defined.00:33
lirxis0 processes are in enforce mode :00:33
lirxis2 processes are in complain mode.00:33
lirxis   /usr/sbin/named (3926)00:33
lirxis   /usr/sbin/mysqld (4048)00:33
kansansay i have a directory named /home/foo.  then say i create a new symbolic link named foo... and point it to /var/local/foo .... does this overwrite the local directory foo?  and if user does cd /home/foo they'll really be in /var/local/foo?00:34
jmedinalirxis: disable apparmor00:35
lirxisokay00:35
maxbkansan: You can't overwrite a directory, you'd have to delete/rename it first00:35
lirxisjust stop it or disable it on boot00:35
jmedinainvoke-rc.d apparmor stop00:35
lirxisokay00:35
jmedinathen restart your apps, like named00:35
jmedinalirxis: there were some changes in the files used by named (afaik), I remember to change something about apparmor named profile, to match the paths I use00:36
jmedinalirxis: and keep watching your logs00:36
lirxisokay so I can try to reboot now?00:37
jmedinareboot?00:37
jmedinawhy?00:37
jmedinait is linux00:38
lirxisjust so all apps get started =)00:38
jmedinajust restart your apps00:38
lirxisyeah yeah :P00:38
jmedinawell if you want to fight with apparmor, customize their profiles, if not, just disable it permanently00:38
lirxisdont know how many who has not been started00:38
jmedinaupdate-rc.d -f apparmor remove00:38
jmedinaand restart :D00:39
lirxisokay i will do that and try then - then fix apparmor another day :P00:39
lirxiswish me luck :P00:39
jmedinaluck is for newbies!!!00:39
jmedina:D00:39
lirxishaha :P00:39
lirxiswell said00:40
jmedinagood luck00:40
lirxis;)00:40
lirxisremember that the only thing you will have to learn in life is to improvise ;)00:40
lirxisworks on jobs, when you study everywhere ;)00:41
lirxisbut improvisation combined with knolledge is the ultimate :)00:41
jmedinawell you can improvise your luck00:41
lirxishaha :P yea00:41
lirxisokay did not work00:42
jmedinawhat?00:42
lirxisbut maybe i can add apache2 to start on boot somehow?00:42
AlysumHello - how do I check what port number my nfs server is running on so I can open the firewall? tahnks00:44
jmedinalirxis: check that there is a S??apache2 file in /etc/rc2.d00:44
lirxisok00:44
Alysumwhat options should I use with netstat?00:45
jmedinaAlysum: nfs doesnt open ports by itself, it is partport via rpc00:45
jmedinarpcinfo00:45
lirxisyes S91apache200:45
jmedinalirxis: what about apache logs?00:45
Alysumwhat port is rpc ?00:45
jmedinanot, use rpcinfo00:46
AlysumI did rpcinfo -p localhost00:46
Alysumit says port 111 for portmapper00:47
AlysumI suppose thats it00:47
jmedina111 is the portmapper port not nfs00:47
Alysumnfs uses portmap00:47
lirxisnothing in error.log00:47
jmedinanfs use a range, they shoul be listed there, a port por nfsd, mountd, nfslock and probably otheres00:48
lirxislooks like it is not even loaded..00:48
Alysumoh yes I have a couple of nfs rows in rpcinfo00:48
jmedinaAlysum: nfs ports can change over the time00:49
Alysumok00:49
jmedinayou need to open a range or fix nfs ports, dont remeber where, probably in /etc/default/nfs-something00:49
Alysumhow come port 2049 is not listed in netstat -l ?00:50
Alysumor maybe it doesnt actually listen?00:50
jmedinais your nfs running?00:50
jmedinayou need to start nfs after portmap00:50
Alysumyeah they are boh running00:51
kansanis it legal to create symlinks across different volumes (if one is ext3 and the other is xfs)?00:51
Alysumnf/etc/init.d/portmap restart00:51
Alysumand /etc/init.d/nfs-kernel-server restart00:52
jmedinakansan: I dont see the problem, they all use inodes :D it is everything they need to know00:57
sorenjmedina: symlinks do not refer to inodes. They refer to names.00:58
sorenkansan: That's completely fine.00:58
jmedinasoren: you are right, i confused with hard links00:59
jmedinathey do are the same inode with a different name00:59
Alysumto NFS mount something you need to open portmapper and  nfs ports I believe?01:07
Alysumwhich are 111 for portmapper and 2049 for nfs (by default)01:08
Alysumbut it still won't mount :( I get timeout01:09
Alysum"NFS Portmap: RPC: Port mapper failure - RPC: Timed out"01:09
Alysumany tips?01:16
EliteHey guys!01:19
twbAlysum: does "rpcinfo -p" list nfs entries?01:50
Alysumtwb: yes01:50
twbAlysum: which end is giving that error, the server or the client?01:51
Alysumthe client trying to mount it01:51
twbAlysum: are both client and server running Ubuntu?01:51
Alysumyep01:51
twbOK, next I would check the firewall / networking between the two machines.01:52
Alysumportmap 111 port and nfs port 2049 are open on firewall01:52
Alysumping works01:52
twbOh, you have a firewall between them.01:52
Alysumnot sure if mountd port needs to be open too ?01:52
twbNFS uses a whole bunch of ports, IIRC.01:52
twbAccording to unfs3's manpage, the MOUNT protocol also uses 2049 by default.01:53
Alysumhmm that is well open...01:53
twbI also see "-p Do not register with the portmapper. This will prevent other hosts from finding out the port numbers used for the MOUNT and NFS services by querying the portmap daemon. Clients will need to manually specify the port numbers to use (on Linux clients, use the mountport and port mount options)."01:54
twbOn a working box, I can see that statd is also in use on a high port (33641)01:56
twbThat might be for NIS, though; the box I'm looking at is both an NFS and NIS client, and an NFS server.01:56
AlysumI dont have statd01:56
Alysumrpcinfo has portmapper, status, nfs, mountd and nlockmgr01:57
twbAlysum: I'm looking at "netstat -nap"01:57
twbI have a whole bunch of rpc.statd port mappings.01:57
AlysumOK FIXED01:58
AlysumI had to open mountd port...01:58
Alysumso thats 3 bloody ports that need open: portmapper, nfs and mountd01:59
Alysumthanks01:59
twbI'm amazed it worked with only those 3.02:00
twbSo just for my interest, you opened which ports on which host(s)?02:00
a1fa_i am having issues doing do-release-upgrade on 7.0402:02
a1fa_is it advisable to change sources manually and run dist-upgrade02:02
twba1fa_: there is an upgrade document somewhere that explains how to do it, and the known gotchas.02:04
twba1fa_: but what you described is the basic idea, yes.02:04
a1fa_do-release-upgrade is trying to download amd64 sources for intel cpu02:04
a1fa_;P02:04
twbAll modern Intel CPUs are amd64 architecture.02:06
twbThe marketing name is EM64T02:06
Alysumtwb:  I opened the 3 ports on the nfs server02:10
twbAlysum: and you have no firewall on the NFS client?02:12
Alysumyeah there is but it's outgoing not incoming02:12
a1faso my cpu is XEON and I used AMD64 cd02:13
a1fawould that create problems?02:13
a1fais there a special flavor for xeon now?02:13
twba1fa: if you can boot and install the AMD64 CD, then it is an AMD64 CPU.02:13
twba1fa: there may be a special flavour of the kernel, but there won't be for anything else -- the ROI of making Xeon-specific packages is negligible.02:14
a1faawesome02:14
a1fathanks02:14
=== erichammond1 is now known as erichammond
orudiehow do i stop the mysql server ?02:55
Eliteuse /etc/init.d/mysql stop02:59
hadsThere's also invoke-rc.d which does the same thing03:01
EliteTouche03:02
hadsI use it because on my system it's less characters to type :)03:03
EliteI wanna start x on my server how can I do this?03:03
hadsYou'll need to install some GUI packages03:04
EliteI did sudo apt-get install xinit, what else do I need to do?03:05
hadssudo apt-get install ubuntu-desktop will install GNOME etc. bear in mind that for help with GUI stuff you won't receieve much assistance here - it's mostly all command line people.03:06
EliteWell what I wish to do is start up firefox to see if the server is properly connected to the net03:07
hadsheh, you don't need firefox for that.03:08
hadsping google.com03:08
Elitelol unknown host03:09
steelcityjimgood evening03:19
steelcityjimIm looking for some help with 8.10 server03:19
steelcityjimcan anyone answer a few ?'s03:19
EliteHello.03:20
steelcityjimhello elite03:21
steelcityjimcan anyone walk me through mounting a windows share drive?03:21
EliteI only know a little about 8.10 whats up?03:21
steelcityjimim new to ubuntu and linux03:21
steelcityjimhave installed the software and samba03:21
EliteI can try it should be easy though03:21
steelcityjimwell for some reason im not seeing the largest partition of my hard drive03:22
steelcityjimnot sure if it did not get configured correctly upon installation03:22
steelcityjimor if im not doing something correctly03:22
jmedinasteelcityjim: have you read this? https://help.ubuntu.com/community/MountWindowsSharesPermanently03:22
EliteSo you have a drive in your PC now you wish to share to windows computer?03:22
steelcityjimyes03:22
steelcityjimwindows network03:23
steelcityjimim adding a file server03:23
steelcityjimi see the server on my windows netowrk03:23
steelcityjimshows up under what i named it with samba on my windows pc03:23
steelcityjimunder my network places03:23
Eliteokay are you using ssh or a GUI?03:23
steelcityjimniether03:23
steelcityjimcommand line03:23
Elite*sigh*03:24
steelcityjimI have read the guis don't really do anything03:24
EliteHow do you connect to the server?03:24
steelcityjimrouter03:24
Eliteno they really dont03:25
steelcityjimdhcp03:25
* Elite facepalms03:25
steelcityjimit configured upon install03:25
steelcityjimit appears to have configured correctly from what I can tell03:25
steelcityjimto the network that is03:25
EliteYes I know, do you plan to keep this machine on all the time?03:27
steelcityjimyes03:27
EliteI have mine on all the time since its in a 1U case that has a pinta front panel03:27
steelcityjimif I reboot the server do I have to restart samba manually03:28
steelcityjimim assuming with the standard install I do03:28
steelcityjimis that correct?03:28
jtajisteelcityjim: it will be set to start when the computer boots03:29
steelcityjimwithout modifying any of the files?03:30
EliteYes all you have to do is reboot03:32
steelcityjimok cool03:32
steelcityjimnow I tried the sudo fdisk -i command03:32
steelcityjimand i believe it only showed me the os partitions03:32
orudiei just did mv dir/ /anotherdir , and the content disapeard :(03:33
steelcityjimI appear to be missing 66 gb of my drive03:33
steelcityjimwhen I was installing im pretty sure it said partition #503:34
steelcityjimwould be the 66 gb03:34
Elitethen it should be /dev/sda0s503:35
Elitedo cd /dev/sda0s503:35
hadsErm, what?03:36
steelcityjimok so i just type cd/dev/sda0s503:36
EliteWould it not be?03:37
steelcityjimlet me try03:37
hadsNo, it wouldn't be.03:37
Eliteor /dev/hda5?03:38
hadsBe careful with what you're doing, you have the ability to destroy your data.03:38
hads/dev/ is where your devices are, you can't change directory to a device.03:38
Elitegah!03:39
Elitedamn BSD lol03:39
steelcityjimyea that did not work03:40
steelcityjimI got no data on here yet03:40
steelcityjimok how do i find this damn drive03:40
Elitehads03:41
hadsYes?03:41
EliteI'm stumped lol03:42
hadsYou want to know what device your drive is? It will likely be /dev/sda if you only have one drive.03:42
EliteWill it be in /Volumes/ or will it be /mnt/ ?03:42
orudie!mtr03:42
ubottuSorry, I don't know anything about mtr03:42
steelcityjimso do i do sudo fdisk /dev/sda503:43
steelcityjimonly one drive in the unit now with 80 gig hd03:44
Eliteyes do that03:44
hadsNo, sda5 is a partition.03:44
hadssda is the drive.03:44
steelcityjimok so....sudo fdsik /dev/sda03:45
EliteTry it lol03:45
steelcityjimwow that confident huh03:45
EliteI don't use fdisk that much in fact the last time I used ssh to do anything to my server as far as setup was a month and a half ago lol03:46
steelcityjimok im guessing this ain't good03:47
steelcityjimthe number of cylinders for this disk is set to 16539803:47
steelcityjimthere is nothing wrong with that, but this is larger than 1024 and could in certain setups cause problems with03:47
steelcityjim1.  softwarre that runs boot time03:47
steelcityjim2. booting and partiionig software from other oss03:48
steelcityjimcommand (m for help)03:48
steelcityjimwhat does it mean basil?03:48
EliteYou use SWAT?03:49
Elite!SWAT03:49
ubottuSamba is the way to cooperate with Windows environments. Links with more info: https://wiki.ubuntu.com/MountWindowsSharesPermanently and http://help.ubuntu.com/ubuntu/serverguide/C/windows-networking.html - Samba can be administered via the web with SWAT.03:49
steelcityjimpartition 5  head 255 greater than max 1503:51
steelcityjimpartition 7 head 255 greater than max 1503:51
steelcityjimpartition 8 head 255 greater than max 1503:51
steelcityjim5413 unallocated sectors03:51
steelcityjimwhat is the swat command?03:53
steelcityjimI can do that from a client in explorer correct?03:53
EliteYes you can, you have to install it first03:55
steelcityjimon the client or the server?03:55
EliteServer03:55
steelcityjimsudo apt-get install swat?03:55
EliteI thihnk so03:56
steelcityjimok swats in03:59
steelcityjimnow what?03:59
steelcityjimwhat is my browser address/04:00
Elitegot to http://192.168.xxx.xxx:901 in your browser, obviously the 192.168.xxx.xxx being the servers lan address04:00
Eliteno the servers address04:01
EliteI have my lan manually IP set for my internet sharing so my server it http://192.168.0.100:901 for SWAT04:03
steelcityjimmfer04:05
steelcityjimis it ipconfig to find your ip address04:06
Eliteno its ifconfig04:06
steelcityjimimust not have the correct ip address04:09
steelcityjimnothing is happening04:09
Elitehave a screenshot?04:10
steelcityjimits timing out04:11
steelcityjimip address aint' right04:11
EliteWhat is ifconfig telling you?04:12
d-bhi there i can't seem to get ubuntu server to find my sata disk, the debian installer finds it but no the ubuntu server one - i have tried the normal and the advanced.. both do not detect it07:41
_rubenfancy hardware ?07:42
d-b_ruben: i doubt it07:42
d-bits seagate on a generic intel motherboard07:42
d-bhttp://pastebin.com/d41a3407407:43
_rubenich6 shouldnt be that exotic indeed .. strange07:44
_rubendoes the installer not detect it, or not even the kernel?07:45
d-b_ruben: should i try again maybe ?07:45
d-bi'm not sure about the kernel. i didn't stick around to test it. i have run ubuntu on this box before, but didnt' want to burn the alt cd to get encryption as i already have this server cd.07:46
_rubeni'd try again, and if the installer complains about no disks, drop to a shell (on one of the virtual consoles) and check the bootlogs07:47
d-bnar it finds my other disk.07:47
d-bwill do that now.07:48
d-bnar it detects my hardware but "can't activate it"08:08
d-bwhat ever that means08:08
d-bdo you think the alt install will work ?08:08
junhuiHi.  Any website that discusses on the recent hacking of zone-h.org?  It's uname is "Linux ubuntu... server...", which is a visible negative impact.  A news report says its DNS has been wrongly modified to point to the wrong IP address.08:23
d-bjunhui: is this related to the ddos attack against metasploit ?08:25
d-band other such sites08:25
junhuid-b: no.  sorry, i didn't know I'm off-topic.  you guys have fun.08:26
uvirtbotNew bug: #327945 in mysql-dfsg-5.0 (main) "mysql-dfsg-5.0" [Undecided,New] https://launchpad.net/bugs/32794508:31
* junhui is resisting joke on Bug #1.08:32
krautmoin08:45
zedhi there08:54
zedI have a strange problem with creating a swap partition.08:55
zedI have created the partition with fdisk:08:55
zed/dev/sda3              31         611     4666882+  82  Linux swap / Solaris08:55
zedbut when trying to mkswap /dev/sda3 I have => /dev/sda3: Device or resource busy08:56
_rubenperhaps its already mounted or in use as swap?08:57
zednot according to /proc/swaps, it's empty08:58
zedi'm running ubuntu 8.04.208:59
zed(it works if i do it on an image file so there's something related to the partition table or something like this09:00
zedi already rebooted the node but nothing changes09:00
d-bmm _ruben yeah i got it working with 8.0410:56
ivokslamont: in jaunty, on removal, postfix doesn't remove /var/lib/postfix cause of master.lock file in it (owned by postfix)10:59
lamontivoks: --> debian or launchpad bts pls11:47
lamontiz bug11:47
ivoksok11:48
shally87hi what the link for paste bin?12:11
shally87i need help12:11
Deeps!paste | shally8712:11
ubottushally87: pastebin is a service to post multiple-lined texts so you don't flood the channel. The Ubuntu pastebin is at http://paste.ubuntu.com (make sure you give us the URL for your paste - see also the channel topic)12:11
henriquelmHello there12:11
henriquelmCan you guys tell me how can I get the "remote connections" to start working from the logon screen?12:12
shally87-2!pastebin12:12
ubottupastebin is a service to post multiple-lined texts so you don't flood the channel. The Ubuntu pastebin is at http://paste.ubuntu.com (make sure you give us the URL for your paste - see also the channel topic)12:12
shally87-2this occur when i dig my bind server12:13
shally87-2http://paste.ubuntu.com/116780/12:13
shally87-2there is the servfail part12:13
shally87-2i guess it is not functioning12:13
shally87-2how to fix that?12:13
shally87-2I'm running virtual box with 4 ubuntu 8.04 for dns,lamp, mail and host12:14
=== sommer_ is now known as sommer
shally87-2then the ip for all the nameserver and mail server  , www is 10.0.2.1512:15
shally87-2and i follow the guide from http://ubuntuforums.org/showthread.php?t=23609312:16
shally87-2hope got fix for this12:16
uvirtbotNew bug: #328057 in nut (universe) "virtualbox's udev rule overwrite nut rule about group owner" [Undecided,New] https://launchpad.net/bugs/32805713:15
rglhi13:30
rglhow can I set the dnsdomainname?13:31
ivoksin /etc/hosts13:32
ivoksIP hostname.domainname13:32
ivoksfor example:13:32
ivoks127.0.1.1 jaunty64.init.lan jaunty6413:32
rglit still does not work :(13:33
rglI have to replace 127.0.1.1 with the real ip?13:34
rglreboot?13:34
_rubenno and no13:34
rglhow can I known why its not working?13:36
_rubenhow you determine its not working ?13:37
rglthe result of the dnsdomainname command is empty13:37
ivokswhat are first two lines in /etc/hosts?13:38
rgloh, adding "search test" into /etc/resolv.conf did the trick13:39
rglnow dnsdomainname return "test"13:39
ivoksthat's not it13:39
ivokswhat are the first two lines in /etc/hosts?13:39
rgloh.  what is it then?13:40
rgl127.0.0.1       localhost13:40
rglthe the same for IPv613:40
ivoksso, you didn't add 127.0.1.1?13:40
rglno13:40
rglthat didn't work13:40
rglI tried.13:40
ivoksatm, your host doesn't know how to resolv it self13:41
ivokswhat's in /etc/hostname13:41
ivoks?13:41
rglthe only thing that seems to work is changing resolv.conf13:41
rglplesk13:41
rglits "plesk"13:41
ivokstry pinging plesk13:41
rglworks13:41
ivoksprobably cause it resolvs over some other mechanism13:42
rglit tries to resolv "plesk.test" which resolves fine.13:42
ivoksyour /etc/hosts must contain:13:42
ivoks127.0.0.1 localhost13:42
ivoksip_of_computer hostname.domain hostname13:42
ivokswhere ip_of_computer is regular ip, or 127.0.1.113:43
rglmy host.conf has the default settings: order hosts,bind and multi on13:43
ivoksi give up13:43
rglyou asked what other mecanism it tried.  I guessed you wanted to see hosts.conf;  which contains the other mechanisms, no=13:44
rgl?13:44
ivoks14:42 < ivoks> your /etc/hosts must contain:13:44
ivoksi never ever mentioned /etc/host.conf13:44
rglyou didn't.  but thats not how we configure the mechanims for the local resolver?13:44
ivoksso, there you go, it resolved over DNS13:46
ivoksnot hosts13:46
ivokscause there's no plesk in hosts13:46
rglok, I understand now.13:46
rglthanks!13:46
rglthe 127.0.1.1 is a special IP address that the local resolv understands as "name of the local host"?13:47
Deeps127.* is localhost13:47
rglyes, 127/8 is the localhost network.  though, only the particular 127.0.1.1 seems to trigger some special behaviour on the local dns resolver13:48
rglis this some convention?13:49
ivoks?13:50
ivoksfor example:13:50
ivoks127.52.34.89 jaunty64.init.lan jaunty6413:50
ivoksthis is exactly the same as 127.0.1.113:51
ivoks127.0.1.1 is 'random' address13:52
ivoksit could've been any other from 127/813:52
ivoksit just easier to remember it than 127.234.12.1613:52
rglindeed.  I've tried with127.0.0.1 and it works fine too.13:52
ivoksbut don't use 127.0.0.113:53
ivoksyou already have 127.0.0.1 in /etc/hosts13:53
Nash_13ayuda13:53
rglI've changed it to: 127.0.0.1       plesk.test plesk localhost13:53
Nash_13help13:54
_ruben!ask13:54
ubottuPlease don't ask to ask a question, simply ask the question (all on ONE line, so others can read and follow it easily). If anyone knows the answer they will most likely reply. :-)13:54
ivoksyou can do that, it you want plesk to resolv on localhost, right13:54
Nash_13I need to configure two network cards13:54
Nash_13in the server13:54
_rubenedit /etc/network/interfaces13:54
Nash_13_ruben, I have a problem13:55
* _ruben activates his psychic ability13:55
Deeps_ruben: what number am i thinking of?13:56
_ruben6913:56
ivoks:)13:56
Nash_13_ruben, when I configure the two interaces with all, I can not conect to internet13:56
Deeps_ruben: wow13:56
ivoksall men think of 6913:56
ivoks:D13:56
ivoksNash_13: how did you configure them?13:56
Nash_13ivoks, I configure the interfaces for the two network card13:57
_rubenmy guess: 2 default gateways, one for each interface13:57
_rubenput your interfaces file on a pastebin site13:57
Nash_13_ruben, when I do that I can not conect to internet wiht mi public IP13:58
Nash_13ivoks, a friend tell me that I have to eliminate a gateway for can conect to internet13:59
_rubenno need to "activate" those setting .. just put the settings you used on a pastebin (as in: instead of editing the interfaces file, type the text in a pastebin site)13:59
Nash_13_ruben, ok wait14:00
_rubenwe cant determine what you're doing wrong without knowing what you've tried ;)14:00
Nash_13_ruben, ok I will public that now14:01
Nash_13_ruben, http://pastebin.ubuntu.com/11683514:03
Nash_13ivoks, here is my interfaces configuration http://pastebin.ubuntu.com/11683514:03
ivoksput a tab in front of all lines, except those that start with auto or iface14:04
ivokshttp://pastebin.ubuntu.com/116837/14:05
Nash_13ivoks, what is for???14:08
ivoks?14:08
Nash_13ivoks, the tab in front.....14:10
ivoksthat's a syntax of network/interfaces file14:10
Nash_13ivoks, but that configuration have not a error14:11
ivoksi don't see anything wrong with configuration14:11
ivoksif you are router for 192.168.180.0 network14:11
ivoksbah, strike that :)14:12
ivokseverything is ok14:12
Nash_13ivoks, but the computer in mi LAN can not see the server14:12
=== y is now known as rgl
Nash_13ivoks, my public IP is eth0 and the other is mi IP in the LAN14:13
ivoksok14:13
ivoksand you want to be gateway for your local network?14:14
Nash_13ivoks, and the computer in my LAN can see my server14:14
Nash_13ivoks, no14:14
Nash_13ivoks, in this server I have a ftp server and jabber14:14
Nash_13ivoks, I whant to have mi public IP to conect to internet and the other for the computer in mi LAN acced to my server ftp and jabber14:16
kinnazis there anything like guardgod is for gui, building firewalls with iptables smt ncurses based for example14:20
_rubenthere's ufw, but that aint ncurses based though14:22
kinnazwas just wondering14:22
kinnazreally should learn iptables more and write my own firewalls14:22
_rubenindeed ;)14:22
kinnazrather then use some interface to generate rules14:22
kinnazthe basic things are quite easy14:23
kinnazbut as it gets complex14:23
kinnazit gets complex :P14:23
Nash_13_ruben, I eliminate the firewall and all14:23
Nash_13_ruben, I don´t know but I think that the problem is the configuration14:24
Nash_13_ruben, I have to eliminate the gateway to my lan for can conect my public IP to internet14:27
Nash_13_ruben, and I think that is the problem14:27
Nash_13_ruben, for my lan can see my server14:27
_rubenNash_13: there's only 1 gateway defined in your pastebin, whcih seems ok14:28
_rubeneth0 is hooked up to the internet i assume? :)14:28
Nash_13_ruben, yes14:29
Nash_13_R14:29
Nash_13r14:29
Nash_13_ruben, and eth1 is my lan14:29
_rubenand you cant ping the gateway (200.55.167.114:30
_ruben) with that config14:30
Nash_13_ruben, yes14:34
_rubenyou sure the cabling is ok and that the gateway allows to be pinged?14:35
Nash_13_ruben, I can not see mi lan14:36
ivoksyou don't see internet or...14:36
_rubeni thouhgt you couldnt connect to the internet14:36
ivoks....you can't reslove hostname?14:36
* _ruben *confused*14:36
Nash_13_ruben, my lan can see the lan yet14:37
_rubennow im even more confused14:37
ivoksNash_13: what's your native language?14:39
Nash_13_ruben, shut14:39
ivokspourtougese?14:39
Nash_13ivoks, spanish why???14:39
ivoksmaybe would be easier if you ask in ubuntu-es14:39
ivoksor if someone here speaks spanish14:39
ivoksanybody?14:40
Nash_13ivoks, well I don´t practice14:41
ivoksok...14:41
Nash_13ivoks, that is the point14:41
ivoksso, once you set up interfaces as described, you can't access to lan or you don't have access to internet?14:42
Nash_13ivoks, but I undertand and read fine14:42
Nash_13ivoks, the problem es wirte it14:42
ivoksi have the same problem, so, we'll try to figure out something :)14:42
Nash_13ivoks, the computer of my lan can not see my server that is the problem14:43
ivoksbut the server does have access to internet?14:43
Nash_13ivoks, yes14:44
ivoksare you loged in to your server?14:44
Nash_13ivoks, I have internet with my public IP14:44
Nash_13ivoks, yes14:44
ivoksit would be easier if you could set network14:44
ivoksand then we will debug14:45
Nash_13ivoks, where14:46
ivoksset up network as you pasted on pastebin14:47
ivoksreboot the server14:47
ivoksand then log in on server and get back here14:47
ivokson irc14:47
ivokscould you do that?14:47
Nash_13ivoks, ok wait14:47
Nash_13ivoks, I back14:52
ivoksgreat14:53
ivoksso, you have access to the internet, but not to your lan?14:54
ivoks(from server)14:54
Nash_13ivoks, yes14:54
Ngsoren: could I draw your attention to bug #328093 please? :)14:55
uvirtbotLaunchpad bug 328093 in libvirt "[jaunty] upgrade to 0.6.0 leaves a non-working libvirtd" [Undecided,Confirmed] https://launchpad.net/bugs/32809314:55
ivoksok, paste the output of 'ifconfig' on pastebin14:55
Nash_13ivoks, and I can acced to my land too14:55
ivoksyou can?14:55
ivoksso, then it's working?14:55
Nash_13ivoks, yes but exist a problem?'14:56
shally87how do i install ebox in lamp?14:56
ivokswhat is the problem now?14:56
Nash_13ivoks, my subnetwork can not see my server14:56
shally87just want to know the apt-get command..14:56
shally87oh dont mind.. i got it while googling14:58
ivoksNash_13: what is your subnetwork?14:58
Nash_13ivoks, sorry the network that are under my14:59
Nash_13ivoks, I don´t know how write it14:59
sorenNg: Gah...15:00
uvirtbotNew bug: #328090 in libapache2-mod-perl2 (main) "libapache2-mod-perl2 does not depend on libbsd-resource-perl" [Undecided,New] https://launchpad.net/bugs/32809015:00
ivoksNash_13: paste the output of 'ifconfig' to paste.ubuntu.com15:01
Nash_13ivoks, ok15:01
Nash_13http://pastebin.ubuntu.com/11685215:03
ivoksNash_13: ok, this looks ok15:04
ivoksNash_13: what's the IP of 'subnetwork'?15:04
Nash_13ivoks, my lan is 192.168.180.2115:05
sorenNg: Darn it, my bad. I'll fix straight away.15:05
Nash_13ivoks, and my subnetwork are 192.168.181.* and other15:06
ivoksNash_13: ah, that's the problem...15:06
Ngsoren: great! we've just quickly worked around by changing libvirtd.conf to use the old group, but I'll revert that when there's a new package and make sure the upgrade works :)15:06
ivoksNash_13: what's the gateway for 192.168.181.*?15:06
sorenNg: libvirtd should continue to be the right name of the group.15:07
Ngsoren: ah good :)15:07
Nash_13ivoks, I eliminate the gateway because, with that I can conect to internet with my public ip15:07
Nash_13ivoks, I find that the two gateway cause problem15:08
ivoksNash_13: i understand that, my question is 'what's the gateway between 192.168.180.* and 192.168.181.*?'15:08
ivoksNash_13: two default gateways, yes; but ubuntu can have lots of gateways for other subnets15:08
ivoksNash_13: for example: route add -net 192.168.181.0/24 gw IP_of_gateway15:09
Nash_13ivoks, yes but if I put a gateway I can not conect to internet15:09
=== shally87 is now known as shally87[LAMPing
=== shally87[LAMPing is now known as shally87[AFK]
sorenNg: Just chaning the name in libvirtd.conf fixed it for you, right?15:09
sorenchanging, even.15:10
ivoksNash_13: just tell me the IP of gateway and shut up :)15:10
Ngsoren: yeah, just changing the group from "libvirt" to libvirtd"15:10
Nash_13ivoks, my gateway for this net is 192.168.180.2215:10
ivoksNash_13: this is what you need: http://pastebin.ubuntu.com/116857/15:12
sorenNg: Fixed.15:13
sorenNg: Thanks for the pointer!15:13
Nash_13ivoks, what do the line in the end15:13
Fenix|workGreetings and salutations!15:14
ivoksNash_13: adds gatway for 192.168.181.0/24 network15:14
ivoksNash_13: that's not the same as two default gateways15:14
ivoksNash_13: you can try it by your self15:14
ivoksNash_13: run: route add -net 192.168.181.0/24 gw 192.168.180.2215:14
ivoksNash_13: and everything will work out15:15
Nash_13ivoks, thanks15:15
ivoksbbl15:16
Nash_13ivoks, that is another way to put that15:16
Fenix|workI need some help with cvs on ubuntu-server ...  All users are members of the cvsusers group, but when new directories are included into the repository the permissions are 750 preventing the creation of a LOCK file on checkout ... is there a default umask or something that sets these permissions?15:18
Ngsoren: thanks for the quick fix15:21
orudieis there such thing is Banner templates ?15:22
orudiesorry wrong channel15:22
geniiFenix|work: Try to see if the command argument given in xinetd directive which starts cvs has -w (create new files in writable mode)15:30
Fenix|workgenii, -w covers directories as well as files?15:33
AnRkeywhere is the default bash alias list/file?15:41
AnRkeyi want to copy it to my root profile so that tab completion works as shown here >> http://ubuntuforums.org/showthread.php?t=19044515:41
AnRkey8.04.2 server15:42
jtajiAnRkey: /etc/bash.bashrc , the 3 lines you need to uncomment should already be there15:42
ivoksand you need bash-completition package15:43
* jtaji nods15:43
ivoksbash-completion15:43
* AnRkey scurries off to try it all15:44
maswanIs there a good reason why MAXNS is only 3 (resolv.conf)?15:46
maswanah, there is already a bug on it15:47
AnRkeyhmm, funny it wasnt uncommented15:48
AnRkeynice, thanks guys15:48
AnRkeyi'm so happy now ;)15:49
geniiFenix|work: Apologies on lag, work required me. I'm not currently running cvs server so can't test about the dir creation mode, unfortunately.15:55
=== Morge is now known as Ko_deZ
Fenix|workgenii, I think I've identified how to fix it... in cvsd.conf there's a Umask value... the cvs admin set it to 027, I've since changed it to 00716:07
geniiFenix|work: Ah, nice detective work16:07
=== KterinK is now known as dou213
=== erichammond1 is now known as erichammond
=== erichammond1 is now known as erichammond
=== erichammond1 is now known as erichammond
=== erichammond1 is now known as erichammond
=== erichammond1 is now known as erichammond
=== erichammond1 is now known as erichammond
leonelscottK  wow  !!!  Just  read  https://wiki.ubuntu.com/StableReleaseUpdates/MicroReleaseExceptions    for clamav ..16:58
ScottKleonel: Yes.  We got that approved by the tech board.16:58
leonelscottK remember  If you need help to test or any work related to clamav     just let me know16:58
ScottKleonel: We also got clamav updated in Hardy.16:59
ScottKleonel: Do you have Dapper you can do backport testing on?16:59
leonelthe hardy version to dapper ?16:59
leonelscottK ?17:00
ScottKThere's a version in the PPA for Dapper already.17:00
ScottKI still need to upload rdepends.17:00
leonelscottK ppa  url ?17:01
ScottKleonel: https://launchpad.net/~ubuntu-clamav/+archive/ppa17:01
ScottKleonel: One hard task I know needs doing is looking at the php-clamavlib 0.13 changes for clamav 0.94 integration and backporting them to the php-clamavlib 0.12 in Dapper.17:03
ScottKI don't know if you're up for that, but I need to find someone who codes a bit to do that.17:03
leonelI hate php  but I can take a look17:03
ScottKGreat.17:04
=== MohammadBoozary is now known as Mohammad[B]
ScottKleonel: If you diff the php-clamav libs in hardy-updates and hardy-backports that should give you an idea.17:04
leonelok17:04
ScottKThanks.17:04
=== MohammadBoozary is now known as Mohammad[B]
chmacDoes an application need to be written to support PAE memory? Or can any standard 32 bit app take advantage of the extra memory available via PAE?17:15
leonelscottK  is to backport  clamav 0.94.2 to dapper  right ??17:15
ScottKleonel: Yes.17:15
ballchmac: if anything it'd just be a recompile I 'd have thought.17:15
leonelscottK  ok  added to my  to do  list17:16
chmacball: Hmm, ok. I'm considering a 32bit PAE kernel versus a 64 bit kernel.17:16
chmacSomebody told me that most applications are not written to support PAE, so they won't be able to access the additional memory. In which case, it's a waste of time going the PAE route.17:16
ScottKleonel: Thanks.  We'll get 0.95 probably next month and it will break everything again, so best we get 0.94 to Dapper so we don't have so many versions ....17:16
leonelscottK ok17:16
ballchmac: I suppose it depends how the address mapping is done.  Do apps live in a 32-bit virtual address space that maps to the physical address space?  Perhaps the kernel takes care of that for the app and the app itself never knows.17:19
KartagisScottK, FYI, I got dovecot to offer me the right certificate17:19
ScottKGreat.17:20
ballchmac: My guess is the kernel needs to know and the apps don't care.17:20
chmacball: I'd guess that PAE does something like that, so the apps don't need to know. But jrusso2 suggested different here: http://ubuntuforums.org/showthread.php?t=104231817:20
* chmac re-reads the wikipedia PAE Page17:20
ballchmac: is jrusso2 a kernel hacker?17:20
chmacball: No idea, 1'583 posts on the forusm though :)17:21
KartagisScottK, can you help me with horde/imp?17:21
chmacOk, so from the wikipedia article I'm guessing that PAE is a kernel hack and applications don't need to know anything about it http://en.wikipedia.org/wiki/Physical_Address_Extension17:22
ballPAE's a cludge anyway17:23
maswanYeah, but PAE still limits individual processes to 32-bit adressing. But really, you want to run a 64-bit kernel anyway.17:27
ballmaswan: for most applications, 4 Gbytes "should be enough" ;-)17:37
ballhello centaur517:37
centaur5Hi ball17:38
ballhello mdeslaur17:45
mdeslaurhello ball17:46
kirklandanyone around here minding giving http://revu.ubuntuwire.com/p/phoronix-test-suite a REVU?18:10
LeoWeihi18:18
LeoWeii've installed my LAMP server and phpmyadmin18:18
LeoWeiand change the root to home/user/public_html18:18
LeoWeihow do i access the phpmyadmin installation and the ebox?18:19
LeoWeiwhat is it's path18:19
geniiThere's ...just ..so many things ...wrong with that ...18:20
LeoWeihat you mean genii18:20
LeoWeiWhat you mean genii18:22
dnperfors/w/wx18:38
paltAnyone knows of a simple yet powerful backup system. It will be used to take backup of a couple of linux servers :)18:51
jmedinabacula18:51
paltI have looked at bacula, and amanda but they seem quite complicated to setup18:51
paltbacule seems to be everything but the kitchen sink :)18:51
paltI could probably use some time to learn it, but I don't need a too advanced system :)18:52
ScottKKartagis: No, sorry.  I'm not familiar with those.18:56
AnRkeyis there a way to import ubuntu os iso's into apt-proxy caches?18:59
ivoksuse apt-cacher18:59
ivoksinstead of apt-proxy19:00
AnRkeyis that a tool or an apt-proxy replacement19:00
AnRkeyah ok thanks19:00
AnRkeydifferent port?19:00
AnRkeyhmm, i could use one for the install and the other for updates19:01
ballkirkland: are you around?19:09
kirklandball: hello19:10
ballkirkland: I don't know whether you're interested in such an old data point, but I'm about to install Ubuntu Server on an old Dell box and will happily test APM suspend and resume for you.19:11
ball...not sure this qualifies as a server, but that's what I'm installing: Dell OptiPlex GX119:11
kirklandball: sure, sounds good to me19:12
* kirkland needs to setup a wiki page for results19:12
AnRkeyivoks: i'm pretty sure that import script is not going to work with the squashfs on the iso. this is nothing to work around though. Thanks very much for this info!19:12
ivoksdoesn't ubuntu-server store packages without squashfs?19:13
AnRkeyhmm, dono... checking19:13
ivokskirkland: hibernation works on dell t30019:13
kirklandivoks: and resume?  :-)19:13
ivokskirkland: and freq. scaling, even though it can scale from 2000 to 2500mhz :D19:14
ivokskirkland: and resume too19:14
kirklandivoks: have you tried suspend19:14
kirklandivoks: cool19:14
ivoksi 'tried'19:14
ivokssuspend command didn't do anything, so... i guess it doesn't work or isn't supported19:14
ballThis box predates SpeedStep19:15
AnRkeyivoks: u'r right server does not seem to use squashfs19:15
ballThis will take me an hour to download, so I'm off to do the dishes.19:16
ballBack later.19:16
AnRkeyi need desktop too though so gonna extraxt the iso and squashfs for that manually19:16
AnRkeyball, i feel for u mate, just finnished ours19:16
AnRkeyman i hate doing dishes19:16
AnRkeybah19:16
flyingsquirrel32How do I modify my dhcp.conf to make my LTSP install work with a single nic?20:03
=== erichammond1 is now known as ehammond
crackintosh_I am having a hard time mounting a usb drive. I am able to read/write via gnome, but not via command line, which is where i need it for a shell script21:48
ballcrackintosh_: what error do you get?21:55
=== ehammond is now known as erichammond1
=== erichammond1 is now known as erichammond
=== erichammond1 is now known as erichammond
=== erichammond1 is now known as erichammond
=== kirkland` is now known as kirkland
Rafaeli am getting error E: Couldn't find package “^ebox-.*”22:43
Rafael intalling ebox...any help on what this means22:43
Deepstry again, copy and paste: apt-get install ^ebox-.*22:45
RafaelDeeps: Thanks22:49
Faust-Canyone know how to create a local update server?22:54
ivoksyes23:03
erichammondFaust-C: http://www.ubuntu.com/getubuntu/mirror23:03
ivoksapt-cacher23:03
ivoksapt-cacher isn't actually local update server, but a cache server23:04
ivoksit caches downloaded packages23:04
ivoksit doesn't pushes updates23:04
ivokss/pushes/push23:04
mathiazivoks: I'm looking at your dovecot-postfix debdiff23:09
ivoksmathiaz: ok23:09
mathiazivoks: I'm also considering merging the latest version for upstream23:09
mathiazivoks: debian is at 1.1.9 in experimental while upstream is at 1.1.1123:10
ivoksthat would be wise, yes23:10
ivoksi would go with upstream23:10
ivoksminor versions are just bug fixes23:10
Faust-Civoks: erichammond ty23:17
Faust-Cwait lol23:17
ivokskirkland: so, how does one suspend a server?23:19
ivokskirkland: pm-suspend? :)23:19
kirklandivoks: ack23:19
kirklandivoks: and i'm using wakeonlan to wake it back up23:20
ivoksit won't do anything once i call pm-suspend23:20
ivoksi wake mine with impi :D23:20
kirklandivoks: nice ;-)23:20
ivoksipmi23:20
kirklandivoks: "won't do anything" ... ?23:20
ivoksrunning pm-suspend doesn't do anything23:21
ivoksexit status 123:21
ivokshm...23:21
ivokslooks like i'm missing do_suspend23:22
ivokswrite(1, "do_suspend: not found\n"..., 22) = 2223:22
VK7HSEWhat tests are required for a server system to be listed in the Validated Hardware list ???23:35
ivoksi must admit, at first i was sceptical about hibernating servers, but i really like that idea23:39
ivoksthat was a good catch, kirkland23:40
VK7HSEAs I'm using an IBM eServer220 8646-4AX with ubuntu-server 8.10 and all is working a treat! however, 8.04LTS wouldn't detect the Serveraid 4lx card!23:40
ivoksit didn't work on 8.04?23:41
ivoksthat old controller?23:41
ivoksCONFIG_SCSI_IPS=m23:43
ivoksit should work in 8.0423:43
avtarrhi, if i modify the PATH variable in /etc/environment shouldn't that affect the PATH when using sudo?23:44
ivoks'night23:45

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!