![]() A FORWARD -j REJECT -reject-with icmp-host-prohibited A INPUT -j REJECT -reject-with icmp-host-prohibited A INPUT -m state -state NEW -m tcp -p tcp -dport 4447 -j ACCEPT A INPUT -m state -state NEW -m tcp -p tcp -dport 4441 -j ACCEPT A INPUT -m state -state NEW -m tcp -p tcp -dport 445 -j ACCEPT A INPUT -m state -state NEW -m tcp -p tcp -dport 139 -j ACCEPT A INPUT -m state -state NEW -m udp -p udp -dport 138 -j ACCEPT A INPUT -m state -state NEW -m udp -p udp -dport 137 -j ACCEPT A INPUT -m state -state NEW -m udp -p udp -dport 69 -j ACCEPT A INPUT -m state -state NEW -m tcp -p tcp -dport 22 -j ACCEPT A INPUT -m state -state ESTABLISHED,RELATED -j ACCEPT # Manual customization of this file is not recommended. On my machine the file is located at: /etc/sysconf/iptables) # Firewall configuration written by system-config-firewall (In my case, after clean installation of Centos 6.3 the path of the file is not the same. I can never remember the iptables commands, and with Spacewalk I deployed the following to: /etc/sysconfig/network/iptables: To make OPSI work correctly we have to open some ports on the firewall. This saves a lot of trouble, no messing with nf and hostname -f returns the correct hostname. Now the CentOS server gets the IP address which was set in the DHCP server. In the getting started documentation is mentioned how to add the OPSI repository.Īfter installing CentOS we turn on the network by editing: /etc/sysconfig/network-scripts/ifcfg-eth0 ONBOOT=“no” should become ONBOOT=“yes”Īfter saving this file, we restart the network with this command: /etc/init.d/network restart That is why the yum commands may be incorrect, I did not use them myself, and am making them up. I use Spacewalk to manage my CentOS servers, so installation of packages and updates is done via Spacewalk. The static lease looks a bit like this (with DD-WRT): With a different DHCP server you will have to look for the correct commands. ![]() We also set extra options for the DHCP server, which should reflect your own network setup:ĭhcp-boot=linux/pxelinux.0,10.0.0.97 please share your thoughts about this problem.In the DHCP server on the network we use the mac address of the OPSI server to set a static lease. I have enabled hardware virtulization in bios still problem not solved. ![]() " ls: cannot access /proc/xen: No such file or directory "Īfter reboot gives error no such file or directory, lsmod | grep -i xen output: Nothing.įATAL: Error inserting xen_evtchn (/lib/modules/2.6.32.86_64/kernel/drivers/xen/xen-evtchn.ko): No such deviceįATAL: Error inserting xen_gntdev (/lib/modules/2.6.32.86_64/kernel/drivers/xen/xen-gntdev.ko): No such device Xend/image.py: Error connecting to hypervisor " Showing error " xc: error: Could not obtain handle on privileged command interface (2 = No such file or directory): Internal error Showing error " Error: Unable to connect to xend: No such file or diectory. When i reboot it is booted with xen kernel but when i run command xm info or xm list Kernel /vmlinuz-2.6.86_64 ro root=/dev/mapper/vg_xen-LogVol01 rd_NO_LUKS LANG=en_US.UTF-8 rd_LVM_LV=vg_xen/LogVol01 rd_LVM_LV=vg_xen/lv_swap rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=128M KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet ![]() Kernel /vmlinuz-2.6.32.86_64 ro root=/dev/mapper/vg_xen-LogVol01 rd_NO_LUKS LANG=en_US.UTF-8 rd_LVM_LV=vg_xen/LogVol01 rd_LVM_LV=vg_xen/lv_swap rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=128M KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet Kernel /xen.gz dom0_mem=1024M cpufreq=xen dom0_max_vcpus=1 dom0_vcpus_pin # kernel /vmlinuz-version ro root=/dev/mapper/vg_xen-LogVol01 # all kernel and initrd paths are relative to /boot/, eg. ![]() # Note that you do not have to rerun grub after making changes to this file To install xen on Centos 6.3 everything is going perfect but, after editing /boot/grub/menu.lst Quote: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |