Ruby on Rails Not Found error with apache2

2007-02-07 Thread Sumith augustine

Hi all,


I ve installed RoR in my Debian box with apache2 fastcgi.

I tried to create a new app which was fine and its working with webrick, in
webrick when i clicked " About your application's environment
"
i received the following output


Ruby version 1.8.2
(i386-linux)

RubyGems version
0.9.2

Rails version 
1.2.2

Active Record version
1.15.2

Action Pack version
1.13.2

Action Web Service version
1.2.2

Action Mailer version
1.3.2

Active Support version
1.4.1

Application root
/var/www/myrailsapp

Environment dard
librdevelopment

Database adapter
mysql

But when i use appache2 am getting
Not Found

The requested URL /myrailsapp/public/rails/info/properties was not found on
this server.
--
Apache/2.0.54 (Debian GNU/Linux) mod_fastcgi/2.4.2 Server at
192.168.0.114Port 80


(this happens when i click " About your application's environment
")


Can anyone help me to sort out this prob

Thanks
Sumith


latest configuration supported by Sarge

2006-07-19 Thread Sumith augustine
hi all,please help me to find out a gud and latest configuration supported by Debian Sarge, so that i can  replace my debian server in which am running Subversion and backuppcI would also like to configure a PDC in it.
I prefer going for AMD But i don't know which one to choose AMD Athlon™ 64 X2 Dual-Core
/ AMD Athlon™ 64/
AMD Athlon™ 64 FXWill sarge support all the 3 above processors ??? ;-)And also Please let me know the best mother board and SATA HDD supported by Sarge thankxwith regardsSumith 



interface eth0 not comming up after network restart

2007-06-08 Thread Sumith augustine

hi all,

I ve installed etch in one of my sys,  and  am facing some issues with its
networking.

After "/etc/init.d/networking restart" the interface eth0 won't come up and
won't be visible through the "ifconfig" command
and if i try ping to some sys it says "Network is unreachable"

==
tfbsrv:/home/sumith# /etc/init.d/networking restart
Reconfiguring network interfaces...done.
tfbsrv:/home/sumith# ping 192.168.0.1
connect: Network is unreachable
tfbsrv:/home/sumith#
===

At this time ifconfig  will show only Loopback and no eth0
"netstat -rn" gives nothing

===
tfbsrv:/home/sumith# ifconfig
loLink encap:Local Loopback
 inet addr:127.0.0.1  Mask:255.0.0.0
 inet6 addr: ::1/128 Scope:Host
 UP LOOPBACK RUNNING  MTU:16436  Metric:1
 RX packets:697 errors:0 dropped:0 overruns:0 frame:0
 TX packets:697 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:0
 RX bytes:186974 (182.5 KiB)  TX bytes:186974 (182.5 KiB)

tfbsrv:/home/sumith# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags   MSS Window  irtt
Iface
tfbsrv:/home/sumith#


If i reboot the sys or issue the command "ifup eth0" the interface eth0 will
come up and now i can see it through "ifconfig"
also netstat -rn gives output

=
tfbsrv:/home/sumith# ifup eth0
tfbsrv:/home/sumith# ifconfig
eth0  Link encap:Ethernet  HWaddr 00:80:48:38:F5:47
 inet addr:192.168.0.72  Bcast:192.168.0.255  Mask:255.255.255.0
 inet6 addr: fe80::280:48ff:fe38:f547/64 Scope:Link
 UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 RX packets:3648 errors:0 dropped:0 overruns:0 frame:0
 TX packets:2424 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:1000
 RX bytes:2732146 (2.6 MiB)  TX bytes:463928 (453.0 KiB)
 Interrupt:201 Base address:0xd800

