| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 575 online users. » 0 Member(s) | 571 Guest(s) Applebot, Baidu, Bing, Google
|
| Latest Threads |
Wi-Fi works for a few min...
Forum: Network Problems
Last Post: kabifff
Yesterday, 12:57 AM
» Replies: 0
» Views: 15
|
How to install Archboot i...
Forum: Network Problems
Last Post: Meup
2025-05-13, 01:41 PM
» Replies: 0
» Views: 3,556
|
clear logs in smoothwall
Forum: Security and Firewalls
Last Post: amanda63
2024-03-10, 03:27 PM
» Replies: 8
» Views: 112,979
|
I cannot install RedHat 8...
Forum: Redhat
Last Post: hybrid
2023-11-11, 01:01 PM
» Replies: 1
» Views: 58,776
|
How things are done, usin...
Forum: Xorg Problems
Last Post: ross
2023-09-04, 09:03 AM
» Replies: 0
» Views: 4,952
|
Im back.....
Forum: Hello
Last Post: anyweb
2021-01-17, 11:36 AM
» Replies: 1
» Views: 8,619
|
add mp3 plugin to xmms in...
Forum: Fedora
Last Post: anyweb
2021-01-17, 11:30 AM
» Replies: 11
» Views: 45,918
|
Configuring VSFTPd Server
Forum: FTP Server
Last Post: Johnbaca
2020-10-14, 10:25 AM
» Replies: 32
» Views: 140,921
|
Wolf won't play sound!
Forum: Game Problems
Last Post: Guest
2020-10-03, 05:51 PM
» Replies: 1
» Views: 78,956
|
Using git + python
Forum: How Do I?
Last Post: Clueless puppy
2020-08-21, 04:37 PM
» Replies: 0
» Views: 62,401
|
|
|
| grub booting old kernel |
|
Posted by: dalby - 2011-11-08, 10:15 PM - Forum: Kernel Related
- Replies (4)
|
 |
