logs archiveIRC Archive / Freenode / #centos / 2015 / August / 24 / 1
ashkanull
How can I save the output of rpmbuild --define "%_topdir `pwd`" -ba SPECS/freeradius.spec into a file ?
Zerberus
use the script command
ashkanull
Mmm
Zerberus
or use shell redirects
ashkanull
like whad ?
pj
!`
oops
don't use "``", use $() instead, and in your case, better yet use $PWD
that doesn't answer your question, though, Zerberus already answered it.
ashkanull
I've tried command > file and command | tee file
but non works
pj
> filename 2>&1
ashkanull
tnx
         

Dan0maN
ashkanull: http://www.tldp.org/LDP/abs/html/io-redirection.html (for reference)
daniel2
Hello, I am trying to switch from my providers kernel to my Centos Kernel, but it appears to be hanging at this:
Hit enter too soon: http://i.imgur.com/ymJUo20.png
I did look through as much messages I could, and didn't see any errors. Root is on a software raid. I don't see anything about mdraid, I included mdraid and mdadm.conf in the dracut config. I made sure root=/dev/md2 was in grub's command line, and / is /dev/md2 in fstab.
Anywhere else I should look?
Phlunk3
hey guys, probably not really the place for this and I feel a bit stupid/am sure this is documented all over the place but can't find a whiff on google... can someone link me how to install yum on centos 6.6?
fenrus02
if you installed centos6, you already have yum
Phlunk3
thank you, hoped that'd be the answer.
Zathrus
Phlunk3: if you don't have yum, then whatever was provided to you isn't actually Centos
fenrus02
(Action) sniffs a cpanel / vps infection
Zathrus
fenrus02: or an appliance
fenrus02
Zathrus, could be. but ime, that's less common. even the large company network appliances still use rhel and leave 'yum' alone.
Phlunk3
yeah talking to vps provider now ;) yum was there on the previous vps they gave me, told me I'd have to install it this time but that seemed a bit weird.
daniel2
At least you probably dont have a provider that makes the systems nearly impossile to boot without using their custom kernel.
Zathrus
daniel2: oh, you presume he's not running a custom kernel... I'd bet otherwise since it's a VPS
daniel2
Probably lol
Im trying to rebuild my initramfs for the CentOS kernel, replacing the custom kernel my provider installed, i am using this command "dracut /boot/initramfs-3.10.0-229.11.1.el7.x86_64.img 3.10.0-229.11.1 --force -v --kmoddir /lib/modules/3.10.0-229.11.1.el7.x86_64/"
I get an error: "Failed to install module raid0"
Also: -rw-r--r-- 1 root root 25189 Aug 5 21:45 /lib/modules/3.10.0-229.11.1.el7.x86_64/kernel/drivers/md/raid0.ko
broman
can someone help me put something on boot? i tried /etc/rc.d/rc.local but it doesnt get executed
[centos 6.7] - can someone help me put something on boot? i tried /etc/rc.d/rc.local but it doesnt get executed
billings
broman: are you sure it doesn't get executed? or it just failed?
broman
when i manually type it, everthing goes fine
billings
yes, but when you manually type it, it runs in a tty and as the unconfined user.
broman
is there any script for starting unicorn???
kaos01
rpm -ql $package
and look for a script
midgaze
broman: check the atime of the script and see if it's getting read
broman: oh wait, atime is disabled
         

zkanda
Hello, I have a problem with my Centos 7 server hosted in AWS. I can't seem to access it from ipv4. Any help would be much appreciated.
netstat says, httpd only listens on tcp6
midgaze
zkanda: pastebin 'netstat --inet --inet6 -anp'
fenrus02
ss -tln
ntz
zkanda: that's pretty normal ....
fenrus02
shorter, still contains all the required info.
plus, 'netstat' was deprecated ~10 years ago
ntz
even lsof -i | grep ^httpd will claim that's only on IPV6, not sure why it does but I think that's because it binds by default to all ifaces at once
some services explicitely bind separately to 0.0.0.0 and to ::::
s/::::/::/
fenrus02
ipv4 ex- *:22, ipv4+6 ex- :::80
zkanda
Ok so what I did is to explicitly say to Apache bind to ipv4. Why do I need this?
midgaze: here's the new netstat pastebin.centos.org/32536
midgaze
zkanda: I don't see why you think it's not listening on ipv4, that netstat output shows that it is
It's _not_ listening on v6
zkanda
midgaze: This already the ouput of the new netstat, I set Listen 0.0.0.0:80 in httpd.conf
wolfy
zkanda: httpd is listening. check your firewall
ntz
ps -ef
wrong terminal
centrix
I have Win7 running in KVM on C7 connecting to the Internet via my em1 ethernet card as a bridge interface. However, I cannot use the same technique via my wireless interface. Any hints?
ntz
because not all wireless devices support bridging
smurfoid_
x
ntz
gagalicious
how do i make ntfs filesystem known to centos 7?
Zerberus
gagalicious: yum install ntfs-3g
@repos
centbot
Additional packages are often in 3rd party repos. Information on additional CentOS repos is available at http://wiki.centos.org/AdditionalResources/Repositories Pay attention to the reference on yum-priorities.
midgaze
gagalicious: http://bfy.tw/1Rhu
maxxer
hi. on a single installation when running authconfig to enable LDAP it won't update files in /etc/pam.d/ , no "ldap" statement present there!
I installed Gnome, if can matter
Centos 7.1 fully update
I tried even with --updateall but no change, files aren't update
centrix
ntz: I used "default: NAT" and it seems to work. Thanks.
jasem_
hi
i need some help with ssh and xforward
it was find with centos5
i ssh to remote host and all xapps forward fine, and i used to use export display on remote host.
with centos 6 works fine without export display as i understood that ssh takes care of that,
but the problem if su to another user on remote host then xforward will not work, unless i add xauth from the main user to the other user
is there anyway that makes it work without any futher commands
wolfy
export display was not needed since 2002
(or so)
as of su+xauth that is by design
nwe
hello, How can I add my own CA to ca-bundle.crt I trying to install a new machine from my local-repo with selfsigned certificate but it complains about insecure certificate..
jasem_
wolfy: so this mean there is no solution for this
wolfy
jasem_: that is correct. by design, because of security implications, one must import the authentication data from the user that gets impersonated
jasem_
what if i dont care about security here
can i disable it
wolfy
use windows
jasem_
heheh
that was good answer
xand
that hasn't changed from centos 6 to 7
oh, 5 to 6
jasem_
but it was working fine on 5
never did xauth import
only with 6
PandorasBox
xauth can import session keys. This is your solution.
ntz
pff. is there some way to only extract files from local rpm package to some directory ?
« prev 1 2 3 4 next »