Re: Running > 4GB of Memory

2005-10-21 Thread Aurelien Ricard

Ron Johnson wrote:


On Thu, 2005-10-20 at 22:46 -0400, Mark Hansen wrote:
 

I'm running debian on a dell poweredge 1750 and just intalled 6GB of 
memory.  Its a dual-processor machine and I use it with VMWare to run 
multiple virtual machines.


Problem - I can only "see" 4GB of memory.  Here is the output from
"free -m":

[EMAIL PROTECTED]:~$ free -m
 total   used   free sharedbuffers cached
Mem:  3995   3908 86  0145   2668
-/+ buffers/cache:   1094   2901
Swap: 2047  0   2047


What do I need to do in order to make the other 2GB of memory available?
   



Build your own kernel, setting the appropriate HIGHMEM option.

 $ grep HIGHMEM /boot/config-2.6.12-1-386
 CONFIG_NOHIGHMEM=y
 # CONFIG_HIGHMEM4G is not set
 # CONFIG_HIGHMEM64G is not set

 

Ron's right, you need to rebuild your kernel with high memory support 
enabled and everything gonna be OK with you 6GB


--
Aurelien Ricard


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: getting vhosts to work with apache2 and sid?

2005-10-20 Thread Aurelien Ricard

Bruno Boettcher wrote:


On Thu, Oct 20, 2005 at 01:57:03PM +0200, Bruno Boettcher wrote:
ok
heres some new stuff

i made all tests from an outside machine, nd i made them now internally
on the machine with lynx

big surprise:
the vhosts work when i amon the machine but not from outside...

maybe it is realted to the way gandi handles things?
when i make dig thehost i get not the address it should

how can this make things go wrong??

 



if you really talk about a "default" vhost  you should name it ' 
_default_'  ().


Other thing,  put your IPs in the 'NameVirtualHost' section, you seem to 
have on that 1 IP.


NameVirtualHost A.B.C.D
NameVirtualHost A.B.C.D
...

and put the server name between < and > in the virtualhost section: 




What do you wanna say: "when i make dig thehost i get not the address it 
should" ?


Aurélien

--
Aurelien Ricard


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: getting vhosts to work with apache2 and sid?

2005-10-20 Thread Aurelien Ricard

Bruno Boettcher wrote:


On Thu, Oct 20, 2005 at 11:30:17AM +0200, Aurelien Ricard wrote:
 


Could you send us your httpd.conf?
   


sending them through the list seemd a bit too much :D
put them up under:
http://bboett.dyndns.org/~bboett/apache2.conf
http://bboett.dyndns.org/~bboett/default
http://bboett.dyndns.org/~bboett/magazine

and as sayd magazine is completely ignored, and that was the file set up
by the pip package...

 


Does the 'apachectl configtest' command process all your externals VirtualHost 
files?
(it must print "processing config file: " for each vhost)

It seems you don't include your files correctly in the apache2.conf.

