/srv/irclogs.ubuntu.com/2008/01/21/#ubuntu-server.txt

=== \sh is now known as \sh_away
thomas_newbie__If I want to create a webserver with pages that users can create an account and such what server and how should i do it? I have a plain apache server now. Can I use asp pages?02:08
zulno you will have to configure apache to use asp pages check google02:10
kgoetzthomas_newbie__: anyone witha shell account can have their own web page if you enable apache mod_userdir02:11
kgoetzas for asp - avoid it02:11
thomas_newbie__zul: but whats the best way to do it. Internet sites as facebook are using .php extension pages on Apache servers02:11
zulthomas_newbie__: you will have to install php5 then02:11
zul!php02:11
ubotuLAMP is an acronym for Linux-Apache-MySQL-PHP. However, the term is often used for setups using alternative but different software, such as Perl or Python instead of PHP, and Postgres instead of MySQL. For help with setting up LAMP on Ubuntu, see  https://help.ubuntu.com/community/ApacheMySQLPHP - See also the Server CD installation process (different in Edgy+)02:11
kgoetzphp is not asp02:12
zulyes but if he wants to use php like facebook then he will have to install php if he wants to use asp then he will have to configure apache to use php02:12
zuler..asp02:12
kgoetzzul: yes, thats kind of what i was trying to say.02:12
thomas_newbie__I know I just don't know how to go about this. Using a page where people can go on a website create and account and login aftewards. I"LL BE BACK, DINNER is READY02:12
kgoetztalking about sites with php is irrelevent if he wants asp (or vica versa)02:13
thomas_newbie__Dinner02:13
thomas_newbie__kgoetz: hey i'm back, so do I need asp, or should I just use html forms on its own?02:34
kgoetzthomas_newbie__: if you need server side scripting, use php02:35
kgoetzor python, for more hardcore uses02:35
thomas_newbie__kgoetz: So for the purposes I described to you...you connect to my page..you create account...submit..and then you can login to your own page....What should I use?02:36
kgoetzthomas_newbie__: dont know, i havent setup a login system like that, unless you use something like wordpress/plone perhaps02:38
thomas_newbie__kgoetz: what the heck is that. You don't understnad what I mean? As an example you create a hotmail account02:39
kgoetzthomas_newbie__: what the heck is what? how did email get into this?02:39
thomas_newbie__kgoetz: hehe i dont know what wordpress is. No not email just any forum/email/facebook, any site that you can enter your: Username and Password and then you can login with it. I would like to do that02:41
kgoetzthomas_newbie__: go have a look at wordpress and come back and tell us if its what your thinking02:42
thomas_newbie__kgoetz: wordpress is a blog thing02:44
kgoetzyes it is.02:44
thomas_newbie__kgoetz: I guess it could be a blog it don't matter. First I want the user to establish their own account.02:45
zulso you want facebook the equivalent?02:45
thomas_newbie__kgoetz: I don't know if I need to use IIS or Apache for my page. That's the debate right now. I can execute asp scripts without IIS?02:46
kgoetzthomas_newbie__: apache can run asp.02:46
zulthomas_newbie__: its probably the out of the scope of this channel02:46
thomas_newbie__zul: no. Ok forget the examples. I just want a user to login to my first page. Enter their name. Enter a password. Then submit to me02:46
* kgoetz giggles02:47
ajmitchkgoetz: behave02:47
kgoetzajmitch: sorry02:47
zulthomas_newbie__: google is usually good for finding things like that or freshmeat.net02:49
thomas_newbie__zul: google is my friend i know....but google didn't give me any best answers02:50
zulbut look at zope,plone,django..02:52
thomas_newbie__www.mysite.com/~thomas/ works for my webserver. Is that a good thing? Correct?04:11
kgoetzyes04:12
thomas_newbie__kgoetz: i don't understand why it works though04:14
thomas_newbie__kgoetz: i have documentroot set to /thomas/public_html/04:15
kgoetzthomas_newbie__: why? leave document_root at /var/www04:15
kgoetzthe userdir module is what gives you access to $HOME/public_html via the /~username directory04:16
thomas_newbie__kgoetz: omg i dont' understand this..I have document_root set to /var/www and yet mysite.com/~thomas/ still redirects me to a page in my home folder04:19
kgoetzyes.04:20
kgoetzthats04:20
kgoetzwhat04:20
kgoetzit04:20
kgoetzdoes04:20
kgoetz!!!04:20
kgoetzthats the point of the ~/yourname04:20
kgoetz* /~yourname04:20
thomas_newbie__kgoetz: i have another problem, I can't stop my webserver: sudo /etc/init.d/apache2 stop04:22
thomas_newbie__It says the server stopped BUT IT DOESNT!04:23
kgoetzthomas_newbie__: what do the logs say?04:25
thomas_newbie__kgoetz: these logs? /var/log/apache204:28
kgoetzthomas_newbie__: yes.04:29
kgoetzand posably syslog04:29
thomas_newbie__kgoetz: not sure which file04:30
kgoetzthomas_newbie__: /var/log/syslog and /var/log/apache2/*log04:31
thomas_newbie__kgoetz: well in the access logs04:32
thomas_newbie__kgoetz: you're looking for a shutdown thing?04:32
kgoetzthomas_newbie__: yes04:32
thomas_newbie__I'm just seeing what i accessed04:33
thomas_newbie__access.log04:33
thomas_newbie__kgoetz: I don't know if I may have screwed something...I installed php5 and MySQL04:35
thomas_newbie__hmmm04:35
thomas_newbie__lol wtf i wanna stop it04:35
kgoetzdid you isntall them using apt?04:36
thomas_newbie__adept package04:36
thomas_newbie__kgoetz:  * Stopping web server (apache2)...                                                                                                           httpd (no pid file) not running04:37
kgoetzbut you can still visit your local web server?04:38
thomas_newbie__yea04:39
kgoetzhm04:39
thomas_newbie__kgoetz: even through external ip....i installed mysql-server04:39
kgoetzis apache the only httpd you have installed?04:39
thomas_newbie__is it possible to have 2 apache's installed?04:40
kgoetzrun `ps aux |grep -e httpd -e apache` and pastebin the output04:40
kgoetzapache1 and apache2 potentially, but iirc not on ubuntu04:40
thomas_newbie__kgoetz: http://paste.ubuntu-nl.org/52863/04:41
kgoetzthomas_newbie__: what version of buntu?04:42
thomas_newbie__kgoetz: not sure but i think feisty04:42
thomas_newbie__hmm04:42
thomas_newbie__lol04:42
kgoetzhttp://packages.ubuntu.com/cgi-bin/search_contents.pl?word=%2Fusr%2Fsbin%2Fapache&searchmode=searchfiles&case=insensitive&version=feisty&arch=i38604:43
thomas_newbie__kgoetz: how do i check console :D?04:43
kgoetzthomas_newbie__: `ls_release -a`04:44
thomas_newbie__kgoetz: that dont work04:45
thomas_newbie__kgoetz: you want me to install apache webserver?04:45
* kgoetz is heading afk04:46
thomas_newbie__anyone there?04:55
thomas_newbie__kgoetz: hello?04:55
thomas_newbie__I Found the solution. SHOULD I use APache2 or Apache?04:55
kgoetzapache204:56
kgoetzheading off. good luck :)04:56
thomas_newbie__kgoetz: yoasd04:56
thomas_newbie__kgoetz: :(04:56
thomas_newbie__last question?04:56
thomas_newbie__kgoetz: apache has took over apache2...I used apache2 before04:57
thomas_newbie__so Now only apache 1.3 works. How do I change? Uninstall. Any clue why?04:57
krautmoin07:57
=== _emgent is now known as emgent
=== nijaba_ is now known as nijaba
krauthi11:14
krauti am using rdesktop on an ubuntu-server via ssh -X and having problems with the graphics on the remote-windows-box. does anybody know, how i could fix this?11:14
krautthe ubuntu-server is a dapper.11:14
krautno backports or multiverse packages are installed11:15
_rubenkraut: im not sure what it is you're trying to do, nor what those "problems" actually are11:52
krauti am using rdesktop on an ubuntu-server and having graphi-problems11:52
_rubenthats even less information than the first time11:54
kraut_ruben: http://exodus.packetloss.biz/~kraut/temp/rdesktop.png11:56
krautwith rdesktop 1.5.0 on gutsy it's working fine11:56
_rubenrdesktop has various ways to deal with screen updates afaik, might need some tweaking in that area11:59
_rubeneven when i started using rdesktop years ago, i never had issues like these11:59
krautthe window of rdesktop itself is broken as you could see above the title-bar12:02
krautany other application like konqueror is working fine12:02
_rubeni dont see any title bar12:04
krautah, sorry. it wasn't captured by import12:04
krautbut it's also broken12:04
_rubenthat sounds like a bigger problem, like with the window decorator/widget set/etc12:06
krautdon't think so, because konqueror for example is working fine12:07
krautand when i use rdesktop without window-decorations, i'll get the same errors in the windows-screen12:07
_rubenwell .. rdesktop isnt drawing its own titlebar afaik ... then again, im far from knowledgeable in the X details12:08
krautme, too.12:09
krauti only want to get it fixed :P12:09
_rubenthe only other thing i can think of is that dapper's rdesktop version isnt (fully) compatible with the newer rdp protocols used by xp/2k3 (which seems to be what you're connecting to)12:12
krautok, i've compiled now in a dapper32-chroot my own 1.5.0 rdesktop version and everythin runs fine12:14
krautyes, it's windows 2003 server12:14
_rubenthe rdp protocol evolved over time, might be related12:15
krauti think i should open a bug-report12:15
=== nijaba_ is now known as nijaba
zulfor the apache modules in universe should the maintainers be set to the server-team?14:18
=== _emgent is now known as emgent
=== shawarma is now known as soren
=== \sh_away is now known as \sh
mathiaz_zul: for bug 182256, I wouldn't confirm it yet.15:14
ubotuLaunchpad bug 182256 in apache2 "error while apache start" [Low,Confirmed] https://launchpad.net/bugs/18225615:14
mathiaz_zul: it seems that it may be related to a wrong configuration on the system15:14
=== mathiaz_ is now known as mathiaz
zulyeah I get that as well but apache starts but it starts as normal15:15
mathiazzul: not sure it's related to apache15:16
sommerScottK: around?17:12
ScottKYeah17:16
sommerI just wanted to comment on avscan... is it really needed?17:16
sommerwith clamtk, and klamav it seems redundent17:17
sommerafter looking through the code, in the dapper version, it seems more like a learning project than a serious project17:17
sommerI could definitely be wrong about that though17:18
ScottKI got avscan working17:23
ScottKAgreed it's redundant, but it's in the repos, so we're stuck with it.17:23
ScottKThe Dapper version was a very early one.  I probably shouldn't have even been packaged yet.17:23
sommerah, gotcha... just wanted to complain a little I guess17:24
ScottKSure17:24
ScottKI really appreciate all your testing help.17:24
sommernp17:25
ScottKHave you got Edgy?17:25
sommernot currently, but I can probably get it setup today or sometime this week17:26
ScottKIf at all possible, I'd like to actually execute the backport in Edgy first as a test.17:26
sommersounds reasonable17:27
sommerI'll try and work on that this evening17:27
ScottKLooks like I used the wrong version of sylpheed-claws-gtk2.  Gotta test that again.17:38
sommerokay, I can do that... are you updating the ppa?17:46
=== nijaba_ is now known as nijaba
greg-gI am trying to install Ubuntu server 6.06.2 in virtualbox.  It installed with no errors, on boot it sits and does nothing (other than use a whole cpu core) after "uncompressing linux... Ok, booting the kernel."20:14
greg-gsuggestions?20:15
imaginaryboyhi, I'm setting up an ubuntu server 7.10, with no GUI. I need something like bum but that doesn't need gui, need suggestions :D20:43
zulbum?20:44
leonelbum bum ?20:44
imaginaryboyboot up manager20:44
imaginaryboytequila bum bum yes :D20:44
imaginaryboyI am building up a very simple edonkey server20:45
imaginaryboyand I want to disable all the services that are useless20:46
imaginaryboyat startup20:46
leonelsudo update-rc.d -f   SERVICE  remove20:47
imaginaryboyI have not so much experience with command line...I use ubuntu desktop since 6.10, but I do quiet all with GUI programs20:47
imaginaryboytnx... and how can I see services list?20:48
=== \sh is now known as \sh_away
imaginaryboyleonel, ?20:50
leonelthe default server installation   has no services running20:52
leonelif there's a service running20:52
leonelyou can remove with20:52
leonelsudo update-rc.d -f   SERVICE  remove20:52
leonelthis way the server won't start at boot20:53
imaginaryboytnx...but in future with which command can I see the running services?20:55
leonelps aux21:00
leonelyou see all the process in your machine21:00
leonelor more  visual21:00
leonel 21:00
leonelpstree21:00
arthur_kalmHi everyone, I'm trying to get tomcat set up on a development machine but every time I launch it it dies instantly with no error messages whatsoever21:03
arthur_kalmI installed tomcat from the repo hoping that it would work with the defaults21:03
arthur_kalmHere is what happens:21:03
arthur_kalmarthur@mshlindev02:/etc/tomcat5$ sudo /etc/init.d/tomcat5 start21:03
arthur_kalmStarting Tomcat 5 servlet engine using Java from /usr/bin/java: arthur@mshlindev02:/etc/tomcat5$21:03
leonelarthur_kalm: did you installed  sun-java6 ?21:04
leonelarthur_kalm: and make the default java21:04
arthur_kalmsun-kava621:05
arthur_kalm*java21:05
arthur_kalmand I switched to it using update-alternatives21:05
arthur_kalmI uncommented some of the things in /etc/defaults/tomcat521:06
arthur_kalmah21:07
arthur_kalmhmmm21:07
arthur_kalmcould it be a permissions thing?21:08
arthur_kalmleonel, do you know which folders should be owned by tomcat5?21:09
leonelarthur_kalm: not really21:10
arthur_kalmleonel, :( OK...21:10
leonelarthur_kalm: http://ubuntuforums.org/showthread.php?t=614584&highlight=tomcat   maybe can  help21:18
arthur_kalmleonel, hrm, I did that :(.. grr I tried setting the permission and it didn't help...21:22
arthur_kalmJAVA_HOME is set...21:22
leonelok21:24
* leonel sudo apt-get install sun-java6-jdk tomcat5.5 21:25
leonellet see ..21:25
leonelmirrors are slow21:27
levanderHas anyone else noticed no development work has been done on dovecot in the last two months?21:31
arthur_kalmleonel, it's OK don't worry about it21:32
arthur_kalmleonel, I'll ask around in the tomcat channel. Thanks for your help :)21:33
chapiumfor some reason my terminal is in all caps..  what could be the cause of this?21:33
leonelcaps lock  ?21:33
leonelarthur_kalm: ok21:33
chapiumleonel: even the output is caps21:33
chapiumlike man pages21:34
leonel do a  reset to your terminal21:34
leonelon the terminal  type :21:35
leonel  reset21:35
leonel 21:35
leonelthat should reset the terminal setings21:35
chapiumleonel: thanks.  This is  a fresh install.. why would it do that?21:35
leonelwell when  I do a  cat to a file   the terminal gets the settings wrong  then with   reset  gets  solved21:36
arthur_kalmleonel, well I figure it out finally :P22:07
arthur_kalmleonel, it was because I had JAVA_HOME as the java executable instead of the actual folder :P22:08
arthur_kalmleonel, it should have really said something...22:08
ScottKsommer: ubuntu-clamav PPA is updated23:39

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