HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   ISPConfig support archlinux (http://www.howtoforge.com/forums/showthread.php?t=6086)

misterm 9th August 2006 01:06

ISPConfig support archlinux
 
Hello with all, I would like to have myself, what is necessary to change so that I make a test of installation on the distribution of the archlinux, because I have an error..

Quote:

ERROR: Ihr Betriebssystem wird nicht untersttzt! / Your operating system is not supported! / Votre systeme d'exploitation n'est pas support�
I have to add this in the file dist.txt

Quote:

dist_init_scripts=/etc/rc.d ## # ArchLinux072
dist_runlevel=/etc ## # ArchLinux072
dist_smrsh= ## # ArchLinux072
dist_shells=/etc/shells ## # ArchLinux072
dist_http_user=httpd ## # ArchLinux072
dist_http_group=httpd ## # ArchLinux072
dist_bind_init_script=named ## # ArchLinux072
dist_bind_user=named ## # ArchLinux072
dist_bind_group=named ## # ArchLinux072
dist_bind_conf=/etc/cond.d/named ## # ArchLinux072
dist_bind_dir=/var/named ## # ArchLinux072
dist_bind_pidfile=/var/run/named/named.pid ## # ArchLinux072
dist_bind_hintfile=chaos.hint ## # ArchLinux072
dist_bind_localfile=127.in-addr.arpa ## # ArchLinux072
dist_passwd=/etc/passwd ## # ArchLinux072
dist_shadow=/etc/shadow ## # ArchLinux072
dist_group=/etc/group ## # ArchLinux072
dist_cron_daemon=crond ## # ArchLinux072
dist_cron_tab=/usr/bin/crontab ## # ArchLinux072
dist_mysql_group=mysql ## # ArchLinux072
dist_httpd_daemon=httpd ## #ArchLinux072
Can you say to me what I must make so that that functions....
Yours sincerely
:) MM

till 9th August 2006 10:49

Have a look at the setup2 script, you will have to add a section there to detect archlinux.

misterm 9th August 2006 13:00

Error setup
 
hello till, I have an error, is I would like to ask to you whether config has is good to me...

Config setup1

Quote:

if [ -f /etc/arch-release ] && [ ! -h /etc/arch-release ]; then
version=`cat /etc/arch-release`
echo $version | grep \\. &> /dev/null
if [ $? != 0 ]; then
version=`echo $version.0`
fi
distversion=`echo Archlinux $version`
echo $distversion
distvers=Archlinux${version//./}
echo dist=$distvers '##' > dist.info.tmp
grep -i $distvers dist.txt >> dist.info.tmp
cp -f dist.info.tmp dist.info
VAR1=`cat dist.info.tmp | cut -f1 -d=`
for var1 in $VAR1
do
echo export $var1 >> dist.info.ende
done
cat dist.info.ende >> dist.info.tmp
rm -f dist.info.ende
fi
Error setup1

Quote:

./setup
Archlinux Arch Linux 0.7.2 (Gimmick)
grep: Linux: No such file or directory
grep: 072: No such file or directory
grep: (Gimmick): No such file or directory
ERROR: Ihr Betriebssystem wird nicht untersttzt! / Your operating system is not supported! / Votre systeme d'exploitation n'est pas support�
Config arch-release

Quote:

Arch Linux 0.7.2 (Gimmick)
Well with you, is thank you, you know the archlinux...

MM;)

falko 10th August 2006 18:12

I think you should try

Code:

version=`cat /etc/arch-release | cut -f3 -d' '`
instead of

Code:

version=`cat /etc/arch-release`

misterm 11th August 2006 12:47

Error Error
 
Hello falko

Listen, your solution, does not function....

Always the same error...

Well with you

MM:confused:

falko 12th August 2006 18:56

Then you have to do some debugging... :p
Try to find out the values of the variables in the script by putting some echo statements into it, e.g.

Code:

echo $distvers

misterm 14th August 2006 13:14

The setup functions, but....
 
Hello falko

I have to find, but there remain errors, like mysql, the version mysql 5.0.24, function such with ISPConfig?

The current version that I use is version 4.1.21, this version should function.....

Concerning the setup, it but still of the errors, at the time of the install:

Quote:

./setup
Arch Linux 0.7.2 (Gimmick)
grep: Linux: No such file or directory
grep: 072: No such file or directory
grep: (Gimmick): No such file or directory
dist.info.tmp: line 1: syntax error near unexpected token `('
dist.info.tmp: line 1: `Arch Linux 072 (Gimmick) ##'
Neuinstallation eines ISPConfig-Systems. / Installation of a new ISPConfig system. / Installation d'ISPConfig sur un nouveau syst�e.
W�len Sie Ihre Sprache (deutsch/englisch/spanisch/franz�isch/italienisch/niederl�disch/polnisch/schwedisch): / Please choose your language (German/English/Spanish/French/Italian/Dutch/Polish/Swedish): / Merci de choisir votre langue (Allemand/Anglais/Espagnol/Fran�is/Italien/N�rlandais/Polonais/Su�ois):
1) de
2) en
3) es
4) fr
5) it
6) nl
7) pl
8) se
Ihre Wahl: / Your Choice: / Votre Choix:4
Dist.txt

