Server :: Create A Virtual User System With Mysql?

May 27, 2011

I'm using dovecot pop3 server in my website. I tried to create a virtual user system with mysql. But it didn't work. Next I tried to debug my work with reading of dovecot log. I enabled logging in it by changing this values in /etc/dovecot/conf.d/10-logging.conf:

Code:
log_path=/var/log/dov
auth_verbose = yes
auth_debug = yes
auth_debug_passwords = yes

After that I tried to login to the pop3 via telnet and it failed as usual. After I checked the log file (/var/log/dov), but it does not contain any information about that failed login. Only there was some information about starting up of dovecot! Does any body know that what is the problem and why dovecot doesn't log that?

View 8 Replies


ADVERTISEMENT

Fedora :: Create Virtual Hosts For Each User On Server?

Nov 11, 2009

I am trying to create virtual hosts for each user on my server using Name-based virtual hosts and then make a symbolic link to /home/userdir/html

Here is what I have for my virtual hosts:

NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin tasha@ttu.edu
DocumentRoot /home/httpd
ServerName 128.118.118.7
ErrorLog logs/error_log
CustomLog logs/common
</VirtualHost>

What do I need to add to make it follow symbolic links in /home/userdir/html?

View 4 Replies View Related

General :: Create A New Mysql User And A Mysql Database At The Shell Prompt?

Aug 7, 2010

How do I create a new mysql user and a mysql database at the shell prompt?

View 1 Replies View Related

Server :: Configure Vsftpd With Virtual And System User?

Jul 6, 2011

Can some one help me to configure vsftpd with Virtual and System user

View 37 Replies View Related

Server :: Virtual Postfix - Mysql And Virtual Aliases ?

Oct 14, 2010

I've got a working Virtual Postfix server running with mysql doing user authentication. I have a support email address set as support@hostname.com, which has 5 aliases associated; user1, user2, user3, user4, and user5. When an email is sent to support@hostname.com, all 5 users receive the email, just as planned. What I'm looking to do is when an email is sent to support@hostname.com to have it rotate through the members of the alias group. That way all members of the group get support emails evenly and not everybody all at once. Is this possible?

View 4 Replies View Related

Server :: Create A Virtual Host And Virtual Ip In Proftpd Centos?

Nov 22, 2010

I want to create a virtual host and virtual ip in proftpd linux centos. can anyone please help me on this,I'm new in linux.

View 8 Replies View Related

Server :: Mysql 'Table 'mysql.user' Doesn't Exist'?

Aug 2, 2010

I'm trying to setup wordpress on my server, which of course I need mysql for. I setup a database the other day, which worked perfectly, but I had to start again as I put some information in wrong. Now, I can create a database fine, but when I run

Code:
GRANT ALL ON wordpress.* TO wordpress@localhost IDENTIFIED BY "password";
I get the output:

[code]...

View 13 Replies View Related

Programming :: Create A User For Php/MySQL Under Ms Win Environment?

Jun 30, 2010

create a user for php/MySQL under ms win environment?

View 1 Replies View Related

Fedora Installation :: Mysql Fc14 Can't Create New User?

Nov 10, 2010

I installed mysql on FC14, but can't successfully create a new user. It lets me go through all the steps without complaint, but then I can't log into mysql as the new user.

Here's what I did.

1) yum install mysql mysql-server
2) service mysqld start ##sets up mysql
3) mysqladmin -u root password myownsecrectpass ##create a root password
3b) mysql -uroot -p; #log in as root, this works fine
4) CREATE DATABASE webdb;
5) CREATE USER 'anewuser'@'%' IDENTIFIED BY 'password123'; ##create anewuser with a passwd
6) GRANT ALL ON webdb.* TO anewuser@'%';
7) FLUSH PRIVILEGES;

Then I log out of mysql as root and try to log in like this
mysql -uanewuser -p

I enter the password and get this error:

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

View 3 Replies View Related

OpenSUSE Network :: MySQL Create User/permissions?

Jan 13, 2010

MySQL gets installed with root user by default, root user can administer every mysql database installed in the system. Question is how to create a new user that will not be able to administer all the databases in the system the way as root user is? Can it be done using webmin?