loLink encap:Local Loopback
 inet addr:127.0.0.1  Mask:255.0.0.0
 inet6 addr: ::1/128 Scope:Host
 UP LOOPBACK RUNNING  MTU:16436  Metric:1
 RX packets:733 errors:0 dropped:0 overruns:0 frame:0
 TX packets:733 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:0
 RX bytes:197918 (193.2 KiB)  TX bytes:197918 (193.2 KiB)

tfbsrv:/home/sumith# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags   MSS Window  irtt
Iface
192.168.0.0 0.0.0.0 255.255.255.0   U 0 0  0
eth0
0.0.0.0 192.168.0.1 0.0.0.0 UG0 0  0
eth0
tfbsrv:/home/sumith#
===

Can any one tell me why this is due to ?
is this a bug in etch ?
how can i fix it ?

note:
i ve installed testing packages of BackupPc and rsync

thanks
Regards
Sumith


Re: interface eth0 not comming up after network restart

2007-06-08 Thread Sumith augustine

On 6/8/07, Celejar <[EMAIL PROTECTED]> wrote:


On Fri, 8 Jun 2007 12:55:32 +0530
"Sumith augustine" <[EMAIL PROTECTED]> wrote:

> hi all,
>
> I ve installed etch in one of my sys,  and  am facing some issues with
its
> networking.
>
> After "/etc/init.d/networking restart" the interface eth0 won't come up
and
> won't be visible through the "ifconfig" command
> and if i try ping to some sys it says "Network is unreachable"
>
> ==
> tfbsrv:/home/sumith# /etc/init.d/networking restart
> Reconfiguring network interfaces...done.
> tfbsrv:/home/sumith# ping 192.168.0.1
> connect: Network is unreachable
> tfbsrv:/home/sumith#
> ===
>
> At this time ifconfig  will show only Loopback and no eth0
> "netstat -rn" gives nothing
>
> ===
> tfbsrv:/home/sumith# ifconfig
> loLink encap:Local Loopback
>   inet addr: 127.0.0.1  Mask:255.0.0.0
>   inet6 addr: ::1/128 Scope:Host
>   UP LOOPBACK RUNNING  MTU:16436  Metric:1
>   RX packets:697 errors:0 dropped:0 overruns:0 frame:0
>   TX packets:697 errors:0 dropped:0 overruns:0 carrier:0
>   collisions:0 txqueuelen:0
>   RX bytes:186974 (182.5 KiB)  TX bytes:186974 (182.5 KiB)
>
> tfbsrv:/home/sumith# netstat -rn
> Kernel IP routing table
> Destination Gateway Genmask Flags   MSS Window  irtt
> Iface
> tfbsrv:/home/sumith#
> 
>
> If i reboot the sys or issue the command "ifup eth0" the interface eth0
will
> come up and now i can see it through "ifconfig"
> also netstat -rn gives output
>
> =
> tfbsrv:/home/sumith# ifup eth0
> tfbsrv:/home/sumith# ifconfig
> eth0  Link encap:Ethernet  HWaddr 00:80:48:38:F5:47
>   inet addr:192.168.0.72  Bcast: 192.168.0.255  Mask:
255.255.255.0
>   inet6 addr: fe80::280:48ff:fe38:f547/64 Scope:Link
>   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>   RX packets:3648 errors:0 dropped:0 overruns:0 frame:0
>   TX packets:2424 errors:0 dropped:0 overruns:0 carrier:0
>   collisions:0 txqueuelen:1000
>   RX bytes:2732146 ( 2.6 MiB)  TX bytes:463928 (453.0 KiB)
>   Interrupt:201 Base address:0xd800
>
> loLink encap:Local Loopback
>   inet addr:127.0.0.1  Mask: 255.0.0.0
>   inet6 addr: ::1/128 Scope:Host
>   UP LOOPBACK RUNNING  MTU:16436  Metric:1
>   RX packets:733 errors:0 dropped:0 overruns:0 frame:0
>   TX packets:733 errors:0 dropped:0 overruns:0 carrier:0
>   collisions:0 txqueuelen:0
>   RX bytes:197918 (193.2 KiB)  TX bytes:197918 (193.2 KiB)
>
> tfbsrv:/home/sumith# netstat -rn
> Kernel IP routing table
> Destination Gateway Genmask Flags   MSS Window  irtt

