Hi,
Today I tried to change the name of a user account, but it failed, does anyone recognize my error?
First I ran:
The to verify the change:
After that I tried to browse the user homepage but got 404.
So I changed the name back:
After which the homepage is working.
I would still like to know why the script failed, anyone know?
Also, is it likely that the script has broken something for the user now?
I'm running Debian 5 64-bit and DA 1.38.
Today I tried to change the name of a user account, but it failed, does anyone recognize my error?
First I ran:
Code:
[B]servername:/usr/local/directadmin/scripts#[/B] ./change_username.sh abcdefgh abcdefghij
Starting mysqld: [ OK ]
Can't open /home/abcdefghij/domains/*/awstats/.data/*.conf: No such file or directory.
The to verify the change:
Code:
[B]servername:/usr/local/directadmin/scripts#[/B] ls /home/ | grep abcd
abcdefghij
After that I tried to browse the user homepage but got 404.
So I changed the name back:
Code:
[B]servername:/usr/local/directadmin/scripts#[/B] ./change_username.sh abcdefghij abcdefgh
/usr/local/mysql/bin/mysqld_safe: line 137: 17604 Killed nohup /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data --user=mysql --log-error=/usr/local/mysql/data/servername.domain.com.err --pid-file=/usr/local/mysql/data/servername.pid < /dev/null >> /usr/local/mysql/data/servername.domain.com.err 2>&1
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
Starting mysqld: [ OK ]
Can't open /home/abcdefgh/domains/*/awstats/.data/*.conf: No such file or directory.
After which the homepage is working.
I would still like to know why the script failed, anyone know?
Also, is it likely that the script has broken something for the user now?
I'm running Debian 5 64-bit and DA 1.38.