View 7 Replies View Related

CentOS 5 :: Phpmyadmin Unable To Create A New User In Mysql Database

May 13, 2010

I have installed on a remote server phpmyadmin 3.3.1 and mysql 5.1.46 on a centos 5.4 OS.

Any newly created user with phamyadmin is unable to login both from mysql command line (from localhost) and phpmyadmin (localhost and remotely).

No prob when the user is created with mysql command line (from localhost). All of the users created with phpmyadmin, are not "visible" recognized from the show user command via the mysql command line. The setting I used when I create any user was the same as the ones with the mysql command line creation.

The error message I get when accessing from mysql command line (from localhost) is the following: "Access denied for user ... @localhost (using password: yes)"

View 2 Replies View Related

Server :: Configuring Virtual Users On Postfix / MySQL Fedora 12

May 9, 2010

I was following the above guide to get a mail server up and running. The major difference in it all is the fact that my server is running i686, but I compensated for that easily, just a difference in folder/RPM names. [URL]. Otherwise I followed it to a "T." Everything seemed to go smoothly, no trips or falls until the very end.

After installing squirrelmail and trying to login on admin@withfrosted.com returns ERROR:
Connection dropped by IMAP server.
Uncle google tells me to run this command because SELinux is overzealous:
setsebool -P httpd_can_network_connect=1

And that works, and I thought I was home free. However, after that, I'm presented with a new error. However, google told me to send an email to create the mailbox because it wasn't there, yet. So I send a test email on over, but that fails, and so does mailx. Next I created /home/vmail/withfrosted.com/admin while logged into the vmail user for proper permissions. Squirrelmail now logs into the mail box but gives me yet another new error, in which I am now stuck on:
ERROR:
ERROR: Could not complete request.
Query: SELECT "INBOX"
Reason Given: Unable to open this mailbox.

As a summary, because I'm all over the place, here:
1. Can't view the mailbox via Squirrelmail.
2. Can't receive email, tried with mailx and a test email from gmail.

Regarding #2, the gmail test email, from the maillog:
May 9 07:25:45 withfrosted postfix/smtpd[21095]: connect from mail-qy0-f177.google.com[209.85.221.177]
May 9 07:25:45 withfrosted postfix/smtpd[21095]: 26CE516241D: client=mail-qy0-f177.google.com[209.85.221.177]
May 9 07:25:45 withfrosted postfix/cleanup[21104]: 26CE516241D: message-id=<z2pe336661a1005090425zaee8dc71jc3002cb7cb25e0fa@mail.gmail.com>
May 9 07:25:45 withfrosted postfix/qmgr[19083]: 26CE516241D: from=<issact@gmail.com>, size=1866, nrcpt=1 (queue active)
May 9 07:25:45 withfrosted amavis[21024]: (21024-01) (!)connect_to_sql: unable to connect to DSN 'DBI:mysql:database=mail;host=127.0.0.1;port=3306': Can't connect to MySQL server on '127.0.0.1' (13)
May 9 07:25:45 withfrosted amavis[21024]: (21024-01) (!!)TROUBLE in process_request: connect_to_sql: unable to connect to any dataset at (eval 98) line 241, <GEN15> line 5.
May 9 07:25:45 withfrosted amavis[21024]: (21024-01) (!)Requesting process rundown after fatal error
May 9 07:25:45 withfrosted postfix/smtp[21105]: 26CE516241D: to=<admin@withfrosted.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.2, delays=0.11/0.01/0.01/0.07, dsn=4.3.2, status=deferred (host 127.0.0.1[127.0.0.1] said: 421 4.3.2 Service shutting down, closing channel (in reply to RCPT TO command))
May 9 07:26:15 withfrosted postfix/smtpd[21095]: disconnect from mail-qy0-f177.google.com[209.85.221.177]

View 4 Replies View Related

Ubuntu :: Create A Virtual Machine And Configure The System Through The GUI And Then Dump All Of The Settings?

Oct 7, 2010

I'm working on a script. fter it has installed and removed packages, I need to configure a ton of settings. In GNOME, I understand that those settings are kept in "/home/user/.gconf". Can I create a virtual machine and configure the system through the GUI to my liking and then dump all of the settings, so that I can load them on another machine? Is it as simple as copying the directories?

