I have a problem when pxe is trying to fetch the kickstart file.
My pxelinux.cfg:
>DEFAULT menu
>PROMPT 0
>MENU TITLE PXE Menu
>TIMEOUT 200
>TOTALTIMEOUT 6000
>ONTIMEOUT local
>
>LABEL local
> MENU LABEL (local)
> MENU DEFAULT
> LOCALBOOT 0
>
>LABEL Kickstart Default - POI
> kernel boot/MetroEL-1.0-i386-vmlinuz
> append initrd=boot/MetroEL-1.0-i386-initrd.img ks=http://192.168.50.173/unattended/template/Kickstart%20Default/POI ksdevice=bootif network kssendmac
When anaconda tries to fetch kickstart file I receive 404 error in
access.log from apache with passenger:
> 192.168.50.202 - - [29/Mar/2011:02:16:34 +0400] "GET /./unattended/template/Kickstart%20Default/POI HTTP/1.0" 404 947 "-" "-"
Then I connected telnet to port 80 and query:
> GET /./unattended/template/Kickstart%20Default/POI -----> FAILS 404
> GET /unattended/template/Kickstart%20Default/POI ------> OK
Why PXE add this dot?
Why apache, passenger or webrick are misunderstanding this URL?
Thanks in advance, i'm improving!
(apologize my poor english)
Im playing with mod_rewrite in apache to delete de conflictive point
but now i receive a 301 or 301 code. The webserver is redirecting well
the kickstart petition but PXE seems not capable to follow the
redirection. Any clue?
Mi httpd.conf:
<VirtualHost >
ServerName foreman.metro.local
DocumentRoot /usr/share/foreman/public
RailsEnv production
ErrorLog /var/log/httpd/foreman.log
RewriteEngine On
RewriteCond %{THE_REQUEST} ^GET\s/./.\sHTTP/…$
RewriteRule .* http://%{HTTP_HOST}%{REQUEST_URI} [G]
</VirtualHost>
···
On 29 mar, 01:41, Juaningan wrote:
> I have a problem when pxe is trying to fetch the kickstart file.
>
> My pxelinux.cfg:
>
> >DEFAULT menu
> >PROMPT 0
> >MENU TITLE PXE Menu
> >TIMEOUT 200
> >TOTALTIMEOUT 6000
> >ONTIMEOUT local
>
> >LABEL local
> > MENU LABEL (local)
> > MENU DEFAULT
> > LOCALBOOT 0
>
> >LABEL Kickstart Default - POI
> > kernel boot/MetroEL-1.0-i386-vmlinuz
> > append initrd=boot/MetroEL-1.0-i386-initrd.img ks=http://192.168.50.173/unattended/template/Kickstart%20Default/POIksdevice=bootif network kssendmac
>
> When anaconda tries to fetch kickstart file I receive 404 error in
> access.log from apache with passenger:
>
> > 192.168.50.202 - - [29/Mar/2011:02:16:34 +0400] "GET /./unattended/template/Kickstart%20Default/POI HTTP/1.0" 404 947 "-" "-"
>
> Then I connected telnet to port 80 and query:
>
> > GET /./unattended/template/Kickstart%20Default/POI -----> FAILS 404
> > GET /unattended/template/Kickstart%20Default/POI ------> OK
>
> Why PXE add this dot?
> Why apache, passenger or webrick are misunderstanding this URL?
>
> Thanks in advance, i'm improving!
> (apologize my poor english)
obviously the [G] option was a test. Not really there
···
On Tue, Mar 29, 2011 at 12:52 PM, Juaningan wrote:
Im playing with mod_rewrite in apache to delete de conflictive point
but now i receive a 301 or 301 code. The webserver is redirecting well
the kickstart petition but PXE seems not capable to follow the
redirection. Any clue?
Mi httpd.conf:
<VirtualHost >
ServerName foreman.metro.local
DocumentRoot /usr/share/foreman/public
RailsEnv production
ErrorLog /var/log/httpd/foreman.log
RewriteEngine On
RewriteCond %{THE_REQUEST} ^GET\s/./.\sHTTP/…$
RewriteRule .* http://%{HTTP_HOST}%{REQUEST_URI} [G]
On 29 mar, 01:41, Juaningan juan...@gmail.com wrote:
I have a problem when pxe is trying to fetch the kickstart file.
My pxelinux.cfg:
DEFAULT menu
PROMPT 0
MENU TITLE PXE Menu
TIMEOUT 200
TOTALTIMEOUT 6000
ONTIMEOUT local
LABEL local
MENU LABEL (local)
MENU DEFAULT
LOCALBOOT 0
LABEL Kickstart Default - POI
kernel boot/MetroEL-1.0-i386-vmlinuz
append initrd=boot/MetroEL-1.0-i386-initrd.img ks=
http://192.168.50.173/unattended/template/Kickstart%20Default/POIksdevice=bootifnetwork kssendmac
When anaconda tries to fetch kickstart file I receive 404 error in
access.log from apache with passenger:
192.168.50.202 - - [29/Mar/2011:02:16:34 +0400] “GET
/./unattended/template/Kickstart%20Default/POI HTTP/1.0” 404 947 “-” “-”
Then I connected telnet to port 80 and query:
GET /./unattended/template/Kickstart%20Default/POI -----> FAILS 404
GET /unattended/template/Kickstart%20Default/POI ------> OK
Why PXE add this dot?
Why apache, passenger or webrick are misunderstanding this URL?
Thanks in advance, i’m improving!
(apologize my poor english)
–
You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to
foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/foreman-users?hl=en.
All options for hostgroups are correctly setted, of course.
In error logs from foreman appears 404 also:
Processing ApplicationController#index (for 192.168.50.202 at
2011-03-29 17:30:11) [GET]
Rendering /usr/share/foreman/public/404.html (404 Not Found)
apache access log:
192.168.50.202 - - [29/Mar/2011:17:30:11 +0400] "GET /./unattended/
template/Kickstart%20Default/POI HTTP/1.0" 404 947 "-" "-"
I make test for bypass passenger and apache and fails too, when i try
to fetch kickstart trough port 3000 the same error happens:
curl http://192.168.50.173:3000/unattended/template/Kickstart%20Default/POI
—> OK
curl http://192.168.50.173:3000/./unattended/template/Kickstart%20Default/POI
----> FAILS (404)
Thanks!
···
On 29 mar, 14:15, Justin Sherrill wrote:
> Did you set all of the proper options in the selected host group (POI)?
> When you were getting a 404, did you see any errors in the logs?
>
> -Justin
>
>
>
>
>
>
>
> On Tue, Mar 29, 2011 at 7:17 AM, Juanjo Presa wrote:
> > obviously the [G] option was a test. Not really there
>
> > On Tue, Mar 29, 2011 at 12:52 PM, Juaningan wrote:
>
> >> Im playing with mod_rewrite in apache to delete de conflictive point
> >> but now i receive a 301 or 301 code. The webserver is redirecting well
> >> the kickstart petition but PXE seems not capable to follow the
> >> redirection. Any clue?
>
> >> Mi httpd.conf:
>
> >>
> >> ServerName foreman.metro.local
> >> DocumentRoot /usr/share/foreman/public
> >> RailsEnv production
> >> ErrorLog /var/log/httpd/foreman.log
> >> RewriteEngine On
> >> RewriteCond %{THE_REQUEST} ^GET\s/\./.*\sHTTP/...$
> >> RewriteRule .* http://%{HTTP_HOST}%{REQUEST_URI} [G]
>
> >>
>
> >> On 29 mar, 01:41, Juaningan wrote:
> >> > I have a problem when pxe is trying to fetch the kickstart file.
>
> >> > My pxelinux.cfg:
>
> >> > >DEFAULT menu
> >> > >PROMPT 0
> >> > >MENU TITLE PXE Menu
> >> > >TIMEOUT 200
> >> > >TOTALTIMEOUT 6000
> >> > >ONTIMEOUT local
>
> >> > >LABEL local
> >> > > MENU LABEL (local)
> >> > > MENU DEFAULT
> >> > > LOCALBOOT 0
>
> >> > >LABEL Kickstart Default - POI
> >> > > kernel boot/MetroEL-1.0-i386-vmlinuz
> >> > > append initrd=boot/MetroEL-1.0-i386-initrd.img ks=
> >>http://192.168.50.173/unattended/template/Kickstart%20Default/POIksde...kssendmac
>
> >> > When anaconda tries to fetch kickstart file I receive 404 error in
> >> > access.log from apache with passenger:
>
> >> > > 192.168.50.202 - - [29/Mar/2011:02:16:34 +0400] "GET
> >> /./unattended/template/Kickstart%20Default/POI HTTP/1.0" 404 947 "-" "-"
>
> >> > Then I connected telnet to port 80 and query:
>
> >> > > GET /./unattended/template/Kickstart%20Default/POI -----> FAILS 404
> >> > > GET /unattended/template/Kickstart%20Default/POI ------> OK
>
> >> > Why PXE add this dot?
> >> > Why apache, passenger or webrick are misunderstanding this URL?
>
> >> > Thanks in advance, i'm improving!
> >> > (apologize my poor english)
>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "Foreman users" group.
> >> To post to this group, send email to foreman-users@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >> foreman-users+unsubscribe@googlegroups.com.
> >> For more options, visit this group at
> >>http://groups.google.com/group/foreman-users?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Foreman users" group.
> > To post to this group, send email to foreman-users@googlegroups.com.
> > To unsubscribe from this group, send email to
> > foreman-users+unsubscribe@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/foreman-users?hl=en.
Did you set all of the proper options in the selected host group (POI)?
When you were getting a 404, did you see any errors in the logs?
-Justin
···
On Tue, Mar 29, 2011 at 7:17 AM, Juanjo Presa wrote:
obviously the [G] option was a test. Not really there
On Tue, Mar 29, 2011 at 12:52 PM, Juaningan juanjop@gmail.com wrote:
Im playing with mod_rewrite in apache to delete de conflictive point
but now i receive a 301 or 301 code. The webserver is redirecting well
the kickstart petition but PXE seems not capable to follow the
redirection. Any clue?
Mi httpd.conf:
<VirtualHost >
ServerName foreman.metro.local
DocumentRoot /usr/share/foreman/public
RailsEnv production
ErrorLog /var/log/httpd/foreman.log
RewriteEngine On
RewriteCond %{THE_REQUEST} ^GET\s/./.\sHTTP/…$
RewriteRule .* http://%{HTTP_HOST}%{REQUEST_URI} [G]
On 29 mar, 01:41, Juaningan juan...@gmail.com wrote:
I have a problem when pxe is trying to fetch the kickstart file.
My pxelinux.cfg:
DEFAULT menu
PROMPT 0
MENU TITLE PXE Menu
TIMEOUT 200
TOTALTIMEOUT 6000
ONTIMEOUT local
LABEL local
MENU LABEL (local)
MENU DEFAULT
LOCALBOOT 0
LABEL Kickstart Default - POI
kernel boot/MetroEL-1.0-i386-vmlinuz
append initrd=boot/MetroEL-1.0-i386-initrd.img ks=
http://192.168.50.173/unattended/template/Kickstart%20Default/POIksdevice=bootifnetwork kssendmac
When anaconda tries to fetch kickstart file I receive 404 error in
access.log from apache with passenger:
192.168.50.202 - - [29/Mar/2011:02:16:34 +0400] “GET
/./unattended/template/Kickstart%20Default/POI HTTP/1.0” 404 947 “-” “-”
Then I connected telnet to port 80 and query:
GET /./unattended/template/Kickstart%20Default/POI -----> FAILS 404
GET /unattended/template/Kickstart%20Default/POI ------> OK
Why PXE add this dot?
Why apache, passenger or webrick are misunderstanding this URL?
Thanks in advance, i’m improving!
(apologize my poor english)
–
You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to
foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/foreman-users?hl=en.
–
You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to
foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/foreman-users?hl=en.