View previous topic :: View next topic |
Author |
Message |
Annunaki n00b
Joined: 14 Sep 2014 Posts: 8
|
Posted: Tue Sep 30, 2014 7:31 pm Post subject: emerge syslog-ng not working ... |
|
|
Hello everyone,
At chapter 9 of gentoo manual: When I do : emerge syslog-ng
I get :
fetching files in the background. to view fetch progress, run `tail -f
/var/log/emerge-fetch.log` in another terminal.
!!! SELinux module not found. Please verify it was installed.
!!! SELinux module not found. Please verify it was installed.
>>> Downloading
'http://distfiles.gentoo.org/distfiles/eventlog_0.2.12.tar.gz'
--2014-09-30 21:16:15--
http://distfiles.gentoo.org.distfiles/eventlog_0.2.12.tar.gz'
--2014-09-30 21:16:15--
http://www.balabit.com/downloads/files/eventlog/0.2//eventlog_0.2.12.ta
r.gz'
Resolving www.balabit.com ... failed : Name or service not known.
wget: unqble to resolve host address 'www.balabit.com'
!!! Couldn't download 'eventlog_0.2.12.tqr.gz'. Aborting.
Fetch failed for 'dev-libs/eventlog-0.2.12', log file:
'/vqr/tmp/portqge/dev-libs/eventlog-0.2.12/temp.build.log'
>>> Failed to emerge dev-libs/eventlog-0.2.12, Log file:
>>> '/var/tmp/portqge/dev-libs/eventlog-0.2.12/temp/build.log'
Messages for package dev-libs/eventlog-0.2.12:
Fetch failed for 'dev-libs/eventlog-0.2.12' , Log file:
'/var/tmp/portqge/dev-libs/eventlog-0.2.12/temp.build.log'
To make things clear here is EVERYTHING I typed from the beginning of installation (to start off when there's no partitions on my pc):
type: f2
type: gentoo acpi=on
type fdsisk /dev/sda
type (to create a new partition): n
type: p
type: 1
type: 2048
type: +2M
type: n
type: p
type: 2
type: enter
type: +128M
type: a
type: 2
type: n
type: p
type: 3
type: touche Enter
type: +512M
type: t
type: 3
type: 88
type: n
type :p
type: enter
type (last sectors) : enter
type: w
type :mkfs.ext2 /dev/sda2
type :mkfs.ext4 /dev/sda4
type: mkswap /dev/sda3
type : swapon /dev/sda3
type: mount /dev/sda4 /mnt/gentoo
type: mkdir /mnt/gentoo/boot
type: mount /dev/sda2 /mnt/gentoo/boot
type : cd /mnt/gentoo
type : links www.gentoo.org
go to mirrors, linuxant.fr (ftp) france, releases,x86, autobuilds,
current-stage3 ...
after download
type: tar xvjpf stage3-amd64-20140925.tar.bz2
type: rm stage3-amd64-20140925.tar.bz2
type : y
type: mirrorselect -i -o >> /mnt/gentoo/etc/portage/make.conf
select France : Linuxant.fr
type: mirrorselect -i -r -o >> /mnt/gentoo/etc/portage/make.conf
select France : Linuxant.fr
type :cp -L /etc/resolv.conf /mnt/gentoo/etc/
type : mount -t proc none /mnt/gentoo/proc
type: mount --rbind /sys /mnt/gentoo/sys
type : mount --rbind /dev /mnt/gentoo/dev
type: chroot /mnt/gentoo /bin/bash
type: source /etc/profile
type: export PS1="(chroot) $PS1"
type: emerge-webrsync
type: emerge --sync
type: eselect profile list
type: eselect profile set 2
type: env-update && source /etc/profile
type: emerge gentoo-sources
type: cd /usr/src/linux
type: make menuconfig
go to file systems
press Y (for Second extended fs support)
go to Ext3 journalling file system support
press Y
go to reiserfs support
press y
go to JFS filesystem support
press y
go to XFS filesystem support
press y
press twice escape
go to Device Drivers
go to Networking device support
press y
go to PPP (point-to-point protocol) support
press y
go to PPP support for async serial ports
press y
go to PPP support for sync tty ports
press y
press save
press ok
press exit
press exit until you are in the command line
type : make && make modules_install
type nano -w /etc/fstab
write:
/dev/sda2 /boot ext2 defaults,noatime 0 2
/dev/sda3 none swap sw 0 0
/dev/sda4 / ext4 noatime 0 1
/dev/cdrom /mnt/cdrom auto noauto,user 0 0
Type: ctr + x
type: Y
type: enter
type: nano -w /etc/conf.d/hostname
in hostname change localhost by tux
press: ctr + x
type: y
type: ok
type: emerge --noreplace netifrc
type : emerge dhcpcd
type : config_eth0=( "dhcp" )
type : cd /etc/init.d
type: ln -s net.lo net.eth0
type : rc-update add net.eth0 default
type: nano -w /etc/hosts
replace localhost with tux.homenetwork tux localhost
press : ctr + x
press: Y
press: ok
type : passwd
type : azerty (on my back keyboard)
type : azerty (on my back keyboard)
So close yet so far thank you for your time, my stubborness hopefully will pay off! |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Wed Oct 01, 2014 5:01 pm Post subject: |
|
|
knowing nothing about hardened and selinux, I will nonetheless venture the uninformed opinion that you may need to emerge selinux. _________________ Defund the FCC. |
|
Back to top |
|
|
Annunaki n00b
Joined: 14 Sep 2014 Posts: 8
|
Posted: Wed Oct 01, 2014 7:14 pm Post subject: |
|
|
DONAHUE wrote: | knowing nothing about hardened and selinux, I will nonetheless venture the uninformed opinion that you may need to emerge selinux. |
I sorted the problem, thank you for your attempt!
It seemed just by deleting the second line in the nano -w /etc/hosts part and keeping the connection on all the time (I only have one cable) made a change hmmm ...
But then a few time I had problems when I did chroot /mnt/gentoo /bin/bash and it went to /bin/bash instead of showing a new command |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|