Tag Info

New answers tagged

3

If you're new, gparted is probably your friend as it's quite user-friendly for both the above options. Use it to create three partitions on /dev/xvdc of the required size for your partioning scheme. Once installed, run it as root: gparted /dev/xvdc Make sure you create the filesystems as well as the partitions. Use ext4 for the partition filesystems - ...


0

Issue is basic, the Fonts are not present in your SSH client system Just install the Xming extra fonts http://sourceforge.net/projects/xming/files/Xming-fonts/7.5.0.70/ Then restart every thing .. Should work


0

Try using sar (http://www.thegeekstuff.com/2011/03/sar-examples/) to track cpu usage, and also the Asterisk CDR to track call records. If you find a correlation between high CPU usage and dropped calls, then yes you are likely right. I suppose it is possible that the load average feature isn't working right, virtual servers can be a bit funky that way in ...


0

Whenever you cannot find executables on a Red Hat based distro and you know their names, you should do 1 of the following 2 things. Use repoquery You can search the YUM repositories that are available to your system by using the command repoquery. If it isn't installed, then do a yum install yum-utils. $ repoquery -qf */nmap nmap-2:6.40-4.el7.x86_64 ...


-2

just do: yum install net-tools


0

For this use case (daily mirroring), you should install the rsync daemon rsyncd from Cygwin, and not worry about ssh/ftp/samba. Here is a good how-to explaining setup on Windows and CentOS. http://www.gaztronics.net/howtos/rsync-windows.php


1

Well, both messages are very clear: Your graphics adapter is not supported by this driver. Installation will not proceed This means that the version of the drivers don't support the "ATI Mobility Radeon HD 3650" adapter that you have. You may try the legacy, which you did and lead you to the second eror. Check if system has the tools required for ...


2

It looks like your login shell is bash, and your SSH server is configured to invoke your login shell to run the SFTP server. You can set up sshd to run the SFTP server directly by putting a line like the following in /etc/sshd_config: Subsystem sftp /usr/lib/openssh/sftp-server or Subsystem sftp internal-sftp You can also fix the problem by changing ...


0

You need to install lib3ds: # yum install lib3ds There is no guarantee that this will work though as the exact version of the library that meshconv requires might not be the version currently distributed by CentOS.


0

This link worked for me. Hope it helps!


0

If you wanna fix that, you need to remove the package biosdevname: sudo yum erase biosdevname


0

is easy,use remi repo $ wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm $ wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm $ rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm change enabled to 1 vim /etc/yum.repos.d/remi.repo $ yum clean all $ yum makecache $ yum --disablerepo=* --enablerepo=remi update php ...


0

The %install phase in an RPM spec file is supposed to create a filesystem hierarchy that is unpacked into a system when you install the resulting rpm. This whole hierarchy is to be created in the %{buildroot} (AKA $RPM_BUILD_ROOT) directory by the commands found in the %install section. Its contents is inserted verbatim (upon RPM macro expansions) into a ...


0

There is at least one error in /.../installers/atomic, on line 327: rpm -import RPM-GPG-KEY.art.txt >/dev/null 2>&1 Passing the import option to rpm requires two hyphens (--import). Also it should probably check the exit status before echoing OK! Also, evidence seems to point to a different key file being authoritative. All that said, I still ...


1

This comment by ott-- seems correct. If the screen dump above is complete, the service is only listening to 5500 on IPv6 and it's not listening to 1158 at all.


0

whatis displays one-line manual page descriptions, intended to give you a general idea of what a program do, while apropos searches the manual page names and descriptions, intended to help you to learn what program to use when performing a certain job. Some examples Say, I want to know what does df program do. whatis gives me answer. $ whatis df df (1) ...


1

uname -r takes data from /proc/sys/kernel/osrelease . You cannot modify this file. /boot is used when you want to compile a new kernel, so changing file there has no effect on the running kernel.


1

The file you are editing is merely a record of the config of the kernel when it was compiled. The only way a change here would work is if you were to prepare your system to compile a new kernel and copy the file from /boot to the kernel source tree in order to use it as the kernel options during the compilation process. The config file is simply used to ...


0

This answer adds details to E Carter Young's answer. The fedora repository configuration file should look like this: [fedora] name=Fedora $releasever - $basearch failovermethod=priority baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/19/Everything/$basearch/os/ enabled=1 metadata_expire=7d gpgcheck=1 ...


0

This is a difficult question, even if it's has been asked many times. if /var is in / cd /var ; df would yield Filesystem Size Used Avail Use% Mounted on /dev/xvda1 7.8G 7.3G 62M 100% / look for file in /var/log, oldest file name y.gz (or y.Z can be removed. try finding big file in /dev directory (with ls -l), such as ...


0

I would see where most of the space is being used by running du -ch / | sort -h If you have desktop environment attached to your web server you can look for a "disks" app that shows a graphical representation of where space is being used. You could install it with yum install gnome-disk-utility but I'd only recommend this if Gnome is already ...


1

If you know the passwd, you can generate de md5 string with openssl passwd -salt $salt -1 foo The point is getting the value for "$salt". This can be retrieved using awk on the crypted passwd from /etc/shadow. echo $CRYPTIC | awk -F\$ '{print $3}'


0

I would try temporarily disabling SELinux to confirm that it isn't denying this exposure of your / filesystem. NOTE: This is extremely unwise, by the way, and I'd recommend not exposing your root filesystem in this manner!!! Checking SELinux's status & disabling $ getenforce Enforcing $ sudo setenforce usage: setenforce [ Enforcing | Permissive | ...


1

This is the comment from the first answer (by the asker). Since it works as a temporary fix, I'll send it as an answer so others wont miss it. No. I couldn't figure out how to. So in the interim, I have added under [rpmforge-extras] in /etc/yum.repos.d/rpmforge.repo exclude=perl-IO-Compress* – Christian


1

I do not think you can have audofs prompt you for a password. You typically have to store it in a credentials file and reference it in automount file. This is how I've dealt with it in the past. Example share1 -fstype=cifs,rw,noperm,netbiosname=${HOST},credentials=/etc/credentials.txt ://winserver/share1 This file is then locked down like so: $ ls ...


0

Just wanted to answer this for anyone else who runs into this since there isn't anything specific available. Using the site I provided Qualys SSL Labs provides the preferred ciphers to use to meet certain requirements. Verify which ciphers your OpenSSL version supports running: openssl ciphers -v Using the list of ciphers available in your OpenSSL ...


2

I investigated similar problems a while ago, but on a Debian system. Here's how i enabled logging. Since you run CentOS, you would need to adjust this a bit sudo nano /etc/default/transmission-daemon add to OPTIONS: -e /var/log/transmission-daemon.log create & give rights of logfile to transmission: sudo touch /var/log/transmission-daemon.log sudo ...


2

I needed cmake 2.8 on CentOS 6.5, but my attempts at using yum would also always keep cmake at 2.6 even though I tried adding repos that seemingly contained the correct version. It's kind of hacky, but I was able to get what I needed by executing the following commands as root: wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm ...


2

This is Predictable Network Interface Device Names in action. en is for Ethernet o is for on-board The number is a firmware/BIOS provided index. More details in the source of udev-builtin-net_id.c


2

named, that is the DNS server, runs in a chroot. To access the configuration file, the startup script uses mount --bind to make the configuration dir visible inside the chroot. This means that /var/named/ is the same as /var/named/chroot/var/named, and /var/named/chroot/var/named/chroot/var/named and so on. This is a recursive directory structure so if find ...


0

I don't think it's a hard link. Usually directory hard links are forbidden. I could be a soft link, but it looks like it's a mount loop: it seems that /var/named or maybe /var is mounted again on /var/named/chroot. Maybe it's a bind mount (mount -o bind) or just a normal mount. Can you post the output of your mount command? Also, maybe this is a mount ...


0

PAM won’t let you authorise the user if their shell isn’t listed in /etc/shells. Change the user shell to a correct nologin: # chsh -s $(command -v nologin) user3 And make sure it is listed in /etc/shells: # grep "$(command -v nologin)" /etc/shells || echo "$(command -v nologin)" >> /etc/shells


2

From looking at the lspci -v output of yours, I assume "Intel Corporation Centrino Wireless-N 1000" is your wireless adapter. Could you please check if the firmware mentioned in the below page helps ? http://www.intel.com/support/wireless/wlan/sb/CS-034398.htm Intel® Centrino® Wireless-N 1000 3.2+ iwlwifi-1000-ucode-39.31.5.1.tgz 2.6.30+ ...


1

@Burhan Ali was right, it seems to be a temporary issue with the EPEL repository. I changed my /etc/yum.repos.d/epel.repo to use the baseurl instead of the mirrorlist as mentioned in this answer and it works now.


1

A neat trick you can do with PulseAudio: redirect the audio output of your computer to the microphone input, so that any application that supports recording from a mic will get your audio output instead. I hope it does the trick. It is primarily utilizing ALSA plugin for Audacity You don't have to play anything if you want but it should create a virtual ...


0

Although not a good solution, but adding chvt 2 (or any other valid virtual terminal number instead of 2) to /etc/rc.local seems to work as a temporary solution for me. This makes OS to switch to tty2 automatically. I'm still looking for a better solution (showing a log-in shell on tty1 instead of CentOS progress bar)


0

Dovecot 2.2.10 is now in the updates repo and can be installed via yum install dovecot. Horde can be obtained from remi's PHP repository, which features not only an up-to-date version of PHP but also packages for Horde and various of its modules. After enabling remi's repo, a simple yum install php-horde-imp should be sufficient to give you a starter for a ...


0

Not elegant, but you can disable it with a kernel line boot option modprobe.blacklist=floppy in either your grub append line or extlinux.conf append line


3

The --enablerepo option overides the permanent option set in the .repo file for only the current command. --disablerepo does the opposite for enabled repos. If you install (or have installed) the yum-utils package then you can use yum-config-manager to permanently enable/disable repos without editing the file: yum-config-manager --enable remi will ...


2

I am writing my comment as an answer since it seems to be relevant to your case. Keyword: logs. You can find logs for Apache2 at: /var/log/apache2. They may be in different locations according to your distribution, but this one is the most common. Have a look at error and access logs to identify your requests. You can use grep to search your logs for 404 ...


2

I feel lucky in stumbling across this solution, but wanted to post it up in case anyone else runs across this issue in installing legacy software. Assuming the install anywhere script is called Install.bin # cp Install.bin Install.bak # cat Install.bak | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > Install.bin # rm Install.bak This ...


0

Try this: #dmraid -r -E /dev/sda If that doesn't work, try #mdadm --zero-superblock /dev/sda It is also possible to do this automatically by editing the Kickstart file to use clearpart option, see: http://www.centos.org/docs/5/html/Installation_Guide-en-US/s1-kickstart2-options.html


0

Digital Ocean in virtualized platform On virtualized platform both load average and cpu mean nothing in term of voice quality. You will experience call drops when host server will not give you enought fast cpu slices. That can happens on 0% or at 70%, nobody can say that except host's admins. There are no any data about that for Digital Ocean. Try change ...


5

It it perfectly Ok to use MAILTO= per-entry, i.e.: MAILTO="address1" 0 0 * * * /foo/foo.sh MAILTO="address2" 0 2 * * * /foo/foo2.sh MAILTO="address3" 0 4 * * * /foo/foo3.sh MAILTO="address4" 0 6 * * * /foo/foo4.sh 0 8 * * * /foo/foo5.sh 0 10 * * * /foo/foo6.sh And so on. Cheers,


1

I am not sure if this is what you are looking for. From that answer, I see it as, ORIGMAILTO="$MAILTO" MAILTO=you * * * ... your cron job MAILTO="$ORIGMAILTO"


0

It'd appear you're looking for modules/http/http_protocol.c in the Apache source code. See, for example, get_canned_error_string(). (NOTE: This is from a quick glance, I did not investigate the source in depth or build/test Apache with modified error messages.) But really, there is nothing particularly inefficient or slow about using ErrorDocument, ...


1

For Starters, I would remove the source you compiled, then add the official YUM Repo for Fedora, using the Steps from this post. Afterwards, since the repo you just added contains AwesomeWM, use YUM to install it. See Here. Reasoning: It's nearly impossible to mix a source based package with a system based on binary packages, as you easily create a ...


1

I cannot recommend to add things in /etc/rc.local. It's a relict of old unix days. There are Linuxes who no longer support rc.local. However, It may start your application/service correctly, but it never shuts your process down gracefully. It's better to use the systems own mechanism of init scripts (Systemd, Upstart, ...). I would write an rc script that ...


2

Most Linuxes out there run /etc/rc.local once at system boot-up. Open this file with an editor and add the command to start your application. No need to prefix sudo to the command as the script is run as root. Be sure to add a '&` (ampersand) at the end of the command to run it in the background so it doesn't hold up your system from booting in case ...


1

For completeness - if you have alsautils installed, you can usually use alsamixer to set up the sound levels for the PC speaker as well. Remember to run alsactl store once your settings are to your liking to preserve those across reboots (it may be called as part of the shutdown procedure, but doesn't have to).



Top 50 recent answers are included