Ubuntu :: Android And Chrooted - Mysqld Can't Create Ip Socket Permission Denied
Sep 1, 2011
I have a droid phone, and I have ubuntu 9 running on it. This is done by chrooting since the phone runs a linux kernel. And it works... I have a question though. tightvncserver does work, and its able to listen on 127.0.0.1.. Its how you view your X session. So you chroot to Ubuntu, then start vncserver. Then switch back to android and login to ubuntu via vnc client. but apache, mysql, and postgresql do not work. Well. They dont seem too.. except for mysql. Mysql will start but only if you tell it not to use networking by saying skip-networking in my.cnf
Mysql says: mysqld cant create ip socket permission denied Apache2 says it can find 127.0.0.1 but doesnt actually run same with postgresql... All seem to be compiled with arm architecture. So why does tightvncwork? Why is it so special? How can it listen on the loop back (127.0.0.1) when nothing else can...
I have /proc and /dev bind to the chroot side. I can run ifconfig okay, and I can run /etc/init.d/networking start okay.. But apache2, mysql, etc have problems binding. I have removed apparmor even though technically its not running, but I removed it and its configuration files, just because I thought perhaps mysql looks at apparmor, but I doubted it.
View 1 Replies
ADVERTISEMENT
May 21, 2009
I have a cgi script that tries to get the IP address of a domain. the Domain is defined in Bind, yet it can not resolve it. I put the domain in the host file and it then gives a Error: unable to create socket - Permission denied
I figure I have to do some code changes to the script but here I would like an explaination as to the error I am getting.
View 1 Replies
View Related
Apr 5, 2011
Code: # traceroute -I 69.12.32.2 Note: the -i and -I options were exchangedfor compability with LBL traceroute Use -I for ICMP, and -i <ifname> to specify the interface name unable to create ICMP send socket: Permission denied Note that the command was done as root. This worked in 11.3.
And yes, it works without the "-I". But it should work with the "-I". One shouldn't have to boot into Windows, just to run "tracert" there.
View 9 Replies
View Related
Apr 18, 2011
installing mysql server manually. i have successfully installed mysql server but when i am try to create database, it shows error like this
ERROR 2002 (HY000): Can't connect to local MySql server through socket '/var/run/mysqld/mysqld.sock' (2)
** mysqld is not available in /var/run and error log file is also not available in /var/log **
View 5 Replies
View Related
Apr 10, 2010
After the upgrade from 8.10 to 9.04, all was well. But after the upgrade from 9.04 to 9.10, I lost the MySQL server. Now, I recall during the upgrade, I was asked if I wanted to keep the existing my.cnf file or replace it with a newer one. I did as suggested and kept the original as I had edited it before. The same question was asked with a couple other config files. I kept the original in each case. After the first step, I checked the server was running and the websites were up, all was well. After the update to 9.10, when I checked the server, I get the following error:
Code: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)' Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists! Can anyone point me in the right direction to getting this resolved?
View 2 Replies
View Related
Feb 27, 2011
I'm the lead Dev of GnackTrack and we're having issues with running MySQL on the LiveDVD.Once installed everything works fine, mysql can be connected to but when using the liveDVD we get the following error:
Code:
root@root:~# mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Contents of /etc/mysql/my.cf point to /var/run/mysqld/mysqld.sock but because this is a liveDVD the actual file is located in:
/rofs/var/run/mysqld/mysqld.sock
[code].....
View 4 Replies
View Related
Feb 24, 2011
I need some help.Trying to set up bugzilla on my VM.After setting up the IP to use static i could log on to the url its not even loading up from command line its issueing an error.when i try to log on to mysql
bugzilla:~# mysql -u root mysql] ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
View 1 Replies
View Related
Sep 3, 2009
I'm trying to set up a Fedora 11 server so that users have only SFTP access. The relevant lines from my "/etc/ssh/sshd_config" are:
[Code]....
I can log in okay, I can type "cd /" and "cd upload", but when I try an "ls" command, I get: Couldn't get handle: Permission deniedand when I try to get the file "junk" (listed above), I get: Couldn't stat remote file: Permission deniedAnyone know what I'm doing wrong?
View 2 Replies
View Related
Jul 9, 2011
Here is a copy of my fstab # /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
[code]...
View 6 Replies
View Related
May 3, 2011
In user mode [non-root] linux machine, tried to bind a socket by using a"ioctl(iInterfaceSocket, SIOCSIFADDR, &stCommand)". I am getting error 13 -> Permission denied because of user mode. If change from usermode to kernel mode everything works fine.I need to bind the socket in user mode only, please suggest solution for the abovewhile explaining the above,
View 2 Replies
View Related
Apr 18, 2011
i have successfully installed mysql server but when i am try to create database, it shows error like this
ERROR 2002 (HY000): Can't connect to local MySql server through socket '/var/run/mysqld/mysqld.sock' (2)
** mysqld is not available in /var/run and error log file is also not available in /var/log **
View 4 Replies
View Related
Oct 17, 2010
I tried removing it and installing again but I still get the same code in the terminal:
[Code]....
View 3 Replies
View Related
Apr 22, 2011
I am in the www-data group...
Code:
mike@webserver:/var/www$ groups mike
mike : www-data adm dialout cdrom plugdev lpadmin sambashare admin
when I run ls...
Code:
mike@webserver:/var/www$ ls -la
total 8
drwxrwxr-x 2 www-data www-data 4096 2011-04-22 09:30 .
drwxr-xr-x 14 root root 4096 2011-04-20 18:22 ..
-rw-r--r-- 1 root root 0 2011-04-22 09:24 index.html
I assumed that means that the users in the www-data group can read, write and execute within this folder?
But when I try to create a new file/dir I get permission denied message.
I'm having fun messing around with my new LAMP server, but this problem is annoying me now .
(Oh and the index.html file was created by root, it's a blank file and can be deleted)
View 1 Replies
View Related
Jan 18, 2010
I set security context for a folder as 702 to enable other users to create and delete folder contents.But whenever other users try to create a folder,its says "Permission denied".
View 11 Replies
View Related
Jan 7, 2011
An uncaught exception was raised: [Errno 13] Permission denied: '/media/e6f6ac46-4bfc-487b-9c81-aab706ead9e3/boot'
The above is the error message I get when I try to create an usb-flash boot drive. I downloaded the iso for Mint10 and use the "create startup disk" program to create the boot drive. I can see both the iso and the flash drive within the program, but when I click on "create disk" I get the above error message?
View 7 Replies
View Related
Oct 25, 2010
I am working on SUSE 9 Server in which I am trying to make folder transferdata under /opt folder but it is throwing an error mkdir: cannot create directory `transferdata': Permission denied
View 2 Replies
View Related
Jan 4, 2010
i can't get cyrus mailbox created. what i get is only error:
cm user.test.test
createmailbox: Permission denied
if i try user without "lastname":
cm user.test
createmailbox: System I/O error
here's maillog message:
Jan 4 13:08:09 pigeon imap[21695]: login: host.domain.com [127.0.0.1] cyrus plaintext User logged in
Jan 4 13:09:12 pigeon imap[21695]: IOERROR: creating directory /mail/imap: Permission denied
[code].....
View 2 Replies
View Related
Aug 27, 2010
I'm using my AntiX M8 Live CD to repair a hosed Windows installation, I downloaded ComboFix to ~/home/Desktop and now I'm trying to copy (cp) the file to /mnt/ where I have already mounted the NTFS Windows partition. NTFS3G is integrated into AntiX, right? So why am I having permissions errors?
Code:
mepis1:/home/demo# cp -v Desktop/ComboFix.exe /mnt/SwSetup/
`Desktop/ComboFix.exe' -> `/mnt/SwSetup/ComboFix.exe'
cp: cannot create regular file `/mnt/SwSetup/ComboFix.exe': Permission denied
mepis1:/home/demo# So far, I can read it without any errors in Terminal and navigate through the whole filesystem in ROX-Filer, Do I need to edit /etc/fstab to be able to write to an ntfs drive?
View 6 Replies
View Related
Dec 16, 2010
i installed Slackware 13.1 64 bits in a asus laptop and until now everything is running ok. But when i tried to mount a usb pendrive, i just can mount it as root;well, i thought there would be no problem, i will change permissions with chmod and everyone could access, read and write on it the command :
mount -t ntfs /dev/sdb1 /mnt/kingston
and making ls -l the result is :
drwx------ 1 root root 12288 Dec 8 17:20 kingston
so next i wrote (as root):
chmod 777 -R kingston
and the message was "Operation not supported" i tried also changing the ownership permission :
chown molei:users /kingston
drwxrwxrwx 1 molei users 12288 Dec 8 17:20 kingston
so, apparently i would have total access to the kingston directory; the problem is when i try to copy something to the kingston dir, an error msg. appears :
cp: cannot create regular file `/mnt/kingston/linux_guide.pdf': Permission denied
View 2 Replies
View Related
Jan 7, 2010
I have proftpd @ Ubuntu 9.04 server. It authenticates users via Auth file, e.g. those are "FTP only" users, not real linux users. Each of them has assigned home dir in the same auth file. They also get Chrooted into it, e.g. default dir is ~ in proftpd.conf They can connect and download files successfully, however, they cannot upload anything or create directory: 550 permission denied error.
When I login via ssh and change user to proftpd user, I can create directories in that particular place, so I guess it's not Linux permissions problem? Or is it? /var/log/daemon.log is the place where proftpd stores its logs, but I cannot find anything relevant there
View 5 Replies
View Related
Dec 22, 2010
I recently switched from Ubuntu Maverick 32-bit to 64-bit so I could compile Android's latest revision, Gingerbread.
Everything went pretty smoothly and I managed to fix most issues that was caused due to the switch.
But each time I open terminal, the following error shows up:
Code:
mkdir: cannot create directory `/mnt/cgroups/cpu': Permission denied
bash: /mnt/cgroups/cpu/19088/notify_on_release: No such file or directory
bash: /mnt/cgroups/cpu/19088/tasks: No such file or directory
I've tried manually creating that directory as root but the error remains.
View 2 Replies
View Related
Nov 22, 2010
I just downloaded OpenOffice 3.2.1 from the openoffice.org weebsite. I followed the instructions precisely and everytime ended up in the same error message - 'error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Permission denied)'. I am using Fedora 13.
View 2 Replies
View Related
Feb 3, 2010
I have just installed 9.10 netbook remix onto my Eeepc 901. I was previously using 9.4 Rather than clicking on shutdown icons, or going through shutdown menus, I added a keyboard shortcut to run a shell script containing the following code:
Code:
#!/bin/bash
init 0
because init needs to be run as root to have the correct permissions, I set the owner and group to be root , ran chmod 711, then chmod u+s to prevent anyone altering the script, and to allow anyone to execute it with root privelidges Since updateing to 9.10 netbook remix, I have been unable to get this to work. have applied the above changes but get a "/bin/bash: /usr/bin/shutdownscript: permission denied" error when I try to run my shutdown script from the terminal (nothing happens when I press the key combination asigned to the keyboard shortcut). If I run the shutdown script with sudo then it neatly shuts down. ls reveals the following permissions:-rws--s--x 1 root root
So it appears as if SUID and SGID are both set, and the owner/group are correct, and the script works, and yet it doesn't have the permissions to work. I installed 9.4 long ago enough that I can't remember if I had to do anything else to get it working, or has something changed between 9.4 and 9.10?
View 3 Replies
View Related
Mar 27, 2010
I tried to execute the following command: $ ./eval_online_wiki.ml -db_user aa -db_pass bb -db_name cc It returned as follows: bash: ./eval_online_wiki.ml: Permission denied What does this mean? How to solve the problem? Actually, I was following a README, and it says "$ ./eval_online_wiki -db_user <username> -db_pass <pwd> -db_name <db_name>"
View 2 Replies
View Related
Aug 19, 2010
Forum.Ref:Ubuntu 10.4 Lucid LynxFluxboxOpera 10.61Has anyone a clue how I can solve following (minor but annoying) problem?It takes a relative long time (a few seconds) as normal user before Opera starts in my fluxbox environment. I expected a quicker startup time.Also because when I start opera as root the startup time is shorter.I started opera in a terminal. No messages when started as root with gksudoBut 5 lines of:open: Permission deniedwhen started as normal user. Startup succeeds after these messages.So I figured out that there is some kind of authorisation problem but have no clue how to find out which files opera tries to open and fails and what to do at this point.I searched for similar problems on this forum and also via google but could not find any real answers.
View 4 Replies
View Related
Sep 17, 2010
Currently I am having troubles getting my ssh key to work correctly. I have had a desktop crash which has been reformatted to use ubuntu. The key residing in id_rsa.pub has been copied over to the ssh server into the authorized keys of the given user. however When we try to login we get a "permission denied (public key, keyboard-interactive)" error. below is the debug option:
jv@ops-desktop:~/.ssh$ ssh -v jv@x.x.x.x
OpenSSH_5.3p1 Debian-3ubuntu4, OpenSSL 0.9.8k 25 Mar 2009
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
[Code]....
View 5 Replies
View Related
Dec 7, 2010
I have a shared directory on another machine but I can't get it to mount. The permission denied doesn't say where/which permission is denied. Is it on the remote on on the local machine? The remote has sharing enabled for the shareddocs directory and after I have mkdir'ed the local mount point I open it's permissions too.
The verbose response from mount.cfis looks like this:
mount.cifs kernel mount options: unc=//192.168.1.102shareddocs,domain=WORKGROUP,ver=1,rw ,username=clive,,,,,,,,,,,ip=192.168.1.102,pass=** ******
mount error(13): Permission denied
Refer to the mount.cifs( manual page (e.g. man mount.cifs) The man page does not have a list of error codes.
View 3 Replies
View Related
Jan 3, 2011
Im running Ubuntu 10.10 on my hp mini 110 netbook, have been for since i upgraded from 10.04. The problem Im having all of a sudden is when I try and copy anything from internal file system, to anything external [phone, card reader, usb hardrive] I get a pop up that says Error opening file '/media/disk/<filename>': Permission denied
Should be a quick fix i would think, what you guys got ???
View 2 Replies
View Related
Apr 23, 2011
I've done a fresh install of Ubuntu 9.04 and tried to create a folder using the File Brower went to my user account and proceeded to create a directory. Then when trying to cp a file to this new directory I get permission denied. I checked the directory permissions and discovered that its owner was root not the user that I was signed in as.
So I had no choice but to enable the root account so I could copy the file I wanted. Why could I not have copied the file using the user that I was signed/logged int as without resorting to changing users to root. I hope that its not a bug of some kind or maybe I did something weird during the install. I would like to disable the root account again.
View 7 Replies
View Related
Jul 28, 2010
I'm getting this error when trying to check my software installation. On sudo make check it fails and says that:I'm logged in as root.SLASHbinSLASHbash: line 8: .SLASHtest-indexer: Permission denied
View 3 Replies
View Related