i have updated from debian lenny to debian squeeze,
installed a new (custom) kernel to run vservers.
for some reason grub keeps booting the old kernel (i do not have console access, only ssh)
, it should boot Linux 2.6.32-5-vserver-amd64 but it boots Linux 2.6.18-6-vserver-amd64…
when rebooting after installing the first time, the system hung, and i rebooted and the old kernel was loaded i guess, how to reset?
anyone knows?
Thanks in advance!
-(~:#)-> cat /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}
insmod part_msdos
insmod ext2
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set 6cbed369-7638-4094-9b47-7e57d102ec5a
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set 6cbed369-7638-4094-9b47-7e57d102ec5a
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-vserver-amd64' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set 6cbed369-7638-4094-9b47-7e57d102ec5a
echo 'Loading Linux 2.6.32-5-vserver-amd64 ...'
linux /boot/vmlinuz-2.6.32-5-vserver-amd64 root=UUID=6cbed369-7638-4094-9b47-7e57d102ec5a ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-5-vserver-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-vserver-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set 6cbed369-7638-4094-9b47-7e57d102ec5a
echo 'Loading Linux 2.6.32-5-vserver-amd64 ...'
linux /boot/vmlinuz-2.6.32-5-vserver-amd64 root=UUID=6cbed369-7638-4094-9b47-7e57d102ec5a ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-5-vserver-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-amd64' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set 6cbed369-7638-4094-9b47-7e57d102ec5a
echo 'Loading Linux 2.6.32-5-amd64 ...'
linux /boot/vmlinuz-2.6.32-5-amd64 root=UUID=6cbed369-7638-4094-9b47-7e57d102ec5a ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-5-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set 6cbed369-7638-4094-9b47-7e57d102ec5a
echo 'Loading Linux 2.6.32-5-amd64 ...'
linux /boot/vmlinuz-2.6.32-5-amd64 root=UUID=6cbed369-7638-4094-9b47-7e57d102ec5a ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-5-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.26-2-amd64' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set 6cbed369-7638-4094-9b47-7e57d102ec5a
echo 'Loading Linux 2.6.26-2-amd64 ...'
linux /boot/vmlinuz-2.6.26-2-amd64 root=UUID=6cbed369-7638-4094-9b47-7e57d102ec5a ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.26-2-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.26-2-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set 6cbed369-7638-4094-9b47-7e57d102ec5a
echo 'Loading Linux 2.6.26-2-amd64 ...'
linux /boot/vmlinuz-2.6.26-2-amd64 root=UUID=6cbed369-7638-4094-9b47-7e57d102ec5a ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.26-2-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.18-6-vserver-amd64' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set 6cbed369-7638-4094-9b47-7e57d102ec5a
echo 'Loading Linux 2.6.18-6-vserver-amd64 ...'
linux /boot/vmlinuz-2.6.18-6-vserver-amd64 root=UUID=6cbed369-7638-4094-9b47-7e57d102ec5a ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.18-6-vserver-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.18-6-vserver-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set 6cbed369-7638-4094-9b47-7e57d102ec5a
echo 'Loading Linux 2.6.18-6-vserver-amd64 ...'
linux /boot/vmlinuz-2.6.18-6-vserver-amd64 root=UUID=6cbed369-7638-4094-9b47-7e57d102ec5a ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.18-6-vserver-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.18-6-amd64' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set 6cbed369-7638-4094-9b47-7e57d102ec5a
echo 'Loading Linux 2.6.18-6-amd64 ...'
linux /boot/vmlinuz-2.6.18-6-amd64 root=UUID=6cbed369-7638-4094-9b47-7e57d102ec5a ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.18-6-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.18-6-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set 6cbed369-7638-4094-9b47-7e57d102ec5a
echo 'Loading Linux 2.6.18-6-amd64 ...'
linux /boot/vmlinuz-2.6.18-6-amd64 root=UUID=6cbed369-7638-4094-9b47-7e57d102ec5a ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.18-6-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.18-5-amd64' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set 6cbed369-7638-4094-9b47-7e57d102ec5a
echo 'Loading Linux 2.6.18-5-amd64 ...'
linux /boot/vmlinuz-2.6.18-5-amd64 root=UUID=6cbed369-7638-4094-9b47-7e57d102ec5a ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.18-5-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.18-5-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set 6cbed369-7638-4094-9b47-7e57d102ec5a
echo 'Loading Linux 2.6.18-5-amd64 ...'
linux /boot/vmlinuz-2.6.18-5-amd64 root=UUID=6cbed369-7638-4094-9b47-7e57d102ec5a ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.18-5-amd64
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
|
|
|
| timezones/clock |
|
Posted by: inittux - 2011-11-07, 11:41 AM - Forum: How Do I?
- Replies (7)
|
 |
A while back I set my server time to the right time how they showed it here . I checked some logs and seem like the logs are all one hour off.
So instead of 12.30 it would show 11.30. So I decided I'd set the right timezone. I setup my clock like this:
vi /etc/sysconfig/clock
#ZONE="Europe/Amsterdam"
ZONE="GMT+1"
UTC=true
ARC=false
I rebooted. Didn't see a change
I also tried doing the following:
<strong>ln -sf /usr/share/zoneinfo/Europe/Amsterdam /etc/localtimeStill have the same problem. I tried #</strong>ZONE="Europe/Amsterdam"and replacing it by #ZONE="GMT+1" Didn't change anything either,still off by an hour. I'm kind of out ideas and everything I searchin google they all point towards these configuration options.
When I use date it always still shows:
Mon Nov 7 11:44:17 CET 2011
So I'm probably just missing one thing. Cuz CET is Central Eastern time and I need GMT. Will keep search but ideas to help me in the right direction are welcome
|
|
|
| Connecting Multiple Hard Drives |
|
Posted by: domefavor95 - 2011-11-07, 05:40 AM - Forum: How Do I?
- Replies (36)
|
 |
I have been on Linux for about 2 weeks now, and I am still a GIANT n00b. That's why I am on my Windows partition to write this topic. Anyways, I am looking for a way to link up multiple hard drives. I am looking at starting a server, so I have been researching tutorials on how to install Apache, PHP, nginx, and java. I was on a webpage recently, and I saw a complete server rack. I saw multiple hard drive cases, and I was thinking how do they link all those RAID drives together. As usual I used Google, and I got no results. So here's my question:
How do I link up multiple RAID drives together to form 1 main, networked drive?
|
|
|
| Working on Fail2ban |
|
Posted by: inittux - 2011-11-06, 06:06 PM - Forum: LAMP
- Replies (11)
|
 |
I got logwatch installed and working. I've also installed fail to ban and started the service. Still working on configuring it. I found out that I should be able to configure fail2ban to filter and ban per log. I found this in the fail2ban documention : at the bottom
Centos
<strong>Under CentOS / RedHat Enterprise Linux, httpd (Apache) is </strong><strong>not compiled with tcpwrappers support</strong><strong>. As a result the example in jail.conf called "apache-tcpwrapper" does not work since /etc/hosts.deny does not affe</strong>ct apache.
Mean that the filter [apache-tcpwrapper] won't work for me. So I did a bit of search and come across centos-fail2ban and seem they are using it there. So I'll just try to use it and configure it and see what the results are. But just strange two documentations saying two different things.
|
|
|
| Building my own home server |
|
Posted by: inittux - 2011-11-04, 12:45 PM - Forum: General Chat
- Replies (31)
|
 |
I've decided I want to build my own server and use it just as a server and for nothing else. That way I can just keep my desktop as a desktop and setup a home network and have my desktop running on a private network etc. Like I mentioned in my other post about wanting to proxy my internet traffic. I got two setups which aren't too expensive. I have put two systems together, one a a little different then the other. Just wanted your opinions.
*I removed the links cuz I found something better, see posts below here*
|
|
|
| proxy/filter/networking |
|
Posted by: inittux - 2011-11-01, 10:18 PM - Forum: Network Problems
- Replies (34)
|
 |
My proxy/webfilter is running great. Just thought it might be better to have it set for all devices connected on my internet network. So that I don't have to set it up mannually for every device. I have Linksys WRT160N, and I read that the standard linksys router software does not allow setting up a proxy. But that I need to use dd-wrt . I found an instruction on how to do it and it doesn't look that hard. But how smart is it to do. Cuz I always go by the saying for computer stuff: "don't fix what ain't broke" or I could buy a second network card, have my internet connection on it so that I could filter/proxy it and connect another router too it, and to the second router I could connect all my devices. or something like that? Not too great in networking. That acuatually sounds better if it is possible. Because I don't really like messing with router firmware if it's running fine.
So if I wanted to do it without messing with the firmware I would probably want to setup like this?
Downstairs(modem)-->router1--mypc(nic1)---proxy/filter-->mypc(nic2)--->router2(make this gateway for all connecting devices)
Does that sound correct? But I have no idea how I would be able to connect two nic's. would have to do some research on that.
http://www.alternate...Netwerkadapters
http://www.alternate...+LAN&l3=Routers
|
|
|
| SL ssh port problem |
|
Posted by: inittux - 2011-11-01, 08:17 PM - Forum: CentOS
- Replies (1)
|
 |
Here a topic to continue what started out here. It's more appropriate as a separate topic.
I changed the default ssh port in SL, and before it works you have to edited the iptables/firewall. I edited the firewall using system-config-firewall-tui
on Hybrid's advice and restarted the service. When connecting:
ssh -p 1234 user@ip
I still get connection refused. I did check the vi /etc/sysconfig/iptables
And it nicely made a new entry under port 22 mentioning my custom ssh port.
|
|
|
| Skype history for Linux? |
|
Posted by: inittux - 2011-11-01, 01:58 PM - Forum: Linux News
- No Replies
|
 |
I was hoping this wouldn't happen but looks like this is the end of skype for linux users. Microsoft bought skype and now they are banning reverse engineering of the skype code.
Haven't used skype much, but it was a great app. I'll be looking for a good alternative.
|
|
|
|