Annvix
Personal tools



/Documentation/FAQ

From Annvix

FAQ

Contents

Q: I typed 'su' and put in the password but authorization fails

A: For auditing reasons, Annvix has stripped the suid bit from /bin/su and requires that it be executed via sudo. This means that the user wishing to use su must be in the 'admin' group or otherwise have permission to run /bin/su as root in the /etc/sudoers file. You may also encounter another non-obvious problem if you are unfamiliar with sudo; when invoking su via sudo, you must enter your own password, not the password of the account that you are attempting to su into.

Q: After I setup the mysql password to disallow anonymous login, mysqld is unable to shutdown

A: Please read man afterboot, specifically the section on MySQL and creating the /root/.my.cnf which has your root (db) password in it to allow mysqladmin to shutdown the database without requiring a password passed on stdin or the commandline. This requirement is there due to how runit will shutdown mysqld; by specifying the root password in /root/.my.cnf we can use mysqladmin to shut the database down clean.

You may have setup a password for the mysql root user, but neglected to create or modify /root/.my.cnf accordingly. For reference, the file should look like:

[mysqladmin]
user=root
password=secret

Q: I upgraded Apache from 2.0 to 2.2 and httpd no longer runs

A: The configuration file has changed between Apache 2.0.x and 2.2.x so when it was upgrade, it most likely left behind a /etc/httpd/conf/httpd.conf.rpmnew file, which is the new configuration file. You will need to merge any changes you have made to the original configuration file to the new one, then replace the old file with the newly-changed configuration file. Issuing a srv --up httpd should bring Apache back online.

Q: Where is urpmi?

A: As of 2.0-CURRENT, Annvix no longer uses urpmi per default. Due to a number of problems, particularly in dealing with chroots and very high memory usage, apt-get is now preferred.

Q: PEAR doesn't install packages properly

A: There is a problem with PEAR's installer that sometimes prevents it from fully downloading packages from the PEAR site (downloads are incomplete and/or corrupt). The easiest solution is to manually download the package you want to install from PEAR's website, copy it to the server (or download it via curl and then issue pear install DB-1.7.9.tgz or pear upgrade DB-1.7.9.tgz and it will install in all the right places.