> Iface
> 192.168.0.0 0.0.0.0 255.255.255.0   U 0 0  0
> eth0
> 0.0.0.0 192.168.0.1 0.0.0.0 UG0 0  0
> eth0
> tfbsrv:/home/sumith#
>
===
>
> Can any one tell me why this is due to ?
> is this a bug in etch ?
> how can i fix it ?
>
> note:
> i ve installed testing packages of BackupPc and rsync
>
> thanks
> Regards
> Sumith

The interface will only be brought up if the 'interfaces' file has
something like 'auto eth0'.



Thanks a lot Celejar, its working fine :-)
i put 'auto eth0' insted of 'allow-hotplug eth0'
now its working once again thanks a lot

regards
Sumith

Celejar

--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


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




DMA disabled

2006-03-22 Thread Sumith augustine
Hello Everybody,I am using a Sarge sys with Kernel 2.6.8-2-686 and Radi-1 (hda/hdc) Every day at boot time  am getting a DMA time out error for harddisk hdc, it  says DMA is disabled. At the same time there is no problem with the hda. The syslog msgs are given below. 
Mar 22 13:43:52 localhost kernel: hdc: ST340810A, ATA DISK driveMar 22 13:43:52 localhost kernel: hdc: set_drive_speed_status: status=0xd0 { Busy }Mar 22 13:43:52 localhost kernel: ide1 at 0x170-0x177,0x376 on irq 15 
Mar 22 13:43:52 localhost kernel: hdc: max request size: 128KiBMar 22 13:43:52 localhost kernel: hdc: status timeout: status=0xd0 { Busy }Mar 22 13:43:52 localhost kernel:Mar 22 13:43:52 localhost kernel: hdc: drive not ready for command 
Mar 22 13:43:52 localhost kernel: hdc: 78165360 sectors (40020 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(33)Mar 22 13:43:52 localhost kernel:  /dev/ide/host0/bus1/target0/lun0:hdc: status timeout: status=0xd0 { Busy } 
Mar 22 13:43:52 localhost kernel:Mar 22 13:43:52 localhost kernel: hdc: DMA disabledMar 22 13:43:52 localhost kernel: hdd: DMA disabled 
Mar 22 13:43:52 localhost kernel: hdc: drive not ready for commandMar 22 13:43:52 localhost kernel: ide1: reset: successMar 22 13:43:52 localhost kernel:  p1 p2 p3 p4 < p5 p6 p7 p8 p9 > 
 the hdparm results for hdc is/dev/hdc: multcount    =  0 (off) IO_support   =  0 (default 16-bit) unmaskirq    =  0 (off) using_dma    =  0 (off) keepsettings =  0 (off) readonly =  0 (off) 
 readahead    = 256 (on) geometry = 65535/16/63, sectors = 78165360, start = 0From this i understand that the dma is off,  Should i enable the DMA using "hdparm -d1 /dev/hdc or should i do somthing else ? 
 Is it safe to use hdparm? and ll it cause any data lose? Or should i do somthing to solve this DMA problem?Thank you very muchwith regards 
Sumith


Re: DMA disabled

2006-03-22 Thread Sumith augustine
Thanks a lot for responding On 3/23/06, Florian Kulzer <[EMAIL PROTECTED]> wrote:
Sumith augustine wrote:> Hello Everybody,>> I am using a Sarge sys with Kernel 
2.6.8-2-686 and Radi-1 (hda/hdc)> Every day at boot time  am getting a DMA time out error for harddisk hdc,> it  says DMA is disabled. At the same time there is no problem with the hda.> The syslog msgs are given below.
>> Mar 22 13:43:52 localhost kernel: hdc: ST340810A, ATA DISK drive> Mar 22 13:43:52 localhost kernel: hdc: set_drive_speed_status: status=0xd0 {> Busy }> Mar 22 13:43:52 localhost kernel: ide1 at 0x170-0x177,0x376 on irq 15
> Mar 22 13:43:52 localhost kernel: hdc: max request size: 128KiB> Mar 22 13:43:52 localhost kernel: hdc: status timeout: status=0xd0 { Busy }> Mar 22 13:43:52 localhost kernel:> Mar 22 13:43:52 localhost kernel: hdc: drive not ready for command
> Mar 22 13:43:52 localhost kernel: hdc: 78165360 sectors (40020 MB) w/2048KiB> Cache, CHS=65535/16/63, UDMA(33)> Mar 22 13:43:52 localhost kernel:  /dev/ide/host0/bus1/target0/lun0:hdc:> status timeout: status=0xd0 { Busy }
> Mar 22 13:43:52 localhost kernel:> Mar 22 13:43:52 localhost kernel: hdc: DMA disabled> Mar 22 13:43:52 localhost kernel: hdd: DMA disabled> Mar 22 13:43:52 localhost kernel: hdc: drive not ready for command
> Mar 22 13:43:52 localhost kernel: ide1: reset: success> Mar 22 13:43:52 localhost kernel:  p1 p2 p3 p4 < p5 p6 p7 p8 p9 >>>  the hdparm results for hdc is>> /dev/hdc:>  multcount=  0 (off)
>  IO_support   =  0 (default 16-bit)>  unmaskirq=  0 (off)>  using_dma=  0 (off)>  keepsettings =  0 (off)>  readonly =  0 (off)>  readahead= 256 (on)>  geometry = 65535/16/63, sectors = 78165360, start = 0
>>>From this i understand that the dma is off,  Should i enable the DMA using> "hdparm -d1 /dev/hdc or should i do somthing else ?>> Is it safe to use hdparm? and ll it cause any data lose?
> Or should i do somthing to solve this DMA problem?If you want to play it safe you could boot from a Knoppix CD. Then theHDs are mounted read-only and you can check if Knoppix manages to enableDMA for hdc.
The errors during boot in your install seem to indicate that the systemtries to enable DMA for hdc and fails. Therefore I would expect that youwill simply get an error message if you attempt to activate it later
with hdparm. You could try this carefully in single user mode with thedrive mounted read-only.The failure to turn on DMA during boot could be due to a missing modulein your initrd or due to modules being loaded in the wrong order. It
might even be that you have very new hardware which is not fullysupported in kernel 2.6.8. It would help if you posted the output of"lspci" here, so that we can know the exact model and revision of your
controller.hi Florian,As you asked am posting the lspci output ::00:00.0 Host bridge: Intel Corp. 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 01):00:
02.0 VGA compatible controller: Intel Corp. 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 01):00:1d.0 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
:00:1d.1 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01):00:1d.2 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
:00:1d.7 USB Controller: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB 2.0 EHCI Controller (rev 01):00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev 81):00:1f.0 ISA bridge: Intel Corp. 82801DB/DBL (ICH4/ICH4-L) LPC Bridge (rev 01)
:00:1f.1 IDE interface: Intel Corp. 82801DB/DBL (ICH4/ICH4-L) UltraATA-100 IDE Controller (rev 01):00:1f.3 SMBus: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 01):00:1f.5 Multimedia audio controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
:01:02.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)am using this machine as a webserver in my office and at times the client users say that the webserver is very slow. It is not slow always but  ll go slow for a while. Is this due to the disabled DMA ?...
Let me tell this also am only a beginer ;-) Thanks a lot with regards Sumith  
Regards,Florian--To UNSUBSCRIBE, email to [EMAIL PROTECTED]with a subject of "unsubscribe". Trouble? Contact 
[EMAIL PROTECTED]