View 2 Replies View Related

Server :: Mysql - Cannot Create Database

Jul 28, 2009

I tried creating a database in mysql but couldn't do so...here is the message i got from the shell:

Code:

View 4 Replies View Related

Ubuntu Servers :: Separate Virtual Machines For Apache, Mysql, File Server?

Jul 11, 2011

I'm working on a side project where I would like to install three ubuntu server systems,each with only one task.So server0 would be the apache server, server1 would be the database and server2 would be the file server.which key terms I should be researching?

View 9 Replies View Related

Server :: Create A Virtual NIC For PPTPd?

Jan 4, 2011

I'm trying to setup PPTPd on my dedicated server and the IP ranges i put the in the config have to exist in one of the network interfaces otherwise the connection wont work,I currently only have eth0 with the direct internet IP which i can't use for this purpose,I need a new NIC with a LAN IP for this and I have no clue.

View 1 Replies View Related

Server :: Create Postfix Virtual Users Without Dovecot

May 28, 2010

I just want to create virtual postfix users using static external file, without using dovecot as MDA or mysql db.

View 1 Replies View Related

General :: Create User To Shutdown System?

Dec 6, 2010

I need create user .when user login --> system go to shutdown .I create this script :

Code:
### Shutdown Script ###
#!/bin/bash

[code]...

View 9 Replies View Related

General :: Unable To Create System User?

Aug 18, 2009

lately i notice that when i add a new user withthe useradd and passwd command, and then try to login using this new account, am being prompted with a message,saying ' you cannot access /home/newuser. that the account doesnot have permission on his home directory. i have even tried go give the user(john) ownership over his home directory with the #chown -R john:john /home/john

View 8 Replies View Related

Server :: Asterisk User Andvoicemails With Mysql?

Jun 1, 2010

I have been reading about asterisk, I did some basic configuration, a small ivr, record messages.. but I was wondering how and what/where should I modify to use a database to save sip users and voicemail user..then we can add user/voicemail with php-myadmin I always search but I cant find about this configuration..

View 1 Replies View Related

Server :: Does The Mysql User Need Bash Shell

Oct 2, 2010

Is there any reason for the mysql user to need bash shell?

From /etc/passwd:

Code:
mysql:x:100:103:MySQL server:/var/lib/mysql:/bin/bash

Will anything break if I change that to /bin/false?

View 2 Replies View Related

Server :: User Privileges In Mysql Replication

Sep 27, 2010

Might this is silly question but I am not much familiar to database.I am doing master slave Mysql replication for load balancing. On master server different database has different user privileges. I create backup using mysqldump command and restore on slave server instead of using load data from master; command.When i replicate database from master to slave will i require to set user privileges same as master ?One more question: How to lock all database in mysql?

View 2 Replies View Related

Server :: Right User For Copying Files Into /var/www/virtual?

Mar 10, 2011

i would like to copy all files from my server001 (/var/www/vhosts/*/httpdocs/) to my server002 (/var/www/virtual/*/htdocs/) i would do it via rsync... but i dont want to do it as root! what would be the right user with which I should login myself via rsync? www-data? its the group of each domain-folder...

Quote:

server002:/var/www/virtual# ls -lh
insgesamt 4,0K
drwxrwx--- 10 vu2001 www-data 4,0K 9. Mär 09:58 domain.com
server002:/var/www/virtual#

but the files inside htdocs are only accessable for the user!

Code:

server002:/var/www/virtual/domain.com/htdocs# ls -lh | grep index.php
-rwxr-xr-x 1 vu2001 vu2001 397 24. Feb 23:30 index.php
server002:/var/www/virtual/domain.com/htdocs#
server002 will be the backup-server if the server001 is down!

View 3 Replies View Related

Debian :: Create A Sandbox Environment On LAMP Server For PHP/MySql Development?

Mar 5, 2011

I need to create a sandbox environment on my LAMP server for PHP/MySql development. Anyone who could point me in the right direction or share their insight?

View 1 Replies View Related

