[SOLVED]Cannot start postgresql using systemctl
I am thinking about switching entirely to systemd. So I have been playing around to learn systemd way of starting services.
[root@myhost sudeep]# systemctl start postgresql.service
Job failed. See system journal and 'systemctl status' for details.
[root@myhost sudeep]# systemctl status postgresql.service
postgresql.service - PostgreSQL database server
Loaded: loaded (/usr/lib/systemd/system/postgresql.service; disabled)
Active: failed (Result: exit-code) since Mon, 04 Jun 2012 19:14:44 +0530; 11s ago
Process: 1473 ExecStartPre=/usr/lib/systemd/scripts/postgresql-initdb (code=exited, status=1/FAILURE)
CGroup: name=systemd:/system/postgresql.service
Jun 04 19:14:44 myhost postgres[1473]: Creating symlink /var/lib/postgres ->
I also tried
[root@myhost sudeep]# initdb -D /var/lib/postgres/data
initdb: cannot be run as root
Please log in (using, e.g., "su") as the (unprivileged) user that will
own the server process.
And obviously I cannot run systemctl as a normal user. What is the problem?
Last edited by TwiNight (2012-06-06 04:52:30)
deltaecho wrote:
Try editing /etc/conf.d/postgresql, and uncomment the line for PGROOT="/var/lib/postgres" (although it is listed as having a default value, doing this resolved the issue for me).
EDIT: I found that config by looking in the postgesql.service file, which set the option ExecStartPre=/usr/lib/systemd/scripts/postgresql-initdb. Looking in the corresponding file, I noticed that it made several references to $PGROOT, and since the statement "Creating symlink /var/lib/postgres -> $PGROOT" returned the empty string for $PGROOT, I figured that it was not correctly set. At the top of that script, you will notice where it imports the postgres config: ". /etc/conf.d/postgresql". Within that file is where the postgres options are set.
I tried this. Still I am getting error as follows:
[root@myhost sudeep]# systemctl start postgresql.service
[root@myhost sudeep]# systemctl status postgresql.service
postgresql.service - PostgreSQL database server
Loaded: loaded (/usr/lib/systemd/system/postgresql.service; disabled)
Active: failed (Result: exit-code) since Wed, 06 Jun 2012 14:13:24 +0530; 8s ago
Process: 1668 ExecStop=/bin/su - postgres -m -c /usr/bin/pg_ctl -s -D /var/lib/postgres/data stop -m fast (code=exited, status=1/FAILURE)
Process: 1661 ExecStart=/bin/su - postgres -m -c /usr/bin/pg_ctl -s -D /var/lib/postgres/data start (code=exited, status=0/SUCCESS)
Process: 1658 ExecStartPre=/usr/lib/systemd/scripts/postgresql-initdb (code=exited, status=0/SUCCESS)
Main PID: 1666 (code=exited, status=1/FAILURE)
CGroup: name=systemd:/system/postgresql.service
Jun 06 14:13:22 myhost su[1661]: pam_unix(su:session): session opened for user postgres by (uid=0)
Jun 06 14:13:24 myhost su[1668]: pam_unix(su:session): session opened for user postgres by (uid=0)
Jun 06 14:13:24 myhost postgres[1668]: pg_ctl: PID file "/var/lib/postgres/data/postmaster.pid" does not exist
Similar Messages
-
[Solved] Cannot start postgresql
I've installed and used postrges several times in the past, but this time i'm stumped.
Before jumping throught the usual hoops of account/password/database creation I need to get the thing up and running. It installed fine via pacman
[x@arch ~]$ sudo systemctl start postgresql
Job for postgresql.service failed. See "systemctl status postgresql.service" and "journalctl -xe" for details.
[x@arch ~]$ systemctl status postgresql.service
● postgresql.service - PostgreSQL database server
Loaded: loaded (/usr/lib/systemd/system/postgresql.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2015-02-23 11:20:57 CET; 8s ago
Process: 956 ExecStartPre=/usr/bin/postgresql-check-db-dir ${PGROOT}/data (code=exited, status=1/FAILURE)
[x@arch ~]$ journalctl -xe
<snip>
Feb 23 11:07:22 arch su[813]: pam_unix(su:auth): authentication failure; logname= uid=1000 euid=0 tty=pts/0 ruser=x rhost= user=postgres
Feb 23 11:07:24 arch su[813]: FAILED SU (to postgres) x on pts/0
Anybody know whats going on?
[x@arch ~]$ uname -a
Linux arch 3.18.6-1-ARCH #1 SMP PREEMPT Sat Feb 7 08:59:29 CET 2015 i686 GNU/Linux
Last edited by pmatts (2015-02-23 11:38:18)Ah! That initdb stuff is new for me. i missed that bit.
heres the process for anyone interested: (Change your locale to your locale)
[x@arch ~]$ su root
Password:
[root@arch x]# su postgres
[postgres@arch x]$ initdb --locale en_GB.UTF-8 -E UTF8 -D '/var/lib/postgres/data'
could not change directory to "/home/x": Permission denied
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.
The database cluster will be initialized with locale "en_GB.UTF-8".
The default text search configuration will be set to "english".
Data page checksums are disabled.
fixing permissions on existing directory /var/lib/postgres/data ... ok
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting dynamic shared memory implementation ... posix
creating configuration files ... ok
creating template1 database in /var/lib/postgres/data/base/1 ... ok
initializing pg_authid ... ok
initializing dependencies ... ok
creating system views ... ok
loading system objects' descriptions ... ok
creating collations ... ok
creating conversions ... ok
creating dictionaries ... ok
setting privileges on built-in objects ... ok
creating information schema ... ok
loading PL/pgSQL server-side language ... ok
vacuuming database template1 ... ok
copying template1 to template0 ... ok
copying template1 to postgres ... ok
syncing data to disk ... ok
WARNING: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the option -A, or
--auth-local and --auth-host, the next time you run initdb.
Success. You can now start the database server using:
postgres -D /var/lib/postgres/data
or
pg_ctl -D /var/lib/postgres/data -l logfile start
[postgres@arch x]$ exit
[root@arch x]# exit
[x@arch ~]$ sudo systemctl start postgresql -
Starting PostgreSQL with systemctl fails
root@peace /h/ciembor# systemctl start postgresql
Failed to get D-Bus connection: No connection to service manager.
What can I do with that?
//edit
OK, I already run it with
systemctl enable postgresql.service
and restart. But now I get
could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
when I try to create user.
Last edited by ciembor (2013-03-23 21:30:58)Sounds like you are using a custom kernel without the required features for running systemd (e.g. CGROUPS, AUTOFS4 or thelike) enabled. Double-check your /var/log/kernel.log and messages.log
-
[SOLVED] Cannot start mysqld after switching to MariaDB
Hey guys,
I just switched to MariaDB as recommended.
After installing MariaDB and running
systemctl start mysqld
, I get this error message:
Job for mysqld.service failed.
journal:
systemd[1]: Starting MariaDB database server...
mysqld[9358]: 130326 0:27:17 InnoDB: The InnoDB memory heap is disabled
mysqld[9358]: 130326 0:27:17 InnoDB: Mutexes and rw_locks use GCC atomic builtins
mysqld[9358]: 130326 0:27:17 InnoDB: Compressed tables use zlib 1.2.7
mysqld[9358]: 130326 0:27:17 InnoDB: Initializing buffer pool, size = 128.0M
mysqld[9358]: 130326 0:27:17 InnoDB: Completed initialization of buffer pool
mysqld[9358]: 130326 0:27:17 InnoDB: highest supported file format is Barracuda.
mysqld[9358]: 130326 0:27:17 InnoDB: Waiting for the background threads to start
mysqld[9358]: 130326 0:27:18 Percona XtraDB (http://www.percona.com) 5.5.30-MariaDB-30.1 started; log sequence number 46580545
mysqld[9358]: 130326 0:27:18 [ERROR] mysqld: Got error 'Size of control file is smaller than expected' when trying to use aria control file '/var/lib/mysql/aria_log_control'
mysqld[9358]: 130326 0:27:18 [ERROR] Plugin 'Aria' init function returned error.
mysqld[9358]: 130326 0:27:18 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed.
mysqld[9358]: 130326 0:27:18 [ERROR] Aria engine is not enabled or did not start. The Aria engine must be enabled to continue as mysqld was configured with --with-aria-tmp-tables
mysqld[9358]: 130326 0:27:18 [ERROR] Aborting
mysqld[9358]: 130326 0:27:18 InnoDB: Starting shutdown...
mysqld[9358]: 130326 0:27:19 InnoDB: Shutdown completed; log sequence number 46580545
mysqld[9358]: 130326 0:27:19 [Note] /usr/bin/mysqld: Shutdown complete
systemd[1]: mysqld.service: main process exited, code=exited, status=1/FAILURE
Last edited by lonaowna (2013-03-26 01:23:20)Hi ! I come here because I have a trouble since the last update of Mysqld :
I cannot start the daemon with
sudo systemctl start mysqld
I have these problems when i look in journalctl -xn :
mars 26 00:22:14 server mysqld[11593]: InnoDB: Error: log file ./ib_logfile0 is of different size 0 3174400 bytes
mars 26 00:22:14 server mysqld[11593]: InnoDB: than specified in the .cnf file 0 5242880 bytes!
mars 26 00:22:14 server mysqld[11593]: 130326 0:22:14 [ERROR] Plugin 'InnoDB' init function returned error.
mars 26 00:22:14 server mysqld[11593]: 130326 0:22:14 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
mars 26 00:22:14 server mysqld[11593]: 130326 0:22:14 [ERROR] Unknown/unsupported storage engine: InnoDB
mars 26 00:22:14 server mysqld[11593]: 130326 0:22:14 [ERROR] Aborting
mars 26 00:22:14 server mysqld[11593]: 130326 0:22:14 [Note] /usr/bin/mysqld: Shutdown complete
mars 26 00:22:14 server systemd[1]: mysqld.service: main process exited, code=exited, status=1/FAILURE
When I try with mysqld, I have
130326 0:23:21 [Warning] Can't create test file /var/lib/mysql/server.lower-test
130326 0:23:21 [Warning] Can't create test file /var/lib/mysql/server.lower-test
mysqld: Can't change dir to '/var/lib/mysql/' (Errcode: 13)
130326 0:23:21 [ERROR] Aborting
130326 0:23:21 [Note] mysqld: Shutdown complete
And when I look in /var/lib/mysql/server.err I have these lines
130207 23:32:56 mysqld_safe mysqld from pid file /var/lib/mysql/server.pid ended
130322 00:25:27 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
130322 0:25:27 InnoDB: The InnoDB memory heap is disabled
130322 0:25:27 InnoDB: Mutexes and rw_locks use GCC atomic builtins
130322 0:25:27 InnoDB: Compressed tables use zlib 1.2.7
130322 0:25:27 InnoDB: Initializing buffer pool, size = 128.0M
130322 0:25:27 InnoDB: Completed initialization of buffer pool
130322 0:25:27 InnoDB: highest supported file format is Barracuda.
InnoDB: Error: tried to read 65536 bytes at offset 0 3173376.
InnoDB: Was only able to read 1024.
InnoDB: Fatal error: cannot read from file. OS error number 17.
130322 0:25:30 InnoDB: Assertion failure in thread 139785666135872 in file os0file.c line 2538
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to http://bugs.mysql.com.
InnoDB: If you get repeated assertion failures or crashes, even
InnoDB: immediately after the mysqld startup, there may be
InnoDB: corruption in the InnoDB tablespace. Please refer to
InnoDB: http://dev.mysql.com/doc/refman/5.5/en/forcing-innodb-recovery.html
InnoDB: about forcing recovery.
23:25:30 UTC - mysqld got signal 6 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed,
something is definitely wrong and this may fail.
key_buffer_size=16777216
read_buffer_size=262144
max_used_connections=0
max_threads=151
thread_count=0
connection_count=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 134074 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x0
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 0 thread_stack 0x40000
/usr/bin/mysqld(my_print_stacktrace+0x29)[0x78ae99]
/usr/bin/mysqld(handle_fatal_signal+0x471)[0x67ad71]
/usr/lib/libpthread.so.0(+0xf1e0)[0x7f226299a1e0]
/usr/lib/libc.so.6(gsignal+0x35)[0x7f22615612c5]
/usr/lib/libc.so.6(abort+0x148)[0x7f2261562748]
/usr/bin/mysqld[0x8f2ac0]
/usr/bin/mysqld[0x8af1a0]
/usr/bin/mysqld[0x8e187c]
/usr/bin/mysqld[0x8e75ef]
/usr/bin/mysqld[0x834204]
/usr/bin/mysqld[0x7fe61f]
/usr/bin/mysqld(_Z24ha_initialize_handlertonP13st_plugin_int+0x41)[0x67ccf1]
/usr/bin/mysqld[0x59ad94]
/usr/bin/mysqld(_Z11plugin_initPiPPci+0xa42)[0x59f342]
/usr/bin/mysqld[0x524328]
/usr/bin/mysqld(_Z11mysqld_mainiPPc+0x447)[0x529187]
/usr/lib/libc.so.6(__libc_start_main+0xf5)[0x7f226154da15]
/usr/bin/mysqld[0x51ff89]
The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
information that should help you find out what is causing the crash.
130322 00:25:30 mysqld_safe mysqld from pid file /var/lib/mysql/server.pid ended
130326 00:24:58 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
130326 0:24:58 InnoDB: The InnoDB memory heap is disabled
130326 0:24:58 InnoDB: Mutexes and rw_locks use GCC atomic builtins
130326 0:24:58 InnoDB: Compressed tables use zlib 1.2.7
130326 0:24:58 InnoDB: Initializing buffer pool, size = 128.0M
130326 0:24:58 InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file ./ib_logfile0 is of different size 0 3174400 bytes
InnoDB: than specified in the .cnf file 0 5242880 bytes!
130326 0:24:58 [ERROR] Plugin 'InnoDB' init function returned error.
130326 0:24:58 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
130326 0:24:58 [ERROR] Unknown/unsupported storage engine: InnoDB
130326 0:24:58 [ERROR] Aborting
130326 0:24:58 [Note] /usr/bin/mysqld: Shutdown complete
130326 00:24:58 mysqld_safe mysqld from pid file /var/lib/mysql/server.pid ended
130326 00:25:33 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql/
130326 0:25:33 InnoDB: The InnoDB memory heap is disabled
130326 0:25:33 InnoDB: Mutexes and rw_locks use GCC atomic builtins
130326 0:25:33 InnoDB: Compressed tables use zlib 1.2.7
130326 0:25:33 InnoDB: Initializing buffer pool, size = 128.0M
130326 0:25:33 InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file ./ib_logfile0 is of different size 0 3174400 bytes
InnoDB: than specified in the .cnf file 0 5242880 bytes!
130326 0:25:33 [ERROR] Plugin 'InnoDB' init function returned error.
130326 0:25:33 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
130326 0:25:33 [ERROR] Unknown/unsupported storage engine: InnoDB
130326 0:25:33 [ERROR] Aborting
130326 0:25:33 [Note] /usr/bin/mysqld: Shutdown complete
130326 00:25:33 mysqld_safe mysqld from pid file /var/lib/mysql//server.pid ended
When I try mysqld_safe, here is what I get
130326 00:24:58 mysqld_safe Logging to '/var/lib/mysql/server.err'.
130326 00:24:58 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
130326 00:24:58 mysqld_safe mysqld from pid file /var/lib/mysql/server.pid ended
Resolution
===== It's a good thing to make a post :
It allows me to order my ideas and I find the solution here http://serverfault.com/questions/104014 … erent-size
I juste deleted the files /var/lib/mysqld/ib_logfile0 and /var/lib/mysql/ib_logfile1
First, I had a problem about the file who is in the future (WTF ?:p) But after, it worked !
Thanks Anyway !
Last edited by shox (2013-03-25 23:51:43) -
[SOLVED] Cannot start Virtual Network: "out of memory"
I am attempting to use KVM, Qemu and libvirt to run Windows VM's to test websites in IE. I have gotten everything to work fine except guest to host communication, which obviously is crucial for testing the websites.
Currently i am using macvtap to setup networking, which works beautifully for everything except host to guest networking. The easiest way seems to be to use isolated virtual networks. However, i cannot start any virtual networks. I have tried from inside virtual manager and inside virsh command prompt. I always get "out of memory". I have googled the error and nobody seems to have this problem.
One note, I do NOT have a swap drive. Is this needed for virtual networks?
EDIT:
I have now tried exactly the same on another, identical computer but with swap drive (16gb) and it did not work there either. Both computers have 8gb ram. Seems to be loads free in tops.
Last edited by sup3rman (2015-01-23 12:29:50)sup3rman wrote:
I am attempting to use KVM, Qemu and libvirt to run Windows VM's to test websites in IE. I have gotten everything to work fine except guest to host communication, which obviously is crucial for testing the websites.
Currently i am using macvtap to setup networking, which works beautifully for everything except host to guest networking. The easiest way seems to be to use isolated virtual networks. However, i cannot start any virtual networks. I have tried from inside virtual manager and inside virsh command prompt. I always get "out of memory". I have googled the error and nobody seems to have this problem.
One note, I do NOT have a swap drive. Is this needed for virtual networks?
EDIT:
I have now tried exactly the same on another, identical computer but with swap drive (16gb) and it did not work there either. Both computers have 8gb ram. Seems to be loads free in tops.
I have the same issue on my install. I got so desperate that I actually wiped my laptop and reinstalled everything, same problem. Out of memory error when trying to create the default network. 16GB of RAM, with 96% of it free when I attempted. -
[SOLVED] Cannot start JACK as normal user
Hello,
I cannot start JACK as non-root user. As root, everything works as expected. The user is a member of the audio group, but apparently this system is deprecated anyway.
$ jack_control start
--- start
DBus exception: org.jackaudio.Error.Generic: Failed to open server
This is shown in the "Messages" window of qjackctl:
18:50:01.392 Patchbay deactivated.
18:50:01.395 Statistics reset.
18:50:01.396 ALSA connection change.
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
18:50:01.404 ALSA connection graph change.
18:50:02.951 JACK is starting...
18:50:02.951 /usr/bin/jack_control -v -dalsa -r48000 -p1024 -n2 -D -Chw:USB -Phw:USB
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
Unknown command '-v'
Unknown command '-dalsa'
Unknown command '-r48000'
Unknown command '-p1024'
Unknown command '-n2'
Unknown command '-D'
Unknown command '-Chw:USB'
Unknown command '-Phw:USB'
18:50:03.001 JACK was started with PID=1341.
18:50:03.006 JACK was stopped successfully.
This is the "Settings" part of ~/.config/rncbc.org/QJackCtl.conf, but I'm not sure if it has anything to do with the problem, since starting JACK with jack_control doesn't work either:
[Settings]
Server=jack_control
ServerName=
Realtime=true
SoftMode=false
Monitor=false
Shorts=false
NoMemLock=false
UnlockMem=false
HWMon=false
HWMeter=false
IgnoreHW=false
Priority=0
Frames=1024
SampleRate=48000
Periods=2
WordLength=16
Wait=21333
Chan=0
Driver=alsa
Interface=
Audio=0
Dither=0
Timeout=500
InDevice=hw:USB
OutDevice=hw:USB
InChannels=0
OutChannels=0
InLatency=0
OutLatency=0
StartDelay=2
Verbose=true
PortMax=256
MidiDriver=none
ServerSuffix=
I have found similar threads, but all differ from my situation and the solutions suggested do not seem to work for me. Some people suspect PulseAudio to be the culprit, I tried to redirect ALSA to PulseAudio, and that to JACK without any effect. I don't think I use PulseAudio, but then again, I run Gnome, and gnome-settings-daemon seems to depend on it.
Any suggestions are much appreciated!
Thank you.
Last edited by raccoon (2015-04-17 09:29:21)ids1024 wrote:I believe Gnome starts pulseaudio automatically. I think you can disable it by setting autospawn to "no" in /etc/pulse/client.conf. The wiki mentions another way to have pulseaudio use jack.
Hey ids1024,
thank you for your answer. I am now using PulseAudio (which was indeed installed before, but somehow didn't start at boot), and it works very well, also with JACK - as long as I run jack_control as root. As a normal user, it's the same issue as before. I'm not sure if PulseAudio has anything to do with that at all.
EDIT: I installed pulseaudio-alsa. Now I can start JACK as non-root user! However, JACK - although it registers with PulseAudio, as shown by pavucontrol - doesn't output any sound. Unless I'm root, of course.
Last edited by raccoon (2014-07-01 19:26:31) -
[SOLVED] Cannot start i3/ X Server
Hi,
I cannot start my x server or i3 and I have no clue why. My setup is up to date. I am running arch inside vmware and probably there lies the problem.
I normally start i3 using the .xinitrc ("exec i3") if I login from tty1. Doing this now will throw me back to the login screen.
If I login from another tty and enter "i3" or "X" or "startx" the VM will hang-up. It does not start the xserver nor can I Ctr+C or switch ttys.
The particular line where it hangs is "Loading extension GLX". On the last successful login (/var/log/Xorg.0.log) directly after this line would be "LoadModule: vmware".
So my guess is that it's a vmware issue. But I do not know where to look to track down the source of this error.
I know, that I didn't give you much information. But I didn't find anything suspicious in my logfiles. So if you need something pasted here, please let me know.
Regards,
Watnuss
Last edited by Watnuss (2013-03-05 14:52:27)It's a known bug: https://bugs.archlinux.org/task/34040
-
[solved] cannot start firefox after xulrunner update on oct 4
since upgrading yesterday i cannot start firefox.
the console gives the following error message:
Could not find compatible GRE between version 1.9.0.1 and 1.9.0.1.
A quick google search shows a gentoo bug with the same symptoms - the solution was recompiling firefox. Is anybody else having this problem?
edit: apparently i had firefox-branded installed and therefore didn't get the upgraded pacman package - could somebody please delete this post? thanks
Last edited by schuay (2008-10-05 08:02:35)no need to delete imho. this post can be useful for other people
-
I have tried going past the first set up stage, still with no wifi. I have then tried restoring the ipad mini, still no wifi available. Both my ipone and Apple Mac have wifi full bars. Please help. I only picked up my new ipad today. I am thinking it may be faulty.
LeleIt may be faulty but you should try to activate it first in order to be sure.
Why don't you activate it using iTunes on the Mac and then troubleshoot the WiFi connection. Connect the Mini to the Mac with the cable and iTunes should startup and take you through activation. If you do not autosync and iTunes des not start up on it's own, then launch it yourself. -
[SOLVED] Cannot start a virtual terminal in KDE
Hi people,
I'm having an annoying issue with konsole : when started, the app starts, but it doesn't give me the prompt... All I have is a white cursor in the top left corner, and I can't type anything.
Switching to vc/1 using ctrl+alt+F1 works fine, and is fully usable.
I installed yakuake : same issue. I then installed gtkterm : same issue, but this time I get an error message :
Can not open /dev/ttyS0 : Permission not granted
Ain't ttyS0 the serial port ? Is there any chance that might be the problem ?
As suggested on the chakra forum, I checked permissions on :
* /bin/bash : root root 755
* /dev/tty1 : root root 777
On a maybe related note, I'm also having issues with kdesu : launching "kdesu kate" in krunner asks for root passwd, but then fails telling me "su" is not a recognized command. Similarly, I can only launch arxin, kuser, etc... as a regular user, giving the root passwd when required fails with that same error. I can use "su" when using vc/1, it works fine.
It looks like I've broken something bad, but I don't know what...Any idea, anyone ? I could go the easy way and reinstall, but I like to understand things...
Last edited by willy9 (2009-04-14 18:47:27)Thanks for helping !
@jelly : yes, but I had the issue before. Can it be xorg related ?
@Chrysalis : yes but it is commented. Should I uncomment it ?
# /etc/fstab: static file system information
# <file system> <dir> <type> <options> <dump> <pass>
#none /dev/pts devpts defaults 0 0
#none /dev/shm tmpfs defaults 0 0
UUID=89336a04-983f-44ba-ba37-a869648b687f / ext3 defaults 0 0
UUID=6e5aca93-8b3f-4964-a7f2-47460e74d667 swap swap defaults 0 0
UUID=55daef78-db61-11dd-b2a0-2b699ceb5d02 /home ext3 defaults 0 0
/dev/sda1 /mnt/win ntfs users,umask=0,utf8 0 0 -
[SOLVED] Cannot start X session from login
I don't know what exactly is going on. I'm using the nvidia package from the repo and kernel 2.6.32.6-1. I'm having trouble starting a second X session using:
startx -- :1
but this works fine
su -
startx -- :1
This is my xorg.conf
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildmeister@builder75) Tue Dec 8 21:07:34 PST 2009
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "0"
EndSection
Section "ServerFlags"
Option "DontZap" "false"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
EndSection
Section "Module"
Load "dbe"
Load "glx"
Load "extmod"
Load "dri"
Disable "dri2"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "ViewSonic VA1930wm-3"
DisplaySize 370 300
HorizSync 30.0 - 82.0
VertRefresh 50.0 - 75.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 6200 A-LE"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "AddARGBGLXVisuals" "True"
Option "TwinView" "0"
Option "TwinViewXineramaInfoOrder" "CRT-0"
Option "metamodes" "nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
And the xorg error when I'm not root
This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.
X.Org X Server 1.7.3.902 (1.7.4 RC 2)
Release Date: 2009-12-26
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.32-ARCH i686
Current Operating System: Linux nonsense 2.6.32-ARCH #1 SMP PREEMPT Mon Jan 25 20:06:48 UTC 2010 i686
Kernel command line: root=/dev/mapper/group-root vga=773 resume=/dev/mapper/group-swap ro
Build Date: 26 December 2009 11:37:45AM
Current version of pixman: 0.16.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Sat Jan 30 21:42:17 2010
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "X.org Configured"
(**) |-->Screen "Screen0" (0)
(**) | |-->Monitor "Monitor0"
(**) | |-->Device "Device0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(**) Option "DontZap" "false"
(**) Option "Xinerama" "0"
(==) Automatically adding devices
(==) Automatically enabling devices
(**) FontPath set to:
/usr/share/fonts/misc,
/usr/share/fonts/100dpi:unscaled,
/usr/share/fonts/75dpi:unscaled,
/usr/share/fonts/TTF,
/usr/share/fonts/Type1,
/usr/share/fonts/misc,
/usr/share/fonts/100dpi:unscaled,
/usr/share/fonts/75dpi:unscaled,
/usr/share/fonts/TTF,
/usr/share/fonts/Type1
(**) ModulePath set to "/usr/lib/xorg/modules"
(**) Extension "Composite" is enabled
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Mouse0
(WW) Disabling Keyboard0
(II) Loader magic: 0x81e4c60
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 6.0
X.Org XInput driver : 7.0
X.Org Server Extension : 2.0
(--) using VT number 8
(--) PCI:*(0:1:0:0) 10de:0222:3842:a295 nVidia Corporation NV44 [GeForce 6200 A-LE] rev 161, Mem @ 0xbf000000/16777216, 0xe0000000/268435456, 0xbe000000/16777216, BIOS @ 0x????????/131072
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(WW) "dri2" will not be loaded unless you've specified it to be loaded elsewhere.
(II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
(II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
(II) "glx" will be loaded. This was enabled by default and also specified in the config file.
(II) "dri" will be loaded. This was enabled by default and also specified in the config file.
(II) "dri2" will be loaded even though the default is to disable it.
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
compiled for 1.7.3.902, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.0
Module class: X.Org Server Extension
(II) NVIDIA GLX Module 190.53 Tue Dec 8 20:47:42 PST 2009
(II) Loading extension GLX
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
compiled for 1.7.3.902, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
compiled for 1.7.3.902, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "nvidia"
(II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
dlopen: /usr/lib/xorg/modules/drivers/nvidia_drv.so: undefined symbol: dixLookupResource
(EE) Failed to load /usr/lib/xorg/modules/drivers/nvidia_drv.so
(II) UnloadModule: "nvidia"
(EE) Failed to load module "nvidia" (loader failed, 7)
(EE) No drivers available.
Fatal server error:
no screens found
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
Please also check the log file at "/var/log/Xorg.1.log" for additional information.
Last edited by silentcontender (2010-02-02 01:13:54)You are right about the first X session starting normally. I'm using the same user for both session and nvidia loads fine the first time. The log for the first X session:
This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.
X.Org X Server 1.7.3.902 (1.7.4 RC 2)
Release Date: 2009-12-26
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.32-ARCH i686
Current Operating System: Linux nonsense 2.6.32-ARCH #1 SMP PREEMPT Mon Jan 25 20:06:48 UTC 2010 i686
Kernel command line: root=/dev/mapper/group-root vga=795 resume=/dev/mapper/group-swap ro
Build Date: 26 December 2009 11:37:45AM
Current version of pixman: 0.16.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Jan 31 22:11:14 2010
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Layout0"
(**) |-->Screen "Screen0" (0)
(**) | |-->Monitor "Monitor0"
(**) | |-->Device "Device0"
(**) |-->Input Device "Keyboard0"
(**) |-->Input Device "Mouse0"
(==) Automatically adding devices
(==) Automatically enabling devices
(==) FontPath set to:
/usr/share/fonts/misc,
/usr/share/fonts/100dpi:unscaled,
/usr/share/fonts/75dpi:unscaled,
/usr/share/fonts/TTF,
/usr/share/fonts/Type1
(==) ModulePath set to "/usr/lib/xorg/modules"
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Keyboard0
(WW) Disabling Mouse0
(II) Loader magic: 0x81e4c60
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 6.0
X.Org XInput driver : 7.0
X.Org Server Extension : 2.0
(++) using VT number 7
(--) PCI:*(0:1:0:0) 10de:0222:3842:a295 nVidia Corporation NV44 [GeForce 6200 A-LE] rev 161, Mem @ 0xbf000000/16777216, 0xe0000000/268435456, 0xbe000000/16777216, BIOS @ 0x????????/131072
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
compiled for 1.7.3.902, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
compiled for 1.7.3.902, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.0
Module class: X.Org Server Extension
(II) NVIDIA GLX Module 190.53 Tue Dec 8 20:47:42 PST 2009
(II) Loading extension GLX
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
compiled for 1.7.3.902, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
compiled for 1.7.3.902, module version = 1.1.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "nvidia"
(II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.0
Module class: X.Org Video Driver
(II) NVIDIA dlloader X Driver 190.53 Tue Dec 8 19:16:02 PST 2009
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 01@00:00:0
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
compiled for 1.7.3.902, module version = 1.0.0
ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "wfb"
(II) LoadModule: "wfb"
(II) Loading /usr/lib/xorg/modules/libwfb.so
(II) Module wfb: vendor="X.Org Foundation"
compiled for 1.7.3.902, module version = 1.0.0
ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Module "ramdac" already built-in
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) Jan 31 22:11:15 NVIDIA(0): Enabling RENDER acceleration
(II) Jan 31 22:11:15 NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
(II) Jan 31 22:11:15 NVIDIA(0): enabled.
(II) Jan 31 22:11:15 NVIDIA(0): NVIDIA GPU GeForce 6200 A-LE (NV44) at PCI:1:0:0 (GPU-0)
(--) Jan 31 22:11:15 NVIDIA(0): Memory: 262144 kBytes
(--) Jan 31 22:11:15 NVIDIA(0): VideoBIOS: 05.44.a2.10.01
(II) Jan 31 22:11:15 NVIDIA(0): Detected AGP rate: 8X
(--) Jan 31 22:11:15 NVIDIA(0): Interlaced video modes are supported on this GPU
(--) Jan 31 22:11:15 NVIDIA(0): Connected display device(s) on GeForce 6200 A-LE at
(--) Jan 31 22:11:15 NVIDIA(0): PCI:1:0:0:
(--) Jan 31 22:11:15 NVIDIA(0): ViewSonic VA1930wm-3 (CRT-0)
(--) Jan 31 22:11:15 NVIDIA(0): ViewSonic VA1930wm-3 (CRT-0): 400.0 MHz maximum pixel clock
(II) Jan 31 22:11:15 NVIDIA(0): Assigned Display Device: CRT-0
(==) Jan 31 22:11:15 NVIDIA(0):
(==) Jan 31 22:11:15 NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
(==) Jan 31 22:11:15 NVIDIA(0): will be used as the requested mode.
(==) Jan 31 22:11:15 NVIDIA(0):
(II) Jan 31 22:11:15 NVIDIA(0): Validated modes:
(II) Jan 31 22:11:15 NVIDIA(0): "nvidia-auto-select"
(II) Jan 31 22:11:15 NVIDIA(0): Virtual screen size determined to be 1440 x 900
(--) Jan 31 22:11:15 NVIDIA(0): DPI set to (89, 87); computed from "UseEdidDpi" X config
(--) Jan 31 22:11:15 NVIDIA(0): option
(==) Jan 31 22:11:15 NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
(--) Depth 24 pixmap format is 32 bpp
(II) Jan 31 22:11:15 NVIDIA(0): Initialized AGP GART.
(II) Jan 31 22:11:15 NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
(II) Jan 31 22:11:15 NVIDIA(0): may not be running or the "AcpidSocketPath" X
(II) Jan 31 22:11:15 NVIDIA(0): configuration option may not be set correctly. When the
(II) Jan 31 22:11:15 NVIDIA(0): ACPI event daemon is available, the NVIDIA X driver will
(II) Jan 31 22:11:15 NVIDIA(0): try to use it to receive ACPI event notifications. For
(II) Jan 31 22:11:15 NVIDIA(0): details, please see the "ConnectToAcpid" and
(II) Jan 31 22:11:15 NVIDIA(0): "AcpidSocketPath" X configuration options in Appendix B: X
(II) Jan 31 22:11:15 NVIDIA(0): Config Options in the README.
(II) Jan 31 22:11:15 NVIDIA(0): Setting mode "nvidia-auto-select"
(II) Loading extension NV-GLX
(II) Jan 31 22:11:15 NVIDIA(0): Initialized OpenGL Acceleration
(==) NVIDIA(0): Disabling shared memory pixmaps
(II) Jan 31 22:11:15 NVIDIA(0): Initialized X Rendering Acceleration
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(**) NVIDIA(0): DPMS enabled
(II) Loading extension NV-CONTROL
(II) Loading extension XINERAMA
(==) RandR enabled
(II) Initializing built-in extension Generic Event Extension
(II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing extension GLX
(II) config/hal: Adding input device Macintosh mouse button emulation
(II) LoadModule: "evdev"
(II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
compiled for 1.7.3, module version = 2.3.2
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 7.0
(**) Macintosh mouse button emulation: always reports core events
(**) Macintosh mouse button emulation: Device: "/dev/input/event0"
(II) Macintosh mouse button emulation: Found 3 mouse buttons
(II) Macintosh mouse button emulation: Found relative axes
(II) Macintosh mouse button emulation: Found x and y relative axes
(II) Macintosh mouse button emulation: Configuring as mouse
(**) Macintosh mouse button emulation: YAxisMapping: buttons 4 and 5
(**) Macintosh mouse button emulation: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "Macintosh mouse button emulation" (type: MOUSE)
(**) Macintosh mouse button emulation: (accel) keeping acceleration scheme 1
(**) Macintosh mouse button emulation: (accel) acceleration profile 0
(II) Macintosh mouse button emulation: initialized for relative axes.
(II) config/hal: Adding input device Logitech USB Receiver
(**) Logitech USB Receiver: always reports core events
(**) Logitech USB Receiver: Device: "/dev/input/event5"
(II) Logitech USB Receiver: Found 12 mouse buttons
(II) Logitech USB Receiver: Found scroll wheel(s)
(II) Logitech USB Receiver: Found relative axes
(II) Logitech USB Receiver: Found x and y relative axes
(II) Logitech USB Receiver: Found absolute axes
(II) Logitech USB Receiver: Found keys
(II) Logitech USB Receiver: Configuring as mouse
(II) Logitech USB Receiver: Configuring as keyboard
(**) Logitech USB Receiver: YAxisMapping: buttons 4 and 5
(**) Logitech USB Receiver: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "Logitech USB Receiver" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(**) Logitech USB Receiver: (accel) keeping acceleration scheme 1
(**) Logitech USB Receiver: (accel) acceleration profile 0
(II) Logitech USB Receiver: initialized for relative axes.
(WW) Logitech USB Receiver: ignoring absolute axes.
(II) config/hal: Adding input device Logitech USB Receiver
(**) Logitech USB Receiver: always reports core events
(**) Logitech USB Receiver: Device: "/dev/input/event4"
(II) Logitech USB Receiver: Found keys
(II) Logitech USB Receiver: Configuring as keyboard
(II) XINPUT: Adding extended input device "Logitech USB Receiver" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(II) config/hal: Adding input device Power Button
(**) Power Button: always reports core events
(**) Power Button: Device: "/dev/input/event2"
(II) Power Button: Found keys
(II) Power Button: Configuring as keyboard
(II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(II) config/hal: Adding input device Power Button
(**) Power Button: always reports core events
(**) Power Button: Device: "/dev/input/event3"
(II) Power Button: Found keys
(II) Power Button: Configuring as keyboard
(II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(II) Jan 31 22:14:10 NVIDIA(0): Setting mode "nvidia-auto-select"
(II) Jan 31 22:14:10 NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
(II) Jan 31 22:14:10 NVIDIA(0): may not be running or the "AcpidSocketPath" X
(II) Jan 31 22:14:10 NVIDIA(0): configuration option may not be set correctly. When the
(II) Jan 31 22:14:10 NVIDIA(0): ACPI event daemon is available, the NVIDIA X driver will
(II) Jan 31 22:14:10 NVIDIA(0): try to use it to receive ACPI event notifications. For
(II) Jan 31 22:14:10 NVIDIA(0): details, please see the "ConnectToAcpid" and
(II) Jan 31 22:14:10 NVIDIA(0): "AcpidSocketPath" X configuration options in Appendix B: X
(II) Jan 31 22:14:10 NVIDIA(0): Config Options in the README.
(II) Macintosh mouse button emulation: Device reopened after 1 attempts.
(II) Logitech USB Receiver: Device reopened after 1 attempts.
(II) Logitech USB Receiver: Device reopened after 1 attempts.
(II) Power Button: Device reopened after 1 attempts.
(II) Power Button: Device reopened after 1 attempts.
(II) Jan 31 22:14:22 NVIDIA(0): Setting mode "nvidia-auto-select"
(II) Jan 31 22:14:22 NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
(II) Jan 31 22:14:22 NVIDIA(0): may not be running or the "AcpidSocketPath" X
(II) Jan 31 22:14:22 NVIDIA(0): configuration option may not be set correctly. When the
(II) Jan 31 22:14:22 NVIDIA(0): ACPI event daemon is available, the NVIDIA X driver will
(II) Jan 31 22:14:22 NVIDIA(0): try to use it to receive ACPI event notifications. For
(II) Jan 31 22:14:22 NVIDIA(0): details, please see the "ConnectToAcpid" and
(II) Jan 31 22:14:22 NVIDIA(0): "AcpidSocketPath" X configuration options in Appendix B: X
(II) Jan 31 22:14:22 NVIDIA(0): Config Options in the README.
(II) Macintosh mouse button emulation: Device reopened after 1 attempts.
(II) Logitech USB Receiver: Device reopened after 1 attempts.
(II) Logitech USB Receiver: Device reopened after 1 attempts.
(II) Power Button: Device reopened after 1 attempts.
(II) Power Button: Device reopened after 1 attempts.
(II) Jan 31 22:16:23 NVIDIA(0): Setting mode "nvidia-auto-select"
(II) Jan 31 22:16:23 NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
(II) Jan 31 22:16:23 NVIDIA(0): may not be running or the "AcpidSocketPath" X
(II) Jan 31 22:16:23 NVIDIA(0): configuration option may not be set correctly. When the
(II) Jan 31 22:16:23 NVIDIA(0): ACPI event daemon is available, the NVIDIA X driver will
(II) Jan 31 22:16:23 NVIDIA(0): try to use it to receive ACPI event notifications. For
(II) Jan 31 22:16:23 NVIDIA(0): details, please see the "ConnectToAcpid" and
(II) Jan 31 22:16:23 NVIDIA(0): "AcpidSocketPath" X configuration options in Appendix B: X
(II) Jan 31 22:16:23 NVIDIA(0): Config Options in the README.
(II) Macintosh mouse button emulation: Device reopened after 1 attempts.
(II) Logitech USB Receiver: Device reopened after 1 attempts.
(II) Logitech USB Receiver: Device reopened after 1 attempts.
(II) Power Button: Device reopened after 1 attempts.
(II) Power Button: Device reopened after 1 attempts.
I'll try without a xorg.conf and post later. -
See original question. Firefox apparently doesn't close when using the x in upper right corner as when I try to start it again I get a message that FF is already running and I must close it first. I thought the x would do that. Is something set wrong or corrupted?
ThanksSee "Hang at exit":
* http://kb.mozillazine.org/Firefox_hangs
* [[Firefox hangs]] -
[Solved] Cannot start emacs through an ssh-forwarded x11 connection
Hi,
I recently installed Archlinux and am quite happy with it. Thanks to everyone who has apparently worked hard to make it so nice. There is one error that baffles me, however. I'm used to being able to start Emacs as 'root' through an ssh-forwarded x11 connection, but for some reason this doesn't work on Archlinux:
[simons@peti ~]$ ssh root@localhost
Last login: Sun Dec 14 17:50:28 2008 from localhost
[root@peti ~]# emacs
The program 'emacs' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAccess (attempt to access private resource denied)'.
(Details: serial 15 error_code 10 request_code 152 minor_code 4)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
Starting other applications this way does works -- it's only Emacs that aborts outright --, but I do get similar error messages, i.e. from qgit:
X Error: BadAccess (attempt to access private resource denied) 10
Extension: 152 (RANDR)
Minor opcode: 4 (RRSelectInput)
Resource id: 0x5c
X Error: BadAccess (attempt to access private resource denied) 10
Major opcode: 2 (X_ChangeWindowAttributes)
Resource id: 0x5c
I'm not exactly an X11 expert; I have no idea how to debug this error. The syslog doesn't say anything about an invalid resourcess access, neither does /var/log/Xorg.0.log. In ~/.xsession-errors I see the following error, but I don't know what it means:
gnc.bin-Message: main: binreloc relocation support was disabled at configure time.
Does anyone have an idea how to explain this phenomenon? Any suggestions would be appreciated.
Take care,
Peter
Last edited by peti (2008-12-14 20:01:27)This is what I call an easy solution. Thanks for the tip, pointone. I wasn't aware of the difference between x11 forwarding and trusted x11 forwarding. My old installation didn't seem to make that distinction. Maybe that feature was added to SSH somewhat recently. Anyway, the point is that, now, Emacs starts up fine.
Thanks,
Peter -
[SOLVED] Cannot start X: Xorg.bin blocked for more than 120 seconds
I just rebooted my desktop after a couple of months and now I cannot run Xorg. When I run startx, I get a black screen for two minutes and then a backtrace pops up. At that point I can no longer interact with the console, but I can still ssh and run commands. I've tried setting Xwrapper.conf to needs_root_rights = yes and I have tried just running startx as root, with no help. I'm not sure how to isolate what would have broken this as I have updated so many packages in the last two months. Any ideas what I can try next?
If it helps, I am using the open source ati driver and my xorg.conf.d is empty.
Here is the dmesg showing the oops and the backtrace:
[ 72.778340] BUG: unable to handle kernel paging request at ffffec2003fffe00
[ 72.778368] IP: [<ffffffff811ac636>] kfree+0x56/0x1a0
[ 72.778389] PGD 0
[ 72.778397] Oops: 0000 [#1] PREEMPT SMP
[ 72.778413] Modules linked in: cfg80211 it87 hwmon_vid xpad ff_memless fuse mousedev joydev eeepc_wmi asus_wmi sparse_keymap led_class rfkill video evdev mxm_wmi mac_hid kvm_amd kvm crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd psmouse serio_raw radeon r8169 snd_hda_codec_realtek edac_core fam15h_power mii k10temp snd_hda_codec_generic edac_mce_amd sp5100_tco ttm snd_hda_codec_hdmi drm_kms_helper i2c_piix4 snd_hda_intel snd_hda_controller drm snd_hda_codec snd_hwdep snd_pcm hwmon i2c_algo_bit snd_timer i2c_core snd soundcore tpm_infineon tpm_tis tpm wmi shpchp button processor sch_fq_codel vboxnetflt(O) vboxnetadp(O) vboxdrv(O) ext4 crc16 mbcache jbd2 hid_generic usbhid hid sd_mod crc_t10dif crct10dif_common sr_mod
[ 72.778702] cdrom atkbd libps2 ohci_pci ohci_hcd ehci_pci ahci sata_sil libahci xhci_hcd ehci_hcd libata usbcore usb_common scsi_mod i8042 serio zfs(PO) zunicode(PO) zavl(PO) zcommon(PO) znvpair(PO) spl(O)
[ 72.779931] CPU: 7 PID: 1534 Comm: Xorg.bin Tainted: P O 3.17.4-1-ARCH #1
[ 72.781110] Hardware name: To be filled by O.E.M. To be filled by O.E.M./SABERTOOTH 990FX R2.0, BIOS 1503 01/11/2013
[ 72.782332] task: ffff880808b264a0 ti: ffff8807fcd30000 task.ti: ffff8807fcd30000
[ 72.783574] RIP: 0010:[<ffffffff811ac636>] [<ffffffff811ac636>] kfree+0x56/0x1a0
[ 72.784796] RSP: 0018:ffff8807fcd33a30 EFLAGS: 00010286
[ 72.786010] RAX: 0000022003fffe00 RBX: 00001000ffff8807 RCX: 0000000000010005
[ 72.787227] RDX: 000077ff80000000 RSI: 0000000000000007 RDI: 00001000ffff8807
[ 72.788446] RBP: ffff8807fcd33a48 R08: 0000000000000007 R09: ffffec2003fffe00
[ 72.789714] R10: 0000000000000017 R11: 0000000000000000 R12: ffff88080887a400
[ 72.790978] R13: ffffffffa0678f8c R14: 00000000000108f0 R15: 0000000000001800
[ 72.792211] FS: 00007f0dd095e8c0(0000) GS:ffff88083edc0000(0000) knlGS:0000000000000000
[ 72.793455] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 72.794680] CR2: ffffec2003fffe00 CR3: 00000000b7c0c000 CR4: 00000000000407e0
[ 72.795924] Stack:
[ 72.797140] ffff880811db0000 ffff88080887a400 ffff880811db0000 ffff8807fcd33b30
[ 72.798358] ffffffffa0678f8c 000000000000004c 000108480001092c ffff880700000008
[ 72.799584] 0000ffff00010844 000000000001092c 0000000000010848 0000000000010844
[ 72.800809] Call Trace:
[ 72.802053] [<ffffffffa0678f8c>] evergreen_hdmi_setmode+0xd8c/0x1970 [radeon]
[ 72.803320] [<ffffffffa052b8d4>] ? drm_detect_hdmi_monitor+0x74/0xc0 [drm]
[ 72.804555] [<ffffffffa0681488>] radeon_atom_encoder_mode_set+0x178/0x3c0 [radeon]
[ 72.805789] [<ffffffffa0563986>] drm_crtc_helper_set_mode+0x356/0x530 [drm_kms_helper]
[ 72.807017] [<ffffffffa061b97c>] radeon_property_change_mode.isra.1+0x3c/0x40 [radeon]
[ 72.808240] [<ffffffffa061bb2e>] radeon_connector_set_property+0x1ae/0x3f0 [radeon]
[ 72.809490] [<ffffffffa05284e2>] drm_mode_obj_set_property_ioctl+0x1b2/0x3a0 [drm]
[ 72.810736] [<ffffffffa052870f>] drm_mode_connector_property_set_ioctl+0x3f/0x60 [drm]
[ 72.811961] [<ffffffffa0518fef>] drm_ioctl+0x1df/0x680 [drm]
[ 72.813175] [<ffffffff8105e9ac>] ? __do_page_fault+0x2ec/0x600
[ 72.814402] [<ffffffffa05f404c>] radeon_drm_ioctl+0x4c/0x80 [radeon]
[ 72.815649] [<ffffffff811da5f0>] do_vfs_ioctl+0x2d0/0x4b0
[ 72.816899] [<ffffffff811ca161>] ? __sb_end_write+0x31/0x60
[ 72.818124] [<ffffffff811da851>] SyS_ioctl+0x81/0xa0
[ 72.819332] [<ffffffff8153db29>] system_call_fastpath+0x16/0x1b
[ 72.820528] Code: 00 00 00 80 ff 77 00 00 49 b9 00 00 00 00 00 ea ff ff 48 01 d8 48 0f 42 15 e8 b9 66 00 48 01 d0 48 c1 e8 0c 48 c1 e0 06 49 01 c1 <49> 8b 01 f6 c4 80 0f 85 0e 01 00 00 49 8b 01 a8 80 0f 84 83 00
[ 72.823135] RIP [<ffffffff811ac636>] kfree+0x56/0x1a0
[ 72.824394] RSP <ffff8807fcd33a30>
[ 72.825653] CR2: ffffec2003fffe00
[ 240.461007] INFO: task Xorg.bin:1534 blocked for more than 120 seconds.
[ 240.462414] Tainted: P O 3.17.4-1-ARCH #1
[ 240.463701] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 240.465017] Xorg.bin D 0000000000000007 0 1534 1533 0x00000000
[ 240.466325] ffff8807fcd333b0 0000000000000082 ffff880808b264a0 00000000000145c0
[ 240.467623] ffff8807fcd33fd8 00000000000145c0 ffff880812e73250 ffff880808b264a0
[ 240.468886] 0000000000000080 0000000000000140 0000000000001e00 000000000000000a
[ 240.470155] Call Trace:
[ 240.471435] [<ffffffff813113db>] ? bit_putcs+0x30b/0x590
[ 240.472702] [<ffffffff81539519>] schedule+0x29/0x70
[ 240.473964] [<ffffffff81539986>] schedule_preempt_disabled+0x16/0x20
[ 240.475239] [<ffffffff8153b445>] __mutex_lock_slowpath+0xe5/0x250
[ 240.476495] [<ffffffff8153b5c7>] mutex_lock+0x17/0x30
[ 240.477770] [<ffffffffa0522f32>] drm_modeset_lock_all+0x42/0xd0 [drm]
[ 240.479016] [<ffffffffa056d07f>] drm_fb_helper_pan_display+0x2f/0xf0 [drm_kms_helper]
[ 240.480257] [<ffffffff8131683a>] fb_pan_display+0x9a/0x160
[ 240.481508] [<ffffffff81310950>] bit_update_start+0x20/0x50
[ 240.482732] [<ffffffff8130e15e>] fbcon_switch+0x3ae/0x5e0
[ 240.483936] [<ffffffff81385899>] redraw_screen+0x1a9/0x250
[ 240.485175] [<ffffffff8130d54a>] fbcon_blank+0x23a/0x340
[ 240.486375] [<ffffffff8113e74f>] ? irq_work_queue+0xf/0xa0
[ 240.487587] [<ffffffff810c476c>] ? wake_up_klogd+0x3c/0x60
[ 240.488771] [<ffffffff810c4a12>] ? console_unlock+0x282/0x460
[ 240.489894] [<ffffffff810d5d33>] ? internal_add_timer+0x63/0x80
[ 240.490988] [<ffffffff810d6c54>] ? mod_timer+0x114/0x250
[ 240.492058] [<ffffffff813863ba>] do_unblank_screen+0xaa/0x1d0
[ 240.493075] [<ffffffff813864f0>] unblank_screen+0x10/0x20
[ 240.494053] [<ffffffff812b7019>] bust_spinlocks+0x19/0x40
[ 240.495011] [<ffffffff810186b4>] oops_end+0x34/0xe0
[ 240.495982] [<ffffffff8105df4c>] no_context+0x17c/0x3c0
[ 240.496934] [<ffffffff8105e2bd>] __bad_area_nosemaphore+0x12d/0x250
[ 240.497886] [<ffffffff8105e3f3>] bad_area_nosemaphore+0x13/0x20
[ 240.498842] [<ffffffff8105ea04>] __do_page_fault+0x344/0x600
[ 240.499769] [<ffffffffa060fb4b>] ? atom_execute_table_locked+0x12b/0x3f0 [radeon]
[ 240.500709] [<ffffffffa060e7c0>] ? atom_put_dst+0x480/0x560 [radeon]
[ 240.501673] [<ffffffffa060dabb>] ? atom_op_test+0x9b/0x1b0 [radeon]
[ 240.502640] [<ffffffffa0678f8c>] ? evergreen_hdmi_setmode+0xd8c/0x1970 [radeon]
[ 240.503558] [<ffffffff8105ece2>] do_page_fault+0x22/0x30
[ 240.504494] [<ffffffff8153f9f8>] page_fault+0x28/0x30
[ 240.505441] [<ffffffffa0678f8c>] ? evergreen_hdmi_setmode+0xd8c/0x1970 [radeon]
[ 240.506373] [<ffffffff811ac636>] ? kfree+0x56/0x1a0
[ 240.507266] [<ffffffffa0678f8c>] evergreen_hdmi_setmode+0xd8c/0x1970 [radeon]
[ 240.508204] [<ffffffffa052b8d4>] ? drm_detect_hdmi_monitor+0x74/0xc0 [drm]
[ 240.509155] [<ffffffffa0681488>] radeon_atom_encoder_mode_set+0x178/0x3c0 [radeon]
[ 240.510085] [<ffffffffa0563986>] drm_crtc_helper_set_mode+0x356/0x530 [drm_kms_helper]
[ 240.511021] [<ffffffffa061b97c>] radeon_property_change_mode.isra.1+0x3c/0x40 [radeon]
[ 240.511944] [<ffffffffa061bb2e>] radeon_connector_set_property+0x1ae/0x3f0 [radeon]
[ 240.512875] [<ffffffffa05284e2>] drm_mode_obj_set_property_ioctl+0x1b2/0x3a0 [drm]
[ 240.513791] [<ffffffffa052870f>] drm_mode_connector_property_set_ioctl+0x3f/0x60 [drm]
[ 240.514728] [<ffffffffa0518fef>] drm_ioctl+0x1df/0x680 [drm]
[ 240.515632] [<ffffffff8105e9ac>] ? __do_page_fault+0x2ec/0x600
[ 240.516555] [<ffffffffa05f404c>] radeon_drm_ioctl+0x4c/0x80 [radeon]
[ 240.517455] [<ffffffff811da5f0>] do_vfs_ioctl+0x2d0/0x4b0
[ 240.518369] [<ffffffff811ca161>] ? __sb_end_write+0x31/0x60
[ 240.519267] [<ffffffff811da851>] SyS_ioctl+0x81/0xa0
[ 240.520176] [<ffffffff8153db29>] system_call_fastpath+0x16/0x1b
[ 360.455851] INFO: task Xorg.bin:1534 blocked for more than 120 seconds.
[ 360.456839] Tainted: P O 3.17.4-1-ARCH #1
[ 360.457713] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 360.458629] Xorg.bin D 0000000000000007 0 1534 1533 0x00000000
[ 360.459548] ffff8807fcd333b0 0000000000000082 ffff880808b264a0 00000000000145c0
[ 360.460442] ffff8807fcd33fd8 00000000000145c0 ffff880812e73250 ffff880808b264a0
[ 360.461294] 0000000000000080 0000000000000140 0000000000001e00 000000000000000a
[ 360.462160] Call Trace:
[ 360.463040] [<ffffffff813113db>] ? bit_putcs+0x30b/0x590
[ 360.463880] [<ffffffff81539519>] schedule+0x29/0x70
I do not see any errors in my Xorg.0.log file, but I've posted it here
Last edited by smpolymen (2014-12-06 04:04:55)Ok, so I tried unplugging my HDMI monitor and that seems to prevent the hang. When I plug the monitor back in and try to have it detect, it hangs again. I tried connecting via DVI (desktop)-HDMI (monitor) cable instead and have the same issue. I wonder if my monitor is causing the issue (it is pretty flaky, taking several tries to turn it on,) although I find it odd that a bad monitor would cause the driver to hang. Maybe the monitor is not sending the right data to the driver to set the mode. I'll try to find another monitor and see if that resolves the issue.
-
[SOLVED] Cannot start X server on Lenovo IdeaPad Y510p
Hi there,
I recently bought new laptop (name in the subject). After installing Arch, i was unable to boot using nouveau drivers, unless I set the 'nomodeset' kernel parameter. After decrypting my disk, the screen froze.
With proprietary nvidia package, I'm able to boot & login, but when I try to start X server, the display turns black, my graphics' card fan starts pumping the air and then the entire system reboots.
I browsed and tried troubleshooting from the wiki regarding Nvidia, Optimus, etc., but none of them worked.
Any idea what should I do next?
Last edited by khardix (2014-04-28 15:54:00)Ok, I managed to run the X server using the provided steps, albeit with few tweaks - I force installed the nvidia-libgl package, because the nvidia driver was not happy with the xorg glx module. Then I had to engage in some pacman-magic, because the bumblebee for some reason conflicts with nvidia-libgl (I wasn't able to figure out why). So I --dbonly removed nvidia-libgl and --dbonly installed mesa-libgl, so the system knows it has a libgl implementation.
With all this, after I ran 'nvidia-xsettings --sli=off', I was able to startx the DE with both GPUs still attached.
When the time permits, I will tinker with it more and try to get the SLI working - according to NVIDIA README it may have to do something with acpi. Any further input much appreciated
Maybe you are looking for
-
Hi We need to send a email when an async abap proxy fails due to application error. How can we achieve it. Regards Anandan
-
Some reports are not displayed -- JInitiator 1.3.17 to JRE 1.6.43
We have our Medical Suite developed using Oracle Forms 10gR1(9.0.4) version.As we came to know that JInitiator is no more supported from Oracle and it has many problems Windows 7 64 bit esp.., with IE (9.0) recently we have migrated the Client PC's f
-
Using Numbers, I set up a spreadsheet grid but it disappears as soon as I click anywhere. How can I keep the grid? I have: iMac with OS 10.10.3; Numbers 08 ver 1.0.3
-
Seebeyond eventstore database problems
Hi, -are running on JCAPS 5.1.1 still, and are getting errors in the server.log complaining about some internal (?) SQL-errors. The errors occure independent of which project running in the domain, and are "trigged" by some kind of error in a jcd. We
-
Resuming podcasts or music from Control Center is buggy
I listen to podcasts using Podcasts.app a lot in the car, and most of the time it resumes normally, especially if it hasn't been too long since I paused it. But intermittently it will kind of freak out and either not resume anything, or resume playin