/srv/irclogs.ubuntu.com/2008/09/13/#ubuntu-server.txt

uvirtbot`New bug: #269627 in samba (main) "force group breaks share" [Undecided,New] https://launchpad.net/bugs/26962700:22
LinuxGhostwhat is easy steps to install LAMP on ubuntu 8.04?00:38
ScottK-laptopLinuxGhost: Have you installed Ubuntu Server already?00:39
LinuxGhostmaybe not00:40
LinuxGhostjust mysql, apache, php00:40
ScottK-laptopHow did you do the installation?00:40
LinuxGhostbut with some troubles00:40
ScottK-laptopIf you do a server install you get LAMP as a choice.00:40
LinuxGhostmany steps foun in the internet= google00:41
LinuxGhostnow i know apache2 and php is fully and correctly installed00:41
LinuxGhostall tested00:41
ScottK-laptopTry sudo tasksel and then select lamp and see if that helps.00:41
LinuxGhosttasksel do what?00:42
LinuxGhostinstallation?00:42
LinuxGhosthttp://www.howtoforge.com/ubuntu_lamp_for_newbies00:43
ScottK-laptoptasksel gives you the option to install a set of packages together.  The certified lamp config is one of them.00:44
ScottK-laptopLinuxGhost: Generally we have very good documentation on help.ubuntu.com or wiki.ubuntu.com.  I'd suggest trying there first.00:44
LinuxGhostok.thanks00:45
LinuxGhostMY trouble beggins where ask for password00:48
LinuxGhost Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)00:48
* ScottK-laptop isn't a mysql guy, sorry.00:49
LinuxGhost mysql -u root00:49
LinuxGhostERROR 2002 (HY000):00:49
ScottK-laptopsudo mysql00:54
ScottK-laptop?00:54
ScottK-laptopI've no idea actually.00:54
=== nealmcb1 is now known as nealmcb
LinuxGhostPeople, why the Directory /var/www is not writable to php files????01:42
remotehey03:53
remotei'm not sure of the correct procedure to re-install a package03:53
remotei'm concerned because i want to re-install openssh without loosing connectivity to the server03:53
remotehi dashnu03:57
dashnuhey03:57
remotei'm wanting to re-install openssh-server without loosing connectivity, would you know the correct procedure to do so?03:58
dashnuwhy do you need to reinstall it ?03:59
remoteit's compromised03:59
ScottK-laptopWhat exactly do you mean by compromised?03:59
dashnu...03:59
remoteit's *ucked04:00
dashnuthe install is not "compromised"04:00
remotetrust me, it's not usable04:00
remoteok anyways04:00
remotei just want to re-install it04:00
ScottK-laptopOK.  Compromised generally means something else.04:00
remotethe installed sshd is *not* the ubuntu packaged sshd04:00
ScottK-laptopHow was it installed?04:01
dashnuok04:01
remotewell04:01
remotei have no idea04:01
remotebut it's not the ubuntu ssh04:01
dashnuha!04:01
dashnuwow04:01
remoteSSH-2.0-SSH-2.0-OpenSSH_4.7p104:01
remotethat's the banned04:01
remoteand that the md5sum: a98008abb8c9e2cccbb4a091db93ed01  /usr/sbin/sshd04:01
remotes/banned/banner04:01
remotethat's one of its PIDs04:02
remoteroot      4916  0.0  0.0   3212   816 ?        Ss   Jul27   0:51 ?ii?��ÿ??�?޷I????����2޷?04:02
remotenow i hope you're convinced too ;-)04:02
remotehow can i re-install the package openssh-server without loosing connectivity?04:02
dashnujust remove it and reinstall it04:03
remotei don't mind loosing the shell but want to be able to connect back as the service is restarted to the newly installed one04:03
remotei'm afraid uninstalling it will run /etc/init.d/ssh stop04:03
remotewon't it?04:03
dashnuIm a gentoo server guy... it doesnt ingentoo04:03
dashnudo apt-get remove ssh && apt-get install sshd04:04
dashnuor similar04:04
dashnuthen restart the daemon04:04
dashnushould work fine04:05
remotealright04:07
remotei will try that04:07
Kamping_Kaiserremote,04:10
Kamping_Kaiserremote, `sudo apt-get --purge remove openssh-server` and `sudo apt-get install openssh-server`04:11
Kamping_Kaisertrick is, the running sshd wont be stopped by either, so you'll need to logout (or manually kill) the old ssh's04:11
Kamping_Kaiserperhaps run the remove+install in screen, so even if you get disconnected, the install happens ...04:12
Kamping_Kaiserperhaps even 'install -y'04:12
remotei did the install, remove and did not lose the shell04:12
Kamping_Kaisersounds correct and good.04:13
remotenow i have : f5e43bdf79235f04cfe09b2eb0e87a00  /usr/sbin/sshd04:14
remotebut still, the openssh processes are behaving weirdly04:14
remoteone didn't die04:14
remoteroot      4916  0.0  0.0   3212   816 ?        Ss   Jul27   0:51 ?ii?��ÿ??�?޷I????����2޷?04:14
remoteand this is the new one:04:14
remoteroot     14522  0.0  0.1   3388  1788 ?        S    22:13   0:00 ?ii?��ÿ??�?޷I????����2޷?04:14
Kamping_Kaiserremote, the one your connected through probably04:14
remotei did disconnect and reconnect04:14
Kamping_Kaiserlooks like you'll need more then a reinstall to get un-rooted.04:15
remotethis is weird04:16
remoteit should do the trick04:16
remotei did purge now04:16
remoteCould not load host key: /etc/ssh/ssh_host_rsa_key04:17
remoteCould not load host key: /etc/ssh/ssh_host_dsa_key04:17
remote * Restarting OpenBSD Secure Shell server sshd04:17
remoteCould not load host key: /etc/ssh/ssh_host_rsa_key04:17
remoteCould not load host key: /etc/ssh/ssh_host_dsa_key04:17
remote   ...done.04:17
remotethat's from an init.d/ssh restart04:17
Kamping_Kaiserwhats in /etc/ssh/ ? any keys?04:18
remotenope ssh_config   sshd_config04:18
Kamping_Kaiserexplains why it cant find the host key(s)04:18
remotewait now i have04:19
remoteroot@softlayer2:~# ls /etc/ssh/04:19
remoteblacklist.DSA-1024  blacklist.RSA-2048  moduli  ssh_config  sshd_config04:19
remotethis just appeared04:19
Kamping_Kaiser... 'just appeared'? o_004:19
remotearf04:19
remoteyes04:19
remoteanyways i killed the wrong process and have no longer access to the server04:19
Kamping_Kaiser:\04:21
remoteKamping_Kaiser: something like that04:24
remote:-)04:24
Kamping_Kaiser:]04:41
EyebeKlapHello, I'm kind of new here and I'm not sure whether this is the correct channel for my question....   Can Ubuntu 8.04 server be run simultaneously with Ubuntu 8.04 desktop? ie. run the terminal server in the background while somebody uses the host computer in Ubuntu 8.04 desktop GUI mode?04:53
ScottK-laptopEyebeKlap: Sort of.  You can run the server packages on a desktop install, but you have to either run the server kernel or the desktop one.04:55
ScottK-laptopFor almost all purposes, that amounts to yes.04:55
EyebeKlapI know you can demo ubuntu in windows - is there a way to set it up like that? running desktop as the main kernel then sending any network enquiries aimed at the server to a 'second level' where the server kernel is running/emulated or vica-versa?04:58
Kamping_Kaiserwhy are you /actually/ trying to do?04:59
Gun_SmokeScottK-laptop, what draw back would there be using the desktop kernel instead of the server kernel?04:59
ScottK-laptopNone you'd be likely to notice.05:00
ScottK-laptopEyebeKlap: No.05:00
ScottK-laptopIf the server is under heavy enough usage for the server kernel to matter, you're likely not also running it as a desktop.05:01
EyebeKlapI am trying to get my ubuntu desktop install to function as a terminal server for other computers while still being able to use it for desktop applications freely05:01
ScottK-laptopAh.  I missed the terminal server bit earlier.  Sorry.05:02
ScottK-laptopYou want to look into ltsp.05:02
* ScottK-laptop doesn't know much about it.05:02
EyebeKlapltsp? I sorry but as far as ubuntu is concerned, I am somewhat of a novice05:03
Gun_SmokeLinux Terminal Server Project05:04
Gun_Smokehttp://www.ltsp.org/05:04
EyebeKlapoh, ok. thank-you :)05:04
ScottK-laptopIt's available as an Ubuntu package.05:04
Gun_SmokeEyebeKlap, another one for you. https://help.ubuntu.com/community/UbuntuLTSP05:05
remotehah!05:07
remoteit seems like i killed the right process05:07
remotehttp://rafb.net/p/XwKeTz33.html05:08
remotewhy would the server close the connection like this?05:09
Gun_SmokeI don't understand what I am doing wrong with vsfpd .  I have it set up half way correct.  I am able to move files to /home/ftp as root, and then able to download files.. But I can not upload files.  I have write_enable=yes anon_upload_enable=yes anon_mkdir_enable=yes but still get the error 55006:38
remoteGun_Smoke: what's in the log file?06:48
Gun_Smokeremote, a ton of this Sat Sep 13 00:45:56 2008 [pid 22415] [ftp] FAIL UPLOAD: Client "10.0.1.3", "/Uploads/file06:51
remotewhat's the complete error?06:55
remoteit seems to want to upload to /Uploads/file ...06:55
Gun_Smokefirst I can't mkdir MKD Program06:56
Gun_Smoke550 Create directory operation failed.06:56
remotewhat's the error in the log file?06:57
Gun_SmokeSat Sep 13 01:56:42 2008 [pid 25737] [ftp] FAIL MKDIR: Client "10.0.1.3", "/Program"06:57
Gun_Smokethat's all of it.06:58
remotei'm wodering if "/Program" refers to /home/ftp/Program or /Program06:58
Gun_SmokeI was attempting to mkdir /Program in /home/ftp/   I'm using gFTP at the moment.06:59
remoteand can you make this directory as the ftp user, from a shell?07:02
remoteor whatever user is running the ftp daemon07:02
Gun_SmokeI get a similar error if I simple try to upload a file to a current directory in /home/ftp/Uploads http://pastebin.com/d6660dab607:03
Gun_SmokeNo,  I have to be root on the target machine.07:03
remotedoes the ftp daemon runs as root?07:04
Gun_SmokeI believe so.07:05
remoteps uxa | grep vsfpd07:06
remoteas what user is it running?07:06
Gun_Smokeroot07:06
Kamping_Kaiserhm. ftp isnt really something you want to run as root07:09
remoteit runs as root by default07:09
Gun_SmokeThat what I thought..07:09
remoteto be honest i'm not sure, i'm receiving the same error with the same configuration keys enabled07:10
remoteah07:10
remotedid you uncomment #write_enable=YES07:11
Gun_Smokeyes07:11
remotei don't know what to say07:19
remotetry to grab a config that's known to work as you want07:19
remoteyou can probably find one online07:19
Gun_SmokeI just tried modifying the permissions of /home/ftp/ to drwxrwxrwx just to see.. and now 500 OOPS: vsftpd: refusing to run with writable anonymous root07:19
Gun_SmokeI also chown of /home/ftp/ from root to a user07:20
TuxCrafterhello everybody10:17
TuxCrafteri just noticed a kind of alarming issue on my system10:18
TuxCrafterapt-get install libpam-umask10:18
TuxCrafterif i want to do that ^ it wants to remove almost all my system10:18
TuxCrafterhttp://pastebin.ca/120168010:19
TuxCrafterhere is the needed information10:20
TuxCrafteri wanted to set a umask rule with pam.d/ for specified users10:20
DeepsYou are about to do something potentially harmful.10:28
DeepsTo continue type in the phrase 'Yes, do as I say!'10:28
Deepsnice10:28
TuxCrafteri have the idea that libpam-umask conflicts with libpam-modules10:32
TuxCrafterbut i wanted the documentation of the libpam-umask10:32
TuxCrafterdont worry i am nog going to install the package :-p10:33
TuxCrafteralso curious why it would be harmful if you run all users with umask 077 what would go wrong in theory ?10:34
* TuxCrafter had a crashed test server tonight with umask 0007 with for all users, still investigating the issue, seems spamc crashed the system10:35
=== _GhostITmachinE is now known as GhostITmachinE
`6ogTuxCrafter, the reason libpam-umask is "bad" is because its not part of the standard pam12:03
`6ogtheres a bug open about it12:03
TuxCrafter`6og: the strange thing is that is is working without the package ..12:04
`6ogTuxCrafter, what do you mean?12:05
TuxCrafter`6og: echo 'session optional        pam_umask.so umask=077' | sudo tee -a /etc/pam.d/common-session12:05
TuxCrafterexecute that command restart your system12:05
TuxCrafterand you have umask 007712:06
TuxCrafterif you have no other overwriting configs12:06
TuxCrafterwithout the libpam-umask package installed12:06
`6ogTuxCrafter, exactly. because its now part of libpam-modules12:06
TuxCrafterdpkg -S pam_umask.so12:07
TuxCrafterlibpam-modules: /lib/security/pam_umask.so12:07
TuxCrafter`6og: so the libpam-umask should be removed form the repo as soon as possible but the documentation must be added to libpam-modules12:07
`6ogTuxCrafter, correct.12:08
`6ogTuxCrafter, there is a bug open about it.12:08
TuxCrafterdo you have the link?12:08
TuxCrafteri can add some comments12:08
TuxCrafterthese bugs waste time of lots of people12:09
TuxCrafterin theory a linux system should run fine with umask 0077 correct?12:09
`6ogTuxCrafter, dont have a link, but search launchpad for it12:10
`6ogyou can probably search /ubuntu/+source/libpam-modules/+bugs directly12:11
TuxCrafterhttps://bugs.launchpad.net/ubuntu/+source/pam-umask/+bug/19914112:18
TuxCrafterdone12:18
uvirtbot`Launchpad bug 199141 in pam-umask "seems to be broken, requires to remove almost all installed packages" [Undecided,Invalid]12:18
* TuxCrafter getting some food12:18
* TuxCrafter leaving got to reboot and do some other work, thanks for he feedback12:55
=== `6og is now known as Kamping_Kaiser
darksiferhi which nvdia driver is best for ubuntu15:17
Kamping_Kaiserdoesnt really sound like a questionf ro -server15:19
Kamping_Kaiser*for15:19
darksifersorry15:20
MocIm reading from docs that ubuntu is subseptible to have it network interface switch even when the mac is specified in the interfaces ?16:37
Nafallowhen the mac is specified where?16:38
Mocin the interfaces file16:38
Kamping_KaiserMoc, which docs?16:39
Mocman page16:39
Kamping_Kaiserwhich?16:39
Nafallothat's because it's the wrong place for that magic.16:39
Mocinterfaces man page16:39
Nafallothat magic lives in udev16:39
MocI know on CentOS, if I specified the mac in the ifcfg-eth0 file, it will grab it correctly16:40
Nafallowell now... Ubuntu Server is not CentOS, and most of us consider that a feature.16:40
Nafallo/etc/udev/rules.d/70-persistent-net.rules16:41
Mocok so I guess the 2004 doc is out of date16:42
MocI found it pretty lame that I had to run sh scripts to get the mapping correctly16:43
Nafallofeel free to file a bug about it :-)16:43
MocI got burned of submiting bug report that arnt process for months, and only reponse I get is when a new release come out and maintainer ask if bug is still present... then you check and say it still is... and again no reply for months ... Im personally tired of filing them16:48
Kamping_Kaiserpretty sure ifconfig/ifup predates udev, probably the man page does too16:48
Mocprobably16:49
NafalloKamping_Kaiser: we didn't have udev in Warty, no :-)16:49
Kamping_KaiserNafallo, :)16:50
keithclarkMaybe this is a question best asked of the server crowd.  I don't seem to have any luck setting up Samba.  I can see the windows XP machine, but the XP machine cannot see the Ubuntu machine.  And, even though I can see the XP machine, I cannot see any of the shared directories on it.19:15
sommerfoolano: what's up, I noticed that the esofttool and ebox-software packages are only for hardy?  I grabbed the source and they build fine on intrepid... just fyi20:15
sommerfoolano: will the ebox-software module be able to manage all packages in the future?20:15
keithclarkMaybe this is a question best asked of the server crowd.  I don't seem to have any luck setting up Samba.  I can see the windows XP machine, but the XP machine cannot see the Ubuntu machine.  And, even though I can see the XP machine, I cannot see any of the shared directories on it.20:25
uvirtbot`New bug: #269954 in openssh (main) "ssh -X breaks Xauthority on NFS mounted home dir" [Undecided,New] https://launchpad.net/bugs/26995422:51

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