Quote:

dist_init_scripts=/etc/rc.d ## # Arch Linux 072 (Gimmick)
dist_runlevel= ## # Arch Linux 072 (Gimmick)
dist_smrsh= ## # Arch Linux 072 (Gimmick)
dist_shells=/etc/shells ## # Arch Linux 072 (Gimmick)
dist_http_user=nobody ## # Arch Linux 072 (Gimmick)
dist_http_group=nobody ## # Arch Linux 072 (Gimmick)
dist_bind_init_script=named ## # Arch Linux 072 (Gimmick)
dist_bind_user=named ## # Arch Linux 072 (Gimmick)
dist_bind_group=named ## # Arch Linux 072 (Gimmick)
dist_bind_conf=/etc/named.conf ## # Arch Linux 072 (Gimmick)
dist_bind_dir=/var/named/ ## # Arch Linux 072 (Gimmick)
dist_bind_pidfile=/var/named/named.pid ## # Arch Linux 072 (Gimmick)
dist_bind_hintfile=named.ca ## # Arch Linux 072 (Gimmick)
dist_bind_localfile=named.local ## # Arch Linux 072 (Gimmick)
dist_passwd=/etc/passwd ## # Arch Linux 072 (Gimmick)
dist_shadow=/etc/shadow ## # Arch Linux 072 (Gimmick)
dist_group=/etc/group ## # Arch Linux 072 (Gimmick)
dist_cron_daemon=crond ## # Arch Linux 072 (Gimmick)
dist_cron_tab=/var/spool/cron/root ## # Arch Linux 072 (Gimmick)
dist_mysql_group=mysql ## # Arch Linux 072 (Gimmick)
dist_httpd_daemon=httpd ## # Arch Linux 072 (Gimmick)
I am spirit to compile the version of mysql, I hope that that will function, is that it will direra me, that mysql starts.....

One problem like same, it is that, he says to me that mysql is not to start

Quote:

########## INSTALLATION ##########

ERROR: MySQL is not running! Please start your MySQL database and run the ISPConfig setup again.
Quote:

ps aux | grep mysqld
root 7934 0.0 0.4 2524 1252 pts/2 S 13:11 0:00 /bin/sh /usr/bin/mysqld_safe
mysql 7959 0.0 6.1 101820 15632 pts/2 Sl 13:11 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/mich.pid --skip-external-locking --port=3306 --socket=/tmp/mysql.sock
root 8133 0.0 0.2 1672 572 pts/1 S+ 13:20 0:00 grep mysqld
thank you falko

MM;)

falko 15th August 2006 16:52

Quote:

Originally Posted by misterm
Hello falko

I have to find, but there remain errors, like mysql, the version mysql 5.0.24, function such with ISPConfig?

Yes, MySQL 5 is supported by ISPConfig.

misterm 16th August 2006 21:42

Good evening falko, can you say it to me is what this with the starting of the installation, because I believe that I have to find but, it this, with you an idea....

Quote:

dist.info.tmp: line 14: dist_bind_hintfile: command not found
dist.info.tmp: line 15: dist_bind_localfile: command not found
declare -x ACLOCAL_FLAGS=" -I /opt/gnome/share/aclocal"
declare -x CLASSPATH=":/opt/java/jre/lib"
declare -x COLORTERM=""
declare -x DESKTOP_SESSION="kde"
declare -x DISPLAY=":0.0"
declare -x GDMSESSION="kde"
declare -x GDM_XSERVER_LOCATION="local"
declare -x GNOME2_PATH="/opt/gnome"
declare -x GNOMEDIR="/opt/gnome"
declare -x GS_LIB="/root/.fonts"
declare -x GTK2_RC_FILES="/etc/gtk-2.0/gtkrc:/root/.gtkrc-2.0:/root/.kde/share/config/gtkrc-2.0"
declare -x GTK_RC_FILES="/etc/gtk/gtkrc:/root/.gtkrc:/root/.kde/share/config/gtkrc"
declare -x HOME="/root"
declare -x INPUTRC="/etc/inputrc"
declare -x J2REDIR="/opt/java/jre"
declare -x JAVA_HOME="/opt/java/jre"
declare -x KDEDIR="/opt/kde"
declare -x KDEDIRS="/opt/kde:/usr"
declare -x KDE_FULL_SESSION="true"
declare -x KDE_MULTIHEAD="false"
declare -x KONSOLE_DCOP="DCOPRef(konsole-3252,konsole)"
declare -x KONSOLE_DCOP_SESSION="DCOPRef(konsole-3252,session-3)"
declare -x LANG="fr_BE.utf8"
declare -x LC_COLLATE="C"
declare -x LESS="-R"
declare -x LESSCHARSET="latin1"
declare -x LIBGLADE_MODULE_PATH=":/opt/gnome/lib/libglade/2.0"
declare -x LOGNAME="root"
declare -x MANPATH="/usr/man:/usr/X11R6/man:/opt/gnome/man:/opt/java/jre/man:/opt/kde/man:/opt/qt/man"
declare -x MOZ_PLUGIN_PATH="/opt/mozilla/lib/plugins"
declare -x NXDIR="/opt/NX"
declare -x OLDPWD
declare -x PATH="/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/libexec"
declare -x PKG_CONFIG_PATH=":/opt/gnome/lib/pkgconfig:/opt/kde/lib/pkgconfig:/opt/mozilla/lib/pkgconfig:/opt/qt/lib/pkgconfig"
declare -x PWD="/root/install_ispconfig"
declare -x QMAKESPEC="/opt/qt/mkspecs/linux-g++"
declare -x QTDIR="/opt/qt"
declare -x QT_XFT="true"
declare -x SESSION_MANAGER="local/mich:/tmp/.ICE-unix/2973"
declare -x SHELL="/bin/bash"
declare -x SHLVL="5"
declare -x SSH_AGENT_PID="2943"
declare -x SSH_AUTH_SOCK="/tmp/ssh-VopMdF2942/agent.2942"
declare -x TERM="xterm-color"
declare -x USER="root"
declare -x USERNAME="root"
declare -x WINDOWID="29360133"
declare -x XAUTHORITY="/root/.Xauthority"
declare -x XCURSOR_THEME="default"
declare -x XDG_CACHE_HOME="/root/.cache"
declare -x XDG_CONFIG_DIRS="/etc/xdg:/opt/gnome/etc/xdg:/opt/kde/etc/xdg"
declare -x XDG_CONFIG_HOME="/root/.config"
declare -x XDG_DATA_DIRS="/usr/share:/opt/gnome/share:/opt/kde/share"
declare -x XDG_DATA_HOME="/root/.local/share"
declare -x dist="archlinux"
declare -x dist_bind_conf="/etc/named.conf"
declare -x dist_bind_dir="/var/named"
declare -x dist_bind_group="named"
declare -x dist_bind_hintfile
declare -x dist_bind_init_script="named"
declare -x dist_bind_pidfile="/var/run/named/named.pid"
declare -x dist_bind_user="named"
declare -x dist_http_group="wheel"
declare -x dist_http_user="apache"
declare -x dist_init_scripts="/etc/rc.d"
declare -x dist_runlevel="/etc/rc.d"
declare -x dist_shells="/etc/shells"
declare -x dist_smrsh=""
declare -x install_art="upgrade"
declare -x ACLOCAL_FLAGS=" -I /opt/gnome/share/aclocal"
declare -x CLASSPATH=":/opt/java/jre/lib"
declare -x COLORTERM=""
declare -x DESKTOP_SESSION="kde"
declare -x DISPLAY=":0.0"
declare -x GDMSESSION="kde"
declare -x GDM_XSERVER_LOCATION="local"
declare -x GNOME2_PATH="/opt/gnome"
declare -x GNOMEDIR="/opt/gnome"
declare -x GS_LIB="/root/.fonts"
...................
Thank you

MM:confused:

misterm 16th August 2006 21:54

I do not seek to annoy you falko, but to create a support for the archlinux, then, there remains this error, as, on made, as he says to me that mysql, is not to start, but for me he starts, then tries to help me, if you want well, or till, or others, A you to see....

Quote:

if [ -f /etc/my.cnf ]; then
mv -f /etc/my.cnf /etc/my.cnf_orig
grep -wv "skip-networking" /etc/my.cnf_orig > /etc/my.cnf
/etc/init.d/mysql restart &> /dev/null
/etc/init.d/mysqld restart &> /dev/null
fi
if [ -f /etc/mysql/my.cnf ]; then
mv -f /etc/mysql/my.cnf /etc/mysql/my.cnf_orig
grep -wv "skip-networking" /etc/mysql/my.cnf_orig > /etc/mysql/my.cnf
/etc/init.d/mysql restart &> /dev/null
/etc/init.d/mysqld restart &> /dev/null
fi
netstat -ta | grep -i mysql > /dev/null
MM:confused:


All times are GMT +2. The time now is 04:50.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.