CentOS 5 Server :: Create Qcow2 Image In 5.5 Virtual Machine Manager?

May 18, 2010

I'm trying to set up a virtual machine environment in Centos5.5. My hardware fully supports virtualization, and I'm running qemu as the hypervisor with Virtual Machine Manager as the GUI to manage and create VMs. Host hardware is a Dell PowerEdge T710, with a quad core Xenon processor and four 1TB disks in a raid 6 array.

Within the Virtual Machine Manager when trying to create a new VM, there is the option to not "allocate entire virtual disk now". What format is created when you "allocate entire virtual disk now" and when you don't?

I want to create a qcow2 image format, but it doesn't look like it is supported. Does anybody know how to create a VM with a qcow2 image format?

When you create a blank disk with "qemu-img create -f qcow2 disk.qcow2 3700G", it indeed does create a qcow2 image. However, Virtual Machine Manager is unable to read these images, claiming that it is 15 megs or so in size (which is what it actually occupies in host disk space until you try and put a VM into it).

View 1 Replies View Related

Server :: MySQL Root User - Administration And Permissions

Jun 22, 2010

I'm using an older redhat system (2.6.9-22.ELsmp) here which is running an older mysql (server version: 4.1.12). I don't think that's the source of the problems. I believe that have understood things rightly when I say that the mysql root user is unrelated to the linux root user ... in my case I believe the root user to be the unix user mysql. So when I connect to the server (local host from a local terminal) I use:
Code:
-bash-3.00$ mysql -u mysql -p
and enter a blank password

This gets me on, however I seem unable to do anything like create database or alter privilege. I wonder if its related to my finding no database called mysql?
-bash-3.00$ mysql -u mysql -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or g.
Your MySQL connection id is 11 to server version: 4.1.12

Type 'help;' or 'h' for help. Type 'c' to clear the buffer.
mysql> show databases;
+----------+
| Database |
+----------+
| test |
+----------+
1 row in set (0.00 sec)
Although I understand that show databases will not show things I have no priv to see. Does this mean my settings for the users are all screwed? How do I rectify this situation? Some other (perhaps) useful information.

Code:
[root ~]# cat /etc/my.cnf
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1
[mysql.server]
user=mysql
basedir=/var/lib
[mysqld_safe]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

So my BASEDIR seems to be nothing like is suggested in the documentation at [URL].

View 2 Replies View Related

Software :: Cannot Access MySQL Server Other Than User=root?

Apr 13, 2011

I've tried every manual there is for creating new MySQL users ... but without success.
I keep getting

Code:
ERROR 1045 (28000): Access denied for user 'test'@'localhost' (using password: YES) even though I just created it with all privileges ... WITH a password that I DO remember .

Fortunately I still have access via the MySQL root user (so I try not to disturb that user, because I have had computers with THAT account not accessible as well - even WITH resetting the password via skip-grant-tables).

View 5 Replies View Related

CentOS 5 :: MySQL Server - User Table Missing

May 27, 2010

I just installed a MySQL server but for unknown reason im not able to set a root password.
CentOS 5.4 - 2.6.18-164.9.1.el5PAE
MySQL Ver 14.12 Distrib 5.0.77, for redhat-linux-gnu (i686) using readline 5.1
# yum install -y mysql mysql-server php-mysql
# service mysqld start
# mysql -u root
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

View 2 Replies View Related

Server :: Directory Max Size For Virtual User Under Container?

May 19, 2011

I am running Debian under virtual container. I need to set max size of directory for each of vsftpd virtual users - because they are virtual, I cannot use user quotas. I was wondering, if I could create images with filesystem and mount them, but I cannot access /dev/loop device from container. Is there any other way, how to set max directory size in virtual container

View 2 Replies View Related

Server :: Changed Root User Access For MySQL To Any From Localhost?

Mar 14, 2011

I did something silly and changed my root user access for mysql access to Any from localhost using webmin. I get an access dented when i try to open up the mysql editing page on webmin. Can any of you tell me if there is a way to change it back to hosts=localhost I am using webmin 1.5.30 on Centos 5.5. I am hoping I can change it by command line or if I can access the config files and change it that way?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved