Re: [gentoo-user] The device-mapper init script is written for baselayout-2
Am Sonntag, 9. März 2008 schrieb Dale: If he uses LVM then he may need it. No. Only if he also uses baselayout 2! He would need the devicemapper package, but NOT the init script that comes with it, because this is written for BL 2. Bye... Dirk signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] The device-mapper init script is written for baselayout-2
On Sunday 09 March 2008, Dale wrote: If he uses LVM then he may need it. You are right on the baselayout but this got installed here when I was playing around with LVM. I would hate for him to be using LVM and not have this when he reboots. I didn't see any mention of this in the original post. He may not use LVM but if he does. . . . Also note, I have not used/installed baselayout to version 2 either but I still have this installed and it is needed by something else, that I may not need either. I haven't went that far here. This thread is interesting, mostly because I think I'm the only poster so far that thought to actually read the init script: = [EMAIL PROTECTED] ~ $ cat /etc/init.d/device-mapper #!/sbin/runscript # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-fs/device-mapper/files/device-mapper.rc-1.02.22-r3,v 1.5 2008/02/01 12:39:47 flameeyes Exp $ depend() { if [ -e /lib/librc.so ]; then # on baselayout-1 this causes # a dependency loop with checkroot (before *) after modules before checkfs fsck fi } start() { if [ ! -e /lib/librc.so ]; then eerror The ${SVCNAME} init script is written for baselayout-2 eerror Please do not use it with baselayout-1 return 1 fi start_addon dm } /lib/librc.so is not present under baselayout-1. So depend() evaluates to a null statement and start() WILL exit without running any code. All the OP needs do is remove device-mapper from his default runlevel. -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] The device-mapper init script is written for baselayout-2
Dirk Heinrichs wrote: Am Sonntag, 9. März 2008 schrieb Dale: If he uses LVM then he may need it. No. Only if he also uses baselayout 2! He would need the devicemapper package, but NOT the init script that comes with it, because this is written for BL 2. Bye... Dirk Now I wonder how I got this package then. Time to search my logs I guess. Dale :-) :-) -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] The device-mapper init script is written for baselayout-2
On Sat, 08 Mar 2008 18:26:29 -0600, Dale wrote: If he uses LVM then he may need it. You are right on the baselayout but this got installed here when I was playing around with LVM. I would hate for him to be using LVM and not have this when he reboots. I didn't see any mention of this in the original post. He may not use LVM but if he does. . . . Also note, I have not used/installed baselayout to version 2 either but I still have this installed and it is needed by something else, that I may not need either. I haven't went that far here. It seems everyone is getting wound up about nothing here. device-mapper is used for LVM, RAID, dm-crypt and maybe others. No one needs to uninstall anything. One file in the whole of the device-mapper package is an init script for baselayout 2 only. When run under baselayout 1 it does nothing but output a Don't run me warning. You should not uninstall any package, remove any file, pass Go or collect $200, just remove the script from the boot runlevel. The ebuild does not add the script to the runlevel, so the OP must have read the elog output about adding it for baselayout 2, misunderstood (or decided it would be a good idea to add it anyway) and added it to the boot runlevel. This was a mistake and the solution is simply to reverse this action by removing it from the runlevel. The has been a lot of speculation, confusion and misinformation in this thread when all that is needed it to undo one action. Yes Alan, I also know what the ebuild does :) -- Neil Bothwick The world is coming to an end... SAVE YOUR BUFFERS!! signature.asc Description: PGP signature
Re: [gentoo-user] The device-mapper init script is written for baselayout-2
Neil Bothwick wrote: It seems everyone is getting wound up about nothing here. device-mapper is used for LVM, RAID, dm-crypt and maybe others. No one needs to uninstall anything. One file in the whole of the device-mapper package is an init script for baselayout 2 only. When run under baselayout 1 it does nothing but output a Don't run me warning. You should not uninstall any package, remove any file, pass Go or collect $200, just remove the script from the boot runlevel. The ebuild does not add the script to the runlevel, so the OP must have read the elog output about adding it for baselayout 2, misunderstood (or decided it would be a good idea to add it anyway) and added it to the boot runlevel. This was a mistake and the solution is simply to reverse this action by removing it from the runlevel. The has been a lot of speculation, confusion and misinformation in this thread when all that is needed it to undo one action. Yes Alan, I also know what the ebuild does :) I may have misunderstood part of the problem myself and been unclear in what I was posting here. I was talking about removing the package not removing it from the run level. It seemed to me that removing the package may not be a good idea while removing it from a run level may not be to bad. At worst the OP may have to boot a CD or something to add it back. Some of the misunderstanding may be on my part. I have broke things by removing a package before and it is better to be safe than sorry. Sometimes I ask before removing things myself just to be sure. Dale :-) :-) -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] The device-mapper init script is written for baselayout-2
On Sun, 09 Mar 2008 04:46:18 -0500, Dale wrote: I may have misunderstood part of the problem myself and been unclear in what I was posting here. I was talking about removing the package not removing it from the run level. It seemed to me that removing the package may not be a good idea while removing it from a run level may not be to bad. At worst the OP may have to boot a CD or something to add it back. Do not remove the package - emerge -C will warn you about this. Do remove the script from all runlevels, which is what the error message said in the first place. -- Neil Bothwick Committee (noun): A group of people spending hours taking minutes signature.asc Description: PGP signature
[gentoo-user] dbus and HAL errors
From the user profile, I ran xhost + to allow connections to the x server (is that a correct understanding?). As root I'm getting HAL errors: arrakis ~ # arrakis ~ # nautilus Initializing gnome-mount extension ** (nautilus:8513): WARNING **: Cannot connect to system bus: org.freedesktop.DBus.Error.FileNotFound : Failed to connect to socket / var/run/dbus/system_bus_socket: No such file or directory ** (nautilus:8513): WARNING **: Could not initialize hal context Shutting down gnome-mount extension arrakis ~ # http://ubuntuforums.org/showthread.php?t=365442page=3 talks about starting the dbus service before HAL? thanks, Thufir -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] dbus and HAL errors
On Sunday 09 March 2008, Thufir wrote: From the user profile, I ran xhost + to allow connections to the x server (is that a correct understanding?). This is entirely unrelated to dbus and hal. On most modern setups, it probably also won't do anything, as the dm probably starts X with the '-nolisten tcp' option As root I'm getting HAL errors: arrakis ~ # arrakis ~ # nautilus Initializing gnome-mount extension why are you running gnome as root? Bad bad bad boy. Report to the principal's office for detention. This has been hashed to death by many people who really know what they are talking about, so I give the executive summary instead: NEVER EVER RUN X AS ROOT. It's bad enough the bloody thing is suid, but there's no way around that so we tolerate it. ** (nautilus:8513): WARNING **: Cannot connect to system org.freedesktop.DBus.Error.FileNotFound : Failed to connect to socket / var/run/dbus/system_bus_socket: No such file or directory ** (nautilus:8513): WARNING **: Could not initialize hal context Shutting down gnome-mount extension arrakis ~ # http://ubuntuforums.org/showthread.php?t=365442page=3 talks about starting the dbus service before HAL? properly configured, dbus *will* start before hald: [EMAIL PROTECTED] /etc/init.d $ cat dbus ... depend() { need localmount after bootmisc } [EMAIL PROTECTED] /etc/init.d $ cat hald ... depend() { use logger acpid need dbus after coldplug dns nscd } Do you have dbus and hald properly configured to start in the default runlevel? -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Fwd: apache vhost issue...
-- Forwarded message -- From: Elyahou ITTAH [EMAIL PROTECTED] Date: 9 mars 2008 13:39 Subject: apache vhost issue... To: [EMAIL PROTECTED] Hello, I have dificulty to configure vhost in apache... Here some files of my configuration in /etc/conf.d/apache2: APACHE2_OPTS=-D DEFAULT_VHOST -D SSL -D INFO -D LANGUAGE -D PHP5 -D USERDIR # ls -l /var/www total 8 drwxr-xr-x 4 apache apache 4096 mar 9 02:20 helpermaster.fr drwxr-xr-x 6 root root 4096 mar 8 22:12 localhost # cat /etc/apache2/vhosts.d/01_vhost1.conf VirtualHost *:80 ServerName helpermaster.fr ServerAlias helpermaster.fr DocumentRoot /var/www/helpermaster.fr/htdocs Directory /var/www/helpermaster.fr/htdocs Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all /Directory /VirtualHost But when I type helpermaster.fr on my browser, i receive the www/localhost pages and no the www/helpermaster.fr pages... I first sent the message to gentoo-web-user list but it seems that this list is no longer available... -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Fwd: apache vhost issue...
Elyahou ITTAH schreef: # cat /etc/apache2/vhosts.d/01_vhost1.conf VirtualHost *:80 ServerName helpermaster.fr ServerAlias helpermaster.fr DocumentRoot /var/www/helpermaster.fr/htdocs Directory /var/www/helpermaster.fr/htdocs Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all /Directory /VirtualHost But when I type helpermaster.fr on my browser, i receive the www/localhost pages and no the www/helpermaster.fr pages... I first sent the message to gentoo-web-user list but it seems that this list is no longer available... It seems to be configured right. I do notice you are using helpermaster.fr for your servername and as alias. If type in your browser www.helpermaster.fr it will use the default vhost cause there is no vhost configured for www.helpermaster.fr. Maybe that is the problem? -- Regards Juul Spies -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Fwd: apache vhost issue...
2008/3/9, Juul [EMAIL PROTECTED]: It seems to be configured right. I do notice you are using helpermaster.fr for your servername and as alias. If type in your browser www.helpermaster.fr it will use the default vhost cause there is no vhost configured for www.helpermaster.fr. Maybe that is the problem? I type on my browser helpermaster.fr and not www.helpermaster.fr... -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Bizarre SSH connection reset
To preface the question, I should mention that I'm currently residing in China, so communication with the networking guys on this end is a bit difficult because the communication algorithm typically begins, Step 1: Learn Chinese. I am having difficulties with getting bumped out of an SSH connection from a server in the U.S. with Connection reset by peer maybe 5-10 seconds after logging in. It *only* occurs in my apartment; i.e., when I go to a local wifi hotspot, I have no difficulties whatsoever. So I don't think it's coming from my end, and I don't think it's coming from the server I'm logging in to. Some details: 1) To ensure that I'm not having problems with keepalives, I configured SSHD on the other end very liberally (with some impressively fast typing, if I do say so myself). In sshd_config, I have TCPKeepAlive no ClientAliveInterval 15 ClientAliveCountMax 12 2) I then set ethereal running. Just as I got bumped, it indicated SourceDestination Protocol Info (the server) (my laptop) TCP 22 1259 [RST, ACK] Seq=5357 Ack=4037 Win=63856 Len=0 I'm not a networking guy, but I think that means a reset packet is being sent, ostensibly from the server. 3) When I get bumped, ssh -vvv gives the following debug1: channel 0: free: client-session, nchannels 1 debug3: channel 0: status: The following connections are open: #0 client-session (t4 r0 i0/0 o0/0 fd 4/5 cfd -1) debug3: channel 0: close_fds r 4 w 5 e 6 c -1 Read from remote host www.bogusdomain.com: Connection reset by peer Connection to www.bogusdomain.com closed. debug1: Transferred: stdin 0, stdout 0, stderr 126 bytes in 17.1 seconds debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 7.4 debug1: Exit status -1 If the reset is not coming from the server or the client (I don't have any problems when I'm at a hotspot), where could it be coming from? Thanks in advance, -Collin -- Collin Starkweather, Ph.D. http://www.linkedin.com/in/collinstarkweather -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Fwd: apache vhost issue...
hi, did you add your host in the hosts file? 2008/3/9, Elyahou ITTAH [EMAIL PROTECTED]: 2008/3/9, Juul [EMAIL PROTECTED]: It seems to be configured right. I do notice you are using helpermaster.fr for your servername and as alias. If type in your browser www.helpermaster.fr it will use the default vhost cause there is no vhost configured for www.helpermaster.fr. Maybe that is the problem? I type on my browser helpermaster.fr and not www.helpermaster.fr... -- gentoo-user@lists.gentoo.org mailing list -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Fwd: apache vhost issue...
2008/3/9, Strong Cypher [EMAIL PROTECTED]: hi, did you add your host in the hosts file? Nope, but I am tryingto connect not from that machine but from another one... -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Fwd: apache vhost issue...
yeah of course but apache need to now all ip of all host before starting. try to add it and restart apache 2008/3/9, Elyahou ITTAH [EMAIL PROTECTED]: 2008/3/9, Strong Cypher [EMAIL PROTECTED]: hi, did you add your host in the hosts file? Nope, but I am tryingto connect not from that machine but from another one... -- gentoo-user@lists.gentoo.org mailing list -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Fwd: apache vhost issue...
2008/3/9, Strong Cypher [EMAIL PROTECTED]: yeah of course but apache need to now all ip of all host before starting. try to add it and restart apache -- gentoo-user@lists.gentoo.org mailing list New infos... When I connect to helpermaster.fr from the server with the entry on /etc/hosts for this domain name, the vhost is on, but from an external machine I have still /www/localhost page... -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Fwd: apache vhost issue...
Elyahou ITTAH wrote: New infos... When I connect to helpermaster.fr from the server with the entry on /etc/hosts for this domain name, the vhost is on, but from an external machine I have still /www/localhost page... Are you running a proxy? Does it understand HTTP/1.1? Regards, Norberto -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Fwd: apache vhost issue...
Quoting Strong Cypher [EMAIL PROTECTED]: yeah of course but apache need to now all ip of all host before starting. try to add it and restart apache 2008/3/9, Elyahou ITTAH [EMAIL PROTECTED]: 2008/3/9, Strong Cypher [EMAIL PROTECTED]: hi, did you add your host in the hosts file? Nope, but I am tryingto connect not from that machine but from another one... In response to an earlier comment about a redundant ServerName / ServerAlias, typically those would look something like ServerName www.bogusdomain.com ServerAlias bogusdomain.com *.bogusdomain.com -Collin -- gentoo-user@lists.gentoo.org mailing list
RE: [gentoo-user] Fwd: apache vhost issue...
ok good could you show the access log with the line when your try to connect to the server ? -Message d'origine- De : Elyahou ITTAH [mailto:[EMAIL PROTECTED] Envoyé : dimanche 9 mars 2008 15:51 À : gentoo-user@lists.gentoo.org Objet : Re: [gentoo-user] Fwd: apache vhost issue... 2008/3/9, Strong Cypher [EMAIL PROTECTED]: yeah of course but apache need to now all ip of all host before starting. try to add it and restart apache -- gentoo-user@lists.gentoo.org mailing list New infos... When I connect to helpermaster.fr from the server with the entry on /etc/hosts for this domain name, the vhost is on, but from an external machine I have still /www/localhost page... -- gentoo-user@lists.gentoo.org mailing list -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Fwd: apache vhost issue...
2008/3/9, Norberto Bensa [EMAIL PROTECTED]: Are you running a proxy? Does it understand HTTP/1.1? Regards, Norberto The server don't have proxy, but my actual pc is in a proxyfied network (squid http) but I think that is'nt the problem... Try to connect to helpermaster.fr ( localhost output means that the browser is connected to www/localhost files and salut output is in www/helpermaster.fr) -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Bizarre SSH connection reset
On Sunday 09 March 2008, Collin Starkweather wrote: To preface the question, I should mention that I'm currently residing in China, so communication with the networking guys on this end is a bit difficult because the communication algorithm typically begins, Step 1: Learn Chinese. I would argue that your Chinese domain is blacklisted due to exhaustive number of owned MSWindows boxen and botnets that ping the rest of us without respite, from China. I really wish their step 1 was learn how to protect your PC, even if it runs an illegitimate Mickey Mouse OS. /sarcasm I am having difficulties with getting bumped out of an SSH connection from a server in the U.S. with Connection reset by peer maybe 5-10 seconds after logging in. It *only* occurs in my apartment; i.e., when I go to a local wifi hotspot, I have no difficulties whatsoever. So I don't think it's coming from my end, and I don't think it's coming from the server I'm logging in to. Some details: 1) To ensure that I'm not having problems with keepalives, I configured SSHD on the other end very liberally (with some impressively fast typing, if I do say so myself). In sshd_config, I have TCPKeepAlive no ClientAliveInterval 15 ClientAliveCountMax 12 Why don't you leave keepalive On? I would switch that flag to yes and perhaps increase the Interval to 60 seconds or more? 2) I then set ethereal running. Just as I got bumped, it indicated SourceDestination Protocol Info (the server) (my laptop) TCP 22 1259 [RST, ACK] Seq=5357 Ack=4037 Win=63856 Len=0 The packet flag [RST, ACK] indicates that the port is closed. I'm not a networking guy, but I think that means a reset packet is being sent, ostensibly from the server. Yep, to indicate that the port has closed. 3) When I get bumped, ssh -vvv gives the following debug1: channel 0: free: client-session, nchannels 1 debug3: channel 0: status: The following connections are open: #0 client-session (t4 r0 i0/0 o0/0 fd 4/5 cfd -1) debug3: channel 0: close_fds r 4 w 5 e 6 c -1 Read from remote host www.bogusdomain.com: Connection reset by peer Connection to www.bogusdomain.com closed. debug1: Transferred: stdin 0, stdout 0, stderr 126 bytes in 17.1 seconds debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 7.4 debug1: Exit status -1 The server closes the connection. If the reset is not coming from the server or the client (I don't have any problems when I'm at a hotspot), where could it be coming from? Are you using the same NIC on the laptop? If yes, then the issue could be related to your router configuration., but my money is on your keepalive settings. See if my suggestions above help. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Fwd: apache vhost issue...
Quoting Strong Cypher [EMAIL PROTECTED]: yeah of course but apache need to now all ip of all host before starting. try to add it and restart apache 2008/3/9, Elyahou ITTAH [EMAIL PROTECTED]: 2008/3/9, Strong Cypher [EMAIL PROTECTED]: hi, did you add your host in the hosts file? Nope, but I am tryingto connect not from that machine but from another one... Also, what do you get when you tail -n 100 /.../logs/access_log | grep helpermaster.fr -Collin -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Fwd: apache vhost issue...
2008/3/9, cypherstrong [EMAIL PROTECTED]: ok good could you show the access log with the line when your try to connect to the server ? http://rafb.net/p/DH1lDL67.html -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Bizarre SSH connection reset
Quoting Mick [EMAIL PROTECTED]: I would argue that your Chinese domain is blacklisted due to exhaustive number of owned MSWindows boxen and botnets that ping the rest of us without respite, from China. I really wish their step 1 was learn how to protect your PC, even if it runs an illegitimate Mickey Mouse OS. /sarcasm You're not whistlin' Dixie ... every USB stick I've ever been handed in China has a virus on it. Are you using the same NIC on the laptop? If yes, then the issue could be related to your router configuration., but my money is on your keepalive settings. See if my suggestions above help. Thanks. I'll give it a shot. -Collin -- gentoo-user@lists.gentoo.org mailing list
RE: [gentoo-user] Fwd: apache vhost issue...
Could you remove the ServerAlias directive and try again ? -Message d'origine- De : Elyahou ITTAH [mailto:[EMAIL PROTECTED] Envoyé : dimanche 9 mars 2008 16:17 À : gentoo-user@lists.gentoo.org Objet : Re: [gentoo-user] Fwd: apache vhost issue... 2008/3/9, cypherstrong [EMAIL PROTECTED]: ok good could you show the access log with the line when your try to connect to the server ? http://rafb.net/p/DH1lDL67.html -- gentoo-user@lists.gentoo.org mailing list -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Fwd: apache vhost issue...
2008/3/9, cypherstrong [EMAIL PROTECTED]: Could you remove the ServerAlias directive and try again ? Same result... -- gentoo-user@lists.gentoo.org mailing list
RE: [gentoo-user] Fwd: apache vhost issue...
Could you post default vhost configuration ? -Message d'origine- De : Elyahou ITTAH [mailto:[EMAIL PROTECTED] Envoyé : dimanche 9 mars 2008 16:47 À : gentoo-user@lists.gentoo.org Objet : Re: [gentoo-user] Fwd: apache vhost issue... 2008/3/9, cypherstrong [EMAIL PROTECTED]: Could you remove the ServerAlias directive and try again ? Same result... -- gentoo-user@lists.gentoo.org mailing list -- gentoo-user@lists.gentoo.org mailing list
RE: [gentoo-user] Fwd: apache vhost issue...
I think of something else, remove any think like 127.0.0.1 helpmaster.fr in your host file. You just need this host have the ip address you contact in host file -Message d'origine- De : Elyahou ITTAH [mailto:[EMAIL PROTECTED] Envoyé : dimanche 9 mars 2008 16:47 À : gentoo-user@lists.gentoo.org Objet : Re: [gentoo-user] Fwd: apache vhost issue... 2008/3/9, cypherstrong [EMAIL PROTECTED]: Could you remove the ServerAlias directive and try again ? Same result... -- gentoo-user@lists.gentoo.org mailing list -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Bizarre SSH connection reset
Are you using the same NIC on the laptop? If yes, then the issue could be related to your router configuration., but my money is on your keepalive settings. See if my suggestions above help. Thanks. I'll give it a shot. -Collin Something to try if the above does not worka long shot if it works, but you can try setting the server to listen on another port, like . -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Fwd: apache vhost issue...
2008/3/9, cypherstrong [EMAIL PROTECTED]: Could you post default vhost configuration ? in your host file. You just need this host have the ip address you contact in host file # cat /etc/hosts 127.0.0.1 localhost 91.121.117.202 ns201241.ovh.net # IPV6 versions of localhost and co ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts 127.0.0.1 localhost # cat /etc/apache2/vhosts.d/00_default_vhost.conf # Virtual Hosts # # If you want to maintain multiple domains/hostnames on your # machine you can setup VirtualHost containers for them. Most configurations # use only name-based virtual hosts so the server doesn't need to worry about # IP addresses. This is indicated by the asterisks in the directives below. # # Please see the documentation at # URL:http://httpd.apache.org/docs/2.2/vhosts/ # for further details before you try to setup virtual hosts. # # You may use the command line option '-S' to verify your virtual host # configuration. IfDefine DEFAULT_VHOST # see bug #178966 why this is in here # Listen: Allows you to bind Apache to specific IP addresses and/or # ports, instead of the default. See also the VirtualHost # directive. # # Change this to Listen on specific IP addresses as shown below to # prevent Apache from glomming onto all bound IP addresses. # #Listen 12.34.56.78:80 Listen 80 # Use name-based virtual hosting. NameVirtualHost *:80 # When virtual hosts are enabled, the main host defined in the default # httpd.conf configuration will go away. We redefine it here so that it is # still available. # # If you disable this vhost by removing -D DEFAULT_VHOST from # /etc/conf.d/apache2, the first defined virtual host elsewhere will be # the default. VirtualHost *:80 ServerName www.helpermaster.fr Include /etc/apache2/vhosts.d/default_vhost.include ErrorLog /var/www/localhost/log/error.log CustomLog /var/www/localhost/log/access.log combined IfModule mpm_peruser_module ServerEnvironment apache apache /IfModule /VirtualHost /IfDefine # vim: ts=4 filetype=apache # cat /etc/apache2/vhosts.d/default_vhost.include # ServerAdmin: Your address, where problems with the server should be # e-mailed. This address appears on some server-generated pages, such # as error documents. e.g. [EMAIL PROTECTED] ServerAdmin [EMAIL PROTECTED] # DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. # # If you change this to something that isn't under /var/www then suexec # will no longer work. DocumentRoot /var/www/localhost/htdocs # This should be changed to whatever you set DocumentRoot to. Directory /var/www/localhost/htdocs # Possible values for the Options directive are None, All, # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that MultiViews must be named *explicitly* --- Options All # doesn't give it to you. # # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs/2.2/mod/core.html#options # for more information. Options Indexes FollowSymLinks # AllowOverride controls what directives may be placed in .htaccess files. # It can be All, None, or any combination of the keywords: # Options FileInfo AuthConfig Limit AllowOverride All # Controls who can get stuff from this server. Order allow,deny Allow from all /Directory IfModule alias_module # Redirect: Allows you to tell clients about documents that used to # exist in your server's namespace, but do not anymore. The client # will make a new request for the document at its new location. # Example: # Redirect permanent /foo http://www.example.com/bar # Alias: Maps web paths into filesystem paths and is used to # access content that does not live under the DocumentRoot. # Example: # Alias /webpath /full/filesystem/path # # If you include a trailing / on /webpath then the server will # require it to be present in the URL. You will also likely # need to provide a Directory section to allow access to # the filesystem path. # ScriptAlias: This controls which directories contain server scripts. # ScriptAliases are essentially the same as Aliases, except that # documents in the target directory are treated as applications and # run by the server when requested rather than as documents sent to the # client. The same rules about trailing / apply to ScriptAlias # directives as to Alias. ScriptAlias /cgi-bin/ /var/www/localhost/cgi-bin/
Re: [gentoo-user] Fwd: apache vhost issue...
so anyone haven't a idea ? It's really weird because the configuration seems to be OK but in the /var/www/localhost/log/access.log file I see: [09/Mar/2008:19:24:28 +0100] GET / HTTP/1.0 304 - http://helpermaster.fr/; Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.8.1.12) Gecko/20080227 Firefox/2.0.0.12 -- gentoo-user@lists.gentoo.org mailing list
RE: [gentoo-user] Fwd: apache vhost issue...
Um ... I see this : VirtualHost *:80 ServerName www.helpermaster.fr Include /etc/apache2/vhosts.d/default_vhost.include ErrorLog /var/www/localhost/log/error.log CustomLog /var/www/localhost/log/access.log combined IfModule mpm_peruser_module ServerEnvironment apache apache /IfModule /VirtualHost ServerName = www.helpermaster.fr !!! For the default ??? No ! change to localhost for your helpermaster.fr file, don't forget the documentroot directive -Message d'origine- De : Elyahou ITTAH [mailto:[EMAIL PROTECTED] Envoyé : dimanche 9 mars 2008 18:47 À : gentoo-user@lists.gentoo.org Objet : Re: [gentoo-user] Fwd: apache vhost issue... 2008/3/9, cypherstrong [EMAIL PROTECTED]: Could you post default vhost configuration ? in your host file. You just need this host have the ip address you contact in host file # cat /etc/hosts 127.0.0.1 localhost 91.121.117.202 ns201241.ovh.net # IPV6 versions of localhost and co ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts 127.0.0.1 localhost # cat /etc/apache2/vhosts.d/00_default_vhost.conf # Virtual Hosts # # If you want to maintain multiple domains/hostnames on your # machine you can setup VirtualHost containers for them. Most configurations # use only name-based virtual hosts so the server doesn't need to worry about # IP addresses. This is indicated by the asterisks in the directives below. # # Please see the documentation at # URL:http://httpd.apache.org/docs/2.2/vhosts/ # for further details before you try to setup virtual hosts. # # You may use the command line option '-S' to verify your virtual host # configuration. IfDefine DEFAULT_VHOST # see bug #178966 why this is in here # Listen: Allows you to bind Apache to specific IP addresses and/or # ports, instead of the default. See also the VirtualHost # directive. # # Change this to Listen on specific IP addresses as shown below to # prevent Apache from glomming onto all bound IP addresses. # #Listen 12.34.56.78:80 Listen 80 # Use name-based virtual hosting. NameVirtualHost *:80 # When virtual hosts are enabled, the main host defined in the default # httpd.conf configuration will go away. We redefine it here so that it is # still available. # # If you disable this vhost by removing -D DEFAULT_VHOST from # /etc/conf.d/apache2, the first defined virtual host elsewhere will be # the default. VirtualHost *:80 ServerName www.helpermaster.fr Include /etc/apache2/vhosts.d/default_vhost.include ErrorLog /var/www/localhost/log/error.log CustomLog /var/www/localhost/log/access.log combined IfModule mpm_peruser_module ServerEnvironment apache apache /IfModule /VirtualHost /IfDefine # vim: ts=4 filetype=apache # cat /etc/apache2/vhosts.d/default_vhost.include # ServerAdmin: Your address, where problems with the server should be # e-mailed. This address appears on some server-generated pages, such # as error documents. e.g. [EMAIL PROTECTED] ServerAdmin [EMAIL PROTECTED] # DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. # # If you change this to something that isn't under /var/www then suexec # will no longer work. DocumentRoot /var/www/localhost/htdocs # This should be changed to whatever you set DocumentRoot to. Directory /var/www/localhost/htdocs # Possible values for the Options directive are None, All, # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that MultiViews must be named *explicitly* --- Options All # doesn't give it to you. # # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs/2.2/mod/core.html#options # for more information. Options Indexes FollowSymLinks # AllowOverride controls what directives may be placed in .htaccess files. # It can be All, None, or any combination of the keywords: # Options FileInfo AuthConfig Limit AllowOverride All # Controls who can get stuff from this server. Order allow,deny Allow from all /Directory IfModule alias_module # Redirect: Allows you to tell clients about documents that used to # exist in your server's namespace, but do not anymore. The client # will make a new request for the document at its new location. # Example: # Redirect permanent /foo http://www.example.com/bar # Alias: Maps web paths into filesystem paths and is used to # access content that does not live under the DocumentRoot. # Example: # Alias /webpath /full/filesystem/path #
Re: [gentoo-user] Fwd: apache vhost issue...
On Sunday 09 March 2008 11:52:16 Elyahou ITTAH wrote: in /etc/conf.d/apache2: APACHE2_OPTS=-D DEFAULT_VHOST -D SSL -D INFO -D LANGUAGE -D PHP5 -D USERDIR # cat /etc/apache2/vhosts.d/01_vhost1.conf VirtualHost *:80 But when I type helpermaster.fr on my browser, i receive the www/localhost pages and no the www/helpermaster.fr pages... Your vhost isn't specific enough to not be matched by the vhost defined by DEFAULT_VHOST (which is _default_:80). Either turn off DEFAULT_VHOST and add Listen *:80 somewhere before your virtualhost, or define it with an IP address. -- Mike Williams -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Fwd: apache vhost issue...
2008/3/9, Mike Williams [EMAIL PROTECTED]: On Sunday 09 March 2008 11:52:16 Elyahou ITTAH wrote: in /etc/conf.d/apache2: APACHE2_OPTS=-D DEFAULT_VHOST -D SSL -D INFO -D LANGUAGE -D PHP5 -D USERDIR # cat /etc/apache2/vhosts.d/01_vhost1.conf VirtualHost *:80 But when I type helpermaster.fr on my browser, i receive the www/localhost pages and no the www/helpermaster.fr pages... Your vhost isn't specific enough to not be matched by the vhost defined by DEFAULT_VHOST (which is _default_:80). Either turn off DEFAULT_VHOST and add Listen *:80 somewhere before your virtualhost, or define it with an IP address. I tried that but i have now Forbidden You don't have permission to access / on this server. when i trie to connect... -- gentoo-user@lists.gentoo.org mailing list
RE: [gentoo-user] Fwd: apache vhost issue...
ok in 00_default you need somethink like this VirtualHost __default__:80 ServerName localhost DocumentRoot /var/www/localhost Directory /var/www/localhost Order Allow, Deny Allow from all /Directory /VirtualHost and in 01_helpermaster VirtualHost *:80 ServerName helpermaster.fr ServerAlias *.helpermaster.fr DocumentRoot /var/www/helpermaster.fr Directory /var/www/helpermaster.fr Order Allow, Deny Allow from all /Directory /VirtualHost It should work ! -Message d'origine- De : Elyahou ITTAH [mailto:[EMAIL PROTECTED] Envoyé : dimanche 9 mars 2008 20:15 À : gentoo-user@lists.gentoo.org Objet : Re: [gentoo-user] Fwd: apache vhost issue... 2008/3/9, Mike Williams [EMAIL PROTECTED]: On Sunday 09 March 2008 11:52:16 Elyahou ITTAH wrote: in /etc/conf.d/apache2: APACHE2_OPTS=-D DEFAULT_VHOST -D SSL -D INFO -D LANGUAGE -D PHP5 -D USERDIR # cat /etc/apache2/vhosts.d/01_vhost1.conf VirtualHost *:80 But when I type helpermaster.fr on my browser, i receive the www/localhost pages and no the www/helpermaster.fr pages... Your vhost isn't specific enough to not be matched by the vhost defined by DEFAULT_VHOST (which is _default_:80). Either turn off DEFAULT_VHOST and add Listen *:80 somewhere before your virtualhost, or define it with an IP address. I tried that but i have now Forbidden You don't have permission to access / on this server. when i trie to connect... -- gentoo-user@lists.gentoo.org mailing list -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Fwd: apache vhost issue...
2008/3/9, cypherstrong [EMAIL PROTECTED]: ok in 00_default you need somethink like this VirtualHost __default__:80 ServerName localhost DocumentRoot /var/www/localhost Directory /var/www/localhost Order Allow, Deny Allow from all /Directory /VirtualHost and in 01_helpermaster VirtualHost *:80 ServerName helpermaster.fr ServerAlias *.helpermaster.fr DocumentRoot /var/www/helpermaster.fr Directory /var/www/helpermaster.fr Order Allow, Deny Allow from all /Directory /VirtualHost It should work ! Thanks, now i have that error: [Sun Mar 09 20:34:01 2008] [error] (EAI 2)Name or service not known: Could not resolve host name __default__ -- ignoring! -- gentoo-user@lists.gentoo.org mailing list
RE: [gentoo-user] Fwd: apache vhost issue...
perhaps I miss the s __defaults__ try this or replace by * -Message d'origine- De : Elyahou ITTAH [mailto:[EMAIL PROTECTED] Envoyé : dimanche 9 mars 2008 20:38 À : gentoo-user@lists.gentoo.org Objet : Re: [gentoo-user] Fwd: apache vhost issue... 2008/3/9, cypherstrong [EMAIL PROTECTED]: ok in 00_default you need somethink like this VirtualHost __default__:80 ServerName localhost DocumentRoot /var/www/localhost Directory /var/www/localhost Order Allow, Deny Allow from all /Directory /VirtualHost and in 01_helpermaster VirtualHost *:80 ServerName helpermaster.fr ServerAlias *.helpermaster.fr DocumentRoot /var/www/helpermaster.fr Directory /var/www/helpermaster.fr Order Allow, Deny Allow from all /Directory /VirtualHost It should work ! Thanks, now i have that error: [Sun Mar 09 20:34:01 2008] [error] (EAI 2)Name or service not known: Could not resolve host name __default__ -- ignoring! -- gentoo-user@lists.gentoo.org mailing list -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Fwd: apache vhost issue...
2008/3/9, cypherstrong [EMAIL PROTECTED]: perhaps I miss the s __defaults__ try this or replace by * I really don't understant what's happen... i stille have : Forbidden You don't have permission to access / on this server. Apache Server at 91.121.117.202 Port 80 I have now 01_vhost.conf Listen 80 NameVirtualHost *:80 VirtualHost *:80 ServerName localhost DocumentRoot /var/www/localhost/htdocs Directory /var/www/localhost/htdocs Order allow,deny Allow from all /Directory /VirtualHost VirtualHost *:80 ServerName helpermaster.fr ServerAlias *.helpermaster.fr DocumentRoot /var/www/helpermaster.fr/htdocs Directory /var/www/helpermaster.fr/htdocs Options Indexes FollowSymLinks Order allow,deny Allow from all /Directory /VirtualHost on my 01_vhost.conf and no default vhost it should work... but no... :( -- gentoo-user@lists.gentoo.org mailing list
RE: [gentoo-user] Fwd: apache vhost issue...
do you have remove the 00_vhost file ? -Message d'origine- De : Elyahou ITTAH [mailto:[EMAIL PROTECTED] Envoyé : dimanche 9 mars 2008 21:07 À : gentoo-user@lists.gentoo.org Objet : Re: [gentoo-user] Fwd: apache vhost issue... 2008/3/9, cypherstrong [EMAIL PROTECTED]: perhaps I miss the s __defaults__ try this or replace by * I really don't understant what's happen... i stille have : Forbidden You don't have permission to access / on this server. Apache Server at 91.121.117.202 Port 80 I have now 01_vhost.conf Listen 80 NameVirtualHost *:80 VirtualHost *:80 ServerName localhost DocumentRoot /var/www/localhost/htdocs Directory /var/www/localhost/htdocs Order allow,deny Allow from all /Directory /VirtualHost VirtualHost *:80 ServerName helpermaster.fr ServerAlias *.helpermaster.fr DocumentRoot /var/www/helpermaster.fr/htdocs Directory /var/www/helpermaster.fr/htdocs Options Indexes FollowSymLinks Order allow,deny Allow from all /Directory /VirtualHost on my 01_vhost.conf and no default vhost it should work... but no... :( -- gentoo-user@lists.gentoo.org mailing list -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Fwd: apache vhost issue...
On Sunday 09 March 2008 19:23:49 cypherstrong wrote: Directory /var/www/helpermaster.fr Order Allow, Deny Allow from all /Directory This is all that's necessary, although I'd drop it to just /var/www. Put it before any vhosts, it does not need to be defined inside a one. -- Mike Williams
RE: [gentoo-user] Fwd: apache vhost issue...
ok it seems to be an ovh issues here a solus : http://forum.ovh.com/showthread.php?t=2441 -Message d'origine- De : Mike Williams [mailto:[EMAIL PROTECTED] Envoyé : dimanche 9 mars 2008 21:58 À : gentoo-user@lists.gentoo.org Objet : Re: [gentoo-user] Fwd: apache vhost issue... On Sunday 09 March 2008 19:23:49 cypherstrong wrote: Directory /var/www/helpermaster.fr Order Allow, Deny Allow from all /Directory This is all that's necessary, although I'd drop it to just /var/www. Put it before any vhosts, it does not need to be defined inside a one. -- Mike Williams ¢z²z¢™Š -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Synaptics touchpad mistaken(?) for Logitech Wheel Mouse
On Fri, 2008-03-07 at 17:13 +0100, Johan Blåbäck wrote: I suspect you need these options in your kernel: [snip] Thanks for the reply, but I got all of those: [snip] hm. Do you have INPUT_DEVICES=... synaptics in /etc/make.conf? I don't think your /proc/bus/input/devices looks quite right - are you sure this isn't a pointer stick or something? What's the complete file look like? -- Iain Buchanan iaindb at netspace dot net dot au I told my kids, Someday, you'll have kids of your own. One of them said, So will you. -- Rodney Dangerfield -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Bizarre SSH connection reset
On Sun, Mar 9, 2008 at 12:03 PM, Andrey Falko [EMAIL PROTECTED] wrote: Are you using the same NIC on the laptop? If yes, then the issue could be related to your router configuration., but my money is on your keepalive settings. See if my suggestions above help. Thanks. I'll give it a shot. -Collin Something to try if the above does not worka long shot if it works, but you can try setting the server to listen on another port, like . -- gentoo-user@lists.gentoo.org mailing list Are you thinking his ISP is doing port-based connection filtering? -- - Mark Shields
Re: [gentoo-user] Bizarre SSH connection reset
On Sun, 9 Mar 2008 20:16:09 -0400 Mark Shields [EMAIL PROTECTED] wrote: Are you thinking his ISP is doing port-based connection filtering? What kind of connection filtering allows a connection to go through for 5 seconds, then resets it? -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Re: Gentoo Brainstorm !
On Thu, 06 Mar 2008 20:32:21 -0500 Chris Brennan [EMAIL PROTECTED] wrote: One other thing that may be good, is someone to donate resources if need be to get the project off the ground. Us doing all the technical footwork, means very little if there is no practical application in place, something tangible to look at and evaluate. If we're going to commit to this, then we may as well go as far as we can with it, till it looks so impressive and awe-inspiring that we can't help but be flocked to, like gentoo-wiki and the forums. When I help new users into the world of Linux and Gentoo, I tell them, there are three things you should book mark, and visit frequently, gentoo.com, gentoo-wiki.com and forums.gentoo.org, why shouldn't this be any different. Friends, I write custom database-driven websites like this one professionally, and there is absolutely no reason that, if I had just a little help coding the thing, we couldn't turn something like this into a reality. If anyone is interested in, and has the resources necessary to, make this happen, please speak up. The project might to very well if we had someone to do a little web design, someone to write a little PHP, and whoever else wanted to help, besides myself. Furthermore, it's possible we can simply have the code that runs on ubuntu's site. I have sent a mail[1] to the webmasters of ubuntu.com, hoping it will be directed to the proper feedback channels. I know hosting won't be a problem; I'm sure the gentoo web people would stick it on a box somewhere, or, failing that, give us a subdomain to work with on our own servers. I think, personally, that we should leave bugs.gentoo.org alone on this one. The devs are likely to think 'wouldn't it be nice if we had this neat web page ... ' doesn't count as a feature enhancement, but rather a _feature_. To that end, I started a gentoo forums post[2] about the topic instead. Make sure to speak up if you want to help! Thanks for reading. [1] email to [EMAIL PROTECTED],canonical}.com My attention has recently been drawn to brainstorm.ubuntu.com. What an excellent way to 'socialize' user ideas and feedback! The site got a bit of attention on the gentoo-users mailing list, and the general feeling was that such a site would be greatly beneficial to the community here in gentoo as well. Would you be amenable to the idea of granting us permission to use the site engine? Thank you for your time, Dan Farrell [2] http://forums.gentoo.org/viewtopic-t-673136.html -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Bizarre SSH connection reset
Quoting Dan Farrell [EMAIL PROTECTED]: On Sun, 9 Mar 2008 20:16:09 -0400 Mark Shields [EMAIL PROTECTED] wrote: Are you thinking his ISP is doing port-based connection filtering? What kind of connection filtering allows a connection to go through for 5 seconds, then resets it? I've been wondering the same thing. Typically, one wouldn't even expect to get through in the first place if there were filtering. The Great Firewall of China works by immediately sending hangup packets to both sides, spoofing they're coming from the appropriate party. But typically that happens the instant you try to establish a connection. Moreover, because I can get in from the local hotspot, I wouldn't imagine it's a Great Firewall issue. Some ISPs and the university campus (I believe I'm going through the local university's ISP) do their own filtering, but I can't imagine why a 5-second rule would be implemented. -Collin -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Gentoo Forums Crashed
On Sat, 12 Jan 2008 19:04:22 -0600 Dale [EMAIL PROTECTED] wrote: It is suposed to be here soon, I guess anyway. Dale you've been saying that for so long now. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Gentoo Forums Crashed
Dan Farrell wrote: On Sat, 12 Jan 2008 19:04:22 -0600 Dale [EMAIL PROTECTED] wrote: It is suposed to be here soon, I guess anyway. Dale you've been saying that for so long now. Yep, want to hear it again. DSL is still NOT here.:-( The only good thing to happen lately is me finding a girlfriend. Sort of takes my mind off DSL a little. ;-) I'm not even holding my breath now. I know the box is up there and there is little wire splices all over the ground but no DSL yet. :-@ I'm not sure how to speed them up either. Dale :-) :-) :-) -- gentoo-user@lists.gentoo.org mailing list