Try to rename your vhost like magazine.conf and include 
/etc/apache2/sites-enabled/*.conf.
actually you can just include "/etc/apache2/sites-enabled/".

To be sure, you can even try to put the file content directly in the 
apache2.conf


Aurélien


--
Aurelien Ricard


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: phpmyadmin + apache2

2005-10-20 Thread Aurelien Ricard
Add index.php,index.phtml to your DirectotyIndex and keep the .phtml 
extension to your "AddType application/x-httpd-php"


Let we know if it works.

Aur??lien

Hans du Plooy wrote:


On Thursday 20 October 2005 11:48, amalgam.swhe wrote:
 


On Thu, Oct 20, 2005 at 11:29:35AM +0200, Hans du Plooy wrote:
   


I'm missing something.  I did apt-get install phpmyadmin on a fresh
minimal Sarge install.  It installed phpmyadmin, some php stuff and some
apache2 stuff.  It asked me for which server to configure it, and I chose
apache2.
 


do u have this installed :
libapache2-mod-php4 or libapache2-mod-php5
   



I didn't but I have now.  Still doesn't work though.

This is what I get in my access.log - error.log doesn't show anything:

192.168.16.109 - - [20/Oct/2005:11:57:58 +0200] "GET /phpmyadmin HTTP/1.1" 301 
341 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050715 
Firefox/1.0.6 SUSE/1.0.6-13"


Let me know if there is any useful information I can post.

Thanks
Hans


 




--
Aurelien Ricard


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: getting vhosts to work with apache2 and sid?

2005-10-20 Thread Aurelien Ricard

Could you send us your httpd.conf?

Aurélien


Bruno Boettcher wrote:


Hello!

i am stumbling across a very strange problem...

i installed apache2 and spip and there's no way to access the spip
part

i tryed to install myself other vhosts, and a part from the default
vhost all others are simply ignored

i moved the 
NameVirtualHost *:80

directive just above the loading of the different vhost files
i added the 80 port
made sure that vhosts and all sites are enable (sing the a2ensites and
   a2enmod scripts) nothing does

if i remove the default site, all oter vhosts are still ignored and the
server goes in a state where it redirects me to microsoft.com :(

what's going wrong???

should i file a bug report for this? or is it simply a dumb error of my
part somewhere (but then, default and spip should work, neh? )

 oh and another thing since i am at it

 i set the servername to www.domain.com, and ServerAlias to domain.com
 *.domain.com
 if i go in with anything else than www.domain.com i get in my browser
 a display of the ip of the machin instead of www.domain.com 
 any way to solve this too? 


 thanks in advance
 




--
Aurelien Ricard


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Kernel Questions

2005-10-17 Thread Aurelien Ricard

There are a lot of docs about that.
Take a look a the kernel How-to 
(http://www.linuxdocs.org/HOWTOs/Kernel-HOWTO.html)


FYI, 2.4 kernels already has modules, modules.conf... in /etc...

Aurélien

PS: 2.2 too, by the way ;)


Paras pradhan wrote:


hi:

I am running Debian Sarge. under /etc/ i see lots of files like;
modules, modules.conf, modprobe.d , alias. etc...

can anyone point me to the right url or docs that explains how kernel
2.6 handles modules and drivers?


Thanks
Paras.



 


--
Aurélien Ricard


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: telnet as login shell

2005-10-16 Thread Aurelien Ricard

Stephen Le wrote:


On 10/16/05, Aurelien Ricard <[EMAIL PROTECTED]> wrote:
 


Stephen, try to put a telnet session in their ~/.bashrc
I've never tried but it should work.
   



While this works, it is insecure. A user can easily run a command like
'ssh [EMAIL PROTECTED] rm .bashrc' to delete the .bashrc file and get full
shell access.

I've resorted to using a Perl script as a login shell.



 


You're right,

chmod -w .bashrc ;)

Aurelien

--
Aurélien Ricard


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: rsync over ssh with disallowed login

2005-10-16 Thread Aurelien Ricard
If you want to be able to login using ssh (or rsync over ssh) on a 
remote machine without password try to put the key of the user's login 
(used on the local machine)  to the .ssh/authorized_keys on the remote 
$HOME_DIR.


home it helps

Aurélien



Lubos Vrbka wrote:


hi guys,

is there any way how to disable login to a machine with ssh and at the 
same time use it as a backup machine using rsync over the same 
protocol (ssh)?


i.e. user can run rsync to that machine, but the login is disallowed? 
i've seen similar setup (using rsh) in the past but couldn't find out 
how this is done...


thank you in advance for your help.

regards,



--
Aurélien Ricard


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: telnet as login shell

2005-10-16 Thread Aurelien Ricard

Benjamin A'Lee wrote:


On Sat, 2005-10-15 at 08:56 -0700, Stephen Le wrote:
 


Is it possible to change a user's login shell to an instance of telnet
to a user-unique port? When a user logs into my server, I'd like them
to be immediately dropped into a telnet session on a specific port
running on the server and to be disconnected when their telnet session
ends.
   



You should be able to write a script that calls telnet with the
appropriate options, and set that as the shell (add it to /etc/shells).
That's just a guess, haven't tested it.

   Ben

 


Ben, I don't think it works.
Stephen, try to put a telnet session in their ~/.bashrc
I've never tried but it should work.


Aurelien

--
Aurélien Ricard





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]